Status: Ready to run Branch: ui-overhaul-v0.6.0 Tasks: 24 tasks across 5 phases Estimated Duration: ~24 iterations (watch time: ~8-12 hours with 3s sleep)
Autonomous bash loop that repeatedly calls claude -p (non-interactive mode) to implement tasks sequentially. Each iteration:
- Reads
plan.md(JSON task list) andclaude-progress.txt(progress log) - Picks next incomplete task
- Implements it following MojoVoice Style Guide
- Verifies all acceptance criteria
- Updates
plan.md("passes": false→"passes": true) - Commits changes
- Exits (loop restarts for next task)
Memory persists via: Git commits, plan.md, claude-progress.txt
| File | Purpose |
|---|---|
plan.md |
24 tasks in JSON format with acceptance criteria |
PROMPT.md |
Iteration instructions for autonomous agent |
claude-progress.txt |
Progress log (agents append summaries) |
CLAUDE.md |
Updated with Ralph Loop workflow rules |
ralph-loop.sh |
Bash script to run the loop |
- Design token system (CSS variables for colors, typography, spacing)
- Neubrutalist button component (brutal shadow animation)
- Terminal section header (pulsing glyph)
- Neubrutalist card component (thick borders, sharp corners)
- Single-page layout structure (remove old navigation)
- Giant test recording button (centerpiece)
- Status bar component (ready indicator + quick controls)
- Transcription card component (recent items)
- Recent transcriptions section (last 3-5 items)
- Collapsible system status section (GPU, memory, daemon)
- Slide-in drawer component (right side, 400px)
- Voice Recognition section (model + language)
- Recording section (duration slider + audio device)
- Behavior section (toggles)
- Advanced section (collapsible, power user settings)
- Save/Reset actions (bottom of drawer)
- Full history modal overlay (centered, 900px wide)
- Search and filters (real-time search, date/length filters)
- Export and bulk actions (export JSON, clear all)
- Keyboard shortcuts (Space, Cmd+,, Cmd+H, Cmd+K, etc.)
- Micro-interactions (button press, toggle morph, focus glow)
- Accessibility enhancements (WCAG 2.2 AA, screen readers)
- Performance optimization (code splitting, virtual scrolling)
- Manual testing and bug fixes (edge cases, responsive)
cd ~/dev-coffee/repos/dev-voice
./ralph-loop.shWhat it does:
- Creates
logs/directory - Runs iterations continuously
- Logs each iteration to
logs/iteration-[timestamp].log - Auto-stops when
<promise>COMPLETE</promise>detected - Shows iteration count and timestamps
To stop: Press Ctrl+C
cd ~/dev-coffee/repos/dev-voice
mkdir -p logs
while :; do
claude -p "$(cat PROMPT.md)" --dangerously-skip-permissions 2>&1 | tee "logs/iteration-$(date +%s).log"
sleep 3
doneWatch progress log:
tail -f claude-progress.txtCheck last iteration log:
ls -t logs/*.log | head -1 | xargs catCheck git commits:
git log --oneline -10Check completed tasks:
cat plan.md | grep '"passes": true' | wc -lRead full progress:
cat claude-progress.txtReview all changes:
git diff main..ui-overhaul-v0.6.0After completion, you'll have:
✅ Complete design token system - Electric Night palette, typography, spacing ✅ Reusable neubrutalist components - Buttons, cards, section headers ✅ Single-page Mission Control UI - No tabs, everything on one screen ✅ Giant test button - Centerpiece with brutal shadow animation ✅ Status bar - Ready indicator + quick model switching ✅ Recent transcriptions - Last 5 items always visible ✅ System status - Collapsible GPU/memory/daemon info ✅ Settings drawer - Slide-in from right with all config options ✅ History modal - Full searchable history with filters ✅ Keyboard shortcuts - Cmd+, Cmd+H, Cmd+K, Space, etc. ✅ Micro-interactions - Smooth animations, electric glows ✅ Full accessibility - WCAG 2.2 AA, screen reader support ✅ Performance optimized - Code splitting, virtual scrolling
Primary Documents:
docs/context/mojovoice-style-guide.md- Complete design systemdocs/project/2026-02-08-settings-design-recommendations.md- Component specsdocs/project/settings-design-mockup.html- Visual examples
Color Palette:
- Deep Navy: #0A0E1A (backgrounds)
- Electric Blue: #3B82F6 (interactive)
- Acid Green: #22C55E (success/recording)
Typography:
- JetBrains Mono (headers, values, technical)
- Inter (UI labels, descriptions)
Aesthetic:
- Neubrutalism (thick borders, brutal shadows)
- Terminal-inspired (section headers, monospace)
- Cyberpunk (electric glows, neon accents)
Loop stops immediately:
- Check
plan.mdis valid JSON:jq . plan.md - Check last log:
ls -t logs/*.log | head -1 | xargs cat
Task keeps failing:
- Read iteration log to see error
- Fix blocker manually
- Restart loop (will retry same task)
Need to pause:
- Press
Ctrl+C - Current progress saved in
plan.mdand git commits - Resume anytime with
./ralph-loop.sh
Need to modify tasks:
- Edit
plan.md(add/remove/modify tasks) - Edit descriptions/criteria, but keep JSON valid
- Restart loop
UI doesn't compile:
- Check last commit:
git log -1 --stat - Agent should have fixed before committing (but might have missed)
- Fix manually and commit:
git add -A && git commit -m "fix: compilation issue" - Restart loop
With 3-second sleep between iterations:
- 24 tasks × ~20 minutes per task = ~8 hours wall time
- Actual work time: ~4-6 hours (agent processing)
- Sleep time: ~72 seconds total (negligible)
You can:
- Run overnight
- Monitor periodically (
tail -f claude-progress.txt) - Let it complete fully autonomously
Review the work:
git log --oneline --graph
git diff main..ui-overhaul-v0.6.0 --statTest the UI:
cd ui
npm run dev
# Open http://localhost:1420 (or your configured port)Create PR:
gh pr create --base main --head ui-overhaul-v0.6.0 \
--title "UI/UX Overhaul: Cyberpunk Terminal Mission Control" \
--body "$(cat claude-progress.txt)"Ready? Run ./ralph-loop.sh and let the autonomous agent build your new UI! 🤖⚡