@yunhozz/arc 0.5.0 → 0.5.1

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 (57) hide show
  1. package/MANIFEST.sha256 +45 -51
  2. package/README.md +99 -33
  3. package/claude/agents/arc-implementer.md +1 -1
  4. package/claude/skill/SKILL.md +1 -1
  5. package/claude/skill/models.toml +6 -6
  6. package/claude/skill/references/coordination.md +0 -4
  7. package/claude/skill/references/handoff-prep.md +1 -1
  8. package/claude/skill/references/verification.md +4 -9
  9. package/codex/skill/SKILL.md +1 -1
  10. package/codex/skill/models.toml +6 -6
  11. package/codex/skill/references/coordination.md +0 -4
  12. package/codex/skill/references/handoff-prep.md +1 -1
  13. package/codex/skill/references/verification.md +4 -9
  14. package/gemini/agents/arc-implementer.md +2 -2
  15. package/gemini/agents/arc-planner.md +1 -1
  16. package/gemini/agents/arc-qa.md +1 -1
  17. package/gemini/agents/arc-scouter.md +1 -1
  18. package/gemini/skill/SKILL.md +1 -1
  19. package/gemini/skill/models.toml +5 -5
  20. package/gemini/skill/references/coordination.md +0 -4
  21. package/gemini/skill/references/handoff-prep.md +1 -1
  22. package/gemini/skill/references/verification.md +4 -9
  23. package/grok/agents/arc-implementer.md +1 -1
  24. package/grok/skill/SKILL.md +1 -1
  25. package/grok/skill/references/coordination.md +0 -4
  26. package/grok/skill/references/handoff-prep.md +1 -1
  27. package/grok/skill/references/verification.md +4 -9
  28. package/lib/installer/runtime-assets.mjs +1 -5
  29. package/lib/installer/targets.mjs +3 -1
  30. package/lib/management/operations.mjs +4 -4
  31. package/lib/prompts/agent-fragments.json +3 -3
  32. package/lib/runtime/local-cli.mjs +9 -2
  33. package/lib/runtime/role-dispatch-policy.mjs +5 -2
  34. package/lib/tui/app.mjs +36 -11
  35. package/lib/tui/interface.mjs +2 -2
  36. package/lib/tui/render.mjs +4 -2
  37. package/lib/tui/terminal.mjs +5 -3
  38. package/lib/watch/brief.mjs +44 -0
  39. package/lib/watch/dispatch.mjs +44 -6
  40. package/lib/watch/index.mjs +107 -22
  41. package/lib/watch/markdown.mjs +42 -9
  42. package/lib/watch/model.mjs +1 -0
  43. package/lib/watch/render.mjs +3 -2
  44. package/lib/watch/scope.mjs +125 -0
  45. package/lib/watch/watcher.mjs +149 -82
  46. package/lib/watch/worktree-menu.mjs +64 -0
  47. package/package.json +1 -1
  48. package/shared/skill/runtime/local-cli.mjs +9 -2
  49. package/shared/skill/runtime/role-dispatch-policy.mjs +5 -2
  50. package/lib/runtime/final-verify.mjs +0 -2158
  51. package/lib/runtime/node-test-reporter.mjs +0 -81
  52. package/lib/runtime/test-results.mjs +0 -736
  53. package/lib/runtime/verify-cli.mjs +0 -60
  54. package/shared/skill/runtime/final-verify.mjs +0 -2158
  55. package/shared/skill/runtime/node-test-reporter.mjs +0 -81
  56. package/shared/skill/runtime/test-results.mjs +0 -736
  57. package/shared/skill/runtime/verify-cli.mjs +0 -60
package/MANIFEST.sha256 CHANGED
@@ -1,21 +1,21 @@
1
- 3bcfe453e353b702179f03609ad85196e55bbfce9da02665e64c07ac8e279a8a README.md
1
+ 1d995453e5498d66fbe26a33388feea053af9c31d7089da3135533a9ae602811 README.md
2
2
  d41edeb8c6631dee30c67c705d4edad977aa1631627ec9de59c013f8990f4018 bin/arc-upgrade.mjs
3
3
  484d9b2002ce542c87589bb719d644d3762706aad28a6ee010024875f8cc00e2 bin/arc.mjs
4
- 5feb5b11fef306f3537c8d886121d0885f64aa6e68d6dfd1d975c76573db41d5 claude/agents/arc-implementer.md
4
+ bd5e23b8ba002e15190009809cadc3278a3cced8dce460e20b288865b69d0cf2 claude/agents/arc-implementer.md
5
5
  68ec070ec80301589d30540d397567f6a864749899f02a152ef3ea6bce3cf693 claude/agents/arc-planner.md
6
6
  48513b93bc0fda9be51348387f3f0dd247222cca43895ba3be1e4033520e84fa claude/agents/arc-qa.md
7
7
  b6c6f099922aa93e69584f91e5c64d553cc6f8062e4b29f7a1dcfb5209b25213 claude/agents/arc-reviewer.md
8
8
  a22e52afda4b41e718908c6e3d8187a1e7d2283b1ebcc94b02f606ac19827393 claude/agents/arc-scouter.md
9
- a06a8367ca3984124854453387ab082e33c42c5a59962fbef1fc8aad218e04fc claude/skill/SKILL.md
9
+ bc20f043328ca2e8a5126ae9f78d0c6e009665caa42c7ce72f8f7e4bd3a344b6 claude/skill/SKILL.md
10
10
  27c12eefe19f742f2e4a2e600f55249c9a461676f3bf09f3c2cd0499efb1a9b5 claude/skill/references/arc-visual-companion.md
11
11
  23ae131ec5dc79435772e782ecabec0c776f82bf97f51eadfb9f4ac79b7173b8 claude/skill/references/commit.md
12
- f3e2b810a62795db0f57d9ff638e6fa91a6070cee11bac8b89bebf18195a97d4 claude/skill/references/coordination.md
12
+ 2d589bf9dd9c85d4aab6993401b3a458df7890e44e3405208ece01366791a981 claude/skill/references/coordination.md
13
13
  1d6745550da04eaf09977026c596fe389ec7a7b6c32ad3970dc958b56b935251 claude/skill/references/git-recovery.md
14
- ad6a9d0a350fe7a294a26735a173f2c3a4b1b1f219c90414c1c1c2e25068e923 claude/skill/references/handoff-prep.md
14
+ 8570088b58f145d0660a7f6dca61b891baff419ca66d42becff5ba39cb899dc7 claude/skill/references/handoff-prep.md
15
15
  30a4588a60ce2985b9dc99d26bc484a8f812487b89fb44194baded31af39a8aa claude/skill/references/handoff.md
16
16
  bc45488ef644bf0f35fbcbc1a8fe08a0e5d4a964e29807c978aeca5b263fe85e claude/skill/references/limits.md
17
17
  b5d0139c3f52215be3ce8b0a68e385eb45682039a0e5a915c48ed684722b07c8 claude/skill/references/planning.md
18
- bd65129eea4eeaee702b8ffd0bc83b53669d2788b2313ad90e7ae87a0a208d16 claude/skill/references/verification.md
18
+ 8d01fac3ae0176bb5dc7034771af378670fda7cde58246cb18b2e4c9b7b4e6e8 claude/skill/references/verification.md
19
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
@@ -24,54 +24,54 @@ b335c5f470b06bd45b54970b9aafebf598cb76a3d067b6f3aa298c992425fd00 codex/agents/a
24
24
  fdde3c0abbafe8e0806ba48df2a94eb95602b3b5cfb6eff403308fc1bb91e082 codex/agents/arc-qa.toml
25
25
  f980daee644f6209db8dc24727cddb2fc33734a7418a2e6c8cf5c304b000f298 codex/agents/arc-reviewer.toml
26
26
  5682a4722563e578b159f9cc1982dadc1eb6678d4ebd740445e2e6c42f9efd31 codex/agents/arc-scouter.toml
27
- c5d18f189ac8a05989ee893d94b7ecb1d930233711fda690a5ec3488afea5966 codex/skill/SKILL.md
27
+ f53e2adadbf79d1f8571918e5c09cd6bdad0f6ad0d62ff6eea735f8ee74c6f1d codex/skill/SKILL.md
28
28
  8e2d085f7fcd7aaebe4ea25d8a5282b22e3150a5053c16ef6417ec023487839c codex/skill/references/arc-visual-companion.md
29
29
  b5bdb82c2cb5e67061f3d9a9e37dd8a4305fd034100229914217402a215cfc06 codex/skill/references/commit.md
30
- 1b3811cc3b826f3eb5be1fe4e34c2684fe1dc63498fa1f30a9f20e61cf18c8af codex/skill/references/coordination.md
30
+ 3e77b27ac0742756ac44a84f192b0264191be006d47c4a57832412245647e66a codex/skill/references/coordination.md
31
31
  c648d9c98c9dee3ecdf7b3a915e69fd67875c6344ee9c4d04cd1de0227a64050 codex/skill/references/git-recovery.md
32
- be28099c3f4183c22c53d0d7924463d55c0c16a2a5d75cf46afaa9c177534414 codex/skill/references/handoff-prep.md
32
+ 5c7cb82e0bbac7dd6c824f0d51b94844d7ff708670db034743cef28d4c72f38c codex/skill/references/handoff-prep.md
33
33
  b900bf19e1ee5b76f67600e56c86723254bb6d5a0fe3212409db9cf0aa0592e5 codex/skill/references/handoff.md
34
34
  eb70ecc7edcb0c561c497016bb0bb0ba3e9dbace09279087ce1ef683211ab9f4 codex/skill/references/limits.md
35
35
  d6893c07490bb297253e88f91d16f7d681460eaddc72480c619a690b98f15462 codex/skill/references/planning.md
36
- d3d1c585e6bcc7b96f2d5f80ed81e340432f7ec7f220e55890be39682cf92647 codex/skill/references/verification.md
36
+ f16b2da9d9e66b15d95c6d4c08f538a30803af97302ce2d5e36a5222ebe8de8d 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
- 39658b10b07bc97c6fd7727c4ea2a0f0b6751edbcea5748357f13a6840b22b18 gemini/agents/arc-implementer.md
42
- 91b11b641faef1537b5ea6d1f6d795c5ae1d3d9606043d156c877e0efdae261a gemini/agents/arc-planner.md
43
- faea9133ce410cb48e26022d4a1427c71bcf4c85bd622461c3135c4d012e2645 gemini/agents/arc-qa.md
41
+ fd7a7660b24215e955b7006eb8d54017e2e5c9ee021fc617329a1d4b74e5abd5 gemini/agents/arc-implementer.md
42
+ 32593fabbbcf1e3af52eaf9b444dac47e4820f1fc3aa8001961e0607e8849c79 gemini/agents/arc-planner.md
43
+ e32c96ec980940d5cb7f65acb89f505b74c0bb6c968ebdd4062bcf6c0e739fa1 gemini/agents/arc-qa.md
44
44
  e11acde7b0d6387f33fc55fde8f7ff89519b491a89a067edfd3e25df2337e1aa gemini/agents/arc-reviewer.md
45
- b41d481267238840d660a3f4fc14aa2383730e221b20c273bd83501f93bb7217 gemini/agents/arc-scouter.md
45
+ 2b615401a43a73c9c77d4b57c47cdaf76c1620210f4d4d15ea2083d273c369e5 gemini/agents/arc-scouter.md
46
46
  d9fff57cf884a2cee6b6bacb309d63d4469bf4ce48e0a2af4678f034577fc5a5 gemini/instructions.md
47
- 6f4f5cc5a0442af3e54ad468ddae27696a117c4f305d5d155781e35c97bc2f36 gemini/skill/SKILL.md
47
+ e8e88366660ee763609a4e5822eb3bd4349f561d5c6db85ad4a5eeb1c11a7778 gemini/skill/SKILL.md
48
48
  27c12eefe19f742f2e4a2e600f55249c9a461676f3bf09f3c2cd0499efb1a9b5 gemini/skill/references/arc-visual-companion.md
49
49
  b4f1edb90de48a543584d276261d17859d4041e59c38e1dd17e4e7735f051181 gemini/skill/references/commit.md
50
- 81f561260d77d4a5fb1c6edc51af1228329fd828a4277ce6b09f2fc1ebf77efb gemini/skill/references/coordination.md
50
+ 78ff310e6bcd147730a2233313a2aac98ead94dca619cbb93e84c6559b2e4c5f gemini/skill/references/coordination.md
51
51
  ce32077220fa164e5aae50a599776cf9043ac5706add48aae9d3023f3b0d2de1 gemini/skill/references/git-recovery.md
52
- e3724f3ab7ea16a3585d10dcbf5a30c7ac347642b5086e4d8a8c633c7822394b gemini/skill/references/handoff-prep.md
52
+ 0999c6e49dd997e64a1a4513cac3641eb2f324a89ed72eb260d4ac798921dd63 gemini/skill/references/handoff-prep.md
53
53
  4167c2c986c50f4e2084fc1fb21c428863744b501ebf3e29ad5e0e0523edaffd gemini/skill/references/handoff.md
54
54
  ed498b757ba29913f63d1d81e00b460070e1bbcd56979399f4f40371ce49b8d0 gemini/skill/references/limits.md
55
55
  ccfedb934d88af6d5cd7d99b2b8f6cb78c43c5ea7acde452bf2e0971bc504e70 gemini/skill/references/planning.md
56
- 0113a0ff944e4ed7cab75ef7647d652a3a3b54c9ca3e79a385b6e6ec6930b7fb gemini/skill/references/verification.md
56
+ 32aa151954643e16b617be1dead664a659aa66e6fc632b2f84d0076a7196a9a0 gemini/skill/references/verification.md
57
57
  d16a0844a86c7ac954702eb3227372ef62fdeff42bf9e0a7e4b2176059ccce4b gemini/skill/references/worktree-creation.md
58
58
  ef23a91009b22d9aa3dca0d652487cb5cd043766d09aec8c065cb85dd1d64340 grok/AGENTS.md
59
- 41d74ce050e9a1449c34e18436b9a88440628e450f4f50b372d81705d4241326 grok/agents/arc-implementer.md
59
+ e9e14b0cc32fb708b951fce17de8ca71f7eee177ced4eb3336b4d7e7a8ab1427 grok/agents/arc-implementer.md
60
60
  3e71d7fce40774cdb3cb7eba5e747b5b72b81497903d646060ae2b3657086e3d grok/agents/arc-planner.md
61
61
  4bf09b4030fc3f3c448153c5566351b506f5a9dcd2104781ab8154a9436cf638 grok/agents/arc-qa.md
62
62
  b63ecbe6a3a6919d70361894ca2e307ec0b36ba0d2ec4292db9744c8c167bb5b grok/agents/arc-reviewer.md
63
63
  2b6ace8ee3b8d6a9616318268be7f5253b711a8d05bd267ecfad5d0ebd473cc5 grok/agents/arc-scouter.md
64
64
  23fbf593092be3f99c35cb802670e26d4fd954c52e5f5a195d4da89ffcedf294 grok/instructions.md
65
- 98d599c41e0b6256aa2344d1ced7a4985fc13b23d756e95921dae24bfce35839 grok/skill/SKILL.md
65
+ ed63f39f6084654a2e5e7c7d34fe51eca22a165fbeb0322bef78dfc8183af1c0 grok/skill/SKILL.md
66
66
  27c12eefe19f742f2e4a2e600f55249c9a461676f3bf09f3c2cd0499efb1a9b5 grok/skill/references/arc-visual-companion.md
67
67
  93ffa3d70ff4740b59bf614419df38c61a3c1ad2a93ac1777f611ba6cb098161 grok/skill/references/commit.md
68
- a6f54133472047b32e273eaefb25ab9db296e3b79f2312f02cfb20ff7fa0fe2f grok/skill/references/coordination.md
68
+ dbecf94bc24aae9523362f658272d30b5896bbbc83dfd0dd4060db53a5aaf7af grok/skill/references/coordination.md
69
69
  24eb5bf7571001c1127d8a2865bba3bb4fd1091942e9a6a3a610e66078d30b23 grok/skill/references/git-recovery.md
70
- 09c2c42060a4b267ce4c54941da2c9b295360106d193485693b20f64eefca8b7 grok/skill/references/handoff-prep.md
70
+ 992046555848a015fe7e73aee60b3f7849e99788e15f07f5e8df574e0bd40794 grok/skill/references/handoff-prep.md
71
71
  41691a592456b3d2991b63315ddca348199e09446407b700f1205ff4abb59da7 grok/skill/references/handoff.md
72
72
  fee860cd2eaf243f13e1ba9384200ce779058a6b98b9cf80f4d271710c47e59d grok/skill/references/limits.md
73
73
  31694ad8c6f0bdcd8d189f3c77b96ec87f5677efd8fc4842aa91a8bd54e73989 grok/skill/references/planning.md
74
- 48cd2ccbff950058ad4d3d906911572c58c46da7ff99a0e938e013a5d0c1b2a0 grok/skill/references/verification.md
74
+ c49a10b7b45e3094c1402eb33c62bcc45e0256b52caebe2bc40bcf2498fd3be2 grok/skill/references/verification.md
75
75
  536dba8fc47ce1d84a408ef36b3664d04c3d2e2aa4a959d7e9f85a61aeb455e5 grok/skill/references/worktree-creation.md
76
76
  800964b417c573aa7b2a07a76759a4750652222de63a985bc133d50194739358 install.command
77
77
  4eafb5667cc6d0f30ba015eb4f9b78e05cd5428367f355bea3d50e8be66a6f59 lib/cli/postinstall.mjs
@@ -91,20 +91,20 @@ fbcff7b20be52f5f60ab3d510fbf4d6f514abdcac4396f94d378fe4439e71e29 lib/installer/
91
91
  090745d6bd5fd9c6f26e74cab56dfc58a63cd88ec19343586de3eb6e3ef7dbdd lib/installer/plan.mjs
92
92
  d9af774b8f299940a9d96cc6939ebea4ebe6c170860034f1a877c41853dd3110 lib/installer/preset.mjs
93
93
  87accf30756d12f325db25711418ecb78717a5ad0fbecd997caf4c8b48eec52f lib/installer/role-routing.mjs
94
- f712b41fe5ff4172ef7e51e0a86abc8c0654dd4bb56ed429b7cbd34a777c52ab lib/installer/runtime-assets.mjs
94
+ ad2a8820445474d8a912482f544fd2fbb9cd422556acd27a7875f7789f6f4b56 lib/installer/runtime-assets.mjs
95
95
  9cbfd5103a690880e1582afa96b8b33bb92f175540bb8128df0435e32ff8e6ed lib/installer/runtime-config.mjs
96
96
  bfc6c13638955fbd44b6002de3a5a2de911c50ad630a44ec1bcf0e987dfd825b lib/installer/shell-completion.mjs
97
97
  9d319ee3bf6544f4379fa4a3dd8eb568ba5486535f02abca3b1b3eb05af9d847 lib/installer/skill-sources.mjs
98
98
  c2ab7eda987cf62bba4dce1b7eb302f350a6c67679b0aaf063b3eea11eb010c5 lib/installer/stage-cleanup.mjs
99
99
  39065b949ddc4b6c57be7668fa31ec87c019a7a09818c8bdeb1f89f38f6e325e lib/installer/superpowers.mjs
100
100
  0f3c71651a93001735c522f6447ae2a8ffd0814fe2cbf0643656c29273ff625e lib/installer/target-errors.mjs
101
- 57154519dd9a5a428ee42fc132fe72a5b6324c6252abfc682f2759511f8af951 lib/installer/targets.mjs
101
+ 95c5eef46f2e89368fdb37805b093f8cba53c1708f556a87f2845f6bd6648157 lib/installer/targets.mjs
102
102
  222d90e90c0814cfd5954aa0fa8f4a294ad96c15c9ca20e876455d6d09012c22 lib/installer/transaction.mjs
103
103
  138025fdb4faa32585ca9a7e9bccabd1052eb7dcd275fe6cf03b9a5e9f7278b6 lib/installer/uninstall.mjs
104
104
  664105d551f563b691064f32f3372e3fcb546cc43626e2dcffe0b3f6e106e903 lib/installer/upgrade-state.mjs
105
105
  9390bfa32c813862ce348109a58fc0211b28a43fa806c754d862295c68a6f2ab lib/installer/upgrade.mjs
106
106
  2946f055d61fbe2ffd6af1c182096e01d8c1a4bfb0aa274547ce5e147dccfd19 lib/limits.mjs
107
- 5bc7771e5be3d6a477a49c84aae47e75c8a5eb99799f449e259587a5b3e0db01 lib/management/operations.mjs
107
+ 55f42a86e188805126ce52e00f1cd644a47eb059cc3d5a8f77b53ef5a5186e6e lib/management/operations.mjs
108
108
  c370c17d74522f9e221aaa1e527515c147550da02ec3d291dd522b7608380806 lib/management/reapply.mjs
109
109
  34df4803e64e3ab58f12c6e2b09e3862e6991eb00e05692c862b3235f6b8a9b7 lib/management/status.mjs
110
110
  781ba86a55a2ff699bca646b2bf86ae3c74ec77a3f096a922adb0693831bd428 lib/management/update.mjs
@@ -138,7 +138,7 @@ edd5ae0d1fe12b7a057a8bcc081ab64d28c55c0656bd0c6215873872d876bfb1 lib/platforms/
138
138
  31d62be48814c57ad5c31807523382a8afe669b3aebb1b04bf5dfa5e608ca8c2 lib/policy/placement.mjs
139
139
  1840e0f61633b45f055ec2892fb061ed7feedbb32a3018fdfdd2390f00328502 lib/policy/render.mjs
140
140
  e76f5e8dbc6ab37c0e3a47d4ec33ed06bda969bb6a38be87c6614c8647035eb4 lib/policy/role-policy.json
141
- 9b5be1f59736eabae7e30fb7fe5aa6785ed0b7a28dda3368ecc41231865b568e lib/prompts/agent-fragments.json
141
+ 1c1c28ead97ea798a8c0a230a3733ec1b608ba0349841685044cb05ad4f5507d lib/prompts/agent-fragments.json
142
142
  061ae84bd30fafa8042c23b83ab5bb60675c34fc7f901d2314b13877f8f112cc lib/prompts/render.mjs
143
143
  6816acd10da3ab8db1276d7ae2712b99e0c97111f57ba2d547a2cc5c3f9e165b lib/release/artifact.mjs
144
144
  f9b4caf6a97d02f2bc4e2d72c2434a3c668db57961975a9cad57b1ed6a475db8 lib/runtime/acceptance.mjs
@@ -153,7 +153,6 @@ a90abc679322f3b90ea4c1a9762dcd20877497991a09aec5fef68f787d63306b lib/runtime/as
153
153
  167c7cd9017b9eccbc46d1f84408cbe67180046b84576a19c0ae214109e64df6 lib/runtime/cooperative.mjs
154
154
  bee9c1d0a6505c4b39f2e5fd51e5dcc005fe6f007167ba62c5c5b4bd6eded1f9 lib/runtime/evaluate.mjs
155
155
  c73244c65aad793559555f7998adfda5b5c2db2831bdb6420861d3564b31ead2 lib/runtime/external.mjs
156
- 22d309b647efabd29c83b0406dca851e05f2861b0cc918eea4198196af802398 lib/runtime/final-verify.mjs
157
156
  6e29b5f6701e9355e138cb7896999511daebcef39dfc4de1fb7ad703ba13d3a7 lib/runtime/gate.mjs
158
157
  5d8e7ac39d5e4e08357ef45579be677f4cb578df6302e2407db669885e1f20d1 lib/runtime/gemini-stream.mjs
159
158
  f501815eb8adef4582846cb067973e50fc4ece668aa70ae880803c80f39a07df lib/runtime/git-evidence.mjs
@@ -161,13 +160,12 @@ f501815eb8adef4582846cb067973e50fc4ece668aa70ae880803c80f39a07df lib/runtime/gi
161
160
  ae0998af4fb15181e6a2fdd83c84ee865ad3de49c7088cd2a63abdb45dc65560 lib/runtime/grok-sandbox.mjs
162
161
  54caa1114367936e1319ed88e5c3d0120fdba75ac5c2621a6293205d00e8238a lib/runtime/grok-stream.mjs
163
162
  44a55959292893f484993eb478ea2a143e908a2a11b88e1fa553525918b694d6 lib/runtime/identity.mjs
164
- 0e452e7241e4fc61c798aa07d3bbc62a475f8e3d7c5eb6b29603febb39cda580 lib/runtime/local-cli.mjs
165
- cae8c71a18d376588022be2f063853a7395b5638a1354ad77ac529e9d04bd229 lib/runtime/node-test-reporter.mjs
163
+ df38c8ceedbf6fabe2abfde0797ddd3671bd2aa0cc06e0ccd3f15b448178e5b0 lib/runtime/local-cli.mjs
166
164
  3e4eaac8ac1e71b6bd443afe5060cf1f7ad2f0d9eb3d961b2383452cdb69069f lib/runtime/operations.mjs
167
165
  8911bfd35422c5db3abb97b20f490188128864776599f0a6666cfb0c63427b08 lib/runtime/platform-registry.mjs
168
166
  404378797844ef7dd94384853acb1cd96b3dd8a4341378bf5fcbfb21c7f7475b lib/runtime/role-bridge-args.mjs
169
167
  3ac6ffb3553bb7dde05b10cbfc4eb25978fa2e4e8bd557ed76d149748be9d86e lib/runtime/role-bridge.mjs
170
- 4f6e1ffb2f5ee2a719b05567032925d409b1007b410252b22de2ad6f44b492ee lib/runtime/role-dispatch-policy.mjs
168
+ 80e657371d0d2240b6088df863f573be7b10d4122dd971dbe7a47b9e57f0f202 lib/runtime/role-dispatch-policy.mjs
171
169
  aab17097ad0e27f747874e1921f0756f441544f9ac44bc76591018e46c4f7320 lib/runtime/role-dispatch-store.mjs
172
170
  990e73b06eb3130c0bc6df1d3be338c8a982bc7da28388166e536ded04a3f122 lib/runtime/role-observe.mjs
173
171
  def993a33a56e5c6c8c465a881affdfd70afc8c7192549a3e1a130ed8f2e17b8 lib/runtime/role-routing-config.mjs
@@ -177,43 +175,43 @@ b8c876ad4cb55c93845bd30ae7432c1eed90af41a17f917997ec8dbf536bb4b7 lib/runtime/sc
177
175
  e2e768e62a46c8ef568fc3021ac8415c4dc68fa9843b9ffb3dbbbb2e5fa3a6af lib/runtime/scope.mjs
178
176
  2a942884862da5fdb23e17688141f2bf75925a81af6b4f749d443b88c90ec34a lib/runtime/store.mjs
179
177
  b29a9f9a9a60836271545e3f75346d51d7d0bf1ac1eccbfa3a624717f78beebb lib/runtime/target-preparation.mjs
180
- 804d138baeb30d8b1e6a7b26596e685e6955846d9933a923a91d0946fe80a5b1 lib/runtime/test-results.mjs
181
178
  5b14c4ffdff116a005601b737e94484e9eebdea746ec0e296ca7a34be2b7ea4a lib/runtime/verification.mjs
182
- e1685a3a33f615ea95eef3c044af1d381523735e001a7f8563486a2cc9deab47 lib/runtime/verify-cli.mjs
183
179
  7e75d9bb51eac4bd1a6fccf45fb195c526bb3bc43cf0b04398b85ff7723f8689 lib/safe-fs/index.mjs
184
180
  4174dfcfcd4d69a5486b91108ec03279cfd50644109c7457aa87f9ac877fb1ac lib/safe-fs/native.mjs
185
- 5334d139164442b890321ae9dce8731b7b280d354f3d70c7bb855e80344172ec lib/tui/app.mjs
181
+ 3d0362613b644a7cf12049992fc300ad1833e25e1c5160ccd46775ba17ec7c9d lib/tui/app.mjs
186
182
  cba7a854aee5a390bde60d6a3b0daa02376049543ec95a57c1bfb20ae7fc00fc lib/tui/custom-preset.mjs
187
183
  b249d9ec192bdfb283cce77bbec185debdc7dfde1727204d305cd41f97d1c13c lib/tui/derive-install-plan.mjs
188
184
  243e989a7f8af41f935a2681069ebb162827a6c3df5683af5a16cec3f24bf654 lib/tui/diagram.mjs
189
- 34f55dda354652c2d3171f647dbfecbcc3c40beaa1efc339d422f093ecbcf406 lib/tui/interface.mjs
185
+ 2c03a91517fe10ee80d14a52e342c02f3b2b27588dde72e5d02ae2754addfdac lib/tui/interface.mjs
190
186
  72ebefbc762a21b9d398d88a437d0d71814606f125a23bddb90d7d5da086178b lib/tui/mode.mjs
191
- 56d5eabb2dddb4608a09c4ea09f44ecc7be603d74cf9c1b7819e1092a4b5b9a7 lib/tui/render.mjs
187
+ 791bf4be20627469a73b181ad8b8c0bb68b93e542d49161b0e018abdc47c0ac0 lib/tui/render.mjs
192
188
  6de0610602e3222f012624a2ae3beb0db29e5f8dce9e9b40fb8eb3634b977997 lib/tui/setup.mjs
193
- 6d321e2f1502449a1cd3113d7b808715b43d29f58b33fac7acd5e101abe05aa4 lib/tui/terminal.mjs
189
+ a35835af4473e1f60731f4010952173ef51b5625a3014c016bc19795aa328654 lib/tui/terminal.mjs
194
190
  74207b1d8116f4f32e1c4f37cd7fc9faa3a2e160b637e2226da538f147eb5629 lib/watch/anchor-store.mjs
195
191
  825013c22b0a15d927a321102bdbcc41769687378292f9f54cfe33fa472cdaeb lib/watch/args.mjs
192
+ b72d223099fdb9951b382ad12c65a6114718d7fcd378220c3bbd01ddb491a5d9 lib/watch/brief.mjs
196
193
  52c7a20bbef0452635a3196e838dc4eb3c2d0420d448bbb679d3cb32d6642566 lib/watch/discover-claude.mjs
197
194
  05d087b85cd08a9207d8ae36abe00651a94c7a2f3af67140bdd3740acb914f2b lib/watch/discover-codex.mjs
198
- 035438e3362d01af8069685540b990c3f391ba4a1e4195b9fcec41d6defed90c lib/watch/dispatch.mjs
195
+ eac5e4292359f35f3ee7d9cd5c0bf2912307143728aa40ef10bc14c5f38ad2fd lib/watch/dispatch.mjs
199
196
  ba889a189ac5c555f99034a08b0173b74bca02a3392ad8667a45e1cf5a46a08a lib/watch/git.mjs
200
- 22cdc3d362e19631300da4ffdb59f46726455578929af8c1aa9793acdd590202 lib/watch/index.mjs
197
+ 67e2b63f2c0b508f3907bf64952816dd912e3d4e09540106606ac0d8abea5932 lib/watch/index.mjs
201
198
  2707c6a3825a368650e7333f7e72eae841f21b95afcb7f3918a35ed4caf190cf lib/watch/labels.mjs
202
- 0e14c82ea36331eba9e6d370dbfdf482228764ac58518c2c54d6c0b7a4e6ec77 lib/watch/markdown.mjs
199
+ a9ee78acd7358e4bd024a925d8cc6dcc4741b1cab346b0ea4218088700c2b177 lib/watch/markdown.mjs
203
200
  6fe3d5975e7414d23923d7eb466bf9b34be258a2c2749223f1c1883ce3200963 lib/watch/menu.mjs
204
- 18de0597d2292c101c39e9f433f7f682c5be05af20ad445953ed29c9a9a4f84e lib/watch/model.mjs
201
+ bb511a4160e13842190b3e653fa9b203acac3f7902fee8d655641be23a585f8c lib/watch/model.mjs
205
202
  f270e1c7e74a025f0122d614522e71ab73bdffb11e471a91347cf9273d18d333 lib/watch/normalize-claude.mjs
206
203
  0428e855d897e0fbf621c521bc2756508f8b3da5dd9e17237b19e27f4bdfba15 lib/watch/normalize-codex.mjs
207
204
  4037619af1c19c058179d8567d301ce1cdba4ac82c79f63436fb17de4fe7f45d lib/watch/policy.mjs
208
- 855b05884da23119bbd3f5228ba8ebcc688e4cabb1a8afeed7a8112b85f4ebec lib/watch/render.mjs
209
- 4305594ac345cde6cf829ca23198075ea02c299e933794824dad741cf1db8b12 lib/watch/scope.mjs
205
+ 65b953e50edf254752c00906ca0fc7b2afd4b6fc320ab0784aa086d1bfe7a5f3 lib/watch/render.mjs
206
+ 5b8f6b3c897bf25e42cc1b09b661423be4d575c1e0b3cf01046844a5e7f3100e lib/watch/scope.mjs
210
207
  4b9375b8840ef62420892375884183efcb29ff2e04bbe7ced17b7b7d9179e6f9 lib/watch/status-line.mjs
211
208
  02084fbc128c2e426b0fa04ee849cea9054681aec63b5cbfd02356feccc95dcb lib/watch/tail.mjs
212
209
  0701edeeadaeecab1f134f606f8db173fef7568a79c6441bb8d28fb37f095d08 lib/watch/text-width.mjs
213
- dca9d7186da0c04bce7ff18ccc81481285573af612c3481f7761efe303f6b867 lib/watch/watcher.mjs
210
+ 904eaa845f7d6bed30ec33d5d09fde5c083c7f7c6831c707a5c9a79495a33d1e lib/watch/watcher.mjs
211
+ 8de37fa4c68f08b4725561c99e7ca6e4ff0c7a19b96be1d3938feca1d6a084bd lib/watch/worktree-menu.mjs
214
212
  ff9c33c8b3c2bd466d54ffbe4c7139ccd87c79c7de34a6c4cde92e9f6e9b42d2 native/binding.c
215
213
  205bedc1dee1a9ffa58124c6e21256a1f0cbe24f06f7c8d7cb0b99524cfab9d0 native/binding.gyp
216
- 918120353f4d5ef5702803eb780ae0834b75c445c4761dc1a26fd26b45cb4cc8 package.json
214
+ 7c2fc7aab0a2a0c6a34ec6ee6f3a1e0a916d6197c6500c78ab2ecd4f6bf5fde2 package.json
217
215
  208c65cfde244d39ce45c3cf1b0acb128f04d21199b6b3fb5466e62db5b64af9 prebuilds/darwin-arm64/arc_safe_fs.node
218
216
  572887ac794d10a8b921d8168ea2328e31f05b45987611ff02c83114dba901af prebuilds/darwin-x64/arc_safe_fs.node
219
217
  2bb9443021f9d873712b26321de733eddd6794c45f0bc79e2d5dc98669196635 prebuilds/index.json
@@ -255,7 +253,6 @@ a90abc679322f3b90ea4c1a9762dcd20877497991a09aec5fef68f787d63306b shared/skill/r
255
253
  167c7cd9017b9eccbc46d1f84408cbe67180046b84576a19c0ae214109e64df6 shared/skill/runtime/cooperative.mjs
256
254
  bee9c1d0a6505c4b39f2e5fd51e5dcc005fe6f007167ba62c5c5b4bd6eded1f9 shared/skill/runtime/evaluate.mjs
257
255
  c73244c65aad793559555f7998adfda5b5c2db2831bdb6420861d3564b31ead2 shared/skill/runtime/external.mjs
258
- 22d309b647efabd29c83b0406dca851e05f2861b0cc918eea4198196af802398 shared/skill/runtime/final-verify.mjs
259
256
  6e29b5f6701e9355e138cb7896999511daebcef39dfc4de1fb7ad703ba13d3a7 shared/skill/runtime/gate.mjs
260
257
  5d8e7ac39d5e4e08357ef45579be677f4cb578df6302e2407db669885e1f20d1 shared/skill/runtime/gemini-stream.mjs
261
258
  f501815eb8adef4582846cb067973e50fc4ece668aa70ae880803c80f39a07df shared/skill/runtime/git-evidence.mjs
@@ -263,13 +260,12 @@ f501815eb8adef4582846cb067973e50fc4ece668aa70ae880803c80f39a07df shared/skill/r
263
260
  ae0998af4fb15181e6a2fdd83c84ee865ad3de49c7088cd2a63abdb45dc65560 shared/skill/runtime/grok-sandbox.mjs
264
261
  54caa1114367936e1319ed88e5c3d0120fdba75ac5c2621a6293205d00e8238a shared/skill/runtime/grok-stream.mjs
265
262
  44a55959292893f484993eb478ea2a143e908a2a11b88e1fa553525918b694d6 shared/skill/runtime/identity.mjs
266
- 0e452e7241e4fc61c798aa07d3bbc62a475f8e3d7c5eb6b29603febb39cda580 shared/skill/runtime/local-cli.mjs
267
- cae8c71a18d376588022be2f063853a7395b5638a1354ad77ac529e9d04bd229 shared/skill/runtime/node-test-reporter.mjs
263
+ df38c8ceedbf6fabe2abfde0797ddd3671bd2aa0cc06e0ccd3f15b448178e5b0 shared/skill/runtime/local-cli.mjs
268
264
  3e4eaac8ac1e71b6bd443afe5060cf1f7ad2f0d9eb3d961b2383452cdb69069f shared/skill/runtime/operations.mjs
269
265
  8911bfd35422c5db3abb97b20f490188128864776599f0a6666cfb0c63427b08 shared/skill/runtime/platform-registry.mjs
270
266
  404378797844ef7dd94384853acb1cd96b3dd8a4341378bf5fcbfb21c7f7475b shared/skill/runtime/role-bridge-args.mjs
271
267
  3ac6ffb3553bb7dde05b10cbfc4eb25978fa2e4e8bd557ed76d149748be9d86e shared/skill/runtime/role-bridge.mjs
272
- 4f6e1ffb2f5ee2a719b05567032925d409b1007b410252b22de2ad6f44b492ee shared/skill/runtime/role-dispatch-policy.mjs
268
+ 80e657371d0d2240b6088df863f573be7b10d4122dd971dbe7a47b9e57f0f202 shared/skill/runtime/role-dispatch-policy.mjs
273
269
  aab17097ad0e27f747874e1921f0756f441544f9ac44bc76591018e46c4f7320 shared/skill/runtime/role-dispatch-store.mjs
274
270
  990e73b06eb3130c0bc6df1d3be338c8a982bc7da28388166e536ded04a3f122 shared/skill/runtime/role-observe.mjs
275
271
  e76f5e8dbc6ab37c0e3a47d4ec33ed06bda969bb6a38be87c6614c8647035eb4 shared/skill/runtime/role-policy.json
@@ -280,9 +276,7 @@ b8c876ad4cb55c93845bd30ae7432c1eed90af41a17f917997ec8dbf536bb4b7 shared/skill/r
280
276
  e2e768e62a46c8ef568fc3021ac8415c4dc68fa9843b9ffb3dbbbb2e5fa3a6af shared/skill/runtime/scope.mjs
281
277
  2a942884862da5fdb23e17688141f2bf75925a81af6b4f749d443b88c90ec34a shared/skill/runtime/store.mjs
282
278
  b29a9f9a9a60836271545e3f75346d51d7d0bf1ac1eccbfa3a624717f78beebb shared/skill/runtime/target-preparation.mjs
283
- 804d138baeb30d8b1e6a7b26596e685e6955846d9933a923a91d0946fe80a5b1 shared/skill/runtime/test-results.mjs
284
279
  5b14c4ffdff116a005601b737e94484e9eebdea746ec0e296ca7a34be2b7ea4a shared/skill/runtime/verification.mjs
285
- e1685a3a33f615ea95eef3c044af1d381523735e001a7f8563486a2cc9deab47 shared/skill/runtime/verify-cli.mjs
286
280
  fa5659948374d4f555594f47f6da073b40dc503e921aeeece30df4362b3051a5 vendor/toml/LICENSE
287
281
  ef924a2a42c7f16761e7098c3ed8e04195ecbcb02d5c369db0aee76f251a409c vendor/toml/dist/date.js
288
282
  76f8e47f5fc57273748242d59570656d7c921a80bceb2291ca5a4d7a723e9f29 vendor/toml/dist/error.js
package/README.md CHANGED
@@ -1,10 +1,19 @@
1
1
  # ARC — Agent Role Coordination
2
2
 
3
- ARC coordinates scoped roles, handoffs, and verification in Claude Code, Codex, Gemini CLI, and Grok CLI.
3
+ ARC coordinates scoped roles, handoffs, and verification in Claude Code, Codex, Gemini CLI, and Grok CLI. Start with one platform or choose where each role runs.
4
4
 
5
- ![ARC workflow](docs/images/role-flow.svg)
5
+ ## Install
6
+
7
+ In an interactive terminal, run `npm install --global @yunhozz/arc` and then `arc`. To run without a global install, use `npx --yes @yunhozz/arc`.
8
+
9
+ | Requirement | Support |
10
+ |---|---|
11
+ | Environment | Node.js 22+, npm, Git, and network access. macOS 13+ or Linux with glibc 2.28+, on arm64 or x64. |
12
+ | 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. |
13
+
14
+ ## How ARC works
6
15
 
7
- ## Roles
16
+ The Orchestrator in your conversation assigns work to specialists and accepts their results after the required checks.
8
17
 
9
18
  | Role | Responsibility |
10
19
  |---|---|
@@ -15,22 +24,15 @@ ARC coordinates scoped roles, handoffs, and verification in Claude Code, Codex,
15
24
  | QA | Runs assigned verification |
16
25
  | Reviewer | Independently reviews changes |
17
26
 
18
- ## Install
27
+ In **Standalone**, the Orchestrator and all five specialist roles run on the same platform.
19
28
 
20
- | Requirement | Support |
21
- |---|---|
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. |
29
+ ![Standalone routing on one supported platform](docs/images/mode-standalone.svg)
24
30
 
25
- Run `npm install --global @yunhozz/arc`, then run `arc` in an interactive terminal. To run without installing globally, use `npx --yes @yunhozz/arc`.
31
+ In **Mixed**, a supported host routes each role to its configured platform. Execution support determines which routes are available.
26
32
 
27
- ## Manage ARC
33
+ ![Mixed routing across Claude, Codex, Gemini, and Grok](docs/images/mode-mixed.svg)
28
34
 
29
- | Menu | Action |
30
- |---|---|
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). |
35
+ The platforms you choose for roles and hosts determine the mode.
34
36
 
35
37
  | Mode | Meaning |
36
38
  |---|---|
@@ -38,28 +40,96 @@ Run `npm install --global @yunhozz/arc`, then run `arc` in an interactive termin
38
40
  | Mixed | Two or more platforms participate. The first participant in Claude → Codex → Gemini → Grok order anchors routing. |
39
41
  | Unverified | Apply is blocked. Inspect the reported paths. |
40
42
 
41
- ## Watch sessions
43
+ See the [workflow contracts](docs/harness-operation.md#workflow-contracts) for approval, handoff, and verification rules.
42
44
 
43
- Run `arc watch` in an interactive terminal and check the platforms to watch (all supported platforms are checked by default) to follow activity in the current worktree (or directory outside Git). Platforms that arc watch does not support are shown in the menu but cannot be checked. Run `arc watch --help` for options.
45
+ ## Manage ARC
44
46
 
45
- | Visibility | Events |
47
+ Run `arc` to configure roles, check the installation, or remove ARC.
48
+
49
+ | Menu | Action |
46
50
  |---|---|
47
- | Shown | Messages, SKILL and PLUGIN lines, and dispatch records. |
48
- | Hidden | Tool and command outputs. Reasoning requires `--verbose`. Secret masking is incomplete. |
51
+ | Configure | Choose role platforms, models, efforts, hosts, Run mode, language, and subagent limits. Select Apply to publish. |
52
+ | Status | View installed platforms, settings, diagnostics, and version. Select Upgrade when available. |
53
+ | Uninstall | Confirm removal of a platform or choose Everything (incl. CLI). |
54
+
55
+ Apply reports which platforms received a new installation and which received updated settings.
56
+
57
+ ```text
58
+ ✨ ARC installed for Claude.
59
+ 🔧 Settings applied to Codex.
60
+ Restart ARC to check.
61
+ ```
49
62
 
50
63
  ## Models and language
51
64
 
52
- ![Role models and platforms](docs/images/role-models.svg)
65
+ The Orchestrator uses the current conversation model. Each specialist starts with the packaged model and effort for its platform.
53
66
 
54
- | Setting | Details |
67
+ | Platform | Default model for every specialist | Default effort |
68
+ |---|---|---|
69
+ | Claude | `opus` | `effort = "medium"` |
70
+ | Codex | `gpt-6.2-sol` | `model_reasoning_effort = "medium"` |
71
+ | Gemini | `gemini-4-neon` | `effort = "default"` |
72
+ | Grok | `grok-4.6` | `effort = "default"` |
73
+
74
+ In Configure, edit each specialist's platform, model, and effort. Configure lists candidates from the packaged catalogs. Model access may vary by account. Configure also sets the agent response language for new sessions. See the packaged settings for [Claude](claude/skill/models.toml), [Codex](codex/skill/models.toml), [Gemini](gemini/skill/models.toml), and [Grok](grok/skill/models.toml).
75
+
76
+ ## Watch sessions
77
+
78
+ Run `arc watch` in an interactive terminal. In Git, first choose a worktree. The picker uses `git worktree list` to find worktrees wherever they were created and selects the current worktree by default. Outside Git, watch uses the current directory. Next, confirm the platforms to watch and follow their events in the selected scope. All supported platforms are checked by default.
79
+
80
+ Claude and Codex are supported. Gemini and Grok appear in the platform menu as unavailable, and their sessions do not count toward worktree activity. A worktree with no recent activity can still be selected. Those rows are dimmed with color and show `(no recent activity)` without color. Run `arc watch --help` for options.
81
+
82
+ | Visibility | Events |
55
83
  |---|---|
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. |
84
+ | Shown | Messages, SKILL and PLUGIN lines, dispatch records, and file changes. |
85
+ | Hidden | Tool and command outputs. Reasoning requires `--verbose`. |
86
+
87
+ Secret masking is incomplete.
88
+
89
+ The picker shows each worktree's path, branch or detached HEAD, and recent session activity. Here are five example rows.
90
+
91
+ ```text
92
+ ~/work/app main here · ● 2m ago · 1 session · CODEX
93
+ app/.claude/worktrees/brief feat/brief ● 4m ago · 2 sessions · CLAUDE, CODEX
94
+ ~/.codex/worktrees/7f3a/app detached 1a2b3c4 18m ago · 1 session · CODEX
95
+ ~/work/app-hotfix hotfix/login locked · (no recent activity)
96
+ app/.gemini/worktrees/docs docs/refresh (no recent activity)
97
+ ```
98
+
99
+ After platform selection, the startup summary shows the scope, branch, platforms, and keys. Events then appear below it. Watch also shows shell file changes under the name of the most recent eligible session in the same worktree. The attribution is a best guess and can name the wrong session when several sessions are active at once.
100
+
101
+ ```text
102
+ ┌────────────────────────────────────────────────────────┐
103
+ │ arc watch 0.5.0 │
104
+ │ Scope ~/work/app (main) │
105
+ │ Platforms CLAUDE · CODEX │
106
+ │ Keys Ctrl-C stop · Ctrl-H earlier · Ctrl-L clear │
107
+ └────────────────────────────────────────────────────────┘
108
+ 11:58:00 CODEX USER Update the test guide.
109
+ 11:58:01 CODEX SKILL arc
110
+ 11:58:30 CODEX EDIT app/docs/testing.md
111
+ 11:58:31 CODEX AGENT Updated the test guide.
112
+ ```
113
+
114
+ Press Ctrl-H to page through earlier events in loaded history.
115
+
116
+ ```text
117
+ ── earlier 2 events · start of loaded history ──
118
+ 11:57:40 CODEX USER Check the test commands.
119
+ 11:57:42 CODEX AGENT The quick check is npm test.
120
+ ── back to live ──
121
+ ```
122
+
123
+ The status block at the bottom shows the watched path.
124
+
125
+ ```text
126
+ ~/work/app
127
+ ```
60
128
 
61
129
  ## Platform support
62
130
 
131
+ Standalone is verified for all four platforms in the registry. For Mixed, check host and bridge support before assigning roles. The caller declares `executionEnvironment` without inferring it from paths. Desktop environments are held. See [execution support](docs/harness-operation.md#execution-support) for measured coverage.
132
+
63
133
  | Platform | Host | As bridge target | Auth check |
64
134
  |---|---|---|---|
65
135
  | Claude | Yes | All roles. Implementer and QA are sandboxed (`G1`). | `claude auth status` |
@@ -67,17 +137,13 @@ Run `arc watch` in an interactive terminal and check the platforms to watch (all
67
137
  | Gemini | Held (`GG2`) | Read roles. Write roles are held (`GG1`). | None (`unknown`, `auth unverified`) |
68
138
  | Grok | Yes | All roles. Write roles use a per-dispatch sandbox profile (`GK1`). | None (`unknown`, `auth unverified`) |
69
139
 
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.
71
-
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.
140
+ Codex hosts require escalation approval on every runtime call. Start Grok hosts with `grok --permission-mode default` and use `Allow once` on every runtime call.
74
141
 
75
142
  ## Upgrade
76
143
 
77
144
  - 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.
145
+ - Before downgrading from Full Auto, switch Run mode to Supervised and Apply. Older CLIs read the v2 `settings.toml` as incomplete. After downgrading, run Configure in the older version to restore its composite layout.
146
+ - For older Mixed installations, see [legacy migration](docs/harness-operation.md#legacy-migration).
81
147
 
82
148
  ## Guides
83
149
 
@@ -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 → 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.
29
+ Before feature/behavior edits, read brief-cited TDD and required relative references: observe failing tests → minimal implementation → related checks; full regression only in final QA 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
 
@@ -28,7 +28,7 @@ Standalone document writing has no specialist auto-route. Design, spec, plan and
28
28
 
29
29
  Apply these terms across references and the Implementer profile, preserving context-specific commands, paths and state checks.
30
30
 
31
- - **Preservation rule:** Preserve unrelated staged, unstaged and untracked changes and edit ownership. NEVER automatically stash, reset, clean, unstage, discard, amend or delete branches/worktrees. Orchestrator includes completed task progress records and approved pending spec/plan revisions in subsequent accepted commits under [planning](references/planning.md#plan-updates-during-execution), [preparation](references/handoff-prep.md#execution-time-plan-revision) and [commit](references/commit.md#execution-time-plan-document-updates). Plan-level progress records ride the plan's next commit or stay only in the canonical record. No separate docs/fixup commit except the standalone `docs(plan)` closing exception. NEVER amend or rewrite planning or implementation history. NEVER change permissions, delete locks or bypass the sandbox to proceed. Stop and report to Orchestrator, who reports to the user.
31
+ - **Preservation rule:** Preserve unrelated staged, unstaged and untracked changes and edit ownership. NEVER automatically stash, reset, clean, unstage, discard, amend or delete branches/worktrees. The only exception is the ARC-owned base worktree under [verification](references/verification.md#test-scope-and-result-comparison), which Orchestrator removes after all final dispositions only if it is still clean. Orchestrator includes completed task progress records and approved pending spec/plan revisions in subsequent accepted commits under [planning](references/planning.md#plan-updates-during-execution), [preparation](references/handoff-prep.md#execution-time-plan-revision) and [commit](references/commit.md#execution-time-plan-document-updates). Plan-level progress records ride the plan's next commit or stay only in the canonical record. No separate docs/fixup commit except the standalone `docs(plan)` closing exception. NEVER amend or rewrite planning or implementation history. NEVER change permissions, delete locks or bypass the sandbox to proceed. Stop and report to Orchestrator, who reports to the user.
32
32
  - **Explicit choice:** Only clear user selection counts, except a recorded Full Auto auto-decision for a gate the installed Run mode permits. Planning approval, silence, refusal of another option and ambiguous replies do not.
33
33
  - **Stop and inspect:** On failure or partial completion, stop dependent work. Record actual path, branch or detached HEAD, HEAD, index, files and completed steps. NEVER automatically retry, fall back or repeat completed work. Revalidate affected gates after resolution.
34
34
  - **Evidence verdict:** Each criterion is proven, unmet or unverified. Passing runs, reports and dispositions never turn unverified into proven. Keep unverified scope visible.
@@ -3,21 +3,21 @@
3
3
  version = 3
4
4
 
5
5
  [roles.arc_scouter]
6
- model = "sonnet"
6
+ model = "opus"
7
7
  effort = "medium"
8
8
 
9
9
  [roles.arc_planner]
10
10
  model = "opus"
11
- effort = "xhigh"
11
+ effort = "medium"
12
12
 
13
13
  [roles.arc_implementer]
14
- model = "sonnet"
15
- effort = "high"
14
+ model = "opus"
15
+ effort = "medium"
16
16
 
17
17
  [roles.arc_qa]
18
- model = "sonnet"
18
+ model = "opus"
19
19
  effort = "medium"
20
20
 
21
21
  [roles.arc_reviewer]
22
22
  model = "opus"
23
- effort = "high"
23
+ effort = "medium"
@@ -145,14 +145,12 @@ Read roles are Scouter, Planner and Reviewer. The table shows which routes the r
145
145
  **Claude**
146
146
 
147
147
  - Approval: No per-call ARC approval gate.
148
- - Detached survival of the verify runner is unverified on a Claude host; use `detach: false` until it is verified.
149
148
  - Target home probe: None.
150
149
  - Desktop: Held as described below.
151
150
 
152
151
  **Codex**
153
152
 
154
153
  - 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`.
155
- - On a Codex host ask for the same escalation approval each time a `verify-*` command (`verify-start`, `verify-status`, `verify-compare`, `verify-rerun`, `verify-cleanup`) runs, because it writes `<git-common-dir>/arc/verify` and the system temporary directory; record an approved call as `sandboxMode: "escalated"`. Detached survival of the verify runner is unverified; use `detach: false` until it is verified.
156
154
  - 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; 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.
157
155
  - Target home probe: None.
158
156
  - Desktop: Held as described below.
@@ -160,7 +158,6 @@ Read roles are Scouter, Planner and Reviewer. The table shows which routes the r
160
158
  **Gemini**
161
159
 
162
160
  - Approval: Hold the host pending live host measurement (GG2). The registry lists `gemini` and `gemini-cli`, but `compositeHost` is off.
163
- - Detached survival of the verify runner is unverified on a Gemini host; use `detach: false`.
164
161
  - Target home probe: See the shared probe rule below. The capability hold applies before the probe.
165
162
  - Desktop: No Desktop value.
166
163
 
@@ -169,7 +166,6 @@ Read roles are Scouter, Planner and Reviewer. The table shows which routes the r
169
166
  GK2 is `approval`.
170
167
 
171
168
  - On a Grok host start the session with `grok --permission-mode default` (ask), keep the platform-default sandbox off, and ask the user for approval each time any runtime command (`routing-status`, `prepare-dispatch`, `run-dispatch`, `observe`, `resume`, `cancel`) runs; NEVER use auto-review, `/auto`, `bypassPermissions`, `--always-approve` or `--yolo`, and DO NOT choose `Always allow`, which saves `permission_mode = "always-approve"` to the Grok config. Spawn with `spawn_subagent` only roles whose route is `native`; Grok can also list Claude `arc-routing-*` profiles, which remain bridge roles. The runtime does not check this approval; asking for it is an Orchestrator obligation. A denied write (for example by a host sandbox) is `host_sandbox_blocked`; ARC does not detect whether the host sandbox is on.
172
- - On a Grok host ask the user for approval the same way each time a `verify-*` command runs. Detached survival of the verify runner is unverified; use `detach: false`.
173
169
  - Target home probe: See the shared probe rule below.
174
170
  - Desktop: No Desktop value.
175
171
 
@@ -92,7 +92,7 @@ After initial document batching, follow [planning](planning.md#plan-updates-duri
92
92
  <a id="verification-brief-inputs"></a>
93
93
  ### Verification brief inputs
94
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). While a background baseline run is still active, the brief MAY cite its `runId` and recording conditions instead of the completed record; the executor's comparison waits for its completion.
95
+ Implementer and QA briefs that assign checks MUST include the approved base revision, the base worktree path and its prerequisite state when one already exists (prepared, or not prepared with the needed commands), the related-test list with reasons and the intermittent-failure isolated rerun limit under [verification](verification.md#test-scope-and-result-comparison). Final verification QA briefs also include the re-changed-file list and the provisional full-regression trigger judgment with reasons, including integration history.
96
96
 
97
97
  <a id="recovery-prerequisite"></a>
98
98
  ### Recovery prerequisite
@@ -19,18 +19,13 @@ Policy, generated-file and manifest checks prove structure, not role behavior, i
19
19
 
20
20
  **Task checks and rechecks** run only tests related to the change: test files that directly exercise a changed module, contract tests that the change requires updating, and the matching check scripts. The brief lists the minimum set; executors MAY add only items in these three categories, each with a reason. Other additions need Orchestrator authorization. Report every selected item and why. This rule takes precedence over the upstream TDD per-task project-suite instruction; upstream text is unchanged. Report every failure observed in any run by name.
21
21
 
22
- **Final verification** runs once after all tasks are accepted: the union of all tasks' related tests, plus all contract tests and all check scripts. Orchestrator runs it directly, not through QA, as a background process where the host supports one, and continues independent work such as assigning the final Reviewer meanwhile. Run it in a clean detached worktree of the verified HEAD commit, prepared with the same prerequisites as the baseline, for example through the runtime [final verification commands](#final-verification-runtime-commands); uncommitted changes MAY be captured as a snapshot commit without changing refs, the index or working files, reporting included and excluded paths. Orchestrator then performs the result comparison below and records the verdict. A new failure from final verification follows Implementer → QA even after the final Reviewer has started; Reviewer evidence for affected files becomes stale and needs a refreshed-diff recheck.
22
+ **Final verification** runs once after all tasks are accepted and committed, as one fresh QA assignment at the verified HEAD of the execution target worktree: all contract tests, all check scripts and the related tests of re-changed files; it does not rerun the union of tests that task QA already passed. A re-changed file is a file that a task's QA verified, as a changed file or a related test file it ran, and that a later commit changed after that task's focused commit (`git diff --name-only <task commit> HEAD`), plus every non-documentation file changed in base..HEAD by a commit that no task QA verified. Orchestrator computes the list and cites it in the brief; QA cross-checks it with read-only `git diff`, MAY add items only within the three categories above with reasons, and reports the reason when the list is empty. QA records `git status --porcelain` at start and end; a state that is not clean is an environment block that holds final verification. While it runs, neither Orchestrator nor any Implementer writes in that workspace; the read-only final Reviewer MAY run concurrently. A new failure from final verification follows Implementer → QA even after the final Reviewer has started; Reviewer evidence for affected files becomes stale and needs a refreshed-diff recheck.
23
23
 
24
- **Full regression** runs once within final verification only if at least one trigger applies: (1) the change modifies a shared module; (2) changes made by others were integrated after the approved base, by merge, rebase onto a newer base or cherry-pick; (3) the change modifies dependency manifests or lockfiles, language or runtime versions, or build or test configuration; (4) the change removes, renames or changes the signature of a public interface such as an exported function, CLI option or configuration key. A shared module is code, configuration, schema, data or generator input that more than one task, role, component or execution or delivery path imports, loads or renders at run time, including its mirrors and generated outputs; documentation read only by people and modules used by a single component are not shared. Decide from actual consumers; when they cannot be determined, treat the module as shared. Planner records a provisional judgment in the plan; Orchestrator decides from the actual final diff and history. If no trigger applies, omit it and report the reason; if applicability cannot be determined, run it. Change size, risk level alone and out-of-scope failures seen during task checks are not triggers; report such failures as findings. Full regression uses the same clean worktree and prerequisites as the baseline.
24
+ **Full regression** runs once within final verification only if at least one trigger applies: (1) the change modifies a shared module; (2) changes made by others were integrated after the approved base, by merge, rebase onto a newer base or cherry-pick; (3) the change modifies dependency manifests or lockfiles, language or runtime versions, or build or test configuration; (4) the change removes, renames or changes the signature of a public interface such as an exported function, CLI option or configuration key. A shared module is code, configuration, schema, data or generator input that more than one task, role, component or execution or delivery path imports, loads or renders at run time, including its mirrors and generated outputs; documentation read only by people and modules used by a single component are not shared. Decide from actual consumers; when they cannot be determined, treat the module as shared. Planner records a provisional judgment in the plan. Orchestrator cites its provisional judgment and reasons, including the integration history for trigger (2), in the final QA brief, and QA independently checks triggers (1), (3) and (4) from the base..HEAD diff and log. If either finds a trigger applies or cannot determine applicability, QA runs it once without further authorization; if no trigger applies, omit it and report the reason. Change size, risk level alone and out-of-scope failures seen during task checks are not triggers; report such failures as findings. Full regression failures follow the base check below.
25
25
 
26
- **Baseline:** Before dependent work, Orchestrator records a baseline at the approved base revision after the prerequisites the checks require (for example build outputs and environment settings): commands, environment, revision and failures by test name, covering every command final verification may run, including the full suite when the provisional trigger judgment is run or undetermined. A file-level load or collection failure without test names marks that file baseline-incomplete; re-record with prerequisites or treat current failures in that file as new candidates. NEVER absorb them as baseline failures. Orchestrator MAY record the baseline in the background in a separate clean worktree immediately after base approval while continuing independent work, but MUST complete it before the result comparison. Record its load (quiet, contended or unknown), and by default DO NOT run baseline and HEAD verification concurrently. Reuse a cached baseline only when every cache key input matches and the cached run was quiet and complete; a missing, unreadable or differing input requires a fresh record, and a contended or unknown baseline serves only the current comparison.
26
+ **Baseline:** No baseline run is recorded in advance, and no base worktree is prepared in advance. QA classifies each failure in two steps. First, a static check against the approved base: task QA, which verifies uncommitted work, uses read-only `git diff --name-only <approved base>` plus the untracked files from `git status --porcelain`; final verification QA uses `git diff --name-only <approved base> HEAD`. QA checks whether the test file, the modules it directly imports or loads, the fixtures or data it reads, or its test configuration changed. If none changed, it is an unrelated failure: report it separately with that evidence; it is not a finding, and Orchestrator dispositions it. Because it rests on the diff, not a run, NEVER report it as a baseline failure. If any changed, or the check cannot decide (for example a dynamic import, a failure without a test name, or a file-level load failure), report the failure as needing a base run, with the changed paths. Second, only for those failures, Orchestrator prepares a clean detached worktree of the approved base revision at `<git-common-dir>/arc/base/<workflow>`, never under a managed worktree directory (such as `.claude/worktrees/`) or inside the execution target worktree, reuses it for that workflow, runs no tests there, and sends its path and prerequisite state (prepared, or not prepared with the needed commands) to the current QA. After all final dispositions Orchestrator removes it only if it is still clean; this ARC-owned base worktree is the only exception to the Preservation rule's worktree-deletion ban, and any other state holds removal for the user. QA runs only those test names alone in the base worktree, for example with Node `--test-name-pattern` or a Python node id. A failure under the same name at base is a baseline failure; a pass at base, or a test or file absent at base, makes it a new failure; a base run that was not performed, was blocked by the environment, failed to load or lacks the name makes it a new-failure candidate. NEVER absorb a candidate as a baseline failure. Check a file-level load or collection failure by loading the same file at base; an identical load failure at base stays a new-failure candidate (same at base) for Orchestrator disposition. If base needs prerequisites or the sandbox prevents running there, QA installs or generates nothing and reports an environment block; Orchestrator then prepares the prerequisites or assigns a separate QA whose workspace is the base worktree. If both are blocked, those failures stay new-failure candidates for Orchestrator disposition. Static checks and base reruns classify failures; they are not intermittency diagnosis.
27
27
 
28
- **Result comparison:** Compare failures with the baseline by test name; only new failures are findings. Report baseline failures separately. Identify tests by name from structured results such as JUnit XML, TAP or a declared line pattern; a failure without a test name, or in a command or file whose results are incomplete, is a new-failure candidate, never a baseline failure. Report intermittent candidates, tests whose outcomes differ across runs with the same inputs, separately from baseline and new failures. Report the slowest files and tests (default ten) for information only. If a failure looks intermittent, rerun only that test in isolation, up to three times unless the brief sets another limit. This is diagnosis, not an automatic retry. Report "passes in isolation: yes/no" and the rerun count. A pass in isolation never erases the original failure; Orchestrator dispositions it. A failure in isolation is a new-failure finding.
29
-
30
- <a id="final-verification-runtime-commands"></a>
31
- ## Final verification runtime commands
32
-
33
- Orchestrator MAY run `node <skill>/runtime/verify-cli.mjs <command> --cwd <workspace> --workflow <id> --input -` with `verify-start`, `verify-status`, `verify-compare`, `verify-rerun` or `verify-cleanup`. The commands reject bridge children, never retry, restart or delete automatically, create worktrees only under the system temporary directory and store records under `<git-common-dir>/arc/verify`. Commands receive only a fixed environment allowlist plus declared `envNames` and command `env`, all of which enter the cache key; declare any other variable a check needs. Use `detach: true` only on a host whose detached-process survival is verified in [coordination](coordination.md); otherwise run with `detach: false`, through the host's own background facility where available. `verify-rerun` runs one isolated attempt per call within the rerun limit, and `verify-cleanup` removes only worktrees the tool created and recorded, on explicit request.
28
+ **Result comparison:** Compare failures by test name; only new failures are findings, and unrelated failures and new-failure candidates need Orchestrator disposition. Report baseline and unrelated failures separately. Identify tests by name from structured results such as JUnit XML, TAP or a declared line pattern; a failure without a test name, or in a command or file whose results are incomplete, is a new-failure candidate, never a baseline failure. Report intermittent candidates, tests whose outcomes differ across runs with the same inputs, separately from baseline and new failures. Report the slowest files and tests (default ten) for information only. If a failure looks intermittent, rerun only that test in isolation at HEAD, up to three times unless the brief sets another limit. This is diagnosis, not an automatic retry. Report "passes in isolation: yes/no" and the rerun count. A pass in isolation never erases the original failure; Orchestrator dispositions it. A failure in isolation is a new-failure finding. For each failure report the test name and file, HEAD command and result, static-check result (changed related paths, or none), base revision, command and result (pass, fail, absent, load-fail or not-run) when a base run was needed, verdict, isolated rerun count and outcome, and environment limits.
34
29
 
35
30
  <a id="risk-scaled-execution"></a>
36
31
  ## Risk-scaled execution