@uniqbit/mate-core 1.0.0-canary.3 → 1.0.0-canary.6
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/plugin.json +1 -1
- package/claude-capability-plugins/companion-mentions/hooks/register.ts +1 -1
- package/claude-plugin/hooks/hooks.json +61 -1
- package/claude-plugin/hooks/rtk-worktree-git.mjs +58 -0
- package/claude-plugin/hooks/session-attention.mjs +10 -0
- package/claude-plugin/hooks/session-end.mjs +9 -0
- package/claude-plugin/hooks/session-guidance.mjs +1 -1
- package/claude-plugin/hooks/workflow-turn.mjs +68 -0
- package/opencode-plugin/src/companion.ts +6 -0
- package/opencode-plugin/src/server.ts +46 -4
- package/package.json +5 -2
- package/src/cli/commands/artifact/apply-context.ts +1 -0
- package/src/cli/commands/artifact/artifact.ts +16 -0
- package/src/cli/commands/artifact/delivery/archive.ts +37 -112
- package/src/cli/commands/artifact/delivery/branch-flags.ts +19 -1
- package/src/cli/commands/artifact/delivery/environment.ts +32 -72
- package/src/cli/commands/artifact/delivery/link.ts +69 -33
- package/src/cli/commands/artifact/delivery/output.ts +34 -5
- package/src/cli/commands/artifact/delivery/resolve.ts +101 -0
- package/src/cli/commands/artifact/delivery/submit.ts +164 -0
- package/src/cli/commands/artifact/delivery/take.ts +45 -0
- package/src/cli/commands/artifact/extract-repo-name.ts +1 -1
- package/src/cli/commands/artifact/finish/command.ts +455 -43
- package/src/cli/commands/artifact/finish/engine.ts +79 -61
- package/src/cli/commands/artifact/finish/finisher.ts +5 -12
- package/src/cli/commands/artifact/finish/git.ts +9 -10
- package/src/cli/commands/artifact/finish/openspec.ts +22 -177
- package/src/cli/commands/artifact/finish/secret-scan.ts +5 -43
- package/src/cli/commands/artifact/finish/worktree-cleanup.ts +57 -7
- package/src/cli/commands/artifact/pending/command.ts +119 -6
- package/src/cli/commands/artifact/pending/discovery.ts +7 -11
- package/src/cli/commands/artifact/project/command.ts +60 -0
- package/src/cli/commands/companion/companion.ts +1 -1
- package/src/cli/commands/companion/link.ts +36 -4
- package/src/cli/commands/companion/list.ts +70 -14
- package/src/cli/commands/companion/open.ts +40 -12
- package/src/cli/commands/companion/sync.ts +18 -0
- package/src/cli/commands/companion/update.ts +4 -19
- package/src/cli/commands/doctor.ts +122 -0
- package/src/cli/commands/install.ts +48 -36
- package/src/cli/commands/launch/claude.ts +2 -0
- package/src/cli/commands/launch/shared.ts +33 -6
- package/src/cli/commands/plugin/install.ts +27 -11
- package/src/cli/commands/report/index.ts +180 -184
- package/src/cli/commands/report/markdown.ts +67 -72
- package/src/cli/commands/session/prepare.ts +32 -4
- package/src/cli/commands/session/registry.ts +90 -0
- package/src/cli/commands/shared/companion-selection.ts +3 -1
- package/src/cli/commands/studio/access.ts +6 -14
- package/src/cli/commands/studio/areas.ts +112 -33
- package/src/cli/commands/studio/companion-add.ts +72 -0
- package/src/cli/commands/studio/companion-removal.ts +86 -0
- package/src/cli/commands/studio/graph-model.ts +61 -0
- package/src/cli/commands/studio/graph.ts +336 -0
- package/src/cli/commands/studio/index.ts +4 -4
- package/src/{lib/factory/outcomes/sessions.ts → cli/commands/studio/live-sessions.ts} +26 -2
- package/src/cli/commands/studio/mate-inventory.ts +1 -1
- package/src/cli/commands/studio/payload.ts +223 -30
- package/src/cli/commands/studio/reports.ts +19 -18
- package/src/cli/commands/studio/routes.ts +5 -18
- package/src/cli/commands/studio/selection.ts +12 -5
- package/src/cli/commands/studio/server.ts +321 -198
- package/src/cli/commands/studio/service-host.ts +266 -0
- package/src/cli/commands/studio/services.ts +54 -16
- package/src/cli/commands/studio/skill-files.ts +133 -0
- package/src/cli/commands/studio/studio-app.ts +1 -0
- package/src/cli/commands/studio/terminal.ts +45 -3
- package/src/cli/commands/studio/vault.ts +259 -84
- package/src/cli/commands/studio/views/model.ts +1 -14
- package/src/cli/commands/studio/views/vault/markdown-tree.ts +343 -10
- package/src/cli/commands/unwrap.ts +11 -0
- package/src/cli/commands/update.ts +28 -8
- package/src/cli/commands/vscode/release-vsix.json +4 -0
- package/src/cli/commands/vscode/setup.ts +213 -0
- package/src/cli/commands/vscode/vsix.ts +114 -0
- package/src/cli/commands/workflow/workflow.ts +516 -0
- package/src/cli/commands/working/cleanup.ts +73 -17
- package/src/cli/commands/working/worktree.ts +227 -36
- package/src/cli/commands/wrap.ts +33 -7
- package/src/cli/main.ts +48 -12
- package/src/cli/repo-list-table.tsx +73 -37
- package/src/cli/usage.ts +25 -9
- package/src/factory-host.ts +69 -0
- package/src/hooks/companion-instructions.ts +35 -16
- package/src/hooks/hook-io.ts +18 -1
- package/src/hooks/rtk-worktree-git.ts +48 -0
- package/src/hooks/session-banner.ts +30 -3
- package/src/hooks/session-end.ts +10 -0
- package/src/hooks/session-guidance.ts +10 -6
- package/src/hooks/session-prepare.ts +47 -31
- package/src/hooks/session-register.ts +199 -0
- package/src/hooks/tokensave-route.ts +7 -3
- package/src/hooks/validate-artifact-path.ts +53 -14
- package/src/hooks/workflow-turn.ts +219 -0
- package/src/lib/apply-context/fingerprint.ts +2 -1
- package/src/lib/apply-context/protocol.ts +2 -2
- package/src/lib/artifact-trailer.ts +27 -0
- package/src/lib/change-layout.ts +83 -38
- package/src/lib/delivery/branch-template.ts +114 -0
- package/src/lib/delivery/branches.ts +34 -14
- package/src/lib/delivery/checkout.ts +103 -0
- package/src/lib/delivery/environment.ts +131 -7
- package/src/lib/delivery/merge-git.ts +282 -26
- package/src/lib/delivery/overlap.ts +68 -16
- package/src/lib/delivery/record-delivery.ts +253 -57
- package/src/lib/delivery/record.ts +229 -53
- package/src/lib/delivery/refresh.ts +222 -141
- package/src/lib/delivery/remote.ts +66 -0
- package/src/lib/delivery/repository-access.ts +19 -60
- package/src/lib/delivery/resolve-branch.ts +318 -50
- package/src/lib/delivery/stages.ts +83 -50
- package/src/lib/delivery/staging/apply-chain.ts +164 -0
- package/src/lib/delivery/staging/artifact-type.ts +101 -0
- package/src/lib/delivery/staging/declared-type.ts +277 -0
- package/src/lib/delivery/staging/naming.ts +64 -0
- package/src/lib/delivery/staging/openspec-type.ts +135 -0
- package/src/lib/delivery/staging/pending-edit.ts +291 -0
- package/src/lib/delivery/staging/pending.ts +780 -0
- package/src/lib/delivery/staging/project.ts +373 -0
- package/src/lib/delivery/staging/publish.ts +1024 -0
- package/src/lib/delivery/staging/refs.ts +258 -0
- package/src/lib/delivery/staging/registry.ts +73 -0
- package/src/lib/delivery/staging/replay.ts +308 -0
- package/src/lib/delivery/staging/requirement-blocks.ts +10 -0
- package/src/lib/delivery/staging/resolve.ts +264 -0
- package/src/lib/delivery/staging/settle-linked.ts +290 -0
- package/src/lib/delivery/staging/submit.ts +929 -0
- package/src/lib/delivery/staging/worktree.ts +130 -0
- package/src/lib/delivery/submit-change.ts +443 -0
- package/src/lib/git-key.ts +15 -0
- package/src/lib/install.ts +2 -0
- package/src/lib/opencode-server.ts +238 -0
- package/src/lib/openspec-canonical-frontmatter.ts +159 -0
- package/src/lib/orchestrator/adapters/base.ts +31 -20
- package/src/lib/orchestrator/adapters/claude.ts +162 -4
- package/src/lib/orchestrator/adapters/opencode.ts +55 -2
- package/src/lib/orchestrator/checkout-adoption.ts +125 -0
- package/src/lib/orchestrator/companion-git-sync.ts +152 -16
- package/src/lib/orchestrator/companion-hub.ts +6 -1
- package/src/lib/orchestrator/companion-registry-store.ts +6 -2
- package/src/lib/orchestrator/editor.ts +2 -2
- package/src/lib/orchestrator/engine-floor.ts +48 -0
- package/src/lib/orchestrator/framework-context.ts +41 -15
- package/src/lib/orchestrator/global-config-store.ts +11 -0
- package/src/lib/orchestrator/launcher.ts +49 -3
- package/src/lib/orchestrator/projection-claude-commands.ts +2 -2
- package/src/lib/orchestrator/projection-claude-entry.ts +42 -21
- package/src/lib/orchestrator/projection-claude-links.ts +83 -11
- package/src/lib/orchestrator/projection-claude-skills.ts +30 -4
- package/src/lib/orchestrator/projection-companion-link.ts +12 -1
- package/src/lib/orchestrator/projection-entries.ts +22 -18
- package/src/lib/orchestrator/projection-opencode-copies.ts +65 -21
- package/src/lib/orchestrator/projection-runtime-documents.ts +66 -43
- package/src/lib/orchestrator/projection-types.ts +28 -1
- package/src/lib/orchestrator/refresh-working-claude-links.ts +4 -1
- package/src/lib/orchestrator/registry-checkouts.ts +177 -0
- package/src/lib/orchestrator/repository-link.ts +216 -57
- package/src/lib/orchestrator/serving-claude-wrap.ts +43 -0
- package/src/lib/orchestrator/session-context-link.ts +11 -5
- package/src/lib/orchestrator/session-prepare.ts +53 -8
- package/src/lib/orchestrator/setup-compatibilities.ts +1 -1
- package/src/lib/orchestrator/types.ts +9 -0
- package/src/lib/orchestrator/umbrella-checkouts.ts +102 -0
- package/src/lib/orchestrator/working-repo-projection.ts +24 -4
- package/src/lib/orchestrator/workspace-inventory.ts +5 -1
- package/src/lib/orchestrator/wrap-pass.ts +1 -0
- package/src/lib/prebuilt-workspace-prepare.ts +2 -1
- package/src/lib/prebuilt-workspace.ts +1 -0
- package/src/lib/public-npm.ts +105 -43
- package/src/lib/session-attribution.ts +52 -0
- package/src/lib/session-state.ts +356 -0
- package/src/lib/session-stop.ts +64 -0
- package/src/lib/update-checker.ts +7 -1
- package/src/lib/usage/aggregate.ts +202 -0
- package/src/lib/usage/cache.ts +87 -0
- package/src/lib/usage/claude-pricing.ts +71 -0
- package/src/lib/usage/claude.ts +189 -0
- package/src/lib/usage/collect.ts +56 -0
- package/src/lib/usage/opencode.ts +188 -0
- package/src/lib/usage/records.ts +80 -0
- package/src/lib/usage/rtk-database.ts +72 -0
- package/src/lib/usage/savings.ts +209 -0
- package/src/lib/usage/scope.ts +182 -0
- package/src/lib/usage/source.ts +102 -0
- package/src/lib/usage/types.ts +143 -0
- package/src/lib/usage/window.ts +37 -0
- package/src/lib/workflow/declaration.ts +6 -0
- package/src/lib/workflow/handoff.ts +90 -0
- package/src/lib/workflow/hook-trust.ts +108 -0
- package/src/lib/workflow/position.ts +524 -0
- package/src/lib/workflow/report.ts +79 -0
- package/src/lib/workflow/work.ts +106 -0
- package/src/lib/workset/factory-local.ts +157 -0
- package/src/lib/workset/record.ts +45 -11
- package/src/lib/workset/repositories.ts +118 -25
- package/src/lib/workset/stage.ts +4 -2
- package/src/lib/workset/stages.ts +64 -4
- package/src/lib/workset/worktree-include.ts +161 -0
- package/src/lib/workset/worktree-index.ts +6 -2
- package/src/lib/workset/worktree.ts +665 -89
- package/src/opencode/background-server.ts +145 -0
- package/src/opencode/companion-hooks.ts +55 -14
- package/src/opencode/companion-policy.ts +20 -7
- package/src/opencode/enter-worktree.ts +254 -6
- package/src/opencode/projected-guidance.ts +7 -3
- package/src/opencode/session-register.ts +176 -0
- package/src/opencode/turn-hook.ts +241 -0
- package/src/playbooks/companion-guidance.ts +6 -3
- package/src/plugin-api.ts +42 -0
- package/src/runtime/artifact-trailers.ts +63 -0
- package/src/runtime/claude-bg-isolation.ts +138 -0
- package/src/runtime/claude-delivery-plan.ts +14 -3
- package/src/runtime/claude-hook-group.ts +2 -0
- package/src/runtime/companion-git-state.ts +155 -10
- package/src/runtime/companion-git.ts +96 -13
- package/src/runtime/companion-guidance.ts +107 -8
- package/src/runtime/companion-instructions.ts +1 -1
- package/src/runtime/companion-sync.ts +109 -21
- package/src/runtime/current-branch.ts +24 -0
- package/src/runtime/entered-worktree.ts +24 -0
- package/src/runtime/env-names.ts +2 -2
- package/src/runtime/env.ts +16 -9
- package/src/runtime/forge-remote.ts +48 -0
- package/src/runtime/git-layout.ts +185 -24
- package/src/runtime/git-tracked.ts +60 -0
- package/src/runtime/json-fields.ts +8 -0
- package/src/runtime/launch-env-guard.ts +65 -0
- package/src/runtime/opencode-server-record.ts +136 -0
- package/src/runtime/pending-records.ts +533 -0
- package/src/runtime/projected-guidance.ts +6 -2
- package/src/runtime/projection.ts +40 -6
- package/src/runtime/publication-secret-scan.ts +45 -0
- package/src/runtime/repo-destination.ts +72 -0
- package/src/runtime/repo-local.ts +29 -2
- package/src/runtime/rtk-git-guard.ts +66 -0
- package/src/runtime/runtime-document-manifest.ts +229 -19
- package/src/runtime/runtime-document-manifest.typecheck.ts +10 -0
- package/src/runtime/secret-guard.ts +9 -2
- package/src/runtime/secret-patterns.ts +3 -2
- package/src/runtime/secret-policy-weakening.ts +122 -0
- package/src/runtime/serving-claude-wrap.ts +41 -0
- package/src/runtime/session-context.ts +4 -3
- package/src/runtime/session-registry.ts +434 -0
- package/src/runtime/skill-prefix.ts +75 -0
- package/src/runtime/submitted-arrivals.ts +547 -0
- package/src/runtime/tokensave-route.ts +10 -5
- package/src/runtime/turn-state.d.mts +14 -0
- package/src/runtime/turn-state.mjs +93 -0
- package/src/runtime/umbrella-children.ts +52 -0
- package/src/runtime/umbrella-folder.ts +84 -0
- package/src/runtime/workflow/change-folders.ts +66 -0
- package/src/runtime/workflow/declaration.ts +720 -0
- package/src/runtime/workflow/globs.ts +85 -0
- package/src/runtime/workflow/next-handoff-process.ts +98 -0
- package/src/runtime/workflow/turn.ts +309 -0
- package/src/runtime/workflow/workflow.ts +262 -0
- package/src/runtime/wrap-state.ts +36 -13
- package/src/studio.ts +73 -19
- package/src/templates/capabilities/openspec-cap/{mate-v1 → mate-full}/schema.yaml +3 -3
- package/src/templates/capabilities/openspec-cap/{mate-v1 → mate-full}/templates/design.md +1 -1
- package/src/templates/capabilities/openspec-cap/{mate-v1 → mate-full}/templates/proposal.md +1 -1
- package/src/templates/capabilities/openspec-cap/{mate-v1 → mate-full}/templates/tasks.md +1 -1
- package/src/templates/capabilities/openspec-cap/mate-minimal/schema.yaml +3 -3
- package/src/templates/mate-skills/agents/mate-apply-change/SKILL.md +147 -46
- package/src/templates/mate-skills/agents/mate-apply-change/references/openspec-apply-change.md +1 -1
- package/src/templates/mate-skills/agents/mate-archive-change/SKILL.md +7 -75
- package/src/templates/mate-skills/agents/mate-clarify-intent/SKILL.md +13 -7
- package/src/templates/mate-skills/agents/mate-domain-modeling/SKILL.md +10 -0
- package/src/templates/mate-skills/agents/mate-explore-change/SKILL.md +46 -14
- package/src/templates/mate-skills/agents/mate-propose-change/SKILL.md +51 -38
- package/src/templates/mate-skills/agents/mate-propose-change/references/mate-revise.md +14 -10
- package/src/templates/mate-skills/agents/mate-propose-change/references/openspec-update-change.md +1 -1
- package/src/templates/mate-skills/agents/mate-publish-artifact/SKILL.md +113 -87
- package/src/templates/mate-skills/agents/mate-publish-artifact/references/openspec.md +111 -100
- package/src/templates/mate-skills/agents/mate-show-me/SKILL.md +11 -5
- package/src/templates/mate-skills/agents/mate-simplify-code/SKILL.md +16 -6
- package/src/templates/mate-skills/agents/mate-submit-change/SKILL.md +114 -0
- package/src/templates/mate-skills/claude/mate-apply-change/SKILL.md +147 -46
- package/src/templates/mate-skills/claude/mate-apply-change/references/openspec-apply-change.md +1 -1
- package/src/templates/mate-skills/claude/mate-archive-change/SKILL.md +7 -75
- package/src/templates/mate-skills/claude/mate-clarify-intent/SKILL.md +13 -7
- package/src/templates/mate-skills/claude/mate-domain-modeling/SKILL.md +10 -0
- package/src/templates/mate-skills/claude/mate-explore-change/SKILL.md +46 -14
- package/src/templates/mate-skills/claude/mate-propose-change/SKILL.md +51 -38
- package/src/templates/mate-skills/claude/mate-propose-change/references/mate-revise.md +14 -10
- package/src/templates/mate-skills/claude/mate-propose-change/references/openspec-update-change.md +1 -1
- package/src/templates/mate-skills/claude/mate-publish-artifact/SKILL.md +113 -87
- package/src/templates/mate-skills/claude/mate-publish-artifact/references/openspec.md +111 -100
- package/src/templates/mate-skills/claude/mate-show-me/SKILL.md +11 -5
- package/src/templates/mate-skills/claude/mate-simplify-code/SKILL.md +16 -6
- package/src/templates/mate-skills/claude/mate-submit-change/SKILL.md +114 -0
- package/src/templates/mate-skills/openspec-references.ts +3 -2
- package/src/tools/setup/__snapshots__/runtime-surface-golden.test.ts.snap +1301 -154
- package/src/tools/setup/capabilities/openspec.ts +54 -15
- package/src/tools/setup/capabilities/rtk.ts +98 -5
- package/src/tools/setup/capabilities/tokensave.ts +3 -2
- package/src/tools/setup/dynamic-plugins/api.ts +38 -0
- package/src/tools/setup/dynamic-plugins/audiences.ts +65 -21
- package/src/tools/setup/dynamic-plugins/frozen.ts +32 -13
- package/src/tools/setup/dynamic-plugins/host.ts +2 -32
- package/src/tools/setup/dynamic-plugins/hydrate.ts +8 -7
- package/src/tools/setup/dynamic-plugins/install.ts +24 -22
- package/src/tools/setup/dynamic-plugins/loader.ts +11 -7
- package/src/tools/setup/dynamic-plugins/paths.ts +30 -10
- package/src/tools/setup/dynamic-plugins/verify.ts +10 -7
- package/src/tools/setup/dynamic-plugins/workspaces.ts +153 -0
- package/src/tools/setup/engine.ts +20 -1
- package/src/tools/setup/mate.ts +5 -3
- package/src/tools/setup/package-managers/bun.ts +8 -8
- package/src/tools/setup/plugin.ts +9 -1
- package/src/tools/setup/plugins/gitignore.ts +15 -9
- package/src/tools/setup/plugins/guidance.ts +4 -2
- package/src/tools/setup/providers/claude-plugin-hooks.ts +56 -0
- package/src/tools/setup/providers/claude.ts +64 -7
- package/src/tools/setup/service-registry.ts +69 -0
- package/src/tools/setup/service.ts +233 -0
- package/src/tools/setup/utils.ts +28 -5
- package/src/tools/setup/working-repo-cleanup.ts +2 -2
- package/src/tools/setup/working-repo-local-state.ts +2 -0
- package/src/tools/setup.ts +25 -14
- package/studio-dist/client/assets/app-BFVyWHGo.css +2 -0
- package/studio-dist/client/assets/button-D6LrRkOG.js +1 -0
- package/studio-dist/client/assets/combobox-Dk2MMZWE.js +1 -0
- package/studio-dist/client/assets/companion-view-BVaZNtiI.js +1 -0
- package/studio-dist/client/assets/fields-D_FYhxQr.js +1 -0
- package/studio-dist/client/assets/getting-started-ByWRg7hC.js +1 -0
- package/studio-dist/client/assets/getting-started-DZSjYC-b.js +1 -0
- package/studio-dist/client/assets/getting-started._topic-C6OyQ4G6.js +1 -0
- package/studio-dist/client/assets/getting-started.index-BkmPHdEm.js +1 -0
- package/studio-dist/client/assets/graph-7jm2XzyL.js +2 -0
- package/studio-dist/client/assets/graph-canvas-DDuzsNSx.js +3242 -0
- package/studio-dist/client/assets/guides-D9VTjWXP.js +1 -0
- package/studio-dist/client/assets/index-BBmFpG4y.js +40 -0
- package/studio-dist/client/assets/jsx-runtime-MZURdZre.js +1 -0
- package/studio-dist/client/assets/markdown-view-RL5YvfZg.js +1 -0
- package/studio-dist/client/assets/panel-B8F8sOKQ.js +1 -0
- package/studio-dist/client/assets/plugins._service._view-CynxTbMx.js +1 -0
- package/studio-dist/client/assets/queries-axYk2u9L.js +1 -0
- package/studio-dist/client/assets/react-r45OnJCw.js +27 -0
- package/studio-dist/client/assets/reports-BCAyXh6p.js +1 -0
- package/studio-dist/client/assets/routes-BFPqq89E.js +1 -0
- package/studio-dist/client/assets/skills-DTks_uBx.js +1 -0
- package/studio-dist/client/assets/specs-DU1kqcp5.js +1 -0
- package/studio-dist/client/assets/specs-view-omrd_5P3.js +1 -0
- package/studio-dist/client/assets/steps-DhIFuAZy.js +1 -0
- package/studio-dist/client/assets/store-DJ5cncKA.js +1 -0
- package/studio-dist/client/assets/studio-BR9j15J0.js +100 -0
- package/studio-dist/client/assets/studio-queries-CFP_yTpr.js +2 -0
- package/studio-dist/client/assets/usage-CHmwtkoM.js +55 -0
- package/studio-dist/client/assets/useBaseQuery-BlC-AZ35.js +1 -0
- package/studio-dist/client/assets/useSelector-AYcH7lB0.js +2 -0
- package/studio-dist/client/assets/vault-DRg8MScm.js +1 -0
- package/studio-dist/client/assets/warnings-UHFy6HAp.js +1 -0
- package/studio-dist/client/assets/workflow-Bv9vSfVV.js +1 -0
- package/studio-dist/server/assets/__23tanstack-start-server-fn-resolver-DAbZ6fzY.js +106 -0
- package/studio-dist/server/assets/_tanstack-start-manifest_v.js +86 -31
- package/studio-dist/server/assets/button-BfoNadNR.js +8193 -0
- package/studio-dist/server/assets/combobox-oxUI6r4V.js +2089 -0
- package/studio-dist/server/assets/{companion-view-aBady57v.js → companion-view-DHUjPpA0.js} +13 -7
- package/studio-dist/server/assets/companions-kBrJZAd6.js +31 -0
- package/studio-dist/server/assets/{createServerRpc-tK2lE9R2.js → createServerRpc-bFKFpGFG.js} +1 -1
- package/studio-dist/server/assets/fields-BD_c65T1.js +1190 -0
- package/studio-dist/server/assets/getting-started-7P0oyWaM.js +67 -0
- package/studio-dist/server/assets/getting-started-B136TP57.js +4 -0
- package/studio-dist/server/assets/getting-started._topic-B1mV0kGz.js +13 -0
- package/studio-dist/server/assets/getting-started.index-CeGtvUsm.js +13 -0
- package/studio-dist/server/assets/graph-BWtmJOH2.js +16 -0
- package/studio-dist/server/assets/graph-DSDVEELZ.js +801 -0
- package/studio-dist/server/assets/graph-canvas-CID9Nksc.js +21066 -0
- package/studio-dist/server/assets/graph-wire-BdSUx0G5.js +58 -0
- package/studio-dist/server/assets/guides-BLJenHwQ.js +5 -0
- package/studio-dist/server/assets/guides-Bm3RbUB-.js +13 -0
- package/studio-dist/server/assets/guides.server-rHHqRuzV.js +66 -0
- package/studio-dist/server/assets/jsx-runtime-Bt0s0YKS.js +451 -0
- package/studio-dist/server/assets/markdown-view-D3v9x-cM.js +105 -0
- package/studio-dist/server/assets/panel-yqOl5GMU.js +169 -0
- package/studio-dist/server/assets/plugins._service._view-DwqJX7s9.js +92 -0
- package/studio-dist/server/assets/queries-DYmGrhNO.js +32 -0
- package/studio-dist/server/assets/react-BO0uMhpm.js +89 -0
- package/studio-dist/server/assets/redirect-BaZ_QyqF.js +39 -0
- package/studio-dist/server/assets/reports-7yaPz7aP.js +147 -0
- package/studio-dist/server/assets/reports-C4Y_Jd-x.js +18 -0
- package/studio-dist/server/assets/router-Dnoq5auE.js +12844 -0
- package/studio-dist/server/assets/routes-Cok4p3mK.js +768 -0
- package/studio-dist/server/assets/{search-JAKurDNh.js → search-DUK7Jl6f.js} +21 -2
- package/studio-dist/server/assets/{shell-CboT2f66.js → shell-DNVXedgE.js} +16 -6
- package/studio-dist/server/assets/skills-D8qdXSku.js +267 -0
- package/studio-dist/server/assets/skills-pKmuAs0F.js +28 -0
- package/studio-dist/server/assets/specs-DeHYUNFp.js +51 -0
- package/studio-dist/server/assets/specs-view-BGn-5Ik_.js +425 -0
- package/studio-dist/server/assets/{start-BW5ovN0k.js → start-h3ICWwd2.js} +4 -1
- package/studio-dist/server/assets/steps-CV7Yk7L7.js +224 -0
- package/studio-dist/server/assets/store-CWDGIp6x.js +280 -0
- package/studio-dist/server/assets/studio-CB94np48.js +10437 -0
- package/studio-dist/server/assets/studio-queries-BqZGBE70.js +1335 -0
- package/studio-dist/server/assets/usage-M6Gi6Km7.js +25584 -0
- package/studio-dist/server/assets/usage-j5jR9gX9.js +24 -0
- package/studio-dist/server/assets/{studio-queries-CLnP9kGu.js → useBaseQuery-Tv_QJt9r.js} +4 -1318
- package/studio-dist/server/assets/{__23tanstack-start-server-fn-resolver-BQKuMdJW.js → useSelector-DUmCUXAs.js} +4 -498
- package/studio-dist/server/assets/vault-PqVmssmW.js +1035 -0
- package/studio-dist/server/assets/{vault-BGulVoNh.js → vault-lBlvSyD4.js} +19 -4
- package/studio-dist/server/assets/{views-Bd7cRr27.js → views-CsFp1i1G.js} +10 -9
- package/studio-dist/server/assets/warnings-BDs34j_m.js +24 -0
- package/studio-dist/server/assets/workflow-T0eEldsa.js +687 -0
- package/studio-dist/server/server.js +429 -9
- package/src/cli/commands/factory/factory.ts +0 -301
- package/src/cli/commands/report/collector.ts +0 -288
- package/src/cli/commands/studio/factory-credential.ts +0 -49
- package/src/cli/commands/studio/workset-session.ts +0 -131
- package/src/lib/delivery/archive-change.ts +0 -166
- package/src/lib/delivery/forge.ts +0 -279
- package/src/lib/delivery/token.ts +0 -24
- package/src/lib/factory/attach-client.ts +0 -113
- package/src/lib/factory/attach.ts +0 -178
- package/src/lib/factory/broker.ts +0 -190
- package/src/lib/factory/bun-commands.ts +0 -39
- package/src/lib/factory/client.ts +0 -92
- package/src/lib/factory/command.ts +0 -61
- package/src/lib/factory/credential-store.ts +0 -153
- package/src/lib/factory/frames.ts +0 -77
- package/src/lib/factory/ids.ts +0 -58
- package/src/lib/factory/outcomes/actions.ts +0 -114
- package/src/lib/factory/outcomes/index.ts +0 -381
- package/src/lib/factory/outcomes/lifecycle.ts +0 -205
- package/src/lib/factory/outcomes/runs.ts +0 -81
- package/src/lib/factory/prepare.ts +0 -49
- package/src/lib/factory/pty.ts +0 -103
- package/src/lib/factory/runner/companion-context.ts +0 -178
- package/src/lib/factory/runner/control.ts +0 -92
- package/src/lib/factory/runner/harness-agent.ts +0 -250
- package/src/lib/factory/runner/live.ts +0 -159
- package/src/lib/factory/runner/questions.ts +0 -22
- package/src/lib/factory/runner/rank.ts +0 -26
- package/src/lib/factory/runner/run-policy.ts +0 -12
- package/src/lib/factory/runner/run.ts +0 -199
- package/src/lib/factory/runner/scheduler.ts +0 -416
- package/src/lib/factory/runner/state.ts +0 -233
- package/src/lib/factory/runner/workflow.ts +0 -542
- package/src/lib/factory/runtime.ts +0 -972
- package/src/lib/factory/sandbox.ts +0 -292
- package/src/lib/factory/worktree-branch.ts +0 -17
- package/src/templates/capabilities/openspec-cap/mate-v1/templates/explore-brief.md +0 -25
- package/studio-dist/client/assets/companion-view-Csva26Ir.js +0 -1
- package/studio-dist/client/assets/delivery-path-DJMpRmiY.js +0 -1
- package/studio-dist/client/assets/factory-B7l9ZQyx.js +0 -4
- package/studio-dist/client/assets/index-n6uo_92S.js +0 -40
- package/studio-dist/client/assets/prepaint-CD5OpmTM.js +0 -24
- package/studio-dist/client/assets/queries-CN3JwMBX.js +0 -1
- package/studio-dist/client/assets/react-CabXf2Ds.js +0 -1
- package/studio-dist/client/assets/report-time-Dc-KOqQu.js +0 -1
- package/studio-dist/client/assets/reports-C01RsnMA.js +0 -1
- package/studio-dist/client/assets/rolldown-runtime-WkwZ5CU-.js +0 -1
- package/studio-dist/client/assets/routes-4pbC-2Hj.js +0 -1
- package/studio-dist/client/assets/skills-CihQganl.js +0 -1
- package/studio-dist/client/assets/spec-areas-C2L48N4C.js +0 -1
- package/studio-dist/client/assets/specs-D24_35_K.js +0 -1
- package/studio-dist/client/assets/studio-DKxfi691.css +0 -1
- package/studio-dist/client/assets/studio-queries-rvbJupCy.js +0 -3
- package/studio-dist/client/assets/vault-Bd4CQiTK.js +0 -1
- package/studio-dist/client/assets/warnings-V_Ys51wJ.js +0 -1
- package/studio-dist/client/assets/workflow-BJejeVwQ.js +0 -1
- package/studio-dist/server/assets/actions-Bvgj9eb8.js +0 -54
- package/studio-dist/server/assets/createServerFn-F5sAOF8V.js +0 -459
- package/studio-dist/server/assets/delivery-path-BkKNjgkf.js +0 -778
- package/studio-dist/server/assets/factory-D6xnjedJ.js +0 -2385
- package/studio-dist/server/assets/factory-DT3UzHlh.js +0 -68
- package/studio-dist/server/assets/prepaint-BMke0fo1.js +0 -41
- package/studio-dist/server/assets/queries-Ag2iL8q2.js +0 -107
- package/studio-dist/server/assets/react-COs0LHn-.js +0 -51
- package/studio-dist/server/assets/report-time-DAfzln-N.js +0 -8
- package/studio-dist/server/assets/reports-BnUNJVtx.js +0 -126
- package/studio-dist/server/assets/rolldown-runtime-DYf_mQCB.js +0 -34
- package/studio-dist/server/assets/router-BH--drIx.js +0 -4298
- package/studio-dist/server/assets/routes-khSDK1bV.js +0 -361
- package/studio-dist/server/assets/skills-MWYnWoKs.js +0 -106
- package/studio-dist/server/assets/spec-areas-DcnO6vW-.js +0 -16
- package/studio-dist/server/assets/specs-DE3w8hZP.js +0 -155
- package/studio-dist/server/assets/studio-BeltxxKt.js +0 -216
- package/studio-dist/server/assets/vault-CuyyhLyB.js +0 -832
- package/studio-dist/server/assets/warnings-BH05rOuG.js +0 -15
- package/studio-dist/server/assets/workflow-BSuIKWqH.js +0 -42
- /package/src/lib/{factory/keyed-serial.ts → keyed-serial.ts} +0 -0
- /package/src/templates/capabilities/openspec-cap/{mate-v1 → mate-full}/templates/spec.md +0 -0
|
@@ -53,6 +53,9 @@ exports[`runtime surface golden fixtures setup graphify × claude 1`] = `
|
|
|
53
53
|
"Read(<root>/companion/**)",
|
|
54
54
|
"Skill(graphify)",
|
|
55
55
|
],
|
|
56
|
+
"ask": [
|
|
57
|
+
"Edit(/<root>/companion/.mate/config/framework.yaml)",
|
|
58
|
+
],
|
|
56
59
|
"deny": [
|
|
57
60
|
"EnterPlanMode",
|
|
58
61
|
"DesignSync",
|
|
@@ -140,9 +143,8 @@ exports[`runtime surface golden fixtures setup graphify × claude 2`] = `
|
|
|
140
143
|
<linked-repository id="app" />
|
|
141
144
|
</context>
|
|
142
145
|
<mandatory-rules>
|
|
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>
|
|
146
|
+
<rule id="artifact-location" severity="critical">Agent artifacts MUST go to <root>/companion, NEVER <root>/working, which holds product code (README, docs, source, tests). Artifacts include plans, specs, ADRs, todos, notes, handoffs, reasoning docs, and scratch files.</rule>
|
|
144
147
|
<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>
|
|
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
148
|
<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
149
|
<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
150
|
<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>
|
|
@@ -204,6 +206,15 @@ exports[`runtime surface golden fixtures setup graphify × claude 3`] = `
|
|
|
204
206
|
],
|
|
205
207
|
"matcher": "mcp__tokensave__.*",
|
|
206
208
|
},
|
|
209
|
+
{
|
|
210
|
+
"hooks": [
|
|
211
|
+
{
|
|
212
|
+
"command": "node "<runtime-claude-plugin>/hooks/rtk-worktree-git.mjs"",
|
|
213
|
+
"type": "command",
|
|
214
|
+
},
|
|
215
|
+
],
|
|
216
|
+
"matcher": "Bash",
|
|
217
|
+
},
|
|
207
218
|
],
|
|
208
219
|
},
|
|
209
220
|
{
|
|
@@ -257,6 +268,92 @@ exports[`runtime surface golden fixtures setup graphify × claude 3`] = `
|
|
|
257
268
|
},
|
|
258
269
|
],
|
|
259
270
|
},
|
|
271
|
+
{
|
|
272
|
+
"at": [
|
|
273
|
+
"hooks",
|
|
274
|
+
"SessionEnd",
|
|
275
|
+
],
|
|
276
|
+
"kind": "list",
|
|
277
|
+
"values": [
|
|
278
|
+
{
|
|
279
|
+
"hooks": [
|
|
280
|
+
{
|
|
281
|
+
"command": "node "<runtime-claude-plugin>/hooks/session-end.mjs" --projected",
|
|
282
|
+
"type": "command",
|
|
283
|
+
},
|
|
284
|
+
],
|
|
285
|
+
},
|
|
286
|
+
],
|
|
287
|
+
},
|
|
288
|
+
{
|
|
289
|
+
"at": [
|
|
290
|
+
"hooks",
|
|
291
|
+
"Notification",
|
|
292
|
+
],
|
|
293
|
+
"kind": "list",
|
|
294
|
+
"values": [
|
|
295
|
+
{
|
|
296
|
+
"hooks": [
|
|
297
|
+
{
|
|
298
|
+
"command": "node "<runtime-claude-plugin>/hooks/session-attention.mjs" --projected",
|
|
299
|
+
"type": "command",
|
|
300
|
+
},
|
|
301
|
+
],
|
|
302
|
+
},
|
|
303
|
+
],
|
|
304
|
+
},
|
|
305
|
+
{
|
|
306
|
+
"at": [
|
|
307
|
+
"hooks",
|
|
308
|
+
"UserPromptSubmit",
|
|
309
|
+
],
|
|
310
|
+
"kind": "list",
|
|
311
|
+
"values": [
|
|
312
|
+
{
|
|
313
|
+
"hooks": [
|
|
314
|
+
{
|
|
315
|
+
"command": "node "<runtime-claude-plugin>/hooks/workflow-turn.mjs" --projected",
|
|
316
|
+
"type": "command",
|
|
317
|
+
},
|
|
318
|
+
],
|
|
319
|
+
},
|
|
320
|
+
],
|
|
321
|
+
},
|
|
322
|
+
{
|
|
323
|
+
"at": [
|
|
324
|
+
"hooks",
|
|
325
|
+
"PostToolUse",
|
|
326
|
+
],
|
|
327
|
+
"kind": "list",
|
|
328
|
+
"values": [
|
|
329
|
+
{
|
|
330
|
+
"hooks": [
|
|
331
|
+
{
|
|
332
|
+
"command": "node "<runtime-claude-plugin>/hooks/workflow-turn.mjs" --projected",
|
|
333
|
+
"type": "command",
|
|
334
|
+
},
|
|
335
|
+
],
|
|
336
|
+
"matcher": "Skill|Bash",
|
|
337
|
+
},
|
|
338
|
+
],
|
|
339
|
+
},
|
|
340
|
+
{
|
|
341
|
+
"at": [
|
|
342
|
+
"hooks",
|
|
343
|
+
"Stop",
|
|
344
|
+
],
|
|
345
|
+
"kind": "list",
|
|
346
|
+
"values": [
|
|
347
|
+
{
|
|
348
|
+
"hooks": [
|
|
349
|
+
{
|
|
350
|
+
"command": "node "<runtime-claude-plugin>/hooks/workflow-turn.mjs" --projected",
|
|
351
|
+
"type": "command",
|
|
352
|
+
},
|
|
353
|
+
],
|
|
354
|
+
},
|
|
355
|
+
],
|
|
356
|
+
},
|
|
260
357
|
{
|
|
261
358
|
"at": [
|
|
262
359
|
"env",
|
|
@@ -325,6 +422,16 @@ exports[`runtime surface golden fixtures setup graphify × claude 3`] = `
|
|
|
325
422
|
"Edit(**/.npmrc)",
|
|
326
423
|
],
|
|
327
424
|
},
|
|
425
|
+
{
|
|
426
|
+
"at": [
|
|
427
|
+
"permissions",
|
|
428
|
+
"ask",
|
|
429
|
+
],
|
|
430
|
+
"kind": "list",
|
|
431
|
+
"values": [
|
|
432
|
+
"Edit(/<root>/companion/.mate/config/framework.yaml)",
|
|
433
|
+
],
|
|
434
|
+
},
|
|
328
435
|
{
|
|
329
436
|
"at": [
|
|
330
437
|
"enableArtifact",
|
|
@@ -453,9 +560,8 @@ exports[`runtime surface golden fixtures setup graphify × opencode 2`] = `
|
|
|
453
560
|
<linked-repository id="$MATE_REPO_ID" />
|
|
454
561
|
</context>
|
|
455
562
|
<mandatory-rules>
|
|
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>
|
|
563
|
+
<rule id="artifact-location" severity="critical">Agent artifacts MUST go to $MATE_ARTIFACT_PATH, NEVER $MATE_REPO_PATH, which holds product code (README, docs, source, tests). Artifacts include plans, specs, ADRs, todos, notes, handoffs, reasoning docs, and scratch files.</rule>
|
|
457
564
|
<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>
|
|
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
565
|
<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
566
|
<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
567
|
<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>
|
|
@@ -766,6 +872,9 @@ exports[`runtime surface golden fixtures setup graphify × claude+opencode 1`] =
|
|
|
766
872
|
"Read(<root>/companion/**)",
|
|
767
873
|
"Skill(graphify)",
|
|
768
874
|
],
|
|
875
|
+
"ask": [
|
|
876
|
+
"Edit(/<root>/companion/.mate/config/framework.yaml)",
|
|
877
|
+
],
|
|
769
878
|
"deny": [
|
|
770
879
|
"EnterPlanMode",
|
|
771
880
|
"DesignSync",
|
|
@@ -890,9 +999,8 @@ exports[`runtime surface golden fixtures setup graphify × claude+opencode 2`] =
|
|
|
890
999
|
<linked-repository id="app" />
|
|
891
1000
|
</context>
|
|
892
1001
|
<mandatory-rules>
|
|
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>
|
|
1002
|
+
<rule id="artifact-location" severity="critical">Agent artifacts MUST go to <root>/companion, NEVER <root>/working, which holds product code (README, docs, source, tests). Artifacts include plans, specs, ADRs, todos, notes, handoffs, reasoning docs, and scratch files.</rule>
|
|
894
1003
|
<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>
|
|
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
1004
|
<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
1005
|
<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
1006
|
<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>
|
|
@@ -958,9 +1066,8 @@ exports[`runtime surface golden fixtures setup graphify × claude+opencode 2`] =
|
|
|
958
1066
|
<linked-repository id="$MATE_REPO_ID" />
|
|
959
1067
|
</context>
|
|
960
1068
|
<mandatory-rules>
|
|
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>
|
|
1069
|
+
<rule id="artifact-location" severity="critical">Agent artifacts MUST go to $MATE_ARTIFACT_PATH, NEVER $MATE_REPO_PATH, which holds product code (README, docs, source, tests). Artifacts include plans, specs, ADRs, todos, notes, handoffs, reasoning docs, and scratch files.</rule>
|
|
962
1070
|
<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>
|
|
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
1071
|
<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
1072
|
<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
1073
|
<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>
|
|
@@ -1008,6 +1115,15 @@ exports[`runtime surface golden fixtures setup graphify × claude+opencode 3`] =
|
|
|
1008
1115
|
],
|
|
1009
1116
|
"matcher": "mcp__tokensave__.*",
|
|
1010
1117
|
},
|
|
1118
|
+
{
|
|
1119
|
+
"hooks": [
|
|
1120
|
+
{
|
|
1121
|
+
"command": "node "<runtime-claude-plugin>/hooks/rtk-worktree-git.mjs"",
|
|
1122
|
+
"type": "command",
|
|
1123
|
+
},
|
|
1124
|
+
],
|
|
1125
|
+
"matcher": "Bash",
|
|
1126
|
+
},
|
|
1011
1127
|
],
|
|
1012
1128
|
},
|
|
1013
1129
|
{
|
|
@@ -1061,6 +1177,92 @@ exports[`runtime surface golden fixtures setup graphify × claude+opencode 3`] =
|
|
|
1061
1177
|
},
|
|
1062
1178
|
],
|
|
1063
1179
|
},
|
|
1180
|
+
{
|
|
1181
|
+
"at": [
|
|
1182
|
+
"hooks",
|
|
1183
|
+
"SessionEnd",
|
|
1184
|
+
],
|
|
1185
|
+
"kind": "list",
|
|
1186
|
+
"values": [
|
|
1187
|
+
{
|
|
1188
|
+
"hooks": [
|
|
1189
|
+
{
|
|
1190
|
+
"command": "node "<runtime-claude-plugin>/hooks/session-end.mjs" --projected",
|
|
1191
|
+
"type": "command",
|
|
1192
|
+
},
|
|
1193
|
+
],
|
|
1194
|
+
},
|
|
1195
|
+
],
|
|
1196
|
+
},
|
|
1197
|
+
{
|
|
1198
|
+
"at": [
|
|
1199
|
+
"hooks",
|
|
1200
|
+
"Notification",
|
|
1201
|
+
],
|
|
1202
|
+
"kind": "list",
|
|
1203
|
+
"values": [
|
|
1204
|
+
{
|
|
1205
|
+
"hooks": [
|
|
1206
|
+
{
|
|
1207
|
+
"command": "node "<runtime-claude-plugin>/hooks/session-attention.mjs" --projected",
|
|
1208
|
+
"type": "command",
|
|
1209
|
+
},
|
|
1210
|
+
],
|
|
1211
|
+
},
|
|
1212
|
+
],
|
|
1213
|
+
},
|
|
1214
|
+
{
|
|
1215
|
+
"at": [
|
|
1216
|
+
"hooks",
|
|
1217
|
+
"UserPromptSubmit",
|
|
1218
|
+
],
|
|
1219
|
+
"kind": "list",
|
|
1220
|
+
"values": [
|
|
1221
|
+
{
|
|
1222
|
+
"hooks": [
|
|
1223
|
+
{
|
|
1224
|
+
"command": "node "<runtime-claude-plugin>/hooks/workflow-turn.mjs" --projected",
|
|
1225
|
+
"type": "command",
|
|
1226
|
+
},
|
|
1227
|
+
],
|
|
1228
|
+
},
|
|
1229
|
+
],
|
|
1230
|
+
},
|
|
1231
|
+
{
|
|
1232
|
+
"at": [
|
|
1233
|
+
"hooks",
|
|
1234
|
+
"PostToolUse",
|
|
1235
|
+
],
|
|
1236
|
+
"kind": "list",
|
|
1237
|
+
"values": [
|
|
1238
|
+
{
|
|
1239
|
+
"hooks": [
|
|
1240
|
+
{
|
|
1241
|
+
"command": "node "<runtime-claude-plugin>/hooks/workflow-turn.mjs" --projected",
|
|
1242
|
+
"type": "command",
|
|
1243
|
+
},
|
|
1244
|
+
],
|
|
1245
|
+
"matcher": "Skill|Bash",
|
|
1246
|
+
},
|
|
1247
|
+
],
|
|
1248
|
+
},
|
|
1249
|
+
{
|
|
1250
|
+
"at": [
|
|
1251
|
+
"hooks",
|
|
1252
|
+
"Stop",
|
|
1253
|
+
],
|
|
1254
|
+
"kind": "list",
|
|
1255
|
+
"values": [
|
|
1256
|
+
{
|
|
1257
|
+
"hooks": [
|
|
1258
|
+
{
|
|
1259
|
+
"command": "node "<runtime-claude-plugin>/hooks/workflow-turn.mjs" --projected",
|
|
1260
|
+
"type": "command",
|
|
1261
|
+
},
|
|
1262
|
+
],
|
|
1263
|
+
},
|
|
1264
|
+
],
|
|
1265
|
+
},
|
|
1064
1266
|
{
|
|
1065
1267
|
"at": [
|
|
1066
1268
|
"env",
|
|
@@ -1129,6 +1331,16 @@ exports[`runtime surface golden fixtures setup graphify × claude+opencode 3`] =
|
|
|
1129
1331
|
"Edit(**/.npmrc)",
|
|
1130
1332
|
],
|
|
1131
1333
|
},
|
|
1334
|
+
{
|
|
1335
|
+
"at": [
|
|
1336
|
+
"permissions",
|
|
1337
|
+
"ask",
|
|
1338
|
+
],
|
|
1339
|
+
"kind": "list",
|
|
1340
|
+
"values": [
|
|
1341
|
+
"Edit(/<root>/companion/.mate/config/framework.yaml)",
|
|
1342
|
+
],
|
|
1343
|
+
},
|
|
1132
1344
|
{
|
|
1133
1345
|
"at": [
|
|
1134
1346
|
"enableArtifact",
|
|
@@ -1475,6 +1687,9 @@ exports[`runtime surface golden fixtures setup tokensave × claude 1`] = `
|
|
|
1475
1687
|
"Read(<root>/companion/**)",
|
|
1476
1688
|
"mcp__tokensave__*",
|
|
1477
1689
|
],
|
|
1690
|
+
"ask": [
|
|
1691
|
+
"Edit(/<root>/companion/.mate/config/framework.yaml)",
|
|
1692
|
+
],
|
|
1478
1693
|
"deny": [
|
|
1479
1694
|
"EnterPlanMode",
|
|
1480
1695
|
"DesignSync",
|
|
@@ -1546,9 +1761,8 @@ exports[`runtime surface golden fixtures setup tokensave × claude 2`] = `
|
|
|
1546
1761
|
<linked-repository id="app" />
|
|
1547
1762
|
</context>
|
|
1548
1763
|
<mandatory-rules>
|
|
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>
|
|
1764
|
+
<rule id="artifact-location" severity="critical">Agent artifacts MUST go to <root>/companion, NEVER <root>/working, which holds product code (README, docs, source, tests). Artifacts include plans, specs, ADRs, todos, notes, handoffs, reasoning docs, and scratch files.</rule>
|
|
1550
1765
|
<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>
|
|
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
1766
|
<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
1767
|
<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
1768
|
<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>
|
|
@@ -1607,6 +1821,15 @@ exports[`runtime surface golden fixtures setup tokensave × claude 3`] = `
|
|
|
1607
1821
|
],
|
|
1608
1822
|
"matcher": "mcp__tokensave__.*",
|
|
1609
1823
|
},
|
|
1824
|
+
{
|
|
1825
|
+
"hooks": [
|
|
1826
|
+
{
|
|
1827
|
+
"command": "node "<runtime-claude-plugin>/hooks/rtk-worktree-git.mjs"",
|
|
1828
|
+
"type": "command",
|
|
1829
|
+
},
|
|
1830
|
+
],
|
|
1831
|
+
"matcher": "Bash",
|
|
1832
|
+
},
|
|
1610
1833
|
{
|
|
1611
1834
|
"hooks": [
|
|
1612
1835
|
{
|
|
@@ -1672,6 +1895,40 @@ exports[`runtime surface golden fixtures setup tokensave × claude 3`] = `
|
|
|
1672
1895
|
},
|
|
1673
1896
|
],
|
|
1674
1897
|
},
|
|
1898
|
+
{
|
|
1899
|
+
"at": [
|
|
1900
|
+
"hooks",
|
|
1901
|
+
"SessionEnd",
|
|
1902
|
+
],
|
|
1903
|
+
"kind": "list",
|
|
1904
|
+
"values": [
|
|
1905
|
+
{
|
|
1906
|
+
"hooks": [
|
|
1907
|
+
{
|
|
1908
|
+
"command": "node "<runtime-claude-plugin>/hooks/session-end.mjs" --projected",
|
|
1909
|
+
"type": "command",
|
|
1910
|
+
},
|
|
1911
|
+
],
|
|
1912
|
+
},
|
|
1913
|
+
],
|
|
1914
|
+
},
|
|
1915
|
+
{
|
|
1916
|
+
"at": [
|
|
1917
|
+
"hooks",
|
|
1918
|
+
"Notification",
|
|
1919
|
+
],
|
|
1920
|
+
"kind": "list",
|
|
1921
|
+
"values": [
|
|
1922
|
+
{
|
|
1923
|
+
"hooks": [
|
|
1924
|
+
{
|
|
1925
|
+
"command": "node "<runtime-claude-plugin>/hooks/session-attention.mjs" --projected",
|
|
1926
|
+
"type": "command",
|
|
1927
|
+
},
|
|
1928
|
+
],
|
|
1929
|
+
},
|
|
1930
|
+
],
|
|
1931
|
+
},
|
|
1675
1932
|
{
|
|
1676
1933
|
"at": [
|
|
1677
1934
|
"hooks",
|
|
@@ -1679,6 +1936,14 @@ exports[`runtime surface golden fixtures setup tokensave × claude 3`] = `
|
|
|
1679
1936
|
],
|
|
1680
1937
|
"kind": "list",
|
|
1681
1938
|
"values": [
|
|
1939
|
+
{
|
|
1940
|
+
"hooks": [
|
|
1941
|
+
{
|
|
1942
|
+
"command": "node "<runtime-claude-plugin>/hooks/workflow-turn.mjs" --projected",
|
|
1943
|
+
"type": "command",
|
|
1944
|
+
},
|
|
1945
|
+
],
|
|
1946
|
+
},
|
|
1682
1947
|
{
|
|
1683
1948
|
"hooks": [
|
|
1684
1949
|
{
|
|
@@ -1692,6 +1957,24 @@ exports[`runtime surface golden fixtures setup tokensave × claude 3`] = `
|
|
|
1692
1957
|
},
|
|
1693
1958
|
],
|
|
1694
1959
|
},
|
|
1960
|
+
{
|
|
1961
|
+
"at": [
|
|
1962
|
+
"hooks",
|
|
1963
|
+
"PostToolUse",
|
|
1964
|
+
],
|
|
1965
|
+
"kind": "list",
|
|
1966
|
+
"values": [
|
|
1967
|
+
{
|
|
1968
|
+
"hooks": [
|
|
1969
|
+
{
|
|
1970
|
+
"command": "node "<runtime-claude-plugin>/hooks/workflow-turn.mjs" --projected",
|
|
1971
|
+
"type": "command",
|
|
1972
|
+
},
|
|
1973
|
+
],
|
|
1974
|
+
"matcher": "Skill|Bash",
|
|
1975
|
+
},
|
|
1976
|
+
],
|
|
1977
|
+
},
|
|
1695
1978
|
{
|
|
1696
1979
|
"at": [
|
|
1697
1980
|
"hooks",
|
|
@@ -1699,6 +1982,14 @@ exports[`runtime surface golden fixtures setup tokensave × claude 3`] = `
|
|
|
1699
1982
|
],
|
|
1700
1983
|
"kind": "list",
|
|
1701
1984
|
"values": [
|
|
1985
|
+
{
|
|
1986
|
+
"hooks": [
|
|
1987
|
+
{
|
|
1988
|
+
"command": "node "<runtime-claude-plugin>/hooks/workflow-turn.mjs" --projected",
|
|
1989
|
+
"type": "command",
|
|
1990
|
+
},
|
|
1991
|
+
],
|
|
1992
|
+
},
|
|
1702
1993
|
{
|
|
1703
1994
|
"hooks": [
|
|
1704
1995
|
{
|
|
@@ -1777,6 +2068,16 @@ exports[`runtime surface golden fixtures setup tokensave × claude 3`] = `
|
|
|
1777
2068
|
"Edit(**/.npmrc)",
|
|
1778
2069
|
],
|
|
1779
2070
|
},
|
|
2071
|
+
{
|
|
2072
|
+
"at": [
|
|
2073
|
+
"permissions",
|
|
2074
|
+
"ask",
|
|
2075
|
+
],
|
|
2076
|
+
"kind": "list",
|
|
2077
|
+
"values": [
|
|
2078
|
+
"Edit(/<root>/companion/.mate/config/framework.yaml)",
|
|
2079
|
+
],
|
|
2080
|
+
},
|
|
1780
2081
|
{
|
|
1781
2082
|
"at": [
|
|
1782
2083
|
"enableArtifact",
|
|
@@ -1914,9 +2215,8 @@ exports[`runtime surface golden fixtures setup tokensave × opencode 2`] = `
|
|
|
1914
2215
|
<linked-repository id="$MATE_REPO_ID" />
|
|
1915
2216
|
</context>
|
|
1916
2217
|
<mandatory-rules>
|
|
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>
|
|
2218
|
+
<rule id="artifact-location" severity="critical">Agent artifacts MUST go to $MATE_ARTIFACT_PATH, NEVER $MATE_REPO_PATH, which holds product code (README, docs, source, tests). Artifacts include plans, specs, ADRs, todos, notes, handoffs, reasoning docs, and scratch files.</rule>
|
|
1918
2219
|
<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>
|
|
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
2220
|
<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
2221
|
<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
2222
|
<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>
|
|
@@ -2277,6 +2577,9 @@ exports[`runtime surface golden fixtures setup tokensave × claude+opencode 1`]
|
|
|
2277
2577
|
"Read(<root>/companion/**)",
|
|
2278
2578
|
"mcp__tokensave__*",
|
|
2279
2579
|
],
|
|
2580
|
+
"ask": [
|
|
2581
|
+
"Edit(/<root>/companion/.mate/config/framework.yaml)",
|
|
2582
|
+
],
|
|
2280
2583
|
"deny": [
|
|
2281
2584
|
"EnterPlanMode",
|
|
2282
2585
|
"DesignSync",
|
|
@@ -2376,9 +2679,8 @@ exports[`runtime surface golden fixtures setup tokensave × claude+opencode 2`]
|
|
|
2376
2679
|
<linked-repository id="app" />
|
|
2377
2680
|
</context>
|
|
2378
2681
|
<mandatory-rules>
|
|
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>
|
|
2682
|
+
<rule id="artifact-location" severity="critical">Agent artifacts MUST go to <root>/companion, NEVER <root>/working, which holds product code (README, docs, source, tests). Artifacts include plans, specs, ADRs, todos, notes, handoffs, reasoning docs, and scratch files.</rule>
|
|
2380
2683
|
<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>
|
|
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
2684
|
<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
2685
|
<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
2686
|
<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>
|
|
@@ -2438,9 +2740,8 @@ exports[`runtime surface golden fixtures setup tokensave × claude+opencode 2`]
|
|
|
2438
2740
|
<linked-repository id="$MATE_REPO_ID" />
|
|
2439
2741
|
</context>
|
|
2440
2742
|
<mandatory-rules>
|
|
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>
|
|
2743
|
+
<rule id="artifact-location" severity="critical">Agent artifacts MUST go to $MATE_ARTIFACT_PATH, NEVER $MATE_REPO_PATH, which holds product code (README, docs, source, tests). Artifacts include plans, specs, ADRs, todos, notes, handoffs, reasoning docs, and scratch files.</rule>
|
|
2442
2744
|
<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>
|
|
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
2745
|
<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
2746
|
<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
2747
|
<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>
|
|
@@ -2488,6 +2789,15 @@ exports[`runtime surface golden fixtures setup tokensave × claude+opencode 3`]
|
|
|
2488
2789
|
],
|
|
2489
2790
|
"matcher": "mcp__tokensave__.*",
|
|
2490
2791
|
},
|
|
2792
|
+
{
|
|
2793
|
+
"hooks": [
|
|
2794
|
+
{
|
|
2795
|
+
"command": "node "<runtime-claude-plugin>/hooks/rtk-worktree-git.mjs"",
|
|
2796
|
+
"type": "command",
|
|
2797
|
+
},
|
|
2798
|
+
],
|
|
2799
|
+
"matcher": "Bash",
|
|
2800
|
+
},
|
|
2491
2801
|
{
|
|
2492
2802
|
"hooks": [
|
|
2493
2803
|
{
|
|
@@ -2553,6 +2863,40 @@ exports[`runtime surface golden fixtures setup tokensave × claude+opencode 3`]
|
|
|
2553
2863
|
},
|
|
2554
2864
|
],
|
|
2555
2865
|
},
|
|
2866
|
+
{
|
|
2867
|
+
"at": [
|
|
2868
|
+
"hooks",
|
|
2869
|
+
"SessionEnd",
|
|
2870
|
+
],
|
|
2871
|
+
"kind": "list",
|
|
2872
|
+
"values": [
|
|
2873
|
+
{
|
|
2874
|
+
"hooks": [
|
|
2875
|
+
{
|
|
2876
|
+
"command": "node "<runtime-claude-plugin>/hooks/session-end.mjs" --projected",
|
|
2877
|
+
"type": "command",
|
|
2878
|
+
},
|
|
2879
|
+
],
|
|
2880
|
+
},
|
|
2881
|
+
],
|
|
2882
|
+
},
|
|
2883
|
+
{
|
|
2884
|
+
"at": [
|
|
2885
|
+
"hooks",
|
|
2886
|
+
"Notification",
|
|
2887
|
+
],
|
|
2888
|
+
"kind": "list",
|
|
2889
|
+
"values": [
|
|
2890
|
+
{
|
|
2891
|
+
"hooks": [
|
|
2892
|
+
{
|
|
2893
|
+
"command": "node "<runtime-claude-plugin>/hooks/session-attention.mjs" --projected",
|
|
2894
|
+
"type": "command",
|
|
2895
|
+
},
|
|
2896
|
+
],
|
|
2897
|
+
},
|
|
2898
|
+
],
|
|
2899
|
+
},
|
|
2556
2900
|
{
|
|
2557
2901
|
"at": [
|
|
2558
2902
|
"hooks",
|
|
@@ -2560,6 +2904,14 @@ exports[`runtime surface golden fixtures setup tokensave × claude+opencode 3`]
|
|
|
2560
2904
|
],
|
|
2561
2905
|
"kind": "list",
|
|
2562
2906
|
"values": [
|
|
2907
|
+
{
|
|
2908
|
+
"hooks": [
|
|
2909
|
+
{
|
|
2910
|
+
"command": "node "<runtime-claude-plugin>/hooks/workflow-turn.mjs" --projected",
|
|
2911
|
+
"type": "command",
|
|
2912
|
+
},
|
|
2913
|
+
],
|
|
2914
|
+
},
|
|
2563
2915
|
{
|
|
2564
2916
|
"hooks": [
|
|
2565
2917
|
{
|
|
@@ -2573,6 +2925,24 @@ exports[`runtime surface golden fixtures setup tokensave × claude+opencode 3`]
|
|
|
2573
2925
|
},
|
|
2574
2926
|
],
|
|
2575
2927
|
},
|
|
2928
|
+
{
|
|
2929
|
+
"at": [
|
|
2930
|
+
"hooks",
|
|
2931
|
+
"PostToolUse",
|
|
2932
|
+
],
|
|
2933
|
+
"kind": "list",
|
|
2934
|
+
"values": [
|
|
2935
|
+
{
|
|
2936
|
+
"hooks": [
|
|
2937
|
+
{
|
|
2938
|
+
"command": "node "<runtime-claude-plugin>/hooks/workflow-turn.mjs" --projected",
|
|
2939
|
+
"type": "command",
|
|
2940
|
+
},
|
|
2941
|
+
],
|
|
2942
|
+
"matcher": "Skill|Bash",
|
|
2943
|
+
},
|
|
2944
|
+
],
|
|
2945
|
+
},
|
|
2576
2946
|
{
|
|
2577
2947
|
"at": [
|
|
2578
2948
|
"hooks",
|
|
@@ -2580,6 +2950,14 @@ exports[`runtime surface golden fixtures setup tokensave × claude+opencode 3`]
|
|
|
2580
2950
|
],
|
|
2581
2951
|
"kind": "list",
|
|
2582
2952
|
"values": [
|
|
2953
|
+
{
|
|
2954
|
+
"hooks": [
|
|
2955
|
+
{
|
|
2956
|
+
"command": "node "<runtime-claude-plugin>/hooks/workflow-turn.mjs" --projected",
|
|
2957
|
+
"type": "command",
|
|
2958
|
+
},
|
|
2959
|
+
],
|
|
2960
|
+
},
|
|
2583
2961
|
{
|
|
2584
2962
|
"hooks": [
|
|
2585
2963
|
{
|
|
@@ -2658,6 +3036,16 @@ exports[`runtime surface golden fixtures setup tokensave × claude+opencode 3`]
|
|
|
2658
3036
|
"Edit(**/.npmrc)",
|
|
2659
3037
|
],
|
|
2660
3038
|
},
|
|
3039
|
+
{
|
|
3040
|
+
"at": [
|
|
3041
|
+
"permissions",
|
|
3042
|
+
"ask",
|
|
3043
|
+
],
|
|
3044
|
+
"kind": "list",
|
|
3045
|
+
"values": [
|
|
3046
|
+
"Edit(/<root>/companion/.mate/config/framework.yaml)",
|
|
3047
|
+
],
|
|
3048
|
+
},
|
|
2661
3049
|
{
|
|
2662
3050
|
"at": [
|
|
2663
3051
|
"enableArtifact",
|
|
@@ -2994,6 +3382,9 @@ exports[`runtime surface golden fixtures setup context-mode × claude 1`] = `
|
|
|
2994
3382
|
"Skill(context-mode:context-mode)",
|
|
2995
3383
|
"mcp__plugin_context-mode_context-mode__*",
|
|
2996
3384
|
],
|
|
3385
|
+
"ask": [
|
|
3386
|
+
"Edit(/<root>/companion/.mate/config/framework.yaml)",
|
|
3387
|
+
],
|
|
2997
3388
|
"deny": [
|
|
2998
3389
|
"EnterPlanMode",
|
|
2999
3390
|
"DesignSync",
|
|
@@ -3065,9 +3456,8 @@ exports[`runtime surface golden fixtures setup context-mode × claude 2`] = `
|
|
|
3065
3456
|
<linked-repository id="app" />
|
|
3066
3457
|
</context>
|
|
3067
3458
|
<mandatory-rules>
|
|
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>
|
|
3459
|
+
<rule id="artifact-location" severity="critical">Agent artifacts MUST go to <root>/companion, NEVER <root>/working, which holds product code (README, docs, source, tests). Artifacts include plans, specs, ADRs, todos, notes, handoffs, reasoning docs, and scratch files.</rule>
|
|
3069
3460
|
<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>
|
|
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
3461
|
<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
3462
|
<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
3463
|
<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>
|
|
@@ -3120,6 +3510,15 @@ exports[`runtime surface golden fixtures setup context-mode × claude 3`] = `
|
|
|
3120
3510
|
],
|
|
3121
3511
|
"matcher": "mcp__tokensave__.*",
|
|
3122
3512
|
},
|
|
3513
|
+
{
|
|
3514
|
+
"hooks": [
|
|
3515
|
+
{
|
|
3516
|
+
"command": "node "<runtime-claude-plugin>/hooks/rtk-worktree-git.mjs"",
|
|
3517
|
+
"type": "command",
|
|
3518
|
+
},
|
|
3519
|
+
],
|
|
3520
|
+
"matcher": "Bash",
|
|
3521
|
+
},
|
|
3123
3522
|
],
|
|
3124
3523
|
},
|
|
3125
3524
|
{
|
|
@@ -3173,6 +3572,92 @@ exports[`runtime surface golden fixtures setup context-mode × claude 3`] = `
|
|
|
3173
3572
|
},
|
|
3174
3573
|
],
|
|
3175
3574
|
},
|
|
3575
|
+
{
|
|
3576
|
+
"at": [
|
|
3577
|
+
"hooks",
|
|
3578
|
+
"SessionEnd",
|
|
3579
|
+
],
|
|
3580
|
+
"kind": "list",
|
|
3581
|
+
"values": [
|
|
3582
|
+
{
|
|
3583
|
+
"hooks": [
|
|
3584
|
+
{
|
|
3585
|
+
"command": "node "<runtime-claude-plugin>/hooks/session-end.mjs" --projected",
|
|
3586
|
+
"type": "command",
|
|
3587
|
+
},
|
|
3588
|
+
],
|
|
3589
|
+
},
|
|
3590
|
+
],
|
|
3591
|
+
},
|
|
3592
|
+
{
|
|
3593
|
+
"at": [
|
|
3594
|
+
"hooks",
|
|
3595
|
+
"Notification",
|
|
3596
|
+
],
|
|
3597
|
+
"kind": "list",
|
|
3598
|
+
"values": [
|
|
3599
|
+
{
|
|
3600
|
+
"hooks": [
|
|
3601
|
+
{
|
|
3602
|
+
"command": "node "<runtime-claude-plugin>/hooks/session-attention.mjs" --projected",
|
|
3603
|
+
"type": "command",
|
|
3604
|
+
},
|
|
3605
|
+
],
|
|
3606
|
+
},
|
|
3607
|
+
],
|
|
3608
|
+
},
|
|
3609
|
+
{
|
|
3610
|
+
"at": [
|
|
3611
|
+
"hooks",
|
|
3612
|
+
"UserPromptSubmit",
|
|
3613
|
+
],
|
|
3614
|
+
"kind": "list",
|
|
3615
|
+
"values": [
|
|
3616
|
+
{
|
|
3617
|
+
"hooks": [
|
|
3618
|
+
{
|
|
3619
|
+
"command": "node "<runtime-claude-plugin>/hooks/workflow-turn.mjs" --projected",
|
|
3620
|
+
"type": "command",
|
|
3621
|
+
},
|
|
3622
|
+
],
|
|
3623
|
+
},
|
|
3624
|
+
],
|
|
3625
|
+
},
|
|
3626
|
+
{
|
|
3627
|
+
"at": [
|
|
3628
|
+
"hooks",
|
|
3629
|
+
"PostToolUse",
|
|
3630
|
+
],
|
|
3631
|
+
"kind": "list",
|
|
3632
|
+
"values": [
|
|
3633
|
+
{
|
|
3634
|
+
"hooks": [
|
|
3635
|
+
{
|
|
3636
|
+
"command": "node "<runtime-claude-plugin>/hooks/workflow-turn.mjs" --projected",
|
|
3637
|
+
"type": "command",
|
|
3638
|
+
},
|
|
3639
|
+
],
|
|
3640
|
+
"matcher": "Skill|Bash",
|
|
3641
|
+
},
|
|
3642
|
+
],
|
|
3643
|
+
},
|
|
3644
|
+
{
|
|
3645
|
+
"at": [
|
|
3646
|
+
"hooks",
|
|
3647
|
+
"Stop",
|
|
3648
|
+
],
|
|
3649
|
+
"kind": "list",
|
|
3650
|
+
"values": [
|
|
3651
|
+
{
|
|
3652
|
+
"hooks": [
|
|
3653
|
+
{
|
|
3654
|
+
"command": "node "<runtime-claude-plugin>/hooks/workflow-turn.mjs" --projected",
|
|
3655
|
+
"type": "command",
|
|
3656
|
+
},
|
|
3657
|
+
],
|
|
3658
|
+
},
|
|
3659
|
+
],
|
|
3660
|
+
},
|
|
3176
3661
|
{
|
|
3177
3662
|
"at": [
|
|
3178
3663
|
"env",
|
|
@@ -3239,6 +3724,16 @@ exports[`runtime surface golden fixtures setup context-mode × claude 3`] = `
|
|
|
3239
3724
|
"Edit(**/.npmrc)",
|
|
3240
3725
|
],
|
|
3241
3726
|
},
|
|
3727
|
+
{
|
|
3728
|
+
"at": [
|
|
3729
|
+
"permissions",
|
|
3730
|
+
"ask",
|
|
3731
|
+
],
|
|
3732
|
+
"kind": "list",
|
|
3733
|
+
"values": [
|
|
3734
|
+
"Edit(/<root>/companion/.mate/config/framework.yaml)",
|
|
3735
|
+
],
|
|
3736
|
+
},
|
|
3242
3737
|
{
|
|
3243
3738
|
"at": [
|
|
3244
3739
|
"enableArtifact",
|
|
@@ -3346,9 +3841,8 @@ exports[`runtime surface golden fixtures setup context-mode × opencode 2`] = `
|
|
|
3346
3841
|
<linked-repository id="$MATE_REPO_ID" />
|
|
3347
3842
|
</context>
|
|
3348
3843
|
<mandatory-rules>
|
|
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>
|
|
3844
|
+
<rule id="artifact-location" severity="critical">Agent artifacts MUST go to $MATE_ARTIFACT_PATH, NEVER $MATE_REPO_PATH, which holds product code (README, docs, source, tests). Artifacts include plans, specs, ADRs, todos, notes, handoffs, reasoning docs, and scratch files.</rule>
|
|
3350
3845
|
<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>
|
|
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
3846
|
<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
3847
|
<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
3848
|
<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>
|
|
@@ -3653,6 +4147,9 @@ Canonical Mate policy and any more specific tool-routing instructions remain aut
|
|
|
3653
4147
|
"Skill(context-mode:context-mode)",
|
|
3654
4148
|
"mcp__plugin_context-mode_context-mode__*",
|
|
3655
4149
|
],
|
|
4150
|
+
"ask": [
|
|
4151
|
+
"Edit(/<root>/companion/.mate/config/framework.yaml)",
|
|
4152
|
+
],
|
|
3656
4153
|
"deny": [
|
|
3657
4154
|
"EnterPlanMode",
|
|
3658
4155
|
"DesignSync",
|
|
@@ -3743,9 +4240,8 @@ exports[`runtime surface golden fixtures setup context-mode × claude+opencode 2
|
|
|
3743
4240
|
<linked-repository id="app" />
|
|
3744
4241
|
</context>
|
|
3745
4242
|
<mandatory-rules>
|
|
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>
|
|
4243
|
+
<rule id="artifact-location" severity="critical">Agent artifacts MUST go to <root>/companion, NEVER <root>/working, which holds product code (README, docs, source, tests). Artifacts include plans, specs, ADRs, todos, notes, handoffs, reasoning docs, and scratch files.</rule>
|
|
3747
4244
|
<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>
|
|
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
4245
|
<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
4246
|
<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
4247
|
<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>
|
|
@@ -3791,9 +4287,8 @@ exports[`runtime surface golden fixtures setup context-mode × claude+opencode 2
|
|
|
3791
4287
|
<linked-repository id="$MATE_REPO_ID" />
|
|
3792
4288
|
</context>
|
|
3793
4289
|
<mandatory-rules>
|
|
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>
|
|
4290
|
+
<rule id="artifact-location" severity="critical">Agent artifacts MUST go to $MATE_ARTIFACT_PATH, NEVER $MATE_REPO_PATH, which holds product code (README, docs, source, tests). Artifacts include plans, specs, ADRs, todos, notes, handoffs, reasoning docs, and scratch files.</rule>
|
|
3795
4291
|
<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>
|
|
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
4292
|
<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
4293
|
<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
4294
|
<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>
|
|
@@ -3839,55 +4334,150 @@ exports[`runtime surface golden fixtures setup context-mode × claude+opencode 3
|
|
|
3839
4334
|
"type": "command",
|
|
3840
4335
|
},
|
|
3841
4336
|
],
|
|
3842
|
-
"matcher": "mcp__tokensave__.*",
|
|
4337
|
+
"matcher": "mcp__tokensave__.*",
|
|
4338
|
+
},
|
|
4339
|
+
{
|
|
4340
|
+
"hooks": [
|
|
4341
|
+
{
|
|
4342
|
+
"command": "node "<runtime-claude-plugin>/hooks/rtk-worktree-git.mjs"",
|
|
4343
|
+
"type": "command",
|
|
4344
|
+
},
|
|
4345
|
+
],
|
|
4346
|
+
"matcher": "Bash",
|
|
4347
|
+
},
|
|
4348
|
+
],
|
|
4349
|
+
},
|
|
4350
|
+
{
|
|
4351
|
+
"at": [
|
|
4352
|
+
"hooks",
|
|
4353
|
+
"SessionStart",
|
|
4354
|
+
],
|
|
4355
|
+
"kind": "list",
|
|
4356
|
+
"values": [
|
|
4357
|
+
{
|
|
4358
|
+
"hooks": [
|
|
4359
|
+
{
|
|
4360
|
+
"command": "node "<runtime-claude-plugin>/hooks/session-banner.mjs" --projected",
|
|
4361
|
+
"type": "command",
|
|
4362
|
+
},
|
|
4363
|
+
],
|
|
4364
|
+
},
|
|
4365
|
+
{
|
|
4366
|
+
"hooks": [
|
|
4367
|
+
{
|
|
4368
|
+
"command": "node "<runtime-claude-plugin>/hooks/session-guidance.mjs"",
|
|
4369
|
+
"type": "command",
|
|
4370
|
+
},
|
|
4371
|
+
],
|
|
4372
|
+
},
|
|
4373
|
+
{
|
|
4374
|
+
"hooks": [
|
|
4375
|
+
{
|
|
4376
|
+
"command": "node "<runtime-claude-plugin>/hooks/session-prepare.mjs" --projected",
|
|
4377
|
+
"timeout": 45,
|
|
4378
|
+
"type": "command",
|
|
4379
|
+
},
|
|
4380
|
+
],
|
|
4381
|
+
},
|
|
4382
|
+
],
|
|
4383
|
+
},
|
|
4384
|
+
{
|
|
4385
|
+
"at": [
|
|
4386
|
+
"hooks",
|
|
4387
|
+
"SubagentStart",
|
|
4388
|
+
],
|
|
4389
|
+
"kind": "list",
|
|
4390
|
+
"values": [
|
|
4391
|
+
{
|
|
4392
|
+
"hooks": [
|
|
4393
|
+
{
|
|
4394
|
+
"command": "node "<runtime-claude-plugin>/hooks/companion-instructions.mjs" --projected",
|
|
4395
|
+
"type": "command",
|
|
4396
|
+
},
|
|
4397
|
+
],
|
|
4398
|
+
},
|
|
4399
|
+
],
|
|
4400
|
+
},
|
|
4401
|
+
{
|
|
4402
|
+
"at": [
|
|
4403
|
+
"hooks",
|
|
4404
|
+
"SessionEnd",
|
|
4405
|
+
],
|
|
4406
|
+
"kind": "list",
|
|
4407
|
+
"values": [
|
|
4408
|
+
{
|
|
4409
|
+
"hooks": [
|
|
4410
|
+
{
|
|
4411
|
+
"command": "node "<runtime-claude-plugin>/hooks/session-end.mjs" --projected",
|
|
4412
|
+
"type": "command",
|
|
4413
|
+
},
|
|
4414
|
+
],
|
|
3843
4415
|
},
|
|
3844
4416
|
],
|
|
3845
4417
|
},
|
|
3846
4418
|
{
|
|
3847
4419
|
"at": [
|
|
3848
4420
|
"hooks",
|
|
3849
|
-
"
|
|
4421
|
+
"Notification",
|
|
3850
4422
|
],
|
|
3851
4423
|
"kind": "list",
|
|
3852
4424
|
"values": [
|
|
3853
4425
|
{
|
|
3854
4426
|
"hooks": [
|
|
3855
4427
|
{
|
|
3856
|
-
"command": "node "<runtime-claude-plugin>/hooks/session-
|
|
4428
|
+
"command": "node "<runtime-claude-plugin>/hooks/session-attention.mjs" --projected",
|
|
3857
4429
|
"type": "command",
|
|
3858
4430
|
},
|
|
3859
4431
|
],
|
|
3860
4432
|
},
|
|
4433
|
+
],
|
|
4434
|
+
},
|
|
4435
|
+
{
|
|
4436
|
+
"at": [
|
|
4437
|
+
"hooks",
|
|
4438
|
+
"UserPromptSubmit",
|
|
4439
|
+
],
|
|
4440
|
+
"kind": "list",
|
|
4441
|
+
"values": [
|
|
3861
4442
|
{
|
|
3862
4443
|
"hooks": [
|
|
3863
4444
|
{
|
|
3864
|
-
"command": "node "<runtime-claude-plugin>/hooks/
|
|
4445
|
+
"command": "node "<runtime-claude-plugin>/hooks/workflow-turn.mjs" --projected",
|
|
3865
4446
|
"type": "command",
|
|
3866
4447
|
},
|
|
3867
4448
|
],
|
|
3868
4449
|
},
|
|
4450
|
+
],
|
|
4451
|
+
},
|
|
4452
|
+
{
|
|
4453
|
+
"at": [
|
|
4454
|
+
"hooks",
|
|
4455
|
+
"PostToolUse",
|
|
4456
|
+
],
|
|
4457
|
+
"kind": "list",
|
|
4458
|
+
"values": [
|
|
3869
4459
|
{
|
|
3870
4460
|
"hooks": [
|
|
3871
4461
|
{
|
|
3872
|
-
"command": "node "<runtime-claude-plugin>/hooks/
|
|
3873
|
-
"timeout": 45,
|
|
4462
|
+
"command": "node "<runtime-claude-plugin>/hooks/workflow-turn.mjs" --projected",
|
|
3874
4463
|
"type": "command",
|
|
3875
4464
|
},
|
|
3876
4465
|
],
|
|
4466
|
+
"matcher": "Skill|Bash",
|
|
3877
4467
|
},
|
|
3878
4468
|
],
|
|
3879
4469
|
},
|
|
3880
4470
|
{
|
|
3881
4471
|
"at": [
|
|
3882
4472
|
"hooks",
|
|
3883
|
-
"
|
|
4473
|
+
"Stop",
|
|
3884
4474
|
],
|
|
3885
4475
|
"kind": "list",
|
|
3886
4476
|
"values": [
|
|
3887
4477
|
{
|
|
3888
4478
|
"hooks": [
|
|
3889
4479
|
{
|
|
3890
|
-
"command": "node "<runtime-claude-plugin>/hooks/
|
|
4480
|
+
"command": "node "<runtime-claude-plugin>/hooks/workflow-turn.mjs" --projected",
|
|
3891
4481
|
"type": "command",
|
|
3892
4482
|
},
|
|
3893
4483
|
],
|
|
@@ -3960,6 +4550,16 @@ exports[`runtime surface golden fixtures setup context-mode × claude+opencode 3
|
|
|
3960
4550
|
"Edit(**/.npmrc)",
|
|
3961
4551
|
],
|
|
3962
4552
|
},
|
|
4553
|
+
{
|
|
4554
|
+
"at": [
|
|
4555
|
+
"permissions",
|
|
4556
|
+
"ask",
|
|
4557
|
+
],
|
|
4558
|
+
"kind": "list",
|
|
4559
|
+
"values": [
|
|
4560
|
+
"Edit(/<root>/companion/.mate/config/framework.yaml)",
|
|
4561
|
+
],
|
|
4562
|
+
},
|
|
3963
4563
|
{
|
|
3964
4564
|
"at": [
|
|
3965
4565
|
"enableArtifact",
|
|
@@ -4259,6 +4859,9 @@ exports[`runtime surface golden fixtures setup react-doctor × claude 1`] = `
|
|
|
4259
4859
|
"Read(<root>/companion/**)",
|
|
4260
4860
|
"Skill(mate-react-doctor)",
|
|
4261
4861
|
],
|
|
4862
|
+
"ask": [
|
|
4863
|
+
"Edit(/<root>/companion/.mate/config/framework.yaml)",
|
|
4864
|
+
],
|
|
4262
4865
|
"deny": [
|
|
4263
4866
|
"EnterPlanMode",
|
|
4264
4867
|
"DesignSync",
|
|
@@ -4333,9 +4936,8 @@ exports[`runtime surface golden fixtures setup react-doctor × claude 2`] = `
|
|
|
4333
4936
|
<linked-repository id="app" />
|
|
4334
4937
|
</context>
|
|
4335
4938
|
<mandatory-rules>
|
|
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>
|
|
4939
|
+
<rule id="artifact-location" severity="critical">Agent artifacts MUST go to <root>/companion, NEVER <root>/working, which holds product code (README, docs, source, tests). Artifacts include plans, specs, ADRs, todos, notes, handoffs, reasoning docs, and scratch files.</rule>
|
|
4337
4940
|
<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>
|
|
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
4941
|
<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
4942
|
<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
4943
|
<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>
|
|
@@ -4386,6 +4988,15 @@ exports[`runtime surface golden fixtures setup react-doctor × claude 3`] = `
|
|
|
4386
4988
|
],
|
|
4387
4989
|
"matcher": "mcp__tokensave__.*",
|
|
4388
4990
|
},
|
|
4991
|
+
{
|
|
4992
|
+
"hooks": [
|
|
4993
|
+
{
|
|
4994
|
+
"command": "node "<runtime-claude-plugin>/hooks/rtk-worktree-git.mjs"",
|
|
4995
|
+
"type": "command",
|
|
4996
|
+
},
|
|
4997
|
+
],
|
|
4998
|
+
"matcher": "Bash",
|
|
4999
|
+
},
|
|
4389
5000
|
],
|
|
4390
5001
|
},
|
|
4391
5002
|
{
|
|
@@ -4439,6 +5050,92 @@ exports[`runtime surface golden fixtures setup react-doctor × claude 3`] = `
|
|
|
4439
5050
|
},
|
|
4440
5051
|
],
|
|
4441
5052
|
},
|
|
5053
|
+
{
|
|
5054
|
+
"at": [
|
|
5055
|
+
"hooks",
|
|
5056
|
+
"SessionEnd",
|
|
5057
|
+
],
|
|
5058
|
+
"kind": "list",
|
|
5059
|
+
"values": [
|
|
5060
|
+
{
|
|
5061
|
+
"hooks": [
|
|
5062
|
+
{
|
|
5063
|
+
"command": "node "<runtime-claude-plugin>/hooks/session-end.mjs" --projected",
|
|
5064
|
+
"type": "command",
|
|
5065
|
+
},
|
|
5066
|
+
],
|
|
5067
|
+
},
|
|
5068
|
+
],
|
|
5069
|
+
},
|
|
5070
|
+
{
|
|
5071
|
+
"at": [
|
|
5072
|
+
"hooks",
|
|
5073
|
+
"Notification",
|
|
5074
|
+
],
|
|
5075
|
+
"kind": "list",
|
|
5076
|
+
"values": [
|
|
5077
|
+
{
|
|
5078
|
+
"hooks": [
|
|
5079
|
+
{
|
|
5080
|
+
"command": "node "<runtime-claude-plugin>/hooks/session-attention.mjs" --projected",
|
|
5081
|
+
"type": "command",
|
|
5082
|
+
},
|
|
5083
|
+
],
|
|
5084
|
+
},
|
|
5085
|
+
],
|
|
5086
|
+
},
|
|
5087
|
+
{
|
|
5088
|
+
"at": [
|
|
5089
|
+
"hooks",
|
|
5090
|
+
"UserPromptSubmit",
|
|
5091
|
+
],
|
|
5092
|
+
"kind": "list",
|
|
5093
|
+
"values": [
|
|
5094
|
+
{
|
|
5095
|
+
"hooks": [
|
|
5096
|
+
{
|
|
5097
|
+
"command": "node "<runtime-claude-plugin>/hooks/workflow-turn.mjs" --projected",
|
|
5098
|
+
"type": "command",
|
|
5099
|
+
},
|
|
5100
|
+
],
|
|
5101
|
+
},
|
|
5102
|
+
],
|
|
5103
|
+
},
|
|
5104
|
+
{
|
|
5105
|
+
"at": [
|
|
5106
|
+
"hooks",
|
|
5107
|
+
"PostToolUse",
|
|
5108
|
+
],
|
|
5109
|
+
"kind": "list",
|
|
5110
|
+
"values": [
|
|
5111
|
+
{
|
|
5112
|
+
"hooks": [
|
|
5113
|
+
{
|
|
5114
|
+
"command": "node "<runtime-claude-plugin>/hooks/workflow-turn.mjs" --projected",
|
|
5115
|
+
"type": "command",
|
|
5116
|
+
},
|
|
5117
|
+
],
|
|
5118
|
+
"matcher": "Skill|Bash",
|
|
5119
|
+
},
|
|
5120
|
+
],
|
|
5121
|
+
},
|
|
5122
|
+
{
|
|
5123
|
+
"at": [
|
|
5124
|
+
"hooks",
|
|
5125
|
+
"Stop",
|
|
5126
|
+
],
|
|
5127
|
+
"kind": "list",
|
|
5128
|
+
"values": [
|
|
5129
|
+
{
|
|
5130
|
+
"hooks": [
|
|
5131
|
+
{
|
|
5132
|
+
"command": "node "<runtime-claude-plugin>/hooks/workflow-turn.mjs" --projected",
|
|
5133
|
+
"type": "command",
|
|
5134
|
+
},
|
|
5135
|
+
],
|
|
5136
|
+
},
|
|
5137
|
+
],
|
|
5138
|
+
},
|
|
4442
5139
|
{
|
|
4443
5140
|
"at": [
|
|
4444
5141
|
"env",
|
|
@@ -4505,6 +5202,16 @@ exports[`runtime surface golden fixtures setup react-doctor × claude 3`] = `
|
|
|
4505
5202
|
"Edit(**/.npmrc)",
|
|
4506
5203
|
],
|
|
4507
5204
|
},
|
|
5205
|
+
{
|
|
5206
|
+
"at": [
|
|
5207
|
+
"permissions",
|
|
5208
|
+
"ask",
|
|
5209
|
+
],
|
|
5210
|
+
"kind": "list",
|
|
5211
|
+
"values": [
|
|
5212
|
+
"Edit(/<root>/companion/.mate/config/framework.yaml)",
|
|
5213
|
+
],
|
|
5214
|
+
},
|
|
4508
5215
|
{
|
|
4509
5216
|
"at": [
|
|
4510
5217
|
"enableArtifact",
|
|
@@ -4604,9 +5311,8 @@ exports[`runtime surface golden fixtures setup react-doctor × opencode 2`] = `
|
|
|
4604
5311
|
<linked-repository id="$MATE_REPO_ID" />
|
|
4605
5312
|
</context>
|
|
4606
5313
|
<mandatory-rules>
|
|
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>
|
|
5314
|
+
<rule id="artifact-location" severity="critical">Agent artifacts MUST go to $MATE_ARTIFACT_PATH, NEVER $MATE_REPO_PATH, which holds product code (README, docs, source, tests). Artifacts include plans, specs, ADRs, todos, notes, handoffs, reasoning docs, and scratch files.</rule>
|
|
4608
5315
|
<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>
|
|
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
5316
|
<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
5317
|
<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
5318
|
<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>
|
|
@@ -4902,6 +5608,9 @@ exports[`runtime surface golden fixtures setup react-doctor × claude+opencode 1
|
|
|
4902
5608
|
"Read(<root>/companion/**)",
|
|
4903
5609
|
"Skill(mate-react-doctor)",
|
|
4904
5610
|
],
|
|
5611
|
+
"ask": [
|
|
5612
|
+
"Edit(/<root>/companion/.mate/config/framework.yaml)",
|
|
5613
|
+
],
|
|
4905
5614
|
"deny": [
|
|
4906
5615
|
"EnterPlanMode",
|
|
4907
5616
|
"DesignSync",
|
|
@@ -4995,9 +5704,8 @@ exports[`runtime surface golden fixtures setup react-doctor × claude+opencode 2
|
|
|
4995
5704
|
<linked-repository id="app" />
|
|
4996
5705
|
</context>
|
|
4997
5706
|
<mandatory-rules>
|
|
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>
|
|
5707
|
+
<rule id="artifact-location" severity="critical">Agent artifacts MUST go to <root>/companion, NEVER <root>/working, which holds product code (README, docs, source, tests). Artifacts include plans, specs, ADRs, todos, notes, handoffs, reasoning docs, and scratch files.</rule>
|
|
4999
5708
|
<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>
|
|
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
5709
|
<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
5710
|
<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
5711
|
<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>
|
|
@@ -5041,9 +5749,8 @@ exports[`runtime surface golden fixtures setup react-doctor × claude+opencode 2
|
|
|
5041
5749
|
<linked-repository id="$MATE_REPO_ID" />
|
|
5042
5750
|
</context>
|
|
5043
5751
|
<mandatory-rules>
|
|
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>
|
|
5752
|
+
<rule id="artifact-location" severity="critical">Agent artifacts MUST go to $MATE_ARTIFACT_PATH, NEVER $MATE_REPO_PATH, which holds product code (README, docs, source, tests). Artifacts include plans, specs, ADRs, todos, notes, handoffs, reasoning docs, and scratch files.</rule>
|
|
5045
5753
|
<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>
|
|
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
5754
|
<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
5755
|
<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
5756
|
<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>
|
|
@@ -5091,6 +5798,15 @@ exports[`runtime surface golden fixtures setup react-doctor × claude+opencode 3
|
|
|
5091
5798
|
],
|
|
5092
5799
|
"matcher": "mcp__tokensave__.*",
|
|
5093
5800
|
},
|
|
5801
|
+
{
|
|
5802
|
+
"hooks": [
|
|
5803
|
+
{
|
|
5804
|
+
"command": "node "<runtime-claude-plugin>/hooks/rtk-worktree-git.mjs"",
|
|
5805
|
+
"type": "command",
|
|
5806
|
+
},
|
|
5807
|
+
],
|
|
5808
|
+
"matcher": "Bash",
|
|
5809
|
+
},
|
|
5094
5810
|
],
|
|
5095
5811
|
},
|
|
5096
5812
|
{
|
|
@@ -5144,6 +5860,92 @@ exports[`runtime surface golden fixtures setup react-doctor × claude+opencode 3
|
|
|
5144
5860
|
},
|
|
5145
5861
|
],
|
|
5146
5862
|
},
|
|
5863
|
+
{
|
|
5864
|
+
"at": [
|
|
5865
|
+
"hooks",
|
|
5866
|
+
"SessionEnd",
|
|
5867
|
+
],
|
|
5868
|
+
"kind": "list",
|
|
5869
|
+
"values": [
|
|
5870
|
+
{
|
|
5871
|
+
"hooks": [
|
|
5872
|
+
{
|
|
5873
|
+
"command": "node "<runtime-claude-plugin>/hooks/session-end.mjs" --projected",
|
|
5874
|
+
"type": "command",
|
|
5875
|
+
},
|
|
5876
|
+
],
|
|
5877
|
+
},
|
|
5878
|
+
],
|
|
5879
|
+
},
|
|
5880
|
+
{
|
|
5881
|
+
"at": [
|
|
5882
|
+
"hooks",
|
|
5883
|
+
"Notification",
|
|
5884
|
+
],
|
|
5885
|
+
"kind": "list",
|
|
5886
|
+
"values": [
|
|
5887
|
+
{
|
|
5888
|
+
"hooks": [
|
|
5889
|
+
{
|
|
5890
|
+
"command": "node "<runtime-claude-plugin>/hooks/session-attention.mjs" --projected",
|
|
5891
|
+
"type": "command",
|
|
5892
|
+
},
|
|
5893
|
+
],
|
|
5894
|
+
},
|
|
5895
|
+
],
|
|
5896
|
+
},
|
|
5897
|
+
{
|
|
5898
|
+
"at": [
|
|
5899
|
+
"hooks",
|
|
5900
|
+
"UserPromptSubmit",
|
|
5901
|
+
],
|
|
5902
|
+
"kind": "list",
|
|
5903
|
+
"values": [
|
|
5904
|
+
{
|
|
5905
|
+
"hooks": [
|
|
5906
|
+
{
|
|
5907
|
+
"command": "node "<runtime-claude-plugin>/hooks/workflow-turn.mjs" --projected",
|
|
5908
|
+
"type": "command",
|
|
5909
|
+
},
|
|
5910
|
+
],
|
|
5911
|
+
},
|
|
5912
|
+
],
|
|
5913
|
+
},
|
|
5914
|
+
{
|
|
5915
|
+
"at": [
|
|
5916
|
+
"hooks",
|
|
5917
|
+
"PostToolUse",
|
|
5918
|
+
],
|
|
5919
|
+
"kind": "list",
|
|
5920
|
+
"values": [
|
|
5921
|
+
{
|
|
5922
|
+
"hooks": [
|
|
5923
|
+
{
|
|
5924
|
+
"command": "node "<runtime-claude-plugin>/hooks/workflow-turn.mjs" --projected",
|
|
5925
|
+
"type": "command",
|
|
5926
|
+
},
|
|
5927
|
+
],
|
|
5928
|
+
"matcher": "Skill|Bash",
|
|
5929
|
+
},
|
|
5930
|
+
],
|
|
5931
|
+
},
|
|
5932
|
+
{
|
|
5933
|
+
"at": [
|
|
5934
|
+
"hooks",
|
|
5935
|
+
"Stop",
|
|
5936
|
+
],
|
|
5937
|
+
"kind": "list",
|
|
5938
|
+
"values": [
|
|
5939
|
+
{
|
|
5940
|
+
"hooks": [
|
|
5941
|
+
{
|
|
5942
|
+
"command": "node "<runtime-claude-plugin>/hooks/workflow-turn.mjs" --projected",
|
|
5943
|
+
"type": "command",
|
|
5944
|
+
},
|
|
5945
|
+
],
|
|
5946
|
+
},
|
|
5947
|
+
],
|
|
5948
|
+
},
|
|
5147
5949
|
{
|
|
5148
5950
|
"at": [
|
|
5149
5951
|
"env",
|
|
@@ -5210,6 +6012,16 @@ exports[`runtime surface golden fixtures setup react-doctor × claude+opencode 3
|
|
|
5210
6012
|
"Edit(**/.npmrc)",
|
|
5211
6013
|
],
|
|
5212
6014
|
},
|
|
6015
|
+
{
|
|
6016
|
+
"at": [
|
|
6017
|
+
"permissions",
|
|
6018
|
+
"ask",
|
|
6019
|
+
],
|
|
6020
|
+
"kind": "list",
|
|
6021
|
+
"values": [
|
|
6022
|
+
"Edit(/<root>/companion/.mate/config/framework.yaml)",
|
|
6023
|
+
],
|
|
6024
|
+
},
|
|
5213
6025
|
{
|
|
5214
6026
|
"at": [
|
|
5215
6027
|
"enableArtifact",
|
|
@@ -5522,6 +6334,10 @@ exports[`runtime surface golden fixtures setup openspec × claude 1`] = `
|
|
|
5522
6334
|
"Skill(mate-publish-artifact)",
|
|
5523
6335
|
"Skill(mate-show-me)",
|
|
5524
6336
|
"Skill(mate-simplify-code)",
|
|
6337
|
+
"Skill(mate-submit-change)",
|
|
6338
|
+
],
|
|
6339
|
+
"ask": [
|
|
6340
|
+
"Edit(/<root>/companion/.mate/config/framework.yaml)",
|
|
5525
6341
|
],
|
|
5526
6342
|
"deny": [
|
|
5527
6343
|
"EnterPlanMode",
|
|
@@ -5563,30 +6379,31 @@ exports[`runtime surface golden fixtures setup openspec × claude 1`] = `
|
|
|
5563
6379
|
},
|
|
5564
6380
|
},
|
|
5565
6381
|
"claudeSkills": {
|
|
5566
|
-
"mate-apply-change/SKILL.md": "
|
|
6382
|
+
"mate-apply-change/SKILL.md": "6c3f42b0ace2",
|
|
5567
6383
|
"mate-apply-change/references/mate-compact-apply.md": "3f20c80a4d78",
|
|
5568
|
-
"mate-apply-change/references/openspec-apply-change.md": "
|
|
5569
|
-
"mate-archive-change/SKILL.md": "
|
|
6384
|
+
"mate-apply-change/references/openspec-apply-change.md": "fa61cbd0bc83",
|
|
6385
|
+
"mate-archive-change/SKILL.md": "675ef32ae065",
|
|
5570
6386
|
"mate-backfill-spec/SKILL.md": "d07cd4a60169",
|
|
5571
|
-
"mate-clarify-intent/SKILL.md": "
|
|
5572
|
-
"mate-create-report/SKILL.md": "
|
|
5573
|
-
"mate-domain-modeling/SKILL.md": "
|
|
6387
|
+
"mate-clarify-intent/SKILL.md": "7f7d768be634",
|
|
6388
|
+
"mate-create-report/SKILL.md": "b4d92b44719a",
|
|
6389
|
+
"mate-domain-modeling/SKILL.md": "92f3e1f5faa2",
|
|
5574
6390
|
"mate-domain-modeling/references/ADR-FORMAT.md": "824b87e87d9b",
|
|
5575
6391
|
"mate-domain-modeling/references/CONTEXT-FORMAT.md": "172622594277",
|
|
5576
|
-
"mate-explore-change/SKILL.md": "
|
|
6392
|
+
"mate-explore-change/SKILL.md": "66158c617ed4",
|
|
5577
6393
|
"mate-explore-change/references/openspec-explore.md": "3cf63d55e3d2",
|
|
5578
6394
|
"mate-grill-me/SKILL.md": "ab55b002ba24",
|
|
5579
6395
|
"mate-grill-with-docs/SKILL.md": "b542b610c484",
|
|
5580
6396
|
"mate-grilling/SKILL.md": "f37ff4dd9b6d",
|
|
5581
6397
|
"mate-interview-me/SKILL.md": "b48d9804c423",
|
|
5582
|
-
"mate-propose-change/SKILL.md": "
|
|
5583
|
-
"mate-propose-change/references/mate-revise.md": "
|
|
6398
|
+
"mate-propose-change/SKILL.md": "371e31803cc5",
|
|
6399
|
+
"mate-propose-change/references/mate-revise.md": "1f90002ee95d",
|
|
5584
6400
|
"mate-propose-change/references/openspec-propose.md": "dbd00207ffa4",
|
|
5585
|
-
"mate-propose-change/references/openspec-update-change.md": "
|
|
5586
|
-
"mate-publish-artifact/SKILL.md": "
|
|
5587
|
-
"mate-publish-artifact/references/openspec.md": "
|
|
5588
|
-
"mate-show-me/SKILL.md": "
|
|
5589
|
-
"mate-simplify-code/SKILL.md": "
|
|
6401
|
+
"mate-propose-change/references/openspec-update-change.md": "0b0f6dee9f1e",
|
|
6402
|
+
"mate-publish-artifact/SKILL.md": "4332053cc80d",
|
|
6403
|
+
"mate-publish-artifact/references/openspec.md": "83196c70960c",
|
|
6404
|
+
"mate-show-me/SKILL.md": "4cb867ba9740",
|
|
6405
|
+
"mate-simplify-code/SKILL.md": "740c2b533c6a",
|
|
6406
|
+
"mate-submit-change/SKILL.md": "4595ca11960e",
|
|
5590
6407
|
},
|
|
5591
6408
|
"opencodeConfig": null,
|
|
5592
6409
|
"opencodePlugins": {},
|
|
@@ -5619,9 +6436,8 @@ exports[`runtime surface golden fixtures setup openspec × claude 2`] = `
|
|
|
5619
6436
|
<linked-repository id="app" />
|
|
5620
6437
|
</context>
|
|
5621
6438
|
<mandatory-rules>
|
|
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>
|
|
6439
|
+
<rule id="artifact-location" severity="critical">Agent artifacts MUST go to <root>/companion, NEVER <root>/working, which holds product code (README, docs, source, tests). Artifacts include plans, specs, ADRs, todos, notes, handoffs, reasoning docs, and scratch files.</rule>
|
|
5623
6440
|
<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>
|
|
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
6441
|
<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
6442
|
<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
6443
|
<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>
|
|
@@ -5629,7 +6445,7 @@ exports[`runtime surface golden fixtures setup openspec × claude 2`] = `
|
|
|
5629
6445
|
<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>
|
|
5630
6446
|
<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>
|
|
5631
6447
|
<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">
|
|
6448
|
+
<rule id="openspec-publish" severity="critical">Submit publishes nothing: it pushes an OpenSpec change folder (state: submitted) to the inbox mate/inbox to await its merge. A submitted change is not the truth: only publication lands it on the companion's default branch. openspec/specs/ is current; mate artifact project "<name>" shows the unpublished outcome. mate artifact pending --json lists them with author, touched requirements, ref and path; read one (git show <ref>:<path>/<file>) only where it touches your work or the user names it; implement or revise one only when the user names it: mate artifact take "<name>" brings it into the checkout when it is missing there, then resubmit it with mate-submit-change. Publish only through mate-publish-artifact (mate artifact publish "<name>" --json), after the user selects and confirms the commit and push, for a Delivery Group whose delivery branch is merged. It creates no tag. Never hand-commit or hand-tag one. Publish archives submitted changes and never submits: submitting is a precondition (mate-submit-change, before the merge).</rule>
|
|
5633
6449
|
</mandatory-rules>
|
|
5634
6450
|
</companion-policy>"
|
|
5635
6451
|
,
|
|
@@ -5652,75 +6468,170 @@ exports[`runtime surface golden fixtures setup openspec × claude 3`] = `
|
|
|
5652
6468
|
{
|
|
5653
6469
|
"at": [
|
|
5654
6470
|
"hooks",
|
|
5655
|
-
"PreToolUse",
|
|
6471
|
+
"PreToolUse",
|
|
6472
|
+
],
|
|
6473
|
+
"kind": "list",
|
|
6474
|
+
"values": [
|
|
6475
|
+
{
|
|
6476
|
+
"hooks": [
|
|
6477
|
+
{
|
|
6478
|
+
"command": "node "<runtime-claude-plugin>/hooks/validate-artifact-path.mjs"",
|
|
6479
|
+
"type": "command",
|
|
6480
|
+
},
|
|
6481
|
+
],
|
|
6482
|
+
"matcher": "Read|Grep|Write|Edit|MultiEdit|NotebookEdit|Bash",
|
|
6483
|
+
},
|
|
6484
|
+
{
|
|
6485
|
+
"hooks": [
|
|
6486
|
+
{
|
|
6487
|
+
"command": "node "<runtime-claude-plugin>/hooks/tokensave-route.mjs"",
|
|
6488
|
+
"type": "command",
|
|
6489
|
+
},
|
|
6490
|
+
],
|
|
6491
|
+
"matcher": "mcp__tokensave__.*",
|
|
6492
|
+
},
|
|
6493
|
+
{
|
|
6494
|
+
"hooks": [
|
|
6495
|
+
{
|
|
6496
|
+
"command": "node "<runtime-claude-plugin>/hooks/rtk-worktree-git.mjs"",
|
|
6497
|
+
"type": "command",
|
|
6498
|
+
},
|
|
6499
|
+
],
|
|
6500
|
+
"matcher": "Bash",
|
|
6501
|
+
},
|
|
6502
|
+
],
|
|
6503
|
+
},
|
|
6504
|
+
{
|
|
6505
|
+
"at": [
|
|
6506
|
+
"hooks",
|
|
6507
|
+
"SessionStart",
|
|
6508
|
+
],
|
|
6509
|
+
"kind": "list",
|
|
6510
|
+
"values": [
|
|
6511
|
+
{
|
|
6512
|
+
"hooks": [
|
|
6513
|
+
{
|
|
6514
|
+
"command": "node "<runtime-claude-plugin>/hooks/session-banner.mjs" --projected",
|
|
6515
|
+
"type": "command",
|
|
6516
|
+
},
|
|
6517
|
+
],
|
|
6518
|
+
},
|
|
6519
|
+
{
|
|
6520
|
+
"hooks": [
|
|
6521
|
+
{
|
|
6522
|
+
"command": "node "<runtime-claude-plugin>/hooks/session-guidance.mjs"",
|
|
6523
|
+
"type": "command",
|
|
6524
|
+
},
|
|
6525
|
+
],
|
|
6526
|
+
},
|
|
6527
|
+
{
|
|
6528
|
+
"hooks": [
|
|
6529
|
+
{
|
|
6530
|
+
"command": "node "<runtime-claude-plugin>/hooks/session-prepare.mjs" --projected",
|
|
6531
|
+
"timeout": 45,
|
|
6532
|
+
"type": "command",
|
|
6533
|
+
},
|
|
6534
|
+
],
|
|
6535
|
+
},
|
|
6536
|
+
],
|
|
6537
|
+
},
|
|
6538
|
+
{
|
|
6539
|
+
"at": [
|
|
6540
|
+
"hooks",
|
|
6541
|
+
"SubagentStart",
|
|
5656
6542
|
],
|
|
5657
6543
|
"kind": "list",
|
|
5658
6544
|
"values": [
|
|
5659
6545
|
{
|
|
5660
6546
|
"hooks": [
|
|
5661
6547
|
{
|
|
5662
|
-
"command": "node "<runtime-claude-plugin>/hooks/
|
|
6548
|
+
"command": "node "<runtime-claude-plugin>/hooks/companion-instructions.mjs" --projected",
|
|
5663
6549
|
"type": "command",
|
|
5664
6550
|
},
|
|
5665
6551
|
],
|
|
5666
|
-
"matcher": "Read|Grep|Write|Edit|MultiEdit|NotebookEdit|Bash",
|
|
5667
6552
|
},
|
|
6553
|
+
],
|
|
6554
|
+
},
|
|
6555
|
+
{
|
|
6556
|
+
"at": [
|
|
6557
|
+
"hooks",
|
|
6558
|
+
"SessionEnd",
|
|
6559
|
+
],
|
|
6560
|
+
"kind": "list",
|
|
6561
|
+
"values": [
|
|
5668
6562
|
{
|
|
5669
6563
|
"hooks": [
|
|
5670
6564
|
{
|
|
5671
|
-
"command": "node "<runtime-claude-plugin>/hooks/
|
|
6565
|
+
"command": "node "<runtime-claude-plugin>/hooks/session-end.mjs" --projected",
|
|
5672
6566
|
"type": "command",
|
|
5673
6567
|
},
|
|
5674
6568
|
],
|
|
5675
|
-
"matcher": "mcp__tokensave__.*",
|
|
5676
6569
|
},
|
|
5677
6570
|
],
|
|
5678
6571
|
},
|
|
5679
6572
|
{
|
|
5680
6573
|
"at": [
|
|
5681
6574
|
"hooks",
|
|
5682
|
-
"
|
|
6575
|
+
"Notification",
|
|
5683
6576
|
],
|
|
5684
6577
|
"kind": "list",
|
|
5685
6578
|
"values": [
|
|
5686
6579
|
{
|
|
5687
6580
|
"hooks": [
|
|
5688
6581
|
{
|
|
5689
|
-
"command": "node "<runtime-claude-plugin>/hooks/session-
|
|
6582
|
+
"command": "node "<runtime-claude-plugin>/hooks/session-attention.mjs" --projected",
|
|
5690
6583
|
"type": "command",
|
|
5691
6584
|
},
|
|
5692
6585
|
],
|
|
5693
6586
|
},
|
|
6587
|
+
],
|
|
6588
|
+
},
|
|
6589
|
+
{
|
|
6590
|
+
"at": [
|
|
6591
|
+
"hooks",
|
|
6592
|
+
"UserPromptSubmit",
|
|
6593
|
+
],
|
|
6594
|
+
"kind": "list",
|
|
6595
|
+
"values": [
|
|
5694
6596
|
{
|
|
5695
6597
|
"hooks": [
|
|
5696
6598
|
{
|
|
5697
|
-
"command": "node "<runtime-claude-plugin>/hooks/
|
|
6599
|
+
"command": "node "<runtime-claude-plugin>/hooks/workflow-turn.mjs" --projected",
|
|
5698
6600
|
"type": "command",
|
|
5699
6601
|
},
|
|
5700
6602
|
],
|
|
5701
6603
|
},
|
|
6604
|
+
],
|
|
6605
|
+
},
|
|
6606
|
+
{
|
|
6607
|
+
"at": [
|
|
6608
|
+
"hooks",
|
|
6609
|
+
"PostToolUse",
|
|
6610
|
+
],
|
|
6611
|
+
"kind": "list",
|
|
6612
|
+
"values": [
|
|
5702
6613
|
{
|
|
5703
6614
|
"hooks": [
|
|
5704
6615
|
{
|
|
5705
|
-
"command": "node "<runtime-claude-plugin>/hooks/
|
|
5706
|
-
"timeout": 45,
|
|
6616
|
+
"command": "node "<runtime-claude-plugin>/hooks/workflow-turn.mjs" --projected",
|
|
5707
6617
|
"type": "command",
|
|
5708
6618
|
},
|
|
5709
6619
|
],
|
|
6620
|
+
"matcher": "Skill|Bash",
|
|
5710
6621
|
},
|
|
5711
6622
|
],
|
|
5712
6623
|
},
|
|
5713
6624
|
{
|
|
5714
6625
|
"at": [
|
|
5715
6626
|
"hooks",
|
|
5716
|
-
"
|
|
6627
|
+
"Stop",
|
|
5717
6628
|
],
|
|
5718
6629
|
"kind": "list",
|
|
5719
6630
|
"values": [
|
|
5720
6631
|
{
|
|
5721
6632
|
"hooks": [
|
|
5722
6633
|
{
|
|
5723
|
-
"command": "node "<runtime-claude-plugin>/hooks/
|
|
6634
|
+
"command": "node "<runtime-claude-plugin>/hooks/workflow-turn.mjs" --projected",
|
|
5724
6635
|
"type": "command",
|
|
5725
6636
|
},
|
|
5726
6637
|
],
|
|
@@ -5749,6 +6660,7 @@ exports[`runtime surface golden fixtures setup openspec × claude 3`] = `
|
|
|
5749
6660
|
"Skill(mate-explore-change)",
|
|
5750
6661
|
"Skill(mate-propose-change)",
|
|
5751
6662
|
"Skill(mate-apply-change)",
|
|
6663
|
+
"Skill(mate-submit-change)",
|
|
5752
6664
|
"Skill(mate-archive-change)",
|
|
5753
6665
|
"Skill(mate-publish-artifact)",
|
|
5754
6666
|
"Skill(mate-backfill-spec)",
|
|
@@ -5808,6 +6720,16 @@ exports[`runtime surface golden fixtures setup openspec × claude 3`] = `
|
|
|
5808
6720
|
"Edit(**/.npmrc)",
|
|
5809
6721
|
],
|
|
5810
6722
|
},
|
|
6723
|
+
{
|
|
6724
|
+
"at": [
|
|
6725
|
+
"permissions",
|
|
6726
|
+
"ask",
|
|
6727
|
+
],
|
|
6728
|
+
"kind": "list",
|
|
6729
|
+
"values": [
|
|
6730
|
+
"Edit(/<root>/companion/.mate/config/framework.yaml)",
|
|
6731
|
+
],
|
|
6732
|
+
},
|
|
5811
6733
|
{
|
|
5812
6734
|
"at": [
|
|
5813
6735
|
"enableArtifact",
|
|
@@ -5873,30 +6795,31 @@ exports[`runtime surface golden fixtures setup openspec × opencode 1`] = `
|
|
|
5873
6795
|
"opencodeSkills": {},
|
|
5874
6796
|
"opencodeTui": null,
|
|
5875
6797
|
"sharedSkills": {
|
|
5876
|
-
"mate-apply-change/SKILL.md": "
|
|
6798
|
+
"mate-apply-change/SKILL.md": "6c3f42b0ace2",
|
|
5877
6799
|
"mate-apply-change/references/mate-compact-apply.md": "3f20c80a4d78",
|
|
5878
|
-
"mate-apply-change/references/openspec-apply-change.md": "
|
|
5879
|
-
"mate-archive-change/SKILL.md": "
|
|
6800
|
+
"mate-apply-change/references/openspec-apply-change.md": "c132265690b4",
|
|
6801
|
+
"mate-archive-change/SKILL.md": "675ef32ae065",
|
|
5880
6802
|
"mate-backfill-spec/SKILL.md": "d07cd4a60169",
|
|
5881
|
-
"mate-clarify-intent/SKILL.md": "
|
|
5882
|
-
"mate-create-report/SKILL.md": "
|
|
5883
|
-
"mate-domain-modeling/SKILL.md": "
|
|
6803
|
+
"mate-clarify-intent/SKILL.md": "7f7d768be634",
|
|
6804
|
+
"mate-create-report/SKILL.md": "b4d92b44719a",
|
|
6805
|
+
"mate-domain-modeling/SKILL.md": "92f3e1f5faa2",
|
|
5884
6806
|
"mate-domain-modeling/references/ADR-FORMAT.md": "824b87e87d9b",
|
|
5885
6807
|
"mate-domain-modeling/references/CONTEXT-FORMAT.md": "172622594277",
|
|
5886
|
-
"mate-explore-change/SKILL.md": "
|
|
6808
|
+
"mate-explore-change/SKILL.md": "66158c617ed4",
|
|
5887
6809
|
"mate-explore-change/references/openspec-explore.md": "5bfcc2eefbd8",
|
|
5888
6810
|
"mate-grill-me/SKILL.md": "ab55b002ba24",
|
|
5889
6811
|
"mate-grill-with-docs/SKILL.md": "b542b610c484",
|
|
5890
6812
|
"mate-grilling/SKILL.md": "f37ff4dd9b6d",
|
|
5891
6813
|
"mate-interview-me/SKILL.md": "b48d9804c423",
|
|
5892
|
-
"mate-propose-change/SKILL.md": "
|
|
5893
|
-
"mate-propose-change/references/mate-revise.md": "
|
|
6814
|
+
"mate-propose-change/SKILL.md": "371e31803cc5",
|
|
6815
|
+
"mate-propose-change/references/mate-revise.md": "1f90002ee95d",
|
|
5894
6816
|
"mate-propose-change/references/openspec-propose.md": "c1f1d1291283",
|
|
5895
|
-
"mate-propose-change/references/openspec-update-change.md": "
|
|
5896
|
-
"mate-publish-artifact/SKILL.md": "
|
|
5897
|
-
"mate-publish-artifact/references/openspec.md": "
|
|
5898
|
-
"mate-show-me/SKILL.md": "
|
|
5899
|
-
"mate-simplify-code/SKILL.md": "
|
|
6817
|
+
"mate-propose-change/references/openspec-update-change.md": "098ef729c37f",
|
|
6818
|
+
"mate-publish-artifact/SKILL.md": "4332053cc80d",
|
|
6819
|
+
"mate-publish-artifact/references/openspec.md": "83196c70960c",
|
|
6820
|
+
"mate-show-me/SKILL.md": "4cb867ba9740",
|
|
6821
|
+
"mate-simplify-code/SKILL.md": "740c2b533c6a",
|
|
6822
|
+
"mate-submit-change/SKILL.md": "4595ca11960e",
|
|
5900
6823
|
},
|
|
5901
6824
|
}
|
|
5902
6825
|
`;
|
|
@@ -5929,9 +6852,8 @@ exports[`runtime surface golden fixtures setup openspec × opencode 2`] = `
|
|
|
5929
6852
|
<linked-repository id="$MATE_REPO_ID" />
|
|
5930
6853
|
</context>
|
|
5931
6854
|
<mandatory-rules>
|
|
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>
|
|
6855
|
+
<rule id="artifact-location" severity="critical">Agent artifacts MUST go to $MATE_ARTIFACT_PATH, NEVER $MATE_REPO_PATH, which holds product code (README, docs, source, tests). Artifacts include plans, specs, ADRs, todos, notes, handoffs, reasoning docs, and scratch files.</rule>
|
|
5933
6856
|
<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>
|
|
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
6857
|
<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
6858
|
<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
6859
|
<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>
|
|
@@ -5939,7 +6861,7 @@ exports[`runtime surface golden fixtures setup openspec × opencode 2`] = `
|
|
|
5939
6861
|
<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>
|
|
5940
6862
|
<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>
|
|
5941
6863
|
<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">
|
|
6864
|
+
<rule id="openspec-publish" severity="critical">Submit publishes nothing: it pushes an OpenSpec change folder (state: submitted) to the inbox mate/inbox to await its merge. A submitted change is not the truth: only publication lands it on the companion's default branch. openspec/specs/ is current; mate artifact project "<name>" shows the unpublished outcome. mate artifact pending --json lists them with author, touched requirements, ref and path; read one (git show <ref>:<path>/<file>) only where it touches your work or the user names it; implement or revise one only when the user names it: mate artifact take "<name>" brings it into the checkout when it is missing there, then resubmit it with mate-submit-change. Publish only through mate-publish-artifact (mate artifact publish "<name>" --json), after the user selects and confirms the commit and push, for a Delivery Group whose delivery branch is merged. It creates no tag. Never hand-commit or hand-tag one. Publish archives submitted changes and never submits: submitting is a precondition (mate-submit-change, before the merge).</rule>
|
|
5943
6865
|
</mandatory-rules>
|
|
5944
6866
|
</companion-policy>"
|
|
5945
6867
|
,
|
|
@@ -6243,6 +7165,10 @@ exports[`runtime surface golden fixtures setup openspec × claude+opencode 1`] =
|
|
|
6243
7165
|
"Skill(mate-publish-artifact)",
|
|
6244
7166
|
"Skill(mate-show-me)",
|
|
6245
7167
|
"Skill(mate-simplify-code)",
|
|
7168
|
+
"Skill(mate-submit-change)",
|
|
7169
|
+
],
|
|
7170
|
+
"ask": [
|
|
7171
|
+
"Edit(/<root>/companion/.mate/config/framework.yaml)",
|
|
6246
7172
|
],
|
|
6247
7173
|
"deny": [
|
|
6248
7174
|
"EnterPlanMode",
|
|
@@ -6284,30 +7210,31 @@ exports[`runtime surface golden fixtures setup openspec × claude+opencode 1`] =
|
|
|
6284
7210
|
},
|
|
6285
7211
|
},
|
|
6286
7212
|
"claudeSkills": {
|
|
6287
|
-
"mate-apply-change/SKILL.md": "
|
|
7213
|
+
"mate-apply-change/SKILL.md": "6c3f42b0ace2",
|
|
6288
7214
|
"mate-apply-change/references/mate-compact-apply.md": "3f20c80a4d78",
|
|
6289
|
-
"mate-apply-change/references/openspec-apply-change.md": "
|
|
6290
|
-
"mate-archive-change/SKILL.md": "
|
|
7215
|
+
"mate-apply-change/references/openspec-apply-change.md": "fa61cbd0bc83",
|
|
7216
|
+
"mate-archive-change/SKILL.md": "675ef32ae065",
|
|
6291
7217
|
"mate-backfill-spec/SKILL.md": "d07cd4a60169",
|
|
6292
|
-
"mate-clarify-intent/SKILL.md": "
|
|
6293
|
-
"mate-create-report/SKILL.md": "
|
|
6294
|
-
"mate-domain-modeling/SKILL.md": "
|
|
7218
|
+
"mate-clarify-intent/SKILL.md": "7f7d768be634",
|
|
7219
|
+
"mate-create-report/SKILL.md": "b4d92b44719a",
|
|
7220
|
+
"mate-domain-modeling/SKILL.md": "92f3e1f5faa2",
|
|
6295
7221
|
"mate-domain-modeling/references/ADR-FORMAT.md": "824b87e87d9b",
|
|
6296
7222
|
"mate-domain-modeling/references/CONTEXT-FORMAT.md": "172622594277",
|
|
6297
|
-
"mate-explore-change/SKILL.md": "
|
|
7223
|
+
"mate-explore-change/SKILL.md": "66158c617ed4",
|
|
6298
7224
|
"mate-explore-change/references/openspec-explore.md": "3cf63d55e3d2",
|
|
6299
7225
|
"mate-grill-me/SKILL.md": "ab55b002ba24",
|
|
6300
7226
|
"mate-grill-with-docs/SKILL.md": "b542b610c484",
|
|
6301
7227
|
"mate-grilling/SKILL.md": "f37ff4dd9b6d",
|
|
6302
7228
|
"mate-interview-me/SKILL.md": "b48d9804c423",
|
|
6303
|
-
"mate-propose-change/SKILL.md": "
|
|
6304
|
-
"mate-propose-change/references/mate-revise.md": "
|
|
7229
|
+
"mate-propose-change/SKILL.md": "371e31803cc5",
|
|
7230
|
+
"mate-propose-change/references/mate-revise.md": "1f90002ee95d",
|
|
6305
7231
|
"mate-propose-change/references/openspec-propose.md": "dbd00207ffa4",
|
|
6306
|
-
"mate-propose-change/references/openspec-update-change.md": "
|
|
6307
|
-
"mate-publish-artifact/SKILL.md": "
|
|
6308
|
-
"mate-publish-artifact/references/openspec.md": "
|
|
6309
|
-
"mate-show-me/SKILL.md": "
|
|
6310
|
-
"mate-simplify-code/SKILL.md": "
|
|
7232
|
+
"mate-propose-change/references/openspec-update-change.md": "0b0f6dee9f1e",
|
|
7233
|
+
"mate-publish-artifact/SKILL.md": "4332053cc80d",
|
|
7234
|
+
"mate-publish-artifact/references/openspec.md": "83196c70960c",
|
|
7235
|
+
"mate-show-me/SKILL.md": "4cb867ba9740",
|
|
7236
|
+
"mate-simplify-code/SKILL.md": "740c2b533c6a",
|
|
7237
|
+
"mate-submit-change/SKILL.md": "4595ca11960e",
|
|
6311
7238
|
},
|
|
6312
7239
|
"opencodeConfig": {
|
|
6313
7240
|
"$schema": "https://opencode.ai/config.json",
|
|
@@ -6330,30 +7257,31 @@ exports[`runtime surface golden fixtures setup openspec × claude+opencode 1`] =
|
|
|
6330
7257
|
"opencodeSkills": {},
|
|
6331
7258
|
"opencodeTui": null,
|
|
6332
7259
|
"sharedSkills": {
|
|
6333
|
-
"mate-apply-change/SKILL.md": "
|
|
7260
|
+
"mate-apply-change/SKILL.md": "6c3f42b0ace2",
|
|
6334
7261
|
"mate-apply-change/references/mate-compact-apply.md": "3f20c80a4d78",
|
|
6335
|
-
"mate-apply-change/references/openspec-apply-change.md": "
|
|
6336
|
-
"mate-archive-change/SKILL.md": "
|
|
7262
|
+
"mate-apply-change/references/openspec-apply-change.md": "c132265690b4",
|
|
7263
|
+
"mate-archive-change/SKILL.md": "675ef32ae065",
|
|
6337
7264
|
"mate-backfill-spec/SKILL.md": "d07cd4a60169",
|
|
6338
|
-
"mate-clarify-intent/SKILL.md": "
|
|
6339
|
-
"mate-create-report/SKILL.md": "
|
|
6340
|
-
"mate-domain-modeling/SKILL.md": "
|
|
7265
|
+
"mate-clarify-intent/SKILL.md": "7f7d768be634",
|
|
7266
|
+
"mate-create-report/SKILL.md": "b4d92b44719a",
|
|
7267
|
+
"mate-domain-modeling/SKILL.md": "92f3e1f5faa2",
|
|
6341
7268
|
"mate-domain-modeling/references/ADR-FORMAT.md": "824b87e87d9b",
|
|
6342
7269
|
"mate-domain-modeling/references/CONTEXT-FORMAT.md": "172622594277",
|
|
6343
|
-
"mate-explore-change/SKILL.md": "
|
|
7270
|
+
"mate-explore-change/SKILL.md": "66158c617ed4",
|
|
6344
7271
|
"mate-explore-change/references/openspec-explore.md": "5bfcc2eefbd8",
|
|
6345
7272
|
"mate-grill-me/SKILL.md": "ab55b002ba24",
|
|
6346
7273
|
"mate-grill-with-docs/SKILL.md": "b542b610c484",
|
|
6347
7274
|
"mate-grilling/SKILL.md": "f37ff4dd9b6d",
|
|
6348
7275
|
"mate-interview-me/SKILL.md": "b48d9804c423",
|
|
6349
|
-
"mate-propose-change/SKILL.md": "
|
|
6350
|
-
"mate-propose-change/references/mate-revise.md": "
|
|
7276
|
+
"mate-propose-change/SKILL.md": "371e31803cc5",
|
|
7277
|
+
"mate-propose-change/references/mate-revise.md": "1f90002ee95d",
|
|
6351
7278
|
"mate-propose-change/references/openspec-propose.md": "c1f1d1291283",
|
|
6352
|
-
"mate-propose-change/references/openspec-update-change.md": "
|
|
6353
|
-
"mate-publish-artifact/SKILL.md": "
|
|
6354
|
-
"mate-publish-artifact/references/openspec.md": "
|
|
6355
|
-
"mate-show-me/SKILL.md": "
|
|
6356
|
-
"mate-simplify-code/SKILL.md": "
|
|
7279
|
+
"mate-propose-change/references/openspec-update-change.md": "098ef729c37f",
|
|
7280
|
+
"mate-publish-artifact/SKILL.md": "4332053cc80d",
|
|
7281
|
+
"mate-publish-artifact/references/openspec.md": "83196c70960c",
|
|
7282
|
+
"mate-show-me/SKILL.md": "4cb867ba9740",
|
|
7283
|
+
"mate-simplify-code/SKILL.md": "740c2b533c6a",
|
|
7284
|
+
"mate-submit-change/SKILL.md": "4595ca11960e",
|
|
6357
7285
|
},
|
|
6358
7286
|
}
|
|
6359
7287
|
`;
|
|
@@ -6381,9 +7309,8 @@ exports[`runtime surface golden fixtures setup openspec × claude+opencode 2`] =
|
|
|
6381
7309
|
<linked-repository id="app" />
|
|
6382
7310
|
</context>
|
|
6383
7311
|
<mandatory-rules>
|
|
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>
|
|
7312
|
+
<rule id="artifact-location" severity="critical">Agent artifacts MUST go to <root>/companion, NEVER <root>/working, which holds product code (README, docs, source, tests). Artifacts include plans, specs, ADRs, todos, notes, handoffs, reasoning docs, and scratch files.</rule>
|
|
6385
7313
|
<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>
|
|
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
7314
|
<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
7315
|
<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
7316
|
<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>
|
|
@@ -6391,7 +7318,7 @@ exports[`runtime surface golden fixtures setup openspec × claude+opencode 2`] =
|
|
|
6391
7318
|
<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>
|
|
6392
7319
|
<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>
|
|
6393
7320
|
<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">
|
|
7321
|
+
<rule id="openspec-publish" severity="critical">Submit publishes nothing: it pushes an OpenSpec change folder (state: submitted) to the inbox mate/inbox to await its merge. A submitted change is not the truth: only publication lands it on the companion's default branch. openspec/specs/ is current; mate artifact project "<name>" shows the unpublished outcome. mate artifact pending --json lists them with author, touched requirements, ref and path; read one (git show <ref>:<path>/<file>) only where it touches your work or the user names it; implement or revise one only when the user names it: mate artifact take "<name>" brings it into the checkout when it is missing there, then resubmit it with mate-submit-change. Publish only through mate-publish-artifact (mate artifact publish "<name>" --json), after the user selects and confirms the commit and push, for a Delivery Group whose delivery branch is merged. It creates no tag. Never hand-commit or hand-tag one. Publish archives submitted changes and never submits: submitting is a precondition (mate-submit-change, before the merge).</rule>
|
|
6395
7322
|
</mandatory-rules>
|
|
6396
7323
|
</companion-policy>"
|
|
6397
7324
|
,
|
|
@@ -6429,9 +7356,8 @@ exports[`runtime surface golden fixtures setup openspec × claude+opencode 2`] =
|
|
|
6429
7356
|
<linked-repository id="$MATE_REPO_ID" />
|
|
6430
7357
|
</context>
|
|
6431
7358
|
<mandatory-rules>
|
|
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>
|
|
7359
|
+
<rule id="artifact-location" severity="critical">Agent artifacts MUST go to $MATE_ARTIFACT_PATH, NEVER $MATE_REPO_PATH, which holds product code (README, docs, source, tests). Artifacts include plans, specs, ADRs, todos, notes, handoffs, reasoning docs, and scratch files.</rule>
|
|
6433
7360
|
<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>
|
|
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
7361
|
<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
7362
|
<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
7363
|
<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>
|
|
@@ -6439,7 +7365,7 @@ exports[`runtime surface golden fixtures setup openspec × claude+opencode 2`] =
|
|
|
6439
7365
|
<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>
|
|
6440
7366
|
<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>
|
|
6441
7367
|
<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">
|
|
7368
|
+
<rule id="openspec-publish" severity="critical">Submit publishes nothing: it pushes an OpenSpec change folder (state: submitted) to the inbox mate/inbox to await its merge. A submitted change is not the truth: only publication lands it on the companion's default branch. openspec/specs/ is current; mate artifact project "<name>" shows the unpublished outcome. mate artifact pending --json lists them with author, touched requirements, ref and path; read one (git show <ref>:<path>/<file>) only where it touches your work or the user names it; implement or revise one only when the user names it: mate artifact take "<name>" brings it into the checkout when it is missing there, then resubmit it with mate-submit-change. Publish only through mate-publish-artifact (mate artifact publish "<name>" --json), after the user selects and confirms the commit and push, for a Delivery Group whose delivery branch is merged. It creates no tag. Never hand-commit or hand-tag one. Publish archives submitted changes and never submits: submitting is a precondition (mate-submit-change, before the merge).</rule>
|
|
6443
7369
|
</mandatory-rules>
|
|
6444
7370
|
</companion-policy>"
|
|
6445
7371
|
,
|
|
@@ -6481,6 +7407,15 @@ exports[`runtime surface golden fixtures setup openspec × claude+opencode 3`] =
|
|
|
6481
7407
|
],
|
|
6482
7408
|
"matcher": "mcp__tokensave__.*",
|
|
6483
7409
|
},
|
|
7410
|
+
{
|
|
7411
|
+
"hooks": [
|
|
7412
|
+
{
|
|
7413
|
+
"command": "node "<runtime-claude-plugin>/hooks/rtk-worktree-git.mjs"",
|
|
7414
|
+
"type": "command",
|
|
7415
|
+
},
|
|
7416
|
+
],
|
|
7417
|
+
"matcher": "Bash",
|
|
7418
|
+
},
|
|
6484
7419
|
],
|
|
6485
7420
|
},
|
|
6486
7421
|
{
|
|
@@ -6534,6 +7469,92 @@ exports[`runtime surface golden fixtures setup openspec × claude+opencode 3`] =
|
|
|
6534
7469
|
},
|
|
6535
7470
|
],
|
|
6536
7471
|
},
|
|
7472
|
+
{
|
|
7473
|
+
"at": [
|
|
7474
|
+
"hooks",
|
|
7475
|
+
"SessionEnd",
|
|
7476
|
+
],
|
|
7477
|
+
"kind": "list",
|
|
7478
|
+
"values": [
|
|
7479
|
+
{
|
|
7480
|
+
"hooks": [
|
|
7481
|
+
{
|
|
7482
|
+
"command": "node "<runtime-claude-plugin>/hooks/session-end.mjs" --projected",
|
|
7483
|
+
"type": "command",
|
|
7484
|
+
},
|
|
7485
|
+
],
|
|
7486
|
+
},
|
|
7487
|
+
],
|
|
7488
|
+
},
|
|
7489
|
+
{
|
|
7490
|
+
"at": [
|
|
7491
|
+
"hooks",
|
|
7492
|
+
"Notification",
|
|
7493
|
+
],
|
|
7494
|
+
"kind": "list",
|
|
7495
|
+
"values": [
|
|
7496
|
+
{
|
|
7497
|
+
"hooks": [
|
|
7498
|
+
{
|
|
7499
|
+
"command": "node "<runtime-claude-plugin>/hooks/session-attention.mjs" --projected",
|
|
7500
|
+
"type": "command",
|
|
7501
|
+
},
|
|
7502
|
+
],
|
|
7503
|
+
},
|
|
7504
|
+
],
|
|
7505
|
+
},
|
|
7506
|
+
{
|
|
7507
|
+
"at": [
|
|
7508
|
+
"hooks",
|
|
7509
|
+
"UserPromptSubmit",
|
|
7510
|
+
],
|
|
7511
|
+
"kind": "list",
|
|
7512
|
+
"values": [
|
|
7513
|
+
{
|
|
7514
|
+
"hooks": [
|
|
7515
|
+
{
|
|
7516
|
+
"command": "node "<runtime-claude-plugin>/hooks/workflow-turn.mjs" --projected",
|
|
7517
|
+
"type": "command",
|
|
7518
|
+
},
|
|
7519
|
+
],
|
|
7520
|
+
},
|
|
7521
|
+
],
|
|
7522
|
+
},
|
|
7523
|
+
{
|
|
7524
|
+
"at": [
|
|
7525
|
+
"hooks",
|
|
7526
|
+
"PostToolUse",
|
|
7527
|
+
],
|
|
7528
|
+
"kind": "list",
|
|
7529
|
+
"values": [
|
|
7530
|
+
{
|
|
7531
|
+
"hooks": [
|
|
7532
|
+
{
|
|
7533
|
+
"command": "node "<runtime-claude-plugin>/hooks/workflow-turn.mjs" --projected",
|
|
7534
|
+
"type": "command",
|
|
7535
|
+
},
|
|
7536
|
+
],
|
|
7537
|
+
"matcher": "Skill|Bash",
|
|
7538
|
+
},
|
|
7539
|
+
],
|
|
7540
|
+
},
|
|
7541
|
+
{
|
|
7542
|
+
"at": [
|
|
7543
|
+
"hooks",
|
|
7544
|
+
"Stop",
|
|
7545
|
+
],
|
|
7546
|
+
"kind": "list",
|
|
7547
|
+
"values": [
|
|
7548
|
+
{
|
|
7549
|
+
"hooks": [
|
|
7550
|
+
{
|
|
7551
|
+
"command": "node "<runtime-claude-plugin>/hooks/workflow-turn.mjs" --projected",
|
|
7552
|
+
"type": "command",
|
|
7553
|
+
},
|
|
7554
|
+
],
|
|
7555
|
+
},
|
|
7556
|
+
],
|
|
7557
|
+
},
|
|
6537
7558
|
{
|
|
6538
7559
|
"at": [
|
|
6539
7560
|
"env",
|
|
@@ -6556,6 +7577,7 @@ exports[`runtime surface golden fixtures setup openspec × claude+opencode 3`] =
|
|
|
6556
7577
|
"Skill(mate-explore-change)",
|
|
6557
7578
|
"Skill(mate-propose-change)",
|
|
6558
7579
|
"Skill(mate-apply-change)",
|
|
7580
|
+
"Skill(mate-submit-change)",
|
|
6559
7581
|
"Skill(mate-archive-change)",
|
|
6560
7582
|
"Skill(mate-publish-artifact)",
|
|
6561
7583
|
"Skill(mate-backfill-spec)",
|
|
@@ -6615,6 +7637,16 @@ exports[`runtime surface golden fixtures setup openspec × claude+opencode 3`] =
|
|
|
6615
7637
|
"Edit(**/.npmrc)",
|
|
6616
7638
|
],
|
|
6617
7639
|
},
|
|
7640
|
+
{
|
|
7641
|
+
"at": [
|
|
7642
|
+
"permissions",
|
|
7643
|
+
"ask",
|
|
7644
|
+
],
|
|
7645
|
+
"kind": "list",
|
|
7646
|
+
"values": [
|
|
7647
|
+
"Edit(/<root>/companion/.mate/config/framework.yaml)",
|
|
7648
|
+
],
|
|
7649
|
+
},
|
|
6618
7650
|
{
|
|
6619
7651
|
"at": [
|
|
6620
7652
|
"enableArtifact",
|
|
@@ -7000,9 +8032,13 @@ Canonical Mate policy and any more specific tool-routing instructions remain aut
|
|
|
7000
8032
|
"Skill(mate-react-doctor)",
|
|
7001
8033
|
"Skill(mate-show-me)",
|
|
7002
8034
|
"Skill(mate-simplify-code)",
|
|
8035
|
+
"Skill(mate-submit-change)",
|
|
7003
8036
|
"mcp__plugin_context-mode_context-mode__*",
|
|
7004
8037
|
"mcp__tokensave__*",
|
|
7005
8038
|
],
|
|
8039
|
+
"ask": [
|
|
8040
|
+
"Edit(/<root>/companion/.mate/config/framework.yaml)",
|
|
8041
|
+
],
|
|
7006
8042
|
"deny": [
|
|
7007
8043
|
"EnterPlanMode",
|
|
7008
8044
|
"DesignSync",
|
|
@@ -7058,32 +8094,33 @@ Write chunks to $GRAPHIFY_OUT and read $GRAPHIFY_OUT later.
|
|
|
7058
8094
|
"Outputs land in $GRAPHIFY_OUT by default.
|
|
7059
8095
|
"
|
|
7060
8096
|
,
|
|
7061
|
-
"mate-apply-change/SKILL.md": "
|
|
8097
|
+
"mate-apply-change/SKILL.md": "6c3f42b0ace2",
|
|
7062
8098
|
"mate-apply-change/references/mate-compact-apply.md": "3f20c80a4d78",
|
|
7063
|
-
"mate-apply-change/references/openspec-apply-change.md": "
|
|
7064
|
-
"mate-archive-change/SKILL.md": "
|
|
8099
|
+
"mate-apply-change/references/openspec-apply-change.md": "fa61cbd0bc83",
|
|
8100
|
+
"mate-archive-change/SKILL.md": "675ef32ae065",
|
|
7065
8101
|
"mate-backfill-spec/SKILL.md": "d07cd4a60169",
|
|
7066
|
-
"mate-clarify-intent/SKILL.md": "
|
|
7067
|
-
"mate-create-report/SKILL.md": "
|
|
7068
|
-
"mate-domain-modeling/SKILL.md": "
|
|
8102
|
+
"mate-clarify-intent/SKILL.md": "7f7d768be634",
|
|
8103
|
+
"mate-create-report/SKILL.md": "b4d92b44719a",
|
|
8104
|
+
"mate-domain-modeling/SKILL.md": "92f3e1f5faa2",
|
|
7069
8105
|
"mate-domain-modeling/references/ADR-FORMAT.md": "824b87e87d9b",
|
|
7070
8106
|
"mate-domain-modeling/references/CONTEXT-FORMAT.md": "172622594277",
|
|
7071
|
-
"mate-explore-change/SKILL.md": "
|
|
8107
|
+
"mate-explore-change/SKILL.md": "66158c617ed4",
|
|
7072
8108
|
"mate-explore-change/references/openspec-explore.md": "3cf63d55e3d2",
|
|
7073
8109
|
"mate-grill-me/SKILL.md": "ab55b002ba24",
|
|
7074
8110
|
"mate-grill-with-docs/SKILL.md": "b542b610c484",
|
|
7075
8111
|
"mate-grilling/SKILL.md": "f37ff4dd9b6d",
|
|
7076
8112
|
"mate-interview-me/SKILL.md": "b48d9804c423",
|
|
7077
|
-
"mate-propose-change/SKILL.md": "
|
|
7078
|
-
"mate-propose-change/references/mate-revise.md": "
|
|
8113
|
+
"mate-propose-change/SKILL.md": "371e31803cc5",
|
|
8114
|
+
"mate-propose-change/references/mate-revise.md": "1f90002ee95d",
|
|
7079
8115
|
"mate-propose-change/references/openspec-propose.md": "dbd00207ffa4",
|
|
7080
|
-
"mate-propose-change/references/openspec-update-change.md": "
|
|
7081
|
-
"mate-publish-artifact/SKILL.md": "
|
|
7082
|
-
"mate-publish-artifact/references/openspec.md": "
|
|
8116
|
+
"mate-propose-change/references/openspec-update-change.md": "0b0f6dee9f1e",
|
|
8117
|
+
"mate-publish-artifact/SKILL.md": "4332053cc80d",
|
|
8118
|
+
"mate-publish-artifact/references/openspec.md": "83196c70960c",
|
|
7083
8119
|
"mate-react-doctor/SKILL.md": "2ecf137679df",
|
|
7084
8120
|
"mate-react-doctor/references/explain.md": "86754a7e5436",
|
|
7085
|
-
"mate-show-me/SKILL.md": "
|
|
7086
|
-
"mate-simplify-code/SKILL.md": "
|
|
8121
|
+
"mate-show-me/SKILL.md": "4cb867ba9740",
|
|
8122
|
+
"mate-simplify-code/SKILL.md": "740c2b533c6a",
|
|
8123
|
+
"mate-submit-change/SKILL.md": "4595ca11960e",
|
|
7087
8124
|
},
|
|
7088
8125
|
"opencodeConfig": {
|
|
7089
8126
|
"$schema": "https://opencode.ai/config.json",
|
|
@@ -7142,32 +8179,33 @@ Write chunks to $GRAPHIFY_OUT and read $GRAPHIFY_OUT later.
|
|
|
7142
8179
|
},
|
|
7143
8180
|
"opencodeTui": null,
|
|
7144
8181
|
"sharedSkills": {
|
|
7145
|
-
"mate-apply-change/SKILL.md": "
|
|
8182
|
+
"mate-apply-change/SKILL.md": "6c3f42b0ace2",
|
|
7146
8183
|
"mate-apply-change/references/mate-compact-apply.md": "3f20c80a4d78",
|
|
7147
|
-
"mate-apply-change/references/openspec-apply-change.md": "
|
|
7148
|
-
"mate-archive-change/SKILL.md": "
|
|
8184
|
+
"mate-apply-change/references/openspec-apply-change.md": "c132265690b4",
|
|
8185
|
+
"mate-archive-change/SKILL.md": "675ef32ae065",
|
|
7149
8186
|
"mate-backfill-spec/SKILL.md": "d07cd4a60169",
|
|
7150
|
-
"mate-clarify-intent/SKILL.md": "
|
|
7151
|
-
"mate-create-report/SKILL.md": "
|
|
7152
|
-
"mate-domain-modeling/SKILL.md": "
|
|
8187
|
+
"mate-clarify-intent/SKILL.md": "7f7d768be634",
|
|
8188
|
+
"mate-create-report/SKILL.md": "b4d92b44719a",
|
|
8189
|
+
"mate-domain-modeling/SKILL.md": "92f3e1f5faa2",
|
|
7153
8190
|
"mate-domain-modeling/references/ADR-FORMAT.md": "824b87e87d9b",
|
|
7154
8191
|
"mate-domain-modeling/references/CONTEXT-FORMAT.md": "172622594277",
|
|
7155
|
-
"mate-explore-change/SKILL.md": "
|
|
8192
|
+
"mate-explore-change/SKILL.md": "66158c617ed4",
|
|
7156
8193
|
"mate-explore-change/references/openspec-explore.md": "5bfcc2eefbd8",
|
|
7157
8194
|
"mate-grill-me/SKILL.md": "ab55b002ba24",
|
|
7158
8195
|
"mate-grill-with-docs/SKILL.md": "b542b610c484",
|
|
7159
8196
|
"mate-grilling/SKILL.md": "f37ff4dd9b6d",
|
|
7160
8197
|
"mate-interview-me/SKILL.md": "b48d9804c423",
|
|
7161
|
-
"mate-propose-change/SKILL.md": "
|
|
7162
|
-
"mate-propose-change/references/mate-revise.md": "
|
|
8198
|
+
"mate-propose-change/SKILL.md": "371e31803cc5",
|
|
8199
|
+
"mate-propose-change/references/mate-revise.md": "1f90002ee95d",
|
|
7163
8200
|
"mate-propose-change/references/openspec-propose.md": "c1f1d1291283",
|
|
7164
|
-
"mate-propose-change/references/openspec-update-change.md": "
|
|
7165
|
-
"mate-publish-artifact/SKILL.md": "
|
|
7166
|
-
"mate-publish-artifact/references/openspec.md": "
|
|
8201
|
+
"mate-propose-change/references/openspec-update-change.md": "098ef729c37f",
|
|
8202
|
+
"mate-publish-artifact/SKILL.md": "4332053cc80d",
|
|
8203
|
+
"mate-publish-artifact/references/openspec.md": "83196c70960c",
|
|
7167
8204
|
"mate-react-doctor/SKILL.md": "2ecf137679df",
|
|
7168
8205
|
"mate-react-doctor/references/explain.md": "86754a7e5436",
|
|
7169
|
-
"mate-show-me/SKILL.md": "
|
|
7170
|
-
"mate-simplify-code/SKILL.md": "
|
|
8206
|
+
"mate-show-me/SKILL.md": "4cb867ba9740",
|
|
8207
|
+
"mate-simplify-code/SKILL.md": "740c2b533c6a",
|
|
8208
|
+
"mate-submit-change/SKILL.md": "4595ca11960e",
|
|
7171
8209
|
},
|
|
7172
8210
|
}
|
|
7173
8211
|
`;
|
|
@@ -7195,9 +8233,8 @@ exports[`runtime surface golden fixtures setup all capabilities × claude+openco
|
|
|
7195
8233
|
<linked-repository id="app" />
|
|
7196
8234
|
</context>
|
|
7197
8235
|
<mandatory-rules>
|
|
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>
|
|
8236
|
+
<rule id="artifact-location" severity="critical">Agent artifacts MUST go to <root>/companion, NEVER <root>/working, which holds product code (README, docs, source, tests). Artifacts include plans, specs, ADRs, todos, notes, handoffs, reasoning docs, and scratch files.</rule>
|
|
7199
8237
|
<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>
|
|
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
8238
|
<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
8239
|
<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
8240
|
<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>
|
|
@@ -7205,7 +8242,7 @@ exports[`runtime surface golden fixtures setup all capabilities × claude+openco
|
|
|
7205
8242
|
<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>
|
|
7206
8243
|
<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>
|
|
7207
8244
|
<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">
|
|
8245
|
+
<rule id="openspec-publish" severity="critical">Submit publishes nothing: it pushes an OpenSpec change folder (state: submitted) to the inbox mate/inbox to await its merge. A submitted change is not the truth: only publication lands it on the companion's default branch. openspec/specs/ is current; mate artifact project "<name>" shows the unpublished outcome. mate artifact pending --json lists them with author, touched requirements, ref and path; read one (git show <ref>:<path>/<file>) only where it touches your work or the user names it; implement or revise one only when the user names it: mate artifact take "<name>" brings it into the checkout when it is missing there, then resubmit it with mate-submit-change. Publish only through mate-publish-artifact (mate artifact publish "<name>" --json), after the user selects and confirms the commit and push, for a Delivery Group whose delivery branch is merged. It creates no tag. Never hand-commit or hand-tag one. Publish archives submitted changes and never submits: submitting is a precondition (mate-submit-change, before the merge).</rule>
|
|
7209
8246
|
</mandatory-rules>
|
|
7210
8247
|
</companion-policy>
|
|
7211
8248
|
|
|
@@ -7267,9 +8304,8 @@ exports[`runtime surface golden fixtures setup all capabilities × claude+openco
|
|
|
7267
8304
|
<linked-repository id="$MATE_REPO_ID" />
|
|
7268
8305
|
</context>
|
|
7269
8306
|
<mandatory-rules>
|
|
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>
|
|
8307
|
+
<rule id="artifact-location" severity="critical">Agent artifacts MUST go to $MATE_ARTIFACT_PATH, NEVER $MATE_REPO_PATH, which holds product code (README, docs, source, tests). Artifacts include plans, specs, ADRs, todos, notes, handoffs, reasoning docs, and scratch files.</rule>
|
|
7271
8308
|
<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>
|
|
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
8309
|
<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
8310
|
<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
8311
|
<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>
|
|
@@ -7277,7 +8313,7 @@ exports[`runtime surface golden fixtures setup all capabilities × claude+openco
|
|
|
7277
8313
|
<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>
|
|
7278
8314
|
<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>
|
|
7279
8315
|
<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">
|
|
8316
|
+
<rule id="openspec-publish" severity="critical">Submit publishes nothing: it pushes an OpenSpec change folder (state: submitted) to the inbox mate/inbox to await its merge. A submitted change is not the truth: only publication lands it on the companion's default branch. openspec/specs/ is current; mate artifact project "<name>" shows the unpublished outcome. mate artifact pending --json lists them with author, touched requirements, ref and path; read one (git show <ref>:<path>/<file>) only where it touches your work or the user names it; implement or revise one only when the user names it: mate artifact take "<name>" brings it into the checkout when it is missing there, then resubmit it with mate-submit-change. Publish only through mate-publish-artifact (mate artifact publish "<name>" --json), after the user selects and confirms the commit and push, for a Delivery Group whose delivery branch is merged. It creates no tag. Never hand-commit or hand-tag one. Publish archives submitted changes and never submits: submitting is a precondition (mate-submit-change, before the merge).</rule>
|
|
7281
8317
|
</mandatory-rules>
|
|
7282
8318
|
</companion-policy>"
|
|
7283
8319
|
,
|
|
@@ -7319,6 +8355,15 @@ exports[`runtime surface golden fixtures setup all capabilities × claude+openco
|
|
|
7319
8355
|
],
|
|
7320
8356
|
"matcher": "mcp__tokensave__.*",
|
|
7321
8357
|
},
|
|
8358
|
+
{
|
|
8359
|
+
"hooks": [
|
|
8360
|
+
{
|
|
8361
|
+
"command": "node "<runtime-claude-plugin>/hooks/rtk-worktree-git.mjs"",
|
|
8362
|
+
"type": "command",
|
|
8363
|
+
},
|
|
8364
|
+
],
|
|
8365
|
+
"matcher": "Bash",
|
|
8366
|
+
},
|
|
7322
8367
|
{
|
|
7323
8368
|
"hooks": [
|
|
7324
8369
|
{
|
|
@@ -7384,6 +8429,40 @@ exports[`runtime surface golden fixtures setup all capabilities × claude+openco
|
|
|
7384
8429
|
},
|
|
7385
8430
|
],
|
|
7386
8431
|
},
|
|
8432
|
+
{
|
|
8433
|
+
"at": [
|
|
8434
|
+
"hooks",
|
|
8435
|
+
"SessionEnd",
|
|
8436
|
+
],
|
|
8437
|
+
"kind": "list",
|
|
8438
|
+
"values": [
|
|
8439
|
+
{
|
|
8440
|
+
"hooks": [
|
|
8441
|
+
{
|
|
8442
|
+
"command": "node "<runtime-claude-plugin>/hooks/session-end.mjs" --projected",
|
|
8443
|
+
"type": "command",
|
|
8444
|
+
},
|
|
8445
|
+
],
|
|
8446
|
+
},
|
|
8447
|
+
],
|
|
8448
|
+
},
|
|
8449
|
+
{
|
|
8450
|
+
"at": [
|
|
8451
|
+
"hooks",
|
|
8452
|
+
"Notification",
|
|
8453
|
+
],
|
|
8454
|
+
"kind": "list",
|
|
8455
|
+
"values": [
|
|
8456
|
+
{
|
|
8457
|
+
"hooks": [
|
|
8458
|
+
{
|
|
8459
|
+
"command": "node "<runtime-claude-plugin>/hooks/session-attention.mjs" --projected",
|
|
8460
|
+
"type": "command",
|
|
8461
|
+
},
|
|
8462
|
+
],
|
|
8463
|
+
},
|
|
8464
|
+
],
|
|
8465
|
+
},
|
|
7387
8466
|
{
|
|
7388
8467
|
"at": [
|
|
7389
8468
|
"hooks",
|
|
@@ -7391,6 +8470,14 @@ exports[`runtime surface golden fixtures setup all capabilities × claude+openco
|
|
|
7391
8470
|
],
|
|
7392
8471
|
"kind": "list",
|
|
7393
8472
|
"values": [
|
|
8473
|
+
{
|
|
8474
|
+
"hooks": [
|
|
8475
|
+
{
|
|
8476
|
+
"command": "node "<runtime-claude-plugin>/hooks/workflow-turn.mjs" --projected",
|
|
8477
|
+
"type": "command",
|
|
8478
|
+
},
|
|
8479
|
+
],
|
|
8480
|
+
},
|
|
7394
8481
|
{
|
|
7395
8482
|
"hooks": [
|
|
7396
8483
|
{
|
|
@@ -7404,6 +8491,24 @@ exports[`runtime surface golden fixtures setup all capabilities × claude+openco
|
|
|
7404
8491
|
},
|
|
7405
8492
|
],
|
|
7406
8493
|
},
|
|
8494
|
+
{
|
|
8495
|
+
"at": [
|
|
8496
|
+
"hooks",
|
|
8497
|
+
"PostToolUse",
|
|
8498
|
+
],
|
|
8499
|
+
"kind": "list",
|
|
8500
|
+
"values": [
|
|
8501
|
+
{
|
|
8502
|
+
"hooks": [
|
|
8503
|
+
{
|
|
8504
|
+
"command": "node "<runtime-claude-plugin>/hooks/workflow-turn.mjs" --projected",
|
|
8505
|
+
"type": "command",
|
|
8506
|
+
},
|
|
8507
|
+
],
|
|
8508
|
+
"matcher": "Skill|Bash",
|
|
8509
|
+
},
|
|
8510
|
+
],
|
|
8511
|
+
},
|
|
7407
8512
|
{
|
|
7408
8513
|
"at": [
|
|
7409
8514
|
"hooks",
|
|
@@ -7411,6 +8516,14 @@ exports[`runtime surface golden fixtures setup all capabilities × claude+openco
|
|
|
7411
8516
|
],
|
|
7412
8517
|
"kind": "list",
|
|
7413
8518
|
"values": [
|
|
8519
|
+
{
|
|
8520
|
+
"hooks": [
|
|
8521
|
+
{
|
|
8522
|
+
"command": "node "<runtime-claude-plugin>/hooks/workflow-turn.mjs" --projected",
|
|
8523
|
+
"type": "command",
|
|
8524
|
+
},
|
|
8525
|
+
],
|
|
8526
|
+
},
|
|
7414
8527
|
{
|
|
7415
8528
|
"hooks": [
|
|
7416
8529
|
{
|
|
@@ -7446,6 +8559,7 @@ exports[`runtime surface golden fixtures setup all capabilities × claude+openco
|
|
|
7446
8559
|
"Skill(mate-explore-change)",
|
|
7447
8560
|
"Skill(mate-propose-change)",
|
|
7448
8561
|
"Skill(mate-apply-change)",
|
|
8562
|
+
"Skill(mate-submit-change)",
|
|
7449
8563
|
"Skill(mate-archive-change)",
|
|
7450
8564
|
"Skill(mate-publish-artifact)",
|
|
7451
8565
|
"Skill(mate-backfill-spec)",
|
|
@@ -7514,6 +8628,16 @@ exports[`runtime surface golden fixtures setup all capabilities × claude+openco
|
|
|
7514
8628
|
"Edit(**/.npmrc)",
|
|
7515
8629
|
],
|
|
7516
8630
|
},
|
|
8631
|
+
{
|
|
8632
|
+
"at": [
|
|
8633
|
+
"permissions",
|
|
8634
|
+
"ask",
|
|
8635
|
+
],
|
|
8636
|
+
"kind": "list",
|
|
8637
|
+
"values": [
|
|
8638
|
+
"Edit(/<root>/companion/.mate/config/framework.yaml)",
|
|
8639
|
+
],
|
|
8640
|
+
},
|
|
7517
8641
|
{
|
|
7518
8642
|
"at": [
|
|
7519
8643
|
"enableArtifact",
|
|
@@ -7849,6 +8973,9 @@ exports[`runtime surface golden fixtures teardown graphify × claude+opencode 1`
|
|
|
7849
8973
|
"Edit(<root>/companion/**)",
|
|
7850
8974
|
"Read(<root>/companion/**)",
|
|
7851
8975
|
],
|
|
8976
|
+
"ask": [
|
|
8977
|
+
"Edit(/<root>/companion/.mate/config/framework.yaml)",
|
|
8978
|
+
],
|
|
7852
8979
|
"deny": [
|
|
7853
8980
|
"EnterPlanMode",
|
|
7854
8981
|
"DesignSync",
|
|
@@ -7949,6 +9076,9 @@ exports[`runtime surface golden fixtures teardown tokensave × claude+opencode 1
|
|
|
7949
9076
|
"Edit(<root>/companion/**)",
|
|
7950
9077
|
"Read(<root>/companion/**)",
|
|
7951
9078
|
],
|
|
9079
|
+
"ask": [
|
|
9080
|
+
"Edit(/<root>/companion/.mate/config/framework.yaml)",
|
|
9081
|
+
],
|
|
7952
9082
|
"deny": [
|
|
7953
9083
|
"EnterPlanMode",
|
|
7954
9084
|
"DesignSync",
|
|
@@ -8050,6 +9180,9 @@ exports[`runtime surface golden fixtures teardown context-mode × claude+opencod
|
|
|
8050
9180
|
"Edit(<root>/companion/**)",
|
|
8051
9181
|
"Read(<root>/companion/**)",
|
|
8052
9182
|
],
|
|
9183
|
+
"ask": [
|
|
9184
|
+
"Edit(/<root>/companion/.mate/config/framework.yaml)",
|
|
9185
|
+
],
|
|
8053
9186
|
"deny": [
|
|
8054
9187
|
"EnterPlanMode",
|
|
8055
9188
|
"DesignSync",
|
|
@@ -8150,6 +9283,9 @@ exports[`runtime surface golden fixtures teardown react-doctor × claude+opencod
|
|
|
8150
9283
|
"Edit(<root>/companion/**)",
|
|
8151
9284
|
"Read(<root>/companion/**)",
|
|
8152
9285
|
],
|
|
9286
|
+
"ask": [
|
|
9287
|
+
"Edit(/<root>/companion/.mate/config/framework.yaml)",
|
|
9288
|
+
],
|
|
8153
9289
|
"deny": [
|
|
8154
9290
|
"EnterPlanMode",
|
|
8155
9291
|
"DesignSync",
|
|
@@ -8250,6 +9386,9 @@ exports[`runtime surface golden fixtures teardown openspec × claude+opencode 1`
|
|
|
8250
9386
|
"Edit(<root>/companion/**)",
|
|
8251
9387
|
"Read(<root>/companion/**)",
|
|
8252
9388
|
],
|
|
9389
|
+
"ask": [
|
|
9390
|
+
"Edit(/<root>/companion/.mate/config/framework.yaml)",
|
|
9391
|
+
],
|
|
8253
9392
|
"deny": [
|
|
8254
9393
|
"EnterPlanMode",
|
|
8255
9394
|
"DesignSync",
|
|
@@ -8367,6 +9506,9 @@ exports[`runtime surface golden fixtures deselect opencode runtime with graphify
|
|
|
8367
9506
|
"Read(<root>/companion/**)",
|
|
8368
9507
|
"Skill(graphify)",
|
|
8369
9508
|
],
|
|
9509
|
+
"ask": [
|
|
9510
|
+
"Edit(/<root>/companion/.mate/config/framework.yaml)",
|
|
9511
|
+
],
|
|
8370
9512
|
"deny": [
|
|
8371
9513
|
"EnterPlanMode",
|
|
8372
9514
|
"DesignSync",
|
|
@@ -8446,6 +9588,7 @@ User notes.
|
|
|
8446
9588
|
/.opencode/opencode.json
|
|
8447
9589
|
/.agents/
|
|
8448
9590
|
/.mcp.json
|
|
9591
|
+
/.worktreeinclude.local
|
|
8449
9592
|
# mate managed: end
|
|
8450
9593
|
.tokensave/
|
|
8451
9594
|
"
|
|
@@ -8492,6 +9635,7 @@ User notes.
|
|
|
8492
9635
|
/.opencode/opencode.json
|
|
8493
9636
|
/.agents/
|
|
8494
9637
|
/.mcp.json
|
|
9638
|
+
/.worktreeinclude.local
|
|
8495
9639
|
# mate managed: end
|
|
8496
9640
|
"
|
|
8497
9641
|
,
|
|
@@ -8551,6 +9695,9 @@ exports[`working repo golden fixtures hub roots set up providers only without co
|
|
|
8551
9695
|
"Edit(<root>/companion/**)",
|
|
8552
9696
|
"Read(<root>/companion/**)",
|
|
8553
9697
|
],
|
|
9698
|
+
"ask": [
|
|
9699
|
+
"Edit(/<root>/companion/.mate/config/framework.yaml)",
|
|
9700
|
+
],
|
|
8554
9701
|
"deny": [
|
|
8555
9702
|
"EnterPlanMode",
|
|
8556
9703
|
"DesignSync",
|