● Released 2026-10-28 · Tag v5.45.0 @ 04d77afd · Charter A480 · Milestone #30 100% Closed (10/10)

TangleClaw v5.45.0: “Project settings that cannot corrupt”

Complete empirical report of TangleClaw’s 2-hour 33-minute multi-agent software engineering sprint under Charter A480 (2026-10-28 14:43Z → 17:16Z; 2h 19m Waves 1–2 code execution plus 6.0m W3-REC and ~5m W4-REL). Running four parallel Claude Sonnet 5 (--effort high, 0% Opus) Builder lanes (TC-Lane-A, TC-Lane-B, TC-Lane-C, TC-Lane-D) under binding guardrails P0–P24, W1-F1_v542 disjoint merge pipelining, and Rule #283.5 alongside OpenAI Codex GPT-6-Sol Integrator (TC-Lane-INT), two Codex GPT-6-Sol PR Reviewers (TC-Lane-PRR-A + TC-Lane-PRR-B), Antigravity Gemini 4 Argon Sprint Observer (TC-Lane-Obsr), and Antigravity Gemini 4 Argon Project Manager & Architect across 4 execution waves, the fleet merged 8 pull requests across Waves 1–4 (#2678–#2680, #2682–#2685, #2686), closed all 10 issues in Milestone #30 (100% closed, 0 open), and shipped shared lib/tangleclaw-home.js leading-tilde expansion across all 12 runtime/deploy consumers plus VRF-006/007 cleanup (#1284, P21), fail-closed unknown-key rejection on store.projects.add() and store.projects.update() (#1225), strict quickCommands array/item validation and validateProjectName() in batch setup attach & bulk import (#1339, #2180), two-phase pre-validated PUT /api/projects/:name with 409 PROJECT_CONFIG_UNREADABLE, 404 NOT_FOUND, and 400 BAD_REQUEST semantics (#1289, #1288, #2216), atomic stagedWrite.writeAtomic engine-config replacement with hop-by-hop symlink-chain preservation & read-only resolveProjectEngine() (#1291, #2232), and guarded loadConfigForWrite() across all 8 .tangleclaw/project.json writers + shared creation/update validation + exclusive createProject directory/config creation (#2232, #1374) with 0 code merge conflicts and 0 post-merge regressions (11th consecutive zero-regression release).

Autonomous Delivery Efficiency (ADE)
3.02/hr · ADE 0.53
Throughput: 3.02 closed/hr (T_eng=2.32h) · Allocated: $0.82/issue ($5.71 pool · $2.84/kLOC) · Legacy ADE_v1: 0.53
Total Sprint Wall Time
2h 33m (W1–W4)
14:43Z → 17:16Z (2h 19m W1+W2 code execution + 6.0m W3-REC)
PRs & Milestone #30
8 PRs · 10/10 Closed
6 Builder cars + #2685 + #2686 · 100% closed, 0 open
Mean Builder Build Time
32.1m Avg · 0 Stalls
W1-C: 19.2m · W2-B: 23.5m · W1-D: 30.5m · W1-A: 33.4m
Wave 2 Disjoint Pipelining
0 Rebases in W2
W1-F1_v542 + deferred change-log.md: 5/6 cars merged without rebase
R-Gate & A-Gate Catches
6 Blockers Caught
#1291 symlink-chain preservation, #2232 _migrateDropMethodology guard
W3-REC & W4-REL Gates
13 / 13 Tests: Cited
W3-REC (#2685): 6.0m (P1 verified) · W4-REL (#2686): 10 fragments
Code & Suite Volume
+2,010 / −290 LOC
59 files changed · 23,442 runner tests (23,423 pass, 19 skip, 0 fail)
Exit Maintenance Audit
4 / 4 Gates PASS
Charter A480 · Stamp O480-V545-PASS · 11th consecutive 0-regression sprint

1. Multi-Agent Fleet Architecture & W1-F1_v542 Disjoint Wave Pipelining (Charter A480)

Nine active sprint sessions across three AI engines (Gemini 4 Argon, Claude Sonnet 5 high, OpenAI Codex GPT-6-Sol) executing under Charter A480 (A480-COSIGN-20261028T1443Z).

Operator Charter A480 Co-Signed Rules P0–P24 + Rule #283.5 Milestone #30 (10/10) 0 Unplanned Interventions TC-Lane-PM (#1437) Antigravity · Gemini 4 Argon Wave 1–4 Orchestration Live Roadmap Board Auto-Sync 0 Claude Quota Tokens TC-Lane-Arc (#1439) Antigravity · Gemini 4 Argon A480 + Cross-Car Audit 8/8 Exact-Head A-Gate Stamps 0 Claude Quota Tokens TC-Lane-Obsr (#1463) Antigravity · Gemini 4 Argon Passive Telemetry (Rule #283.5) O-Gate PASS (O480-V545-PASS) TC-Lane-INT (#1464) OpenAI Codex · GPT-6-Sol Disjoint Merge Executor (6/6) 0 Rebases on 5/6 Builder Cars W3-REC (#2685) & W4-REL (#2686) 0 Claude Quota Tokens PRR-A (#1465) & PRR-B (#1471) OpenAI Codex · GPT-6-Sol (Rule #286) PRR-A: #2680, #2682, #2684, #2685 PRR-B: #2678, #2679, #2683, #2686 6 Symlink & Config-Guard Catches 0 Claude Quota Tokens TC-Lane-A (#1466) · claude-sonnet-5 high W1-A (#2680, 33.4m build): #1284 expandHomePath (12 files) + P21 VRF-006/007 cleanup & primary-checkout-guard TC-Lane-B (#1467) · claude-sonnet-5 high W1-B (#2682, 44.7m build): #1225 store.projects unknown keys W2-B (#2683, 23.5m build): #1291, #2232 atomic engine sync TC-Lane-C (#1468) · claude-sonnet-5 high W1-C (#2678, 19.2m build): #1339 quickCommands, #2180 setup W2-A (#2684, 41.2m build): #2232, #1374 8 guarded writers TC-Lane-D (#1475) · claude-sonnet-5 high W1-D (#2679, 30.5m build): #1289, #1288, #2216 two-phase PUT /api/projects/:name + #2180 import validateProjectName

🚀 32.1m Mean Build Time & Zero Wave 2 Rebases

All 6 Builder cars opened PRs in 19.2m–44.7m (32.1m mean, 12% faster than v5.44.0’s 36.5m), and deferring .prawduct/change-log.md out of Wave 2 delivered 0 merge conflicts and 0 rebases across W2-B (#2683) and W2-A (#2684).

🛡️ R-Gate Symlink-Chain & Corruption-Guard Catches

PRR-A, PRR-B, and TC-Lane-Arc caught 6 subtle data-preservation defects pre-merge — including chained symlink target resolution in lib/engines.js (#2683) and un-guarded projectConfig.load() inside _migrateDropMethodology (#2684).

🗺️ Self-Healing Public Roadmap Live Sprint Tracking

Repaired sync-board.sh and reconcile-milestones.py so the public roadmap automatically promotes the active sprint in milestones.yaml, syncs stage:claimed labels from LANE_QUEUE.md, and tracks live issue progress without manual intervention.

📐 AUTONOMOUS DELIVERY EFFICIENCY (ADE) · ORTHOGONAL THROUGHPUT, ALLOCATED COST & LEGACY ADE_v1 Throughput = 3.02 Issues/Hr · Allocated = $0.82/Issue ($2.84/kLOC) · Legacy ADE_v1 = 0.53
1. Orthogonal Efficiency Metrics (Primary Standard): Throughput = W_closed / T_eng = 7 / 2.32h = 3.02 closed issues/hr · Unit Allocated Cost = C_alloc / W_closed = $5.71 / 7 = $0.82/closed issue ($2.84/kLOC across +2,010 insertions) · Quality = 100% True Merges, 0 Post-Merge Defects.
2. Disclosed Legacy Composite Index (ADE_v1): ADE_v1 = W_closed / (T_eng × C_alloc) = 7 / (2.32h × $5.71) = 0.53. Dimensional Note: Because C_alloc = $2.46/hr × T_eng, ADE_v1 = W / (2.46 × T_eng²) scales as 1/T² (units: issues · hr⁻² · $⁻¹); therefore ADE_v1 is always evaluated on the full engineering window (T_eng = 2.32h, never a pipelined merge tail) alongside scale-invariant Throughput (3.02 issues/hr).
3. 3-Tier Operating Cost Basis: Tier 1 (Measured Marginal Cash): $0.00 per-run API fee + ~$0.06 M3 Ultra wall power · Tier 2 (Allocated Subscription Pool): $5.71 pro-rata allocation ($440/mo ÷ 178.8 active hrs = $2.46/hr × 2.32h; calendar-hour reference $1.42 @ $0.611/hr) · Tier 3 (Hypothetical API Shadow Estimate): ~$81 (unmetered estimate across ~5.6M tokens → 14.2× subscription compression).

2. Cumulative Sprint Velocity & Test Growth Across All 4 Waves (8 PRs)

High-velocity progression from Wave 1 (PRs #2678, #2679, #2682, #2680 @ 028e5cef) and Wave 2 (PRs #2683, #2684 @ ddca4ea7) through Wave 3 (PR #2685 @ 6f572950) and Wave 4 Release Cut (PR #2686 @ 04d77afd).

Cumulative Sprint PRs (8) Passing Runner Tests (23,356 → 23,423) PRs Merged per Wave
0 PRs 23,356 2 PRs 23,373 4 PRs 23,393 6 PRs 23,410 8 PRs 23,423 Wave 1 (4 PRs merged @ 028e5cef): W1-C #2678 (#1339, #2180), W1-D #2679 (#1289, #1288, #2216, #2180), W1-B #2682 (#1225), W1-A #2680 (#1284, P21) — 7/10 Milestone #30 issues closed 4 PRs (7 Issues) Wave 1 #2678–#2680, #2682 Wave 2 (2 PRs merged @ ddca4ea7, 0 rebases): W2-B #2683 (#1291, #2232 atomic engine config + read-only resolveProjectEngine) & W2-A #2684 (#2232, #1374 8 guarded project.json writers + shared create/update validation) — 10/10 Milestone #30 issues closed +2 PRs (10/10 Closed) Wave 2 #2683, #2684 (2h 19m) Wave 3 (W3-REC, PR #2685 @ 6f572950): Reconciled FEATURES.md (13/13 v5.45.0 Tests: anchors verified via P1), .prawduct/change-log.md, and docs/user-guide.md in 6.0m +1 PR · 6.0m Wave 3 (W3-REC) PR #2685 · 13 Tests: Cited Wave 4 (W4-REL, PR #2686 @ 04d77afd): Compiled 10 changelog.d/ fragments, bumped version.json to 5.45.0, validated canonical report via validate-sprint-report.py --all, published tag v5.45.0 & closed Milestone #30 +1 PR · ~5m Wave 4 (Release) PR #2686 · v5.45.0 Live Wave 1: 4 Cumulative PRs Merged (#2678, #2679, #2682, #2680 — 7/10 Milestone #30 issues closed) Wave 1: 23,393 Passing Runner Tests (+37 new tests across 4 Wave 1 cars) Wave 2: 6 Cumulative Code PRs Merged (#2683, #2684 @ ddca4ea7 — 10/10 Milestone #30 issues closed) Wave 2: 23,423 Passing Runner Tests (+30 new tests in Wave 2, +67 total) Wave 3 (W3-REC): 7 Cumulative PRs Merged (PR #2685 @ 6f572950 — 13/13 feature verifier via P1) Wave 3: 23,423 Passing Runner Tests (CI 40733168695 green) Wave 4 (W4-REL): 8 Cumulative PRs Merged (PR #2686 @ 04d77afd — GitHub Release v5.45.0 published & Milestone #30 closed) Wave 4: 23,423 Passing Runner Tests (23,442 total, 19 skipped, 0 failed)

3. Guarded project.json Writers (#2232, #1289), Atomic Symlink-Safe Engine Sync (#1291), Shared Creation/Update Validation (#1374, #2216, #1339, #2180) & Path/Store Integrity (#1284, #1225, #1288)

Finishing Milestone #30 (10/10 closed), eliminating silent project-config overwrite paths, atomicizing engine carrier writes across symlink chains, unifying creation/update validators, and centralizing ~ expansion across 12 modules (+2,010 / −290 LOC across 8 PRs).

Cumulative Lines Added (+2,010 LOC across 8 PRs) Cumulative Net New Tests (+67 Tests across W1–W2)
Disjoint-Pipelined Wave 1–2 Cars (#2680, #2683, #2684) + W3-REC & W4-REL 0 LOC +0 Tests +500 +17 Tests +1,000 +34 Tests +1,500 +51 Tests +2,010 +67 Tests W1-C W1-D W1-B W1-A W2-B W2-A W3-REC W4-REL W1-C (PR #2678 @ 1f2c8e0a): #1339 strict quickCommands array/item validation & #2180 validateProjectName in setup batch attach (+119 LOC) W1-D (PR #2679 @ b68119e8): #1289, #1288, #2216 two-phase pre-validated PUT /api/projects/:name with 409/404/400 status codes & #2180 import validation (+422 LOC) W1-B (PR #2682 @ e3380b76): #1225 fail-closed unknown-key rejection on store.projects.add() and store.projects.update() + 10 test caller cleanups (+154 LOC) W1-A (PR #2680 @ 028e5cef): #1284 shared expandHomePath across 12 modules, P21 VRF-006/007 cleanup & primary-checkout-guard registration (+161 LOC) W2-B (PR #2683 @ bd88702a): #1291, #2232 stagedWrite.writeAtomic engine config replacement with hop-by-hop symlink-chain preservation & read-only resolveProjectEngine (+478 LOC) W2-A (PR #2684 @ ddca4ea7): #2232, #1374 guarded loadConfigForWrite across 8 project.json writers, shared PROJECT_UPDATE_VALIDATORS in createProject, and exclusive mkdir/wx creation (+513 LOC) W3-REC (PR #2685 @ 6f572950): Reconciled FEATURES.md (13 Tests: anchors verified via P1), .prawduct/change-log.md & docs/user-guide.md (+69 LOC) W4-REL (PR #2686 @ 04d77afd): Compiled 10 changelog.d/ fragments into CHANGELOG.md, bumped version.json to 5.45.0 & published GitHub Release v5.45.0 (+94 LOC)
Guarded Config Writers · #2232, #1289, #1288

Zero Silent Clobbers on Unreadable project.json

• Guarded loadConfigForWrite() (PR #2679, PR #2684): Every non-test writer of .tangleclaw/project.json (updateProject, attachProject, project_set_model, POST /api/projects/:name/test-runner, POST /api/sessions/:project/engine-switch, syncAllProjects, _migrateDropMethodology) now aborts with 409 PROJECT_CONFIG_UNREADABLE when an existing file cannot be parsed instead of overwriting it with defaults.
• Distinct HTTP Statuses (PR #2679): PUT /api/projects/:name now returns 404 NOT_FOUND for unknown projects, 400 BAD_REQUEST for invalid settings, and 409 PROJECT_CONFIG_UNREADABLE for corrupt config files (#1288).

Two-Phase Save & Atomic Engine Sync · #1291, #2216, #1374

Pre-Validated Saves & Symlink-Safe Atomic Hooks

• Two-Phase Project Save & Shared Creation Validators (PR #2679, PR #2684): Extracted PROJECT_UPDATE_VALIDATORS so updateProject() validates every field before touching SQLite or disk (#2216) and createProject() runs the exact same validators plus exclusive mkdirSync / flag: 'wx' creation (#1374).
• Atomic Symlink-Safe Engine Writes (PR #2683): Replaced direct fs.writeFileSync across lib/engines.js with stagedWrite.writeAtomic resolved through a hop-by-hop symlink-chain walker (_resolveWriteTarget with ELOOP cycle detection) and made resolveProjectEngine() strictly read-only (#1291, #2232).

Input & Store Boundary Hygiene · #1284, #1225, #1339, #2180

Shared Tilde Expansion, Store Key Guard & Name Validation

• Shared expandHomePath() (PR #2680): Consolidated 12 duplicate/divergent tilde-expansion copies into lib/tangleclaw-home.js + shell helper expand_home_path() (#1284).
• Unknown-Key & Name/Config Validation (PR #2682, PR #2678): Rejected unknown option keys on store.projects.add() / update() (#1225), validated quickCommands items (#1339), and enforced validateProjectName() on setup batch attach and bulk import (#2180).

4. Longitudinal Comparison (v5.41.0 → v5.42.0 → v5.43.0 → v5.44.0 → v5.45.0) & Time Telemetry

Synthesized from Architect Charter A480 and the Full Sprint Observer Report (TC-Lane-Obsr) across Waves 1–4.

Metric v5.41.0 (Sonnet 5 · 4 Lanes) v5.42.0 (Sonnet 5 · 4 Lanes) v5.43.0 (Sonnet 5 · 4 Lanes) v5.44.0 (Sonnet 5 · 4 Lanes) v5.45.0 (Sonnet 5 · 4 Lanes) Directional Assessment
Total Sprint Wall Time 2h 57m (7 PRs) 5h 08m (8 PRs; W1+W2 4h 49m) 2h 31m (8 PRs; W1+W2 2h 11m) 3h 01m (8 PRs; W1+W2 2h 48m) 2h 33m total (14:43Z → 17:16Z · W1+W2 in 2h 19m + 6.0m W3) 28m faster total wall time vs v5.44.0 with 10/10 issues closed
Merged Sprint PRs / Issues Closed 7 PRs (M#26 13/13 + 3) 8 PRs (M#27 10/10) 8 PRs (M#28 10/10 + F3) 8 PRs (M#29 9/9) 8 PRs (Milestone #30 10/10 · 100% closed · 0 open) 100% of Milestone #30 closed (0 open) + follow-up #2681 filed
Mean Builder Build Time (Dispatch → PR) 62.2m across 5 PRs 51.6m W1 / 12.4m W2 45.5m across 6 PRs 36.5m across 6 PRs 32.1m across 6 PRs (W1-C: 19.2m, W2-B: 23.5m, W1-D: 30.5m) New all-time record 6-car mean Builder coding time (12% faster vs v5.44.0)
Same-Wave Forced Ancestor Syncs 0 on #2646 / 1 self-rebase 3 in W1 + 1 in W2 0 across all 6 code PRs 0 across all 6 code PRs 0 in Wave 2 (2/2); 1 server.js rebase on W1-A (#2680) after W1-D 5/6 cars merged without rebase; Wave 2 100% conflict-free
CI Runner Flakes (Non-Diff Reds) 0 4 (Linux osascript & IPC) 0 0 non-diff flakes 1 transient tmux.test.js:2108 runner timeout on #2680 R3 (green on rerun) Immediate gh run rerun --failed resolved 1/23,442 runner flake
Records / Release PR Execution 4.7m / 6.0m (15 Tests:) 13.2m / ~6m (16 Tests:) 10.8m / ~9m (18 Tests:) 6.9m / ~6m (16 Tests:) 6.0m on W3-REC (#2685) (13 Tests:) & ~5m on W4-REL (#2686) 13/13 v5.45.0 Tests: anchors verified via P1; factual W2-A wording refined in R2
Pre-Merge Gate Catches / Regressions 6 caught / 0 reg 8 caught / 0 reg 8 caught / 0 reg 7 caught / 0 reg 6 symlink-chain & config-preservation blockers caught pre-merge / 0 regressions 11th consecutive zero-regression sprint on main

⏱️ Car-by-Car Build & Open-to-Merge Telemetry

Comparison of Builder coding time (Dispatch → PR Open) vs. review/CI time to land on main across Waves 1–2.

W1-C (#2678) · TC-Lane-C (#1339, #2180 · R1 1st-Pass Accept · 0 Rebases) 19.2m Build · 15.1m Merge (34.3m Total)
W2-B (#2683) · TC-Lane-B (#1291, #2232 · R3 Accept · Symlink-Chain Walker) 23.5m Build · 26.4m Merge (49.9m Total)
W1-D (#2679) · TC-Lane-D (#1289, #1288, #2216, #2180 · R2 Accept · 0 Rebases) 30.5m Build · 21.9m Merge (52.4m Total)
W1-B (#2682) · TC-Lane-B (#1225 · R1 1st-Pass Accept · 10 Test Callers Fixed) 44.7m Build · 15.0m Merge (59.7m Total)
W1-A (#2680) · TC-Lane-A (#1284 + P21 · R3 Accept · GUARD_SOURCES + Rebase) 33.4m Build · 54.3m Merge (87.7m Total)
W2-A (#2684) · TC-Lane-C (#2232, #1374 · R3 Accept · 8 Guarded Writers · 0 Rebases) 41.2m Build · 48.3m Merge (89.5m Total)

⚡ P0–P24, W1-F1_v542 & Rule #283.5 Guardrail Telemetry

Measured performance of all binding v5.44.0 post-mortem rules across Waves 1–4.

P21 & P23 · VRF-006/007 Repaired + Single-Pass Critic on R2+ Commits 32.1m Mean Build Time · Fast R2/R3 Turnarounds
W1-F1_v542 · Deferred change-log.md & Disjoint Wave 2 Pipelining 5/6 Cars Merged Without Rebase (100% in Wave 2)
P1, P10 & P14 · 13/13 Tests: Anchors, 0 Archive Headings & Lockfile 6.0m W3-REC (#2685) · Exact-Head CI Green
Rule #283.5 (P4) · Generator-Backed Canonical Report + 19-Check Validator 0 Errors Across All 12 Reports & Hub Index

5. Sprint Post-Mortem: What Worked vs. What Didn’t (A480 & Obsr)

Candid synthesis by the Project Manager, Architect (A480), Integrator (TC-Lane-INT), and Sprint Observer (TC-Lane-Obsr) of what succeeded and the concrete process/tooling bottlenecks uncovered during v5.45.0.

✅ What Worked Exceptionally Well (Keep & Codify)

  • 1. All-Time Record 32.1m Mean Builder Build Time & Zero Wave 2 Rebases via P21 + P23 + Deferred .prawduct/change-log.md Combining single-turn plan+build (P0), Stage-2 JUnit evidence (P16), VRF-006/007 cleanup (P21), and single-pass /prawduct:critic (P23) reduced mean Builder coding time across all 6 cars to 32.1m (W1-C: 19.2m, W2-B: 23.5m, W1-D: 30.5m, W1-A: 33.4m, W2-A: 41.2m, W1-B: 44.7m). Deferring .prawduct/change-log.md out of Wave 2 allowed W2-B (#2683) and W2-A (#2684) to merge with 0 merge conflicts and 0 rebases.
  • 2. Deep R-Gate & A-Gate Catches on Symlink-Chain Carrier Writes (#2683) and Migration Corrupt-Config Preservation (#2684) TC-Lane-PRR-B caught that atomic temp-file rename in stagedWrite.writeAtomic would replace a symlinked AGENTS.md/CLAUDE.md carrier with a regular file (R1) or break a multi-hop dangling symlink chain (R2) — leading TC-Lane-B to implement a hop-by-hop symlink-chain resolver (_resolveWriteTarget with ELOOP cycle detection) on R3 (e838dc36). On W2-A (#2684), TC-Lane-PRR-A and TC-Lane-Arc caught that _migrateDropMethodology (lib/store/_schema.js) called projectConfigApi.load(row.path) without { onError } after its raw JSON check, which would overwrite {"rules":null,"operatorValue":"preserve"} with defaults (fixed in R2 81a840d0).
  • 3. Permanent Fix for Self-Healing Public Roadmap Board Automation (sync-board.sh + reconcile-milestones.py) When the Operator noted that https://jason-vaughan.github.io/TangleClaw/ had not auto-switched to v5.45.0 at sprint launch, we diagnosed and fixed two root-cause bugs in Shared/TangleClaw-Shared/roadmap-board/: (a) sync-board.sh previously ran reconcile-milestones.py only after a new tag was cut, leaving active sprints as planned until release end; and (b) reconcile-milestones.py lacked progress_since / progress_pr_label auto-population and stage:claimed synchronization from LANE_QUEUE.md. Both are now automated on every sync cycle.
  • 4. Fast 6.0m Wave 3 Records Reconciliation (PR #2685) with Factual R-Gate Wording Verification TC-Lane-INT opened W3-REC (PR #2685) in 3.2m with all 13/13 newly added Tests: anchors passing node scripts/verify-features-index.js --base origin/main (P1), and TC-Lane-PRR-A caught a subtle documentation nuance in .prawduct/change-log.md (clarifying that only attachProject calls loadConfigForWrite while all three creation paths use flag: 'wx'), which TC-Lane-INT fixed and merged in 6.0m total.

⚠️ What Didn’t Work & Proven Fixes for v5.46.0

  • 1. Extracting a Helper Out of server.js Requires Updating Architectural Source-Guard Tests (PR #2680, Finding W1-F1_v545)

    In W1-A (#2680, #1284), extracting expandHomePath() from server.js into lib/tangleclaw-home.js caused test/primary-checkout-guard.test.js to fail in CI because its static GUARD_SOURCES array scanned server.js and lib/routes/setup.js for os.homedir() + .tangleclaw. Fixed in R2 (cc6a5d4b) by adding path.join('lib', 'tangleclaw-home.js') to GUARD_SOURCES. Fix / Guardrail for v5.46.0 (P25): Whenever a car extracts code out of server.js into a lib/*.js helper, require Builders to run grep -rn "server.js" test/*guard*.test.js test/*consistency*.test.js before pushing R1.

  • 2. Tightening store.projects.add() / update() Option Keys Exposed 10 Legacy Test Callers Passing Out-of-Schema Keys (PR #2682, Finding W1-F2_v545)

    In W1-B (#2682, #1225), rejecting unknown option keys at the store.projects.add() / update() boundary immediately caught 10 existing test files passing out-of-schema keys (team, mode, methodology, directive) that belong in .tangleclaw/project.json rather than SQLite. PM + Architect co-signed an immediate scope expansion for those 10 test files and filed #2681 for a production caller in lib/projects.js:491. Fix / Guardrail for v5.46.0 (P26): When a car tightens a core store/API validator to fail-closed, pre-scan test/ callers during Charter drafting so legacy test callers are included in the car’s initial file scope.

  • 3. Two Wave 1 Cars Touching server.js (W1-A + W1-D) Caused the Sprint’s Single Same-Wave Rebase (PR #2680, Finding W1-F3_v545)

    Although W1-A (#2680) only touched 1 line of server.js (importing expandHomePath) while W1-D (#2679) touched PUT /api/projects/:name in server.js, both cars modified server.js and .prawduct/change-log.md, requiring W1-A to rebase once onto b68119e8 after W1-D merged. Fix / Guardrail for v5.46.0 (P27): Strictly enforce the W1-F1_v542 rule that at most 1 car per wave may touch server.js, and prohibit .prawduct/change-log.md edits in all Wave 1–2 cars without exception.

  • 4. GitHub Multi-Issue Closes #A, #B, #C Syntax Only Auto-Closes the First Issue (Finding W2-F1_v545)

    When PR bodies or commit messages write Closes #1289, #1288, #2216 on a single comma-separated line instead of repeating the keyword (Closes #1289, Closes #1288, Closes #2216), GitHub only auto-closes the first issue on merge, leaving #1288, #2216, #2180 open until PM closed them via gh issue close with PR links. Fix / Guardrail for v5.46.0 (P28): Require every multi-issue PR body to repeat Closes #N before each issue number and verify gh issue list --milestone <title> --state open immediately after Wave 2 merges.

🔒 4-Gate Sprint-Exit Maintenance Audit (Waves 1–4 Verified @ 04d77afd)

Exit Gate Requirement Measured Sprint Evidence Verdict
Gate 1: LANE_QUEUE.md Attestation & Archive LANE_QUEUE.md compact & accurate; prior sprint archived to archive/ v5.44.0 archived at archive/LANE_QUEUE-v5.44.0-20261028.md (SHA-256 c5fa5e070477...); live LANE_QUEUE.md updated to COMPLETE (v5.45.0 @ 04d77afd) PASS
Gate 2: 10-Clone Checkout & Tag Hygiene All 10 fleet clones clean on main @ origin/main with tag v5.45.0 fetched All 10 fleet clones (PM, Arc, INT, PRR-A, PRR-B, Obsr, Lanes A–D) verified on main @ 04d77afd with annotated tag v5.45.0 → 04d77afd PASS
Gate 3: Switchboard & Obligation Drain 0 owed Medusa messages; completed exchanges acknowledged per P2 0 unread and 0 owed Medusa messages across coordinator, reviewer, architect, integrator, and observer lanes PASS
Gate 4: Release, Milestone #30 & Pages Hub Sync Tag v5.45.0, GitHub Release, Milestone #30 100% closed, and Pages Hub synced with Rule #283.5 report W4-REL (PR #2686) merged at 04d77afd (23,423 passing tests); Milestone #30 10/10 closed; Rule #283.5 report validated (0 errors across 19 checks) & Pages Hub published PASS

📏 All 16 Required Empirical Sprint Measurements (Rule #283 cl. 4)

# Measure Target Measured (v5.45.0 Waves 1–4) Actionable Change for v5.46.0
1Operator interventions + causes0 unplanned0 unplanned Operator rescues or mid-sprint interventions across Waves 1–4 (full sprint executed autonomously under Charter A480; Operator provided early release pre-approval)Retain single-turn plan+build (P0) and automated sync-board.sh live tracking.
2Dispatch-to-merge timingBuild ≤60mMean Build Time: 32.1m across 6 code PRs (W1-C: 19.2m, W2-B: 23.5m, W1-D: 30.5m, W1-A: 33.4m, W2-A: 41.2m, W1-B: 44.7m). Total sprint wall time: 2h 33m (W1+W2 in 2h 19m)Retain P23 single-pass Critic and pre-scan guard tests when extracting out of server.js (P25).
3Active vs allowed Builders & parallelism4/4 Builders active4/4 (100%) Builders active in Wave 1 (W1-A..W1-D) + immediate Wave 2 reuse on TC-Lane-B (W2-B) and TC-Lane-C (W2-A)Keep 4-Builder + 2-PRR topology with immediate Wave 2 dispatch on freed Wave 1 lanes.
4Forced re-syncs / rebases when main moves0 same-wave rebases0 rebases in Wave 2 (2/2) and 5/6 Builder cars overall; 1 rebase on W1-A (#2680) after W1-D (#2679) merged because both touched server.js and .prawduct/change-log.mdEnforce P27: at most 1 car per wave may touch server.js, and 0 Wave 1–2 cars may touch .prawduct/change-log.md.
5Open PR age since current main≤30m at merge0 open sprint PRs remaining (all 8/8 PRs merged on main @ 04d77afd)None required.
6CI red after ready (#2595 + #2371 + P1)1st-pass green ≥90%1 transient runner flake in test/tmux.test.js:2108 on #2680 R3 (resolved on 1st gh run rerun --failed); 1 GUARD_SOURCES check on #2680 R1; 1 validator message check on #2684 R2; W3-REC (#2685) verified 13/13 Tests: via P1Enforce P25 (pre-check *guard*.test.js when extracting helpers from server.js).
7PRR & Architect review rounds/findingsReal defects caught pre-merge1 round on #2678, #2682, #2686; 2 rounds on #2679, #2685; 3 rounds on #2680, #2683, #2684 — 6 symlink-chain & config-preservation defects caught and fixed pre-mergeCodify symlink-chain preservation (_resolveWriteTarget) and loadConfigForWrite across future file writers.
8Post-merge defects on main00 post-merge defects or regressions across all 8 merged sprint PRs on main @ 04d77afd (11th consecutive zero-regression release)Maintain dual exact-head R-Gate + A-Gate verification.
9Clears / retries / TUI stalls0 TUI stalls0 interactive AskUserQuestion TUI stalls and 0 /prawduct:pr wrapper stalls after W1-A repaired VRF-006/007 (P21)Retain P16 Stage-2 JUnit evidence recipe and P21 clean verification ledger.
10Wrong triage / scope fields0 unrecorded mismatches1 co-signed scope expansion on W1-B (#2682) authorizing 10 legacy test files that passed out-of-schema keys to store.projects.add(); follow-up #2681 filedPre-scan test/ callers when tightening store/API option validators (P26).
11Rule breaches / omissions0 safety breaches0 rule breaches across all 10 fleet lanesKeep explicit file-scope boundaries in every Builder dispatch.
12Unlabelled PRs / dirty clones0All 8 sprint PRs tracked and audited; all 10 fleet clones synced clean to main @ 04d77afd with tag v5.45.0Keep 10-clone fast-forward + tag sync mandatory at sprint exit.
13Release-status & board lagReal-time sync0.0m lag — repaired sync-board.sh + reconcile-milestones.py so https://jason-vaughan.github.io/TangleClaw/ auto-tracks active sprints and live issue progressRetain unconditional reconcile-milestones.py execution in sync-board.sh.
14Conflict resolution time0m0.0m in Wave 2; ~2m rebase on W1-A (#2680) after W1-D (#2679) mergedEnforce strict 1-car-per-wave limit on server.js (P27).
15Wakes / tokens / turns by roleLow-overhead telemetryGenerated gen_v545.py and validated all 12 reports via validate-sprint-report.py --all (Rule #283.5) with 0 errorsRetain Rule #283.5 generator-first workflow and pre-O-Gate validator execution.
16Engine / model per sessionRecorded for all 9 lanesPM/Arc/Obsr: Antigravity (Gemini 4 Argon); INT/PRR-A/PRR-B: Codex (GPT-6-Sol); Lanes A/B/C/D: Claude (claude-sonnet-5 --effort high, 0% Opus)Retain 4-lane claude-sonnet-5 --effort high fleet with Codex reviewers/integrator and Gemini coordinators.

6. Complete 4-Wave & 8-PR Interactive Explorer (#2678–#2686)

Filter by wave, builder/integrator lane, or category, or search any PR number, commit SHA, Architect ruling (A480), or GitHub issue.

Wave 1 · 4 Parallel Builder Cars (7 Milestone #30 Issues Closed)

quickCommands & Setup Name Validation (#2678), Two-Phase PUT /api/projects/:name & 409/404/400 Statuses (#2679), Store Unknown-Key Guard (#2682) & Shared expandHomePath (#2680)

2026-10-28 14:43Z → 16:10Z · 4 / 4 PRs Merged (@ 1f2c8e0a, b68119e8, e3380b76, 028e5cef)
4 / 4 PRs Merged All 4 Cars Built in 19.2m–44.7m
Chunk / LanePRIssuesDeliverable & VerificationBuild / TotalMerge SHA
W1-C · TC-Lane-C #2678 #1339, #2180 Added strict array/item validation (`label` + `command` non-empty strings) for `quickCommands` in `lib/project-config.js` (`#1339`) and `validateProjectName()` enforcement in `POST /api/setup/Complete` (`lib/routes/setup.js`, `#2180`) on R1 head `7176c6e3` (1st-round `PRR-B PASS` + Architect `A-Gate APPROVED`). 19.2m / 34.3m 1f2c8e0a
W1-D · TC-Lane-D #2679 #1289, #1288, #2216, #2180 Added `loadConfigForWrite()` refusing to overwrite unreadable `.tangleclaw/project.json` (`#1289`), extracted `PROJECT_UPDATE_VALIDATORS` for two-phase pre-validated `updateProject()` (`#2216`), mapped `PROJECT_CONFIG_UNREADABLE` to `409`, `Project not found` to `404`, and validation errors to `400` on `PUT /api/projects/:name` (`#1288`), and added `validateProjectName()` to `POST /api/projects/import` (`#2180`) on R2 head `e8926d4d` (`PRR-B PASS` + Architect `A-Gate PASS`). 30.5m / 52.4m b68119e8
W1-B · TC-Lane-B #2682 #1225 Added fail-closed `assertKnownKeys` validation on `store.projects.add()` (`ADD_KNOWN_KEYS`) and `store.projects.update()` (`UPDATE_KNOWN_KEYS`) in `lib/store/projects.js` (`#1225`) and cleaned up 10 legacy test callers passing out-of-schema keys on R1 head `84d43aad` (1st-round `PRR-A ACCEPT` + Architect `A-Gate APPROVED`; follow-up `#2681` filed). 44.7m / 59.7m e3380b76
W1-A · TC-Lane-A #2680 #1284 Consolidated leading-tilde (`~`, `~/`, `~\`) expansion into `lib/tangleclaw-home.js` (`expandHomePath`) across 12 runtime/deploy files (`#1284`), registered `lib/tangleclaw-home.js` in `test/primary-checkout-guard.test.js`, and repaired `VRF-006/007` in `.prawduct/operator-verification.md` (`P21`) on R3 head `9ae550e0` (`PRR-A ACCEPT` + Architect `A-Gate APPROVED`). 33.4m / 87.7m 028e5cef
Wave 2 · 2 Parallel File-Disjoint Cars on Lanes B & C (10/10 Milestone #30 Issues Complete · 0 Rebases)

Atomic Symlink-Safe Engine Config Replacement & Read-Only resolveProjectEngine() (#2683) + Guarded loadConfigForWrite Across All 8 Writers & Shared Creation/Update Validation (#2684)

2026-10-28 15:35Z → 17:02Z · 2 / 2 PRs Merged @ ddca4ea7 · 0 Same-Wave Rebases
2 / 2 PRs Merged @ ddca4ea7 23.5m & 41.2m Builds · 0 Rebases
Chunk / LanePRIssuesDeliverable & VerificationBuild / TotalMerge SHA
W2-B · TC-Lane-B #2683 #1291, #2232 Replaced all 7 direct `fs.writeFileSync` sites in `lib/engines.js` with `stagedWrite.writeAtomic` resolved through a hop-by-hop symlink-chain walker (`_resolveWriteTarget` with `ELOOP` cycle detection) so symlinked `AGENTS.md`/`CLAUDE.md` carriers are preserved (`#1291`), and made `resolveProjectEngine()` strictly read-only (`#2232`) on R3 head `e838dc36` (`PRR-B PASS` + Architect `A-Gate APPROVED`). 23.5m / 49.9m bd88702a
W2-A · TC-Lane-C #2684 #2232, #1374 Routed all remaining `.tangleclaw/project.json` writers (`attachProject`, `project_set_model`, `POST /api/projects/:name/test-runner`, `POST /api/sessions/:project/engine-switch`, `syncAllProjects`, `_migrateDropMethodology`) through guarded `loadConfigForWrite` (`#2232`) and wired `createProject` to shared `PROJECT_UPDATE_VALIDATORS` + exclusive `mkdirSync` / `flag: 'wx'` creation (`#1374`) on R3 head `fb68bbc8` (`PRR-A ACCEPT` + Architect `A-Gate PASS`). 41.2m / 89.5m ddca4ea7
Wave 3 · Consolidated Sprint Records Pass (W3-REC) Powered by P1 & P10

Single Consolidated Reconciliation of FEATURES.md (13 Newly Cited Tests: Anchors), .prawduct/change-log.md & docs/user-guide.md (#2685)

2026-10-28 17:06Z → 17:12Z (6.0m total · 3.2m build · 2.8m review) · PR #2685 Merged @ 6f572950 · 13/13 Tests: Anchors Verified
PR #2685 Merged @ 6f572950 13/13 Tests: Cited via P1 · R2 Accept
Chunk / LanePRScopeDeliverable & VerificationBuild / TotalMerge SHA
W3-REC · TC-Lane-INT #2685 Waves 1–2 Records Reconciled all 10 Milestone #30 deliverables across FEATURES.md, .prawduct/change-log.md, and docs/user-guide.md on R2 head a2751892. Verified all 13 v5.45.0 Tests: anchors on disk (P1) and 0 duplicate archive headings (P10) (CI 40733168695; PRR-A R2 ACCEPT + Architect A-Gate R2 PASS). 3.2m / 6.0m 6f572950
Wave 4 · Release Cut v5.45.0, 10 Changelog Fragments Promoted & Live Publication

Compiled 10 Wave 1–2 changelog.d/ Fragments into CHANGELOG.md, Bumped version.json to 5.45.0, Updated docs/releases/v5.45-status.md & Cut Release (#2686)

2026-10-28 17:12Z → 17:16Z · PR #2686 Merged @ 04d77afd · Validated via validate-sprint-report.py --all
PR #2686 Merged @ 04d77afd 10 Fragments Promoted · 23,423 Passing Tests
Chunk / LanePRScopeDeliverable & VerificationGate VerdictsHead / Merge SHA
W4-REL · TC-Lane-INT #2686 Release Cut v5.45.0 Compiled all 10 Wave 1–2 changelog.d/*.md fragments into CHANGELOG.md, bumped version.json to 5.45.0, updated README.md, lockfile (P14), and docs/releases/v5.45-status.md on head 70bef54b. Passed PR CI, PRR-B R1 ACCEPT, A-Gate R1 APPROVED, and Observer O-Gate PASS (O480-V545-PASS) after verifying 0 errors in validate-sprint-report.py --all. PRR-B ACCEPT · A-Gate APPROVED · O480-V545-PASS 70bef54b / 04d77afd

7. Next Sprint Plan: v5.46.0 & Actionable Guardrails from v5.45.0

Six concrete process and tooling improvements (P25–P28) derived from empirical telemetry in v5.45.0 while retaining P0–P24, W1-F1_v542, and Rule #283.5.

Guardrail P25 (W1-F1_v545) · Source-Guard Scan

Check *guard*.test.js When Extracting From server.js

• Whenever a car extracts code out of server.js into lib/*.js, run node --test test/*guard*.test.js test/*consistency*.test.js before R1 push so static source-file arrays stay aligned.

Guardrail P26 (W1-F2_v545) · Caller Pre-Scan

Pre-Scan test/ Callers When Tightening Store Validators

• When a car tightens a core store or API validator to reject unknown keys, pre-scan test/ callers during Charter drafting and resolve follow-up #2681 (lib/projects.js:491).

Guardrail P27 (W1-F3_v545) · Strict 1-Car server.js Rule

Enforce At Most 1 Car Touching server.js Per Wave

• Even a 1-line import change in server.js creates a same-wave rebase if a sibling car also edits server.js; keep server.js strictly limited to 1 car per wave and defer .prawduct/change-log.md to W3-REC.

Guardrail P28 (W2-F1_v545) · Multi-Issue Closes #N Syntax

Repeat Closes #N Keyword for Every Issue in Multi-Issue PRs

• GitHub only auto-closes the first issue in Closes #A, #B; require Closes #A, Closes #B in all PR bodies and verify gh issue list --milestone <title> --state open immediately after Wave 2 merges.

Retain Self-Healing Roadmap Sync · Public Board

Keep Unconditional reconcile-milestones.py in sync-board.sh

• Run sync-board.sh at sprint kickoff and wave transitions so https://jason-vaughan.github.io/TangleClaw/ automatically promotes the active sprint and tracks live issue progress.

Retain Symlink-Safe Atomic Writes & Rule #283.5

Keep _resolveWriteTarget, loadConfigForWrite & Validator

• Retain hop-by-hop symlink-chain preservation, guarded loadConfigForWrite across all config mutators, and validate-sprint-report.py --all before O-Gate sign-off.