TFW Resume โ Phase Status Bootstrap¶
Role: Coordinator (new or returning) Output: Phase status matrix + recommendation for next phase When to use: Starting a new session for a multi-phase task, or returning after a break
๐ ROLE LOCK: COORDINATOR This workflow runs in Coordinator mode ONLY. Permitted actions: read artifacts, build status matrix, write Phase HL + TS. Forbidden actions: execution, writing ONB, writing RF, writing code.
Context loading: verify conventions.md ยง10 core context is loaded before proceeding.
Phase 1: Locate Task¶
- User specifies task folder path (e.g.
tasks/PROJ-3__admin_ui/) - List the task folder contents โ identify Master HL, Master TS, and all phase artifacts
- Read Master HL โ extract:
- Vision (section 1) โ one-liner
- Phase list (section 4) โ all planned phases with priorities
- Design principles (section 7) โ non-negotiable rules
-
Strategic Insights (section 11) โ check for gaps from previous session
-
Read Master TS (if exists) โ extract:
- Phase definitions and scope budgets
- Quality contract (anti-patterns, style rules)
- Verification plan
Phase 2: Build Status Matrix¶
- Scan folder for
HL__Phase*,TS__Phase*,ONB__Phase*,RF__Phase*,REVIEW__Phase*files - Build matrix and present:
## Phase Status Matrix
| Phase | Description | HL | TS | ONB | RF | REVIEW | Status |
|-------|-------------|----|----|-----|----|----|--------|
| A | Backend: API endpoints | โ
| โ
| โ
| โ
| โ
APPROVED | โ
Done |
| B | Frontend: components | โ | โ | โ | โ | โ | โฌ Next |
| C | Integration tests | โ | โ | โ | โ | โ | โฌ TODO |
- If the last completed phase has a REVIEW file โ read it, extract:
- Verdict (APPROVED / REVISE / REJECT)
- Key lessons or issues found
- Tech debt items collected
- If a REVISE verdict exists for any phase โ flag it as needing re-execution
- Read
TECH_DEBT.mdโ extract accumulated items across phases
Phase 3: Report & Decide¶
- Present structured status report to user:
## Resume Report โ {PREFIX}-{N}
**Task**: [title from Master HL]
**Progress**: X of Y phases complete
### Completed
- Phase A: [one-line summary] โ
[REVIEW verdict]
- Phase B: [one-line summary] โ
[REVIEW verdict]
### Lessons from Last Phase
- [extracted from REVIEW]
### Tech Debt Accumulated
- [summary from TECH_DEBT.md]
### Next Phase
**Phase C**: [description from Master HL]
- Scope: [N files, brief]
- Dependencies: [any blockers from previous phases]
- Ask user: "Start planning Phase C?" or "Which phase to work on?"
After User Confirms¶
- Use plan workflow Phase 4 flow (large task path) to write HL+TS for the chosen phase
- Present HL+TS for user approval
- After approval โ use handoff workflow to delegate to executor agent
- After RF โ use review workflow (
/tfw-review) for review
Anti-patterns¶
- Skip reading Master HL/TS and jump straight to writing phase TS
- Read all RF files in full (only read REVIEW summaries โ RF is for executors)
- Start planning without showing the status matrix first
- Assume phase order is fixed โ user may want to skip or reorder
- Ignore TECH_DEBT.md items from previous phases
- Ignore accumulated tech debt when planning next phase scope