Skip to content

refactor(sessions): move async durable transcript reads off the Gateway thread - #163605

Merged
steipete merged 12 commits into
mainfrom
dbasync/txevents
Oct 3, 2026
Merged

steipete merged 12 commits into
mainfrom
dbasync/txevents

Conversation

@steipete

@steipete steipete commented Oct 2, 2026 •

Copy link
Copy Markdown
Contributor

What Problem This Solves

Awaiting loadTranscriptEvents still ran native SQLite reads on the Gateway thread during compaction preflight, reset hooks, BTW context preparation, and other async transcript consumers.

Solution

Route durable event loads through the existing history worker's full-transcript hydration reader and bounded frame transfer. Capture the physical store before target discovery yields, retain its read custody through cold restoration and cleanup, and reject changed sources before returning events. Preserve raw ordering, branch/leaf records, read fences, byte limits, and typed budget/parse errors. All existing awaited callers follow the same accessor export; the old async host-reader implementation is removed.

Only declared read-scope fields cross the worker boundary, so wider caller objects cannot leak callbacks into structured cloning. Unqualified session keys retain store-owner discovery, and an absent member of a captured store family returns an empty read. The trusted PR wrapper inventory includes the budget-error module introduced by the worker error transport.

BTW rechecks cancellation after context preparation. An adjacent unreachable auth-profile comparison was simplified without changing profile selection.

Impact

No schema, stored-byte, retention, configuration, or update changes. Incognito retains its process-held owner. Missing sessions and missing stores return empty events; durable reads do not create an absent store. There is no fallback to host SQLite after a worker failure.

Released SDK surface check: v2026.9.7 already exposes readSessionTranscriptEvents(...): Promise<SessionTranscriptEvent[]>; its signature stays compatible. The released session-store-runtime export loadTranscriptEventsSync(...): SessionStoreTranscriptEvent[] is unchanged. No new SDK adapter or export is introduced.

This is the explicitly bounded async-loader cutover. Retained scans need later owner-level work and are not claimed as migrated:

  • Rewind/fork/switch transaction: src/config/sessions/session-accessor.sqlite-message-cut.ts:243.
  • Parent-fork reads and transactions: src/config/sessions/session-accessor.sqlite-parent-session.ts:163,311,478,506.
  • Lifecycle reset transaction: src/config/sessions/session-accessor.sqlite-lifecycle.ts:164 → src/config/sessions/session-accessor.sqlite-reset-boundary.ts:30.
  • Session-memory capture: src/hooks/bundled/session-memory/capture.ts:109.
  • Other synchronous consumers, including usage collection at src/infra/session-cost-usage-collection.ts:389, and the released synchronous SDK remain outside this lane.

The recent-PR overlap check found no active competing production-function owner for this cutover. The history-reader factory itself is reused without modification.

Evidence

Original measurement and review base: 7555e3f88132bc5915e42141d9a09aa435ed7c2a.

Production LOC: +192 / −29 / net +163 across 8 production files. Static inventory T1 1,518 → 1,518: shared native kernels remain mixed-use, so no whole-file reclassification is claimed. The new boundary regression fails on the original implementation with 3,437 caller-thread SQL observations and passes after the cutover with 0, including cold target discovery and missing reads. Real cold-archive restoration also records 0 caller-thread SQL.

All focused commands used --maxWorkers=1; measured wall times:

Test file / filter Result Wall time
session-transcript-events.worker.test.ts 5 passed 22.47 s
session-transcript-runtime.read-fence.test.ts 3 passed 22.92 s
session-cold-storage.test.ts -t 'restores on async read' 1 passed, 22 filtered 47.16 s
btw.test.ts 63 passed 72.19 s
commands-core.test.ts -t 'before_reset' 3 passed, 7 filtered 26.60 s

The new boundary file spends about 2.8 s in tests; compilation/setup account for most wall time. The existing cold-storage test performs real archive creation and restoration to prove that transaction/lifecycle boundary. The existing BTW suite spent under 1 s in tests; its cold compiled-worker preparation dominates the run. CI seconds are not yet available at PR creation.

  • The source-capture tests preserve the original mutable scope and reject physical database replacement during discovery.
  • The SDK suite proves exact admitted-prefix reads and typed rejection of invalid read fences. The cold-storage case proves restored events and unchanged retained metadata.
  • pnpm check:madge-import-cycles: 0 cycles.
  • pnpm check:database-worker-ratchet --base <pinned-base>: passed.
  • Isolated Codex autoreview through P2, pinned to that base: scoped-clean, no findings.
  • git diff --check: passed.
  • node scripts/check-changed.mjs --base <pinned-base> --timed: conflict and line-cap guards pass; execution stops at the inherited env-name budget failure. The max-lines suppression check itself passes. All 30 remaining commands from the canonical plan ran separately and passed, including production types, all 27 affected test type graphs, formatting, lint, dead exports, and storage/import/auth boundary guards. No guard or budget was modified.

Main was integrated with merge commit 51da93ca642292fadbe3cca6309c67868a9b37f3 (main parent 87af5763bbc0bd1febc08d78eedc7fafd9eb5225), including the owner-approved environment-budget repair 1f14ba2cbe2f6. The integrated max-lines and environment-name gate passes at 477/477. This PR adds 0 new OPENCLAW_ names* and does not change the budget.

Landing validation found and repaired the omitted wrapper dependency, callback-bearing worker inputs, early rejection of unqualified session keys, and missing sibling-store reads. Existing fixtures now await database teardown before reopening; the host-SQL positive control uses the synchronous reader, and maintenance-race seeding does not schedule unrelated automatic maintenance. Assertions and authority fences remain intact.

The wrapper source-closure cases pass (3 tests, 18.11 s wall time), and its eager-import inventory check passes (1 selected test, 40.91 s). The complete Gateway-method group passes 44 tests in 675.05 s. A focused command through node scripts/run-vitest.mjs <9 files> --maxWorkers=1 -t <failing-contract selectors> passes 30 tests in 1,049.56 s wall time, including real canonical descendant forks, all reset-authorization cases, storage ownership, typed errors, missing stores, byte bounds, and zero caller SQL. Setup and source transformation dominate this loaded host. The fresh repair autoreview is clean through P2; the final type-only capture annotation correction emits identical JavaScript. Production types, affected test graphs (agents-sessions: 15.1 s; gateway-methods: 16.9 s), and focused lint pass. SDK signatures were independently compared with v2026.9.7 during landing and remain compatible.

Independently reproduced inherited CI failures on scheduled main run 37027847475, head 1f14ba2cbe2f6:

  • Four cron session-identity cases fail while creating legacy-shaped fixture entries, before any transcript read (main job 110907288313).
  • Three archive-lifecycle cases fail because their sharing context has no bound session projection; one times out waiting for a gate after that rejection (main job 110907288657).

These seven exact cases also fail in PR run 37030006935. Their causal source files are untouched by this PR and match between independently failing main and that run's main parent. Any final inherited-failure admin admission remains bound to the repaired head and its actual completed CI attempt; this historical evidence is not a claim that current-head CI is green.

The same main integration includes fixes for the inherited cron fixture failures (3c765df3cea998caf69634b4eff8a3574428b3db) and archive-lifecycle projection fixtures (180d8bbecb04f78a8c59ff5cfc917ad98d345e2e). The older failure evidence above is historical, not a current-head CI exception.

The combined-store preview assertion was independently diagnosed as a pre-existing fixture settlement race. Its enrichment path uses projectionLane → readRowBackfill, not loadTranscriptEvents. Temporary probes showed the one-second polling assertion expiring before the global preview read began; the preceding row then reported revoked custody after fixture disposal, after its worker reply had already arrived. The fixed fixture holds foreground work until the existing accepted-publication observer is registered, releases it, and awaits publication before preserving all title, preview, and logical/physical ownership assertions. No sleeps, timeout increases, production seam, or production reader change was added. All temporary logging was removed.

The standalone fixture proof on 166bce9a plus the repair passes 26/26 tests with Node 24.19 and pnpm test src/config/sessions/combined-store-gateway.test.ts --maxWorkers=1: 1,156.37 s wall, largely cold compilation and transformation on the loaded host. The repaired preview case completes in 12.944 s. Its isolated Codex autoreview is clean through P2; focused formatting and lint pass. The two existing foreground-settlement sibling cases also pass (4 unrelated cases filtered), 536.68 s wall, and all wrappers joined successfully. Post-main validation on Node 24.21 passes 31/31 tests across combined-store-gateway.test.ts and session-transcript-events.worker.test.ts, 789.30 s wall, with --maxWorkers=1. Production types and the conflict, line-cap, environment, assertion-safety, SQLite-worker, timeout, dependency, formatting, and documentation gates pass; the canonical changed-check plan has passing evidence for all commands. The corrected fixture and final main integration received focused follow-up checks; no check was disabled.

Five standalone and five exact 25-file CI-shard invocations were run per pinned head. The preview assertion failed as follows:

Pinned head Standalone preview failures CI-shard preview failures Node launcher
PR 166bce9a87422fa2af2a44c451adb168106e3aa6 3/5 4/5 26.10.0
Merge base 7555e3f88132bc5915e42141d9a09aa435ed7c2a 5/5 4/5 24.21.0

The different Node launchers and heavy host load limit quantitative comparisons; the identical call path and post-disposal trace establish the fixture race independently of these rates. The pre-fix campaigns also each hit one session-accessor.reply-init-concurrency.test.ts worker deadline (PR shard 4, baseline shard 3). That separate failure was retained as observed; no longer timeout or retry was used to conceal it.

A further cleanup fixture repair (20b68ad7638fbc3f0878b265088490d602564fbc) removes its 500 ms writer race: it awaits the real write while the archive barrier remains held, then releases the archive. Test-finish cleanup releases that barrier and joins every started operation. The three existing archive/writer cases pass (152.90 s wall, 10 unrelated cases filtered), with affected test types, lint, and isolated P2 autoreview clean. This keeps the lock-release assertion independent of worker startup latency.

Second main integration: 2ea2a397ce149e88e94a368bf37c82393d76aa4a, a merge commit with main parent ff1c3955bdb0ac8972afd26a59a356705fde81ef. It includes the overlapping subagent-completion repair 8af8744f74df1696b763b37381386f18f733a877 and placement fixture synchronization in ec62b500c9e6e. The final event-worker suite passes 5/5 tests, 235.48 s wall, and production types, formatting, core/script lint, import cycles, schema, storage, webhook, and auth guards pass.

Historical CI run 37057673052, at 62f009a8, completed with 12 failing test jobs and the downstream CI gate. The archive-writer timing assertion is repaired above, and main supplies the browser/placement fixes. Independent main CI or one-pass pristine-main replays at 87af5763bbc0bd1febc08d78eedc7fafd9eb5225 reproduce the remaining observed fixture families: raw SQLite images captured before worker closure, corpus/sharing fixtures assuming a host database handle after worker writes, Doctor integrity receipt/teardown, shared-store reaping, model-catalog startup closure, trajectory mock identity getters, and placement/sharing/search observations. The sharing authorization rejection itself succeeds; its broad commit-stage spy assertion fails. Search's exact 120-second timeout reproduces, but its precise timed-out phase remains uninstrumented.

The separate Doctor auth E2E maintenance-refusal cases reproduce on pristine main 87af5763bbc0bd1febc08d78eedc7fafd9eb5225 on Linux: 2 failed / 1 passed, 747.65 s wall, Node 24.19.0, Testbox run 37065636879. Both report “Doctor could not enter maintenance. An agent database is in use.” The payload verified its source checkout and clean diff before execution; the lease is completed. macOS had refused artifact preparation before executing tests, so it supplies no E2E result. Current-head CI and any native inherited-failure admission will be bound to the final head and completed attempt; historical evidence is not current-head CI success.

The next main advance caused one real conflict in session-transcript-hydration.types.ts. Merge resolution preserves both transcript read and write scopes plus main's maintenance contracts; both versions emit empty JavaScript. The complete 20-file candidate against main 1b4dbda4c95f14ca6cbd9739c42ca0551e59edb6 received fresh isolated P2 autoreview: scoped-clean, no findings. Production types, the affected agents/sessions test type graph, focused lint, and git diff --check pass.

CI run 37070175570, head e4ea62676e273bd5f03a3866ce1ce49e9a9e0574, completed with 84 successful jobs, 20 skipped jobs, 10 failing test jobs, and the downstream failing CI gate; no cancelled jobs. security-fast passed. The actual tested merge was 27ef71744d8ef7feeba185bb1fd471a29b7dfd04, with main parent 2d1011a9a4161ae3931acfe1dea25800e344e5eb. All failed job logs were collected once. The lifecycle fixture self-drain timeout is repaired below; remaining independent-main qualifications are tracked separately. This historical run is not current-head green proof, and it was not rerun. ClawSweeper completed this exact-head review at 2026-10-02 22:06:01 UTC with no findings.

The lifecycle fixture now closes the captured cached host handle in its two handle-loss callbacks. Previously, a callback could hold writer admission while awaiting whole-owner closure; maintenance retirement then waited for work queued behind that same admission. The unchanged case passed alone, but a full-file pre-fix replay reproduced a 120-second test timeout plus 180-second teardown timeout in the async predicate case. After recording that failure, the owned stalled wrapper was interrupted and fully joined. The repair preserves closed-handle, appended-event, label, and post-operation teardown assertions. Full-file proof passes 17/17, 59.87 s wall, Node 24.21.0, pnpm test src/config/sessions/session-accessor.sqlite-handle-lifecycle.test.ts --maxWorkers=1; affected test types, lint, formatting, and diff checks pass. Fresh isolated P2 review is scoped-clean. No production behavior or timeout changed.

Merge commit eacd84291309d5df7192b860e2231fc403fb91a5 incorporates main db24ac34b6ab0337ba37b8f57432ea601fbc621a, including a97e007542efc (conversation-registry and public-sharing raw fixture writes) and aa906dbd5f8d2 (forwarding the moved native model helper in the test mock). The merge was conflict-free; all 18 authored source/test files remain byte-identical to reviewed a64841f5a8b38. Main additions in the documentation and wrapper inventory were inspected. The event-worker and handle-lifecycle files pass 22/22, 83.51 s wall, with affected test types and diff check passing. Prior raw-write and stale-mock failures are retired by those main fixes.

Independent Doctor-preflight proof is now complete on pristine main 2d1011a9a4161ae3931acfe1dea25800e344e5eb, using a Linux AWS Crabbox runner and Node 24.19.0: 1 failed / 16 passed, 125.57 s wall. The exact case fails with the same retired Discord allow setting refusal, before transcript loading. The source receiver verified the complete pinned tree and frozen installation; the payload verified its physical checkout, clean diff, and causal source hashes against the tested PR merge. The runner is released. Earlier local preparation and two Testbox admissions ran zero tests; those attempts supplied no proof and were not treated as passing. The Testbox expiry is recorded in run 37074155485. No guard or timeout was weakened.

The final main-history check found the direct fixture repair 56a17f9c950321d89dedbae78e43892c65b59e82: shared-store retirement is now awaited before cold cron owner discovery. Merge commit 5e1292728da80029401c152422f18387f1fdd62f incorporates main 3059a884501aec497d4ffaa6560a00e8450dd404, including that fix. The merge is conflict-free, all 18 authored source/test files remain byte-identical, and the worker boundary suite passes 5/5, 58.80 s wall, with the affected test type graph and diff checks passing. Main's cron repair records 35/35 passing cases and independent review. Prior cron failure attribution is retired for the integrated head.

The next CI attempt exposed two more native-fixture assumptions. The same-connection cache probe now awaits retirement of its exact seeded state root before opening its measured connection and capturing cached entries. A pristine-main full-file control passed 20/20; that control is not claimed as a fix or inherited-failure proof. The pending-input rollback and relocation tests now serialize their existing CREATE/DROP trigger statements through the foreground database writer FIFO, preserving live receipt custody. All SQL strings and rollback, consumption, identity, and no-reparse assertions are unchanged. Full-file validation passes 57/57 (37 pending-input, 20 cache), 419.12 s wall with --maxWorkers=1; the repaired aggregate rollback takes 8.744 s and cache case 4.989 s on the loaded local host. Lint, formatting, and affected types pass. Fresh isolated P2 review of the two-file repair is scoped-clean, with no findings.

Independent main fc12c47da1a289a6c9514ab8290fa0c1604085d2 reproduces all four newly observed placement discovery/registry failures. Main 9f0da25a995bc7c9ee35b0dbfd80c6e4b78858c8 introduces eager candidate identity checks and unconditional registry witnesses; the changed transcript reader is not reached. The two-file main placement replay has 5 failed/35 passed in 311.50 s, including one additional incognito-independence failure. Its grouped pending-input file was not executed after the gateway project failed; no pending-input main proof is claimed.

The Talk confirmation failures also match scheduled main run 37077835919, job 111071892660: all 30 failed cases and three unhandled rejections. Both Node on main and Bun in the PR reject workspace preparation because its worker-thread test environment has no host SQLite broker, before the migrated transcript reader runs. Their 18 causal source files match; this is not a new transcript-reader or Bun-routing change.

Final exact-head CI run 37082183994, attempt 1, tested a7be72da07b0d01b549da65cfbe411bd3ab2b0fe in merge c3abc65a54c999cc656896af8f0e2f64b5d5d104 against main 5046ab7d684d0c45462b6e23b12054f043a39375. It completed with 93 successful jobs, 20 skipped jobs, five failed test jobs and their downstream CI gate; no cancellations. security-fast passed. The five remaining roots are independently reproduced main failures: two Doctor maintenance-admission cases (Linux main proof above), two placement worker cases and two placement discovery cases (pristine main fc12c47d proof above), repository publication's raw fixture BEGIN IMMEDIATE contention (main run 37054655798, job 110996434296), and Talk's 30 workspace host-broker failures/timeouts plus three unhandled rejections (main run 37077835919, job 111071892660). These failures occur before the migrated transcript reader and their causal files are untouched by this PR. The exact competing repository lock holder remains unidentified; newer main coordinator additions are confined to claim methods that this personal-publication test prefix never calls. Failed CI remains failed and is submitted through the explicitly owner-approved native inherited-failure exception, with exact-head source, log, checkout and complete job-accounting evidence.

ClawSweeper completed its review of a7be72da on 2026-10-03 at 00:35:50 UTC: no correctness or security findings and no before-merge requests. All authored repairs have focused passing proof and clean isolated P2 review; no CI rerun was used to conceal a failure.

…ay thread

Reuse the existing history hydration stream with captured physical store identity, read fences, typed errors, and cold-restoration custody. Keep incognito and the released synchronous SDK reader with their native owners.
@clawsweeper

clawsweeper Bot commented Oct 2, 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 agents Agent runtime and tooling size: M labels Oct 2, 2026
@steipete

steipete commented Oct 2, 2026

Copy link
Copy Markdown
Contributor Author

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Oct 2, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
Exact review queued.

Re-review progress:

@clawsweeper clawsweeper Bot added P2 Normal backlog priority with limited blast radius. merge-risk: 🚨 automation 🚨 May affect CI, automerge, proof capture, label sync, or maintainer automation. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. labels Oct 2, 2026
@clawsweeper

clawsweeper Bot commented Oct 2, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge. Reviewed October 2, 2026, 9:00 PM ET / October 3, 2026, 01:00 UTC (Revision 12).

ClawSweeper review

What this changes

Moves awaited durable session transcript reads into the existing history worker, preserves synchronous and incognito readers, and synchronizes affected test fixtures.

Merge readiness

✅ Ready for maintainer review

This PR remains useful: current main still performs awaited transcript reads through synchronous SQLite. No introduced correctness or security defect was found; failed CI remains subject to the native landing gates.

Priority: P2
Reviewed head: a7be72da07b0d01b549da65cfbe411bd3ab2b0fe

Review scores

Measure Result What it means
Overall readiness 🦞 diamond lobster (5/6) A focused owner-preserving cutover with meaningful regression coverage and detailed validation evidence; failed CI remains a separate landing gate.
Proof confidence 🌊 off-meta tidepool Not applicable: The supplied Repository State identifies a MEMBER author, so the ordinary external-contributor proof gate does not apply. Reported native worker and cold-restoration validation maps to the changed accessor; no stored-data contract changes or material authorization expansion were found.
Patch quality 🦞 diamond lobster (5/6) No actionable review findings were identified.

Verification

Check Result Evidence
Real behavior Not applicable Not applicable: The supplied Repository State identifies a MEMBER author, so the ordinary external-contributor proof gate does not apply. Reported native worker and cold-restoration validation maps to the changed accessor; no stored-data contract changes or material authorization expansion were found.
Evidence reviewed 8 items Still necessary on current main: The fetched main revision still implements the awaited loader by calling loadTranscriptEventsSync inside readRestoredSessionTranscript.
Pinned cutover and source custody: Inspected the merge-base-to-head production and test hunks. The new accessor captures declared inputs and physical identity before discovery, retains existing worker custody through restoration, and validates the source before returning events. The obsolete async host implementation is removed.
Existing worker owner: History and raw-parent inspection tie the reused full-transcript hydration implementation to merged #153325. This earlier work supplies the worker reader but does not replace the awaited accessor on current main.
Findings None None.
Security None None.

How this fits together

Session transcript storage supplies conversation history to compaction, reset hooks, exports, and side questions. The changed accessor sends durable reads through a worker and returns ordered events to those consumers.

flowchart TD
  A[Transcript consumers] --> B[Session read accessor]
  B --> C{Durable or incognito}
  C -->|Durable| D[History worker]
  C -->|Incognito| E[Process-held reader]
  D --> F[SQLite snapshot and cold restoration]
  F --> G[Validated ordered events]
  E --> G
  G --> A
Loading

Before merge

None.

Agent review details

Security

None.

PR surface

Source +163, Tests +210, Docs +9, Other +1. Total +383 across 22 files.

View PR surface stats
Area Files Added Removed Net
Source 8 192 29 +163
Tests 12 256 46 +210
Docs 1 9 0 +9
Config 0 0 0 0
Generated 0 0 0 0
Other 1 1 0 +1
Total 22 458 75 +383

Review metrics

Metric Value Why it matters
Production versus test growth production net +163 lines; tests net +210 lines Production growth provides captured-source and lifecycle checks around the existing worker; test growth covers the changed storage boundary.

Technical review

Best possible solution:

Use the existing history worker for durable awaited reads while preserving canonical transcript bytes, read fences, cold restoration, and the released synchronous contract.

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

Yes, source establishes that current main's awaited loader directly invokes synchronous SQLite reads on its caller thread; no runtime reproduction was executed in this read-only review.

Is this the best way to solve the issue?

Yes, reusing the existing hydration worker removes the async host-reader path while retaining the established storage and SDK contracts.

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning medium; reviewed against 3b3d1b09dedd.

Labels

Label changes:

No label changes.

Label justifications:

  • P2: This bounded storage refactor improves Gateway responsiveness without evidence of an urgent user-facing outage.
  • rating: 🦞 diamond lobster: Overall readiness is 🦞 diamond lobster; proof is 🌊 off-meta tidepool and patch quality is 🦞 diamond lobster.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR. Not applicable: The supplied Repository State identifies a MEMBER author, so the ordinary external-contributor proof gate does not apply. Reported native worker and cold-restoration validation maps to the changed accessor; no stored-data contract changes or material authorization expansion were found.

Evidence

What I checked:

Likely related people:

  • Peter Steinberger: Raw commit dbd3bf7 adds src/config/sessions/session-transcript-hydration.worker.ts:31 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: dbd3bf7da26b; files: src/config/sessions/session-transcript-hydration.worker.ts)

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 (11 earlier review cycles; latest 8 shown)
  • reviewed 2026-10-02T20:05:26.233Z sha 62f009a :: needs maintainer review before merge. :: none
  • reviewed 2026-10-02T21:31:34.602Z sha 2ea2a39 :: blocked before merge. :: none
  • reviewed 2026-10-02T21:36:42.564Z sha 2ea2a39 :: blocked before merge. :: none
  • reviewed 2026-10-02T22:06:01.745Z sha e4ea626 :: needs maintainer review before merge. :: none
  • reviewed 2026-10-02T22:52:06.636Z sha a64841f :: needs maintainer review before merge. :: none
  • reviewed 2026-10-02T23:05:11.318Z sha eacd842 :: needs maintainer review before merge. :: none
  • reviewed 2026-10-02T23:48:49.129Z sha 5e12927 :: needs maintainer review before merge. :: none
  • reviewed 2026-10-03T00:35:50.030Z sha a7be72d :: needs maintainer review before merge. :: none

@openclaw-barnacle openclaw-barnacle Bot added the scripts Repository scripts label Oct 2, 2026
@steipete

steipete commented Oct 2, 2026

Copy link
Copy Markdown
Contributor Author

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Oct 2, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
Exact review queued.

Re-review progress:

@clawsweeper clawsweeper Bot added rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. and removed rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. merge-risk: 🚨 automation 🚨 May affect CI, automerge, proof capture, label sync, or maintainer automation. status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. labels Oct 2, 2026
@steipete

steipete commented Oct 2, 2026

Copy link
Copy Markdown
Contributor Author

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Oct 2, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
Exact review queued.

Re-review progress:

@openclaw-barnacle openclaw-barnacle Bot added the gateway Gateway runtime label Oct 2, 2026
@steipete

steipete commented Oct 2, 2026

Copy link
Copy Markdown
Contributor Author

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Oct 2, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
Exact review queued.

Re-review progress:

@steipete

steipete commented Oct 2, 2026

Copy link
Copy Markdown
Contributor Author

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Oct 2, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
Exact review queued.

Re-review progress:

@steipete

steipete commented Oct 2, 2026

Copy link
Copy Markdown
Contributor Author

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Oct 2, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
Exact review queued.

Re-review progress:

@steipete

steipete commented Oct 2, 2026

Copy link
Copy Markdown
Contributor Author

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Oct 2, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
Exact review queued.

Re-review progress:

@steipete

steipete commented Oct 2, 2026

Copy link
Copy Markdown
Contributor Author

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Oct 2, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
Exact review queued.

Re-review progress:

@steipete

steipete commented Oct 2, 2026

Copy link
Copy Markdown
Contributor Author

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Oct 2, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
Exact review queued.

Re-review progress:

@steipete

steipete commented Oct 3, 2026

Copy link
Copy Markdown
Contributor Author

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Oct 3, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
Exact review queued.

Re-review progress:

@clawsweeper clawsweeper Bot added rating: 🦞 diamond lobster Very strong PR readiness with only minor maintainer review expected. and removed rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. labels Oct 3, 2026
@steipete
steipete merged commit 3c397d0 into main Oct 3, 2026
190 of 198 checks passed
@steipete
steipete deleted the dbasync/txevents branch October 3, 2026 01:19
@steipete

steipete commented Oct 3, 2026

Copy link
Copy Markdown
Contributor Author

Merged via explicitly authorized admin squash with attributed pre-existing CI failures.

github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Oct 3, 2026
…ay thread (openclaw#163605)

* refactor(sessions): move async durable transcript reads off the Gateway thread

Reuse the existing history hydration stream with captured physical store identity, read fences, typed errors, and cold-restoration custody. Keep incognito and the released synchronous SDK reader with their native owners.

* fix(tooling): include transcript budget error in PR wrapper

* fix(sessions): preserve transcript read scope across worker boundaries

* test(sessions): await shared-store preview settlement

* test(sessions): await archive-phase writer settlement

* test(sessions): avoid draining resources inside handle-loss callbacks

* test(sessions): synchronize native fixture writes and cache probes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

agents Agent runtime and tooling docs Improvements or additions to documentation gateway Gateway runtime P2 Normal backlog priority with limited blast radius. rating: 🦞 diamond lobster Very strong PR readiness with only minor maintainer review expected. scripts Repository scripts size: L status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant