RF โ TFW-12: Config Centralization
Date: 2026-03-30
Author: Executor (AI)
Status: ๐ข RF
Parent HL: HL-TFW-12
TS: TS-TFW-12
1. What Was Done
Centralized 4 categories of duplicated parameters into PROJECT_CONFIG.yaml. Edited 15 files across two phases.
Phase A: Config + Core Docs (0 new, 7 modified)
| # |
File |
Changes |
| 1 |
.tfw/PROJECT_CONFIG.yaml |
Added scope_budgets (4 values), completed templates (+res/knowledge/release โ 8 entries), added workflows (8 entries), added research (4 limits) |
| 2 |
.tfw/conventions.md |
L1: removed version from title (Pattern D). ยง6: Pattern B โ pure reference to config, no values. ยง8: removed stale TFW 0.4 from prose |
| 3 |
.tfw/README.md |
ยงScope Budgets: Pattern B โ pure reference to config, table removed. Removed TFW 0.5 from 3 prose locations (L151, L166, L209) |
| 4 |
.tfw/workflows/plan.md |
ยงScope Budget per Phase: Pattern B โ pure reference to config, table removed |
| 5 |
.tfw/glossary.md |
L1: removed version from title (Pattern D). L69: Pattern B pure reference |
| 6 |
.tfw/templates/TS.md |
L27: Pattern B (reference to tfw.scope_budgets in config) |
| 7 |
README.md (root) |
Key Concepts: budget โ config reference, version โ VERSION file reference |
Phase B: Adapters + Init + Local Copies (0 new, 8 modified)
| # |
File |
Changes |
| 8 |
.tfw/adapters/claude-code/CLAUDE.md.template |
TFW 0.5 โ TFW {version}. Templates list โ config reference |
| 9 |
.tfw/adapters/cursor/tfw.mdc.template |
TFW 0.5 โ TFW {version}. Templates + workflows โ config references |
| 10 |
.tfw/adapters/antigravity/tfw-rules.md.template |
TFW 0.5 โ TFW {version}. Templates โ config reference |
| 11 |
.tfw/adapters/antigravity/README.md |
Fixed stale TFW 0.4 in directory tree |
| 12 |
.tfw/init.md |
Removed version from title. Full config example (all 4 sections). {version} replacement instruction for adapters |
| 13 |
CLAUDE.md |
TFW 0.5 โ version-agnostic title + see .tfw/VERSION. Templates โ config reference |
| 14 |
.agent/rules/tfw.md |
Added version reference. Templates โ config reference (fixes TD-26: missing version + RES) |
| 15 |
TECH_DEBT.md |
TD-25 โ โ
Resolved (TFW-12). TD-26 โ โ
Resolved (TFW-12) |
| 16 |
.agent/workflows/tfw-plan.md |
Synced scope budget section: Pattern B โ pure reference to config, table removed |
Key Decisions
- Tree comments in
.tfw/README.md kept as-is. TS item #3 mentioned "Tree comments: reference config for lists". The tree at L63-81 uses inline annotations as visual aids โ not authoritative lists.
- Pattern B (pure reference) used instead of Pattern A (defaults table). TS/RES recommended Pattern A (R3/C1: readability). User overrode: budget numbers must exist only in
PROJECT_CONFIG.yaml. All tables removed, replaced with config references.
.agent/workflows/tfw-plan.md synced. TS ยง8 marked agent workflow copies as out-of-scope. User flagged the inconsistency โ synced to match canonical.
2. Test Results
# Phase A โ no hardcoded budget values with โค prefix
$ grep "โค 7|โค 4|โค 600|โค 6" conventions.md README.md plan.md glossary.md TS.md README.md
โ PASS (0 matches)
# Phase A โ no version in core titles
$ grep "TFW 0\." conventions.md glossary.md
โ PASS (0 matches, after fixing stale ยง8 reference)
# Phase B โ no hardcoded version in adapters
$ grep -rn "TFW 0\." .tfw/adapters/ CLAUDE.md .agent/rules/tfw.md
โ PASS (0 matches)
# Phase B โ {version} placeholder present in all 3 templates
$ grep "{version}" .tfw/adapters/*/tfw*.template .tfw/adapters/claude-code/CLAUDE.md.template
โ 7 matches across 3 files โ
# Config sections exist
$ grep "scope_budgets|templates:|workflows:|research:" PROJECT_CONFIG.yaml
โ Lines 13, 19, 29, 39 โ
3. Acceptance Criteria Status
Phase A
- [x] AC-1:
tfw.scope_budgets exists with 4 keys
- [x] AC-2:
tfw.templates has 8 entries
- [x] AC-3:
tfw.workflows has 8 entries
- [x] AC-4:
tfw.research has 4 limit entries
- [x] AC-5: conventions.md ยง6 has "configured in PROJECT_CONFIG" header + defaults table
- [x] AC-6: plan.md scope budget section references config
- [x] AC-7: grep
โค 7 โ 0 matches
- [x] AC-8: grep
TFW 0\. in conventions/glossary โ 0 matches
Phase B
- [x] AC-9: All 3 adapter templates use
{version}
- [x] AC-10:
CLAUDE.md references VERSION file
- [x] AC-11: init.md config example shows all 4 sections
- [x] AC-12: grep
TFW 0\. in adapters/CLAUDE/.agent โ 0 matches
- [x] AC-13: TD-25, TD-26 marked โ
in TECH_DEBT.md
4. Deviations from TS
| # |
TS Says |
Actual |
Justification |
| 1 |
.tfw/README.md tree comments โ reference config |
Kept inline comments as-is |
Tree comments are visual dir annotations, not authoritative lists. "See config" would break readability. Documented in ONB inconsistency #2 |
| 2 |
conventions.md ยง8 not mentioned in TS |
Removed stale TFW 0.4 from prose |
Natural extension of Pattern D โ same file, same type of fix. Caught by verification grep |
5. Observations (out-of-scope, not modified)
| # |
File |
Line(s) |
Type |
Description |
| 1 |
.tfw/adapters/antigravity/README.md |
20-24, 49-56 |
duplication |
Workflow copy commands only list plan/handoff/review/resume โ missing research/docs/release/update. Not in TS scope (noted as out-of-scope in TS ยง8: .agent/workflows/ copies updated on next tfw-update) |
| 2 |
.tfw/init.md |
98-104 |
duplication |
Antigravity workflow copy commands same issue as obs #1 โ missing research/docs/release/update |
| 3 |
.tfw/README.md |
289 |
style |
Evolution ยงv3 mentions "Scope budgets โ hard limits per phase calibrated for AI agent quality" โ no hardcoded values, just description. Fine as-is but could add config reference |
| 4 |
CLAUDE.md |
48 |
naming |
Key References says "project parameters (task prefix, build commands)" โ now also includes scope_budgets, templates, workflows, research |
RF โ TFW-12: Config Centralization | 2026-03-30