v5.47.1: Antigravity Composer Line-Kill (C-a C-k), Immediate Unaccepted-Wake Re-Arm & Remaining Observation-Gap Chaining
Sprint v5.47.1 ("Medusa wake delivery", Charter A484–A484-R1, Base main @ 1e8e2df417e1 / tag: v5.47.0) closed Issue #2716 across 3 execution waves: Wave 1 Car 1 (W1-A PR #2717, merged at 7e9848037361, head 8b891bc6272a), Wave 2 Records Reconciliation (W2-REC PR #2718, merged at d880cbc0c314, head 1fbb3390bb8e), and Wave 3 Release Preparation (W3-REL PR #2719, merged at 67017dd5a700 as tag: v5.47.1; all three finish lines — Code released, Production updated @ 67017dd5, and Feature activated via live Antigravity wake 928f094d657a — verified Complete; unrelated #2168 browser check from v5.47.0 remains deferred).
Issue #2716 eliminated two live fleet friction defects discovered during the v5.47.0 sprint:
(1) Stranded Switchboard Nudge Residue in Antigravity: lib/tmux.js#clearPromptLine previously sent C-u unconditionally to clear a stranded [TangleClaw Switchboard] ... (wake ref ...) line before re-injecting a wake; however, Antigravity’s top-level viewport intercepts Ctrl+U as KeyHalfPageUp rather than forwarding it to the embedded charmbracelet/bubbles/textarea composer, leaving the old prompt text in place and causing repeated stranded-nudge-residue deferrals. lib/tmux.js#_lineKill now sends C-a C-k (LineStart + DeleteAfterCursor) when engineId === 'antigravity' while preserving C-u for all other engines.
(2) Prompt Recovery After wake_not_accepted (nonce-in-composer): When Enter fails to submit a wake and lib/medusa-wake.js#_verifyWake records wake_not_accepted, it now invokes lib/medusa-watchdog.js#rearmWorkspace immediately instead of waiting up to 30s for the periodic watchdog timer, and lib/medusa-wake.js#_bookFollowUp schedules a timer for the exact remaining MIN_OBSERVATION_GAP_MS (4,000 ms) observation gap and chains the second at-rest prompt look so the retry fires in ~8s without waiting for a periodic poll tick.
Participant Disclosure (Rule #283): TC-Lane-Obsr operated as an in-test sprint participant whose telemetry, pre-merge audits, and O-Gate verification lanes could read during execution.
What v5.47.1 Does in Everyday Terms — and How the Team Built It
🛠️ What We Shipped (Reliable Wake-Up Messages for Antigravity & Faster Retries)
1. Clearing stuck wake-up text in Antigravity using the right shortcut keys (#2716 Part 1):
Sometimes TangleClaw types a short wake-up notification into an AI agent’s chat box, but the agent’s screen is briefly busy when TangleClaw presses Enter—leaving that notification sitting unsubmitted in the input box. Before trying again, TangleClaw clears the input box. Previously, TangleClaw always pressed Ctrl+U to erase the line, which works in standard terminals (like Claude Code and Codex) but in Antigravity actually scrolls the chat history half a page up instead of clearing the text! Because the old text stayed in the box, TangleClaw refused to type over it and got stuck waiting. In v5.47.1, TangleClaw uses Antigravity’s native clear-line keys (Ctrl+A to jump to the start of the line, then Ctrl+K to delete to the end) while keeping Ctrl+U for all other engines.
2. Retrying missed wake-ups in ~8 seconds instead of waiting up to a full minute (#2716 Part 2):
When TangleClaw notices that a wake-up message wasn’t accepted by the agent’s input box, it used to wait up to 30 seconds for a background watchdog timer to notice, and then wait again for periodic background checks before re-sending. In v5.47.1, the moment a wake-up attempt isn’t accepted, TangleClaw immediately triggers its safety budget check and schedules the exact 4-second quiet-screen checks needed to retry right away—recovering missed wake-ups in ~8 seconds while keeping all existing retry limits and cooldown rules intact.
⚡ How the Sprint Ran (Tight Start-Gate & Timing-Precision Review)
1. Focused 1-car point-patch sprint completed in ~2 hours with zero post-merge bugs:
Charter A484 ran as a surgical point patch on top of v5.47.0. Builder lane TC-Lane-B opened PR #2717 just 28 minutes after kickoff and merged it with zero merge conflicts and zero post-merge defects on main, followed 2.6 minutes later by the documentation index update (W2-REC PR #2718).
2. Two critical quality catches before merge (Start-Gate + 4-second timing review):
First, at sprint kickoff, the Integrator’s start-gate check caught that the Builder’s workspace had started editing on an older commit before pulling v5.47.0, and cleanly rebased the work before the PR even opened. Second, during code review, the Integrator and Architect caught a subtle timing bug where an immediate retry check ran 1.2 seconds after the failed attempt—too early for TangleClaw’s 4-second minimum quiet-screen rule—and made sure the timer waits the exact remaining gap and chains both required screen checks automatically.
How v5.47.1 Solves Stranded Antigravity Nudges & Unaccepted Medusa Wake Recovery
During v5.47.0 live operations, two interacting behaviors delayed switchboard wake delivery on Antigravity and other busy panes: first, when a switchboard nudge was left unsubmitted in an Antigravity composer, clearPromptLine sent C-u, which Antigravity’s viewport consumed as half-page scroll-up instead of clearing the composer; second, when _verifyWake detected nonce-in-composer and recorded wake_not_accepted, recovery waited for the periodic 30-second watchdog timer and periodic wake poll ticks. Sprint v5.47.1 fixes both root causes cleanly across three modules.
Antigravity Composer C-a C-k vs. Readline C-u
In Antigravity’s TUI, the top-level viewport intercepts Ctrl+U (C-u) as KeyHalfPageUp before it reaches the embedded charmbracelet/bubbles/textarea composer widget. As a result, calling clearPromptLine on a stranded [TangleClaw Switchboard] ... (wake ref <nonce>) line scrolled the pane upward while leaving the stranded nudge text intact inside the composer, causing subsequent wake scans to repeatedly defer with stranded-nudge-residue.
In W1-A (PR #2717), lib/tmux.js#_lineKill(engineId) returns ['C-a', 'C-k'] (LineStart + DeleteAfterCursor in bubbles/textarea) when engineId === 'antigravity' and ['C-u'] for all other engines. Both clearPromptLine(sessionName, engineId) and clearDraftAndSendLiteral(sessionName, text, opts) thread engineId from lib/medusa-wake.js so Antigravity composers are cleared deterministically before retry.
Zero-Wait Handoff from _verifyWake to Bounded Watchdog Re-Arm
Previously, when lib/medusa-wake.js#_verifyWake inspected the pane VERIFY_DELAY_MS (1,200 ms) after injection and saw the wake nonce still sitting in the composer (nonce-in-composer), it recorded a durable wake_not_accepted receipt in medusa_wake_state and exited—leaving the workspace un-armed until the periodic MedusaWatchdog timer ran up to 30,000 ms later.
In v5.47.1, lib/medusa-watchdog.js#rearmWorkspace(workspaceId) exposes the single-workspace durable re-arm check, and server.js wires onWakeNotAccepted: (wsId) => medusaWatchdog.rearmWorkspace(wsId) into MedusaWakeMonitor.
The moment _verifyWake records wake_not_accepted, it invokes onWakeNotAccepted(wsId) synchronously, running the exact same durable budget (maxRearms = 5), exponential backoff (minRearmAgeMs), and unread-message checks that the periodic watchdog uses on server restart.
Bridging the 4,000 ms Minimum Observation Gap & Two At-Rest Prompt Looks
Re-arming immediately at t = +1,200 ms after injection exposed a subtle timing interaction caught during B-Gate review: rearmWorkspace calls wakeMonitor.requestScan(), which fires an immediate look at t = +1,200 ms. However, _observePane enforces MIN_OBSERVATION_GAP_MS = 4,000 ms between valid looks (recorded at injection time t = 0), so the look at +1,200 ms returns gap < minGap and was previously dropped without booking a follow-up timer!
In lib/medusa-wake.js#_bookFollowUp(wsId, gapDone, delayMs), when a prompt look is rejected solely because gap < minGap (`reason === 'min-observation-gap'`), the monitor books a timer for the exact remaining gap (minGap - gap, ~2,800 ms) as a prompt look (_promptLook.add(wsId)), and once that first at-rest look succeeds at t ≈ +4,000 ms, chains the second at-rest look at t ≈ +8,000 ms to clear the residue and deliver the wake without waiting for any periodic poll tick.
W_closed / T_eng = 6 / 4.55h = 1.32 closed issues/hr · Unit Allocated Cost = C_alloc / W_closed = $11.19 / 6 = $1.86/closed issue ($4.78/kLOC across +2,340 insertions) · Quality = 100% True Merges, 0 Post-Merge Defects.2. Disclosed Legacy Composite Index (
ADE_v1): ADE_v1 = W_closed / (T_eng × C_alloc) = 6 / (4.55h × $11.19) = 0.12. 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 = 4.55h, never a pipelined merge tail) alongside scale-invariant Throughput (1.32 issues/hr).3. 3-Tier Operating Cost Basis: Tier 1 (Measured Marginal Cash):
$0.00 per-run API fee + ~$0.11 M3 Ultra wall power · Tier 2 (Allocated Subscription Pool): $11.19 pro-rata allocation ($440/mo ÷ 178.8 active hrs = $2.46/hr × 4.55h; calendar-hour reference $2.78 @ $0.611/hr) · Tier 3 (Hypothetical API Shadow Estimate): ~$113 (unmetered estimate across ~7.8M tokens → 10.1× subscription compression).
Wave 1–3 Execution Timeline (20:39Z → 22:55Z) & Charter A484 / A484-R1
Sprint v5.47.1 kicked off at 2026-10-29T20:39Z immediately after v5.47.0 (1e8e2df417e1) was tagged and released. At 20:39Z, TC-Lane-INT’s start-gate check caught that TC-Lane-B had started editing lib/tmux.js on pre-v5.47.0 commit cd09db00; TC-Lane-INT issued a blocking preserve-and-rebase directive, and TC-Lane-B rebased cleanly onto 1e8e2df4 before opening W1-A PR #2717 at 21:07:15Z (28.1m build). Across two thorough review rounds with TC-Lane-PRR-A, TC-Lane-INT, and TC-Lane-Arc, TC-Lane-B refined _bookFollowUp so an in-gap retry schedules the exact remaining 4,000 ms gap as a prompt look, merging PR #2717 at 22:42:20Z (7e9848037361). Just 2.6 minutes later (22:44:57Z), TC-Lane-INT opened W2-REC PR #2718 (1fbb3390bb8e).
| Wave / Lane | PR | Issues | Build Time | Open → Merge | Total Elapsed | Review Rounds & Gate Verdicts | Merge Commit / Head SHA |
|---|---|---|---|---|---|---|---|
W1-A (TC-Lane-B) |
#2717 |
#2716 |
28.1m | 95.1m | 123.2m | 2 rounds across PRR-A (claude-opus-4-6), INT B-Gate (claude-opus-4-7), & Arc A-Gate (c4206aba → 8b891bc6 · R2 ACCEPT) |
7e9848037361 (22:42:20Z · Head 8b891bc6272a) |
W2-REC (TC-Lane-INT) |
#2718 |
#2716 Docs/Index |
2.6m | 10.4m | 13.0m | 1 round (INT B-Gate + Arc A-Gate ACCEPT on 1fbb3390bb8e · 47/47 test/features-index.test.js · CI 40968195995 green) |
d880cbc0c314 (22:55:20Z · Head 1fbb3390bb8e) |
W3-REL (TC-Lane-INT + Obsr) |
#2719 |
Release v5.47.1 Cut & Deploy |
2.7m | 13.2m | 15.9m | 4-Gate Release Verification (Tests CI 40969764540 SUCCESS + PRR-A + Arc R-Gate + Obsr O-Gate O484-V5471-PR2719-399A67D2-ACCEPT) |
67017dd5a700 (23:11:13Z · Tag v5.47.1 · Live Deploy 00:18:35Z) |
Issue #2716 Sub-Deliverables + W2-REC #2718 & W3-REL Release Scope
Every deliverable in Charter A484–A484-R1 is cross-checked below against the exact FEATURES.md entry in W2-REC PR #2718 (1fbb3390bb8e) and merged W1-A PR #2717 (7e9848037361). Every cited file path and test file is verified on disk by gen_v5471.py.
| Deliverable | Wave & PR | Category | Deliverable Summary & Canonical Anchors (from FEATURES.md) |
Verification Evidence (On-Disk Verified Test Paths) |
|---|---|---|---|---|
| #2716 (Part 1) | W1-A · #2717 |
Antigravity Line-Kill Keys | Updated lib/tmux.js#_lineKill, lib/tmux.js#clearPromptLine, and lib/tmux.js#clearDraftAndSendLiteral (called by lib/medusa-wake.js) so an Antigravity prompt with a stranded switchboard nudge or draft is cleared with its composer keys (C-a C-k) before retry, while all other engines retain C-u. |
test/tmux.test.js, test/medusa-wake.test.js (merged at 7e9848037361) |
| #2716 (Part 2) | W1-A · #2717 |
Immediate Watchdog Re-Arm | Added lib/medusa-watchdog.js#rearmWorkspace and wired onWakeNotAccepted in lib/medusa-wake.js#_verifyWake so recording a wake_not_accepted receipt (nonce-in-composer) immediately triggers the existing durable re-arm budget (maxRearms), backoff age (minRearmAgeMs), and unread-mail check without waiting for the 30-second periodic watchdog tick. |
test/medusa-watchdog.test.js, test/medusa-wake.test.js (merged at 7e9848037361) |
| #2716 (Part 3) | W1-A · #2717 |
Observation-Gap Chaining | Updated lib/medusa-wake.js#_bookFollowUp so when an immediate re-arm scan lands inside the 4,000 ms MIN_OBSERVATION_GAP_MS window after the failed attempt, the wake monitor schedules the exact remaining observation gap as a prompt look and chains the two at-rest looks needed to retry without waiting for a periodic poll tick. |
test/medusa-wake.test.js, test/medusa-wake-exchange-proof.test.js (merged at 7e9848037361) |
| W2-REC | W2-REC · #2718 |
Feature Index & Change-Log | Updated FEATURES.md (under Switchboard & Inter-Session Messaging) and .prawduct/change-log.md with the canonical #2716 entry anchoring lib/tmux.js#_lineKill, lib/medusa-watchdog.js#rearmWorkspace, lib/medusa-wake.js#_verifyWake, and lib/medusa-wake.js#_bookFollowUp plus all 4 test files. |
test/features-index.test.js (47/47 pass · CI run 40968195995 SUCCESS on 1fbb3390bb8e) |
| W3-REL | W3-REL · #2719 |
Release v5.47.1 & Live Activation |
Consumed changelog.d/2716.antigravity-residue-and-immediate-rearm.fixed.md into CHANGELOG.md [5.47.1], bumped version.json to 5.47.1, updated README.md clone pins, .prawduct/change-log.md, and test/fixtures/changelog-released-sections.lock.json (739f8d94653857df) via scripts/release-prepare.js, and wrote docs/releases/v5.47.1-status.md. Merged at 67017dd5a700 (tag: v5.47.1); all 3 v5.47.1 finish lines verified Complete: Code released (v5.47.1 @ 67017dd5), Production updated (/api/server-info 5.47.1 @ 67017dd5, isStale=false at 2026-10-30T00:18:35Z), and Feature activated (live Antigravity wake delivery 928f094d657a verified composer _lineKill and immediate re-arm path in production; unrelated #2168 browser check remains deferred). |
scripts/release-prepare.js + CI 40969764540 SUCCESS + O484-V5471-PR2719-399A67D2-ACCEPT + Live Wake 928f094d657a |
W1-A Commit-by-Commit Timing & How B-Gate + A-Gate Caught the 4s In-Gap Drop
In W1-A (PR #2717), initial implementation took just 28.1 minutes (c4206aba). While PRR-A accepted c4206aba on Round 1, TC-Lane-INT’s B-Gate and TC-Lane-Arc’s A-Gate inspected the real timing interaction between _verifyWake (1,200 ms) and MIN_OBSERVATION_GAP_MS (4,000 ms), catching three subtle timing & state-flag details across be8b7002 → 03a33cad → a80865e7 before merge.
What Worked, What Didn't & 4-Gate Release Verification
Sprint v5.47.1 demonstrated the value of multi-gate exact-SHA review (`PRR-A I-Gate` + `INT B-Gate` + `Arc A-Gate`) and strict start-gate freshness verification, catching a stale-base edit before PR creation and closing an in-gap observation timer subtlety before `PR #2717` landed on `main`.
✅ What Worked Exceptionally Well (Strengths)
1. Start-Gate Freshness Check Caught Stale-Base Edit Before PR Creation
At 20:39Z kickoff, TC-Lane-INT’s start-gate check inspected tc freshness across the fleet and caught that TC-Lane-B had already modified lib/tmux.js on stale commit cd09db00 (3 commits behind v5.47.0 @ 1e8e2df4). TC-Lane-INT issued an immediate blocking preserve-and-rebase directive, and TC-Lane-B rebased onto 1e8e2df4 in 4 minutes with zero lost work.
2. B-Gate & A-Gate Caught the 4-Second Observation-Gap Timing Edge Case
Even though TC-Lane-PRR-A accepted initial commit c4206aba on Round 1, TC-Lane-INT’s B-Gate and TC-Lane-Arc’s A-Gate traced the real millisecond timeline from injection (t = 0) through _verifyWake (t = +1,200 ms) into _observePane (MIN_OBSERVATION_GAP_MS = 4,000 ms), catching both that the in-gap scan was dropped and that the deferred timer needed to preserve _promptLook to chain Look #2 automatically.
3. End-to-End Exchange-Proof Regression Coverage
In addition to unit tests in test/tmux.test.js, test/medusa-wake.test.js, and test/medusa-watchdog.test.js, PR #2717 expanded test/medusa-wake-exchange-proof.test.js with an end-to-end test proving that when attempt #1 fails with nonce-in-composer under the real 4,000 ms minimum observation gap and no periodic wake or watchdog timers, attempt #2 completes and delivers the wake via the chained follow-up timers alone.
4. 2.6-Minute Wave 2 Reconciliation & Clear W3-REL Ownership Boundary
TC-Lane-INT opened W2-REC PR #2718 (1fbb3390bb8e) just 2.6 minutes after W1-A PR #2717 merged, passing 47/47 test/features-index.test.js checks on the first run, and explicitly coordinated with TC-Lane-Obsr so TC-Lane-INT owns 100% of W3-REL repository files while TC-Lane-Obsr owns the external HTML/Markdown sprint reports and O-Gate verification.
⚠️ What Didn't Work & Proven Fixes (Process & Tooling Friction)
1. Builder Started Editing Before Pulling Newly Released v5.47.0 Base
When transitioning rapidly from v5.47.0 wrap to v5.47.1 kickoff, TC-Lane-B began editing lib/tmux.js while its checkout was still on cd09db00 instead of running git fetch origin main && git checkout -B ... origin/main first. Fix / Guardrail (P43): Builders must execute git fetch origin main && git rev-parse HEAD origin/main and verify exact match with the Charter base SHA before touching any file.
2. PRR-A Round 1 Missed the Cross-Timer Interaction Between _verifyWake and _observePane
TC-Lane-PRR-A accepted c4206aba because the unit tests in c4206aba used minObservationGapMs: 0, masking the fact that in production VERIFY_DELAY_MS (1,200 ms) is smaller than MIN_OBSERVATION_GAP_MS (4,000 ms). Fix / Guardrail (P44): Timer and state-machine tests must include at least one test using production-ratio constants (verifyDelayMs < minObservationGapMs) rather than zeroed gaps.
3. Intermediate Fix Commit (be8b7002) Pushed Before Running Exchange-Proof Test Locally
Commit be8b7002 booked a full minGap delay instead of the remaining minGap - gap delay and broke an assertion in test/medusa-wake-exchange-proof.test.js, causing 1 red CI run (40960015900) before 03a33cad fixed it 22 minutes later. Fix / Guardrail (P45): Run all sibling test files in the same subsystem (test/medusa-*.test.js) locally before pushing a review-round fix commit.
4. Review-Process Attribution in Code Comments Needed Cleanup Commit (8b891bc6)
Commit a80865e7 included review-round commentary in source comments, requiring a follow-up cleanup commit (8b891bc6) to keep shipped comments focused on domain invariants. Fix / Guardrail (P46): Code comments must explain timeless product invariants (why the code works this way), never PR review round history.
4-Gate Release Verification Matrix (Rule #283.5)
| Gate | Owner | Verification Scope | Status & Evidence |
|---|---|---|---|
| Gate 1 · I-Gate (PRR Code & Contract Review) | TC-Lane-PRR-A |
Exact-SHA diff review, unit/integration test coverage, and charter scope compliance across W1-A #2717 and W3-REL |
PASS W1-A PR #2717 reviewed and accepted on final head 8b891bc6272a (I-Gate ACCEPT). |
| Gate 2 · B-Gate (Integrator Verification & CI Gate) | TC-Lane-INT |
Exact-head GitHub Actions Tests CI + timing/invariant audit across W1-A #2717, W2-REC #2718, and W3-REL |
PASS Caught the 4s in-gap drop in R1, verified final head 8b891bc6272a CI 40965856907 SUCCESS, and verified W2-REC #2718 (1fbb3390bb8e) CI 40968195995 SUCCESS. |
| Gate 3 · A-Gate / R-Gate (Architect Invariant & Records Gate) | TC-Lane-Arc |
Architectural invariant sign-off on W1-A #2717, FEATURES.md symbol/test anchor verification on W2-REC #2718, and R-Gate on W3-REL |
PASS Verified _promptLook chaining on 8b891bc6272a and accepted W2-REC PR #2718 (1fbb3390bb8e · 47/47 test/features-index.test.js). |
| Gate 4 · O-Gate (Observer Canonical Report & Release Audit) | TC-Lane-Obsr + TC-Lane-PM |
Canonical 8-section HTML report + Plain-English Summary + non-clipped bar charts (validate-sprint-report.py --all) + on-disk path audit + exact-head W3-REL PR #2719 audit |
PASS (O484-V5471-PR2719-399A67D2-ACCEPT) 0 validation errors across all 16 reports (v5.34.0–v5.47.1) + hub index; 100% of cited repository paths verified on disk; W3-REL PR #2719 (399a67d2badf on d880cbc0c314) verified with all 3 finish lines accurately Pending. |
Rule #283 16-Point Governance & Process Audit
| # | Rule #283 Audit Dimension | Verdict | Sprint v5.47.1 Measured Evidence |
|---|---|---|---|
| 1 | Operator Interventions & Causes | PASS | 0 unplanned Operator rescue interventions; Operator chartered v5.47.1 point patch (#2716) and sprint report clarity upgrades (Plain-English Summary + unclipped bar charts). |
| 2 | Dispatch-to-Merge Timing Breakdown | PASS | W1-A (#2717): 28.1m build / 95.1m open-to-merge / 123.2m total elapsed; W2-REC (#2718): 2.6m build after W1-A merge / ~14.6m total. |
| 3 | Active vs Allowed Builders & Parallelism | PASS | 1/1 chartered Builder lane (TC-Lane-B) active for the single-car Wave 1 point patch; TC-Lane-C and TC-Lane-D held cleanly on standby. |
| 4 | Forced Re-Syncs / Rebases When main Moves | PASS | 1 pre-PR start-gate rebase of TC-Lane-B from cd09db00 onto v5.47.0 @ 1e8e2df4; 0 mid-PR rebases needed as W1-A was the sole Wave 1 car. |
| 5 | Open PR Age Since Current main | PASS | 0m at merge — W1-A PR #2717 was based directly on 1e8e2df417e1 and merged fast-forward-cleanly as 7e9848037361; W2-REC PR #2718 based directly on 7e9848037361. |
| 6 | CI Red After Ready (#2595 Pre-Push Hook) | PASS | 6 / 7 PR & branch Tests CI runs green on first try; 1 intermediate review-round commit (be8b7002, run 40960015900) failed medusa-wake-exchange-proof.test.js and was fixed in 03a33cad (documented in P45). |
| 7 | PRR Review Rounds & Findings by Severity | PASS | 3 true-positive B-Gate / A-Gate catches on W1-A #2717 (in-gap retry timer, remaining gap math minGap - gap, and _promptLook preservation) + 1 comment-hygiene polish; 0 false positives. |
| 8 | Post-Merge Defects on main | PASS | 0 post-merge defects on main @ 7e9848037361. |
| 9 | Clears, Retries & Stalls | PASS | 0 /clear calls and 0 lane stalls across all active sessions. |
| 10 | Wrong Triage / Scope Fields | PASS | 1 proactive pre-Wave-3 scope addendum (A484-R1) adding docs/releases/v5.47-status.md to W3-REL so v5.47.0 release readbacks land cleanly alongside v5.47.1 prep. |
| 11 | Rule Breaches & Governance Discipline | PASS | 0 rule breaches; TC-Lane-Obsr strictly honored the Rule #283 write boundary and confirmed TC-Lane-INT’s sole file ownership of W3-REL. |
| 12 | Unlabelled PRs, Dirty Clones & Worktrees | PASS | 0 unlabelled PRs and 0 lingering dirty worktrees after the 20:39Z start-gate rebase. |
| 13 | Release-Status Lag & Finish-Line Honesty | PASS | 0 premature release claims; docs/releases/v5.47.1-status.md recorded all 3 finish lines Pending pre-merge, and after PR #2719 merged (67017dd5, tag: v5.47.1), live production updated (00:18:35Z), and live Antigravity wake delivery 928f094d657a succeeded, all three v5.47.1 finish lines (Code released, Production updated, Feature activated) are verified Complete (while unrelated #2168 browser check remains deferred). |
| 14 | Conflict Resolution Time | PASS | 0m (0 merge conflicts across all waves). |
| 15 | Wakes, Tokens & Turns by Role & Model | PASS | A187.1 quiet routing honored; multi-gate review across claude-opus-4-6 (PRR-A), claude-opus-4-7 (INT / Arc / PM), and Gemini 4 Argon (Obsr). |
| 16 | 4 End-of-Sprint Maintenance Gates | PASS | LANE_QUEUE.md kept compact, validate-sprint-report.py --all 0 errors across all 16 reports (v5.34.0–v5.47.1) + hub index, Plain-English Summary + unclipped bar charts enforced by validator, and 100% of cited repo paths verified on disk. |
Filter & Inspect Every v5.47.1 Sub-Deliverable, Gate Catch & Release Wave
Use the search box or filter pills below to inspect the exact code symbols, test files, review rounds, and commit SHAs across W1-A PR #2717, W2-REC PR #2718, and W3-REL.
W1-A Pt 1 · PR #2717 — Engine-Aware Antigravity Composer Line-Kill (lib/tmux.js#_lineKill)
TC-Lane-B8b891bc6 → Merge: 7e984803
Eliminated stranded-nudge-residue loops on Antigravity workspaces by adding lib/tmux.js#_lineKill(engineId): sends ['C-a', 'C-k'] (LineStart + DeleteAfterCursor in charmbracelet/bubbles/textarea) when engineId === 'antigravity' instead of C-u (which Antigravity’s viewport intercepts as KeyHalfPageUp), while preserving ['C-u'] for all other engines. Threaded engineId through clearPromptLine and clearDraftAndSendLiteral in lib/medusa-wake.js.
lib/tmux.js, lib/medusa-wake.js · Tests: test/tmux.test.js, test/medusa-wake.test.js · Issue: #2716.
W1-A Pt 2 · PR #2717 — Immediate Watchdog Re-Arm on wake_not_accepted (rearmWorkspace)
TC-Lane-B8b891bc6 → Merge: 7e984803
Added lib/medusa-watchdog.js#rearmWorkspace(workspaceId) and wired onWakeNotAccepted in lib/medusa-wake.js#_verifyWake (and server.js) so that when Enter fails to submit a wake and nonce-in-composer is recorded as wake_not_accepted, the watchdog’s bounded durable re-arm check runs immediately rather than waiting up to 30s for the periodic watchdog timer—preserving maxRearms budget, backoff age, restart durability, and unread-mail isolation.
lib/medusa-watchdog.js, lib/medusa-wake.js · Tests: test/medusa-watchdog.test.js, test/medusa-wake.test.js · Issue: #2716.
W1-A Pt 3 · PR #2717 — Remaining Observation-Gap Timer & 2-Look Chaining (_bookFollowUp)
TC-Lane-B8b891bc6 → Merge: 7e984803
Updated lib/medusa-wake.js#_bookFollowUp(wsId, gapDone, delayMs) and _scanWorkspace so that when rearmWorkspace’s immediate scan at t = +1,200 ms lands inside MIN_OBSERVATION_GAP_MS (4,000 ms), the monitor books a timer for the exact remaining gap (minGap - gap, ~2,800 ms), preserves _promptLook.add(wsId) across the in-gap wait, and chains the second at-rest look (+4,000 ms) to retry in ~8.0s with zero periodic timers.
lib/medusa-wake.js, changelog.d/2716.antigravity-residue-and-immediate-rearm.fixed.md · Tests: test/medusa-wake.test.js, test/medusa-wake-exchange-proof.test.js.
Start-Gate Rebase & 6-Commit Review Progression (c4206aba → 8b891bc6)
INT + Arc + PRR-A + B
At 20:39Z, TC-Lane-INT caught TC-Lane-B editing lib/tmux.js on stale cd09db00 and enforced a clean rebase onto 1e8e2df4 before PR open. During review of PR #2717, B-Gate and A-Gate caught that c4206aba dropped the in-gap scan at +1.2s, verified the remaining-gap calculation in 03a33cad, caught that the deferred timer needed _promptLook.add(wsId) in a80865e7, and verified comment hygiene in 8b891bc6.
c4206aba → be8b7002 → 03a33cad → aca6e47c → a80865e7 → 8b891bc6 · Merged: 7e9848037361.
W2-REC · PR #2718 — Feature Index & Change-Log Reconciliation for #2716
TC-Lane-INT1fbb3390 → Merge: d880cbc0
Opened 2.6 minutes after W1-A merged and merged at d880cbc0c314 (22:55:20Z), updating FEATURES.md and .prawduct/change-log.md with the canonical #2716 entry anchoring lib/tmux.js#_lineKill, lib/medusa-watchdog.js#rearmWorkspace, lib/medusa-wake.js#_verifyWake, and lib/medusa-wake.js#_bookFollowUp along with test/tmux.test.js, test/medusa-watchdog.test.js, test/medusa-wake.test.js, and test/medusa-wake-exchange-proof.test.js.
+12 / -1 LOC) · Tests: 47/47 test/features-index.test.js pass · CI: Run 40968195995 SUCCESS · Merged: d880cbc0c314.
W3-REL · PR #2719 — Release v5.47.1 Cut, Live Production Update & Live Wake 928f094d657a Activation
TC-Lane-INT + TC-Lane-Obsr399a67d2 → Merge: 67017dd5
Merged release/v5.47.1-prep (PR #2719 @ 399a67d2badf) to main @ 67017dd5a70060136754ef65264ee35c44df7019 (23:11:13Z): consumed changelog.d/2716.antigravity-residue-and-immediate-rearm.fixed.md into CHANGELOG.md [5.47.1], bumped version.json to 5.47.1, updated README.md clone pins and test/fixtures/changelog-released-sections.lock.json (739f8d94653857df), and wrote docs/releases/v5.47.1-status.md. Published annotated tag and GitHub Release v5.47.1 at 67017dd5 (Code released: Complete), fast-forwarded the live server at 2026-10-30T00:18:35Z after verified SQLite .backup integrity_check ok with /api/server-info runningVersion=diskVersion=5.47.1, startupSha=currentDiskSha=67017dd5, isStale=false, /api/system/health 4/4 clear, and Operator data/global-rules.md edit preserved byte-identical (Production updated: Complete), and verified live Antigravity wake delivery 928f094d657a exercising composer _lineKill and immediate re-arm in production (Feature activated: Complete; unrelated #2168 browser check remains deferred).
+46 / -26 LOC · 1 fragment consumed) · Gates: Tests CI 40969764540 SUCCESS + PRR-A + Arc R-Gate + Obsr O-Gate (O484-V5471-PR2719-399A67D2-ACCEPT) · Live SHA: 67017dd5 · Live Wake: 928f094d657a.
6 Actionable Upgrades for Sprint v5.48.0 (Charter A485)
Combining the four targeted guardrails from v5.47.1 (P43–P46) with the two post-deploy verification and test-harness items carried from v5.47.0 keeps the fleet fast, honest, and resilient.
Verify Local HEAD Matches Charter Base SHA Before Touching Any File
Before making the first edit in a newly chartered wave, every Builder must run git fetch origin main && git checkout -B <branch> origin/main and verify git rev-parse HEAD matches the Charter’s declared base SHA—preventing pre-rebase dirty files when back-to-back sprints turn over rapidly.
Test With verifyDelayMs < minObservationGapMs Alongside Zeroed-Gap Tests
Whenever a feature coordinates two timers or cooldown windows (such as VERIFY_DELAY_MS = 1,200 ms and MIN_OBSERVATION_GAP_MS = 4,000 ms), unit tests must include at least one test with production-ratio constants so in-gap edge cases are caught before Round 1 review.
Execute test/medusa-*.test.js Locally Before Pushing Review Fixes
When pushing a follow-up commit during multi-round review, Builders must run all sibling test files in the affected subsystem (including *-exchange-proof.test.js) locally before git push so intermediate fix commits never trip a preventable CI failure.
Keep Source Comments Free of Review-Round Process History
Code comments and docstrings must describe timeless product and state-machine invariants (e.g., why _promptLook is re-added across an in-gap deferral), never referencing PR review rounds or reviewer findings—avoiding extra comment-cleanup commits at the end of a review cycle.
Verify acceptFolderTrust UI Toggle & Zero Stranded-Nudge Deferrals on Live Server
Once v5.47.1 is deployed to TangleClaw-Builder1, execute the deferred A483-R8 live browser check on Project Settings → Accept the folder-trust dialog at launch (#2168) and confirm zero recurring stranded-nudge-residue deferrals on Antigravity workspaces.
Complete Stage 5 Timeout Calibration (#2706) & Multi-Engine Wave Assignment
Carry forward #2706 (calibrating the Stage 5 per-file --test-timeout in scripts/test-stage.js#tierArgv) and maintain heterogeneous Builder engine assignment (claude-opus-4-7 + codex gpt-6-sol high) on multi-car waves.