Phases (0-12 overview)
epiphany-spec executes a multi-phase Graph-of-Thought pipeline:
| Phase | Name | Key nodes |
|---|---|---|
| 0 | Intake | N-INTAKE --- classify input, extract initial APUs |
| 0.1 | Reference Resolution | N-REFERENCE-RESOLVE --- gate for opening referenced files/URLs |
| 0.5 | Cross-run Seed | N-CROSS-RUN-SEED --- similarity-based seeding from prior sessions |
| 1 | Restate | N-RESTATE --- paraphrase intent for verification |
| 2 | Brainstorm Dispatch | N-BRAINSTORM-DISPATCH --- set brainstorm mode flags |
| 3 | Intent Layer | N-INTENT-LAYER --- extract scope, non-goals, target profile |
| 4 | Constraint Inventory | N-CONSTRAINT-INVENTORY --- extract hard/soft constraints |
| 5 | Ambiguity + Clarify | N-AMBIGUITY-SCAN, N-AUTO-RESOLVE, N-CLARIFY-LOOP |
| 6 | Exploration | N-LATERAL, N-SPREADING, N-SIMULATION, N-ADVERSARIAL (parallel fan-out) |
| 7 | Aggregation | N-AGGREGATION --- AND-join over active branches |
| 8 | Idea Structure | N-IDEA-STRUCTURE --- prune, rank, structure ideas |
| 9 | Forward Chain | N-FORWARD-CHAIN-BATCH, N-DEPENDENCY-MAP, N-FALSIFY |
| 10 | Adversarial Review | N-ADVERSARIAL-REVIEW, N-DESIGN-REVIEW |
| 10.5 | Design Gate | N-DESIGN-APPROVAL-GATE (HITL, mandatory in full mode) |
| 11 | Spec Construction | N-SPEC-CONSTRUCT, N-ARTIFACT-GENERATOR |
| 12 | Audit + Gate | N-SPEC-AUDIT-*, N-GRS-EXPORT, V-battery, human review gate |