| name | elixir-phoenix-full |
| description | Run the full plan-build-review-compound workflow for large Phoenix work. |
| metadata | {"short-description":"Run the full Phoenix work loop"} |
Full Phoenix Feature Development
Execute complete Elixir/Phoenix feature development autonomously: research patterns,
plan with specialist agents, implement with verification, Elixir code review.
Cycles back automatically if review finds issues.
Usage
`elixir-phoenix-full` Add user authentication with magic links
`elixir-phoenix-full` Real-time notification system with Phoenix PubSub
`elixir-phoenix-full` Background job processing for email campaigns --max-cycles 5
Workflow Overview
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ `elixir-phoenix-full` {feature} โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโค
โ โ
โ โโโโโโโโโโ โโโโโโโโโโ โโโโโโโโโโ โโโโโโโโโโ โโโโโโโโโโ โโโโโโโโโโ โ
โ โDiscoverโโ โ Plan โโ โ Work โโ โ Verify โโ โ Review โโ โCompoundโโ Done โ
โ โ Assess โ โ[Pn-Tm] โ โExecute โ โ Full โ โ4 Agentsโ โCapture โ โ
โ โ Decide โ โ Phases โ โ Tasks โ โ Loop โ โParallelโ โ Solve โ โ
โ โโโโโฌโโโโโ โโโโโโโโโโ โโโโโโโโโโ โโโโโโโฌโโโ โโโโโโโโโโ โโโโโโโโโโ โ
โ โ โ โ โ โ โ
โ โโโ "just do it" โโโโโโโโโโโโโโโโค โ โ โ โ
โ โโโ "plan it" โโโ โ โ โ โ โ
โ โ โ โ โโโโโโโโโโโ โ โ
โ โ โโโโโโโโโโโโโโโโ โ โ Fix โโ โโโโโโโโโโ โ โ
โ โ โ PLANNING โ โ โ Issues โโโโโ Fix โโโโ โ
โ โ โโโโโโโโโโโโโโโโ โ โโโโโฌโโโโโ โ Review โ โ
โ โ โ โ โFindingsโ โ
โ โ โโโโโโโโดโโโโโโโโโโ โโโโโโฌโโโโ โ
โ โ โ VERIFYING โโโโโโโโโโโโโ โ
โ โโโ "research it" โโโโโโโโ (re-verify) โ
โ (comprehensive plan) โ
โ โ
โ On Completion: โ
โ Auto-compound: Capture solved problems โ .codex/solutions/ โ
โ Auto-suggest: `elixir-phoenix-document` โ `elixir-phoenix-learn-from-fix` โ
โ โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
State Machine
STATES: INITIALIZING โ DISCOVERING โ PLANNING โ WORKING โ
VERIFYING โ REVIEWING โ COMPLETED โ COMPOUNDING | BLOCKED
Save state in .codex/plans/{slug}/progress.md AND via Codex
tasks. Create one task per phase at start, mark in_progress on
entry and completed on exit:
Create one progress task per phase with these titles and active texts:
Discover & assess complexity -> Discovering...
Plan feature -> Planning...
Implement tasks -> Working...
Verify implementation -> Verifying...
Review with specialists -> Reviewing...
Capture solutions -> Compounding...
Set up blockedBy dependencies between phases (sequential).
Run COMPOUNDING phase on COMPLETED to capture solved problems in .codex/solutions/.
Suggest elixir-phoenix-document for docs and elixir-phoenix-learn-from-fix for quick pattern capture.
Cycle Limits
| Setting | Default | Description |
|---|
--max-cycles | 10 | Max planโreview cycles |
--max-retries | 3 | Max retries per task |
--max-blockers | 5 | Max blockers before stopping |
Stop with INCOMPLETE status when limits exceeded. List remaining work and recommended action.
Integration
`elixir-phoenix-full` = `elixir-phoenix-plan` โ `elixir-phoenix-work` โ `elixir-phoenix-verify` โ `elixir-phoenix-review` โ (fix โ `elixir-phoenix-verify`) โ `elixir-phoenix-compound`
Use Ralph Wiggum Loop for fully autonomous execution:
/ralph-loop:ralph-loop "`elixir-phoenix-full` {feature}" --completion-promise "DONE" --max-iterations 50
Iron Laws
- NEVER skip verification โ Every task must pass
mix compile --warnings-as-errors before moving to the next. Run mix test <affected> per-phase, full suite only at final gate
- Respect cycle limits โ When
--max-cycles is exhausted, STOP with INCOMPLETE status. Do not continue indefinitely hoping the next fix works
- One state transition at a time โ Follow the state machine strictly. Never jump from PLANNING to REVIEWING โ each state produces artifacts the next state needs
- Discover before deciding โ Always run DISCOVERING phase to assess complexity. Skipping it for "simple" features leads to underplanned implementations
- Agent output is findings, not fixes โ Review agents report issues. Only the WORKING state makes code changes
- Skip redundant review agents โ In REVIEWING phase: skip
verification-runner (work phase already verified), skip iron-law-judge
if PostToolUse hooks verified all files. For <200 lines changed,
spawn only elixir-reviewer + security-analyzer (if auth files)
- ZERO narration in autonomous mode โ This is a HARD rule, not
a suggestion. NEVER write "Let me now...", "Now I need to...",
"I'll now...", "Next, I will...", or any preamble before a tool
call. Just call the tool. Only output text for: decisions that
need explanation, errors, or phase transitions. If you catch
yourself narrating, delete the text and just make the tool call.
(Post-PR validation: 30% of messages still violated this โ the
instruction was too soft. This stronger wording is required.)
References
references/execution-steps.md โ Detailed step-by-step execution
references/example-run.md โ Example full cycle run
references/safety-recovery.md โ Safety rails, resume, rollback
references/cycle-patterns.md โ Advanced cycling strategies