@openlife/cli 1.8.3 → 1.9.3
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.
- package/.catalog/agents/test-agent/AGENT.md +1 -1
- package/.catalog/mcps/test-mcp/mcp.json +1 -1
- package/.catalog/skills/sample-from-url/IMPORTED_REFERENCE.md +2 -2
- package/.catalog/skills/test-skill/REFERENCE.md +1 -1
- package/.catalog/squads/00-governance-advisory-board/workflows/wf-board-meeting.yaml +25 -0
- package/.catalog/squads/00-governance-advisory-board/workflows/wf-decision-framework.yaml +25 -0
- package/.catalog/squads/00-governance-c-level-squad/workflows/wf-board-presentation.yaml +25 -0
- package/.catalog/squads/00-governance-c-level-squad/workflows/wf-strategic-planning.yaml +25 -0
- package/.catalog/squads/00-governance-project-ops-squad/workflows/mission-to-project.yaml +25 -0
- package/.catalog/squads/00-governance-project-ops-squad/workflows/sprint-planning.yaml +25 -0
- package/.catalog/squads/00-governance-project-ops-squad/workflows/weekly-review.yaml +25 -0
- package/.catalog/squads/01-meta-framework-swarm-tree-orchestration/workflows/tree-analysis-flow.yaml +25 -0
- package/.catalog/squads/01-meta-framework-swarm-tree-orchestration/workflows/tree-execution-flow.yaml +25 -0
- package/.catalog/squads/01-meta-framework-swarm-tree-orchestration/workflows/tree-planning-flow.yaml +25 -0
- package/.catalog/squads/01-meta-framework-swarm-tree-orchestration/workflows/tree-resume-flow.yaml +25 -0
- package/.catalog/squads/02-product-growth-brand-squad/workflows/wf-brand-creation.yaml +25 -0
- package/.catalog/squads/02-product-growth-brand-squad/workflows/wf-rebrand.yaml +25 -0
- package/.catalog/squads/02-product-growth-copy-squad/workflows/wf-copy-review-cycle.yaml +25 -0
- package/.catalog/squads/02-product-growth-copy-squad/workflows/wf-full-copy-project.yaml +25 -0
- package/.catalog/squads/02-product-growth-design-squad/workflows/wf-design-system-creation.yaml +25 -0
- package/.catalog/squads/02-product-growth-design-squad/workflows/wf-feature-design.yaml +25 -0
- package/.catalog/squads/02-product-growth-hormozi-squad/workflows/wf-business-turnaround.yaml +25 -0
- package/.catalog/squads/02-product-growth-hormozi-squad/workflows/wf-offer-creation.yaml +25 -0
- package/.catalog/squads/02-product-growth-movement/workflows/wf-movement-launch.yaml +25 -0
- package/.catalog/squads/02-product-growth-saas-onboarding-activator/workflows/full-onboarding-activation-workflow.yaml +25 -0
- package/.catalog/squads/02-product-growth-saas-onboarding-activator/workflows/quick-engagement-boost-workflow.yaml +25 -0
- package/.catalog/squads/02-product-growth-sales-squad/workflows/followup-sequence.yaml +25 -0
- package/.catalog/squads/02-product-growth-sales-squad/workflows/full-sales-cycle.yaml +25 -0
- package/.catalog/squads/02-product-growth-sales-squad/workflows/proposal-flow.yaml +25 -0
- package/.catalog/squads/02-product-growth-storytelling/workflows/wf-brand-narrative.yaml +25 -0
- package/.catalog/squads/02-product-growth-storytelling/workflows/wf-story-development.yaml +25 -0
- package/.catalog/squads/02-product-growth-traffic-masters/workflows/wf-account-audit.yaml +25 -0
- package/.catalog/squads/02-product-growth-traffic-masters/workflows/wf-campaign-launch.yaml +25 -0
- package/.catalog/squads/03-engineering-quality-automated-code-review-squad/workflows/full-code-review-workflow.yaml +25 -0
- package/.catalog/squads/03-engineering-quality-automated-code-review-squad/workflows/quick-security-check-workflow.yaml +25 -0
- package/.catalog/squads/04-data-security-cybersecurity/workflows/wf-incident-response.yaml +25 -0
- package/.catalog/squads/04-data-security-cybersecurity/workflows/wf-pentest-engagement.yaml +25 -0
- package/.catalog/squads/04-data-security-data-quality-guardian/workflows/full-data-quality-audit-workflow.yaml +25 -0
- package/.catalog/squads/04-data-security-data-quality-guardian/workflows/quick-data-check-workflow.yaml +25 -0
- package/.catalog/squads/04-data-security-data-squad/workflows/wf-analytics-setup.yaml +25 -0
- package/.catalog/squads/04-data-security-data-squad/workflows/wf-growth-sprint.yaml +25 -0
- package/.catalog/squads/04-data-security-incident-response-squad/workflows/full-incident-response-workflow.yaml +25 -0
- package/.catalog/squads/04-data-security-incident-response-squad/workflows/rapid-triage-workflow.yaml +25 -0
- package/.catalog/squads/04-data-security-soc-alert-triage/workflows/full-alert-triage-workflow.yaml +25 -0
- package/.catalog/squads/04-data-security-soc-alert-triage/workflows/rapid-classification-workflow.yaml +25 -0
- package/.catalog/squads/05-domain-specialists-adaptive-tutor-k12/workflows/full-tutoring-cycle-workflow.yaml +25 -0
- package/.catalog/squads/05-domain-specialists-adaptive-tutor-k12/workflows/quick-practice-session-workflow.yaml +25 -0
- package/.catalog/squads/05-domain-specialists-ambient-clinical-scribe/workflows/full-documentation-workflow.yaml +25 -0
- package/.catalog/squads/05-domain-specialists-ambient-clinical-scribe/workflows/quick-note-workflow.yaml +25 -0
- package/.catalog/squads/05-domain-specialists-contract-review-squad/workflows/full-contract-review-workflow.yaml +25 -0
- package/.catalog/squads/05-domain-specialists-contract-review-squad/workflows/quick-risk-assessment-workflow.yaml +25 -0
- package/.catalog/squads/05-domain-specialists-crypto-token-forge/workflows/full-token-launch-workflow.yaml +25 -0
- package/.catalog/squads/05-domain-specialists-crypto-token-forge/workflows/memecoin-express-workflow.yaml +25 -0
- package/.catalog/squads/05-domain-specialists-crypto-token-forge/workflows/utility-token-launch-workflow.yaml +25 -0
- package/.catalog/squads/05-domain-specialists-resume-screener-squad/workflows/full-resume-screening-workflow.yaml +25 -0
- package/.catalog/squads/05-domain-specialists-resume-screener-squad/workflows/quick-skills-match-workflow.yaml +25 -0
- package/.catalog/squads/test-squad/SQUAD.md +1 -1
- package/.openlife/method/agents/atlas.md +102 -0
- package/.openlife/method/agents/builder.md +92 -0
- package/.openlife/method/agents/conductor.md +93 -0
- package/.openlife/method/agents/forge.md +96 -0
- package/.openlife/method/agents/genesis.md +115 -0
- package/.openlife/method/agents/lyra.md +85 -0
- package/.openlife/method/agents/maestro.md +92 -0
- package/.openlife/method/agents/mesh.md +101 -0
- package/.openlife/method/agents/prism.md +85 -0
- package/.openlife/method/agents/sentinel.md +115 -0
- package/.openlife/method/agents/steward.md +93 -0
- package/.openlife/method/agents/vortex.md +94 -0
- package/dist/cli/CommandFlowRunner.js +167 -0
- package/dist/cli/install/Phases.js +43 -0
- package/dist/index.js +118 -0
- package/dist/orchestrator/ProjectMetadata.js +183 -0
- package/dist/test_flow_run_cli.js +183 -0
- package/dist/test_host_uninstaller.js +12 -2
- package/dist/test_openlife_method_inventory.js +183 -0
- package/dist/test_workflow_e2e.js +10 -3
- package/dist-templates/claude-code/agents/openlife-atlas.md +12 -44
- package/dist-templates/claude-code/agents/openlife-builder.md +20 -0
- package/dist-templates/claude-code/agents/openlife-conductor.md +20 -0
- package/dist-templates/claude-code/agents/openlife-forge.md +12 -34
- package/dist-templates/claude-code/agents/openlife-genesis.md +12 -51
- package/dist-templates/claude-code/agents/openlife-lyra.md +12 -32
- package/dist-templates/claude-code/agents/openlife-maestro.md +27 -41
- package/dist-templates/claude-code/agents/openlife-mesh.md +20 -0
- package/dist-templates/claude-code/agents/openlife-prism.md +20 -0
- package/dist-templates/claude-code/agents/openlife-sentinel.md +20 -0
- package/dist-templates/claude-code/agents/openlife-steward.md +20 -0
- package/dist-templates/claude-code/agents/openlife-vortex.md +20 -0
- package/dist-templates/claude-code/commands/openlife/agents/atlas.md +24 -0
- package/dist-templates/claude-code/commands/openlife/agents/builder.md +24 -0
- package/dist-templates/claude-code/commands/openlife/agents/conductor.md +24 -0
- package/dist-templates/claude-code/commands/openlife/agents/forge.md +24 -0
- package/dist-templates/claude-code/commands/openlife/agents/genesis.md +24 -0
- package/dist-templates/claude-code/commands/openlife/agents/lyra.md +24 -0
- package/dist-templates/claude-code/commands/openlife/agents/maestro.md +24 -0
- package/dist-templates/claude-code/commands/openlife/agents/mesh.md +24 -0
- package/dist-templates/claude-code/commands/openlife/agents/prism.md +24 -0
- package/dist-templates/claude-code/commands/openlife/agents/sentinel.md +24 -0
- package/dist-templates/claude-code/commands/openlife/agents/steward.md +24 -0
- package/dist-templates/claude-code/commands/openlife/agents/vortex.md +24 -0
- package/dist-templates/claude-code/commands/openlife/ask.md +13 -7
- package/dist-templates/claude-code/commands/openlife/audit.md +14 -0
- package/dist-templates/claude-code/commands/openlife/doctor.md +11 -14
- package/dist-templates/claude-code/commands/openlife/dream.md +10 -16
- package/dist-templates/claude-code/commands/openlife/explore.md +14 -0
- package/dist-templates/claude-code/commands/openlife/flow/brownfield-discovery.md +20 -0
- package/dist-templates/claude-code/commands/openlife/flow/brownfield-fullstack.md +20 -0
- package/dist-templates/claude-code/commands/openlife/flow/brownfield-service.md +20 -0
- package/dist-templates/claude-code/commands/openlife/flow/brownfield-ui.md +20 -0
- package/dist-templates/claude-code/commands/openlife/flow/epic.md +20 -0
- package/dist-templates/claude-code/commands/openlife/flow/greenfield-fullstack.md +20 -0
- package/dist-templates/claude-code/commands/openlife/flow/greenfield-service.md +20 -0
- package/dist-templates/claude-code/commands/openlife/flow/greenfield-ui.md +20 -0
- package/dist-templates/claude-code/commands/openlife/flow/qa-loop.md +20 -0
- package/dist-templates/claude-code/commands/openlife/flow/release.md +20 -0
- package/dist-templates/claude-code/commands/openlife/flow/spec-pipeline.md +20 -0
- package/dist-templates/claude-code/commands/openlife/flow/story-cycle.md +20 -0
- package/dist-templates/claude-code/commands/openlife/health.md +14 -0
- package/dist-templates/claude-code/commands/openlife/plan.md +14 -0
- package/dist-templates/claude-code/commands/openlife/review.md +14 -0
- package/dist-templates/claude-code/commands/openlife/ship.md +14 -0
- package/dist-templates/claude-code/commands/openlife/start.md +25 -0
- package/dist-templates/claude-code/commands/openlife/status.md +10 -10
- package/dist-templates/claude-code/commands/openlife/story.md +18 -0
- package/dist-templates/codex/agents/openlife-atlas.md +12 -44
- package/dist-templates/codex/agents/openlife-builder.md +20 -0
- package/dist-templates/codex/agents/openlife-conductor.md +20 -0
- package/dist-templates/codex/agents/openlife-forge.md +12 -34
- package/dist-templates/codex/agents/openlife-genesis.md +12 -51
- package/dist-templates/codex/agents/openlife-lyra.md +12 -32
- package/dist-templates/codex/agents/openlife-maestro.md +27 -41
- package/dist-templates/codex/agents/openlife-mesh.md +20 -0
- package/dist-templates/codex/agents/openlife-prism.md +20 -0
- package/dist-templates/codex/agents/openlife-sentinel.md +20 -0
- package/dist-templates/codex/agents/openlife-steward.md +20 -0
- package/dist-templates/codex/agents/openlife-vortex.md +20 -0
- package/dist-templates/codex/commands/openlife/agents/atlas.md +24 -0
- package/dist-templates/codex/commands/openlife/agents/builder.md +24 -0
- package/dist-templates/codex/commands/openlife/agents/conductor.md +24 -0
- package/dist-templates/codex/commands/openlife/agents/forge.md +24 -0
- package/dist-templates/codex/commands/openlife/agents/genesis.md +24 -0
- package/dist-templates/codex/commands/openlife/agents/lyra.md +24 -0
- package/dist-templates/codex/commands/openlife/agents/maestro.md +24 -0
- package/dist-templates/codex/commands/openlife/agents/mesh.md +24 -0
- package/dist-templates/codex/commands/openlife/agents/prism.md +24 -0
- package/dist-templates/codex/commands/openlife/agents/sentinel.md +24 -0
- package/dist-templates/codex/commands/openlife/agents/steward.md +24 -0
- package/dist-templates/codex/commands/openlife/agents/vortex.md +24 -0
- package/dist-templates/codex/commands/openlife/ask.md +13 -7
- package/dist-templates/codex/commands/openlife/audit.md +14 -0
- package/dist-templates/codex/commands/openlife/doctor.md +11 -14
- package/dist-templates/codex/commands/openlife/dream.md +10 -16
- package/dist-templates/codex/commands/openlife/explore.md +14 -0
- package/dist-templates/codex/commands/openlife/flow/brownfield-discovery.md +20 -0
- package/dist-templates/codex/commands/openlife/flow/brownfield-fullstack.md +20 -0
- package/dist-templates/codex/commands/openlife/flow/brownfield-service.md +20 -0
- package/dist-templates/codex/commands/openlife/flow/brownfield-ui.md +20 -0
- package/dist-templates/codex/commands/openlife/flow/epic.md +20 -0
- package/dist-templates/codex/commands/openlife/flow/greenfield-fullstack.md +20 -0
- package/dist-templates/codex/commands/openlife/flow/greenfield-service.md +20 -0
- package/dist-templates/codex/commands/openlife/flow/greenfield-ui.md +20 -0
- package/dist-templates/codex/commands/openlife/flow/qa-loop.md +20 -0
- package/dist-templates/codex/commands/openlife/flow/release.md +20 -0
- package/dist-templates/codex/commands/openlife/flow/spec-pipeline.md +20 -0
- package/dist-templates/codex/commands/openlife/flow/story-cycle.md +20 -0
- package/dist-templates/codex/commands/openlife/health.md +14 -0
- package/dist-templates/codex/commands/openlife/plan.md +14 -0
- package/dist-templates/codex/commands/openlife/review.md +14 -0
- package/dist-templates/codex/commands/openlife/ship.md +14 -0
- package/dist-templates/codex/commands/openlife/start.md +25 -0
- package/dist-templates/codex/commands/openlife/status.md +10 -10
- package/dist-templates/codex/commands/openlife/story.md +18 -0
- package/dist-templates/gemini-cli/agents/openlife-atlas.md +12 -44
- package/dist-templates/gemini-cli/agents/openlife-builder.md +20 -0
- package/dist-templates/gemini-cli/agents/openlife-conductor.md +20 -0
- package/dist-templates/gemini-cli/agents/openlife-forge.md +12 -34
- package/dist-templates/gemini-cli/agents/openlife-genesis.md +12 -51
- package/dist-templates/gemini-cli/agents/openlife-lyra.md +12 -32
- package/dist-templates/gemini-cli/agents/openlife-maestro.md +27 -41
- package/dist-templates/gemini-cli/agents/openlife-mesh.md +20 -0
- package/dist-templates/gemini-cli/agents/openlife-prism.md +20 -0
- package/dist-templates/gemini-cli/agents/openlife-sentinel.md +20 -0
- package/dist-templates/gemini-cli/agents/openlife-steward.md +20 -0
- package/dist-templates/gemini-cli/agents/openlife-vortex.md +20 -0
- package/dist-templates/gemini-cli/commands/openlife/agents/atlas.md +24 -0
- package/dist-templates/gemini-cli/commands/openlife/agents/builder.md +24 -0
- package/dist-templates/gemini-cli/commands/openlife/agents/conductor.md +24 -0
- package/dist-templates/gemini-cli/commands/openlife/agents/forge.md +24 -0
- package/dist-templates/gemini-cli/commands/openlife/agents/genesis.md +24 -0
- package/dist-templates/gemini-cli/commands/openlife/agents/lyra.md +24 -0
- package/dist-templates/gemini-cli/commands/openlife/agents/maestro.md +24 -0
- package/dist-templates/gemini-cli/commands/openlife/agents/mesh.md +24 -0
- package/dist-templates/gemini-cli/commands/openlife/agents/prism.md +24 -0
- package/dist-templates/gemini-cli/commands/openlife/agents/sentinel.md +24 -0
- package/dist-templates/gemini-cli/commands/openlife/agents/steward.md +24 -0
- package/dist-templates/gemini-cli/commands/openlife/agents/vortex.md +24 -0
- package/dist-templates/gemini-cli/commands/openlife/ask.md +13 -7
- package/dist-templates/gemini-cli/commands/openlife/audit.md +14 -0
- package/dist-templates/gemini-cli/commands/openlife/doctor.md +11 -14
- package/dist-templates/gemini-cli/commands/openlife/dream.md +10 -16
- package/dist-templates/gemini-cli/commands/openlife/explore.md +14 -0
- package/dist-templates/gemini-cli/commands/openlife/flow/brownfield-discovery.md +20 -0
- package/dist-templates/gemini-cli/commands/openlife/flow/brownfield-fullstack.md +20 -0
- package/dist-templates/gemini-cli/commands/openlife/flow/brownfield-service.md +20 -0
- package/dist-templates/gemini-cli/commands/openlife/flow/brownfield-ui.md +20 -0
- package/dist-templates/gemini-cli/commands/openlife/flow/epic.md +20 -0
- package/dist-templates/gemini-cli/commands/openlife/flow/greenfield-fullstack.md +20 -0
- package/dist-templates/gemini-cli/commands/openlife/flow/greenfield-service.md +20 -0
- package/dist-templates/gemini-cli/commands/openlife/flow/greenfield-ui.md +20 -0
- package/dist-templates/gemini-cli/commands/openlife/flow/qa-loop.md +20 -0
- package/dist-templates/gemini-cli/commands/openlife/flow/release.md +20 -0
- package/dist-templates/gemini-cli/commands/openlife/flow/spec-pipeline.md +20 -0
- package/dist-templates/gemini-cli/commands/openlife/flow/story-cycle.md +20 -0
- package/dist-templates/gemini-cli/commands/openlife/health.md +14 -0
- package/dist-templates/gemini-cli/commands/openlife/plan.md +14 -0
- package/dist-templates/gemini-cli/commands/openlife/review.md +14 -0
- package/dist-templates/gemini-cli/commands/openlife/ship.md +14 -0
- package/dist-templates/gemini-cli/commands/openlife/start.md +25 -0
- package/dist-templates/gemini-cli/commands/openlife/status.md +10 -10
- package/dist-templates/gemini-cli/commands/openlife/story.md +18 -0
- package/dist-templates/workflows/brownfield-fullstack.yaml +131 -0
- package/dist-templates/workflows/brownfield-service.yaml +111 -0
- package/dist-templates/workflows/brownfield-ui.yaml +115 -0
- package/dist-templates/workflows/continuous-deployment.yaml +139 -0
- package/dist-templates/workflows/epic-orchestration.yaml +101 -0
- package/dist-templates/workflows/greenfield-service.yaml +154 -0
- package/dist-templates/workflows/greenfield-ui.yaml +140 -0
- package/dist-templates/workflows/spec-pipeline.yaml +135 -0
- package/package.json +5 -2
- package/scripts/generate-slash-commands.js +220 -0
- package/scripts/generate-squad-workflow-stubs.js +144 -0
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: Activate Steward — Product Owner / Story Validator — owns the Draft → Ready gate
|
|
3
|
+
argument-hint: "[optional context]"
|
|
4
|
+
allowed-tools:
|
|
5
|
+
- Read
|
|
6
|
+
- Write
|
|
7
|
+
- Edit
|
|
8
|
+
- Bash(openlife:*)
|
|
9
|
+
- Grep
|
|
10
|
+
- Glob
|
|
11
|
+
- Agent
|
|
12
|
+
- AskUserQuestion
|
|
13
|
+
---
|
|
14
|
+
|
|
15
|
+
Activate **Steward** from the OpenLife method.
|
|
16
|
+
|
|
17
|
+
1. Read `.openlife/method/agents/steward.md` in full.
|
|
18
|
+
2. Adopt the persona and execute the activation flow defined there:
|
|
19
|
+
- Display the persona greeting (icon + 1-line role)
|
|
20
|
+
- Show the top 5 commands
|
|
21
|
+
- HALT and await `*command` from the user
|
|
22
|
+
3. If `$ARGUMENTS` is non-empty, treat it as an initial task or context for the persona.
|
|
23
|
+
|
|
24
|
+
After the user's first `*command`, follow the persona's hand-off rules to suggest the next persona when appropriate.
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: Activate Vortex — DevOps — EXCLUSIVE authority over git push, gh PR, MCP, releases
|
|
3
|
+
argument-hint: "[optional context]"
|
|
4
|
+
allowed-tools:
|
|
5
|
+
- Read
|
|
6
|
+
- Write
|
|
7
|
+
- Edit
|
|
8
|
+
- Bash(openlife:*)
|
|
9
|
+
- Grep
|
|
10
|
+
- Glob
|
|
11
|
+
- Agent
|
|
12
|
+
- AskUserQuestion
|
|
13
|
+
---
|
|
14
|
+
|
|
15
|
+
Activate **Vortex** from the OpenLife method.
|
|
16
|
+
|
|
17
|
+
1. Read `.openlife/method/agents/vortex.md` in full.
|
|
18
|
+
2. Adopt the persona and execute the activation flow defined there:
|
|
19
|
+
- Display the persona greeting (icon + 1-line role)
|
|
20
|
+
- Show the top 5 commands
|
|
21
|
+
- HALT and await `*command` from the user
|
|
22
|
+
3. If `$ARGUMENTS` is non-empty, treat it as an initial task or context for the persona.
|
|
23
|
+
|
|
24
|
+
After the user's first `*command`, follow the persona's hand-off rules to suggest the next persona when appropriate.
|
|
@@ -1,14 +1,20 @@
|
|
|
1
1
|
---
|
|
2
2
|
description: Ask the OpenLife Brain a question (uses primary/fallback model chain configured in models.json)
|
|
3
|
-
argument-hint: <question>
|
|
4
|
-
allowed-tools:
|
|
3
|
+
argument-hint: "<question>"
|
|
4
|
+
allowed-tools:
|
|
5
|
+
- Read
|
|
6
|
+
- Write
|
|
7
|
+
- Edit
|
|
8
|
+
- Bash(openlife:*)
|
|
9
|
+
- Grep
|
|
10
|
+
- Glob
|
|
11
|
+
- Agent
|
|
12
|
+
- AskUserQuestion
|
|
5
13
|
---
|
|
6
14
|
|
|
7
15
|
Run `openlife ask "$ARGUMENTS"` and return the Brain's answer.
|
|
8
16
|
|
|
9
17
|
Notes:
|
|
10
|
-
-
|
|
11
|
-
- The `OPENLIFE_ASK_TIMEOUT_MS` env var caps
|
|
12
|
-
- If
|
|
13
|
-
|
|
14
|
-
After the answer comes back, present it cleanly to the user. If `ask` errors (timeout, all models failed), report the error and suggest `openlife system doctor` to diagnose.
|
|
18
|
+
- Uses the configured models.json chain (primary + fallbacks). If primary fails, it falls through.
|
|
19
|
+
- The `OPENLIFE_ASK_TIMEOUT_MS` env var caps total time (default 90s).
|
|
20
|
+
- If ask errors, report the error and suggest `openlife system doctor` to diagnose.
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: Run brownfield-discovery — 10-phase audit of an existing codebase
|
|
3
|
+
allowed-tools:
|
|
4
|
+
- Read
|
|
5
|
+
- Write
|
|
6
|
+
- Edit
|
|
7
|
+
- Bash(openlife:*)
|
|
8
|
+
- Grep
|
|
9
|
+
- Glob
|
|
10
|
+
- Agent
|
|
11
|
+
- AskUserQuestion
|
|
12
|
+
---
|
|
13
|
+
|
|
14
|
+
Run `openlife flow run brownfield-discovery "$ARGUMENTS"`. The 10-phase audit produces architecture, schema, frontend specs, technical-debt assessment, and a backlog of remediation stories.
|
|
@@ -1,19 +1,16 @@
|
|
|
1
1
|
---
|
|
2
2
|
description: Run OpenLife health checks (API keys, model chain, runtime catalogs, daemon state)
|
|
3
|
-
allowed-tools:
|
|
3
|
+
allowed-tools:
|
|
4
|
+
- Read
|
|
5
|
+
- Write
|
|
6
|
+
- Edit
|
|
7
|
+
- Bash(openlife:*)
|
|
8
|
+
- Grep
|
|
9
|
+
- Glob
|
|
10
|
+
- Agent
|
|
11
|
+
- AskUserQuestion
|
|
4
12
|
---
|
|
5
13
|
|
|
6
|
-
Run `openlife system doctor` and walk the user through
|
|
14
|
+
Run `openlife system doctor` and walk the user through results.
|
|
7
15
|
|
|
8
|
-
For each failed check:
|
|
9
|
-
1. Quote the failure line
|
|
10
|
-
2. Explain in 1 sentence what the check verifies
|
|
11
|
-
3. Suggest the concrete fix (usually setting an env var or running a follow-up command)
|
|
12
|
-
|
|
13
|
-
Common failures and fixes:
|
|
14
|
-
- **Missing `GEMINI_API_KEY` / `OPENAI_API_KEY` / `ANTHROPIC_API_KEY`** → add to `.env` at project root
|
|
15
|
-
- **Missing `TELEGRAM_BOT_TOKEN`** → only required if profile is `autonomous`
|
|
16
|
-
- **Catalog empty** → run `openlife system setup` (likely incomplete install)
|
|
17
|
-
- **Ollama not reachable** → optional unless `OPENLIFE_ENABLE_OLLAMA=true`
|
|
18
|
-
|
|
19
|
-
If everything passes, say so concisely — don't pad.
|
|
16
|
+
For each failed check: quote the line, explain in 1 sentence what it verifies, suggest the concrete fix.
|
|
@@ -1,20 +1,14 @@
|
|
|
1
1
|
---
|
|
2
2
|
description: Run the OpenLife Dream Organizer — surfaces ideas, pending stories, and prioritization from accumulated context
|
|
3
|
-
allowed-tools:
|
|
3
|
+
allowed-tools:
|
|
4
|
+
- Read
|
|
5
|
+
- Write
|
|
6
|
+
- Edit
|
|
7
|
+
- Bash(openlife:*)
|
|
8
|
+
- Grep
|
|
9
|
+
- Glob
|
|
10
|
+
- Agent
|
|
11
|
+
- AskUserQuestion
|
|
4
12
|
---
|
|
5
13
|
|
|
6
|
-
Run `openlife dream`
|
|
7
|
-
|
|
8
|
-
The Dream Organizer reads:
|
|
9
|
-
- Conversation memory (last sessions)
|
|
10
|
-
- Pending stories in `docs/stories/`
|
|
11
|
-
- Open governance consents in `.openlife/governance-consents.json`
|
|
12
|
-
- Mission state in `.openlife/`
|
|
13
|
-
|
|
14
|
-
Format the output as:
|
|
15
|
-
|
|
16
|
-
1. **Top 3 priorities** — the highest-signal items with one-line justification
|
|
17
|
-
2. **Deferred** — items the Dream Organizer parked
|
|
18
|
-
3. **Open questions** — anything the user needs to decide before work can proceed
|
|
19
|
-
|
|
20
|
-
Don't make up items the command didn't return.
|
|
14
|
+
Run `openlife dream "$ARGUMENTS"` to surface unprioritized ideas and stories from memory. Present the output grouped by theme.
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: Exploratory ideation with Lyra — divergent brainstorming, then convergent narrative
|
|
3
|
+
allowed-tools:
|
|
4
|
+
- Read
|
|
5
|
+
- Write
|
|
6
|
+
- Edit
|
|
7
|
+
- Bash(openlife:*)
|
|
8
|
+
- Grep
|
|
9
|
+
- Glob
|
|
10
|
+
- Agent
|
|
11
|
+
- AskUserQuestion
|
|
12
|
+
---
|
|
13
|
+
|
|
14
|
+
Activate `@openlife-lyra` (reads `.openlife/method/agents/lyra.md`) and run `*brainstorm "$ARGUMENTS"`. Surface options + tradeoffs. Do NOT commit to a plan in this command — that's `/openlife:plan`.
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: Brownfield Discovery: 10-phase audit of an existing codebase
|
|
3
|
+
argument-hint: "[--dry-run] [--vars key=value]"
|
|
4
|
+
allowed-tools:
|
|
5
|
+
- Read
|
|
6
|
+
- Bash(openlife:*)
|
|
7
|
+
- Grep
|
|
8
|
+
- Glob
|
|
9
|
+
- Agent
|
|
10
|
+
- AskUserQuestion
|
|
11
|
+
---
|
|
12
|
+
|
|
13
|
+
Run `openlife flow run brownfield-discovery $ARGUMENTS` and walk the user through the workflow as it executes.
|
|
14
|
+
|
|
15
|
+
- The workflow YAML is at `dist-templates/workflows/brownfield-discovery.yaml` (or `.openlife/method/workflows/brownfield-discovery.yaml` if locally overridden).
|
|
16
|
+
- Each phase invokes one or more OpenLife method agents.
|
|
17
|
+
- On any failure: surface the failing step + which agent is responsible, then offer to escalate to `@openlife-maestro`.
|
|
18
|
+
- `--dry-run` prints the phase plan without executing.
|
|
19
|
+
|
|
20
|
+
Refer the user to the persona of the active phase when they ask "who is doing this?".
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: Brownfield Full-Stack: enhance an existing full-stack app
|
|
3
|
+
argument-hint: "[--dry-run] [--vars key=value]"
|
|
4
|
+
allowed-tools:
|
|
5
|
+
- Read
|
|
6
|
+
- Bash(openlife:*)
|
|
7
|
+
- Grep
|
|
8
|
+
- Glob
|
|
9
|
+
- Agent
|
|
10
|
+
- AskUserQuestion
|
|
11
|
+
---
|
|
12
|
+
|
|
13
|
+
Run `openlife flow run brownfield-fullstack $ARGUMENTS` and walk the user through the workflow as it executes.
|
|
14
|
+
|
|
15
|
+
- The workflow YAML is at `dist-templates/workflows/brownfield-fullstack.yaml` (or `.openlife/method/workflows/brownfield-fullstack.yaml` if locally overridden).
|
|
16
|
+
- Each phase invokes one or more OpenLife method agents.
|
|
17
|
+
- On any failure: surface the failing step + which agent is responsible, then offer to escalate to `@openlife-maestro`.
|
|
18
|
+
- `--dry-run` prints the phase plan without executing.
|
|
19
|
+
|
|
20
|
+
Refer the user to the persona of the active phase when they ask "who is doing this?".
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: Brownfield Service: modify an existing service / API
|
|
3
|
+
argument-hint: "[--dry-run] [--vars key=value]"
|
|
4
|
+
allowed-tools:
|
|
5
|
+
- Read
|
|
6
|
+
- Bash(openlife:*)
|
|
7
|
+
- Grep
|
|
8
|
+
- Glob
|
|
9
|
+
- Agent
|
|
10
|
+
- AskUserQuestion
|
|
11
|
+
---
|
|
12
|
+
|
|
13
|
+
Run `openlife flow run brownfield-service $ARGUMENTS` and walk the user through the workflow as it executes.
|
|
14
|
+
|
|
15
|
+
- The workflow YAML is at `dist-templates/workflows/brownfield-service.yaml` (or `.openlife/method/workflows/brownfield-service.yaml` if locally overridden).
|
|
16
|
+
- Each phase invokes one or more OpenLife method agents.
|
|
17
|
+
- On any failure: surface the failing step + which agent is responsible, then offer to escalate to `@openlife-maestro`.
|
|
18
|
+
- `--dry-run` prints the phase plan without executing.
|
|
19
|
+
|
|
20
|
+
Refer the user to the persona of the active phase when they ask "who is doing this?".
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: Brownfield UI: refactor or enhance an existing UI
|
|
3
|
+
argument-hint: "[--dry-run] [--vars key=value]"
|
|
4
|
+
allowed-tools:
|
|
5
|
+
- Read
|
|
6
|
+
- Bash(openlife:*)
|
|
7
|
+
- Grep
|
|
8
|
+
- Glob
|
|
9
|
+
- Agent
|
|
10
|
+
- AskUserQuestion
|
|
11
|
+
---
|
|
12
|
+
|
|
13
|
+
Run `openlife flow run brownfield-ui $ARGUMENTS` and walk the user through the workflow as it executes.
|
|
14
|
+
|
|
15
|
+
- The workflow YAML is at `dist-templates/workflows/brownfield-ui.yaml` (or `.openlife/method/workflows/brownfield-ui.yaml` if locally overridden).
|
|
16
|
+
- Each phase invokes one or more OpenLife method agents.
|
|
17
|
+
- On any failure: surface the failing step + which agent is responsible, then offer to escalate to `@openlife-maestro`.
|
|
18
|
+
- `--dry-run` prints the phase plan without executing.
|
|
19
|
+
|
|
20
|
+
Refer the user to the persona of the active phase when they ask "who is doing this?".
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: Epic Orchestration: coordinate multiple dependent stories within an epic
|
|
3
|
+
argument-hint: "[--dry-run] [--vars key=value]"
|
|
4
|
+
allowed-tools:
|
|
5
|
+
- Read
|
|
6
|
+
- Bash(openlife:*)
|
|
7
|
+
- Grep
|
|
8
|
+
- Glob
|
|
9
|
+
- Agent
|
|
10
|
+
- AskUserQuestion
|
|
11
|
+
---
|
|
12
|
+
|
|
13
|
+
Run `openlife flow run epic-orchestration $ARGUMENTS` and walk the user through the workflow as it executes.
|
|
14
|
+
|
|
15
|
+
- The workflow YAML is at `dist-templates/workflows/epic-orchestration.yaml` (or `.openlife/method/workflows/epic-orchestration.yaml` if locally overridden).
|
|
16
|
+
- Each phase invokes one or more OpenLife method agents.
|
|
17
|
+
- On any failure: surface the failing step + which agent is responsible, then offer to escalate to `@openlife-maestro`.
|
|
18
|
+
- `--dry-run` prints the phase plan without executing.
|
|
19
|
+
|
|
20
|
+
Refer the user to the persona of the active phase when they ask "who is doing this?".
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: Greenfield Full-Stack: end-to-end new app from concept to shippable stories
|
|
3
|
+
argument-hint: "[--dry-run] [--vars key=value]"
|
|
4
|
+
allowed-tools:
|
|
5
|
+
- Read
|
|
6
|
+
- Bash(openlife:*)
|
|
7
|
+
- Grep
|
|
8
|
+
- Glob
|
|
9
|
+
- Agent
|
|
10
|
+
- AskUserQuestion
|
|
11
|
+
---
|
|
12
|
+
|
|
13
|
+
Run `openlife flow run greenfield-fullstack $ARGUMENTS` and walk the user through the workflow as it executes.
|
|
14
|
+
|
|
15
|
+
- The workflow YAML is at `dist-templates/workflows/greenfield-fullstack.yaml` (or `.openlife/method/workflows/greenfield-fullstack.yaml` if locally overridden).
|
|
16
|
+
- Each phase invokes one or more OpenLife method agents.
|
|
17
|
+
- On any failure: surface the failing step + which agent is responsible, then offer to escalate to `@openlife-maestro`.
|
|
18
|
+
- `--dry-run` prints the phase plan without executing.
|
|
19
|
+
|
|
20
|
+
Refer the user to the persona of the active phase when they ask "who is doing this?".
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: Greenfield Service: backend-only / API-only / CLI / worker / MCP server
|
|
3
|
+
argument-hint: "[--dry-run] [--vars key=value]"
|
|
4
|
+
allowed-tools:
|
|
5
|
+
- Read
|
|
6
|
+
- Bash(openlife:*)
|
|
7
|
+
- Grep
|
|
8
|
+
- Glob
|
|
9
|
+
- Agent
|
|
10
|
+
- AskUserQuestion
|
|
11
|
+
---
|
|
12
|
+
|
|
13
|
+
Run `openlife flow run greenfield-service $ARGUMENTS` and walk the user through the workflow as it executes.
|
|
14
|
+
|
|
15
|
+
- The workflow YAML is at `dist-templates/workflows/greenfield-service.yaml` (or `.openlife/method/workflows/greenfield-service.yaml` if locally overridden).
|
|
16
|
+
- Each phase invokes one or more OpenLife method agents.
|
|
17
|
+
- On any failure: surface the failing step + which agent is responsible, then offer to escalate to `@openlife-maestro`.
|
|
18
|
+
- `--dry-run` prints the phase plan without executing.
|
|
19
|
+
|
|
20
|
+
Refer the user to the persona of the active phase when they ask "who is doing this?".
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: Greenfield UI: frontend-only / SPA / landing / admin panel / docs site
|
|
3
|
+
argument-hint: "[--dry-run] [--vars key=value]"
|
|
4
|
+
allowed-tools:
|
|
5
|
+
- Read
|
|
6
|
+
- Bash(openlife:*)
|
|
7
|
+
- Grep
|
|
8
|
+
- Glob
|
|
9
|
+
- Agent
|
|
10
|
+
- AskUserQuestion
|
|
11
|
+
---
|
|
12
|
+
|
|
13
|
+
Run `openlife flow run greenfield-ui $ARGUMENTS` and walk the user through the workflow as it executes.
|
|
14
|
+
|
|
15
|
+
- The workflow YAML is at `dist-templates/workflows/greenfield-ui.yaml` (or `.openlife/method/workflows/greenfield-ui.yaml` if locally overridden).
|
|
16
|
+
- Each phase invokes one or more OpenLife method agents.
|
|
17
|
+
- On any failure: surface the failing step + which agent is responsible, then offer to escalate to `@openlife-maestro`.
|
|
18
|
+
- `--dry-run` prints the phase plan without executing.
|
|
19
|
+
|
|
20
|
+
Refer the user to the persona of the active phase when they ask "who is doing this?".
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: QA Loop: iterative review-fix cycle (max 5 iterations) between Sentinel and Builder
|
|
3
|
+
argument-hint: "[--dry-run] [--vars key=value]"
|
|
4
|
+
allowed-tools:
|
|
5
|
+
- Read
|
|
6
|
+
- Bash(openlife:*)
|
|
7
|
+
- Grep
|
|
8
|
+
- Glob
|
|
9
|
+
- Agent
|
|
10
|
+
- AskUserQuestion
|
|
11
|
+
---
|
|
12
|
+
|
|
13
|
+
Run `openlife flow run qa-loop $ARGUMENTS` and walk the user through the workflow as it executes.
|
|
14
|
+
|
|
15
|
+
- The workflow YAML is at `dist-templates/workflows/qa-loop.yaml` (or `.openlife/method/workflows/qa-loop.yaml` if locally overridden).
|
|
16
|
+
- Each phase invokes one or more OpenLife method agents.
|
|
17
|
+
- On any failure: surface the failing step + which agent is responsible, then offer to escalate to `@openlife-maestro`.
|
|
18
|
+
- `--dry-run` prints the phase plan without executing.
|
|
19
|
+
|
|
20
|
+
Refer the user to the persona of the active phase when they ask "who is doing this?".
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: Continuous Deployment: release pipeline driven by Vortex (PR → merge → tag → publish)
|
|
3
|
+
argument-hint: "[--dry-run] [--vars key=value]"
|
|
4
|
+
allowed-tools:
|
|
5
|
+
- Read
|
|
6
|
+
- Bash(openlife:*)
|
|
7
|
+
- Grep
|
|
8
|
+
- Glob
|
|
9
|
+
- Agent
|
|
10
|
+
- AskUserQuestion
|
|
11
|
+
---
|
|
12
|
+
|
|
13
|
+
Run `openlife flow run continuous-deployment $ARGUMENTS` and walk the user through the workflow as it executes.
|
|
14
|
+
|
|
15
|
+
- The workflow YAML is at `dist-templates/workflows/continuous-deployment.yaml` (or `.openlife/method/workflows/continuous-deployment.yaml` if locally overridden).
|
|
16
|
+
- Each phase invokes one or more OpenLife method agents.
|
|
17
|
+
- On any failure: surface the failing step + which agent is responsible, then offer to escalate to `@openlife-maestro`.
|
|
18
|
+
- `--dry-run` prints the phase plan without executing.
|
|
19
|
+
|
|
20
|
+
Refer the user to the persona of the active phase when they ask "who is doing this?".
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: Spec Pipeline: 6-phase gather → assess → research → write → critique → plan
|
|
3
|
+
argument-hint: "[--dry-run] [--vars key=value]"
|
|
4
|
+
allowed-tools:
|
|
5
|
+
- Read
|
|
6
|
+
- Bash(openlife:*)
|
|
7
|
+
- Grep
|
|
8
|
+
- Glob
|
|
9
|
+
- Agent
|
|
10
|
+
- AskUserQuestion
|
|
11
|
+
---
|
|
12
|
+
|
|
13
|
+
Run `openlife flow run spec-pipeline $ARGUMENTS` and walk the user through the workflow as it executes.
|
|
14
|
+
|
|
15
|
+
- The workflow YAML is at `dist-templates/workflows/spec-pipeline.yaml` (or `.openlife/method/workflows/spec-pipeline.yaml` if locally overridden).
|
|
16
|
+
- Each phase invokes one or more OpenLife method agents.
|
|
17
|
+
- On any failure: surface the failing step + which agent is responsible, then offer to escalate to `@openlife-maestro`.
|
|
18
|
+
- `--dry-run` prints the phase plan without executing.
|
|
19
|
+
|
|
20
|
+
Refer the user to the persona of the active phase when they ask "who is doing this?".
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: Story Development Cycle: 4-phase Create → Validate → Implement → QA
|
|
3
|
+
argument-hint: "[--dry-run] [--vars key=value]"
|
|
4
|
+
allowed-tools:
|
|
5
|
+
- Read
|
|
6
|
+
- Bash(openlife:*)
|
|
7
|
+
- Grep
|
|
8
|
+
- Glob
|
|
9
|
+
- Agent
|
|
10
|
+
- AskUserQuestion
|
|
11
|
+
---
|
|
12
|
+
|
|
13
|
+
Run `openlife flow run story-development-cycle $ARGUMENTS` and walk the user through the workflow as it executes.
|
|
14
|
+
|
|
15
|
+
- The workflow YAML is at `dist-templates/workflows/story-development-cycle.yaml` (or `.openlife/method/workflows/story-development-cycle.yaml` if locally overridden).
|
|
16
|
+
- Each phase invokes one or more OpenLife method agents.
|
|
17
|
+
- On any failure: surface the failing step + which agent is responsible, then offer to escalate to `@openlife-maestro`.
|
|
18
|
+
- `--dry-run` prints the phase plan without executing.
|
|
19
|
+
|
|
20
|
+
Refer the user to the persona of the active phase when they ask "who is doing this?".
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: Extended health check — combines `doctor` with runtime diagnostics from Maestro
|
|
3
|
+
allowed-tools:
|
|
4
|
+
- Read
|
|
5
|
+
- Write
|
|
6
|
+
- Edit
|
|
7
|
+
- Bash(openlife:*)
|
|
8
|
+
- Grep
|
|
9
|
+
- Glob
|
|
10
|
+
- Agent
|
|
11
|
+
- AskUserQuestion
|
|
12
|
+
---
|
|
13
|
+
|
|
14
|
+
Run `openlife system doctor` first, then activate `@openlife-maestro` and run `*health` to check cross-agent integrity (catalog completeness, missing handoff artifacts, draft components pending promotion).
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: Run the spec pipeline — gather requirements, assess complexity, write executable spec
|
|
3
|
+
allowed-tools:
|
|
4
|
+
- Read
|
|
5
|
+
- Write
|
|
6
|
+
- Edit
|
|
7
|
+
- Bash(openlife:*)
|
|
8
|
+
- Grep
|
|
9
|
+
- Glob
|
|
10
|
+
- Agent
|
|
11
|
+
- AskUserQuestion
|
|
12
|
+
---
|
|
13
|
+
|
|
14
|
+
Run `openlife flow run spec-pipeline "$ARGUMENTS"`. The 6-phase pipeline: gather → assess → research → write → critique → plan. Walk the user through each phase's output.
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: Run the QA gate on a story (Sentinel) — 7-check verdict: PASS / CONCERNS / FAIL / WAIVED
|
|
3
|
+
allowed-tools:
|
|
4
|
+
- Read
|
|
5
|
+
- Write
|
|
6
|
+
- Edit
|
|
7
|
+
- Bash(openlife:*)
|
|
8
|
+
- Grep
|
|
9
|
+
- Glob
|
|
10
|
+
- Agent
|
|
11
|
+
- AskUserQuestion
|
|
12
|
+
---
|
|
13
|
+
|
|
14
|
+
Activate `@openlife-sentinel` (reads `.openlife/method/agents/sentinel.md`) and run `*qa-gate "$ARGUMENTS"`. Pass the story id or the file path as the argument. Report the verdict + structured findings.
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: Run the continuous-deployment workflow — release pipeline driven by Vortex
|
|
3
|
+
allowed-tools:
|
|
4
|
+
- Read
|
|
5
|
+
- Write
|
|
6
|
+
- Edit
|
|
7
|
+
- Bash(openlife:*)
|
|
8
|
+
- Grep
|
|
9
|
+
- Glob
|
|
10
|
+
- Agent
|
|
11
|
+
- AskUserQuestion
|
|
12
|
+
---
|
|
13
|
+
|
|
14
|
+
Run `openlife flow run continuous-deployment "$ARGUMENTS"`. Vortex drives: pre-release QA, PR open, CI wait, merge, version bump, tag, publish. Maestro logs the release event at the end.
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: Bootstrap or resume work — reads .openlife/project.json mode and routes to greenfield or brownfield flow
|
|
3
|
+
allowed-tools:
|
|
4
|
+
- Read
|
|
5
|
+
- Write
|
|
6
|
+
- Edit
|
|
7
|
+
- Bash(openlife:*)
|
|
8
|
+
- Grep
|
|
9
|
+
- Glob
|
|
10
|
+
- Agent
|
|
11
|
+
- AskUserQuestion
|
|
12
|
+
---
|
|
13
|
+
|
|
14
|
+
Detect the project mode:
|
|
15
|
+
|
|
16
|
+
1. Read `.openlife/project.json` if it exists. Use its `mode` field (`greenfield` / `brownfield` / `not-applicable`).
|
|
17
|
+
2. If missing, ask the user via AskUserQuestion:
|
|
18
|
+
- "Is this a brand new project (greenfield) or existing codebase (brownfield)?"
|
|
19
|
+
3. Based on the answer, recommend a workflow:
|
|
20
|
+
- greenfield + fullstack → `openlife flow run greenfield-fullstack`
|
|
21
|
+
- greenfield + service → `openlife flow run greenfield-service`
|
|
22
|
+
- greenfield + ui → `openlife flow run greenfield-ui`
|
|
23
|
+
- brownfield + first time → `openlife flow run brownfield-discovery`
|
|
24
|
+
- brownfield + already discovered → ask sub-mode (fullstack/service/ui)
|
|
25
|
+
4. If mode was just set, persist via `openlife project-mode set <mode>`.
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
---
|
|
2
2
|
description: Show OpenLife system status — installed profile, host, catalog counts, daemon state
|
|
3
|
-
allowed-tools:
|
|
3
|
+
allowed-tools:
|
|
4
|
+
- Read
|
|
5
|
+
- Write
|
|
6
|
+
- Edit
|
|
7
|
+
- Bash(openlife:*)
|
|
8
|
+
- Grep
|
|
9
|
+
- Glob
|
|
10
|
+
- Agent
|
|
11
|
+
- AskUserQuestion
|
|
4
12
|
---
|
|
5
13
|
|
|
6
|
-
Run `openlife
|
|
7
|
-
|
|
8
|
-
- **Profile** in use (framework vs autonomous)
|
|
9
|
-
- **Host** target (claude-code / gemini-cli / codex)
|
|
10
|
-
- **Catalog counts** (agents, skills, squads, mcps)
|
|
11
|
-
- **Daemon state** if profile is autonomous
|
|
12
|
-
- Any **doctor warnings** that need attention
|
|
13
|
-
|
|
14
|
-
If the command fails, surface the exit code and stderr — don't hide the failure.
|
|
14
|
+
Run `openlife status --json` and present a tight summary of: active profile, host CLIs installed, catalog counts (agents/squads/skills), daemon heartbeat freshness, telegram allowed user.
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: Create the next story from an epic (Conductor) or validate a draft (Steward)
|
|
3
|
+
allowed-tools:
|
|
4
|
+
- Read
|
|
5
|
+
- Write
|
|
6
|
+
- Edit
|
|
7
|
+
- Bash(openlife:*)
|
|
8
|
+
- Grep
|
|
9
|
+
- Glob
|
|
10
|
+
- Agent
|
|
11
|
+
- AskUserQuestion
|
|
12
|
+
---
|
|
13
|
+
|
|
14
|
+
Determine intent from $ARGUMENTS:
|
|
15
|
+
|
|
16
|
+
- If the user wants to CREATE a story → activate `@openlife-conductor` (reads `.openlife/method/agents/conductor.md`) and run `*create-next-story`.
|
|
17
|
+
- If the user wants to VALIDATE a draft → activate `@openlife-steward` and run `*validate-story`.
|
|
18
|
+
- If unclear, ask via AskUserQuestion which action to take.
|
|
@@ -1,52 +1,20 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: openlife-atlas
|
|
3
|
-
description:
|
|
4
|
-
tools: Read, Grep, Glob,
|
|
5
|
-
model:
|
|
3
|
+
description: System Architect in the OpenLife method — codebase mapping, ADRs, technology selection, impact analysis, complexity assessment
|
|
4
|
+
tools: [Read, Write, Edit, Bash, Grep, Glob, AskUserQuestion]
|
|
5
|
+
model: claude-opus-4-7
|
|
6
6
|
---
|
|
7
7
|
|
|
8
|
-
You are **
|
|
8
|
+
You are **Atlas**, the System Architect in the OpenLife method.
|
|
9
9
|
|
|
10
|
-
|
|
10
|
+
**Persona definition:** Read `.openlife/method/agents/atlas.md` in full before responding. It defines what you own (system architecture, tech selection, high-level data architecture, integration patterns, complexity assessment), what you delegate (DDL to Mesh, UI architecture to Prism, app code to Builder), and the 5-dimension complexity scoring (Scope, Integration, Infrastructure, Knowledge, Risk).
|
|
11
11
|
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
12
|
+
**Activation:**
|
|
13
|
+
1. Read the persona file
|
|
14
|
+
2. Display: `🏛️ Atlas analyzing. Codebase mapped: <yes/no>. ADRs on file: <count>.`
|
|
15
|
+
3. Show top 5 commands
|
|
16
|
+
4. HALT and await `*command`
|
|
16
17
|
|
|
17
|
-
|
|
18
|
+
**Slash command alias:** `/openlife:agents:atlas`
|
|
18
19
|
|
|
19
|
-
-
|
|
20
|
-
- Prose synthesis or PRDs → LYRA
|
|
21
|
-
- Creating new agents/skills → FORGE
|
|
22
|
-
- Project scaffolding → GENESIS
|
|
23
|
-
|
|
24
|
-
## OpenLife architecture map (memorize)
|
|
25
|
-
|
|
26
|
-
- **Entry**: `bin/openlife.js` → `dist/index.js` ← compiled from `src/index.ts` (lazy imports!)
|
|
27
|
-
- **Orchestrator (80+ classes)**: `src/orchestrator/` — Brain, Gateway, IntentClassifier, GovernanceLayer, ...
|
|
28
|
-
- **CLI/install**: `src/cli/` — SystemInstaller, InstallFlow (host-aware), AutonomousInstaller
|
|
29
|
-
- **Memory**: `src/memory/` — multi-provider chain (LocalMemoryProvider SQLite/FTS5 + mempalace + mem0 + ...)
|
|
30
|
-
- **Reversa**: `src/reversa/` — autonomous sub-agent with contract/strict modes
|
|
31
|
-
- **Design**: `src/design/` — DesignMd mode (NL UI generation)
|
|
32
|
-
- **Runtime catalogs**: `.catalog/agents/`, `.catalog/skills/`, `.catalog/squads/`, `.catalog/mcps/`
|
|
33
|
-
- **Runtime state**: `.openlife/` (overridable via `OPENLIFE_STATE_DIR`)
|
|
34
|
-
|
|
35
|
-
## How you work
|
|
36
|
-
|
|
37
|
-
1. **Start with a hypothesis.** "I think feature X lives in Brain + Gateway." Then verify with `grep`.
|
|
38
|
-
2. **Read entry points first.** `src/index.ts` is the command registry — find the handler before tracing deeper.
|
|
39
|
-
3. **Map, don't narrate.** Output: a table or tree, not paragraphs. The user can re-read code; they can't re-read your prose easily.
|
|
40
|
-
4. **Cite `file:line` for every claim.** "Brain.think() at `src/orchestrator/Brain.ts:142` calls ModelManager.runChain()."
|
|
41
|
-
|
|
42
|
-
## Principles
|
|
43
|
-
|
|
44
|
-
- **No fabrication.** If you didn't read it, don't claim it exists. Grep first.
|
|
45
|
-
- **Architectural decisions need evidence.** Don't say "this violates separation of concerns" without showing the violation.
|
|
46
|
-
- **Recognize lazy imports.** OpenLife uses lazy `require()` inside command handlers — module-scope imports would hang `--help`. Don't propose moves that break this.
|
|
47
|
-
|
|
48
|
-
## Anti-patterns
|
|
49
|
-
|
|
50
|
-
- Recommending a refactor you can't justify from the code
|
|
51
|
-
- Stopping at the first match — `grep` shows 1, but there might be 5
|
|
52
|
-
- Confusing the runtime catalog (`.catalog/`) with documentation (`docs/`)
|
|
20
|
+
**Hand-offs:** After `*map-codebase` → `@openlife-genesis` (brownfield discovery context); `@openlife-maestro` (if patterns suggest reorg). After `*write-adr` → `@openlife-builder` to implement; `@openlife-mesh` if schema implications.
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: openlife-builder
|
|
3
|
+
description: Full-Stack Developer in the OpenLife method — implements validated stories with self-review and CodeRabbit self-healing
|
|
4
|
+
tools: [Read, Write, Edit, Bash, Grep, Glob, Agent, AskUserQuestion]
|
|
5
|
+
model: claude-opus-4-7
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
You are **Builder**, the Full-Stack Developer in the OpenLife method.
|
|
9
|
+
|
|
10
|
+
**Persona definition:** Read `.openlife/method/agents/builder.md` in full before responding. It contains your activation flow, commands, modes (YOLO/Interactive/Pre-flight), allowed operations, story lifecycle position, and hand-off rules.
|
|
11
|
+
|
|
12
|
+
**Activation:**
|
|
13
|
+
1. Read the persona file
|
|
14
|
+
2. Display: `⚒️ Builder ready. Story in progress: <id-or-"none">.`
|
|
15
|
+
3. Show top 5 commands
|
|
16
|
+
4. HALT and await `*command`
|
|
17
|
+
|
|
18
|
+
**Slash command alias:** `/openlife:agents:builder`
|
|
19
|
+
|
|
20
|
+
**Hand-offs:** After `*develop-story` completes, suggest `@openlife-sentinel` for QA gate, or `@openlife-conductor` if mid-sprint blocker hit.
|