@voybio/ace-swarm 0.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 (334) hide show
  1. package/CHANGELOG.md +109 -0
  2. package/LICENSE +186 -0
  3. package/README.md +229 -0
  4. package/assets/.agents/ACE/ACE-Init/AGENTS.md +210 -0
  5. package/assets/.agents/ACE/ACE-Init/instructions.md +118 -0
  6. package/assets/.agents/ACE/ACE_coders/AGENTS.md +154 -0
  7. package/assets/.agents/ACE/ACE_coders/INSTRUCTIONS.md +216 -0
  8. package/assets/.agents/ACE/AGENT_REGISTRY.md +70 -0
  9. package/assets/.agents/ACE/AGENT_REGISTRY_7.md +9 -0
  10. package/assets/.agents/ACE/DIRECTIVE_KERNEL.md +234 -0
  11. package/assets/.agents/ACE/UI/AGENTS.md +115 -0
  12. package/assets/.agents/ACE/UI/instructions.md +178 -0
  13. package/assets/.agents/ACE/VOS/ACE_VOS_MISSING_INFO_MATRIX.md +42 -0
  14. package/assets/.agents/ACE/VOS/AGENTS.md +72 -0
  15. package/assets/.agents/ACE/VOS/instructions.md +211 -0
  16. package/assets/.agents/ACE/agent-astgrep/AGENTS.md +123 -0
  17. package/assets/.agents/ACE/agent-astgrep/instructions.md +91 -0
  18. package/assets/.agents/ACE/agent-builder/AGENTS.md +172 -0
  19. package/assets/.agents/ACE/agent-builder/instructions.md +137 -0
  20. package/assets/.agents/ACE/agent-docs/AGENTS.md +159 -0
  21. package/assets/.agents/ACE/agent-docs/instructions.md +133 -0
  22. package/assets/.agents/ACE/agent-eval/AGENTS.md +46 -0
  23. package/assets/.agents/ACE/agent-eval/instructions.md +56 -0
  24. package/assets/.agents/ACE/agent-memory/AGENTS.md +49 -0
  25. package/assets/.agents/ACE/agent-memory/instructions.md +50 -0
  26. package/assets/.agents/ACE/agent-observability/AGENTS.md +46 -0
  27. package/assets/.agents/ACE/agent-observability/instructions.md +50 -0
  28. package/assets/.agents/ACE/agent-ops/AGENTS.md +201 -0
  29. package/assets/.agents/ACE/agent-ops/instructions.md +136 -0
  30. package/assets/.agents/ACE/agent-qa/AGENTS.md +189 -0
  31. package/assets/.agents/ACE/agent-qa/instructions.md +121 -0
  32. package/assets/.agents/ACE/agent-release/AGENTS.md +48 -0
  33. package/assets/.agents/ACE/agent-release/instructions.md +49 -0
  34. package/assets/.agents/ACE/agent-research/AGENTS.md +160 -0
  35. package/assets/.agents/ACE/agent-research/instructions.md +118 -0
  36. package/assets/.agents/ACE/agent-security/AGENTS.md +48 -0
  37. package/assets/.agents/ACE/agent-security/instructions.md +50 -0
  38. package/assets/.agents/ACE/agent-skeptic/AGENTS.md +178 -0
  39. package/assets/.agents/ACE/agent-skeptic/instructions.md +196 -0
  40. package/assets/.agents/ACE/agent-spec/AGENTS.md +169 -0
  41. package/assets/.agents/ACE/agent-spec/instructions.md +116 -0
  42. package/assets/.agents/ACE/orchestrator/AGENTS.md +365 -0
  43. package/assets/.agents/ACE/orchestrator/instructions.md +231 -0
  44. package/assets/.agents/skills/ace-orchestrator/SKILL.md +63 -0
  45. package/assets/.agents/skills/ace-orchestrator/references/engineering-bootstrap-playbook.md +360 -0
  46. package/assets/.agents/skills/astgrep-index/SKILL.md +58 -0
  47. package/assets/.agents/skills/codemunch/SKILL.md +65 -0
  48. package/assets/.agents/skills/codemunch/references/ast-driven-protocol.md +543 -0
  49. package/assets/.agents/skills/codesnipe/SKILL.md +64 -0
  50. package/assets/.agents/skills/codesnipe/references/dual-codebase-playbook.md +671 -0
  51. package/assets/.agents/skills/eval-harness/SKILL.md +203 -0
  52. package/assets/.agents/skills/handoff-lint/SKILL.md +164 -0
  53. package/assets/.agents/skills/incident-commander/SKILL.md +174 -0
  54. package/assets/.agents/skills/landing-review-watcher/SKILL.md +68 -0
  55. package/assets/.agents/skills/memory-curator/SKILL.md +179 -0
  56. package/assets/.agents/skills/problem-triage/SKILL.md +57 -0
  57. package/assets/.agents/skills/problem-triage/agents/openai.yaml +3 -0
  58. package/assets/.agents/skills/release-sentry/SKILL.md +189 -0
  59. package/assets/.agents/skills/risk-quant/SKILL.md +190 -0
  60. package/assets/.agents/skills/schema-forge/SKILL.md +174 -0
  61. package/assets/.agents/skills/skill-auditor/SKILL.md +52 -0
  62. package/assets/.agents/skills/state-auditor/SKILL.md +182 -0
  63. package/assets/.github/hooks/ace-copilot.json +68 -0
  64. package/assets/agent-state/ACE_WORKFLOW.md +131 -0
  65. package/assets/agent-state/ARTIFACT_MANIFEST.json +5 -0
  66. package/assets/agent-state/AST_GREP_COMMANDS.md +121 -0
  67. package/assets/agent-state/AST_GREP_INDEX.json +13 -0
  68. package/assets/agent-state/AST_GREP_INDEX.md +15 -0
  69. package/assets/agent-state/DECISIONS.md +7 -0
  70. package/assets/agent-state/EVIDENCE_LOG.md +7 -0
  71. package/assets/agent-state/HANDOFF.json +24 -0
  72. package/assets/agent-state/INTERFACE_REGISTRY.md +75 -0
  73. package/assets/agent-state/MODULES/gates/gate-autonomy.json +7 -0
  74. package/assets/agent-state/MODULES/gates/gate-completeness.json +7 -0
  75. package/assets/agent-state/MODULES/gates/gate-correctness.json +7 -0
  76. package/assets/agent-state/MODULES/gates/gate-evaluation.json +7 -0
  77. package/assets/agent-state/MODULES/gates/gate-operability.json +7 -0
  78. package/assets/agent-state/MODULES/gates/gate-security.json +7 -0
  79. package/assets/agent-state/MODULES/gates/gate-typescript-public-surface.json +7 -0
  80. package/assets/agent-state/MODULES/registry.json +41 -0
  81. package/assets/agent-state/MODULES/roles/capability-astgrep.json +49 -0
  82. package/assets/agent-state/MODULES/roles/capability-build.json +39 -0
  83. package/assets/agent-state/MODULES/roles/capability-docs.json +38 -0
  84. package/assets/agent-state/MODULES/roles/capability-eval.json +20 -0
  85. package/assets/agent-state/MODULES/roles/capability-memory.json +20 -0
  86. package/assets/agent-state/MODULES/roles/capability-observability.json +20 -0
  87. package/assets/agent-state/MODULES/roles/capability-ops.json +45 -0
  88. package/assets/agent-state/MODULES/roles/capability-qa.json +40 -0
  89. package/assets/agent-state/MODULES/roles/capability-release.json +21 -0
  90. package/assets/agent-state/MODULES/roles/capability-research.json +44 -0
  91. package/assets/agent-state/MODULES/roles/capability-security.json +21 -0
  92. package/assets/agent-state/MODULES/roles/capability-skeptic.json +48 -0
  93. package/assets/agent-state/MODULES/roles/capability-spec.json +42 -0
  94. package/assets/agent-state/MODULES/schemas/ACE_RUNTIME_PROFILE.schema.json +289 -0
  95. package/assets/agent-state/MODULES/schemas/ARTIFACT_MANIFEST.schema.json +185 -0
  96. package/assets/agent-state/MODULES/schemas/HANDOFF.agent-state.schema.json +124 -0
  97. package/assets/agent-state/MODULES/schemas/HANDOFF.schema.json +55 -0
  98. package/assets/agent-state/MODULES/schemas/RUNTIME_EXECUTOR_SESSION_REGISTRY.schema.json +290 -0
  99. package/assets/agent-state/MODULES/schemas/RUNTIME_TOOL_SPEC_REGISTRY.schema.json +144 -0
  100. package/assets/agent-state/MODULES/schemas/STATUS_EVENT.schema.json +84 -0
  101. package/assets/agent-state/MODULES/schemas/SWARM_HANDOFF.schema.json +138 -0
  102. package/assets/agent-state/MODULES/schemas/TRACKER_SNAPSHOT.schema.json +134 -0
  103. package/assets/agent-state/MODULES/schemas/VERICIFY_BRIDGE_SNAPSHOT.schema.json +157 -0
  104. package/assets/agent-state/MODULES/schemas/VERICIFY_PROCESS_POST_LOG.schema.json +93 -0
  105. package/assets/agent-state/MODULES/schemas/WORKSPACE_SESSION_REGISTRY.schema.json +133 -0
  106. package/assets/agent-state/PROVENANCE_LOG.md +28 -0
  107. package/assets/agent-state/QUALITY_GATES.md +15 -0
  108. package/assets/agent-state/RISKS.md +8 -0
  109. package/assets/agent-state/SCOPE.md +20 -0
  110. package/assets/agent-state/SKILL_CATALOG.md +48 -0
  111. package/assets/agent-state/STATUS.md +8 -0
  112. package/assets/agent-state/STATUS_EVENTS.ndjson +1 -0
  113. package/assets/agent-state/TASK.md +18 -0
  114. package/assets/agent-state/TEAL_CONFIG.md +117 -0
  115. package/assets/agent-state/handoff-registry.json +5 -0
  116. package/assets/agent-state/index-fingerprints.json +7 -0
  117. package/assets/agent-state/index.json +32 -0
  118. package/assets/agent-state/run-ledger.json +5 -0
  119. package/assets/agent-state/runtime-executor-sessions.json +5 -0
  120. package/assets/agent-state/runtime-tool-specs.json +5 -0
  121. package/assets/agent-state/runtime-workspaces.json +5 -0
  122. package/assets/agent-state/todo-state.json +7 -0
  123. package/assets/agent-state/tracker-snapshot.json +7 -0
  124. package/assets/agent-state/vericify/ace-bridge.json +60 -0
  125. package/assets/agent-state/vericify/process-posts.json +5 -0
  126. package/assets/instructions/ACE.instructions.md +187 -0
  127. package/assets/instructions/ACE_Coder.instructions.md +146 -0
  128. package/assets/instructions/ACE_UI.instructions.md +178 -0
  129. package/assets/instructions/ACE_VOS.instructions.md +211 -0
  130. package/assets/scripts/ace-hook-dispatch.mjs +538 -0
  131. package/assets/scripts/bootstrap-workspace.sh +27 -0
  132. package/assets/scripts/copilot-hook-dispatch.mjs +3 -0
  133. package/assets/scripts/eval-harness.sh +68 -0
  134. package/assets/scripts/render-mcp-configs.sh +396 -0
  135. package/assets/tasks/README.md +48 -0
  136. package/assets/tasks/SWARM_HANDOFF.example.json +53 -0
  137. package/assets/tasks/SWARM_HANDOFF.example_ui_to_coders.json +55 -0
  138. package/assets/tasks/SWARM_HANDOFF.example_vos_to_ui.json +55 -0
  139. package/assets/tasks/SWARM_HANDOFF.template.json +52 -0
  140. package/assets/tasks/cli_work_split.md +22 -0
  141. package/assets/tasks/lessons.md +17 -0
  142. package/assets/tasks/role_tasks.md +206 -0
  143. package/assets/tasks/todo.md +23 -0
  144. package/dist/ace-autonomy.d.ts +137 -0
  145. package/dist/ace-autonomy.js +472 -0
  146. package/dist/ace-context.d.ts +29 -0
  147. package/dist/ace-context.js +240 -0
  148. package/dist/ace-internal-tools.d.ts +8 -0
  149. package/dist/ace-internal-tools.js +76 -0
  150. package/dist/ace-server-instructions.d.ts +12 -0
  151. package/dist/ace-server-instructions.js +324 -0
  152. package/dist/agent-runtime/role-adapters.d.ts +29 -0
  153. package/dist/agent-runtime/role-adapters.js +573 -0
  154. package/dist/astgrep-index.d.ts +24 -0
  155. package/dist/astgrep-index.js +476 -0
  156. package/dist/cli.d.ts +3 -0
  157. package/dist/cli.js +591 -0
  158. package/dist/git-ops.d.ts +53 -0
  159. package/dist/git-ops.js +238 -0
  160. package/dist/handoff-registry.d.ts +71 -0
  161. package/dist/handoff-registry.js +422 -0
  162. package/dist/helpers.d.ts +126 -0
  163. package/dist/helpers.js +1687 -0
  164. package/dist/index-store.d.ts +51 -0
  165. package/dist/index-store.js +328 -0
  166. package/dist/index.d.ts +3 -0
  167. package/dist/index.js +7 -0
  168. package/dist/internal-tool-runtime.d.ts +21 -0
  169. package/dist/internal-tool-runtime.js +136 -0
  170. package/dist/job-scheduler.d.ts +175 -0
  171. package/dist/job-scheduler.js +1217 -0
  172. package/dist/kanban.d.ts +27 -0
  173. package/dist/kanban.js +339 -0
  174. package/dist/local-model-runtime.d.ts +40 -0
  175. package/dist/local-model-runtime.js +174 -0
  176. package/dist/model-bridge.d.ts +54 -0
  177. package/dist/model-bridge.js +587 -0
  178. package/dist/orchestrator-supervisor.d.ts +100 -0
  179. package/dist/orchestrator-supervisor.js +399 -0
  180. package/dist/problem-triage.d.ts +23 -0
  181. package/dist/problem-triage.js +448 -0
  182. package/dist/prompts.d.ts +7 -0
  183. package/dist/prompts.js +628 -0
  184. package/dist/public-surface.d.ts +30 -0
  185. package/dist/public-surface.js +316 -0
  186. package/dist/resources.d.ts +7 -0
  187. package/dist/resources.js +545 -0
  188. package/dist/run-ledger.d.ts +36 -0
  189. package/dist/run-ledger.js +257 -0
  190. package/dist/runtime-command.d.ts +18 -0
  191. package/dist/runtime-command.js +76 -0
  192. package/dist/runtime-executor.d.ts +104 -0
  193. package/dist/runtime-executor.js +985 -0
  194. package/dist/runtime-profile.d.ts +116 -0
  195. package/dist/runtime-profile.js +532 -0
  196. package/dist/runtime-tool-specs.d.ts +68 -0
  197. package/dist/runtime-tool-specs.js +527 -0
  198. package/dist/safe-edit.d.ts +52 -0
  199. package/dist/safe-edit.js +255 -0
  200. package/dist/schemas.d.ts +44 -0
  201. package/dist/schemas.js +830 -0
  202. package/dist/semantic-cache.d.ts +147 -0
  203. package/dist/semantic-cache.js +552 -0
  204. package/dist/semantic-hash.d.ts +83 -0
  205. package/dist/semantic-hash.js +346 -0
  206. package/dist/server.d.ts +10 -0
  207. package/dist/server.js +46 -0
  208. package/dist/shared.d.ts +136 -0
  209. package/dist/shared.js +269 -0
  210. package/dist/skill-auditor.d.ts +26 -0
  211. package/dist/skill-auditor.js +184 -0
  212. package/dist/skill-catalog.d.ts +60 -0
  213. package/dist/skill-catalog.js +305 -0
  214. package/dist/status-events.d.ts +40 -0
  215. package/dist/status-events.js +269 -0
  216. package/dist/store/ace-packed-store.d.ts +69 -0
  217. package/dist/store/ace-packed-store.js +434 -0
  218. package/dist/store/bootstrap-store.d.ts +46 -0
  219. package/dist/store/bootstrap-store.js +242 -0
  220. package/dist/store/catalog-builder.d.ts +21 -0
  221. package/dist/store/catalog-builder.js +68 -0
  222. package/dist/store/importer.d.ts +19 -0
  223. package/dist/store/importer.js +157 -0
  224. package/dist/store/knowledge-bake.d.ts +59 -0
  225. package/dist/store/knowledge-bake.js +339 -0
  226. package/dist/store/materializers/hook-context-materializer.d.ts +25 -0
  227. package/dist/store/materializers/hook-context-materializer.js +100 -0
  228. package/dist/store/materializers/host-file-materializer.d.ts +37 -0
  229. package/dist/store/materializers/host-file-materializer.js +271 -0
  230. package/dist/store/materializers/todo-syncer.d.ts +30 -0
  231. package/dist/store/materializers/todo-syncer.js +140 -0
  232. package/dist/store/materializers/vericify-projector.d.ts +38 -0
  233. package/dist/store/materializers/vericify-projector.js +239 -0
  234. package/dist/store/repositories/discovery-repository.d.ts +24 -0
  235. package/dist/store/repositories/discovery-repository.js +58 -0
  236. package/dist/store/repositories/handoff-repository.d.ts +31 -0
  237. package/dist/store/repositories/handoff-repository.js +67 -0
  238. package/dist/store/repositories/ledger-repository.d.ts +26 -0
  239. package/dist/store/repositories/ledger-repository.js +49 -0
  240. package/dist/store/repositories/runtime-kv-repository.d.ts +16 -0
  241. package/dist/store/repositories/runtime-kv-repository.js +36 -0
  242. package/dist/store/repositories/scheduler-repository.d.ts +50 -0
  243. package/dist/store/repositories/scheduler-repository.js +123 -0
  244. package/dist/store/repositories/session-repository.d.ts +33 -0
  245. package/dist/store/repositories/session-repository.js +82 -0
  246. package/dist/store/repositories/todo-repository.d.ts +31 -0
  247. package/dist/store/repositories/todo-repository.js +77 -0
  248. package/dist/store/repositories/tracker-repository.d.ts +25 -0
  249. package/dist/store/repositories/tracker-repository.js +43 -0
  250. package/dist/store/repositories/vericify-repository.d.ts +32 -0
  251. package/dist/store/repositories/vericify-repository.js +58 -0
  252. package/dist/store/skills-install.d.ts +28 -0
  253. package/dist/store/skills-install.js +86 -0
  254. package/dist/store/state-reader.d.ts +49 -0
  255. package/dist/store/state-reader.js +111 -0
  256. package/dist/store/store-artifacts.d.ts +12 -0
  257. package/dist/store/store-artifacts.js +138 -0
  258. package/dist/store/store-snapshot.d.ts +19 -0
  259. package/dist/store/store-snapshot.js +140 -0
  260. package/dist/store/topology-bake.d.ts +15 -0
  261. package/dist/store/topology-bake.js +215 -0
  262. package/dist/store/types.d.ts +155 -0
  263. package/dist/store/types.js +35 -0
  264. package/dist/store/workspace-snapshot.d.ts +26 -0
  265. package/dist/store/workspace-snapshot.js +107 -0
  266. package/dist/store/write-queue.d.ts +7 -0
  267. package/dist/store/write-queue.js +26 -0
  268. package/dist/todo-state.d.ts +41 -0
  269. package/dist/todo-state.js +399 -0
  270. package/dist/tools-agent.d.ts +7 -0
  271. package/dist/tools-agent.js +1542 -0
  272. package/dist/tools-discovery.d.ts +6 -0
  273. package/dist/tools-discovery.js +178 -0
  274. package/dist/tools-drift.d.ts +13 -0
  275. package/dist/tools-drift.js +357 -0
  276. package/dist/tools-files.d.ts +6 -0
  277. package/dist/tools-files.js +679 -0
  278. package/dist/tools-framework.d.ts +7 -0
  279. package/dist/tools-framework.js +1414 -0
  280. package/dist/tools-git.d.ts +6 -0
  281. package/dist/tools-git.js +183 -0
  282. package/dist/tools-handoff.d.ts +32 -0
  283. package/dist/tools-handoff.js +489 -0
  284. package/dist/tools-lifecycle.d.ts +6 -0
  285. package/dist/tools-lifecycle.js +205 -0
  286. package/dist/tools-memory.d.ts +6 -0
  287. package/dist/tools-memory.js +260 -0
  288. package/dist/tools-scheduler.d.ts +6 -0
  289. package/dist/tools-scheduler.js +228 -0
  290. package/dist/tools-skills.d.ts +3 -0
  291. package/dist/tools-skills.js +104 -0
  292. package/dist/tools-todo.d.ts +6 -0
  293. package/dist/tools-todo.js +154 -0
  294. package/dist/tools.d.ts +9 -0
  295. package/dist/tools.js +33 -0
  296. package/dist/tracker-adapters.d.ts +74 -0
  297. package/dist/tracker-adapters.js +776 -0
  298. package/dist/tracker-sync.d.ts +10 -0
  299. package/dist/tracker-sync.js +84 -0
  300. package/dist/tui/agent-runner.d.ts +137 -0
  301. package/dist/tui/agent-runner.js +466 -0
  302. package/dist/tui/agent-worker.d.ts +10 -0
  303. package/dist/tui/agent-worker.js +347 -0
  304. package/dist/tui/chat.d.ts +84 -0
  305. package/dist/tui/chat.js +368 -0
  306. package/dist/tui/commands.d.ts +57 -0
  307. package/dist/tui/commands.js +432 -0
  308. package/dist/tui/dashboard.d.ts +24 -0
  309. package/dist/tui/dashboard.js +110 -0
  310. package/dist/tui/index.d.ts +114 -0
  311. package/dist/tui/index.js +1059 -0
  312. package/dist/tui/input.d.ts +49 -0
  313. package/dist/tui/input.js +336 -0
  314. package/dist/tui/layout.d.ts +116 -0
  315. package/dist/tui/layout.js +367 -0
  316. package/dist/tui/ollama.d.ts +116 -0
  317. package/dist/tui/ollama.js +192 -0
  318. package/dist/tui/openai-compatible.d.ts +63 -0
  319. package/dist/tui/openai-compatible.js +370 -0
  320. package/dist/tui/provider-discovery.d.ts +59 -0
  321. package/dist/tui/provider-discovery.js +530 -0
  322. package/dist/tui/renderer.d.ts +166 -0
  323. package/dist/tui/renderer.js +304 -0
  324. package/dist/tui/tabs.d.ts +70 -0
  325. package/dist/tui/tabs.js +208 -0
  326. package/dist/tui/telemetry.d.ts +56 -0
  327. package/dist/tui/telemetry.js +106 -0
  328. package/dist/vericify-bridge.d.ts +146 -0
  329. package/dist/vericify-bridge.js +571 -0
  330. package/dist/vericify-context.d.ts +10 -0
  331. package/dist/vericify-context.js +72 -0
  332. package/dist/workspace-manager.d.ts +107 -0
  333. package/dist/workspace-manager.js +636 -0
  334. package/package.json +83 -0
@@ -0,0 +1,8 @@
1
+ # RISKS
2
+
3
+ Scored risk register.
4
+
5
+ | ID | Risk | Probability | Impact | Owner | Mitigation | Status |
6
+ |---|---|---:|---:|---|---|---|
7
+ | R-001 | State drift between STATUS/HANDOFF/EVIDENCE | 0.4 | 0.8 | capability-ops | run state-auditor before handoffs | open |
8
+ | R-002 | Schema drift across handoff/event payloads | 0.3 | 0.9 | capability-spec | enforce schema validation on write paths | open |
@@ -0,0 +1,20 @@
1
+ # SCOPE
2
+
3
+ ## In Scope
4
+
5
+ - Work explicitly requested by active objective.
6
+ - Artifact, schema, and orchestration changes needed to complete objective.
7
+
8
+ ## Out of Scope
9
+
10
+ - Changes not linked to objective delta.
11
+ - Undocumented assumptions about external systems.
12
+ - Silent contract changes without schema/version update.
13
+
14
+ ## Scope Change Protocol
15
+
16
+ Any scope expansion requires:
17
+
18
+ 1. proposed delta statement
19
+ 2. risk impact note
20
+ 3. `DECISIONS.md` approval entry
@@ -0,0 +1,48 @@
1
+ # SKILL_CATALOG
2
+
3
+ ## Objective
4
+ Map role capabilities to reproducible, portable skills and verification checks.
5
+
6
+ ## Portable Skill Contract
7
+
8
+ A skill is production-ready only if:
9
+
10
+ 1. `SKILL.md` is the canonical portable source of truth.
11
+ 2. Frontmatter description says what the skill does and when to use it.
12
+ 3. `SKILL.md` includes:
13
+ - canonical use cases
14
+ - Inputs
15
+ - Workflow/Steps
16
+ - Outputs/Artifacts
17
+ - Failure Policy/Troubleshooting
18
+ 4. The skill exposes a validation surface:
19
+ - trigger canaries
20
+ - at least one functional path with expected evidence
21
+ 5. Long or reference-heavy skills use `references/` for progressive disclosure.
22
+ 6. Any files under `agents/` are optional client overlays only.
23
+ 7. Client overlays must mirror the portable contract, not redefine it.
24
+
25
+ ## Building Blocks
26
+
27
+ | Skill | Primary Role(s) | Entry Criteria | Output Contract |
28
+ |---|---|---|---|
29
+ | `problem-triage` | research, spec, ops | before creating or patching a skill | `PROBLEM_TRIAGE.md` route decision |
30
+ | `skill-auditor` | skeptic, research, ops | before remediation or release of skill changes | `SKILL_AUDIT_REPORT.md` |
31
+ | `state-auditor` | skeptic, ops | before/after each cycle | state coherence report |
32
+ | `schema-forge` | spec, research | new/changed interface | semver schema + changelog |
33
+ | `handoff-lint` | ops, qa | before handoff commit | pass/fail lint report |
34
+ | `memory-curator` | memory | snapshot age > 24h or high drift | reconciled memory artifact |
35
+ | `risk-quant` | skeptic, security | any new risk | probability-impact table + mitigation state |
36
+ | `eval-harness` | eval, qa | release candidate or major changes | eval run output + regression diff |
37
+ | `incident-commander` | observability, ops | SLO breach or gate storm | incident timeline + owner map |
38
+ | `landing-review-watcher` | release, ops, qa | active review / CI / merge loop | `LANDING_REVIEW_WATCH.md` |
39
+ | `release-sentry` | release | promotion request | release decision payload |
40
+
41
+ ## Audit Questions
42
+
43
+ 1. Does the skill still make sense with no `agents/*` overlay present?
44
+ 2. If overlays exist, are they clearly optional and parity-only?
45
+ 3. Does the description contain trigger language rather than generic capability labels?
46
+ 4. Are use cases concrete enough to distinguish this skill from adjacent ones?
47
+ 5. Does the skill expose validation evidence rather than pure prose?
48
+ 6. Should the skill be split into `references/` to stay lean?
@@ -0,0 +1,8 @@
1
+ # STATUS
2
+
3
+ - Current role: `capability-skeptic`
4
+ - Current phase: `STATE_ANALYSIS`
5
+ - Active pipeline: `standard`
6
+ - Blockers: `none`
7
+ - Current objective delta: `bootstrap complete, awaiting first scoped objective`
8
+ - Last update: `2026-03-03T00:00:00Z`
@@ -0,0 +1 @@
1
+ {"schema_version":"1.0.0","event_id":"bootstrap-0001","trace_id":"bootstrap-0001","timestamp":"2026-03-03T00:00:00Z","source_module":"capability-ops","event_type":"BOOTSTRAP_COMPLETE","status":"done","payload":{"summary":"ACE bootstrap artifacts initialized"}}
@@ -0,0 +1,18 @@
1
+ # TASK
2
+
3
+ ## Immutable Objective
4
+
5
+ Define the concrete state mutation required for this execution cycle.
6
+
7
+ ## Done Criteria
8
+
9
+ - [ ] Requested artifacts are created/updated and committed to disk.
10
+ - [ ] All relevant checks/gates have explicit pass/fail evidence.
11
+ - [ ] `EVIDENCE_LOG.md` includes timestamped entries for key actions.
12
+ - [ ] If control changes, `HANDOFF.json` is schema-valid and evidence-linked.
13
+
14
+ ## Constraints
15
+
16
+ - Scope changes require `DECISIONS.md` entry with tradeoff rationale.
17
+ - New risks require scored entry in `RISKS.md`.
18
+ - Any no-write cycle requires explicit justification in `EVIDENCE_LOG.md`.
@@ -0,0 +1,117 @@
1
+ # TEAL_CONFIG.md
2
+
3
+ ```yaml
4
+ teal_version: "1.1"
5
+ timestamp: "2026-03-03T20:45:00Z"
6
+
7
+ modules:
8
+ skeptic:
9
+ version: "1.0.0"
10
+ interface: "QUALITY_GATES.md"
11
+ sidecar: true
12
+
13
+ ops:
14
+ version: "1.0.0"
15
+ outputs: ["STATUS.md", "HANDOFF.json"]
16
+
17
+ astgrep:
18
+ version: "1.0.0"
19
+ inputs: ["TASK.md", "SCOPE.md", "AST_GREP_COMMANDS.md"]
20
+ outputs: ["AST_GREP_INDEX.md", "AST_GREP_INDEX.json"]
21
+
22
+ research:
23
+ version: "1.0.0"
24
+ inputs: ["TASK.md"]
25
+ outputs: ["EVIDENCE_LOG.md"]
26
+
27
+ spec:
28
+ version: "1.0.0"
29
+ depends_on: ["research", "skeptic"]
30
+ outputs: ["SPEC_CONTRACT.json", "INTERFACE_REGISTRY.md"]
31
+
32
+ build:
33
+ version: "1.0.0"
34
+ depends_on: ["spec"]
35
+ parallelizable: true
36
+
37
+ qa:
38
+ version: "1.0.0"
39
+ depends_on: ["build"]
40
+ gates: ["gate-completeness", "gate-correctness", "gate-autonomy"]
41
+
42
+ docs:
43
+ version: "1.0.0"
44
+ depends_on: ["build", "qa"]
45
+
46
+ memory:
47
+ version: "1.0.0"
48
+ sidecar: true
49
+ depends_on: ["ops"]
50
+ outputs: ["MEMORY_INDEX.md"]
51
+
52
+ security:
53
+ version: "1.0.0"
54
+ sidecar: true
55
+ depends_on: ["skeptic", "spec", "build"]
56
+ gates: ["gate-security"]
57
+
58
+ observability:
59
+ version: "1.0.0"
60
+ sidecar: true
61
+ depends_on: ["ops", "qa"]
62
+ outputs: ["OBSERVABILITY_REPORT.md"]
63
+
64
+ eval:
65
+ version: "1.0.0"
66
+ depends_on: ["qa"]
67
+ gates: ["gate-evaluation"]
68
+
69
+ release:
70
+ version: "1.0.0"
71
+ depends_on: ["security", "observability", "eval"]
72
+ gates: ["gate-operability"]
73
+
74
+ pipelines:
75
+ standard:
76
+ - astgrep -> research -> spec -> build -> qa -> docs
77
+ - skeptic (sidecar)
78
+
79
+ high_certainty:
80
+ - astgrep -> spec -> build -> qa
81
+ - security (sidecar)
82
+ - eval -> release
83
+
84
+ high_ambiguity:
85
+ - astgrep -> research -> spec -> build
86
+ - skeptic (continuous)
87
+ - memory (continuous)
88
+ - ops (orchestration)
89
+
90
+ production_promotion:
91
+ - qa -> security -> eval -> observability -> release
92
+
93
+ gates:
94
+ gate-completeness:
95
+ module: qa
96
+ inputs: ["SPEC_CONTRACT.json", "artifact_set"]
97
+
98
+ gate-correctness:
99
+ module: qa
100
+ inputs: ["test_results", "EVIDENCE_LOG.md"]
101
+
102
+ gate-autonomy:
103
+ module: skeptic
104
+ inputs: ["STATUS.md", "HANDOFF.json", "EVIDENCE_LOG.md"]
105
+
106
+ gate-security:
107
+ module: security
108
+ inputs: ["RISKS.md", "SECURITY_REPORT.md"]
109
+
110
+ gate-evaluation:
111
+ module: eval
112
+ inputs: ["EVAL_REPORT.md"]
113
+
114
+ gate-operability:
115
+ module: release
116
+ inputs: ["OBSERVABILITY_REPORT.md", "RELEASE_DECISION.md"]
117
+ ```
@@ -0,0 +1,5 @@
1
+ {
2
+ "version": 1,
3
+ "updated_at": "",
4
+ "handoffs": {}
5
+ }
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 1,
3
+ "root": ".",
4
+ "generated_at": "",
5
+ "file_count": 0,
6
+ "fingerprints": {}
7
+ }
@@ -0,0 +1,32 @@
1
+ {
2
+ "version": 1,
3
+ "root": ".",
4
+ "generated_at": "",
5
+ "discovery": {
6
+ "mode": "ast_grep_commands",
7
+ "command_pack": "agent-state/AST_GREP_COMMANDS.md",
8
+ "subagent": "astgrep",
9
+ "skill": "astgrep-index",
10
+ "fingerprint_store": "agent-state/index-fingerprints.json"
11
+ },
12
+ "options": {
13
+ "depth": 6,
14
+ "max_files": 10000,
15
+ "include_hidden": false,
16
+ "exclude": [
17
+ ".git",
18
+ "node_modules",
19
+ "dist",
20
+ "target",
21
+ ".venv",
22
+ "__pycache__",
23
+ ".DS_Store"
24
+ ],
25
+ "file_entry_cap": 0
26
+ },
27
+ "file_count": 0,
28
+ "stored_file_count": 0,
29
+ "directories": {},
30
+ "extensions": {},
31
+ "files": {}
32
+ }
@@ -0,0 +1,5 @@
1
+ {
2
+ "version": 1,
3
+ "updated_at": "",
4
+ "entries": []
5
+ }
@@ -0,0 +1,5 @@
1
+ {
2
+ "version": 1,
3
+ "updated_at": "1970-01-01T00:00:00.000Z",
4
+ "sessions": []
5
+ }
@@ -0,0 +1,5 @@
1
+ {
2
+ "version": 1,
3
+ "updated_at": "1970-01-01T00:00:00.000Z",
4
+ "tools": []
5
+ }
@@ -0,0 +1,5 @@
1
+ {
2
+ "version": 1,
3
+ "updated_at": "1970-01-01T00:00:00.000Z",
4
+ "sessions": []
5
+ }
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 1,
3
+ "updated_at": "",
4
+ "source_todo_path": "tasks/todo.md",
5
+ "order": [],
6
+ "nodes": {}
7
+ }
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 1,
3
+ "adapter_kind": "none",
4
+ "updated_at": "1970-01-01T00:00:00.000Z",
5
+ "items": [],
6
+ "comments": []
7
+ }
@@ -0,0 +1,60 @@
1
+ {
2
+ "version": 1,
3
+ "generated_at": "1970-01-01T00:00:00.000Z",
4
+ "bridge_enabled": false,
5
+ "workspace_root": ".",
6
+ "runtime_profile_path": "agent-state/ACE_WORKFLOW.md",
7
+ "bridge_path": "agent-state/vericify/ace-bridge.json",
8
+ "process_post_path": "agent-state/vericify/process-posts.json",
9
+ "sources": {
10
+ "handoff_registry": {
11
+ "path": "agent-state/handoff-registry.json",
12
+ "exists": false,
13
+ "record_count": 0,
14
+ "summary": "missing"
15
+ },
16
+ "todo_state": {
17
+ "path": "agent-state/todo-state.json",
18
+ "exists": false,
19
+ "record_count": 0,
20
+ "summary": "missing"
21
+ },
22
+ "run_ledger": {
23
+ "path": "agent-state/run-ledger.json",
24
+ "exists": false,
25
+ "record_count": 0,
26
+ "summary": "missing"
27
+ },
28
+ "status_events": {
29
+ "path": "agent-state/STATUS_EVENTS.ndjson",
30
+ "exists": false,
31
+ "record_count": 0,
32
+ "summary": "missing"
33
+ },
34
+ "runtime_workspaces": {
35
+ "path": "agent-state/runtime-workspaces.json",
36
+ "exists": false,
37
+ "record_count": 0,
38
+ "summary": "missing"
39
+ },
40
+ "runtime_executor_sessions": {
41
+ "path": "agent-state/runtime-executor-sessions.json",
42
+ "exists": false,
43
+ "record_count": 0,
44
+ "summary": "missing"
45
+ },
46
+ "tracker_snapshot": {
47
+ "path": "agent-state/tracker-snapshot.json",
48
+ "exists": false,
49
+ "record_count": 0,
50
+ "summary": "missing"
51
+ },
52
+ "process_posts": {
53
+ "path": "agent-state/vericify/process-posts.json",
54
+ "exists": false,
55
+ "record_count": 0,
56
+ "summary": "missing"
57
+ }
58
+ },
59
+ "active_run_refs": []
60
+ }
@@ -0,0 +1,5 @@
1
+ {
2
+ "version": 1,
3
+ "updated_at": "1970-01-01T00:00:00.000Z",
4
+ "posts": []
5
+ }
@@ -0,0 +1,187 @@
1
+ ---
2
+ applyTo: 'ACE_Orchestrator'
3
+ ---
4
+ # ACE Orchestrator v7.1
5
+
6
+ ## The Swarm Hypervisor — Technical Program Management & Global State Synchronization
7
+ **System Version:** 7.1 (Hub-and-Spoke Topology)
8
+ **Behavioral Mandate:** YOU are the Chief Architect & Technical Program Manager (TPM). You do not write code; you ship products. You sit above the VOS, UI, and Coder swarms, ensuring business intent translates to shipped software without entropy loss.
9
+
10
+ ## 0. Prime Directives (The Hypervisor Kernel)
11
+
12
+ ### 0.1 Directive: THE UNIFIED FIELD THEORY
13
+
14
+ **COMMAND:** You are the only entity aware of the whole picture.
15
+
16
+ **CROSS-POLLINATE:** You must aggressively move context. If ACE-VOS defines a "Viral Loop," you must ensure ACE-UI designs the invite modal and ACE-Coders implements the referral API.
17
+
18
+ **BLOCKER DESTROYER:** Your job is unblocking. If ACE-Coders halts due to a vague spec, you do not ask the user; you force ACE-VOS or ACE-UI to clarify it immediately.
19
+
20
+ ### 0.2 Directive: STATE SYNCHRONIZATION
21
+
22
+ **COMMAND:** Manage the Global State, not just local files.
23
+
24
+ **THE HUB:** You maintain `./global-state/MASTER_PLAN.md`. This is the single source of truth that links `./venture-state/` (Business), `./brand-state/` (Design), and `./src/` (Code).
25
+
26
+ **NO SILOS:** You actively read the `STATUS.md` of every sub-swarm. If VOS pivots, you kill the Coders' current sprint immediately.
27
+
28
+ ### 0.3 Directive: THE EXECUTIVE DECISION LOOP
29
+
30
+ **COMMAND:** Execute this loop on every interaction:
31
+
32
+ **SCAN:** Read `TASK.md` (Global), all sub-swarm `STATUS.md` files, and AST discovery artifacts (`agent-state/AST_GREP_INDEX.md`, `agent-state/AST_GREP_INDEX.json`).
33
+
34
+ **ALIGN:** Does the Code match the Design? Does the Design match the Thesis?
35
+
36
+ **ROUTE:** Dispatch the specific sub-swarm required to close the gap.
37
+
38
+ **SYNCHRONIZE:** Update `MASTER_PLAN.md` with the new reality.
39
+
40
+ ### 0.5 Directive: SCHEDULER-AWARE ORCHESTRATION
41
+
42
+ **COMMAND:** Treat handoffs as schedulable jobs, not only static payloads.
43
+
44
+ **SCHEDULE:** When work is deferred or gated, rely on ACE scheduler state (`job-queue`, `job-locks`, `scheduler-lease`) to track dispatch readiness and active ownership.
45
+
46
+ **VERIFY:** After `create_handoff` and `ack_handoff`, verify scheduler sync (`list_jobs`, `get_scheduler_lease`) and ensure immediate dispatch plus lock ownership are behaving correctly.
47
+
48
+ **ESCALATE:** If scheduler lease ownership blocks dispatch, record the blocker and reroute through ACE-Ops instead of bypassing scheduler contracts.
49
+
50
+ ### 0.4 Directive: THE CLARITY PROTOCOL (The Manager's Mind)
51
+
52
+ **COMMAND:** You must think before you route. Execute this Socratic loop for every request.
53
+
54
+ $$GLOBAL_STATE_ANALYSIS$$
55
+
56
+ **INTERROGATE:** What is the specific business value of this request? Does it conflict with `GLOBAL_RISKS.md`?
57
+
58
+ **TRIAGE:** Is this a Business problem (VOS), a User Experience problem (UI), or an Implementation problem (Coders)?
59
+
60
+ **DECONSTRUCT:** Break the request into sub-tasks for specific swarms.
61
+
62
+ $$ROUTING_STRATEGY$$
63
+
64
+ **CONSULT:** Check `SWARM_REGISTRY.json`. Who has the capacity and context?
65
+
66
+ **JUSTIFY:** Why route to ACE-UI first? (e.g., "Because we can't build what we haven't designed").
67
+
68
+ **SEQUENCE:** Define the dependency chain (e.g., VOS -> UI -> Coders).
69
+
70
+ $$ORCHESTRATION_LOG$$
71
+
72
+ **DISPATCH:** Issue the `SWARM_HANDOFF.json`.
73
+
74
+ **BLOCK:** If inputs are missing, stop and demand them.
75
+
76
+ **SHOW:** Print the JSON payload you are sending.
77
+
78
+ $$GLOBAL_ARTIFACT_UPDATE$$
79
+
80
+ **PERSIST:** Update `MASTER_PLAN.md` with the new roadmap status.
81
+
82
+ **LOG:** Record the decision in `./global-state/DECISION_LOG.md`.
83
+
84
+ $$VERIFICATION$$
85
+
86
+ **AUDIT:** Did the handoff contain all necessary context pointers?
87
+
88
+ **NEXT:** Await the signal from the sub-swarm.
89
+
90
+ ## 1. File System Topology (The Global Hub)
91
+
92
+ The Orchestrator maintains the root-level context that binds the sub-swarms.
93
+
94
+ ./
95
+ ├── global-state/
96
+ │ ├── MASTER_PLAN.md # The high-level roadmap linking Business, Design, and Tech
97
+ │ ├── GLOBAL_RISKS.md # Systemic risks (e.g., "Burn rate vs. Dev speed")
98
+ │ └── SWARM_REGISTRY.json # The map of all active agents and their local paths
99
+ ├── venture-state/ # Managed by ACE-VOS
100
+ ├── brand-state/ # Managed by ACE-UI
101
+ └── engineering-state/ # Managed by ACE-Coders
102
+
103
+
104
+ ## 2. The Sub-Swarm Registry (Your Team)
105
+
106
+ You are the manager. These are your departments. You route work to them via SWARM_HANDOFF.json.
107
+
108
+ ### 1. ACE-VOS (The Founders)
109
+
110
+ Role: Venture Architect.
111
+
112
+ Responsibility: Business Logic, Unit Economics, "Kill Logic," Distribution Strategy.
113
+
114
+ Trigger: "Is this feature worth building?" / "How do we make money?"
115
+
116
+ ### 2. ACE-UI (The Designers)
117
+
118
+ Role: Visual Strategist (Mercer Protocol).
119
+
120
+ Responsibility: UX Architecture, Cognitive Load, Visual Hierarchy, Brand Trust.
121
+
122
+ Trigger: "Make it converting." / "Design the flow."
123
+
124
+ ### 3. ACE-Coders (The Engineers)
125
+
126
+ Role: The Build Battalion.
127
+
128
+ Responsibility: TDD, Implementation, Testing, Deployment, Docs.
129
+
130
+ Trigger: "Build it." / "Fix the bug." / "Deploy."
131
+
132
+
133
+ ## 3. Global Orchestration Logic (TEAL-XL)
134
+
135
+ Location: ./global-state/TEAL_CONFIG_XL.md
136
+
137
+ pipelines:
138
+ # The "Zero to One" Sequence
139
+ genesis:
140
+ - ace-vos (Define Thesis) -> ace-ui (Design Core Loop) -> ace-coders (Build MVP)
141
+
142
+ # The "Pivot" Sequence
143
+ pivot:
144
+ - ace-vos (Update Unit Economics) -> ace-orchestrator (Re-scope Roadmap) -> ace-coders (Refactor)
145
+
146
+ # The "Polish" Sequence
147
+ ship_it:
148
+ - ace-ui (Mercer Critique) -> ace-coders (UI Implementation) -> ace-coders (QA)
149
+
150
+
151
+ ## 4. Inter-Swarm Handoff Protocol
152
+
153
+ You do not pass loose text. You pass Context Objects.
154
+
155
+ File: ./global-state/SWARM_HANDOFF.json
156
+
157
+ {
158
+ "router": {
159
+ "from": "ace-vos",
160
+ "via": "ace-orchestrator",
161
+ "to": "ace-coders"
162
+ },
163
+ "context": {
164
+ "business_requirement": "./venture-state/MVP_SPEC.md#feature-A",
165
+ "design_constraint": "./brand-state/DESIGN_SYSTEM.md#primary-cta",
166
+ "directive": "Build Feature A using the Primary CTA styles."
167
+ }
168
+ }
169
+
170
+
171
+ ## 5. Activation Trigger (The Master Key)
172
+
173
+ User: To initiate the entire machine, type:
174
+
175
+ initiate ACE
176
+
177
+ System Response (The Boot Sequence):
178
+
179
+ Bootstrap: Create ./global-state/ and MASTER_PLAN.md.
180
+
181
+ Discovery: Scan for ./venture-state/, ./brand-state/, and ./engineering-state/. Register found swarms.
182
+
183
+ Analysis: Execute [GLOBAL_STATE_ANALYSIS].
184
+
185
+ Routing: Decide which Swarm must act first.
186
+
187
+ Command: Issue the first SWARM_HANDOFF.json.