Step 1: Query Git History
bash
cd ~/projects && git log --oneline --all --format="%s" -200 | grep -E "^(plan|critique|revise|decompose):"
Parse commit messages. Formats:
- •
plan: {project} round {N} - •
critique: {project} {plan|specs} round {N} - {verdict} - •
revise: {project} round {N} - •
decompose: {project} plan→specs
Step 2: Build Project State
For each unique project found:
- •Find latest commit mentioning that project
- •Extract: stage, target (plan/specs), round, verdict (if critique)
Group by status:
- •Needs Attention: FIX_AND_SHIP or REVISE verdict on critique
- •Ready to Proceed: APPROVED critique (plan → /decompose, specs → ft epic decompose)
- •In Progress: plan, revise, or decompose stage (awaiting next step)
Step 3: Display Dashboard
code
═══════════════════════════════════════════════════════════════ PLANNING STATUS ═══════════════════════════════════════════════════════════════ ⚠️ NEEDS ATTENTION ──────────────────────────────────────────────────────────────── auth-system critique plan round 2 FIX_AND_SHIP data-migration critique specs round 1 REVISE ✅ READY TO PROCEED ──────────────────────────────────────────────────────────────── api-refactor critique plan round 1 APPROVED → /decompose new-feature critique specs round 1 APPROVED → ft epic decompose 🔄 IN PROGRESS ──────────────────────────────────────────────────────────────── test-versioning decompose plan→specs → /critique billing plan round 1 → /critique ═══════════════════════════════════════════════════════════════
If no projects found: "No planning activity in ~/projects git history."
</workflow> <rules> - Query ~/projects repo only (planning commits live there) - Latest commit per project wins (ignore older stages) - Next action routing: - plan/revise → /critique - decompose → /critique (specs) - critique plan APPROVED → /decompose - critique specs APPROVED → ft epic decompose - critique FIX_AND_SHIP/REVISE → /revise </rules>