TangleClaw v5.40.0: “Master and bridge replies”
Complete empirical report of TangleClaw’s 12-hour 09-minute multi-agent software engineering sprint under Charter A475 (2026-10-27 02:38Z → 14:46:53Z; 10h 06m active engineering execution across Waves 1–4 plus 2h 02m Operator Rule #282 release-merge gate hold).
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 the binding P0–P5 guardrails (≤3 issues per car) alongside
OpenAI Codex GPT-5.4 Integrator (TC-Lane-INT), two Codex GPT-5.4 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
10 pull requests across Waves 1–4 (#2627, #2629–#2631, #2633–#2635, #2637–#2639),
closed all 13 issues in Milestone #25 (100% closed, plus P1/#2632 & #2636),
shipped Project Master Medusa inReplyTo & wake alignment, Operator Bridge pinned bot DM ingress & durable scoped permission requests (Schema v68 → v70), TCC-authorized tmux server bootstrap, local-commit release rebase, and the P1 records-only Tests: verifier (#1988, #2433, #2352, #2625),
merged W3-REC (#2638) in 39s CI and W4-REL (#2639 @ 26d14a80) in 30s CI (10/10 PRs 100% 1st-pass green!), and validated Rule #275.3 headless Chrome + Node 22 WebSocket CDP browser verification catching a real 403 OPEN_INSTALL_TOKEN_INVALID bug pre-merge with 0 post-merge regressions.
2026-10-27 02:38Z → 14:46:53Z (incl. 2h 02m Rule #282 release hold)56.3m · W2: 62.3m · 0 AskUserQuestion TUI freezes under P039s (15 Tests: via P1) · W4-REL (#2639): 30s (1,482 pass)403 OPEN_INSTALL_TOKEN_INVALIDPRR-A/B + A-Gate + INTv68 → v70 rehearsed on live copy · 15 changelog.d/ fragmentsA475 co-signed · 9-clone hygiene · 0 owed Medusa messages · v5.40.0 @ 26d14a80 released1. Multi-Agent Fleet Architecture & 4-Lane Builder Evaluation (Charter A475)
Nine active sprint sessions across three AI engines (Gemini 4 Argon, Claude Sonnet 5 high, OpenAI Codex GPT-5.4) executing under Charter A475 and binding rules P0–P5.
🧪 P0 Enforced: 59.3m Mean Build Time & 0 TUI Stalls
Capping all 8 Builder cars across Waves 1 and 2 at 1–3 issues per car alongside the P0 non-interactive guard produced a 59.3m mean build time (W1: 56.3m, W2: 62.3m) and 0 interactive AskUserQuestion TUI freezes across all 8 Builder PRs.
⚡ P1 (#2633) Restored Full Tests: Citations in W3-REC
Built by TC-Lane-D in 20.7 minutes (PR #2633), P1 updated scripts/verify-features-index.js to accept real on-disk test files in docs-only diffs — allowing W3-REC to validate 15 newly cited Tests: anchors (`47/47` passing) without the workaround needed in v5.39.0.
🌐 Headless Chrome + Node 22 WebSocket CDP Caught Pre-Merge 403 Bug
On W2-C (PR #2637), TC-Lane-C bypassed browser extension limits by spawning headless Chrome (--headless=new --remote-debugging-port=9637) and driving it via Node 22 WebSocket CDP across 1280x800, 375x667, and 320x640 — catching and fixing a real 403 OPEN_INSTALL_TOKEN_INVALID bug in public/session.js before merge.
W_closed / T_eng = 8 / 10.10h = 0.79 closed issues/hr · Unit Allocated Cost = C_alloc / W_closed = $24.85 / 8 = $3.11/closed issue ($4.03/kLOC across +6,167 insertions) · Quality = 100% True Merges, 0 Post-Merge Defects.2. Disclosed Legacy Composite Index (
ADE_v1): ADE_v1 = W_closed / (T_eng × C_alloc) = 8 / (10.10h × $24.85) = 0.03. 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 = 10.10h, never a pipelined merge tail) alongside scale-invariant Throughput (0.79 issues/hr).3. 3-Tier Operating Cost Basis: Tier 1 (Measured Marginal Cash):
$0.00 per-run API fee + ~$0.25 M3 Ultra wall power · Tier 2 (Allocated Subscription Pool): $24.85 pro-rata allocation ($440/mo ÷ 178.8 active hrs = $2.46/hr × 10.10h; calendar-hour reference $6.17 @ $0.611/hr) · Tier 3 (Hypothetical API Shadow Estimate): ~$218 (unmetered estimate across ~15.0M tokens → 8.8× subscription compression).
2. Cumulative Sprint Velocity & Test Growth Across All 4 Waves (10 PRs)
Steady, zero-regression progression from Wave 1 (PRs #2627, #2630, #2631, #2629 @ 171cbe8a) through Wave 4 Release Cut (PR #2639 @ 26d14a80). Hover any bar or point for wave details.
3. Master & Bridge Replies (#1988, #2176, #2433), Coordinator Alert Routing (#2141) & Scoped Grants (#2352)
Finishing Milestone #25 (13/13 closed), shipping Project Master Medusa reply alignment, Operator Bridge pinned DM ingress (Schema v69–v70), durable scoped permission grants (verified via live headless Chrome CDP), and P1 records-only Tests: validation (+6,167 / −420 LOC across 10 PRs).
Project Master Replies, Wake Contract & Shared-Doc Broadcast
• Master inReplyTo & Wake Alignment (PR #2631): Eliminated Project Master Medusa reply deadlocks (#1988) and aligned wake nudges with Master’s actual reply contract (#2176).
• Shared-Doc Delivery & Bridge Fail-Closed (PR #2627, PR #2630): Fixed shared_doc_updated stale coalescing (#2350), added Project Master shared-doc notices (#1084), and enforced fail-closed Bridge WS URL resolution (#2354).
Coordinator-First Alert Routing, Pinned DM Ingress & Candidate Status
• Operator-Needed Routing & Gateway Docs (PR #2629): Enriched operator-needed alerts with coordinator-first suppression, sender/subject/age context, and unblock recovery (#2141), and documented the ~2h Discord Gateway resume lifecycle (#2334).
• Pinned Bot DM Ingress & Candidate Status (PR #2635, PR #2634): Shipped Schema v69 off-by-default verified operator DM ingress with source-bound replies (#2433) and tc candidate status submitter inspection (#2214, #2133).
Local-Commit Updater Rebase, Scoped Grants & P1 Verifier
• Updater Local-Commit Rebase (PR #2630): Allowed in-app updates to rebase local commits onto a release tag with backup and clean conflict rollback (#2399).
• Scoped Permission Grants, TCC Tmux & P1 (PR #2637, PR #2633): Shipped durable scoped permission requests (#2352), TCC-authorized tmux bootstrap wired into session launch (#2625, #2636), and on-disk Tests: validation for records-only PRs (#2632 / P1).
4. Longitudinal Comparison (v5.36.0 → v5.37.0 → v5.38.0 → v5.39.0 → v5.40.0) & Time Telemetry
Synthesized from Architect Charter A475 and the Full Sprint Observer Report (TC-Lane-Obsr) across Waves 1–4.
| Metric | v5.36.0 (Opus 5.5) | v5.37.0 (Sonnet 4.6) | v5.38.0 (Sonnet 5 · 4 Lanes) | v5.39.0 (Sonnet 5 · 2 Lanes) | v5.40.0 (Sonnet 5 · 4 Lanes) | Directional Assessment |
|---|---|---|---|---|---|---|
| Total Sprint Wall Time | 9h 50m |
13h 15m |
10h 25m (13 PRs) |
4h 21m (6 PRs · 2 Lanes) |
10h 06m active (12h 09m wall incl. Rule #282 hold · 10 PRs) |
8 code PRs in 9h 30m; W3-REC (39s) & W4-REL (30s) fast-pathed |
| Merged Sprint PRs / Issues Closed | 12 PRs (M#21 26/26) |
13 PRs (M#22 16/16) |
13 PRs (M#23 15/15 + 9) |
6 PRs (M#24 13/13) |
10 PRs (Milestone #25 13/13 + #2632, #2636) |
100% of Milestone #25 closed (0 open) |
| Mean Builder Build Time (Dispatch → PR) | 50.5m / 99.5m |
64.1m / 135.7m |
52.4m |
36.7m (excl. TUI stalls) |
59.3m across 8 PRs (W1 56.3m · W2 62.3m) |
Below 60m target; 0 AskUserQuestion TUI stalls under P0 |
Interactive AskUserQuestion TUI Stalls |
0 |
0 |
0 |
2–3 stalls on W2-C (148m) |
0 stalls across all 8 Builder cars (P0) |
P0 bundle cap (≤3 issues) + TUI guard 100% effective |
Records / Release PR Tests: Citations |
~15m CI |
~14m CI |
11.5m–17.8m CI |
39s / 31s (0 Tests: in W3-REC) |
15/15 newly cited Tests: passed via P1 (#2633) |
P1 resolved the v5.39.0 W3-REC cross-PR citation blind spot |
| Same-Wave Forced Ancestry Rebases | Serial | 1 wait (150m) |
6 in W1 → 0 in W2–W3 |
0 across Waves 1–4 |
4 in W1 + 3 in W2 (sequential SUITE_SLOT) |
Finding W1-F1: restore A474 disjoint pipelining in v5.41.0 |
| Pre-Merge Gate Catches / Regressions | 0 reg |
0 reg |
0 reg |
7 caught / 0 reg |
10 rounds on #2637 + Chrome CDP 403 catch · 0 reg |
6th consecutive sprint with 0 post-merge defects |
⏱️ Builder Car Build Time vs. Open-to-Merge Time (Waves 1 & 2)
Empirical breakdown showing rapid 20.7m–74.6m Builder builds on 7 of 8 cars alongside sequential SUITE_SLOT rebase waits.
⚡ P0–P5 Process Guardrail Verification Telemetry
Measured performance of all six binding v5.39.0 post-mortem rules across Waves 1–3.
5. Sprint Post-Mortem: What Worked vs. What Didn’t (A475 & Obsr)
Candid synthesis by the Project Manager, Architect (A475), Integrator (TC-Lane-INT), and Sprint Observer (TC-Lane-Obsr) of what succeeded and the concrete process/tooling bottlenecks uncovered during v5.40.0.
✅ What Worked Exceptionally Well (Keep & Codify)
-
1.
Rule #275.3Headless Chrome + Node 22 Native WebSocket CDP Caught a Real403 OPEN_INSTALL_TOKEN_INVALIDBug Before Merge (W2-C #2637) Rather than blocking on browser-extension loopback limits,TC-Lane-Cspawned headless Google Chrome (--headless=new --remote-debugging-port=9637) inside the Builder shell and drove it via Node 22 WebSocket CDP across1280x800,375x667, and320x640viewports. That live rendered check caught and fixed a real403 OPEN_INSTALL_TOKEN_INVALIDbug inpublic/session.jsbefore PR #2637 merged. -
2.
P0Bundle Cap (≤3 Issues/Car) + Non-Interactive Execution Eliminated AllAskUserQuestionTUI Freezes (59.3mMean Build Time) Across all 8 Builder cars in Waves 1 and 2, capping cars at 1–3 issues and forbidding interactiveAskUserQuestionTUI prompts achieved a59.3mmean build time (20.7monW2-D,36.3monW1-C,44.8monW2-B,52.0monW1-A) with zeropane-no-promptTUI stalls. -
3.
P1(PR #2633) Paid Off Inside the Same Sprint onW3-REC(15/15Newly CitedTests:Anchors Validated) Shipped byTC-Lane-Din Wave 2 in just20.7mbuild time,P1updatedscripts/verify-features-index.jsto accept existing on-disk test files in docs/records-only diffs — allowingTC-Lane-INT’sW3-RECbranch to retain all 15 newly citedTests:anchors inFEATURES.md(47/47passing intest/features-index.test.js). -
4.
SINGLE-TURN PLAN+BUILDin Wave 2 Eliminated Mid-Wave/clearOverhead AuthorizingSINGLE-TURN PLAN+BUILDfor Wave 2 allowed Builders A/B/C/D to plan, obtain Integrator scope sign-off, implement, and open their PRs in a single continuous turn without an intermediate/clearbetween plan approval and coding.
⚠️ What Didn’t Work & Proven Fixes for v5.41.0
-
1. Sequential
SUITE_SLOTAncestor-Sync Rule Forced7Redundant Rebases & CI/Review Cycles Across Disjoint Wave 1 & 2 Cars (Finding W1-F1_v540) Even though Wave 1 cars were 100% file-disjoint, requiring every sibling PR to force-sync onto the latestmainafter each merge forcedW1-A(PR #2629, built in52.0m) through 2 ancestor syncs and 3 full CI + PRR + A-Gate cycles, stretching its open-to-merge time to194.5m(3h 14m). In Wave 2,W2-B,W2-A, andW2-Csimilarly had to re-sync after each sibling landed. Fix forv5.41.0: When a wave charter certifies zero file overlap andgit merge-treeis clean, merge already-approved sibling PRs back-to-back without invalidating prior exact-head CI/PRR/A-Gate approvals. -
2. 10 Review Rounds on
W2-C(PR #2637) Due to Trust-Boundary & Session-Launch Wiring Iterations (209.4mOpen-to-Merge) Combining durable scoped permission requests (#2352), TCC tmux bootstrap (#2625), and session launch wiring (#2636) required 10 review rounds betweenTC-Lane-C,PRR-B, and Architect (`A475-W2C-TRUST`). Fix forv5.41.0: Pre-specify exact trust-boundary invariants (`A475-W2C-TRUST` equivalent) inside the initial Wave Charter before Builder dispatch whenever a car touches permission/auth or launch-identity wiring. -
3. Claude-in-Chrome Extension Loopback Blocker Forced Browser-Check Deferral on
W2-A(PR #2635,A475-W2A-R6) WhileTC-Lane-Csucceeded with direct headless Chrome + Node 22 WebSocket CDP on#2637,TC-Lane-Ahit the Claude-in-Chrome extension loopback/sandbox blocker onpublic/operator-bridge-panel.js, requiring Architect deferralA475-W2A-R6toW4-RELpost-deploy verification. Fix forv5.41.0: CodifyTC-Lane-C’s headless Chrome + Node 22 WebSocket CDP script as a shared helper (scripts/with-headless-chrome-cdp.js) in all Builder rules so no UI PR ever depends on the browser extension. -
4.
100.9mMerge-Slot Gap onW1-D(PR #2631) & 120m Coordinator Workload Receipt Expiry (Finding W1-F2_v540)W1-D’s exact-head CI passed at04:48:32Z, but merge execution waited until06:29:26Z(`100.9m`), whileTC-Lane-PMandTC-Lane-Obsrcrossed the 120mwaiting-externalreceipt TTL. Fix forv5.41.0: Auto-wakeTC-Lane-INTwhen all 3 merge predicates (CI + PRR + A-Gate) turn green on the current head, and extend coordinatorwaiting-externalTTL to240m.
🔒 4-Gate Sprint-Exit Maintenance Audit (Waves 1–4 Verified @ 26d14a80)
| Exit Gate | Requirement | Measured Sprint Evidence | Verdict |
|---|---|---|---|
Gate 1: LANE_QUEUE.md Attestation & Unlock |
LANE_QUEUE.md size < 15 KB live / archived + reset < 6 KB at exit; single-writer lock released |
LANE_QUEUE.md maintained compactly during Waves 1–4 with v5.39.0 archived to archive/LANE_QUEUE-v5.39.0-20261026.md (72,483 bytes); final unlock & reset at W4-REL |
PASS |
| Gate 2: Multi-Clone Checkout & Live Server Sync | All 9 fleet clones clean on main @ origin/main; live server deployed to 5.40.0; 0 orphan workers |
All 4 Builder lanes (TC-Lane-A..D) governed-cleared (`A94C7E12`, `B8721D4E`, `C4891A2B`, `F388A4C9`) and synced clean onto main @ 26d14a80 with feature branches safety-checked and deleted |
PASS |
| Gate 3: Switchboard & Obligation Drain | 0 owed Medusa messages; superseded Builder exchanges closed per P2 |
0 owed Medusa messages across fleet; `P2` exchange hygiene maintained across Waves 1–4 with 0 false watchdog escalations |
PASS |
| Gate 4: Release, Roadmap Board & Registry Sync | Tag v5.40.0, GitHub Release, Milestone #25 100% closed, and Pages Hub synced with P4 report |
W4-REL (PR #2639) merged at 26d14a80 (Release CI 40524442291); Public Roadmap updated with 13/13 Milestone #25 issues marked completed; P4 7-section report published |
PASS |
📏 All 16 Required Empirical Sprint Measurements (Rule #283 cl. 4)
| # | Measure | Target | Measured (v5.40.0 Waves 1–4) |
Actionable Change for v5.41.0 |
|---|---|---|---|---|
| 1 | Operator interventions + causes | 0 unplanned | 1 guarded-merge sequencing authorization in TC-Lane-INT pane for W1-C/W1-B; 0 emergency rescues | Include explicit standing Wave 1–4 merge-sequencing grant in the co-signed Sprint Charter. |
| 2 | Dispatch-to-merge timing | Build ≤60m | Mean Build Time: 59.3m (W1: 56.3m, W2: 62.3m; fastest: W2-D 20.7m, W1-C 36.3m, W2-B 44.8m). Total dispatch-to-merge: W1: 100.9m–246.5m; W2: 68.1m–318.4m | Eliminate same-wave ancestor force-syncs on disjoint cars to cut open-to-merge wait by ~60%. |
| 3 | Active vs allowed Builders & parallelism | 4/4 Builders active | 4/4 Builders active in both Wave 1 and Wave 2 (TC-Lane-A..D) + dual PRR (PRR-A on A/B, PRR-B on C/D) | Retain 4-lane Builder + 2-PRR architecture with ≤3 issues per car. |
| 4 | Forced re-syncs / rebases when main moves | 0 same-wave rebases | 4 forced ancestor syncs in Wave 1 + 3 in Wave 2 under sequential SUITE_SLOT rule despite file-disjoint scopes | Restore A474 Pillar 1 disjoint same-wave merge pipelining when git merge-tree is clean (Finding W1-F1_v540). |
| 5 | Open PR age since current main | ≤30m at merge | 0m at merge (each PR synced to exact origin/main tip prior to guarded merge); 0 open code PRs remaining | Allow disjoint PRs tested on the wave base SHA to merge without re-running 11m CI on every sibling merge. |
| 6 | CI red after ready (#2595 + #2371 + P1) | 1st-pass green ≥90% | 8/8 code PRs merged with 100% exact-head GitHub Actions Tests green; W3-REC passed 47/47 test/features-index.test.js with 15 newly cited Tests: anchors via P1 (#2633) | Keep P1 on-disk Tests: validation + Bottleneck A Records Gate fast-path. |
| 7 | PRR & Architect review rounds/findings | Real defects caught pre-merge | 1–2 rounds on 7 cars; 10 rounds on W2-C (#2637) + live headless Chrome CDP catching a real 403 OPEN_INSTALL_TOKEN_INVALID bug in public/session.js | Pre-specify trust-boundary invariants (`A475-W2C-TRUST`) in the charter before Builder dispatch. |
| 8 | Post-merge defects on main | 0 | 0 post-merge regressions across all 8 merged code PRs (#2627..#2637) on main @ c39bc00b | Maintain dual-PRR + Architect exact-head review + headless Chrome CDP UI verification. |
| 9 | Clears / retries / TUI stalls | 0 TUI stalls | 0 interactive AskUserQuestion TUI stalls across all 8 Builder cars (`P0`); 8/8 clean governed post-wave /clear resets; W2 used SINGLE-TURN PLAN+BUILD | Keep P0 PreToolUse guard and SINGLE-TURN PLAN+BUILD mode permanently. |
| 10 | Wrong triage / scope fields | 0 unrecorded mismatches | 1 pre-build filename correction on W1-B (#2399/#2354); #2133 closed as duplicate of shipped #2547 with new E2E test in #2634; #2636 wired in #2637 | Run automated git ls-files path verification on charter tables before co-sign (Finding W1-F3_v540). |
| 11 | Rule breaches / omissions | 0 safety breaches | 0 safety breaches; W1-D PR creation hook bypass was co-signed under A475-W1D-R2/R3 and verified before merge; W2-A browser check deferred under A475-W2A-R6 | Standardize headless Chrome + Node 22 WebSocket CDP helper so UI lanes never hit extension blockers. |
| 12 | Unlabelled PRs / dirty clones | 0 | All 8 code PRs audited; all 4 Builder clones governed-cleared and clean on main @ c39bc00b with feature branches safely deleted via tc branch check | Keep tc branch check (`SAFE`) mandatory before branch deletion. |
| 13 | Release-status & board lag | Real-time sync | roadmap2-data.json + sync-board.sh updated and published to gh-pages at Wave 1 close and Wave 2 close (13/13 Milestone #25 issues marked completed per P6 / Rule #289) | Keep wave-boundary sync-board.sh execution in PM’s standard checklist. |
| 14 | Conflict resolution time | 0m | 0m code conflict resolution time across all 8 merged code PRs (strict file-disjoint wave partitioning) | Maintain consolidated Wave 3 W3-REC records pass. |
| 15 | Wakes / tokens / watchdog alerts | 0 false watchdog alerts | 0 false-positive 60m watchdog alerts under P2; 0 macOS TCC EPERM failures under P3; PM & Obsr crossed 120m waiting-external TTL during long merge slots | Extend coordinator/observer waiting-external receipt TTL from 120m to 240m (Finding W1-F2_v540). |
| 16 | Engine / model per session | Recorded for all 9 lanes | PM/Arc/Obsr: Antigravity (Gemini 4 Argon); INT/PRR-A/PRR-B: Codex (GPT-5.4); Lanes A/B/C/D: Claude (claude-sonnet-reviewer / 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 & 10-PR Interactive Explorer (#2627–#2639)
Filter by wave, builder/integrator lane, or category, or search any PR number, commit SHA, Architect ruling (A475), or GitHub issue.
Shared-Doc Broadcast (#2627), Local-Commit Updater & Fail-Closed Bridge WS (#2630), Master Medusa Replies (#2631) & Operator-Needed Alert Routing (#2629)
| Chunk / Lane | PR | Issues | Deliverable & Verification | Build / Total | Merge SHA |
|---|---|---|---|---|---|
W1-C · TC-Lane-C |
#2627 | #2350, #1084 | Fixed shared_doc_updated stale-coalescing delivery gap for long-running Observer sessions and extended broadcastSharedDocUpdate to notify Project Master on head eb725ab5 (PRR-B ACCEPT + Architect A-Gate APPROVED; governed-cleared C83EA385). |
36.3m / 100.9m | 15e3a1ca |
W1-B · TC-Lane-B |
#2630 | #2399, #2354 | Shipped governed rebase of local commits onto release tags with pre-update backup/rollback (#2399) and fail-closed explicit MEDUSA_BRIDGE_WS_URL resolution (#2354) on head b9a4b014 (PRR-A ACCEPT 89177c2e + Architect APPROVED 41215bbe; governed-cleared DC6DE2B7). |
62.8m / 116.3m | 16002351 |
W1-D · TC-Lane-D |
#2631 | #1988, #2176 | Resolved Project Master Medusa inReplyTo reply deadlocks and aligned Master wake nudge contract on head 97a98182 (PRR-B ACCEPT 1204cf1f + Architect APPROVED 3af5c941; governed-cleared 1D27514B). |
74.1m / 231.4m | 253dda92 |
W1-A · TC-Lane-A |
#2629 | #2141, #2334 | Enriched operator-needed alerts with coordinator-first suppression, sender/subject/age context, and unblock recovery notice (#2141) and documented the ~2h Discord Gateway resume lifecycle (#2334) on head 0b323939 (CI 40461689169; PRR-A ACCEPT 67ed18ac + Architect APPROVED 851eb8d0; governed-cleared D402F9D6). |
52.0m / 246.5m | 171cbe8a |
On-Disk Tests: Verifier (#2633), Submitter Candidate Status (#2634), Schema v69 Pinned DM Ingress (#2635) & Scoped Permission Grants Verified via Headless Chrome CDP (#2637)
| Chunk / Lane | PR | Issues | Deliverable & Verification | Build / Total | Merge SHA |
|---|---|---|---|---|---|
W2-D · TC-Lane-D |
#2633 | #2632 (P1) |
Updated scripts/verify-features-index.js + test/features-index.test.js to accept real on-disk Tests: citations in docs/records-only PR diffs on head e51aa22e (CI 40469053988; PRR-B ACCEPT e4b75261 + Architect APPROVED a919fd79; governed-cleared F388A4C9). |
20.7m / 68.1m | 624738eb |
W2-B · TC-Lane-B |
#2634 | #2133, #2214 | Added session candidate-status read API + tc candidate status CLI and E2E candidate wake coverage on head 285e0a59 (CI 40470612055; PRR-A ACCEPT 151663da + Architect APPROVED df13b09f; governed-cleared B8721D4E). |
44.8m / 82.7m | a607326f |
W2-A · TC-Lane-A |
#2635 | #2433 | Shipped Operator Bridge pinned DM ingress & source-bound replies across Schema v69, Discord helper, gateway, and UI panel on head 75460ec2 (CI 40495705234; PRR-A ACCEPT 052468df + Architect APPROVED 9b741e7a + A475-W2A-R6 browser check deferral; governed-cleared A94C7E12). |
74.6m / 285.6m | db6f1329 |
W2-C · TC-Lane-C |
#2637 | #2352, #2625, #2636 | Shipped durable scoped permission requests, TCC-authorized tmux server bootstrap, and #2636 session launch wiring on head fe4b8cfe after 10 review rounds and live headless Chrome WebSocket CDP verification across 1280x800, 375x667, and 320x640 (catching & fixing 403 OPEN_INSTALL_TOKEN_INVALID in public/session.js; CI 40499683261; PRR-B Round 10 ACCEPT d11fbc25 + Architect APPROVED 27dca637; governed-cleared C4891A2B). |
109.0m / 318.4m | c39bc00b |
Single Consolidated Reconciliation of FEATURES.md (15 Newly Cited Tests: Anchors), .prawduct/change-log.md & docs/user-guide.md (#2638)
| Chunk / Lane | PR | Scope | Deliverable & Verification | Open→Merge / Total | Merge SHA |
|---|---|---|---|---|---|
W3-REC · TC-Lane-INT |
#2638 | Waves 1–2 Records | Reconciled all Milestone #25 deliverables across FEATURES.md, .prawduct/change-log.md, and docs/user-guide.md on head 3c8731b5. Validated all 15 newly cited Tests: anchors on first-attempt GitHub Actions Records Gate CI (run 40504672396 in 39s; 1,482 passed / 1 skipped / 0 failed; PRR-A ACCEPT 7dbbefa2 + Architect A-Gate APPROVED 17de06ca). |
5.9m / 31.0m | 9ca48c67 |
Compiled 15 Wave 1–2 changelog.d/ Fragments into CHANGELOG.md, Bumped version.json to 5.40.0, Verified Store Migration (v68 → v70) & Merged Release Cut (#2639)
| Chunk / Lane | PR | Scope | Deliverable & Verification | CI Runs | Head / Merge SHA |
|---|---|---|---|---|---|
W4-REL · TC-Lane-INT |
#2639 | Release Cut v5.40.0 |
Compiled all 15 Wave 1–2 changelog.d/*.md fragments into CHANGELOG.md, bumped version.json to 5.40.0, updated README.md, lockfile, and docs/releases/v5.40-status.md on head 82ad812b. PR CI passed in 30s (1,482 pass / 1 skip / 0 fail); read-only store upgrade rehearsal (v68 → v70) verified quick_check = ok with 78 bridge_routes and 530 bridge_outbound rows preserved (PRR-A ACCEPT 3cc3e47a + Architect A-Gate APPROVED 2e05f625 + Operator Rule #282 release authorization + Observer O-Gate PASS). Merged at 26d14a80cc95ac497cac3e1669d1c2082a19eebd triggering Release workflow 40524442291. |
PR 40506022103 (30s) · Rel 40524442291 |
82ad812b / 26d14a80 |
7. Next Sprint Plan: v5.41.0 & Actionable Guardrails from v5.40.0
Six concrete process and tooling improvements derived from empirical telemetry in v5.40.0 while retaining P0–P5.
Eliminate Same-Wave Ancestor Force-Syncs
• When the wave charter certifies W*-A ∩ W*-B ∩ W*-C ∩ W*-D = ∅ and git merge-tree is clean, allow TC-Lane-INT to merge already-approved sibling PRs sequentially without forcing 2–3 redundant 11m CI + PRR + A-Gate re-runs.
Ship scripts/with-headless-chrome-cdp.js
• Codify TC-Lane-C’s Wave 2 breakthrough (spawning --headless=new --remote-debugging-port and driving via Node 22 WebSocket CDP across 3 viewports) as a reusable helper so no UI lane ever hits Claude-in-Chrome extension blockers.
Cut Security/Auth Review Rounds from 10 to ≤2
• Whenever a Builder car touches permission grants, launch headers, or auth boundaries (like W2-C #2637), include explicit trust-boundary invariants (`A475-W2C-TRUST` equivalent) in the initial charter before dispatch.
240m Coordinator TTL + Ready-to-Merge Wake
• Extend waiting-external receipt TTL to 240m for coordinator/observer lanes and emit an automatic wake to TC-Lane-INT as soon as exact-head CI + PRR + A-Gate all turn green.
Verify Charter File Paths via git ls-files
• Run an automated pre-dispatch check verifying that every target file path in the Sprint Charter exists on origin/main (or is tagged [NEW]) before Builder waves launch.
Keep ≤3 Issues/Car, P1 & Single-Turn Mode
• Retain P0 (≤3 issues/car, `0` TUI freezes), P1 (records-only on-disk Tests: verifier), P2–P5, and Wave 2’s SINGLE-TURN PLAN+BUILD execution mode as permanent sprint defaults.