@uniqbit/mate-core 0.15.4 → 0.15.5-canary.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/cli/commands/artifact/finish/openspec.ts +180 -12
- package/src/cli/commands/companion/link.ts +9 -13
- package/src/cli/commands/working/cleanup.ts +125 -0
- package/src/cli/commands/working/working.ts +15 -0
- package/src/cli/commands/workspace/list.ts +25 -0
- package/src/cli/commands/workspace/materialize.ts +46 -0
- package/src/cli/commands/workspace/workspace.ts +22 -0
- package/src/cli/main.ts +20 -1
- package/src/cli/usage.ts +8 -0
- package/src/cli/write-json-stdout.ts +14 -0
- package/src/lib/orchestrator/companion-registry-reader.ts +37 -0
- package/src/lib/orchestrator/{working-repo-store.ts → companion-registry-store.ts} +14 -7
- package/src/lib/orchestrator/companion-resolver.ts +50 -2
- package/src/lib/orchestrator/companion-store.ts +39 -10
- package/src/lib/orchestrator/editor.ts +36 -14
- package/src/lib/orchestrator/framework-context.ts +33 -3
- package/src/lib/orchestrator/global-config-store.ts +25 -0
- package/src/lib/orchestrator/repo-local-registry.ts +2 -22
- package/src/lib/orchestrator/types.ts +1 -1
- package/src/lib/orchestrator/workspace-inventory.ts +149 -0
- package/src/lib/orchestrator/workspace-materialize.ts +80 -0
- package/src/lib/orchestrator/yaml-file-store.ts +10 -1
- package/src/templates/capabilities/openspec-cap/mate-v1/schema.yaml +40 -14
- package/src/templates/capabilities/openspec-cap/mate-v1/templates/spec.md +9 -6
- package/src/templates/root/TEMPLATE_AGENTS.md +0 -8
- package/src/templates/root/TEMPLATE_CLAUDE.md +0 -10
- package/src/tools/setup/__snapshots__/runtime-surface-golden.test.ts.snap +44 -380
- package/src/tools/setup/plugins/gitignore.ts +3 -0
- package/src/tools/setup/providers/claude.ts +68 -56
- package/src/tools/setup/working-repo-cleanup.ts +40 -0
- package/src/tools/setup/working-repo-local-state.ts +103 -0
|
@@ -5,14 +5,6 @@ exports[`runtime surface golden fixtures setup graphify × claude 1`] = `
|
|
|
5
5
|
"agentsMd":
|
|
6
6
|
"<!-- MATE:COMPANION:START -->
|
|
7
7
|
|
|
8
|
-
You are operating in a Mate-managed session.
|
|
9
|
-
|
|
10
|
-
Canonical companion policy is injected through \`<companion-policy framework="mate" priority="mandatory">\`.
|
|
11
|
-
This block is kept for AGENTS.md compatibility and must not restate that policy.
|
|
12
|
-
|
|
13
|
-
## Agent Notes
|
|
14
|
-
|
|
15
|
-
- Use absolute paths when a tool needs a file path. Do not create literal \`$MATE_REPO_PATH\` or \`$MATE_ARTIFACT_PATH\` directories.
|
|
16
8
|
- When reporting information to me, be extremely concise and sacrifice grammar for the sake of concision. Apply this same preference to JSDoc.
|
|
17
9
|
- Code comments: JSDoc format only (\`/** ... */\`), never \`//\`. Sparse — only non-obvious invariants or constraints, never restated artifact rationale.
|
|
18
10
|
- Never add a \`Co-Authored-By: <model>\` trailer or model-attribution footer to commit messages.
|
|
@@ -29,18 +21,8 @@ This block is kept for AGENTS.md compatibility and must not restate that policy.
|
|
|
29
21
|
"claudeMd":
|
|
30
22
|
"<!-- MATE:COMPANION:START -->
|
|
31
23
|
|
|
32
|
-
You are operating in a Mate-managed session.
|
|
33
|
-
|
|
34
|
-
Canonical companion policy is injected through \`<companion-policy framework="mate" priority="mandatory">\`.
|
|
35
|
-
This block is kept for Claude/AGENTS.md compatibility and must not restate that policy.
|
|
36
|
-
|
|
37
|
-
## Claude Notes
|
|
38
|
-
|
|
39
|
-
- Use absolute paths when a tool needs a file path. Do not create literal \`$MATE_REPO_PATH\` or \`$MATE_ARTIFACT_PATH\` directories.
|
|
40
24
|
- When reporting information to me, be extremely concise and sacrifice grammar for the sake of concision. Apply this same preference to JSDoc.
|
|
41
25
|
- Code comments: JSDoc format only (\`/** ... */\`), never \`//\`. Sparse — only non-obvious invariants or constraints, never restated artifact rationale.
|
|
42
|
-
- Claude Code receives \`$MATE_ARTIFACT_PATH\` via \`--add-dir\`; if \`@\` autocomplete does not show companion artifacts, reference them by absolute path.
|
|
43
|
-
- The root \`CLAUDE.md\` in the companion repo is intentional and loaded by Mate. Do not create another project-level \`CLAUDE.md\` in the working repo unless the user explicitly asks for one.
|
|
44
26
|
- Never add a \`Co-Authored-By: <model>\` trailer or model-attribution footer to commit messages.
|
|
45
27
|
- Never commit, push, or open a pull request in the working repo (\`$MATE_REPO_PATH\`) unless the user explicitly asks for it.
|
|
46
28
|
- Never connect to a database (local or remote), touch live/external systems (deploys, infra), or take destructive/irreversible actions without asking the user first.
|
|
@@ -164,14 +146,6 @@ exports[`runtime surface golden fixtures setup graphify × opencode 1`] = `
|
|
|
164
146
|
"agentsMd":
|
|
165
147
|
"<!-- MATE:COMPANION:START -->
|
|
166
148
|
|
|
167
|
-
You are operating in a Mate-managed session.
|
|
168
|
-
|
|
169
|
-
Canonical companion policy is injected through \`<companion-policy framework="mate" priority="mandatory">\`.
|
|
170
|
-
This block is kept for AGENTS.md compatibility and must not restate that policy.
|
|
171
|
-
|
|
172
|
-
## Agent Notes
|
|
173
|
-
|
|
174
|
-
- Use absolute paths when a tool needs a file path. Do not create literal \`$MATE_REPO_PATH\` or \`$MATE_ARTIFACT_PATH\` directories.
|
|
175
149
|
- When reporting information to me, be extremely concise and sacrifice grammar for the sake of concision. Apply this same preference to JSDoc.
|
|
176
150
|
- Code comments: JSDoc format only (\`/** ... */\`), never \`//\`. Sparse — only non-obvious invariants or constraints, never restated artifact rationale.
|
|
177
151
|
- Never add a \`Co-Authored-By: <model>\` trailer or model-attribution footer to commit messages.
|
|
@@ -194,7 +168,7 @@ This block is kept for AGENTS.md compatibility and must not restate that policy.
|
|
|
194
168
|
"reserved": 15000,
|
|
195
169
|
},
|
|
196
170
|
"plugin": [
|
|
197
|
-
"@uniqbit/mate-opencode-plugin@0.15.
|
|
171
|
+
"@uniqbit/mate-opencode-plugin@0.15.5-canary.0",
|
|
198
172
|
],
|
|
199
173
|
"references": {
|
|
200
174
|
"mate": "..",
|
|
@@ -230,7 +204,7 @@ Write chunks to $GRAPHIFY_OUT and read $GRAPHIFY_OUT later.
|
|
|
230
204
|
"opencodeTui": {
|
|
231
205
|
"$schema": "https://opencode.ai/tui.json",
|
|
232
206
|
"plugin": [
|
|
233
|
-
"@uniqbit/mate-opencode-plugin@0.15.
|
|
207
|
+
"@uniqbit/mate-opencode-plugin@0.15.5-canary.0",
|
|
234
208
|
],
|
|
235
209
|
},
|
|
236
210
|
}
|
|
@@ -312,14 +286,6 @@ exports[`runtime surface golden fixtures setup graphify × claude+opencode 1`] =
|
|
|
312
286
|
"agentsMd":
|
|
313
287
|
"<!-- MATE:COMPANION:START -->
|
|
314
288
|
|
|
315
|
-
You are operating in a Mate-managed session.
|
|
316
|
-
|
|
317
|
-
Canonical companion policy is injected through \`<companion-policy framework="mate" priority="mandatory">\`.
|
|
318
|
-
This block is kept for AGENTS.md compatibility and must not restate that policy.
|
|
319
|
-
|
|
320
|
-
## Agent Notes
|
|
321
|
-
|
|
322
|
-
- Use absolute paths when a tool needs a file path. Do not create literal \`$MATE_REPO_PATH\` or \`$MATE_ARTIFACT_PATH\` directories.
|
|
323
289
|
- When reporting information to me, be extremely concise and sacrifice grammar for the sake of concision. Apply this same preference to JSDoc.
|
|
324
290
|
- Code comments: JSDoc format only (\`/** ... */\`), never \`//\`. Sparse — only non-obvious invariants or constraints, never restated artifact rationale.
|
|
325
291
|
- Never add a \`Co-Authored-By: <model>\` trailer or model-attribution footer to commit messages.
|
|
@@ -336,18 +302,8 @@ This block is kept for AGENTS.md compatibility and must not restate that policy.
|
|
|
336
302
|
"claudeMd":
|
|
337
303
|
"<!-- MATE:COMPANION:START -->
|
|
338
304
|
|
|
339
|
-
You are operating in a Mate-managed session.
|
|
340
|
-
|
|
341
|
-
Canonical companion policy is injected through \`<companion-policy framework="mate" priority="mandatory">\`.
|
|
342
|
-
This block is kept for Claude/AGENTS.md compatibility and must not restate that policy.
|
|
343
|
-
|
|
344
|
-
## Claude Notes
|
|
345
|
-
|
|
346
|
-
- Use absolute paths when a tool needs a file path. Do not create literal \`$MATE_REPO_PATH\` or \`$MATE_ARTIFACT_PATH\` directories.
|
|
347
305
|
- When reporting information to me, be extremely concise and sacrifice grammar for the sake of concision. Apply this same preference to JSDoc.
|
|
348
306
|
- Code comments: JSDoc format only (\`/** ... */\`), never \`//\`. Sparse — only non-obvious invariants or constraints, never restated artifact rationale.
|
|
349
|
-
- Claude Code receives \`$MATE_ARTIFACT_PATH\` via \`--add-dir\`; if \`@\` autocomplete does not show companion artifacts, reference them by absolute path.
|
|
350
|
-
- The root \`CLAUDE.md\` in the companion repo is intentional and loaded by Mate. Do not create another project-level \`CLAUDE.md\` in the working repo unless the user explicitly asks for one.
|
|
351
307
|
- Never add a \`Co-Authored-By: <model>\` trailer or model-attribution footer to commit messages.
|
|
352
308
|
- Never commit, push, or open a pull request in the working repo (\`$MATE_REPO_PATH\`) unless the user explicitly asks for it.
|
|
353
309
|
- Never connect to a database (local or remote), touch live/external systems (deploys, infra), or take destructive/irreversible actions without asking the user first.
|
|
@@ -407,7 +363,7 @@ Write chunks to $GRAPHIFY_OUT and read $GRAPHIFY_OUT later.
|
|
|
407
363
|
"reserved": 15000,
|
|
408
364
|
},
|
|
409
365
|
"plugin": [
|
|
410
|
-
"@uniqbit/mate-opencode-plugin@0.15.
|
|
366
|
+
"@uniqbit/mate-opencode-plugin@0.15.5-canary.0",
|
|
411
367
|
],
|
|
412
368
|
"references": {
|
|
413
369
|
"mate": "..",
|
|
@@ -443,7 +399,7 @@ Write chunks to $GRAPHIFY_OUT and read $GRAPHIFY_OUT later.
|
|
|
443
399
|
"opencodeTui": {
|
|
444
400
|
"$schema": "https://opencode.ai/tui.json",
|
|
445
401
|
"plugin": [
|
|
446
|
-
"@uniqbit/mate-opencode-plugin@0.15.
|
|
402
|
+
"@uniqbit/mate-opencode-plugin@0.15.5-canary.0",
|
|
447
403
|
],
|
|
448
404
|
},
|
|
449
405
|
}
|
|
@@ -580,14 +536,6 @@ exports[`runtime surface golden fixtures setup tokensave × claude 1`] = `
|
|
|
580
536
|
"agentsMd":
|
|
581
537
|
"<!-- MATE:COMPANION:START -->
|
|
582
538
|
|
|
583
|
-
You are operating in a Mate-managed session.
|
|
584
|
-
|
|
585
|
-
Canonical companion policy is injected through \`<companion-policy framework="mate" priority="mandatory">\`.
|
|
586
|
-
This block is kept for AGENTS.md compatibility and must not restate that policy.
|
|
587
|
-
|
|
588
|
-
## Agent Notes
|
|
589
|
-
|
|
590
|
-
- Use absolute paths when a tool needs a file path. Do not create literal \`$MATE_REPO_PATH\` or \`$MATE_ARTIFACT_PATH\` directories.
|
|
591
539
|
- When reporting information to me, be extremely concise and sacrifice grammar for the sake of concision. Apply this same preference to JSDoc.
|
|
592
540
|
- Code comments: JSDoc format only (\`/** ... */\`), never \`//\`. Sparse — only non-obvious invariants or constraints, never restated artifact rationale.
|
|
593
541
|
- Never add a \`Co-Authored-By: <model>\` trailer or model-attribution footer to commit messages.
|
|
@@ -611,18 +559,8 @@ This block is kept for AGENTS.md compatibility and must not restate that policy.
|
|
|
611
559
|
"claudeMd":
|
|
612
560
|
"<!-- MATE:COMPANION:START -->
|
|
613
561
|
|
|
614
|
-
You are operating in a Mate-managed session.
|
|
615
|
-
|
|
616
|
-
Canonical companion policy is injected through \`<companion-policy framework="mate" priority="mandatory">\`.
|
|
617
|
-
This block is kept for Claude/AGENTS.md compatibility and must not restate that policy.
|
|
618
|
-
|
|
619
|
-
## Claude Notes
|
|
620
|
-
|
|
621
|
-
- Use absolute paths when a tool needs a file path. Do not create literal \`$MATE_REPO_PATH\` or \`$MATE_ARTIFACT_PATH\` directories.
|
|
622
562
|
- When reporting information to me, be extremely concise and sacrifice grammar for the sake of concision. Apply this same preference to JSDoc.
|
|
623
563
|
- Code comments: JSDoc format only (\`/** ... */\`), never \`//\`. Sparse — only non-obvious invariants or constraints, never restated artifact rationale.
|
|
624
|
-
- Claude Code receives \`$MATE_ARTIFACT_PATH\` via \`--add-dir\`; if \`@\` autocomplete does not show companion artifacts, reference them by absolute path.
|
|
625
|
-
- The root \`CLAUDE.md\` in the companion repo is intentional and loaded by Mate. Do not create another project-level \`CLAUDE.md\` in the working repo unless the user explicitly asks for one.
|
|
626
564
|
- Never add a \`Co-Authored-By: <model>\` trailer or model-attribution footer to commit messages.
|
|
627
565
|
- Never commit, push, or open a pull request in the working repo (\`$MATE_REPO_PATH\`) unless the user explicitly asks for it.
|
|
628
566
|
- Never connect to a database (local or remote), touch live/external systems (deploys, infra), or take destructive/irreversible actions without asking the user first.
|
|
@@ -753,14 +691,6 @@ exports[`runtime surface golden fixtures setup tokensave × opencode 1`] = `
|
|
|
753
691
|
"agentsMd":
|
|
754
692
|
"<!-- MATE:COMPANION:START -->
|
|
755
693
|
|
|
756
|
-
You are operating in a Mate-managed session.
|
|
757
|
-
|
|
758
|
-
Canonical companion policy is injected through \`<companion-policy framework="mate" priority="mandatory">\`.
|
|
759
|
-
This block is kept for AGENTS.md compatibility and must not restate that policy.
|
|
760
|
-
|
|
761
|
-
## Agent Notes
|
|
762
|
-
|
|
763
|
-
- Use absolute paths when a tool needs a file path. Do not create literal \`$MATE_REPO_PATH\` or \`$MATE_ARTIFACT_PATH\` directories.
|
|
764
694
|
- When reporting information to me, be extremely concise and sacrifice grammar for the sake of concision. Apply this same preference to JSDoc.
|
|
765
695
|
- Code comments: JSDoc format only (\`/** ... */\`), never \`//\`. Sparse — only non-obvious invariants or constraints, never restated artifact rationale.
|
|
766
696
|
- Never add a \`Co-Authored-By: <model>\` trailer or model-attribution footer to commit messages.
|
|
@@ -793,7 +723,7 @@ This block is kept for AGENTS.md compatibility and must not restate that policy.
|
|
|
793
723
|
},
|
|
794
724
|
},
|
|
795
725
|
"plugin": [
|
|
796
|
-
"@uniqbit/mate-opencode-plugin@0.15.
|
|
726
|
+
"@uniqbit/mate-opencode-plugin@0.15.5-canary.0",
|
|
797
727
|
],
|
|
798
728
|
"references": {
|
|
799
729
|
"mate": "..",
|
|
@@ -808,7 +738,7 @@ This block is kept for AGENTS.md compatibility and must not restate that policy.
|
|
|
808
738
|
"opencodeTui": {
|
|
809
739
|
"$schema": "https://opencode.ai/tui.json",
|
|
810
740
|
"plugin": [
|
|
811
|
-
"@uniqbit/mate-opencode-plugin@0.15.
|
|
741
|
+
"@uniqbit/mate-opencode-plugin@0.15.5-canary.0",
|
|
812
742
|
],
|
|
813
743
|
},
|
|
814
744
|
}
|
|
@@ -887,14 +817,6 @@ exports[`runtime surface golden fixtures setup tokensave × claude+opencode 1`]
|
|
|
887
817
|
"agentsMd":
|
|
888
818
|
"<!-- MATE:COMPANION:START -->
|
|
889
819
|
|
|
890
|
-
You are operating in a Mate-managed session.
|
|
891
|
-
|
|
892
|
-
Canonical companion policy is injected through \`<companion-policy framework="mate" priority="mandatory">\`.
|
|
893
|
-
This block is kept for AGENTS.md compatibility and must not restate that policy.
|
|
894
|
-
|
|
895
|
-
## Agent Notes
|
|
896
|
-
|
|
897
|
-
- Use absolute paths when a tool needs a file path. Do not create literal \`$MATE_REPO_PATH\` or \`$MATE_ARTIFACT_PATH\` directories.
|
|
898
820
|
- When reporting information to me, be extremely concise and sacrifice grammar for the sake of concision. Apply this same preference to JSDoc.
|
|
899
821
|
- Code comments: JSDoc format only (\`/** ... */\`), never \`//\`. Sparse — only non-obvious invariants or constraints, never restated artifact rationale.
|
|
900
822
|
- Never add a \`Co-Authored-By: <model>\` trailer or model-attribution footer to commit messages.
|
|
@@ -918,18 +840,8 @@ This block is kept for AGENTS.md compatibility and must not restate that policy.
|
|
|
918
840
|
"claudeMd":
|
|
919
841
|
"<!-- MATE:COMPANION:START -->
|
|
920
842
|
|
|
921
|
-
You are operating in a Mate-managed session.
|
|
922
|
-
|
|
923
|
-
Canonical companion policy is injected through \`<companion-policy framework="mate" priority="mandatory">\`.
|
|
924
|
-
This block is kept for Claude/AGENTS.md compatibility and must not restate that policy.
|
|
925
|
-
|
|
926
|
-
## Claude Notes
|
|
927
|
-
|
|
928
|
-
- Use absolute paths when a tool needs a file path. Do not create literal \`$MATE_REPO_PATH\` or \`$MATE_ARTIFACT_PATH\` directories.
|
|
929
843
|
- When reporting information to me, be extremely concise and sacrifice grammar for the sake of concision. Apply this same preference to JSDoc.
|
|
930
844
|
- Code comments: JSDoc format only (\`/** ... */\`), never \`//\`. Sparse — only non-obvious invariants or constraints, never restated artifact rationale.
|
|
931
|
-
- Claude Code receives \`$MATE_ARTIFACT_PATH\` via \`--add-dir\`; if \`@\` autocomplete does not show companion artifacts, reference them by absolute path.
|
|
932
|
-
- The root \`CLAUDE.md\` in the companion repo is intentional and loaded by Mate. Do not create another project-level \`CLAUDE.md\` in the working repo unless the user explicitly asks for one.
|
|
933
845
|
- Never add a \`Co-Authored-By: <model>\` trailer or model-attribution footer to commit messages.
|
|
934
846
|
- Never commit, push, or open a pull request in the working repo (\`$MATE_REPO_PATH\`) unless the user explicitly asks for it.
|
|
935
847
|
- Never connect to a database (local or remote), touch live/external systems (deploys, infra), or take destructive/irreversible actions without asking the user first.
|
|
@@ -1009,7 +921,7 @@ This block is kept for Claude/AGENTS.md compatibility and must not restate that
|
|
|
1009
921
|
},
|
|
1010
922
|
},
|
|
1011
923
|
"plugin": [
|
|
1012
|
-
"@uniqbit/mate-opencode-plugin@0.15.
|
|
924
|
+
"@uniqbit/mate-opencode-plugin@0.15.5-canary.0",
|
|
1013
925
|
],
|
|
1014
926
|
"references": {
|
|
1015
927
|
"mate": "..",
|
|
@@ -1024,7 +936,7 @@ This block is kept for Claude/AGENTS.md compatibility and must not restate that
|
|
|
1024
936
|
"opencodeTui": {
|
|
1025
937
|
"$schema": "https://opencode.ai/tui.json",
|
|
1026
938
|
"plugin": [
|
|
1027
|
-
"@uniqbit/mate-opencode-plugin@0.15.
|
|
939
|
+
"@uniqbit/mate-opencode-plugin@0.15.5-canary.0",
|
|
1028
940
|
],
|
|
1029
941
|
},
|
|
1030
942
|
}
|
|
@@ -1155,14 +1067,6 @@ exports[`runtime surface golden fixtures setup context-mode × claude 1`] = `
|
|
|
1155
1067
|
"agentsMd":
|
|
1156
1068
|
"<!-- MATE:COMPANION:START -->
|
|
1157
1069
|
|
|
1158
|
-
You are operating in a Mate-managed session.
|
|
1159
|
-
|
|
1160
|
-
Canonical companion policy is injected through \`<companion-policy framework="mate" priority="mandatory">\`.
|
|
1161
|
-
This block is kept for AGENTS.md compatibility and must not restate that policy.
|
|
1162
|
-
|
|
1163
|
-
## Agent Notes
|
|
1164
|
-
|
|
1165
|
-
- Use absolute paths when a tool needs a file path. Do not create literal \`$MATE_REPO_PATH\` or \`$MATE_ARTIFACT_PATH\` directories.
|
|
1166
1070
|
- When reporting information to me, be extremely concise and sacrifice grammar for the sake of concision. Apply this same preference to JSDoc.
|
|
1167
1071
|
- Code comments: JSDoc format only (\`/** ... */\`), never \`//\`. Sparse — only non-obvious invariants or constraints, never restated artifact rationale.
|
|
1168
1072
|
- Never add a \`Co-Authored-By: <model>\` trailer or model-attribution footer to commit messages.
|
|
@@ -1179,18 +1083,8 @@ This block is kept for AGENTS.md compatibility and must not restate that policy.
|
|
|
1179
1083
|
"claudeMd":
|
|
1180
1084
|
"<!-- MATE:COMPANION:START -->
|
|
1181
1085
|
|
|
1182
|
-
You are operating in a Mate-managed session.
|
|
1183
|
-
|
|
1184
|
-
Canonical companion policy is injected through \`<companion-policy framework="mate" priority="mandatory">\`.
|
|
1185
|
-
This block is kept for Claude/AGENTS.md compatibility and must not restate that policy.
|
|
1186
|
-
|
|
1187
|
-
## Claude Notes
|
|
1188
|
-
|
|
1189
|
-
- Use absolute paths when a tool needs a file path. Do not create literal \`$MATE_REPO_PATH\` or \`$MATE_ARTIFACT_PATH\` directories.
|
|
1190
1086
|
- When reporting information to me, be extremely concise and sacrifice grammar for the sake of concision. Apply this same preference to JSDoc.
|
|
1191
1087
|
- Code comments: JSDoc format only (\`/** ... */\`), never \`//\`. Sparse — only non-obvious invariants or constraints, never restated artifact rationale.
|
|
1192
|
-
- Claude Code receives \`$MATE_ARTIFACT_PATH\` via \`--add-dir\`; if \`@\` autocomplete does not show companion artifacts, reference them by absolute path.
|
|
1193
|
-
- The root \`CLAUDE.md\` in the companion repo is intentional and loaded by Mate. Do not create another project-level \`CLAUDE.md\` in the working repo unless the user explicitly asks for one.
|
|
1194
1088
|
- Never add a \`Co-Authored-By: <model>\` trailer or model-attribution footer to commit messages.
|
|
1195
1089
|
- Never commit, push, or open a pull request in the working repo (\`$MATE_REPO_PATH\`) unless the user explicitly asks for it.
|
|
1196
1090
|
- Never connect to a database (local or remote), touch live/external systems (deploys, infra), or take destructive/irreversible actions without asking the user first.
|
|
@@ -1274,14 +1168,6 @@ exports[`runtime surface golden fixtures setup context-mode × opencode 1`] = `
|
|
|
1274
1168
|
"agentsMd":
|
|
1275
1169
|
"<!-- MATE:COMPANION:START -->
|
|
1276
1170
|
|
|
1277
|
-
You are operating in a Mate-managed session.
|
|
1278
|
-
|
|
1279
|
-
Canonical companion policy is injected through \`<companion-policy framework="mate" priority="mandatory">\`.
|
|
1280
|
-
This block is kept for AGENTS.md compatibility and must not restate that policy.
|
|
1281
|
-
|
|
1282
|
-
## Agent Notes
|
|
1283
|
-
|
|
1284
|
-
- Use absolute paths when a tool needs a file path. Do not create literal \`$MATE_REPO_PATH\` or \`$MATE_ARTIFACT_PATH\` directories.
|
|
1285
1171
|
- When reporting information to me, be extremely concise and sacrifice grammar for the sake of concision. Apply this same preference to JSDoc.
|
|
1286
1172
|
- Code comments: JSDoc format only (\`/** ... */\`), never \`//\`. Sparse — only non-obvious invariants or constraints, never restated artifact rationale.
|
|
1287
1173
|
- Never add a \`Co-Authored-By: <model>\` trailer or model-attribution footer to commit messages.
|
|
@@ -1312,7 +1198,7 @@ Canonical Mate policy and any more specific tool-routing instructions remain aut
|
|
|
1312
1198
|
"reserved": 15000,
|
|
1313
1199
|
},
|
|
1314
1200
|
"plugin": [
|
|
1315
|
-
"@uniqbit/mate-opencode-plugin@0.15.
|
|
1201
|
+
"@uniqbit/mate-opencode-plugin@0.15.5-canary.0",
|
|
1316
1202
|
"context-mode@1.0.169",
|
|
1317
1203
|
],
|
|
1318
1204
|
"references": {
|
|
@@ -1328,7 +1214,7 @@ Canonical Mate policy and any more specific tool-routing instructions remain aut
|
|
|
1328
1214
|
"opencodeTui": {
|
|
1329
1215
|
"$schema": "https://opencode.ai/tui.json",
|
|
1330
1216
|
"plugin": [
|
|
1331
|
-
"@uniqbit/mate-opencode-plugin@0.15.
|
|
1217
|
+
"@uniqbit/mate-opencode-plugin@0.15.5-canary.0",
|
|
1332
1218
|
"context-mode@1.0.169",
|
|
1333
1219
|
],
|
|
1334
1220
|
},
|
|
@@ -1400,14 +1286,6 @@ exports[`runtime surface golden fixtures setup context-mode × claude+opencode 1
|
|
|
1400
1286
|
"agentsMd":
|
|
1401
1287
|
"<!-- MATE:COMPANION:START -->
|
|
1402
1288
|
|
|
1403
|
-
You are operating in a Mate-managed session.
|
|
1404
|
-
|
|
1405
|
-
Canonical companion policy is injected through \`<companion-policy framework="mate" priority="mandatory">\`.
|
|
1406
|
-
This block is kept for AGENTS.md compatibility and must not restate that policy.
|
|
1407
|
-
|
|
1408
|
-
## Agent Notes
|
|
1409
|
-
|
|
1410
|
-
- Use absolute paths when a tool needs a file path. Do not create literal \`$MATE_REPO_PATH\` or \`$MATE_ARTIFACT_PATH\` directories.
|
|
1411
1289
|
- When reporting information to me, be extremely concise and sacrifice grammar for the sake of concision. Apply this same preference to JSDoc.
|
|
1412
1290
|
- Code comments: JSDoc format only (\`/** ... */\`), never \`//\`. Sparse — only non-obvious invariants or constraints, never restated artifact rationale.
|
|
1413
1291
|
- Never add a \`Co-Authored-By: <model>\` trailer or model-attribution footer to commit messages.
|
|
@@ -1432,18 +1310,8 @@ Canonical Mate policy and any more specific tool-routing instructions remain aut
|
|
|
1432
1310
|
"claudeMd":
|
|
1433
1311
|
"<!-- MATE:COMPANION:START -->
|
|
1434
1312
|
|
|
1435
|
-
You are operating in a Mate-managed session.
|
|
1436
|
-
|
|
1437
|
-
Canonical companion policy is injected through \`<companion-policy framework="mate" priority="mandatory">\`.
|
|
1438
|
-
This block is kept for Claude/AGENTS.md compatibility and must not restate that policy.
|
|
1439
|
-
|
|
1440
|
-
## Claude Notes
|
|
1441
|
-
|
|
1442
|
-
- Use absolute paths when a tool needs a file path. Do not create literal \`$MATE_REPO_PATH\` or \`$MATE_ARTIFACT_PATH\` directories.
|
|
1443
1313
|
- When reporting information to me, be extremely concise and sacrifice grammar for the sake of concision. Apply this same preference to JSDoc.
|
|
1444
1314
|
- Code comments: JSDoc format only (\`/** ... */\`), never \`//\`. Sparse — only non-obvious invariants or constraints, never restated artifact rationale.
|
|
1445
|
-
- Claude Code receives \`$MATE_ARTIFACT_PATH\` via \`--add-dir\`; if \`@\` autocomplete does not show companion artifacts, reference them by absolute path.
|
|
1446
|
-
- The root \`CLAUDE.md\` in the companion repo is intentional and loaded by Mate. Do not create another project-level \`CLAUDE.md\` in the working repo unless the user explicitly asks for one.
|
|
1447
1315
|
- Never add a \`Co-Authored-By: <model>\` trailer or model-attribution footer to commit messages.
|
|
1448
1316
|
- Never commit, push, or open a pull request in the working repo (\`$MATE_REPO_PATH\`) unless the user explicitly asks for it.
|
|
1449
1317
|
- Never connect to a database (local or remote), touch live/external systems (deploys, infra), or take destructive/irreversible actions without asking the user first.
|
|
@@ -1472,7 +1340,7 @@ This block is kept for Claude/AGENTS.md compatibility and must not restate that
|
|
|
1472
1340
|
"reserved": 15000,
|
|
1473
1341
|
},
|
|
1474
1342
|
"plugin": [
|
|
1475
|
-
"@uniqbit/mate-opencode-plugin@0.15.
|
|
1343
|
+
"@uniqbit/mate-opencode-plugin@0.15.5-canary.0",
|
|
1476
1344
|
"context-mode@1.0.169",
|
|
1477
1345
|
],
|
|
1478
1346
|
"references": {
|
|
@@ -1488,7 +1356,7 @@ This block is kept for Claude/AGENTS.md compatibility and must not restate that
|
|
|
1488
1356
|
"opencodeTui": {
|
|
1489
1357
|
"$schema": "https://opencode.ai/tui.json",
|
|
1490
1358
|
"plugin": [
|
|
1491
|
-
"@uniqbit/mate-opencode-plugin@0.15.
|
|
1359
|
+
"@uniqbit/mate-opencode-plugin@0.15.5-canary.0",
|
|
1492
1360
|
"context-mode@1.0.169",
|
|
1493
1361
|
],
|
|
1494
1362
|
},
|
|
@@ -1606,14 +1474,6 @@ exports[`runtime surface golden fixtures setup react-doctor × claude 1`] = `
|
|
|
1606
1474
|
"agentsMd":
|
|
1607
1475
|
"<!-- MATE:COMPANION:START -->
|
|
1608
1476
|
|
|
1609
|
-
You are operating in a Mate-managed session.
|
|
1610
|
-
|
|
1611
|
-
Canonical companion policy is injected through \`<companion-policy framework="mate" priority="mandatory">\`.
|
|
1612
|
-
This block is kept for AGENTS.md compatibility and must not restate that policy.
|
|
1613
|
-
|
|
1614
|
-
## Agent Notes
|
|
1615
|
-
|
|
1616
|
-
- Use absolute paths when a tool needs a file path. Do not create literal \`$MATE_REPO_PATH\` or \`$MATE_ARTIFACT_PATH\` directories.
|
|
1617
1477
|
- When reporting information to me, be extremely concise and sacrifice grammar for the sake of concision. Apply this same preference to JSDoc.
|
|
1618
1478
|
- Code comments: JSDoc format only (\`/** ... */\`), never \`//\`. Sparse — only non-obvious invariants or constraints, never restated artifact rationale.
|
|
1619
1479
|
- Never add a \`Co-Authored-By: <model>\` trailer or model-attribution footer to commit messages.
|
|
@@ -1632,18 +1492,8 @@ This block is kept for AGENTS.md compatibility and must not restate that policy.
|
|
|
1632
1492
|
"claudeMd":
|
|
1633
1493
|
"<!-- MATE:COMPANION:START -->
|
|
1634
1494
|
|
|
1635
|
-
You are operating in a Mate-managed session.
|
|
1636
|
-
|
|
1637
|
-
Canonical companion policy is injected through \`<companion-policy framework="mate" priority="mandatory">\`.
|
|
1638
|
-
This block is kept for Claude/AGENTS.md compatibility and must not restate that policy.
|
|
1639
|
-
|
|
1640
|
-
## Claude Notes
|
|
1641
|
-
|
|
1642
|
-
- Use absolute paths when a tool needs a file path. Do not create literal \`$MATE_REPO_PATH\` or \`$MATE_ARTIFACT_PATH\` directories.
|
|
1643
1495
|
- When reporting information to me, be extremely concise and sacrifice grammar for the sake of concision. Apply this same preference to JSDoc.
|
|
1644
1496
|
- Code comments: JSDoc format only (\`/** ... */\`), never \`//\`. Sparse — only non-obvious invariants or constraints, never restated artifact rationale.
|
|
1645
|
-
- Claude Code receives \`$MATE_ARTIFACT_PATH\` via \`--add-dir\`; if \`@\` autocomplete does not show companion artifacts, reference them by absolute path.
|
|
1646
|
-
- The root \`CLAUDE.md\` in the companion repo is intentional and loaded by Mate. Do not create another project-level \`CLAUDE.md\` in the working repo unless the user explicitly asks for one.
|
|
1647
1497
|
- Never add a \`Co-Authored-By: <model>\` trailer or model-attribution footer to commit messages.
|
|
1648
1498
|
- Never commit, push, or open a pull request in the working repo (\`$MATE_REPO_PATH\`) unless the user explicitly asks for it.
|
|
1649
1499
|
- Never connect to a database (local or remote), touch live/external systems (deploys, infra), or take destructive/irreversible actions without asking the user first.
|
|
@@ -1754,14 +1604,6 @@ exports[`runtime surface golden fixtures setup react-doctor × opencode 1`] = `
|
|
|
1754
1604
|
"agentsMd":
|
|
1755
1605
|
"<!-- MATE:COMPANION:START -->
|
|
1756
1606
|
|
|
1757
|
-
You are operating in a Mate-managed session.
|
|
1758
|
-
|
|
1759
|
-
Canonical companion policy is injected through \`<companion-policy framework="mate" priority="mandatory">\`.
|
|
1760
|
-
This block is kept for AGENTS.md compatibility and must not restate that policy.
|
|
1761
|
-
|
|
1762
|
-
## Agent Notes
|
|
1763
|
-
|
|
1764
|
-
- Use absolute paths when a tool needs a file path. Do not create literal \`$MATE_REPO_PATH\` or \`$MATE_ARTIFACT_PATH\` directories.
|
|
1765
1607
|
- When reporting information to me, be extremely concise and sacrifice grammar for the sake of concision. Apply this same preference to JSDoc.
|
|
1766
1608
|
- Code comments: JSDoc format only (\`/** ... */\`), never \`//\`. Sparse — only non-obvious invariants or constraints, never restated artifact rationale.
|
|
1767
1609
|
- Never add a \`Co-Authored-By: <model>\` trailer or model-attribution footer to commit messages.
|
|
@@ -1784,7 +1626,7 @@ This block is kept for AGENTS.md compatibility and must not restate that policy.
|
|
|
1784
1626
|
"reserved": 15000,
|
|
1785
1627
|
},
|
|
1786
1628
|
"plugin": [
|
|
1787
|
-
"@uniqbit/mate-opencode-plugin@0.15.
|
|
1629
|
+
"@uniqbit/mate-opencode-plugin@0.15.5-canary.0",
|
|
1788
1630
|
],
|
|
1789
1631
|
"references": {
|
|
1790
1632
|
"mate": "..",
|
|
@@ -1802,7 +1644,7 @@ This block is kept for AGENTS.md compatibility and must not restate that policy.
|
|
|
1802
1644
|
"opencodeTui": {
|
|
1803
1645
|
"$schema": "https://opencode.ai/tui.json",
|
|
1804
1646
|
"plugin": [
|
|
1805
|
-
"@uniqbit/mate-opencode-plugin@0.15.
|
|
1647
|
+
"@uniqbit/mate-opencode-plugin@0.15.5-canary.0",
|
|
1806
1648
|
],
|
|
1807
1649
|
},
|
|
1808
1650
|
}
|
|
@@ -1873,14 +1715,6 @@ exports[`runtime surface golden fixtures setup react-doctor × claude+opencode 1
|
|
|
1873
1715
|
"agentsMd":
|
|
1874
1716
|
"<!-- MATE:COMPANION:START -->
|
|
1875
1717
|
|
|
1876
|
-
You are operating in a Mate-managed session.
|
|
1877
|
-
|
|
1878
|
-
Canonical companion policy is injected through \`<companion-policy framework="mate" priority="mandatory">\`.
|
|
1879
|
-
This block is kept for AGENTS.md compatibility and must not restate that policy.
|
|
1880
|
-
|
|
1881
|
-
## Agent Notes
|
|
1882
|
-
|
|
1883
|
-
- Use absolute paths when a tool needs a file path. Do not create literal \`$MATE_REPO_PATH\` or \`$MATE_ARTIFACT_PATH\` directories.
|
|
1884
1718
|
- When reporting information to me, be extremely concise and sacrifice grammar for the sake of concision. Apply this same preference to JSDoc.
|
|
1885
1719
|
- Code comments: JSDoc format only (\`/** ... */\`), never \`//\`. Sparse — only non-obvious invariants or constraints, never restated artifact rationale.
|
|
1886
1720
|
- Never add a \`Co-Authored-By: <model>\` trailer or model-attribution footer to commit messages.
|
|
@@ -1899,18 +1733,8 @@ This block is kept for AGENTS.md compatibility and must not restate that policy.
|
|
|
1899
1733
|
"claudeMd":
|
|
1900
1734
|
"<!-- MATE:COMPANION:START -->
|
|
1901
1735
|
|
|
1902
|
-
You are operating in a Mate-managed session.
|
|
1903
|
-
|
|
1904
|
-
Canonical companion policy is injected through \`<companion-policy framework="mate" priority="mandatory">\`.
|
|
1905
|
-
This block is kept for Claude/AGENTS.md compatibility and must not restate that policy.
|
|
1906
|
-
|
|
1907
|
-
## Claude Notes
|
|
1908
|
-
|
|
1909
|
-
- Use absolute paths when a tool needs a file path. Do not create literal \`$MATE_REPO_PATH\` or \`$MATE_ARTIFACT_PATH\` directories.
|
|
1910
1736
|
- When reporting information to me, be extremely concise and sacrifice grammar for the sake of concision. Apply this same preference to JSDoc.
|
|
1911
1737
|
- Code comments: JSDoc format only (\`/** ... */\`), never \`//\`. Sparse — only non-obvious invariants or constraints, never restated artifact rationale.
|
|
1912
|
-
- Claude Code receives \`$MATE_ARTIFACT_PATH\` via \`--add-dir\`; if \`@\` autocomplete does not show companion artifacts, reference them by absolute path.
|
|
1913
|
-
- The root \`CLAUDE.md\` in the companion repo is intentional and loaded by Mate. Do not create another project-level \`CLAUDE.md\` in the working repo unless the user explicitly asks for one.
|
|
1914
1738
|
- Never add a \`Co-Authored-By: <model>\` trailer or model-attribution footer to commit messages.
|
|
1915
1739
|
- Never commit, push, or open a pull request in the working repo (\`$MATE_REPO_PATH\`) unless the user explicitly asks for it.
|
|
1916
1740
|
- Never connect to a database (local or remote), touch live/external systems (deploys, infra), or take destructive/irreversible actions without asking the user first.
|
|
@@ -1968,7 +1792,7 @@ This block is kept for Claude/AGENTS.md compatibility and must not restate that
|
|
|
1968
1792
|
"reserved": 15000,
|
|
1969
1793
|
},
|
|
1970
1794
|
"plugin": [
|
|
1971
|
-
"@uniqbit/mate-opencode-plugin@0.15.
|
|
1795
|
+
"@uniqbit/mate-opencode-plugin@0.15.5-canary.0",
|
|
1972
1796
|
],
|
|
1973
1797
|
"references": {
|
|
1974
1798
|
"mate": "..",
|
|
@@ -1986,7 +1810,7 @@ This block is kept for Claude/AGENTS.md compatibility and must not restate that
|
|
|
1986
1810
|
"opencodeTui": {
|
|
1987
1811
|
"$schema": "https://opencode.ai/tui.json",
|
|
1988
1812
|
"plugin": [
|
|
1989
|
-
"@uniqbit/mate-opencode-plugin@0.15.
|
|
1813
|
+
"@uniqbit/mate-opencode-plugin@0.15.5-canary.0",
|
|
1990
1814
|
],
|
|
1991
1815
|
},
|
|
1992
1816
|
}
|
|
@@ -2101,14 +1925,6 @@ exports[`runtime surface golden fixtures setup openspec × claude 1`] = `
|
|
|
2101
1925
|
"agentsMd":
|
|
2102
1926
|
"<!-- MATE:COMPANION:START -->
|
|
2103
1927
|
|
|
2104
|
-
You are operating in a Mate-managed session.
|
|
2105
|
-
|
|
2106
|
-
Canonical companion policy is injected through \`<companion-policy framework="mate" priority="mandatory">\`.
|
|
2107
|
-
This block is kept for AGENTS.md compatibility and must not restate that policy.
|
|
2108
|
-
|
|
2109
|
-
## Agent Notes
|
|
2110
|
-
|
|
2111
|
-
- Use absolute paths when a tool needs a file path. Do not create literal \`$MATE_REPO_PATH\` or \`$MATE_ARTIFACT_PATH\` directories.
|
|
2112
1928
|
- When reporting information to me, be extremely concise and sacrifice grammar for the sake of concision. Apply this same preference to JSDoc.
|
|
2113
1929
|
- Code comments: JSDoc format only (\`/** ... */\`), never \`//\`. Sparse — only non-obvious invariants or constraints, never restated artifact rationale.
|
|
2114
1930
|
- Never add a \`Co-Authored-By: <model>\` trailer or model-attribution footer to commit messages.
|
|
@@ -2125,18 +1941,8 @@ This block is kept for AGENTS.md compatibility and must not restate that policy.
|
|
|
2125
1941
|
"claudeMd":
|
|
2126
1942
|
"<!-- MATE:COMPANION:START -->
|
|
2127
1943
|
|
|
2128
|
-
You are operating in a Mate-managed session.
|
|
2129
|
-
|
|
2130
|
-
Canonical companion policy is injected through \`<companion-policy framework="mate" priority="mandatory">\`.
|
|
2131
|
-
This block is kept for Claude/AGENTS.md compatibility and must not restate that policy.
|
|
2132
|
-
|
|
2133
|
-
## Claude Notes
|
|
2134
|
-
|
|
2135
|
-
- Use absolute paths when a tool needs a file path. Do not create literal \`$MATE_REPO_PATH\` or \`$MATE_ARTIFACT_PATH\` directories.
|
|
2136
1944
|
- When reporting information to me, be extremely concise and sacrifice grammar for the sake of concision. Apply this same preference to JSDoc.
|
|
2137
1945
|
- Code comments: JSDoc format only (\`/** ... */\`), never \`//\`. Sparse — only non-obvious invariants or constraints, never restated artifact rationale.
|
|
2138
|
-
- Claude Code receives \`$MATE_ARTIFACT_PATH\` via \`--add-dir\`; if \`@\` autocomplete does not show companion artifacts, reference them by absolute path.
|
|
2139
|
-
- The root \`CLAUDE.md\` in the companion repo is intentional and loaded by Mate. Do not create another project-level \`CLAUDE.md\` in the working repo unless the user explicitly asks for one.
|
|
2140
1946
|
- Never add a \`Co-Authored-By: <model>\` trailer or model-attribution footer to commit messages.
|
|
2141
1947
|
- Never commit, push, or open a pull request in the working repo (\`$MATE_REPO_PATH\`) unless the user explicitly asks for it.
|
|
2142
1948
|
- Never connect to a database (local or remote), touch live/external systems (deploys, infra), or take destructive/irreversible actions without asking the user first.
|
|
@@ -2231,14 +2037,6 @@ exports[`runtime surface golden fixtures setup openspec × opencode 1`] = `
|
|
|
2231
2037
|
"agentsMd":
|
|
2232
2038
|
"<!-- MATE:COMPANION:START -->
|
|
2233
2039
|
|
|
2234
|
-
You are operating in a Mate-managed session.
|
|
2235
|
-
|
|
2236
|
-
Canonical companion policy is injected through \`<companion-policy framework="mate" priority="mandatory">\`.
|
|
2237
|
-
This block is kept for AGENTS.md compatibility and must not restate that policy.
|
|
2238
|
-
|
|
2239
|
-
## Agent Notes
|
|
2240
|
-
|
|
2241
|
-
- Use absolute paths when a tool needs a file path. Do not create literal \`$MATE_REPO_PATH\` or \`$MATE_ARTIFACT_PATH\` directories.
|
|
2242
2040
|
- When reporting information to me, be extremely concise and sacrifice grammar for the sake of concision. Apply this same preference to JSDoc.
|
|
2243
2041
|
- Code comments: JSDoc format only (\`/** ... */\`), never \`//\`. Sparse — only non-obvious invariants or constraints, never restated artifact rationale.
|
|
2244
2042
|
- Never add a \`Co-Authored-By: <model>\` trailer or model-attribution footer to commit messages.
|
|
@@ -2261,7 +2059,7 @@ This block is kept for AGENTS.md compatibility and must not restate that policy.
|
|
|
2261
2059
|
"reserved": 15000,
|
|
2262
2060
|
},
|
|
2263
2061
|
"plugin": [
|
|
2264
|
-
"@uniqbit/mate-opencode-plugin@0.15.
|
|
2062
|
+
"@uniqbit/mate-opencode-plugin@0.15.5-canary.0",
|
|
2265
2063
|
],
|
|
2266
2064
|
"references": {
|
|
2267
2065
|
"mate": "..",
|
|
@@ -2281,7 +2079,7 @@ This block is kept for AGENTS.md compatibility and must not restate that policy.
|
|
|
2281
2079
|
"opencodeTui": {
|
|
2282
2080
|
"$schema": "https://opencode.ai/tui.json",
|
|
2283
2081
|
"plugin": [
|
|
2284
|
-
"@uniqbit/mate-opencode-plugin@0.15.
|
|
2082
|
+
"@uniqbit/mate-opencode-plugin@0.15.5-canary.0",
|
|
2285
2083
|
],
|
|
2286
2084
|
},
|
|
2287
2085
|
}
|
|
@@ -2353,14 +2151,6 @@ exports[`runtime surface golden fixtures setup openspec × claude+opencode 1`] =
|
|
|
2353
2151
|
"agentsMd":
|
|
2354
2152
|
"<!-- MATE:COMPANION:START -->
|
|
2355
2153
|
|
|
2356
|
-
You are operating in a Mate-managed session.
|
|
2357
|
-
|
|
2358
|
-
Canonical companion policy is injected through \`<companion-policy framework="mate" priority="mandatory">\`.
|
|
2359
|
-
This block is kept for AGENTS.md compatibility and must not restate that policy.
|
|
2360
|
-
|
|
2361
|
-
## Agent Notes
|
|
2362
|
-
|
|
2363
|
-
- Use absolute paths when a tool needs a file path. Do not create literal \`$MATE_REPO_PATH\` or \`$MATE_ARTIFACT_PATH\` directories.
|
|
2364
2154
|
- When reporting information to me, be extremely concise and sacrifice grammar for the sake of concision. Apply this same preference to JSDoc.
|
|
2365
2155
|
- Code comments: JSDoc format only (\`/** ... */\`), never \`//\`. Sparse — only non-obvious invariants or constraints, never restated artifact rationale.
|
|
2366
2156
|
- Never add a \`Co-Authored-By: <model>\` trailer or model-attribution footer to commit messages.
|
|
@@ -2377,18 +2167,8 @@ This block is kept for AGENTS.md compatibility and must not restate that policy.
|
|
|
2377
2167
|
"claudeMd":
|
|
2378
2168
|
"<!-- MATE:COMPANION:START -->
|
|
2379
2169
|
|
|
2380
|
-
You are operating in a Mate-managed session.
|
|
2381
|
-
|
|
2382
|
-
Canonical companion policy is injected through \`<companion-policy framework="mate" priority="mandatory">\`.
|
|
2383
|
-
This block is kept for Claude/AGENTS.md compatibility and must not restate that policy.
|
|
2384
|
-
|
|
2385
|
-
## Claude Notes
|
|
2386
|
-
|
|
2387
|
-
- Use absolute paths when a tool needs a file path. Do not create literal \`$MATE_REPO_PATH\` or \`$MATE_ARTIFACT_PATH\` directories.
|
|
2388
2170
|
- When reporting information to me, be extremely concise and sacrifice grammar for the sake of concision. Apply this same preference to JSDoc.
|
|
2389
2171
|
- Code comments: JSDoc format only (\`/** ... */\`), never \`//\`. Sparse — only non-obvious invariants or constraints, never restated artifact rationale.
|
|
2390
|
-
- Claude Code receives \`$MATE_ARTIFACT_PATH\` via \`--add-dir\`; if \`@\` autocomplete does not show companion artifacts, reference them by absolute path.
|
|
2391
|
-
- The root \`CLAUDE.md\` in the companion repo is intentional and loaded by Mate. Do not create another project-level \`CLAUDE.md\` in the working repo unless the user explicitly asks for one.
|
|
2392
2172
|
- Never add a \`Co-Authored-By: <model>\` trailer or model-attribution footer to commit messages.
|
|
2393
2173
|
- Never commit, push, or open a pull request in the working repo (\`$MATE_REPO_PATH\`) unless the user explicitly asks for it.
|
|
2394
2174
|
- Never connect to a database (local or remote), touch live/external systems (deploys, infra), or take destructive/irreversible actions without asking the user first.
|
|
@@ -2429,7 +2209,7 @@ This block is kept for Claude/AGENTS.md compatibility and must not restate that
|
|
|
2429
2209
|
"reserved": 15000,
|
|
2430
2210
|
},
|
|
2431
2211
|
"plugin": [
|
|
2432
|
-
"@uniqbit/mate-opencode-plugin@0.15.
|
|
2212
|
+
"@uniqbit/mate-opencode-plugin@0.15.5-canary.0",
|
|
2433
2213
|
],
|
|
2434
2214
|
"references": {
|
|
2435
2215
|
"mate": "..",
|
|
@@ -2449,7 +2229,7 @@ This block is kept for Claude/AGENTS.md compatibility and must not restate that
|
|
|
2449
2229
|
"opencodeTui": {
|
|
2450
2230
|
"$schema": "https://opencode.ai/tui.json",
|
|
2451
2231
|
"plugin": [
|
|
2452
|
-
"@uniqbit/mate-opencode-plugin@0.15.
|
|
2232
|
+
"@uniqbit/mate-opencode-plugin@0.15.5-canary.0",
|
|
2453
2233
|
],
|
|
2454
2234
|
},
|
|
2455
2235
|
}
|
|
@@ -2566,14 +2346,6 @@ exports[`runtime surface golden fixtures setup all capabilities × claude+openco
|
|
|
2566
2346
|
"agentsMd":
|
|
2567
2347
|
"<!-- MATE:COMPANION:START -->
|
|
2568
2348
|
|
|
2569
|
-
You are operating in a Mate-managed session.
|
|
2570
|
-
|
|
2571
|
-
Canonical companion policy is injected through \`<companion-policy framework="mate" priority="mandatory">\`.
|
|
2572
|
-
This block is kept for AGENTS.md compatibility and must not restate that policy.
|
|
2573
|
-
|
|
2574
|
-
## Agent Notes
|
|
2575
|
-
|
|
2576
|
-
- Use absolute paths when a tool needs a file path. Do not create literal \`$MATE_REPO_PATH\` or \`$MATE_ARTIFACT_PATH\` directories.
|
|
2577
2349
|
- When reporting information to me, be extremely concise and sacrifice grammar for the sake of concision. Apply this same preference to JSDoc.
|
|
2578
2350
|
- Code comments: JSDoc format only (\`/** ... */\`), never \`//\`. Sparse — only non-obvious invariants or constraints, never restated artifact rationale.
|
|
2579
2351
|
- Never add a \`Co-Authored-By: <model>\` trailer or model-attribution footer to commit messages.
|
|
@@ -2607,18 +2379,8 @@ Canonical Mate policy and any more specific tool-routing instructions remain aut
|
|
|
2607
2379
|
"claudeMd":
|
|
2608
2380
|
"<!-- MATE:COMPANION:START -->
|
|
2609
2381
|
|
|
2610
|
-
You are operating in a Mate-managed session.
|
|
2611
|
-
|
|
2612
|
-
Canonical companion policy is injected through \`<companion-policy framework="mate" priority="mandatory">\`.
|
|
2613
|
-
This block is kept for Claude/AGENTS.md compatibility and must not restate that policy.
|
|
2614
|
-
|
|
2615
|
-
## Claude Notes
|
|
2616
|
-
|
|
2617
|
-
- Use absolute paths when a tool needs a file path. Do not create literal \`$MATE_REPO_PATH\` or \`$MATE_ARTIFACT_PATH\` directories.
|
|
2618
2382
|
- When reporting information to me, be extremely concise and sacrifice grammar for the sake of concision. Apply this same preference to JSDoc.
|
|
2619
2383
|
- Code comments: JSDoc format only (\`/** ... */\`), never \`//\`. Sparse — only non-obvious invariants or constraints, never restated artifact rationale.
|
|
2620
|
-
- Claude Code receives \`$MATE_ARTIFACT_PATH\` via \`--add-dir\`; if \`@\` autocomplete does not show companion artifacts, reference them by absolute path.
|
|
2621
|
-
- The root \`CLAUDE.md\` in the companion repo is intentional and loaded by Mate. Do not create another project-level \`CLAUDE.md\` in the working repo unless the user explicitly asks for one.
|
|
2622
2384
|
- Never add a \`Co-Authored-By: <model>\` trailer or model-attribution footer to commit messages.
|
|
2623
2385
|
- Never commit, push, or open a pull request in the working repo (\`$MATE_REPO_PATH\`) unless the user explicitly asks for it.
|
|
2624
2386
|
- Never connect to a database (local or remote), touch live/external systems (deploys, infra), or take destructive/irreversible actions without asking the user first.
|
|
@@ -2768,7 +2530,7 @@ Write chunks to $GRAPHIFY_OUT and read $GRAPHIFY_OUT later.
|
|
|
2768
2530
|
},
|
|
2769
2531
|
},
|
|
2770
2532
|
"plugin": [
|
|
2771
|
-
"@uniqbit/mate-opencode-plugin@0.15.
|
|
2533
|
+
"@uniqbit/mate-opencode-plugin@0.15.5-canary.0",
|
|
2772
2534
|
"context-mode@1.0.169",
|
|
2773
2535
|
],
|
|
2774
2536
|
"references": {
|
|
@@ -2811,7 +2573,7 @@ Write chunks to $GRAPHIFY_OUT and read $GRAPHIFY_OUT later.
|
|
|
2811
2573
|
"opencodeTui": {
|
|
2812
2574
|
"$schema": "https://opencode.ai/tui.json",
|
|
2813
2575
|
"plugin": [
|
|
2814
|
-
"@uniqbit/mate-opencode-plugin@0.15.
|
|
2576
|
+
"@uniqbit/mate-opencode-plugin@0.15.5-canary.0",
|
|
2815
2577
|
"context-mode@1.0.169",
|
|
2816
2578
|
],
|
|
2817
2579
|
},
|
|
@@ -2953,14 +2715,6 @@ exports[`runtime surface golden fixtures teardown graphify × claude+opencode 1`
|
|
|
2953
2715
|
"agentsMd":
|
|
2954
2716
|
"<!-- MATE:COMPANION:START -->
|
|
2955
2717
|
|
|
2956
|
-
You are operating in a Mate-managed session.
|
|
2957
|
-
|
|
2958
|
-
Canonical companion policy is injected through \`<companion-policy framework="mate" priority="mandatory">\`.
|
|
2959
|
-
This block is kept for AGENTS.md compatibility and must not restate that policy.
|
|
2960
|
-
|
|
2961
|
-
## Agent Notes
|
|
2962
|
-
|
|
2963
|
-
- Use absolute paths when a tool needs a file path. Do not create literal \`$MATE_REPO_PATH\` or \`$MATE_ARTIFACT_PATH\` directories.
|
|
2964
2718
|
- When reporting information to me, be extremely concise and sacrifice grammar for the sake of concision. Apply this same preference to JSDoc.
|
|
2965
2719
|
- Code comments: JSDoc format only (\`/** ... */\`), never \`//\`. Sparse — only non-obvious invariants or constraints, never restated artifact rationale.
|
|
2966
2720
|
- Never add a \`Co-Authored-By: <model>\` trailer or model-attribution footer to commit messages.
|
|
@@ -2977,18 +2731,8 @@ This block is kept for AGENTS.md compatibility and must not restate that policy.
|
|
|
2977
2731
|
"claudeMd":
|
|
2978
2732
|
"<!-- MATE:COMPANION:START -->
|
|
2979
2733
|
|
|
2980
|
-
You are operating in a Mate-managed session.
|
|
2981
|
-
|
|
2982
|
-
Canonical companion policy is injected through \`<companion-policy framework="mate" priority="mandatory">\`.
|
|
2983
|
-
This block is kept for Claude/AGENTS.md compatibility and must not restate that policy.
|
|
2984
|
-
|
|
2985
|
-
## Claude Notes
|
|
2986
|
-
|
|
2987
|
-
- Use absolute paths when a tool needs a file path. Do not create literal \`$MATE_REPO_PATH\` or \`$MATE_ARTIFACT_PATH\` directories.
|
|
2988
2734
|
- When reporting information to me, be extremely concise and sacrifice grammar for the sake of concision. Apply this same preference to JSDoc.
|
|
2989
2735
|
- Code comments: JSDoc format only (\`/** ... */\`), never \`//\`. Sparse — only non-obvious invariants or constraints, never restated artifact rationale.
|
|
2990
|
-
- Claude Code receives \`$MATE_ARTIFACT_PATH\` via \`--add-dir\`; if \`@\` autocomplete does not show companion artifacts, reference them by absolute path.
|
|
2991
|
-
- The root \`CLAUDE.md\` in the companion repo is intentional and loaded by Mate. Do not create another project-level \`CLAUDE.md\` in the working repo unless the user explicitly asks for one.
|
|
2992
2736
|
- Never add a \`Co-Authored-By: <model>\` trailer or model-attribution footer to commit messages.
|
|
2993
2737
|
- Never commit, push, or open a pull request in the working repo (\`$MATE_REPO_PATH\`) unless the user explicitly asks for it.
|
|
2994
2738
|
- Never connect to a database (local or remote), touch live/external systems (deploys, infra), or take destructive/irreversible actions without asking the user first.
|
|
@@ -3015,7 +2759,7 @@ This block is kept for Claude/AGENTS.md compatibility and must not restate that
|
|
|
3015
2759
|
"reserved": 15000,
|
|
3016
2760
|
},
|
|
3017
2761
|
"plugin": [
|
|
3018
|
-
"@uniqbit/mate-opencode-plugin@0.15.
|
|
2762
|
+
"@uniqbit/mate-opencode-plugin@0.15.5-canary.0",
|
|
3019
2763
|
],
|
|
3020
2764
|
"references": {
|
|
3021
2765
|
"mate": "..",
|
|
@@ -3030,7 +2774,7 @@ This block is kept for Claude/AGENTS.md compatibility and must not restate that
|
|
|
3030
2774
|
"opencodeTui": {
|
|
3031
2775
|
"$schema": "https://opencode.ai/tui.json",
|
|
3032
2776
|
"plugin": [
|
|
3033
|
-
"@uniqbit/mate-opencode-plugin@0.15.
|
|
2777
|
+
"@uniqbit/mate-opencode-plugin@0.15.5-canary.0",
|
|
3034
2778
|
],
|
|
3035
2779
|
},
|
|
3036
2780
|
}
|
|
@@ -3041,14 +2785,6 @@ exports[`runtime surface golden fixtures teardown tokensave × claude+opencode 1
|
|
|
3041
2785
|
"agentsMd":
|
|
3042
2786
|
"<!-- MATE:COMPANION:START -->
|
|
3043
2787
|
|
|
3044
|
-
You are operating in a Mate-managed session.
|
|
3045
|
-
|
|
3046
|
-
Canonical companion policy is injected through \`<companion-policy framework="mate" priority="mandatory">\`.
|
|
3047
|
-
This block is kept for AGENTS.md compatibility and must not restate that policy.
|
|
3048
|
-
|
|
3049
|
-
## Agent Notes
|
|
3050
|
-
|
|
3051
|
-
- Use absolute paths when a tool needs a file path. Do not create literal \`$MATE_REPO_PATH\` or \`$MATE_ARTIFACT_PATH\` directories.
|
|
3052
2788
|
- When reporting information to me, be extremely concise and sacrifice grammar for the sake of concision. Apply this same preference to JSDoc.
|
|
3053
2789
|
- Code comments: JSDoc format only (\`/** ... */\`), never \`//\`. Sparse — only non-obvious invariants or constraints, never restated artifact rationale.
|
|
3054
2790
|
- Never add a \`Co-Authored-By: <model>\` trailer or model-attribution footer to commit messages.
|
|
@@ -3065,18 +2801,8 @@ This block is kept for AGENTS.md compatibility and must not restate that policy.
|
|
|
3065
2801
|
"claudeMd":
|
|
3066
2802
|
"<!-- MATE:COMPANION:START -->
|
|
3067
2803
|
|
|
3068
|
-
You are operating in a Mate-managed session.
|
|
3069
|
-
|
|
3070
|
-
Canonical companion policy is injected through \`<companion-policy framework="mate" priority="mandatory">\`.
|
|
3071
|
-
This block is kept for Claude/AGENTS.md compatibility and must not restate that policy.
|
|
3072
|
-
|
|
3073
|
-
## Claude Notes
|
|
3074
|
-
|
|
3075
|
-
- Use absolute paths when a tool needs a file path. Do not create literal \`$MATE_REPO_PATH\` or \`$MATE_ARTIFACT_PATH\` directories.
|
|
3076
2804
|
- When reporting information to me, be extremely concise and sacrifice grammar for the sake of concision. Apply this same preference to JSDoc.
|
|
3077
2805
|
- Code comments: JSDoc format only (\`/** ... */\`), never \`//\`. Sparse — only non-obvious invariants or constraints, never restated artifact rationale.
|
|
3078
|
-
- Claude Code receives \`$MATE_ARTIFACT_PATH\` via \`--add-dir\`; if \`@\` autocomplete does not show companion artifacts, reference them by absolute path.
|
|
3079
|
-
- The root \`CLAUDE.md\` in the companion repo is intentional and loaded by Mate. Do not create another project-level \`CLAUDE.md\` in the working repo unless the user explicitly asks for one.
|
|
3080
2806
|
- Never add a \`Co-Authored-By: <model>\` trailer or model-attribution footer to commit messages.
|
|
3081
2807
|
- Never commit, push, or open a pull request in the working repo (\`$MATE_REPO_PATH\`) unless the user explicitly asks for it.
|
|
3082
2808
|
- Never connect to a database (local or remote), touch live/external systems (deploys, infra), or take destructive/irreversible actions without asking the user first.
|
|
@@ -3103,7 +2829,7 @@ This block is kept for Claude/AGENTS.md compatibility and must not restate that
|
|
|
3103
2829
|
"reserved": 15000,
|
|
3104
2830
|
},
|
|
3105
2831
|
"plugin": [
|
|
3106
|
-
"@uniqbit/mate-opencode-plugin@0.15.
|
|
2832
|
+
"@uniqbit/mate-opencode-plugin@0.15.5-canary.0",
|
|
3107
2833
|
],
|
|
3108
2834
|
"references": {
|
|
3109
2835
|
"mate": "..",
|
|
@@ -3118,7 +2844,7 @@ This block is kept for Claude/AGENTS.md compatibility and must not restate that
|
|
|
3118
2844
|
"opencodeTui": {
|
|
3119
2845
|
"$schema": "https://opencode.ai/tui.json",
|
|
3120
2846
|
"plugin": [
|
|
3121
|
-
"@uniqbit/mate-opencode-plugin@0.15.
|
|
2847
|
+
"@uniqbit/mate-opencode-plugin@0.15.5-canary.0",
|
|
3122
2848
|
],
|
|
3123
2849
|
},
|
|
3124
2850
|
}
|
|
@@ -3129,14 +2855,6 @@ exports[`runtime surface golden fixtures teardown context-mode × claude+opencod
|
|
|
3129
2855
|
"agentsMd":
|
|
3130
2856
|
"<!-- MATE:COMPANION:START -->
|
|
3131
2857
|
|
|
3132
|
-
You are operating in a Mate-managed session.
|
|
3133
|
-
|
|
3134
|
-
Canonical companion policy is injected through \`<companion-policy framework="mate" priority="mandatory">\`.
|
|
3135
|
-
This block is kept for AGENTS.md compatibility and must not restate that policy.
|
|
3136
|
-
|
|
3137
|
-
## Agent Notes
|
|
3138
|
-
|
|
3139
|
-
- Use absolute paths when a tool needs a file path. Do not create literal \`$MATE_REPO_PATH\` or \`$MATE_ARTIFACT_PATH\` directories.
|
|
3140
2858
|
- When reporting information to me, be extremely concise and sacrifice grammar for the sake of concision. Apply this same preference to JSDoc.
|
|
3141
2859
|
- Code comments: JSDoc format only (\`/** ... */\`), never \`//\`. Sparse — only non-obvious invariants or constraints, never restated artifact rationale.
|
|
3142
2860
|
- Never add a \`Co-Authored-By: <model>\` trailer or model-attribution footer to commit messages.
|
|
@@ -3154,18 +2872,8 @@ This block is kept for AGENTS.md compatibility and must not restate that policy.
|
|
|
3154
2872
|
"claudeMd":
|
|
3155
2873
|
"<!-- MATE:COMPANION:START -->
|
|
3156
2874
|
|
|
3157
|
-
You are operating in a Mate-managed session.
|
|
3158
|
-
|
|
3159
|
-
Canonical companion policy is injected through \`<companion-policy framework="mate" priority="mandatory">\`.
|
|
3160
|
-
This block is kept for Claude/AGENTS.md compatibility and must not restate that policy.
|
|
3161
|
-
|
|
3162
|
-
## Claude Notes
|
|
3163
|
-
|
|
3164
|
-
- Use absolute paths when a tool needs a file path. Do not create literal \`$MATE_REPO_PATH\` or \`$MATE_ARTIFACT_PATH\` directories.
|
|
3165
2875
|
- When reporting information to me, be extremely concise and sacrifice grammar for the sake of concision. Apply this same preference to JSDoc.
|
|
3166
2876
|
- Code comments: JSDoc format only (\`/** ... */\`), never \`//\`. Sparse — only non-obvious invariants or constraints, never restated artifact rationale.
|
|
3167
|
-
- Claude Code receives \`$MATE_ARTIFACT_PATH\` via \`--add-dir\`; if \`@\` autocomplete does not show companion artifacts, reference them by absolute path.
|
|
3168
|
-
- The root \`CLAUDE.md\` in the companion repo is intentional and loaded by Mate. Do not create another project-level \`CLAUDE.md\` in the working repo unless the user explicitly asks for one.
|
|
3169
2877
|
- Never add a \`Co-Authored-By: <model>\` trailer or model-attribution footer to commit messages.
|
|
3170
2878
|
- Never commit, push, or open a pull request in the working repo (\`$MATE_REPO_PATH\`) unless the user explicitly asks for it.
|
|
3171
2879
|
- Never connect to a database (local or remote), touch live/external systems (deploys, infra), or take destructive/irreversible actions without asking the user first.
|
|
@@ -3192,7 +2900,7 @@ This block is kept for Claude/AGENTS.md compatibility and must not restate that
|
|
|
3192
2900
|
"reserved": 15000,
|
|
3193
2901
|
},
|
|
3194
2902
|
"plugin": [
|
|
3195
|
-
"@uniqbit/mate-opencode-plugin@0.15.
|
|
2903
|
+
"@uniqbit/mate-opencode-plugin@0.15.5-canary.0",
|
|
3196
2904
|
],
|
|
3197
2905
|
"references": {
|
|
3198
2906
|
"mate": "..",
|
|
@@ -3207,7 +2915,7 @@ This block is kept for Claude/AGENTS.md compatibility and must not restate that
|
|
|
3207
2915
|
"opencodeTui": {
|
|
3208
2916
|
"$schema": "https://opencode.ai/tui.json",
|
|
3209
2917
|
"plugin": [
|
|
3210
|
-
"@uniqbit/mate-opencode-plugin@0.15.
|
|
2918
|
+
"@uniqbit/mate-opencode-plugin@0.15.5-canary.0",
|
|
3211
2919
|
],
|
|
3212
2920
|
},
|
|
3213
2921
|
}
|
|
@@ -3218,14 +2926,6 @@ exports[`runtime surface golden fixtures teardown react-doctor × claude+opencod
|
|
|
3218
2926
|
"agentsMd":
|
|
3219
2927
|
"<!-- MATE:COMPANION:START -->
|
|
3220
2928
|
|
|
3221
|
-
You are operating in a Mate-managed session.
|
|
3222
|
-
|
|
3223
|
-
Canonical companion policy is injected through \`<companion-policy framework="mate" priority="mandatory">\`.
|
|
3224
|
-
This block is kept for AGENTS.md compatibility and must not restate that policy.
|
|
3225
|
-
|
|
3226
|
-
## Agent Notes
|
|
3227
|
-
|
|
3228
|
-
- Use absolute paths when a tool needs a file path. Do not create literal \`$MATE_REPO_PATH\` or \`$MATE_ARTIFACT_PATH\` directories.
|
|
3229
2929
|
- When reporting information to me, be extremely concise and sacrifice grammar for the sake of concision. Apply this same preference to JSDoc.
|
|
3230
2930
|
- Code comments: JSDoc format only (\`/** ... */\`), never \`//\`. Sparse — only non-obvious invariants or constraints, never restated artifact rationale.
|
|
3231
2931
|
- Never add a \`Co-Authored-By: <model>\` trailer or model-attribution footer to commit messages.
|
|
@@ -3242,18 +2942,8 @@ This block is kept for AGENTS.md compatibility and must not restate that policy.
|
|
|
3242
2942
|
"claudeMd":
|
|
3243
2943
|
"<!-- MATE:COMPANION:START -->
|
|
3244
2944
|
|
|
3245
|
-
You are operating in a Mate-managed session.
|
|
3246
|
-
|
|
3247
|
-
Canonical companion policy is injected through \`<companion-policy framework="mate" priority="mandatory">\`.
|
|
3248
|
-
This block is kept for Claude/AGENTS.md compatibility and must not restate that policy.
|
|
3249
|
-
|
|
3250
|
-
## Claude Notes
|
|
3251
|
-
|
|
3252
|
-
- Use absolute paths when a tool needs a file path. Do not create literal \`$MATE_REPO_PATH\` or \`$MATE_ARTIFACT_PATH\` directories.
|
|
3253
2945
|
- When reporting information to me, be extremely concise and sacrifice grammar for the sake of concision. Apply this same preference to JSDoc.
|
|
3254
2946
|
- Code comments: JSDoc format only (\`/** ... */\`), never \`//\`. Sparse — only non-obvious invariants or constraints, never restated artifact rationale.
|
|
3255
|
-
- Claude Code receives \`$MATE_ARTIFACT_PATH\` via \`--add-dir\`; if \`@\` autocomplete does not show companion artifacts, reference them by absolute path.
|
|
3256
|
-
- The root \`CLAUDE.md\` in the companion repo is intentional and loaded by Mate. Do not create another project-level \`CLAUDE.md\` in the working repo unless the user explicitly asks for one.
|
|
3257
2947
|
- Never add a \`Co-Authored-By: <model>\` trailer or model-attribution footer to commit messages.
|
|
3258
2948
|
- Never commit, push, or open a pull request in the working repo (\`$MATE_REPO_PATH\`) unless the user explicitly asks for it.
|
|
3259
2949
|
- Never connect to a database (local or remote), touch live/external systems (deploys, infra), or take destructive/irreversible actions without asking the user first.
|
|
@@ -3280,7 +2970,7 @@ This block is kept for Claude/AGENTS.md compatibility and must not restate that
|
|
|
3280
2970
|
"reserved": 15000,
|
|
3281
2971
|
},
|
|
3282
2972
|
"plugin": [
|
|
3283
|
-
"@uniqbit/mate-opencode-plugin@0.15.
|
|
2973
|
+
"@uniqbit/mate-opencode-plugin@0.15.5-canary.0",
|
|
3284
2974
|
],
|
|
3285
2975
|
"references": {
|
|
3286
2976
|
"mate": "..",
|
|
@@ -3295,7 +2985,7 @@ This block is kept for Claude/AGENTS.md compatibility and must not restate that
|
|
|
3295
2985
|
"opencodeTui": {
|
|
3296
2986
|
"$schema": "https://opencode.ai/tui.json",
|
|
3297
2987
|
"plugin": [
|
|
3298
|
-
"@uniqbit/mate-opencode-plugin@0.15.
|
|
2988
|
+
"@uniqbit/mate-opencode-plugin@0.15.5-canary.0",
|
|
3299
2989
|
],
|
|
3300
2990
|
},
|
|
3301
2991
|
}
|
|
@@ -3306,14 +2996,6 @@ exports[`runtime surface golden fixtures teardown openspec × claude+opencode 1`
|
|
|
3306
2996
|
"agentsMd":
|
|
3307
2997
|
"<!-- MATE:COMPANION:START -->
|
|
3308
2998
|
|
|
3309
|
-
You are operating in a Mate-managed session.
|
|
3310
|
-
|
|
3311
|
-
Canonical companion policy is injected through \`<companion-policy framework="mate" priority="mandatory">\`.
|
|
3312
|
-
This block is kept for AGENTS.md compatibility and must not restate that policy.
|
|
3313
|
-
|
|
3314
|
-
## Agent Notes
|
|
3315
|
-
|
|
3316
|
-
- Use absolute paths when a tool needs a file path. Do not create literal \`$MATE_REPO_PATH\` or \`$MATE_ARTIFACT_PATH\` directories.
|
|
3317
2999
|
- When reporting information to me, be extremely concise and sacrifice grammar for the sake of concision. Apply this same preference to JSDoc.
|
|
3318
3000
|
- Code comments: JSDoc format only (\`/** ... */\`), never \`//\`. Sparse — only non-obvious invariants or constraints, never restated artifact rationale.
|
|
3319
3001
|
- Never add a \`Co-Authored-By: <model>\` trailer or model-attribution footer to commit messages.
|
|
@@ -3330,18 +3012,8 @@ This block is kept for AGENTS.md compatibility and must not restate that policy.
|
|
|
3330
3012
|
"claudeMd":
|
|
3331
3013
|
"<!-- MATE:COMPANION:START -->
|
|
3332
3014
|
|
|
3333
|
-
You are operating in a Mate-managed session.
|
|
3334
|
-
|
|
3335
|
-
Canonical companion policy is injected through \`<companion-policy framework="mate" priority="mandatory">\`.
|
|
3336
|
-
This block is kept for Claude/AGENTS.md compatibility and must not restate that policy.
|
|
3337
|
-
|
|
3338
|
-
## Claude Notes
|
|
3339
|
-
|
|
3340
|
-
- Use absolute paths when a tool needs a file path. Do not create literal \`$MATE_REPO_PATH\` or \`$MATE_ARTIFACT_PATH\` directories.
|
|
3341
3015
|
- When reporting information to me, be extremely concise and sacrifice grammar for the sake of concision. Apply this same preference to JSDoc.
|
|
3342
3016
|
- Code comments: JSDoc format only (\`/** ... */\`), never \`//\`. Sparse — only non-obvious invariants or constraints, never restated artifact rationale.
|
|
3343
|
-
- Claude Code receives \`$MATE_ARTIFACT_PATH\` via \`--add-dir\`; if \`@\` autocomplete does not show companion artifacts, reference them by absolute path.
|
|
3344
|
-
- The root \`CLAUDE.md\` in the companion repo is intentional and loaded by Mate. Do not create another project-level \`CLAUDE.md\` in the working repo unless the user explicitly asks for one.
|
|
3345
3017
|
- Never add a \`Co-Authored-By: <model>\` trailer or model-attribution footer to commit messages.
|
|
3346
3018
|
- Never commit, push, or open a pull request in the working repo (\`$MATE_REPO_PATH\`) unless the user explicitly asks for it.
|
|
3347
3019
|
- Never connect to a database (local or remote), touch live/external systems (deploys, infra), or take destructive/irreversible actions without asking the user first.
|
|
@@ -3368,7 +3040,7 @@ This block is kept for Claude/AGENTS.md compatibility and must not restate that
|
|
|
3368
3040
|
"reserved": 15000,
|
|
3369
3041
|
},
|
|
3370
3042
|
"plugin": [
|
|
3371
|
-
"@uniqbit/mate-opencode-plugin@0.15.
|
|
3043
|
+
"@uniqbit/mate-opencode-plugin@0.15.5-canary.0",
|
|
3372
3044
|
],
|
|
3373
3045
|
"references": {
|
|
3374
3046
|
"mate": "..",
|
|
@@ -3383,7 +3055,7 @@ This block is kept for Claude/AGENTS.md compatibility and must not restate that
|
|
|
3383
3055
|
"opencodeTui": {
|
|
3384
3056
|
"$schema": "https://opencode.ai/tui.json",
|
|
3385
3057
|
"plugin": [
|
|
3386
|
-
"@uniqbit/mate-opencode-plugin@0.15.
|
|
3058
|
+
"@uniqbit/mate-opencode-plugin@0.15.5-canary.0",
|
|
3387
3059
|
],
|
|
3388
3060
|
},
|
|
3389
3061
|
}
|
|
@@ -3394,14 +3066,6 @@ exports[`runtime surface golden fixtures deselect opencode runtime with graphify
|
|
|
3394
3066
|
"agentsMd":
|
|
3395
3067
|
"<!-- MATE:COMPANION:START -->
|
|
3396
3068
|
|
|
3397
|
-
You are operating in a Mate-managed session.
|
|
3398
|
-
|
|
3399
|
-
Canonical companion policy is injected through \`<companion-policy framework="mate" priority="mandatory">\`.
|
|
3400
|
-
This block is kept for AGENTS.md compatibility and must not restate that policy.
|
|
3401
|
-
|
|
3402
|
-
## Agent Notes
|
|
3403
|
-
|
|
3404
|
-
- Use absolute paths when a tool needs a file path. Do not create literal \`$MATE_REPO_PATH\` or \`$MATE_ARTIFACT_PATH\` directories.
|
|
3405
3069
|
- When reporting information to me, be extremely concise and sacrifice grammar for the sake of concision. Apply this same preference to JSDoc.
|
|
3406
3070
|
- Code comments: JSDoc format only (\`/** ... */\`), never \`//\`. Sparse — only non-obvious invariants or constraints, never restated artifact rationale.
|
|
3407
3071
|
- Never add a \`Co-Authored-By: <model>\` trailer or model-attribution footer to commit messages.
|
|
@@ -3418,18 +3082,8 @@ This block is kept for AGENTS.md compatibility and must not restate that policy.
|
|
|
3418
3082
|
"claudeMd":
|
|
3419
3083
|
"<!-- MATE:COMPANION:START -->
|
|
3420
3084
|
|
|
3421
|
-
You are operating in a Mate-managed session.
|
|
3422
|
-
|
|
3423
|
-
Canonical companion policy is injected through \`<companion-policy framework="mate" priority="mandatory">\`.
|
|
3424
|
-
This block is kept for Claude/AGENTS.md compatibility and must not restate that policy.
|
|
3425
|
-
|
|
3426
|
-
## Claude Notes
|
|
3427
|
-
|
|
3428
|
-
- Use absolute paths when a tool needs a file path. Do not create literal \`$MATE_REPO_PATH\` or \`$MATE_ARTIFACT_PATH\` directories.
|
|
3429
3085
|
- When reporting information to me, be extremely concise and sacrifice grammar for the sake of concision. Apply this same preference to JSDoc.
|
|
3430
3086
|
- Code comments: JSDoc format only (\`/** ... */\`), never \`//\`. Sparse — only non-obvious invariants or constraints, never restated artifact rationale.
|
|
3431
|
-
- Claude Code receives \`$MATE_ARTIFACT_PATH\` via \`--add-dir\`; if \`@\` autocomplete does not show companion artifacts, reference them by absolute path.
|
|
3432
|
-
- The root \`CLAUDE.md\` in the companion repo is intentional and loaded by Mate. Do not create another project-level \`CLAUDE.md\` in the working repo unless the user explicitly asks for one.
|
|
3433
3087
|
- Never add a \`Co-Authored-By: <model>\` trailer or model-attribution footer to commit messages.
|
|
3434
3088
|
- Never commit, push, or open a pull request in the working repo (\`$MATE_REPO_PATH\`) unless the user explicitly asks for it.
|
|
3435
3089
|
- Never connect to a database (local or remote), touch live/external systems (deploys, infra), or take destructive/irreversible actions without asking the user first.
|
|
@@ -3497,7 +3151,12 @@ User notes.
|
|
|
3497
3151
|
"
|
|
3498
3152
|
,
|
|
3499
3153
|
"gitExclude":
|
|
3500
|
-
"
|
|
3154
|
+
"# mate managed: start
|
|
3155
|
+
/.mate/
|
|
3156
|
+
/.claude/
|
|
3157
|
+
/.opencode/
|
|
3158
|
+
/.agents/
|
|
3159
|
+
# mate managed: end
|
|
3501
3160
|
.tokensave/
|
|
3502
3161
|
"
|
|
3503
3162
|
,
|
|
@@ -3537,7 +3196,12 @@ User notes.
|
|
|
3537
3196
|
"
|
|
3538
3197
|
,
|
|
3539
3198
|
"gitExclude":
|
|
3540
|
-
"
|
|
3199
|
+
"# mate managed: start
|
|
3200
|
+
/.mate/
|
|
3201
|
+
/.claude/
|
|
3202
|
+
/.opencode/
|
|
3203
|
+
/.agents/
|
|
3204
|
+
# mate managed: end
|
|
3541
3205
|
"
|
|
3542
3206
|
,
|
|
3543
3207
|
"settingsLocal": {
|