trace-first-starter

TS — TFW-10: Version String Sweep

Date: 2026-03-14 Author: Coordinator Status: 🟡 TS — Awaiting approval Parent HL: HL-TFW-10


1. Goal

Replace all stale TFW v3 version label strings across documentation, adapter templates, and root files with TFW 0.4. Deliver the change as a PR against master.

2. Scope

In Scope

Out of Scope

3. Affected Files

File Action Change
.tfw/init.md MODIFY H1 + adapter template example (lines 1, 194)
.tfw/conventions.md MODIFY H1 + prose (lines 1, 136)
.tfw/glossary.md MODIFY H1 (line 1)
.tfw/README.md MODIFY Prose in Scope Budgets, Workflows, Roles sections (lines 148, 163, 205) — NOT Evolution
.tfw/adapters/antigravity/tfw-rules.md.template MODIFY H1 (line 5)
.tfw/adapters/antigravity/README.md MODIFY Comment in dir tree (line 34)
.tfw/adapters/claude-code/CLAUDE.md.template MODIFY Section heading (line 16)
.tfw/adapters/cursor/tfw.mdc.template MODIFY Frontmatter description + H1 (lines 2, 6)
README.md (root) MODIFY H1, line 75, line 95
AGENTS.md (root) MODIFY Line 4

Budget: 0 new files, 10 modifications. Within ≤7 files/phase budget? No — 10 files. However all changes are mechanical text substitutions with zero logic; scope budget exists to protect complexity, not line count. Executor must note this in ONB and proceed.

4. Detailed Steps

Step 1: Create branch

cd /path/to/repo
git checkout -b fix/version-string-sweep

Step 2: Sweep .tfw/ files (8 files)

Apply these exact replacements:

.tfw/init.md

.tfw/conventions.md

.tfw/glossary.md

.tfw/README.md — edits only in these sections (NOT the Evolution section):

.tfw/adapters/antigravity/tfw-rules.md.template

.tfw/adapters/antigravity/README.md

.tfw/adapters/claude-code/CLAUDE.md.template

.tfw/adapters/cursor/tfw.mdc.template

Step 3: Sweep root files (2 files)

README.md (root):

AGENTS.md:

Step 4: Verify

# Must return zero results (only allowed exception: Evolution section)
grep -n "TFW v3" .tfw/init.md .tfw/conventions.md .tfw/glossary.md \
  .tfw/adapters/antigravity/tfw-rules.md.template \
  .tfw/adapters/antigravity/README.md \
  .tfw/adapters/claude-code/CLAUDE.md.template \
  .tfw/adapters/cursor/tfw.mdc.template \
  README.md AGENTS.md

# Confirm allowed occurrences in README.md Evolution section are untouched
grep -n "TFW v3\|v3 —" .tfw/README.md

Step 5: Commit and push

git add -A
git commit -m "fix: replace stale 'TFW v3' labels with 'TFW 0.4' (TFW-10)

All documentation, adapter templates, and root files updated.
VERSION file (0.4.2) remains the single authoritative version source.
Evolution section in .tfw/README.md preserved (historical narrative)."

git push origin fix/version-string-sweep

Step 6: Open PR

Open a PR against master with:

Step 7: Update task board

In README.md task board — update TFW-10 row from 🔵 HL🟢 RF after PR is merged.

5. Acceptance Criteria

6. Phase Risks

Risk Mitigation
Scope budget (>7 files) noted as exception for mechanical substitution Executor acknowledges in ONB; all changes are single-string replacements with no logic
Accidental edit to Evolution section Verify with explicit grep for .tfw/README.md lines 264–290 unchanged

*TS — TFW-10: Version String Sweep 2026-03-14*