@uniqbit/mate-core 1.0.0-canary.0 → 1.0.0-canary.2
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/claude-capability-plugins/companion-mentions/.claude-plugin/marketplace.json +14 -0
- package/claude-capability-plugins/companion-mentions/.claude-plugin/plugin.json +8 -0
- package/claude-capability-plugins/companion-mentions/hooks/companion.ts +457 -0
- package/claude-capability-plugins/companion-mentions/hooks/hooks.json +1 -0
- package/claude-capability-plugins/companion-mentions/hooks/register.ts +403 -0
- package/claude-plugin/hooks/hooks.json +10 -1
- package/claude-plugin/hooks/tokensave-route.mjs +52 -0
- package/opencode-plugin/src/server.ts +4 -0
- package/opencode-plugin/src/tui.tsx +2 -0
- package/opencode-plugin/tui.tsx +2 -0
- package/package.json +45 -16
- package/src/brand/terminal.ts +5 -0
- package/src/cli/commands/artifact/apply-context.ts +275 -0
- package/src/cli/commands/artifact/artifact.ts +4 -0
- package/src/cli/commands/artifact/delivery/archive.ts +13 -5
- package/src/cli/commands/artifact/delivery/environment.ts +36 -13
- package/src/cli/commands/artifact/delivery/link.ts +35 -15
- package/src/cli/commands/artifact/delivery/output.ts +31 -0
- package/src/cli/commands/artifact/finish/command.ts +50 -5
- package/src/cli/commands/artifact/finish/engine.ts +44 -11
- package/src/cli/commands/artifact/finish/git.ts +132 -19
- package/src/cli/commands/artifact/finish/openspec.ts +6 -1
- package/src/cli/commands/artifact/finish/worktree-cleanup.ts +92 -0
- package/src/cli/commands/cap/index-cmd.ts +64 -15
- package/src/cli/commands/cap/tokensave.ts +7 -5
- package/src/cli/commands/companion/link.ts +14 -1
- package/src/cli/commands/companion/open.ts +16 -11
- package/src/cli/commands/companion/sync.ts +10 -0
- package/src/cli/commands/companion/tui.ts +17 -7
- package/src/cli/commands/companion/update.ts +74 -12
- package/src/cli/commands/doctor.ts +20 -5
- package/src/cli/commands/factory/factory.ts +301 -0
- package/src/cli/commands/install.ts +133 -9
- package/src/cli/commands/launch/shared.ts +16 -11
- package/src/cli/commands/report/index.ts +20 -1
- package/src/cli/commands/session/context.ts +102 -0
- package/src/cli/commands/setup.ts +44 -10
- package/src/cli/commands/studio/factory-credential.ts +49 -0
- package/src/cli/commands/studio/index.ts +29 -2
- package/src/cli/commands/studio/payload.ts +249 -15
- package/src/cli/commands/studio/routes.ts +41 -8
- package/src/cli/commands/studio/selection.ts +142 -16
- package/src/cli/commands/studio/server.ts +403 -364
- package/src/cli/commands/studio/services.ts +60 -0
- package/src/cli/commands/studio/studio-app.ts +67 -0
- package/src/cli/commands/studio/terminal-assets.ts +21 -33
- package/src/cli/commands/studio/terminal.ts +85 -15
- package/src/cli/commands/studio/views/model.ts +18 -0
- package/src/cli/commands/studio/views/vault/markdown-tree.ts +267 -0
- package/src/cli/commands/studio/views/vault/view.ts +185 -0
- package/src/cli/commands/studio/workset-session.ts +131 -0
- package/src/cli/commands/unwrap.ts +8 -0
- package/src/cli/commands/update.ts +27 -1
- package/src/cli/commands/working/cleanup.ts +10 -1
- package/src/cli/commands/working/link.ts +76 -0
- package/src/cli/commands/working/working.ts +10 -0
- package/src/cli/commands/working/worktree.ts +356 -0
- package/src/cli/companion-link-wizard.tsx +2 -0
- package/src/cli/companion-selector.tsx +2 -0
- package/src/cli/confirm.ts +2 -0
- package/src/cli/install-plan.tsx +127 -160
- package/src/cli/launch-selector.tsx +2 -0
- package/src/cli/main.ts +18 -0
- package/src/cli/parse-flags.ts +9 -1
- package/src/cli/repo-list-table.tsx +2 -0
- package/src/cli/setup-selector.tsx +79 -20
- package/src/cli/usage.ts +11 -1
- package/src/create-mate.ts +5 -4
- package/src/hooks/tokensave-route.ts +26 -0
- package/src/lib/apply-context/fingerprint.ts +174 -0
- package/src/lib/apply-context/protocol.ts +193 -0
- package/src/lib/components/confirm-prompt.tsx +21 -9
- package/src/lib/components/select-menu.tsx +10 -3
- package/src/lib/components/spinner.tsx +4 -2
- package/src/lib/components/startup-progress.tsx +227 -41
- package/src/lib/components/text-input-display.tsx +2 -0
- package/src/lib/components/wizard-footer.tsx +2 -0
- package/src/lib/components/wizard-header.tsx +13 -11
- package/src/lib/delivery/archive-change.ts +14 -2
- package/src/lib/delivery/branches.ts +29 -5
- package/src/lib/delivery/environment.ts +7 -1
- package/src/lib/delivery/forge.ts +2 -2
- package/src/lib/delivery/merge-git.ts +261 -0
- package/src/lib/delivery/overlap.ts +11 -4
- package/src/lib/delivery/record-delivery.ts +97 -10
- package/src/lib/delivery/record.ts +67 -7
- package/src/lib/delivery/refresh.ts +104 -10
- package/src/lib/delivery/repository-access.ts +46 -2
- package/src/lib/delivery/resolve-branch.ts +162 -0
- package/src/lib/delivery/token.ts +7 -41
- package/src/lib/factory/attach-client.ts +113 -0
- package/src/lib/factory/attach.ts +178 -0
- package/src/lib/factory/broker.ts +190 -0
- package/src/lib/factory/bun-commands.ts +39 -0
- package/src/lib/factory/client.ts +92 -0
- package/src/lib/factory/command.ts +61 -0
- package/src/lib/factory/credential-store.ts +153 -0
- package/src/lib/factory/frames.ts +77 -0
- package/src/lib/factory/ids.ts +58 -0
- package/src/lib/factory/keyed-serial.ts +27 -0
- package/src/lib/factory/outcomes/actions.ts +114 -0
- package/src/lib/factory/outcomes/index.ts +381 -0
- package/src/lib/factory/outcomes/lifecycle.ts +205 -0
- package/src/lib/factory/outcomes/runs.ts +81 -0
- package/src/lib/factory/outcomes/sessions.ts +38 -0
- package/src/lib/factory/prepare.ts +49 -0
- package/src/lib/factory/pty.ts +103 -0
- package/src/lib/factory/runner/companion-context.ts +178 -0
- package/src/lib/factory/runner/control.ts +92 -0
- package/src/lib/factory/runner/harness-agent.ts +250 -0
- package/src/lib/factory/runner/live.ts +159 -0
- package/src/lib/factory/runner/questions.ts +22 -0
- package/src/lib/factory/runner/rank.ts +26 -0
- package/src/lib/factory/runner/run-policy.ts +12 -0
- package/src/lib/factory/runner/run.ts +199 -0
- package/src/lib/factory/runner/scheduler.ts +416 -0
- package/src/lib/factory/runner/state.ts +233 -0
- package/src/lib/factory/runner/workflow.ts +542 -0
- package/src/lib/factory/runtime.ts +972 -0
- package/src/lib/factory/sandbox.ts +292 -0
- package/src/lib/factory/worktree-branch.ts +17 -0
- package/src/lib/install.ts +66 -14
- package/src/lib/live-progress.ts +36 -0
- package/src/lib/member-choices.ts +67 -0
- package/src/lib/orchestrator/adapters/base.ts +55 -22
- package/src/lib/orchestrator/adapters/claude.ts +6 -1
- package/src/lib/orchestrator/config-store.ts +3 -2
- package/src/lib/orchestrator/editor.ts +29 -23
- package/src/lib/orchestrator/projection-entries.ts +56 -21
- package/src/lib/orchestrator/projection-opencode-copies.ts +32 -15
- package/src/lib/orchestrator/projection-openspec-store.ts +54 -9
- package/src/lib/orchestrator/projection-types.ts +33 -1
- package/src/lib/orchestrator/session-context-link.ts +67 -0
- package/src/lib/orchestrator/setup-compatibilities.ts +55 -12
- package/src/lib/orchestrator/types.ts +5 -0
- package/src/lib/orchestrator/working-repo-projection.ts +50 -7
- package/src/lib/orchestrator/workspace-document.ts +105 -0
- package/src/lib/package-paths.ts +29 -0
- package/src/lib/runtime-directory-refresh.ts +17 -1
- package/src/lib/workset/record.ts +513 -0
- package/src/lib/workset/repositories.ts +55 -0
- package/src/lib/workset/stage.ts +148 -0
- package/src/lib/workset/stages.ts +113 -0
- package/src/lib/workset/worktree-index.ts +116 -0
- package/src/lib/workset/worktree.ts +830 -0
- package/src/opencode/companion-hooks.ts +45 -2
- package/src/opencode/enter-worktree.ts +72 -0
- package/src/opencode/tui.tsx +9 -4
- package/src/plugins.ts +1 -0
- package/src/runtime/claude-delivery-plan.ts +22 -5
- package/src/runtime/companion-git.ts +52 -10
- package/src/runtime/companion-guidance.ts +7 -7
- package/src/runtime/companion-lock.ts +30 -7
- package/src/runtime/env.ts +48 -3
- package/src/runtime/git-layout.ts +219 -0
- package/src/runtime/index.ts +24 -0
- package/src/runtime/physical-path.ts +111 -0
- package/src/runtime/policy.ts +36 -2
- package/src/runtime/runtime-directory.ts +5 -0
- package/src/runtime/secret-guard.ts +19 -5
- package/src/runtime/secret-patterns.ts +267 -34
- package/src/runtime/session-context.ts +98 -0
- package/src/runtime/tokensave-route.ts +152 -0
- package/src/runtime/wrap-state.ts +24 -16
- package/src/studio.ts +124 -0
- package/src/templates/capabilities/openspec-cap/mate-minimal/schema.yaml +10 -8
- package/src/templates/capabilities/openspec-cap/mate-v1/schema.yaml +16 -98
- package/src/templates/capabilities/openspec-cap/openspec-conventions.yaml +10 -2
- package/src/templates/mate-skills/agents/mate-apply-change/SKILL.md +76 -18
- package/src/templates/mate-skills/agents/mate-apply-change/references/mate-compact-apply.md +47 -0
- package/src/templates/mate-skills/agents/mate-apply-change/references/openspec-apply-change.md +2 -0
- package/src/templates/mate-skills/agents/mate-archive-change/SKILL.md +32 -5
- package/src/templates/mate-skills/agents/mate-backfill-spec/SKILL.md +8 -1
- package/src/templates/mate-skills/agents/mate-clarify-intent/SKILL.md +16 -1
- package/src/templates/mate-skills/agents/mate-explore-change/SKILL.md +22 -6
- package/src/templates/mate-skills/agents/mate-explore-change/references/openspec-explore.md +2 -0
- package/src/templates/mate-skills/agents/mate-grill-me/SKILL.md +8 -1
- package/src/templates/mate-skills/agents/mate-grill-with-docs/SKILL.md +2 -2
- package/src/templates/mate-skills/agents/mate-interview-me/SKILL.md +7 -0
- package/src/templates/mate-skills/agents/mate-propose-change/SKILL.md +55 -50
- package/src/templates/mate-skills/agents/mate-propose-change/references/mate-revise.md +47 -0
- package/src/templates/mate-skills/agents/mate-propose-change/references/openspec-propose.md +2 -0
- package/src/templates/mate-skills/agents/mate-propose-change/references/openspec-update-change.md +2 -0
- package/src/templates/mate-skills/agents/mate-publish-artifact/SKILL.md +29 -10
- package/src/templates/mate-skills/agents/mate-publish-artifact/references/openspec.md +4 -2
- package/src/templates/mate-skills/agents/mate-show-me/SKILL.md +21 -0
- package/src/templates/mate-skills/agents/mate-simplify-code/SKILL.md +13 -0
- package/src/templates/mate-skills/claude/mate-apply-change/SKILL.md +76 -18
- package/src/templates/mate-skills/claude/mate-apply-change/references/mate-compact-apply.md +47 -0
- package/src/templates/mate-skills/claude/mate-apply-change/references/openspec-apply-change.md +2 -0
- package/src/templates/mate-skills/claude/mate-archive-change/SKILL.md +32 -5
- package/src/templates/mate-skills/claude/mate-backfill-spec/SKILL.md +8 -1
- package/src/templates/mate-skills/claude/mate-clarify-intent/SKILL.md +16 -1
- package/src/templates/mate-skills/claude/mate-explore-change/SKILL.md +22 -6
- package/src/templates/mate-skills/claude/mate-explore-change/references/openspec-explore.md +2 -0
- package/src/templates/mate-skills/claude/mate-grill-me/SKILL.md +8 -1
- package/src/templates/mate-skills/claude/mate-grill-with-docs/SKILL.md +2 -2
- package/src/templates/mate-skills/claude/mate-interview-me/SKILL.md +7 -0
- package/src/templates/mate-skills/claude/mate-propose-change/SKILL.md +55 -50
- package/src/templates/mate-skills/claude/mate-propose-change/references/mate-revise.md +47 -0
- package/src/templates/mate-skills/claude/mate-propose-change/references/openspec-propose.md +2 -0
- package/src/templates/mate-skills/claude/mate-propose-change/references/openspec-update-change.md +2 -0
- package/src/templates/mate-skills/claude/mate-publish-artifact/SKILL.md +29 -10
- package/src/templates/mate-skills/claude/mate-publish-artifact/references/openspec.md +4 -2
- package/src/templates/mate-skills/claude/mate-show-me/SKILL.md +21 -0
- package/src/templates/mate-skills/claude/mate-simplify-code/SKILL.md +13 -0
- package/src/templates/mate-skills/openspec-references.ts +2 -0
- package/src/tools/setup/__snapshots__/runtime-surface-golden.test.ts.snap +364 -224
- package/src/tools/setup/capabilities/companion-mentions.ts +27 -0
- package/src/tools/setup/capabilities/context-mode.ts +34 -5
- package/src/tools/setup/capabilities/graphify-secrets.ts +2 -14
- package/src/tools/setup/capabilities/graphify.ts +34 -7
- package/src/tools/setup/capabilities/openspec.ts +12 -2
- package/src/tools/setup/capabilities/react-doctor.ts +8 -1
- package/src/tools/setup/capabilities/rtk.ts +4 -0
- package/src/tools/setup/capabilities/tokensave.ts +77 -68
- package/src/tools/setup/engine.ts +3 -2
- package/src/tools/setup/install-contract.ts +8 -0
- package/src/tools/setup/mate-skill-copies.ts +51 -0
- package/src/tools/setup/package-managers/uv.ts +73 -11
- package/src/tools/setup/plugin.ts +5 -0
- package/src/tools/setup/providers/claude-plugin-hooks.ts +12 -0
- package/src/tools/setup/providers/claude-worktree-plugins.ts +122 -0
- package/src/tools/setup/providers/claude.ts +11 -5
- package/src/tools/setup/utils.ts +4 -0
- package/src/tools/setup/working-repo-cleanup.ts +29 -1
- package/src/tools/setup/working-repo-local-state.ts +252 -75
- package/src/tools/setup.ts +57 -16
- package/studio-dist/client/assets/companion-view-Csva26Ir.js +1 -0
- package/studio-dist/client/assets/delivery-path-DJMpRmiY.js +1 -0
- package/studio-dist/client/assets/dist-Dm7MtyHc.js +5 -0
- package/studio-dist/client/assets/factory-B7l9ZQyx.js +4 -0
- package/studio-dist/client/assets/index-n6uo_92S.js +40 -0
- package/studio-dist/client/assets/preload-helper-BLdHbfdN.js +1 -0
- package/studio-dist/client/assets/prepaint-CD5OpmTM.js +24 -0
- package/studio-dist/client/assets/queries-CN3JwMBX.js +1 -0
- package/studio-dist/client/assets/react-CabXf2Ds.js +1 -0
- package/studio-dist/client/assets/report-time-Dc-KOqQu.js +1 -0
- package/studio-dist/client/assets/reports-C01RsnMA.js +1 -0
- package/studio-dist/client/assets/rolldown-runtime-WkwZ5CU-.js +1 -0
- package/studio-dist/client/assets/routes-4pbC-2Hj.js +1 -0
- package/studio-dist/client/assets/skills-CihQganl.js +1 -0
- package/studio-dist/client/assets/spec-areas-C2L48N4C.js +1 -0
- package/studio-dist/client/assets/specs-D24_35_K.js +1 -0
- package/studio-dist/client/assets/studio-DKxfi691.css +1 -0
- package/studio-dist/client/assets/studio-queries-rvbJupCy.js +3 -0
- package/studio-dist/client/assets/terminal-eU5fzQzv.css +1 -0
- package/studio-dist/client/assets/vault-Bd4CQiTK.js +1 -0
- package/studio-dist/client/assets/warnings-V_Ys51wJ.js +1 -0
- package/studio-dist/client/assets/wasm-inline-C2en61B5.js +1 -0
- package/studio-dist/client/assets/workflow-BJejeVwQ.js +1 -0
- package/studio-dist/server/assets/__23tanstack-start-server-fn-resolver-BQKuMdJW.js +3881 -0
- package/studio-dist/server/assets/_tanstack-start-manifest_v.js +85 -0
- package/studio-dist/server/assets/actions-Bvgj9eb8.js +54 -0
- package/studio-dist/server/assets/actions-D8erOphH.js +44 -0
- package/studio-dist/server/assets/companion-view-aBady57v.js +33 -0
- package/studio-dist/server/assets/createServerFn-F5sAOF8V.js +459 -0
- package/studio-dist/server/assets/createServerRpc-tK2lE9R2.js +11 -0
- package/studio-dist/server/assets/delivery-path-BkKNjgkf.js +778 -0
- package/studio-dist/server/assets/dist-DpJWKyCm.js +5582 -0
- package/studio-dist/server/assets/empty-plugin-adapters-Cipd4ZH4.js +4 -0
- package/studio-dist/server/assets/factory-D6xnjedJ.js +2385 -0
- package/studio-dist/server/assets/factory-DT3UzHlh.js +68 -0
- package/studio-dist/server/assets/model-PyPALjii.js +18 -0
- package/studio-dist/server/assets/prepaint-BMke0fo1.js +41 -0
- package/studio-dist/server/assets/queries-Ag2iL8q2.js +107 -0
- package/studio-dist/server/assets/react-COs0LHn-.js +51 -0
- package/studio-dist/server/assets/report-time-DAfzln-N.js +8 -0
- package/studio-dist/server/assets/reports-BnUNJVtx.js +126 -0
- package/studio-dist/server/assets/rolldown-runtime-DYf_mQCB.js +34 -0
- package/studio-dist/server/assets/router-BH--drIx.js +4298 -0
- package/studio-dist/server/assets/routes-khSDK1bV.js +361 -0
- package/studio-dist/server/assets/search-JAKurDNh.js +36 -0
- package/studio-dist/server/assets/shell-CboT2f66.js +51 -0
- package/studio-dist/server/assets/skills-MWYnWoKs.js +106 -0
- package/studio-dist/server/assets/spec-areas-DcnO6vW-.js +16 -0
- package/studio-dist/server/assets/specs-DE3w8hZP.js +155 -0
- package/studio-dist/server/assets/start-BW5ovN0k.js +33 -0
- package/studio-dist/server/assets/studio-BeltxxKt.js +216 -0
- package/studio-dist/server/assets/studio-queries-CLnP9kGu.js +3365 -0
- package/studio-dist/server/assets/utils-C9CX1kcy.js +221 -0
- package/studio-dist/server/assets/vault-BGulVoNh.js +70 -0
- package/studio-dist/server/assets/vault-CuyyhLyB.js +832 -0
- package/studio-dist/server/assets/views-Bd7cRr27.js +82 -0
- package/studio-dist/server/assets/warnings-BH05rOuG.js +15 -0
- package/studio-dist/server/assets/wasm-inline-CNeBKGwC.js +3 -0
- package/studio-dist/server/assets/workflow-BSuIKWqH.js +42 -0
- package/studio-dist/server/server.js +16220 -0
- package/src/cli/commands/studio/client-asset.ts +0 -16
- package/src/cli/commands/studio/views/client.ts +0 -44
- package/src/cli/commands/studio/views/companion-picker.tsx +0 -95
- package/src/cli/commands/studio/views/companion-selector.tsx +0 -94
- package/src/cli/commands/studio/views/dashboard/changes.tsx +0 -102
- package/src/cli/commands/studio/views/dashboard/index.tsx +0 -19
- package/src/cli/commands/studio/views/document.tsx +0 -910
- package/src/cli/commands/studio/views/error.tsx +0 -20
- package/src/cli/commands/studio/views/markdown.tsx +0 -250
- package/src/cli/commands/studio/views/palette.ts +0 -134
- package/src/cli/commands/studio/views/reports/index.tsx +0 -44
- package/src/cli/commands/studio/views/selection-fields.tsx +0 -14
- package/src/cli/commands/studio/views/skills/index.tsx +0 -68
- package/src/cli/commands/studio/views/specs/index.tsx +0 -149
- package/src/cli/commands/studio/views/studio-client/actions.ts +0 -51
- package/src/cli/commands/studio/views/studio-client/companion.ts +0 -13
- package/src/cli/commands/studio/views/studio-client/index.ts +0 -32
- package/src/cli/commands/studio/views/studio-client/keys.ts +0 -3
- package/src/cli/commands/studio/views/studio-client/main.ts +0 -3
- package/src/cli/commands/studio/views/studio-client/page.ts +0 -146
- package/src/cli/commands/studio/views/studio-client/panels.ts +0 -57
- package/src/cli/commands/studio/views/studio-client/reports.ts +0 -122
- package/src/cli/commands/studio/views/studio-client/theme.ts +0 -63
- package/src/cli/commands/studio/views/studio-client/vault-editor.ts +0 -166
- package/src/cli/commands/studio/views/studio-client/vault-pane.ts +0 -202
- package/src/cli/commands/studio/views/studio-client/vault-tree.ts +0 -258
- package/src/cli/commands/studio/views/studio-client.generated.ts +0 -2
- package/src/cli/commands/studio/views/styles.ts +0 -530
- package/src/cli/commands/studio/views/terminal.tsx +0 -484
- package/src/cli/commands/studio/views/vault/state.ts +0 -41
- package/src/cli/commands/studio/views/warnings.tsx +0 -21
- package/src/cli/commands/studio/views/workflow/delivery-path.tsx +0 -370
- package/src/cli/commands/studio/views/workflow/graph.ts +0 -220
- package/src/cli/commands/studio/views/workflow/index.tsx +0 -20
- package/src/cli/commands/studio/views/workflow/steps.ts +0 -278
- package/src/lib/components/theme.ts +0 -2
- package/src/tools/setup/git-utils.ts +0 -30
|
@@ -56,6 +56,7 @@ exports[`runtime surface golden fixtures setup graphify × claude 1`] = `
|
|
|
56
56
|
"deny": [
|
|
57
57
|
"EnterPlanMode",
|
|
58
58
|
"DesignSync",
|
|
59
|
+
"SendFeedback",
|
|
59
60
|
"Read(**/.env)",
|
|
60
61
|
"Edit(**/.env)",
|
|
61
62
|
"Read(**/.env.local)",
|
|
@@ -141,11 +142,11 @@ exports[`runtime surface golden fixtures setup graphify × claude 2`] = `
|
|
|
141
142
|
<mandatory-rules>
|
|
142
143
|
<rule id="artifact-location" severity="critical">Agent artifacts MUST go to <root>/companion, NEVER <root>/working. Artifacts include plans, specs, ADRs, todos, notes, handoffs, reasoning docs, and scratch files.</rule>
|
|
143
144
|
<rule id="pre-write-classification" severity="critical">Before ANY write, classify the target as product-code or agent-artifact. If unsure, treat it as agent-artifact.</rule>
|
|
144
|
-
<rule id="product-code-location" severity="critical">Product code (README, docs, source, tests) belongs in
|
|
145
|
-
<rule id="local-artifact-exception" severity="critical">
|
|
146
|
-
<rule id="guardrail" severity="critical">Bad artifact writes to
|
|
147
|
-
<rule id="companion-multi-repository" severity="critical">This Companion Repository may serve multiple Working Repositories
|
|
148
|
-
<rule id="repository-area-scope" severity="critical">For domain modeling, identify the canonical Working Repository and its repository-relative Area first. A checkout basename or Area alone is not a repository identity. Shared context applies only when the
|
|
145
|
+
<rule id="product-code-location" severity="critical">Product code (README, docs, source, tests) belongs in the working-repository path; agent artifacts in the companion-repository path.</rule>
|
|
146
|
+
<rule id="local-artifact-exception" severity="critical">Write an artifact in the working repository only when its exact path is gitignored AND intentionally local-only.</rule>
|
|
147
|
+
<rule id="guardrail" severity="critical">Bad artifact writes to the working repository are rejected. The guardrail resolves relative paths against <root>/working and does not follow cd, so write artifacts, including shell redirects and tee, with absolute paths under <root>/companion.</rule>
|
|
148
|
+
<rule id="companion-multi-repository" severity="critical">This Companion Repository may serve multiple Working Repositories; the working-repository path is this session's single primary Working Repository (the product-code plane), not the full set. The Companion Repository is the shared artifact and context plane.</rule>
|
|
149
|
+
<rule id="repository-area-scope" severity="critical">For domain modeling, identify the canonical Working Repository and its repository-relative Area first. A checkout basename or Area alone is not a repository identity. Shared context applies only when the companion CONTEXT-MAP explicitly maps it to that repository and Area.</rule>
|
|
149
150
|
<rule id="wrapper-only-cli-execution" severity="critical">For every CLI declared in cli-tools, invoke the exact path in its invokeAs attribute. Correct: <wrapper-bin>/openspec status ... . Incorrect: openspec status ... . Do not run bare openspec or graphify commands and do not rely on PATH, aliases, or shell functions. If the exact wrapper path is unavailable, stop and report it.</rule>
|
|
150
151
|
<rule id="secret-handling" severity="critical">Never read, print, copy, or write secret files (.env, .env.*, keys, certificates, credential files such as .npmrc or .netrc) or secret values. To learn which variables exist, read only the example files (.env.example, .env.sample, .env.template, .env.dist). Refer to a secret by its variable name only. Do not print environment variables that may hold secrets. When a secret must be set or rotated, ask the user to do it instead of writing it yourself. Guarded calls are blocked; the companion's framework.yaml secrets block is the user's switch, not yours.</rule>
|
|
151
152
|
</mandatory-rules>
|
|
@@ -194,6 +195,15 @@ exports[`runtime surface golden fixtures setup graphify × claude 3`] = `
|
|
|
194
195
|
],
|
|
195
196
|
"matcher": "Read|Grep|Write|Edit|MultiEdit|NotebookEdit|Bash",
|
|
196
197
|
},
|
|
198
|
+
{
|
|
199
|
+
"hooks": [
|
|
200
|
+
{
|
|
201
|
+
"command": "node "<runtime-claude-plugin>/hooks/tokensave-route.mjs"",
|
|
202
|
+
"type": "command",
|
|
203
|
+
},
|
|
204
|
+
],
|
|
205
|
+
"matcher": "mcp__tokensave__.*",
|
|
206
|
+
},
|
|
197
207
|
],
|
|
198
208
|
},
|
|
199
209
|
{
|
|
@@ -280,6 +290,7 @@ exports[`runtime surface golden fixtures setup graphify × claude 3`] = `
|
|
|
280
290
|
"values": [
|
|
281
291
|
"EnterPlanMode",
|
|
282
292
|
"DesignSync",
|
|
293
|
+
"SendFeedback",
|
|
283
294
|
"Read(**/.env)",
|
|
284
295
|
"Edit(**/.env)",
|
|
285
296
|
"Read(**/.env.local)",
|
|
@@ -444,11 +455,11 @@ exports[`runtime surface golden fixtures setup graphify × opencode 2`] = `
|
|
|
444
455
|
<mandatory-rules>
|
|
445
456
|
<rule id="artifact-location" severity="critical">Agent artifacts MUST go to $MATE_ARTIFACT_PATH, NEVER $MATE_REPO_PATH. Artifacts include plans, specs, ADRs, todos, notes, handoffs, reasoning docs, and scratch files.</rule>
|
|
446
457
|
<rule id="pre-write-classification" severity="critical">Before ANY write, classify the target as product-code or agent-artifact. If unsure, treat it as agent-artifact.</rule>
|
|
447
|
-
<rule id="product-code-location" severity="critical">Product code (README, docs, source, tests) belongs in
|
|
448
|
-
<rule id="local-artifact-exception" severity="critical">
|
|
449
|
-
<rule id="guardrail" severity="critical">Bad artifact writes to
|
|
450
|
-
<rule id="companion-multi-repository" severity="critical">This Companion Repository may serve multiple Working Repositories
|
|
451
|
-
<rule id="repository-area-scope" severity="critical">For domain modeling, identify the canonical Working Repository and its repository-relative Area first. A checkout basename or Area alone is not a repository identity. Shared context applies only when the
|
|
458
|
+
<rule id="product-code-location" severity="critical">Product code (README, docs, source, tests) belongs in the working-repository path; agent artifacts in the companion-repository path.</rule>
|
|
459
|
+
<rule id="local-artifact-exception" severity="critical">Write an artifact in the working repository only when its exact path is gitignored AND intentionally local-only.</rule>
|
|
460
|
+
<rule id="guardrail" severity="critical">Bad artifact writes to the working repository are rejected. The guardrail resolves relative paths against $MATE_REPO_PATH and does not follow cd, so write artifacts, including shell redirects and tee, with absolute paths under $MATE_ARTIFACT_PATH.</rule>
|
|
461
|
+
<rule id="companion-multi-repository" severity="critical">This Companion Repository may serve multiple Working Repositories; the working-repository path is this session's single primary Working Repository (the product-code plane), not the full set. The Companion Repository is the shared artifact and context plane.</rule>
|
|
462
|
+
<rule id="repository-area-scope" severity="critical">For domain modeling, identify the canonical Working Repository and its repository-relative Area first. A checkout basename or Area alone is not a repository identity. Shared context applies only when the companion CONTEXT-MAP explicitly maps it to that repository and Area.</rule>
|
|
452
463
|
<rule id="wrapper-only-cli-execution" severity="critical">For every CLI declared in cli-tools, invoke the exact path in its invokeAs attribute. Correct: $MATE_WRAPPER_BIN_PATH/openspec status ... . Incorrect: openspec status ... . Do not run bare openspec or graphify commands and do not rely on PATH, aliases, or shell functions. If the exact wrapper path is unavailable, stop and report it.</rule>
|
|
453
464
|
<rule id="secret-handling" severity="critical">Never read, print, copy, or write secret files (.env, .env.*, keys, certificates, credential files such as .npmrc or .netrc) or secret values. To learn which variables exist, read only the example files (.env.example, .env.sample, .env.template, .env.dist). Refer to a secret by its variable name only. Do not print environment variables that may hold secrets. When a secret must be set or rotated, ask the user to do it instead of writing it yourself. Guarded calls are blocked; the companion's framework.yaml secrets block is the user's switch, not yours.</rule>
|
|
454
465
|
</mandatory-rules>
|
|
@@ -758,6 +769,7 @@ exports[`runtime surface golden fixtures setup graphify × claude+opencode 1`] =
|
|
|
758
769
|
"deny": [
|
|
759
770
|
"EnterPlanMode",
|
|
760
771
|
"DesignSync",
|
|
772
|
+
"SendFeedback",
|
|
761
773
|
"Read(**/.env)",
|
|
762
774
|
"Edit(**/.env)",
|
|
763
775
|
"Read(**/.env.local)",
|
|
@@ -880,11 +892,11 @@ exports[`runtime surface golden fixtures setup graphify × claude+opencode 2`] =
|
|
|
880
892
|
<mandatory-rules>
|
|
881
893
|
<rule id="artifact-location" severity="critical">Agent artifacts MUST go to <root>/companion, NEVER <root>/working. Artifacts include plans, specs, ADRs, todos, notes, handoffs, reasoning docs, and scratch files.</rule>
|
|
882
894
|
<rule id="pre-write-classification" severity="critical">Before ANY write, classify the target as product-code or agent-artifact. If unsure, treat it as agent-artifact.</rule>
|
|
883
|
-
<rule id="product-code-location" severity="critical">Product code (README, docs, source, tests) belongs in
|
|
884
|
-
<rule id="local-artifact-exception" severity="critical">
|
|
885
|
-
<rule id="guardrail" severity="critical">Bad artifact writes to
|
|
886
|
-
<rule id="companion-multi-repository" severity="critical">This Companion Repository may serve multiple Working Repositories
|
|
887
|
-
<rule id="repository-area-scope" severity="critical">For domain modeling, identify the canonical Working Repository and its repository-relative Area first. A checkout basename or Area alone is not a repository identity. Shared context applies only when the
|
|
895
|
+
<rule id="product-code-location" severity="critical">Product code (README, docs, source, tests) belongs in the working-repository path; agent artifacts in the companion-repository path.</rule>
|
|
896
|
+
<rule id="local-artifact-exception" severity="critical">Write an artifact in the working repository only when its exact path is gitignored AND intentionally local-only.</rule>
|
|
897
|
+
<rule id="guardrail" severity="critical">Bad artifact writes to the working repository are rejected. The guardrail resolves relative paths against <root>/working and does not follow cd, so write artifacts, including shell redirects and tee, with absolute paths under <root>/companion.</rule>
|
|
898
|
+
<rule id="companion-multi-repository" severity="critical">This Companion Repository may serve multiple Working Repositories; the working-repository path is this session's single primary Working Repository (the product-code plane), not the full set. The Companion Repository is the shared artifact and context plane.</rule>
|
|
899
|
+
<rule id="repository-area-scope" severity="critical">For domain modeling, identify the canonical Working Repository and its repository-relative Area first. A checkout basename or Area alone is not a repository identity. Shared context applies only when the companion CONTEXT-MAP explicitly maps it to that repository and Area.</rule>
|
|
888
900
|
<rule id="wrapper-only-cli-execution" severity="critical">For every CLI declared in cli-tools, invoke the exact path in its invokeAs attribute. Correct: <wrapper-bin>/openspec status ... . Incorrect: openspec status ... . Do not run bare openspec or graphify commands and do not rely on PATH, aliases, or shell functions. If the exact wrapper path is unavailable, stop and report it.</rule>
|
|
889
901
|
<rule id="secret-handling" severity="critical">Never read, print, copy, or write secret files (.env, .env.*, keys, certificates, credential files such as .npmrc or .netrc) or secret values. To learn which variables exist, read only the example files (.env.example, .env.sample, .env.template, .env.dist). Refer to a secret by its variable name only. Do not print environment variables that may hold secrets. When a secret must be set or rotated, ask the user to do it instead of writing it yourself. Guarded calls are blocked; the companion's framework.yaml secrets block is the user's switch, not yours.</rule>
|
|
890
902
|
</mandatory-rules>
|
|
@@ -948,11 +960,11 @@ exports[`runtime surface golden fixtures setup graphify × claude+opencode 2`] =
|
|
|
948
960
|
<mandatory-rules>
|
|
949
961
|
<rule id="artifact-location" severity="critical">Agent artifacts MUST go to $MATE_ARTIFACT_PATH, NEVER $MATE_REPO_PATH. Artifacts include plans, specs, ADRs, todos, notes, handoffs, reasoning docs, and scratch files.</rule>
|
|
950
962
|
<rule id="pre-write-classification" severity="critical">Before ANY write, classify the target as product-code or agent-artifact. If unsure, treat it as agent-artifact.</rule>
|
|
951
|
-
<rule id="product-code-location" severity="critical">Product code (README, docs, source, tests) belongs in
|
|
952
|
-
<rule id="local-artifact-exception" severity="critical">
|
|
953
|
-
<rule id="guardrail" severity="critical">Bad artifact writes to
|
|
954
|
-
<rule id="companion-multi-repository" severity="critical">This Companion Repository may serve multiple Working Repositories
|
|
955
|
-
<rule id="repository-area-scope" severity="critical">For domain modeling, identify the canonical Working Repository and its repository-relative Area first. A checkout basename or Area alone is not a repository identity. Shared context applies only when the
|
|
963
|
+
<rule id="product-code-location" severity="critical">Product code (README, docs, source, tests) belongs in the working-repository path; agent artifacts in the companion-repository path.</rule>
|
|
964
|
+
<rule id="local-artifact-exception" severity="critical">Write an artifact in the working repository only when its exact path is gitignored AND intentionally local-only.</rule>
|
|
965
|
+
<rule id="guardrail" severity="critical">Bad artifact writes to the working repository are rejected. The guardrail resolves relative paths against $MATE_REPO_PATH and does not follow cd, so write artifacts, including shell redirects and tee, with absolute paths under $MATE_ARTIFACT_PATH.</rule>
|
|
966
|
+
<rule id="companion-multi-repository" severity="critical">This Companion Repository may serve multiple Working Repositories; the working-repository path is this session's single primary Working Repository (the product-code plane), not the full set. The Companion Repository is the shared artifact and context plane.</rule>
|
|
967
|
+
<rule id="repository-area-scope" severity="critical">For domain modeling, identify the canonical Working Repository and its repository-relative Area first. A checkout basename or Area alone is not a repository identity. Shared context applies only when the companion CONTEXT-MAP explicitly maps it to that repository and Area.</rule>
|
|
956
968
|
<rule id="wrapper-only-cli-execution" severity="critical">For every CLI declared in cli-tools, invoke the exact path in its invokeAs attribute. Correct: $MATE_WRAPPER_BIN_PATH/openspec status ... . Incorrect: openspec status ... . Do not run bare openspec or graphify commands and do not rely on PATH, aliases, or shell functions. If the exact wrapper path is unavailable, stop and report it.</rule>
|
|
957
969
|
<rule id="secret-handling" severity="critical">Never read, print, copy, or write secret files (.env, .env.*, keys, certificates, credential files such as .npmrc or .netrc) or secret values. To learn which variables exist, read only the example files (.env.example, .env.sample, .env.template, .env.dist). Refer to a secret by its variable name only. Do not print environment variables that may hold secrets. When a secret must be set or rotated, ask the user to do it instead of writing it yourself. Guarded calls are blocked; the companion's framework.yaml secrets block is the user's switch, not yours.</rule>
|
|
958
970
|
</mandatory-rules>
|
|
@@ -987,6 +999,15 @@ exports[`runtime surface golden fixtures setup graphify × claude+opencode 3`] =
|
|
|
987
999
|
],
|
|
988
1000
|
"matcher": "Read|Grep|Write|Edit|MultiEdit|NotebookEdit|Bash",
|
|
989
1001
|
},
|
|
1002
|
+
{
|
|
1003
|
+
"hooks": [
|
|
1004
|
+
{
|
|
1005
|
+
"command": "node "<runtime-claude-plugin>/hooks/tokensave-route.mjs"",
|
|
1006
|
+
"type": "command",
|
|
1007
|
+
},
|
|
1008
|
+
],
|
|
1009
|
+
"matcher": "mcp__tokensave__.*",
|
|
1010
|
+
},
|
|
990
1011
|
],
|
|
991
1012
|
},
|
|
992
1013
|
{
|
|
@@ -1073,6 +1094,7 @@ exports[`runtime surface golden fixtures setup graphify × claude+opencode 3`] =
|
|
|
1073
1094
|
"values": [
|
|
1074
1095
|
"EnterPlanMode",
|
|
1075
1096
|
"DesignSync",
|
|
1097
|
+
"SendFeedback",
|
|
1076
1098
|
"Read(**/.env)",
|
|
1077
1099
|
"Edit(**/.env)",
|
|
1078
1100
|
"Read(**/.env.local)",
|
|
@@ -1456,6 +1478,7 @@ exports[`runtime surface golden fixtures setup tokensave × claude 1`] = `
|
|
|
1456
1478
|
"deny": [
|
|
1457
1479
|
"EnterPlanMode",
|
|
1458
1480
|
"DesignSync",
|
|
1481
|
+
"SendFeedback",
|
|
1459
1482
|
"Read(**/.env)",
|
|
1460
1483
|
"Edit(**/.env)",
|
|
1461
1484
|
"Read(**/.env.local)",
|
|
@@ -1525,11 +1548,11 @@ exports[`runtime surface golden fixtures setup tokensave × claude 2`] = `
|
|
|
1525
1548
|
<mandatory-rules>
|
|
1526
1549
|
<rule id="artifact-location" severity="critical">Agent artifacts MUST go to <root>/companion, NEVER <root>/working. Artifacts include plans, specs, ADRs, todos, notes, handoffs, reasoning docs, and scratch files.</rule>
|
|
1527
1550
|
<rule id="pre-write-classification" severity="critical">Before ANY write, classify the target as product-code or agent-artifact. If unsure, treat it as agent-artifact.</rule>
|
|
1528
|
-
<rule id="product-code-location" severity="critical">Product code (README, docs, source, tests) belongs in
|
|
1529
|
-
<rule id="local-artifact-exception" severity="critical">
|
|
1530
|
-
<rule id="guardrail" severity="critical">Bad artifact writes to
|
|
1531
|
-
<rule id="companion-multi-repository" severity="critical">This Companion Repository may serve multiple Working Repositories
|
|
1532
|
-
<rule id="repository-area-scope" severity="critical">For domain modeling, identify the canonical Working Repository and its repository-relative Area first. A checkout basename or Area alone is not a repository identity. Shared context applies only when the
|
|
1551
|
+
<rule id="product-code-location" severity="critical">Product code (README, docs, source, tests) belongs in the working-repository path; agent artifacts in the companion-repository path.</rule>
|
|
1552
|
+
<rule id="local-artifact-exception" severity="critical">Write an artifact in the working repository only when its exact path is gitignored AND intentionally local-only.</rule>
|
|
1553
|
+
<rule id="guardrail" severity="critical">Bad artifact writes to the working repository are rejected. The guardrail resolves relative paths against <root>/working and does not follow cd, so write artifacts, including shell redirects and tee, with absolute paths under <root>/companion.</rule>
|
|
1554
|
+
<rule id="companion-multi-repository" severity="critical">This Companion Repository may serve multiple Working Repositories; the working-repository path is this session's single primary Working Repository (the product-code plane), not the full set. The Companion Repository is the shared artifact and context plane.</rule>
|
|
1555
|
+
<rule id="repository-area-scope" severity="critical">For domain modeling, identify the canonical Working Repository and its repository-relative Area first. A checkout basename or Area alone is not a repository identity. Shared context applies only when the companion CONTEXT-MAP explicitly maps it to that repository and Area.</rule>
|
|
1533
1556
|
<rule id="wrapper-only-cli-execution" severity="critical">For every CLI declared in cli-tools, invoke the exact path in its invokeAs attribute. Correct: <wrapper-bin>/openspec status ... . Incorrect: openspec status ... . Do not run bare openspec or graphify commands and do not rely on PATH, aliases, or shell functions. If the exact wrapper path is unavailable, stop and report it.</rule>
|
|
1534
1557
|
<rule id="secret-handling" severity="critical">Never read, print, copy, or write secret files (.env, .env.*, keys, certificates, credential files such as .npmrc or .netrc) or secret values. To learn which variables exist, read only the example files (.env.example, .env.sample, .env.template, .env.dist). Refer to a secret by its variable name only. Do not print environment variables that may hold secrets. When a secret must be set or rotated, ask the user to do it instead of writing it yourself. Guarded calls are blocked; the companion's framework.yaml secrets block is the user's switch, not yours.</rule>
|
|
1535
1558
|
</mandatory-rules>
|
|
@@ -1575,6 +1598,15 @@ exports[`runtime surface golden fixtures setup tokensave × claude 3`] = `
|
|
|
1575
1598
|
],
|
|
1576
1599
|
"matcher": "Read|Grep|Write|Edit|MultiEdit|NotebookEdit|Bash",
|
|
1577
1600
|
},
|
|
1601
|
+
{
|
|
1602
|
+
"hooks": [
|
|
1603
|
+
{
|
|
1604
|
+
"command": "node "<runtime-claude-plugin>/hooks/tokensave-route.mjs"",
|
|
1605
|
+
"type": "command",
|
|
1606
|
+
},
|
|
1607
|
+
],
|
|
1608
|
+
"matcher": "mcp__tokensave__.*",
|
|
1609
|
+
},
|
|
1578
1610
|
{
|
|
1579
1611
|
"hooks": [
|
|
1580
1612
|
{
|
|
@@ -1710,6 +1742,7 @@ exports[`runtime surface golden fixtures setup tokensave × claude 3`] = `
|
|
|
1710
1742
|
"values": [
|
|
1711
1743
|
"EnterPlanMode",
|
|
1712
1744
|
"DesignSync",
|
|
1745
|
+
"SendFeedback",
|
|
1713
1746
|
"Read(**/.env)",
|
|
1714
1747
|
"Edit(**/.env)",
|
|
1715
1748
|
"Read(**/.env.local)",
|
|
@@ -1883,11 +1916,11 @@ exports[`runtime surface golden fixtures setup tokensave × opencode 2`] = `
|
|
|
1883
1916
|
<mandatory-rules>
|
|
1884
1917
|
<rule id="artifact-location" severity="critical">Agent artifacts MUST go to $MATE_ARTIFACT_PATH, NEVER $MATE_REPO_PATH. Artifacts include plans, specs, ADRs, todos, notes, handoffs, reasoning docs, and scratch files.</rule>
|
|
1885
1918
|
<rule id="pre-write-classification" severity="critical">Before ANY write, classify the target as product-code or agent-artifact. If unsure, treat it as agent-artifact.</rule>
|
|
1886
|
-
<rule id="product-code-location" severity="critical">Product code (README, docs, source, tests) belongs in
|
|
1887
|
-
<rule id="local-artifact-exception" severity="critical">
|
|
1888
|
-
<rule id="guardrail" severity="critical">Bad artifact writes to
|
|
1889
|
-
<rule id="companion-multi-repository" severity="critical">This Companion Repository may serve multiple Working Repositories
|
|
1890
|
-
<rule id="repository-area-scope" severity="critical">For domain modeling, identify the canonical Working Repository and its repository-relative Area first. A checkout basename or Area alone is not a repository identity. Shared context applies only when the
|
|
1919
|
+
<rule id="product-code-location" severity="critical">Product code (README, docs, source, tests) belongs in the working-repository path; agent artifacts in the companion-repository path.</rule>
|
|
1920
|
+
<rule id="local-artifact-exception" severity="critical">Write an artifact in the working repository only when its exact path is gitignored AND intentionally local-only.</rule>
|
|
1921
|
+
<rule id="guardrail" severity="critical">Bad artifact writes to the working repository are rejected. The guardrail resolves relative paths against $MATE_REPO_PATH and does not follow cd, so write artifacts, including shell redirects and tee, with absolute paths under $MATE_ARTIFACT_PATH.</rule>
|
|
1922
|
+
<rule id="companion-multi-repository" severity="critical">This Companion Repository may serve multiple Working Repositories; the working-repository path is this session's single primary Working Repository (the product-code plane), not the full set. The Companion Repository is the shared artifact and context plane.</rule>
|
|
1923
|
+
<rule id="repository-area-scope" severity="critical">For domain modeling, identify the canonical Working Repository and its repository-relative Area first. A checkout basename or Area alone is not a repository identity. Shared context applies only when the companion CONTEXT-MAP explicitly maps it to that repository and Area.</rule>
|
|
1891
1924
|
<rule id="wrapper-only-cli-execution" severity="critical">For every CLI declared in cli-tools, invoke the exact path in its invokeAs attribute. Correct: $MATE_WRAPPER_BIN_PATH/openspec status ... . Incorrect: openspec status ... . Do not run bare openspec or graphify commands and do not rely on PATH, aliases, or shell functions. If the exact wrapper path is unavailable, stop and report it.</rule>
|
|
1892
1925
|
<rule id="secret-handling" severity="critical">Never read, print, copy, or write secret files (.env, .env.*, keys, certificates, credential files such as .npmrc or .netrc) or secret values. To learn which variables exist, read only the example files (.env.example, .env.sample, .env.template, .env.dist). Refer to a secret by its variable name only. Do not print environment variables that may hold secrets. When a secret must be set or rotated, ask the user to do it instead of writing it yourself. Guarded calls are blocked; the companion's framework.yaml secrets block is the user's switch, not yours.</rule>
|
|
1893
1926
|
</mandatory-rules>
|
|
@@ -2247,6 +2280,7 @@ exports[`runtime surface golden fixtures setup tokensave × claude+opencode 1`]
|
|
|
2247
2280
|
"deny": [
|
|
2248
2281
|
"EnterPlanMode",
|
|
2249
2282
|
"DesignSync",
|
|
2283
|
+
"SendFeedback",
|
|
2250
2284
|
"Read(**/.env)",
|
|
2251
2285
|
"Edit(**/.env)",
|
|
2252
2286
|
"Read(**/.env.local)",
|
|
@@ -2344,11 +2378,11 @@ exports[`runtime surface golden fixtures setup tokensave × claude+opencode 2`]
|
|
|
2344
2378
|
<mandatory-rules>
|
|
2345
2379
|
<rule id="artifact-location" severity="critical">Agent artifacts MUST go to <root>/companion, NEVER <root>/working. Artifacts include plans, specs, ADRs, todos, notes, handoffs, reasoning docs, and scratch files.</rule>
|
|
2346
2380
|
<rule id="pre-write-classification" severity="critical">Before ANY write, classify the target as product-code or agent-artifact. If unsure, treat it as agent-artifact.</rule>
|
|
2347
|
-
<rule id="product-code-location" severity="critical">Product code (README, docs, source, tests) belongs in
|
|
2348
|
-
<rule id="local-artifact-exception" severity="critical">
|
|
2349
|
-
<rule id="guardrail" severity="critical">Bad artifact writes to
|
|
2350
|
-
<rule id="companion-multi-repository" severity="critical">This Companion Repository may serve multiple Working Repositories
|
|
2351
|
-
<rule id="repository-area-scope" severity="critical">For domain modeling, identify the canonical Working Repository and its repository-relative Area first. A checkout basename or Area alone is not a repository identity. Shared context applies only when the
|
|
2381
|
+
<rule id="product-code-location" severity="critical">Product code (README, docs, source, tests) belongs in the working-repository path; agent artifacts in the companion-repository path.</rule>
|
|
2382
|
+
<rule id="local-artifact-exception" severity="critical">Write an artifact in the working repository only when its exact path is gitignored AND intentionally local-only.</rule>
|
|
2383
|
+
<rule id="guardrail" severity="critical">Bad artifact writes to the working repository are rejected. The guardrail resolves relative paths against <root>/working and does not follow cd, so write artifacts, including shell redirects and tee, with absolute paths under <root>/companion.</rule>
|
|
2384
|
+
<rule id="companion-multi-repository" severity="critical">This Companion Repository may serve multiple Working Repositories; the working-repository path is this session's single primary Working Repository (the product-code plane), not the full set. The Companion Repository is the shared artifact and context plane.</rule>
|
|
2385
|
+
<rule id="repository-area-scope" severity="critical">For domain modeling, identify the canonical Working Repository and its repository-relative Area first. A checkout basename or Area alone is not a repository identity. Shared context applies only when the companion CONTEXT-MAP explicitly maps it to that repository and Area.</rule>
|
|
2352
2386
|
<rule id="wrapper-only-cli-execution" severity="critical">For every CLI declared in cli-tools, invoke the exact path in its invokeAs attribute. Correct: <wrapper-bin>/openspec status ... . Incorrect: openspec status ... . Do not run bare openspec or graphify commands and do not rely on PATH, aliases, or shell functions. If the exact wrapper path is unavailable, stop and report it.</rule>
|
|
2353
2387
|
<rule id="secret-handling" severity="critical">Never read, print, copy, or write secret files (.env, .env.*, keys, certificates, credential files such as .npmrc or .netrc) or secret values. To learn which variables exist, read only the example files (.env.example, .env.sample, .env.template, .env.dist). Refer to a secret by its variable name only. Do not print environment variables that may hold secrets. When a secret must be set or rotated, ask the user to do it instead of writing it yourself. Guarded calls are blocked; the companion's framework.yaml secrets block is the user's switch, not yours.</rule>
|
|
2354
2388
|
</mandatory-rules>
|
|
@@ -2406,11 +2440,11 @@ exports[`runtime surface golden fixtures setup tokensave × claude+opencode 2`]
|
|
|
2406
2440
|
<mandatory-rules>
|
|
2407
2441
|
<rule id="artifact-location" severity="critical">Agent artifacts MUST go to $MATE_ARTIFACT_PATH, NEVER $MATE_REPO_PATH. Artifacts include plans, specs, ADRs, todos, notes, handoffs, reasoning docs, and scratch files.</rule>
|
|
2408
2442
|
<rule id="pre-write-classification" severity="critical">Before ANY write, classify the target as product-code or agent-artifact. If unsure, treat it as agent-artifact.</rule>
|
|
2409
|
-
<rule id="product-code-location" severity="critical">Product code (README, docs, source, tests) belongs in
|
|
2410
|
-
<rule id="local-artifact-exception" severity="critical">
|
|
2411
|
-
<rule id="guardrail" severity="critical">Bad artifact writes to
|
|
2412
|
-
<rule id="companion-multi-repository" severity="critical">This Companion Repository may serve multiple Working Repositories
|
|
2413
|
-
<rule id="repository-area-scope" severity="critical">For domain modeling, identify the canonical Working Repository and its repository-relative Area first. A checkout basename or Area alone is not a repository identity. Shared context applies only when the
|
|
2443
|
+
<rule id="product-code-location" severity="critical">Product code (README, docs, source, tests) belongs in the working-repository path; agent artifacts in the companion-repository path.</rule>
|
|
2444
|
+
<rule id="local-artifact-exception" severity="critical">Write an artifact in the working repository only when its exact path is gitignored AND intentionally local-only.</rule>
|
|
2445
|
+
<rule id="guardrail" severity="critical">Bad artifact writes to the working repository are rejected. The guardrail resolves relative paths against $MATE_REPO_PATH and does not follow cd, so write artifacts, including shell redirects and tee, with absolute paths under $MATE_ARTIFACT_PATH.</rule>
|
|
2446
|
+
<rule id="companion-multi-repository" severity="critical">This Companion Repository may serve multiple Working Repositories; the working-repository path is this session's single primary Working Repository (the product-code plane), not the full set. The Companion Repository is the shared artifact and context plane.</rule>
|
|
2447
|
+
<rule id="repository-area-scope" severity="critical">For domain modeling, identify the canonical Working Repository and its repository-relative Area first. A checkout basename or Area alone is not a repository identity. Shared context applies only when the companion CONTEXT-MAP explicitly maps it to that repository and Area.</rule>
|
|
2414
2448
|
<rule id="wrapper-only-cli-execution" severity="critical">For every CLI declared in cli-tools, invoke the exact path in its invokeAs attribute. Correct: $MATE_WRAPPER_BIN_PATH/openspec status ... . Incorrect: openspec status ... . Do not run bare openspec or graphify commands and do not rely on PATH, aliases, or shell functions. If the exact wrapper path is unavailable, stop and report it.</rule>
|
|
2415
2449
|
<rule id="secret-handling" severity="critical">Never read, print, copy, or write secret files (.env, .env.*, keys, certificates, credential files such as .npmrc or .netrc) or secret values. To learn which variables exist, read only the example files (.env.example, .env.sample, .env.template, .env.dist). Refer to a secret by its variable name only. Do not print environment variables that may hold secrets. When a secret must be set or rotated, ask the user to do it instead of writing it yourself. Guarded calls are blocked; the companion's framework.yaml secrets block is the user's switch, not yours.</rule>
|
|
2416
2450
|
</mandatory-rules>
|
|
@@ -2445,6 +2479,15 @@ exports[`runtime surface golden fixtures setup tokensave × claude+opencode 3`]
|
|
|
2445
2479
|
],
|
|
2446
2480
|
"matcher": "Read|Grep|Write|Edit|MultiEdit|NotebookEdit|Bash",
|
|
2447
2481
|
},
|
|
2482
|
+
{
|
|
2483
|
+
"hooks": [
|
|
2484
|
+
{
|
|
2485
|
+
"command": "node "<runtime-claude-plugin>/hooks/tokensave-route.mjs"",
|
|
2486
|
+
"type": "command",
|
|
2487
|
+
},
|
|
2488
|
+
],
|
|
2489
|
+
"matcher": "mcp__tokensave__.*",
|
|
2490
|
+
},
|
|
2448
2491
|
{
|
|
2449
2492
|
"hooks": [
|
|
2450
2493
|
{
|
|
@@ -2580,6 +2623,7 @@ exports[`runtime surface golden fixtures setup tokensave × claude+opencode 3`]
|
|
|
2580
2623
|
"values": [
|
|
2581
2624
|
"EnterPlanMode",
|
|
2582
2625
|
"DesignSync",
|
|
2626
|
+
"SendFeedback",
|
|
2583
2627
|
"Read(**/.env)",
|
|
2584
2628
|
"Edit(**/.env)",
|
|
2585
2629
|
"Read(**/.env.local)",
|
|
@@ -2953,6 +2997,7 @@ exports[`runtime surface golden fixtures setup context-mode × claude 1`] = `
|
|
|
2953
2997
|
"deny": [
|
|
2954
2998
|
"EnterPlanMode",
|
|
2955
2999
|
"DesignSync",
|
|
3000
|
+
"SendFeedback",
|
|
2956
3001
|
"Read(**/.env)",
|
|
2957
3002
|
"Edit(**/.env)",
|
|
2958
3003
|
"Read(**/.env.local)",
|
|
@@ -3022,11 +3067,11 @@ exports[`runtime surface golden fixtures setup context-mode × claude 2`] = `
|
|
|
3022
3067
|
<mandatory-rules>
|
|
3023
3068
|
<rule id="artifact-location" severity="critical">Agent artifacts MUST go to <root>/companion, NEVER <root>/working. Artifacts include plans, specs, ADRs, todos, notes, handoffs, reasoning docs, and scratch files.</rule>
|
|
3024
3069
|
<rule id="pre-write-classification" severity="critical">Before ANY write, classify the target as product-code or agent-artifact. If unsure, treat it as agent-artifact.</rule>
|
|
3025
|
-
<rule id="product-code-location" severity="critical">Product code (README, docs, source, tests) belongs in
|
|
3026
|
-
<rule id="local-artifact-exception" severity="critical">
|
|
3027
|
-
<rule id="guardrail" severity="critical">Bad artifact writes to
|
|
3028
|
-
<rule id="companion-multi-repository" severity="critical">This Companion Repository may serve multiple Working Repositories
|
|
3029
|
-
<rule id="repository-area-scope" severity="critical">For domain modeling, identify the canonical Working Repository and its repository-relative Area first. A checkout basename or Area alone is not a repository identity. Shared context applies only when the
|
|
3070
|
+
<rule id="product-code-location" severity="critical">Product code (README, docs, source, tests) belongs in the working-repository path; agent artifacts in the companion-repository path.</rule>
|
|
3071
|
+
<rule id="local-artifact-exception" severity="critical">Write an artifact in the working repository only when its exact path is gitignored AND intentionally local-only.</rule>
|
|
3072
|
+
<rule id="guardrail" severity="critical">Bad artifact writes to the working repository are rejected. The guardrail resolves relative paths against <root>/working and does not follow cd, so write artifacts, including shell redirects and tee, with absolute paths under <root>/companion.</rule>
|
|
3073
|
+
<rule id="companion-multi-repository" severity="critical">This Companion Repository may serve multiple Working Repositories; the working-repository path is this session's single primary Working Repository (the product-code plane), not the full set. The Companion Repository is the shared artifact and context plane.</rule>
|
|
3074
|
+
<rule id="repository-area-scope" severity="critical">For domain modeling, identify the canonical Working Repository and its repository-relative Area first. A checkout basename or Area alone is not a repository identity. Shared context applies only when the companion CONTEXT-MAP explicitly maps it to that repository and Area.</rule>
|
|
3030
3075
|
<rule id="wrapper-only-cli-execution" severity="critical">For every CLI declared in cli-tools, invoke the exact path in its invokeAs attribute. Correct: <wrapper-bin>/openspec status ... . Incorrect: openspec status ... . Do not run bare openspec or graphify commands and do not rely on PATH, aliases, or shell functions. If the exact wrapper path is unavailable, stop and report it.</rule>
|
|
3031
3076
|
<rule id="secret-handling" severity="critical">Never read, print, copy, or write secret files (.env, .env.*, keys, certificates, credential files such as .npmrc or .netrc) or secret values. To learn which variables exist, read only the example files (.env.example, .env.sample, .env.template, .env.dist). Refer to a secret by its variable name only. Do not print environment variables that may hold secrets. When a secret must be set or rotated, ask the user to do it instead of writing it yourself. Guarded calls are blocked; the companion's framework.yaml secrets block is the user's switch, not yours.</rule>
|
|
3032
3077
|
</mandatory-rules>
|
|
@@ -3066,6 +3111,15 @@ exports[`runtime surface golden fixtures setup context-mode × claude 3`] = `
|
|
|
3066
3111
|
],
|
|
3067
3112
|
"matcher": "Read|Grep|Write|Edit|MultiEdit|NotebookEdit|Bash",
|
|
3068
3113
|
},
|
|
3114
|
+
{
|
|
3115
|
+
"hooks": [
|
|
3116
|
+
{
|
|
3117
|
+
"command": "node "<runtime-claude-plugin>/hooks/tokensave-route.mjs"",
|
|
3118
|
+
"type": "command",
|
|
3119
|
+
},
|
|
3120
|
+
],
|
|
3121
|
+
"matcher": "mcp__tokensave__.*",
|
|
3122
|
+
},
|
|
3069
3123
|
],
|
|
3070
3124
|
},
|
|
3071
3125
|
{
|
|
@@ -3150,6 +3204,7 @@ exports[`runtime surface golden fixtures setup context-mode × claude 3`] = `
|
|
|
3150
3204
|
"values": [
|
|
3151
3205
|
"EnterPlanMode",
|
|
3152
3206
|
"DesignSync",
|
|
3207
|
+
"SendFeedback",
|
|
3153
3208
|
"Read(**/.env)",
|
|
3154
3209
|
"Edit(**/.env)",
|
|
3155
3210
|
"Read(**/.env.local)",
|
|
@@ -3293,11 +3348,11 @@ exports[`runtime surface golden fixtures setup context-mode × opencode 2`] = `
|
|
|
3293
3348
|
<mandatory-rules>
|
|
3294
3349
|
<rule id="artifact-location" severity="critical">Agent artifacts MUST go to $MATE_ARTIFACT_PATH, NEVER $MATE_REPO_PATH. Artifacts include plans, specs, ADRs, todos, notes, handoffs, reasoning docs, and scratch files.</rule>
|
|
3295
3350
|
<rule id="pre-write-classification" severity="critical">Before ANY write, classify the target as product-code or agent-artifact. If unsure, treat it as agent-artifact.</rule>
|
|
3296
|
-
<rule id="product-code-location" severity="critical">Product code (README, docs, source, tests) belongs in
|
|
3297
|
-
<rule id="local-artifact-exception" severity="critical">
|
|
3298
|
-
<rule id="guardrail" severity="critical">Bad artifact writes to
|
|
3299
|
-
<rule id="companion-multi-repository" severity="critical">This Companion Repository may serve multiple Working Repositories
|
|
3300
|
-
<rule id="repository-area-scope" severity="critical">For domain modeling, identify the canonical Working Repository and its repository-relative Area first. A checkout basename or Area alone is not a repository identity. Shared context applies only when the
|
|
3351
|
+
<rule id="product-code-location" severity="critical">Product code (README, docs, source, tests) belongs in the working-repository path; agent artifacts in the companion-repository path.</rule>
|
|
3352
|
+
<rule id="local-artifact-exception" severity="critical">Write an artifact in the working repository only when its exact path is gitignored AND intentionally local-only.</rule>
|
|
3353
|
+
<rule id="guardrail" severity="critical">Bad artifact writes to the working repository are rejected. The guardrail resolves relative paths against $MATE_REPO_PATH and does not follow cd, so write artifacts, including shell redirects and tee, with absolute paths under $MATE_ARTIFACT_PATH.</rule>
|
|
3354
|
+
<rule id="companion-multi-repository" severity="critical">This Companion Repository may serve multiple Working Repositories; the working-repository path is this session's single primary Working Repository (the product-code plane), not the full set. The Companion Repository is the shared artifact and context plane.</rule>
|
|
3355
|
+
<rule id="repository-area-scope" severity="critical">For domain modeling, identify the canonical Working Repository and its repository-relative Area first. A checkout basename or Area alone is not a repository identity. Shared context applies only when the companion CONTEXT-MAP explicitly maps it to that repository and Area.</rule>
|
|
3301
3356
|
<rule id="wrapper-only-cli-execution" severity="critical">For every CLI declared in cli-tools, invoke the exact path in its invokeAs attribute. Correct: $MATE_WRAPPER_BIN_PATH/openspec status ... . Incorrect: openspec status ... . Do not run bare openspec or graphify commands and do not rely on PATH, aliases, or shell functions. If the exact wrapper path is unavailable, stop and report it.</rule>
|
|
3302
3357
|
<rule id="secret-handling" severity="critical">Never read, print, copy, or write secret files (.env, .env.*, keys, certificates, credential files such as .npmrc or .netrc) or secret values. To learn which variables exist, read only the example files (.env.example, .env.sample, .env.template, .env.dist). Refer to a secret by its variable name only. Do not print environment variables that may hold secrets. When a secret must be set or rotated, ask the user to do it instead of writing it yourself. Guarded calls are blocked; the companion's framework.yaml secrets block is the user's switch, not yours.</rule>
|
|
3303
3358
|
</mandatory-rules>
|
|
@@ -3601,6 +3656,7 @@ Canonical Mate policy and any more specific tool-routing instructions remain aut
|
|
|
3601
3656
|
"deny": [
|
|
3602
3657
|
"EnterPlanMode",
|
|
3603
3658
|
"DesignSync",
|
|
3659
|
+
"SendFeedback",
|
|
3604
3660
|
"Read(**/.env)",
|
|
3605
3661
|
"Edit(**/.env)",
|
|
3606
3662
|
"Read(**/.env.local)",
|
|
@@ -3689,11 +3745,11 @@ exports[`runtime surface golden fixtures setup context-mode × claude+opencode 2
|
|
|
3689
3745
|
<mandatory-rules>
|
|
3690
3746
|
<rule id="artifact-location" severity="critical">Agent artifacts MUST go to <root>/companion, NEVER <root>/working. Artifacts include plans, specs, ADRs, todos, notes, handoffs, reasoning docs, and scratch files.</rule>
|
|
3691
3747
|
<rule id="pre-write-classification" severity="critical">Before ANY write, classify the target as product-code or agent-artifact. If unsure, treat it as agent-artifact.</rule>
|
|
3692
|
-
<rule id="product-code-location" severity="critical">Product code (README, docs, source, tests) belongs in
|
|
3693
|
-
<rule id="local-artifact-exception" severity="critical">
|
|
3694
|
-
<rule id="guardrail" severity="critical">Bad artifact writes to
|
|
3695
|
-
<rule id="companion-multi-repository" severity="critical">This Companion Repository may serve multiple Working Repositories
|
|
3696
|
-
<rule id="repository-area-scope" severity="critical">For domain modeling, identify the canonical Working Repository and its repository-relative Area first. A checkout basename or Area alone is not a repository identity. Shared context applies only when the
|
|
3748
|
+
<rule id="product-code-location" severity="critical">Product code (README, docs, source, tests) belongs in the working-repository path; agent artifacts in the companion-repository path.</rule>
|
|
3749
|
+
<rule id="local-artifact-exception" severity="critical">Write an artifact in the working repository only when its exact path is gitignored AND intentionally local-only.</rule>
|
|
3750
|
+
<rule id="guardrail" severity="critical">Bad artifact writes to the working repository are rejected. The guardrail resolves relative paths against <root>/working and does not follow cd, so write artifacts, including shell redirects and tee, with absolute paths under <root>/companion.</rule>
|
|
3751
|
+
<rule id="companion-multi-repository" severity="critical">This Companion Repository may serve multiple Working Repositories; the working-repository path is this session's single primary Working Repository (the product-code plane), not the full set. The Companion Repository is the shared artifact and context plane.</rule>
|
|
3752
|
+
<rule id="repository-area-scope" severity="critical">For domain modeling, identify the canonical Working Repository and its repository-relative Area first. A checkout basename or Area alone is not a repository identity. Shared context applies only when the companion CONTEXT-MAP explicitly maps it to that repository and Area.</rule>
|
|
3697
3753
|
<rule id="wrapper-only-cli-execution" severity="critical">For every CLI declared in cli-tools, invoke the exact path in its invokeAs attribute. Correct: <wrapper-bin>/openspec status ... . Incorrect: openspec status ... . Do not run bare openspec or graphify commands and do not rely on PATH, aliases, or shell functions. If the exact wrapper path is unavailable, stop and report it.</rule>
|
|
3698
3754
|
<rule id="secret-handling" severity="critical">Never read, print, copy, or write secret files (.env, .env.*, keys, certificates, credential files such as .npmrc or .netrc) or secret values. To learn which variables exist, read only the example files (.env.example, .env.sample, .env.template, .env.dist). Refer to a secret by its variable name only. Do not print environment variables that may hold secrets. When a secret must be set or rotated, ask the user to do it instead of writing it yourself. Guarded calls are blocked; the companion's framework.yaml secrets block is the user's switch, not yours.</rule>
|
|
3699
3755
|
</mandatory-rules>
|
|
@@ -3737,11 +3793,11 @@ exports[`runtime surface golden fixtures setup context-mode × claude+opencode 2
|
|
|
3737
3793
|
<mandatory-rules>
|
|
3738
3794
|
<rule id="artifact-location" severity="critical">Agent artifacts MUST go to $MATE_ARTIFACT_PATH, NEVER $MATE_REPO_PATH. Artifacts include plans, specs, ADRs, todos, notes, handoffs, reasoning docs, and scratch files.</rule>
|
|
3739
3795
|
<rule id="pre-write-classification" severity="critical">Before ANY write, classify the target as product-code or agent-artifact. If unsure, treat it as agent-artifact.</rule>
|
|
3740
|
-
<rule id="product-code-location" severity="critical">Product code (README, docs, source, tests) belongs in
|
|
3741
|
-
<rule id="local-artifact-exception" severity="critical">
|
|
3742
|
-
<rule id="guardrail" severity="critical">Bad artifact writes to
|
|
3743
|
-
<rule id="companion-multi-repository" severity="critical">This Companion Repository may serve multiple Working Repositories
|
|
3744
|
-
<rule id="repository-area-scope" severity="critical">For domain modeling, identify the canonical Working Repository and its repository-relative Area first. A checkout basename or Area alone is not a repository identity. Shared context applies only when the
|
|
3796
|
+
<rule id="product-code-location" severity="critical">Product code (README, docs, source, tests) belongs in the working-repository path; agent artifacts in the companion-repository path.</rule>
|
|
3797
|
+
<rule id="local-artifact-exception" severity="critical">Write an artifact in the working repository only when its exact path is gitignored AND intentionally local-only.</rule>
|
|
3798
|
+
<rule id="guardrail" severity="critical">Bad artifact writes to the working repository are rejected. The guardrail resolves relative paths against $MATE_REPO_PATH and does not follow cd, so write artifacts, including shell redirects and tee, with absolute paths under $MATE_ARTIFACT_PATH.</rule>
|
|
3799
|
+
<rule id="companion-multi-repository" severity="critical">This Companion Repository may serve multiple Working Repositories; the working-repository path is this session's single primary Working Repository (the product-code plane), not the full set. The Companion Repository is the shared artifact and context plane.</rule>
|
|
3800
|
+
<rule id="repository-area-scope" severity="critical">For domain modeling, identify the canonical Working Repository and its repository-relative Area first. A checkout basename or Area alone is not a repository identity. Shared context applies only when the companion CONTEXT-MAP explicitly maps it to that repository and Area.</rule>
|
|
3745
3801
|
<rule id="wrapper-only-cli-execution" severity="critical">For every CLI declared in cli-tools, invoke the exact path in its invokeAs attribute. Correct: $MATE_WRAPPER_BIN_PATH/openspec status ... . Incorrect: openspec status ... . Do not run bare openspec or graphify commands and do not rely on PATH, aliases, or shell functions. If the exact wrapper path is unavailable, stop and report it.</rule>
|
|
3746
3802
|
<rule id="secret-handling" severity="critical">Never read, print, copy, or write secret files (.env, .env.*, keys, certificates, credential files such as .npmrc or .netrc) or secret values. To learn which variables exist, read only the example files (.env.example, .env.sample, .env.template, .env.dist). Refer to a secret by its variable name only. Do not print environment variables that may hold secrets. When a secret must be set or rotated, ask the user to do it instead of writing it yourself. Guarded calls are blocked; the companion's framework.yaml secrets block is the user's switch, not yours.</rule>
|
|
3747
3803
|
</mandatory-rules>
|
|
@@ -3776,6 +3832,15 @@ exports[`runtime surface golden fixtures setup context-mode × claude+opencode 3
|
|
|
3776
3832
|
],
|
|
3777
3833
|
"matcher": "Read|Grep|Write|Edit|MultiEdit|NotebookEdit|Bash",
|
|
3778
3834
|
},
|
|
3835
|
+
{
|
|
3836
|
+
"hooks": [
|
|
3837
|
+
{
|
|
3838
|
+
"command": "node "<runtime-claude-plugin>/hooks/tokensave-route.mjs"",
|
|
3839
|
+
"type": "command",
|
|
3840
|
+
},
|
|
3841
|
+
],
|
|
3842
|
+
"matcher": "mcp__tokensave__.*",
|
|
3843
|
+
},
|
|
3779
3844
|
],
|
|
3780
3845
|
},
|
|
3781
3846
|
{
|
|
@@ -3860,6 +3925,7 @@ exports[`runtime surface golden fixtures setup context-mode × claude+opencode 3
|
|
|
3860
3925
|
"values": [
|
|
3861
3926
|
"EnterPlanMode",
|
|
3862
3927
|
"DesignSync",
|
|
3928
|
+
"SendFeedback",
|
|
3863
3929
|
"Read(**/.env)",
|
|
3864
3930
|
"Edit(**/.env)",
|
|
3865
3931
|
"Read(**/.env.local)",
|
|
@@ -4196,6 +4262,7 @@ exports[`runtime surface golden fixtures setup react-doctor × claude 1`] = `
|
|
|
4196
4262
|
"deny": [
|
|
4197
4263
|
"EnterPlanMode",
|
|
4198
4264
|
"DesignSync",
|
|
4265
|
+
"SendFeedback",
|
|
4199
4266
|
"Read(**/.env)",
|
|
4200
4267
|
"Edit(**/.env)",
|
|
4201
4268
|
"Read(**/.env.local)",
|
|
@@ -4268,11 +4335,11 @@ exports[`runtime surface golden fixtures setup react-doctor × claude 2`] = `
|
|
|
4268
4335
|
<mandatory-rules>
|
|
4269
4336
|
<rule id="artifact-location" severity="critical">Agent artifacts MUST go to <root>/companion, NEVER <root>/working. Artifacts include plans, specs, ADRs, todos, notes, handoffs, reasoning docs, and scratch files.</rule>
|
|
4270
4337
|
<rule id="pre-write-classification" severity="critical">Before ANY write, classify the target as product-code or agent-artifact. If unsure, treat it as agent-artifact.</rule>
|
|
4271
|
-
<rule id="product-code-location" severity="critical">Product code (README, docs, source, tests) belongs in
|
|
4272
|
-
<rule id="local-artifact-exception" severity="critical">
|
|
4273
|
-
<rule id="guardrail" severity="critical">Bad artifact writes to
|
|
4274
|
-
<rule id="companion-multi-repository" severity="critical">This Companion Repository may serve multiple Working Repositories
|
|
4275
|
-
<rule id="repository-area-scope" severity="critical">For domain modeling, identify the canonical Working Repository and its repository-relative Area first. A checkout basename or Area alone is not a repository identity. Shared context applies only when the
|
|
4338
|
+
<rule id="product-code-location" severity="critical">Product code (README, docs, source, tests) belongs in the working-repository path; agent artifacts in the companion-repository path.</rule>
|
|
4339
|
+
<rule id="local-artifact-exception" severity="critical">Write an artifact in the working repository only when its exact path is gitignored AND intentionally local-only.</rule>
|
|
4340
|
+
<rule id="guardrail" severity="critical">Bad artifact writes to the working repository are rejected. The guardrail resolves relative paths against <root>/working and does not follow cd, so write artifacts, including shell redirects and tee, with absolute paths under <root>/companion.</rule>
|
|
4341
|
+
<rule id="companion-multi-repository" severity="critical">This Companion Repository may serve multiple Working Repositories; the working-repository path is this session's single primary Working Repository (the product-code plane), not the full set. The Companion Repository is the shared artifact and context plane.</rule>
|
|
4342
|
+
<rule id="repository-area-scope" severity="critical">For domain modeling, identify the canonical Working Repository and its repository-relative Area first. A checkout basename or Area alone is not a repository identity. Shared context applies only when the companion CONTEXT-MAP explicitly maps it to that repository and Area.</rule>
|
|
4276
4343
|
<rule id="wrapper-only-cli-execution" severity="critical">For every CLI declared in cli-tools, invoke the exact path in its invokeAs attribute. Correct: <wrapper-bin>/openspec status ... . Incorrect: openspec status ... . Do not run bare openspec or graphify commands and do not rely on PATH, aliases, or shell functions. If the exact wrapper path is unavailable, stop and report it.</rule>
|
|
4277
4344
|
<rule id="secret-handling" severity="critical">Never read, print, copy, or write secret files (.env, .env.*, keys, certificates, credential files such as .npmrc or .netrc) or secret values. To learn which variables exist, read only the example files (.env.example, .env.sample, .env.template, .env.dist). Refer to a secret by its variable name only. Do not print environment variables that may hold secrets. When a secret must be set or rotated, ask the user to do it instead of writing it yourself. Guarded calls are blocked; the companion's framework.yaml secrets block is the user's switch, not yours.</rule>
|
|
4278
4345
|
</mandatory-rules>
|
|
@@ -4310,6 +4377,15 @@ exports[`runtime surface golden fixtures setup react-doctor × claude 3`] = `
|
|
|
4310
4377
|
],
|
|
4311
4378
|
"matcher": "Read|Grep|Write|Edit|MultiEdit|NotebookEdit|Bash",
|
|
4312
4379
|
},
|
|
4380
|
+
{
|
|
4381
|
+
"hooks": [
|
|
4382
|
+
{
|
|
4383
|
+
"command": "node "<runtime-claude-plugin>/hooks/tokensave-route.mjs"",
|
|
4384
|
+
"type": "command",
|
|
4385
|
+
},
|
|
4386
|
+
],
|
|
4387
|
+
"matcher": "mcp__tokensave__.*",
|
|
4388
|
+
},
|
|
4313
4389
|
],
|
|
4314
4390
|
},
|
|
4315
4391
|
{
|
|
@@ -4394,6 +4470,7 @@ exports[`runtime surface golden fixtures setup react-doctor × claude 3`] = `
|
|
|
4394
4470
|
"values": [
|
|
4395
4471
|
"EnterPlanMode",
|
|
4396
4472
|
"DesignSync",
|
|
4473
|
+
"SendFeedback",
|
|
4397
4474
|
"Read(**/.env)",
|
|
4398
4475
|
"Edit(**/.env)",
|
|
4399
4476
|
"Read(**/.env.local)",
|
|
@@ -4529,11 +4606,11 @@ exports[`runtime surface golden fixtures setup react-doctor × opencode 2`] = `
|
|
|
4529
4606
|
<mandatory-rules>
|
|
4530
4607
|
<rule id="artifact-location" severity="critical">Agent artifacts MUST go to $MATE_ARTIFACT_PATH, NEVER $MATE_REPO_PATH. Artifacts include plans, specs, ADRs, todos, notes, handoffs, reasoning docs, and scratch files.</rule>
|
|
4531
4608
|
<rule id="pre-write-classification" severity="critical">Before ANY write, classify the target as product-code or agent-artifact. If unsure, treat it as agent-artifact.</rule>
|
|
4532
|
-
<rule id="product-code-location" severity="critical">Product code (README, docs, source, tests) belongs in
|
|
4533
|
-
<rule id="local-artifact-exception" severity="critical">
|
|
4534
|
-
<rule id="guardrail" severity="critical">Bad artifact writes to
|
|
4535
|
-
<rule id="companion-multi-repository" severity="critical">This Companion Repository may serve multiple Working Repositories
|
|
4536
|
-
<rule id="repository-area-scope" severity="critical">For domain modeling, identify the canonical Working Repository and its repository-relative Area first. A checkout basename or Area alone is not a repository identity. Shared context applies only when the
|
|
4609
|
+
<rule id="product-code-location" severity="critical">Product code (README, docs, source, tests) belongs in the working-repository path; agent artifacts in the companion-repository path.</rule>
|
|
4610
|
+
<rule id="local-artifact-exception" severity="critical">Write an artifact in the working repository only when its exact path is gitignored AND intentionally local-only.</rule>
|
|
4611
|
+
<rule id="guardrail" severity="critical">Bad artifact writes to the working repository are rejected. The guardrail resolves relative paths against $MATE_REPO_PATH and does not follow cd, so write artifacts, including shell redirects and tee, with absolute paths under $MATE_ARTIFACT_PATH.</rule>
|
|
4612
|
+
<rule id="companion-multi-repository" severity="critical">This Companion Repository may serve multiple Working Repositories; the working-repository path is this session's single primary Working Repository (the product-code plane), not the full set. The Companion Repository is the shared artifact and context plane.</rule>
|
|
4613
|
+
<rule id="repository-area-scope" severity="critical">For domain modeling, identify the canonical Working Repository and its repository-relative Area first. A checkout basename or Area alone is not a repository identity. Shared context applies only when the companion CONTEXT-MAP explicitly maps it to that repository and Area.</rule>
|
|
4537
4614
|
<rule id="wrapper-only-cli-execution" severity="critical">For every CLI declared in cli-tools, invoke the exact path in its invokeAs attribute. Correct: $MATE_WRAPPER_BIN_PATH/openspec status ... . Incorrect: openspec status ... . Do not run bare openspec or graphify commands and do not rely on PATH, aliases, or shell functions. If the exact wrapper path is unavailable, stop and report it.</rule>
|
|
4538
4615
|
<rule id="secret-handling" severity="critical">Never read, print, copy, or write secret files (.env, .env.*, keys, certificates, credential files such as .npmrc or .netrc) or secret values. To learn which variables exist, read only the example files (.env.example, .env.sample, .env.template, .env.dist). Refer to a secret by its variable name only. Do not print environment variables that may hold secrets. When a secret must be set or rotated, ask the user to do it instead of writing it yourself. Guarded calls are blocked; the companion's framework.yaml secrets block is the user's switch, not yours.</rule>
|
|
4539
4616
|
</mandatory-rules>
|
|
@@ -4828,6 +4905,7 @@ exports[`runtime surface golden fixtures setup react-doctor × claude+opencode 1
|
|
|
4828
4905
|
"deny": [
|
|
4829
4906
|
"EnterPlanMode",
|
|
4830
4907
|
"DesignSync",
|
|
4908
|
+
"SendFeedback",
|
|
4831
4909
|
"Read(**/.env)",
|
|
4832
4910
|
"Edit(**/.env)",
|
|
4833
4911
|
"Read(**/.env.local)",
|
|
@@ -4919,11 +4997,11 @@ exports[`runtime surface golden fixtures setup react-doctor × claude+opencode 2
|
|
|
4919
4997
|
<mandatory-rules>
|
|
4920
4998
|
<rule id="artifact-location" severity="critical">Agent artifacts MUST go to <root>/companion, NEVER <root>/working. Artifacts include plans, specs, ADRs, todos, notes, handoffs, reasoning docs, and scratch files.</rule>
|
|
4921
4999
|
<rule id="pre-write-classification" severity="critical">Before ANY write, classify the target as product-code or agent-artifact. If unsure, treat it as agent-artifact.</rule>
|
|
4922
|
-
<rule id="product-code-location" severity="critical">Product code (README, docs, source, tests) belongs in
|
|
4923
|
-
<rule id="local-artifact-exception" severity="critical">
|
|
4924
|
-
<rule id="guardrail" severity="critical">Bad artifact writes to
|
|
4925
|
-
<rule id="companion-multi-repository" severity="critical">This Companion Repository may serve multiple Working Repositories
|
|
4926
|
-
<rule id="repository-area-scope" severity="critical">For domain modeling, identify the canonical Working Repository and its repository-relative Area first. A checkout basename or Area alone is not a repository identity. Shared context applies only when the
|
|
5000
|
+
<rule id="product-code-location" severity="critical">Product code (README, docs, source, tests) belongs in the working-repository path; agent artifacts in the companion-repository path.</rule>
|
|
5001
|
+
<rule id="local-artifact-exception" severity="critical">Write an artifact in the working repository only when its exact path is gitignored AND intentionally local-only.</rule>
|
|
5002
|
+
<rule id="guardrail" severity="critical">Bad artifact writes to the working repository are rejected. The guardrail resolves relative paths against <root>/working and does not follow cd, so write artifacts, including shell redirects and tee, with absolute paths under <root>/companion.</rule>
|
|
5003
|
+
<rule id="companion-multi-repository" severity="critical">This Companion Repository may serve multiple Working Repositories; the working-repository path is this session's single primary Working Repository (the product-code plane), not the full set. The Companion Repository is the shared artifact and context plane.</rule>
|
|
5004
|
+
<rule id="repository-area-scope" severity="critical">For domain modeling, identify the canonical Working Repository and its repository-relative Area first. A checkout basename or Area alone is not a repository identity. Shared context applies only when the companion CONTEXT-MAP explicitly maps it to that repository and Area.</rule>
|
|
4927
5005
|
<rule id="wrapper-only-cli-execution" severity="critical">For every CLI declared in cli-tools, invoke the exact path in its invokeAs attribute. Correct: <wrapper-bin>/openspec status ... . Incorrect: openspec status ... . Do not run bare openspec or graphify commands and do not rely on PATH, aliases, or shell functions. If the exact wrapper path is unavailable, stop and report it.</rule>
|
|
4928
5006
|
<rule id="secret-handling" severity="critical">Never read, print, copy, or write secret files (.env, .env.*, keys, certificates, credential files such as .npmrc or .netrc) or secret values. To learn which variables exist, read only the example files (.env.example, .env.sample, .env.template, .env.dist). Refer to a secret by its variable name only. Do not print environment variables that may hold secrets. When a secret must be set or rotated, ask the user to do it instead of writing it yourself. Guarded calls are blocked; the companion's framework.yaml secrets block is the user's switch, not yours.</rule>
|
|
4929
5007
|
</mandatory-rules>
|
|
@@ -4965,11 +5043,11 @@ exports[`runtime surface golden fixtures setup react-doctor × claude+opencode 2
|
|
|
4965
5043
|
<mandatory-rules>
|
|
4966
5044
|
<rule id="artifact-location" severity="critical">Agent artifacts MUST go to $MATE_ARTIFACT_PATH, NEVER $MATE_REPO_PATH. Artifacts include plans, specs, ADRs, todos, notes, handoffs, reasoning docs, and scratch files.</rule>
|
|
4967
5045
|
<rule id="pre-write-classification" severity="critical">Before ANY write, classify the target as product-code or agent-artifact. If unsure, treat it as agent-artifact.</rule>
|
|
4968
|
-
<rule id="product-code-location" severity="critical">Product code (README, docs, source, tests) belongs in
|
|
4969
|
-
<rule id="local-artifact-exception" severity="critical">
|
|
4970
|
-
<rule id="guardrail" severity="critical">Bad artifact writes to
|
|
4971
|
-
<rule id="companion-multi-repository" severity="critical">This Companion Repository may serve multiple Working Repositories
|
|
4972
|
-
<rule id="repository-area-scope" severity="critical">For domain modeling, identify the canonical Working Repository and its repository-relative Area first. A checkout basename or Area alone is not a repository identity. Shared context applies only when the
|
|
5046
|
+
<rule id="product-code-location" severity="critical">Product code (README, docs, source, tests) belongs in the working-repository path; agent artifacts in the companion-repository path.</rule>
|
|
5047
|
+
<rule id="local-artifact-exception" severity="critical">Write an artifact in the working repository only when its exact path is gitignored AND intentionally local-only.</rule>
|
|
5048
|
+
<rule id="guardrail" severity="critical">Bad artifact writes to the working repository are rejected. The guardrail resolves relative paths against $MATE_REPO_PATH and does not follow cd, so write artifacts, including shell redirects and tee, with absolute paths under $MATE_ARTIFACT_PATH.</rule>
|
|
5049
|
+
<rule id="companion-multi-repository" severity="critical">This Companion Repository may serve multiple Working Repositories; the working-repository path is this session's single primary Working Repository (the product-code plane), not the full set. The Companion Repository is the shared artifact and context plane.</rule>
|
|
5050
|
+
<rule id="repository-area-scope" severity="critical">For domain modeling, identify the canonical Working Repository and its repository-relative Area first. A checkout basename or Area alone is not a repository identity. Shared context applies only when the companion CONTEXT-MAP explicitly maps it to that repository and Area.</rule>
|
|
4973
5051
|
<rule id="wrapper-only-cli-execution" severity="critical">For every CLI declared in cli-tools, invoke the exact path in its invokeAs attribute. Correct: $MATE_WRAPPER_BIN_PATH/openspec status ... . Incorrect: openspec status ... . Do not run bare openspec or graphify commands and do not rely on PATH, aliases, or shell functions. If the exact wrapper path is unavailable, stop and report it.</rule>
|
|
4974
5052
|
<rule id="secret-handling" severity="critical">Never read, print, copy, or write secret files (.env, .env.*, keys, certificates, credential files such as .npmrc or .netrc) or secret values. To learn which variables exist, read only the example files (.env.example, .env.sample, .env.template, .env.dist). Refer to a secret by its variable name only. Do not print environment variables that may hold secrets. When a secret must be set or rotated, ask the user to do it instead of writing it yourself. Guarded calls are blocked; the companion's framework.yaml secrets block is the user's switch, not yours.</rule>
|
|
4975
5053
|
</mandatory-rules>
|
|
@@ -5004,6 +5082,15 @@ exports[`runtime surface golden fixtures setup react-doctor × claude+opencode 3
|
|
|
5004
5082
|
],
|
|
5005
5083
|
"matcher": "Read|Grep|Write|Edit|MultiEdit|NotebookEdit|Bash",
|
|
5006
5084
|
},
|
|
5085
|
+
{
|
|
5086
|
+
"hooks": [
|
|
5087
|
+
{
|
|
5088
|
+
"command": "node "<runtime-claude-plugin>/hooks/tokensave-route.mjs"",
|
|
5089
|
+
"type": "command",
|
|
5090
|
+
},
|
|
5091
|
+
],
|
|
5092
|
+
"matcher": "mcp__tokensave__.*",
|
|
5093
|
+
},
|
|
5007
5094
|
],
|
|
5008
5095
|
},
|
|
5009
5096
|
{
|
|
@@ -5088,6 +5175,7 @@ exports[`runtime surface golden fixtures setup react-doctor × claude+opencode 3
|
|
|
5088
5175
|
"values": [
|
|
5089
5176
|
"EnterPlanMode",
|
|
5090
5177
|
"DesignSync",
|
|
5178
|
+
"SendFeedback",
|
|
5091
5179
|
"Read(**/.env)",
|
|
5092
5180
|
"Edit(**/.env)",
|
|
5093
5181
|
"Read(**/.env.local)",
|
|
@@ -5438,6 +5526,7 @@ exports[`runtime surface golden fixtures setup openspec × claude 1`] = `
|
|
|
5438
5526
|
"deny": [
|
|
5439
5527
|
"EnterPlanMode",
|
|
5440
5528
|
"DesignSync",
|
|
5529
|
+
"SendFeedback",
|
|
5441
5530
|
"Read(**/.env)",
|
|
5442
5531
|
"Edit(**/.env)",
|
|
5443
5532
|
"Read(**/.env.local)",
|
|
@@ -5474,28 +5563,30 @@ exports[`runtime surface golden fixtures setup openspec × claude 1`] = `
|
|
|
5474
5563
|
},
|
|
5475
5564
|
},
|
|
5476
5565
|
"claudeSkills": {
|
|
5477
|
-
"mate-apply-change/SKILL.md": "
|
|
5478
|
-
"mate-apply-change/references/
|
|
5479
|
-
"mate-
|
|
5480
|
-
"mate-
|
|
5481
|
-
"mate-
|
|
5566
|
+
"mate-apply-change/SKILL.md": "e89565aecee4",
|
|
5567
|
+
"mate-apply-change/references/mate-compact-apply.md": "3f20c80a4d78",
|
|
5568
|
+
"mate-apply-change/references/openspec-apply-change.md": "d11b6fc25bf4",
|
|
5569
|
+
"mate-archive-change/SKILL.md": "f47b9d44f5ed",
|
|
5570
|
+
"mate-backfill-spec/SKILL.md": "d07cd4a60169",
|
|
5571
|
+
"mate-clarify-intent/SKILL.md": "a2e38ae50f05",
|
|
5482
5572
|
"mate-create-report/SKILL.md": "7db1adecbc1a",
|
|
5483
5573
|
"mate-domain-modeling/SKILL.md": "722d0e5a972d",
|
|
5484
5574
|
"mate-domain-modeling/references/ADR-FORMAT.md": "824b87e87d9b",
|
|
5485
5575
|
"mate-domain-modeling/references/CONTEXT-FORMAT.md": "172622594277",
|
|
5486
|
-
"mate-explore-change/SKILL.md": "
|
|
5487
|
-
"mate-explore-change/references/openspec-explore.md": "
|
|
5488
|
-
"mate-grill-me/SKILL.md": "
|
|
5489
|
-
"mate-grill-with-docs/SKILL.md": "
|
|
5576
|
+
"mate-explore-change/SKILL.md": "dcc6ec66b74f",
|
|
5577
|
+
"mate-explore-change/references/openspec-explore.md": "3cf63d55e3d2",
|
|
5578
|
+
"mate-grill-me/SKILL.md": "ab55b002ba24",
|
|
5579
|
+
"mate-grill-with-docs/SKILL.md": "b542b610c484",
|
|
5490
5580
|
"mate-grilling/SKILL.md": "f37ff4dd9b6d",
|
|
5491
|
-
"mate-interview-me/SKILL.md": "
|
|
5492
|
-
"mate-propose-change/SKILL.md": "
|
|
5493
|
-
"mate-propose-change/references/
|
|
5494
|
-
"mate-propose-change/references/openspec-
|
|
5495
|
-
"mate-
|
|
5496
|
-
"mate-publish-artifact/
|
|
5497
|
-
"mate-
|
|
5498
|
-
"mate-
|
|
5581
|
+
"mate-interview-me/SKILL.md": "b48d9804c423",
|
|
5582
|
+
"mate-propose-change/SKILL.md": "bb95713a4b42",
|
|
5583
|
+
"mate-propose-change/references/mate-revise.md": "a490a63b310a",
|
|
5584
|
+
"mate-propose-change/references/openspec-propose.md": "dbd00207ffa4",
|
|
5585
|
+
"mate-propose-change/references/openspec-update-change.md": "678af6ec1889",
|
|
5586
|
+
"mate-publish-artifact/SKILL.md": "5c3bd8ed9b4e",
|
|
5587
|
+
"mate-publish-artifact/references/openspec.md": "d004aed5cf3f",
|
|
5588
|
+
"mate-show-me/SKILL.md": "908f009299ac",
|
|
5589
|
+
"mate-simplify-code/SKILL.md": "a728118654f8",
|
|
5499
5590
|
},
|
|
5500
5591
|
"opencodeConfig": null,
|
|
5501
5592
|
"opencodePlugins": {},
|
|
@@ -5530,15 +5621,15 @@ exports[`runtime surface golden fixtures setup openspec × claude 2`] = `
|
|
|
5530
5621
|
<mandatory-rules>
|
|
5531
5622
|
<rule id="artifact-location" severity="critical">Agent artifacts MUST go to <root>/companion, NEVER <root>/working. Artifacts include plans, specs, ADRs, todos, notes, handoffs, reasoning docs, and scratch files.</rule>
|
|
5532
5623
|
<rule id="pre-write-classification" severity="critical">Before ANY write, classify the target as product-code or agent-artifact. If unsure, treat it as agent-artifact.</rule>
|
|
5533
|
-
<rule id="product-code-location" severity="critical">Product code (README, docs, source, tests) belongs in
|
|
5534
|
-
<rule id="local-artifact-exception" severity="critical">
|
|
5535
|
-
<rule id="guardrail" severity="critical">Bad artifact writes to
|
|
5536
|
-
<rule id="companion-multi-repository" severity="critical">This Companion Repository may serve multiple Working Repositories
|
|
5537
|
-
<rule id="repository-area-scope" severity="critical">For domain modeling, identify the canonical Working Repository and its repository-relative Area first. A checkout basename or Area alone is not a repository identity. Shared context applies only when the
|
|
5624
|
+
<rule id="product-code-location" severity="critical">Product code (README, docs, source, tests) belongs in the working-repository path; agent artifacts in the companion-repository path.</rule>
|
|
5625
|
+
<rule id="local-artifact-exception" severity="critical">Write an artifact in the working repository only when its exact path is gitignored AND intentionally local-only.</rule>
|
|
5626
|
+
<rule id="guardrail" severity="critical">Bad artifact writes to the working repository are rejected. The guardrail resolves relative paths against <root>/working and does not follow cd, so write artifacts, including shell redirects and tee, with absolute paths under <root>/companion.</rule>
|
|
5627
|
+
<rule id="companion-multi-repository" severity="critical">This Companion Repository may serve multiple Working Repositories; the working-repository path is this session's single primary Working Repository (the product-code plane), not the full set. The Companion Repository is the shared artifact and context plane.</rule>
|
|
5628
|
+
<rule id="repository-area-scope" severity="critical">For domain modeling, identify the canonical Working Repository and its repository-relative Area first. A checkout basename or Area alone is not a repository identity. Shared context applies only when the companion CONTEXT-MAP explicitly maps it to that repository and Area.</rule>
|
|
5538
5629
|
<rule id="wrapper-only-cli-execution" severity="critical">For every CLI declared in cli-tools, invoke the exact path in its invokeAs attribute. Correct: <wrapper-bin>/openspec status ... . Incorrect: openspec status ... . Do not run bare openspec or graphify commands and do not rely on PATH, aliases, or shell functions. If the exact wrapper path is unavailable, stop and report it.</rule>
|
|
5539
5630
|
<rule id="secret-handling" severity="critical">Never read, print, copy, or write secret files (.env, .env.*, keys, certificates, credential files such as .npmrc or .netrc) or secret values. To learn which variables exist, read only the example files (.env.example, .env.sample, .env.template, .env.dist). Refer to a secret by its variable name only. Do not print environment variables that may hold secrets. When a secret must be set or rotated, ask the user to do it instead of writing it yourself. Guarded calls are blocked; the companion's framework.yaml secrets block is the user's switch, not yours.</rule>
|
|
5540
|
-
<rule id="openspec-scope" severity="critical">In OpenSpec, the frontmatter repository identifies the Working Repository
|
|
5541
|
-
<rule id="openspec-publish" severity="critical">Archiving an OpenSpec change is
|
|
5631
|
+
<rule id="openspec-scope" severity="critical">In OpenSpec, the frontmatter repository identifies the Working Repository; areas are repository-relative paths within that repository. Canonical specs use repository plus flat areas; change artifacts use paired scopes entries. In a monorepo, an Area normally stops at the package root. A cross-repository change may declare multiple scopes, but each resulting spec remains owned by one repository, and each requirement must bind its Area explicitly.</rule>
|
|
5632
|
+
<rule id="openspec-publish" severity="critical">Archiving an OpenSpec change is local and publishes nothing. Publish only through the mate-publish-artifact skill, whose sanctioned command is mate artifact publish "<name>" --json: only after an explicit user selection and confirmation of the commit, tag, and push, and only for an archive whose delivery branch is merged; never hand-commit or hand-tag one. Publish never archives and never applies delta specs itself: archiving is a precondition (mate-archive-change, allowed before the merge), and publishing a still-active change is an error. Publish refuses to run anywhere but the companion's default branch.</rule>
|
|
5542
5633
|
</mandatory-rules>
|
|
5543
5634
|
</companion-policy>"
|
|
5544
5635
|
,
|
|
@@ -5574,6 +5665,15 @@ exports[`runtime surface golden fixtures setup openspec × claude 3`] = `
|
|
|
5574
5665
|
],
|
|
5575
5666
|
"matcher": "Read|Grep|Write|Edit|MultiEdit|NotebookEdit|Bash",
|
|
5576
5667
|
},
|
|
5668
|
+
{
|
|
5669
|
+
"hooks": [
|
|
5670
|
+
{
|
|
5671
|
+
"command": "node "<runtime-claude-plugin>/hooks/tokensave-route.mjs"",
|
|
5672
|
+
"type": "command",
|
|
5673
|
+
},
|
|
5674
|
+
],
|
|
5675
|
+
"matcher": "mcp__tokensave__.*",
|
|
5676
|
+
},
|
|
5577
5677
|
],
|
|
5578
5678
|
},
|
|
5579
5679
|
{
|
|
@@ -5673,6 +5773,7 @@ exports[`runtime surface golden fixtures setup openspec × claude 3`] = `
|
|
|
5673
5773
|
"values": [
|
|
5674
5774
|
"EnterPlanMode",
|
|
5675
5775
|
"DesignSync",
|
|
5776
|
+
"SendFeedback",
|
|
5676
5777
|
"Read(**/.env)",
|
|
5677
5778
|
"Edit(**/.env)",
|
|
5678
5779
|
"Read(**/.env.local)",
|
|
@@ -5772,28 +5873,30 @@ exports[`runtime surface golden fixtures setup openspec × opencode 1`] = `
|
|
|
5772
5873
|
"opencodeSkills": {},
|
|
5773
5874
|
"opencodeTui": null,
|
|
5774
5875
|
"sharedSkills": {
|
|
5775
|
-
"mate-apply-change/SKILL.md": "
|
|
5776
|
-
"mate-apply-change/references/
|
|
5777
|
-
"mate-
|
|
5778
|
-
"mate-
|
|
5779
|
-
"mate-
|
|
5876
|
+
"mate-apply-change/SKILL.md": "e89565aecee4",
|
|
5877
|
+
"mate-apply-change/references/mate-compact-apply.md": "3f20c80a4d78",
|
|
5878
|
+
"mate-apply-change/references/openspec-apply-change.md": "de22021f4daa",
|
|
5879
|
+
"mate-archive-change/SKILL.md": "f47b9d44f5ed",
|
|
5880
|
+
"mate-backfill-spec/SKILL.md": "d07cd4a60169",
|
|
5881
|
+
"mate-clarify-intent/SKILL.md": "a2e38ae50f05",
|
|
5780
5882
|
"mate-create-report/SKILL.md": "7db1adecbc1a",
|
|
5781
5883
|
"mate-domain-modeling/SKILL.md": "722d0e5a972d",
|
|
5782
5884
|
"mate-domain-modeling/references/ADR-FORMAT.md": "824b87e87d9b",
|
|
5783
5885
|
"mate-domain-modeling/references/CONTEXT-FORMAT.md": "172622594277",
|
|
5784
|
-
"mate-explore-change/SKILL.md": "
|
|
5785
|
-
"mate-explore-change/references/openspec-explore.md": "
|
|
5786
|
-
"mate-grill-me/SKILL.md": "
|
|
5787
|
-
"mate-grill-with-docs/SKILL.md": "
|
|
5886
|
+
"mate-explore-change/SKILL.md": "dcc6ec66b74f",
|
|
5887
|
+
"mate-explore-change/references/openspec-explore.md": "5bfcc2eefbd8",
|
|
5888
|
+
"mate-grill-me/SKILL.md": "ab55b002ba24",
|
|
5889
|
+
"mate-grill-with-docs/SKILL.md": "b542b610c484",
|
|
5788
5890
|
"mate-grilling/SKILL.md": "f37ff4dd9b6d",
|
|
5789
|
-
"mate-interview-me/SKILL.md": "
|
|
5790
|
-
"mate-propose-change/SKILL.md": "
|
|
5791
|
-
"mate-propose-change/references/
|
|
5792
|
-
"mate-propose-change/references/openspec-
|
|
5793
|
-
"mate-
|
|
5794
|
-
"mate-publish-artifact/
|
|
5795
|
-
"mate-
|
|
5796
|
-
"mate-
|
|
5891
|
+
"mate-interview-me/SKILL.md": "b48d9804c423",
|
|
5892
|
+
"mate-propose-change/SKILL.md": "bb95713a4b42",
|
|
5893
|
+
"mate-propose-change/references/mate-revise.md": "a490a63b310a",
|
|
5894
|
+
"mate-propose-change/references/openspec-propose.md": "c1f1d1291283",
|
|
5895
|
+
"mate-propose-change/references/openspec-update-change.md": "cdb8d6c17526",
|
|
5896
|
+
"mate-publish-artifact/SKILL.md": "5c3bd8ed9b4e",
|
|
5897
|
+
"mate-publish-artifact/references/openspec.md": "d004aed5cf3f",
|
|
5898
|
+
"mate-show-me/SKILL.md": "908f009299ac",
|
|
5899
|
+
"mate-simplify-code/SKILL.md": "a728118654f8",
|
|
5797
5900
|
},
|
|
5798
5901
|
}
|
|
5799
5902
|
`;
|
|
@@ -5828,15 +5931,15 @@ exports[`runtime surface golden fixtures setup openspec × opencode 2`] = `
|
|
|
5828
5931
|
<mandatory-rules>
|
|
5829
5932
|
<rule id="artifact-location" severity="critical">Agent artifacts MUST go to $MATE_ARTIFACT_PATH, NEVER $MATE_REPO_PATH. Artifacts include plans, specs, ADRs, todos, notes, handoffs, reasoning docs, and scratch files.</rule>
|
|
5830
5933
|
<rule id="pre-write-classification" severity="critical">Before ANY write, classify the target as product-code or agent-artifact. If unsure, treat it as agent-artifact.</rule>
|
|
5831
|
-
<rule id="product-code-location" severity="critical">Product code (README, docs, source, tests) belongs in
|
|
5832
|
-
<rule id="local-artifact-exception" severity="critical">
|
|
5833
|
-
<rule id="guardrail" severity="critical">Bad artifact writes to
|
|
5834
|
-
<rule id="companion-multi-repository" severity="critical">This Companion Repository may serve multiple Working Repositories
|
|
5835
|
-
<rule id="repository-area-scope" severity="critical">For domain modeling, identify the canonical Working Repository and its repository-relative Area first. A checkout basename or Area alone is not a repository identity. Shared context applies only when the
|
|
5934
|
+
<rule id="product-code-location" severity="critical">Product code (README, docs, source, tests) belongs in the working-repository path; agent artifacts in the companion-repository path.</rule>
|
|
5935
|
+
<rule id="local-artifact-exception" severity="critical">Write an artifact in the working repository only when its exact path is gitignored AND intentionally local-only.</rule>
|
|
5936
|
+
<rule id="guardrail" severity="critical">Bad artifact writes to the working repository are rejected. The guardrail resolves relative paths against $MATE_REPO_PATH and does not follow cd, so write artifacts, including shell redirects and tee, with absolute paths under $MATE_ARTIFACT_PATH.</rule>
|
|
5937
|
+
<rule id="companion-multi-repository" severity="critical">This Companion Repository may serve multiple Working Repositories; the working-repository path is this session's single primary Working Repository (the product-code plane), not the full set. The Companion Repository is the shared artifact and context plane.</rule>
|
|
5938
|
+
<rule id="repository-area-scope" severity="critical">For domain modeling, identify the canonical Working Repository and its repository-relative Area first. A checkout basename or Area alone is not a repository identity. Shared context applies only when the companion CONTEXT-MAP explicitly maps it to that repository and Area.</rule>
|
|
5836
5939
|
<rule id="wrapper-only-cli-execution" severity="critical">For every CLI declared in cli-tools, invoke the exact path in its invokeAs attribute. Correct: $MATE_WRAPPER_BIN_PATH/openspec status ... . Incorrect: openspec status ... . Do not run bare openspec or graphify commands and do not rely on PATH, aliases, or shell functions. If the exact wrapper path is unavailable, stop and report it.</rule>
|
|
5837
5940
|
<rule id="secret-handling" severity="critical">Never read, print, copy, or write secret files (.env, .env.*, keys, certificates, credential files such as .npmrc or .netrc) or secret values. To learn which variables exist, read only the example files (.env.example, .env.sample, .env.template, .env.dist). Refer to a secret by its variable name only. Do not print environment variables that may hold secrets. When a secret must be set or rotated, ask the user to do it instead of writing it yourself. Guarded calls are blocked; the companion's framework.yaml secrets block is the user's switch, not yours.</rule>
|
|
5838
|
-
<rule id="openspec-scope" severity="critical">In OpenSpec, the frontmatter repository identifies the Working Repository
|
|
5839
|
-
<rule id="openspec-publish" severity="critical">Archiving an OpenSpec change is
|
|
5941
|
+
<rule id="openspec-scope" severity="critical">In OpenSpec, the frontmatter repository identifies the Working Repository; areas are repository-relative paths within that repository. Canonical specs use repository plus flat areas; change artifacts use paired scopes entries. In a monorepo, an Area normally stops at the package root. A cross-repository change may declare multiple scopes, but each resulting spec remains owned by one repository, and each requirement must bind its Area explicitly.</rule>
|
|
5942
|
+
<rule id="openspec-publish" severity="critical">Archiving an OpenSpec change is local and publishes nothing. Publish only through the mate-publish-artifact skill, whose sanctioned command is mate artifact publish "<name>" --json: only after an explicit user selection and confirmation of the commit, tag, and push, and only for an archive whose delivery branch is merged; never hand-commit or hand-tag one. Publish never archives and never applies delta specs itself: archiving is a precondition (mate-archive-change, allowed before the merge), and publishing a still-active change is an error. Publish refuses to run anywhere but the companion's default branch.</rule>
|
|
5840
5943
|
</mandatory-rules>
|
|
5841
5944
|
</companion-policy>"
|
|
5842
5945
|
,
|
|
@@ -6144,6 +6247,7 @@ exports[`runtime surface golden fixtures setup openspec × claude+opencode 1`] =
|
|
|
6144
6247
|
"deny": [
|
|
6145
6248
|
"EnterPlanMode",
|
|
6146
6249
|
"DesignSync",
|
|
6250
|
+
"SendFeedback",
|
|
6147
6251
|
"Read(**/.env)",
|
|
6148
6252
|
"Edit(**/.env)",
|
|
6149
6253
|
"Read(**/.env.local)",
|
|
@@ -6180,28 +6284,30 @@ exports[`runtime surface golden fixtures setup openspec × claude+opencode 1`] =
|
|
|
6180
6284
|
},
|
|
6181
6285
|
},
|
|
6182
6286
|
"claudeSkills": {
|
|
6183
|
-
"mate-apply-change/SKILL.md": "
|
|
6184
|
-
"mate-apply-change/references/
|
|
6185
|
-
"mate-
|
|
6186
|
-
"mate-
|
|
6187
|
-
"mate-
|
|
6287
|
+
"mate-apply-change/SKILL.md": "e89565aecee4",
|
|
6288
|
+
"mate-apply-change/references/mate-compact-apply.md": "3f20c80a4d78",
|
|
6289
|
+
"mate-apply-change/references/openspec-apply-change.md": "d11b6fc25bf4",
|
|
6290
|
+
"mate-archive-change/SKILL.md": "f47b9d44f5ed",
|
|
6291
|
+
"mate-backfill-spec/SKILL.md": "d07cd4a60169",
|
|
6292
|
+
"mate-clarify-intent/SKILL.md": "a2e38ae50f05",
|
|
6188
6293
|
"mate-create-report/SKILL.md": "7db1adecbc1a",
|
|
6189
6294
|
"mate-domain-modeling/SKILL.md": "722d0e5a972d",
|
|
6190
6295
|
"mate-domain-modeling/references/ADR-FORMAT.md": "824b87e87d9b",
|
|
6191
6296
|
"mate-domain-modeling/references/CONTEXT-FORMAT.md": "172622594277",
|
|
6192
|
-
"mate-explore-change/SKILL.md": "
|
|
6193
|
-
"mate-explore-change/references/openspec-explore.md": "
|
|
6194
|
-
"mate-grill-me/SKILL.md": "
|
|
6195
|
-
"mate-grill-with-docs/SKILL.md": "
|
|
6297
|
+
"mate-explore-change/SKILL.md": "dcc6ec66b74f",
|
|
6298
|
+
"mate-explore-change/references/openspec-explore.md": "3cf63d55e3d2",
|
|
6299
|
+
"mate-grill-me/SKILL.md": "ab55b002ba24",
|
|
6300
|
+
"mate-grill-with-docs/SKILL.md": "b542b610c484",
|
|
6196
6301
|
"mate-grilling/SKILL.md": "f37ff4dd9b6d",
|
|
6197
|
-
"mate-interview-me/SKILL.md": "
|
|
6198
|
-
"mate-propose-change/SKILL.md": "
|
|
6199
|
-
"mate-propose-change/references/
|
|
6200
|
-
"mate-propose-change/references/openspec-
|
|
6201
|
-
"mate-
|
|
6202
|
-
"mate-publish-artifact/
|
|
6203
|
-
"mate-
|
|
6204
|
-
"mate-
|
|
6302
|
+
"mate-interview-me/SKILL.md": "b48d9804c423",
|
|
6303
|
+
"mate-propose-change/SKILL.md": "bb95713a4b42",
|
|
6304
|
+
"mate-propose-change/references/mate-revise.md": "a490a63b310a",
|
|
6305
|
+
"mate-propose-change/references/openspec-propose.md": "dbd00207ffa4",
|
|
6306
|
+
"mate-propose-change/references/openspec-update-change.md": "678af6ec1889",
|
|
6307
|
+
"mate-publish-artifact/SKILL.md": "5c3bd8ed9b4e",
|
|
6308
|
+
"mate-publish-artifact/references/openspec.md": "d004aed5cf3f",
|
|
6309
|
+
"mate-show-me/SKILL.md": "908f009299ac",
|
|
6310
|
+
"mate-simplify-code/SKILL.md": "a728118654f8",
|
|
6205
6311
|
},
|
|
6206
6312
|
"opencodeConfig": {
|
|
6207
6313
|
"$schema": "https://opencode.ai/config.json",
|
|
@@ -6224,28 +6330,30 @@ exports[`runtime surface golden fixtures setup openspec × claude+opencode 1`] =
|
|
|
6224
6330
|
"opencodeSkills": {},
|
|
6225
6331
|
"opencodeTui": null,
|
|
6226
6332
|
"sharedSkills": {
|
|
6227
|
-
"mate-apply-change/SKILL.md": "
|
|
6228
|
-
"mate-apply-change/references/
|
|
6229
|
-
"mate-
|
|
6230
|
-
"mate-
|
|
6231
|
-
"mate-
|
|
6333
|
+
"mate-apply-change/SKILL.md": "e89565aecee4",
|
|
6334
|
+
"mate-apply-change/references/mate-compact-apply.md": "3f20c80a4d78",
|
|
6335
|
+
"mate-apply-change/references/openspec-apply-change.md": "de22021f4daa",
|
|
6336
|
+
"mate-archive-change/SKILL.md": "f47b9d44f5ed",
|
|
6337
|
+
"mate-backfill-spec/SKILL.md": "d07cd4a60169",
|
|
6338
|
+
"mate-clarify-intent/SKILL.md": "a2e38ae50f05",
|
|
6232
6339
|
"mate-create-report/SKILL.md": "7db1adecbc1a",
|
|
6233
6340
|
"mate-domain-modeling/SKILL.md": "722d0e5a972d",
|
|
6234
6341
|
"mate-domain-modeling/references/ADR-FORMAT.md": "824b87e87d9b",
|
|
6235
6342
|
"mate-domain-modeling/references/CONTEXT-FORMAT.md": "172622594277",
|
|
6236
|
-
"mate-explore-change/SKILL.md": "
|
|
6237
|
-
"mate-explore-change/references/openspec-explore.md": "
|
|
6238
|
-
"mate-grill-me/SKILL.md": "
|
|
6239
|
-
"mate-grill-with-docs/SKILL.md": "
|
|
6343
|
+
"mate-explore-change/SKILL.md": "dcc6ec66b74f",
|
|
6344
|
+
"mate-explore-change/references/openspec-explore.md": "5bfcc2eefbd8",
|
|
6345
|
+
"mate-grill-me/SKILL.md": "ab55b002ba24",
|
|
6346
|
+
"mate-grill-with-docs/SKILL.md": "b542b610c484",
|
|
6240
6347
|
"mate-grilling/SKILL.md": "f37ff4dd9b6d",
|
|
6241
|
-
"mate-interview-me/SKILL.md": "
|
|
6242
|
-
"mate-propose-change/SKILL.md": "
|
|
6243
|
-
"mate-propose-change/references/
|
|
6244
|
-
"mate-propose-change/references/openspec-
|
|
6245
|
-
"mate-
|
|
6246
|
-
"mate-publish-artifact/
|
|
6247
|
-
"mate-
|
|
6248
|
-
"mate-
|
|
6348
|
+
"mate-interview-me/SKILL.md": "b48d9804c423",
|
|
6349
|
+
"mate-propose-change/SKILL.md": "bb95713a4b42",
|
|
6350
|
+
"mate-propose-change/references/mate-revise.md": "a490a63b310a",
|
|
6351
|
+
"mate-propose-change/references/openspec-propose.md": "c1f1d1291283",
|
|
6352
|
+
"mate-propose-change/references/openspec-update-change.md": "cdb8d6c17526",
|
|
6353
|
+
"mate-publish-artifact/SKILL.md": "5c3bd8ed9b4e",
|
|
6354
|
+
"mate-publish-artifact/references/openspec.md": "d004aed5cf3f",
|
|
6355
|
+
"mate-show-me/SKILL.md": "908f009299ac",
|
|
6356
|
+
"mate-simplify-code/SKILL.md": "a728118654f8",
|
|
6249
6357
|
},
|
|
6250
6358
|
}
|
|
6251
6359
|
`;
|
|
@@ -6275,15 +6383,15 @@ exports[`runtime surface golden fixtures setup openspec × claude+opencode 2`] =
|
|
|
6275
6383
|
<mandatory-rules>
|
|
6276
6384
|
<rule id="artifact-location" severity="critical">Agent artifacts MUST go to <root>/companion, NEVER <root>/working. Artifacts include plans, specs, ADRs, todos, notes, handoffs, reasoning docs, and scratch files.</rule>
|
|
6277
6385
|
<rule id="pre-write-classification" severity="critical">Before ANY write, classify the target as product-code or agent-artifact. If unsure, treat it as agent-artifact.</rule>
|
|
6278
|
-
<rule id="product-code-location" severity="critical">Product code (README, docs, source, tests) belongs in
|
|
6279
|
-
<rule id="local-artifact-exception" severity="critical">
|
|
6280
|
-
<rule id="guardrail" severity="critical">Bad artifact writes to
|
|
6281
|
-
<rule id="companion-multi-repository" severity="critical">This Companion Repository may serve multiple Working Repositories
|
|
6282
|
-
<rule id="repository-area-scope" severity="critical">For domain modeling, identify the canonical Working Repository and its repository-relative Area first. A checkout basename or Area alone is not a repository identity. Shared context applies only when the
|
|
6386
|
+
<rule id="product-code-location" severity="critical">Product code (README, docs, source, tests) belongs in the working-repository path; agent artifacts in the companion-repository path.</rule>
|
|
6387
|
+
<rule id="local-artifact-exception" severity="critical">Write an artifact in the working repository only when its exact path is gitignored AND intentionally local-only.</rule>
|
|
6388
|
+
<rule id="guardrail" severity="critical">Bad artifact writes to the working repository are rejected. The guardrail resolves relative paths against <root>/working and does not follow cd, so write artifacts, including shell redirects and tee, with absolute paths under <root>/companion.</rule>
|
|
6389
|
+
<rule id="companion-multi-repository" severity="critical">This Companion Repository may serve multiple Working Repositories; the working-repository path is this session's single primary Working Repository (the product-code plane), not the full set. The Companion Repository is the shared artifact and context plane.</rule>
|
|
6390
|
+
<rule id="repository-area-scope" severity="critical">For domain modeling, identify the canonical Working Repository and its repository-relative Area first. A checkout basename or Area alone is not a repository identity. Shared context applies only when the companion CONTEXT-MAP explicitly maps it to that repository and Area.</rule>
|
|
6283
6391
|
<rule id="wrapper-only-cli-execution" severity="critical">For every CLI declared in cli-tools, invoke the exact path in its invokeAs attribute. Correct: <wrapper-bin>/openspec status ... . Incorrect: openspec status ... . Do not run bare openspec or graphify commands and do not rely on PATH, aliases, or shell functions. If the exact wrapper path is unavailable, stop and report it.</rule>
|
|
6284
6392
|
<rule id="secret-handling" severity="critical">Never read, print, copy, or write secret files (.env, .env.*, keys, certificates, credential files such as .npmrc or .netrc) or secret values. To learn which variables exist, read only the example files (.env.example, .env.sample, .env.template, .env.dist). Refer to a secret by its variable name only. Do not print environment variables that may hold secrets. When a secret must be set or rotated, ask the user to do it instead of writing it yourself. Guarded calls are blocked; the companion's framework.yaml secrets block is the user's switch, not yours.</rule>
|
|
6285
|
-
<rule id="openspec-scope" severity="critical">In OpenSpec, the frontmatter repository identifies the Working Repository
|
|
6286
|
-
<rule id="openspec-publish" severity="critical">Archiving an OpenSpec change is
|
|
6393
|
+
<rule id="openspec-scope" severity="critical">In OpenSpec, the frontmatter repository identifies the Working Repository; areas are repository-relative paths within that repository. Canonical specs use repository plus flat areas; change artifacts use paired scopes entries. In a monorepo, an Area normally stops at the package root. A cross-repository change may declare multiple scopes, but each resulting spec remains owned by one repository, and each requirement must bind its Area explicitly.</rule>
|
|
6394
|
+
<rule id="openspec-publish" severity="critical">Archiving an OpenSpec change is local and publishes nothing. Publish only through the mate-publish-artifact skill, whose sanctioned command is mate artifact publish "<name>" --json: only after an explicit user selection and confirmation of the commit, tag, and push, and only for an archive whose delivery branch is merged; never hand-commit or hand-tag one. Publish never archives and never applies delta specs itself: archiving is a precondition (mate-archive-change, allowed before the merge), and publishing a still-active change is an error. Publish refuses to run anywhere but the companion's default branch.</rule>
|
|
6287
6395
|
</mandatory-rules>
|
|
6288
6396
|
</companion-policy>"
|
|
6289
6397
|
,
|
|
@@ -6323,15 +6431,15 @@ exports[`runtime surface golden fixtures setup openspec × claude+opencode 2`] =
|
|
|
6323
6431
|
<mandatory-rules>
|
|
6324
6432
|
<rule id="artifact-location" severity="critical">Agent artifacts MUST go to $MATE_ARTIFACT_PATH, NEVER $MATE_REPO_PATH. Artifacts include plans, specs, ADRs, todos, notes, handoffs, reasoning docs, and scratch files.</rule>
|
|
6325
6433
|
<rule id="pre-write-classification" severity="critical">Before ANY write, classify the target as product-code or agent-artifact. If unsure, treat it as agent-artifact.</rule>
|
|
6326
|
-
<rule id="product-code-location" severity="critical">Product code (README, docs, source, tests) belongs in
|
|
6327
|
-
<rule id="local-artifact-exception" severity="critical">
|
|
6328
|
-
<rule id="guardrail" severity="critical">Bad artifact writes to
|
|
6329
|
-
<rule id="companion-multi-repository" severity="critical">This Companion Repository may serve multiple Working Repositories
|
|
6330
|
-
<rule id="repository-area-scope" severity="critical">For domain modeling, identify the canonical Working Repository and its repository-relative Area first. A checkout basename or Area alone is not a repository identity. Shared context applies only when the
|
|
6434
|
+
<rule id="product-code-location" severity="critical">Product code (README, docs, source, tests) belongs in the working-repository path; agent artifacts in the companion-repository path.</rule>
|
|
6435
|
+
<rule id="local-artifact-exception" severity="critical">Write an artifact in the working repository only when its exact path is gitignored AND intentionally local-only.</rule>
|
|
6436
|
+
<rule id="guardrail" severity="critical">Bad artifact writes to the working repository are rejected. The guardrail resolves relative paths against $MATE_REPO_PATH and does not follow cd, so write artifacts, including shell redirects and tee, with absolute paths under $MATE_ARTIFACT_PATH.</rule>
|
|
6437
|
+
<rule id="companion-multi-repository" severity="critical">This Companion Repository may serve multiple Working Repositories; the working-repository path is this session's single primary Working Repository (the product-code plane), not the full set. The Companion Repository is the shared artifact and context plane.</rule>
|
|
6438
|
+
<rule id="repository-area-scope" severity="critical">For domain modeling, identify the canonical Working Repository and its repository-relative Area first. A checkout basename or Area alone is not a repository identity. Shared context applies only when the companion CONTEXT-MAP explicitly maps it to that repository and Area.</rule>
|
|
6331
6439
|
<rule id="wrapper-only-cli-execution" severity="critical">For every CLI declared in cli-tools, invoke the exact path in its invokeAs attribute. Correct: $MATE_WRAPPER_BIN_PATH/openspec status ... . Incorrect: openspec status ... . Do not run bare openspec or graphify commands and do not rely on PATH, aliases, or shell functions. If the exact wrapper path is unavailable, stop and report it.</rule>
|
|
6332
6440
|
<rule id="secret-handling" severity="critical">Never read, print, copy, or write secret files (.env, .env.*, keys, certificates, credential files such as .npmrc or .netrc) or secret values. To learn which variables exist, read only the example files (.env.example, .env.sample, .env.template, .env.dist). Refer to a secret by its variable name only. Do not print environment variables that may hold secrets. When a secret must be set or rotated, ask the user to do it instead of writing it yourself. Guarded calls are blocked; the companion's framework.yaml secrets block is the user's switch, not yours.</rule>
|
|
6333
|
-
<rule id="openspec-scope" severity="critical">In OpenSpec, the frontmatter repository identifies the Working Repository
|
|
6334
|
-
<rule id="openspec-publish" severity="critical">Archiving an OpenSpec change is
|
|
6441
|
+
<rule id="openspec-scope" severity="critical">In OpenSpec, the frontmatter repository identifies the Working Repository; areas are repository-relative paths within that repository. Canonical specs use repository plus flat areas; change artifacts use paired scopes entries. In a monorepo, an Area normally stops at the package root. A cross-repository change may declare multiple scopes, but each resulting spec remains owned by one repository, and each requirement must bind its Area explicitly.</rule>
|
|
6442
|
+
<rule id="openspec-publish" severity="critical">Archiving an OpenSpec change is local and publishes nothing. Publish only through the mate-publish-artifact skill, whose sanctioned command is mate artifact publish "<name>" --json: only after an explicit user selection and confirmation of the commit, tag, and push, and only for an archive whose delivery branch is merged; never hand-commit or hand-tag one. Publish never archives and never applies delta specs itself: archiving is a precondition (mate-archive-change, allowed before the merge), and publishing a still-active change is an error. Publish refuses to run anywhere but the companion's default branch.</rule>
|
|
6335
6443
|
</mandatory-rules>
|
|
6336
6444
|
</companion-policy>"
|
|
6337
6445
|
,
|
|
@@ -6364,6 +6472,15 @@ exports[`runtime surface golden fixtures setup openspec × claude+opencode 3`] =
|
|
|
6364
6472
|
],
|
|
6365
6473
|
"matcher": "Read|Grep|Write|Edit|MultiEdit|NotebookEdit|Bash",
|
|
6366
6474
|
},
|
|
6475
|
+
{
|
|
6476
|
+
"hooks": [
|
|
6477
|
+
{
|
|
6478
|
+
"command": "node "<runtime-claude-plugin>/hooks/tokensave-route.mjs"",
|
|
6479
|
+
"type": "command",
|
|
6480
|
+
},
|
|
6481
|
+
],
|
|
6482
|
+
"matcher": "mcp__tokensave__.*",
|
|
6483
|
+
},
|
|
6367
6484
|
],
|
|
6368
6485
|
},
|
|
6369
6486
|
{
|
|
@@ -6463,6 +6580,7 @@ exports[`runtime surface golden fixtures setup openspec × claude+opencode 3`] =
|
|
|
6463
6580
|
"values": [
|
|
6464
6581
|
"EnterPlanMode",
|
|
6465
6582
|
"DesignSync",
|
|
6583
|
+
"SendFeedback",
|
|
6466
6584
|
"Read(**/.env)",
|
|
6467
6585
|
"Edit(**/.env)",
|
|
6468
6586
|
"Read(**/.env.local)",
|
|
@@ -6888,6 +7006,7 @@ Canonical Mate policy and any more specific tool-routing instructions remain aut
|
|
|
6888
7006
|
"deny": [
|
|
6889
7007
|
"EnterPlanMode",
|
|
6890
7008
|
"DesignSync",
|
|
7009
|
+
"SendFeedback",
|
|
6891
7010
|
"Read(**/.env)",
|
|
6892
7011
|
"Edit(**/.env)",
|
|
6893
7012
|
"Read(**/.env.local)",
|
|
@@ -6939,30 +7058,32 @@ Write chunks to $GRAPHIFY_OUT and read $GRAPHIFY_OUT later.
|
|
|
6939
7058
|
"Outputs land in $GRAPHIFY_OUT by default.
|
|
6940
7059
|
"
|
|
6941
7060
|
,
|
|
6942
|
-
"mate-apply-change/SKILL.md": "
|
|
6943
|
-
"mate-apply-change/references/
|
|
6944
|
-
"mate-
|
|
6945
|
-
"mate-
|
|
6946
|
-
"mate-
|
|
7061
|
+
"mate-apply-change/SKILL.md": "e89565aecee4",
|
|
7062
|
+
"mate-apply-change/references/mate-compact-apply.md": "3f20c80a4d78",
|
|
7063
|
+
"mate-apply-change/references/openspec-apply-change.md": "d11b6fc25bf4",
|
|
7064
|
+
"mate-archive-change/SKILL.md": "f47b9d44f5ed",
|
|
7065
|
+
"mate-backfill-spec/SKILL.md": "d07cd4a60169",
|
|
7066
|
+
"mate-clarify-intent/SKILL.md": "a2e38ae50f05",
|
|
6947
7067
|
"mate-create-report/SKILL.md": "7db1adecbc1a",
|
|
6948
7068
|
"mate-domain-modeling/SKILL.md": "722d0e5a972d",
|
|
6949
7069
|
"mate-domain-modeling/references/ADR-FORMAT.md": "824b87e87d9b",
|
|
6950
7070
|
"mate-domain-modeling/references/CONTEXT-FORMAT.md": "172622594277",
|
|
6951
|
-
"mate-explore-change/SKILL.md": "
|
|
6952
|
-
"mate-explore-change/references/openspec-explore.md": "
|
|
6953
|
-
"mate-grill-me/SKILL.md": "
|
|
6954
|
-
"mate-grill-with-docs/SKILL.md": "
|
|
7071
|
+
"mate-explore-change/SKILL.md": "dcc6ec66b74f",
|
|
7072
|
+
"mate-explore-change/references/openspec-explore.md": "3cf63d55e3d2",
|
|
7073
|
+
"mate-grill-me/SKILL.md": "ab55b002ba24",
|
|
7074
|
+
"mate-grill-with-docs/SKILL.md": "b542b610c484",
|
|
6955
7075
|
"mate-grilling/SKILL.md": "f37ff4dd9b6d",
|
|
6956
|
-
"mate-interview-me/SKILL.md": "
|
|
6957
|
-
"mate-propose-change/SKILL.md": "
|
|
6958
|
-
"mate-propose-change/references/
|
|
6959
|
-
"mate-propose-change/references/openspec-
|
|
6960
|
-
"mate-
|
|
6961
|
-
"mate-publish-artifact/
|
|
7076
|
+
"mate-interview-me/SKILL.md": "b48d9804c423",
|
|
7077
|
+
"mate-propose-change/SKILL.md": "bb95713a4b42",
|
|
7078
|
+
"mate-propose-change/references/mate-revise.md": "a490a63b310a",
|
|
7079
|
+
"mate-propose-change/references/openspec-propose.md": "dbd00207ffa4",
|
|
7080
|
+
"mate-propose-change/references/openspec-update-change.md": "678af6ec1889",
|
|
7081
|
+
"mate-publish-artifact/SKILL.md": "5c3bd8ed9b4e",
|
|
7082
|
+
"mate-publish-artifact/references/openspec.md": "d004aed5cf3f",
|
|
6962
7083
|
"mate-react-doctor/SKILL.md": "2ecf137679df",
|
|
6963
7084
|
"mate-react-doctor/references/explain.md": "86754a7e5436",
|
|
6964
|
-
"mate-show-me/SKILL.md": "
|
|
6965
|
-
"mate-simplify-code/SKILL.md": "
|
|
7085
|
+
"mate-show-me/SKILL.md": "908f009299ac",
|
|
7086
|
+
"mate-simplify-code/SKILL.md": "a728118654f8",
|
|
6966
7087
|
},
|
|
6967
7088
|
"opencodeConfig": {
|
|
6968
7089
|
"$schema": "https://opencode.ai/config.json",
|
|
@@ -7021,30 +7142,32 @@ Write chunks to $GRAPHIFY_OUT and read $GRAPHIFY_OUT later.
|
|
|
7021
7142
|
},
|
|
7022
7143
|
"opencodeTui": null,
|
|
7023
7144
|
"sharedSkills": {
|
|
7024
|
-
"mate-apply-change/SKILL.md": "
|
|
7025
|
-
"mate-apply-change/references/
|
|
7026
|
-
"mate-
|
|
7027
|
-
"mate-
|
|
7028
|
-
"mate-
|
|
7145
|
+
"mate-apply-change/SKILL.md": "e89565aecee4",
|
|
7146
|
+
"mate-apply-change/references/mate-compact-apply.md": "3f20c80a4d78",
|
|
7147
|
+
"mate-apply-change/references/openspec-apply-change.md": "de22021f4daa",
|
|
7148
|
+
"mate-archive-change/SKILL.md": "f47b9d44f5ed",
|
|
7149
|
+
"mate-backfill-spec/SKILL.md": "d07cd4a60169",
|
|
7150
|
+
"mate-clarify-intent/SKILL.md": "a2e38ae50f05",
|
|
7029
7151
|
"mate-create-report/SKILL.md": "7db1adecbc1a",
|
|
7030
7152
|
"mate-domain-modeling/SKILL.md": "722d0e5a972d",
|
|
7031
7153
|
"mate-domain-modeling/references/ADR-FORMAT.md": "824b87e87d9b",
|
|
7032
7154
|
"mate-domain-modeling/references/CONTEXT-FORMAT.md": "172622594277",
|
|
7033
|
-
"mate-explore-change/SKILL.md": "
|
|
7034
|
-
"mate-explore-change/references/openspec-explore.md": "
|
|
7035
|
-
"mate-grill-me/SKILL.md": "
|
|
7036
|
-
"mate-grill-with-docs/SKILL.md": "
|
|
7155
|
+
"mate-explore-change/SKILL.md": "dcc6ec66b74f",
|
|
7156
|
+
"mate-explore-change/references/openspec-explore.md": "5bfcc2eefbd8",
|
|
7157
|
+
"mate-grill-me/SKILL.md": "ab55b002ba24",
|
|
7158
|
+
"mate-grill-with-docs/SKILL.md": "b542b610c484",
|
|
7037
7159
|
"mate-grilling/SKILL.md": "f37ff4dd9b6d",
|
|
7038
|
-
"mate-interview-me/SKILL.md": "
|
|
7039
|
-
"mate-propose-change/SKILL.md": "
|
|
7040
|
-
"mate-propose-change/references/
|
|
7041
|
-
"mate-propose-change/references/openspec-
|
|
7042
|
-
"mate-
|
|
7043
|
-
"mate-publish-artifact/
|
|
7160
|
+
"mate-interview-me/SKILL.md": "b48d9804c423",
|
|
7161
|
+
"mate-propose-change/SKILL.md": "bb95713a4b42",
|
|
7162
|
+
"mate-propose-change/references/mate-revise.md": "a490a63b310a",
|
|
7163
|
+
"mate-propose-change/references/openspec-propose.md": "c1f1d1291283",
|
|
7164
|
+
"mate-propose-change/references/openspec-update-change.md": "cdb8d6c17526",
|
|
7165
|
+
"mate-publish-artifact/SKILL.md": "5c3bd8ed9b4e",
|
|
7166
|
+
"mate-publish-artifact/references/openspec.md": "d004aed5cf3f",
|
|
7044
7167
|
"mate-react-doctor/SKILL.md": "2ecf137679df",
|
|
7045
7168
|
"mate-react-doctor/references/explain.md": "86754a7e5436",
|
|
7046
|
-
"mate-show-me/SKILL.md": "
|
|
7047
|
-
"mate-simplify-code/SKILL.md": "
|
|
7169
|
+
"mate-show-me/SKILL.md": "908f009299ac",
|
|
7170
|
+
"mate-simplify-code/SKILL.md": "a728118654f8",
|
|
7048
7171
|
},
|
|
7049
7172
|
}
|
|
7050
7173
|
`;
|
|
@@ -7074,15 +7197,15 @@ exports[`runtime surface golden fixtures setup all capabilities × claude+openco
|
|
|
7074
7197
|
<mandatory-rules>
|
|
7075
7198
|
<rule id="artifact-location" severity="critical">Agent artifacts MUST go to <root>/companion, NEVER <root>/working. Artifacts include plans, specs, ADRs, todos, notes, handoffs, reasoning docs, and scratch files.</rule>
|
|
7076
7199
|
<rule id="pre-write-classification" severity="critical">Before ANY write, classify the target as product-code or agent-artifact. If unsure, treat it as agent-artifact.</rule>
|
|
7077
|
-
<rule id="product-code-location" severity="critical">Product code (README, docs, source, tests) belongs in
|
|
7078
|
-
<rule id="local-artifact-exception" severity="critical">
|
|
7079
|
-
<rule id="guardrail" severity="critical">Bad artifact writes to
|
|
7080
|
-
<rule id="companion-multi-repository" severity="critical">This Companion Repository may serve multiple Working Repositories
|
|
7081
|
-
<rule id="repository-area-scope" severity="critical">For domain modeling, identify the canonical Working Repository and its repository-relative Area first. A checkout basename or Area alone is not a repository identity. Shared context applies only when the
|
|
7200
|
+
<rule id="product-code-location" severity="critical">Product code (README, docs, source, tests) belongs in the working-repository path; agent artifacts in the companion-repository path.</rule>
|
|
7201
|
+
<rule id="local-artifact-exception" severity="critical">Write an artifact in the working repository only when its exact path is gitignored AND intentionally local-only.</rule>
|
|
7202
|
+
<rule id="guardrail" severity="critical">Bad artifact writes to the working repository are rejected. The guardrail resolves relative paths against <root>/working and does not follow cd, so write artifacts, including shell redirects and tee, with absolute paths under <root>/companion.</rule>
|
|
7203
|
+
<rule id="companion-multi-repository" severity="critical">This Companion Repository may serve multiple Working Repositories; the working-repository path is this session's single primary Working Repository (the product-code plane), not the full set. The Companion Repository is the shared artifact and context plane.</rule>
|
|
7204
|
+
<rule id="repository-area-scope" severity="critical">For domain modeling, identify the canonical Working Repository and its repository-relative Area first. A checkout basename or Area alone is not a repository identity. Shared context applies only when the companion CONTEXT-MAP explicitly maps it to that repository and Area.</rule>
|
|
7082
7205
|
<rule id="wrapper-only-cli-execution" severity="critical">For every CLI declared in cli-tools, invoke the exact path in its invokeAs attribute. Correct: <wrapper-bin>/openspec status ... . Incorrect: openspec status ... . Do not run bare openspec or graphify commands and do not rely on PATH, aliases, or shell functions. If the exact wrapper path is unavailable, stop and report it.</rule>
|
|
7083
7206
|
<rule id="secret-handling" severity="critical">Never read, print, copy, or write secret files (.env, .env.*, keys, certificates, credential files such as .npmrc or .netrc) or secret values. To learn which variables exist, read only the example files (.env.example, .env.sample, .env.template, .env.dist). Refer to a secret by its variable name only. Do not print environment variables that may hold secrets. When a secret must be set or rotated, ask the user to do it instead of writing it yourself. Guarded calls are blocked; the companion's framework.yaml secrets block is the user's switch, not yours.</rule>
|
|
7084
|
-
<rule id="openspec-scope" severity="critical">In OpenSpec, the frontmatter repository identifies the Working Repository
|
|
7085
|
-
<rule id="openspec-publish" severity="critical">Archiving an OpenSpec change is
|
|
7207
|
+
<rule id="openspec-scope" severity="critical">In OpenSpec, the frontmatter repository identifies the Working Repository; areas are repository-relative paths within that repository. Canonical specs use repository plus flat areas; change artifacts use paired scopes entries. In a monorepo, an Area normally stops at the package root. A cross-repository change may declare multiple scopes, but each resulting spec remains owned by one repository, and each requirement must bind its Area explicitly.</rule>
|
|
7208
|
+
<rule id="openspec-publish" severity="critical">Archiving an OpenSpec change is local and publishes nothing. Publish only through the mate-publish-artifact skill, whose sanctioned command is mate artifact publish "<name>" --json: only after an explicit user selection and confirmation of the commit, tag, and push, and only for an archive whose delivery branch is merged; never hand-commit or hand-tag one. Publish never archives and never applies delta specs itself: archiving is a precondition (mate-archive-change, allowed before the merge), and publishing a still-active change is an error. Publish refuses to run anywhere but the companion's default branch.</rule>
|
|
7086
7209
|
</mandatory-rules>
|
|
7087
7210
|
</companion-policy>
|
|
7088
7211
|
|
|
@@ -7146,15 +7269,15 @@ exports[`runtime surface golden fixtures setup all capabilities × claude+openco
|
|
|
7146
7269
|
<mandatory-rules>
|
|
7147
7270
|
<rule id="artifact-location" severity="critical">Agent artifacts MUST go to $MATE_ARTIFACT_PATH, NEVER $MATE_REPO_PATH. Artifacts include plans, specs, ADRs, todos, notes, handoffs, reasoning docs, and scratch files.</rule>
|
|
7148
7271
|
<rule id="pre-write-classification" severity="critical">Before ANY write, classify the target as product-code or agent-artifact. If unsure, treat it as agent-artifact.</rule>
|
|
7149
|
-
<rule id="product-code-location" severity="critical">Product code (README, docs, source, tests) belongs in
|
|
7150
|
-
<rule id="local-artifact-exception" severity="critical">
|
|
7151
|
-
<rule id="guardrail" severity="critical">Bad artifact writes to
|
|
7152
|
-
<rule id="companion-multi-repository" severity="critical">This Companion Repository may serve multiple Working Repositories
|
|
7153
|
-
<rule id="repository-area-scope" severity="critical">For domain modeling, identify the canonical Working Repository and its repository-relative Area first. A checkout basename or Area alone is not a repository identity. Shared context applies only when the
|
|
7272
|
+
<rule id="product-code-location" severity="critical">Product code (README, docs, source, tests) belongs in the working-repository path; agent artifacts in the companion-repository path.</rule>
|
|
7273
|
+
<rule id="local-artifact-exception" severity="critical">Write an artifact in the working repository only when its exact path is gitignored AND intentionally local-only.</rule>
|
|
7274
|
+
<rule id="guardrail" severity="critical">Bad artifact writes to the working repository are rejected. The guardrail resolves relative paths against $MATE_REPO_PATH and does not follow cd, so write artifacts, including shell redirects and tee, with absolute paths under $MATE_ARTIFACT_PATH.</rule>
|
|
7275
|
+
<rule id="companion-multi-repository" severity="critical">This Companion Repository may serve multiple Working Repositories; the working-repository path is this session's single primary Working Repository (the product-code plane), not the full set. The Companion Repository is the shared artifact and context plane.</rule>
|
|
7276
|
+
<rule id="repository-area-scope" severity="critical">For domain modeling, identify the canonical Working Repository and its repository-relative Area first. A checkout basename or Area alone is not a repository identity. Shared context applies only when the companion CONTEXT-MAP explicitly maps it to that repository and Area.</rule>
|
|
7154
7277
|
<rule id="wrapper-only-cli-execution" severity="critical">For every CLI declared in cli-tools, invoke the exact path in its invokeAs attribute. Correct: $MATE_WRAPPER_BIN_PATH/openspec status ... . Incorrect: openspec status ... . Do not run bare openspec or graphify commands and do not rely on PATH, aliases, or shell functions. If the exact wrapper path is unavailable, stop and report it.</rule>
|
|
7155
7278
|
<rule id="secret-handling" severity="critical">Never read, print, copy, or write secret files (.env, .env.*, keys, certificates, credential files such as .npmrc or .netrc) or secret values. To learn which variables exist, read only the example files (.env.example, .env.sample, .env.template, .env.dist). Refer to a secret by its variable name only. Do not print environment variables that may hold secrets. When a secret must be set or rotated, ask the user to do it instead of writing it yourself. Guarded calls are blocked; the companion's framework.yaml secrets block is the user's switch, not yours.</rule>
|
|
7156
|
-
<rule id="openspec-scope" severity="critical">In OpenSpec, the frontmatter repository identifies the Working Repository
|
|
7157
|
-
<rule id="openspec-publish" severity="critical">Archiving an OpenSpec change is
|
|
7279
|
+
<rule id="openspec-scope" severity="critical">In OpenSpec, the frontmatter repository identifies the Working Repository; areas are repository-relative paths within that repository. Canonical specs use repository plus flat areas; change artifacts use paired scopes entries. In a monorepo, an Area normally stops at the package root. A cross-repository change may declare multiple scopes, but each resulting spec remains owned by one repository, and each requirement must bind its Area explicitly.</rule>
|
|
7280
|
+
<rule id="openspec-publish" severity="critical">Archiving an OpenSpec change is local and publishes nothing. Publish only through the mate-publish-artifact skill, whose sanctioned command is mate artifact publish "<name>" --json: only after an explicit user selection and confirmation of the commit, tag, and push, and only for an archive whose delivery branch is merged; never hand-commit or hand-tag one. Publish never archives and never applies delta specs itself: archiving is a precondition (mate-archive-change, allowed before the merge), and publishing a still-active change is an error. Publish refuses to run anywhere but the companion's default branch.</rule>
|
|
7158
7281
|
</mandatory-rules>
|
|
7159
7282
|
</companion-policy>"
|
|
7160
7283
|
,
|
|
@@ -7187,6 +7310,15 @@ exports[`runtime surface golden fixtures setup all capabilities × claude+openco
|
|
|
7187
7310
|
],
|
|
7188
7311
|
"matcher": "Read|Grep|Write|Edit|MultiEdit|NotebookEdit|Bash",
|
|
7189
7312
|
},
|
|
7313
|
+
{
|
|
7314
|
+
"hooks": [
|
|
7315
|
+
{
|
|
7316
|
+
"command": "node "<runtime-claude-plugin>/hooks/tokensave-route.mjs"",
|
|
7317
|
+
"type": "command",
|
|
7318
|
+
},
|
|
7319
|
+
],
|
|
7320
|
+
"matcher": "mcp__tokensave__.*",
|
|
7321
|
+
},
|
|
7190
7322
|
{
|
|
7191
7323
|
"hooks": [
|
|
7192
7324
|
{
|
|
@@ -7347,6 +7479,7 @@ exports[`runtime surface golden fixtures setup all capabilities × claude+openco
|
|
|
7347
7479
|
"values": [
|
|
7348
7480
|
"EnterPlanMode",
|
|
7349
7481
|
"DesignSync",
|
|
7482
|
+
"SendFeedback",
|
|
7350
7483
|
"Read(**/.env)",
|
|
7351
7484
|
"Edit(**/.env)",
|
|
7352
7485
|
"Read(**/.env.local)",
|
|
@@ -7719,6 +7852,7 @@ exports[`runtime surface golden fixtures teardown graphify × claude+opencode 1`
|
|
|
7719
7852
|
"deny": [
|
|
7720
7853
|
"EnterPlanMode",
|
|
7721
7854
|
"DesignSync",
|
|
7855
|
+
"SendFeedback",
|
|
7722
7856
|
"Read(**/.env)",
|
|
7723
7857
|
"Edit(**/.env)",
|
|
7724
7858
|
"Read(**/.env.local)",
|
|
@@ -7818,6 +7952,7 @@ exports[`runtime surface golden fixtures teardown tokensave × claude+opencode 1
|
|
|
7818
7952
|
"deny": [
|
|
7819
7953
|
"EnterPlanMode",
|
|
7820
7954
|
"DesignSync",
|
|
7955
|
+
"SendFeedback",
|
|
7821
7956
|
"Read(**/.env)",
|
|
7822
7957
|
"Edit(**/.env)",
|
|
7823
7958
|
"Read(**/.env.local)",
|
|
@@ -7918,6 +8053,7 @@ exports[`runtime surface golden fixtures teardown context-mode × claude+opencod
|
|
|
7918
8053
|
"deny": [
|
|
7919
8054
|
"EnterPlanMode",
|
|
7920
8055
|
"DesignSync",
|
|
8056
|
+
"SendFeedback",
|
|
7921
8057
|
"Read(**/.env)",
|
|
7922
8058
|
"Edit(**/.env)",
|
|
7923
8059
|
"Read(**/.env.local)",
|
|
@@ -8017,6 +8153,7 @@ exports[`runtime surface golden fixtures teardown react-doctor × claude+opencod
|
|
|
8017
8153
|
"deny": [
|
|
8018
8154
|
"EnterPlanMode",
|
|
8019
8155
|
"DesignSync",
|
|
8156
|
+
"SendFeedback",
|
|
8020
8157
|
"Read(**/.env)",
|
|
8021
8158
|
"Edit(**/.env)",
|
|
8022
8159
|
"Read(**/.env.local)",
|
|
@@ -8116,6 +8253,7 @@ exports[`runtime surface golden fixtures teardown openspec × claude+opencode 1`
|
|
|
8116
8253
|
"deny": [
|
|
8117
8254
|
"EnterPlanMode",
|
|
8118
8255
|
"DesignSync",
|
|
8256
|
+
"SendFeedback",
|
|
8119
8257
|
"Read(**/.env)",
|
|
8120
8258
|
"Edit(**/.env)",
|
|
8121
8259
|
"Read(**/.env.local)",
|
|
@@ -8232,6 +8370,7 @@ exports[`runtime surface golden fixtures deselect opencode runtime with graphify
|
|
|
8232
8370
|
"deny": [
|
|
8233
8371
|
"EnterPlanMode",
|
|
8234
8372
|
"DesignSync",
|
|
8373
|
+
"SendFeedback",
|
|
8235
8374
|
"Read(**/.env)",
|
|
8236
8375
|
"Edit(**/.env)",
|
|
8237
8376
|
"Read(**/.env.local)",
|
|
@@ -8415,6 +8554,7 @@ exports[`working repo golden fixtures hub roots set up providers only without co
|
|
|
8415
8554
|
"deny": [
|
|
8416
8555
|
"EnterPlanMode",
|
|
8417
8556
|
"DesignSync",
|
|
8557
|
+
"SendFeedback",
|
|
8418
8558
|
"Read(**/.env)",
|
|
8419
8559
|
"Edit(**/.env)",
|
|
8420
8560
|
"Read(**/.env.local)",
|