atlas-workflow 0.8.2

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 (197) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +235 -0
  3. package/VERSION +1 -0
  4. package/build/cli/atlas-init.mjs +590 -0
  5. package/hosts/opencode/.opencode/agents/atlas-direct-execute.md +31 -0
  6. package/hosts/opencode/.opencode/agents/atlas-findings-repair.md +35 -0
  7. package/hosts/opencode/.opencode/agents/atlas-plan-execute.md +33 -0
  8. package/hosts/opencode/.opencode/agents/atlas-slice-review.md +27 -0
  9. package/hosts/opencode/.opencode/agents/atlas-task-validator.md +121 -0
  10. package/hosts/opencode/.opencode/atlas/VERSION +1 -0
  11. package/hosts/opencode/.opencode/atlas/orchestrator/README.md +261 -0
  12. package/hosts/opencode/.opencode/atlas/orchestrator/commands/workflow.md +37 -0
  13. package/hosts/opencode/.opencode/atlas/orchestrator/defaults/paths.md +21 -0
  14. package/hosts/opencode/.opencode/atlas/orchestrator/references/host-adapters.md +104 -0
  15. package/hosts/opencode/.opencode/atlas/orchestrator/references/qa_s13_matrix.md +141 -0
  16. package/hosts/opencode/.opencode/atlas/orchestrator/references/subagent_dispatch.md +42 -0
  17. package/hosts/opencode/.opencode/atlas/orchestrator/skills/atlas-workflow-orchestrator/SKILL.md +412 -0
  18. package/hosts/opencode/.opencode/atlas/packages/mcp-server/README.md +28 -0
  19. package/hosts/opencode/.opencode/atlas/packages/mcp-server/package.json +15 -0
  20. package/hosts/opencode/.opencode/atlas/packages/mcp-server/server.js +3076 -0
  21. package/hosts/opencode/.opencode/atlas/packages/templates/BACKLOG_MESTRE_TEMPLATE.md +844 -0
  22. package/hosts/opencode/.opencode/atlas/packages/templates/BOUNDARY_PRD_PLAN.md +93 -0
  23. package/hosts/opencode/.opencode/atlas/packages/templates/PERGUNTAS_EM_ABERTO_TEMPLATE.md +139 -0
  24. package/hosts/opencode/.opencode/atlas/packages/templates/PLAN_TEMPLATE.md +146 -0
  25. package/hosts/opencode/.opencode/atlas/packages/templates/PRD_TEMPLATE.md +149 -0
  26. package/hosts/opencode/.opencode/atlas/packages/templates/STATE_FILE_SCHEMA.md +32 -0
  27. package/hosts/opencode/.opencode/skills/atlas-backlog-generator/SKILL.md +88 -0
  28. package/hosts/opencode/.opencode/skills/atlas-backlog-generator/agents/openai.yaml +4 -0
  29. package/hosts/opencode/.opencode/skills/atlas-direct-execute/SKILL.md +186 -0
  30. package/hosts/opencode/.opencode/skills/atlas-direct-execute/agents/openai.yaml +7 -0
  31. package/hosts/opencode/.opencode/skills/atlas-findings-repair/SKILL.md +148 -0
  32. package/hosts/opencode/.opencode/skills/atlas-findings-repair/agents/openai.yaml +7 -0
  33. package/hosts/opencode/.opencode/skills/atlas-plan-execute/SKILL.md +129 -0
  34. package/hosts/opencode/.opencode/skills/atlas-plan-execute/agents/openai.yaml +7 -0
  35. package/hosts/opencode/.opencode/skills/atlas-plan-execute/references/plan-contract.md +88 -0
  36. package/hosts/opencode/.opencode/skills/atlas-plan-execute/references/quality-gates.md +60 -0
  37. package/hosts/opencode/.opencode/skills/atlas-plan-execute/scripts/check_budget_state.py +96 -0
  38. package/hosts/opencode/.opencode/skills/atlas-plan-execute/scripts/extract_plan_contract.py +191 -0
  39. package/hosts/opencode/.opencode/skills/atlas-plan-execute/scripts/validate_gate_result.py +56 -0
  40. package/hosts/opencode/.opencode/skills/atlas-plan-handoff/SKILL.md +181 -0
  41. package/hosts/opencode/.opencode/skills/atlas-plan-handoff/agents/openai.yaml +7 -0
  42. package/hosts/opencode/.opencode/skills/atlas-prd-interview/SKILL.md +77 -0
  43. package/hosts/opencode/.opencode/skills/atlas-prd-interview/agents/openai.yaml +7 -0
  44. package/hosts/opencode/.opencode/skills/atlas-slice-review/SKILL.md +121 -0
  45. package/hosts/opencode/.opencode/skills/atlas-slice-review/agents/openai.yaml +4 -0
  46. package/hosts/opencode/.opencode/skills/atlas-slice-review/references/review-contract.md +58 -0
  47. package/hosts/opencode/.opencode/skills/atlas-slice-review/references/scenario-lenses.md +49 -0
  48. package/hosts/opencode/.opencode/skills/atlas-slice-review/scripts/classify_findings.py +56 -0
  49. package/hosts/opencode/.opencode/skills/atlas-slice-review/scripts/extract_review_slice.py +158 -0
  50. package/hosts/opencode/.opencode/skills/atlas-sprint-prd-generator/SKILL.md +74 -0
  51. package/hosts/opencode/.opencode/skills/atlas-sprint-prd-generator/agents/openai.yaml +7 -0
  52. package/hosts/opencode/.opencode/skills/atlas-task-validator/SKILL.md +158 -0
  53. package/hosts/opencode/.opencode/skills/atlas-task-validator/agents/openai.yaml +7 -0
  54. package/hosts/opencode/.opencode/skills/atlas-workflow-orchestrator/SKILL.md +412 -0
  55. package/hosts/opencode/opencode.json +13 -0
  56. package/hosts/pi/.mcp.json +11 -0
  57. package/hosts/pi/.pi/agents/atlas-direct-execute.md +218 -0
  58. package/hosts/pi/.pi/agents/atlas-findings-repair.md +184 -0
  59. package/hosts/pi/.pi/agents/atlas-plan-execute.md +163 -0
  60. package/hosts/pi/.pi/agents/atlas-slice-review.md +149 -0
  61. package/hosts/pi/.pi/agents/atlas-task-validator.md +121 -0
  62. package/hosts/pi/atlas/VERSION +1 -0
  63. package/hosts/pi/atlas/orchestrator/README.md +261 -0
  64. package/hosts/pi/atlas/orchestrator/commands/workflow.md +37 -0
  65. package/hosts/pi/atlas/orchestrator/defaults/paths.md +21 -0
  66. package/hosts/pi/atlas/orchestrator/references/host-adapters.md +104 -0
  67. package/hosts/pi/atlas/orchestrator/references/qa_s13_matrix.md +141 -0
  68. package/hosts/pi/atlas/orchestrator/references/subagent_dispatch.md +42 -0
  69. package/hosts/pi/atlas/orchestrator/skills/atlas-workflow-orchestrator/SKILL.md +412 -0
  70. package/hosts/pi/atlas/packages/mcp-server/README.md +28 -0
  71. package/hosts/pi/atlas/packages/mcp-server/package.json +15 -0
  72. package/hosts/pi/atlas/packages/mcp-server/server.js +3076 -0
  73. package/hosts/pi/atlas/packages/templates/BACKLOG_MESTRE_TEMPLATE.md +844 -0
  74. package/hosts/pi/atlas/packages/templates/BOUNDARY_PRD_PLAN.md +93 -0
  75. package/hosts/pi/atlas/packages/templates/PERGUNTAS_EM_ABERTO_TEMPLATE.md +139 -0
  76. package/hosts/pi/atlas/packages/templates/PLAN_TEMPLATE.md +146 -0
  77. package/hosts/pi/atlas/packages/templates/PRD_TEMPLATE.md +149 -0
  78. package/hosts/pi/atlas/packages/templates/STATE_FILE_SCHEMA.md +32 -0
  79. package/hosts/pi/skills/atlas-backlog-generator/SKILL.md +88 -0
  80. package/hosts/pi/skills/atlas-backlog-generator/agents/openai.yaml +4 -0
  81. package/hosts/pi/skills/atlas-direct-execute/SKILL.md +186 -0
  82. package/hosts/pi/skills/atlas-direct-execute/agents/openai.yaml +7 -0
  83. package/hosts/pi/skills/atlas-findings-repair/SKILL.md +148 -0
  84. package/hosts/pi/skills/atlas-findings-repair/agents/openai.yaml +7 -0
  85. package/hosts/pi/skills/atlas-plan-execute/SKILL.md +129 -0
  86. package/hosts/pi/skills/atlas-plan-execute/agents/openai.yaml +7 -0
  87. package/hosts/pi/skills/atlas-plan-execute/references/plan-contract.md +88 -0
  88. package/hosts/pi/skills/atlas-plan-execute/references/quality-gates.md +60 -0
  89. package/hosts/pi/skills/atlas-plan-execute/scripts/check_budget_state.py +96 -0
  90. package/hosts/pi/skills/atlas-plan-execute/scripts/extract_plan_contract.py +191 -0
  91. package/hosts/pi/skills/atlas-plan-execute/scripts/validate_gate_result.py +56 -0
  92. package/hosts/pi/skills/atlas-plan-handoff/SKILL.md +181 -0
  93. package/hosts/pi/skills/atlas-plan-handoff/agents/openai.yaml +7 -0
  94. package/hosts/pi/skills/atlas-prd-interview/SKILL.md +77 -0
  95. package/hosts/pi/skills/atlas-prd-interview/agents/openai.yaml +7 -0
  96. package/hosts/pi/skills/atlas-slice-review/SKILL.md +121 -0
  97. package/hosts/pi/skills/atlas-slice-review/agents/openai.yaml +4 -0
  98. package/hosts/pi/skills/atlas-slice-review/references/review-contract.md +58 -0
  99. package/hosts/pi/skills/atlas-slice-review/references/scenario-lenses.md +49 -0
  100. package/hosts/pi/skills/atlas-slice-review/scripts/classify_findings.py +56 -0
  101. package/hosts/pi/skills/atlas-slice-review/scripts/extract_review_slice.py +158 -0
  102. package/hosts/pi/skills/atlas-sprint-prd-generator/SKILL.md +74 -0
  103. package/hosts/pi/skills/atlas-sprint-prd-generator/agents/openai.yaml +7 -0
  104. package/hosts/pi/skills/atlas-task-validator/SKILL.md +158 -0
  105. package/hosts/pi/skills/atlas-task-validator/agents/openai.yaml +7 -0
  106. package/hosts/pi/skills/atlas-workflow-orchestrator/SKILL.md +412 -0
  107. package/package.json +17 -0
  108. package/plugins/atlas-workflow-orchestrator/.codex/agents/atlas-direct-execute.toml +3 -0
  109. package/plugins/atlas-workflow-orchestrator/.codex/agents/atlas-findings-repair.toml +3 -0
  110. package/plugins/atlas-workflow-orchestrator/.codex/agents/atlas-plan-execute.toml +3 -0
  111. package/plugins/atlas-workflow-orchestrator/.codex/agents/atlas-slice-review.toml +3 -0
  112. package/plugins/atlas-workflow-orchestrator/.codex/agents/atlas-task-validator.toml +5 -0
  113. package/plugins/atlas-workflow-orchestrator/.codex-plugin/plugin.json +37 -0
  114. package/plugins/atlas-workflow-orchestrator/.mcp.json +12 -0
  115. package/plugins/atlas-workflow-orchestrator/VERSION +1 -0
  116. package/plugins/atlas-workflow-orchestrator/agents/atlas-direct-execute.md +31 -0
  117. package/plugins/atlas-workflow-orchestrator/agents/atlas-findings-repair.md +35 -0
  118. package/plugins/atlas-workflow-orchestrator/agents/atlas-plan-execute.md +33 -0
  119. package/plugins/atlas-workflow-orchestrator/agents/atlas-slice-review.md +27 -0
  120. package/plugins/atlas-workflow-orchestrator/agents/atlas-task-validator.md +123 -0
  121. package/plugins/atlas-workflow-orchestrator/orchestrator/README.md +261 -0
  122. package/plugins/atlas-workflow-orchestrator/orchestrator/commands/workflow.md +37 -0
  123. package/plugins/atlas-workflow-orchestrator/orchestrator/defaults/paths.md +21 -0
  124. package/plugins/atlas-workflow-orchestrator/orchestrator/references/host-adapters.md +104 -0
  125. package/plugins/atlas-workflow-orchestrator/orchestrator/references/qa_s13_matrix.md +141 -0
  126. package/plugins/atlas-workflow-orchestrator/orchestrator/references/subagent_dispatch.md +42 -0
  127. package/plugins/atlas-workflow-orchestrator/orchestrator/skills/atlas-workflow-orchestrator/SKILL.md +412 -0
  128. package/plugins/atlas-workflow-orchestrator/packages/mcp-server/README.md +28 -0
  129. package/plugins/atlas-workflow-orchestrator/packages/mcp-server/package.json +15 -0
  130. package/plugins/atlas-workflow-orchestrator/packages/mcp-server/server.js +3076 -0
  131. package/plugins/atlas-workflow-orchestrator/packages/skills/atlas-backlog-generator/SKILL.md +88 -0
  132. package/plugins/atlas-workflow-orchestrator/packages/skills/atlas-backlog-generator/agents/openai.yaml +4 -0
  133. package/plugins/atlas-workflow-orchestrator/packages/skills/atlas-direct-execute/SKILL.md +186 -0
  134. package/plugins/atlas-workflow-orchestrator/packages/skills/atlas-direct-execute/agents/openai.yaml +7 -0
  135. package/plugins/atlas-workflow-orchestrator/packages/skills/atlas-findings-repair/SKILL.md +148 -0
  136. package/plugins/atlas-workflow-orchestrator/packages/skills/atlas-findings-repair/agents/openai.yaml +7 -0
  137. package/plugins/atlas-workflow-orchestrator/packages/skills/atlas-plan-execute/SKILL.md +129 -0
  138. package/plugins/atlas-workflow-orchestrator/packages/skills/atlas-plan-execute/agents/openai.yaml +7 -0
  139. package/plugins/atlas-workflow-orchestrator/packages/skills/atlas-plan-execute/references/plan-contract.md +88 -0
  140. package/plugins/atlas-workflow-orchestrator/packages/skills/atlas-plan-execute/references/quality-gates.md +60 -0
  141. package/plugins/atlas-workflow-orchestrator/packages/skills/atlas-plan-execute/scripts/check_budget_state.py +96 -0
  142. package/plugins/atlas-workflow-orchestrator/packages/skills/atlas-plan-execute/scripts/extract_plan_contract.py +191 -0
  143. package/plugins/atlas-workflow-orchestrator/packages/skills/atlas-plan-execute/scripts/validate_gate_result.py +56 -0
  144. package/plugins/atlas-workflow-orchestrator/packages/skills/atlas-plan-handoff/SKILL.md +181 -0
  145. package/plugins/atlas-workflow-orchestrator/packages/skills/atlas-plan-handoff/agents/openai.yaml +7 -0
  146. package/plugins/atlas-workflow-orchestrator/packages/skills/atlas-prd-interview/SKILL.md +77 -0
  147. package/plugins/atlas-workflow-orchestrator/packages/skills/atlas-prd-interview/agents/openai.yaml +7 -0
  148. package/plugins/atlas-workflow-orchestrator/packages/skills/atlas-slice-review/SKILL.md +121 -0
  149. package/plugins/atlas-workflow-orchestrator/packages/skills/atlas-slice-review/agents/openai.yaml +4 -0
  150. package/plugins/atlas-workflow-orchestrator/packages/skills/atlas-slice-review/references/review-contract.md +58 -0
  151. package/plugins/atlas-workflow-orchestrator/packages/skills/atlas-slice-review/references/scenario-lenses.md +49 -0
  152. package/plugins/atlas-workflow-orchestrator/packages/skills/atlas-slice-review/scripts/classify_findings.py +56 -0
  153. package/plugins/atlas-workflow-orchestrator/packages/skills/atlas-slice-review/scripts/extract_review_slice.py +158 -0
  154. package/plugins/atlas-workflow-orchestrator/packages/skills/atlas-sprint-prd-generator/SKILL.md +74 -0
  155. package/plugins/atlas-workflow-orchestrator/packages/skills/atlas-sprint-prd-generator/agents/openai.yaml +7 -0
  156. package/plugins/atlas-workflow-orchestrator/packages/skills/atlas-task-validator/SKILL.md +158 -0
  157. package/plugins/atlas-workflow-orchestrator/packages/skills/atlas-task-validator/agents/openai.yaml +7 -0
  158. package/plugins/atlas-workflow-orchestrator/packages/templates/BACKLOG_MESTRE_TEMPLATE.md +844 -0
  159. package/plugins/atlas-workflow-orchestrator/packages/templates/BOUNDARY_PRD_PLAN.md +93 -0
  160. package/plugins/atlas-workflow-orchestrator/packages/templates/PERGUNTAS_EM_ABERTO_TEMPLATE.md +139 -0
  161. package/plugins/atlas-workflow-orchestrator/packages/templates/PLAN_TEMPLATE.md +146 -0
  162. package/plugins/atlas-workflow-orchestrator/packages/templates/PRD_TEMPLATE.md +149 -0
  163. package/plugins/atlas-workflow-orchestrator/packages/templates/STATE_FILE_SCHEMA.md +32 -0
  164. package/plugins/atlas-workflow-orchestrator/skills/atlas-backlog-generator/SKILL.md +88 -0
  165. package/plugins/atlas-workflow-orchestrator/skills/atlas-backlog-generator/agents/openai.yaml +4 -0
  166. package/plugins/atlas-workflow-orchestrator/skills/atlas-direct-execute/SKILL.md +186 -0
  167. package/plugins/atlas-workflow-orchestrator/skills/atlas-direct-execute/agents/openai.yaml +7 -0
  168. package/plugins/atlas-workflow-orchestrator/skills/atlas-findings-repair/SKILL.md +148 -0
  169. package/plugins/atlas-workflow-orchestrator/skills/atlas-findings-repair/agents/openai.yaml +7 -0
  170. package/plugins/atlas-workflow-orchestrator/skills/atlas-plan-execute/SKILL.md +129 -0
  171. package/plugins/atlas-workflow-orchestrator/skills/atlas-plan-execute/agents/openai.yaml +7 -0
  172. package/plugins/atlas-workflow-orchestrator/skills/atlas-plan-execute/references/plan-contract.md +88 -0
  173. package/plugins/atlas-workflow-orchestrator/skills/atlas-plan-execute/references/quality-gates.md +60 -0
  174. package/plugins/atlas-workflow-orchestrator/skills/atlas-plan-execute/scripts/check_budget_state.py +96 -0
  175. package/plugins/atlas-workflow-orchestrator/skills/atlas-plan-execute/scripts/extract_plan_contract.py +191 -0
  176. package/plugins/atlas-workflow-orchestrator/skills/atlas-plan-execute/scripts/validate_gate_result.py +56 -0
  177. package/plugins/atlas-workflow-orchestrator/skills/atlas-plan-handoff/SKILL.md +181 -0
  178. package/plugins/atlas-workflow-orchestrator/skills/atlas-plan-handoff/agents/openai.yaml +7 -0
  179. package/plugins/atlas-workflow-orchestrator/skills/atlas-prd-interview/SKILL.md +77 -0
  180. package/plugins/atlas-workflow-orchestrator/skills/atlas-prd-interview/agents/openai.yaml +7 -0
  181. package/plugins/atlas-workflow-orchestrator/skills/atlas-slice-review/SKILL.md +121 -0
  182. package/plugins/atlas-workflow-orchestrator/skills/atlas-slice-review/agents/openai.yaml +4 -0
  183. package/plugins/atlas-workflow-orchestrator/skills/atlas-slice-review/references/review-contract.md +58 -0
  184. package/plugins/atlas-workflow-orchestrator/skills/atlas-slice-review/references/scenario-lenses.md +49 -0
  185. package/plugins/atlas-workflow-orchestrator/skills/atlas-slice-review/scripts/classify_findings.py +56 -0
  186. package/plugins/atlas-workflow-orchestrator/skills/atlas-slice-review/scripts/extract_review_slice.py +158 -0
  187. package/plugins/atlas-workflow-orchestrator/skills/atlas-sprint-prd-generator/SKILL.md +74 -0
  188. package/plugins/atlas-workflow-orchestrator/skills/atlas-sprint-prd-generator/agents/openai.yaml +7 -0
  189. package/plugins/atlas-workflow-orchestrator/skills/atlas-task-validator/SKILL.md +158 -0
  190. package/plugins/atlas-workflow-orchestrator/skills/atlas-task-validator/agents/openai.yaml +7 -0
  191. package/plugins/atlas-workflow-orchestrator/skills/atlas-workflow-orchestrator/SKILL.md +412 -0
  192. package/plugins/atlas-workflow-orchestrator/templates/BACKLOG_MESTRE_TEMPLATE.md +844 -0
  193. package/plugins/atlas-workflow-orchestrator/templates/BOUNDARY_PRD_PLAN.md +93 -0
  194. package/plugins/atlas-workflow-orchestrator/templates/PERGUNTAS_EM_ABERTO_TEMPLATE.md +139 -0
  195. package/plugins/atlas-workflow-orchestrator/templates/PLAN_TEMPLATE.md +146 -0
  196. package/plugins/atlas-workflow-orchestrator/templates/PRD_TEMPLATE.md +149 -0
  197. package/plugins/atlas-workflow-orchestrator/templates/STATE_FILE_SCHEMA.md +32 -0
@@ -0,0 +1,28 @@
1
+ # Atlas Workflow MCP Server
2
+
3
+ Servidor MCP do plugin Atlas Workflow v0.8.2.
4
+
5
+ ## Tools
6
+
7
+ - `atlas_ping`: retorna saúde, identidade, versão e a superfície de tools (`capabilities` derivado de `toolsList()`).
8
+ - `atlas_capabilities`: contrato de adapter por host (`schema_version: 5`); detecção de host, `validator_dispatch {dispatcher, join}`, flags e pré-requisitos.
9
+ - `atlas_classify_input`: classifica o input em `backlog|prd|plan|unknown` para roteamento de modo (Fase 0).
10
+ - `atlas_run_state`: cria, atualiza (merge top-level) ou consulta estado de run em `.atlas/state/` no cwd do projeto consumidor; expõe `validator_recovery` do slot ativo.
11
+ - `atlas_verify_artifact`: Gate G1; verifica se artefato obrigatório existe e é legível (`artifact_kind` opcional para banner correto).
12
+ - `atlas_verify_template_conformance`: Gate TC; PRD/PLAN só avançam com template conforme e `pending_count: 0`.
13
+ - `atlas_scan_prd`: Gate G5; escaneia PRD por padrões determinísticos de ambiguidade bloqueante.
14
+ - `atlas_preflight`: Gate G10; valida modo, versão, lock ativo e mapa oficial de skills atlas-*.
15
+ - `atlas_lock_dispatch`: Gates G7/G8; controla fase ativa, ordem de dispatch e validator antes de review.
16
+ - `atlas_lock_validator`: Gate G4 sibling; um validator por vez, `dispatch_token` obrigatório, máximo de 2 attempts, repair obrigatório entre fail e retry, proof-of-work (challenge sha256 do boundary recomputado no complete; re-dispatch bounded → `challenge_exhausted`).
17
+ - `atlas_assert_after_plan`: Gate G11; bloqueia encerramento prematuro do modo full após plano validado.
18
+
19
+ ## Contratos
20
+
21
+ - Transporte: stdio.
22
+ - Sem porta de rede.
23
+ - Persistência: `.atlas/state/<run_id>/run.json`.
24
+ - Log local: `.atlas/state/mcp.log`.
25
+ - Gates: resultados persistidos em `data.gates`.
26
+ - Roteamento: lock persistido em `data.routing`.
27
+ - Dispatch: fase ativa, próxima ação e histórico persistidos em `data.dispatch`.
28
+ - Erro bloqueante: entradas inválidas, run inexistente ou falha de estado retornam erro JSON-RPC; gate bloqueado retorna `status: "blocked"` e `next_action`.
@@ -0,0 +1,15 @@
1
+ {
2
+ "name": "@atlas-workflow/mcp-server",
3
+ "version": "0.8.2",
4
+ "private": true,
5
+ "type": "module",
6
+ "bin": {
7
+ "atlas-workflow-mcp": "./server.js"
8
+ },
9
+ "scripts": {
10
+ "test": "node --test server.test.js"
11
+ },
12
+ "engines": {
13
+ "node": ">=20"
14
+ }
15
+ }