@yunhozz/arc 0.4.5 → 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.
- package/MANIFEST.sha256 +78 -73
- package/README.md +35 -51
- package/claude/agents/arc-implementer.md +2 -2
- package/claude/agents/arc-planner.md +1 -1
- package/claude/agents/arc-qa.md +1 -1
- package/claude/agents/arc-reviewer.md +1 -1
- package/claude/agents/arc-scouter.md +1 -1
- package/claude/skill/references/coordination.md +4 -2
- package/claude/skill/references/handoff-prep.md +5 -0
- package/claude/skill/references/handoff.md +2 -2
- package/claude/skill/references/planning.md +2 -2
- package/claude/skill/references/verification.md +16 -3
- package/claude/skill/references/worktree-creation.md +2 -2
- package/codex/agents/arc-implementer.toml +1 -1
- package/codex/agents/arc-planner.toml +1 -1
- package/codex/agents/arc-qa.toml +1 -1
- package/codex/agents/arc-reviewer.toml +1 -1
- package/codex/agents/arc-scouter.toml +1 -1
- package/codex/skill/references/coordination.md +4 -2
- package/codex/skill/references/handoff-prep.md +5 -0
- package/codex/skill/references/handoff.md +2 -2
- package/codex/skill/references/planning.md +2 -2
- package/codex/skill/references/verification.md +15 -2
- package/gemini/agents/arc-implementer.md +2 -2
- package/gemini/agents/arc-planner.md +1 -1
- package/gemini/agents/arc-qa.md +1 -1
- package/gemini/agents/arc-reviewer.md +1 -1
- package/gemini/agents/arc-scouter.md +1 -1
- package/gemini/skill/references/coordination.md +5 -3
- package/gemini/skill/references/handoff-prep.md +5 -0
- package/gemini/skill/references/handoff.md +2 -2
- package/gemini/skill/references/planning.md +2 -2
- package/gemini/skill/references/verification.md +16 -3
- package/gemini/skill/references/worktree-creation.md +2 -2
- package/grok/agents/arc-implementer.md +2 -2
- package/grok/agents/arc-planner.md +1 -1
- package/grok/agents/arc-qa.md +1 -1
- package/grok/agents/arc-reviewer.md +1 -1
- package/grok/agents/arc-scouter.md +1 -1
- package/grok/skill/references/coordination.md +4 -2
- package/grok/skill/references/handoff-prep.md +5 -0
- package/grok/skill/references/handoff.md +2 -2
- package/grok/skill/references/planning.md +2 -2
- package/grok/skill/references/verification.md +16 -3
- package/grok/skill/references/worktree-creation.md +2 -2
- package/lib/cli/root.mjs +1 -1
- package/lib/management/reapply.mjs +117 -0
- package/lib/management/update.mjs +59 -5
- package/lib/npm/upgrade.mjs +6 -2
- package/lib/policy/role-policy.json +1 -1
- package/lib/prompts/agent-fragments.json +5 -5
- package/lib/runtime/grok-sandbox.mjs +74 -0
- package/lib/runtime/role-bridge.mjs +10 -1
- package/lib/runtime/role-dispatch-policy.mjs +7 -1
- package/lib/runtime/role-observe.mjs +401 -13
- package/lib/runtime/role-routing.mjs +6 -0
- package/lib/runtime/role-supervisor.mjs +285 -33
- package/lib/tui/app.mjs +3 -39
- package/lib/tui/interface.mjs +40 -0
- package/lib/tui/setup.mjs +27 -16
- package/lib/watch/args.mjs +12 -27
- package/lib/watch/dispatch.mjs +2 -2
- package/lib/watch/index.mjs +38 -26
- package/lib/watch/markdown.mjs +232 -0
- package/lib/watch/menu.mjs +43 -0
- package/lib/watch/model.mjs +7 -3
- package/lib/watch/render.mjs +28 -67
- package/lib/watch/scope.mjs +1 -5
- package/lib/watch/status-line.mjs +2 -4
- package/lib/watch/text-width.mjs +43 -0
- package/lib/watch/watcher.mjs +17 -36
- package/package.json +1 -1
- package/shared/skill/runtime/grok-sandbox.mjs +74 -0
- package/shared/skill/runtime/role-bridge.mjs +10 -1
- package/shared/skill/runtime/role-dispatch-policy.mjs +7 -1
- package/shared/skill/runtime/role-observe.mjs +401 -13
- package/shared/skill/runtime/role-policy.json +1 -1
- package/shared/skill/runtime/role-routing.mjs +6 -0
- package/shared/skill/runtime/role-supervisor.mjs +285 -33
package/MANIFEST.sha256
CHANGED
|
@@ -1,82 +1,82 @@
|
|
|
1
|
-
|
|
1
|
+
8d76e932afd22461fb93440d76f7da246deedbdf0c0aa85d97ec19255fa77955 README.md
|
|
2
2
|
d41edeb8c6631dee30c67c705d4edad977aa1631627ec9de59c013f8990f4018 bin/arc-upgrade.mjs
|
|
3
3
|
484d9b2002ce542c87589bb719d644d3762706aad28a6ee010024875f8cc00e2 bin/arc.mjs
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
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
|
-
|
|
12
|
+
2d589bf9dd9c85d4aab6993401b3a458df7890e44e3405208ece01366791a981 claude/skill/references/coordination.md
|
|
13
13
|
1d6745550da04eaf09977026c596fe389ec7a7b6c32ad3970dc958b56b935251 claude/skill/references/git-recovery.md
|
|
14
|
-
|
|
15
|
-
|
|
14
|
+
470ba20240617350880af19352d48dc0d928f75e3b7580831ec5a6849699d518 claude/skill/references/handoff-prep.md
|
|
15
|
+
30a4588a60ce2985b9dc99d26bc484a8f812487b89fb44194baded31af39a8aa claude/skill/references/handoff.md
|
|
16
16
|
bc45488ef644bf0f35fbcbc1a8fe08a0e5d4a964e29807c978aeca5b263fe85e claude/skill/references/limits.md
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
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
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
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
|
-
|
|
30
|
+
3e77b27ac0742756ac44a84f192b0264191be006d47c4a57832412245647e66a codex/skill/references/coordination.md
|
|
31
31
|
c648d9c98c9dee3ecdf7b3a915e69fd67875c6344ee9c4d04cd1de0227a64050 codex/skill/references/git-recovery.md
|
|
32
|
-
|
|
33
|
-
|
|
32
|
+
f6dc54ceceb3a7b1b148af01bb432ca1613874021aff1e146b85e04fb852cdc4 codex/skill/references/handoff-prep.md
|
|
33
|
+
b900bf19e1ee5b76f67600e56c86723254bb6d5a0fe3212409db9cf0aa0592e5 codex/skill/references/handoff.md
|
|
34
34
|
eb70ecc7edcb0c561c497016bb0bb0ba3e9dbace09279087ce1ef683211ab9f4 codex/skill/references/limits.md
|
|
35
|
-
|
|
36
|
-
|
|
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
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
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
|
-
|
|
50
|
+
78ff310e6bcd147730a2233313a2aac98ead94dca619cbb93e84c6559b2e4c5f gemini/skill/references/coordination.md
|
|
51
51
|
ce32077220fa164e5aae50a599776cf9043ac5706add48aae9d3023f3b0d2de1 gemini/skill/references/git-recovery.md
|
|
52
|
-
|
|
53
|
-
|
|
52
|
+
9d0ffe95fe74905f66c265ad3c7879b64da6167adeffcf3abff856f85e5222b1 gemini/skill/references/handoff-prep.md
|
|
53
|
+
4167c2c986c50f4e2084fc1fb21c428863744b501ebf3e29ad5e0e0523edaffd gemini/skill/references/handoff.md
|
|
54
54
|
ed498b757ba29913f63d1d81e00b460070e1bbcd56979399f4f40371ce49b8d0 gemini/skill/references/limits.md
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
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
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
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
|
-
|
|
68
|
+
dbecf94bc24aae9523362f658272d30b5896bbbc83dfd0dd4060db53a5aaf7af grok/skill/references/coordination.md
|
|
69
69
|
24eb5bf7571001c1127d8a2865bba3bb4fd1091942e9a6a3a610e66078d30b23 grok/skill/references/git-recovery.md
|
|
70
|
-
|
|
71
|
-
|
|
70
|
+
bdf1683348ee9a15e780ec26c5fd5f27d40f33ad1bba738de2569b543237e878 grok/skill/references/handoff-prep.md
|
|
71
|
+
41691a592456b3d2991b63315ddca348199e09446407b700f1205ff4abb59da7 grok/skill/references/handoff.md
|
|
72
72
|
fee860cd2eaf243f13e1ba9384200ce779058a6b98b9cf80f4d271710c47e59d grok/skill/references/limits.md
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
140
|
-
|
|
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
|
|
@@ -156,20 +157,20 @@ c73244c65aad793559555f7998adfda5b5c2db2831bdb6420861d3564b31ead2 lib/runtime/ex
|
|
|
156
157
|
5d8e7ac39d5e4e08357ef45579be677f4cb578df6302e2407db669885e1f20d1 lib/runtime/gemini-stream.mjs
|
|
157
158
|
f501815eb8adef4582846cb067973e50fc4ece668aa70ae880803c80f39a07df lib/runtime/git-evidence.mjs
|
|
158
159
|
494470cf70121ddac8d716586b0c05b1f0977f3eada8c0323ed34dc157b0db8e lib/runtime/git-query.mjs
|
|
159
|
-
|
|
160
|
+
ae0998af4fb15181e6a2fdd83c84ee865ad3de49c7088cd2a63abdb45dc65560 lib/runtime/grok-sandbox.mjs
|
|
160
161
|
54caa1114367936e1319ed88e5c3d0120fdba75ac5c2621a6293205d00e8238a lib/runtime/grok-stream.mjs
|
|
161
162
|
44a55959292893f484993eb478ea2a143e908a2a11b88e1fa553525918b694d6 lib/runtime/identity.mjs
|
|
162
163
|
0e452e7241e4fc61c798aa07d3bbc62a475f8e3d7c5eb6b29603febb39cda580 lib/runtime/local-cli.mjs
|
|
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
|
-
|
|
167
|
-
|
|
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
|
-
|
|
170
|
+
990e73b06eb3130c0bc6df1d3be338c8a982bc7da28388166e536ded04a3f122 lib/runtime/role-observe.mjs
|
|
170
171
|
def993a33a56e5c6c8c465a881affdfd70afc8c7192549a3e1a130ed8f2e17b8 lib/runtime/role-routing-config.mjs
|
|
171
|
-
|
|
172
|
-
|
|
172
|
+
209e57c1e316b7bfec2d8f29f9ce707dea6267352fcc76b8a9929145cc45860d lib/runtime/role-routing.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
|
-
|
|
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
|
-
|
|
188
|
+
6de0610602e3222f012624a2ae3beb0db29e5f8dce9e9b40fb8eb3634b977997 lib/tui/setup.mjs
|
|
187
189
|
6d321e2f1502449a1cd3113d7b808715b43d29f58b33fac7acd5e101abe05aa4 lib/tui/terminal.mjs
|
|
188
190
|
74207b1d8116f4f32e1c4f37cd7fc9faa3a2e160b637e2226da538f147eb5629 lib/watch/anchor-store.mjs
|
|
189
|
-
|
|
191
|
+
825013c22b0a15d927a321102bdbcc41769687378292f9f54cfe33fa472cdaeb lib/watch/args.mjs
|
|
190
192
|
52c7a20bbef0452635a3196e838dc4eb3c2d0420d448bbb679d3cb32d6642566 lib/watch/discover-claude.mjs
|
|
191
193
|
05d087b85cd08a9207d8ae36abe00651a94c7a2f3af67140bdd3740acb914f2b lib/watch/discover-codex.mjs
|
|
192
|
-
|
|
194
|
+
035438e3362d01af8069685540b990c3f391ba4a1e4195b9fcec41d6defed90c lib/watch/dispatch.mjs
|
|
193
195
|
ba889a189ac5c555f99034a08b0173b74bca02a3392ad8667a45e1cf5a46a08a lib/watch/git.mjs
|
|
194
|
-
|
|
196
|
+
7722ad38f7924017be178ad6f036b8816f0d76779d842f872cf12e86181c1e62 lib/watch/index.mjs
|
|
195
197
|
2707c6a3825a368650e7333f7e72eae841f21b95afcb7f3918a35ed4caf190cf lib/watch/labels.mjs
|
|
196
|
-
|
|
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
|
-
|
|
201
|
-
|
|
202
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
|
@@ -250,21 +255,21 @@ c73244c65aad793559555f7998adfda5b5c2db2831bdb6420861d3564b31ead2 shared/skill/r
|
|
|
250
255
|
5d8e7ac39d5e4e08357ef45579be677f4cb578df6302e2407db669885e1f20d1 shared/skill/runtime/gemini-stream.mjs
|
|
251
256
|
f501815eb8adef4582846cb067973e50fc4ece668aa70ae880803c80f39a07df shared/skill/runtime/git-evidence.mjs
|
|
252
257
|
494470cf70121ddac8d716586b0c05b1f0977f3eada8c0323ed34dc157b0db8e shared/skill/runtime/git-query.mjs
|
|
253
|
-
|
|
258
|
+
ae0998af4fb15181e6a2fdd83c84ee865ad3de49c7088cd2a63abdb45dc65560 shared/skill/runtime/grok-sandbox.mjs
|
|
254
259
|
54caa1114367936e1319ed88e5c3d0120fdba75ac5c2621a6293205d00e8238a shared/skill/runtime/grok-stream.mjs
|
|
255
260
|
44a55959292893f484993eb478ea2a143e908a2a11b88e1fa553525918b694d6 shared/skill/runtime/identity.mjs
|
|
256
261
|
0e452e7241e4fc61c798aa07d3bbc62a475f8e3d7c5eb6b29603febb39cda580 shared/skill/runtime/local-cli.mjs
|
|
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
|
-
|
|
261
|
-
|
|
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
|
-
|
|
264
|
-
|
|
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
|
-
|
|
267
|
-
|
|
271
|
+
209e57c1e316b7bfec2d8f29f9ce707dea6267352fcc76b8a9929145cc45860d shared/skill/runtime/role-routing.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
|
|
3
|
+
ARC coordinates scoped roles, handoffs, and verification in Claude Code, Codex, Gemini CLI, and Grok CLI.
|
|
4
4
|
|
|
5
5
|

|
|
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
|
-
|
|
|
23
|
-
|
|
|
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
|
-
|
|
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
|
-
|
|
|
29
|
+
| Menu | Action |
|
|
39
30
|
|---|---|
|
|
40
|
-
| Configure |
|
|
41
|
-
| Status |
|
|
42
|
-
| Uninstall |
|
|
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 |
|
|
35
|
+
| Mode | Meaning |
|
|
45
36
|
|---|---|
|
|
46
|
-
| Standalone |
|
|
47
|
-
| Mixed
|
|
48
|
-
| Unverified |
|
|
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
|
-
|
|
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 |
|
|
45
|
+
| Visibility | Events |
|
|
55
46
|
|---|---|
|
|
56
|
-
| Shown |
|
|
57
|
-
| Hidden | Tool
|
|
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
|
|
71
|
-
| Catalogs |
|
|
72
|
-
| Language |
|
|
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
|
|
61
|
+
## Platform support
|
|
75
62
|
|
|
76
|
-
| Platform | Host
|
|
77
|
-
|
|
78
|
-
| Claude | Yes |
|
|
79
|
-
| Codex | Yes |
|
|
80
|
-
| Gemini |
|
|
81
|
-
| Grok |
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
-
|
|
94
|
-
-
|
|
95
|
-
-
|
|
96
|
-
-
|
|
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) · [
|
|
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 →
|
|
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]
|
package/claude/agents/arc-qa.md
CHANGED
|
@@ -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,9 +176,11 @@ 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 (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
|
+
|
|
179
181
|
**Claude**
|
|
180
182
|
|
|
181
|
-
- Writing roles: Claude bridge `arc_implementer` and `arc_qa` run with recorded sandbox settings on every host and are held as `permission_scope_unverified`
|
|
183
|
+
- Writing roles: Claude bridge `arc_implementer` and `arc_qa` run with recorded sandbox settings on every host and are held as `permission_scope_unverified` when an injected G1 fails or settings are missing (G1). Claude Implementer/QA bridges also deny writes under `.git` (permission rules and sandbox `denyWrite`), and are held as `permission_scope_unverified` when the worktree `.claude/settings.json` or `.claude/settings.local.json` would widen their scope (additional directories, allow rules for tools outside the safe list (Bash, Read, Grep, Glob, WebFetch, WebSearch), hooks, sandbox or defaultMode).
|
|
182
184
|
- Permission claim: Compare the `init` event with the expected tools and permission mode. If `init` is missing, the `permissions` claim is `unverified`. If the tools or permission mode differ, the claim is `unverified` and the reason is `permission_scope_mismatch`.
|
|
183
185
|
- Delegation: Role instructions forbid re-delegation. Claude children expose no Task tool. Apply the shared child guard below.
|
|
184
186
|
- Execution confirmation: Check the stream session identity and model, transcript effort, and the observed terminal result.
|
|
@@ -215,7 +217,7 @@ GK2 is `approval`.
|
|
|
215
217
|
- Active bridge dispatches block publishing the composite configuration (`Active bridge dispatches: <ids>`); finish or cancel them first. Native leases do not block.
|
|
216
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.
|
|
217
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.
|
|
218
|
-
- Post-run detection compares the changed paths, `HEAD`, the branch and every Git ref.
|
|
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.
|
|
219
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.
|
|
220
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.
|
|
221
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
|
|