@yunhozz/arc 0.3.3 → 0.3.5

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 (126) hide show
  1. package/MANIFEST.sha256 +80 -122
  2. package/README.md +3 -3
  3. package/claude/skill/SKILL.md +1 -0
  4. package/claude/skill/references/coordination.md +5 -3
  5. package/claude/skill/references/git-recovery.md +5 -0
  6. package/claude/skill/references/handoff-prep.md +6 -8
  7. package/claude/skill/references/handoff.md +4 -4
  8. package/claude/skill/references/planning.md +5 -0
  9. package/claude/skill/references/worktree-creation.md +14 -0
  10. package/codex/skill/references/coordination.md +5 -3
  11. package/codex/skill/references/git-recovery.md +1 -5
  12. package/codex/skill/references/worktree-creation.md +20 -0
  13. package/lib/installer/manifest.mjs +10 -9
  14. package/lib/installer/package-references.mjs +2 -2
  15. package/lib/installer/plan.mjs +3 -1
  16. package/lib/installer/skill-sources.mjs +23 -0
  17. package/lib/installer/superpowers.mjs +5 -5
  18. package/lib/runtime/bootstrap.mjs +1 -1
  19. package/lib/runtime/local-cli.mjs +10 -20
  20. package/lib/runtime/role-bridge.mjs +2 -4
  21. package/lib/runtime/role-dispatch-policy.mjs +4 -9
  22. package/lib/runtime/role-routing.mjs +1 -2
  23. package/lib/watch/dispatch.mjs +10 -2
  24. package/lib/watch/git.mjs +4 -2
  25. package/lib/watch/index.mjs +16 -8
  26. package/lib/watch/model.mjs +8 -4
  27. package/lib/watch/normalize-claude.mjs +83 -6
  28. package/lib/watch/normalize-codex.mjs +15 -11
  29. package/lib/watch/render.mjs +73 -19
  30. package/lib/watch/scope.mjs +5 -5
  31. package/lib/watch/watcher.mjs +110 -10
  32. package/package.json +2 -1
  33. package/scripts/check-installer-parity.mjs +3 -1
  34. package/scripts/update-manifest.mjs +1 -1
  35. package/scripts/update-runtime-assets.mjs +1 -1
  36. package/{codex → shared}/skill/references/handoff-worktree.md +17 -16
  37. package/{codex → shared}/skill/runtime/bootstrap.mjs +1 -1
  38. package/{codex → shared}/skill/runtime/local-cli.mjs +10 -20
  39. package/{codex → shared}/skill/runtime/role-bridge.mjs +2 -4
  40. package/{claude → shared}/skill/runtime/role-dispatch-policy.mjs +4 -9
  41. package/{claude → shared}/skill/runtime/role-routing.mjs +1 -2
  42. package/claude/skill/runtime/bootstrap.mjs +0 -38
  43. package/claude/skill/runtime/local-cli.mjs +0 -248
  44. package/claude/skill/runtime/role-bridge.mjs +0 -227
  45. package/codex/skill/references/brainstorming.md +0 -316
  46. package/codex/skill/references/builder-check-prompt.md +0 -23
  47. package/codex/skill/references/scripts/frame-template.html +0 -213
  48. package/codex/skill/references/scripts/helper.js +0 -167
  49. package/codex/skill/references/scripts/server.cjs +0 -723
  50. package/codex/skill/references/scripts/start-server.sh +0 -216
  51. package/codex/skill/references/scripts/stop-server.sh +0 -120
  52. package/codex/skill/references/superpowers-LICENSE +0 -21
  53. package/codex/skill/references/superpowers-provenance.json +0 -26
  54. package/codex/skill/references/test-driven-development.md +0 -330
  55. package/codex/skill/references/visual-companion.md +0 -299
  56. package/codex/skill/references/writing-good-tests.md +0 -198
  57. package/codex/skill/references/writing-plans.md +0 -204
  58. package/codex/skill/runtime/acceptance.mjs +0 -68
  59. package/codex/skill/runtime/adapters/claude.mjs +0 -86
  60. package/codex/skill/runtime/adapters/codex.mjs +0 -65
  61. package/codex/skill/runtime/assignment.mjs +0 -42
  62. package/codex/skill/runtime/capabilities.mjs +0 -44
  63. package/codex/skill/runtime/cli.mjs +0 -8
  64. package/codex/skill/runtime/command.mjs +0 -38
  65. package/codex/skill/runtime/cooperative-schema.mjs +0 -87
  66. package/codex/skill/runtime/cooperative.mjs +0 -239
  67. package/codex/skill/runtime/evaluate.mjs +0 -331
  68. package/codex/skill/runtime/external.mjs +0 -51
  69. package/codex/skill/runtime/gate.mjs +0 -71
  70. package/codex/skill/runtime/git-evidence.mjs +0 -258
  71. package/codex/skill/runtime/git-query.mjs +0 -88
  72. package/codex/skill/runtime/identity.mjs +0 -49
  73. package/codex/skill/runtime/operations.mjs +0 -6
  74. package/codex/skill/runtime/role-bridge-args.mjs +0 -148
  75. package/codex/skill/runtime/role-dispatch-policy.mjs +0 -110
  76. package/codex/skill/runtime/role-dispatch-store.mjs +0 -134
  77. package/codex/skill/runtime/role-observe.mjs +0 -299
  78. package/codex/skill/runtime/role-policy.json +0 -654
  79. package/codex/skill/runtime/role-routing-config.mjs +0 -19
  80. package/codex/skill/runtime/role-routing.mjs +0 -233
  81. package/codex/skill/runtime/role-supervisor.mjs +0 -356
  82. package/codex/skill/runtime/schema.mjs +0 -98
  83. package/codex/skill/runtime/scope.mjs +0 -36
  84. package/codex/skill/runtime/store.mjs +0 -94
  85. package/codex/skill/runtime/target-preparation.mjs +0 -110
  86. package/codex/skill/runtime/verification.mjs +0 -125
  87. /package/{claude → shared}/skill/references/brainstorming.md +0 -0
  88. /package/{claude → shared}/skill/references/builder-check-prompt.md +0 -0
  89. /package/{claude → shared}/skill/references/scripts/frame-template.html +0 -0
  90. /package/{claude → shared}/skill/references/scripts/helper.js +0 -0
  91. /package/{claude → shared}/skill/references/scripts/server.cjs +0 -0
  92. /package/{claude → shared}/skill/references/scripts/start-server.sh +0 -0
  93. /package/{claude → shared}/skill/references/scripts/stop-server.sh +0 -0
  94. /package/{claude → shared}/skill/references/superpowers-LICENSE +0 -0
  95. /package/{claude → shared}/skill/references/superpowers-provenance.json +0 -0
  96. /package/{claude → shared}/skill/references/test-driven-development.md +0 -0
  97. /package/{claude → shared}/skill/references/visual-companion.md +0 -0
  98. /package/{claude → shared}/skill/references/writing-good-tests.md +0 -0
  99. /package/{claude → shared}/skill/references/writing-plans.md +0 -0
  100. /package/{claude → shared}/skill/runtime/acceptance.mjs +0 -0
  101. /package/{claude → shared}/skill/runtime/adapters/claude.mjs +0 -0
  102. /package/{claude → shared}/skill/runtime/adapters/codex.mjs +0 -0
  103. /package/{claude → shared}/skill/runtime/assignment.mjs +0 -0
  104. /package/{claude → shared}/skill/runtime/capabilities.mjs +0 -0
  105. /package/{claude → shared}/skill/runtime/cli.mjs +0 -0
  106. /package/{claude → shared}/skill/runtime/command.mjs +0 -0
  107. /package/{claude → shared}/skill/runtime/cooperative-schema.mjs +0 -0
  108. /package/{claude → shared}/skill/runtime/cooperative.mjs +0 -0
  109. /package/{claude → shared}/skill/runtime/evaluate.mjs +0 -0
  110. /package/{claude → shared}/skill/runtime/external.mjs +0 -0
  111. /package/{claude → shared}/skill/runtime/gate.mjs +0 -0
  112. /package/{claude → shared}/skill/runtime/git-evidence.mjs +0 -0
  113. /package/{claude → shared}/skill/runtime/git-query.mjs +0 -0
  114. /package/{claude → shared}/skill/runtime/identity.mjs +0 -0
  115. /package/{claude → shared}/skill/runtime/operations.mjs +0 -0
  116. /package/{claude → shared}/skill/runtime/role-bridge-args.mjs +0 -0
  117. /package/{claude → shared}/skill/runtime/role-dispatch-store.mjs +0 -0
  118. /package/{claude → shared}/skill/runtime/role-observe.mjs +0 -0
  119. /package/{claude → shared}/skill/runtime/role-policy.json +0 -0
  120. /package/{claude → shared}/skill/runtime/role-routing-config.mjs +0 -0
  121. /package/{claude → shared}/skill/runtime/role-supervisor.mjs +0 -0
  122. /package/{claude → shared}/skill/runtime/schema.mjs +0 -0
  123. /package/{claude → shared}/skill/runtime/scope.mjs +0 -0
  124. /package/{claude → shared}/skill/runtime/store.mjs +0 -0
  125. /package/{claude → shared}/skill/runtime/target-preparation.mjs +0 -0
  126. /package/{claude → shared}/skill/runtime/verification.mjs +0 -0
package/MANIFEST.sha256 CHANGED
@@ -1,4 +1,4 @@
1
- ab523ae70028fbebf995e84f304acf097fa26d217cbcea254d9c1dc13c4e04d6 README.md
1
+ bda863c53054267574819eaa7ec4332ffd6eaafd87f77fe4f57309428812dcb2 README.md
2
2
  d41edeb8c6631dee30c67c705d4edad977aa1631627ec9de59c013f8990f4018 bin/arc-upgrade.mjs
3
3
  484d9b2002ce542c87589bb719d644d3762706aad28a6ee010024875f8cc00e2 bin/arc.mjs
4
4
  f7cc952289c85a942572081fe669355c638e641383e544c12d9bbc9484e1d2ae claude/agents/arc-implementer.md
@@ -6,61 +6,17 @@ f7cc952289c85a942572081fe669355c638e641383e544c12d9bbc9484e1d2ae claude/agents/
6
6
  0d7da24a4a0bcdad96104a1030ae0b2fe6825bad11b3202017c02e72993bf0ee claude/agents/arc-qa.md
7
7
  d29ee2e9267822945735b674644dd602b15ae4f93cdc2dd1607301d0e58938df claude/agents/arc-reviewer.md
8
8
  797004197d99ad51cb83edb21e24399d7371135f64907d667189f64091968b00 claude/agents/arc-scouter.md
9
- fa67f4c11c45b16a9abd3539618132d5b5cd1322e4c5777f4fbe12b54d4558c6 claude/skill/SKILL.md
9
+ f7b9df46f8f905f83300fd2bf049d5ad2933c3b541f74a3338f0381cc253e1fe claude/skill/SKILL.md
10
10
  27c12eefe19f742f2e4a2e600f55249c9a461676f3bf09f3c2cd0499efb1a9b5 claude/skill/references/arc-visual-companion.md
11
- 2c9ca71f94886f9ca9f4aef055f7cafb3e1a9bdf3aeebf8f4cb547c69405d207 claude/skill/references/brainstorming.md
12
- 36d51a4723d6f0a3ce5811a0ea3b3a8424f07533947e1355f5d8cb8cce40c55e claude/skill/references/builder-check-prompt.md
13
11
  bb51d9395e7226f9b549b76123c986d07a4c5cbd6dc807236c057ae73a1acc36 claude/skill/references/commit.md
14
- f62e4167dd719e048c30917b6e5652f870aad056b45ba68dd79da3676ace8a84 claude/skill/references/coordination.md
15
- db0d19b28daa107b175ae0f6b991b5d67a79fffa4f50ef3ce4a0106aee52c64d claude/skill/references/git-recovery.md
16
- 85febd2b13b6724f461bbd555a79df6ce4fd23a7160943f79173c1eecd696f3e claude/skill/references/handoff-prep.md
17
- 9cab059be87cb8fb2a2322245faf310ec335598efef231f1bc086824e3ae0890 claude/skill/references/handoff.md
12
+ d7fe1d2e3d933cb491f35c3ee297eabc8f3f64f9317379679287e6eaef5a0df5 claude/skill/references/coordination.md
13
+ 1d6745550da04eaf09977026c596fe389ec7a7b6c32ad3970dc958b56b935251 claude/skill/references/git-recovery.md
14
+ 68954af2336b4e77373f9dbe1ec3e904d04f61920ce07b35302c02774698ad8f claude/skill/references/handoff-prep.md
15
+ cf60edd35638018819f617ac8a64329510b756931ca1ab29e08269c93c5d51d6 claude/skill/references/handoff.md
18
16
  bc45488ef644bf0f35fbcbc1a8fe08a0e5d4a964e29807c978aeca5b263fe85e claude/skill/references/limits.md
19
- a3177f801ba230c9795cc91e2e68362d2af8bcdccebdd390de570a73913248dd claude/skill/references/planning.md
20
- 6a8a4e58bd6a44b904e2e3c57de774481d909204597e1498de53f1b2fecc4c4e claude/skill/references/scripts/frame-template.html
21
- 43c6d69954a46ec34a2a262bcc62a9a7e83e839c739f199cb72646d397c686e3 claude/skill/references/scripts/helper.js
22
- 763abf96510e0b892a1141397b31aa82ef900cf87ed34dde94bc8782baf4a7ca claude/skill/references/scripts/server.cjs
23
- 314dd68dc00e8dd94c7491aca8a5f004c7fddffc161e2b07482f29f48d13659a claude/skill/references/scripts/start-server.sh
24
- 0b5ccbbd57f62d3ed88993f7940b5ee0e5c0fc9b21c550c623da4f6292e47daf claude/skill/references/scripts/stop-server.sh
25
- a37e0e9697144819e1d965176ac4ae5bc3fa02d11e7812036bbcadf6dafe2400 claude/skill/references/superpowers-LICENSE
26
- bace14c488fa40fb112faff1fbea3cad22d8eb17dd83dabf71a64a0ee9857edb claude/skill/references/superpowers-provenance.json
27
- 64b03fce4aee5a97a93160cea8111f3ba13a17b7c001db4bd5836d67fd10705d claude/skill/references/test-driven-development.md
17
+ 0ac247f0b17e6e99cc7438073060376f083dbbd5e64bc02f5733b452dd0982f1 claude/skill/references/planning.md
28
18
  92f5dea41def162d51c05dd0cb390eb6da555596aba8e3195b0203ba2bdf6014 claude/skill/references/verification.md
29
- 6ffcb038b53254bd31debaa15e12dcd4ff24bd63d690e0b644ac6396701cf2e2 claude/skill/references/visual-companion.md
30
- 51471c853306ff92ca8bb41dcaea05f31c0e46b03651f8f3c99754b7172f4ae1 claude/skill/references/writing-good-tests.md
31
- a6c67c1900064347c2a329990dd3c555657c51c3ec53b259a08aa01a2c26139a claude/skill/references/writing-plans.md
32
- f9b4caf6a97d02f2bc4e2d72c2434a3c668db57961975a9cad57b1ed6a475db8 claude/skill/runtime/acceptance.mjs
33
- 99a2edbbb4993307f99adc4a606fd965398eb312f01bbd49a616d2f232a7213e claude/skill/runtime/adapters/claude.mjs
34
- 3e2de23ac10e3c6445ba4b4415568a7c7c1a2292f10b9f6917e7b2d81877d81d claude/skill/runtime/adapters/codex.mjs
35
- a90abc679322f3b90ea4c1a9762dcd20877497991a09aec5fef68f787d63306b claude/skill/runtime/assignment.mjs
36
- f401a28e68d0a4304147f7fd2d2d11d07c8e71740d50789d59d94363b9fcb828 claude/skill/runtime/bootstrap.mjs
37
- 548e78bcfc01b6c3c46ba5698414f9faafcfcf73f9e9e0c24c41420343b40239 claude/skill/runtime/capabilities.mjs
38
- 028c3cdb169dc29f8713c63475a7f8463d317438a33bd7c5a4316c97d8f08795 claude/skill/runtime/cli.mjs
39
- 0e0660a314de6fe470f6fff3690c78b0b93619e4d868f8c1f5f3baa62072e7fd claude/skill/runtime/command.mjs
40
- 4db4c1dd698c9bd5afa476ffbaa31cdf21a705132721cc1289a7dfde953db9ff claude/skill/runtime/cooperative-schema.mjs
41
- ab3e46f907afcc4c8f358e35d3e140aa80559270cd2dc50de75e37228f5fd29c claude/skill/runtime/cooperative.mjs
42
- 10a05d6c7576d29d46316ad3d1298e2998a9bc7dddfaf0c8556de7816a8c7547 claude/skill/runtime/evaluate.mjs
43
- c73244c65aad793559555f7998adfda5b5c2db2831bdb6420861d3564b31ead2 claude/skill/runtime/external.mjs
44
- 6e29b5f6701e9355e138cb7896999511daebcef39dfc4de1fb7ad703ba13d3a7 claude/skill/runtime/gate.mjs
45
- 56c3b38f2b04225cfa31d0e094ce0f9519b2703f0ecdae0cca7e393d3344eac8 claude/skill/runtime/git-evidence.mjs
46
- 494470cf70121ddac8d716586b0c05b1f0977f3eada8c0323ed34dc157b0db8e claude/skill/runtime/git-query.mjs
47
- ccbc80b1ad9b8c51378f73b70d920ff902433115c121e74750bb34ecc500adc8 claude/skill/runtime/identity.mjs
48
- ed0e06d5286e90c3204087158bc9c2ce54807e5df63d3319a7495fb3b58b238c claude/skill/runtime/local-cli.mjs
49
- 23fcb1b53193fd0cbc57c9b340b091d88bf57eb220fba531b118e5e8ba2f8122 claude/skill/runtime/operations.mjs
50
- 2bd89b5c8f89577f754bc49e760d16b93112d2f4fc3d41673afed30bceebc17d claude/skill/runtime/role-bridge-args.mjs
51
- de8559102ce6ac48030503937d73050f4330cd3a57d4ddd94b23072390858308 claude/skill/runtime/role-bridge.mjs
52
- 824a0efac9bac119d14693c5e02d600ac85febfc70761a436da0f058b0083320 claude/skill/runtime/role-dispatch-policy.mjs
53
- bccdfde1699f4614e2cbd5ae1a9b7ddd319b3cfecaae0c2fb7a669b2690456fb claude/skill/runtime/role-dispatch-store.mjs
54
- 9fdd561ee0c509e4e63ea4c78e4bfa666e37c87d08abb6659f0b250dc6f4d556 claude/skill/runtime/role-observe.mjs
55
- fed86827d061de4432540bcfab448b186ae219c807f7ed9069829c707b1f28ff claude/skill/runtime/role-policy.json
56
- e50fa25532160a7110c0d9df3cb66ab5a02072febdcd8bff4d3744b1d5360c0f claude/skill/runtime/role-routing-config.mjs
57
- 2e5d86004328633ec7a7a904bd65e3e8c68974927ef0726d07e853df56222784 claude/skill/runtime/role-routing.mjs
58
- 0933fa59b8b091be76f789fa595a2e95b6a67276ccf5fac8c6221be82e4b42bb claude/skill/runtime/role-supervisor.mjs
59
- 260e3f202d39cc8cb87ae426a0578502e1c916e2890503b2e10bf8fb6541f721 claude/skill/runtime/schema.mjs
60
- e2e768e62a46c8ef568fc3021ac8415c4dc68fa9843b9ffb3dbbbb2e5fa3a6af claude/skill/runtime/scope.mjs
61
- 2a942884862da5fdb23e17688141f2bf75925a81af6b4f749d443b88c90ec34a claude/skill/runtime/store.mjs
62
- b29a9f9a9a60836271545e3f75346d51d7d0bf1ac1eccbfa3a624717f78beebb claude/skill/runtime/target-preparation.mjs
63
- 5b14c4ffdff116a005601b737e94484e9eebdea746ec0e296ca7a34be2b7ea4a claude/skill/runtime/verification.mjs
19
+ 8826abe438cdd9d302abada0f87669a0448ae9a28d185a9793ff8a2edc805fd7 claude/skill/references/worktree-creation.md
64
20
  e4445f3582c55861907e11dfe97ea9e87c69bcc3ff773d3d583914c198f1d024 claude/skill/scripts/apply-models.py
65
21
  a39ef4aa4a3ffa7281f9d48ff751ef710ff27e6267f480b6c11f9fb809e5e1f5 claude/skill/scripts/model_config.py
66
22
  e9416fa3c65cc448fa4e0f1eb2c429c50190f8aeef7a1c3b5bd1ba74a8417756 codex/agents/arc-implementer.toml
@@ -70,60 +26,15 @@ c60fc1d7cd4ef8a9b7d66ffde02d92168460bc8a268a37111e24b1dba319d3d9 codex/agents/a
70
26
  52d9c0d014b7200bb4660fad382f850568c7b8ac4e1b5f8d3e60d639a9dbbf97 codex/agents/arc-scouter.toml
71
27
  ee92ae3b0a060d9fe680dd0f6c72dc35ebaf730c7f8698df99e2b73286a96ec9 codex/skill/SKILL.md
72
28
  8e2d085f7fcd7aaebe4ea25d8a5282b22e3150a5053c16ef6417ec023487839c codex/skill/references/arc-visual-companion.md
73
- 2c9ca71f94886f9ca9f4aef055f7cafb3e1a9bdf3aeebf8f4cb547c69405d207 codex/skill/references/brainstorming.md
74
- 36d51a4723d6f0a3ce5811a0ea3b3a8424f07533947e1355f5d8cb8cce40c55e codex/skill/references/builder-check-prompt.md
75
29
  7c84d1fcff3ae9ffa6da95f1df8499857440c6da07be4520634db5f9f7ae302f codex/skill/references/commit.md
76
- 1f4dd6c517452967d9f1294a05184dc9b49d6587faa69a80eb006be6858a8aee codex/skill/references/coordination.md
77
- 89e888ba821d9e9cd8482ef33a6259a72075cc0abf84cd04c8d030a32688d280 codex/skill/references/git-recovery.md
30
+ 84d1f06a5cc2d8283fa618caac26051daee13394c9b9434816c7a99e3ef6601c codex/skill/references/coordination.md
31
+ c648d9c98c9dee3ecdf7b3a915e69fd67875c6344ee9c4d04cd1de0227a64050 codex/skill/references/git-recovery.md
78
32
  afc58f1ef288dc395f2ef8ffe67fc5110712f8b890a68d3af4950be07e4de185 codex/skill/references/handoff-prep.md
79
- 02dda6578f8df22e69af31c43b194a496447c36c269f489fa103fae01df0670e codex/skill/references/handoff-worktree.md
80
33
  3e64e0fea6b36cb89184c69e767c9eadb558ea33ecbaa374cf5de62e0334c9ee codex/skill/references/handoff.md
81
34
  eb70ecc7edcb0c561c497016bb0bb0ba3e9dbace09279087ce1ef683211ab9f4 codex/skill/references/limits.md
82
35
  1d79a97e88e992ec6f926d11002770992ae341294287a1a4e03bde5f548c395d codex/skill/references/planning.md
83
- 6a8a4e58bd6a44b904e2e3c57de774481d909204597e1498de53f1b2fecc4c4e codex/skill/references/scripts/frame-template.html
84
- 43c6d69954a46ec34a2a262bcc62a9a7e83e839c739f199cb72646d397c686e3 codex/skill/references/scripts/helper.js
85
- 763abf96510e0b892a1141397b31aa82ef900cf87ed34dde94bc8782baf4a7ca codex/skill/references/scripts/server.cjs
86
- 314dd68dc00e8dd94c7491aca8a5f004c7fddffc161e2b07482f29f48d13659a codex/skill/references/scripts/start-server.sh
87
- 0b5ccbbd57f62d3ed88993f7940b5ee0e5c0fc9b21c550c623da4f6292e47daf codex/skill/references/scripts/stop-server.sh
88
- a37e0e9697144819e1d965176ac4ae5bc3fa02d11e7812036bbcadf6dafe2400 codex/skill/references/superpowers-LICENSE
89
- bace14c488fa40fb112faff1fbea3cad22d8eb17dd83dabf71a64a0ee9857edb codex/skill/references/superpowers-provenance.json
90
- 64b03fce4aee5a97a93160cea8111f3ba13a17b7c001db4bd5836d67fd10705d codex/skill/references/test-driven-development.md
91
36
  0d90f4f57995b49db762b74737554d5d49ea0b6eaa689f4e8efa5a5d4ff8511f codex/skill/references/verification.md
92
- 6ffcb038b53254bd31debaa15e12dcd4ff24bd63d690e0b644ac6396701cf2e2 codex/skill/references/visual-companion.md
93
- 51471c853306ff92ca8bb41dcaea05f31c0e46b03651f8f3c99754b7172f4ae1 codex/skill/references/writing-good-tests.md
94
- a6c67c1900064347c2a329990dd3c555657c51c3ec53b259a08aa01a2c26139a codex/skill/references/writing-plans.md
95
- f9b4caf6a97d02f2bc4e2d72c2434a3c668db57961975a9cad57b1ed6a475db8 codex/skill/runtime/acceptance.mjs
96
- 99a2edbbb4993307f99adc4a606fd965398eb312f01bbd49a616d2f232a7213e codex/skill/runtime/adapters/claude.mjs
97
- 3e2de23ac10e3c6445ba4b4415568a7c7c1a2292f10b9f6917e7b2d81877d81d codex/skill/runtime/adapters/codex.mjs
98
- a90abc679322f3b90ea4c1a9762dcd20877497991a09aec5fef68f787d63306b codex/skill/runtime/assignment.mjs
99
- f401a28e68d0a4304147f7fd2d2d11d07c8e71740d50789d59d94363b9fcb828 codex/skill/runtime/bootstrap.mjs
100
- 548e78bcfc01b6c3c46ba5698414f9faafcfcf73f9e9e0c24c41420343b40239 codex/skill/runtime/capabilities.mjs
101
- 028c3cdb169dc29f8713c63475a7f8463d317438a33bd7c5a4316c97d8f08795 codex/skill/runtime/cli.mjs
102
- 0e0660a314de6fe470f6fff3690c78b0b93619e4d868f8c1f5f3baa62072e7fd codex/skill/runtime/command.mjs
103
- 4db4c1dd698c9bd5afa476ffbaa31cdf21a705132721cc1289a7dfde953db9ff codex/skill/runtime/cooperative-schema.mjs
104
- ab3e46f907afcc4c8f358e35d3e140aa80559270cd2dc50de75e37228f5fd29c codex/skill/runtime/cooperative.mjs
105
- 10a05d6c7576d29d46316ad3d1298e2998a9bc7dddfaf0c8556de7816a8c7547 codex/skill/runtime/evaluate.mjs
106
- c73244c65aad793559555f7998adfda5b5c2db2831bdb6420861d3564b31ead2 codex/skill/runtime/external.mjs
107
- 6e29b5f6701e9355e138cb7896999511daebcef39dfc4de1fb7ad703ba13d3a7 codex/skill/runtime/gate.mjs
108
- 56c3b38f2b04225cfa31d0e094ce0f9519b2703f0ecdae0cca7e393d3344eac8 codex/skill/runtime/git-evidence.mjs
109
- 494470cf70121ddac8d716586b0c05b1f0977f3eada8c0323ed34dc157b0db8e codex/skill/runtime/git-query.mjs
110
- ccbc80b1ad9b8c51378f73b70d920ff902433115c121e74750bb34ecc500adc8 codex/skill/runtime/identity.mjs
111
- ed0e06d5286e90c3204087158bc9c2ce54807e5df63d3319a7495fb3b58b238c codex/skill/runtime/local-cli.mjs
112
- 23fcb1b53193fd0cbc57c9b340b091d88bf57eb220fba531b118e5e8ba2f8122 codex/skill/runtime/operations.mjs
113
- 2bd89b5c8f89577f754bc49e760d16b93112d2f4fc3d41673afed30bceebc17d codex/skill/runtime/role-bridge-args.mjs
114
- de8559102ce6ac48030503937d73050f4330cd3a57d4ddd94b23072390858308 codex/skill/runtime/role-bridge.mjs
115
- 824a0efac9bac119d14693c5e02d600ac85febfc70761a436da0f058b0083320 codex/skill/runtime/role-dispatch-policy.mjs
116
- bccdfde1699f4614e2cbd5ae1a9b7ddd319b3cfecaae0c2fb7a669b2690456fb codex/skill/runtime/role-dispatch-store.mjs
117
- 9fdd561ee0c509e4e63ea4c78e4bfa666e37c87d08abb6659f0b250dc6f4d556 codex/skill/runtime/role-observe.mjs
118
- fed86827d061de4432540bcfab448b186ae219c807f7ed9069829c707b1f28ff codex/skill/runtime/role-policy.json
119
- e50fa25532160a7110c0d9df3cb66ab5a02072febdcd8bff4d3744b1d5360c0f codex/skill/runtime/role-routing-config.mjs
120
- 2e5d86004328633ec7a7a904bd65e3e8c68974927ef0726d07e853df56222784 codex/skill/runtime/role-routing.mjs
121
- 0933fa59b8b091be76f789fa595a2e95b6a67276ccf5fac8c6221be82e4b42bb codex/skill/runtime/role-supervisor.mjs
122
- 260e3f202d39cc8cb87ae426a0578502e1c916e2890503b2e10bf8fb6541f721 codex/skill/runtime/schema.mjs
123
- e2e768e62a46c8ef568fc3021ac8415c4dc68fa9843b9ffb3dbbbb2e5fa3a6af codex/skill/runtime/scope.mjs
124
- 2a942884862da5fdb23e17688141f2bf75925a81af6b4f749d443b88c90ec34a codex/skill/runtime/store.mjs
125
- b29a9f9a9a60836271545e3f75346d51d7d0bf1ac1eccbfa3a624717f78beebb codex/skill/runtime/target-preparation.mjs
126
- 5b14c4ffdff116a005601b737e94484e9eebdea746ec0e296ca7a34be2b7ea4a codex/skill/runtime/verification.mjs
37
+ 6050337a579172341631abd0c7176053d314315f37aa4395806b68dbb9368863 codex/skill/references/worktree-creation.md
127
38
  57e93213dc97465757294cb9d0ae2f4eb2f1384b955c4ca2a39f2fa38f7a9bd7 codex/skill/scripts/apply-models.py
128
39
  e7ad2db6fc4b130972681f54745713d2b0ab313ad45fc042619d5aa832905044 codex/skill/scripts/model_config.py
129
40
  800964b417c573aa7b2a07a76759a4750652222de63a985bc133d50194739358 install.command
@@ -137,16 +48,17 @@ a575a94adc9461a7c5c051983b47d1a40a88fb8ee90fa469041cd99165cbb80f lib/cli/progre
137
48
  f062c1cec1b8f3f62b9fec3c50e4d9daa02fa45849f4d20e4f2a6afc4b37365e lib/installer/install.mjs
138
49
  f9a0958fc424742f49ce6e2e0a49c7cf2bbe288e0cf3551d69a8a912c8f2709f lib/installer/language.mjs
139
50
  64713575291e51971abc542df716baa99e9a530a489e92b2f8345b782e0ce4cd lib/installer/limits.mjs
140
- 2b745154633db62431f0eeeedd0e1848d88fc5ef2438663d471a47f6eb016fd6 lib/installer/manifest.mjs
141
- 27a8fdf739355351314240ffdf044b75aa1975373358cd3a4cd807683272172d lib/installer/package-references.mjs
142
- c3b8ba0b08dbf9e637abf3eeb50b258d73fceeb0b30ee831c36834b02f464399 lib/installer/plan.mjs
51
+ 224724c466d0a3a7188336aaf8f0e959daef7d04bbe93db49fe0fc28759ccb55 lib/installer/manifest.mjs
52
+ fbcff7b20be52f5f60ab3d510fbf4d6f514abdcac4396f94d378fe4439e71e29 lib/installer/package-references.mjs
53
+ 75d2d379f203bf80f9272fbd0f470bd03eab21308d12f86be8f54b4a64053a8a lib/installer/plan.mjs
143
54
  90e23550e937ad9ea98aeb7f57b2b8a5b76c1d1a4f0ace0b20316a8f7300a67a lib/installer/preset.mjs
144
55
  2ef90aca75739592bbf1735f938ae8017a4f7fd4234b36ea17276d224b2db7d8 lib/installer/role-routing.mjs
145
56
  609df563de2f746c499ef12ecf5f1dd87a6b2537c55a4d0c1d753988e1817d8f lib/installer/runtime-assets.mjs
146
57
  4892d61cfe498a85f47f4a8044a831c853660365c98543eb14f4f4449b727c2f lib/installer/runtime-config.mjs
147
58
  bfc6c13638955fbd44b6002de3a5a2de911c50ad630a44ec1bcf0e987dfd825b lib/installer/shell-completion.mjs
59
+ 36b280df95896023bdd26436e60c59d327e591c107afc8b6a4b0e5198899e345 lib/installer/skill-sources.mjs
148
60
  c2ab7eda987cf62bba4dce1b7eb302f350a6c67679b0aaf063b3eea11eb010c5 lib/installer/stage-cleanup.mjs
149
- e8b600650ce068b0969d845acd10eaf90a2f39d476599a4edc3fca730e4213fa lib/installer/superpowers.mjs
61
+ 0d3e16459027c5165b0cb36abe6e48fbf3bcb0569c991064466b058eed9b5089 lib/installer/superpowers.mjs
150
62
  308ee5853e0a2ea2c6cf927d25ea2c2d32cd0a0dcad2e21fd02d3859c5a1b564 lib/installer/targets.mjs
151
63
  222d90e90c0814cfd5954aa0fa8f4a294ad96c15c9ca20e876455d6d09012c22 lib/installer/transaction.mjs
152
64
  3335241eb9fa4066325f330b4f0c1b9df36f470a567d61b520f881b2c9ff4929 lib/installer/uninstall.mjs
@@ -180,7 +92,7 @@ f9b4caf6a97d02f2bc4e2d72c2434a3c668db57961975a9cad57b1ed6a475db8 lib/runtime/ac
180
92
  99a2edbbb4993307f99adc4a606fd965398eb312f01bbd49a616d2f232a7213e lib/runtime/adapters/claude.mjs
181
93
  3e2de23ac10e3c6445ba4b4415568a7c7c1a2292f10b9f6917e7b2d81877d81d lib/runtime/adapters/codex.mjs
182
94
  a90abc679322f3b90ea4c1a9762dcd20877497991a09aec5fef68f787d63306b lib/runtime/assignment.mjs
183
- f401a28e68d0a4304147f7fd2d2d11d07c8e71740d50789d59d94363b9fcb828 lib/runtime/bootstrap.mjs
95
+ 264fc869279b996874e1427bc1d1061b2cc87da867de17ad885360920e64eb8f lib/runtime/bootstrap.mjs
184
96
  548e78bcfc01b6c3c46ba5698414f9faafcfcf73f9e9e0c24c41420343b40239 lib/runtime/capabilities.mjs
185
97
  028c3cdb169dc29f8713c63475a7f8463d317438a33bd7c5a4316c97d8f08795 lib/runtime/cli.mjs
186
98
  0e0660a314de6fe470f6fff3690c78b0b93619e4d868f8c1f5f3baa62072e7fd lib/runtime/command.mjs
@@ -192,15 +104,15 @@ c73244c65aad793559555f7998adfda5b5c2db2831bdb6420861d3564b31ead2 lib/runtime/ex
192
104
  56c3b38f2b04225cfa31d0e094ce0f9519b2703f0ecdae0cca7e393d3344eac8 lib/runtime/git-evidence.mjs
193
105
  494470cf70121ddac8d716586b0c05b1f0977f3eada8c0323ed34dc157b0db8e lib/runtime/git-query.mjs
194
106
  ccbc80b1ad9b8c51378f73b70d920ff902433115c121e74750bb34ecc500adc8 lib/runtime/identity.mjs
195
- ed0e06d5286e90c3204087158bc9c2ce54807e5df63d3319a7495fb3b58b238c lib/runtime/local-cli.mjs
107
+ 318fba3f16985afea128b755bf88a57141a32a40a01de605c417fd046335c359 lib/runtime/local-cli.mjs
196
108
  23fcb1b53193fd0cbc57c9b340b091d88bf57eb220fba531b118e5e8ba2f8122 lib/runtime/operations.mjs
197
109
  2bd89b5c8f89577f754bc49e760d16b93112d2f4fc3d41673afed30bceebc17d lib/runtime/role-bridge-args.mjs
198
- de8559102ce6ac48030503937d73050f4330cd3a57d4ddd94b23072390858308 lib/runtime/role-bridge.mjs
199
- 824a0efac9bac119d14693c5e02d600ac85febfc70761a436da0f058b0083320 lib/runtime/role-dispatch-policy.mjs
110
+ 35ab746130bec1fa6d949378f06cb1a9b74db13d1f2e42f357fe4b73a7522c70 lib/runtime/role-bridge.mjs
111
+ bcc3d2e54d321556b8f407da5d2adfa0344bc5f5f346e15311e1b92b63007c72 lib/runtime/role-dispatch-policy.mjs
200
112
  bccdfde1699f4614e2cbd5ae1a9b7ddd319b3cfecaae0c2fb7a669b2690456fb lib/runtime/role-dispatch-store.mjs
201
113
  9fdd561ee0c509e4e63ea4c78e4bfa666e37c87d08abb6659f0b250dc6f4d556 lib/runtime/role-observe.mjs
202
114
  e50fa25532160a7110c0d9df3cb66ab5a02072febdcd8bff4d3744b1d5360c0f lib/runtime/role-routing-config.mjs
203
- 2e5d86004328633ec7a7a904bd65e3e8c68974927ef0726d07e853df56222784 lib/runtime/role-routing.mjs
115
+ 3bcccef87514c1ada441e1efc19038ae5baace900c210f4344d2d72d064cd92b lib/runtime/role-routing.mjs
204
116
  0933fa59b8b091be76f789fa595a2e95b6a67276ccf5fac8c6221be82e4b42bb lib/runtime/role-supervisor.mjs
205
117
  260e3f202d39cc8cb87ae426a0578502e1c916e2890503b2e10bf8fb6541f721 lib/runtime/schema.mjs
206
118
  e2e768e62a46c8ef568fc3021ac8415c4dc68fa9843b9ffb3dbbbb2e5fa3a6af lib/runtime/scope.mjs
@@ -217,36 +129,82 @@ c35ab2affcc64d05b00011c7a00840faa481e594b7d95f53b322dfe6bd2e1110 lib/tui/setup.
217
129
  4d6c292344fbc16f2961635d8264d6cb854f759a6a870c4345524e67138372d9 lib/watch/args.mjs
218
130
  52c7a20bbef0452635a3196e838dc4eb3c2d0420d448bbb679d3cb32d6642566 lib/watch/discover-claude.mjs
219
131
  05d087b85cd08a9207d8ae36abe00651a94c7a2f3af67140bdd3740acb914f2b lib/watch/discover-codex.mjs
220
- bfc12c581ab12b973ed5eb40d3450df187f988496559239e816bba3da500c1c1 lib/watch/dispatch.mjs
221
- fb2b985c2e33726a5fd98b835b365c7b67b438fdeb6e03d6cf4f000089ead0fe lib/watch/git.mjs
222
- 3bb15bd6ffb6c3e83641ade0da62cf7c6932daf6b07f32709a3d3dcabe2b5319 lib/watch/index.mjs
132
+ e99f57718feb8a3d922f0816ce038d4ad9726af84a247ba75d1f914d97f15aa0 lib/watch/dispatch.mjs
133
+ ba889a189ac5c555f99034a08b0173b74bca02a3392ad8667a45e1cf5a46a08a lib/watch/git.mjs
134
+ 751716e9e72af6a991a38965f81c438cbb449e0679bf100496e957669cca14d9 lib/watch/index.mjs
223
135
  2707c6a3825a368650e7333f7e72eae841f21b95afcb7f3918a35ed4caf190cf lib/watch/labels.mjs
224
- 63b89cbf95696b13370c14d8443641b0373393ceabb8a59bec1b5cdaf4e82f52 lib/watch/model.mjs
225
- 37bed620ccf148a8b06c75f3002a5fe476e48ac9b90361ccc84d74acc1d495c0 lib/watch/normalize-claude.mjs
226
- b6a2cf6f227ff2b3fa7295ce2c97f5e4632cb3eb473fd3b8ebc6c0699c1ce5bc lib/watch/normalize-codex.mjs
136
+ 5eb39fb46ce6c591c4bcb2e3b3b45a2dad72ef29a0c5a172ec3791dcd20ceb9f lib/watch/model.mjs
137
+ cb19cf3b972321d33a4dc774a7da1a3903da15b16a28c006a9ca13f9b51f93d1 lib/watch/normalize-claude.mjs
138
+ 06a0e4920e8b1a76505d1c789cadbd0d46d7ecd8ea2f1b154c23289d231c94a3 lib/watch/normalize-codex.mjs
227
139
  4037619af1c19c058179d8567d301ce1cdba4ac82c79f63436fb17de4fe7f45d lib/watch/policy.mjs
228
- cbc8a4aae777e24453412e6b55f6148db5a1f65c74f256b4f06f8006d1a980bd lib/watch/render.mjs
229
- b875cdf21e0057855f48d7e26ef4ad58e48239b23a2b1d27a6dc296d0b330234 lib/watch/scope.mjs
140
+ 3be484236e27f620fecbc80f6f2fa6398165ca409a21e3c668513bca2ee412bf lib/watch/render.mjs
141
+ 2a604b6f3a56f27a305fcef902734e3f732cea99dae845457858153b2c51d013 lib/watch/scope.mjs
230
142
  23f4aaa18d1492de117d3d24fa755e3c5486d72e9d0f8c4834736095de53e078 lib/watch/tail.mjs
231
- 5d07fc41edfef103ce0e7796b7287aab86ae0aa05102512e04c983598b1ac2f8 lib/watch/watcher.mjs
143
+ 67baf04ca90991772aa3dabbdc22ad54c6962e742aed66d50436410ae1b7c6f5 lib/watch/watcher.mjs
232
144
  ff9c33c8b3c2bd466d54ffbe4c7139ccd87c79c7de34a6c4cde92e9f6e9b42d2 native/binding.c
233
145
  205bedc1dee1a9ffa58124c6e21256a1f0cbe24f06f7c8d7cb0b99524cfab9d0 native/binding.gyp
234
- fbe8b9d0715e61222ba01e5b40716484deae6f74c49393eb573b83b19b977c2e package.json
146
+ 0abe80a7b9ae84e799bcbea4fa39af9eae309fc2b750b77c40ade7ea2719ef55 package.json
235
147
  208c65cfde244d39ce45c3cf1b0acb128f04d21199b6b3fb5466e62db5b64af9 prebuilds/darwin-arm64/arc_safe_fs.node
236
148
  572887ac794d10a8b921d8168ea2328e31f05b45987611ff02c83114dba901af prebuilds/darwin-x64/arc_safe_fs.node
237
149
  2bb9443021f9d873712b26321de733eddd6794c45f0bc79e2d5dc98669196635 prebuilds/index.json
238
150
  b98bb4ac757ebd6e8f8fc1eb7a6a4389e3a8199984baf6bb1c327a6f952c2c0d prebuilds/linux-arm64-gnu/arc_safe_fs.node
239
151
  9f8c2c1e328ee287355bc36afc3173c00ed062611fbd1262e4d30fca83e979dc prebuilds/linux-x64-gnu/arc_safe_fs.node
240
152
  0750a576f8042248a35b55559ccc52ef787a7706de7901169ec929622f256643 scripts/build-native.mjs
241
- aa394307b1bba68ea7146f76bec479a21f2cbeff9ea18d0786516c677a2d9fbb scripts/check-installer-parity.mjs
153
+ d6a21afebfb8944440a60e0306dee7eda88048d3013e069195413bd26b6522a7 scripts/check-installer-parity.mjs
242
154
  de88500b49726973d1de71c0bbdf9c993e28720a5b3f28751992c023b617e04c scripts/pack-release.mjs
243
155
  0807cadae406606fd6bf047b6607339b9f0dc763cae40da8ad692b7acdfcf0bd scripts/postinstall.mjs
244
- b3a0509b8d27081e0f15b72bf9007c68d6f8654b925f4dbd7cf218d67e164ab0 scripts/update-manifest.mjs
156
+ 7a839abcee177b16be62136cc3c8dc321fccff13898aeabcdab2bd52fadbe7a0 scripts/update-manifest.mjs
245
157
  e99ca8fd7dbde12840097e3d68bef06037f04284474fc5006976da40758cf6bb scripts/update-role-policy.mjs
246
- 25904c2ebed180355a7570b10254cda6d0d5b20b8b74ff116c40957aefc47690 scripts/update-runtime-assets.mjs
158
+ 8b1ddde0db7d51d13253c815d79fe129bdc0da3218ae5ea7b5322569426175fe scripts/update-runtime-assets.mjs
247
159
  f7c5d8288905ed7a6f0e99e3668a34ed43a3c1a7a3157bc883f22ec94fe22e98 scripts/update-superpowers.mjs
248
160
  40f41cc52354e02d9743c7b8d270c187856aac02cd9d7996d19b1f1089355d88 scripts/vendor-toml.mjs
249
161
  a8884682a56e563b64931a2e0b025ec50a18bc758b0de7f5a92b7890ac36c4a5 scripts/verify-release.mjs
162
+ 2c9ca71f94886f9ca9f4aef055f7cafb3e1a9bdf3aeebf8f4cb547c69405d207 shared/skill/references/brainstorming.md
163
+ 36d51a4723d6f0a3ce5811a0ea3b3a8424f07533947e1355f5d8cb8cce40c55e shared/skill/references/builder-check-prompt.md
164
+ 958fda6beda8191c5bc76200fbc9820bf8e777dc6d6bf278a1f093f1de691358 shared/skill/references/handoff-worktree.md
165
+ 6a8a4e58bd6a44b904e2e3c57de774481d909204597e1498de53f1b2fecc4c4e shared/skill/references/scripts/frame-template.html
166
+ 43c6d69954a46ec34a2a262bcc62a9a7e83e839c739f199cb72646d397c686e3 shared/skill/references/scripts/helper.js
167
+ 763abf96510e0b892a1141397b31aa82ef900cf87ed34dde94bc8782baf4a7ca shared/skill/references/scripts/server.cjs
168
+ 314dd68dc00e8dd94c7491aca8a5f004c7fddffc161e2b07482f29f48d13659a shared/skill/references/scripts/start-server.sh
169
+ 0b5ccbbd57f62d3ed88993f7940b5ee0e5c0fc9b21c550c623da4f6292e47daf shared/skill/references/scripts/stop-server.sh
170
+ a37e0e9697144819e1d965176ac4ae5bc3fa02d11e7812036bbcadf6dafe2400 shared/skill/references/superpowers-LICENSE
171
+ bace14c488fa40fb112faff1fbea3cad22d8eb17dd83dabf71a64a0ee9857edb shared/skill/references/superpowers-provenance.json
172
+ 64b03fce4aee5a97a93160cea8111f3ba13a17b7c001db4bd5836d67fd10705d shared/skill/references/test-driven-development.md
173
+ 6ffcb038b53254bd31debaa15e12dcd4ff24bd63d690e0b644ac6396701cf2e2 shared/skill/references/visual-companion.md
174
+ 51471c853306ff92ca8bb41dcaea05f31c0e46b03651f8f3c99754b7172f4ae1 shared/skill/references/writing-good-tests.md
175
+ a6c67c1900064347c2a329990dd3c555657c51c3ec53b259a08aa01a2c26139a shared/skill/references/writing-plans.md
176
+ f9b4caf6a97d02f2bc4e2d72c2434a3c668db57961975a9cad57b1ed6a475db8 shared/skill/runtime/acceptance.mjs
177
+ 99a2edbbb4993307f99adc4a606fd965398eb312f01bbd49a616d2f232a7213e shared/skill/runtime/adapters/claude.mjs
178
+ 3e2de23ac10e3c6445ba4b4415568a7c7c1a2292f10b9f6917e7b2d81877d81d shared/skill/runtime/adapters/codex.mjs
179
+ a90abc679322f3b90ea4c1a9762dcd20877497991a09aec5fef68f787d63306b shared/skill/runtime/assignment.mjs
180
+ 264fc869279b996874e1427bc1d1061b2cc87da867de17ad885360920e64eb8f shared/skill/runtime/bootstrap.mjs
181
+ 548e78bcfc01b6c3c46ba5698414f9faafcfcf73f9e9e0c24c41420343b40239 shared/skill/runtime/capabilities.mjs
182
+ 028c3cdb169dc29f8713c63475a7f8463d317438a33bd7c5a4316c97d8f08795 shared/skill/runtime/cli.mjs
183
+ 0e0660a314de6fe470f6fff3690c78b0b93619e4d868f8c1f5f3baa62072e7fd shared/skill/runtime/command.mjs
184
+ 4db4c1dd698c9bd5afa476ffbaa31cdf21a705132721cc1289a7dfde953db9ff shared/skill/runtime/cooperative-schema.mjs
185
+ ab3e46f907afcc4c8f358e35d3e140aa80559270cd2dc50de75e37228f5fd29c shared/skill/runtime/cooperative.mjs
186
+ 10a05d6c7576d29d46316ad3d1298e2998a9bc7dddfaf0c8556de7816a8c7547 shared/skill/runtime/evaluate.mjs
187
+ c73244c65aad793559555f7998adfda5b5c2db2831bdb6420861d3564b31ead2 shared/skill/runtime/external.mjs
188
+ 6e29b5f6701e9355e138cb7896999511daebcef39dfc4de1fb7ad703ba13d3a7 shared/skill/runtime/gate.mjs
189
+ 56c3b38f2b04225cfa31d0e094ce0f9519b2703f0ecdae0cca7e393d3344eac8 shared/skill/runtime/git-evidence.mjs
190
+ 494470cf70121ddac8d716586b0c05b1f0977f3eada8c0323ed34dc157b0db8e shared/skill/runtime/git-query.mjs
191
+ ccbc80b1ad9b8c51378f73b70d920ff902433115c121e74750bb34ecc500adc8 shared/skill/runtime/identity.mjs
192
+ 318fba3f16985afea128b755bf88a57141a32a40a01de605c417fd046335c359 shared/skill/runtime/local-cli.mjs
193
+ 23fcb1b53193fd0cbc57c9b340b091d88bf57eb220fba531b118e5e8ba2f8122 shared/skill/runtime/operations.mjs
194
+ 2bd89b5c8f89577f754bc49e760d16b93112d2f4fc3d41673afed30bceebc17d shared/skill/runtime/role-bridge-args.mjs
195
+ 35ab746130bec1fa6d949378f06cb1a9b74db13d1f2e42f357fe4b73a7522c70 shared/skill/runtime/role-bridge.mjs
196
+ bcc3d2e54d321556b8f407da5d2adfa0344bc5f5f346e15311e1b92b63007c72 shared/skill/runtime/role-dispatch-policy.mjs
197
+ bccdfde1699f4614e2cbd5ae1a9b7ddd319b3cfecaae0c2fb7a669b2690456fb shared/skill/runtime/role-dispatch-store.mjs
198
+ 9fdd561ee0c509e4e63ea4c78e4bfa666e37c87d08abb6659f0b250dc6f4d556 shared/skill/runtime/role-observe.mjs
199
+ fed86827d061de4432540bcfab448b186ae219c807f7ed9069829c707b1f28ff shared/skill/runtime/role-policy.json
200
+ e50fa25532160a7110c0d9df3cb66ab5a02072febdcd8bff4d3744b1d5360c0f shared/skill/runtime/role-routing-config.mjs
201
+ 3bcccef87514c1ada441e1efc19038ae5baace900c210f4344d2d72d064cd92b shared/skill/runtime/role-routing.mjs
202
+ 0933fa59b8b091be76f789fa595a2e95b6a67276ccf5fac8c6221be82e4b42bb shared/skill/runtime/role-supervisor.mjs
203
+ 260e3f202d39cc8cb87ae426a0578502e1c916e2890503b2e10bf8fb6541f721 shared/skill/runtime/schema.mjs
204
+ e2e768e62a46c8ef568fc3021ac8415c4dc68fa9843b9ffb3dbbbb2e5fa3a6af shared/skill/runtime/scope.mjs
205
+ 2a942884862da5fdb23e17688141f2bf75925a81af6b4f749d443b88c90ec34a shared/skill/runtime/store.mjs
206
+ b29a9f9a9a60836271545e3f75346d51d7d0bf1ac1eccbfa3a624717f78beebb shared/skill/runtime/target-preparation.mjs
207
+ 5b14c4ffdff116a005601b737e94484e9eebdea746ec0e296ca7a34be2b7ea4a shared/skill/runtime/verification.mjs
250
208
  fa5659948374d4f555594f47f6da073b40dc503e921aeeece30df4362b3051a5 vendor/toml/LICENSE
251
209
  ef924a2a42c7f16761e7098c3ed8e04195ecbcb02d5c369db0aee76f251a409c vendor/toml/dist/date.js
252
210
  76f8e47f5fc57273748242d59570656d7c921a80bceb2291ca5a4d7a723e9f29 vendor/toml/dist/error.js
package/README.md CHANGED
@@ -38,11 +38,11 @@ The TUI requires terminal input and output. Public commands: `arc`, `arc watch`,
38
38
 
39
39
  ![arc watch flow](docs/images/watch-flow.svg)
40
40
 
41
- `arc watch` streams Claude Code and Codex activity read-only. Default scope: every worktree of the current Git repository, or the current directory outside Git.
41
+ `arc watch` streams Claude Code and Codex activity read-only. Default scope: the current Git worktree, or the current directory outside Git.
42
42
 
43
43
  - **Shown:** user and agent messages in full; other events on one line.
44
44
  - **Hidden:** tool and command outputs. Common secret patterns are masked, but masking is not complete.
45
- - **Excluded:** Codex Desktop sessions. Bridge roles on Codex hosts stay held as `host_sandbox_blocked` until they run.
45
+ - **Excluded:** Codex Desktop sessions. Claude bridge Scouter, Planner and Reviewer on a Codex host need per-call escalation approval (otherwise `host_sandbox_blocked`) and appear once they run; Claude bridge Implementer and QA stay held.
46
46
 
47
47
  Run `arc watch --help` for scope, platform, history and JSON options; press Ctrl-L to clear the screen and Ctrl-C to stop.
48
48
 
@@ -55,7 +55,7 @@ Run `arc watch --help` for scope, platform, history and JSON options; press Ctrl
55
55
  - **Claude & Codex:** each role runs on either platform. New configurations put Planner and Reviewer on Claude and the rest on Codex. `Apply` publishes; start a new session to load new profiles.
56
56
  - **Catalogs:** model and effort choices come from packaged catalogs, with no API key or model-list call; a choice is not proof that your account can use it.
57
57
  - **Language:** the TUI is in English; the selected response language applies to agents in new sessions.
58
- - **Execution support:** `claude-cli` hosts run native roles and Codex bridges. `codex-cli` hosts hold every bridge as `host_sandbox_blocked`; Claude bridge Implementer and QA roles on a Codex host are also held as `permission_scope_unverified`. On Desktop, every role (native and bridge) is held as `environment_unverified` pending a future ARC update. After upgrading to `cooperative-8`, run Install / Update again.
58
+ - **Execution support:** `claude-cli` hosts run native roles and Codex bridges. `codex-cli` hosts run native roles and Claude bridges for Scouter, Planner and Reviewer after per-call escalation approval, which every runtime command needs there, native roles included (a refused approval or denied `CODEX_HOME` write is `host_sandbox_blocked`); Claude bridge Implementer and QA roles stay held as `permission_scope_unverified`. Declare `codex-cli` or `claude-cli` for terminal sessions, including IDE terminals; use a `-desktop` value only inside a Desktop app, never because of a path such as `~/Desktop`. On Desktop, every role (native and bridge) is held as `environment_unverified` pending a future ARC update. After upgrading to `cooperative-9`, run Install / Update again. `executionEnvironment` is declared by the caller and not verified by the runtime; declaring a CLI value inside Desktop bypasses the hold, so confirmed Desktop sessions must declare the Desktop value.
59
59
 
60
60
  Authentication checks, role execution support per environment, and switching between composite and single-platform modes: see [Harness operation](docs/harness-operation.md).
61
61
 
@@ -46,6 +46,7 @@ Orchestrator and assigned roles read applicable references before dependent deci
46
46
  | [planning](references/planning.md) | Design/plan-depth judgments; spec/plan drafting, approval, first save; dependency/readiness decisions before assignment |
47
47
  | [handoff](references/handoff.md) | Every Implementer first start/restart; Orchestrator preparation and first direct edit. Implementer trusts verified brief and reads cited sections only |
48
48
  | [handoff-prep](references/handoff-prep.md) | Execution-target choice request; each preparation Git mutation (branch creation/switch, staging, commit) |
49
+ | [handoff-worktree](references/handoff-worktree.md) | After explicit managed-worktree selection, before creation, branch work or document transfer |
49
50
  | [commit](references/commit.md) | Plan-task acceptance; focused commit and resumption with uncertain commit result |
50
51
  | [verification](references/verification.md) | Orchestrator's verification design; QA/Reviewer assignment, correction rechecks, UI acceptance, risk classification, acceptance/completion. QA/Reviewer use profiles and brief-cited sections |
51
52
  | [git-recovery](references/git-recovery.md) | Branch collision, Git preparation failure/partial completion, metadata/handoff-record write denial recovery |
@@ -118,6 +118,8 @@ Generated from lib/policy/role-policy.json; do not edit this managed section man
118
118
 
119
119
  `Claude & Codex` keeps the current session as the Orchestrator. Each role runs either as a native `arc-routing-*` profile on the host or as a bridge: a child process of the peer CLI started by the runtime. Invoke `$ARC_RUNTIME_ENTRY` as described in [planning](planning.md#approved-cooperative-execution-path-within-the-repository): `node "$ARC_RUNTIME_ENTRY" <command> --cwd <absolute worktree> --workflow <workflow ID> --input -`, with one JSON object on stdin. Output is one JSON line. Exit codes: allow 0, deny 2, hold 3, error 1. Every input is validated against an exact key set; a missing or unknown key is denied with `invalid_request`. `hostPlatform` (`codex` or `claude`) and `executionEnvironment` (`codex-cli`, `claude-cli`, `codex-desktop`, or `claude-desktop`) are caller-provided claims, not host attestations.
120
120
 
121
+ Choose `executionEnvironment` by where the session actually runs: a terminal CLI or TUI session, including one in an IDE integrated terminal, is `codex-cli` or `claude-cli`; use `codex-desktop` or `claude-desktop` only when the session is confirmed to run inside the Desktop app. NEVER infer the environment from paths or directory names (for example `~/Desktop/...`). When unsure, declare the CLI value.
122
+
121
123
  Procedure, in order:
122
124
 
123
125
  1. `routing-status` with `hostPlatform`, `executionEnvironment`. Reads the active revision, each role's route, profile, model and effort, platform authentication and CLI versions without reserving anything. Authentication and version probes start a child process. The Codex authentication probe refreshes the login token over the network through `codex app-server`; a permanently rejected refresh is `Unauthorized` and a probe that cannot decide is `Incomplete`.
@@ -138,8 +140,8 @@ Rules:
138
140
  - For a Codex bridge the `permissions` claim is at most `operator-attested` and notes `user-config-mcp-not-controlled`, because the child loads the user's Codex configuration (for example MCP servers), which ARC does not control; its `supportStatus` is therefore never `verified`.
139
141
  - Post-run detection compares the changed paths, `HEAD`, the branch and every Git ref. Branch, tag and other ref creation, deletion or movement during a run is a `permission_violation_observed` for every role, assuming no other Git activity changes refs during the run. Changes to Git-ignored paths are outside post-run detection.
140
142
  - `ARC_BRIDGE_CHILD` is set in the environment of every bridge child; routing commands are denied in a process that has it. Re-running `codex exec` or `claude -p` through a shell is not a detected `delegation_observed` case and stays outside detection.
141
- - Supported CLI versions: Claude Code `>=2.1.322 <2.2.0`, codex-cli `>=0.167.0 <0.168.0`. Outside the range, or when the version cannot be parsed, only that platform's bridge is held as `permission_scope_unverified`; native routes are unaffected.
142
- - First-release support follows the recorded gates. Claude bridge `arc_implementer` and `arc_qa` on a Codex host (the only host with a Claude bridge) are held as `permission_scope_unverified` because the injected sandbox is not verified (G1); every bridge on a Codex host is currently held as `host_sandbox_blocked` as well (G2). In a Codex host sandbox writes to `CODEX_HOME` are denied (G2), so Codex-host bridges are conservatively held as `host_sandbox_blocked`; detached supervisor survival itself was observed under variant conditions, and native routes there remain supported. For Codex bridge children, re-delegation of a Codex child is not blocked, and a spawn found afterwards in its rollout fails the dispatch as `delegation_observed` (G3). Codex `workspace-write` may reach beyond the worktree (G5): writes outside the worktree are outside post-run detection. A `claude-cli` host supports native routes and Codex bridges. On Desktop hosts (`codex-desktop`, `claude-desktop`) every role (native and bridge) is held as `environment_unverified` in this release; the manual checklist in the ARC operation guide is a list of manual checks for a future ARC update that may change the support status, and recording it releases nothing. Even then `supportStatus` is at most `unverified`.
143
- - On a Codex host ask the user for escalation approval each time `run-dispatch`, `resume`, `cancel`, or a lease-writing `prepare-dispatch` or `observe` runs. Without approval or on failure the result is `host_sandbox_blocked`.
143
+ - CLI versions are not restricted. `routing-status` and bridge `prepare-dispatch` report the parsed `<cli> --version` result (`cliVersion.version`, or `null` with a `reason`) for information only; no version holds a native or bridge route.
144
+ - First-release support follows the recorded gates. Claude bridge `arc_implementer` and `arc_qa` on a Codex host (the only host with a Claude bridge) are held as `permission_scope_unverified` because the injected sandbox is not verified (G1). In a Codex host sandbox writes to `CODEX_HOME` are denied (G2), so a Codex-host bridge is not held in advance but runs only with the per-call escalation approval below; a refused approval or a denied write is `host_sandbox_blocked`. Detached supervisor survival itself was observed under variant conditions, and native routes there remain supported. For Codex bridge children, re-delegation of a Codex child is not blocked, and a spawn found afterwards in its rollout fails the dispatch as `delegation_observed` (G3). Codex `workspace-write` may reach beyond the worktree (G5): writes outside the worktree are outside post-run detection. A `claude-cli` host supports native routes and Codex bridges. On Desktop hosts (`codex-desktop`, `claude-desktop`) every role (native and bridge) is held as `environment_unverified` in this release; the manual checklist in the ARC operation guide is a list of manual checks for a future ARC update that may change the support status, and recording it releases nothing. Even then `supportStatus` is at most `unverified`.
145
+ - On a Codex host ask the user for escalation approval each time any runtime command (`routing-status`, `prepare-dispatch`, `run-dispatch`, `observe`, `resume`, `cancel`) runs, because each may write `CODEX_HOME`. The runtime does not check this approval; asking for it is an Orchestrator obligation. Without approval or on failure the result is `host_sandbox_blocked`.
144
146
  - There is no automatic fallback, substitution or retry. On any hold, deny or failure, report the reasons and release conditions and DO NOT use another model or platform. Run `routing-status` again only after the condition changed. Bridge dispatches count in the instance ledger; see [limits](limits.md).
145
147
  - After an ARC upgrade that changes the cooperative runtime version, run Install / Update again; until then routing holds as `activation_unverified`.
@@ -27,3 +27,8 @@ Invalid names, creation/switch failures, lookup errors or unexpected branches re
27
27
  If canonical-record writing is denied/unavailable, stop it and report path/error. NEVER change permissions or bypass sandbox. Use [handoff](handoff.md)'s inline fallback.
28
28
 
29
29
  Orchestrator inspects related processes/ACLs read-only itself or assigns QA; Scouter/Planner/Reviewer cannot execute commands. Failed profile reapplication MUST restore replaced bytes/modes. If rollback fails, preserve recovery files/paths; NEVER claim clean state or remove recovery material.
30
+
31
+ <a id="worktree-failures-and-partial-completion"></a>
32
+ ### Worktree failures and partial completion
33
+
34
+ Apply [managed-worktree failures and partial completion](handoff-worktree.md#worktree-failures-and-partial-completion). For Claude session recovery, also apply the attachment, keep-only exit and no-retry/no-fallback limits in [worktree-creation](worktree-creation.md).
@@ -1,7 +1,7 @@
1
1
  <a id="prepare-the-current-checkout"></a>
2
- # Prepare the current checkout
2
+ # Handoff preparation contract
3
3
 
4
- Claude v1 supports current checkout only, not ARC-managed worktree execution. NEVER create/attach worktrees as fallback; report unsupported requests before dependent work.
4
+ Offer three options: current checkout, new task branch in that checkout, or new managed worktree and task branch. NEVER create/attach worktrees as fallback; explicit selection and verified preparation are required before dependent work.
5
5
 
6
6
  <a id="execution-target-and-git-evidence-gates"></a>
7
7
  ## Execution-target and Git evidence gates
@@ -18,14 +18,12 @@ Present each supported option with:
18
18
 
19
19
  Obtain explicit choice before preparation.
20
20
 
21
- Claude v1 offers current branch/detached HEAD or a task branch in that checkout. Planning approval/silence chooses neither. Present exact candidate/base before creation. Preserve unrelated work; no preparation stash/reset/clean.
21
+ Present current checkout (current branch/detached HEAD), new task branch in that checkout, or new managed worktree and task branch at `.claude/worktrees/<name>`. Planning approval/silence chooses none. Before offering managed worktrees, verify/present source absolute path/repository/common directory, source branch/detached HEAD/full SHA, approved candidate/collision, name/path, planned documents and existing approved transfer/commit scope. Validate naming/collision and source unrelated staging/approved document HEAD/index/working bytes. NEVER substitute/fetch remote/default base. Only after explicit selection read [handoff-worktree](handoff-worktree.md), before creation/branch/transfer. Preserve unrelated work; no preparation stash/reset/clean.
22
22
 
23
23
  <a id="git-mutation-evidence-gate"></a>
24
24
  ### Git mutation evidence gate
25
25
 
26
- Before branch preparation, obtain the complete first required draft and self-review and pass the focused source/intent/preservation check.
27
-
28
- Before every preparation mutation (branch creation/switch, approved-doc staging/commit), read this and record/recheck:
26
+ Before branch/worktree preparation, obtain the complete first required draft and self-review and pass the focused source/intent/preservation check. Before every preparation mutation (branch creation/switch, worktree creation, approved-doc staging/commit), read this and record/recheck:
29
27
 
30
28
  1. Explicit choice or verified valid reuse.
31
29
  2. Absolute workspace/intended repository, actual branch or detached HEAD and HEAD.
@@ -56,7 +54,7 @@ Create the explicitly approved candidate from approved base in the current check
56
54
  | chore/ | Policy/tools/maintenance |
57
55
  | revert/ | Revert prior change |
58
56
 
59
- Validate name/collision before creation. NEVER add suffixes automatically; approve new candidates. NEVER reuse/delete/overwrite existing branches. Distinguish lookup errors from absence.
57
+ Validate name/collision before creation. NEVER add suffixes automatically; approve new candidates. NEVER reuse/delete/overwrite existing branches. Only the [managed-path exception](handoff-worktree.md) permits narrowly verified approved-branch reuse. Distinguish lookup errors from absence.
60
58
 
61
59
  Immediately recheck workspace, branch/detached HEAD, base and candidate. Changed target/collision candidate requires fresh explicit approval before creation/switch; otherwise block handoff. Detached HEAD is allowed when resolved and approved. After success verify actual branch equals candidate, HEAD equals base, unchanged absolute checkout and preserved changes. Failures follow Stop and inspect, never automatic checkout/worktree fallback.
62
60
 
@@ -69,7 +67,7 @@ After explicit selection or valid reuse, verify absolute workspace, branch/detac
69
67
  ### Planning document commit
70
68
 
71
69
  Begin after target preparation and all applicable documents are written/individually approved. Verify full set/evidence/versions before staging/commit. New branches require successful switch, actual branch, unchanged path/preservation. Current checkout requires selected branch/detached HEAD/path/changes.
72
-
70
+ For worktrees verify actual registration/`EnterWorktree` session attachment/identity/base/branch and directly written documents or protected legacy/restart transfers before target docs commits. Commit remaining approvals once at target; no automatic source docs commit.
73
71
 
74
72
  1. Verify already committed approvals by SHA, actual message/paths/content and selected-checkout validity; reuse without recommitting.
75
73
  2. Record remaining approved versions/paths. Finalize a specific English Conventional Commit message before the first commit.
@@ -24,7 +24,7 @@ Before every Implementer start or restart, verify access to the supplied absolut
24
24
 
25
25
  The first required spec/plan draft follows choice and verified source evidence and precedes actual preparation; saving follows verified preparation. Initial design MAY precede choice. Preparation alone authorizes no Implementer. All approvals/full documents/verified batch or valid absence/final Git checks remain. Separate planned scope/paths, actual preparation and drafting/save/approval/commit, recording chronology/gaps.
26
26
 
27
- After initial design approval record explicit selection: current checkout branch/detached HEAD or a task branch there. Without choice/valid reuse, wait. Reuse through unchanged-scope/target drafting/implementation. Authorized HEAD/dirty changes alone do not invalidate choice; verify preservation/ownership. Changed scope/target requires fresh choice before dependent drafting/preparation without waiting for full documents. NEVER fall back automatically.
27
+ After initial design approval record explicit selection: current checkout, new task branch from verified base there, or managed worktree/task branch. Without choice/valid reuse, wait. Reuse through unchanged-scope/target drafting/implementation. Authorized HEAD/dirty changes alone do not invalidate choice; verify preservation/ownership. Changed scope/target requires fresh choice before dependent drafting/preparation without waiting for full documents. NEVER fall back automatically.
28
28
 
29
29
  <a id="implementer-handoff-gate"></a>
30
30
  ### Implementer handoff gate
@@ -53,7 +53,7 @@ One canonical record includes:
53
53
  - Absolute approved artifacts, full set/versions/coverage/dependencies/order and no pending writing/approval.
54
54
  - Final verification, failures/partial completion/recovery and each start/restart's approval/choice/reuse.
55
55
  - Each plan task ID and current Implementer conversation ID, status, last result and reuse/replacement decision. Before same-task replacement, record the prior ID and status, allowed reason and supporting evidence; hold if the reason is not established. Record the returned ID after a successful initial or replacement call, and reconcile an uncertain call result before another assignment.
56
-
56
+ - Worktree source/target paths/common directory/base/branch/name/`.claude/worktrees/<name>` path/`EnterWorktree` attachment evidence/registration/source preservation/transfer evidence. No automatic recreation/cleanup/removal.
57
57
 
58
58
  Give all five roles the same actual workspace/selected checkout, preparation evidence and absolute artifacts. Roles stay there and report missing/inaccessible/conflicting paths/unexpected branches before dependent work, NEVER create/switch workspaces/branches. Tell Implementer others share the repository and unrelated work MUST be preserved.
59
59
 
@@ -70,7 +70,7 @@ Apply all [planning](planning.md#dependency-and-readiness-record) conditions: pr
70
70
 
71
71
  Reuse only for unchanged approved scope/workspace/repository/target with accessible valid evidence. Every start/restart compares actual identity/branch/detached HEAD/HEAD/changes/preservation/ownership, approvals/artifacts, document SHA/message/paths/content or absence and final state with the brief. Reuse waives none of gates 1–7.
72
72
 
73
- Unchanged-document restarts reuse valid commits/choice with fresh state checks. Accepted task/docs commits and authorized implementation/dirty changes alone invalidate no choice; record matching work/ownership/target. Link plan version/task ID/commit content-validity/current Git/ownership in restart brief. NEVER duplicate successful commits or confuse task commits with document preparation; DO NOT repeat valid docs preparation.
73
+ Unchanged-document restarts reuse valid commits/choice with fresh state checks. Accepted task/docs commits and authorized implementation/dirty changes alone invalidate no choice; record matching work/ownership/target. Authorized worktree transfers also preserve reuse. Creation base remains evidence, not a permanent target HEAD constraint; source-preservation/unexpected-state checks remain. Link plan version/task ID/commit content-validity/current Git/ownership in restart brief. NEVER duplicate successful commits or confuse task commits with document preparation; DO NOT repeat valid docs preparation.
74
74
 
75
75
  Changed scope/workspace/repository/target/candidate needs fresh choice before dependent work. Failures invalidating target trust need new choice after resolution. Resolution alone needs none if choice remains valid. Mismatches/unresolved failures hold edits through full revalidation; NEVER fallback.
76
76
 
@@ -89,7 +89,7 @@ Use [planning](planning.md#authorization-and-scope), recording scope/criteria/co
89
89
  ## Common handoff gate
90
90
 
91
91
  Before every start/restart verify approvals/artifacts or omissions, explicit target/reuse, accessible intended repository/workspace, actual Git identity/state, preservation/ownership, docs commits or absence and no unresolved failure/partial completion. Missing/mismatched/unclear evidence blocks until resolution/full revalidation. This reference owns records/restarts/lifetime. Implementer uses self-contained guards, not mandatory Orchestrator-procedure loading. Depth 2 NEVER creates/switches workspace/branches. Direct edits require the same.
92
- Claude v1 supports current checkout only. Explicitly select current/task branch and follow [preparation](handoff-prep.md). Report unsupported isolated-worktree requests before dependent work.
92
+ Selected worktrees require common directory, registration, `EnterWorktree` session attachment, approved branch and source preservation through [managed preparation](handoff-worktree.md) only.
93
93
 
94
94
  <a id="implementer-tdd-and-constraints"></a>
95
95
  ## Implementer TDD and constraints
@@ -142,6 +142,11 @@ Brief absolute installed `references/brainstorming.md`/`references/writing-plans
142
142
 
143
143
  Supply exact skill/reference paths/access state. Separate user instructions/discovered files, approved versions/open questions. Visual criteria link approved source/version/access/IDs/method. Missing inputs/unapproved interpretation hold dependent drafting. Optional alternatives follow [handoff](handoff.md#instruction-sources-bounded-read-recovery-visual-evidence-and-resumption). Planner stays draft-only in recovery.
144
144
 
145
+ <a id="managed-worktree-preparation"></a>
146
+ ### Managed worktree preparation
147
+
148
+ Follow [handoff-worktree](handoff-worktree.md).
149
+
145
150
  [ARC role policy: contract begin]
146
151
  Generated from lib/policy/role-policy.json; do not edit this managed section manually.
147
152
  - [git.orchestrator-accept-commit] Only Orchestrator accepts work and performs Git mutations. One approved top-level plan task becomes one focused implementation commit after criteria, required checks and findings are satisfied. Orchestrator accepts, then includes that task's own progress records made after task completion (checkboxes, notes, results, evidence and status) with its implementation work in that commit, without a separate docs/fixup commit or planning-commit amendment for those records. Exclude other tasks and preserve the no-change path without empty commits. Orchestrator commits without separate user commit approval. Reports, passing checks and Reviewer opinions do not replace acceptance. Preserve unrelated changes and ownership; verify the resulting SHA, content, HEAD and remaining changes. Existing small-task direct and plan-omission paths remain unchanged.
@@ -0,0 +1,14 @@
1
+ <a id="claude-managed-worktree-creation"></a>
2
+ # Claude managed worktree creation
3
+
4
+ Use this procedure only under the [managed-worktree handoff contract](handoff-worktree.md) after explicit new-managed-worktree selection. Orchestrator creates the approved path, then attaches the session with `EnterWorktree`; directory existence alone proves no attachment.
5
+
6
+ 1. **Selection gate.** Obtain explicit selection of the third path, a new managed worktree and task branch. Before requesting choice, present the source absolute path/repository/common directory, source branch or detached HEAD/full SHA, approved branch candidate and collision status, name/path `.claude/worktrees/<name>` and document scope. Use the verified full source HEAD SHA, never remote HEAD/default branch or automatic fetch.
7
+ 2. **Pre-creation recheck.** Immediately before creation recheck source state, base SHA, candidate/collision, the absent destination path and availability of `EnterWorktree`. Verify `.claude/worktrees/` is ignored with `git check-ignore`; if not ignored, add `.claude/worktrees/` to `.git/info/exclude` under the approved preparation scope and verify exclusion. Failed checks block creation; changed inputs require fresh explicit choice.
8
+ 3. **Creation.** Run the creation commands from the verified source top-level. Use `git worktree add -b <approved-branch> .claude/worktrees/<name> <verified-full-sha>`. Existing-branch reuse is allowed only under the common contract's approved same-base/not-checked-out exception: use `git worktree add .claude/worktrees/<name> <branch>` and verify HEAD. NEVER use `--force`, `-B`, automatic suffixes or retry with another path or name.
9
+ 4. **Pre-entry verification.** Before entry verify `git worktree list --porcelain` registration, registered absolute path/realpath, source/target common directory identity, target HEAD equal to the approved full SHA and approved branch. Verify source branch/HEAD/index/files preservation and target dirty state. These pre-entry checks satisfy handoff-worktree creation checks 2–4 (and source preservation) before entry, as required by the F5 command restriction. Approved shared metadata additions are allowed; unexpected state stops dependent work.
10
+ 5. **Session entry.** Call `EnterWorktree({path:"<abs>"})` with the verified target absolute path. Verify session cwd with a simple `pwd` command and `git rev-parse --show-toplevel` separately; both must resolve to the target realpath. In the worktree session, DO NOT use compound commands containing Git (F5). Perform source checks before entry or after exit, never through a compound Git command in the isolated session.
11
+ 6. **Attachment attestation.** Record an operator-attested runtime note `type:'worktree-attachment'` with `{realpath, gitDir, gitCommonDir}` from the verified target. For Claude this means `EnterWorktree({path})` succeeded and session cwd and Git toplevel were verified to match the target realpath. Steps 5–6 complete handoff-worktree creation check 1 (returned path and platform attachment evidence). Git registration alone is insufficient. Use the existing runtime schema and code unchanged.
12
+ 7. **Role execution.** The native roles (Planner/Reviewer) inherit session cwd. Pass `--cwd <worktree realpath>` to bridge roles and include the worktree absolute path in every brief. All roles use the verified target and preserve source work.
13
+ 8. **Exit and preservation.** Return only with `ExitWorktree({action:"keep"})`. No automatic cleanup: `ExitWorktree remove`, `git worktree remove/prune` and branch deletion are forbidden. Preserve the worktree and branch; only Orchestrator may delete them after an explicit user instruction authorizes that deletion.
14
+ 9. **Stop and inspect.** Creation, registration, entry, identity/base/branch mismatch or partial completion (including branch-only creation or registered worktree with failed entry) stops dependent work. Apply [worktree failures and partial completion](handoff-worktree.md#worktree-failures-and-partial-completion): record exact commands/tool inputs/results, actual source/target paths, branch/HEAD/index/files, common directory, registration, attachment evidence, ownership and completed steps. No automatic retry, fallback (M1/M3), alternate path/name/ref/branch or deletion. Return actual state to Orchestrator; resume only after authorized resolution and full affected-gate revalidation without repeating completed work.
@@ -116,6 +116,8 @@ Generated from lib/policy/role-policy.json; do not edit this managed section man
116
116
 
117
117
  `Claude & Codex` keeps the current session as the Orchestrator. Each role runs either as a native `arc-routing-*` profile on the host or as a bridge: a child process of the peer CLI started by the runtime. Invoke `$ARC_RUNTIME_ENTRY` as described in [planning](planning.md#approved-cooperative-execution-path-within-the-repository): `node "$ARC_RUNTIME_ENTRY" <command> --cwd <absolute worktree> --workflow <workflow ID> --input -`, with one JSON object on stdin. Output is one JSON line. Exit codes: allow 0, deny 2, hold 3, error 1. Every input is validated against an exact key set; a missing or unknown key is denied with `invalid_request`. `hostPlatform` (`codex` or `claude`) and `executionEnvironment` (`codex-cli`, `claude-cli`, `codex-desktop`, or `claude-desktop`) are caller-provided claims, not host attestations.
118
118
 
119
+ Choose `executionEnvironment` by where the session actually runs: a terminal CLI or TUI session, including one in an IDE integrated terminal, is `codex-cli` or `claude-cli`; use `codex-desktop` or `claude-desktop` only when the session is confirmed to run inside the Desktop app. NEVER infer the environment from paths or directory names (for example `~/Desktop/...`). When unsure, declare the CLI value.
120
+
119
121
  Procedure, in order:
120
122
 
121
123
  1. `routing-status` with `hostPlatform`, `executionEnvironment`. Reads the active revision, each role's route, profile, model and effort, platform authentication and CLI versions without reserving anything. Authentication and version probes start a child process. The Codex authentication probe refreshes the login token over the network through `codex app-server`; a permanently rejected refresh is `Unauthorized` and a probe that cannot decide is `Incomplete`.
@@ -136,8 +138,8 @@ Rules:
136
138
  - For a Codex bridge the `permissions` claim is at most `operator-attested` and notes `user-config-mcp-not-controlled`, because the child loads the user's Codex configuration (for example MCP servers), which ARC does not control; its `supportStatus` is therefore never `verified`.
137
139
  - Post-run detection compares the changed paths, `HEAD`, the branch and every Git ref. Branch, tag and other ref creation, deletion or movement during a run is a `permission_violation_observed` for every role, assuming no other Git activity changes refs during the run. Changes to Git-ignored paths are outside post-run detection.
138
140
  - `ARC_BRIDGE_CHILD` is set in the environment of every bridge child; routing commands are denied in a process that has it. Re-running `codex exec` or `claude -p` through a shell is not a detected `delegation_observed` case and stays outside detection.
139
- - Supported CLI versions: Claude Code `>=2.1.322 <2.2.0`, codex-cli `>=0.167.0 <0.168.0`. Outside the range, or when the version cannot be parsed, only that platform's bridge is held as `permission_scope_unverified`; native routes are unaffected.
140
- - First-release support follows the recorded gates. Claude bridge `arc_implementer` and `arc_qa` on a Codex host (the only host with a Claude bridge) are held as `permission_scope_unverified` because the injected sandbox is not verified (G1); every bridge on a Codex host is currently held as `host_sandbox_blocked` as well (G2). In a Codex host sandbox writes to `CODEX_HOME` are denied (G2), so Codex-host bridges are conservatively held as `host_sandbox_blocked`; detached supervisor survival itself was observed under variant conditions, and native routes there remain supported. For Codex bridge children, re-delegation of a Codex child is not blocked, and a spawn found afterwards in its rollout fails the dispatch as `delegation_observed` (G3). Codex `workspace-write` may reach beyond the worktree (G5): writes outside the worktree are outside post-run detection. A `claude-cli` host supports native routes and Codex bridges. On Desktop hosts (`codex-desktop`, `claude-desktop`) every role (native and bridge) is held as `environment_unverified` in this release; the manual checklist in the ARC operation guide is a list of manual checks for a future ARC update that may change the support status, and recording it releases nothing. Even then `supportStatus` is at most `unverified`.
141
- - On a Codex host ask the user for escalation approval each time `run-dispatch`, `resume`, `cancel`, or a lease-writing `prepare-dispatch` or `observe` runs. Without approval or on failure the result is `host_sandbox_blocked`.
141
+ - CLI versions are not restricted. `routing-status` and bridge `prepare-dispatch` report the parsed `<cli> --version` result (`cliVersion.version`, or `null` with a `reason`) for information only; no version holds a native or bridge route.
142
+ - First-release support follows the recorded gates. Claude bridge `arc_implementer` and `arc_qa` on a Codex host (the only host with a Claude bridge) are held as `permission_scope_unverified` because the injected sandbox is not verified (G1). In a Codex host sandbox writes to `CODEX_HOME` are denied (G2), so a Codex-host bridge is not held in advance but runs only with the per-call escalation approval below; a refused approval or a denied write is `host_sandbox_blocked`. Detached supervisor survival itself was observed under variant conditions, and native routes there remain supported. For Codex bridge children, re-delegation of a Codex child is not blocked, and a spawn found afterwards in its rollout fails the dispatch as `delegation_observed` (G3). Codex `workspace-write` may reach beyond the worktree (G5): writes outside the worktree are outside post-run detection. A `claude-cli` host supports native routes and Codex bridges. On Desktop hosts (`codex-desktop`, `claude-desktop`) every role (native and bridge) is held as `environment_unverified` in this release; the manual checklist in the ARC operation guide is a list of manual checks for a future ARC update that may change the support status, and recording it releases nothing. Even then `supportStatus` is at most `unverified`.
143
+ - On a Codex host ask the user for escalation approval each time any runtime command (`routing-status`, `prepare-dispatch`, `run-dispatch`, `observe`, `resume`, `cancel`) runs, because each may write `CODEX_HOME`. The runtime does not check this approval; asking for it is an Orchestrator obligation. Without approval or on failure the result is `host_sandbox_blocked`.
142
144
  - There is no automatic fallback, substitution or retry. On any hold, deny or failure, report the reasons and release conditions and DO NOT use another model or platform. Run `routing-status` again only after the condition changed. Bridge dispatches count in the instance ledger; see [limits](limits.md).
143
145
  - After an ARC upgrade that changes the cooperative runtime version, run Install / Update again; until then routing holds as `activation_unverified`.
@@ -37,8 +37,4 @@ A branch does not isolate uncommitted changes in another directory. Record task
37
37
  <a id="worktree-failures-and-partial-completion"></a>
38
38
  ### Worktree failures and partial completion
39
39
 
40
- [Managed-worktree](handoff-worktree.md) creation/registration/attachment/identity/base/checkout/transfer/stage/commit failures stop dependent work/handoff. Branch-only or partial-path creation, registration/path mismatch, wrong base/branch and partial transfer count as partial completion.
41
-
42
- Record source/target commands/errors/branch/HEAD/common directory/registration/index/files, target dirty state and source preservation. Include tool inputs/operationId/results/returned path, app management/current-chat attachment, initial/final branch, base/ref SHA and ownership. Inspect actual state/completed work before authorized retry.
43
-
44
- No automatic alternate path/branch, deletion, `git worktree prune`, `--force`/`-B`, cleanup or archive. Normal preparation after explicit managed selection is allowed; arbitrary recovery workspace moves are not. Resolve and revalidate the full gate; renewed choice follows handoff lifetime rules. Preserve completion/attach-retry/no-fallback limits. Recheck completion/current-chat attachment after attach retry; failure or unverifiable results stop with actual-state reporting. Directory existence does not prove app management.
40
+ Apply [managed-worktree failures and partial completion](handoff-worktree.md#worktree-failures-and-partial-completion). For Codex app recovery, also apply the attachment and retry limits in [worktree-creation](worktree-creation.md).
@@ -0,0 +1,20 @@
1
+ <a id="codex-managed-worktree-creation"></a>
2
+ # Codex managed worktree creation
3
+
4
+ Use this procedure only under the [managed-worktree handoff contract](handoff-worktree.md) after explicit new-managed-worktree selection. The app chooses the actual path; DO NOT propose siblings or require user-specified paths.
5
+
6
+ Use only the app tool:
7
+
8
+ mcp__codex_app__create_worktree({
9
+ allowAsync: true,
10
+ name: "<approved-descriptive-name>",
11
+ ref: "<verified-source-head-full-sha>"
12
+ })
13
+
14
+ The descriptive name does not guarantee a path or branch. There are no destination-path/branch arguments. Pass full SHA `ref` explicitly; NEVER omit or rely on remote defaults. For `operationId`, use `mcp__codex_app__get_worktree_creation_status` until completed. Preparing/creating/registering is not success.
15
+
16
+ Only registration failure permits reattachment of the returned workspace with `mcp__codex_app__attach_worktree`. Missing tools, failed reattachment or mismatched results stop with actual-state reporting. No raw Git worktree fallback, alternate name/ref/path/branch retries or automatic cleanup/deletion/prune/archive.
17
+
18
+ Platform attachment evidence for Codex means app-artifact management/current-chat attachment of the returned absolute path. Verify that evidence in the creation checks required by handoff-worktree. The tool copies no uncommitted changes.
19
+
20
+ For failure evidence, include tool inputs/operationId/results/returned path and app management/current-chat attachment. Preserve completion/attach-retry/no-fallback limits. Recheck completion/current-chat attachment after attach retry; failure or unverifiable results stop with actual-state reporting. Directory existence does not prove app management.