@openlife/cli 1.8.3 → 1.10.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 (232) hide show
  1. package/.catalog/agents/test-agent/AGENT.md +1 -1
  2. package/.catalog/mcps/test-mcp/mcp.json +1 -1
  3. package/.catalog/skills/sample-from-url/IMPORTED_REFERENCE.md +2 -2
  4. package/.catalog/skills/test-skill/REFERENCE.md +1 -1
  5. package/.catalog/squads/00-governance-advisory-board/workflows/wf-board-meeting.yaml +25 -0
  6. package/.catalog/squads/00-governance-advisory-board/workflows/wf-decision-framework.yaml +25 -0
  7. package/.catalog/squads/00-governance-c-level-squad/workflows/wf-board-presentation.yaml +25 -0
  8. package/.catalog/squads/00-governance-c-level-squad/workflows/wf-strategic-planning.yaml +25 -0
  9. package/.catalog/squads/00-governance-project-ops-squad/workflows/mission-to-project.yaml +25 -0
  10. package/.catalog/squads/00-governance-project-ops-squad/workflows/sprint-planning.yaml +25 -0
  11. package/.catalog/squads/00-governance-project-ops-squad/workflows/weekly-review.yaml +25 -0
  12. package/.catalog/squads/01-meta-framework-swarm-tree-orchestration/workflows/tree-analysis-flow.yaml +25 -0
  13. package/.catalog/squads/01-meta-framework-swarm-tree-orchestration/workflows/tree-execution-flow.yaml +25 -0
  14. package/.catalog/squads/01-meta-framework-swarm-tree-orchestration/workflows/tree-planning-flow.yaml +25 -0
  15. package/.catalog/squads/01-meta-framework-swarm-tree-orchestration/workflows/tree-resume-flow.yaml +25 -0
  16. package/.catalog/squads/02-product-growth-brand-squad/workflows/wf-brand-creation.yaml +25 -0
  17. package/.catalog/squads/02-product-growth-brand-squad/workflows/wf-rebrand.yaml +25 -0
  18. package/.catalog/squads/02-product-growth-copy-squad/workflows/wf-copy-review-cycle.yaml +25 -0
  19. package/.catalog/squads/02-product-growth-copy-squad/workflows/wf-full-copy-project.yaml +25 -0
  20. package/.catalog/squads/02-product-growth-design-squad/workflows/wf-design-system-creation.yaml +25 -0
  21. package/.catalog/squads/02-product-growth-design-squad/workflows/wf-feature-design.yaml +25 -0
  22. package/.catalog/squads/02-product-growth-hormozi-squad/workflows/wf-business-turnaround.yaml +25 -0
  23. package/.catalog/squads/02-product-growth-hormozi-squad/workflows/wf-offer-creation.yaml +25 -0
  24. package/.catalog/squads/02-product-growth-movement/workflows/wf-movement-launch.yaml +25 -0
  25. package/.catalog/squads/02-product-growth-saas-onboarding-activator/workflows/full-onboarding-activation-workflow.yaml +25 -0
  26. package/.catalog/squads/02-product-growth-saas-onboarding-activator/workflows/quick-engagement-boost-workflow.yaml +25 -0
  27. package/.catalog/squads/02-product-growth-sales-squad/workflows/followup-sequence.yaml +25 -0
  28. package/.catalog/squads/02-product-growth-sales-squad/workflows/full-sales-cycle.yaml +25 -0
  29. package/.catalog/squads/02-product-growth-sales-squad/workflows/proposal-flow.yaml +25 -0
  30. package/.catalog/squads/02-product-growth-storytelling/workflows/wf-brand-narrative.yaml +25 -0
  31. package/.catalog/squads/02-product-growth-storytelling/workflows/wf-story-development.yaml +25 -0
  32. package/.catalog/squads/02-product-growth-traffic-masters/workflows/wf-account-audit.yaml +25 -0
  33. package/.catalog/squads/02-product-growth-traffic-masters/workflows/wf-campaign-launch.yaml +25 -0
  34. package/.catalog/squads/03-engineering-quality-automated-code-review-squad/workflows/full-code-review-workflow.yaml +25 -0
  35. package/.catalog/squads/03-engineering-quality-automated-code-review-squad/workflows/quick-security-check-workflow.yaml +25 -0
  36. package/.catalog/squads/04-data-security-cybersecurity/workflows/wf-incident-response.yaml +25 -0
  37. package/.catalog/squads/04-data-security-cybersecurity/workflows/wf-pentest-engagement.yaml +25 -0
  38. package/.catalog/squads/04-data-security-data-quality-guardian/workflows/full-data-quality-audit-workflow.yaml +25 -0
  39. package/.catalog/squads/04-data-security-data-quality-guardian/workflows/quick-data-check-workflow.yaml +25 -0
  40. package/.catalog/squads/04-data-security-data-squad/workflows/wf-analytics-setup.yaml +25 -0
  41. package/.catalog/squads/04-data-security-data-squad/workflows/wf-growth-sprint.yaml +25 -0
  42. package/.catalog/squads/04-data-security-incident-response-squad/workflows/full-incident-response-workflow.yaml +25 -0
  43. package/.catalog/squads/04-data-security-incident-response-squad/workflows/rapid-triage-workflow.yaml +25 -0
  44. package/.catalog/squads/04-data-security-soc-alert-triage/workflows/full-alert-triage-workflow.yaml +25 -0
  45. package/.catalog/squads/04-data-security-soc-alert-triage/workflows/rapid-classification-workflow.yaml +25 -0
  46. package/.catalog/squads/05-domain-specialists-adaptive-tutor-k12/workflows/full-tutoring-cycle-workflow.yaml +25 -0
  47. package/.catalog/squads/05-domain-specialists-adaptive-tutor-k12/workflows/quick-practice-session-workflow.yaml +25 -0
  48. package/.catalog/squads/05-domain-specialists-ambient-clinical-scribe/workflows/full-documentation-workflow.yaml +25 -0
  49. package/.catalog/squads/05-domain-specialists-ambient-clinical-scribe/workflows/quick-note-workflow.yaml +25 -0
  50. package/.catalog/squads/05-domain-specialists-contract-review-squad/workflows/full-contract-review-workflow.yaml +25 -0
  51. package/.catalog/squads/05-domain-specialists-contract-review-squad/workflows/quick-risk-assessment-workflow.yaml +25 -0
  52. package/.catalog/squads/05-domain-specialists-crypto-token-forge/workflows/full-token-launch-workflow.yaml +25 -0
  53. package/.catalog/squads/05-domain-specialists-crypto-token-forge/workflows/memecoin-express-workflow.yaml +25 -0
  54. package/.catalog/squads/05-domain-specialists-crypto-token-forge/workflows/utility-token-launch-workflow.yaml +25 -0
  55. package/.catalog/squads/05-domain-specialists-resume-screener-squad/workflows/full-resume-screening-workflow.yaml +25 -0
  56. package/.catalog/squads/05-domain-specialists-resume-screener-squad/workflows/quick-skills-match-workflow.yaml +25 -0
  57. package/.catalog/squads/test-squad/SQUAD.md +1 -1
  58. package/.openlife/method/agents/atlas.md +102 -0
  59. package/.openlife/method/agents/builder.md +92 -0
  60. package/.openlife/method/agents/conductor.md +93 -0
  61. package/.openlife/method/agents/forge.md +96 -0
  62. package/.openlife/method/agents/genesis.md +115 -0
  63. package/.openlife/method/agents/lyra.md +85 -0
  64. package/.openlife/method/agents/maestro.md +92 -0
  65. package/.openlife/method/agents/mesh.md +101 -0
  66. package/.openlife/method/agents/prism.md +85 -0
  67. package/.openlife/method/agents/sentinel.md +115 -0
  68. package/.openlife/method/agents/steward.md +93 -0
  69. package/.openlife/method/agents/vortex.md +94 -0
  70. package/dist/cli/CommandFlowRunner.js +167 -0
  71. package/dist/cli/install/Phases.js +43 -0
  72. package/dist/index.js +118 -0
  73. package/dist/orchestrator/ProjectMetadata.js +183 -0
  74. package/dist/test_flow_run_cli.js +183 -0
  75. package/dist/test_host_uninstaller.js +12 -2
  76. package/dist/test_openlife_method_inventory.js +211 -0
  77. package/dist/test_workflow_e2e.js +10 -3
  78. package/dist-templates/claude-code/agents/openlife-atlas.md +12 -44
  79. package/dist-templates/claude-code/agents/openlife-builder.md +20 -0
  80. package/dist-templates/claude-code/agents/openlife-conductor.md +20 -0
  81. package/dist-templates/claude-code/agents/openlife-forge.md +12 -34
  82. package/dist-templates/claude-code/agents/openlife-genesis.md +12 -51
  83. package/dist-templates/claude-code/agents/openlife-lyra.md +12 -32
  84. package/dist-templates/claude-code/agents/openlife-maestro.md +27 -41
  85. package/dist-templates/claude-code/agents/openlife-mesh.md +20 -0
  86. package/dist-templates/claude-code/agents/openlife-prism.md +20 -0
  87. package/dist-templates/claude-code/agents/openlife-sentinel.md +20 -0
  88. package/dist-templates/claude-code/agents/openlife-steward.md +20 -0
  89. package/dist-templates/claude-code/agents/openlife-vortex.md +20 -0
  90. package/dist-templates/claude-code/commands/openlife/agents/atlas.md +28 -0
  91. package/dist-templates/claude-code/commands/openlife/agents/builder.md +28 -0
  92. package/dist-templates/claude-code/commands/openlife/agents/conductor.md +28 -0
  93. package/dist-templates/claude-code/commands/openlife/agents/forge.md +28 -0
  94. package/dist-templates/claude-code/commands/openlife/agents/genesis.md +28 -0
  95. package/dist-templates/claude-code/commands/openlife/agents/lyra.md +28 -0
  96. package/dist-templates/claude-code/commands/openlife/agents/maestro.md +28 -0
  97. package/dist-templates/claude-code/commands/openlife/agents/mesh.md +28 -0
  98. package/dist-templates/claude-code/commands/openlife/agents/prism.md +28 -0
  99. package/dist-templates/claude-code/commands/openlife/agents/sentinel.md +28 -0
  100. package/dist-templates/claude-code/commands/openlife/agents/steward.md +28 -0
  101. package/dist-templates/claude-code/commands/openlife/agents/vortex.md +28 -0
  102. package/dist-templates/claude-code/commands/openlife/ask.md +32 -9
  103. package/dist-templates/claude-code/commands/openlife/audit.md +43 -0
  104. package/dist-templates/claude-code/commands/openlife/doctor.md +9 -14
  105. package/dist-templates/claude-code/commands/openlife/dream.md +28 -13
  106. package/dist-templates/claude-code/commands/openlife/explore.md +32 -0
  107. package/dist-templates/claude-code/commands/openlife/flow/brownfield-discovery.md +38 -0
  108. package/dist-templates/claude-code/commands/openlife/flow/brownfield-fullstack.md +38 -0
  109. package/dist-templates/claude-code/commands/openlife/flow/brownfield-service.md +38 -0
  110. package/dist-templates/claude-code/commands/openlife/flow/brownfield-ui.md +38 -0
  111. package/dist-templates/claude-code/commands/openlife/flow/epic.md +38 -0
  112. package/dist-templates/claude-code/commands/openlife/flow/greenfield-fullstack.md +38 -0
  113. package/dist-templates/claude-code/commands/openlife/flow/greenfield-service.md +38 -0
  114. package/dist-templates/claude-code/commands/openlife/flow/greenfield-ui.md +38 -0
  115. package/dist-templates/claude-code/commands/openlife/flow/qa-loop.md +38 -0
  116. package/dist-templates/claude-code/commands/openlife/flow/release.md +38 -0
  117. package/dist-templates/claude-code/commands/openlife/flow/spec-pipeline.md +38 -0
  118. package/dist-templates/claude-code/commands/openlife/flow/story-cycle.md +38 -0
  119. package/dist-templates/claude-code/commands/openlife/health.md +37 -0
  120. package/dist-templates/claude-code/commands/openlife/plan.md +38 -0
  121. package/dist-templates/claude-code/commands/openlife/review.md +34 -0
  122. package/dist-templates/claude-code/commands/openlife/ship.md +35 -0
  123. package/dist-templates/claude-code/commands/openlife/start.md +38 -0
  124. package/dist-templates/claude-code/commands/openlife/status.md +8 -10
  125. package/dist-templates/claude-code/commands/openlife/story.md +34 -0
  126. package/dist-templates/codex/agents/openlife-atlas.md +12 -44
  127. package/dist-templates/codex/agents/openlife-builder.md +20 -0
  128. package/dist-templates/codex/agents/openlife-conductor.md +20 -0
  129. package/dist-templates/codex/agents/openlife-forge.md +12 -34
  130. package/dist-templates/codex/agents/openlife-genesis.md +12 -51
  131. package/dist-templates/codex/agents/openlife-lyra.md +12 -32
  132. package/dist-templates/codex/agents/openlife-maestro.md +27 -41
  133. package/dist-templates/codex/agents/openlife-mesh.md +20 -0
  134. package/dist-templates/codex/agents/openlife-prism.md +20 -0
  135. package/dist-templates/codex/agents/openlife-sentinel.md +20 -0
  136. package/dist-templates/codex/agents/openlife-steward.md +20 -0
  137. package/dist-templates/codex/agents/openlife-vortex.md +20 -0
  138. package/dist-templates/codex/commands/openlife/agents/atlas.md +28 -0
  139. package/dist-templates/codex/commands/openlife/agents/builder.md +28 -0
  140. package/dist-templates/codex/commands/openlife/agents/conductor.md +28 -0
  141. package/dist-templates/codex/commands/openlife/agents/forge.md +28 -0
  142. package/dist-templates/codex/commands/openlife/agents/genesis.md +28 -0
  143. package/dist-templates/codex/commands/openlife/agents/lyra.md +28 -0
  144. package/dist-templates/codex/commands/openlife/agents/maestro.md +28 -0
  145. package/dist-templates/codex/commands/openlife/agents/mesh.md +28 -0
  146. package/dist-templates/codex/commands/openlife/agents/prism.md +28 -0
  147. package/dist-templates/codex/commands/openlife/agents/sentinel.md +28 -0
  148. package/dist-templates/codex/commands/openlife/agents/steward.md +28 -0
  149. package/dist-templates/codex/commands/openlife/agents/vortex.md +28 -0
  150. package/dist-templates/codex/commands/openlife/ask.md +32 -9
  151. package/dist-templates/codex/commands/openlife/audit.md +43 -0
  152. package/dist-templates/codex/commands/openlife/doctor.md +9 -14
  153. package/dist-templates/codex/commands/openlife/dream.md +28 -13
  154. package/dist-templates/codex/commands/openlife/explore.md +32 -0
  155. package/dist-templates/codex/commands/openlife/flow/brownfield-discovery.md +38 -0
  156. package/dist-templates/codex/commands/openlife/flow/brownfield-fullstack.md +38 -0
  157. package/dist-templates/codex/commands/openlife/flow/brownfield-service.md +38 -0
  158. package/dist-templates/codex/commands/openlife/flow/brownfield-ui.md +38 -0
  159. package/dist-templates/codex/commands/openlife/flow/epic.md +38 -0
  160. package/dist-templates/codex/commands/openlife/flow/greenfield-fullstack.md +38 -0
  161. package/dist-templates/codex/commands/openlife/flow/greenfield-service.md +38 -0
  162. package/dist-templates/codex/commands/openlife/flow/greenfield-ui.md +38 -0
  163. package/dist-templates/codex/commands/openlife/flow/qa-loop.md +38 -0
  164. package/dist-templates/codex/commands/openlife/flow/release.md +38 -0
  165. package/dist-templates/codex/commands/openlife/flow/spec-pipeline.md +38 -0
  166. package/dist-templates/codex/commands/openlife/flow/story-cycle.md +38 -0
  167. package/dist-templates/codex/commands/openlife/health.md +37 -0
  168. package/dist-templates/codex/commands/openlife/plan.md +38 -0
  169. package/dist-templates/codex/commands/openlife/review.md +34 -0
  170. package/dist-templates/codex/commands/openlife/ship.md +35 -0
  171. package/dist-templates/codex/commands/openlife/start.md +38 -0
  172. package/dist-templates/codex/commands/openlife/status.md +8 -10
  173. package/dist-templates/codex/commands/openlife/story.md +34 -0
  174. package/dist-templates/gemini-cli/agents/openlife-atlas.md +12 -44
  175. package/dist-templates/gemini-cli/agents/openlife-builder.md +20 -0
  176. package/dist-templates/gemini-cli/agents/openlife-conductor.md +20 -0
  177. package/dist-templates/gemini-cli/agents/openlife-forge.md +12 -34
  178. package/dist-templates/gemini-cli/agents/openlife-genesis.md +12 -51
  179. package/dist-templates/gemini-cli/agents/openlife-lyra.md +12 -32
  180. package/dist-templates/gemini-cli/agents/openlife-maestro.md +27 -41
  181. package/dist-templates/gemini-cli/agents/openlife-mesh.md +20 -0
  182. package/dist-templates/gemini-cli/agents/openlife-prism.md +20 -0
  183. package/dist-templates/gemini-cli/agents/openlife-sentinel.md +20 -0
  184. package/dist-templates/gemini-cli/agents/openlife-steward.md +20 -0
  185. package/dist-templates/gemini-cli/agents/openlife-vortex.md +20 -0
  186. package/dist-templates/gemini-cli/commands/openlife/agents/atlas.md +28 -0
  187. package/dist-templates/gemini-cli/commands/openlife/agents/builder.md +28 -0
  188. package/dist-templates/gemini-cli/commands/openlife/agents/conductor.md +28 -0
  189. package/dist-templates/gemini-cli/commands/openlife/agents/forge.md +28 -0
  190. package/dist-templates/gemini-cli/commands/openlife/agents/genesis.md +28 -0
  191. package/dist-templates/gemini-cli/commands/openlife/agents/lyra.md +28 -0
  192. package/dist-templates/gemini-cli/commands/openlife/agents/maestro.md +28 -0
  193. package/dist-templates/gemini-cli/commands/openlife/agents/mesh.md +28 -0
  194. package/dist-templates/gemini-cli/commands/openlife/agents/prism.md +28 -0
  195. package/dist-templates/gemini-cli/commands/openlife/agents/sentinel.md +28 -0
  196. package/dist-templates/gemini-cli/commands/openlife/agents/steward.md +28 -0
  197. package/dist-templates/gemini-cli/commands/openlife/agents/vortex.md +28 -0
  198. package/dist-templates/gemini-cli/commands/openlife/ask.md +32 -9
  199. package/dist-templates/gemini-cli/commands/openlife/audit.md +43 -0
  200. package/dist-templates/gemini-cli/commands/openlife/doctor.md +9 -14
  201. package/dist-templates/gemini-cli/commands/openlife/dream.md +28 -13
  202. package/dist-templates/gemini-cli/commands/openlife/explore.md +32 -0
  203. package/dist-templates/gemini-cli/commands/openlife/flow/brownfield-discovery.md +38 -0
  204. package/dist-templates/gemini-cli/commands/openlife/flow/brownfield-fullstack.md +38 -0
  205. package/dist-templates/gemini-cli/commands/openlife/flow/brownfield-service.md +38 -0
  206. package/dist-templates/gemini-cli/commands/openlife/flow/brownfield-ui.md +38 -0
  207. package/dist-templates/gemini-cli/commands/openlife/flow/epic.md +38 -0
  208. package/dist-templates/gemini-cli/commands/openlife/flow/greenfield-fullstack.md +38 -0
  209. package/dist-templates/gemini-cli/commands/openlife/flow/greenfield-service.md +38 -0
  210. package/dist-templates/gemini-cli/commands/openlife/flow/greenfield-ui.md +38 -0
  211. package/dist-templates/gemini-cli/commands/openlife/flow/qa-loop.md +38 -0
  212. package/dist-templates/gemini-cli/commands/openlife/flow/release.md +38 -0
  213. package/dist-templates/gemini-cli/commands/openlife/flow/spec-pipeline.md +38 -0
  214. package/dist-templates/gemini-cli/commands/openlife/flow/story-cycle.md +38 -0
  215. package/dist-templates/gemini-cli/commands/openlife/health.md +37 -0
  216. package/dist-templates/gemini-cli/commands/openlife/plan.md +38 -0
  217. package/dist-templates/gemini-cli/commands/openlife/review.md +34 -0
  218. package/dist-templates/gemini-cli/commands/openlife/ship.md +35 -0
  219. package/dist-templates/gemini-cli/commands/openlife/start.md +38 -0
  220. package/dist-templates/gemini-cli/commands/openlife/status.md +8 -10
  221. package/dist-templates/gemini-cli/commands/openlife/story.md +34 -0
  222. package/dist-templates/workflows/brownfield-fullstack.yaml +131 -0
  223. package/dist-templates/workflows/brownfield-service.yaml +111 -0
  224. package/dist-templates/workflows/brownfield-ui.yaml +115 -0
  225. package/dist-templates/workflows/continuous-deployment.yaml +139 -0
  226. package/dist-templates/workflows/epic-orchestration.yaml +101 -0
  227. package/dist-templates/workflows/greenfield-service.yaml +154 -0
  228. package/dist-templates/workflows/greenfield-ui.yaml +140 -0
  229. package/dist-templates/workflows/spec-pipeline.yaml +135 -0
  230. package/package.json +5 -2
  231. package/scripts/generate-slash-commands.js +395 -0
  232. package/scripts/generate-squad-workflow-stubs.js +144 -0
@@ -0,0 +1,154 @@
1
+ workflow:
2
+ id: greenfield-service
3
+ name: Greenfield Service / API Development
4
+ description: >-
5
+ Backend-only workflow for building a new service or API from scratch.
6
+ No frontend phase. Driven by Atlas for architecture, Mesh for data
7
+ layer, Builder for implementation, Sentinel for QA.
8
+ type: greenfield
9
+ version: "1.0"
10
+ framework: openlife-method
11
+ project_types:
12
+ - api
13
+ - microservice
14
+ - cli
15
+ - worker
16
+ - mcp-server
17
+
18
+ metadata:
19
+ elicit: true
20
+ confirmation_required: true
21
+
22
+ phases:
23
+ - phase_0: Environment Bootstrap
24
+ - phase_1: Service Architecture
25
+ - phase_2: Data Layer Design
26
+ - phase_3: Implementation Stories
27
+
28
+ success_criteria:
29
+ - id: service-compiles-and-starts-cleanly
30
+ description: "Service compiles and starts cleanly"
31
+ - id: all-endpoints-have-integration-tests
32
+ description: "All endpoints have integration tests"
33
+ - id: health-check-endpoint-returns-200
34
+ description: "Health check endpoint returns 200"
35
+ - id: logs-are-structured-and-queryable
36
+ description: "Logs are structured and queryable"
37
+
38
+ failure_handling:
39
+ on_phase_failure: escalate_to_maestro
40
+ max_retries_per_step: 2
41
+
42
+ tools:
43
+ allowed:
44
+ - terminal
45
+ - git
46
+ - schema-migration
47
+ restricted:
48
+ - production-deploy
49
+
50
+ sequence:
51
+ - phase: 0
52
+ name: Environment Bootstrap
53
+
54
+ - id: bootstrap
55
+ agent: openlife-vortex
56
+ action: environment_bootstrap
57
+ task: greenfield-bootstrap.md
58
+ creates:
59
+ - .openlife/config.yaml
60
+ - .openlife/project.json
61
+ - README.md
62
+ - package.json
63
+ duration_estimate: "10-20 min"
64
+ idempotent: true
65
+ notes: |
66
+ Initialize repo, install minimum deps (no UI framework).
67
+ Set up CI skeleton.
68
+
69
+ - phase: 1
70
+ name: Service Architecture
71
+
72
+ - id: arch-design
73
+ agent: openlife-atlas
74
+ action: design_architecture
75
+ task: greenfield-architecture.md
76
+ requires: bootstrap
77
+ creates:
78
+ - docs/architecture.md
79
+ - docs/adr/0001-initial-stack.md
80
+ duration_estimate: "1-3 hours"
81
+ elicit: true
82
+ notes: |
83
+ Choose framework (Express/Fastify/Hono/...), language, deployment target.
84
+ Write an ADR for each major decision.
85
+
86
+ - id: research-deps
87
+ agent: openlife-lyra
88
+ action: research_dependencies
89
+ task: spec-research-dependencies.md
90
+ requires: arch-design
91
+ creates:
92
+ - docs/research/dependency-options.md
93
+ optional: true
94
+ duration_estimate: "30-60 min"
95
+ notes: Only run if architecture choice surfaces unknowns.
96
+
97
+ - phase: 2
98
+ name: Data Layer Design
99
+
100
+ - id: data-model
101
+ agent: openlife-mesh
102
+ action: db_domain_modeling
103
+ task: db-bootstrap.md
104
+ requires: arch-design
105
+ creates:
106
+ - docs/schema.md
107
+ - migrations/0001_init.sql
108
+ duration_estimate: "1-2 hours"
109
+ elicit: true
110
+ notes: Design entities + relationships from gathered requirements.
111
+
112
+ - id: rls-policies
113
+ agent: openlife-mesh
114
+ action: db_rls_audit
115
+ task: db-rls-audit.md
116
+ requires: data-model
117
+ creates:
118
+ - docs/security/rls-policies.md
119
+ optional: true
120
+ notes: Only when multi-tenant or row-level access control needed.
121
+
122
+ - phase: 3
123
+ name: Implementation Stories
124
+
125
+ - id: shard-prd
126
+ agent: openlife-lyra
127
+ action: write_prd
128
+ requires: arch-design
129
+ creates:
130
+ - docs/prd.md
131
+ duration_estimate: "1-2 hours"
132
+
133
+ - id: epic-creation
134
+ agent: openlife-genesis
135
+ action: create_epic
136
+ requires: shard-prd
137
+ creates:
138
+ - docs/epics/epic-001.md
139
+ duration_estimate: "30 min"
140
+
141
+ - id: story-loop
142
+ agent: openlife-conductor
143
+ action: story_development_cycle
144
+ requires: epic-creation
145
+ creates:
146
+ - docs/stories/*.story.md
147
+ notes: |
148
+ Hand off to story-development-cycle workflow per story.
149
+ Continue until epic complete.
150
+
151
+ handoff_prompts:
152
+ phase_0_to_1: "Bootstrap complete. Atlas, design the service architecture."
153
+ phase_1_to_2: "Architecture done. Mesh, model the data layer."
154
+ phase_2_to_3: "Data layer ready. Conductor, slice into stories."
@@ -0,0 +1,140 @@
1
+ workflow:
2
+ id: greenfield-ui
3
+ name: Greenfield UI / Frontend Development
4
+ description: >-
5
+ Frontend-only workflow for building a new UI application from scratch.
6
+ No backend phase (assumes an API already exists or is being built in
7
+ parallel via greenfield-service). Driven by Prism for design, Atlas
8
+ for component architecture, Builder for implementation.
9
+ type: greenfield
10
+ version: "1.0"
11
+ framework: openlife-method
12
+ project_types:
13
+ - web-app
14
+ - spa
15
+ - landing-page
16
+ - admin-panel
17
+ - documentation-site
18
+
19
+ metadata:
20
+ elicit: true
21
+ confirmation_required: true
22
+
23
+ phases:
24
+ - phase_0: Environment Bootstrap
25
+ - phase_1: Design System & UX
26
+ - phase_2: Component Architecture
27
+ - phase_3: Implementation Stories
28
+
29
+ success_criteria:
30
+ - id: app-builds-and-serves-cleanly
31
+ description: "App builds and serves cleanly"
32
+ - id: design-tokens-extracted-and-applied
33
+ description: "Design tokens extracted and applied"
34
+ - id: accessibility-audit-passes-wcag-2-2-aa
35
+ description: "Accessibility audit passes (WCAG 2.2 AA)"
36
+ - id: core-user-flows-have-e2e-tests
37
+ description: "Core user flows have e2e tests"
38
+
39
+ failure_handling:
40
+ on_phase_failure: escalate_to_maestro
41
+ max_retries_per_step: 2
42
+
43
+ tools:
44
+ allowed:
45
+ - terminal
46
+ - git
47
+ - figma-mcp
48
+ - browser-testing
49
+ restricted: []
50
+
51
+ sequence:
52
+ - phase: 0
53
+ name: Environment Bootstrap
54
+
55
+ - id: bootstrap
56
+ agent: openlife-vortex
57
+ action: environment_bootstrap
58
+ task: greenfield-bootstrap.md
59
+ creates:
60
+ - .openlife/config.yaml
61
+ - .openlife/project.json
62
+ - package.json
63
+ duration_estimate: "10-20 min"
64
+ idempotent: true
65
+ notes: Initialize repo, install framework (React/Vue/Svelte/etc.) and styling stack.
66
+
67
+ - phase: 1
68
+ name: Design System & UX
69
+
70
+ - id: design-tokens
71
+ agent: openlife-prism
72
+ action: ux_design_tokens_extract
73
+ requires: bootstrap
74
+ creates:
75
+ - design-system/tokens.json
76
+ - design-system/README.md
77
+ duration_estimate: "1-2 hours"
78
+ elicit: true
79
+ notes: Extract from Figma file if available; otherwise establish brand baseline.
80
+
81
+ - id: wireframes
82
+ agent: openlife-prism
83
+ action: ux_create_wireframe
84
+ requires: design-tokens
85
+ creates:
86
+ - design/wireframes.md
87
+ duration_estimate: "2-4 hours"
88
+ elicit: true
89
+ notes: Wireframe primary user flows before code starts.
90
+
91
+ - id: accessibility-baseline
92
+ agent: openlife-prism
93
+ action: ux_accessibility_audit
94
+ requires: wireframes
95
+ creates:
96
+ - docs/accessibility-checklist.md
97
+ optional: true
98
+
99
+ - phase: 2
100
+ name: Component Architecture
101
+
102
+ - id: component-tree
103
+ agent: openlife-atlas
104
+ action: design_architecture
105
+ requires: wireframes
106
+ creates:
107
+ - docs/component-architecture.md
108
+ - docs/adr/0001-frontend-stack.md
109
+ duration_estimate: "1-2 hours"
110
+ notes: Component hierarchy, state management choice, routing strategy.
111
+
112
+ - phase: 3
113
+ name: Implementation Stories
114
+
115
+ - id: shard-prd
116
+ agent: openlife-lyra
117
+ action: write_prd
118
+ requires: component-tree
119
+ creates:
120
+ - docs/prd.md
121
+
122
+ - id: epic-creation
123
+ agent: openlife-genesis
124
+ action: create_epic
125
+ requires: shard-prd
126
+ creates:
127
+ - docs/epics/epic-001.md
128
+
129
+ - id: story-loop
130
+ agent: openlife-conductor
131
+ action: story_development_cycle
132
+ requires: epic-creation
133
+ creates:
134
+ - docs/stories/*.story.md
135
+ notes: Each story flows through story-development-cycle. Sentinel includes accessibility checks in QA gate.
136
+
137
+ handoff_prompts:
138
+ phase_0_to_1: "Bootstrap done. Prism, establish the design system."
139
+ phase_1_to_2: "Design system ready. Atlas, decide component architecture."
140
+ phase_2_to_3: "Architecture set. Conductor, draft the first epic."
@@ -0,0 +1,135 @@
1
+ workflow:
2
+ id: spec-pipeline
3
+ name: Specification Pipeline
4
+ description: >-
5
+ Transform informal requirements into an executable spec. 6-phase
6
+ pipeline: gather → assess → research → write → critique → plan.
7
+ Complexity assessment routes between SIMPLE (3 phases) and COMPLEX
8
+ (6 phases + revision cycles).
9
+ type: custom
10
+ version: "1.0"
11
+ framework: openlife-method
12
+ project_types:
13
+ - feature-spec
14
+ - integration-spec
15
+ - migration-spec
16
+
17
+ metadata:
18
+ elicit: true
19
+
20
+ phases:
21
+ - phase_1: Gather Requirements
22
+ - phase_2: Assess Complexity
23
+ - phase_3: Research Dependencies
24
+ - phase_4: Write Spec
25
+ - phase_5: Critique
26
+ - phase_6: Plan Implementation
27
+
28
+ success_criteria:
29
+ - id: spec-traces-every-claim-to-a-fr-nfr-cons
30
+ description: "Spec traces every claim to a FR/NFR/Constraint or research finding"
31
+ - id: no-invented-requirements-constitution-ar
32
+ description: "No invented requirements (Constitution Article IV — No Invention)"
33
+ - id: complexity-assessment-is-documented
34
+ description: "Complexity assessment is documented"
35
+ - id: critique-verdict-is-approved-before-impl
36
+ description: "Critique verdict is APPROVED before implementation begins"
37
+
38
+ failure_handling:
39
+ on_critique_blocked: escalate_to_maestro
40
+ on_needs_revision: rerun_phase_4_5
41
+
42
+ sequence:
43
+ - phase: 1
44
+ name: Gather Requirements
45
+
46
+ - id: gather
47
+ agent: openlife-genesis
48
+ action: spec_gather_requirements
49
+ task: spec-gather-requirements.md
50
+ creates:
51
+ - .openlife/specs/<id>/requirements.json
52
+ duration_estimate: "30-90 min"
53
+ elicit: true
54
+
55
+ - phase: 2
56
+ name: Assess Complexity
57
+
58
+ - id: assess
59
+ agent: openlife-atlas
60
+ action: spec_assess_complexity
61
+ task: spec-assess-complexity.md
62
+ requires: gather
63
+ creates:
64
+ - .openlife/specs/<id>/complexity.json
65
+ duration_estimate: "15-30 min"
66
+ notes: |
67
+ Scores 5 dimensions (1-5 each): scope, integration, infrastructure,
68
+ knowledge, risk. Sum → complexity class:
69
+ ≤ 8 SIMPLE (skip phases 3, 5b)
70
+ 9-15 STANDARD (all 6 phases)
71
+ ≥ 16 COMPLEX (6 phases + revision cycle)
72
+
73
+ - phase: 3
74
+ name: Research Dependencies
75
+
76
+ - id: research
77
+ agent: openlife-lyra
78
+ action: research
79
+ task: spec-research-dependencies.md
80
+ requires: assess
81
+ creates:
82
+ - .openlife/specs/<id>/research.json
83
+ duration_estimate: "1-3 hours"
84
+ condition: complexity_not_simple
85
+ optional: true
86
+
87
+ - phase: 4
88
+ name: Write Spec
89
+
90
+ - id: write
91
+ agent: openlife-genesis
92
+ action: spec_write_spec
93
+ task: spec-write-spec.md
94
+ requires: assess
95
+ creates:
96
+ - .openlife/specs/<id>/spec.md
97
+ duration_estimate: "1-3 hours"
98
+ elicit: true
99
+
100
+ - phase: 5
101
+ name: Critique
102
+
103
+ - id: critique
104
+ agent: openlife-sentinel
105
+ action: spec_critique
106
+ task: spec-critique.md
107
+ requires: write
108
+ creates:
109
+ - .openlife/specs/<id>/critique.json
110
+ duration_estimate: "30-60 min"
111
+ notes: |
112
+ Critique verdicts:
113
+ APPROVED (≥ 4.0 avg) → proceed to phase 6
114
+ NEEDS_REVISION (3.0-3.9) → return to phase 4 (max 2 revisions)
115
+ BLOCKED (< 3.0) → escalate to maestro
116
+
117
+ - phase: 6
118
+ name: Plan Implementation
119
+
120
+ - id: plan
121
+ agent: openlife-atlas
122
+ action: plan_implementation
123
+ requires: critique
124
+ creates:
125
+ - .openlife/specs/<id>/implementation.yaml
126
+ duration_estimate: "30-60 min"
127
+ condition: critique_approved
128
+ notes: Output is consumed by greenfield-fullstack / story-development-cycle.
129
+
130
+ handoff_prompts:
131
+ phase_1_to_2: "Requirements gathered. Atlas, assess complexity."
132
+ phase_2_to_3: "Complexity scored. Lyra, research dependencies (if not SIMPLE)."
133
+ phase_3_to_4: "Research done. Genesis, draft the spec."
134
+ phase_4_to_5: "Spec drafted. Sentinel, critique."
135
+ phase_5_to_6: "Critique APPROVED. Atlas, plan implementation."
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openlife/cli",
3
- "version": "1.8.3",
3
+ "version": "1.10.0",
4
4
  "description": "OPEN-LIFE Córtex Orquestrador Dual-Core",
5
5
  "main": "dist/index.js",
6
6
  "files": [
@@ -9,6 +9,7 @@
9
9
  "scripts",
10
10
  "dist-templates",
11
11
  ".catalog",
12
+ ".openlife/method",
12
13
  "docs/README.md",
13
14
  "docs/quickstart.md",
14
15
  "docs/getting-started.md",
@@ -164,8 +165,10 @@
164
165
  "test:chat-tui": "npm run build && node dist/test_chat_tui.js",
165
166
  "test:config-tui": "npm run build && node dist/test_config_tui.js",
166
167
  "test:install-wizard-v2": "npm run build && node dist/test_install_wizard_v2.js",
168
+ "test:openlife-method-inventory": "npm run build && node dist/test_openlife_method_inventory.js",
169
+ "test:flow-run-cli": "npm run build && node dist/test_flow_run_cli.js",
167
170
  "pretest:all": "node scripts/clean-test-pollution.js",
168
- "test:all": "npm run build && node dist/test_distribution_installability.js && node dist/test_orchestration_assets_lifecycle.js && node dist/test_openlife_runtime_source_truth.js && node dist/test_openlife_evolution_surface.js && node dist/test_openlife_routing_surface.js && node dist/test_openlife_auto_creator_routing.js && node dist/test_openlife_gatekeeper_routing.js && node dist/test_enterprise_agentic_core.js && node dist/test_admin_teams_networks.js && node dist/test_agent_team_skill_network.js && node dist/test_benchmark_engine.js && node dist/test_cli_service_commands.js && node dist/test_consequence_forecaster.js && node dist/test_conversation_memory.js && node dist/test_create_entities.js && node dist/test_designmd_import_registry.js && node dist/test_designmd_mode.js && node dist/test_designmd_mode_workspace.js && node dist/test_dream_organizer.js && node dist/test_dual_mode.js && node dist/test_governance.js && node dist/test_governance_advanced.js && node dist/test_install_flow.js && node dist/test_job_lifecycle.js && node dist/test_memory_orchestrator.js && node dist/test_memory_promotion.js && node dist/test_memory_retention.js && node dist/test_operating_system.js && node dist/test_optimization_loop.js && node dist/test_outcome_simulator.js && node dist/test_performance_scorecard.js && node dist/test_phase6_board.js && node dist/test_phase6_cadence.js && node dist/test_phase6_ops.js && node dist/test_release_gate.js && node dist/test_reversa_contracts_e2e.js && node dist/test_reversa_export_and_strict.js && node dist/test_reversa_full_execution.js && node dist/test_reversa_lite.js && node dist/test_runtime_policy.js && node dist/test_runtime_probe.js && node dist/test_runtime_registry.js && node dist/test_security_download_guard.js && node dist/test_service_command_surface.js && node dist/test_service_completion_policy.js && node dist/test_service_guardrails_delete.js && node dist/test_sources_import_ref.js && node dist/test_sources_scaffold.js && node dist/test_teammate_learning.js && node dist/test_telegram_delete_guardrail.js && node dist/test_daemon_sigterm.js && node dist/test_ask_exit.js && node dist/test_brain_error_diagnostics.js && node dist/test_cli_doc_parity.js && node dist/test_trigger_basic_auth.js && node dist/test_brain_fallback_chain.js && node dist/test_cli_help_surface.js && node dist/test_cli_diagnostics.js && node dist/test_cli_crud_roundtrip.js && node dist/test_subsystems_routing_governance.js && node dist/test_subsystems_org_state.js && node dist/test_subsystems_promotion_memory_assets.js && node dist/test_phase1_check_exit.js && node dist/test_install_flow_host_validation.js && node dist/test_dist_templates_layout.js && node dist/test_host_installer.js && node dist/test_host_uninstaller.js && node dist/test_install_wizard.js && node dist/test_multi_host_docs_parity.js && node dist/test_host_install_e2e.js && node dist/test_runtime_profile_oauth_only.js && node dist/test_atomic_writer.js && node dist/test_mission_checkpoint.js && node dist/test_workflow_parser.js && node dist/test_workflow_engine.js && node dist/test_workflow_e2e.js && node dist/test_distributed_lock.js && node dist/test_watchdog_heartbeat.js && node dist/test_runtime_health_backoff.js && node dist/test_queue_scheduler.js && node dist/test_squad_skill_creator.js && node dist/test_aiobuilder_cli_parity.js && node dist/test_catalog_quality.js && node dist/test_royal_stack_golden.js && node dist/test_capability_pack_schema.js && node dist/test_capability_genesis_engine.js && node dist/test_workflow_schema_backward_compat.js && node dist/test_service_mode_explicit_only.js && node dist/test_deep_research_capability.js && node dist/test_guided_creator_cli.js && node dist/test_governance_v13_policies.js && node dist/test_gateway_telegram_guardrails.js && node dist/test_cron_manager.js && node dist/test_profile_toolset_mcp.js && node dist/test_squad_skill_design_llm.js && node dist/test_workflow_condition_parser.js && node dist/test_security_download_and_scan.js && node dist/test_host_installers_gemini_codex.js && node dist/test_toolset_enforcement.js && node dist/test_creator_placeholders_completed.js && node dist/test_performance_latency.js && node dist/test_post_mission_evaluation.js && node dist/test_governance_scope_ledger.js && node dist/test_consequence_forecast_brain.js && node dist/test_remote_publish.js && node dist/test_process_sandbox.js && node dist/test_v15_e2e_integration.js && node dist/test_doctor_sandbox_check.js && node dist/test_task_executor_sandbox_optin.js && node dist/test_forecast_brain_wiring.js && node dist/test_status_command.js && node dist/test_logs_command.js && node dist/test_agent_creator.js && node dist/test_matrix_rain.js && node dist/test_chat_tui.js && node dist/test_config_tui.js && node dist/test_install_wizard_v2.js",
171
+ "test:all": "npm run build && node dist/test_distribution_installability.js && node dist/test_orchestration_assets_lifecycle.js && node dist/test_openlife_runtime_source_truth.js && node dist/test_openlife_evolution_surface.js && node dist/test_openlife_routing_surface.js && node dist/test_openlife_auto_creator_routing.js && node dist/test_openlife_gatekeeper_routing.js && node dist/test_enterprise_agentic_core.js && node dist/test_admin_teams_networks.js && node dist/test_agent_team_skill_network.js && node dist/test_benchmark_engine.js && node dist/test_cli_service_commands.js && node dist/test_consequence_forecaster.js && node dist/test_conversation_memory.js && node dist/test_create_entities.js && node dist/test_designmd_import_registry.js && node dist/test_designmd_mode.js && node dist/test_designmd_mode_workspace.js && node dist/test_dream_organizer.js && node dist/test_dual_mode.js && node dist/test_governance.js && node dist/test_governance_advanced.js && node dist/test_install_flow.js && node dist/test_job_lifecycle.js && node dist/test_memory_orchestrator.js && node dist/test_memory_promotion.js && node dist/test_memory_retention.js && node dist/test_operating_system.js && node dist/test_optimization_loop.js && node dist/test_outcome_simulator.js && node dist/test_performance_scorecard.js && node dist/test_phase6_board.js && node dist/test_phase6_cadence.js && node dist/test_phase6_ops.js && node dist/test_release_gate.js && node dist/test_reversa_contracts_e2e.js && node dist/test_reversa_export_and_strict.js && node dist/test_reversa_full_execution.js && node dist/test_reversa_lite.js && node dist/test_runtime_policy.js && node dist/test_runtime_probe.js && node dist/test_runtime_registry.js && node dist/test_security_download_guard.js && node dist/test_service_command_surface.js && node dist/test_service_completion_policy.js && node dist/test_service_guardrails_delete.js && node dist/test_sources_import_ref.js && node dist/test_sources_scaffold.js && node dist/test_teammate_learning.js && node dist/test_telegram_delete_guardrail.js && node dist/test_daemon_sigterm.js && node dist/test_ask_exit.js && node dist/test_brain_error_diagnostics.js && node dist/test_cli_doc_parity.js && node dist/test_trigger_basic_auth.js && node dist/test_brain_fallback_chain.js && node dist/test_cli_help_surface.js && node dist/test_cli_diagnostics.js && node dist/test_cli_crud_roundtrip.js && node dist/test_subsystems_routing_governance.js && node dist/test_subsystems_org_state.js && node dist/test_subsystems_promotion_memory_assets.js && node dist/test_phase1_check_exit.js && node dist/test_install_flow_host_validation.js && node dist/test_dist_templates_layout.js && node dist/test_host_installer.js && node dist/test_host_uninstaller.js && node dist/test_install_wizard.js && node dist/test_multi_host_docs_parity.js && node dist/test_host_install_e2e.js && node dist/test_runtime_profile_oauth_only.js && node dist/test_atomic_writer.js && node dist/test_mission_checkpoint.js && node dist/test_workflow_parser.js && node dist/test_workflow_engine.js && node dist/test_workflow_e2e.js && node dist/test_distributed_lock.js && node dist/test_watchdog_heartbeat.js && node dist/test_runtime_health_backoff.js && node dist/test_queue_scheduler.js && node dist/test_squad_skill_creator.js && node dist/test_aiobuilder_cli_parity.js && node dist/test_catalog_quality.js && node dist/test_royal_stack_golden.js && node dist/test_capability_pack_schema.js && node dist/test_capability_genesis_engine.js && node dist/test_workflow_schema_backward_compat.js && node dist/test_service_mode_explicit_only.js && node dist/test_deep_research_capability.js && node dist/test_guided_creator_cli.js && node dist/test_governance_v13_policies.js && node dist/test_gateway_telegram_guardrails.js && node dist/test_cron_manager.js && node dist/test_profile_toolset_mcp.js && node dist/test_squad_skill_design_llm.js && node dist/test_workflow_condition_parser.js && node dist/test_security_download_and_scan.js && node dist/test_host_installers_gemini_codex.js && node dist/test_toolset_enforcement.js && node dist/test_creator_placeholders_completed.js && node dist/test_performance_latency.js && node dist/test_post_mission_evaluation.js && node dist/test_governance_scope_ledger.js && node dist/test_consequence_forecast_brain.js && node dist/test_remote_publish.js && node dist/test_process_sandbox.js && node dist/test_v15_e2e_integration.js && node dist/test_doctor_sandbox_check.js && node dist/test_task_executor_sandbox_optin.js && node dist/test_forecast_brain_wiring.js && node dist/test_status_command.js && node dist/test_logs_command.js && node dist/test_agent_creator.js && node dist/test_matrix_rain.js && node dist/test_chat_tui.js && node dist/test_config_tui.js && node dist/test_install_wizard_v2.js && node dist/test_openlife_method_inventory.js && node dist/test_flow_run_cli.js",
169
172
  "prepublishOnly": "npm run test:all",
170
173
  "test:no-automatic-messages": "npm run build && node dist/test_no_automatic_messages.js",
171
174
  "test:gateway-fast-ack": "npm run build && node dist/test_gateway_fast_ack.js",