c87ac163193adbf20089fcf53463a6a1163728f2
- Author
- TheEdgeOfRage <git@theedgeofrage.com>
- Committer
- TheEdgeOfRage <git@theedgeofrage.com>
- Date
Message
Diff
This diff is truncated to protect this page.
1diff --git a/dot_config/mcp/mcp.json b/dot_config/mcp/mcp.json
2new file mode 100644
3index 0000000000000000000000000000000000000000..e80b9d3d385437f258562d09ad2c3bddf1c0882b
4--- /dev/null
5+++ b/dot_config/mcp/mcp.json
6@@ -0,0 +1,10 @@
7+{
8+ "settings": {
9+ "directTools": false
10+ },
11+ "mcpServers": {
12+ "linear": {
13+ "url": "https://mcp.linear.app/mcp"
14+ }
15+ }
16+}
17diff --git a/dot_config/opencode/AGENTS.md b/dot_config/opencode/AGENTS.md
18index b646ddad6546e0a9e6bc61cc7b6a428871a5bd92..a431e9897843000faef38c6cda14b2e9b6fafb7f 100644
19--- a/dot_config/opencode/AGENTS.md
20+++ b/dot_config/opencode/AGENTS.md
21@@ -1,17 +1,10 @@
22 ## Communication style
23
24 Be concise, avoid repetition, praise, and formality.
25-Don't validate questions or agree reflexively.
26-Correct mistakes explicitly.
27+Don't agree reflexively, validate claims and correct mistakes explicitly.
28 Provide references or disclose intuition versus knowledge.
29 Default to the shortest answer that is correct. Stop talking when the work is done.
30-
31-## Verification Before Done
32-
33-- Never mark a task complete without proving it works
34-- Distinguish "verified" from "inferred". If you haven't executed it, say what remains unverified.
35-- Compiler output and execution are proof. --help, LSP diagnostics, and dry-runs are inference.
36-- Run tests, check logs, demonstrate correctness
37+When outputing text for human consumption (agent responses, comments, PR descriptions, documents, etc) use ASD-STE100 (simplified technical english) for easier comprehension
38
39 ## Demand Simplicity
40
41@@ -26,6 +19,7 @@ Default to the shortest answer that is correct. Stop talking when the work is do
42 - Build what's needed now, not what might be needed later
43 - Don't write tests for logs, metrics, or other observability behavior
44 - Zero comments by default. Only explain it if it is truly complex or unexpected behaviour
45+- If edits fail due to a mismatch of the expected before change, read the file again, instead of overwriting
46
47 ## Security
48
49@@ -34,7 +28,7 @@ Default to the shortest answer that is correct. Stop talking when the work is do
50
51 ## State Mutation
52
53-Never mutate state irreversibly without explicit approval. This includes Git (checkout -- files, rebase, restore), OS config, touching any sensitive files
54+Never mutate state irreversibly without explicit approval. This includes irreversible git operations (checkout -- files, restore, drop stash), OS config, etc.
55
56diff --git a/dot_pi/agent/policy-engine.json b/dot_pi/agent/policy-engine.json
57new file mode 100644
58index 0000000000000000000000000000000000000000..ed92c53b436019c1c9b4a625408925af79fc1d2f
59--- /dev/null
60+++ b/dot_pi/agent/policy-engine.json
61@@ -0,0 +1,23 @@
62+{
63+ "modelBackend": "local",
64+ "llamaServer": {
65+ "baseUrl": "https://llama.home.theedgeofrage.com",
66+ "model": "reviewer"
67+ },
68+ "permission": {
69+ "edit": "allow",
70+ "bash": {
71+ "*sudo*": "deny",
72+ "terraform apply*": "deny"
73+ },
74+ "external_directory": {
75+ "/home/pavle/dev/*": "allow",
76+ "/home/pavle/.cache/*": "allow",
77+ "/home/pavle/.cargo/*": "allow",
78+ "/home/pavle/.gradle/*": "allow",
79+ "/home/pavle/.m2/*": "allow",
80+ "/tmp/pi/*": "allow"
81+ },
82+ "webfetch": "check"
83+ }
84+}
85diff --git a/dot_pi/agent/settings.json b/dot_pi/agent/settings.json
86new file mode 100644
87index 0000000000000000000000000000000000000000..ee2771fb71daf40437d793db818acbcce92bc75d
88--- /dev/null
89+++ b/dot_pi/agent/settings.json
90@@ -0,0 +1,30 @@
91+{
92+ "lastChangelogVersion": "0.84.2",
93+ "defaultProvider": "openai-codex",
94+ "defaultModel": "gpt-5.6-sol",
95+ "defaultThinkingLevel": "xhigh",
96+ "hideThinkingBlock": true,
97+ "images": {
98+ "blockImages": false
99+ },
100+ "transport": "sse",
101+ "quietStartup": true,
102+ "enableInstallTelemetry": false,
103+ "doubleEscapeAction": "tree",
104+ "theme": "dark",
105+ "packages": [
106+ "git:github.com/huggingface/pi-llama",
107+ "git:github.com/dmmulroy/pi-web-tools",
108+ "npm:pi-mcp-adapter"
109+ ],
110+ "outputPad": 0,
111+ "autocompleteMaxVisible": 7,
112+ "showHardwareCursor": false,
113+ "steeringMode": "all",
114+ "markdown": {
115+ "mermaid": "streaming"
116+ },
117+ "showCacheMissNotices": true,
118+ "treeFilterMode": "no-tools",
119+ "tuiMode": "fullscreen"
120+}
121diff --git a/dot_pi/agent/symlink_AGENTS.md b/dot_pi/agent/symlink_AGENTS.md
122new file mode 100644
123index 0000000000000000000000000000000000000000..7fa9ab9204a310bcde889e9e700890f12e9d9cfd
124--- /dev/null
125+++ b/dot_pi/agent/symlink_AGENTS.md
126@@ -0,0 +1 @@
127+/home/pavle/.config/opencode/AGENTS.md