Skip to content

fix(sessions): check caller authority before restoring cold history for compaction - #166506

Merged
steipete merged 5 commits into
mainfrom
dbasync/compactauth
Oct 7, 2026
Merged

steipete merged 5 commits into
mainfrom
dbasync/compactauth

Conversation

@steipete

@steipete steipete commented Oct 7, 2026 •

Copy link
Copy Markdown
Contributor

What Problem This Solves

sessions.compact with maxLines could restore cold transcript rows after its caller lost authority or its session lifecycle changed during preparation or queue waits. Entry-time authorization did not protect restoration's earlier write.

Solution

Carry the selected physical store, prepared caller/sharing authority, session ID, and lifecycle through the trim facade. The existing entry reader prepares target/source facts and cold metadata together. The restoration worker validates typed source and lifecycle predicates before writing and at commit; the host checks live caller authority across waits. Foreign durable sources receive fresh final checks, including when a source initially aliases the target. Refusal rolls back restoration.

Prepared checks survive composition with opaque SDK callbacks. Those callbacks keep their released synchronous native fences. Native trimming retains FIFO ordering, atomic transcript/entry updates, and full final assertions. The shared predicate reader has one leaf implementation used by all seven consumers.

Impact

Denied requests leave hot rows and archive metadata unchanged. Authorized compaction retains its existing behavior. No schema, stored-format, retention, durability, protocol, configuration, update, or accepted-work settlement change; zero new OPENCLAW_* names or caller-thread SQL sites. Full maxLines worker writing remains follow-up work because native trim preserves released synchronous SDK contracts.

The current product delta contains 30 files, including two docs and two test files. The lifecycle-policy and predicate-reader extractions retain one implementation each. The unchanged introduced delta adds no caller-thread SQL sites; the worker ratchet shows no growth.

Retained host-read follow-up: src/gateway/server-methods/session-mutation-guards.ts:428 rechecks the current operator role. When prepared profile/run authority is unavailable and the existing role cache misses, src/gateway/operator-role-policy.ts:48 calls getUserProfileRole (src/state/user-profiles.ts:129), which performs an indexed shared-state profile lookup (src/state/user-profiles-internal.ts:231). This unchanged other-owner fallback keeps revocation live; it is outside the agent database being restored. Normal prepared profile/run checks consume owner-held facts. No new SQL site is added, and no test requires every possible host grant callback to execute zero SQL.

Overlap: #166293 moves transcript reads to the retained history owner and leaves this maxLines repair. Main's #166365 moves generic cold metadata to the projection lane and is included. Session authority/creation and worker lifecycle fixes from main were integrated with merge commits, preserving their semantics.

Evidence

The original denial regression fails on baseline 367d33f6dfae7e3d148cd0c2660d40901f75807f: the facade returns successful compaction instead of refusing (352.56s wall). The alias-rebinding regression also failed before its correction (179.36s). Coverage includes preparation, admission and commit revocation; lifecycle rebinding; foreign-source rollback; authorized restoration; opaque SDK composition; and Incognito behavior.

Initial source validation passed the changed-check gate, package/tarball build checks, published 2026.9.8 driver update, and Linux shutdown proof. The update preserved durable history, cleared Incognito history after restart, and reached readiness with the candidate build. The first main integration (aa06b5149774, main 56bd0430d532) passed 192 tests across 12 files in 620.78s, all selected type lanes, and madge with zero cycles.

The second integration is 854d185316b584330d15ef8024de272b669c8b15, containing main 892911ba4f35f5bc05b50d798694780b3e5dc777. Its only conflict was additive storage documentation; both sides were retained. Fresh isolated P2 autoreview is scoped-clean.

Second-integration gate Result / measured wall time
Core production types Passed; 37.84s
Core test types 26/27 shards passed; inherited UI-components error qualified below
Extension production/test types Passed; 82.44s / 62.66s
Madge Zero cycles; 109.71s
Format, database-worker ratchet, environment-name budget Passed; environment names 464/464
Canonical local Plugin SDK diff Passed; zero direct declarations/entrypoints changed; 131 compatible reachable changes; digest aa8ad4cd; 2015.77s including canonical cleanup
Combined focused tests 109 passed / 2 failed in 9 files; 1258.66s wall. The wrapper stopped after the infra failure
Remaining seven session suites 139/139 passed; 522.12s wall. Includes all denial, alias-rebinding, authorized-restoration, entry-read/patch, native mutation and history-import cases

All focused invocations use pnpm test <files> --maxWorkers=1. The build-graph and import-closure files executed in the combined run passed. Indirect callers already have their required host-owned routes. The new modules do not add a missing dependency to the compiled PR wrapper inventory.

The latest integration is b4d52b9ea7a7b247f6d366569d5744a64e4eab31, merging main f2c5ed82c5f1066b4716c30de790cbe056ce7098. It includes the landed terminal-font type fixture fix (1d10375ee563b) and archive/category fixture cleanup (4ed39a25f674c), plus current main context. Both integrations were conflict-free. All 30 compactauth files are byte-identical to the preceding reviewed candidate. Fresh P2 autoreview is scoped-clean. Final-head validation is complete; the preceding table remains explicitly prior-head evidence.

Final head b4d52b9e Result / wall time
Core production/test types Passed; 13.34s / 290.17s
Extension production/test types Passed; 18.57s / 28.30s
Madge / whitespace Zero cycles, 23.59s; diff check passed
Seven focused suites, pnpm test <files> --maxWorkers=1 120/120 passed, 368.82s: 37 cold lifecycle cases, 35 Gateway compaction/archive cases, 6 category cases, 42 worker creation/abort/replay cases
Remaining inherited continuation file Five exact-head and five main-baseline single-file runs each reproduce the same four failures; child-error control passes
Fresh P2 autoreview Scoped-clean

CI run 37622654506 has one failing Node root, job 112797280980: the four independently reproduced continuation cases. The downstream aggregate failed; 52 jobs succeeded, 23 skipped, and 36 were cancelled by fail-fast. No cancelled job has a hidden failed step. The tested merge ea30aca1b35ee3e89f24433afb0cb709c5603018 has ordered parents main 5a138f13 and the PR head; its tree equals a fresh Git merge of those exact parents. Cancelled coverage and unavailable per-case CI timings are not claimed as passing proof. Landing uses the explicitly authorized native inherited-failure exception, subject to its live review/security/authority checks.

Released SDK boundary

Compared the changed contracts against v2026.10.1-beta.1, v2026.9.8, and v2026.9.7. Released signatures and exports remain compatible. The transcript assertion composer retains its released signature; the added compaction/worker parameters are internal. No compatibility adapter, deprecation record, or compatibility type test is required. The canonical SDK report for 6d03a264 passed in 366.94s with the identical aa8ad4cd digest. Its original head binding is preserved. An explicit final-head API-equivalence audit confirms the 30 PR files are unchanged; the five imported main paths do not change the exposed SDK surface, inventories, dependencies, or toolchain. This is reused API proof, not a claim that the entire production tree is identical.

SQL statement budget

The unchanged observer counts every successful native SQL execution across MAIN, workers, and child processes, including transactions, PRAGMAs, admission/schema checks, and background work. It excludes no successful SQL records. Both revisions pass the same seven-execution MAIN/worker calibration; SQL failures are recorded separately. These are real isolated Gateway RPCs, with pinned source and rebuilt artifacts.

Three-request totals MAIN baseline → candidate ALL baseline → candidate
First integration, cold 189 → 186 2855 → 2789
First integration, hot 189 → 186 686 → 609
Second integration, cold 189 → 186 2762 → 2796
Second integration, hot 189 → 186 640 → 549

The second integration's cold raw ALL total grew by 34. Unchanged periodic WAL calls grew by 36; subtracting only those independently traced timer calls gives an explanatory remainder of 2750 → 2748. This does not establish raw cold no-growth, and one remainder window still rises by 16. All raw results remain part of the evidence. Host load stretched the candidate fixture from 150.9s to 251.7s. A preregistered quiet-host ABBA comparison then completed all 24 requests unchanged: six cold requests per revision measured MAIN 378 → 372, ALL 5501 → 5366; six hot requests measured MAIN 378 → 372, ALL 1285 → 1113. Both paired comparisons and every corresponding raw window decreased. No records were filtered and no outcome-based extra samples were taken. These results bind the second integration; the required final-integration comparison is complete against f2c5ed82:

Final-head six-request totals MAIN baseline → candidate ALL baseline → candidate
Cold 378 → 372 5504 → 5379
Hot 378 → 372 1284 → 1110

All 24 requests, calibrations, and shutdowns passed. Both paired contrasts and every corresponding raw window decreased. There were zero new MAIN sites and zero failed SQL statements/prepares. The same observer, fixture, timers, and fixed ABBA protocol retained every raw record; no outcome-based extra samples were taken. Both sources were built before measurements on one quiet isolated host. This supports measured no-growth for the pinned synthetic real-Gateway workload, not a universal SQL bound or an uninstrumented latency benchmark. The owned lease is released and verified. An intermediate attempt was stopped before any samples when main landed the archive fixture fix; it contributes no measurement evidence.

There are zero new MAIN call-site groups and zero failed SQL statements/prepares. MAIN loses one entry-snapshot freshness read per request. Cold restoration adds five necessary transaction-local authority reads, offset by removed preparation reads; source inspection alone cannot establish a universal net SQL bound. Earlier ordinary-turn measurements remain historical evidence, not second-integration proof.

Investigated failures

The deterministic UI-components type error is inherited: terminal-panel-fonts.test.ts:56 passes a stale signal property to bootTerminalPanelSession. The exact command also fails on pinned main 892911ba4f35 in a fresh independent installation (35.04s); the entire UI tree is identical. Main de38a0454825 still contained the same blobs. The subsequently landed fixture fix 1d10375ee563b is included in the third integration. No assertion or production signature was weakened.

The second-integration local worker-abort file has two new failures: the no-preview case timed out before live start (one connection, no provider call), and the preview/no-fence case returned the stopped-history warning. The latter reaches chat.abort and differs from the earlier pre-fence CI failure. Five standalone full-file runs on the second integration and five on its pinned main baseline all passed 8/8 tests on isolated Linux. That does not explain the original failures. The original infra-trio order was then verified and passed 41/41 on each revision. Neither local failure recurred, and the underlying mocked persistence error was not retained. No passing replay or newer worker change is claimed as a fix.

Earlier CI run 37591153471 first hit two unchanged metadata cases with database is locked. Five head and five baseline full-file runs completed: head 445/445, baseline 444/445, with one different baseline SQLite-busy case. Both exact CI cases passed all ten comparisons. This supports fixture contention but does not prove those exact failures inherited. The single authorized job rerun passed; that is not claimed as a repair. Remaining fail-fast cancellations were then resumed.

The resumed attempt failed four worker-abort fence cases before reaching their fence actions. All ten head/baseline full-file repetitions reproduced that family; baseline repetitions directly reproduced all four cases, and scheduled main CI showed the same failure. Main subsequently repaired config-capture/cleanup ordering (#166529), fatal transcript replay, and borrower retention. Those fixes are included in the second integration instead of using an obsolete inherited-failure waiver.

The original head's durable-retry admission error occurred during fixture seeding. The exact case passed five original-head and five baseline runs; later isolated Linux main proof passed all 77 cases. It remains unreproduced, with no repair or exact-case inherited waiver claimed. The separate PR-context failure was corrected to the required problem heading.

Second-integration CI 37615797025 had two failed Node roots, its downstream aggregate failure, 73 successful jobs, 23 skips, and 16 fail-fast cancellations. The root cases are independently present on main: archive/worker-placement admission invalidation in main run 37608245742, job 112749126965, and all four owner-continuation cases in that main run's job 112749127206 and newer main run 37614737482, job 112770574453. The inspected fixture and failure-owner files are unchanged. Five single-file main 1b395594 repetitions are complete for each file: archive fails three of five; continuation repeats all four failures in every run. The archive cleanup repair is included in the latest integration; all 15 archive and six category cases now pass. Continuation-specific code and fixtures remain byte-identical through f2c5ed82 and the final candidate; the PR-modified shared admission layers are indirectly reachable, so inherited qualification relies on independent main reproduction, not an unreachability claim. The exact completion-close cause remains unproven. The cancelled coverage is not claimed as passing.

ClawSweeper completed the second integration at 2026-10-07 11:52 UTC with no actionable code or design findings; it requested completion of the disclosed worker-abort investigation. That investigation is complete as documented above. ClawSweeper also completed the latest head at 2026-10-07 12:50 UTC with no actionable code or security findings and accepted the worker-abort investigation. Its sole requested next step was recording final runtime and SQL validation; both are now complete above. No all-green CI claim is made for inherited-failure admission.

Carry prepared caller/source authority and captured session lifecycle through
cold-history restoration, and revalidate them before writes and commit.
Preserve native SDK commit guards and reader/writer ordering.

Reuse entry-reader preflight facts and isolate shared source predicates from
write-owner imports. Denied or rebound requests leave cold history unchanged.
@clawsweeper

clawsweeper Bot commented Oct 7, 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 gateway Gateway runtime agents Agent runtime and tooling plugin: file-transfer size: XL labels Oct 7, 2026
@github-actions

github-actions Bot commented Oct 7, 2026 •

Copy link
Copy Markdown
Contributor

⚠️ Security sensitive changes

This maintainer PR changes sensitive security components.

No secops approval is required. This comment is informational because the PR author has Maintain or Admin access.

  • Current SHA: b4d52b9ea7a7b247f6d366569d5744a64e4eab31
  • Maintainer: @steipete
  • Repository role: admin

These security sensitive changes were made:

  • src/agents/harness/native-session/binding-authority.ts: Controls credential persistence, secret resolution, or redaction. Check storage permissions, credential scope, and exposure in logs or responses.
  • src/gateway/device-revocation.ts: Controls Gateway authentication, pairing, or caller permissions. Check identity validation, scope checks, and revocation.

Carefully review these changes before merging.

@clawsweeper

clawsweeper Bot commented Oct 7, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs changes before merge. Reviewed October 7, 2026, 8:50 AM ET / 12:50 UTC (Revision 8).

ClawSweeper review

What this changes

The PR carries caller authority, session lifecycle, and physical storage identity through manual compaction so revoked or rebound requests cannot commit restored history.

Merge readiness

⛔ Needs changes before merge - 1 item remains

This remains a necessary repair: current main still restores cold history without carrying the compaction caller’s authority into restoration. No introduced correctness or security defect was found, and the previous worker-abort investigation request is satisfied.

Priority: P2
Reviewed head: b4d52b9ea7a7b247f6d366569d5744a64e4eab31

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) A coherent repair with strong boundary evidence and no actionable patch finding; declared final-integration validation remains to be recorded.
Proof confidence 🦞 diamond lobster (5/6) Sufficient (live_output): Recorded isolated Gateway RPCs exercise cold and hot compaction through the production storage owners; inspected production-worker fault injection verifies denied, revoked, and rebound sources leave rows and archive bytes unchanged while authorized restoration succeeds. Update evidence preserves existing history, and no stored-data contract changes. Final-integration validation remains separately disclosed as unfinished.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Verification

Check Result Evidence
Real behavior Verified Sufficient (live_output): Recorded isolated Gateway RPCs exercise cold and hot compaction through the production storage owners; inspected production-worker fault injection verifies denied, revoked, and rebound sources leave rows and archive bytes unchanged while authorized restoration succeeds. Update evidence preserves existing history, and no stored-data contract changes. Final-integration validation remains separately disclosed as unfinished.
Evidence reviewed 9 items Pinned introduction and review continuity: Reviewed the pinned f2c5ed8..b4d52b9 introduction. Comparing the previous reviewed head 6d03a26 with this head confirms the PR’s production, test, and documentation files are unchanged; the integration adds five unrelated main-branch paths. The supplied test merge is stale and was not used to infer merging consequences.
Current main still needs the repair: Current main’s manual-compaction handler calls the trim facade with maxLines alone, and that facade does not carry caller authority into cold restoration. The related reader refactor explicitly leaves this path unchanged; the merged metadata-lane improvement does not replace this repair.
Authority reaches the restoration owner: The facade retains physical identity, prepares source predicates, rechecks host authority after awaits, and passes the selected session ID and lifecycle to the restoration worker. Full synchronous assertions remain on native trimming’s transaction boundary.
Findings None None.
Security None None.

How this fits together

Manual session compaction receives a Gateway request and trims stored conversation history. Archived history must first be restored through the SQLite worker, where authorization must remain current before restoration commits.

flowchart TD
  A[Compaction request] --> B[Caller and session authority]
  B --> C[Selected physical store]
  C --> D[Cold history restoration worker]
  D --> E{Authority still current}
  E -->|Yes| F[Commit restoration and trim history]
  E -->|No| G[Rollback and report refusal]
Loading

Before merge

  • Complete next step (P2) - Complete and record the declared final-integration focused runtime and cold/hot SQL comparison against f2c5ed8, preserving the distinction between reused prior-head proof and final-head execution.
Agent review details

Security

None.

PR surface

Source +506, Tests +442, Docs +18. Total +966 across 30 files.

View PR surface stats
Area Files Added Removed Net
Source 26 747 241 +506
Tests 2 443 1 +442
Docs 2 18 0 +18
Config 0 0 0 0
Generated 0 0 0 0
Other 0 0 0 0
Total 30 1208 242 +966

Review metrics

Metric Value Why it matters
Production versus regression coverage production net +506 lines; tests net +442 lines Production growth is explained by carrying prepared authority through restoration while extracting shared lifecycle and predicate implementations.

Technical review

Best possible solution:

Keep restoration and trimming under their existing storage owners, with live caller checks and transaction-local source predicates preserving authorized behavior and rejecting stale requests.

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

Yes, source establishes the unguarded current-main restoration path, and the contributor records a failing baseline regression. This read-only review did not execute it.

Is this the best way to solve the issue?

Yes, the patch extends the existing restoration owner’s authority checks and retains native SDK fences rather than adding a competing writer or authorization owner.

AGENTS.md: found and applied where relevant.

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

Labels

Label changes:

No label changes.

Label justifications:

  • P2: This repairs a bounded manual-compaction authority race without adding product or configuration surface.
  • rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🦞 diamond lobster and patch quality is 🐚 platinum hermit.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR. Sufficient (live_output): Recorded isolated Gateway RPCs exercise cold and hot compaction through the production storage owners; inspected production-worker fault injection verifies denied, revoked, and rebound sources leave rows and archive bytes unchanged while authorized restoration succeeds. Update evidence preserves existing history, and no stored-data contract changes. Final-integration validation remains separately disclosed as unfinished.
  • proof: sufficient: Contributor real behavior proof is sufficient. Recorded isolated Gateway RPCs exercise cold and hot compaction through the production storage owners; inspected production-worker fault injection verifies denied, revoked, and rebound sources leave rows and archive bytes unchanged while authorized restoration succeeds. Update evidence preserves existing history, and no stored-data contract changes. Final-integration validation remains separately disclosed as unfinished.

Evidence

What I checked:

  • Pinned introduction and review continuity: Reviewed the pinned f2c5ed8..b4d52b9 introduction. Comparing the previous reviewed head 6d03a26 with this head confirms the PR’s production, test, and documentation files are unchanged; the integration adds five unrelated main-branch paths. The supplied test merge is stale and was not used to infer merging consequences. (b4d52b9ea7a7)
  • Current main still needs the repair: Current main’s manual-compaction handler calls the trim facade with maxLines alone, and that facade does not carry caller authority into cold restoration. The related reader refactor explicitly leaves this path unchanged; the merged metadata-lane improvement does not replace this repair. (src/config/sessions/session-accessor.transcript.ts:88, ccadf6ace875)
  • Authority reaches the restoration owner: The facade retains physical identity, prepares source predicates, rechecks host authority after awaits, and passes the selected session ID and lifecycle to the restoration worker. Full synchronous assertions remain on native trimming’s transaction boundary. (src/config/sessions/session-accessor.transcript.ts:154, b4d52b9ea7a7)
  • Final-effect checks and rollback: Restoration checks source predicates and active lifecycle before inserting transcript rows. After the host commit grant, foreign source identities and predicates are checked again; a refusal throws through the transaction and is reported only after rollback. (src/config/sessions/session-cold-storage-worker.ts:589, b4d52b9ea7a7)
  • Production-boundary denial coverage: The inspected fault-injection cases retain the real restoration worker and SQLite mutation owner. They exercise denied authority, revocation during preparation/admission/commit, foreign-row changes, alias rebinding, and authorized restoration; denied cases compare actual stored rows and archive bytes. The body records baseline failure and passing candidate coverage, rather than relying on helper-only assertions. (src/config/sessions/session-cold-storage.lifecycle.test.ts:488, b4d52b9ea7a7)
  • Complete captured body and prior follow-up: Retrieved the complete body and verified SHA-256 ca9e165d3f74a92a0f597cf5f3d99930fde16a7df46bc716b01f8d4d9b6c3431 matches the captured snapshot. The original infra-trio order passed 41/41 on both compared revisions; the original failures remain unexplained and passing replays are expressly not claimed as a fix. This satisfies the prior request to complete and document that investigation. Final-integration type/cycle, focused runtime, and SQL comparison results are explicitly still in progress. (b4d52b9ea7a7)

Likely related people:

  • steipete: Suggested for follow-up; no historical authorship or introduction is verified. (role: unverified routing candidate; confidence: low)
  • Shakker: 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.

  • Record the declared final-integration runtime and cold/hot SQL comparison results without treating prior-head results as final-head execution.

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 (7 earlier review cycles)
  • reviewed 2026-10-07T07:25:00.823Z sha 8a4f3ac :: needs maintainer review before merge. :: none
  • reviewed 2026-10-07T07:56:57.417Z sha 8a4f3ac :: needs maintainer review before merge. :: none
  • reviewed 2026-10-07T08:07:48.435Z sha aa06b51 :: needs maintainer review before merge. :: none
  • reviewed 2026-10-07T09:49:26.252Z sha aa06b51 :: needs maintainer review before merge. :: none
  • reviewed 2026-10-07T10:10:11.652Z sha aa06b51 :: needs changes before merge. :: none
  • reviewed 2026-10-07T11:52:22.001Z sha 854d185 :: needs changes before merge. :: none
  • reviewed 2026-10-07T12:28:35.836Z sha 6d03a26 :: needs changes before merge. :: none

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

steipete commented Oct 7, 2026

Copy link
Copy Markdown
Contributor Author

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Oct 7, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
Exact review queued.

Re-review progress:

@clawsweeper clawsweeper Bot added the proof: sufficient ClawSweeper judged the real behavior proof convincing. label Oct 7, 2026
@steipete

steipete commented Oct 7, 2026

Copy link
Copy Markdown
Contributor Author

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Oct 7, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
Exact review queued.

Re-review progress:

@steipete

steipete commented Oct 7, 2026

Copy link
Copy Markdown
Contributor Author

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Oct 7, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
Exact review queued.

Re-review progress:

@steipete

steipete commented Oct 7, 2026

Copy link
Copy Markdown
Contributor Author

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Oct 7, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
Exact review queued.

Re-review progress:

@steipete
steipete merged commit 8e9ae9f into main Oct 7, 2026
142 of 181 checks passed
@steipete
steipete deleted the dbasync/compactauth branch October 7, 2026 13:23
@steipete

steipete commented Oct 7, 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 8, 2026
…#166506)

Carry prepared caller/source authority and captured session lifecycle through
cold-history restoration, and revalidate them before writes and commit.
Preserve native SDK commit guards and reader/writer ordering.

Reuse entry-reader preflight facts and isolate shared source predicates from
write-owner imports. Denied or rebound requests leave cold history unchanged.
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. plugin: file-transfer proof: sufficient ClawSweeper judged the real behavior proof convincing. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. security-sensitive-changed 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