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).
14:43Z → 17:16Z (2h 19m W1+W2 code execution + 6.0m W3-REC)19.2m · W2-B: 23.5m · W1-D: 30.5m · W1-A: 33.4mW1-F1_v542 + deferred change-log.md: 5/6 cars merged without rebase#1291 symlink-chain preservation, #2232 _migrateDropMethodology guard6.0m (P1 verified) · W4-REL (#2686): 10 fragments23,423 pass, 19 skip, 0 fail)A480 · Stamp O480-V545-PASS · 11th consecutive 0-regression sprint1. 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).
🚀 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.
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).
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).
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).
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).
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.
⚡ 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.
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.1mMean Builder Build Time & Zero Wave 2 Rebases viaP21+P23+ Deferred.prawduct/change-log.mdCombining single-turn plan+build (P0), Stage-2 JUnit evidence (P16),VRF-006/007cleanup (P21), and single-pass/prawduct:critic(P23) reduced mean Builder coding time across all 6 cars to32.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.mdout of Wave 2 allowedW2-B (#2683)andW2-A (#2684)to merge with0merge conflicts and0rebases. -
2. Deep
R-Gate&A-GateCatches on Symlink-Chain Carrier Writes (#2683) and Migration Corrupt-Config Preservation (#2684)TC-Lane-PRR-Bcaught that atomic temp-file rename instagedWrite.writeAtomicwould replace a symlinkedAGENTS.md/CLAUDE.mdcarrier with a regular file (R1) or break a multi-hop dangling symlink chain (R2) — leadingTC-Lane-Bto implement a hop-by-hop symlink-chain resolver (_resolveWriteTargetwithELOOPcycle detection) on R3 (e838dc36). OnW2-A (#2684),TC-Lane-PRR-AandTC-Lane-Arccaught that_migrateDropMethodology(lib/store/_schema.js) calledprojectConfigApi.load(row.path)without{ onError }after its raw JSON check, which would overwrite{"rules":null,"operatorValue":"preserve"}with defaults (fixed in R281a840d0). -
3. Permanent Fix for Self-Healing Public Roadmap Board Automation (
sync-board.sh+reconcile-milestones.py) When the Operator noted thathttps://jason-vaughan.github.io/TangleClaw/had not auto-switched tov5.45.0at sprint launch, we diagnosed and fixed two root-cause bugs inShared/TangleClaw-Shared/roadmap-board/: (a)sync-board.shpreviously ranreconcile-milestones.pyonly after a new tag was cut, leaving active sprints asplanneduntil release end; and (b)reconcile-milestones.pylackedprogress_since/progress_pr_labelauto-population andstage:claimedsynchronization fromLANE_QUEUE.md. Both are now automated on every sync cycle. -
4. Fast
6.0mWave 3 Records Reconciliation (PR #2685) with FactualR-GateWording VerificationTC-Lane-INTopenedW3-REC (PR #2685)in3.2mwith all13/13newly addedTests:anchors passingnode scripts/verify-features-index.js --base origin/main(P1), andTC-Lane-PRR-Acaught a subtle documentation nuance in.prawduct/change-log.md(clarifying that onlyattachProjectcallsloadConfigForWritewhile all three creation paths useflag: 'wx'), whichTC-Lane-INTfixed and merged in6.0mtotal.
⚠️ What Didn’t Work & Proven Fixes for v5.46.0
-
1. Extracting a Helper Out of
server.jsRequires Updating Architectural Source-Guard Tests (PR #2680,Finding W1-F1_v545)In
W1-A (#2680, #1284), extractingexpandHomePath()fromserver.jsintolib/tangleclaw-home.jscausedtest/primary-checkout-guard.test.jsto fail in CI because its staticGUARD_SOURCESarray scannedserver.jsandlib/routes/setup.jsforos.homedir()+.tangleclaw. Fixed in R2 (cc6a5d4b) by addingpath.join('lib', 'tangleclaw-home.js')toGUARD_SOURCES. Fix / Guardrail forv5.46.0(P25): Whenever a car extracts code out ofserver.jsinto alib/*.jshelper, require Builders to rungrep -rn "server.js" test/*guard*.test.js test/*consistency*.test.jsbefore 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 thestore.projects.add()/update()boundary immediately caught 10 existing test files passing out-of-schema keys (team,mode,methodology,directive) that belong in.tangleclaw/project.jsonrather than SQLite. PM + Architect co-signed an immediate scope expansion for those 10 test files and filed #2681 for a production caller inlib/projects.js:491. Fix / Guardrail forv5.46.0(P26): When a car tightens a core store/API validator to fail-closed, pre-scantest/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 ofserver.js(importingexpandHomePath) whileW1-D (#2679)touchedPUT /api/projects/:nameinserver.js, both cars modifiedserver.jsand.prawduct/change-log.md, requiringW1-Ato rebase once ontob68119e8afterW1-Dmerged. Fix / Guardrail forv5.46.0(P27): Strictly enforce theW1-F1_v542rule that at most 1 car per wave may touchserver.js, and prohibit.prawduct/change-log.mdedits in all Wave 1–2 cars without exception. -
4. GitHub Multi-Issue
Closes #A, #B, #CSyntax Only Auto-Closes the First Issue (Finding W2-F1_v545)When PR bodies or commit messages write
Closes #1289, #1288, #2216on 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, #2180open until PM closed them viagh issue closewith PR links. Fix / Guardrail forv5.46.0(P28): Require every multi-issue PR body to repeatCloses #Nbefore each issue number and verifygh issue list --milestone <title> --state openimmediately 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 |
|---|---|---|---|---|
| 1 | Operator interventions + causes | 0 unplanned | 0 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. |
| 2 | Dispatch-to-merge timing | Build ≤60m | Mean 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). |
| 3 | Active vs allowed Builders & parallelism | 4/4 Builders active | 4/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. |
| 4 | Forced re-syncs / rebases when main moves | 0 same-wave rebases | 0 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.md | Enforce P27: at most 1 car per wave may touch server.js, and 0 Wave 1–2 cars may touch .prawduct/change-log.md. |
| 5 | Open PR age since current main | ≤30m at merge | 0 open sprint PRs remaining (all 8/8 PRs merged on main @ 04d77afd) | None required. |
| 6 | CI 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 P1 | Enforce P25 (pre-check *guard*.test.js when extracting helpers from server.js). |
| 7 | PRR & Architect review rounds/findings | Real defects caught pre-merge | 1 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-merge | Codify symlink-chain preservation (_resolveWriteTarget) and loadConfigForWrite across future file writers. |
| 8 | Post-merge defects on main | 0 | 0 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. |
| 9 | Clears / retries / TUI stalls | 0 TUI stalls | 0 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. |
| 10 | Wrong triage / scope fields | 0 unrecorded mismatches | 1 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 filed | Pre-scan test/ callers when tightening store/API option validators (P26). |
| 11 | Rule breaches / omissions | 0 safety breaches | 0 rule breaches across all 10 fleet lanes | Keep explicit file-scope boundaries in every Builder dispatch. |
| 12 | Unlabelled PRs / dirty clones | 0 | All 8 sprint PRs tracked and audited; all 10 fleet clones synced clean to main @ 04d77afd with tag v5.45.0 | Keep 10-clone fast-forward + tag sync mandatory at sprint exit. |
| 13 | Release-status & board lag | Real-time sync | 0.0m lag — repaired sync-board.sh + reconcile-milestones.py so https://jason-vaughan.github.io/TangleClaw/ auto-tracks active sprints and live issue progress | Retain unconditional reconcile-milestones.py execution in sync-board.sh. |
| 14 | Conflict resolution time | 0m | 0.0m in Wave 2; ~2m rebase on W1-A (#2680) after W1-D (#2679) merged | Enforce strict 1-car-per-wave limit on server.js (P27). |
| 15 | Wakes / tokens / turns by role | Low-overhead telemetry | Generated gen_v545.py and validated all 12 reports via validate-sprint-report.py --all (Rule #283.5) with 0 errors | Retain Rule #283.5 generator-first workflow and pre-O-Gate validator execution. |
| 16 | Engine / model per session | Recorded for all 9 lanes | PM/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.
quickCommands & Setup Name Validation (#2678), Two-Phase PUT /api/projects/:name & 409/404/400 Statuses (#2679), Store Unknown-Key Guard (#2682) & Shared expandHomePath (#2680)
| Chunk / Lane | PR | Issues | Deliverable & Verification | Build / Total | Merge 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 |
Atomic Symlink-Safe Engine Config Replacement & Read-Only resolveProjectEngine() (#2683) + Guarded loadConfigForWrite Across All 8 Writers & Shared Creation/Update Validation (#2684)
| Chunk / Lane | PR | Issues | Deliverable & Verification | Build / Total | Merge 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 |
Single Consolidated Reconciliation of FEATURES.md (13 Newly Cited Tests: Anchors), .prawduct/change-log.md & docs/user-guide.md (#2685)
| Chunk / Lane | PR | Scope | Deliverable & Verification | Build / Total | Merge 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 |
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)
| Chunk / Lane | PR | Scope | Deliverable & Verification | Gate Verdicts | Head / 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.
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.
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).
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.
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.
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.
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.