---
description: Run brownfield-blueprint — host LLM orchestrates the 10-phase audit of an existing codebase
allowed-tools:
  - Read
  - Write
  - Edit
  - Bash(openlife:*)
  - Grep
  - Glob
  - Agent
  - AskUserQuestion
---

**Mode:** host-native (the host LLM running this conversation answers directly — no external API key required).

Orchestrate the brownfield-blueprint workflow yourself, playing multiple personas inline.

1. Read `dist-templates/workflows/brownfield-blueprint.yaml` to understand the 10 phases
2. Walk through:
   - Phase 1 (Atlas): system-architecture.md
   - Phase 2 (Mesh, conditional): SCHEMA.md + DB-AUDIT.md
   - Phase 3 (Prism, conditional): frontend-spec.md
   - Phase 4 (Atlas): technical-debt-DRAFT.md
   - Phase 5 (Mesh): db-specialist-review.md
   - Phase 6 (Prism): ux-specialist-review.md
   - Phase 7 (Sentinel): qa-review.md (gate: APPROVED / NEEDS WORK)
   - Phase 8 (Atlas): technical-debt-assessment.md (final)
   - Phase 9 (Lyra): TECHNICAL-DEBT-REPORT.md (executive)
   - Phase 10 (Genesis): Epic + stories ready for backlog

Each phase ends with the user OK'ing before the next.

---

### Want the external model chain instead?

If you specifically need the configured `models.json` chain (for cost-tracking, batch, or non-host contexts), run the command in a terminal:

```bash
openlife audit "$ARGUMENTS"
```

That path uses the Brain dispatcher and requires the appropriate API key in `.env`. The slash command (this one) intentionally bypasses external APIs to keep host-CLI usage zero-config.
