Skip to content

perf(gateway): stream append deltas to every client - #158587

Merged
steipete merged 41 commits into
mainfrom
perf/l20-streaming-wire-deltas
Sep 27, 2026
Merged

steipete merged 41 commits into
mainfrom
perf/l20-streaming-wire-deltas

Conversation

@steipete

@steipete steipete commented Sep 26, 2026 •

Copy link
Copy Markdown
Contributor

What Problem This Solves

Concurrent chat streams repeatedly serialize the entire accumulated answer, making wire traffic grow quadratically with reply length.

User Impact

Paced chat and assistant events send append deltas, with complete snapshots for first delivery, attachment/reconnect, missed publications, rewrites, item or canvas/media changes, and terminal settlement. Control UI, SDK, gateway-client, TUI, ACP, Swift/Kotlin native transports, and Linux Quick Chat migrate together.

This intentionally changes wire semantics for all clients without negotiation. Third-party raw clients must honor optional snapshots, snapshot precedence, and append deltas. Schema and protocol version are unchanged. Internal observers retain complete payloads; SDK raw events remain actual wire events. Custom SDK transports must preserve acknowledged event ordering or end retired streams. ACP's existing downstream append-only protocol still cannot retract already emitted output.

Why This Change Was Made

Connection delivery owners track recipient receipts and coalesce append deltas while retaining a recovery snapshot. Node delivery selects its representation after pairing authorization and commits receipts after successful sends. Accepted terminal barriers preserve queued tails. Browser and native owners reconstruct before local fanout; SDK replay owns retained text and lifetime cleanup.

The branch merges main at 4f62a433acb7, including the incremental display projection. Chat consumes chatRunState.takeBufferDelta() from that owner; the retired resolveBroadcastDelta/deltaLastBroadcastText path is removed.

First adversarial review corrections (reviewed head 2414c4bc4c36):

  • A gap-revealing chat terminal is delivered before callbacks reconnect the socket, preserving completion and its final text. JavaScript and native transports retain their current-connection guards; gapped append frames remain rejected.
  • Assistant delta-only delivery requires exact snapshot continuity, checked once per publication and combined with recipient receipts. Real CLI output transformations, pacing, and slow-consumer coalescing cannot silently replace X with stale accumulated text.
  • Confirmed SDK unsubscribe retires matching baseline protection after the pre-ACK event watermark. Epoch/order facts protect newer resubscribe snapshots; rejected unsubscribe preserves the baseline. A canonical session-key parser supplies identity matching, with no invented raw-global alias fallback.

Second adversarial review corrections (reviewed head 49b11fadabc3):

  • Outstanding SDK runs reconcile with existing Gateway RPCs after reconnect, including when a lifecycle or delta frame exposes the gap before the final frame. The replay owner restores exact display history without overwriting newer wire text, rearms completion waits, and cancels retired work. Tracked ACK arrival order also releases no-output accepted runs on unsubscribe while preserving a newer acceptance.
  • TUI text reconstruction belongs to the connection before selected-session filtering. Switching sessions or loading lagging history cannot discard the live baseline.
  • macOS accepted chat terminal deliveries survive same-route socket recovery for queued WebChat/Talk consumers. Replacing the configured route still invalidates them; RPCs retain exact server-lease checks.
  • Linux Quick Chat coalesces complete per-run snapshots before its bounded pre-acknowledgment buffer, retaining text and canvas state. Its 65-frame probe now retains all 65 characters instead of 64; startup status no longer blocks later output. Message snapshots take precedence, canvas-only messages establish empty baselines, and unanchored suffixes do not become complete answers.

Third adversarial review corrections (reviewed head 0fc510457645):

  • ACP and SDK share one authoritative terminal-text reader. ACP no longer settles from the 4,096-character summary. Recovery collects every assistant item for the run in transcript order, preserves display separators, fetches full truncated messages, and reports incomplete recovery explicitly. Oversized history placeholders retain run identity, and commentary projections cannot replace the final answer.
  • SDK automatic recovery stops after four unavailable observations and returns unobserved runs to bounded replay without fabricating a terminal result. Confirmed activity resets the budget, queued waits use exponential jitter, and a replacement iterator restarts an recovery attempt that was canceled. Late authoritative terminal events remain accepted.
  • Linux Quick Chat receives the native request's prepared identity before the request can stream, so unrelated runs cannot evict its pending baseline. An earlier retry prefix survives the handoff; an evicted prefix is explicitly incomplete until an authoritative snapshot or recovered history repairs it. The existing retry identity owner and route fences remain intact.
  • UI and TUI now share the baseline owner in gateway-client; the duplicate TUI module is deleted. Adapter-specific reconnect, listener fanout, and unsubscribe ownership stay with their existing adapters. This extraction removes 20 net production lines.

Evidence

Current head: canonical roster repair and fresh CI

Published head 7ee18d6f1f4c601f4950a2be4bb0b806cd247873 merges main fb39d6afef105bae1c3662d8e1589cce00328cb7 without rebase or force-push. Squash auto-merge remains armed.

The preceding complete run failed UI shards 1/3 and 3/3 and Node large-16 on normalized roster identity and optional-field fixture assertions. Its CI merge tree was cdc50b88b1f27ead6311d5986765f8df69dd006d. The same failures occurred on scheduled main, UI shard 1, head 6700317c46c6. Local unchanged reproduction yielded 12 failures across roster/hydration/chat and eight sidebar failures. The iPad job was cancelled by fail-fast; no repeated simulator boot failure was observed.

Adopted the landed owner repair 634a626f5c070bc5cfdae75367566ed0a9748d2f (#159394): publish canonical row identities during admission, retain admitted-result identity after rejected events/failed reads, and align raw-response/optional-field fixtures with the normalized contract. An overlapping local candidate was discarded in favor of this canonical repair. The merged source passed 1,591 tests across 79 session/chat/sidebar files in 55.59 seconds, with one worker. UI production and test typing, scoped lint, and formatting passed.

The sole streaming source overlap is Swift in-flight snapshot narration replay; both parents' behavior is retained. 64 shared Swift stream/session-action tests passed (2.31 seconds after compilation). The touched session-action fixture explicitly discards its joined task's unused return value and groups unchanged helpers in an extension, clearing compiler and SwiftLint warnings without suppressions or changed assertions. SwiftFormat, strict scoped SwiftLint, size ratchets, diff checks, and fresh independent integration review through P2 passed. Unchanged sign-in fixtures emitted existing compiler warnings on the first full build; no touched-file warning remains.

Focused wire-delta, terminal recovery, ACP, SDK, TUI, and Gateway delivery suites passed 143 tests across 12 files in 175.60 seconds. Earlier proof remains applicable to unchanged contracts.

Exact-head CI run 36296741570 passed, including Windows Node shard 3, all three UI unit shards, both iPhone/iPad screenshot jobs, their same-attempt evidence reducer, and iOS smoke. No single-job retry was requested for this run. GitHub squash-merged this PR at 2f58eadd0558f102071e14555a847e746c09902d on September 27 at 05:53:40 UTC; ancestry in origin/main was independently verified.

Previous main integrations

Head c40e986666c1abcc663cf2faa020a21a256729f8 integrated main's Gateway cleanup (037feb16edd5, #159177), preserving lazy wire payloads/receipts while removing a redundant return-type declaration. Its node-subscription/runtime proof passed 25 tests in 56.08 seconds. Earlier head 2842f13ab397064f26d87410a1c94c06c68fc158 adopted main's collector FIFO (5cf18de3d103a6bea797cbfe52fa8f51dce8c596), wrapper inventory (0a9fa7dafabe), and Slack ACK (02fd486956c72604877bdfc584e705d12634e175) repairs. It retained the pre-aborted collector guard, cancellation/second-launch coverage, and Talk publication joins with main's teardown; focused proof passed 231 tests across eight files in 358.92 seconds. Core/test typing, lint, ratchets, and independent review passed on both integrations. Reviewed history and armed auto-merge were preserved.

Previous head: Slack acknowledgement fixture repair

Published head e5f4442f53f251c55b5758d68001f3e09767f4cd adopts main's 02fd486956c72604877bdfc584e705d12634e175. The preceding head failed extension bundle 47 in Slack durable ingress > acknowledges a durable event before dispatch starts, at extensions/slack/src/monitor/ingress.test.ts:302. ACK was still uncalled when vi.waitFor exhausted its default one-second polling deadline (1,008 ms). This old fixture predates the shared-state worker implementation and is unrelated to wire-delta behavior.

The unchanged exact CI merge tree 30cef099feeadd7eeb542b53f5315d33bac9e463 passed the original 174-file / 2,844-test Slack workload in 175.50 seconds; that replay is not a fix. An isolated unmodified run naturally reproduced the failure at 1,011 ms, followed by STATE_DATABASE_READ_ADMISSION_INVALIDATED: the failed assertion left receive work pending while fixture teardown closed its database. The test now observes ACK's own start signal, preserves exact call-count and ACK-before-dispatch assertions, and always releases the gate, joins receive, and stops ingress before database teardown. Production code and runtime/suite timeouts are unchanged.

A local equivalent repair passed 20 standalone runs of all 19 cases (one source-equivalent PR-head run plus 19 exact-merge-tree runs), followed by three original-workload replays, each 174 files / 2,844 tests in 143.27, 144.99, and 186.47 seconds. Main then supplied the same repair using the existing deferred helper for both signals; that canonical version was adopted exactly and passed 19/19 cases with one worker, in 222.06 seconds wrapper wall, dominated by cold worker build/transform work (85% of the Vitest duration); the ACK-order case took 2,685 ms. The unchanged suite exercises real durable queue admission, replay, and cleanup. Extension-test typing, scoped lint/formatting, ratchets, and fresh independent review are clean.

The iPad job was cancelled by Node fail-fast again; it did not report a repeated boot failure. No single-job retry was requested. Squash auto-merge remains armed and the latest full-head run remains the landing gate.

Previous head: trusted-wrapper dependency inventory

Published head 13957377887184dc600be39d9273856d960e6fab merges main 50dc09d95a6de7f5b958ca31a24dd19fa18af230 and repairs the missing runtime extraction entry. The preceding head's small Node job 42 failed test/scripts/eager-import-closure.test.ts in “keeps the PR wrapper inventory closed over runtime imports” and “resolves wrapper package exports and workspace aliases from the extracted dependency context”. Main's 945ec9ff561180bf509d6f75181ab078c10a8078 (#159155) added the eager runtime-session-changes import, but omitted its source from scripts/pr-lib/wrapper-components.txt. The isolated wrapper consequently could not resolve that import. Both failures reproduced locally in 18.95 seconds; the fix adds that existing runtime file to the extraction inventory without changing the assertions.

The merge retains this PR's extracted live-text queue owner and main's SessionEventProjection delivery callback. Main's ordinary collector fixture now waits for occupied capacity before creating the queued sibling; the dedicated concurrent FIFO regression and producer repair remain intact. The final integration passed 196 tests across seven files in 168.27 seconds, including the complete 16-case wrapper suite and the Gateway broadcast, serialization, transport, subscription, and queued-collector suites. Core and Gateway-test typing, scoped type-aware lint, formatting, line/annotation ratchets, and fresh independent review are clean. Swift's overlapping identity comparison was already identical on both sides.

On the preceding fresh run, Windows Node shard 3 and Android Play tests passed. The iPad job was cancelled by Node fail-fast, not reported as another boot failure. No single-job retry was requested. Squash auto-merge remains armed; the new exact-head CI is the remaining gate. A repeated pre-test iPad boot failure will be reported without a retry.

Previous head: collector FIFO repair after main integration

The run for 6425f5926afc36b45e000c1a8034e87f54ffeb74 failed checks-node-compact-large-5 in queued collector session projection > preserves an operator rename when a queued collector reaches agent dispatch. The failure occurs before rename handling: src/gateway/session-utils.queued-collector.test-support.ts:222 expected the first accepted run to launch, but observed a different run UUID.

CI tested merge tree 4321dde10f2ce3bd13ac12b558d7789f58bddfa0, which includes main's b2265de26980f16451d847d3442d552f10244e85 (#159135). That change moved requester lookup to a database worker but awaited it before collector FIFO reservation. Concurrent requests could therefore reserve in read-completion order. This is an imported product race, unrelated to streaming wire encoding. The initial PR-head replay omitted that newer owner path and is not evidence against it. The corrected, unmodified merge-tree workload passed 327 tests across 18 files in 294.82 seconds; that passing replay did not fix the race. A deterministic real-spawn regression then held A's requester read while B completed and failed because B launched first.

The repair keeps database reads in the worker and reserves the existing collector FIFO position before awaiting requester capture. Failed or cancelled reads withdraw the exact held reservation; successful capture transfers that same hold to the existing spawn lifecycle. Ordinary spawn cancellation still precedes admission effects, and retired holds cannot admit a replacement. Original concurrency, rename, cancellation, and active-run assertions remain intact. No timeout, retry, dependency, assertion, or baseline was relaxed.

Published head: e1459690621cd0510a2d70a1e496f9458e34ab29, a normal merge of main 8864423309d3b97e33b693f47be5ea4c330fa426 plus this repair; no reviewed history was rebased or force-pushed. Final proof: 151 focused/owner-sibling tests passed, 20/20 standalone runs passed all 38 cases, and three original 18-file workload replays passed 331/331 cases each (266.81, 229.27, 178.72 seconds command wall). The standalone invocations used one worker each, four independent invocations concurrently, and measured 177.3–375.23 seconds on the loaded Mac. This existing Gateway suite exercises real session storage, admission, cancellation, and projection; the added deterministic cases protect producer ordering that the cheaper scheduler tests cannot observe. Core/Gateway-test typing, scoped type-aware lint, formatting, line/annotation ratchets, and fresh independent review are clean. The original-workload replays use the repository wrapper and original file set on macOS; hosted Linux/Windows/native CI remains the landing gate. CI case timings will be recorded when available.

Android merge-overlap review found both sides preserved in ChatController, GatewaySession, MicCaptureManager, and the reconnect tests. Native execution is not claimed locally: this Mac has no JDK or Android SDK, and the configured Blacksmith Testbox (tbx_01m3fx80dtq3b9qdrmrfjb1m0t, run 36276298839) timed out during source synchronization before executing a command. The lease was stopped and verified completed. Fresh hosted Android checks remain required.

Squash auto-merge remains armed. No iPad retry was requested; another pre-test iPad boot infrastructure failure will be reported without another retry.

Previous head: native Talk fixture publication custody

Current head: 6425f5926afc36b45e000c1a8034e87f54ffeb74. The eight-line test-only fix joins transcript publications before the fixture advances from spoken input into delegation, and after voice close before intentionally closing/reopening its database. It additionally requires that the spoken message was actually published. Production registry fences, native input privacy/history assertions, timers, and retry budgets are unchanged. The separate transcript-first/delegation-first control cases remain intact. Squash auto-merge remains armed.

Run 36270157956, compact-large-26 job, failed client-native-actions.test.ts > keeps native generated input in current-turn custody but out of display and future calls with AgentDatabaseRegistryChangedError during transcript publication discovery. The exact 17-file workload (include digest 4019c86c4d1d) passed a first local replay, as did the matching latest-main job. A focused phase diagnostic then reproduced the same error during delegation, before database close/reopen. The specific invalidating registry writer was not instrumented. The concrete fixture gap is that flushClientVoiceSessionWrites joins writes, while transcript listeners return void; it does not join this test's asynchronous publication work. One event-loop turn did not establish that boundary.

After repair, the failing case passed, followed by 20/20 standalone full-file runs and three original-workload passes of 406/406 tests across 17 files, retaining the original two-worker setting. Workload command wall times were 151.73 s, 177.43 s, and 177.59 s; standalone wall times ranged 36.10–90.86 s including initialization. The targeted case passed in 29.85 s dispatcher wall. Core Gateway test typing, scoped lint/formatting, the line-count ratchet, and diff checks passed. Independent review is scoped-clean at P0–P2. No new test process or production seam was added; these are existing native-action and real-transcript contracts.

Fail-fast cancelled the previous run's siblings; this was not an iPad boot failure. The exact-head watcher follows the newly pushed candidate, with the same explicit instruction to stop if iPad simulator startup fails again before tests begin.

Latest candidate with updater fixture repair

Current head: 6f503975a0193d13d8fe54c55196a6555796be47, merging main 15990e691f4c20f9fb33b942de96cd65af4930da without rebase or force-push. Fresh complete CI run 36270157956 is attached to this exact head. Squash auto-merge was preserved throughout.

The preceding run 36268245369 cleared the scheduler type failures, then compact-small-39 failed the registered update-restart-module-outcome fixture. Its real production finalization path asked for reporting facts absent from the strict VM fixture: Unexpected dependency call: ../../infra/container-environment.js:isContainerEnvironment. Local reproduction failed 9 of 19 native cases in 3.36 s. Fail-fast cancelled screenshot jobs; this was not a simulator boot failure.

Reused the landed owner fix #159127, commit 734f8658967c6389962ffe29fa1b9ad6911d4bdf. It supplies finite container/state-directory facts and a synthetic reporting row whose mutation callback checks run identity and environment. Real restart/finalization modules, backup-retention assertions, and strict rejection of unexpected dependencies remain in use; production update behavior is unchanged. All 19 native cases and the registered Vitest wrapper passed in 2.94 s on this merged candidate, with clean scoped lint, formatting, and diff checks. The apparent macOS overlap is byte-identical on both parents and the merge result. No manual conflict resolution was needed, and fresh full-candidate review is scoped-clean at P0–P2.

No single-job retry was submitted. An iPad simulator boot failure before tests start remains the explicit stop condition; real test/implementation failures remain in repair scope. Earlier focused streaming and cron proof remains recorded below for unchanged paths.

Current candidate after cron fixture repair

Current head: a82aaf4aa35ca507cecfcd45985cddd8a5068346. It merges main's scheduler-fixture repair c0e6951d6f02d3eabd4bc13cf8e9fa9e77d290ac and has exactly the reviewed local candidate's Git tree, c78add63098e719e39a046fbf22427f8937a75a9. Reviewed history is preserved and squash auto-merge remains armed.

The preceding complete run, 36266824291, failed test-type groups 2 and 5 with four TS2741 diagnostics: missing scheduler in both Cron history fixtures and the startup-recovery service/lazy wrapper. Both groups reproduced locally, and scheduled main run 36266137877 had the same failures. Fail-fast cancelled the screenshot jobs; this was not another iPad boot failure.

The repair was taken from main instead of publishing duplicate edits. History fixtures now receive the existing deterministic test scheduler; startup recovery uses one shared scheduler and awaits its clock directly, preserving exactly-once delivery through suspension. An initial local injection-only patch exposed the old fixture's detached fake-timer/polling race once; the owning main fix replaces that synchronization with joined clock advancement. Final integration passed 38 tests across four files in 125.53 s, both previously failing type graphs, scoped lint/formatting, and diff checks. Fresh independent full-candidate review is scoped-clean at P0–P2. The earlier eight-suite, 132-test integration proof remains applicable to the unchanged overlapping stream/lifecycle code.

The exact-head watcher now follows the published candidate. No single-job retry was submitted. The stop condition remains an iPad simulator boot failure before tests start; other real failures remain in repair scope.

Latest complete-run refresh

Merged main 7ff7042dc7796b76180d75db1bf5488f987e4a80 into the PR without rebase or force-push. Current candidate: 9891c140d8feccb4d5dd18fc0de1e7af603283c3. The merge applied cleanly with no manual source edits. Overlapping code changes preserve main's OS-assigned mock-server port/readiness handling in gateway-concurrent-streams.test.ts and scheduler injection into lazy cron state in server-lifecycle.ts.

Focused validation passed 132 tests across eight files in 302.87 s through node scripts/run-vitest.mjs <files> --maxWorkers=1: concurrent streams, lazy cron, cron drain, hot cron reload, startup lifetime, chat wire delivery, live-text broadcast, and node-session delivery. Core and Gateway-root test typing passed; scoped lint and formatting reported no warnings in the overlapping files. The line-count ratchet and git diff --check passed. Fresh independent full-candidate review is scoped-clean at P0–P2. Earlier proof remains recorded below for unchanged paths.

This fresh complete run follows the iPad simulator-preparation infrastructure failure on the previous head. Squash auto-merge remains armed. No single-job rerun was requested. If iPad simulator boot fails again before tests begin, this attempt stops for coordinator review without another retry; real test or implementation failures remain in scope for repair.

Fresh complete run at the conflict-resolved head

Previous attempt outcome: open at 28b93d3528f0522bb1c9adc13c5cdcefcd317ff5, with squash auto-merge still armed and no merge commit. Fresh Windows shard 3 passed on its first attempt; no further ACPX retry was needed. The iPhone screenshots and iOS smoke build also passed. The exact-head watcher stopped on the new iPad screenshot failure.

The iPad test build succeeded in 781.76 s. Before any screenshot test ran, apps/ios/fastlane/Fastfile:2264 called scripts/ios-simulator-prepare.sh. Its simslim on step disabled 13 background services, then failed during the required simulator reboot: simslim: simctl boot: signal: killed:. Fastlane reports 601 s for simulator preparation and exit 1. This is a pre-test simulator-preparation failure; the job log does not establish why simctl was killed. The script and Fastfile are unchanged by this PR. Failure artifact 10914161753 retains the build/capture evidence. The screenshot reducer was skipped and openclaw/ci-gate failed. No iPad or whole-workflow retry was submitted after this new failure, per the requested stop-and-report condition.

The initial freshness push became conflicting while main advanced during validation. Merged current main d536eb0c2835ffd0e945cd271506f2def77f2afe without rebase in 28b93d3528f0522bb1c9adc13c5cdcefcd317ff5. The only textual conflict was packages/sdk/src/index.test.ts: retained main's typed wait-result table and consolidated assertions while preserving this PR's extracted helpers and dedicated chat-stream tests. The moved suite retains raw-event filtering, terminal output, replay ordering/close behavior, and the deliberately changed snapshot-precedence contract. Removed the now-unused helper import and obsolete max-lines suppression, with an exact shrink of its baseline entry. The scheduler addition in Gateway auxiliary startup merged unchanged from main.

Fresh complete CI run 36263924974 is attached to that full head. GitHub confirms MERGEABLE; squash auto-merge remains armed. The first watcher observation caught a provisional security-review failure, which resolved in the same security workflow to No sensitive product changes; the aggregate then reported Waiting for CI. The watcher resumed after reconciling that transition and subsequently stopped on the iPad failure above. No job was retried for this status-publication transition.

The final 60-file focused attempt ran in 620.52 s and found one Gateway test failure plus its associated teardown error: chat-display-projection.media.test.ts > correlated channel mirrors in Gateway history > hides only new correlated mirrors and preserves old bytes and identical distinct turns. The error is SqliteWorkerError: Shared-state admission requires the host broker at src/infra/sqlite-worker-store.ts:226, reached via openCleanup → cleanupRetiredAgentDatabaseLease → session-accessor.sqlite-reclamation-worker; teardown reports agent database custody failed. The Gateway group otherwise passed 610 cases across 28 files. This is not the ACPX initialization timeout and is not claimed fixed. The original whole-workload order is retained in this failing attempt. An untouched-main checkout at d536eb0c2835 then passed this file standalone: 35/35 tests, exact correlated-mirror case 1,453 ms, dispatcher 89.81 s including cold compilation. The relevant media/cleanup/reclamation/store sources are unchanged between the two main integrations. The failure remains unreproduced standalone, not fixed. A concrete fixture-routing candidate is that this database-backed media file runs in threaded gateway-core, while native retired-agent cleanup requires the host broker and the forked gateway-database-workers list includes the cron projection sibling but omits media; #155304 repaired the analogous agents-support mismatch. No routing change or retry was made without reproducing the original trigger.

The dispatcher stopped before its remaining groups, so those were completed separately: 927 cases across 30 client/SDK/ACP/TUI/UI files passed in 64.02 s. Final browser validation again passed 34 cases across six files in 90.68 s. Core typing, package test typing, scoped lint/format, line-count, max-lines, assertion-safety ratchets, and diff sanity passed on this merge. Previous complete check-changed evidence remains recorded below; the newer candidate is not represented as a wholly green focused run.

Fresh full-candidate review had no accepted/actionable findings. Its Quick Chat snapshot concern was rejected against the unchanged chatMessageText implementation, which already filters/maps typed text blocks at apps/linux/ui/quickchat.js:5–10, and the passing snapshot extraction tests. Independent conflict verification found no lost main assertion or duplicated test owner.

Complete CI freshness update (September 26)

Merged main 2b2ae319c923751bc9621af6942867ccf4f3302e into the approved branch without rebasing or rewriting reviewed history. Merge commit 693ae0e161403f55eecab63c4cc9fbfb4b0eacb4 applied cleanly. The refreshed head is e5f9f2812c3a68669ae76dd09a4971bbf10ed33f. This is the requested freshness integration to obtain a complete new CI run; the earlier screenshot artifacts mixed workflow attempts, and their reducer correctly refused that mismatch. Squash auto-merge remains armed.

The exact prior 55-file focused selection was recovered from the previous runner's result manifests and include digests. Those files plus three startup/lifecycle integration probes all passed: 1,591 tests across 58 files in 384.09 s through node scripts/run-vitest.mjs <files> --maxWorkers=1. This covers Gateway wire/broadcast/chat/display/node delivery, gateway-client sequencing and recovery, SDK streaming/reconnect, ACP recovery, TUI, Control UI state/sidebar, and Linux Quick Chat. The first invocation also completed the runner-owned build prerequisites.

Main introduced a line-count ratchet that rejected this PR's growth in two already oversized test files. Commit e5f9f2812c3a68669ae76dd09a4971bbf10ed33f moves the eight queued-WebChat real-wire cases intact into server.chat-queued-followup.test.ts, retaining suite-level startup, all terminal/delta assertions, and settlement cleanup. The attachment-layout case moves into the existing resource-layout suite. No production behavior, assertions, budgets, or baselines changed. All 220 cases across the four affected files passed in 86.39 s; Gateway tests accounted for 75.98 s, and UI tests 3.97 s. The separate Gateway suite adds one suite-level boot, with no per-test boot; it protects queued text/canvas/error/abort delivery through the real WebSocket boundary.

The six browser suites referenced by the earlier proof also passed: 34 scenarios in 77.32 s, covering PR-refresh replay, run lifecycle, send-ACK ownership, Stop ownership, dashboard final-reply recovery, and native-desktop appearance. The targeted check-changed invocation passed all selected guards, formatting, core typing, all 25 core-test type graphs, UI typing, lint, dead-export scans, and runtime import-cycle checks. git diff --check passed.

Independent full-candidate review produced one bare-string-array recovery concern, rejected against the canonical readAssistantTextBlocksForPhase / extractAssistantTextForPhase contract: those readers require typed text blocks, and src/shared/chat-message-content.test.ts explicitly excludes bare string array elements. A permissive Android extractor does not establish a producer contract. Fresh review of the final extraction is scoped-clean at P0–P2. No accepted/actionable findings remain. The old Windows attempt 4 passed at 18:13:35 UTC, but it is not substituted for the fresh run.

Windows initialization follow-up (September 26)

The original Windows shard-3 job has exactly one failure: extensions/acpx/src/runtime-argv.process.test.ts > preserves ACP argv through real processes and reconnect (leased=false, command=relative). Published [email protected] wraps client.start() in withTimeout at src/runtime/engine/manager.ts:161; the error is raised at :168 as ACP_SESSION_INIT_FAILED, with the underlying timer at dist/queue-owner-runtime-C4OOosbo.js:172. This is the fixture's unchanged 5,000 ms runtime initialization limit, not a Vitest timeout.

Source inspection separates this from the streaming change. The case launches copied Node with test/fixtures/acp/owner-agent.mjs, which imports Node builtins and the ACP protocol SDK and answers initialize directly. It never launches the OpenClaw Gateway-to-ACP translator or the shared terminal-reply reader. The PR leaves the ACPX adapter, fixture, and ACPX/ACP SDK versions unchanged; its ACP edits consume downstream chat deltas and recover completed replies. A concrete existing Windows timing risk is that ACPX awaits descendant-process capture after the initialize response (src/acp/client.ts:1055–1063): Windows uses PowerShell Get-CimInstance Win32_Process (src/process-identity.ts:509–514) with an 8,000 ms helper deadline inside the fixture's 5,000 ms whole-start deadline. The failure log does not distinguish slow process startup from that post-handshake census, so this is a supported candidate cause, not a proven root cause.

The four scheduled-main Windows runs at 14:29, 15:29, 16:31, and 17:29 UTC all passed all five Windows test shards (runs 36248686523, 36252117384, 36255766286, 36259199631). Logs confirm this exact relative-command case passed on main in 4,734 ms total and on unrelated PR branches fix/152284-refuse-live-dist-build and perf/l80-session-entry-amplification. No matching failure was found in this bounded recent sample; this is not claimed as an observed red-main defect.

The existing exact-merge-tree, original-order 48-file replay was independently verified as native Windows, not Linux: run 36259272302 checked out b6498ca3f48749ebae348d6bf57f56f8f36b5c64, used the same Windows image/toolchain, and passed 899 tests with 103 skips in 591.76 s. Its relative-command case passed in 7,787 ms total across initialization, two turns, and reconnect. This preserves the original 5,000 ms per-start limit. The bounded reproduction and fixture/dependency investigation found no safe causal repair; no source, fixture, deadline, assertion, dependency, or baseline was changed. This is assessed as an intermittent failure in an existing initialization path outside this PR; the precise cause remains unproven. Under the test-failure policy, one retry of only the failed Windows job was accepted as attempt 4 at 18:02 UTC. The first submission was rejected while attempt 3 was finishing; fresh run/job reconciliation confirmed no retry started before resubmission. A passing retry would restore required-CI evidence, not establish a fix. Squash auto-merge remains armed. The already-requested iPad retry passed at 17:59:34 UTC; it was not duplicated.

New blocker after the iPad retry

The full-head watcher (node scripts/watch-pr-ci.mjs 158587 e35365b4c02c9d3b6b0a6a1b1f2f42adf9ecec6e --repo openclaw/openclaw --interval 120 --timeout 3600) attached to run 36254760476 and returned FAILING after the iPad capture passed. Its dependent ios-screenshot-evidence job failed at 18:00:18 UTC with iphone workflow run attempt does not match the reducer context. Both same-merge-SHA shard artifacts downloaded successfully: the newly generated iPad artifact and the retained iPhone artifact from an earlier attempt. The reducer ran with RUN_ATTEMPT=3; scripts/ios-screenshot-evidence.mjs:625–626 requires every shard's attempt to equal the reducer attempt. This source and the workflow are unchanged by this PR. The partial retry therefore exposes a deterministic artifact-provenance mismatch, separate from the resolved simulator bootstrap failure. Repeating only the reducer will not repair it.

This is the requested stopping condition: a new real CI failure. Windows attempt 4 is running; no additional retry is queued. check-additional-extension-package-boundary also remains cancelled from the earlier run, and the CI aggregate remains red. The PR is still open at the approved head with squash auto-merge armed; there is no merge commit yet. No source edits, commits, pushes, timeout changes, or persistent remote leases were needed for this investigation. The next repair must address screenshot partial-rerun provenance (or regenerate its required shard set together) and recover the cancelled package-boundary check before merge can complete.

Landing integration

Initially merged main bde1d5fae5976acd64c04902af82c9a866100f3f; after further main movement, merged latest main f97967009060dd5b178edd56ac7e0813acff29ac into the approved branch (no rebase). Integration commit: 45c72f887cc3d9dbef67890b70e488d538ba3549; current head: e35365b4c02c9d3b6b0a6a1b1f2f42adf9ecec6e (refreshed-main integration, recovery whitespace, and explicit native command identity). Five conflicts were resolved while retaining main's suspension-aware identity reads, scoped/hidden sidebar ownership, typed SDK validation, and Android wrapper cleanup alongside the wire-delta behavior. Append deltas still apply to all clients without negotiation.

Focused validation on this merged candidate passed 1,287 tests across 43 files in 114.42 s using node scripts/run-vitest.mjs <files> --maxWorkers=1. Coverage includes Gateway wire/broadcast/chat/projection/node delivery, gateway-client sequence and suspension requests, SDK recovery and WebSocket transport, ACP, TUI, Control UI streams/sidebar, and Linux Quick Chat. Scoped type-aware lint and formatting of the resolved TypeScript files passed; git diff --check passed. Hosted exact-head CI is pending and remains the landing gate. The first run (36244289845) failed Android ktlint at ChatEventText.kt:15:69 because the expression body must start on the signature line; fail-fast cancelled its sibling jobs. The formatting-only correction passed :app:ktlintMainSourceSetCheck locally in 57 s with all three tasks executed, and fresh scoped review is clean. The focused behavior proof remains applicable because source tokens did not change. A dependency-review failure during initial status publication resolved to success in the same security run after six seconds; no CI job was rerun merely to obtain green. The second run (36244672903) passed production-source ktlint, then found chained-expression/declaration formatting in three PR-owned Android test files. The canonical formatter corrected those files; the complete CI-equivalent :app:ktlintCheck :benchmark:ktlintCheck :wear:ktlintCheck :wear-shared:ktlintCheck passed locally in 15 s, 40 tasks (37 executed, three up-to-date). Fresh review confirmed test semantics are unchanged. The first local probe had covered only the initially failing production source set; the complete lane now covers both production and tests.

The third hosted run (36244991851) passed Android ktlint, production types, and the Control UI performance budget, then failed six assertions across the three Control UI unit shards (229.89 s, 248.19 s, and 237.96 s). Direct page/mounted-pane fixtures bypassed connection reconstruction but still delivered bare deltas. The original three-file local selection reproduced six failures / 169 passes in 11.76 s. Fixtures now deliver cumulative local messages while retaining their delta fields; all original scheduling, cursor, and terminal-ownership assertions remain. Two adjacent tests also gained setup assertions proving they actually hold live text (negative control: six failures / eight passes in 6.64 s). Three mocked WebSocket E2E fixtures now provide the required initial snapshot, while the subsequent send-ACK append remains suffix-only. The original Stop-current E2E timed out waiting for text in 33.01 s; all seven targeted browser scenarios passed in 30.04 s after correction. Final focused unit validation passed 201 cases across six files in 12.14 s; scoped type-aware lint, formatting, and fresh independent review passed. No production code, assertion, timeout, retry, or budget was weakened. These are deterministic fixture repairs, not flaky-test reruns. Native Android behavior and native Linux GUI delivery remain outside this proof.

The fourth hosted run (36246055364) passed all three previously failing UI unit shards, Android ktlint, production types, and the UI performance budget. It exposed ten dispatch-error test failures: the expectation omitted terminal delivery's intentional settle: true and sessionKeys. The same file reproduced ten failures / nine passes locally in 46.41 s. Its expectation now asserts the complete options object; 63 delivery/settlement cases across three files passed in 29.13 s, with scoped lint and fresh review clean. No production code changed.

That run also timed out extension lint stripe 4's common plugin-sdk boundary dts bootstrap at 300,000 ms, before lint began and without a compiler diagnostic. Bootstrap/compiler/config/workflow files are unchanged, but gateway-client is a transitive compiler input, so this is not claimed as a proven unrelated flake. Same-head sibling compilation checks passed. The normal local prepare-extension-package-boundary-artifacts.mts --mode=package-boundary path emitted 11,223 files in 94.70 s with the existing timeout. The hosted timeout's exact cause remains uncertain; no timeout or budget was increased and no workflow was rerun merely to get green.

The fifth hosted run (36246926577) exposed remaining fixture/reader mismatches: Quick Chat and PR-refresh fixtures lacked first snapshots; dashboard live snapshots incorrectly retained provider phase metadata; two real-Gateway recovery tests assumed the last raw delta always contained a full message. Local recovery reproduction failed three cases / passed three, then all six passed in 109.86 s after folding the wire sequence with the canonical reader. All 12 repaired E2E cases passed in 43.14 s, preserving later append-only frames, persisted phase metadata, and recovery assertions. The Quick Chat stub now also follows native prepared-identity-before-ACK ordering.

A bounded follow-up audit found two further raw readers. The concurrent-stream test reproduced an undefined last data.text; it now checks the required first snapshot, every reconstructed prefix, and exact final marker. Queued WebChat tail checks now reconstruct all deltas. Its negative failure case also exposed fixture settlement being skipped after a failed assertion, producing a 120-second timeout; the owned failed run was interrupted after bounded reproduction and its child PIDs were verified absent. Delivery/health waits now settle the fixture in finally before assertions. Both complete files passed 67 tests in 73.11 s; the final cleanup adjustment passed eight queued cases in 17.98 s. Scoped type-aware lint, formatting, and final independent review passed. The E2E audit inspected 63 delta payloads across 33 files and found no remaining initial-snapshot/live-phase mismatch; intentionally bare later appends remain. Production code, assertion values, timeout budgets, and baselines remain unchanged by these test corrections.

The sixth hosted run (36248690683) reached a closing-socket handshake fixture that waited for a retired application event to resume its paused peer. The PR correctly suppresses such events after abort, so that obsolete synchronization waited for the WebSocket close timeout. The fixture now resumes from the transport write callback, preserves ordered delivery and all pre-hello/close/error assertions, and explicitly requires no retired event dispatch. 34 Node handshake/event/sequence cases passed in 6.38 s, with scoped lint and fresh review clean. An extra local Bun 1.4.2 probe failed in server cleanup (Server is not running) and reported an internal directory mismatch; it is not CI's pinned Linux Bun 1.4.3-canary.1 runtime and is not claimed as passing proof. Exact-head hosted CI owns that comparison.

The independent macOS Periphery scan found only unused GatewayProcessManager.setProjectRoot(path:) and projectRootPath() wrappers. Main's earlier #158516 had moved both real callers to CommandResolver; the now-unreferenced internal wrappers are removed, preserving that canonical owner and all public behavior. No Periphery suppression or baseline was added; the current-head hosted scan will verify the deletion.

The seventh hosted run (36250030438) passed the macOS dead-code scan and extension stripe 4, then found five ACP stop-reason mocks returning successful but unspecified reply facts. Full src/acp reproduction yielded five failures / 970 passes across 115 files in 286.67 s, plus the same rejected recovery promise as an unhandled error. The five no-output fixtures now declare the canonical terminalReply: { disposition: "empty" } fact produced by the terminal owner and forwarded by agent.wait. This preserves no-output and late-close race semantics without inventing transcript data or restoring a summary fallback. 44 focused ACP/recovery cases across four files passed in 20.71 s; lint, formatting, and fresh review passed. The other 114 ACP files were unchanged and passed in the original run.

Before CI could attach to the ACP-only head, newer main made the branch conflicting again. The second merge preserves both main's low-value watchdog-test cleanup and this PR's dedicated protocol-test owners; the stronger restart/retired-frame sequence coverage remains. The refreshed candidate passed 1,584 tests across 55 focused files in 258.88 s. Dependencies did not change.

Fresh integration review then identified whitespace loss in full reply recovery. The shared reader no longer trims assembled text or discards whitespace-only text blocks; ACP compares and slices against its exact previously emitted prefix. Existing SDK real-WebSocket reconnect cases now recover a >4,096-character reply with leading code indentation and a final newline. They failed on both paths before the fix; separate negative controls reproduced dropped whitespace blocks and ACP's false reply-rewritten rejection. 70 focused shared-reader/SDK/ACP cases across six files passed in 32.70 s, with type-aware lint and formatting clean. Existing cases were strengthened rather than adding new timer/process fixtures. The public reader documentation now states the whitespace guarantee. A context-incomplete Quick Chat suggestion was rejected: its existing lines 5–11 extract and return text blocks before the empty-array fallback, backed by the passing stream and browser tests. Final full-candidate independent review completed both chunks with no accepted/actionable P0–P2 findings. Wire-byte and recovery-RPC measurements remain applicable; this repair changes recovered text fidelity, not their encoder or request budgets.

The refreshed head's shared OpenClawKit Periphery intersection reported ChatScrollCommand.Request.id. This is an identity field used implicitly by synthesized equality: deleting it would collapse repeated requests to the same scroll target. The consumption guard now explicitly compares the pending command ID with the captured request ID, preserving immutable request identity, consume-once behavior, and the existing current-session check. Existing native tests cover repeated-target supersession, cancellation, replay, and cross-session/agent rejection; hosted native CI remains their proof route. Fresh scoped review is clean. No scanner suppression, baseline, public API, or rendered appearance changed.

Current-head CI run 36254760476, attempt 1, failed before Android 16 KB-page crypto tests could run: Gradle Plugin Portal returned HTTP 520 to the pinned ktlint marker JAR HEAD request, disabling that repository during classpath resolution. Missing test-report upload was consequential, not a second product failure. A subsequent endpoint probe returned the expected marker POM 200 and optional JAR 404. One same-head full-workflow retry was requested after this specific infrastructure diagnosis because fail-fast cancelled the sibling jobs. Source, dependencies, timeouts, and budgets are unchanged for this retry.

Attempt 2 failed Windows Node shard 3 and the iPad 13 screenshot job; the additional extension package-boundary job was cancelled, and the required aggregate remains red. CI checked out synthetic merge b6498ca3f48749ebae348d6bf57f56f8f36b5c64 (this head merged into be46e6966c2b52c6cde06abf965c44f9a175a47f). The Windows relative-command/reconnect case in extensions/acpx/src/runtime-argv.process.test.ts failed upstream ACPX initialization at its unchanged 5,000 ms limit. Its original two-file subshard had 10 passes, one failure, one POSIX-only skip in 67.26 s. The first Windows diagnostic passed all 11 applicable cases with the same Windows image, Node 24.21.0, pnpm 12.4.2, and Vitest 5.0.1, but targeted raw PR head rather than CI's synthetic merge tree. That pass is limited diagnostic evidence, not a fix or replacement gate. The latest two scheduled-main Windows shard-3 jobs passed; this failure is not established as already red on main. The bounded original-workload/source diagnosis below is complete, with no timeout, assertion, dependency, or baseline changes.

The corrected full Windows replay used the exact CI merge tree b6498ca3f48749ebae348d6bf57f56f8f36b5c64 and all 48 original files in six original project groups, with the same Windows image (20260922.246.2), toolchain, worker count, and ordering. Its validated receipt records source and dependency inputs unchanged: 48 files passed; 899 tests passed and 103 skipped; 591.76 s dispatcher wall. The final ACP/memory subshard passed in 64.22 s; the relative-command case took 7,787 ms total across initialization, two turns, and reconnect, retaining the original 5,000 ms per-initialization limit. Artifact 10911529220 binds this proof to the tested merge tree. An earlier full replay targeting raw PR head was cancelled when the source mismatch was discovered. The original timeout remains unreproduced, with no safe causal repair established. A passing diagnostic is neither a fix nor replacement required-CI evidence; the failed Windows gate has not been blindly retried. The diagnostic job completed with Actions-owned runner teardown and no persistent lease.

The iPad failure artifact (10911142342) establishes a pre-test XCTest/iOS 27 simulator Accessibility bootstrap failure: scene 03-agent-connected entered loading Accessibility with an internal 70-second limit, stalled, and self-aborted with SIGABRT. The stack runs through dyld_sim, NSBundle.loadAndReturnError, UIKit Accessibility, XCAXClient_iOS.loadAccessibility, and XCTestDriver._preTestingInitialization; no scene test method or OpenClaw app launch occurred. A subsequent 600-second diagnostic-collection timeout accounts for most of the 785.76 s job duration. One single-job retry was requested after inspecting this concrete infrastructure failure. The Windows job was not rerun as part of that request. Hosted exact-head CI remains the landing gate.

Fresh independent candidate review completed in two chunks. Its two P2 suggestions were rejected after checking their actual contracts: SDK GatewayRequestOptions exposes only expectFinal and timeoutMs, keeping onSent client-owned; Android's live delta producers always construct typed text blocks, while final/history payloads never seed its private delta cache. The hypothetical bare-string-array baseline cannot arise through those producers. No accepted/actionable finding remains.

The prior serialized-byte proof (838,306,084 → 18,181,534 bytes) and recovery RPC bound remain applicable; this integration does not change their encoder or recovery algorithm. Existing inspected screenshots remain embedded below. Android execution, native Linux GUI execution, and a live-browser swarm run remain unverified. Prior inherited line-cap failures below remain historical evidence, not a green full-gate claim. No performance budgets or baseline allowances were changed for this integration.

Actual handler plus broadcaster, 50 concurrent runs, 100-character chunks, one eligible synthetic socket, including terminal settlement:

Reply per run Before serialized bytes After serialized bytes
10 KB 56,582,684 4,563,134
20 KB 215,156,084 9,101,534
40 KB 838,306,084 18,181,534

The merged-main measurement is 97.83% less traffic at 40 KB, with near-linear growth. Round three does not change the wire encoder, so this proof remains applicable. This measures serialized bytes, not live browser-swarm latency.

Third-round before/after proof:

Reproduction Reviewed implementation Corrected implementation
Real WebSocket → ACP, 6,000-character answer with a gap after 5,000 characters Settles with 5,000 characters Recovers all 6,000 characters; 1.82 s probe wall
Real Gateway producer, two assistant items Recovery returns Second item Recovery matches First item\n\nSecond item; 8.88 s probe wall
Oversized earlier history item Run identity is dropped Both items recovered with one history read and one full-message read; 4.18 s wall
100 unavailable SDK recovery owners 1,100 RPCs by 120 seconds, continuing indefinitely 800 total RPCs, unchanged after five more simulated minutes
150 unavailable unobserved runs All remain protected Retention returns to 100 runs
100 queued recovery owners 6,100 waits in the first simulated minute 600–700 waits with exponential jitter
Quick Chat send → 65 foreign runs → ACK → render Empty text prefix suffix more; negative control fails, candidate passes in 0.18 s

Inspected synthetic browser proof uses the actual Quick Chat HTML/CSS/JavaScript with deterministic Tauri stubs. Each scenario submits once, injects 65 foreign runs, acknowledges the selected run, then finishes it; no browser errors or unexpected requests occurred. These captures show browser rendering, not native X11/WebView execution.

Before: lost retry baseline silently finishes empty After: unavailable recovery is explicit
Quick Chat before: empty reply Quick Chat after: incomplete recovery message

Prepared request identity preserves the complete reply through the same unrelated traffic:

Quick Chat prepared request retains prefix suffix more

The load bounds use the real SDK reconciliation owner with a fake clock, not a live 100-browser latency benchmark. Earlier real 100-client reconnect proof measured 300 initial recovery RPCs for active runs.

Focused validation uses node scripts/run-vitest.mjs <files> --maxWorkers=1: 1,329 tests across 39 files passed in 117.02 s, covering Gateway live text/chat/projection/node delivery, gateway-client, SDK, ACP, TUI, UI streams/sidebar narration, and Linux Quick Chat. The subsequent iterator-handoff correction passed 56 SDK cases across six files in 2.51 s. Its negative control failed exactly that regression in 2.58 s; the other eight recovery cases passed. Restoring earlier implementations also reproduced seven SDK recovery failures, four terminal-text failures, two ACP failures, and the missing history run-identity failure.

The final test-helper corrections passed 17 SDK/ACP cases in 20.17 s; after the behavior-neutral lint fixes, the same 17 cases passed in 34.49 s and scoped type-aware lint passed in 44.90 s; both affected test typing groups also passed locally (10.01 s and 8.96 s).

Both affected workspace package builds passed: gateway-client 39.28 s, SDK 16.61 s. An initial SDK build overlapped Tauri's generated schema creation and was rejected by the compiler input-snapshot guard; serializing it after native compilation passed without a source change.

The Linux native adapter compiled on this Mac. Focused Rust event-before-ACK and retry-identity tests both passed (120.45 s including the build, then 8.04 s); rustfmt --check passed. These prove the native event pump and retry contract, not live X11/WebView delivery. The prepared-event ordering also follows Tauri's synchronous emit → shared WebView evaluation queue, before the Gateway request is polled. No native app or operator Gateway was launched. No Swift code changed in round three; the prior macOS build (234.77 s; final rebuild 61.45 s) and nine focused queued-terminal cases (3.63 s wall) remain valid. Android execution, full native suites, and a live 50–100-browser latency run remain unrun.

Remote validation used exactly one Blacksmith Testbox, lease tbx_01m3ercjax0f6r5ceqg0sx72y0 (provider run). The first gate stopped on the two test typing issues described above after 752.28 s. The complete rerun passed every typecheck and the preceding guards, then failed lint after 2,294.35 s (wrapper command 2,358.557 s): eight task-owned lint issues, subsequently fixed, and three unchanged merged-main line-cap violations:

Those three files have no diff from merged base 4f62a433acb7. The full gate is not claimed green. The final same-box follow-up passed in 122.662 s (192.18 s wrapper wall): core/package typing, type-aware lint of the repaired files, import-cycle checks, Linux-test lint, and formatting. The source capsule and targeted hashes were verified; its tree dc61ff41346932bc86d9085e2caa80d20b5d68c7 exactly matches published commit 9c05028af3fa. The lease was stopped and verified completed. No second box was allocated.

The initial wrapper preflight rejected a raw SHA as the base; using its required origin/main alias resolved to the same pinned fork point. No gate was skipped or relaxed. The wrapper result is authoritative; the linked hydration workflow may report cancellation during lease cleanup.

Deslop completed. Fresh independent full-branch candidate review is scoped-clean at P0–P2, with both review chunks clean. A further review of all third-round corrections after the final test-helper and lint changes is also scoped-clean, with no accepted/actionable findings. One follow-up finding about replacing a cancelled SDK reader was fixed and regression-tested. A trailing-whitespace ACP finding was rejected from the sole writer’s source: it applies trimEnd() before storing sentText; the subsequent clean review included that evidence. All three independent adversarial review rounds and their corrections are listed above.

Before landing integration, the full PR was: production +3,048/−812, net +2,236; tests/support +5,185/−1,365, net +3,820; docs net +102; tooling/manifests net +7. Round three adds production +414/−238, net +176, tests/support +576/−127, net +449, and docs net +10. The shared baseline owner saves 20 production lines and one shared terminal reader avoids adding a second transcript implementation; correct recovery budgeting, native request identity, and explicit incomplete-state handling still require net growth.

Existing RPC limits remain explicit: terminal observations have finite retention; terminal text recovery scans at most ten 200-record history pages and uses the full-message reader when needed. Missing authority or incomplete text yields recovery-unavailable metadata. Unknown runs remain unsettled after their automatic budget expires; a capped summary or unrelated answer is never promoted to complete output. Generic custom SDK transports retain their documented terminal/end-of-stream obligations.

Second-round app and extension consumer audit
Consumers Text contract
Apple GatewayChannel / GatewayLiveTextProjection Reconstruct chat and assistant-item text before local fanout.
Shared ChatUI; macOS WebChatSwiftUI / TalkModeRuntime; iOS IOSGatewayChatTransport / TalkModeManager Consume complete local projections. macOS queued-terminal retirement is corrected above.
Shared RealtimeTalkRelaySession; iOS TalkRealtimeWebRTCSession Terminal-only chat consumers.
Android GatewaySession / GatewayLiveTextProjection → ChatController / MicCaptureManager Reconstruct before local consumers.
Android TalkModeManager, RealtimeAgentCoordinator, WearRealtimeTalkController Chat terminal consumers; realtime talk.event is a separate protocol.
Android WearProxyBridge / WearProxyController → Wear WearGatewayRepository / WearViewModel Phone supplies complete bounded projections; Watch gives them precedence over suffixes.
Apple Watch WatchInboxMessages and Phone bridge Phone-owned delivery envelopes, not Gateway wire text.
macOS ControlChannel, AgentEventStore, AgentEventsWindow Diagnostics and activity routing downstream of Apple reconstruction.
Linux gateway_ws.rs → quickchat.js Direct chat-wire consumer; pre-ACK buffering fixed above.
qa-lab and google-meet Gateway clients RPC-only, no streaming text assembler.
codex, acpx, agentsapi, copilot plugins Upstream provider events or in-process observer/producer contracts.
a2a and onepassword text matches Inbound A2A parts or persisted tool-result content, not Gateway streams.

The source audit found no further unmigrated chat/assistant wire-text consumer. Android execution remains unverified.

@clawsweeper

clawsweeper Bot commented Sep 26, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

Pull request received. I will update this pull request when review starts.

ClawSweeper review complete

ClawSweeper finished reviewing this revision. The review result is being finalized.

View the workflow run.

@openclaw-barnacle openclaw-barnacle Bot added docs Improvements or additions to documentation app: android App: android app: macos App: macos app: web-ui App: web-ui gateway Gateway runtime size: XL labels Sep 26, 2026
@steipete
steipete marked this pull request as ready for review September 26, 2026 02:36
@clawsweeper

clawsweeper Bot commented Sep 26, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: blocked before merge. Reviewed September 27, 2026, 1:26 AM ET / 05:26 UTC (Revision 26).

ClawSweeper review

What this changes

The Gateway sends append deltas after recipient snapshots, while browser, SDK, terminal, ACP, Android, Apple, and Linux clients reconstruct live replies.

Regression provenance

Possible regression — suspected (reviewed change). No predecessor PR is attributed.

Merge readiness

⛔ Blocked before merge - 9 items remain

This PR remains useful because current main still sends cumulative chat snapshots. It is not merge-ready: the proposed v4 wire change can silently break older raw clients, and active SDK replay can retain excessive cumulative text.

Priority: P2
Reviewed head: 7ee18d6f1f4c601f4950a2be4bb0b806cd247873
Owner decision: Required. See Decision needed.

Review scores

Measure Result What it means
Overall readiness 🦐 gold shrimp (3/6) Production-path evidence is strong, but the unresolved v4 compatibility and active replay findings limit merge confidence.
Proof confidence 🦞 diamond lobster (5/6) Sufficient (live_output): The PR body reports after-fix recovery through a real Gateway WebSocket-to-ACP path and reduced serialized traffic from the Gateway producer; SDK load proof uses a fake clock. Android and native Linux GUI receive execution remains a separate platform gap. The diff changes in-memory delivery and replay, not a stored-data contract.
Patch quality 🦐 gold shrimp (3/6) 2 actionable review findings remain.

Verification

Check Result Evidence
Real behavior Verified Sufficient (live_output): The PR body reports after-fix recovery through a real Gateway WebSocket-to-ACP path and reduced serialized traffic from the Gateway producer; SDK load proof uses a fake clock. Android and native Linux GUI receive execution remains a separate platform gap. The diff changes in-memory delivery and replay, not a stored-data contract.
Evidence reviewed 12 items Current-main wire behavior: Current main constructs a complete assistant message for each chat delta.
Existing v4 contract: Current-main protocol documentation says chat.message remains the cumulative assistant snapshot in protocol v4.
Introduced wire projection: The new projection removes chat.message and assistant data.text from append frames; recipient receipts select that representation after the first snapshot.
Findings 2 actionable findings [P1] Negotiate append frames for existing v4 clients
[P2] Compact retained replay for active SDK runs
Security None None.

How this fits together

The Gateway turns agent output into WebSocket chat and assistant events for connected clients. Its recipient delivery and each client's replay state determine the text shown during streaming and after reconnect.

flowchart LR
  A[Agent output] --> B[Gateway text projection]
  B --> C{Recipient has baseline?}
  C -->|No| D[Full snapshot]
  C -->|Yes| E[Append delta]
  D --> F[Client replay]
  E --> F
  F --> G[Chat display]
Loading

Decision needed

Question Recommendation
Should existing protocol-v4 clients continue receiving cumulative text unless they opt into append delivery, or may the same v4 contract switch to append-only frames? Preserve v4 by default: Send cumulative frames to existing clients and enable append deltas only after an explicit capability handshake.

Why: The PR explicitly proposes an unnegotiated change to a documented public wire contract, so the compatibility choice requires maintainer intent.

Before merge

  • Negotiate append frames for existing v4 clients (P1) - The new projection removes message and assistant data.text after a recipient's first receipt, while current v4 documentation promises cumulative snapshots and the version remains 4. An older raw client can connect successfully and silently miss streamed text. Preserve cumulative v4 frames by default or negotiate append capability.
  • Compact retained replay for active SDK runs (P2) - Each normalized delta stores the full accumulated message in an event array of up to 500 entries, while active runs are exempt from the 100-run trim. Many concurrent long replies can therefore retain gigabytes of repeated text. Keep one live baseline and bound or compact replay events without discarding required recovery state.
  • Resolve merge risk (P1) - Existing raw protocol-v4 clients that render cumulative chat.message or assistant data.text can silently miss intermediate output because append delivery is not negotiated.
  • Resolve merge risk (P1) - Active SDK runs retain up to 500 cumulative event copies each and bypass the 100-run limit; many long concurrent replies can cause substantial memory growth.
  • Resolve merge risk (P1) - Android and native Linux receive paths change with no after-fix execution on those platforms, leaving their streaming and reconnect display behavior unverified.
  • Complete next step (P2) - Resolve the v4 contract choice, compact active SDK replay, and validate Android and Linux native receive behavior before merge.
  • Resolve maintainer decision - Resolve the maintainer decision shown above before merge.
  • Review config compatibility - Confirm compatibility and upgrade impact for the changed config or default surface before merge.
  • Add data-model compatibility proof - Confirm migration or upgrade compatibility proof before merge.

Findings

  • [P1] Negotiate append frames for existing v4 clients — src/gateway/server-chat-live-text.ts:17-27
  • [P2] Compact retained replay for active SDK runs — packages/sdk/src/run-event-replay.ts:224-227
Agent review details

Security

None.

PR surface

PR surface statistics unavailable: the file list is incomplete.

Review metrics

Metric Value Why it matters
Production and test growth production net +2,635 lines; tests net +3,751 lines The PR attributes the expansion to recipient delivery, replay recovery, and coordinated client migration.
Wire contract scope 2 text event families changed; protocol remains v4 The unchanged version makes the existing-client contract the central merge decision.

Stored data model

Persistent data-model change detected: unknown-truncated-pull-files. Confirm migration or upgrade compatibility proof before merge.

Merge-risk options

Maintainer options:

  1. Negotiate and bound the change (recommended)
    Preserve cumulative frames for v4 clients, negotiate append delivery, compact active replay, and prove Android and Linux receive behavior.
  2. Own the protocol break
    If maintainers approve changing existing v4 behavior, document the client upgrade path after replay retention and native validation are resolved.
  3. Pause the rollout
    Keep this PR open until the public wire contract and native validation path are settled.

Technical review

Best possible solution:

Keep cumulative v4 delivery as the default, negotiate append delivery for capable clients, compact active SDK replay around one live baseline, and validate the changed native receive paths on Android and Linux.

Do we have a high-confidence way to reproduce the issue?

Yes, source gives high-confidence checks: a v4 raw client that reads cumulative message loses the second append frame, and more than 100 active long SDK runs expose the retention path. This read-only review did not execute them.

Is this the best way to solve the issue?

No. Append delivery addresses the measured traffic, but negotiating it and compacting active replay are safer than silently changing the existing v4 contract.

Full review comments:

  • [P1] Negotiate append frames for existing v4 clients — src/gateway/server-chat-live-text.ts:17-27
    The new projection removes message and assistant data.text after a recipient's first receipt, while current v4 documentation promises cumulative snapshots and the version remains 4. An older raw client can connect successfully and silently miss streamed text. Preserve cumulative v4 frames by default or negotiate append capability.
    Confidence: 0.94
  • [P2] Compact retained replay for active SDK runs — packages/sdk/src/run-event-replay.ts:224-227
    Each normalized delta stores the full accumulated message in an event array of up to 500 entries, while active runs are exempt from the 100-run trim. Many concurrent long replies can therefore retain gigabytes of repeated text. Keep one live baseline and bound or compact replay events without discarding required recovery state.
    Confidence: 0.9

Overall correctness: patch is incorrect
Overall confidence: 0.89

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning high; reviewed against 13829435c8a8.

Labels

Label changes:

No label changes.

Label justifications:

  • P2: This is a substantial performance improvement with merge-sensitive compatibility and memory concerns, rather than an existing production outage.
  • merge-risk: 🚨 compatibility: The same v4 handshake would deliver a different text contract to previously supported raw clients.
  • merge-risk: 🚨 message-delivery: Older clients can omit streamed text, and changed native reconstruction paths remain unverified on their platforms.
  • merge-risk: 🚨 availability: Active SDK runs can retain many full cumulative event copies beyond the overall replay-run limit.
  • rating: 🦐 gold shrimp: Overall readiness is 🦐 gold shrimp; proof is 🦞 diamond lobster and patch quality is 🦐 gold shrimp.
  • status: ⏳ waiting on author: ClawSweeper has contributor-facing work open and is waiting for author action. Sufficient (live_output): The PR body reports after-fix recovery through a real Gateway WebSocket-to-ACP path and reduced serialized traffic from the Gateway producer; SDK load proof uses a fake clock. Android and native Linux GUI receive execution remains a separate platform gap. The diff changes in-memory delivery and replay, not a stored-data contract.
  • proof: sufficient: Contributor real behavior proof is sufficient. The PR body reports after-fix recovery through a real Gateway WebSocket-to-ACP path and reduced serialized traffic from the Gateway producer; SDK load proof uses a fake clock. Android and native Linux GUI receive execution remains a separate platform gap. The diff changes in-memory delivery and replay, not a stored-data contract.

Evidence

What I checked:

Likely related people:

  • steipete: Suggested for follow-up; no historical authorship or introduction is verified. (role: unverified routing candidate; confidence: low)
  • Vincent Koc: Suggested for follow-up; no historical authorship or introduction is verified. (role: unverified routing candidate; confidence: low)

Rank-up moves

Optional improvements that raise the rating; they are not merge blockers.

  • Choose and prove the legacy-v4 and append-capable client contracts.
  • Compact active SDK replay and demonstrate bounded retention with more than 100 concurrent long runs.
  • Exercise the changed Android and native Linux chat receive paths on their platforms.

Rating scale

Score Internal tier Crab rank Meaning
6/6 S 🦀 challenger crab Exceptional readiness
5/6 A 🦞 diamond lobster Very strong readiness
4/6 B 🐚 platinum hermit Good normal PR; ordinary maintainer review
3/6 C 🦐 gold shrimp Useful, but confidence is limited
2/6 D 🦪 silver shellfish Proof or implementation needs work
1/6 F 🧂 unranked krab Not merge-ready
N/A NA 🌊 off-meta tidepool Rating does not apply

Overall follows the weaker of proof and patch quality.
Shiny media proof means a screenshot, video, or linked artifact directly shows the changed behavior. Runtime, network, CSP, and security claims still need visible diagnostics.

Workflow

  • ClawSweeper keeps one durable marker-backed review comment per issue or PR.
  • Re-runs edit this comment so the latest verdict, findings, and automation markers stay together instead of adding duplicate bot comments.
  • A fresh review can be triggered by eligible @clawsweeper re-review comments, exact-item GitHub events, scheduled/background review runs, or manual workflow dispatch.
  • PR/issue authors and users with repository write access can comment @clawsweeper re-review or @clawsweeper re-run on an open PR or issue to request a fresh review only.
  • Maintainers can also comment @clawsweeper review to request a fresh review only.
  • Fresh-review commands do not start repair, autofix, rebase, CI repair, or automerge.
  • Maintainer-only repair and merge flows require explicit commands such as @clawsweeper autofix, @clawsweeper automerge, @clawsweeper fix ci, or @clawsweeper address review.
  • Maintainers can comment @clawsweeper explain to ask for more context, or @clawsweeper stop to stop active automation.

History

Review history (25 earlier review cycles; latest 8 shown)
  • reviewed 2026-09-26T20:23:45.144Z sha a82aaf4 :: blocked before merge. :: [P1] Negotiate append frames for existing v4 clients | [P2] Bound replay retained across active SDK runs
  • reviewed 2026-09-26T20:50:52.763Z sha 6f50397 :: blocked before merge. :: [P1] Negotiate append frames for existing v4 clients | [P2] Bound replay retained across active SDK runs
  • reviewed 2026-09-26T21:50:43.217Z sha 6425f59 :: blocked before merge. :: [P1] Negotiate append frames for existing v4 clients | [P2] Bound replay retained across active SDK runs
  • reviewed 2026-09-26T23:27:48.672Z sha e145969 :: blocked before merge. :: [P1] Negotiate append frames for existing v4 clients | [P2] Bound cumulative replay retained for active SDK runs
  • reviewed 2026-09-27T00:14:10.406Z sha 1395737 :: blocked before merge. :: [P1] Negotiate append frames for existing v4 clients | [P2] Bound retained replay for active SDK runs
  • reviewed 2026-09-27T01:42:01.911Z sha e5f4442 :: blocked before merge. :: [P1] Negotiate append frames for existing v4 clients | [P2] Bound replay retained for active SDK runs
  • reviewed 2026-09-27T03:19:38.565Z sha 2842f13 :: blocked before merge. :: [P1] Negotiate append frames for existing v4 clients | [P2] Bound replay retained for active SDK runs
  • reviewed 2026-09-27T04:10:08.538Z sha c40e986 :: blocked before merge. :: [P1] Negotiate append frames for existing v4 clients | [P2] Bound retained replay for active SDK runs

@github-actions github-actions Bot added the dependencies-changed PR changes dependency-related files label Sep 26, 2026
@github-actions

github-actions Bot commented Sep 26, 2026 •

Copy link
Copy Markdown
Contributor

⚠️ Dependency graph changes

This maintainer PR changes the dependency graph. This comment is informational because the PR author has repository Maintain or Admin access.

  • Current SHA: 7ee18d6f1f4c601f4950a2be4bb0b806cd247873
  • Maintainer: @steipete
  • Repository role: admin

These dependency graph changes were made:

  • pnpm-lock.yaml
  • packages/sdk/package.json

Carefully review these changes before merging.

@clawsweeper clawsweeper Bot added P2 Normal backlog priority with limited blast radius. merge-risk: 🚨 availability 🚨 May cause crashes, hangs, restart loops, stalls, or process outages. merge-risk: 🚨 compatibility 🚨 May break existing users, config, migrations, defaults, or upgrade paths. merge-risk: 🚨 message-delivery 🚨 May drop, duplicate, misroute, suppress, or wrongly target messages. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. labels Sep 26, 2026
@openclaw-barnacle openclaw-barnacle Bot removed the scripts Repository scripts label Sep 27, 2026
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Sep 27, 2026
Native registration invalidates registry discovery at both admission and
settlement. Concurrent history reads and Talk transcript broadcasts could
surface AgentDatabaseRegistryChangedError during initial source discovery
or final revalidation, including the unrelated CI failures in openclaw#158587 and
openclaw#159102.

Retry only the registry metadata read up to twice, retaining the original
state admission and physical source bindings. Keep topology revalidation,
revocation, and worker settlement checks; never replay history or writes.
Schemas, permissions, retention, and update behavior stay unchanged.

Extend the real history-reader fixture to force registration across both
read phases. All four cases fail on the original code and pass after the
fix. The focused Talk, history, broadcast, and source suites pass 56 tests.
Independent review through P2 is clean.
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Sep 27, 2026
The projection fixture launched collectors with Promise.all but assumed input
order was admission order and Collector A had occupied capacity before B's
creation event. Asynchronous requester lookup can reverse admission, while
preparation before a full slot correctly projects as running rather than queued.

Create the fixture's collectors sequentially and join dispatch with an explicit
completion signal. Preserve the exact list, history, lifecycle, rename, and
cancellation assertions. Extend the existing rename regression to reverse
overlapping requester reads; it fails on the original fixture with the CI
wrong-run-ID assertion. Controlled preparation also reproduced the original
creation-event status failure. Production behavior is unchanged.

Validation: all 34 tests in the file, 563 sibling session-utils/Gateway tests,
changed checks with no touched-file lint/type warnings, and independent review
through P2 passed. One-worker full-file wall time was 143.66s on the loaded
local host. Repeated file and original CI shard verification continues before
publication. Addresses unrelated CI failures observed in openclaw#159103 and openclaw#158587.
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Sep 27, 2026
The first real queue operation cold-starts the shared-state worker and its
lazy runtime. The acknowledgement-order test counted that initialization
against vi.waitFor's one-second default; a cold standalone run reproduced
zero acknowledgements after 1,007 ms, matching the failure on openclaw#158587.

Await the acknowledgement callback's own readiness signal, racing receive
completion so admission errors still fail promptly. Preserve exact call
counts and acknowledgement-before-dispatch ordering. Always release the
gate and join receive before stopping ingress on assertion failure. No
runtime behavior, timeout, or retry policy changes.

Scanned extension ingress/setup fixtures: other worker-backed waits follow
awaited admission or seed writes; Google Chat's cold-import setup fix is
already on main. No additional same-cause changes were needed.

Validation: 20 cold-process/cache runs, 19 tests each (42-100 seconds wall
per run, including transforms and worker preparation); the original
174-file Slack shard in its recorded order with two workers (2,844 tests);
25 focused sibling/history-policy tests; check:changed including extension
test types and lint without warnings; scoped Codex review through P2.

The unmodified-main ordered replay also exposed a separate history-policy
flake: mediaFetchMock expected 5 calls and received 7. Its focused replay
passed. Extra media refresh fallbacks are plausible but the original log
lacks download errors, so no safe fix is established and no assertion was
weakened. Passing replays do not establish a fix for that separate failure.
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Sep 27, 2026
…57713)

* feat(channels): configure mentions in bot-created threads

Add requireMentionInBotThreads across supported channel plugins. Operators can accept unmentioned follow-ups only in threads created by the receiving bot, while preserving existing defaults, access restrictions, and session-binding activation.

Document Discord and Slack setup, transport prerequisites, supported scopes, and bounded ownership evidence. Add native inbound regressions for ownership, strict activation, authorization, cache lifecycle, and bound topics.

* fix(channels): preserve bot-thread identity and API contracts

Retain the shipped Discord boolean runtime API and its precomputed ownership semantics. Revalidate ClickClack bot, workspace, and server identity after awaited admission and before dispatch. Enforce explicit Mattermost bot-thread mentions even when no detector is available.

Add dispatch-boundary identity and no-detector regressions, with the existing Discord runtime API guard unchanged. Each reported defect fails before the repair and passes afterward.

* test(msteams): complete runtime mocks for sent-message tracking

* fix(clickclack): recheck bot-thread mention policy before dispatch

* test(discord): keep mention contracts in the allow-list suite

* fix(channels): revalidate sender access and inherit thread policy

* fix(tlon): recheck thread mention policy before dispatch

Retain raw mention and verified root facts, then synchronously recheck current settings before dispatch and direct summary replies. Reproduce three late-revocation effects with allowed controls. Complete ClickClack direct-model fixture account publication and authored workspace identity after current-admission checks exposed its missing setup.

* test(talk): join transcript publications between fixture phases

Reuse the focused fixture repair from openclaw#158587 (6425f59). Join owned broadcast reads before delegation admission and database close/reopen, and verify that the spoken message was published. Registry guards and production behavior are unchanged.

* fix(tlon): revalidate channel sender access before dispatch

Use one current admission resolver for sender and mention rules, refresh ingress policy when invoked, and preserve owner and explicit approval behavior. Deferred-ingress regressions cover channel restriction and sender removal with allowed controls.

* fix(buzz): cancel relay queries while waiting for a slot

Remove aborted queued lookups before they acquire a query slot and retain FIFO capacity ownership for live waiters. Clarify the existing admission-only policy contract: accepted turns retain their settings, while account, run, and transport liveness remain with their owners.
Adopt main roster admission and fixture repairs while preserving both sides of the in-flight Swift snapshot merge. Clear warnings in the touched session-action fixture without changing assertions.
@steipete
steipete merged commit 2f58ead into main Sep 27, 2026
266 checks passed
@steipete
steipete deleted the perf/l20-streaming-wire-deltas branch September 27, 2026 05:53
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Sep 28, 2026
* perf(gateway): stream append deltas across gateway clients

* fix(sdk): retire streaming baselines across reconnects

* test(gateway): remove unused wire fixture type import

* fix(gateway): preserve streaming continuity through settlement and replay

* fix(sdk): bind replay updates to the captured run identity

* fix(gateway): recover text baselines after source event gaps

* fix(gateway): preserve queued text across source discontinuities

* fix(streaming): preserve completion and retire unsubscribed baselines

* fix(streaming): preserve native terminal delivery across gaps

* test(ui): pin reconnect jitter in chat delivery fixtures

* fix(gateway): preserve nonblocking node fanout contracts

* fix(streaming): reconcile runs and preserve client baselines

* fix(linux): preserve quick chat output after startup status

* fix(sdk): bind unsubscribe cleanup to acknowledged session identity

* fix(streaming): preserve agent ownership during unsubscribe

* fix(ui): retire globally aliased stream baselines

* fix(streaming): preserve full replies through recovery and buffering

* style(android): align streaming text expression with ktlint

* style(android): format streaming regression tests

* test(ui): supply connection-owned chat snapshots in fixtures

* test(gateway): assert terminal delivery settlement metadata

* test(streaming): migrate remaining wire event fixtures and readers

* chore: remove retired client fixture assumptions and macOS wrappers

* test(acp): declare authoritative empty replies in recovery fixtures

* refactor(chat): match pending scroll command identity explicitly

* test: split streaming fixtures for line-count ratchet

* test(talk): join transcript publications between fixture phases

* test(slack): adopt durable acknowledgement readiness fix

Adopt main aa5473d. Await the acknowledgement-start signal and join pending receive work before fixture shutdown while preserving ACK-before-dispatch assertions.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

agents Agent runtime and tooling app: android App: android app: linux app: macos App: macos app: web-ui App: web-ui dependencies-changed PR changes dependency-related files docs Improvements or additions to documentation gateway Gateway runtime merge-risk: 🚨 availability 🚨 May cause crashes, hangs, restart loops, stalls, or process outages. merge-risk: 🚨 compatibility 🚨 May break existing users, config, migrations, defaults, or upgrade paths. merge-risk: 🚨 message-delivery 🚨 May drop, duplicate, misroute, suppress, or wrongly target messages. P2 Normal backlog priority with limited blast radius. proof: sufficient ClawSweeper judged the real behavior proof convincing. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. size: XL status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant