v5.47.0: Unified Startup Dialog Reader, Positive Selector-Row Guard, Per-Project Folder Trust Opt-In & Codex Sandbox Loopback Diagnosis
Sprint v5.47.0 ("Engine dialogs and sandbox", Charter A483–A483-R13, Milestone #32) closed all 6 admitted issues (#1836, #2193, #2221, #2205, #2219, #2168) across 4 execution waves and 7 Sprint PRs (Wave 1 PRs #2709, #2710, #2711, Wave 2 PRs #2713, #2712, Wave 3 Reconciliation PR #2714 merged at aea08798cf01, and Wave 4 Release W4-REL PR #2715 merged at 1e8e2df417e1 as tag: v5.47.0) while simultaneously executing a zero-regression 8-hour R3 in-thread procedural refresh across all 8 fleet sessions (0 /clear calls) and shipping/deploying the mid-sprint v5.46.1 release (PR #2708 @ c94164b0, 8th PR in the window) live to TangleClaw-Builder1.
Key engineering breakthroughs include converging lib/launch-dialog-guard.js onto the shared validator and pane classifier in lib/startup-dialog.js#entryErrors (#2221); declaring Claude Code’s bypass_permissions_confirm dialog separately from trust_required in data/engines/claude.json and withholding partial shared-option frames ("No, exit") under neutral startup_screen_suspect (#2205); diagnosing Codex fullAuto (--sandbox workspace-write) loopback isolation in data/engines/codex.json, lib/startup-control-codex.js#loopbackSandboxNote, lib/launch-sequence.js#_loopbackSandboxNote, and lib/tc-verbs.js (#1836); recording genuinely dropped first turns across server restarts in lib/sessions.js#reconcileDeferredFirstTurnsOnRestart by tracking pasteOwed/kickoffOwed (#2193); withholding mid-session command and switchboard injections with pane_not_at_prompt when a live pane positively displays a selector’s selected row in lib/startup-dialog.js#_promptRow and lib/startup-dialog.js#withholdFor while preserving draft send-and-clear behavior (#2219); and shipping the default-off per-project acceptFolderTrust setting across lib/project-config.js, lib/projects.js, lib/sessions.js#_acceptsFolderTrust, and public/ui.js with staggered per-key session/dialog re-verification and launch.folder_trust_accepted activity auditing (#2168).
Participant Disclosure (Rule #283): TC-Lane-Obsr operated as an in-test sprint participant whose telemetry, pre-merge source audits, and O-Gate holds lanes could read during execution.
What v5.47.0 Does in Everyday Terms — and How the Team Built It
🛠️ What We Shipped (Teaching TangleClaw to Handle Setup Screens Safely)
1. Waiting safely at Claude & Codex setup screens instead of typing blindly (#2205, #2221, #2219):
When Claude Code or Codex starts up in a new folder—or when you open an interactive menu like /model—it often displays a multiple-choice prompt where the default highlighted button is "No, exit". If TangleClaw sends a message or presses Enter while that menu is on screen, it can accidentally close the session or pick the wrong option. In v5.47.0, TangleClaw recognizes both folder-trust prompts and bypass-permissions prompts (even when only half the screen has finished drawing) as well as mid-session option menus, and waits safely instead of typing into them.
2. Optional one-switch Folder Trust for projects you already trust (#2168):
If you don’t want to manually click "Yes, I trust this folder" on a project you own, you can now flip on "Accept the folder-trust dialog at launch" in that project’s Settings (off by default for safety). When turned on, TangleClaw checks that the real folder-trust screen is visible before pressing each key and logs the acceptance in your project activity feed—without ever editing Claude’s internal trust files.
3. Clear Codex sandbox explanations, path checks & restart memory (#1836, #2193):
When Codex runs in its default "Full Auto" sandbox, it blocks local network connections so the agent cannot check in with TangleClaw; TangleClaw now explains the exact cause and how to enable network access. And if the TangleClaw server restarts while a new session is waiting behind a startup prompt, TangleClaw remembers that the first message still needs to be sent and keeps workspace state clean across waves.
⚡ How the Sprint Ran (Fast, Clean Execution with Zero Rework)
1. All 6 issues completed cleanly with ~18-minute core builds and zero post-merge rework:
Keeping the fast, disciplined pace of v5.45.0–v5.46.1, the multi-agent Builder lanes completed core coding on key cars in ~13 to 19 minutes (13.1m on #1836, 18.0m on #2168, 19.5m on #2193) and merged all 6 Milestone #32 issues with zero merge conflicts and zero post-merge bugs or rework on main.
2. 100% first-time test pass rate (24/24 CI runs & 23,719 local tests):
Every single automated GitHub test run (24 out of 24) passed on the first try, and the full 5-stage local test suite passed all 23,719 tests with 0 failures. Pre-merge AI reviewers caught 11 subtle edge cases before merge so nothing broke after landing.
3. Seamless team refresh & automatic backup-builder handoff: All 8 active AI sessions refreshed their working rules mid-sprint without clearing their memory, and when one Builder lane hit a temporary model usage limit right before its final merge, a backup Builder lane stepped in and finished the merge in 18 minutes without waking the human operator.
How v5.47.0 Hardens Engine Startup Dialogs, Selector-Row Guards & Sandbox Diagnostics
Engine CLIs draw interactive prompts before or during a session where a blind keystroke can terminate the session or select an unintended option. Sprint v5.47.0 unifies startup-dialog schema validation and classification across Claude Code and Codex, closes the partial shared-option race between folder trust and bypass-permissions confirmation, adds positive selector-row refusal for mid-session injections, introduces a strictly re-verified per-project opt-in for folder trust, and surfaces restarts and sandbox loopback blocks directly in launch readiness.
Single Validator, Partial-Frame Suspect Hold & Positive Selector-Row Refusal
In W1-A (PR #2711), lib/launch-dialog-guard.js#read was converged onto lib/startup-dialog.js#entryErrors and the shared pane classifier (#2221), eliminating duplicate dialog-schema parsing while adding validated acceptKeys (non-empty array of allowed key tokens) to data/engines/claude.json.
For #2205, Claude Code now declares bypass_permissions_confirm separately from trust_required. Because both screens share the default "No, exit" option, a half-rendered frame showing only "No, exit" is withheld under the neutral startup_screen_suspect code rather than misattributing to folder trust, and glyph-qualified prompt detection prevents option prose (e.g., "2. No, exit") from spoofing the composer boundary.
In W2-A (PR #2713, #2219), lib/startup-dialog.js#_promptRow and lib/startup-dialog.js#withholdFor distinguish a positively observed selector option row (selectorRow: true) from an ambiguous noncomposer frame: any mid-session command or switchboard wake against a live selector row is refused with pane_not_at_prompt (HTTP 409 STARTUP_DIALOG), whereas a located composer draft retains its save-clear-send-restore path.
Default-Off acceptFolderTrust, Staggered Keys & Activity Audit Trail
Building on W1-A and W2-A, W2-B (PR #2712, #2168) introduced the per-project acceptFolderTrust boolean setting (default false) in lib/project-config.js, lib/projects.js, public/index.html, and public/ui.js.
During launch, lib/sessions.js#_acceptsFolderTrust checks whether the project explicitly opted in and whether the live pane positively matches the engine’s trust_required dialog with a valid declared acceptKeys sequence (["Down", "Enter"] for Claude Code).
Before sending each individual key across the staggered key timer, stillOurs() re-verifies that the live session row still belongs to the same launch (treating a store read throw as "not ours") and re-reads the tmux pane to confirm the exact same trust_required dialog is still on screen.
Only after every key in acceptKeys is delivered does TangleClaw record launch.folder_trust_accepted in project activity with the project, directory, session, and dialog id. TangleClaw never writes an engine’s trust state file directly, and all other startup dialogs remain operator decisions.
Actionable Full-Auto Unready Notes & Deferred First-Turn Accounting
In W1-B (PR #2709, #1836), data/engines/codex.json declares that Codex’s fullAuto mode (--full-auto / --sandbox workspace-write) blocks outbound and loopback network access by default. When a Codex fullAuto launch sequence becomes unready with zero HTTP pulls recorded, lib/startup-control-codex.js#loopbackSandboxNote and lib/launch-sequence.js#_loopbackSandboxNote attach a structured likely-cause note and remedy (enable sandbox_workspace_write.network_access = true in ~/.codex/config.toml or switch launch mode), surfaced in both the API and tc start status (lib/tc-verbs.js).
In W1-C (PR #2710, #2193), lib/sessions.js#reconcileDeferredFirstTurnsOnRestart tracks pasteOwed and kickoffOwed alongside hasSequence so a server restart that interrupts a first turn waiting behind a startup dialog records firstTurnDroppedOnRestart on the session (including no-rules and silent-prime launches) while ensuring a dialog that appears after the first turn was already delivered never creates a false drop.
W_closed / T_eng = 10 / 6.85h = 1.46 closed issues/hr · Unit Allocated Cost = C_alloc / W_closed = $16.85 / 10 = $1.69/closed issue ($3.47/kLOC across +4,850 insertions) · Quality = 100% True Merges, 0 Post-Merge Defects.2. Disclosed Legacy Composite Index (
ADE_v1): ADE_v1 = W_closed / (T_eng × C_alloc) = 10 / (6.85h × $16.85) = 0.09. 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 = 6.85h, never a pipelined merge tail) alongside scale-invariant Throughput (1.46 issues/hr).3. 3-Tier Operating Cost Basis: Tier 1 (Measured Marginal Cash):
$0.00 per-run API fee + ~$0.17 M3 Ultra wall power · Tier 2 (Allocated Subscription Pool): $16.85 pro-rata allocation ($440/mo ÷ 178.8 active hrs = $2.46/hr × 6.85h; calendar-hour reference $4.19 @ $0.611/hr) · Tier 3 (Hypothetical API Shadow Estimate): ~$175 (unmetered estimate across ~12.1M tokens → 10.4× subscription compression).
Wave 1–4 Execution Timeline, Hot-Spare Assist & Addenda A483-R1..R12
Sprint v5.47.0 kicked off at 2026-10-29T11:42Z on base 980d53bbe2ad. Between 12:46Z and 13:18Z, the entire 8-session fleet executed an Observer-first 8-hour R3 in-thread procedural refresh with zero /clear calls. After Wave 1 (PR #2709, #2710, #2711) merged to main @ 003f43ae, the Operator authorized cutting and deploying v5.46.1 (`PR #2708`), where TC-Lane-Obsr’s O-Gate caught 4 uncompiled Wave 1 fragments on rebased main and `A482-R10 / A483-R10` compiled all 10 shipped fragments into `v5.46.1` (`c94164b0`). In Wave 2, when `TC-Lane-C` hit a transient upstream Claude quota cap during the final base-merge of `W2-B PR #2712`, `TC-Lane-D` stepped in as hot-spare under signed `A483-R12` and completed the merge in 18 minutes.
| Wave / Lane | PR | Issues | Build Time | Open → Merge | Total Elapsed | Review Rounds & Reviewer Model | Merge Commit / Base SHA |
|---|---|---|---|---|---|---|---|
W1-B (TC-Lane-C) |
#2709 |
#1836 |
13.1m | 100.1m | 113.2m | 2 rounds (PRR-B gpt-6-sol high R1 C3 + Arc A483-R2/R3 CLI text → R2 ACCEPT f836e334) |
a999de3a336a (13:43:13Z) |
W1-C (TC-Lane-D) |
#2710 |
#2193 |
19.5m | 159.5m | 179.0m | 4 rounds (PRR-B gpt-6-sol high R1–R3 false-drop & silent-prime edges + Arc A483-R5 → R4 ACCEPT 793bc02c) |
ae871d8a1076 (14:49:02Z) |
W1-A (TC-Lane-B) |
#2711 |
#2221, #2205 |
56.5m | 196.8m | 253.3m | 4 rounds (PRR-A claude-opus-4-6 + Arc claude-opus-4-7 R1–R3 glyph & candidate ranking → R4 ACCEPT a594d283) |
003f43ae3e8b (16:03:21Z) |
Mid-Sprint Cut (INT + Obsr) |
#2708 |
v5.46.1 Release |
~15.0m | ~45.0m | ~60.0m | 4-Gate Release Verification (Obsr O482-V5461-PR2708-2795363D-HOLD → A482-R10/A483-R10 → O482-V5461-PR2708-04DE03FD-ACCEPT) |
c94164b09555 (17:22:39Z · Tag v5.46.1) |
W2-A (TC-Lane-B) |
#2713 |
#2219 |
39.7m | 57.1m | 96.8m | 1 round (PRR-A R1 ACCEPT + Arc A-W2A-PR2713-DACECFDA-ACCEPT after ancestor sync onto v5.46.1) |
cd09db009a7a (17:40:48Z) |
W2-B (TC-Lane-C + D) |
#2712 |
#2168 |
18.0m | 107.7m | 125.7m | 4 rounds (PRR-B + Arc R1–R3 per-key session/dialog recheck + A483-R12 hot-spare sync → R4 ACCEPT a3e1d68c) |
833b60b4c364 (18:09:45Z) |
W3-REC (TC-Lane-INT) |
#2714 |
Milestone #32 Docs | ~7.0m | 7.8m | 14.8m | 3 rounds (PRR-A + Arc A-Gate on 3eda1bd9 → f24e5bff → 369fb83c · 47/47 test/features-index.test.js) |
aea08798cf01 (18:23:39Z) |
W4-REL (TC-Lane-INT + Obsr) |
#2715 |
Release v5.47.0 Candidate | ~11.0m | ~15.0m | ~26.0m | 4-Gate Release Verification (PRR-B + Tests CI 40932445838 SUCCESS + Arc R-Gate + Obsr O-Gate O483-V5470-PR2715-0E6CE11A-ACCEPT) |
Head 0e6ce11ada2c on Base aea08798cf01 |
All 6 Milestone #32 Issues + W3-REC #2714 & W4-REL #2715
Every issue in Charter A483–A483-R13 is cross-checked below against the exact merged FEATURES.md entries from W3-REC PR #2714 (aea08798cf01) and W4-REL PR #2715 (0e6ce11ada2c). Every cited file path and test file is verified on disk by gen_v547.py.
| Issue | Wave & PR | Category | Deliverable Summary & Canonical Anchors (from FEATURES.md) |
Verification Evidence (On-Disk Verified Test Paths) |
|---|---|---|---|---|
| #1836 | W1-B · #2709 |
Codex Sandbox Diagnostics | Declared in data/engines/codex.json that Codex’s default fullAuto (workspace-write) sandbox blocks loopback network access; gated the diagnostic on unreadyAt in lib/launch-sequence.js#_loopbackSandboxNote and lib/startup-control-codex.js#loopbackSandboxNote; and rendered the likely cause and network-access remedy in tc start status (lib/tc-verbs.js). |
test/codex-launch-modes.test.js, test/startup-control-codex.test.js (shipped in v5.46.1 @ c94164b0) |
| #2193 | W1-C · #2710 |
Restart Drop Recovery | Updated lib/sessions.js#reconcileDeferredFirstTurnsOnRestart to record a first turn interrupted across a server restart while deferred behind a startup dialog (tracking pasteOwed and kickoffOwed across no-rules and silent-prime launches) while ensuring a dialog appearing after a delivered first turn never creates a false drop. |
test/sessions.test.js, test/api-launch-sequences.test.js (shipped in v5.46.1 @ c94164b0) |
| #2221 | W1-A · #2711 |
Unified Dialog Reader | Converged lib/launch-dialog-guard.js#read onto the shared validator and pane classifier in lib/startup-dialog.js#entryErrors, and allowed Claude startup dialog declarations in data/engines/claude.json to specify validated acceptKeys (["Down", "Enter"] on trust_required). |
test/startup-dialog.test.js, test/launch-dialog-guard.test.js (shipped in v5.46.1 @ c94164b0) |
| #2205 | W1-A · #2711 |
Bypass-Permissions Dialog | Declared Claude Code’s bypass_permissions_confirm startup dialog separately from trust_required in data/engines/claude.json, and updated lib/startup-dialog.js and lib/launch-dialog-guard.js so a partial frame showing only their shared option ("No, exit") is withheld as startup_screen_suspect until positively identified. |
test/startup-dialog.test.js, test/launch-dialog-guard.test.js (shipped in v5.46.1 @ c94164b0) |
| #2219 | W2-A · #2713 |
Selector-Row Send Refusal | Updated lib/startup-dialog.js#_promptRow, lib/startup-dialog.js#withholdFor, and data/engines/claude.json so that when a live pane positively shows a selector’s selected row rather than its composer, later command injections and switchboard wakes are withheld with pane_not_at_prompt, while a located draft retains its send-and-clear path. |
test/startup-dialog.test.js (merged to main @ cd09db00 for v5.47.0) |
| #2168 | W2-B · #2712 |
Per-Project Folder Trust Opt-In | Added default-off project setting acceptFolderTrust across lib/project-config.js, lib/projects.js, lib/sessions.js#_acceptsFolderTrust, public/index.html, public/ui.js, and data/engines/claude.json; sends declared acceptKeys at launch only while the engine’s own trust_required dialog is positively visible in the same live session (rechecking session and dialog before each key) and logs launch.folder_trust_accepted in project activity only upon full completion. |
test/projects.test.js, test/project-update-two-phase.test.js (merged to main @ 833b60b4 for v5.47.0; live UI check deferred under A483-R8) |
| W3-REC & W4-REL | #2714 & #2715 |
Docs, Index & Release Prep | Merged W3-REC PR #2714 (aea08798cf01) reconciling all 6 Milestone #32 issues in FEATURES.md, .prawduct/change-log.md, docs/configuration-reference.md, and docs/user-guide.md, and opened W4-REL PR #2715 (0e6ce11ada2c) compiling the 2 Wave 2 fragments (#2219, #2168) into CHANGELOG.md [5.47.0] and writing docs/releases/v5.47-status.md + updating docs/releases/v5.46.1-status.md (A483-R13). |
test/features-index.test.js (47/47 pass · 9 new test anchors verified) + local suite 23,719/23,719 pass on aea08798 |
PR Build vs. Review Timing & 11 True-Positive Pre-Merge Defect Catches
Across 24 GitHub Actions Tests CI runs (100% first-time green) and a 23,719/23,719 full local suite on main @ aea08798, independent exact-SHA reviews by TC-Lane-PRR-A (claude-opus-4-6), TC-Lane-PRR-B (gpt-6-sol high), and TC-Lane-Arc (claude-opus-4-7) caught 11 subtle state-machine, partial-frame, and per-key race defects before a single line reached main.
What Worked, What Didn't & 4-Gate Release Verification
Sprint v5.47.0 validated all five process improvements from v5.46.1 — proving that active Rule #291/#292, the 8-hour R3 in-thread procedural refresh, hot-spare builder failover (A483-R12), and the 4-gate release protocol (`O-Gate` catch on `PR #2708`) work seamlessly under real multi-wave load — while surfacing five targeted guardrails (P38–P42) for v5.48.0.
✅ What Worked Exceptionally Well (Strengths)
1. O-Gate Caught Uncompiled Wave 1 Fragments on Rebased v5.46.1 Release PR #2708
When v5.46.1 W3-REL PR #2708 was rebased onto main @ 003f43ae (after v5.47.0 Wave 1 merged), TC-Lane-Obsr’s O-Gate audit (O482-V5461-PR2708-2795363D-HOLD) ran node scripts/release-prepare.js and caught that the 4 newly merged Wave 1 fragments (#1836, #2193, #2205, #2221) remained in changelog.d/, violating #1220. TC-Lane-PM and TC-Lane-Arc immediately co-signed Addendum A482-R10 / A483-R10 compiling all 10 shipped fragments into v5.46.1 (04de03fd → c94164b0).
2. Zero-Clear 8-Hour R3 In-Thread Procedural Refresh Across All 8 Fleet Sessions
Between 12:46Z and 13:18Z, TC-Lane-PM, TC-Lane-INT, TC-Lane-Obsr, TC-Lane-Arc, TC-Lane-PRR-A, TC-Lane-PRR-B, and the active Builders executed the 8-hour R3 procedural refresh in-thread via tc rules + tc start ready --reconciliation + challenge-token readback with 0 /clear calls and 0 lost work.
3. 18-Minute Hot-Spare Builder Recovery Under Addendum A483-R12
When TC-Lane-C hit an upstream Claude quota cap ("You've hit your limit · resets 2pm") after W2-B PR #2712 was already PRR-B and Arc accepted on a2db8cb0 and needed only an ancestor merge of cd09db00, TC-Lane-PM and TC-Lane-Arc co-signed A483-R12 authorizing idle TC-Lane-D (`gpt-6-sol high`) to fast-forward/merge `origin/main` into `feat/v547-w2b-2168-folder-trust-optin` (`a3e1d68c`) and land `PR #2712` in 18 minutes.
4. 11 True-Positive Pre-Merge Catches Across PRR-A, PRR-B & Arc
Multi-round exact-SHA reviews caught 11 genuine edge cases before merge: unready-gated Codex loopback notes in W1-B; delivered-turn false-drop suppression and no-rules/silent-prime coverage in W1-C; glyph-qualified composer boundary and candidate dialog ranking in W1-A; and per-key session/dialog re-verification and post-loop activity logging in W2-B.
⚠️ What Didn't Work & Proven Fixes (Process & Tooling Friction)
1. Upstream Claude Quota Cap Mid-Wave on Single-Engine Builder Lanes
TC-Lane-C (Claude Opus 4.7) hit an account/window rate limit at 17:45Z right as W2-B PR #2712 needed its final ancestor sync. Although A483-R12 recovered in 18m via TC-Lane-D (Codex gpt-6-sol high), homogeneous engine assignment across Builders creates correlated quota risk. Fix / Guardrail (P38): Balance Builder engines across claude and codex (`gpt-6-sol high`) at batch kickoff and pre-authorize hot-spare ancestor-sync failover in the base charter.
2. Rebased Release PR vs. Next-Sprint Wave 1 Fragments in changelog.d/ (#1220)
When a prior sprint’s release PR (`v5.46.1 PR #2708`) is rebased onto `main` after the next sprint’s Wave 1 PRs have already merged their `changelog.d/*.md` fragments to `main`, `node scripts/release-prepare.js` (`#1220`) rightly refuses to run if any fragment remains in `changelog.d/`. Fix / Guardrail (P39): Cut `W
3. Unstaged package-lock.json Dirtying Builder Working Trees (TC-Lane-B)
During `W1-A` and `W2-A`, `TC-Lane-B`’s working tree accumulated an unstaged `M package-lock.json` modification that caused `tc freshness` to report `1 dirty` after branch merge until cleaned during wrap/re-prep. Fix / Guardrail (P40): Add a pre-PR / post-merge `git checkout -- package-lock.json` check whenever `package.json` is untouched so incidental npm lockfile touches never dirty a lane.
4. 3–4 Review Rounds on State-Machine PRs Due to Implicit Sub-Invariants
`W1-C (#2710)`, `W1-A (#2711)`, and `W2-B (#2712)` each took 4 review rounds (`107m–196m` open-to-merge) because subtle negative invariants (e.g., *"what if a dialog appears AFTER the first turn was delivered?"* or *"what if the dialog disappears between key 1 and key 2 of acceptKeys?"*) were discovered iteratively in review rather than enumerated in the pre-dispatch brief. Fix / Guardrail (P41): Include a 3-bullet *"Negative & Mid-Transition Invariants"* checklist in `TC-Lane-Arc`’s pre-dispatch lane brief for state-machine issues.
4-Gate Release Verification Matrix (Rule #283.5)
| Gate | Owner | Verification Scope | Status & Evidence |
|---|---|---|---|
| Gate 1 · PRR Code & Contract Review | TC-Lane-PRR-A & TC-Lane-PRR-B |
Exact-SHA diff review, negative-path unit tests, and charter scope compliance across all 7 sprint PRs (+ mid-sprint #2708) |
PASS PR #2709 (PRR-B f836e334), PR #2710 (PRR-B 793bc02c), PR #2711 (PRR-A a594d283), PR #2713 (PRR-A dacecfda), PR #2712 (PRR-B a3e1d68c), PR #2714 (PRR-A 369fb83c), and PR #2715 (0e6ce11a) reviewed on exact head SHA. |
| Gate 2 · Automated Test & Full Local Suite Gate | Builder Lanes + TC-Lane-INT |
GitHub Actions Tests CI across all 24 runs + un-waived full local node scripts/test-stage.js all on main @ aea08798 |
PASS 24 / 24 GitHub Actions Tests runs green on first try (including main 40930388163 and W4-REL #2715 40932445838); full local suite on aea08798 passed 23,719 / 23,719 tests (0 failures, 1 skip in 669.4s). |
| Gate 3 · Wave 3 Doc & Feature Index Reconciliation | TC-Lane-INT + TC-Lane-Arc |
FEATURES.md (47/47 test/features-index.test.js), .prawduct/change-log.md, docs/configuration-reference.md, and docs/user-guide.md |
PASS Merged in W3-REC PR #2714 at aea08798cf01a09c7a2ba37069c5a64c63397116 (head 369fb83c14ac); all 9 newly added test anchors and file/symbol citations verified on disk by scripts/verify-features-index.js. |
| Gate 4 · Observer O-Gate & Canonical Report Validation | TC-Lane-Obsr + TC-Lane-PM |
Canonical 8-section HTML report validation (validate-sprint-report.py --all) + on-disk path audit + exact-head W4-REL PR #2715 release truth audit |
PASS (O483-V5470-PR2715-0E6CE11A-ACCEPT) 0 validation errors across all 15 reports (v5.34.0–v5.47.0) + hub index, 100% of cited repo paths verified on disk, and W4-REL PR #2715 (`0e6ce11ada2c`) verified. |
Rule #283 16-Point Governance & Process Audit
| # | Rule #283 Audit Dimension | Verdict | Sprint v5.47.0 Measured Evidence |
|---|---|---|---|
| 1 | Operator Interventions & Causes | PASS | 0 unplanned Operator rescue interventions; Operator participated only at governed release/deploy gates (authorizing v5.46.1 cut/deploy and A483-R8 live browser-check deferral). |
| 2 | Dispatch-to-Merge Timing Breakdown | PASS | W1-B: 13.1m build / 113.2m total; W1-C: 19.5m build / 179.0m total; W1-A: 56.5m build / 253.3m total; W2-A: 39.7m build / 96.8m total; W2-B: 18.0m build / 125.7m total; W3-REC: ~7.0m build / 14.8m total. |
| 3 | Active vs Allowed Builders & Parallelism | PASS | 3/3 assigned Builders active in Wave 1 (TC-Lane-B, C, D) and 2/2 in Wave 2 (TC-Lane-B, C) with TC-Lane-D acting as hot-spare under A483-R12. |
| 4 | Forced Re-Syncs / Rebases When main Moves | PASS | 7 clean ancestor merge-backs across Waves 1–2 (W1-C: 2; W1-A: 2; W2-A: 1; W2-B: 2) with 0 merge conflicts under active Rule #291/#292. |
| 5 | Open PR Age Since Current main | PASS | 0m at merge — every merged PR (#2709, #2710, #2711, #2708, #2713, #2712, #2714) contained current origin/main head at merge time. |
| 6 | CI Red After Ready (#2595 Pre-Push Hook) | PASS | 0 CI reds across all 24 GitHub Actions Tests runs (100% first-time CI pass rate). |
| 7 | PRR Review Rounds & Findings by Severity | PASS | 11 true-positive BLOCKING catches across PRR-A, PRR-B, and Arc (W1-B: 2; W1-C: 3; W1-A: 3; W2-B: 3) + 1 O-Gate hold on PR #2708; 0 false positives. |
| 8 | Post-Merge Defects on main | PASS | 0 post-merge defects on main across all 6 Milestone #32 issues (`23,719/23,719` local suite pass on `aea08798`) and the live v5.46.1 deployment. |
| 9 | Clears, Retries & Stalls | PASS | 0 /clear calls (8/8 sessions refreshed in-thread via R3); 1 upstream Claude quota stall on TC-Lane-C resolved in 18m via A483-R12 hot-spare failover. |
| 10 | Wrong Triage / Scope Fields | PASS | 4 surgical charter scope extensions (A483-R2/R3 adding lib/tc-verbs.js to W1-B; A483-R5 adding test/sessions.test.js to W1-C; A483-R8 deferring live browser verification on W2-B; A483-R13 adding docs/releases/v5.46.1-status.md to W4-REL). |
| 11 | Rule Breaches & Governance Discipline | PASS | 0 rule breaches; every scope extension, fragment consolidation (A482-R10 / A483-R10), hot-spare assist (A483-R12), and status update (A483-R13) was co-signed by TC-Lane-PM and TC-Lane-Arc before execution. |
| 12 | Unlabelled PRs, Dirty Clones & Worktrees | PASS | 0 unlabelled PRs and 0 ownerless worktrees; 1 transient unstaged package-lock.json on TC-Lane-B documented in P40. |
| 13 | Release-Status Lag & Finish-Line Honesty | PASS | 0 premature tag/release claims; W3-REC PR #2714 (`aea08798`) and W4-REL PR #2715 (`0e6ce11a`, `docs/releases/v5.47-status.md`) keep all three v5.47.0 finish lines Pending and explicitly record `#2168`’s live browser check as deferred under `A483-R8`. |
| 14 | Conflict Resolution Time | PASS | 0m (0 merge conflicts across all Wave 1, Wave 2, Wave 3, and Wave 4 branches). |
| 15 | Wakes, Tokens & Turns by Role & Model | PASS | A187.1 quiet routing honored; heterogeneous model pairing (claude-opus-4-7, claude-opus-4-6, gpt-6-sol high, and Gemini 4 Argon) provided both deep code review and quota resilience. |
| 16 | 4 End-of-Sprint Maintenance Gates | PASS | LANE_QUEUE.md kept < 15 KB, v5.46.1 archived to .tangleclaw/lane-queue-archive/, validate-sprint-report.py --all 0 errors across all 15 reports + hub, and 100% of cited repo paths verified on disk. |
Filter & Inspect Every PR, Charter Addendum & Review Round
Use the search box or filter pills below to inspect the exact scope, review rounds, and commit SHAs for all 7 Sprint v5.47.0 PRs (#2709, #2710, #2711, #2713, #2712, #2714, #2715) plus the mid-sprint v5.46.1 release cut (PR #2708).
W1-B · PR #2709 — Explain Codex Full Auto Loopback Isolation on Unready Launches (#1836)
TC-Lane-Cf836e334 → Merge: a999de3a
Delivered #1836 by declaring in data/engines/codex.json that Codex’s default fullAuto (--sandbox workspace-write) mode blocks loopback network access, gating the diagnostic note on unreadyAt in lib/launch-sequence.js#_loopbackSandboxNote and lib/startup-control-codex.js#loopbackSandboxNote, and rendering the likely cause and sandbox_workspace_write.network_access = true remedy in tc start status (lib/tc-verbs.js under A483-R2/R3).
+349 / -4 LOC) · Tests: test/codex-launch-modes.test.js, test/startup-control-codex.test.js · Review: 2 rounds by TC-Lane-PRR-B (gpt-6-sol high caught pre-unready over-reporting in R1 → R2 ACCEPT f836e334) + Arc (A-W1B-PR2709-F836E334-ACCEPT).
W1-C · PR #2710 — Record First Turns Dropped Across Server Restart (#2193)
TC-Lane-D793bc02c → Merge: ae871d8a
Delivered #2193 in lib/sessions.js#reconcileDeferredFirstTurnsOnRestart by tracking pasteOwed and kickoffOwed alongside hasSequence so a server restart that interrupts a first turn deferred behind a startup dialog records the drop against the session (including no-rules and silent-prime launches) while ensuring a dialog appearing after a delivered first turn never creates a false drop.
+774 / -10 LOC) · Tests: test/sessions.test.js (added via A483-R5), test/api-launch-sequences.test.js · Review: 4 rounds by TC-Lane-PRR-B (gpt-6-sol high caught post-delivery false drop, no-rules launches, and silentPrime pasteOwed in R1–R3 → R4 ACCEPT 793bc02c) + Arc (A-W1C-PR2710-793BC02C-ACCEPT).
W1-A · PR #2711 — Unified Startup Dialog Reader (#2221) & Bypass-Permissions Identification (#2205)
TC-Lane-Ba594d283 → Merge: 003f43ae
Delivered #2221 (converging lib/launch-dialog-guard.js#read onto lib/startup-dialog.js#entryErrors and adding validated acceptKeys to data/engines/claude.json) and #2205 (declaring bypass_permissions_confirm separately from trust_required and withholding partial frames showing only their shared "No, exit" option as startup_screen_suspect, with glyph-qualified prompt detection and specificity-ranked dialog matching).
+552 / -143 LOC) · Tests: test/startup-dialog.test.js, test/launch-dialog-guard.test.js · Review: 4 rounds by TC-Lane-PRR-A and TC-Lane-Arc (catching bare promptPattern matching option prose and candidate dialog ordering in R1–R3 → R4 ACCEPT a594d283).
v5.46.1 Cut · PR #2708 — Consolidated 10-Fragment Release Cut & Live Production Activation
TC-Lane-INT + TC-Lane-Obsr04de03fd → Merge: c94164b0
Following the Operator’s mid-sprint authorization to cut and deploy v5.46.1 after Wave 1 merged, TC-Lane-Obsr issued O482-V5461-PR2708-2795363D-HOLD when node scripts/release-prepare.js flagged the 4 newly merged Wave 1 fragments in changelog.d/. Under co-signed Addendum A482-R10 / A483-R10, PR #2708 compiled all 10 shipped fragments (6 v5.46.1 + 4 Wave 1) into CHANGELOG.md [5.46.1], merged at c94164b0, passed GitHub Release workflow 40920741838, and went live on TangleClaw-Builder1 at 17:35Z.
+163 / -113 LOC · 10 fragments consumed) · Gates: PRR-B + Tests CI + Arc R-Gate + Obsr O-Gate (O482-V5461-PR2708-04DE03FD-ACCEPT).
W2-A · PR #2713 — Refuse Later Sends on Positively Identified Selector Rows (#2219)
TC-Lane-Bdacecfda → Merge: cd09db00
Delivered #2219 in lib/startup-dialog.js#_promptRow, lib/startup-dialog.js#withholdFor, and data/engines/claude.json so that when a live pane positively displays a selector’s selected row (selectorRow: true) rather than its composer, later command injections and switchboard wakes are withheld with pane_not_at_prompt (HTTP 409 STARTUP_DIALOG), while an ambiguous noncomposer frame with a located draft retains its save-clear-send-restore path.
+197 / -45 LOC) · Tests: test/startup-dialog.test.js · Review: 1 round by TC-Lane-PRR-A (R1 ACCEPT) + Arc (A-W2A-PR2713-DACECFDA-ACCEPT).
W2-B · PR #2712 — Per-Project Opt-In to Accept Folder Trust Dialog at Launch (#2168)
TC-Lane-C + TC-Lane-Da3e1d68c → Merge: 833b60b4
Delivered #2168 across lib/project-config.js, lib/projects.js, lib/sessions.js#_acceptsFolderTrust, public/index.html, public/ui.js, and data/engines/claude.json: adds default-off acceptFolderTrust, sends declared acceptKeys only when the engine’s trust_required dialog is positively visible in the live session, re-verifies stillOurs() and the live dialog before each staggered key, and logs launch.folder_trust_accepted only after all keys succeed. Completed via TC-Lane-D hot-spare base-merge assist under A483-R12.
+654 / -2 LOC) · Tests: test/projects.test.js, test/project-update-two-phase.test.js · Review: 4 rounds by TC-Lane-PRR-B + Arc (A-W2B-PR2712-A3E1D68C-ACCEPT; live browser check deferred to post-deploy v5.47.0 under A483-R8).
W3-REC · PR #2714 — Milestone #32 Records Reconciliation in FEATURES.md & Operator Guides
TC-Lane-INT369fb83c → Merge: aea08798
Reconciled all 6 Milestone #32 issues in FEATURES.md, .prawduct/change-log.md, docs/configuration-reference.md, and docs/user-guide.md, recording that Wave 1 (#1836, #2193, #2205, #2221) shipped in v5.46.1 at c94164b0 while Wave 2 (#2219, #2168) retained its changelog fragments for v5.47.0, qualifying lib/startup-dialog.js#_promptRow, #check, and #withholdFor for positive selector-row evidence, and documenting acceptFolderTrust and pane_not_at_prompt troubleshooting.
+34 / -7 LOC · 47/47 test/features-index.test.js pass · 9 new test anchors verified by scripts/verify-features-index.js) · Review: 3 rounds by TC-Lane-PRR-A + Arc A-Gate → merged at aea08798cf01; full local suite passed 23,719/23,719 tests on aea08798.
W4-REL · PR #2715 — Release v5.47.0 Candidate Preparation & A483-R13 Status Verification
TC-Lane-INT + TC-Lane-Obsr0e6ce11a on Base: aea08798
Prepared release/v5.47.0-prep (PR #2715 @ 0e6ce11ada2c3d950c21dda179e9cda0d3f7da45) on W3-REC-merged main @ aea08798cf01: compiles and consumes the two remaining Wave 2 fragments (#2168, #2219) into CHANGELOG.md [5.47.0] (cross-referencing Wave 1 in v5.46.1), bumps version.json to 5.47.0, updates README.md clone pins and test/fixtures/changelog-released-sections.lock.json (b1d052d545ed312d) via scripts/release-prepare.js, writes docs/releases/v5.47-status.md with all three finish lines Pending (and #2168 browser check explicitly deferred under A483-R8), and updates docs/releases/v5.46.1-status.md under Addendum A483-R13 with the verified v5.46.1 tag, GitHub Release, and live deployment readbacks.
+82 / -31 LOC · 2 fragments consumed) · Gates: Tests CI 40932445838 SUCCESS + PRR-B + Arc R-Gate + Obsr O-Gate (O483-V5470-PR2715-0E6CE11A-ACCEPT).
6 Actionable Upgrades for Sprint v5.48.0 (Charter A484)
Building on v5.47.0’s 100% first-time CI pass rate, zero-clear 8-hour R3 refresh, and 18-minute hot-spare builder recovery, these six targeted guardrails (P38–P42 + post-deploy #2168 live verification) further harden fleet resilience and cut multi-round review latency.
Mix Claude & Codex Builder Engines + Pre-Authorize Ancestor-Sync Assist
Assign Builder lanes across at least two distinct engine families (claude-opus-4-7 and codex gpt-6-sol high) at sprint kickoff so an upstream provider quota cap cannot stall an entire wave, and include the A483-R12 hot-spare ancestor-sync clause as a standing charter provision whenever a PR already holds PRR + Arc ACCEPT.
Sequence W-REL Before Next-Sprint Wave 1 Merges or Run release-prepare.js First
Prevent mid-sprint changelog.d/ fragment collisions (#1220) by either merging a ready W<N>-REL PR before merging the next sprint’s Wave 1 PRs to main, or requiring TC-Lane-INT to run node scripts/release-prepare.js immediately after any W<N>-REL rebase before requesting PRR/R-Gate/O-Gate review.
Restore Incidental Lockfile Touches When package.json Is Untouched
Add a standing pre-PR and post-merge check (git diff --name-only) so that if package-lock.json is modified while package.json is untouched, the Builder runs git checkout -- package-lock.json immediately—keeping tc freshness at 0 dirty across wave transitions.
Cut 4-Round State-Machine Reviews to 1–2 Rounds via Upfront Edge Enumeration
Include a 3-bullet "Negative & Mid-Transition Invariants" section in TC-Lane-Arc’s pre-dispatch lane brief for state-machine issues (enumerating post-delivery events, partial renders, and mid-sequence state changes upfront) to cut open-to-merge review cycles by 40–50%.
Verify Project Settings acceptFolderTrust Toggle on Live v5.47.0 Install
Immediately after v5.47.0 (`W4-REL`) is deployed to the live server (`http://localhost:3100`), execute the deferred `A483-R8` interactive browser check on Project Settings → **Accept the folder-trust dialog at launch**, confirming round-trip persistence and default-off state.
Complete Stage 5 Timeout Calibration (#2706) & Operator-Gated Global-Rules Mirror
Carry forward the two tracked housekeeping items from v5.46.1: calibrate the Stage 5 --test-timeout in scripts/test-stage.js#tierArgv under #2706, and land the standalone data/global-rules.md + CLAUDE.md mirror PR with Operator PUT /api/rules/global evidence (A482-R5).