agentxchain 2.127.0 → 2.129.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +7 -2
- package/bin/agentxchain.js +44 -4
- package/package.json +1 -1
- package/scripts/verify-post-publish.sh +55 -5
- package/src/commands/connector.js +17 -2
- package/src/commands/doctor.js +122 -1
- package/src/commands/events.js +7 -1
- package/src/commands/init.js +55 -14
- package/src/commands/inject.js +1 -1
- package/src/commands/mission.js +142 -0
- package/src/commands/reissue-turn.js +122 -0
- package/src/commands/reject-turn.js +24 -4
- package/src/commands/restart.js +9 -2
- package/src/commands/resume.js +20 -9
- package/src/commands/run.js +13 -0
- package/src/commands/status.js +46 -4
- package/src/commands/step.js +49 -10
- package/src/commands/validate.js +78 -20
- package/src/lib/adapters/local-cli-adapter.js +7 -1
- package/src/lib/cli-version.js +106 -0
- package/src/lib/connector-probe.js +149 -6
- package/src/lib/continuous-run.js +14 -86
- package/src/lib/dispatch-bundle.js +39 -0
- package/src/lib/governed-state.js +474 -10
- package/src/lib/governed-templates.js +1 -0
- package/src/lib/intake.js +221 -77
- package/src/lib/missions.js +56 -4
- package/src/lib/normalized-config.js +50 -15
- package/src/lib/repo-observer.js +7 -2
- package/src/lib/run-events.js +4 -0
- package/src/lib/run-loop.js +5 -0
- package/src/lib/runner-interface.js +2 -0
- package/src/lib/session-checkpoint.js +18 -2
- package/src/templates/governed/full-local-cli.json +71 -0
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "full-local-cli",
|
|
3
|
+
"display_name": "Full Local CLI",
|
|
4
|
+
"description": "Human-gated automation pattern with PM, Dev, QA, and Director all running as authoritative local_cli roles.",
|
|
5
|
+
"version": "1",
|
|
6
|
+
"protocol_compatibility": ["1.0", "1.1"],
|
|
7
|
+
"planning_artifacts": [],
|
|
8
|
+
"system_spec_overlay": {
|
|
9
|
+
"purpose_guidance": "Describe the repo as a human-gated all-local automation system. Clarify that PM, Dev, QA, and Engineering Director execute through local CLI runtimes while humans retain approval authority at phase and completion gates.",
|
|
10
|
+
"interface_guidance": "Document the governed operator boundary: which local CLI runtimes are expected, how prompts are delivered, and which approvals remain human-gated even though all core roles are automated.",
|
|
11
|
+
"behavior_guidance": "Explain the dispatch rhythm for authoritative local CLI turns, the clean-working-tree requirement between accepted automated turns, and how injected intents or reissued turns change the next dispatch charter.",
|
|
12
|
+
"error_cases_guidance": "Call out weak authority flags, stale runtime bindings, dirty-baseline failures, and post-dispatch drift as first-class operational risks for this template.",
|
|
13
|
+
"acceptance_tests_guidance": "- [ ] PM, Dev, QA, and Engineering Director all bind to authoritative local_cli runtimes\n- [ ] Human approval remains required for phase transitions and run completion\n- [ ] Operator docs include the clean-tree checkpoint rule between accepted automated turns\n- [ ] Connector validation confirms the downstream CLI authority mode is strong enough for unattended governed execution"
|
|
14
|
+
},
|
|
15
|
+
"prompt_overrides": {},
|
|
16
|
+
"acceptance_hints": [],
|
|
17
|
+
"scaffold_blueprint": {
|
|
18
|
+
"roles": {
|
|
19
|
+
"pm": {
|
|
20
|
+
"title": "Product Manager",
|
|
21
|
+
"mandate": "Protect user value, scope clarity, and acceptance criteria.",
|
|
22
|
+
"write_authority": "authoritative",
|
|
23
|
+
"runtime": "local-pm"
|
|
24
|
+
},
|
|
25
|
+
"dev": {
|
|
26
|
+
"title": "Developer",
|
|
27
|
+
"mandate": "Implement approved work safely and verify behavior.",
|
|
28
|
+
"write_authority": "authoritative",
|
|
29
|
+
"runtime": "local-dev"
|
|
30
|
+
},
|
|
31
|
+
"qa": {
|
|
32
|
+
"title": "QA",
|
|
33
|
+
"mandate": "Challenge correctness, acceptance coverage, and ship readiness.",
|
|
34
|
+
"write_authority": "authoritative",
|
|
35
|
+
"runtime": "local-qa"
|
|
36
|
+
},
|
|
37
|
+
"eng_director": {
|
|
38
|
+
"title": "Engineering Director",
|
|
39
|
+
"mandate": "Resolve tactical deadlocks and enforce technical coherence.",
|
|
40
|
+
"write_authority": "authoritative",
|
|
41
|
+
"runtime": "local-director"
|
|
42
|
+
}
|
|
43
|
+
},
|
|
44
|
+
"runtimes": {
|
|
45
|
+
"local-pm": {
|
|
46
|
+
"type": "local_cli",
|
|
47
|
+
"command": ["claude", "--print", "--dangerously-skip-permissions"],
|
|
48
|
+
"cwd": ".",
|
|
49
|
+
"prompt_transport": "stdin"
|
|
50
|
+
},
|
|
51
|
+
"local-dev": {
|
|
52
|
+
"type": "local_cli",
|
|
53
|
+
"command": ["claude", "--print", "--dangerously-skip-permissions"],
|
|
54
|
+
"cwd": ".",
|
|
55
|
+
"prompt_transport": "stdin"
|
|
56
|
+
},
|
|
57
|
+
"local-qa": {
|
|
58
|
+
"type": "local_cli",
|
|
59
|
+
"command": ["claude", "--print", "--dangerously-skip-permissions"],
|
|
60
|
+
"cwd": ".",
|
|
61
|
+
"prompt_transport": "stdin"
|
|
62
|
+
},
|
|
63
|
+
"local-director": {
|
|
64
|
+
"type": "local_cli",
|
|
65
|
+
"command": ["claude", "--print", "--dangerously-skip-permissions"],
|
|
66
|
+
"cwd": ".",
|
|
67
|
+
"prompt_transport": "stdin"
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
}
|