ace-swarm 2.0.6 → 2.1.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/CHANGELOG.md +58 -0
- package/README.md +221 -245
- package/assets/.agents/skills/landing-review-watcher/SKILL.md +68 -0
- package/assets/.agents/skills/problem-triage/SKILL.md +57 -0
- package/assets/.agents/skills/problem-triage/agents/openai.yaml +3 -0
- package/assets/.agents/skills/skill-auditor/SKILL.md +52 -0
- package/assets/.github/hooks/ace-copilot.json +68 -0
- package/assets/agent-state/ACE_WORKFLOW.md +66 -0
- package/assets/agent-state/INTERFACE_REGISTRY.md +50 -0
- package/assets/agent-state/MODULES/gates/gate-typescript-public-surface.json +7 -0
- package/assets/agent-state/MODULES/registry.json +10 -2
- package/assets/agent-state/MODULES/schemas/ACE_RUNTIME_PROFILE.schema.json +210 -0
- package/assets/agent-state/MODULES/schemas/RUNTIME_EXECUTOR_SESSION_REGISTRY.schema.json +290 -0
- package/assets/agent-state/MODULES/schemas/RUNTIME_TOOL_SPEC_REGISTRY.schema.json +144 -0
- package/assets/agent-state/MODULES/schemas/TRACKER_SNAPSHOT.schema.json +134 -0
- package/assets/agent-state/MODULES/schemas/VERICIFY_BRIDGE_SNAPSHOT.schema.json +157 -0
- package/assets/agent-state/MODULES/schemas/VERICIFY_PROCESS_POST_LOG.schema.json +92 -0
- package/assets/agent-state/MODULES/schemas/WORKSPACE_SESSION_REGISTRY.schema.json +133 -0
- package/assets/agent-state/SKILL_CATALOG.md +48 -0
- package/assets/agent-state/runtime-executor-sessions.json +5 -0
- package/assets/agent-state/runtime-tool-specs.json +5 -0
- package/assets/agent-state/runtime-workspaces.json +5 -0
- package/assets/agent-state/tracker-snapshot.json +7 -0
- package/assets/agent-state/vericify/ace-bridge.json +60 -0
- package/assets/agent-state/vericify/process-posts.json +5 -0
- package/assets/scripts/copilot-hook-dispatch.mjs +267 -0
- package/dist/helpers.d.ts.map +1 -1
- package/dist/helpers.js +284 -1
- package/dist/helpers.js.map +1 -1
- package/dist/problem-triage.d.ts +23 -0
- package/dist/problem-triage.d.ts.map +1 -0
- package/dist/problem-triage.js +429 -0
- package/dist/problem-triage.js.map +1 -0
- package/dist/prompts.d.ts.map +1 -1
- package/dist/prompts.js +46 -0
- package/dist/prompts.js.map +1 -1
- package/dist/public-surface.d.ts +30 -0
- package/dist/public-surface.d.ts.map +1 -0
- package/dist/public-surface.js +310 -0
- package/dist/public-surface.js.map +1 -0
- package/dist/resources.d.ts.map +1 -1
- package/dist/resources.js +148 -0
- package/dist/resources.js.map +1 -1
- package/dist/runtime-command.d.ts +18 -0
- package/dist/runtime-command.d.ts.map +1 -0
- package/dist/runtime-command.js +76 -0
- package/dist/runtime-command.js.map +1 -0
- package/dist/runtime-executor.d.ts +104 -0
- package/dist/runtime-executor.d.ts.map +1 -0
- package/dist/runtime-executor.js +774 -0
- package/dist/runtime-executor.js.map +1 -0
- package/dist/runtime-profile.d.ts +98 -0
- package/dist/runtime-profile.d.ts.map +1 -0
- package/dist/runtime-profile.js +441 -0
- package/dist/runtime-profile.js.map +1 -0
- package/dist/runtime-tool-specs.d.ts +68 -0
- package/dist/runtime-tool-specs.d.ts.map +1 -0
- package/dist/runtime-tool-specs.js +424 -0
- package/dist/runtime-tool-specs.js.map +1 -0
- package/dist/schemas.d.ts +6 -0
- package/dist/schemas.d.ts.map +1 -1
- package/dist/schemas.js +305 -0
- package/dist/schemas.js.map +1 -1
- package/dist/shared.d.ts +36 -3
- package/dist/shared.d.ts.map +1 -1
- package/dist/shared.js +36 -3
- package/dist/shared.js.map +1 -1
- package/dist/skill-auditor.d.ts +26 -0
- package/dist/skill-auditor.d.ts.map +1 -0
- package/dist/skill-auditor.js +184 -0
- package/dist/skill-auditor.js.map +1 -0
- package/dist/skill-catalog.d.ts +60 -0
- package/dist/skill-catalog.d.ts.map +1 -0
- package/dist/skill-catalog.js +263 -0
- package/dist/skill-catalog.js.map +1 -0
- package/dist/status-events.d.ts.map +1 -1
- package/dist/status-events.js +51 -8
- package/dist/status-events.js.map +1 -1
- package/dist/tools-agent.d.ts.map +1 -1
- package/dist/tools-agent.js +869 -0
- package/dist/tools-agent.js.map +1 -1
- package/dist/tools-files.d.ts.map +1 -1
- package/dist/tools-files.js +212 -1
- package/dist/tools-files.js.map +1 -1
- package/dist/tools-framework.d.ts.map +1 -1
- package/dist/tools-framework.js +86 -0
- package/dist/tools-framework.js.map +1 -1
- package/dist/tools-skills.d.ts +3 -0
- package/dist/tools-skills.d.ts.map +1 -0
- package/dist/tools-skills.js +104 -0
- package/dist/tools-skills.js.map +1 -0
- package/dist/tools.d.ts.map +1 -1
- package/dist/tools.js +2 -0
- package/dist/tools.js.map +1 -1
- package/dist/tracker-adapters.d.ts +74 -0
- package/dist/tracker-adapters.d.ts.map +1 -0
- package/dist/tracker-adapters.js +777 -0
- package/dist/tracker-adapters.js.map +1 -0
- package/dist/tracker-sync.d.ts +10 -0
- package/dist/tracker-sync.d.ts.map +1 -0
- package/dist/tracker-sync.js +84 -0
- package/dist/tracker-sync.js.map +1 -0
- package/dist/vericify-bridge.d.ts +142 -0
- package/dist/vericify-bridge.d.ts.map +1 -0
- package/dist/vericify-bridge.js +481 -0
- package/dist/vericify-bridge.js.map +1 -0
- package/dist/workspace-manager.d.ts +103 -0
- package/dist/workspace-manager.d.ts.map +1 -0
- package/dist/workspace-manager.js +526 -0
- package/dist/workspace-manager.js.map +1 -0
- package/package.json +3 -2
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
This changelog is based on local tagged release history and repository diffs.
|
|
4
|
+
|
|
5
|
+
## [2.1.0] - 2026-03-13
|
|
6
|
+
|
|
7
|
+
### Changed
|
|
8
|
+
|
|
9
|
+
- Rewrote the package README into a tighter operator-facing format with ASCII system maps and compact internal tables.
|
|
10
|
+
- Added a recent-release summary to the README so the last three versions remain visible without turning the README into a full changelog.
|
|
11
|
+
|
|
12
|
+
### Added
|
|
13
|
+
|
|
14
|
+
- Added `CHANGELOG.md` to track tagged package release notes directly in the package.
|
|
15
|
+
|
|
16
|
+
### Packaging
|
|
17
|
+
|
|
18
|
+
- Bumped package version from `2.0.7` to `2.1.0`.
|
|
19
|
+
|
|
20
|
+
## [2.0.7] - 2026-03-13
|
|
21
|
+
|
|
22
|
+
### Added
|
|
23
|
+
|
|
24
|
+
- Added runtime profile, runtime command, runtime executor, and runtime tool spec surfaces.
|
|
25
|
+
- Added tracker adapters and tracker snapshot synchronization.
|
|
26
|
+
- Added workspace-manager and Vericify bridge surfaces.
|
|
27
|
+
- Added problem triage, skill auditor, skill catalog, and public-surface audit modules.
|
|
28
|
+
- Added VS Code Copilot hook scaffolding and new packaged runtime/state schema assets.
|
|
29
|
+
|
|
30
|
+
### Validation
|
|
31
|
+
|
|
32
|
+
- Added broad new test coverage for runtime execution, tracker adapters, workspace management, problem triage, skill auditing, public surface checks, Vericify bridge behavior, and Copilot hook dispatch.
|
|
33
|
+
|
|
34
|
+
## [2.0.6] - 2026-03-10
|
|
35
|
+
|
|
36
|
+
### Fixed
|
|
37
|
+
|
|
38
|
+
- Hardened bootstrap workspace path handling in `src/helpers.ts`.
|
|
39
|
+
- Updated `assets/scripts/bootstrap-workspace.sh` to align with the fixed workspace bootstrap path flow.
|
|
40
|
+
|
|
41
|
+
### Validation
|
|
42
|
+
|
|
43
|
+
- Added integration coverage for workspace bootstrap behavior.
|
|
44
|
+
|
|
45
|
+
## [2.0.5] - 2026-03-10
|
|
46
|
+
|
|
47
|
+
### Added
|
|
48
|
+
|
|
49
|
+
- Added packaged `ARTIFACT_MANIFEST.json`.
|
|
50
|
+
- Expanded artifact-manifest and provenance-related schema coverage.
|
|
51
|
+
|
|
52
|
+
### Changed
|
|
53
|
+
|
|
54
|
+
- Tightened framework/file tool handling around artifact manifests and provenance enforcement.
|
|
55
|
+
|
|
56
|
+
### Validation
|
|
57
|
+
|
|
58
|
+
- Added integration and schema tests for the artifact-manifest path.
|
package/README.md
CHANGED
|
@@ -1,307 +1,283 @@
|
|
|
1
1
|
# ACE Swarm MCP Server
|
|
2
2
|
|
|
3
|
-
ACE Swarm
|
|
3
|
+
ACE Swarm is an MCP server and terminal-first CLI for durable agent orchestration.
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
It turns agent workflows into a local control plane with explicit state, handoffs, locks, diffs, runtime profiles, and operator tooling.
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
## System Map
|
|
8
8
|
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
9
|
+
```text
|
|
10
|
+
ACE Swarm
|
|
11
|
+
|
|
|
12
|
+
+-- bootstrap
|
|
13
|
+
| +-- `ace init` / `ace turnkey`
|
|
14
|
+
| +-- workspace scaffolding
|
|
15
|
+
| `-- MCP client config bundle
|
|
16
|
+
|
|
|
17
|
+
+-- control plane
|
|
18
|
+
| +-- agents
|
|
19
|
+
| | +-- swarm: orchestrator, vos, ui, coders
|
|
20
|
+
| | `-- composable: skeptic, ops, research, spec, builder, qa, docs, ...
|
|
21
|
+
| +-- contracts
|
|
22
|
+
| | +-- prompts
|
|
23
|
+
| | +-- schemas
|
|
24
|
+
| | `-- handoff templates
|
|
25
|
+
| +-- runtime state
|
|
26
|
+
| | +-- run ledger
|
|
27
|
+
| | +-- todo state
|
|
28
|
+
| | +-- handoff registry
|
|
29
|
+
| | +-- status events
|
|
30
|
+
| | +-- job queue
|
|
31
|
+
| | +-- lock table
|
|
32
|
+
| | `-- scheduler lease
|
|
33
|
+
| `-- dispatch
|
|
34
|
+
| +-- immediate scheduling
|
|
35
|
+
| +-- priority bands
|
|
36
|
+
| +-- persistent resource locks
|
|
37
|
+
| `-- recovery semantics
|
|
38
|
+
|
|
|
39
|
+
+-- change intelligence
|
|
40
|
+
| +-- workspace delta scan
|
|
41
|
+
| +-- semantic snapshots
|
|
42
|
+
| +-- semantic diff / drift report
|
|
43
|
+
| +-- rewrite targets
|
|
44
|
+
| `-- safe edit rollback
|
|
45
|
+
|
|
|
46
|
+
`-- operator surface
|
|
47
|
+
+-- MCP server on stdio
|
|
48
|
+
`-- TUI: chat, tabs, telemetry, provider-aware runtime
|
|
13
49
|
```
|
|
14
50
|
|
|
15
|
-
|
|
51
|
+
## Quick Start
|
|
16
52
|
|
|
17
|
-
```
|
|
18
|
-
|
|
19
|
-
#
|
|
20
|
-
|
|
53
|
+
```text
|
|
54
|
+
+----+-----------------------------------------------+-----------------------------------------------+
|
|
55
|
+
| # | Command | Result |
|
|
56
|
+
+----+-----------------------------------------------+-----------------------------------------------+
|
|
57
|
+
| 1 | npx -y ace-swarm turnkey --project "My Proj" | Seeds workspace state, agents, skills, tasks |
|
|
58
|
+
| 2 | ace mcp | Starts the MCP server over stdio |
|
|
59
|
+
| 3 | initiate ACE | Kicks off the ACE workflow in your MCP host |
|
|
60
|
+
+----+-----------------------------------------------+-----------------------------------------------+
|
|
21
61
|
```
|
|
22
62
|
|
|
23
|
-
|
|
63
|
+
## Recent Releases
|
|
24
64
|
|
|
25
|
-
```
|
|
26
|
-
|
|
65
|
+
```text
|
|
66
|
+
+---------+------------+------------------------------------------------------+
|
|
67
|
+
| Version | Date | Highlights |
|
|
68
|
+
+---------+------------+------------------------------------------------------+
|
|
69
|
+
| 2.1.0 | 2026-03-13 | README redesign, ASCII docs, packaged changelog |
|
|
70
|
+
| 2.0.7 | 2026-03-13 | runtime executor/profile/tools, trackers, workspace |
|
|
71
|
+
| 2.0.6 | 2026-03-10 | bootstrap/workspace helper hardening |
|
|
72
|
+
+---------+------------+------------------------------------------------------+
|
|
27
73
|
```
|
|
28
74
|
|
|
29
|
-
|
|
75
|
+
See [CHANGELOG.md](./CHANGELOG.md) for the recent tagged release history that can be verified from the local repository.
|
|
30
76
|
|
|
31
|
-
|
|
77
|
+
## Core Surfaces
|
|
32
78
|
|
|
33
|
-
```
|
|
34
|
-
|
|
79
|
+
```text
|
|
80
|
+
+------------------+------------------------------------------+--------------------------------------------------+
|
|
81
|
+
| Surface | Internals | Public entrypoints |
|
|
82
|
+
+------------------+------------------------------------------+--------------------------------------------------+
|
|
83
|
+
| Bootstrap | workspace state, tasks, configs | `ace init`, `ace turnkey`, `ace mcp-config` |
|
|
84
|
+
| Agent runtime | swarm + composable roles | MCP server, TUI `/agent`, packaged agent assets |
|
|
85
|
+
| Durable state | ledgers, TODOs, handoffs, status events | runtime stores under `agent-state/*` |
|
|
86
|
+
| Dispatch | queue, lock table, lease, recovery | `enqueue_job`, `dispatch_jobs`, `complete_job` |
|
|
87
|
+
| Change analysis | delta scan, semantic diff, rewrite hints | `scan_workspace_delta`, `semantic_diff`, etc. |
|
|
88
|
+
| Operator UI | tabs, chat, telemetry, model switching | `ace tui` |
|
|
89
|
+
+------------------+------------------------------------------+--------------------------------------------------+
|
|
35
90
|
```
|
|
36
91
|
|
|
37
|
-
|
|
92
|
+
## Workspace Internals
|
|
38
93
|
|
|
39
|
-
```
|
|
40
|
-
|
|
94
|
+
```text
|
|
95
|
+
+----------------------------------+--------------------------------------------------+
|
|
96
|
+
| Path | What lives there |
|
|
97
|
+
+----------------------------------+--------------------------------------------------+
|
|
98
|
+
| `agent-state/run-ledger.json` | major updates, regressions, runtime history |
|
|
99
|
+
| `agent-state/todo-state.json` | TODO nodes, dependencies, transition truth |
|
|
100
|
+
| `agent-state/handoff-registry.json` | handoff lifecycle state |
|
|
101
|
+
| `agent-state/STATUS_EVENTS.ndjson` | append-only lifecycle/status event log |
|
|
102
|
+
| `agent-state/job-queue.json` | queued work with dependency and priority metadata |
|
|
103
|
+
| `agent-state/job-locks.json` | active resource lock table |
|
|
104
|
+
| `agent-state/scheduler-lease.json` | active dispatcher owner and lease state |
|
|
105
|
+
| `agent-state/index.json` | workspace delta index |
|
|
106
|
+
| `.tmp/cache/semantic/*` | semantic snapshots and diff cache |
|
|
107
|
+
| `.ace/llm-profile.json` | local runtime profile when configured |
|
|
108
|
+
+----------------------------------+--------------------------------------------------+
|
|
41
109
|
```
|
|
42
110
|
|
|
43
|
-
|
|
111
|
+
## Change And Safety Internals
|
|
44
112
|
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
npx -y ace-swarm turnkey --project "My Project" --llm ollama --model llama3.1:8b
|
|
113
|
+
```text
|
|
114
|
+
+-------------------------+----------------------------------------------+
|
|
115
|
+
| Capability | Current surface |
|
|
116
|
+
+-------------------------+----------------------------------------------+
|
|
117
|
+
| Coarse workspace diff | `scan_workspace_delta` |
|
|
118
|
+
| Semantic snapshot | `snapshot_state` |
|
|
119
|
+
| Semantic diff | `semantic_diff` |
|
|
120
|
+
| Drift gate | `drift_report` |
|
|
121
|
+
| Rewrite targeting | `rewrite_targets` |
|
|
122
|
+
| Exact diff summary | `diff_files`, `git_diff` |
|
|
123
|
+
| Safe write + rollback | `safe_edit_file` |
|
|
124
|
+
+-------------------------+----------------------------------------------+
|
|
58
125
|
```
|
|
59
126
|
|
|
60
|
-
|
|
127
|
+
## CLI
|
|
61
128
|
|
|
62
|
-
```
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
129
|
+
```text
|
|
130
|
+
+---------------------------------------------+----------------------------------------------+
|
|
131
|
+
| Command | Purpose |
|
|
132
|
+
+---------------------------------------------+----------------------------------------------+
|
|
133
|
+
| `ace mcp` / `ace serve` | start MCP server over stdio |
|
|
134
|
+
| `ace tui [options]` | launch terminal operator console |
|
|
135
|
+
| `ace init [options]` | bootstrap ACE files into current workspace |
|
|
136
|
+
| `ace turnkey [options]` | bootstrap + client config bundle |
|
|
137
|
+
| `ace doctor [options]` | validate local LLM + MCP readiness |
|
|
138
|
+
| `ace mcp-config [--client <name>|--all]` | print one or all MCP client snippets |
|
|
139
|
+
| `ace paths` | show resolved package and workspace paths |
|
|
140
|
+
+---------------------------------------------+----------------------------------------------+
|
|
66
141
|
```
|
|
67
142
|
|
|
68
|
-
|
|
143
|
+
### Key Options
|
|
69
144
|
|
|
70
|
-
```
|
|
71
|
-
|
|
72
|
-
|
|
145
|
+
```text
|
|
146
|
+
+-------------------------------+---------------------------------------------+
|
|
147
|
+
| Command group | Options |
|
|
148
|
+
+-------------------------------+---------------------------------------------+
|
|
149
|
+
| `init` / `turnkey` | `--project`, `--force`, `--no-mcp-config` |
|
|
150
|
+
| | `--no-client-config-bundle` |
|
|
151
|
+
| | `--llm`, `--model`, `--ollama-url` |
|
|
152
|
+
| `tui` | `--provider`, `--model`, `--ollama-url` |
|
|
153
|
+
| `doctor` | `--llm`, `--model`, `--ollama-url` |
|
|
154
|
+
+-------------------------------+---------------------------------------------+
|
|
73
155
|
```
|
|
74
156
|
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
- `.ace/llm-profile.json`
|
|
78
|
-
- `.ace/doctor-checks.md`
|
|
79
|
-
|
|
80
|
-
Rollout status:
|
|
81
|
-
|
|
82
|
-
- `P0`: `init/turnkey` supports `--llm ollama --model --ollama-url`.
|
|
83
|
-
- `P1`: `ace doctor` validates MCP config, Ollama endpoint, and model presence.
|
|
84
|
-
- `P2`: MCP `bootstrap_state` supports `llm_provider`, `ollama_model`, `ollama_base_url`.
|
|
85
|
-
|
|
86
|
-
## Client Compatibility
|
|
157
|
+
## TUI
|
|
87
158
|
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
159
|
+
```text
|
|
160
|
+
+----------------------+----------------------------------------------+
|
|
161
|
+
| Command | Description |
|
|
162
|
+
+----------------------+----------------------------------------------+
|
|
163
|
+
| `/provider [name]` | show or switch active provider |
|
|
164
|
+
| `/providers` | list discovered providers |
|
|
165
|
+
| `/models` | list available models |
|
|
166
|
+
| `/model <name>` | switch active model |
|
|
167
|
+
| `/pull <name>` | download an Ollama model |
|
|
168
|
+
| `/ollama` | show Ollama connection status |
|
|
169
|
+
| `/agent <role>` | launch a subagent tab |
|
|
170
|
+
| `/agents` | list agent roles and status |
|
|
171
|
+
| `/status` | show orchestrator status |
|
|
172
|
+
| `/chat` | open a chat tab |
|
|
173
|
+
| `/logs` | open logs tab |
|
|
174
|
+
| `/help` | list commands |
|
|
175
|
+
| `/quit` | exit the TUI |
|
|
176
|
+
+----------------------+----------------------------------------------+
|
|
177
|
+
```
|
|
97
178
|
|
|
98
|
-
```
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
179
|
+
```text
|
|
180
|
+
+----------------------+----------------------------------------------+
|
|
181
|
+
| Shortcut | Action |
|
|
182
|
+
+----------------------+----------------------------------------------+
|
|
183
|
+
| `Alt+1-9` | switch tabs |
|
|
184
|
+
| `Tab` / `Shift+Tab` | cycle tabs |
|
|
185
|
+
| `Ctrl+N` | new chat |
|
|
186
|
+
| `Ctrl+R` | refresh |
|
|
187
|
+
| `Ctrl+D` | quit |
|
|
188
|
+
+----------------------+----------------------------------------------+
|
|
102
189
|
```
|
|
103
190
|
|
|
104
|
-
|
|
191
|
+
Provider notes:
|
|
105
192
|
|
|
106
|
-
-
|
|
107
|
-
- `
|
|
108
|
-
-
|
|
109
|
-
- `cursor`: `~/.cursor/mcp.json`
|
|
110
|
-
- `antigravity`: import/use `.mcp-config/antigravity.mcp.json` from the client MCP settings UI
|
|
193
|
+
- Ollama works directly through `ace tui`.
|
|
194
|
+
- OpenAI-compatible providers use `OPENAI_API_KEY` and optional `OPENAI_BASE_URL`, or provider-scoped equivalents such as `CODEX_API_KEY` and `CODEX_BASE_URL`.
|
|
195
|
+
- VS Code Copilot model hints may appear in discovery, but the standalone TUI does not directly execute through the VS Code chat runtime without an extension-side bridge.
|
|
111
196
|
|
|
112
|
-
##
|
|
197
|
+
## Bootstrap Outputs
|
|
113
198
|
|
|
114
|
-
```
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
ace
|
|
199
|
+
```text
|
|
200
|
+
+----------------------------------+----------------------------------------------+
|
|
201
|
+
| Path | Output |
|
|
202
|
+
+----------------------------------+----------------------------------------------+
|
|
203
|
+
| `agent-state/*` | state, ledgers, schemas, reports |
|
|
204
|
+
| `.agents/ACE/*` | packaged agent instructions |
|
|
205
|
+
| `.agents/skills/*` | packaged skills |
|
|
206
|
+
| `tasks/*` | task packs, examples, handoff templates |
|
|
207
|
+
| `scripts/ace/*` | helper scripts |
|
|
208
|
+
| `.vscode/mcp.json` | VS Code MCP config |
|
|
209
|
+
| `.mcp-config/*` | Codex / VS Code / Claude / Cursor / Antigravity |
|
|
210
|
+
| `.github/hooks/*.json` | optional workspace hook policies |
|
|
211
|
+
+----------------------------------+----------------------------------------------+
|
|
123
212
|
```
|
|
124
213
|
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
Launch a full-screen terminal dashboard with provider-aware model chat, agent tabs, telemetry, and task tracking:
|
|
214
|
+
Local-model bootstrap:
|
|
128
215
|
|
|
129
216
|
```bash
|
|
130
|
-
ace
|
|
131
|
-
|
|
217
|
+
npx -y ace-swarm turnkey --project "My Project" --llm ollama --model llama3.1:8b
|
|
218
|
+
ollama serve
|
|
219
|
+
ollama pull llama3.1:8b
|
|
220
|
+
ace doctor --llm ollama --model llama3.1:8b
|
|
132
221
|
```
|
|
133
222
|
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
For non-ollama providers, configure an OpenAI-compatible endpoint before chatting:
|
|
137
|
-
|
|
138
|
-
- `OPENAI_API_KEY` (required) and optional `OPENAI_BASE_URL`
|
|
139
|
-
- or provider-specific vars `${PROVIDER}_API_KEY` and `${PROVIDER}_BASE_URL` (example: `CODEX_API_KEY`, `CODEX_BASE_URL`)
|
|
140
|
-
|
|
141
|
-
VS Code Copilot model hints such as `copilot/gpt-5-mini` are discovery-only in the standalone terminal TUI. They reflect models visible in VS Code chat, but the TUI cannot send directly through the VS Code chatbox from a terminal process without an extension-side bridge.
|
|
223
|
+
## Client Config Targets
|
|
142
224
|
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
|
146
|
-
|
|
147
|
-
|
|
|
148
|
-
|
|
|
149
|
-
|
|
|
150
|
-
|
|
|
151
|
-
|
|
|
152
|
-
|
|
|
153
|
-
|
|
154
|
-
| `/agents` | List all agent roles and status |
|
|
155
|
-
| `/status` | Show orchestrator status |
|
|
156
|
-
| `/chat` | Open new chat tab |
|
|
157
|
-
| `/logs` | Open logs tab |
|
|
158
|
-
| `/help` | List all commands |
|
|
159
|
-
| `/quit` | Exit TUI |
|
|
160
|
-
|
|
161
|
-
Keyboard shortcuts: `Alt+1-9` switch tabs, `Tab/Shift+Tab` cycle tabs, `Ctrl+N` new chat, `Ctrl+R` refresh, `Ctrl+D` quit.
|
|
162
|
-
|
|
163
|
-
Options for `init` / `turnkey`:
|
|
164
|
-
|
|
165
|
-
```bash
|
|
166
|
-
--project <name> # Project name for global-state/MASTER_PLAN.md
|
|
167
|
-
--force # Overwrite scaffolded files
|
|
168
|
-
--no-mcp-config # Skip .vscode/mcp.json
|
|
169
|
-
--no-client-config-bundle # Skip .mcp-config client bundle
|
|
170
|
-
--llm <provider> # ollama
|
|
171
|
-
--model <name> # local model name (default: llama3.1:8b)
|
|
172
|
-
--ollama-url <url> # Ollama base URL (default: http://127.0.0.1:11434)
|
|
225
|
+
```text
|
|
226
|
+
+---------------+--------------------------------------------------------------+
|
|
227
|
+
| Client | Target |
|
|
228
|
+
+---------------+--------------------------------------------------------------+
|
|
229
|
+
| Codex | `$CODEX_HOME/config.toml` or `~/.codex/config.toml` |
|
|
230
|
+
| VS Code | `.vscode/mcp.json` |
|
|
231
|
+
| Claude | macOS: `~/Library/Application Support/Claude/...` |
|
|
232
|
+
| | Linux: `~/.config/Claude/claude_desktop_config.json` |
|
|
233
|
+
| Cursor | `~/.cursor/mcp.json` |
|
|
234
|
+
| Antigravity | import `.mcp-config/antigravity.mcp.json` in client UI |
|
|
235
|
+
+---------------+--------------------------------------------------------------+
|
|
173
236
|
```
|
|
174
237
|
|
|
175
|
-
|
|
238
|
+
## Included Assets
|
|
176
239
|
|
|
177
|
-
```
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
240
|
+
```text
|
|
241
|
+
+----------------------+-----------------------------------------------------------+
|
|
242
|
+
| Asset class | Included |
|
|
243
|
+
+----------------------+-----------------------------------------------------------+
|
|
244
|
+
| Swarm agents | 4: orchestrator, vos, ui, coders |
|
|
245
|
+
| Composable agents | 13: astgrep, skeptic, ops, research, spec, builder, ... |
|
|
246
|
+
| Skills | 11 packaged skills including orchestrator, codemunch, |
|
|
247
|
+
| | codesnipe, state-auditor, schema-forge, release-sentry |
|
|
248
|
+
| Tasks / templates | `todo.md`, `lessons.md`, `role_tasks.md`, |
|
|
249
|
+
| | `cli_work_split.md`, `SWARM_HANDOFF.template.json` |
|
|
250
|
+
+----------------------+-----------------------------------------------------------+
|
|
181
251
|
```
|
|
182
252
|
|
|
183
|
-
##
|
|
184
|
-
|
|
185
|
-
After bootstrap, start your MCP host and issue:
|
|
253
|
+
## Open Ideas
|
|
186
254
|
|
|
187
255
|
```text
|
|
188
|
-
|
|
256
|
+
+---------------------------------------------------------------+
|
|
257
|
+
| Not shipped guarantees |
|
|
258
|
+
+---------------------------------------------------------------+
|
|
259
|
+
| high-certainty shadow workspace promotion mode |
|
|
260
|
+
| explicit promotion manifests for exact patch + AST evidence |
|
|
261
|
+
| richer operator views for rejected promotions and drift spikes|
|
|
262
|
+
+---------------------------------------------------------------+
|
|
189
263
|
```
|
|
190
264
|
|
|
191
|
-
## Schema Validation (Runtime)
|
|
192
|
-
|
|
193
|
-
Schema validation is wired into MCP tool execution paths:
|
|
194
|
-
|
|
195
|
-
- `create_handoff`: validates handoff payload before write
|
|
196
|
-
- `validate_handoff`: supports `schema_mode: auto|swarm|agent-state`
|
|
197
|
-
- `write_workspace_file`: blocks invalid writes for:
|
|
198
|
-
- `agent-state/HANDOFF.json`
|
|
199
|
-
- `agent-state/HANDOFF_HISTORY/*.json`
|
|
200
|
-
- `agent-state/STATUS_EVENTS.ndjson`
|
|
201
|
-
- `ARTIFACT_MANIFEST.json`
|
|
202
|
-
- `SWARM_HANDOFF.*.json`
|
|
203
|
-
|
|
204
|
-
Validation code is in `src/schemas.ts`.
|
|
205
|
-
|
|
206
|
-
## Kanban Snapshot (Runtime)
|
|
207
|
-
|
|
208
|
-
ACE Swarm now maintains a lightweight Kanban board in workspace state:
|
|
209
|
-
|
|
210
|
-
- `agent-state/kanban.json`
|
|
211
|
-
- `agent-state/kanban.html`
|
|
212
|
-
|
|
213
|
-
You can regenerate manually with MCP tool `generate_kanban_ui`, and the server auto-refreshes Kanban after major artifact writes (`update_todo`, `create_handoff`, `bootstrap_state`, and `write_workspace_file` on ACE state/task/code paths).
|
|
214
|
-
|
|
215
|
-
Resources:
|
|
216
|
-
|
|
217
|
-
- `ace://kanban` (JSON)
|
|
218
|
-
- `ace://kanban/html` (HTML)
|
|
219
|
-
|
|
220
|
-
## Scheduler Queue (Runtime)
|
|
221
|
-
|
|
222
|
-
ACE Swarm now supports a lease-owned dispatcher for handoff/job execution:
|
|
223
|
-
|
|
224
|
-
- `agent-state/job-queue.json`
|
|
225
|
-
- `agent-state/job-locks.json`
|
|
226
|
-
- `agent-state/scheduler-lease.json`
|
|
227
|
-
|
|
228
|
-
Dispatch model:
|
|
229
|
-
|
|
230
|
-
- Priority-aware (`P0 > P1 > P2 > P3`) with FIFO ordering inside each band.
|
|
231
|
-
- Immediate dispatch of runnable jobs; no interval gating.
|
|
232
|
-
- Collision-free resource locks held until explicit completion/failure.
|
|
233
|
-
- Lease heartbeat/recovery handles crash detection instead of slice overruns.
|
|
234
|
-
|
|
235
|
-
Handoff integration:
|
|
236
|
-
|
|
237
|
-
- `create_handoff` and `ack_handoff` automatically sync lifecycle updates into scheduler jobs.
|
|
238
|
-
- Existing open/accepted handoffs are backfilled into scheduler state on startup.
|
|
239
|
-
|
|
240
|
-
## New Runtime State Stores
|
|
241
|
-
|
|
242
|
-
ACE Swarm now persists additional orchestration stores:
|
|
243
|
-
|
|
244
|
-
- `agent-state/run-ledger.json` (major updates + regressions)
|
|
245
|
-
- `agent-state/todo-state.json` (explicit TODO statuses, dependencies, transition gates)
|
|
246
|
-
- `agent-state/index.json` (workspace delta scan index)
|
|
247
|
-
- `agent-state/handoff-registry.json` (handoff lifecycle: `open|accepted|blocked|completed`)
|
|
248
|
-
- `agent-state/job-queue.json` (scheduler jobs with dependency/priority metadata)
|
|
249
|
-
- `agent-state/job-locks.json` (active resource lock table)
|
|
250
|
-
- `agent-state/scheduler-lease.json` (active scheduler owner/heartbeat)
|
|
251
|
-
|
|
252
|
-
New/extended tools:
|
|
253
|
-
|
|
254
|
-
- `update_todo` now supports either full board replacement (`new_content`) or gated node transitions (`node_id`, `status`)
|
|
255
|
-
- `scan_workspace_delta` writes indexed changed/unchanged/deleted diffs
|
|
256
|
-
- `ack_handoff` updates handoff lifecycle status
|
|
257
|
-
- `get_run_ledger`, `get_todo_state`, `get_handoff_status` expose persisted store state
|
|
258
|
-
- Scheduler: `enqueue_job`, `list_jobs`, `ack_job`, `dispatch_jobs`, `dispatch_job_now`, `complete_job`, `get_lock_table`, `get_scheduler_lease`
|
|
259
|
-
|
|
260
|
-
New resources:
|
|
261
|
-
|
|
262
|
-
- `ace://run-ledger`
|
|
263
|
-
- `ace://index`
|
|
264
|
-
- `ace://handoffs/status`
|
|
265
|
-
- `ace://scheduler/queue`
|
|
266
|
-
- `ace://scheduler/locks`
|
|
267
|
-
- `ace://scheduler/lease`
|
|
268
|
-
- `ace://kernel/directive_kernel`
|
|
269
|
-
- `ace://kernel/agent_registry`
|
|
270
|
-
|
|
271
|
-
New tool:
|
|
272
|
-
|
|
273
|
-
- `get_kernel_artifact` (`directive_kernel` | `agent_registry`)
|
|
274
|
-
|
|
275
|
-
## ACE Assets Included
|
|
276
|
-
|
|
277
|
-
### Agents (17)
|
|
278
|
-
|
|
279
|
-
- **Swarm (4):** Orchestrator, VOS, UI, Coders
|
|
280
|
-
- **Composable (13):** agent-astgrep, agent-skeptic, agent-ops, agent-research, agent-spec, agent-builder, agent-qa, agent-docs, agent-memory, agent-security, agent-observability, agent-eval, agent-release
|
|
281
|
-
|
|
282
|
-
### Skills
|
|
283
|
-
|
|
284
|
-
- Existing: `ace-orchestrator`, `codemunch`, `codesnipe`
|
|
285
|
-
- New: `state-auditor`, `schema-forge`, `handoff-lint`, `memory-curator`, `risk-quant`, `eval-harness`, `incident-commander`, `release-sentry`
|
|
286
|
-
|
|
287
|
-
### Tasks and Handoff Artifacts
|
|
288
|
-
|
|
289
|
-
- `todo.md`, `lessons.md`, `role_tasks.md`, `cli_work_split.md`
|
|
290
|
-
- `SWARM_HANDOFF.template.json` and examples
|
|
291
|
-
|
|
292
265
|
## Development
|
|
293
266
|
|
|
294
267
|
```bash
|
|
295
268
|
cd ace-mcp-server
|
|
296
269
|
npm install
|
|
297
270
|
npm run build
|
|
271
|
+
npm test
|
|
298
272
|
npm run start
|
|
299
273
|
```
|
|
300
274
|
|
|
301
|
-
##
|
|
275
|
+
## References
|
|
276
|
+
|
|
277
|
+
- [OpenAI Codex MCP config](https://platform.openai.com/docs/codex/mcp)
|
|
278
|
+
- [VS Code MCP](https://code.visualstudio.com/docs/copilot/chat/mcp-servers)
|
|
279
|
+
- [Cursor MCP](https://docs.cursor.com/context/model-context-protocol)
|
|
280
|
+
- [Claude Desktop MCP quickstart](https://modelcontextprotocol.io/quickstart/user)
|
|
281
|
+
- [Antigravity MCP setup](https://docs.antigravity.dev/how-to/configuring-an-mcp-server)
|
|
302
282
|
|
|
303
|
-
|
|
304
|
-
- VS Code MCP: [code.visualstudio.com/docs/copilot/chat/mcp-servers](https://code.visualstudio.com/docs/copilot/chat/mcp-servers)
|
|
305
|
-
- Cursor MCP: [docs.cursor.com/context/model-context-protocol](https://docs.cursor.com/context/model-context-protocol)
|
|
306
|
-
- Claude Desktop MCP quickstart: [modelcontextprotocol.io/quickstart/user](https://modelcontextprotocol.io/quickstart/user)
|
|
307
|
-
- Antigravity MCP server setup: [docs.antigravity.dev/how-to/configuring-an-mcp-server](https://docs.antigravity.dev/how-to/configuring-an-mcp-server)
|
|
283
|
+
Collaborations, ideas, or concerns: `voybio.fundr@gmail.com`
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: landing-review-watcher
|
|
3
|
+
description:
|
|
4
|
+
Watch review, CI, and landing loops for a change and use when the user needs a durable merge-readiness procedure rather than a one-off PR check.
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# Landing Review Watcher
|
|
8
|
+
|
|
9
|
+
## Purpose
|
|
10
|
+
|
|
11
|
+
Make code-review and landing work observable, repeatable, and operator-safe.
|
|
12
|
+
This skill does not own the release decision itself; it owns the watch loop that turns "waiting on review/CI/merge" into a deterministic procedure with artifacts.
|
|
13
|
+
|
|
14
|
+
## Canonical Use Cases
|
|
15
|
+
|
|
16
|
+
1. A change is open for review and someone needs a stable loop for comments, CI state, and merge blockers.
|
|
17
|
+
2. A release candidate is waiting to land and the team wants a written handoff-safe landing procedure.
|
|
18
|
+
3. A long-running review thread needs explicit acknowledgement, blocker tracking, and final landing evidence.
|
|
19
|
+
|
|
20
|
+
## Inputs
|
|
21
|
+
|
|
22
|
+
- active branch / change identifier
|
|
23
|
+
- review comments or requested changes
|
|
24
|
+
- CI status / failing checks
|
|
25
|
+
- merge policy constraints
|
|
26
|
+
- rollout or release artifact pointers when applicable
|
|
27
|
+
|
|
28
|
+
## Workflow
|
|
29
|
+
|
|
30
|
+
1. Define the watch target:
|
|
31
|
+
branch, PR, merge queue item, or review thread.
|
|
32
|
+
2. Capture the current state:
|
|
33
|
+
reviewers, open comments, requested changes, CI state, merge policy, and known blockers.
|
|
34
|
+
3. Classify the loop:
|
|
35
|
+
`reviewing`, `changes_requested`, `waiting_on_ci`, `ready_to_land`, or `blocked`.
|
|
36
|
+
4. Write or update `agent-state/LANDING_REVIEW_WATCH.md` with:
|
|
37
|
+
owner, blockers, next checks, evidence refs, and explicit exit criteria.
|
|
38
|
+
5. On every cycle, acknowledge new review input explicitly:
|
|
39
|
+
accepted, rebutted, deferred, or blocked with reason.
|
|
40
|
+
6. If CI fails, route the failure to the responsible owner and record the remediation checkpoint.
|
|
41
|
+
7. If merge is safe, hand off to [$release-sentry](/Users/voy/Desktop/dev-ace/.agents/skills/release-sentry/SKILL.md) for the actual approve/hold decision.
|
|
42
|
+
8. After landing, record the final result, landing timestamp, and rollback pointer if one exists.
|
|
43
|
+
|
|
44
|
+
## Outputs
|
|
45
|
+
|
|
46
|
+
- `agent-state/LANDING_REVIEW_WATCH.md`
|
|
47
|
+
- updated evidence pointer in `agent-state/EVIDENCE_LOG.md`
|
|
48
|
+
- optional release routing note to `release-sentry`
|
|
49
|
+
|
|
50
|
+
## Validation
|
|
51
|
+
|
|
52
|
+
- Verify every open reviewer/blocker has an owner or explicit waiting reason.
|
|
53
|
+
- Verify CI state is current and tied to a specific run/check reference.
|
|
54
|
+
- Verify landing state is one of:
|
|
55
|
+
`reviewing`, `changes_requested`, `waiting_on_ci`, `ready_to_land`, `blocked`, `landed`.
|
|
56
|
+
- Verify the watch artifact names the next action instead of only summarizing history.
|
|
57
|
+
|
|
58
|
+
## Compatibility
|
|
59
|
+
|
|
60
|
+
- `SKILL.md` is the portable source of truth for this workflow.
|
|
61
|
+
- The skill remains useful without provider-specific PR adapters; branch names, plain-text review notes, and CI summaries are enough.
|
|
62
|
+
- Client overlays may add launch shortcuts, but must not redefine the watch-state model.
|
|
63
|
+
|
|
64
|
+
## Failure Policy
|
|
65
|
+
|
|
66
|
+
- Do not claim a change is ready to land if requested changes or failing CI remain unresolved.
|
|
67
|
+
- Do not collapse review feedback into a vague summary; every new blocker or accepted fix must be acknowledged explicitly.
|
|
68
|
+
- If the change cannot be tied to a concrete watch target, stop and create the target definition first.
|