@uniqbit/mate-core 0.20.0 → 0.21.0

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.
Files changed (286) hide show
  1. package/claude-capability-plugins/companion-mentions/.claude-plugin/plugin.json +1 -1
  2. package/claude-capability-plugins/companion-mentions/hooks/register.ts +1 -1
  3. package/claude-plugin/hooks/hooks.json +10 -1
  4. package/claude-plugin/hooks/rtk-worktree-git.mjs +58 -0
  5. package/opencode-plugin/src/server.ts +9 -2
  6. package/package.json +2 -1
  7. package/src/cli/commands/artifact/delivery/environment.ts +28 -8
  8. package/src/cli/commands/artifact/delivery/link.ts +28 -9
  9. package/src/cli/commands/artifact/delivery/output.ts +7 -0
  10. package/src/cli/commands/companion/update.ts +2 -19
  11. package/src/cli/commands/factory/factory.ts +11 -1
  12. package/src/cli/commands/install.ts +47 -36
  13. package/src/cli/commands/launch/claude.ts +2 -0
  14. package/src/cli/commands/launch/shared.ts +33 -6
  15. package/src/cli/commands/plugin/install.ts +27 -11
  16. package/src/cli/commands/report/index.ts +180 -184
  17. package/src/cli/commands/report/markdown.ts +67 -72
  18. package/src/cli/commands/shared/companion-selection.ts +3 -1
  19. package/src/cli/commands/studio/access.ts +6 -14
  20. package/src/cli/commands/studio/areas.ts +112 -33
  21. package/src/cli/commands/studio/companion-add.ts +87 -0
  22. package/src/cli/commands/studio/companion-removal.ts +15 -8
  23. package/src/cli/commands/studio/factory-credential.ts +1 -15
  24. package/src/cli/commands/studio/factory-git-tokens.ts +40 -0
  25. package/src/cli/commands/studio/factory-relay.ts +18 -0
  26. package/src/cli/commands/studio/graph-model.ts +61 -0
  27. package/src/cli/commands/studio/graph.ts +336 -0
  28. package/src/cli/commands/studio/index.ts +4 -4
  29. package/src/cli/commands/studio/payload.ts +42 -15
  30. package/src/cli/commands/studio/repository-add.ts +116 -0
  31. package/src/cli/commands/studio/routes.ts +6 -0
  32. package/src/cli/commands/studio/selection.ts +12 -3
  33. package/src/cli/commands/studio/server.ts +127 -5
  34. package/src/cli/commands/studio/services.ts +40 -0
  35. package/src/cli/commands/studio/terminal.ts +45 -3
  36. package/src/cli/commands/studio/views/vault/markdown-tree.ts +84 -3
  37. package/src/cli/commands/studio/workset-session.ts +47 -14
  38. package/src/cli/commands/unwrap.ts +3 -0
  39. package/src/cli/commands/update.ts +2 -0
  40. package/src/cli/commands/vscode/release-vsix.json +4 -0
  41. package/src/cli/commands/vscode/setup.ts +71 -13
  42. package/src/cli/commands/vscode/vsix.ts +48 -7
  43. package/src/cli/commands/working/cleanup.ts +40 -8
  44. package/src/cli/commands/working/worktree.ts +176 -35
  45. package/src/cli/main.ts +17 -2
  46. package/src/cli/usage.ts +1 -1
  47. package/src/hooks/rtk-worktree-git.ts +48 -0
  48. package/src/hooks/validate-artifact-path.ts +38 -7
  49. package/src/lib/delivery/branch-template.ts +122 -0
  50. package/src/lib/delivery/branches.ts +21 -16
  51. package/src/lib/delivery/checkout.ts +102 -0
  52. package/src/lib/delivery/environment.ts +2 -0
  53. package/src/lib/delivery/merge-git.ts +13 -1
  54. package/src/lib/delivery/record-delivery.ts +83 -29
  55. package/src/lib/delivery/record.ts +15 -3
  56. package/src/lib/delivery/resolve-branch.ts +157 -110
  57. package/src/lib/factory/attach-client.ts +11 -1
  58. package/src/lib/factory/broker.ts +37 -40
  59. package/src/lib/factory/client.ts +22 -1
  60. package/src/lib/factory/clone-url.ts +39 -0
  61. package/src/lib/factory/command.ts +21 -5
  62. package/src/lib/factory/git-auth.ts +61 -0
  63. package/src/lib/factory/git-credential-store.ts +181 -0
  64. package/src/lib/factory/ids.ts +12 -2
  65. package/src/lib/factory/outcomes/actions.ts +20 -4
  66. package/src/lib/factory/outcomes/index.ts +77 -11
  67. package/src/lib/factory/outcomes/lifecycle.ts +9 -2
  68. package/src/lib/factory/outcomes/sessions.ts +23 -1
  69. package/src/lib/factory/prepare.ts +9 -3
  70. package/src/lib/factory/runner/scheduler.ts +96 -14
  71. package/src/lib/factory/runner/workflow.ts +5 -1
  72. package/src/lib/factory/runtime.ts +143 -43
  73. package/src/lib/orchestrator/companion-hub.ts +6 -1
  74. package/src/lib/orchestrator/engine-floor.ts +48 -0
  75. package/src/lib/orchestrator/launcher.ts +34 -1
  76. package/src/lib/orchestrator/projection-claude-commands.ts +2 -2
  77. package/src/lib/orchestrator/projection-claude-entry.ts +42 -21
  78. package/src/lib/orchestrator/projection-claude-links.ts +32 -8
  79. package/src/lib/orchestrator/projection-claude-skills.ts +2 -2
  80. package/src/lib/orchestrator/projection-entries.ts +22 -18
  81. package/src/lib/orchestrator/projection-opencode-copies.ts +65 -21
  82. package/src/lib/orchestrator/projection-runtime-documents.ts +66 -43
  83. package/src/lib/orchestrator/projection-types.ts +28 -1
  84. package/src/lib/orchestrator/refresh-working-claude-links.ts +3 -1
  85. package/src/lib/orchestrator/session-prepare.ts +6 -1
  86. package/src/lib/orchestrator/setup-compatibilities.ts +1 -1
  87. package/src/lib/orchestrator/types.ts +4 -0
  88. package/src/lib/orchestrator/umbrella-checkouts.ts +102 -0
  89. package/src/lib/orchestrator/working-repo-projection.ts +24 -4
  90. package/src/lib/orchestrator/wrap-pass.ts +1 -0
  91. package/src/lib/public-npm.ts +95 -50
  92. package/src/lib/session-state.ts +72 -2
  93. package/src/lib/update-checker.ts +7 -1
  94. package/src/lib/usage/aggregate.ts +202 -0
  95. package/src/lib/usage/cache.ts +87 -0
  96. package/src/lib/usage/claude-pricing.ts +71 -0
  97. package/src/lib/usage/claude.ts +189 -0
  98. package/src/lib/usage/collect.ts +56 -0
  99. package/src/lib/usage/opencode.ts +188 -0
  100. package/src/lib/usage/records.ts +80 -0
  101. package/src/lib/usage/rtk-database.ts +72 -0
  102. package/src/lib/usage/savings.ts +209 -0
  103. package/src/lib/usage/scope.ts +182 -0
  104. package/src/lib/usage/source.ts +102 -0
  105. package/src/lib/usage/types.ts +143 -0
  106. package/src/lib/usage/window.ts +37 -0
  107. package/src/lib/workset/factory-local.ts +157 -0
  108. package/src/lib/workset/record.ts +25 -11
  109. package/src/lib/workset/repositories.ts +118 -25
  110. package/src/lib/workset/worktree-include.ts +161 -0
  111. package/src/lib/workset/worktree-index.ts +6 -2
  112. package/src/lib/workset/worktree.ts +591 -101
  113. package/src/opencode/companion-hooks.ts +46 -8
  114. package/src/opencode/companion-policy.ts +18 -5
  115. package/src/opencode/enter-worktree.ts +254 -6
  116. package/src/opencode/session-register.ts +2 -2
  117. package/src/runtime/claude-bg-isolation.ts +138 -0
  118. package/src/runtime/companion-git.ts +10 -2
  119. package/src/runtime/companion-guidance.ts +17 -4
  120. package/src/runtime/current-branch.ts +16 -2
  121. package/src/runtime/entered-worktree.ts +24 -0
  122. package/src/runtime/git-tracked.ts +60 -0
  123. package/src/runtime/repo-destination.ts +72 -0
  124. package/src/runtime/repo-local.ts +25 -3
  125. package/src/runtime/rtk-git-guard.ts +66 -0
  126. package/src/runtime/runtime-document-manifest.ts +229 -19
  127. package/src/runtime/runtime-document-manifest.typecheck.ts +10 -0
  128. package/src/runtime/secret-guard.ts +9 -2
  129. package/src/runtime/secret-policy-weakening.ts +122 -0
  130. package/src/runtime/serving-claude-wrap.ts +15 -2
  131. package/src/runtime/umbrella-folder.ts +56 -0
  132. package/src/runtime/wrap-state.ts +5 -13
  133. package/src/studio.ts +37 -0
  134. package/src/templates/mate-skills/agents/mate-apply-change/SKILL.md +61 -6
  135. package/src/templates/mate-skills/agents/mate-explore-change/SKILL.md +8 -4
  136. package/src/templates/mate-skills/agents/mate-propose-change/SKILL.md +9 -5
  137. package/src/templates/mate-skills/agents/mate-publish-artifact/SKILL.md +5 -4
  138. package/src/templates/mate-skills/agents/mate-show-me/SKILL.md +10 -4
  139. package/src/templates/mate-skills/agents/mate-simplify-code/SKILL.md +5 -1
  140. package/src/templates/mate-skills/claude/mate-apply-change/SKILL.md +61 -6
  141. package/src/templates/mate-skills/claude/mate-explore-change/SKILL.md +8 -4
  142. package/src/templates/mate-skills/claude/mate-propose-change/SKILL.md +9 -5
  143. package/src/templates/mate-skills/claude/mate-publish-artifact/SKILL.md +5 -4
  144. package/src/templates/mate-skills/claude/mate-show-me/SKILL.md +10 -4
  145. package/src/templates/mate-skills/claude/mate-simplify-code/SKILL.md +5 -1
  146. package/src/tools/setup/__snapshots__/runtime-surface-golden.test.ts.snap +305 -42
  147. package/src/tools/setup/capabilities/rtk.ts +93 -1
  148. package/src/tools/setup/dynamic-plugins/audiences.ts +65 -21
  149. package/src/tools/setup/dynamic-plugins/frozen.ts +32 -13
  150. package/src/tools/setup/dynamic-plugins/hydrate.ts +4 -4
  151. package/src/tools/setup/dynamic-plugins/install.ts +24 -22
  152. package/src/tools/setup/dynamic-plugins/loader.ts +11 -7
  153. package/src/tools/setup/dynamic-plugins/paths.ts +30 -10
  154. package/src/tools/setup/dynamic-plugins/verify.ts +10 -7
  155. package/src/tools/setup/dynamic-plugins/workspaces.ts +153 -0
  156. package/src/tools/setup/mate.ts +3 -3
  157. package/src/tools/setup/plugins/gitignore.ts +15 -9
  158. package/src/tools/setup/providers/claude-plugin-hooks.ts +12 -0
  159. package/src/tools/setup/providers/claude.ts +25 -3
  160. package/src/tools/setup/utils.ts +4 -2
  161. package/src/tools/setup/working-repo-cleanup.ts +2 -2
  162. package/src/tools/setup.ts +25 -14
  163. package/studio-dist/client/assets/app-D9cw6szy.css +2 -0
  164. package/studio-dist/client/assets/artifacts-WD2ZXYrx.js +1 -0
  165. package/studio-dist/client/assets/button-Br0O1sXw.js +1 -0
  166. package/studio-dist/client/assets/combobox-DA7RAUUZ.js +1 -0
  167. package/studio-dist/client/assets/companion-view-CrabvxS8.js +1 -0
  168. package/studio-dist/client/assets/factory-DGS0E16C.js +6 -0
  169. package/studio-dist/client/assets/fields-6aXBpFhJ.js +1 -0
  170. package/studio-dist/client/assets/getting-started-Clde4w6P.js +1 -0
  171. package/studio-dist/client/assets/getting-started-D6kgWwWZ.js +1 -0
  172. package/studio-dist/client/assets/getting-started._topic-BiunccbT.js +1 -0
  173. package/studio-dist/client/assets/getting-started.index-DpiNoGw8.js +1 -0
  174. package/studio-dist/client/assets/graph-B_TCBVbu.js +2 -0
  175. package/studio-dist/client/assets/graph-canvas-Ba37Y5AE.js +3242 -0
  176. package/studio-dist/client/assets/guides-Du_RtJxP.js +1 -0
  177. package/studio-dist/client/assets/index-Df8L1LQa.js +40 -0
  178. package/studio-dist/client/assets/jsx-runtime-MZURdZre.js +1 -0
  179. package/studio-dist/client/assets/markdown-view-BOX6x0rL.js +1 -0
  180. package/studio-dist/client/assets/panel-dbmCx7Mx.js +1 -0
  181. package/studio-dist/client/assets/queries-RvHeXY12.js +1 -0
  182. package/studio-dist/client/assets/react-3QStrcDO.js +27 -0
  183. package/studio-dist/client/assets/report-url-XRL0x1SY.js +1 -0
  184. package/studio-dist/client/assets/reports-r3IK7Doz.js +1 -0
  185. package/studio-dist/client/assets/routes-C0A5LTFc.js +1 -0
  186. package/studio-dist/client/assets/select-CnaMd617.js +1 -0
  187. package/studio-dist/client/assets/skills-CzjzHpBT.js +1 -0
  188. package/studio-dist/client/assets/specs-B0ldF_6J.js +1 -0
  189. package/studio-dist/client/assets/specs-view-BnCLA0gW.js +1 -0
  190. package/studio-dist/client/assets/spinner-Dcm3fqK1.js +1 -0
  191. package/studio-dist/client/assets/steps-C0p2N1Pb.js +1 -0
  192. package/studio-dist/client/assets/store-Dw34catY.js +1 -0
  193. package/studio-dist/client/assets/studio-Cpz_HRHp.js +100 -0
  194. package/studio-dist/client/assets/studio-queries-ibmpFo6R.js +2 -0
  195. package/studio-dist/client/assets/usage-C2QJ_0IZ.js +55 -0
  196. package/studio-dist/client/assets/useAnchoredPopupScrollLock-Bj-FWb8z.js +1 -0
  197. package/studio-dist/client/assets/useMutation-aAr2uiay.js +1 -0
  198. package/studio-dist/client/assets/useSelector-AYcH7lB0.js +2 -0
  199. package/studio-dist/client/assets/vault-BGcxkSIY.js +1 -0
  200. package/studio-dist/client/assets/warnings-R1cE1rLf.js +1 -0
  201. package/studio-dist/client/assets/workflow-C2qTrMDH.js +1 -0
  202. package/studio-dist/server/assets/__23tanstack-start-server-fn-resolver-Bn896ZYj.js +122 -0
  203. package/studio-dist/server/assets/_tanstack-start-manifest_v.js +102 -35
  204. package/studio-dist/server/assets/{actions-Bvgj9eb8.js → actions-DYSv-9VV.js} +10 -4
  205. package/studio-dist/server/assets/artifacts-DnF9L3dZ.js +216 -0
  206. package/studio-dist/server/assets/{button-CIJqAhni.js → button-CgOIVdmD.js} +13 -1702
  207. package/studio-dist/server/assets/combobox-DV_s9W0s.js +483 -0
  208. package/studio-dist/server/assets/{companion-view-DISASvdJ.js → companion-view-BKVXD3TO.js} +3 -3
  209. package/studio-dist/server/assets/companions-C7fctnU9.js +31 -0
  210. package/studio-dist/server/assets/{createServerRpc-tK2lE9R2.js → createServerRpc-bFKFpGFG.js} +1 -1
  211. package/studio-dist/server/assets/{factory-DUTa0eDs.js → factory-C7Ybg0xG.js} +1256 -353
  212. package/studio-dist/server/assets/{factory-DGPmNGbo.js → factory-Df5uAHjb.js} +53 -6
  213. package/studio-dist/server/assets/fields-BbieQTD0.js +1190 -0
  214. package/studio-dist/server/assets/getting-started-B136TP57.js +4 -0
  215. package/studio-dist/server/assets/getting-started-CRxMWorQ.js +67 -0
  216. package/studio-dist/server/assets/getting-started._topic-DJKQAzYl.js +13 -0
  217. package/studio-dist/server/assets/getting-started.index-D84gec1t.js +13 -0
  218. package/studio-dist/server/assets/graph-CSje3029.js +801 -0
  219. package/studio-dist/server/assets/graph-DDZzXM1L.js +16 -0
  220. package/studio-dist/server/assets/graph-canvas-22bWB5-2.js +21066 -0
  221. package/studio-dist/server/assets/graph-wire-BdSUx0G5.js +58 -0
  222. package/studio-dist/server/assets/guides-D9dk1Frq.js +13 -0
  223. package/studio-dist/server/assets/guides-IE-19POz.js +5 -0
  224. package/studio-dist/server/assets/guides.server-vcYRY5wx.js +66 -0
  225. package/studio-dist/server/assets/jsx-runtime-Bt0s0YKS.js +451 -0
  226. package/studio-dist/server/assets/{markdown-view-Bn7xPdks.js → markdown-view-BR8dJ7aR.js} +28 -9
  227. package/studio-dist/server/assets/{panel-3Jmn4awF.js → panel-BR_t9iMM.js} +4 -4
  228. package/studio-dist/server/assets/queries-DWoTin-q.js +32 -0
  229. package/studio-dist/server/assets/react-CdqSUhaL.js +89 -0
  230. package/studio-dist/server/assets/redirect-BaZ_QyqF.js +39 -0
  231. package/studio-dist/server/assets/report-url-BUXPcE_8.js +9 -0
  232. package/studio-dist/server/assets/{reports-D6YMqhnO.js → reports-CQ9qQ1-n.js} +9 -10
  233. package/studio-dist/server/assets/{reports-C06RXVE2.js → reports-dYDEoBeq.js} +3 -3
  234. package/studio-dist/server/assets/{router-C8MGqlAY.js → router-DkRHNTpE.js} +787 -2862
  235. package/studio-dist/server/assets/{routes-BcFgvqf7.js → routes-B6GfOew4.js} +22 -171
  236. package/studio-dist/server/assets/{search-JAKurDNh.js → search-BJnWLfkG.js} +21 -2
  237. package/studio-dist/server/assets/select-Af7Wibii.js +1609 -0
  238. package/studio-dist/server/assets/{shell-DS3wUexh.js → shell-Hq-hXgnT.js} +6 -5
  239. package/studio-dist/server/assets/{skills-BEnOxiDl.js → skills-B7nEuVbx.js} +9 -8
  240. package/studio-dist/server/assets/{skills-CtrBAtX3.js → skills-B_YYL7q8.js} +3 -3
  241. package/studio-dist/server/assets/specs-BpLUFntA.js +51 -0
  242. package/studio-dist/server/assets/specs-view-0peMVd22.js +426 -0
  243. package/studio-dist/server/assets/spinner-CdwJW4VB.js +20 -0
  244. package/studio-dist/server/assets/{steps-Dq_CwY_s.js → steps-D56DApvK.js} +1 -1
  245. package/studio-dist/server/assets/store-Cs17okNG.js +280 -0
  246. package/studio-dist/server/assets/studio-CAcKp3bM.js +10340 -0
  247. package/studio-dist/server/assets/studio-queries-BtRGzDdh.js +1451 -0
  248. package/studio-dist/server/assets/usage-COdjd1gD.js +25570 -0
  249. package/studio-dist/server/assets/usage-f6pqE1tm.js +24 -0
  250. package/studio-dist/server/assets/useAnchoredPopupScrollLock-DlBKHRw7.js +756 -0
  251. package/studio-dist/server/assets/useMutation-DzTZGenE.js +690 -0
  252. package/studio-dist/server/assets/{__23tanstack-start-server-fn-resolver-M2GBs8s3.js → useSelector-DUmCUXAs.js} +4 -668
  253. package/studio-dist/server/assets/{vault-Fvxt2Tzl.js → vault-BDuIUq0F.js} +8 -5
  254. package/studio-dist/server/assets/{vault-BmWnryh3.js → vault-BVLp6zu3.js} +3 -3
  255. package/studio-dist/server/assets/{views-BgYa-za2.js → views-flRUr21z.js} +4 -4
  256. package/studio-dist/server/assets/{warnings-DzR6fyZh.js → warnings-CDy9pdgL.js} +3 -2
  257. package/studio-dist/server/assets/{delivery-path-C29fBynY.js → workflow-D9GKI2EV.js} +132 -106
  258. package/studio-dist/server/server.js +582 -8
  259. package/src/cli/commands/report/collector.ts +0 -288
  260. package/studio-dist/client/assets/app-CdPiFv59.css +0 -2
  261. package/studio-dist/client/assets/button-BIIHE0EQ.js +0 -3
  262. package/studio-dist/client/assets/companion-view-DM6YyXaR.js +0 -1
  263. package/studio-dist/client/assets/delivery-path-DELxj0Av.js +0 -1
  264. package/studio-dist/client/assets/factory-BZy0E8ty.js +0 -4
  265. package/studio-dist/client/assets/index-B3wkMzjA.js +0 -40
  266. package/studio-dist/client/assets/markdown-view-pQ2Qp_i5.js +0 -1
  267. package/studio-dist/client/assets/panel-CbajlC3p.js +0 -1
  268. package/studio-dist/client/assets/prepaint-CwSrpdFA.js +0 -27
  269. package/studio-dist/client/assets/react-CN2GSx7x.js +0 -1
  270. package/studio-dist/client/assets/reports-DllhYQ5_.js +0 -1
  271. package/studio-dist/client/assets/rolldown-runtime-WkwZ5CU-.js +0 -1
  272. package/studio-dist/client/assets/routes-COm-G3mK.js +0 -1
  273. package/studio-dist/client/assets/skills-DmWAy-jZ.js +0 -1
  274. package/studio-dist/client/assets/specs-BG3Wi3ln.js +0 -1
  275. package/studio-dist/client/assets/steps-DFsH3Neu.js +0 -1
  276. package/studio-dist/client/assets/vault-B2q1nBY5.js +0 -1
  277. package/studio-dist/client/assets/warnings-BSXIyuSQ.js +0 -1
  278. package/studio-dist/client/assets/workflow-DlsQD6Hc.js +0 -1
  279. package/studio-dist/server/assets/companions-BYbHWKOZ.js +0 -15
  280. package/studio-dist/server/assets/createServerFn-F5sAOF8V.js +0 -459
  281. package/studio-dist/server/assets/prepaint-DJfTQ_VH.js +0 -45
  282. package/studio-dist/server/assets/react-Ce6dj15C.js +0 -46
  283. package/studio-dist/server/assets/rolldown-runtime-DYf_mQCB.js +0 -34
  284. package/studio-dist/server/assets/specs-C8rv34-5.js +0 -211
  285. package/studio-dist/server/assets/studio-BeltxxKt.js +0 -216
  286. package/studio-dist/server/assets/workflow-liRYecHk.js +0 -73
@@ -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",
@@ -204,6 +207,15 @@ exports[`runtime surface golden fixtures setup graphify × claude 3`] = `
204
207
  ],
205
208
  "matcher": "mcp__tokensave__.*",
206
209
  },
210
+ {
211
+ "hooks": [
212
+ {
213
+ "command": "node "<runtime-claude-plugin>/hooks/rtk-worktree-git.mjs"",
214
+ "type": "command",
215
+ },
216
+ ],
217
+ "matcher": "Bash",
218
+ },
207
219
  ],
208
220
  },
209
221
  {
@@ -359,6 +371,16 @@ exports[`runtime surface golden fixtures setup graphify × claude 3`] = `
359
371
  "Edit(**/.npmrc)",
360
372
  ],
361
373
  },
374
+ {
375
+ "at": [
376
+ "permissions",
377
+ "ask",
378
+ ],
379
+ "kind": "list",
380
+ "values": [
381
+ "Edit(/<root>/companion/.mate/config/framework.yaml)",
382
+ ],
383
+ },
362
384
  {
363
385
  "at": [
364
386
  "enableArtifact",
@@ -800,6 +822,9 @@ exports[`runtime surface golden fixtures setup graphify × claude+opencode 1`] =
800
822
  "Read(<root>/companion/**)",
801
823
  "Skill(graphify)",
802
824
  ],
825
+ "ask": [
826
+ "Edit(/<root>/companion/.mate/config/framework.yaml)",
827
+ ],
803
828
  "deny": [
804
829
  "EnterPlanMode",
805
830
  "DesignSync",
@@ -1042,6 +1067,15 @@ exports[`runtime surface golden fixtures setup graphify × claude+opencode 3`] =
1042
1067
  ],
1043
1068
  "matcher": "mcp__tokensave__.*",
1044
1069
  },
1070
+ {
1071
+ "hooks": [
1072
+ {
1073
+ "command": "node "<runtime-claude-plugin>/hooks/rtk-worktree-git.mjs"",
1074
+ "type": "command",
1075
+ },
1076
+ ],
1077
+ "matcher": "Bash",
1078
+ },
1045
1079
  ],
1046
1080
  },
1047
1081
  {
@@ -1197,6 +1231,16 @@ exports[`runtime surface golden fixtures setup graphify × claude+opencode 3`] =
1197
1231
  "Edit(**/.npmrc)",
1198
1232
  ],
1199
1233
  },
1234
+ {
1235
+ "at": [
1236
+ "permissions",
1237
+ "ask",
1238
+ ],
1239
+ "kind": "list",
1240
+ "values": [
1241
+ "Edit(/<root>/companion/.mate/config/framework.yaml)",
1242
+ ],
1243
+ },
1200
1244
  {
1201
1245
  "at": [
1202
1246
  "enableArtifact",
@@ -1543,6 +1587,9 @@ exports[`runtime surface golden fixtures setup tokensave × claude 1`] = `
1543
1587
  "Read(<root>/companion/**)",
1544
1588
  "mcp__tokensave__*",
1545
1589
  ],
1590
+ "ask": [
1591
+ "Edit(/<root>/companion/.mate/config/framework.yaml)",
1592
+ ],
1546
1593
  "deny": [
1547
1594
  "EnterPlanMode",
1548
1595
  "DesignSync",
@@ -1675,6 +1722,15 @@ exports[`runtime surface golden fixtures setup tokensave × claude 3`] = `
1675
1722
  ],
1676
1723
  "matcher": "mcp__tokensave__.*",
1677
1724
  },
1725
+ {
1726
+ "hooks": [
1727
+ {
1728
+ "command": "node "<runtime-claude-plugin>/hooks/rtk-worktree-git.mjs"",
1729
+ "type": "command",
1730
+ },
1731
+ ],
1732
+ "matcher": "Bash",
1733
+ },
1678
1734
  {
1679
1735
  "hooks": [
1680
1736
  {
@@ -1879,6 +1935,16 @@ exports[`runtime surface golden fixtures setup tokensave × claude 3`] = `
1879
1935
  "Edit(**/.npmrc)",
1880
1936
  ],
1881
1937
  },
1938
+ {
1939
+ "at": [
1940
+ "permissions",
1941
+ "ask",
1942
+ ],
1943
+ "kind": "list",
1944
+ "values": [
1945
+ "Edit(/<root>/companion/.mate/config/framework.yaml)",
1946
+ ],
1947
+ },
1882
1948
  {
1883
1949
  "at": [
1884
1950
  "enableArtifact",
@@ -2379,6 +2445,9 @@ exports[`runtime surface golden fixtures setup tokensave × claude+opencode 1`]
2379
2445
  "Read(<root>/companion/**)",
2380
2446
  "mcp__tokensave__*",
2381
2447
  ],
2448
+ "ask": [
2449
+ "Edit(/<root>/companion/.mate/config/framework.yaml)",
2450
+ ],
2382
2451
  "deny": [
2383
2452
  "EnterPlanMode",
2384
2453
  "DesignSync",
@@ -2590,6 +2659,15 @@ exports[`runtime surface golden fixtures setup tokensave × claude+opencode 3`]
2590
2659
  ],
2591
2660
  "matcher": "mcp__tokensave__.*",
2592
2661
  },
2662
+ {
2663
+ "hooks": [
2664
+ {
2665
+ "command": "node "<runtime-claude-plugin>/hooks/rtk-worktree-git.mjs"",
2666
+ "type": "command",
2667
+ },
2668
+ ],
2669
+ "matcher": "Bash",
2670
+ },
2593
2671
  {
2594
2672
  "hooks": [
2595
2673
  {
@@ -2794,6 +2872,16 @@ exports[`runtime surface golden fixtures setup tokensave × claude+opencode 3`]
2794
2872
  "Edit(**/.npmrc)",
2795
2873
  ],
2796
2874
  },
2875
+ {
2876
+ "at": [
2877
+ "permissions",
2878
+ "ask",
2879
+ ],
2880
+ "kind": "list",
2881
+ "values": [
2882
+ "Edit(/<root>/companion/.mate/config/framework.yaml)",
2883
+ ],
2884
+ },
2797
2885
  {
2798
2886
  "at": [
2799
2887
  "enableArtifact",
@@ -3130,6 +3218,9 @@ exports[`runtime surface golden fixtures setup context-mode × claude 1`] = `
3130
3218
  "Skill(context-mode:context-mode)",
3131
3219
  "mcp__plugin_context-mode_context-mode__*",
3132
3220
  ],
3221
+ "ask": [
3222
+ "Edit(/<root>/companion/.mate/config/framework.yaml)",
3223
+ ],
3133
3224
  "deny": [
3134
3225
  "EnterPlanMode",
3135
3226
  "DesignSync",
@@ -3256,6 +3347,15 @@ exports[`runtime surface golden fixtures setup context-mode × claude 3`] = `
3256
3347
  ],
3257
3348
  "matcher": "mcp__tokensave__.*",
3258
3349
  },
3350
+ {
3351
+ "hooks": [
3352
+ {
3353
+ "command": "node "<runtime-claude-plugin>/hooks/rtk-worktree-git.mjs"",
3354
+ "type": "command",
3355
+ },
3356
+ ],
3357
+ "matcher": "Bash",
3358
+ },
3259
3359
  ],
3260
3360
  },
3261
3361
  {
@@ -3409,6 +3509,16 @@ exports[`runtime surface golden fixtures setup context-mode × claude 3`] = `
3409
3509
  "Edit(**/.npmrc)",
3410
3510
  ],
3411
3511
  },
3512
+ {
3513
+ "at": [
3514
+ "permissions",
3515
+ "ask",
3516
+ ],
3517
+ "kind": "list",
3518
+ "values": [
3519
+ "Edit(/<root>/companion/.mate/config/framework.yaml)",
3520
+ ],
3521
+ },
3412
3522
  {
3413
3523
  "at": [
3414
3524
  "enableArtifact",
@@ -3823,6 +3933,9 @@ Canonical Mate policy and any more specific tool-routing instructions remain aut
3823
3933
  "Skill(context-mode:context-mode)",
3824
3934
  "mcp__plugin_context-mode_context-mode__*",
3825
3935
  ],
3936
+ "ask": [
3937
+ "Edit(/<root>/companion/.mate/config/framework.yaml)",
3938
+ ],
3826
3939
  "deny": [
3827
3940
  "EnterPlanMode",
3828
3941
  "DesignSync",
@@ -4011,6 +4124,15 @@ exports[`runtime surface golden fixtures setup context-mode × claude+opencode 3
4011
4124
  ],
4012
4125
  "matcher": "mcp__tokensave__.*",
4013
4126
  },
4127
+ {
4128
+ "hooks": [
4129
+ {
4130
+ "command": "node "<runtime-claude-plugin>/hooks/rtk-worktree-git.mjs"",
4131
+ "type": "command",
4132
+ },
4133
+ ],
4134
+ "matcher": "Bash",
4135
+ },
4014
4136
  ],
4015
4137
  },
4016
4138
  {
@@ -4164,6 +4286,16 @@ exports[`runtime surface golden fixtures setup context-mode × claude+opencode 3
4164
4286
  "Edit(**/.npmrc)",
4165
4287
  ],
4166
4288
  },
4289
+ {
4290
+ "at": [
4291
+ "permissions",
4292
+ "ask",
4293
+ ],
4294
+ "kind": "list",
4295
+ "values": [
4296
+ "Edit(/<root>/companion/.mate/config/framework.yaml)",
4297
+ ],
4298
+ },
4167
4299
  {
4168
4300
  "at": [
4169
4301
  "enableArtifact",
@@ -4463,6 +4595,9 @@ exports[`runtime surface golden fixtures setup react-doctor × claude 1`] = `
4463
4595
  "Read(<root>/companion/**)",
4464
4596
  "Skill(mate-react-doctor)",
4465
4597
  ],
4598
+ "ask": [
4599
+ "Edit(/<root>/companion/.mate/config/framework.yaml)",
4600
+ ],
4466
4601
  "deny": [
4467
4602
  "EnterPlanMode",
4468
4603
  "DesignSync",
@@ -4590,6 +4725,15 @@ exports[`runtime surface golden fixtures setup react-doctor × claude 3`] = `
4590
4725
  ],
4591
4726
  "matcher": "mcp__tokensave__.*",
4592
4727
  },
4728
+ {
4729
+ "hooks": [
4730
+ {
4731
+ "command": "node "<runtime-claude-plugin>/hooks/rtk-worktree-git.mjs"",
4732
+ "type": "command",
4733
+ },
4734
+ ],
4735
+ "matcher": "Bash",
4736
+ },
4593
4737
  ],
4594
4738
  },
4595
4739
  {
@@ -4743,6 +4887,16 @@ exports[`runtime surface golden fixtures setup react-doctor × claude 3`] = `
4743
4887
  "Edit(**/.npmrc)",
4744
4888
  ],
4745
4889
  },
4890
+ {
4891
+ "at": [
4892
+ "permissions",
4893
+ "ask",
4894
+ ],
4895
+ "kind": "list",
4896
+ "values": [
4897
+ "Edit(/<root>/companion/.mate/config/framework.yaml)",
4898
+ ],
4899
+ },
4746
4900
  {
4747
4901
  "at": [
4748
4902
  "enableArtifact",
@@ -5140,6 +5294,9 @@ exports[`runtime surface golden fixtures setup react-doctor × claude+opencode 1
5140
5294
  "Read(<root>/companion/**)",
5141
5295
  "Skill(mate-react-doctor)",
5142
5296
  ],
5297
+ "ask": [
5298
+ "Edit(/<root>/companion/.mate/config/framework.yaml)",
5299
+ ],
5143
5300
  "deny": [
5144
5301
  "EnterPlanMode",
5145
5302
  "DesignSync",
@@ -5329,6 +5486,15 @@ exports[`runtime surface golden fixtures setup react-doctor × claude+opencode 3
5329
5486
  ],
5330
5487
  "matcher": "mcp__tokensave__.*",
5331
5488
  },
5489
+ {
5490
+ "hooks": [
5491
+ {
5492
+ "command": "node "<runtime-claude-plugin>/hooks/rtk-worktree-git.mjs"",
5493
+ "type": "command",
5494
+ },
5495
+ ],
5496
+ "matcher": "Bash",
5497
+ },
5332
5498
  ],
5333
5499
  },
5334
5500
  {
@@ -5482,6 +5648,16 @@ exports[`runtime surface golden fixtures setup react-doctor × claude+opencode 3
5482
5648
  "Edit(**/.npmrc)",
5483
5649
  ],
5484
5650
  },
5651
+ {
5652
+ "at": [
5653
+ "permissions",
5654
+ "ask",
5655
+ ],
5656
+ "kind": "list",
5657
+ "values": [
5658
+ "Edit(/<root>/companion/.mate/config/framework.yaml)",
5659
+ ],
5660
+ },
5485
5661
  {
5486
5662
  "at": [
5487
5663
  "enableArtifact",
@@ -5795,6 +5971,9 @@ exports[`runtime surface golden fixtures setup openspec × claude 1`] = `
5795
5971
  "Skill(mate-show-me)",
5796
5972
  "Skill(mate-simplify-code)",
5797
5973
  ],
5974
+ "ask": [
5975
+ "Edit(/<root>/companion/.mate/config/framework.yaml)",
5976
+ ],
5798
5977
  "deny": [
5799
5978
  "EnterPlanMode",
5800
5979
  "DesignSync",
@@ -5835,30 +6014,30 @@ exports[`runtime surface golden fixtures setup openspec × claude 1`] = `
5835
6014
  },
5836
6015
  },
5837
6016
  "claudeSkills": {
5838
- "mate-apply-change/SKILL.md": "898e51f592f8",
6017
+ "mate-apply-change/SKILL.md": "2e50a18e43e4",
5839
6018
  "mate-apply-change/references/mate-compact-apply.md": "3f20c80a4d78",
5840
6019
  "mate-apply-change/references/openspec-apply-change.md": "d11b6fc25bf4",
5841
6020
  "mate-archive-change/SKILL.md": "a231ddabb438",
5842
6021
  "mate-backfill-spec/SKILL.md": "d07cd4a60169",
5843
6022
  "mate-clarify-intent/SKILL.md": "a2e38ae50f05",
5844
- "mate-create-report/SKILL.md": "7db1adecbc1a",
6023
+ "mate-create-report/SKILL.md": "b4d92b44719a",
5845
6024
  "mate-domain-modeling/SKILL.md": "722d0e5a972d",
5846
6025
  "mate-domain-modeling/references/ADR-FORMAT.md": "824b87e87d9b",
5847
6026
  "mate-domain-modeling/references/CONTEXT-FORMAT.md": "172622594277",
5848
- "mate-explore-change/SKILL.md": "dcc6ec66b74f",
6027
+ "mate-explore-change/SKILL.md": "773339a07db8",
5849
6028
  "mate-explore-change/references/openspec-explore.md": "3cf63d55e3d2",
5850
6029
  "mate-grill-me/SKILL.md": "ab55b002ba24",
5851
6030
  "mate-grill-with-docs/SKILL.md": "b542b610c484",
5852
6031
  "mate-grilling/SKILL.md": "f37ff4dd9b6d",
5853
6032
  "mate-interview-me/SKILL.md": "b48d9804c423",
5854
- "mate-propose-change/SKILL.md": "b5e1eb6e0b0c",
6033
+ "mate-propose-change/SKILL.md": "82f83a32a9a9",
5855
6034
  "mate-propose-change/references/mate-revise.md": "fab04cde133f",
5856
6035
  "mate-propose-change/references/openspec-propose.md": "dbd00207ffa4",
5857
6036
  "mate-propose-change/references/openspec-update-change.md": "678af6ec1889",
5858
- "mate-publish-artifact/SKILL.md": "532edb58212d",
6037
+ "mate-publish-artifact/SKILL.md": "1daa076a037a",
5859
6038
  "mate-publish-artifact/references/openspec.md": "d004aed5cf3f",
5860
- "mate-show-me/SKILL.md": "908f009299ac",
5861
- "mate-simplify-code/SKILL.md": "a728118654f8",
6039
+ "mate-show-me/SKILL.md": "ad2c0acd4aef",
6040
+ "mate-simplify-code/SKILL.md": "3620932bd724",
5862
6041
  },
5863
6042
  "opencodeConfig": null,
5864
6043
  "opencodePlugins": {},
@@ -5946,6 +6125,15 @@ exports[`runtime surface golden fixtures setup openspec × claude 3`] = `
5946
6125
  ],
5947
6126
  "matcher": "mcp__tokensave__.*",
5948
6127
  },
6128
+ {
6129
+ "hooks": [
6130
+ {
6131
+ "command": "node "<runtime-claude-plugin>/hooks/rtk-worktree-git.mjs"",
6132
+ "type": "command",
6133
+ },
6134
+ ],
6135
+ "matcher": "Bash",
6136
+ },
5949
6137
  ],
5950
6138
  },
5951
6139
  {
@@ -6114,6 +6302,16 @@ exports[`runtime surface golden fixtures setup openspec × claude 3`] = `
6114
6302
  "Edit(**/.npmrc)",
6115
6303
  ],
6116
6304
  },
6305
+ {
6306
+ "at": [
6307
+ "permissions",
6308
+ "ask",
6309
+ ],
6310
+ "kind": "list",
6311
+ "values": [
6312
+ "Edit(/<root>/companion/.mate/config/framework.yaml)",
6313
+ ],
6314
+ },
6117
6315
  {
6118
6316
  "at": [
6119
6317
  "enableArtifact",
@@ -6179,30 +6377,30 @@ exports[`runtime surface golden fixtures setup openspec × opencode 1`] = `
6179
6377
  "opencodeSkills": {},
6180
6378
  "opencodeTui": null,
6181
6379
  "sharedSkills": {
6182
- "mate-apply-change/SKILL.md": "898e51f592f8",
6380
+ "mate-apply-change/SKILL.md": "2e50a18e43e4",
6183
6381
  "mate-apply-change/references/mate-compact-apply.md": "3f20c80a4d78",
6184
6382
  "mate-apply-change/references/openspec-apply-change.md": "de22021f4daa",
6185
6383
  "mate-archive-change/SKILL.md": "a231ddabb438",
6186
6384
  "mate-backfill-spec/SKILL.md": "d07cd4a60169",
6187
6385
  "mate-clarify-intent/SKILL.md": "a2e38ae50f05",
6188
- "mate-create-report/SKILL.md": "7db1adecbc1a",
6386
+ "mate-create-report/SKILL.md": "b4d92b44719a",
6189
6387
  "mate-domain-modeling/SKILL.md": "722d0e5a972d",
6190
6388
  "mate-domain-modeling/references/ADR-FORMAT.md": "824b87e87d9b",
6191
6389
  "mate-domain-modeling/references/CONTEXT-FORMAT.md": "172622594277",
6192
- "mate-explore-change/SKILL.md": "dcc6ec66b74f",
6390
+ "mate-explore-change/SKILL.md": "773339a07db8",
6193
6391
  "mate-explore-change/references/openspec-explore.md": "5bfcc2eefbd8",
6194
6392
  "mate-grill-me/SKILL.md": "ab55b002ba24",
6195
6393
  "mate-grill-with-docs/SKILL.md": "b542b610c484",
6196
6394
  "mate-grilling/SKILL.md": "f37ff4dd9b6d",
6197
6395
  "mate-interview-me/SKILL.md": "b48d9804c423",
6198
- "mate-propose-change/SKILL.md": "b5e1eb6e0b0c",
6396
+ "mate-propose-change/SKILL.md": "82f83a32a9a9",
6199
6397
  "mate-propose-change/references/mate-revise.md": "fab04cde133f",
6200
6398
  "mate-propose-change/references/openspec-propose.md": "c1f1d1291283",
6201
6399
  "mate-propose-change/references/openspec-update-change.md": "cdb8d6c17526",
6202
- "mate-publish-artifact/SKILL.md": "532edb58212d",
6400
+ "mate-publish-artifact/SKILL.md": "1daa076a037a",
6203
6401
  "mate-publish-artifact/references/openspec.md": "d004aed5cf3f",
6204
- "mate-show-me/SKILL.md": "908f009299ac",
6205
- "mate-simplify-code/SKILL.md": "a728118654f8",
6402
+ "mate-show-me/SKILL.md": "ad2c0acd4aef",
6403
+ "mate-simplify-code/SKILL.md": "3620932bd724",
6206
6404
  },
6207
6405
  }
6208
6406
  `;
@@ -6550,6 +6748,9 @@ exports[`runtime surface golden fixtures setup openspec × claude+opencode 1`] =
6550
6748
  "Skill(mate-show-me)",
6551
6749
  "Skill(mate-simplify-code)",
6552
6750
  ],
6751
+ "ask": [
6752
+ "Edit(/<root>/companion/.mate/config/framework.yaml)",
6753
+ ],
6553
6754
  "deny": [
6554
6755
  "EnterPlanMode",
6555
6756
  "DesignSync",
@@ -6590,30 +6791,30 @@ exports[`runtime surface golden fixtures setup openspec × claude+opencode 1`] =
6590
6791
  },
6591
6792
  },
6592
6793
  "claudeSkills": {
6593
- "mate-apply-change/SKILL.md": "898e51f592f8",
6794
+ "mate-apply-change/SKILL.md": "2e50a18e43e4",
6594
6795
  "mate-apply-change/references/mate-compact-apply.md": "3f20c80a4d78",
6595
6796
  "mate-apply-change/references/openspec-apply-change.md": "d11b6fc25bf4",
6596
6797
  "mate-archive-change/SKILL.md": "a231ddabb438",
6597
6798
  "mate-backfill-spec/SKILL.md": "d07cd4a60169",
6598
6799
  "mate-clarify-intent/SKILL.md": "a2e38ae50f05",
6599
- "mate-create-report/SKILL.md": "7db1adecbc1a",
6800
+ "mate-create-report/SKILL.md": "b4d92b44719a",
6600
6801
  "mate-domain-modeling/SKILL.md": "722d0e5a972d",
6601
6802
  "mate-domain-modeling/references/ADR-FORMAT.md": "824b87e87d9b",
6602
6803
  "mate-domain-modeling/references/CONTEXT-FORMAT.md": "172622594277",
6603
- "mate-explore-change/SKILL.md": "dcc6ec66b74f",
6804
+ "mate-explore-change/SKILL.md": "773339a07db8",
6604
6805
  "mate-explore-change/references/openspec-explore.md": "3cf63d55e3d2",
6605
6806
  "mate-grill-me/SKILL.md": "ab55b002ba24",
6606
6807
  "mate-grill-with-docs/SKILL.md": "b542b610c484",
6607
6808
  "mate-grilling/SKILL.md": "f37ff4dd9b6d",
6608
6809
  "mate-interview-me/SKILL.md": "b48d9804c423",
6609
- "mate-propose-change/SKILL.md": "b5e1eb6e0b0c",
6810
+ "mate-propose-change/SKILL.md": "82f83a32a9a9",
6610
6811
  "mate-propose-change/references/mate-revise.md": "fab04cde133f",
6611
6812
  "mate-propose-change/references/openspec-propose.md": "dbd00207ffa4",
6612
6813
  "mate-propose-change/references/openspec-update-change.md": "678af6ec1889",
6613
- "mate-publish-artifact/SKILL.md": "532edb58212d",
6814
+ "mate-publish-artifact/SKILL.md": "1daa076a037a",
6614
6815
  "mate-publish-artifact/references/openspec.md": "d004aed5cf3f",
6615
- "mate-show-me/SKILL.md": "908f009299ac",
6616
- "mate-simplify-code/SKILL.md": "a728118654f8",
6816
+ "mate-show-me/SKILL.md": "ad2c0acd4aef",
6817
+ "mate-simplify-code/SKILL.md": "3620932bd724",
6617
6818
  },
6618
6819
  "opencodeConfig": {
6619
6820
  "$schema": "https://opencode.ai/config.json",
@@ -6636,30 +6837,30 @@ exports[`runtime surface golden fixtures setup openspec × claude+opencode 1`] =
6636
6837
  "opencodeSkills": {},
6637
6838
  "opencodeTui": null,
6638
6839
  "sharedSkills": {
6639
- "mate-apply-change/SKILL.md": "898e51f592f8",
6840
+ "mate-apply-change/SKILL.md": "2e50a18e43e4",
6640
6841
  "mate-apply-change/references/mate-compact-apply.md": "3f20c80a4d78",
6641
6842
  "mate-apply-change/references/openspec-apply-change.md": "de22021f4daa",
6642
6843
  "mate-archive-change/SKILL.md": "a231ddabb438",
6643
6844
  "mate-backfill-spec/SKILL.md": "d07cd4a60169",
6644
6845
  "mate-clarify-intent/SKILL.md": "a2e38ae50f05",
6645
- "mate-create-report/SKILL.md": "7db1adecbc1a",
6846
+ "mate-create-report/SKILL.md": "b4d92b44719a",
6646
6847
  "mate-domain-modeling/SKILL.md": "722d0e5a972d",
6647
6848
  "mate-domain-modeling/references/ADR-FORMAT.md": "824b87e87d9b",
6648
6849
  "mate-domain-modeling/references/CONTEXT-FORMAT.md": "172622594277",
6649
- "mate-explore-change/SKILL.md": "dcc6ec66b74f",
6850
+ "mate-explore-change/SKILL.md": "773339a07db8",
6650
6851
  "mate-explore-change/references/openspec-explore.md": "5bfcc2eefbd8",
6651
6852
  "mate-grill-me/SKILL.md": "ab55b002ba24",
6652
6853
  "mate-grill-with-docs/SKILL.md": "b542b610c484",
6653
6854
  "mate-grilling/SKILL.md": "f37ff4dd9b6d",
6654
6855
  "mate-interview-me/SKILL.md": "b48d9804c423",
6655
- "mate-propose-change/SKILL.md": "b5e1eb6e0b0c",
6856
+ "mate-propose-change/SKILL.md": "82f83a32a9a9",
6656
6857
  "mate-propose-change/references/mate-revise.md": "fab04cde133f",
6657
6858
  "mate-propose-change/references/openspec-propose.md": "c1f1d1291283",
6658
6859
  "mate-propose-change/references/openspec-update-change.md": "cdb8d6c17526",
6659
- "mate-publish-artifact/SKILL.md": "532edb58212d",
6860
+ "mate-publish-artifact/SKILL.md": "1daa076a037a",
6660
6861
  "mate-publish-artifact/references/openspec.md": "d004aed5cf3f",
6661
- "mate-show-me/SKILL.md": "908f009299ac",
6662
- "mate-simplify-code/SKILL.md": "a728118654f8",
6862
+ "mate-show-me/SKILL.md": "ad2c0acd4aef",
6863
+ "mate-simplify-code/SKILL.md": "3620932bd724",
6663
6864
  },
6664
6865
  }
6665
6866
  `;
@@ -6787,6 +6988,15 @@ exports[`runtime surface golden fixtures setup openspec × claude+opencode 3`] =
6787
6988
  ],
6788
6989
  "matcher": "mcp__tokensave__.*",
6789
6990
  },
6991
+ {
6992
+ "hooks": [
6993
+ {
6994
+ "command": "node "<runtime-claude-plugin>/hooks/rtk-worktree-git.mjs"",
6995
+ "type": "command",
6996
+ },
6997
+ ],
6998
+ "matcher": "Bash",
6999
+ },
6790
7000
  ],
6791
7001
  },
6792
7002
  {
@@ -6955,6 +7165,16 @@ exports[`runtime surface golden fixtures setup openspec × claude+opencode 3`] =
6955
7165
  "Edit(**/.npmrc)",
6956
7166
  ],
6957
7167
  },
7168
+ {
7169
+ "at": [
7170
+ "permissions",
7171
+ "ask",
7172
+ ],
7173
+ "kind": "list",
7174
+ "values": [
7175
+ "Edit(/<root>/companion/.mate/config/framework.yaml)",
7176
+ ],
7177
+ },
6958
7178
  {
6959
7179
  "at": [
6960
7180
  "enableArtifact",
@@ -7343,6 +7563,9 @@ Canonical Mate policy and any more specific tool-routing instructions remain aut
7343
7563
  "mcp__plugin_context-mode_context-mode__*",
7344
7564
  "mcp__tokensave__*",
7345
7565
  ],
7566
+ "ask": [
7567
+ "Edit(/<root>/companion/.mate/config/framework.yaml)",
7568
+ ],
7346
7569
  "deny": [
7347
7570
  "EnterPlanMode",
7348
7571
  "DesignSync",
@@ -7398,32 +7621,32 @@ Write chunks to $GRAPHIFY_OUT and read $GRAPHIFY_OUT later.
7398
7621
  "Outputs land in $GRAPHIFY_OUT by default.
7399
7622
  "
7400
7623
  ,
7401
- "mate-apply-change/SKILL.md": "898e51f592f8",
7624
+ "mate-apply-change/SKILL.md": "2e50a18e43e4",
7402
7625
  "mate-apply-change/references/mate-compact-apply.md": "3f20c80a4d78",
7403
7626
  "mate-apply-change/references/openspec-apply-change.md": "d11b6fc25bf4",
7404
7627
  "mate-archive-change/SKILL.md": "a231ddabb438",
7405
7628
  "mate-backfill-spec/SKILL.md": "d07cd4a60169",
7406
7629
  "mate-clarify-intent/SKILL.md": "a2e38ae50f05",
7407
- "mate-create-report/SKILL.md": "7db1adecbc1a",
7630
+ "mate-create-report/SKILL.md": "b4d92b44719a",
7408
7631
  "mate-domain-modeling/SKILL.md": "722d0e5a972d",
7409
7632
  "mate-domain-modeling/references/ADR-FORMAT.md": "824b87e87d9b",
7410
7633
  "mate-domain-modeling/references/CONTEXT-FORMAT.md": "172622594277",
7411
- "mate-explore-change/SKILL.md": "dcc6ec66b74f",
7634
+ "mate-explore-change/SKILL.md": "773339a07db8",
7412
7635
  "mate-explore-change/references/openspec-explore.md": "3cf63d55e3d2",
7413
7636
  "mate-grill-me/SKILL.md": "ab55b002ba24",
7414
7637
  "mate-grill-with-docs/SKILL.md": "b542b610c484",
7415
7638
  "mate-grilling/SKILL.md": "f37ff4dd9b6d",
7416
7639
  "mate-interview-me/SKILL.md": "b48d9804c423",
7417
- "mate-propose-change/SKILL.md": "b5e1eb6e0b0c",
7640
+ "mate-propose-change/SKILL.md": "82f83a32a9a9",
7418
7641
  "mate-propose-change/references/mate-revise.md": "fab04cde133f",
7419
7642
  "mate-propose-change/references/openspec-propose.md": "dbd00207ffa4",
7420
7643
  "mate-propose-change/references/openspec-update-change.md": "678af6ec1889",
7421
- "mate-publish-artifact/SKILL.md": "532edb58212d",
7644
+ "mate-publish-artifact/SKILL.md": "1daa076a037a",
7422
7645
  "mate-publish-artifact/references/openspec.md": "d004aed5cf3f",
7423
7646
  "mate-react-doctor/SKILL.md": "2ecf137679df",
7424
7647
  "mate-react-doctor/references/explain.md": "86754a7e5436",
7425
- "mate-show-me/SKILL.md": "908f009299ac",
7426
- "mate-simplify-code/SKILL.md": "a728118654f8",
7648
+ "mate-show-me/SKILL.md": "ad2c0acd4aef",
7649
+ "mate-simplify-code/SKILL.md": "3620932bd724",
7427
7650
  },
7428
7651
  "opencodeConfig": {
7429
7652
  "$schema": "https://opencode.ai/config.json",
@@ -7482,32 +7705,32 @@ Write chunks to $GRAPHIFY_OUT and read $GRAPHIFY_OUT later.
7482
7705
  },
7483
7706
  "opencodeTui": null,
7484
7707
  "sharedSkills": {
7485
- "mate-apply-change/SKILL.md": "898e51f592f8",
7708
+ "mate-apply-change/SKILL.md": "2e50a18e43e4",
7486
7709
  "mate-apply-change/references/mate-compact-apply.md": "3f20c80a4d78",
7487
7710
  "mate-apply-change/references/openspec-apply-change.md": "de22021f4daa",
7488
7711
  "mate-archive-change/SKILL.md": "a231ddabb438",
7489
7712
  "mate-backfill-spec/SKILL.md": "d07cd4a60169",
7490
7713
  "mate-clarify-intent/SKILL.md": "a2e38ae50f05",
7491
- "mate-create-report/SKILL.md": "7db1adecbc1a",
7714
+ "mate-create-report/SKILL.md": "b4d92b44719a",
7492
7715
  "mate-domain-modeling/SKILL.md": "722d0e5a972d",
7493
7716
  "mate-domain-modeling/references/ADR-FORMAT.md": "824b87e87d9b",
7494
7717
  "mate-domain-modeling/references/CONTEXT-FORMAT.md": "172622594277",
7495
- "mate-explore-change/SKILL.md": "dcc6ec66b74f",
7718
+ "mate-explore-change/SKILL.md": "773339a07db8",
7496
7719
  "mate-explore-change/references/openspec-explore.md": "5bfcc2eefbd8",
7497
7720
  "mate-grill-me/SKILL.md": "ab55b002ba24",
7498
7721
  "mate-grill-with-docs/SKILL.md": "b542b610c484",
7499
7722
  "mate-grilling/SKILL.md": "f37ff4dd9b6d",
7500
7723
  "mate-interview-me/SKILL.md": "b48d9804c423",
7501
- "mate-propose-change/SKILL.md": "b5e1eb6e0b0c",
7724
+ "mate-propose-change/SKILL.md": "82f83a32a9a9",
7502
7725
  "mate-propose-change/references/mate-revise.md": "fab04cde133f",
7503
7726
  "mate-propose-change/references/openspec-propose.md": "c1f1d1291283",
7504
7727
  "mate-propose-change/references/openspec-update-change.md": "cdb8d6c17526",
7505
- "mate-publish-artifact/SKILL.md": "532edb58212d",
7728
+ "mate-publish-artifact/SKILL.md": "1daa076a037a",
7506
7729
  "mate-publish-artifact/references/openspec.md": "d004aed5cf3f",
7507
7730
  "mate-react-doctor/SKILL.md": "2ecf137679df",
7508
7731
  "mate-react-doctor/references/explain.md": "86754a7e5436",
7509
- "mate-show-me/SKILL.md": "908f009299ac",
7510
- "mate-simplify-code/SKILL.md": "a728118654f8",
7732
+ "mate-show-me/SKILL.md": "ad2c0acd4aef",
7733
+ "mate-simplify-code/SKILL.md": "3620932bd724",
7511
7734
  },
7512
7735
  }
7513
7736
  `;
@@ -7659,6 +7882,15 @@ exports[`runtime surface golden fixtures setup all capabilities × claude+openco
7659
7882
  ],
7660
7883
  "matcher": "mcp__tokensave__.*",
7661
7884
  },
7885
+ {
7886
+ "hooks": [
7887
+ {
7888
+ "command": "node "<runtime-claude-plugin>/hooks/rtk-worktree-git.mjs"",
7889
+ "type": "command",
7890
+ },
7891
+ ],
7892
+ "matcher": "Bash",
7893
+ },
7662
7894
  {
7663
7895
  "hooks": [
7664
7896
  {
@@ -7888,6 +8120,16 @@ exports[`runtime surface golden fixtures setup all capabilities × claude+openco
7888
8120
  "Edit(**/.npmrc)",
7889
8121
  ],
7890
8122
  },
8123
+ {
8124
+ "at": [
8125
+ "permissions",
8126
+ "ask",
8127
+ ],
8128
+ "kind": "list",
8129
+ "values": [
8130
+ "Edit(/<root>/companion/.mate/config/framework.yaml)",
8131
+ ],
8132
+ },
7891
8133
  {
7892
8134
  "at": [
7893
8135
  "enableArtifact",
@@ -8223,6 +8465,9 @@ exports[`runtime surface golden fixtures teardown graphify × claude+opencode 1`
8223
8465
  "Edit(<root>/companion/**)",
8224
8466
  "Read(<root>/companion/**)",
8225
8467
  ],
8468
+ "ask": [
8469
+ "Edit(/<root>/companion/.mate/config/framework.yaml)",
8470
+ ],
8226
8471
  "deny": [
8227
8472
  "EnterPlanMode",
8228
8473
  "DesignSync",
@@ -8323,6 +8568,9 @@ exports[`runtime surface golden fixtures teardown tokensave × claude+opencode 1
8323
8568
  "Edit(<root>/companion/**)",
8324
8569
  "Read(<root>/companion/**)",
8325
8570
  ],
8571
+ "ask": [
8572
+ "Edit(/<root>/companion/.mate/config/framework.yaml)",
8573
+ ],
8326
8574
  "deny": [
8327
8575
  "EnterPlanMode",
8328
8576
  "DesignSync",
@@ -8424,6 +8672,9 @@ exports[`runtime surface golden fixtures teardown context-mode × claude+opencod
8424
8672
  "Edit(<root>/companion/**)",
8425
8673
  "Read(<root>/companion/**)",
8426
8674
  ],
8675
+ "ask": [
8676
+ "Edit(/<root>/companion/.mate/config/framework.yaml)",
8677
+ ],
8427
8678
  "deny": [
8428
8679
  "EnterPlanMode",
8429
8680
  "DesignSync",
@@ -8524,6 +8775,9 @@ exports[`runtime surface golden fixtures teardown react-doctor × claude+opencod
8524
8775
  "Edit(<root>/companion/**)",
8525
8776
  "Read(<root>/companion/**)",
8526
8777
  ],
8778
+ "ask": [
8779
+ "Edit(/<root>/companion/.mate/config/framework.yaml)",
8780
+ ],
8527
8781
  "deny": [
8528
8782
  "EnterPlanMode",
8529
8783
  "DesignSync",
@@ -8624,6 +8878,9 @@ exports[`runtime surface golden fixtures teardown openspec × claude+opencode 1`
8624
8878
  "Edit(<root>/companion/**)",
8625
8879
  "Read(<root>/companion/**)",
8626
8880
  ],
8881
+ "ask": [
8882
+ "Edit(/<root>/companion/.mate/config/framework.yaml)",
8883
+ ],
8627
8884
  "deny": [
8628
8885
  "EnterPlanMode",
8629
8886
  "DesignSync",
@@ -8741,6 +8998,9 @@ exports[`runtime surface golden fixtures deselect opencode runtime with graphify
8741
8998
  "Read(<root>/companion/**)",
8742
8999
  "Skill(graphify)",
8743
9000
  ],
9001
+ "ask": [
9002
+ "Edit(/<root>/companion/.mate/config/framework.yaml)",
9003
+ ],
8744
9004
  "deny": [
8745
9005
  "EnterPlanMode",
8746
9006
  "DesignSync",
@@ -8925,6 +9185,9 @@ exports[`working repo golden fixtures hub roots set up providers only without co
8925
9185
  "Edit(<root>/companion/**)",
8926
9186
  "Read(<root>/companion/**)",
8927
9187
  ],
9188
+ "ask": [
9189
+ "Edit(/<root>/companion/.mate/config/framework.yaml)",
9190
+ ],
8928
9191
  "deny": [
8929
9192
  "EnterPlanMode",
8930
9193
  "DesignSync",