@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,21 @@
1
+ {
2
+ "id": "capability-release",
3
+ "version": "1.0.0",
4
+ "objective": "Manage promotion, canary, and rollback decisions for autonomous updates",
5
+ "permissions": [
6
+ "allow_file_io",
7
+ "allow_shell_exec"
8
+ ],
9
+ "inputs": [
10
+ {"file": "EVAL_REPORT.md", "critical": true},
11
+ {"file": "SECURITY_REPORT.md", "critical": true},
12
+ {"file": "OBSERVABILITY_REPORT.md", "critical": true}
13
+ ],
14
+ "outputs": [
15
+ {"file": "RELEASE_DECISION.md", "validation_gate": "gate-operability"}
16
+ ],
17
+ "failure_routing": {
18
+ "missing_input": "BLOCK_AND_REQUEST_INFO",
19
+ "gate_failure": "ROUTE_TO_CAPABILITY_OPS"
20
+ }
21
+ }
@@ -0,0 +1,44 @@
1
+ {
2
+ "id": "capability-research",
3
+ "version": "1.0.0",
4
+ "objective": "Validate assumptions with source-backed evidence and confidence scores",
5
+ "permissions": [
6
+ "allow_file_io",
7
+ "allow_shell_exec",
8
+ "allow_external_lookup"
9
+ ],
10
+ "inputs": [
11
+ {
12
+ "file": "TASK.md",
13
+ "critical": true
14
+ },
15
+ {
16
+ "file": "SCOPE.md",
17
+ "critical": true
18
+ }
19
+ ],
20
+ "outputs": [
21
+ {
22
+ "file": "EVIDENCE_LOG.md",
23
+ "validation_gate": "gate-completeness"
24
+ },
25
+ {
26
+ "file": "ASSUMPTION_MAP.md",
27
+ "validation_gate": "gate-completeness"
28
+ }
29
+ ],
30
+ "events": {
31
+ "emits": [
32
+ "SOURCE_VALIDATED",
33
+ "SOURCE_INVALID"
34
+ ],
35
+ "consumes": [
36
+ "GATE_DECISION",
37
+ "FIX_REQUIRED"
38
+ ]
39
+ },
40
+ "failure_routing": {
41
+ "missing_input": "BLOCK_AND_REQUEST_INFO",
42
+ "gate_failure": "ESCALATE_TO_SKEPTIC"
43
+ }
44
+ }
@@ -0,0 +1,21 @@
1
+ {
2
+ "id": "capability-security",
3
+ "version": "1.0.0",
4
+ "objective": "Enforce security and policy constraints across tools, prompts, and artifacts",
5
+ "permissions": [
6
+ "allow_file_io",
7
+ "allow_shell_exec"
8
+ ],
9
+ "inputs": [
10
+ {"file": "SCOPE.md", "critical": true},
11
+ {"file": "RISKS.md", "critical": true},
12
+ {"file": "HANDOFF.json", "critical": false}
13
+ ],
14
+ "outputs": [
15
+ {"file": "SECURITY_REPORT.md", "validation_gate": "gate-security"}
16
+ ],
17
+ "failure_routing": {
18
+ "missing_input": "BLOCK_AND_REQUEST_INFO",
19
+ "gate_failure": "REVERT_TO_PREVIOUS_ROLE"
20
+ }
21
+ }
@@ -0,0 +1,48 @@
1
+ {
2
+ "id": "capability-skeptic",
3
+ "version": "1.0.0",
4
+ "objective": "Convert ambiguity into falsifiable quality gates and ratify scope changes",
5
+ "permissions": [
6
+ "allow_file_io",
7
+ "allow_shell_exec"
8
+ ],
9
+ "inputs": [
10
+ {
11
+ "file": "TASK.md",
12
+ "critical": true
13
+ },
14
+ {
15
+ "file": "SCOPE.md",
16
+ "critical": true
17
+ },
18
+ {
19
+ "file": "RISKS.md",
20
+ "critical": true
21
+ }
22
+ ],
23
+ "outputs": [
24
+ {
25
+ "file": "QUALITY_GATES.md",
26
+ "validation_gate": "gate-completeness"
27
+ },
28
+ {
29
+ "file": "DECISIONS.md",
30
+ "validation_gate": "gate-completeness"
31
+ }
32
+ ],
33
+ "events": {
34
+ "emits": [
35
+ "GATE_DECISION",
36
+ "GATE_FAILED",
37
+ "GATE_PASSED"
38
+ ],
39
+ "consumes": [
40
+ "SPEC_UPDATED",
41
+ "VERIFICATION_COMPLETE"
42
+ ]
43
+ },
44
+ "failure_routing": {
45
+ "missing_input": "BLOCK_AND_REQUEST_INFO",
46
+ "gate_failure": "REVERT_TO_PREVIOUS_ROLE"
47
+ }
48
+ }
@@ -0,0 +1,42 @@
1
+ {
2
+ "id": "capability-spec",
3
+ "version": "1.0.0",
4
+ "objective": "Translate validated goals into machine-testable contracts",
5
+ "permissions": [
6
+ "allow_file_io"
7
+ ],
8
+ "inputs": [
9
+ {
10
+ "file": "QUALITY_GATES.md",
11
+ "critical": true
12
+ },
13
+ {
14
+ "file": "EVIDENCE_LOG.md",
15
+ "critical": true
16
+ }
17
+ ],
18
+ "outputs": [
19
+ {
20
+ "file": "SPEC_CONTRACT.json",
21
+ "validation_gate": "gate-completeness"
22
+ },
23
+ {
24
+ "file": "INTERFACE_DEFINITION.md",
25
+ "validation_gate": "gate-completeness"
26
+ }
27
+ ],
28
+ "events": {
29
+ "emits": [
30
+ "SPEC_UPDATED",
31
+ "SPEC_BREAKING_CHANGE"
32
+ ],
33
+ "consumes": [
34
+ "SOURCE_VALIDATED",
35
+ "GATE_DECISION"
36
+ ]
37
+ },
38
+ "failure_routing": {
39
+ "missing_input": "BLOCK_AND_REQUEST_INFO",
40
+ "gate_failure": "REVERT_TO_PREVIOUS_ROLE"
41
+ }
42
+ }
@@ -0,0 +1,289 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "$id": "ace://schemas/runtime-profile/1.0.0",
4
+ "title": "ACE Runtime Profile",
5
+ "type": "object",
6
+ "additionalProperties": false,
7
+ "required": [
8
+ "ace_runtime_version",
9
+ "runtime",
10
+ "workspace",
11
+ "executor",
12
+ "tracker",
13
+ "observability"
14
+ ],
15
+ "properties": {
16
+ "ace_runtime_version": {
17
+ "type": "string",
18
+ "const": "1.0.0"
19
+ },
20
+ "runtime": {
21
+ "type": "object",
22
+ "additionalProperties": false,
23
+ "required": [
24
+ "mode",
25
+ "profile_name"
26
+ ],
27
+ "properties": {
28
+ "mode": {
29
+ "type": "string",
30
+ "enum": [
31
+ "interactive",
32
+ "unattended"
33
+ ]
34
+ },
35
+ "profile_name": {
36
+ "type": "string",
37
+ "minLength": 1
38
+ }
39
+ }
40
+ },
41
+ "workspace": {
42
+ "type": "object",
43
+ "additionalProperties": false,
44
+ "required": [
45
+ "root",
46
+ "retention",
47
+ "hooks"
48
+ ],
49
+ "properties": {
50
+ "root": {
51
+ "type": "string",
52
+ "minLength": 1
53
+ },
54
+ "retention": {
55
+ "type": "string",
56
+ "enum": [
57
+ "delete",
58
+ "archive"
59
+ ]
60
+ },
61
+ "hooks": {
62
+ "type": "object",
63
+ "additionalProperties": false,
64
+ "required": [
65
+ "after_create",
66
+ "before_run",
67
+ "after_run",
68
+ "before_remove"
69
+ ],
70
+ "properties": {
71
+ "after_create": {
72
+ "type": [
73
+ "string",
74
+ "null"
75
+ ]
76
+ },
77
+ "before_run": {
78
+ "type": [
79
+ "string",
80
+ "null"
81
+ ]
82
+ },
83
+ "after_run": {
84
+ "type": [
85
+ "string",
86
+ "null"
87
+ ]
88
+ },
89
+ "before_remove": {
90
+ "type": [
91
+ "string",
92
+ "null"
93
+ ]
94
+ }
95
+ }
96
+ }
97
+ }
98
+ },
99
+ "executor": {
100
+ "type": "object",
101
+ "additionalProperties": false,
102
+ "required": [
103
+ "command",
104
+ "approval_policy",
105
+ "thread_sandbox",
106
+ "turn_sandbox_policy"
107
+ ],
108
+ "properties": {
109
+ "command": {
110
+ "type": [
111
+ "string",
112
+ "null"
113
+ ]
114
+ },
115
+ "approval_policy": {
116
+ "type": [
117
+ "string",
118
+ "object"
119
+ ]
120
+ },
121
+ "thread_sandbox": {
122
+ "type": "string",
123
+ "minLength": 1
124
+ },
125
+ "turn_sandbox_policy": {
126
+ "type": [
127
+ "object",
128
+ "null"
129
+ ]
130
+ },
131
+ "max_turns": {
132
+ "type": "integer",
133
+ "minimum": 1
134
+ },
135
+ "turn_timeout_ms": {
136
+ "type": "integer",
137
+ "minimum": 1
138
+ }
139
+ }
140
+ },
141
+ "tools": {
142
+ "type": "object",
143
+ "additionalProperties": false,
144
+ "properties": {
145
+ "registry_path": {
146
+ "type": "string",
147
+ "minLength": 1
148
+ }
149
+ }
150
+ },
151
+ "autonomy": {
152
+ "type": "object",
153
+ "additionalProperties": false,
154
+ "properties": {
155
+ "orchestrator_preflight": {
156
+ "type": "boolean"
157
+ },
158
+ "recall_context": {
159
+ "type": "boolean"
160
+ },
161
+ "state_sources": {
162
+ "type": "array",
163
+ "items": {
164
+ "type": "string",
165
+ "minLength": 1
166
+ }
167
+ },
168
+ "before_run_checks": {
169
+ "type": "array",
170
+ "items": {
171
+ "type": "string",
172
+ "minLength": 1
173
+ }
174
+ },
175
+ "stop_checks": {
176
+ "type": "array",
177
+ "items": {
178
+ "type": "string",
179
+ "minLength": 1
180
+ }
181
+ },
182
+ "review_mode": {
183
+ "type": [
184
+ "string",
185
+ "null"
186
+ ],
187
+ "minLength": 1
188
+ }
189
+ }
190
+ },
191
+ "continuity": {
192
+ "type": "object",
193
+ "additionalProperties": false,
194
+ "properties": {
195
+ "enabled": {
196
+ "type": "boolean"
197
+ },
198
+ "source_paths": {
199
+ "type": "array",
200
+ "items": {
201
+ "type": "string",
202
+ "minLength": 1
203
+ }
204
+ },
205
+ "max_sources": {
206
+ "type": "integer",
207
+ "minimum": 1
208
+ },
209
+ "max_excerpt_chars": {
210
+ "type": "integer",
211
+ "minimum": 1
212
+ },
213
+ "max_total_chars": {
214
+ "type": "integer",
215
+ "minimum": 1
216
+ },
217
+ "max_status_events": {
218
+ "type": "integer",
219
+ "minimum": 1
220
+ },
221
+ "max_run_ledger_entries": {
222
+ "type": "integer",
223
+ "minimum": 1
224
+ },
225
+ "include_snapshot": {
226
+ "type": "boolean"
227
+ }
228
+ }
229
+ },
230
+ "tracker": {
231
+ "type": "object",
232
+ "additionalProperties": false,
233
+ "required": [
234
+ "kind",
235
+ "config"
236
+ ],
237
+ "properties": {
238
+ "kind": {
239
+ "type": "string",
240
+ "enum": [
241
+ "none",
242
+ "memory",
243
+ "external"
244
+ ]
245
+ },
246
+ "config": {
247
+ "type": "object"
248
+ }
249
+ }
250
+ },
251
+ "observability": {
252
+ "type": "object",
253
+ "additionalProperties": false,
254
+ "required": [
255
+ "http_enabled",
256
+ "http_port"
257
+ ],
258
+ "properties": {
259
+ "http_enabled": {
260
+ "type": "boolean"
261
+ },
262
+ "http_port": {
263
+ "type": [
264
+ "integer",
265
+ "null"
266
+ ],
267
+ "minimum": 0
268
+ },
269
+ "vericify_bridge": {
270
+ "type": "object",
271
+ "additionalProperties": false,
272
+ "properties": {
273
+ "enabled": {
274
+ "type": "boolean"
275
+ },
276
+ "bridge_path": {
277
+ "type": "string",
278
+ "minLength": 1
279
+ },
280
+ "process_post_path": {
281
+ "type": "string",
282
+ "minLength": 1
283
+ }
284
+ }
285
+ }
286
+ }
287
+ }
288
+ }
289
+ }
@@ -0,0 +1,185 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "$id": "ace://schemas/artifact-manifest/1.1.0",
4
+ "title": "ACE Artifact Manifest",
5
+ "oneOf": [
6
+ {
7
+ "type": "object",
8
+ "required": [
9
+ "artifact_id",
10
+ "artifact_path",
11
+ "producer_module",
12
+ "spec_version",
13
+ "req_ids",
14
+ "timestamp",
15
+ "checksum",
16
+ "confidence_level",
17
+ "evidence_ref"
18
+ ],
19
+ "additionalProperties": false,
20
+ "properties": {
21
+ "artifact_id": {
22
+ "type": "string",
23
+ "minLength": 4
24
+ },
25
+ "artifact_path": {
26
+ "type": "string",
27
+ "minLength": 1
28
+ },
29
+ "producer_module": {
30
+ "type": "string",
31
+ "pattern": "^(capability|agent)-[a-z0-9-]+$"
32
+ },
33
+ "spec_version": {
34
+ "type": "string",
35
+ "minLength": 1
36
+ },
37
+ "req_ids": {
38
+ "type": "array",
39
+ "minItems": 1,
40
+ "items": {
41
+ "type": "string",
42
+ "minLength": 1
43
+ }
44
+ },
45
+ "timestamp": {
46
+ "type": "string",
47
+ "format": "date-time"
48
+ },
49
+ "checksum": {
50
+ "type": "string",
51
+ "pattern": "^sha256:[a-f0-9]{64}$"
52
+ },
53
+ "confidence_level": {
54
+ "type": "string",
55
+ "enum": [
56
+ "low",
57
+ "medium",
58
+ "high",
59
+ "WIP",
60
+ "Draft",
61
+ "Verified"
62
+ ]
63
+ },
64
+ "evidence_ref": {
65
+ "type": "string",
66
+ "minLength": 1
67
+ },
68
+ "dependencies": {
69
+ "type": "array",
70
+ "items": {
71
+ "type": "string"
72
+ }
73
+ },
74
+ "evidence_refs": {
75
+ "type": "array",
76
+ "minItems": 1,
77
+ "items": {
78
+ "type": "string",
79
+ "minLength": 1
80
+ }
81
+ }
82
+ }
83
+ },
84
+ {
85
+ "type": "object",
86
+ "required": [
87
+ "schema_version",
88
+ "updated_at",
89
+ "artifacts"
90
+ ],
91
+ "additionalProperties": false,
92
+ "properties": {
93
+ "schema_version": {
94
+ "type": "string",
95
+ "const": "1.1.0"
96
+ },
97
+ "updated_at": {
98
+ "type": "string",
99
+ "format": "date-time"
100
+ },
101
+ "artifacts": {
102
+ "type": "array",
103
+ "items": {
104
+ "type": "object",
105
+ "required": [
106
+ "artifact_id",
107
+ "artifact_path",
108
+ "producer_module",
109
+ "spec_version",
110
+ "req_ids",
111
+ "timestamp",
112
+ "checksum",
113
+ "confidence_level",
114
+ "evidence_ref"
115
+ ],
116
+ "additionalProperties": false,
117
+ "properties": {
118
+ "artifact_id": {
119
+ "type": "string",
120
+ "minLength": 4
121
+ },
122
+ "artifact_path": {
123
+ "type": "string",
124
+ "minLength": 1
125
+ },
126
+ "producer_module": {
127
+ "type": "string",
128
+ "pattern": "^(capability|agent)-[a-z0-9-]+$"
129
+ },
130
+ "spec_version": {
131
+ "type": "string",
132
+ "minLength": 1
133
+ },
134
+ "req_ids": {
135
+ "type": "array",
136
+ "minItems": 1,
137
+ "items": {
138
+ "type": "string",
139
+ "minLength": 1
140
+ }
141
+ },
142
+ "timestamp": {
143
+ "type": "string",
144
+ "format": "date-time"
145
+ },
146
+ "checksum": {
147
+ "type": "string",
148
+ "pattern": "^sha256:[a-f0-9]{64}$"
149
+ },
150
+ "confidence_level": {
151
+ "type": "string",
152
+ "enum": [
153
+ "low",
154
+ "medium",
155
+ "high",
156
+ "WIP",
157
+ "Draft",
158
+ "Verified"
159
+ ]
160
+ },
161
+ "evidence_ref": {
162
+ "type": "string",
163
+ "minLength": 1
164
+ },
165
+ "dependencies": {
166
+ "type": "array",
167
+ "items": {
168
+ "type": "string"
169
+ }
170
+ },
171
+ "evidence_refs": {
172
+ "type": "array",
173
+ "minItems": 1,
174
+ "items": {
175
+ "type": "string",
176
+ "minLength": 1
177
+ }
178
+ }
179
+ }
180
+ }
181
+ }
182
+ }
183
+ }
184
+ ]
185
+ }