Skip to content

fix(storage): preserve committed facts when publication fails - #167570

Merged
steipete merged 4 commits into
mainfrom
dbasync/sw1receipts
Oct 9, 2026
Merged

steipete merged 4 commits into
mainfrom
dbasync/sw1receipts

Conversation

@steipete

@steipete steipete commented Oct 9, 2026 •

Copy link
Copy Markdown
Contributor

What Problem This Solves

Fixes committed SQLite writes reporting failure, skipping later publications, or leaving retained session facts usable when a postcommit installer or notification throws.

Related: #166519.

User Impact

Managed synchronous writes keep their synchronous completion contract and install committed facts before observers. Failed installation fences the affected session facts; an already committed mutation is never replayed to repair notification or reply delivery. There is no schema, stored-byte, retention, configuration, SDK removal, or new deprecation change.

Why This Change Was Made

The existing postcommit pipeline now separates fact installation, projection installation, failure fencing, and notification. Private session replacement receipts identify the physical source/incarnation, operation, domain, exact affected keys, postimages, absence, and unknown coverage. Existing session owners retain responsibility for supersession, membership, generations, and pending readers.

Private worker receipts carry operation identity and commit sequence. Identical successive commits remain distinct, and duplicate or stale delivery cannot replace newer facts. Committed evidence survives a lost ordinary reply independently of native settlement.

This is S1's shared foundation only. Transcript/context, conversation/plugin-state, approval/placement/workspace, raw-handle settlement, and foreign-writer recertification retain their existing guards until their domain cutovers. A receipt grants neither current permission nor source exclusion through a cross-store commit.

Evidence

Final candidate: 15bc2abdcaa8081d3445ad67177b0b25d2841af9. Original SQL measurement candidate: fc7445e4ecef0d7e0f944058e16d83887833ddad; baseline main: c786f4d4c4ea27630466a529630e56071845a682.

Final landing validation

Final reviewed head: 15bc2abdcaa8081d3445ad67177b0b25d2841af9.

Main was merged without rebasing in 8c36ab414ac47; the only conflict was adjacent worker-access documentation, with both additions preserved. Integration exposed two missing receipt modules in the trusted wrapper inventory; 431497ab4b9e8 adds them. CI also exposed an acknowledged identity notification being suppressed by unknown native settlement. 15bc2abdcaa8 preserves that notification while keeping read facts fenced and the unknown-outcome error intact. Generic observer-failure expectations now preserve committed success; required completion failures still reject. The cron fixture retains real duplicate delivery and commit/reply/partition checks, with valid stale same-operation delivery covered by the existing SQLite admission regression.

Fresh isolated P2 reviews are clean. The repaired candidate passed production typechecking and all 27 selected test type graphs. The five affected regression files passed 21 selected cases with --maxWorkers=1 in 413.62 seconds, including all three unchanged exactly-once identity assertions, 14 receipt-coverage cases, native/worker custody, deletion and cron publication. The Codex readiness-publication integration case also passed (31.276 seconds); its binding, readiness, link and cleanup assertions remain. No new test cases, real timers or worker boots were added in these landing repairs. The earlier wrapper regression was reproduced locally, then both inventory and extracted dependency-resolution checks passed in 118.81 seconds. The final CI's 33 selected Node/Bun test jobs used 6,167 summed job seconds, including setup and unchanged sibling coverage.

Published-driver acceptance passed: the registry-verified 2026.9.8 driver successfully updated to the 2026.9.9 candidate in the canonical Docker cell on Testbox run 37882814648. Packaging passed in 262.272 seconds; the unchanged update cell passed in 232.190 seconds, with durable status succeeded/finished, readiness HTTP 200 and the expected running version. Candidate admission, Doctor/config/plugin/recovery and startup checks, database snapshot/migration, managed-service replacement and post-update verification completed. Durable session content survived; incognito content and artifacts did not; the seeded orphan sidecar remained byte-identical. The transport carrier's tree matches reviewed tree 9c1da6074d688d6b5d0da02f52aa0713d3235384; all 52,354 product files match digest 4c8a7f088f2440614feddf3b8ffe3c50d2a9760ed4a717817528ad7cbe14d1ca. Package SHA-256: aee1dfab565708f5330e4682d0fd3cfc2329880fd5cd6e972a103112656f770c. No deadline or assertion was weakened. Testbox was stopped after proof; its lifecycle status is separate from the successful command receipt. The earlier activation timeout below remains unresolved historical evidence, not a claimed fixed cause.

Exact-head CI run 37882395546 completed with 67 successful jobs, 22 skipped jobs, three inherited root failures and their aggregate, and no cancellations. Native admin evidence binds its actual tested merge 9375dd75cef5ddeef0091ef39726f2a88405a32d, baseline 59309cc7777e07d52ca1be94bf8c25fd685919bc, all failure inputs and the complete logs. CI remains failed; this uses the authorized inherited-failure exception.

Inherited failure Independent attribution
Bun requester restoration The same rearmed-restart case fails on clean main 1f86b827717777114caf0184f1dfc77adf050cc6 with the repository-pinned Bun fork: 1 failed, 13 passed. Read-only restoration re-enters pending writable admission. Relevant inputs match the CI baseline and tested merge.
Sharing evidence reads All five identical canonical-row failures reproduce on that clean main: 5 failed, 6 passed. Raw fixture updates invalidate canonical rows; subsequent evidence reads refuse admission. The direct reader does not consume this PR's receipt postimages.
Windows-profile fixture The unchanged Linux test spoofs process.platform=win32 but mocks only the permission inspector. Unchanged fs-safe 0.25.0 selects its Windows writer and fails on missing binding.fstatIdentity before reaching SQLite or receipt work. Test, writer, dependency and lockfile inputs are unchanged from the tested baseline. This is inspected source attribution, not a claimed baseline run.

The earlier Madge and script-lint failures are green in this final run. ClawSweeper completed a trusted review of the final head with no actionable findings; its remaining update-proof and Windows-attribution requests are addressed above.

Released SDK reachability was checked against v2026.9.9 and v2026.10.1-beta.1, including SQLite worker-runtime exports and api.runtime session changes. No released synchronous/asynchronous signature, required parameter, callback contract or export was removed. Receipt metadata remains optional; no compatibility deprecation record is needed. The landing fixes do not change the existing API-diff declarations. No new OPENCLAW_* names or SQL statements were added. The valid alternating-pair SQL proof below is reused: integration had no production conflict, and the subsequent production repair affects only fault settlement/notification, not successful measured SQL paths.

Original lane verification at fc7445e4ecef:

  • Native SQLite regressions cover outer/nested rollback, failed COMMIT, all facts before observers, notification failure after COMMIT, and failure fencing without replay.
  • Real worker and retained-session regressions cover lost replies, unknown settlement, identical successive commits, stale/conflicting receipts, malformed/truncated postimages, native supersession, membership changes, and a throwing retained comparison after the row committed. Original failure modes were reproduced before their fixes.
  • Focused Node tests passed, including the seven additional sibling suites (73 tests, 247.0 s on Node 26.10.0). The repository-pinned Bun runtime passed all 107 selected infrastructure/session tests on macOS arm64.
  • Fresh isolated P2 autoreview is clean. Production typechecking, all 27 test type graphs, targeted lint, formatting, line caps, Madge (zero cycles), Knip file/dependency checks, and the SQLite worker ratchet passed. Inventory: 624 files / 2,482 call expressions; T1 remains 784 calls with no growth.
  • check:changed stops at an inherited dead-export failure for ClientVoiceToolEffect in untouched src/talk/client-voice-session-store.ts. Its definition and absence of external consumers are unchanged from the baseline. Every other selected check passed, including the guards after that scan, run separately.
  • SDK diff digest da3d5a16: no entrypoints, exports, or direct export declarations changed. All 131 records are reachable-declaration changes: optional receipt metadata, added helpers/types, and equivalent parameter-name/type-import syntax. No required fields or removals.
  • The original published-driver attempt timed out before acceptance. Final-candidate acceptance has since passed; the successful cell is recorded above and the unresolved original attempt is retained below.
Historical published-driver activation timeout

The unchanged canonical cell exited 124 after 18m 2s. Its managed updater exceeded the remaining 954,153 ms budget (status 143); it was not OOM-killed. The activation journal remained at publishing, revision 11, with publish intent and no launcher publication receipts. Post-update acceptance was not reached. The failed fixture was reconciled and stopped; no live Gateway or operator state was used.

The installed driver is the registry-integrity-verified 2026.9.8 package, build commit fc23bc864e4553c2d215e479eeec47b67a0bf943. Its activation helper matches the journal's helper digest. The bounded publication path uses that old driver's native journal/currentness checks, rename/directory sync, and full package-tree integrity inspection before the first launcher receipt. It precedes candidate post-install continuation and does not use S1's worker receipt protocol. The exact operation active at termination remains unproven; no S1 causality or fixed timeout is claimed.

Candidate package: 2026.9.9, source fc7445e4ecef0d7e0f944058e16d83887833ddad, SHA-256 fad220df26ffb1d3d445d13bcc267e65f55e2a0cb7dd75c03a512e66d28e87f1. This original attempt did not establish acceptance; the final candidate passed the separate canonical cell recorded above. No timeout, source, or guard was changed to turn the failure green.

SQL measurement and attribution

The qualifying series uses three alternating baseline/candidate pairs on one isolated Linux arm64 VM, Node 24.21.0 / SQLite 3.53.4, 8 CPUs and 32 GiB RAM. Source SHA/tree/product hashes match the reviewed commits. The workload and collectors are identical on both sides; databases and per-statement traces use native ext4. All six runs passed, request census has no missing context or duplicate sends, and all warmed requests completed. All native statements remain in the totals, including background and unassigned work.

Medians below are baseline → candidate; warmed counts and wall times are per turn. Every phase's candidate/baseline duration ratio is valid (0.960–1.051).

Phase All-thread SQL MAIN SQL Worker requests Wall seconds Duration ratio
Boot 2,332 → 2,332 1,945 → 1,945 58 → 58 7.028 → 6.749 0.960
Connect 365 → 349 60 → 60 61 → 56 1.181 → 1.144 0.969
First turn 2,880 → 2,885 74 → 74 392 → 397 6.007 → 5.863 0.976
Warmed turn 1,331.8 → 1,330.8 0 → 0 312.3 → 311.8 1.899 → 1.861 0.980
Second session 4,516 → 4,518 72 → 72 911 → 911 7.605 → 7.779 1.023
Control 35 → 35 0 → 0 5 → 5 1.081 → 1.080 0.999
Cron 1,357 → 1,358 44 → 44 210 → 212 5.346 → 5.337 0.998
Compaction 762 → 756 42 → 42 95 → 92 1.448 → 1.451 1.002
Shutdown 351 → 362 166 → 166 39 → 41 0.882 → 0.927 1.051
Positive delta Attribution and gate
First turn +5 (+0.174%) Unchanged health collection, cron startup scheduling, managed-media GC, archive scheduling, and their cache/admission reads. Retained business caller stacks do not intersect this change. This fits the 0.5% untouched-owner noise allowance; boot+connect+first-turn also falls 5,577 → 5,566.
Second session +2 Existing reader/cache timing; below both non-turn allowances.
Cron +1 Existing scheduled pairing notifier and admission timing; below both non-turn allowances.
Shutdown +11 Existing retained projection refreshes move across the compaction/shutdown boundary. Combined medians are 1,114 → 1,118 (+4, +0.36%), within the adjacent-window allowance. Per-run combined sums: [1586, 1111, 1114] → [1603, 1118, 1104].

The actual affected writer flows are neutral: explicit replacement uses 172 statements on each side in every pair. First-turn replacement, patch commit/preparation, lifecycle projection, and turn commit have identical SQL counts (51/222/36/35/49) in every pair. Across ten warmed turns, patch commit/preparation, lifecycle projection, and turn commit remain exactly 1,730/280/380/490 statements with 120/100/10/10 requests on every side/run. Full-run writer medians are neutral or lower. No PR-caused statement or request increase was identified.

Logical worker-request medians are 4,895 → 4,894. Separately counted continuation frames match each pair exactly (send/receive/reply: 164/164/159, 168/168/162, 168/168/162). Whole-run admission-envelope medians are unchanged: open 6, prepare 1,045, transaction 1,402, commit 540. Warmed prepare/transaction/commit envelopes remain 66/88/30 per turn. First-turn transaction admission is 114 → 115 from the same startup scheduling described above; whole-run admission does not increase. Two boot-only unknown-target/unmatched records occur on both sides for workerEnvironments.snapshot and userProfiles.catalog; no native SQL context is missing, and all warmed requests complete. These are message counts, not byte-volume measurements.

Native standalone BEGIN/COMMIT counts are 174 → 173 each in first turn and 125.7 → 125.5 each per warmed turn. First-turn summed native elapsed medians are 1.072 → 1.119 ms for BEGIN and 5.382 → 5.144 ms for COMMIT; warmed values are 0.690 → 0.623 ms and 2.653 → 2.552 ms. No BUSY/LOCKED failures were observed. Elapsed values include execution and scheduling and only bound possible waiting; they do not establish zero lock waits. Implicit/batch transaction timing and raw/foreign-path migration savings are not claimed.

A separate macOS Node 26.10.0 series retained nine successful pairs but remained invalid for gating: connect's duration ratio was 4.740 and its raw/combined counts exceeded tolerance. Those results were not pooled with Linux or relabeled as passing. The Linux series is the qualifying comparison.

Failed measurement attempt

One macOS candidate attempt was rejected because mentions.dismiss returned UNAVAILABLE. Its worker request reached transaction admission, executed BEGIN IMMEDIATE, two admitted data-version probes and two configuration reads, then rolled back before any mention mutation or COMMIT. A subagent-completion write committed between the preceding mention snapshot and admission. There were no failed native SQL calls or receipt/fact-installation diagnostics. The handler suppresses the exact rejected predicate, so the underlying refusal remains unresolved; a later successful run is not claimed as a fix. This failed pair does not count toward passing coverage.

Focused test cost and scope

Measured with pnpm test <file> --maxWorkers=1:

Changed test file Wall time
sqlite-post-commit.test.ts 4.3 s
sqlite-worker-operation-admission.test.ts 45.7 s
session-accessor.sqlite-replacement-receipts.test.ts 105.8 s
session-accessor.sqlite-replacement-worker.test.ts 75.7 s

The session suites exercise admitted SQLite workers, physical-store lifecycle, and actual committed rows. Compiled-subprocess preparation and source verification contribute to wall time; no new timers, polling, worker pins, or Gateway boots were added. Final CI timing and the additional targeted landing checks are recorded above.

Final scope: production +641/−138 (779 changed lines), tests +632/−85 (717 changed lines), documentation +60 across four pages, and two wrapper-inventory lines. No S2 domain cutover is included.

Install committed facts and projections before observers, fence failed retained
comparisons, and preserve native outcomes independently of notification and
worker reply delivery. Bind private receipts to operation, source, exact key
coverage, postimages, and commit sequence without replacing domain owners.

Synchronous APIs retain their completion contract. This shared foundation adds
no schema, stored-byte, retention, or SDK deprecation change. Incomplete domain,
raw-handle, and foreign-writer families retain their existing final guards.
@clawsweeper

clawsweeper Bot commented Oct 9, 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 plugin: file-transfer size: XL labels Oct 9, 2026
@steipete

steipete commented Oct 9, 2026

Copy link
Copy Markdown
Contributor Author

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Oct 9, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
Exact review queued.

Re-review progress:

@clawsweeper clawsweeper Bot added P2 Normal backlog priority with limited blast radius. 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 9, 2026
@clawsweeper

clawsweeper Bot commented Oct 9, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge.

What this changes

The branch separates SQLite fact installation from notifications, fences failed session publications, and preserves ordered commit evidence independently of reply delivery.

Example: A session’s visibility changes to read-only

  • Before: The row commits, but a throwing retained comparison can make the operation report failure.
  • After: The operation succeeds with visibility set to read-only, while the failed retained comparison becomes unavailable.

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) A worthwhile shared-owner repair with production-boundary fault evidence, upgrade acceptance, and no remaining actionable finding.
Proof confidence 🐚 platinum hermit (4/6) Sufficient (logs): The complete evidence records real SQLite and MessagePort fault scenarios with committed rows preserved, stale receipts rejected, and failed retained facts fenced; Gateway writer-flow runs and published-driver acceptance cover the normal production path. Receipts remain process-local and require no stored-data migration. Raw CI log retrieval was network-blocked, which does not invalidate the recorded behavior evidence.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Product

Kind: Bug fix · Worth it: Yes · Fix scope: Complete
User problem: A saved session change can report failure after it has committed, and later readers or notifications can retain incomplete facts.
Reason: Committed success and current session facts are established storage contracts. The existing area contributor’s proposal repairs their failure boundary without adding configuration or changing stored data.

Merge readiness

✅ Ready for maintainer review

This PR remains useful: current main still exposes committed writes to publication failures. Prior actionable findings are resolved, and the new evidence addresses the previous acceptance and CI-attribution requests. No additional patch blocker was found; CI remains failed under the documented inherited-failure exception.

Priority: P2
Reviewed head: 15bc2abdcaa8081d3445ad67177b0b25d2841af9

Before merge

None.

Findings

None.

Agent review details

How this fits together

OpenClaw stores session state in SQLite and publishes committed changes into the Gateway’s retained session facts before notifying observers. This publication boundary connects durable writes to session reads, lifecycle events, and worker acknowledgments.

flowchart TD
  A[Session mutation] --> B[SQLite transaction]
  B --> C[Committed receipt]
  C --> D[Install session facts]
  D --> E{Installation succeeds?}
  E -->|Yes| F[Install projections]
  E -->|No| G[Fence affected facts]
  F --> H[Notify observers]
  G --> H
Loading

Technical review

Best possible solution:

Keep commit outcome, fact completeness, notification delivery, and live authorization separate within the existing storage owners.

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

Yes: current main directly invokes fallible callbacks after COMMIT, and the inspected regressions inject those failures through real SQLite and worker-publication boundaries. This read-only review did not execute them.

Is this the best way to solve the issue?

Yes: the repair belongs in the shared publication owner and preserves domain-specific supersession and live-authority checks rather than retrying committed mutations.

AGENTS.md: found and applied where relevant.

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

Provenance checked

Testing

Proof path: shipped entry point.

Security

None.

Evidence

What I checked:

Likely related people:

  • Peter Steinberger: Raw commit cf32d5a adds src/infra/sqlite-post-commit.ts:50 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: cf32d5a527d7; files: src/infra/sqlite-post-commit.ts)
  • Jason (Json): Raw commit 140eb56 adds src/infra/sqlite-post-commit.ts:28 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: medium; commits: 140eb569a0b8; files: src/infra/sqlite-post-commit.ts)

PR surface

Source +503, Tests +547, Docs +60, Other +2. Total +1112 across 26 files. Added test files: 1.

View PR surface stats
Area Files Added Removed Net
Source 13 641 138 +503
Tests 8 632 85 +547
Docs 4 60 0 +60
Config 0 0 0 0
Generated 0 0 0 0
Other 1 2 0 +2
Total 26 1335 223 +1112

Labels

Label changes:

  • add proof: sufficient: Contributor real behavior proof is sufficient.
  • add rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🐚 platinum hermit and patch quality is 🐚 platinum hermit.
  • add status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR.
  • remove rating: 🦐 gold shrimp: Current PR rating is rating: 🐚 platinum hermit, so this older rating label is no longer current.
  • remove status: ⏳ waiting on author: Current PR status label is status: 👀 ready for maintainer look.

Label justifications:

  • P2: This repairs bounded storage-publication failures without evidence of an urgent widespread outage.
  • rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🐚 platinum hermit and patch quality is 🐚 platinum hermit.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR.
  • proof: sufficient: Contributor real behavior proof is sufficient.

Rating scale

6/6 🦀 challenger crab · 5/6 🦞 diamond lobster · 4/6 🐚 platinum hermit · 3/6 🦐 gold shrimp · 2/6 🦪 silver shellfish · 1/6 🧂 unranked krab. Overall follows the weaker of proof and patch quality; ✨ marks media proof (a screenshot, video, or linked artifact) that directly shows the changed behavior.

Workflow

ClawSweeper edits this one comment on every review. Comment @clawsweeper re-review for a fresh review only; repair and merge need explicit maintainer commands such as @clawsweeper autofix or @clawsweeper automerge.

History

Review history (5 earlier review cycles)
  • reviewed 2026-10-09T02:20:38.705Z sha fc7445e :: needs changes before merge. :: none
  • reviewed 2026-10-09T02:26:47.870Z sha fc7445e :: needs changes before merge. :: none
  • reviewed 2026-10-09T02:48:23.888Z sha 8c36ab4 :: needs changes before merge. :: [P2] Include both receipt modules in the PR wrapper inventory
  • reviewed 2026-10-09T03:42:55.062Z sha 431497a :: needs changes before merge. :: [P2] Preserve identity events for confirmed commits with unknown settlement | [P2] Update sibling tests for successful commits after notification failure | [P2] Align the cron fault injector with operation-scoped receipt identity
  • reviewed 2026-10-09T04:14:14.697Z sha 15bc2ab :: needs changes before merge. :: none

Reviewed October 9, 2026, 12:55 AM ET / 04:55 UTC (Revision 6).

Preserve both worker-access documentation additions. Production code integrates without conflict; the receipt and completeness change retains its reviewed behavior.
@clawsweeper clawsweeper Bot added the merge-risk: 🚨 automation 🚨 May affect CI, automerge, proof capture, label sync, or maintainer automation. label Oct 9, 2026
Keep the trusted wrapper extraction closed over the session publication paths introduced on main. Include both receipt modules required by those paths; the wrapper inventory and extracted dependency-resolution regressions now pass.
@openclaw-barnacle openclaw-barnacle Bot added the scripts Repository scripts label Oct 9, 2026
@clawsweeper clawsweeper Bot added merge-risk: 🚨 session-state 🚨 May lose, corrupt, stale, or mis-associate session, agent, or context state. and removed merge-risk: 🚨 automation 🚨 May affect CI, automerge, proof capture, label sync, or maintainer automation. labels Oct 9, 2026
…ettlement

Keep receipt coverage separate from retained-read certainty: acknowledged identity mutations still publish while unknown native settlement fences caches and preserves the original error. Align generic observer-failure assertions with committed success, and keep cron transport tests within their real per-operation channel contract.
@clawsweeper clawsweeper Bot added proof: sufficient ClawSweeper judged the real behavior proof convincing. 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 merge-risk: 🚨 session-state 🚨 May lose, corrupt, stale, or mis-associate session, agent, or context state. 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 9, 2026
@steipete
steipete merged commit da67a08 into main Oct 9, 2026
159 of 164 checks passed
@steipete
steipete deleted the dbasync/sw1receipts branch October 9, 2026 05:12
@steipete

steipete commented Oct 9, 2026

Copy link
Copy Markdown
Contributor Author

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

steipete added a commit that referenced this pull request Oct 9, 2026
Align with da67a08 (#167570): fallible native-commit receipt publication is contained after commit and does not fail result delivery. Name the injected publication fault accurately and retain exact imported data, receipt, source cleanup, and native-exit recovery assertions.
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Oct 10, 2026
…aw#167570)

* fix(storage): preserve committed facts through publication failures

Install committed facts and projections before observers, fence failed retained
comparisons, and preserve native outcomes independently of notification and
worker reply delivery. Bind private receipts to operation, source, exact key
coverage, postimages, and commit sequence without replacing domain owners.

Synchronous APIs retain their completion contract. This shared foundation adds
no schema, stored-byte, retention, or SDK deprecation change. Incomplete domain,
raw-handle, and foreign-writer families retain their existing final guards.

* fix(tooling): include receipt modules in PR wrapper

Keep the trusted wrapper extraction closed over the session publication paths introduced on main. Include both receipt modules required by those paths; the wrapper inventory and extracted dependency-resolution regressions now pass.

* fix(storage): preserve acknowledged identity events after uncertain settlement

Keep receipt coverage separate from retained-read certainty: acknowledged identity mutations still publish while unknown native settlement fences caches and preserves the original error. Align generic observer-failure assertions with committed success, and keep cron transport tests within their real per-operation channel contract.
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Oct 10, 2026
Align with 1321ecb (openclaw#167570): fallible native-commit receipt publication is contained after commit and does not fail result delivery. Name the injected publication fault accurately and retain exact imported data, receipt, source cleanup, and native-exit recovery assertions.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs Improvements or additions to documentation P2 Normal backlog priority with limited blast radius. plugin: file-transfer proof: sufficient ClawSweeper judged the real behavior proof convincing. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. scripts Repository scripts size: XL 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