@yunhozz/arc 0.4.6 → 0.4.7

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 (75) hide show
  1. package/MANIFEST.sha256 +74 -69
  2. package/README.md +35 -51
  3. package/claude/agents/arc-implementer.md +2 -2
  4. package/claude/agents/arc-planner.md +1 -1
  5. package/claude/agents/arc-qa.md +1 -1
  6. package/claude/agents/arc-reviewer.md +1 -1
  7. package/claude/agents/arc-scouter.md +1 -1
  8. package/claude/skill/references/coordination.md +2 -2
  9. package/claude/skill/references/handoff-prep.md +5 -0
  10. package/claude/skill/references/handoff.md +2 -2
  11. package/claude/skill/references/planning.md +2 -2
  12. package/claude/skill/references/verification.md +16 -3
  13. package/claude/skill/references/worktree-creation.md +2 -2
  14. package/codex/agents/arc-implementer.toml +1 -1
  15. package/codex/agents/arc-planner.toml +1 -1
  16. package/codex/agents/arc-qa.toml +1 -1
  17. package/codex/agents/arc-reviewer.toml +1 -1
  18. package/codex/agents/arc-scouter.toml +1 -1
  19. package/codex/skill/references/coordination.md +2 -2
  20. package/codex/skill/references/handoff-prep.md +5 -0
  21. package/codex/skill/references/handoff.md +2 -2
  22. package/codex/skill/references/planning.md +2 -2
  23. package/codex/skill/references/verification.md +15 -2
  24. package/gemini/agents/arc-implementer.md +2 -2
  25. package/gemini/agents/arc-planner.md +1 -1
  26. package/gemini/agents/arc-qa.md +1 -1
  27. package/gemini/agents/arc-reviewer.md +1 -1
  28. package/gemini/agents/arc-scouter.md +1 -1
  29. package/gemini/skill/references/coordination.md +3 -3
  30. package/gemini/skill/references/handoff-prep.md +5 -0
  31. package/gemini/skill/references/handoff.md +2 -2
  32. package/gemini/skill/references/planning.md +2 -2
  33. package/gemini/skill/references/verification.md +16 -3
  34. package/gemini/skill/references/worktree-creation.md +2 -2
  35. package/grok/agents/arc-implementer.md +2 -2
  36. package/grok/agents/arc-planner.md +1 -1
  37. package/grok/agents/arc-qa.md +1 -1
  38. package/grok/agents/arc-reviewer.md +1 -1
  39. package/grok/agents/arc-scouter.md +1 -1
  40. package/grok/skill/references/coordination.md +2 -2
  41. package/grok/skill/references/handoff-prep.md +5 -0
  42. package/grok/skill/references/handoff.md +2 -2
  43. package/grok/skill/references/planning.md +2 -2
  44. package/grok/skill/references/verification.md +16 -3
  45. package/grok/skill/references/worktree-creation.md +2 -2
  46. package/lib/cli/root.mjs +1 -1
  47. package/lib/management/reapply.mjs +117 -0
  48. package/lib/management/update.mjs +59 -5
  49. package/lib/npm/upgrade.mjs +6 -2
  50. package/lib/policy/role-policy.json +1 -1
  51. package/lib/prompts/agent-fragments.json +5 -5
  52. package/lib/runtime/role-bridge.mjs +10 -1
  53. package/lib/runtime/role-dispatch-policy.mjs +4 -0
  54. package/lib/runtime/role-observe.mjs +192 -14
  55. package/lib/runtime/role-supervisor.mjs +268 -23
  56. package/lib/tui/app.mjs +3 -39
  57. package/lib/tui/interface.mjs +40 -0
  58. package/lib/tui/setup.mjs +27 -16
  59. package/lib/watch/args.mjs +12 -27
  60. package/lib/watch/dispatch.mjs +2 -2
  61. package/lib/watch/index.mjs +38 -26
  62. package/lib/watch/markdown.mjs +232 -0
  63. package/lib/watch/menu.mjs +43 -0
  64. package/lib/watch/model.mjs +7 -3
  65. package/lib/watch/render.mjs +28 -67
  66. package/lib/watch/scope.mjs +1 -5
  67. package/lib/watch/status-line.mjs +2 -4
  68. package/lib/watch/text-width.mjs +43 -0
  69. package/lib/watch/watcher.mjs +17 -36
  70. package/package.json +1 -1
  71. package/shared/skill/runtime/role-bridge.mjs +10 -1
  72. package/shared/skill/runtime/role-dispatch-policy.mjs +4 -0
  73. package/shared/skill/runtime/role-observe.mjs +192 -14
  74. package/shared/skill/runtime/role-policy.json +1 -1
  75. package/shared/skill/runtime/role-supervisor.mjs +268 -23
package/MANIFEST.sha256 CHANGED
@@ -1,82 +1,82 @@
1
- 01d6dc7d2e595ea480f18b199031e826fffea0558f480d65518e27a3ef58b1e7 README.md
1
+ 8d76e932afd22461fb93440d76f7da246deedbdf0c0aa85d97ec19255fa77955 README.md
2
2
  d41edeb8c6631dee30c67c705d4edad977aa1631627ec9de59c013f8990f4018 bin/arc-upgrade.mjs
3
3
  484d9b2002ce542c87589bb719d644d3762706aad28a6ee010024875f8cc00e2 bin/arc.mjs
4
- b763239df5a8361da783848494218f5fd1f7169a513b729362d0424e3579fca5 claude/agents/arc-implementer.md
5
- 17bd14c4f61717a3a594f72e20d9741bf87bd795cb7fdb536d7b8a09c649e9db claude/agents/arc-planner.md
6
- eb371b22496e74e41e1177420a3321a64fb8213e46bf5ded746a5af2c609386a claude/agents/arc-qa.md
7
- 9e4e50cafc8f7418f6d18a7759e7ec89cfb78538a998e576de82fbad86d95dc0 claude/agents/arc-reviewer.md
8
- a61e2f4224efdef60db074d2ff9b55ccfde0c52eae76cd534ece98a203f83426 claude/agents/arc-scouter.md
4
+ 5feb5b11fef306f3537c8d886121d0885f64aa6e68d6dfd1d975c76573db41d5 claude/agents/arc-implementer.md
5
+ 68ec070ec80301589d30540d397567f6a864749899f02a152ef3ea6bce3cf693 claude/agents/arc-planner.md
6
+ 48513b93bc0fda9be51348387f3f0dd247222cca43895ba3be1e4033520e84fa claude/agents/arc-qa.md
7
+ b6c6f099922aa93e69584f91e5c64d553cc6f8062e4b29f7a1dcfb5209b25213 claude/agents/arc-reviewer.md
8
+ a22e52afda4b41e718908c6e3d8187a1e7d2283b1ebcc94b02f606ac19827393 claude/agents/arc-scouter.md
9
9
  a06a8367ca3984124854453387ab082e33c42c5a59962fbef1fc8aad218e04fc claude/skill/SKILL.md
10
10
  27c12eefe19f742f2e4a2e600f55249c9a461676f3bf09f3c2cd0499efb1a9b5 claude/skill/references/arc-visual-companion.md
11
11
  23ae131ec5dc79435772e782ecabec0c776f82bf97f51eadfb9f4ac79b7173b8 claude/skill/references/commit.md
12
- f8e2cf10eabd3441e1a61df0cb567f6602d836fb653b7bdbd575d9c3bb3e4394 claude/skill/references/coordination.md
12
+ 2d589bf9dd9c85d4aab6993401b3a458df7890e44e3405208ece01366791a981 claude/skill/references/coordination.md
13
13
  1d6745550da04eaf09977026c596fe389ec7a7b6c32ad3970dc958b56b935251 claude/skill/references/git-recovery.md
14
- a0f8fa528dff79a57f945f27325741f65a2ffe9e2ee72c06dfc3659722b28ca7 claude/skill/references/handoff-prep.md
15
- 2ed6699c82d89176ebbca19b241d130da906748381563c9b697ed117b34540d6 claude/skill/references/handoff.md
14
+ 470ba20240617350880af19352d48dc0d928f75e3b7580831ec5a6849699d518 claude/skill/references/handoff-prep.md
15
+ 30a4588a60ce2985b9dc99d26bc484a8f812487b89fb44194baded31af39a8aa claude/skill/references/handoff.md
16
16
  bc45488ef644bf0f35fbcbc1a8fe08a0e5d4a964e29807c978aeca5b263fe85e claude/skill/references/limits.md
17
- 2294d0ac1e9fe5a0dc0b6cf07112013de95935f22569293be606a08a9e49e1bb claude/skill/references/planning.md
18
- 9f2cf23740177fb5d903b3c7efc642289512815a88f4ac5337da60c90e496858 claude/skill/references/verification.md
19
- 8826abe438cdd9d302abada0f87669a0448ae9a28d185a9793ff8a2edc805fd7 claude/skill/references/worktree-creation.md
17
+ b5d0139c3f52215be3ce8b0a68e385eb45682039a0e5a915c48ed684722b07c8 claude/skill/references/planning.md
18
+ d1327ab8d91f5173aa8a335a3802ddd1216bab60f8b8c551717e5360aaace980 claude/skill/references/verification.md
19
+ 864f571e747c318ae3b036f1e789adbc718ca6ac948eaf50686d6d8c21b492ff claude/skill/references/worktree-creation.md
20
20
  e4445f3582c55861907e11dfe97ea9e87c69bcc3ff773d3d583914c198f1d024 claude/skill/scripts/apply-models.py
21
21
  a39ef4aa4a3ffa7281f9d48ff751ef710ff27e6267f480b6c11f9fb809e5e1f5 claude/skill/scripts/model_config.py
22
- c5707060e493ffc7b63ce6719748c29f157e281eb253379f64ac0a7419fb697c codex/agents/arc-implementer.toml
23
- a5690564abebfaeb673331bf808ff18261f1aac72d33397dfaa00d41898f4869 codex/agents/arc-planner.toml
24
- 3938740bffbf2871a4b4ef30ed9478252ffc3bef6c24151f4e783bda2a1730f4 codex/agents/arc-qa.toml
25
- cb92384c65c05ea5752213c712186dcbd05684b7c81b4d0928c72a0ff196c885 codex/agents/arc-reviewer.toml
26
- fde21d68e655a2ed225c8269d63c49a4334577fe67a111ccd02dc3b763cdf44e codex/agents/arc-scouter.toml
22
+ b335c5f470b06bd45b54970b9aafebf598cb76a3d067b6f3aa298c992425fd00 codex/agents/arc-implementer.toml
23
+ 602dfd46f96dcaddbd7d4edd05ca5693e170a2ace7ea5d0fb43d0b9f81821ab7 codex/agents/arc-planner.toml
24
+ fdde3c0abbafe8e0806ba48df2a94eb95602b3b5cfb6eff403308fc1bb91e082 codex/agents/arc-qa.toml
25
+ f980daee644f6209db8dc24727cddb2fc33734a7418a2e6c8cf5c304b000f298 codex/agents/arc-reviewer.toml
26
+ 5682a4722563e578b159f9cc1982dadc1eb6678d4ebd740445e2e6c42f9efd31 codex/agents/arc-scouter.toml
27
27
  c5d18f189ac8a05989ee893d94b7ecb1d930233711fda690a5ec3488afea5966 codex/skill/SKILL.md
28
28
  8e2d085f7fcd7aaebe4ea25d8a5282b22e3150a5053c16ef6417ec023487839c codex/skill/references/arc-visual-companion.md
29
29
  b5bdb82c2cb5e67061f3d9a9e37dd8a4305fd034100229914217402a215cfc06 codex/skill/references/commit.md
30
- 04ab100382d91c27eca288b84d75d4dab34998f3be833c115db52703a674912f codex/skill/references/coordination.md
30
+ 3e77b27ac0742756ac44a84f192b0264191be006d47c4a57832412245647e66a codex/skill/references/coordination.md
31
31
  c648d9c98c9dee3ecdf7b3a915e69fd67875c6344ee9c4d04cd1de0227a64050 codex/skill/references/git-recovery.md
32
- 9acc6db11009bd5376055d461349e956793e9c933aad96f00b2904ccc9519027 codex/skill/references/handoff-prep.md
33
- be5c0a6997a5dabc201b2176c5434f3db89a3c6ef47c363e6734e2285333d9fe codex/skill/references/handoff.md
32
+ f6dc54ceceb3a7b1b148af01bb432ca1613874021aff1e146b85e04fb852cdc4 codex/skill/references/handoff-prep.md
33
+ b900bf19e1ee5b76f67600e56c86723254bb6d5a0fe3212409db9cf0aa0592e5 codex/skill/references/handoff.md
34
34
  eb70ecc7edcb0c561c497016bb0bb0ba3e9dbace09279087ce1ef683211ab9f4 codex/skill/references/limits.md
35
- b3a65f4d2d234dfe561d85bc4f9e9b5f4dafd6452a8201856b9bdd7de85e8b13 codex/skill/references/planning.md
36
- e29cbcd17e129bf174479cebac629b5fd463bf0c993f27ab0167e2aaf633216f codex/skill/references/verification.md
35
+ d6893c07490bb297253e88f91d16f7d681460eaddc72480c619a690b98f15462 codex/skill/references/planning.md
36
+ 1ffad1d6f71c938eed69f6be292c89ae795e86722b138a88e3df34792d0447cf codex/skill/references/verification.md
37
37
  6050337a579172341631abd0c7176053d314315f37aa4395806b68dbb9368863 codex/skill/references/worktree-creation.md
38
38
  57e93213dc97465757294cb9d0ae2f4eb2f1384b955c4ca2a39f2fa38f7a9bd7 codex/skill/scripts/apply-models.py
39
39
  e7ad2db6fc4b130972681f54745713d2b0ab313ad45fc042619d5aa832905044 codex/skill/scripts/model_config.py
40
40
  222cede3f10494dc58b17ab243d31179c3e2a9dacf1e0724da734b02ebaa30e7 gemini/GEMINI.md
41
- 81fa067b97a479266c7c88a76789649ee5cf03671681a01f090e02f77dd7cb0f gemini/agents/arc-implementer.md
42
- fedc8d4a2e5d75dc94ae8e7918f8732c57f3d981246ede62d5217f8ba5713aed gemini/agents/arc-planner.md
43
- 6828502994209998df0f433604c7bfd0bd4c7aa128e228655de110374a4ba219 gemini/agents/arc-qa.md
44
- 66ce504bb0dc2af50bd289032b9f1af8910d230bed328d9b4a6c0ddb7adc7bf4 gemini/agents/arc-reviewer.md
45
- e66cca48aa51da21951380c6a1d1571e543f539477a01c8791809cc6605cc9cb gemini/agents/arc-scouter.md
41
+ 10670af6a0936d77a4a4188b0494598b221869e9bb43146578de086cca912f93 gemini/agents/arc-implementer.md
42
+ 878d1dae49eaac7e22e4d70cfd33e4ac217442f6b0b5623629b743142966da7f gemini/agents/arc-planner.md
43
+ 97923c3a73e56337c8333cd5b9a8d5a3cf18f431ae1aef8955f77f2480d94859 gemini/agents/arc-qa.md
44
+ 1f60cd47f0b87946d2be2791045ee16b1ee17a7298a68293601d571363832cf7 gemini/agents/arc-reviewer.md
45
+ c40bd729351b9cb6f94712610d4e609e13edbff35aeedb7ce256f5de411bceb6 gemini/agents/arc-scouter.md
46
46
  d9fff57cf884a2cee6b6bacb309d63d4469bf4ce48e0a2af4678f034577fc5a5 gemini/instructions.md
47
47
  6f4f5cc5a0442af3e54ad468ddae27696a117c4f305d5d155781e35c97bc2f36 gemini/skill/SKILL.md
48
48
  27c12eefe19f742f2e4a2e600f55249c9a461676f3bf09f3c2cd0499efb1a9b5 gemini/skill/references/arc-visual-companion.md
49
49
  b4f1edb90de48a543584d276261d17859d4041e59c38e1dd17e4e7735f051181 gemini/skill/references/commit.md
50
- 751eb3c70f221cdf251d0a6120a47494e40798503a8169f1124747dc8ee0f747 gemini/skill/references/coordination.md
50
+ 78ff310e6bcd147730a2233313a2aac98ead94dca619cbb93e84c6559b2e4c5f gemini/skill/references/coordination.md
51
51
  ce32077220fa164e5aae50a599776cf9043ac5706add48aae9d3023f3b0d2de1 gemini/skill/references/git-recovery.md
52
- ac561393c9af397348b09653e4304cfd62beac6e0444ad8c65e8505e3ebc758b gemini/skill/references/handoff-prep.md
53
- 1848862dfca2ae1fad095ac42efff7d9c7132196df54ed4335a88950cf4ce10e gemini/skill/references/handoff.md
52
+ 9d0ffe95fe74905f66c265ad3c7879b64da6167adeffcf3abff856f85e5222b1 gemini/skill/references/handoff-prep.md
53
+ 4167c2c986c50f4e2084fc1fb21c428863744b501ebf3e29ad5e0e0523edaffd gemini/skill/references/handoff.md
54
54
  ed498b757ba29913f63d1d81e00b460070e1bbcd56979399f4f40371ce49b8d0 gemini/skill/references/limits.md
55
- 723289ff99156b73364491fb17e934be6b2d146b7ee7e640c6f18e072ac801cc gemini/skill/references/planning.md
56
- 9d0f31d76b3e0daf6a7f914c1f54691e4a04940c4dda860978cfb890a30cd02f gemini/skill/references/verification.md
57
- 401fdde07f5d2c99380cff63e4decda323ef813a4ae539ccecb4968f43d0820b gemini/skill/references/worktree-creation.md
55
+ ccfedb934d88af6d5cd7d99b2b8f6cb78c43c5ea7acde452bf2e0971bc504e70 gemini/skill/references/planning.md
56
+ f67ee90a003ec595b40f0d519919a4d8bed9ccf7b64d1037e09bf532367a7f65 gemini/skill/references/verification.md
57
+ d16a0844a86c7ac954702eb3227372ef62fdeff42bf9e0a7e4b2176059ccce4b gemini/skill/references/worktree-creation.md
58
58
  ef23a91009b22d9aa3dca0d652487cb5cd043766d09aec8c065cb85dd1d64340 grok/AGENTS.md
59
- b690eff7644a1377e7fe078f71f921fa3b25cf38c971c445d4fff75c390fbaa0 grok/agents/arc-implementer.md
60
- ad89a16a6d6dd1d29709e3598c3a13ff319478af384c5d8293f0c63602c1f14f grok/agents/arc-planner.md
61
- d80ecc53f91f870380c7ed3244b8b9a62d2af58aa27d911270b6ec1b6b602ca0 grok/agents/arc-qa.md
62
- f8abdc189ad304cca238e15d7a0d74c6b1458a3361558659376aab6041ca2e0c grok/agents/arc-reviewer.md
63
- afe2a540bf89f4099e6db740d32d897a98d6721743d888f4fd6fa379d7e1d97f grok/agents/arc-scouter.md
59
+ 41d74ce050e9a1449c34e18436b9a88440628e450f4f50b372d81705d4241326 grok/agents/arc-implementer.md
60
+ 3e71d7fce40774cdb3cb7eba5e747b5b72b81497903d646060ae2b3657086e3d grok/agents/arc-planner.md
61
+ 4bf09b4030fc3f3c448153c5566351b506f5a9dcd2104781ab8154a9436cf638 grok/agents/arc-qa.md
62
+ b63ecbe6a3a6919d70361894ca2e307ec0b36ba0d2ec4292db9744c8c167bb5b grok/agents/arc-reviewer.md
63
+ 2b6ace8ee3b8d6a9616318268be7f5253b711a8d05bd267ecfad5d0ebd473cc5 grok/agents/arc-scouter.md
64
64
  23fbf593092be3f99c35cb802670e26d4fd954c52e5f5a195d4da89ffcedf294 grok/instructions.md
65
65
  98d599c41e0b6256aa2344d1ced7a4985fc13b23d756e95921dae24bfce35839 grok/skill/SKILL.md
66
66
  27c12eefe19f742f2e4a2e600f55249c9a461676f3bf09f3c2cd0499efb1a9b5 grok/skill/references/arc-visual-companion.md
67
67
  93ffa3d70ff4740b59bf614419df38c61a3c1ad2a93ac1777f611ba6cb098161 grok/skill/references/commit.md
68
- 304ca4b0686ead9a58879c41443955fa0b011a256aad4d91ca84d1f38cc3213c grok/skill/references/coordination.md
68
+ dbecf94bc24aae9523362f658272d30b5896bbbc83dfd0dd4060db53a5aaf7af grok/skill/references/coordination.md
69
69
  24eb5bf7571001c1127d8a2865bba3bb4fd1091942e9a6a3a610e66078d30b23 grok/skill/references/git-recovery.md
70
- 99849c939119057ee23d6a06a218662c9acfd296090364d8973049a55155f517 grok/skill/references/handoff-prep.md
71
- 755a03072d804ed5ee3844476b2142d0f7a502da24ecea326c9424eb9aede31a grok/skill/references/handoff.md
70
+ bdf1683348ee9a15e780ec26c5fd5f27d40f33ad1bba738de2569b543237e878 grok/skill/references/handoff-prep.md
71
+ 41691a592456b3d2991b63315ddca348199e09446407b700f1205ff4abb59da7 grok/skill/references/handoff.md
72
72
  fee860cd2eaf243f13e1ba9384200ce779058a6b98b9cf80f4d271710c47e59d grok/skill/references/limits.md
73
- e000de839d42ff2b682fbb61132b9bb40a270dae295072111fa0df54cd8a2f71 grok/skill/references/planning.md
74
- fe4abdf750ed5d0c477e4e9cb7a0030b73a8405dd2f8e6479db43427ad37496f grok/skill/references/verification.md
75
- c8951454e93c1bccf9865ca2c97b11721bbaf1c2a41560271e4158a9baeba869 grok/skill/references/worktree-creation.md
73
+ 31694ad8c6f0bdcd8d189f3c77b96ec87f5677efd8fc4842aa91a8bd54e73989 grok/skill/references/planning.md
74
+ 7449144a590f58ce71dff0026424369ef25117060927f52bad8f062cd0274268 grok/skill/references/verification.md
75
+ 536dba8fc47ce1d84a408ef36b3664d04c3d2e2aa4a959d7e9f85a61aeb455e5 grok/skill/references/worktree-creation.md
76
76
  800964b417c573aa7b2a07a76759a4750652222de63a985bc133d50194739358 install.command
77
77
  03f8bbab5f1bf37d20ebdb7f10bc9869d8399d0b1664d67390f9443f81d73992 lib/cli/postinstall.mjs
78
78
  a575a94adc9461a7c5c051983b47d1a40a88fb8ee90fa469041cd99165cbb80f lib/cli/progress.mjs
79
- 62f69e901f59ad93f3de977ab68ffd950b1783f31dd31b54a0a093019edc3ec4 lib/cli/root.mjs
79
+ bbae86550419539d65bd126ed56a65693d127f91c14124514f4113d3dc291cd2 lib/cli/root.mjs
80
80
  6b9dabe794bd463cadb796004bf3613d594bfff5b798d0b1e6aaad69ca7d8a28 lib/cli/upgrade.mjs
81
81
  6ca62990d11aeecdde824a545c95711d4e9eae97ca490693259b7e3618bb017e lib/color/palette.mjs
82
82
  dc894908d54e27eeba4ff11d97e1663c844be5c73d4bd185a7dc3cecf088c876 lib/installer/acquisition.mjs
@@ -105,8 +105,9 @@ c2ab7eda987cf62bba4dce1b7eb302f350a6c67679b0aaf063b3eea11eb010c5 lib/installer/
105
105
  9390bfa32c813862ce348109a58fc0211b28a43fa806c754d862295c68a6f2ab lib/installer/upgrade.mjs
106
106
  2946f055d61fbe2ffd6af1c182096e01d8c1a4bfb0aa274547ce5e147dccfd19 lib/limits.mjs
107
107
  5bc7771e5be3d6a477a49c84aae47e75c8a5eb99799f449e259587a5b3e0db01 lib/management/operations.mjs
108
+ c370c17d74522f9e221aaa1e527515c147550da02ec3d291dd522b7608380806 lib/management/reapply.mjs
108
109
  34df4803e64e3ab58f12c6e2b09e3862e6991eb00e05692c862b3235f6b8a9b7 lib/management/status.mjs
109
- 03c04b44fa8b39ba3a5b2971869b01a7d256e219c9cc0d5c600ace5aa9358612 lib/management/update.mjs
110
+ 781ba86a55a2ff699bca646b2bf86ae3c74ec77a3f096a922adb0693831bd428 lib/management/update.mjs
110
111
  7ecda29faac49d98739319e3282db2f415b88474f78e85b67d1d52dd4f16167a lib/management/workflow.mjs
111
112
  e85c47b571dcf1908e5a82831c7e8f2c0132c566ab9e97a42562b3b38cb70a71 lib/models/catalog-anthropic.mjs
112
113
  c45dda0cf266b55b630c1c94dd3d93b0c0df1314b15fef3551456dd20da7f080 lib/models/catalog-gemini.mjs
@@ -123,7 +124,7 @@ b3cc72e59fa2491a1b3fc2332653a663568fbf0e7cf06177aa96e6b091d4ca8e lib/models/sta
123
124
  982e18066521da7034083211051d4c458757f00566e2f69120f72c131574b5b8 lib/npm/context.mjs
124
125
  ee81dee01b1623d95dda9b1d195ce2008811dfb54af3da8324a9e538238ac84e lib/npm/process.mjs
125
126
  3d5d580feea56352d564894aa1b7aab033d02ea8b9fe508160cf844bdfbf5bb5 lib/npm/uninstall.mjs
126
- a61602e19b048813a602e21d14ad5fd9e8615ce3d60c6611f201a11d43187a37 lib/npm/upgrade.mjs
127
+ 7f52f0fab2e5658c897a0473878d58bf69293564972d7d5aa0592f258a45ba90 lib/npm/upgrade.mjs
127
128
  09ccb55954ea2bf1cfd21e5c560735ba6ff7fb54e9d31b7185e4b21cd902786b lib/platforms/availability.mjs
128
129
  edd5ae0d1fe12b7a057a8bcc081ab64d28c55c0656bd0c6215873872d876bfb1 lib/platforms/claude.mjs
129
130
  375e0e6f51c18cd98f2558666a31b78c67d669ae63638093bf3db504d86eb057 lib/platforms/codex.mjs
@@ -136,8 +137,8 @@ edd5ae0d1fe12b7a057a8bcc081ab64d28c55c0656bd0c6215873872d876bfb1 lib/platforms/
136
137
  79f72116e4f26572844cc6fb1f986955745c4094413f1bdc4d3dfa335fa0c6f8 lib/platforms/index.mjs
137
138
  31d62be48814c57ad5c31807523382a8afe669b3aebb1b04bf5dfa5e608ca8c2 lib/policy/placement.mjs
138
139
  1840e0f61633b45f055ec2892fb061ed7feedbb32a3018fdfdd2390f00328502 lib/policy/render.mjs
139
- fa7d3911df7b38aceae0e18a3d4f78c5fe451c681fc811dd24c02eaca40ca006 lib/policy/role-policy.json
140
- 53d58ce8e2470e618e3f21944a9eeddd46d002523d50ee3e7c7bdab29b71ea6b lib/prompts/agent-fragments.json
140
+ e76f5e8dbc6ab37c0e3a47d4ec33ed06bda969bb6a38be87c6614c8647035eb4 lib/policy/role-policy.json
141
+ 9b5be1f59736eabae7e30fb7fe5aa6785ed0b7a28dda3368ecc41231865b568e lib/prompts/agent-fragments.json
141
142
  061ae84bd30fafa8042c23b83ab5bb60675c34fc7f901d2314b13877f8f112cc lib/prompts/render.mjs
142
143
  6816acd10da3ab8db1276d7ae2712b99e0c97111f57ba2d547a2cc5c3f9e165b lib/release/artifact.mjs
143
144
  f9b4caf6a97d02f2bc4e2d72c2434a3c668db57961975a9cad57b1ed6a475db8 lib/runtime/acceptance.mjs
@@ -163,13 +164,13 @@ ae0998af4fb15181e6a2fdd83c84ee865ad3de49c7088cd2a63abdb45dc65560 lib/runtime/gr
163
164
  3e4eaac8ac1e71b6bd443afe5060cf1f7ad2f0d9eb3d961b2383452cdb69069f lib/runtime/operations.mjs
164
165
  46978605c519826283ecc091052fb97e6b436ace3c68a1f069ce378397a1df1d lib/runtime/platform-registry.mjs
165
166
  404378797844ef7dd94384853acb1cd96b3dd8a4341378bf5fcbfb21c7f7475b lib/runtime/role-bridge-args.mjs
166
- 9f82b681191a1d082414501171769242a551483b08e071871a965fcc366c67a5 lib/runtime/role-bridge.mjs
167
- 6fb75ec963e856c8292e2c4d46e3f4db1befe159d4f9f8dcfe9f7e6826ce4fac lib/runtime/role-dispatch-policy.mjs
167
+ 3ac6ffb3553bb7dde05b10cbfc4eb25978fa2e4e8bd557ed76d149748be9d86e lib/runtime/role-bridge.mjs
168
+ 4f6e1ffb2f5ee2a719b05567032925d409b1007b410252b22de2ad6f44b492ee lib/runtime/role-dispatch-policy.mjs
168
169
  aab17097ad0e27f747874e1921f0756f441544f9ac44bc76591018e46c4f7320 lib/runtime/role-dispatch-store.mjs
169
- 2a174bfcb56b7da7596b4f8d6223a248a54f3a78277fcc50193b9fa12b137e46 lib/runtime/role-observe.mjs
170
+ 990e73b06eb3130c0bc6df1d3be338c8a982bc7da28388166e536ded04a3f122 lib/runtime/role-observe.mjs
170
171
  def993a33a56e5c6c8c465a881affdfd70afc8c7192549a3e1a130ed8f2e17b8 lib/runtime/role-routing-config.mjs
171
172
  209e57c1e316b7bfec2d8f29f9ce707dea6267352fcc76b8a9929145cc45860d lib/runtime/role-routing.mjs
172
- c7bd3678933b196eecce7eb20dfd1beed54f01cdd741822f1f7a6e8ec0dd62b1 lib/runtime/role-supervisor.mjs
173
+ b74b9068c27d9491ed48fc91aa5ff266151f693d5756238868f5bf8ff80f9faa lib/runtime/role-supervisor.mjs
173
174
  b8c876ad4cb55c93845bd30ae7432c1eed90af41a17f917997ec8dbf536bb4b7 lib/runtime/schema.mjs
174
175
  e2e768e62a46c8ef568fc3021ac8415c4dc68fa9843b9ffb3dbbbb2e5fa3a6af lib/runtime/scope.mjs
175
176
  2a942884862da5fdb23e17688141f2bf75925a81af6b4f749d443b88c90ec34a lib/runtime/store.mjs
@@ -177,34 +178,38 @@ b29a9f9a9a60836271545e3f75346d51d7d0bf1ac1eccbfa3a624717f78beebb lib/runtime/ta
177
178
  5b14c4ffdff116a005601b737e94484e9eebdea746ec0e296ca7a34be2b7ea4a lib/runtime/verification.mjs
178
179
  7e75d9bb51eac4bd1a6fccf45fb195c526bb3bc43cf0b04398b85ff7723f8689 lib/safe-fs/index.mjs
179
180
  4174dfcfcd4d69a5486b91108ec03279cfd50644109c7457aa87f9ac877fb1ac lib/safe-fs/native.mjs
180
- 0690b44b00393fc59ac1067f40885f0278cd405a1c5b7f4dbcbb4887dea7a5df lib/tui/app.mjs
181
+ 3c2d99569712a1f9f345caf5001662ef34b4cc5ea80ceefe47322e294add1915 lib/tui/app.mjs
181
182
  cba7a854aee5a390bde60d6a3b0daa02376049543ec95a57c1bfb20ae7fc00fc lib/tui/custom-preset.mjs
182
183
  b249d9ec192bdfb283cce77bbec185debdc7dfde1727204d305cd41f97d1c13c lib/tui/derive-install-plan.mjs
183
184
  243e989a7f8af41f935a2681069ebb162827a6c3df5683af5a16cec3f24bf654 lib/tui/diagram.mjs
185
+ 34f55dda354652c2d3171f647dbfecbcc3c40beaa1efc339d422f093ecbcf406 lib/tui/interface.mjs
184
186
  72ebefbc762a21b9d398d88a437d0d71814606f125a23bddb90d7d5da086178b lib/tui/mode.mjs
185
187
  e73ab7160f0c345d02df76f636976d427f43fb8c5ce1cec793b6af3a8adffc8e lib/tui/render.mjs
186
- b0452067f03a2b10b95ceca46653e6ccb996b3164a7908a4202e3facddf6d12c lib/tui/setup.mjs
188
+ 6de0610602e3222f012624a2ae3beb0db29e5f8dce9e9b40fb8eb3634b977997 lib/tui/setup.mjs
187
189
  6d321e2f1502449a1cd3113d7b808715b43d29f58b33fac7acd5e101abe05aa4 lib/tui/terminal.mjs
188
190
  74207b1d8116f4f32e1c4f37cd7fc9faa3a2e160b637e2226da538f147eb5629 lib/watch/anchor-store.mjs
189
- 4d6c292344fbc16f2961635d8264d6cb854f759a6a870c4345524e67138372d9 lib/watch/args.mjs
191
+ 825013c22b0a15d927a321102bdbcc41769687378292f9f54cfe33fa472cdaeb lib/watch/args.mjs
190
192
  52c7a20bbef0452635a3196e838dc4eb3c2d0420d448bbb679d3cb32d6642566 lib/watch/discover-claude.mjs
191
193
  05d087b85cd08a9207d8ae36abe00651a94c7a2f3af67140bdd3740acb914f2b lib/watch/discover-codex.mjs
192
- 1d961cf17956e4003d232842984532fc0ac1809341c0c516d36b70597fa6cafd lib/watch/dispatch.mjs
194
+ 035438e3362d01af8069685540b990c3f391ba4a1e4195b9fcec41d6defed90c lib/watch/dispatch.mjs
193
195
  ba889a189ac5c555f99034a08b0173b74bca02a3392ad8667a45e1cf5a46a08a lib/watch/git.mjs
194
- c094f62e52e439657441ded2759a1b255abac0d15880fe26a7ea4ec14fc3157b lib/watch/index.mjs
196
+ 7722ad38f7924017be178ad6f036b8816f0d76779d842f872cf12e86181c1e62 lib/watch/index.mjs
195
197
  2707c6a3825a368650e7333f7e72eae841f21b95afcb7f3918a35ed4caf190cf lib/watch/labels.mjs
196
- 6b374f603efb7db8eb59f0081bd658cefe2cb5bed7602a05d8ea15328fce08ad lib/watch/model.mjs
198
+ 0e14c82ea36331eba9e6d370dbfdf482228764ac58518c2c54d6c0b7a4e6ec77 lib/watch/markdown.mjs
199
+ d2078822871cdbeda435f6636a560555873265c209f514521f9b9bab1c5772f1 lib/watch/menu.mjs
200
+ 18de0597d2292c101c39e9f433f7f682c5be05af20ad445953ed29c9a9a4f84e lib/watch/model.mjs
197
201
  f270e1c7e74a025f0122d614522e71ab73bdffb11e471a91347cf9273d18d333 lib/watch/normalize-claude.mjs
198
202
  0428e855d897e0fbf621c521bc2756508f8b3da5dd9e17237b19e27f4bdfba15 lib/watch/normalize-codex.mjs
199
203
  4037619af1c19c058179d8567d301ce1cdba4ac82c79f63436fb17de4fe7f45d lib/watch/policy.mjs
200
- 567f00e05edc2a710ae3085e2996c54572a2074deecd64c8bfa202abde7fb915 lib/watch/render.mjs
201
- d8340e96f53e3c5615a9427934b3fc33d511c533b40d467b98add47273e3995c lib/watch/scope.mjs
202
- 2e9139bbec1a488fd8c031c79ee7143e5b87fa449233e569a92dc773a1942100 lib/watch/status-line.mjs
204
+ 855b05884da23119bbd3f5228ba8ebcc688e4cabb1a8afeed7a8112b85f4ebec lib/watch/render.mjs
205
+ 4305594ac345cde6cf829ca23198075ea02c299e933794824dad741cf1db8b12 lib/watch/scope.mjs
206
+ 4b9375b8840ef62420892375884183efcb29ff2e04bbe7ced17b7b7d9179e6f9 lib/watch/status-line.mjs
203
207
  02084fbc128c2e426b0fa04ee849cea9054681aec63b5cbfd02356feccc95dcb lib/watch/tail.mjs
204
- 26cdc499cbb78a3bb647c78b30f96c1ceeb5a49f6621cc70b51262be5d2f2f9c lib/watch/watcher.mjs
208
+ 0701edeeadaeecab1f134f606f8db173fef7568a79c6441bb8d28fb37f095d08 lib/watch/text-width.mjs
209
+ dca9d7186da0c04bce7ff18ccc81481285573af612c3481f7761efe303f6b867 lib/watch/watcher.mjs
205
210
  ff9c33c8b3c2bd466d54ffbe4c7139ccd87c79c7de34a6c4cde92e9f6e9b42d2 native/binding.c
206
211
  205bedc1dee1a9ffa58124c6e21256a1f0cbe24f06f7c8d7cb0b99524cfab9d0 native/binding.gyp
207
- 7d6b460502706595121dfd1825ef5108ff993d06a23c0f5a00e7a15a5d3ba8fb package.json
212
+ 7bc860cbf9620a5c996f64ccaf06139f0418917ed1dca885763ce89c1135b342 package.json
208
213
  208c65cfde244d39ce45c3cf1b0acb128f04d21199b6b3fb5466e62db5b64af9 prebuilds/darwin-arm64/arc_safe_fs.node
209
214
  572887ac794d10a8b921d8168ea2328e31f05b45987611ff02c83114dba901af prebuilds/darwin-x64/arc_safe_fs.node
210
215
  2bb9443021f9d873712b26321de733eddd6794c45f0bc79e2d5dc98669196635 prebuilds/index.json
@@ -257,14 +262,14 @@ ae0998af4fb15181e6a2fdd83c84ee865ad3de49c7088cd2a63abdb45dc65560 shared/skill/r
257
262
  3e4eaac8ac1e71b6bd443afe5060cf1f7ad2f0d9eb3d961b2383452cdb69069f shared/skill/runtime/operations.mjs
258
263
  46978605c519826283ecc091052fb97e6b436ace3c68a1f069ce378397a1df1d shared/skill/runtime/platform-registry.mjs
259
264
  404378797844ef7dd94384853acb1cd96b3dd8a4341378bf5fcbfb21c7f7475b shared/skill/runtime/role-bridge-args.mjs
260
- 9f82b681191a1d082414501171769242a551483b08e071871a965fcc366c67a5 shared/skill/runtime/role-bridge.mjs
261
- 6fb75ec963e856c8292e2c4d46e3f4db1befe159d4f9f8dcfe9f7e6826ce4fac shared/skill/runtime/role-dispatch-policy.mjs
265
+ 3ac6ffb3553bb7dde05b10cbfc4eb25978fa2e4e8bd557ed76d149748be9d86e shared/skill/runtime/role-bridge.mjs
266
+ 4f6e1ffb2f5ee2a719b05567032925d409b1007b410252b22de2ad6f44b492ee shared/skill/runtime/role-dispatch-policy.mjs
262
267
  aab17097ad0e27f747874e1921f0756f441544f9ac44bc76591018e46c4f7320 shared/skill/runtime/role-dispatch-store.mjs
263
- 2a174bfcb56b7da7596b4f8d6223a248a54f3a78277fcc50193b9fa12b137e46 shared/skill/runtime/role-observe.mjs
264
- fa7d3911df7b38aceae0e18a3d4f78c5fe451c681fc811dd24c02eaca40ca006 shared/skill/runtime/role-policy.json
268
+ 990e73b06eb3130c0bc6df1d3be338c8a982bc7da28388166e536ded04a3f122 shared/skill/runtime/role-observe.mjs
269
+ e76f5e8dbc6ab37c0e3a47d4ec33ed06bda969bb6a38be87c6614c8647035eb4 shared/skill/runtime/role-policy.json
265
270
  def993a33a56e5c6c8c465a881affdfd70afc8c7192549a3e1a130ed8f2e17b8 shared/skill/runtime/role-routing-config.mjs
266
271
  209e57c1e316b7bfec2d8f29f9ce707dea6267352fcc76b8a9929145cc45860d shared/skill/runtime/role-routing.mjs
267
- c7bd3678933b196eecce7eb20dfd1beed54f01cdd741822f1f7a6e8ec0dd62b1 shared/skill/runtime/role-supervisor.mjs
272
+ b74b9068c27d9491ed48fc91aa5ff266151f693d5756238868f5bf8ff80f9faa shared/skill/runtime/role-supervisor.mjs
268
273
  b8c876ad4cb55c93845bd30ae7432c1eed90af41a17f917997ec8dbf536bb4b7 shared/skill/runtime/schema.mjs
269
274
  e2e768e62a46c8ef568fc3021ac8415c4dc68fa9843b9ffb3dbbbb2e5fa3a6af shared/skill/runtime/scope.mjs
270
275
  2a942884862da5fdb23e17688141f2bf75925a81af6b4f749d443b88c90ec34a shared/skill/runtime/store.mjs
package/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # ARC — Agent Role Coordination
2
2
 
3
- ARC coordinates scoped roles, handoffs, and verification in Claude Code, Codex, and Gemini CLI.
3
+ ARC coordinates scoped roles, handoffs, and verification in Claude Code, Codex, Gemini CLI, and Grok CLI.
4
4
 
5
5
  ![ARC workflow](docs/images/role-flow.svg)
6
6
 
@@ -19,46 +19,33 @@ ARC coordinates scoped roles, handoffs, and verification in Claude Code, Codex,
19
19
 
20
20
  | Requirement | Support |
21
21
  |---|---|
22
- | Tools | Node.js 22+, npm, Git, network access |
23
- | OS | macOS 13+ or Linux glibc 2.28+; no Windows or musl |
24
- | CPU | arm64 or x64 |
25
- | Homes | Symlinked platform homes or parents are refused for install, publication, and routing locks |
22
+ | Environment | Node.js 22+, npm, Git, and network access. macOS 13+ or Linux with glibc 2.28+, on arm64 or x64. |
23
+ | Homes | ARC rejects symlinked platform homes or parents. `CLAUDE_CONFIG_DIR` must resolve to the default `~/.claude` if set. Leave `GEMINI_CLI_HOME` and `GROK_HOME` unset. |
26
24
 
27
- ```sh
28
- npm install --global @yunhozz/arc
29
- arc
30
- # Without a global install:
31
- npx --yes @yunhozz/arc
32
- ```
33
-
34
- The package provides the CLI; use the TUI to install the harness. Public commands: `arc`, `arc watch`, `arc --help`, `arc --version`; only the TUI requires terminal input/output.
25
+ Run `npm install --global @yunhozz/arc`, then run `arc` in an interactive terminal. To run without installing globally, use `npx --yes @yunhozz/arc`.
35
26
 
36
27
  ## Manage ARC
37
28
 
38
- | Home action | Effect |
29
+ | Menu | Action |
39
30
  |---|---|
40
- | Configure | Edit role platform/model/effort, Hosts, Run mode (Supervised/Full Auto), Language, and subagent limits; `Apply` publishes; new sessions load profiles. Defaults: Supervised, English, 100 total/5 concurrent subagents; unchanged `(mixed)` settings preserve per-platform values |
41
- | Status | Installed on, settings, platform status, diagnostics, and ARC version (current/latest or lookup failure); `Upgrade` appears only when a newer version exists and an ARC harness is installed, and preserves settings. Global upgrade exits ARC; npx leaves the global CLI unchanged |
42
- | Uninstall | Remove a platform or `Everything (incl. CLI)` after confirmation (default `Back`); removing a Mixed participant restores others to standalone. Everything filters verified install/standalone platforms and removes CLI only after harness success. Unselected harnesses/user files remain. CLI only: `npm uninstall -g @yunhozz/arc` |
31
+ | Configure | Choose role platforms, models, efforts, hosts, Run mode, language, and subagent limits. Select Apply to publish. |
32
+ | Status | View installed platforms, settings, diagnostics, and version. Select Upgrade when available. |
33
+ | Uninstall | Confirm removal of a platform or choose Everything (incl. CLI). |
43
34
 
44
- | Mode | Rule |
35
+ | Mode | Meaning |
45
36
  |---|---|
46
- | Standalone | S = role platforms ∪ hosts; one participant |
47
- | Mixed (…) | Two or more participants; hosts may have no roles; anchor order: Claude > Codex > Gemini > Grok |
48
- | Unverified | `Apply` blocked; inspect inconsistent files/residual paths |
37
+ | Standalone | The selected role platforms and hosts form one participant. |
38
+ | Mixed | Two or more platforms participate. The first participant in Claude → Codex → Gemini → Grok order anchors routing. |
39
+ | Unverified | Apply is blocked. Inspect the reported paths. |
49
40
 
50
41
  ## Watch sessions
51
42
 
52
- ![arc watch flow](docs/images/watch-flow.svg)
43
+ Run `arc watch` in an interactive terminal and choose **All**, Claude, or Codex to follow activity in the current worktree (or directory outside Git). Gemini and Grok appear as unsupported and cannot be selected. Run `arc watch --help` for options.
53
44
 
54
- | Visibility | Behavior |
45
+ | Visibility | Events |
55
46
  |---|---|
56
- | Shown | Claude Code/Codex activity, full messages, one-line other events, SKILL/PLUGIN lines, dispatch records |
57
- | Hidden | Tool/command outputs; reasoning unless verbose; common secrets masked incompletely |
58
- | Excluded | Codex Desktop sessions; held bridges have no running activity |
59
- | Scope | Current Git worktree or directory outside Git; events follow session cwd. Markers select the anchor store; legacy Codex fallback; conflicting anchors: `dispatch store ambiguous`; old-store history is not merged |
60
-
61
- `arc watch --help` lists scope/history/platform/JSON options; Ctrl-L clears, Ctrl-C stops.
47
+ | Shown | Messages, SKILL and PLUGIN lines, and dispatch records. |
48
+ | Hidden | Tool and command outputs. Reasoning requires `--verbose`. Secret masking is incomplete. |
62
49
 
63
50
  ## Models and language
64
51
 
@@ -66,35 +53,32 @@ The package provides the CLI; use the TUI to install the harness. Public command
66
53
 
67
54
  | Setting | Details |
68
55
  |---|---|
69
- | Orchestrator model | Current conversation |
70
- | Specialist models | Installed [Claude](claude/skill/models.toml), [Codex](codex/skill/models.toml), [Gemini](gemini/skill/models.toml) settings; edit through role boxes |
71
- | Catalogs | Packaged candidates only; no model-list call/API key; no proof of account availability |
72
- | Language | English TUI; selected agent response language applies in new sessions |
56
+ | Orchestrator model | Current conversation model. |
57
+ | Specialist settings | [Claude](claude/skill/models.toml), [Codex](codex/skill/models.toml), [Gemini](gemini/skill/models.toml), [Grok](grok/skill/models.toml). Edit platform, model, and effort in Configure. |
58
+ | Catalogs | Configure lists packaged candidates. Account access to a model may vary. |
59
+ | Language | Configure sets the agent response language for new sessions. |
73
60
 
74
- ## Platform and environment support
61
+ ## Platform support
75
62
 
76
- | Platform | Host? | Native roles | Bridges to this platform | Authentication |
77
- |---|---|---|---|---|
78
- | Claude | Yes | Supported on CLI | Scouter/Planner/Reviewer on Codex after per-call escalation; Implementer/QA run with the recorded sandbox settings (`G1` pass) and are held with `permission_scope_unverified` if settings injection fails or the worktree `.claude/settings*.json` would widen their scope | `claude auth status` |
79
- | Codex | Yes | Supported on CLI | From Claude; permissions claim capped at `operator-attested` | `codex app-server` refresh rotates `auth.json`; network required |
80
- | Gemini | No | Standalone verified | Read roles verified; write roles held: `permission_scope_unverified` | No probe; `unknown`, `auth unverified` warning |
81
- | Grok | No | Standalone enabled (not live-verified) | Read roles enabled (not live-verified); write roles run with a per-dispatch sandbox profile confirmed by `ProfileApplied` (`GK1` pass, live-verified on Grok 1.0.89 macOS); `~/.grok/config.toml` and `~/.grok/sandbox.toml` are not in the deny list; their security-relevant changes are detected after the run (`permission_violation_observed`); Configure sets `[compat.claude]` agents/skills/rules to false in `~/.grok/config.toml` (session effect unverified) | No probe; `unknown`, `auth unverified` warning |
63
+ | Platform | Host | As bridge target | Auth check |
64
+ |---|---|---|---|
65
+ | Claude | Yes | All roles. Implementer and QA are sandboxed (`G1`). | `claude auth status` |
66
+ | Codex | Yes | All roles | `codex app-server` auth refresh (network) |
67
+ | Gemini | Held (`GG2`) | Read roles. Write roles are held (`GG1`). | None (`unknown`, `auth unverified`) |
68
+ | Grok | Yes | All roles. Write roles use a per-dispatch sandbox profile (`GK1`). | None (`unknown`, `auth unverified`) |
82
69
 
83
- | executionEnvironment | Support and obligations |
84
- |---|---|
85
- | `claude-cli` | Native roles and Codex bridges |
86
- | `codex-cli` | Native roles and Claude read-role bridges; every runtime call needs escalation approval, including native calls; refusal/denied `CODEX_HOME` write: `host_sandbox_blocked`. Runtime does not check approval |
87
- | `claude-desktop`, `codex-desktop` | All native/bridge roles held: `environment_unverified` until a future ARC update |
70
+ Standalone is verified for all four platforms in the registry. See [execution support](docs/harness-operation.md#execution-support) for measured coverage. Desktop environments are held. The caller declares `executionEnvironment` without inferring it from paths.
88
71
 
89
- `executionEnvironment` is caller-declared, not runtime-verified: use CLI values for terminal/IDE sessions, Desktop values for confirmed Desktop apps, never infer from paths. A false CLI declaration bypasses the Desktop hold.
72
+ - Codex hosts require escalation approval on every runtime call.
73
+ - Start Grok hosts with `grok --permission-mode default` and use `Allow once` on every runtime call.
90
74
 
91
75
  ## Upgrade
92
76
 
93
- - Re-run `Configure` after upgrading, including `cooperative-9`; in-flight workflow version mismatches hold with `cooperative.versions`, without automatic migration.
94
- - Existing Codex+Claude composites move to the Claude home; finish/cancel non-terminal dispatches in either store before applying. Old Codex dispatch history stays there.
95
- - Before downgrading from Full Auto, switch Run mode to Supervised and `Apply`; older CLIs read the v2 `settings.toml` as incomplete.
96
- - After downgrading, run the older version's `Configure` to restore its composite layout.
77
+ - Status → Upgrade automatically reapplies the current configuration. Use Configure → Apply if reapplication is held or interrupted, its state is unknown, or this is the first npx upgrade from 0.4.6 or earlier. If the state is unknown, inspect the reported paths before retrying. In-progress plan workflows with changed versions are held under `cooperative.versions`.
78
+ - Before downgrading from Full Auto, switch Run mode to Supervised and Apply. Older CLIs read the v2 `settings.toml` as incomplete.
79
+ - After downgrading, run Configure in the older version to restore its composite layout.
80
+ - See [legacy migration](docs/harness-operation.md#install-update-remove) for older Mixed installations.
97
81
 
98
82
  ## Guides
99
83
 
100
- [Harness operation](docs/harness-operation.md) · [Codex](codex/skill/SKILL.md) · [Claude Code](claude/skill/SKILL.md) · [Gemini CLI](gemini/skill/SKILL.md)
84
+ [Harness operation](docs/harness-operation.md) · [Claude Code](claude/skill/SKILL.md) · [Codex](codex/skill/SKILL.md) · [Gemini CLI](gemini/skill/SKILL.md) · [Grok CLI](grok/skill/SKILL.md)
@@ -26,7 +26,7 @@ tools:
26
26
 
27
27
  {{ARC_AGENT_FRAGMENT:claude.profile-guidance}}
28
28
 
29
- Before feature/behavior edits, read brief-cited TDD and required relative references: observe failing tests → minimal implementation → focused checks/project suite. If blocked, report constraints/needed approval before source edits. Waivers/docs exceptions need exact recorded scope/reasons, never inferred from size. Only Orchestrator accepts/commits. Even explicit assignment forbids stage/commit/push/merge or other Git mutations.
29
+ Before feature/behavior edits, read brief-cited TDD and required relative references: observe failing tests → minimal implementation → related checks; full regression only in Orchestrator's final verification when triggered. If blocked, report constraints/needed approval before source edits. Waivers/docs exceptions need exact recorded scope/reasons, never inferred from size. Only Orchestrator accepts/commits. Even explicit assignment forbids stage/commit/push/merge or other Git mutations.
30
30
 
31
31
  This profile is the complete Implementer handoff contract. Read `references/handoff.md`, `handoff-prep.md` only for brief-cited sections. Read only assigned plan/spec sections; request further material from Orchestrator.
32
32
 
@@ -41,6 +41,6 @@ Generated from lib/policy/role-policy.json; do not edit this managed section man
41
41
  - [role.implementer-implementation] Edit only assigned, approved files and run focused checks under the existing TDD contract. Report changed files, RED/GREEN or approved exception evidence, results, limits and follow-up. DO NOT plan, independently QA/review your own work, accept the task or declare overall completion. Git mutations remain forbidden after successful implementation. Implementer and fresh QA handoffs include the exact approved visual source, version, approval and access state; criterion IDs, required properties and comparison method; and actual-output identity, revision and comparison basis. Record pass, mismatch or unverified with accessible evidence and limits. Implementer self-report does not replace fresh QA and its actual comparison. A missing output-to-revision link is unverified; record a visible difference separately as mismatch without inferring current branch UI state. Missing source/output, inaccessible evidence or unapproved interpretation holds the affected visual claim for Orchestrator. DO NOT silently substitute or redesign.
42
42
  - [review.significant-no-plan] Significant/high-risk work without a plan follows Implementer → QA and required QA rechecks → Reviewer of the final full change → Orchestrator acceptance. DO NOT omit Reviewer because no plan exists. This adds no plan obligation.
43
43
  - [review.significant-plan] Significant/high-risk plan work follows Implementer → required fresh QA → Orchestrator acceptance and focused commit for each task. After all tasks are accepted and required QA is complete, Reviewer reviews the final full change once. Reviewer is not a per-task or per-commit gate. Preserve required checks and necessary finding rechecks.
44
- - [review.final-plan-recheck] Complete required QA and QA failure rechecks before the initial final overall Reviewer review. Once that review begins on plan work, every final Reviewer finding, including behavior, follows Implementer → Reviewer without QA reassignment until resolved. Keep corrections uncommitted through Reviewer rechecks, then accept and create one focused follow-up commit. Separate QA findings follow Implementer → QA. Preserve required QA outside this final Reviewer exception.
44
+ - [review.final-plan-recheck] Complete required QA and QA failure rechecks before the initial final overall Reviewer review. Once that review begins on plan work, every final Reviewer finding, including behavior, follows Implementer → Reviewer without QA reassignment until resolved. Keep corrections uncommitted through Reviewer rechecks, then accept and create one focused follow-up commit. Separate QA findings and new failures from final verification, which may run concurrently with the final Reviewer, follow Implementer → QA; Reviewer evidence for affected files then needs a refreshed-diff recheck. Preserve required QA outside this final Reviewer exception.
45
45
  - [platform.claude] Existing per-role tool allowlists reduce available tools; Bash and role contracts are not a filesystem sandbox. ARC supplies no native observer hook or Bash Git guard; Git restrictions remain prompt-level role contracts.
46
46
  [ARC role policy: contract end]
@@ -48,6 +48,6 @@ Generated from lib/policy/role-policy.json; do not edit this managed section man
48
48
  - [role.planner-draft-only] Return design/brainstorming drafts and complete first spec/plan drafts with dependencies, criteria, holds and verification needs in the response. During initial drafting and revisions, report progress only to Orchestrator: briefly state the stage, feedback being applied, actual blocker or next step, without draft prose or excerpts. Return the complete first draft and self-review for Orchestrator review; Orchestrator directly revises the same spec or plan when needed. Raw responses may appear in app/tool surfaces; prompt policy cannot hide them. DO NOT save documents, implement, run checks, prepare targets, request user approval or decide acceptance. The first required document draft uses the verified source and selected target intent before target preparation. Require a verified prepared target before saving or handoff. Route decisions to Orchestrator.
49
49
  - [review.significant-no-plan] Significant/high-risk work without a plan follows Implementer → QA and required QA rechecks → Reviewer of the final full change → Orchestrator acceptance. DO NOT omit Reviewer because no plan exists. This adds no plan obligation.
50
50
  - [review.significant-plan] Significant/high-risk plan work follows Implementer → required fresh QA → Orchestrator acceptance and focused commit for each task. After all tasks are accepted and required QA is complete, Reviewer reviews the final full change once. Reviewer is not a per-task or per-commit gate. Preserve required checks and necessary finding rechecks.
51
- - [review.final-plan-recheck] Complete required QA and QA failure rechecks before the initial final overall Reviewer review. Once that review begins on plan work, every final Reviewer finding, including behavior, follows Implementer → Reviewer without QA reassignment until resolved. Keep corrections uncommitted through Reviewer rechecks, then accept and create one focused follow-up commit. Separate QA findings follow Implementer → QA. Preserve required QA outside this final Reviewer exception.
51
+ - [review.final-plan-recheck] Complete required QA and QA failure rechecks before the initial final overall Reviewer review. Once that review begins on plan work, every final Reviewer finding, including behavior, follows Implementer → Reviewer without QA reassignment until resolved. Keep corrections uncommitted through Reviewer rechecks, then accept and create one focused follow-up commit. Separate QA findings and new failures from final verification, which may run concurrently with the final Reviewer, follow Implementer → QA; Reviewer evidence for affected files then needs a refreshed-diff recheck. Preserve required QA outside this final Reviewer exception.
52
52
  - [platform.claude] Existing per-role tool allowlists reduce available tools; Bash and role contracts are not a filesystem sandbox. ARC supplies no native observer hook or Bash Git guard; Git restrictions remain prompt-level role contracts.
53
53
  [ARC role policy: contract end]
@@ -39,6 +39,6 @@ Generated from lib/policy/role-policy.json; do not edit this managed section man
39
39
  - [role.qa-verification] Run approved checks and report commands, observations, reproduction, evidence and limits. Create only essential temporary data/logs/reports within brief-authorized locations and lifetimes. DO NOT edit product source, tests, fixtures or configuration to pass checks, deploy or accept work. Persistent product-state checks need explicit scope and cleanup ownership. Return failures for Implementer correction and required QA recheck. Implementer and fresh QA handoffs include the exact approved visual source, version, approval and access state; criterion IDs, required properties and comparison method; and actual-output identity, revision and comparison basis. Record pass, mismatch or unverified with accessible evidence and limits. Implementer self-report does not replace fresh QA and its actual comparison. A missing output-to-revision link is unverified; record a visible difference separately as mismatch without inferring current branch UI state. Missing source/output, inaccessible evidence or unapproved interpretation holds the affected visual claim for Orchestrator. DO NOT silently substitute or redesign.
40
40
  - [review.significant-no-plan] Significant/high-risk work without a plan follows Implementer → QA and required QA rechecks → Reviewer of the final full change → Orchestrator acceptance. DO NOT omit Reviewer because no plan exists. This adds no plan obligation.
41
41
  - [review.significant-plan] Significant/high-risk plan work follows Implementer → required fresh QA → Orchestrator acceptance and focused commit for each task. After all tasks are accepted and required QA is complete, Reviewer reviews the final full change once. Reviewer is not a per-task or per-commit gate. Preserve required checks and necessary finding rechecks.
42
- - [review.final-plan-recheck] Complete required QA and QA failure rechecks before the initial final overall Reviewer review. Once that review begins on plan work, every final Reviewer finding, including behavior, follows Implementer → Reviewer without QA reassignment until resolved. Keep corrections uncommitted through Reviewer rechecks, then accept and create one focused follow-up commit. Separate QA findings follow Implementer → QA. Preserve required QA outside this final Reviewer exception.
42
+ - [review.final-plan-recheck] Complete required QA and QA failure rechecks before the initial final overall Reviewer review. Once that review begins on plan work, every final Reviewer finding, including behavior, follows Implementer → Reviewer without QA reassignment until resolved. Keep corrections uncommitted through Reviewer rechecks, then accept and create one focused follow-up commit. Separate QA findings and new failures from final verification, which may run concurrently with the final Reviewer, follow Implementer → QA; Reviewer evidence for affected files then needs a refreshed-diff recheck. Preserve required QA outside this final Reviewer exception.
43
43
  - [platform.claude] Existing per-role tool allowlists reduce available tools; Bash and role contracts are not a filesystem sandbox. ARC supplies no native observer hook or Bash Git guard; Git restrictions remain prompt-level role contracts.
44
44
  [ARC role policy: contract end]
@@ -40,6 +40,6 @@ Generated from lib/policy/role-policy.json; do not edit this managed section man
40
40
  - [role.reviewer-independent] Independently inspect assigned final changes and evidence, and report actionable findings and limits. Remain read-only: DO NOT execute QA tests, edit files, perform Git mutations or decide acceptance.
41
41
  - [review.significant-no-plan] Significant/high-risk work without a plan follows Implementer → QA and required QA rechecks → Reviewer of the final full change → Orchestrator acceptance. DO NOT omit Reviewer because no plan exists. This adds no plan obligation.
42
42
  - [review.significant-plan] Significant/high-risk plan work follows Implementer → required fresh QA → Orchestrator acceptance and focused commit for each task. After all tasks are accepted and required QA is complete, Reviewer reviews the final full change once. Reviewer is not a per-task or per-commit gate. Preserve required checks and necessary finding rechecks.
43
- - [review.final-plan-recheck] Complete required QA and QA failure rechecks before the initial final overall Reviewer review. Once that review begins on plan work, every final Reviewer finding, including behavior, follows Implementer → Reviewer without QA reassignment until resolved. Keep corrections uncommitted through Reviewer rechecks, then accept and create one focused follow-up commit. Separate QA findings follow Implementer → QA. Preserve required QA outside this final Reviewer exception.
43
+ - [review.final-plan-recheck] Complete required QA and QA failure rechecks before the initial final overall Reviewer review. Once that review begins on plan work, every final Reviewer finding, including behavior, follows Implementer → Reviewer without QA reassignment until resolved. Keep corrections uncommitted through Reviewer rechecks, then accept and create one focused follow-up commit. Separate QA findings and new failures from final verification, which may run concurrently with the final Reviewer, follow Implementer → QA; Reviewer evidence for affected files then needs a refreshed-diff recheck. Preserve required QA outside this final Reviewer exception.
44
44
  - [platform.claude] Existing per-role tool allowlists reduce available tools; Bash and role contracts are not a filesystem sandbox. ARC supplies no native observer hook or Bash Git guard; Git restrictions remain prompt-level role contracts.
45
45
  [ARC role policy: contract end]
@@ -41,6 +41,6 @@ Generated from lib/policy/role-policy.json; do not edit this managed section man
41
41
  - [role.scouter-read-only] Research assigned static sources and report findings, evidence and limits. DO NOT edit, install, execute checks, prepare targets, inspect live operational state or change external state. DO NOT decide design, verification, review or acceptance.
42
42
  - [review.significant-no-plan] Significant/high-risk work without a plan follows Implementer → QA and required QA rechecks → Reviewer of the final full change → Orchestrator acceptance. DO NOT omit Reviewer because no plan exists. This adds no plan obligation.
43
43
  - [review.significant-plan] Significant/high-risk plan work follows Implementer → required fresh QA → Orchestrator acceptance and focused commit for each task. After all tasks are accepted and required QA is complete, Reviewer reviews the final full change once. Reviewer is not a per-task or per-commit gate. Preserve required checks and necessary finding rechecks.
44
- - [review.final-plan-recheck] Complete required QA and QA failure rechecks before the initial final overall Reviewer review. Once that review begins on plan work, every final Reviewer finding, including behavior, follows Implementer → Reviewer without QA reassignment until resolved. Keep corrections uncommitted through Reviewer rechecks, then accept and create one focused follow-up commit. Separate QA findings follow Implementer → QA. Preserve required QA outside this final Reviewer exception.
44
+ - [review.final-plan-recheck] Complete required QA and QA failure rechecks before the initial final overall Reviewer review. Once that review begins on plan work, every final Reviewer finding, including behavior, follows Implementer → Reviewer without QA reassignment until resolved. Keep corrections uncommitted through Reviewer rechecks, then accept and create one focused follow-up commit. Separate QA findings and new failures from final verification, which may run concurrently with the final Reviewer, follow Implementer → QA; Reviewer evidence for affected files then needs a refreshed-diff recheck. Preserve required QA outside this final Reviewer exception.
45
45
  - [platform.claude] Existing per-role tool allowlists reduce available tools; Bash and role contracts are not a filesystem sandbox. ARC supplies no native observer hook or Bash Git guard; Git restrictions remain prompt-level role contracts.
46
46
  [ARC role policy: contract end]
@@ -176,7 +176,7 @@ GK2 is `approval`.
176
176
 
177
177
  ### Bridge target rules
178
178
 
179
- - Bridge prepare, run and resume hold `permission_scope_unverified` when `allowedPaths` cover `.`, `.git`, `.claude`, `.claude/settings*.json`, `.codex` or `.codex/config.toml`; any change to `.git` config, hooks or info, `.claude/settings*.json` or `.codex/config.toml` fails the dispatch as `permission_violation_observed` regardless of role and `allowedPaths`, and Grok writing roles also fail on changes to the security keys of the Grok home `config.toml` or to its `sandbox.toml`.
179
+ - Bridge prepare, run and resume hold `permission_scope_unverified` when `allowedPaths` cover `.`, `.git`, `.claude`, `.claude/settings*.json`, `.codex` or `.codex/config.toml`; any change to `.git` config, hooks or info (except `info/refs`, which `git update-server-info` may rewrite after a fetch or gc; that change alone is recorded under `tolerated.control`), `.claude/settings*.json` or `.codex/config.toml` fails the dispatch as `permission_violation_observed` regardless of role and `allowedPaths`, and Grok writing roles also fail on changes to the security keys of the Grok home `config.toml` or to its `sandbox.toml`.
180
180
 
181
181
  **Claude**
182
182
 
@@ -217,7 +217,7 @@ GK2 is `approval`.
217
217
  - Active bridge dispatches block publishing the composite configuration (`Active bridge dispatches: <ids>`); finish or cancel them first. Native leases do not block.
218
218
  - `execution_identity_unverified` (no session ID was obtained) is recorded by the supervisor after exit and exposed by `observe`; `resume` holds with it for a dispatch without a session ID. The `run-dispatch` response and `prepare-dispatch` never carry it.
219
219
  - A leftover orphaned process group after the child leader exits by itself is reaped (SIGTERM, grace, then SIGKILL) before the post-run snapshot is taken, and `orphanGroupReaped` is recorded; if the group cannot be observed gone the dispatch is `unknown` (`terminal_state_unverified`) and keeps its slot.
220
- - 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, except the control files listed above.
220
+ - Post-run detection compares the changed paths, `HEAD`, the branch and every Git ref. These ref changes are not violations and are recorded in the dispatch record under `tolerated.refs`, because Git activity outside the dispatch produces them and detection cannot tell who made them: remote-tracking refs (`refs/remotes/**`), tags that did not exist before the run, and branches checked out by another registered worktree before or after the run. If the worktree list cannot be parsed, does not include the dispatch worktree, or lists it on a different branch than its `HEAD`, no branch is tolerated this way. Any other ref creation, deletion or movement is a `permission_violation_observed` for every role, including any other change to the dispatch worktree's own branch, branches checked out by no worktree, and moving or deleting an existing tag. A fast-forward of the dispatch worktree's own branch is not a violation, and is recorded under `tolerated.refs` with its committed paths under `tolerated.commitPaths`, when the branch did not change, the new commits include no merge commit, there are at most 100 of them touching at most 10,000 paths, and, for `arc_implementer` and for `arc_qa` with non-empty `allowedPaths`, every path they add, modify, delete or rename is within the role's `allowedPaths`. For read-only roles and for `arc_qa` without `allowedPaths` the path check is skipped, so their fast-forward commits pass on the other conditions alone. Detection cannot tell who made these commits. A rejected fast-forward is a `permission_violation_observed`, and its out-of-scope paths are listed in `changedPaths`. Switching the branch, rewriting history, a detached `HEAD` move or a move on an unborn branch remains a violation. Each `tolerated` list keeps at most 100 sorted names, and `tolerated.truncated` is set when a list is longer. Changes to Git-ignored paths are outside post-run detection, except the control files listed above.
221
221
  - `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`, `claude -p`, `gemini` or `grok` through a shell is outside `delegation_observed` detection.
222
222
  - 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.
223
223
  - 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).
@@ -89,6 +89,11 @@ After initial document batching, follow [planning](planning.md#plan-updates-duri
89
89
  4. Include all pending revisions in the accepted commit of the first top-level task executed or reconfirmed against the revised version, otherwise a current task or final Reviewer follow-up commit. Only before overall completion, a standalone `docs(plan)` closing commit MAY include all pending revisions/trailers and no implementation files when no implementation work remains; keep canonical supporting evidence. Exclude pending revision hunks from independent prior-version task commits; hold the commit if separation is unsafe. Add `Plan-Revision: <gitPath> v<from> -> v<to>`, `Plan-Approved-At: <gitPath> v<N> <actual ISO 8601 approval time>` and `Plan-Reason: <gitPath> v<N> <reason>`: one revision trailer per document, approval/reason trailers per version after from through to; repeat keys as needed and preserve existing Git trailers. Use ASCII `->`. Plan-level progress records follow [commit](commit.md#execution-time-plan-document-updates) and alone never justify the closing commit.
90
90
  5. After commit verify the SHA-256 of each committed document's content (not the Git blob OID) equals the latest approved `contentHash` if no progress records have been committed since approval. Otherwise compare against the latest approved copy and allow only classified progress records of this commit's task or committed for other tasks after approval (including R-8 separation) and plan-level progress records carried by this commit. Record the SHA-256 of the expected content used for this comparison in the canonical record; NEVER overwrite approved copies. Mark recorded revisions `committed` and verify no pending revisions remain under [verification](verification.md#evidence-after-plan-revision-commit). Link commit SHA only in the canonical record, never the document. NEVER amend/reset/replay/rewrite planning or implementation commits or create other docs/fixup commits.
91
91
 
92
+ <a id="verification-brief-inputs"></a>
93
+ ### Verification brief inputs
94
+
95
+ Implementer and QA briefs that assign checks MUST include the baseline record reference (revision, commands, environment and failures by test name, with baseline-incomplete files marked), the related-test list with reasons and the intermittent-failure isolated rerun limit under [verification](verification.md#test-scope-and-result-comparison).
96
+
92
97
  <a id="recovery-prerequisite"></a>
93
98
  ### Recovery prerequisite
94
99
 
@@ -96,7 +96,7 @@ Selected worktrees require common directory, registration, `EnterWorktree` sessi
96
96
 
97
97
  Before feature/bug/behavior edits use local `test-driven-development` except explicit ARC exceptions. Full rules live in the profile. Waiver requires all low-risk and plan-skip/direct conditions, recorded scope/justification/criteria/checks before work. User/task-specific TDD overrides it; only qualifying tasks override local generic triggers without changing skills. Ordinary multistep/significant/high-risk work is ineligible.
98
98
 
99
- Waiver skips RED-GREEN only, preserving focused checks/risk-scaled QA/Reviewer; NEVER claim TDD. Follow an applicable higher-priority prohibition on adding or running tests; when precedence and scope are clear, DO NOT report a conflict on that basis or ask permission to violate it. TDD remains applicable to permitted test work. Record unperformed verification and its limits; if precedence or scope is genuinely unclear, or required verification is blocked, hold only affected work and acceptance and report the evidence. Other blocked required steps need recorded decision/required human approval, not internal substitutes. Non-behavior docs/config use specifically approved exceptions only, NEVER generalize to behavior.
99
+ Waiver skips RED-GREEN only, preserving focused checks/risk-scaled QA/Reviewer; NEVER claim TDD. Follow an applicable higher-priority prohibition on adding or running tests; when precedence and scope are clear, DO NOT report a conflict on that basis or ask permission to violate it. TDD remains applicable to permitted test work. Record unperformed verification and its limits; if precedence or scope is genuinely unclear, or required verification is blocked, hold only affected work and acceptance and report the evidence. Other blocked required steps need recorded decision/required human approval, not internal substitutes. Non-behavior docs/config use specifically approved exceptions only, NEVER generalize to behavior. Test scope follows [verification](verification.md#test-scope-and-result-comparison) and takes precedence over upstream TDD's per-task project-suite instruction.
100
100
 
101
101
  <a id="orchestrator-direct-path-for-small-tasks"></a>
102
102
  ## Orchestrator direct path for small tasks
@@ -177,7 +177,7 @@ Generated from lib/policy/role-policy.json; do not edit this managed section man
177
177
  - [role.implementer-implementation] Edit only assigned, approved files and run focused checks under the existing TDD contract. Report changed files, RED/GREEN or approved exception evidence, results, limits and follow-up. DO NOT plan, independently QA/review your own work, accept the task or declare overall completion. Git mutations remain forbidden after successful implementation. Implementer and fresh QA handoffs include the exact approved visual source, version, approval and access state; criterion IDs, required properties and comparison method; and actual-output identity, revision and comparison basis. Record pass, mismatch or unverified with accessible evidence and limits. Implementer self-report does not replace fresh QA and its actual comparison. A missing output-to-revision link is unverified; record a visible difference separately as mismatch without inferring current branch UI state. Missing source/output, inaccessible evidence or unapproved interpretation holds the affected visual claim for Orchestrator. DO NOT silently substitute or redesign.
178
178
  - [review.significant-no-plan] Significant/high-risk work without a plan follows Implementer → QA and required QA rechecks → Reviewer of the final full change → Orchestrator acceptance. DO NOT omit Reviewer because no plan exists. This adds no plan obligation.
179
179
  - [review.significant-plan] Significant/high-risk plan work follows Implementer → required fresh QA → Orchestrator acceptance and focused commit for each task. After all tasks are accepted and required QA is complete, Reviewer reviews the final full change once. Reviewer is not a per-task or per-commit gate. Preserve required checks and necessary finding rechecks.
180
- - [review.final-plan-recheck] Complete required QA and QA failure rechecks before the initial final overall Reviewer review. Once that review begins on plan work, every final Reviewer finding, including behavior, follows Implementer → Reviewer without QA reassignment until resolved. Keep corrections uncommitted through Reviewer rechecks, then accept and create one focused follow-up commit. Separate QA findings follow Implementer → QA. Preserve required QA outside this final Reviewer exception.
180
+ - [review.final-plan-recheck] Complete required QA and QA failure rechecks before the initial final overall Reviewer review. Once that review begins on plan work, every final Reviewer finding, including behavior, follows Implementer → Reviewer without QA reassignment until resolved. Keep corrections uncommitted through Reviewer rechecks, then accept and create one focused follow-up commit. Separate QA findings and new failures from final verification, which may run concurrently with the final Reviewer, follow Implementer → QA; Reviewer evidence for affected files then needs a refreshed-diff recheck. Preserve required QA outside this final Reviewer exception.
181
181
  - [platform.claude] Existing per-role tool allowlists reduce available tools; Bash and role contracts are not a filesystem sandbox. ARC supplies no native observer hook or Bash Git guard; Git restrictions remain prompt-level role contracts.
182
182
  [ARC role policy: contract end]
183
183
 
@@ -66,7 +66,7 @@ For initial fast judgment apply the [fast gate](handoff.md#orchestrator-direct-p
66
66
 
67
67
  Apply Planner rules: ID/title, goal/scope/files, predecessors/dependencies, criteria, required pre-acceptance QA/checks/evidence and holds. Tasks MUST be independently implementable/verifiable/acceptable. Inseparable policy/profile/tests/manifest contracts start in one task. If inseparability appears later, stop for revised scope/planning/approvals; NEVER merge distinct approved tasks during execution.
68
68
 
69
- Substeps/checkboxes/RED-GREEN/commands are not commits. One top-level task becomes one focused commit after acceptance; [commit](commit.md) governs no-change/hold/resume. Reviewer is never a per-task check. Final whole verification has separate scope/timing; significant work lists one Reviewer after all task acceptances/risk checks. Task boundaries alone add no QA. Apply only to required plans; omission paths gain no plan obligation.
69
+ Substeps/checkboxes/RED-GREEN/commands are not commits. One top-level task becomes one focused commit after acceptance; [commit](commit.md) governs no-change/hold/resume. Reviewer is never a per-task check. Final whole verification has separate scope/timing; significant work lists one Reviewer after all task acceptances/risk checks. Task boundaries alone add no QA. Apply only to required plans; omission paths gain no plan obligation. Plans list per-task related tests with reasons and a final verification section per [verification](verification.md#test-scope-and-result-comparison).
70
70
 
71
71
  <a id="dependency-and-readiness-record"></a>
72
72
  ## Dependency and readiness record
@@ -153,7 +153,7 @@ Generated from lib/policy/role-policy.json; do not edit this managed section man
153
153
  - [approval.run-mode] The installed ARC Run mode is Supervised unless the installed skill states Full Auto. In Full Auto, an Orchestrator decision recorded as `auto-decided (Full Auto)` with gate, choice, reason and evidence counts as the explicit choice or approval for that listed gate only; briefs cite it as `full-auto:<doc>@<version>` or the recorded decision. It never authorizes new product decisions outside the original request, external actions, resolution of failures, holds, unknown state or ownership conflicts, preservation-rule Git actions, permission or sandbox changes, or unknown slots and exhausted capacity, and it changes no plan-depth, commit, QA, Reviewer or acceptance rule. A user request to stop or use Supervised applies from the next gate.
154
154
  - [review.significant-no-plan] Significant/high-risk work without a plan follows Implementer → QA and required QA rechecks → Reviewer of the final full change → Orchestrator acceptance. DO NOT omit Reviewer because no plan exists. This adds no plan obligation.
155
155
  - [review.significant-plan] Significant/high-risk plan work follows Implementer → required fresh QA → Orchestrator acceptance and focused commit for each task. After all tasks are accepted and required QA is complete, Reviewer reviews the final full change once. Reviewer is not a per-task or per-commit gate. Preserve required checks and necessary finding rechecks.
156
- - [review.final-plan-recheck] Complete required QA and QA failure rechecks before the initial final overall Reviewer review. Once that review begins on plan work, every final Reviewer finding, including behavior, follows Implementer → Reviewer without QA reassignment until resolved. Keep corrections uncommitted through Reviewer rechecks, then accept and create one focused follow-up commit. Separate QA findings follow Implementer → QA. Preserve required QA outside this final Reviewer exception.
156
+ - [review.final-plan-recheck] Complete required QA and QA failure rechecks before the initial final overall Reviewer review. Once that review begins on plan work, every final Reviewer finding, including behavior, follows Implementer → Reviewer without QA reassignment until resolved. Keep corrections uncommitted through Reviewer rechecks, then accept and create one focused follow-up commit. Separate QA findings and new failures from final verification, which may run concurrently with the final Reviewer, follow Implementer → QA; Reviewer evidence for affected files then needs a refreshed-diff recheck. Preserve required QA outside this final Reviewer exception.
157
157
  - [planning.plan-revision] Task progress records (checkboxes, notes, results, evidence and status) preserving the approved contract need no new user approval; Orchestrator includes the completed task's own records in its accepted implementation commit and records classification, reason and actual time as applicable. Plan-level progress records preserving the approved contract also need no new user approval and alone never trigger the standalone docs(plan) closing commit. All other spec/plan content changes, contract or mechanical, require applicable approval and preparation; changes to goals, scope, criteria, method, risk, dependencies or required verification need revised-version approval, preparation and holds on affected work before it continues, with a fresh Implementer for remaining work. After approval Orchestrator edits the same document, appends a revision-history row and leaves it uncommitted as an Orchestrator-owned pending revision, recording version, content hash, approval reference, actual time, classification, reason, affected tasks and the full approved content in the canonical handoff record. Orchestrator includes all pending revisions with Plan-Revision, Plan-Approved-At and Plan-Reason trailers in the accepted commit of the first top-level task executed or reconfirmed against the revised version, otherwise in a current task or final Reviewer follow-up commit; only when no implementation work remains before overall completion MAY it make one standalone docs(plan) closing commit without implementation files. Exclude revision hunks from commits of independent tasks accepted on a prior version, or hold that commit when separation is unsafe. NEVER amend or rewrite planning or implementation commits, create any other docs/fixup commit or authorize past work retroactively. After commit verify the committed document content matches the latest approved content apart from classified progress records of that commit's task or committed for other tasks after approval, or plan-level progress records carried by that commit, and that no pending revision remains. Follow planning, handoff-prep, commit and verification for the full contract.
158
158
  - [planning.planner-brief] Follow planning.md's Planner drafting preparation and review procedure, including preflight, ledger, evidence classification, target preparation, preceding approvals, provenance and reference gates. Before Planner dispatch, evaluate F1–F8 direct-path eligibility and Bounded plan-omission eligibility independently. Enter each path only when all of that path's existing conditions are proven; if neither path qualifies, use normal full evaluation. Send one complete stage-specific initial brief. Reuse the same Planner instance only within the design/brainstorming stage while its role, context and source remain valid; after design approval, use a fresh Planner instance for each spec and plan stage, whose initial brief contains every required field, saved document paths and approved versions. Follow-up briefs send changed fields and cite an accessible prior brief for unchanged fields. Reuse evidence only for the same source set, absolute locator, resolved path, content fingerprint, purpose and approval scope in an accessible matching context. When source, target or scope changed, reconfirm affected inputs. Planner returns a complete proportional first draft and self-review. Orchestrator reviews and directly revises the same spec or plan when needed. A missing or failed first draft does not transfer initial authorship to Orchestrator. New product decisions outside approved scope require user input before Orchestrator revises the document. For design and brainstorming, allow the initial draft and one consolidated correction. Orchestrator reviews once with the fixed checklist and sends one consolidated correction using changed fields only. Further calls require user-approved material scope/evidence changes or concrete unmet checklist items after correction, plus meaningful new input or criterion-state progress. State changed input, target criterion, expected artifact and expected progress. Repeated unmet criteria without new input, evidence or progress hold the stage; report the criterion, observed evidence and exact unblock input/decision. DO NOT split omissions, repeat resolved items or count rewording/agent replacement as progress. DO NOT invoke Planner only for reformatting, re-expression, save errors or patch-application errors; Orchestrator handles these. Evaluate separate substantive work under the normal Planner gate. Preserve separate sequential design/spec/plan approvals. Add no fixed call cap or profile call-count conditions, and NEVER accept an incomplete draft. Keep user progress brief and based on Planner status without relaying draft content. At approval, present the integrated, saved and reviewed Markdown without repeating its body in chat.
159
159
  - [platform.claude] Existing per-role tool allowlists reduce available tools; Bash and role contracts are not a filesystem sandbox. ARC supplies no native observer hook or Bash Git guard; Git restrictions remain prompt-level role contracts.