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.
Files changed (111) hide show
  1. package/CHANGELOG.md +58 -0
  2. package/README.md +221 -245
  3. package/assets/.agents/skills/landing-review-watcher/SKILL.md +68 -0
  4. package/assets/.agents/skills/problem-triage/SKILL.md +57 -0
  5. package/assets/.agents/skills/problem-triage/agents/openai.yaml +3 -0
  6. package/assets/.agents/skills/skill-auditor/SKILL.md +52 -0
  7. package/assets/.github/hooks/ace-copilot.json +68 -0
  8. package/assets/agent-state/ACE_WORKFLOW.md +66 -0
  9. package/assets/agent-state/INTERFACE_REGISTRY.md +50 -0
  10. package/assets/agent-state/MODULES/gates/gate-typescript-public-surface.json +7 -0
  11. package/assets/agent-state/MODULES/registry.json +10 -2
  12. package/assets/agent-state/MODULES/schemas/ACE_RUNTIME_PROFILE.schema.json +210 -0
  13. package/assets/agent-state/MODULES/schemas/RUNTIME_EXECUTOR_SESSION_REGISTRY.schema.json +290 -0
  14. package/assets/agent-state/MODULES/schemas/RUNTIME_TOOL_SPEC_REGISTRY.schema.json +144 -0
  15. package/assets/agent-state/MODULES/schemas/TRACKER_SNAPSHOT.schema.json +134 -0
  16. package/assets/agent-state/MODULES/schemas/VERICIFY_BRIDGE_SNAPSHOT.schema.json +157 -0
  17. package/assets/agent-state/MODULES/schemas/VERICIFY_PROCESS_POST_LOG.schema.json +92 -0
  18. package/assets/agent-state/MODULES/schemas/WORKSPACE_SESSION_REGISTRY.schema.json +133 -0
  19. package/assets/agent-state/SKILL_CATALOG.md +48 -0
  20. package/assets/agent-state/runtime-executor-sessions.json +5 -0
  21. package/assets/agent-state/runtime-tool-specs.json +5 -0
  22. package/assets/agent-state/runtime-workspaces.json +5 -0
  23. package/assets/agent-state/tracker-snapshot.json +7 -0
  24. package/assets/agent-state/vericify/ace-bridge.json +60 -0
  25. package/assets/agent-state/vericify/process-posts.json +5 -0
  26. package/assets/scripts/copilot-hook-dispatch.mjs +267 -0
  27. package/dist/helpers.d.ts.map +1 -1
  28. package/dist/helpers.js +284 -1
  29. package/dist/helpers.js.map +1 -1
  30. package/dist/problem-triage.d.ts +23 -0
  31. package/dist/problem-triage.d.ts.map +1 -0
  32. package/dist/problem-triage.js +429 -0
  33. package/dist/problem-triage.js.map +1 -0
  34. package/dist/prompts.d.ts.map +1 -1
  35. package/dist/prompts.js +46 -0
  36. package/dist/prompts.js.map +1 -1
  37. package/dist/public-surface.d.ts +30 -0
  38. package/dist/public-surface.d.ts.map +1 -0
  39. package/dist/public-surface.js +310 -0
  40. package/dist/public-surface.js.map +1 -0
  41. package/dist/resources.d.ts.map +1 -1
  42. package/dist/resources.js +148 -0
  43. package/dist/resources.js.map +1 -1
  44. package/dist/runtime-command.d.ts +18 -0
  45. package/dist/runtime-command.d.ts.map +1 -0
  46. package/dist/runtime-command.js +76 -0
  47. package/dist/runtime-command.js.map +1 -0
  48. package/dist/runtime-executor.d.ts +104 -0
  49. package/dist/runtime-executor.d.ts.map +1 -0
  50. package/dist/runtime-executor.js +774 -0
  51. package/dist/runtime-executor.js.map +1 -0
  52. package/dist/runtime-profile.d.ts +98 -0
  53. package/dist/runtime-profile.d.ts.map +1 -0
  54. package/dist/runtime-profile.js +441 -0
  55. package/dist/runtime-profile.js.map +1 -0
  56. package/dist/runtime-tool-specs.d.ts +68 -0
  57. package/dist/runtime-tool-specs.d.ts.map +1 -0
  58. package/dist/runtime-tool-specs.js +424 -0
  59. package/dist/runtime-tool-specs.js.map +1 -0
  60. package/dist/schemas.d.ts +6 -0
  61. package/dist/schemas.d.ts.map +1 -1
  62. package/dist/schemas.js +305 -0
  63. package/dist/schemas.js.map +1 -1
  64. package/dist/shared.d.ts +36 -3
  65. package/dist/shared.d.ts.map +1 -1
  66. package/dist/shared.js +36 -3
  67. package/dist/shared.js.map +1 -1
  68. package/dist/skill-auditor.d.ts +26 -0
  69. package/dist/skill-auditor.d.ts.map +1 -0
  70. package/dist/skill-auditor.js +184 -0
  71. package/dist/skill-auditor.js.map +1 -0
  72. package/dist/skill-catalog.d.ts +60 -0
  73. package/dist/skill-catalog.d.ts.map +1 -0
  74. package/dist/skill-catalog.js +263 -0
  75. package/dist/skill-catalog.js.map +1 -0
  76. package/dist/status-events.d.ts.map +1 -1
  77. package/dist/status-events.js +51 -8
  78. package/dist/status-events.js.map +1 -1
  79. package/dist/tools-agent.d.ts.map +1 -1
  80. package/dist/tools-agent.js +869 -0
  81. package/dist/tools-agent.js.map +1 -1
  82. package/dist/tools-files.d.ts.map +1 -1
  83. package/dist/tools-files.js +212 -1
  84. package/dist/tools-files.js.map +1 -1
  85. package/dist/tools-framework.d.ts.map +1 -1
  86. package/dist/tools-framework.js +86 -0
  87. package/dist/tools-framework.js.map +1 -1
  88. package/dist/tools-skills.d.ts +3 -0
  89. package/dist/tools-skills.d.ts.map +1 -0
  90. package/dist/tools-skills.js +104 -0
  91. package/dist/tools-skills.js.map +1 -0
  92. package/dist/tools.d.ts.map +1 -1
  93. package/dist/tools.js +2 -0
  94. package/dist/tools.js.map +1 -1
  95. package/dist/tracker-adapters.d.ts +74 -0
  96. package/dist/tracker-adapters.d.ts.map +1 -0
  97. package/dist/tracker-adapters.js +777 -0
  98. package/dist/tracker-adapters.js.map +1 -0
  99. package/dist/tracker-sync.d.ts +10 -0
  100. package/dist/tracker-sync.d.ts.map +1 -0
  101. package/dist/tracker-sync.js +84 -0
  102. package/dist/tracker-sync.js.map +1 -0
  103. package/dist/vericify-bridge.d.ts +142 -0
  104. package/dist/vericify-bridge.d.ts.map +1 -0
  105. package/dist/vericify-bridge.js +481 -0
  106. package/dist/vericify-bridge.js.map +1 -0
  107. package/dist/workspace-manager.d.ts +103 -0
  108. package/dist/workspace-manager.d.ts.map +1 -0
  109. package/dist/workspace-manager.js +526 -0
  110. package/dist/workspace-manager.js.map +1 -0
  111. 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 packages the ACE framework (agents, skills, schemas, prompts, tasks, handoffs, and state scaffolding) as an MCP server and turnkey CLI.
3
+ ACE Swarm is an MCP server and terminal-first CLI for durable agent orchestration.
4
4
 
5
- Swarm agents (`orchestrator`, `vos`, `ui`, `coders`) and composable agents (`skeptic`, `ops`, `research`, `spec`, `builder`, `qa`, `docs`) are treated as one unified agent system, with composable agents available as subagents for every swarm workflow.
5
+ It turns agent workflows into a local control plane with explicit state, handoffs, locks, diffs, runtime profiles, and operator tooling.
6
6
 
7
- Suggestions and collaborations: `voybio.fundr@gmail.com`.
7
+ ## System Map
8
8
 
9
- ## Install
10
-
11
- ```bash
12
- npm install -g ace-swarm
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
- You can run the same CLI as either:
51
+ ## Quick Start
16
52
 
17
- ```bash
18
- ace mcp
19
- # or
20
- ace-swarm mcp
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
- For one-off execution:
63
+ ## Recent Releases
24
64
 
25
- ```bash
26
- npx -y ace-swarm mcp
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
- ## Turnkey Setup (Recommended)
75
+ See [CHANGELOG.md](./CHANGELOG.md) for the recent tagged release history that can be verified from the local repository.
30
76
 
31
- Bootstrap everything into the current workspace, including `.agents`, `agent-state`, scripts, and multi-client MCP config bundle:
77
+ ## Core Surfaces
32
78
 
33
- ```bash
34
- npx -y ace-swarm turnkey --project "My Project"
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
- Equivalent command:
92
+ ## Workspace Internals
38
93
 
39
- ```bash
40
- npx -y ace-swarm init --project "My Project"
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
- This writes:
111
+ ## Change And Safety Internals
44
112
 
45
- - `agent-state/*`
46
- - `.agents/ACE/*` and `.agents/skills/*`
47
- - `tasks/*`
48
- - `scripts/ace/*`
49
- - `.vscode/mcp.json`
50
- - `.mcp-config/{codex.config.toml,vscode.mcp.json,claude_desktop_config.json,cursor.mcp.json,antigravity.mcp.json}`
51
-
52
- ### Turnkey with Ollama (Local Models)
53
-
54
- Bootstrap ACE + local model profile in one command:
55
-
56
- ```bash
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
- Then enable and verify local runtime:
127
+ ## CLI
61
128
 
62
- ```bash
63
- ollama serve
64
- ollama pull llama3.1:8b
65
- ace doctor --llm ollama --model llama3.1:8b
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
- If you need to explicitly (re)write MCP config for your editor:
143
+ ### Key Options
69
144
 
70
- ```bash
71
- ace mcp-config --client vscode > .vscode/mcp.json
72
- # or choose codex|claude|cursor|antigravity
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
- Artifacts written for local-model flow:
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
- ACE Swarm ships config templates for:
89
-
90
- - Codex
91
- - VS Code
92
- - Claude Desktop
93
- - Cursor
94
- - Antigravity
95
-
96
- ### Get config snippets from CLI
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
- ```bash
99
- ace mcp-config --client codex
100
- ace mcp-config --client vscode
101
- ace mcp-config --all
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
- ### Expected config targets
191
+ Provider notes:
105
192
 
106
- - `codex`: `$CODEX_HOME/config.toml` (or `~/.codex/config.toml`)
107
- - `vscode`: `.vscode/mcp.json` (workspace)
108
- - `claude`: `~/Library/Application Support/Claude/claude_desktop_config.json` (macOS) or `~/.config/Claude/claude_desktop_config.json` (Linux)
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
- ## CLI Commands
197
+ ## Bootstrap Outputs
113
198
 
114
- ```bash
115
- ace mcp # start MCP server on stdio
116
- ace serve # alias for mcp
117
- ace tui [options] # launch interactive terminal dashboard
118
- ace init [options] # bootstrap ACE files into current workspace
119
- ace turnkey [options] # same as init (turnkey alias)
120
- ace doctor [options] # local LLM + MCP readiness checks
121
- ace mcp-config [--client <name>|--all] # print one/all MCP client snippets
122
- ace paths # show resolved package/workspace paths
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
- ### Interactive TUI
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 tui
131
- ace tui --model llama3.1:8b --ollama-url http://127.0.0.1:11434
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
- The TUI starts regardless of whether Ollama is running. Use `/ollama` inside the TUI to check status, or `/pull <model>` to download Ollama models. The TUI also refreshes the Ollama catalog in the background so `/model` completion can surface local models even when another provider is selected.
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
- Key commands inside TUI:
144
-
145
- | Command | Description |
146
- |---------|-------------|
147
- | `/provider [name]` | Show or switch active provider |
148
- | `/providers` | List discovered providers |
149
- | `/models` | List available models for active provider |
150
- | `/model <name>` | Switch active model (`Tab` searches discovered models, including Ollama) |
151
- | `/pull <name>` | Download an Ollama model |
152
- | `/ollama` | Check Ollama connection status and hints |
153
- | `/agent <role>` | Start a subagent in a new tab |
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
- Options for `doctor`:
238
+ ## Included Assets
176
239
 
177
- ```bash
178
- --llm <provider> # ollama (or auto from .ace/llm-profile.json)
179
- --model <name> # override model to check
180
- --ollama-url <url> # override Ollama URL to check
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
- ## Initiate ACE Swarm
184
-
185
- After bootstrap, start your MCP host and issue:
253
+ ## Open Ideas
186
254
 
187
255
  ```text
188
- initiate ACE
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
- ## Documentation References
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
- - OpenAI Codex MCP config: [platform.openai.com/docs/codex/mcp](https://platform.openai.com/docs/codex/mcp)
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.