Date: 2026-03-12 Author: Coordinator (AI) Status: 🟡 TS — Awaiting approval Parent HL: HL-TFW-8
Extract review from handoff.md into a standalone /tfw-review workflow with its own Role Lock, add a Reviewer role to the glossary and conventions, update all references across the project, and log the change in CHANGELOG. Two phases: A = core extraction, B = documentation sync.
.tfw/README.md, plan.md, resume.md, init.md, adapter README){coordinator} → {reviewer} noted for future)🔍 REV stays as-is)plan.md / resume.md / other workflow structural changes (only reference updates)| File | Action | Description |
|---|---|---|
.tfw/workflows/review.md |
CREATE | Canonical review workflow with Role Lock: Reviewer |
.agent/workflows/tfw-review.md |
CREATE | Adapter copy (byte-identical, YAML frontmatter) |
.tfw/workflows/handoff.md |
MODIFY | Remove Phase 4 (L99-140), add STOP block, update header/role lock/diagram/anti-patterns |
.agent/workflows/tfw-handoff.md |
MODIFY | Adapter sync — same edits as canonical handoff.md |
.tfw/conventions.md |
MODIFY | §8 add review.md row, fix handoff role; §14 add anti-pattern; §15 fix Role Lock table |
.tfw/glossary.md |
MODIFY | Add Reviewer role; update Coordinator role; update Workflow definition |
AGENTS.md |
MODIFY | Add review.md to workflow list, update handoff description |
.tfw/CHANGELOG.md |
MODIFY | Add entry in [Unreleased] section |
Budget: 2 NEW + 6 MODIFY = 8 files. Over by 1 — justified: 2 MODIFYs are adapter copies (byte-identical to canonical).
| File | Action | Description |
|---|---|---|
.tfw/README.md |
MODIFY | L77 directory tree, L168 workflows table, L281 evolution |
.tfw/workflows/plan.md |
MODIFY | L14, L76 — add /tfw-review mention after handoff |
.tfw/workflows/resume.md |
MODIFY | L83 — add review step reference |
.tfw/init.md |
MODIFY | L97, L184, L192 — add review to workflow lists |
.tfw/adapters/antigravity/README.md |
MODIFY | L21, L39, L51 — add review workflow to adapter setup |
Budget: 0 NEW + 5 MODIFY = 5 files. Within budget ✅
.tfw/workflows/review.mdCanonical review workflow. Must contain:
description: TFW Review — reviewer checks RF against TS, writes REVIEW, triages tech debt🔒 ROLE LOCK: REVIEWER — permitted: REVIEW file; forbidden: code, ONB, RF, HL, TShandoff.md Phase 4 (L103-115)/tfw-handoff session for fixes.agent/workflows/tfw-review.mdByte-identical copy of .tfw/workflows/review.md. Same YAML frontmatter — Antigravity picks up the description field for /tfw-review slash command.
.tfw/workflows/handoff.mdFour changes:
3a. Update header and role lock block (lines 1-15):
description → remove “coordinator review”: TFW Handoff — executor onboarding, implementation, RFRoles: Coordinator (hands off) → Executor (receives, questions, implements)RF file with implementation results🔒 ROLE LOCK: EXECUTOR with ONB/RF permitted, HL/TS/REVIEW forbidden3b. Replace Phase 4 (lines 99-140) with STOP block:
## 🛑 Executor STOP
> **Your work is done.** Do NOT proceed to review.
> Inform the user: "RF is complete. Start `/tfw-review` to review the results."
> Writing a REVIEW file as executor is a **🔒 Role Lock violation**.
3c. Update Multi-Phase diagram (lines 142-161):
/tfw-review for review”3d. Update Anti-patterns (lines 163-178):
.agent/workflows/tfw-handoff.mdApply identical edits as Step 3. This is the Antigravity adapter copy — must stay byte-identical to canonical handoff.md.
.tfw/conventions.md5a. §8 Workflows table (lines 138-146):
Executor + Coordinator → ExecutorContext load → ONB → execute → RF → REVIEW → Context load → ONB → execute → RF| [review.md](workflows/review.md) | Reviewer | Read RF → checklist → verdict → tech debt → traces |5b. §14 Anti-patterns (around line 195):
- Executor writes REVIEW file → **Role Lock violation**5c. §15 Role Lock table (lines 202-209):
handoff.md (Phase 4) | Coordinator | REVIEW | — row (line 206)| review.md | Reviewer | REVIEW | ONB, RF, HL, TS, code |**REVIEW** files can be written by any role.5d. §15 Hard Stop Rule (lines 211-217):
/tfw-review to review the results”.tfw/glossary.md6a. Update Workflow definition (line 63):
.tfw/workflows/: plan (HL→TS), handoff (ONB→execute→RF), review (RF→checklist→REVIEW), resume (status matrix→next phase)…”6b. Add Reviewer role (after Executor, around line 93):
### Reviewer (AI — coordinator in review mode)
- Reads RF and TS (for DoD verification)
- Writes REVIEW file with 9-point checklist
- Triages executor Observations → TECH_DEBT.md
- Updates Task Board status
- Cannot: write code, write ONB, write RF, modify HL/TS
6c. Update Coordinator role (lines 79-84):
AGENTS.md7a. Workflow list (lines 29-32):
handoff.md — execution (ONB → develop → RF)` (remove “→ REVIEW”)- review.md — task review (RF → checklist → REVIEW → traces).tfw/CHANGELOG.md8a. Under [Unreleased] section (line 6):
## [Unreleased]
### Added
- `review.md` workflow — standalone review process with `🔒 ROLE LOCK: REVIEWER`
- Reviewer role — coordinator in review-locked mode (glossary, conventions)
### Changed
- `handoff.md` — removed Phase 4 (review), added executor STOP block
- `conventions.md` — Role Lock table updated, "any role" for REVIEW removed
### Removed
- Review phase from `handoff.md` (moved to `review.md`)
.tfw/README.md9a. Directory tree (around L77):
review to the workflows list: workflows/ # Canonical workflows (plan, handoff, review, resume, docs, release, update)9b. Workflows table (around L168):
Executor + Coordinator → Executor→ REVIEW| **review** | Reviewer | Read RF → checklist → verdict → tech debt → traces |9c. Evolution section (around L281):
.tfw/workflows/plan.md10a. Role Lock block (L14):
/tfw-handoff session” — no change needed here (this is about planning, not review)10b. Small task path (L76):
/tfw-handoff” add: “After RF, run /tfw-review to review results.”10c. Multi-phase pattern (L106-116):
.tfw/workflows/resume.md11a. Handoff reference (L83):
/tfw-review to review results.”.tfw/init.md12a. Adapter copy instructions (L97):
cp .tfw/workflows/review.md .agent/workflows/tfw-review.md12b. Workflow references (L184, L192):
review to workflow lists: “(plan, handoff, review, resume)”.tfw/adapters/antigravity/README.md13a. Copy instructions (L21):
cp .tfw/workflows/review.md .agent/workflows/tfw-review.md13b. Directory listing (L39):
├── tfw-review.md # TFW review (from step 2)13c. Sync section (L51):
cp .tfw/workflows/review.md .agent/workflows/tfw-review.md.tfw/workflows/review.md exists with 🔒 ROLE LOCK: REVIEWER, 9-point checklist, tech debt collection, verdict+traces.agent/workflows/tfw-review.md is byte-identical to .tfw/workflows/review.mdhandoff.md has no Phase 4; ends with 🛑 Executor STOP block; role lock says Executor only.agent/workflows/tfw-handoff.md matches canonical handoff.mdconventions.md §8 has review.md row; §15 Role Lock table has Reviewer row; “any role” line deletedglossary.md has Reviewer role definition; Coordinator no longer lists review dutiesAGENTS.md lists review.md workflowCHANGELOG.md has review workflow entry in [Unreleased].tfw/README.md directory tree, workflows table, and evolution updatedplan.md mentions /tfw-review after handoffresume.md mentions review stepinit.md has review workflow in copy instructions and workflow listsgrep -r "Phase 4" .tfw/workflows/handoff.md returns 0 resultsgrep "any role" .tfw/conventions.md returns 0 results| Risk | Mitigation |
|---|---|
| Executor still sees review instructions via cached context | The canonical handoff.md is the source — once Phase 4 is removed, new sessions won’t have it |
| Existing REVIEW files in TFW-6/TFW-7 reference “Coordinator (AI)” as author | Historical — no retroactive change needed. New reviews will say “Reviewer” |
| TD-10/TD-11 (“Three canonical workflows”) need updating | Step 6a addresses this — the Workflow glossary definition gets updated |
| Phase B scope may uncover more references | Grep scan covered all .tfw/ files — unlikely to find more |
| *TS — TFW-8: Reviewer Role and Workflow | 2026-03-12* |