Skip to content

feat: capture explicit repository disk snapshots - #189263

Merged
roboclaw-bot merged 25 commits into
mainfrom
openclaw/s6-current-disk-io
Nov 1, 2026
Merged

roboclaw-bot merged 25 commits into
mainfrom
openclaw/s6-current-disk-io

Conversation

@roboclaw-bot

@roboclaw-bot roboclaw-bot commented Oct 31, 2026 •

Copy link
Copy Markdown
Collaborator

What Problem This Solves

Explicit repository file access, publication and export must use the original attached disk—not an older Gateway mirror. Publication retries must preserve selected bytes and include requests queued after a lost receipt-binding reply.

Prerequisite #189106 landed as 7faf32da36cdb6f6021e662f92cbd9c1de783255; GitHub automatically retargeted this existing PR to main. No replacement PR or early retarget.

User Impact

Disk mode remains unselectable. Mirrored sessions and ordinary turns retain their behavior. This implements explicit current-disk I/O and snapshot preparation, not full retained-disk activation. No schema, public protocol, product configuration, cloud allocation or deployment is added.

  • File reads, hash-checked editor writes, downloads and attachment originals use attached-node bytes. Editor settlement never accepts the old mirror.
  • Publication captures under existing session exclusion and native quiescence. Selected/queued request refs and publication companions install atomically. Fresh capture, accepted-checkpoint reuse and retained retry share one ref owner. Lost replies never cause recapture of later disk edits or advancement of SQLite acceptance for artifact-only publication.
  • Explicit Gateway export preserves private history/files and rechecks source before binding. Partial staged indexes or unavailable history fail closed, preserving the original disk.
  • Paused preparation and final durable Move/teardown remain later work. Missing/replaced disks never trigger stale reconstruction or automatic replacement.

Solution and Scope

Existing repository/checkpoint, placement, workspace-operation, transport and receipt owners retain their responsibilities. No parallel manager, queue, cache or state store. Authority is checked at the final effect; cleanup custody survives revocation.

Against captured main c2a39e4c5a8166d1f5ea6703d1dfaa7d7c45de79: 34 files, +2,106/-129. Production remains 19 files, +527/-123 (net +404); the latest correction changes no production code. Tests/helpers: nine files +1,550/-6; docs +20; four allocation records +8; inventory +1. The 65-line checkpoint-ref leaf was extracted after a real 700-line owner-budget failure, without an exception. The review repair contributed production +97/-33 (net +64) and one boundary regression, now allocated exactly 92 lines after required braces. The existing 50-line accepted-reuse allocation and shared scalar remain unchanged.

Current Candidate and CI Repair

Head 6e669f1d0a24b07f65e7c3e42924c239efadf888, tree 34760b3be1416d4a2ab7e4df1323062d2b941646. This is a signed descendant of reviewed implementation fcd45d9ba30e8fd1f878e3d29fbc2cc4a0d36b3a; its only delta is required braces around the unchanged revocation assertion and the corresponding two-line test-allocation adjustment (two files, +4/-2).

CI 41272536469, attempt 1 on fcd45 completed FAILURE: 67 successful, 25 skipped, two failed jobs. The lint leaf reported eslint(curly) at repository-workspace-snapshot.test.ts:152; the other failure was downstream openclaw/ci-gate. A bounded job-tail read recovered the diagnostic missing from the earlier cached log. This was PR-authored, not inherited or flaky.

The same maintained CI-mode lint owner and config/tsconfig/oxlint.core.json reproduced the exact error red, then passed green with zero warnings/errors after adding braces. The condition and thrown error are identical; no assertion was weakened. Canonical format/whitespace and exact ratchet 6,368,190 ≤ 6,386,775 passed. The CI-failure planner found no Vitest failures to rerun. The 78-case runtime proof and complete source review below are reused only for unchanged behavior, not claimed as a fresh runtime execution. The pending auto-merge request was retired through native recovery before changing the head. Current-head CI remains required; the failed run is retained, not rerun or waived.

Implementation Qualification

Native signed baseline 92aad389fbb6a3c2344848a80efaa7ecb3ccd820 has original hosted 0dd64a1064ea2eb0df0ff776517934abcc816e75 and actual main c2a39e4c… as parents. All new task commits verify signed and retain Galin credit; the hosted head remains an ancestor. Earlier unpublished preparation imported an unsigned prerequisite marker and was correctly refused before push. Its source/receipts remain preserved. The replacement preparation excludes that side ancestry without changing signature protection, using an unsigned override, rewriting hosted history or re-signing somebody else's commit.

  • 78 tests passed in three complete files: checkpoint 28, native capture 8, repository publication 42. Vitest 113.29s, maintained wrapper 115.52s; compiler verification and cleanup completed. Real environment service, private node transport, loopback WebSocket, native workspace, HTTP transfer and actual Git-input authority are exercised.
  • P2 red/green: independent review found retained capture ignored aliases for requests queued after receipt binding failed. Real transport reproduced a missing alias (false versus true), not setup failure: 43.52s Vitest / 45.88s wrapper. Repair retains source and companion identities under the existing immutable-ref transaction. The regression denies revoked final-input publication, then proves allowed retry/later-request reuse of original bytes despite disk edits, without new node effects or SQLite acceptance. Initial repair: 36 cases/two files passed in 73.96s wrapper; final 78-case run covers the extracted owner and publication consumer.
  • Production and Gateway test types passed, including 13,923 SDK declarations. Default three-production-file lint passed in 3.88s; canonical formatting and whitespace passed. That local lint scope omitted the newly changed test; the resulting hosted error is explicitly repaired above. An earlier incorrect formatter write/check combination was rejected, then corrected through the same maintained owner.
  • Independent canonical autoreview P0–P3 covered the full 34-path implementation against current baseline plus six intact owner contexts: one completed 190,372-byte pass, scoped-clean, zero actionable findings, final source verified. The earlier full review's P2 was repaired, not relabeled. The latest two-file brace-only correction was directly inspected; no additional model-review execution is claimed for it.
  • Before the P2 repair, independent replay reproduced the qualified 32-path child patch exactly on actual main (stable patch bc88dded7db43a74033a95d0b34201355ba81b61). Native conflict resolutions preserve landed recovery and exact canonical generated blobs. Source equivalence is distinct from execution.

Historical Evidence and Nonpasses

  • Unpublished 33fd93f3…: 56 cases/four files passed in 335.20s, static gates and complete 32-path P0–P3 review clean. 5eaea8e7…: seven native capture cases passed in 73.38s with typing/ratchet/whitespace. Historical source-scoped evidence only.
  • Published 0dd64a10…: 79 refreshed I/O/context/startup cases passed; CI 41198174787 was green for that head. Hosted review reported no findings/before-merge items; advisory only. Its 18 real capture/cleanup cases passed in 154.73s with static checks and independent review. Separate 431-line allocation accompanies the original 971-line allocation. Negative admission/final-input controls refuse effects while preserving cleanup; allowed control retains selected/alias refs and companions.
  • Original 101f2bbf…: 80 owner cases/four files passed (144.93s Vitest / 147.18s wrapper), plus 11 cleanup/recovery and 12 quiescence cases. Editor mirrored-acceptance and retry without remembered turn context were reproduced red, then repaired. Types, lint, format/line budgets/docs links/whitespace and final independent review passed.
  • CI 41190140140 failed in two leaves plus aggregate: two prepared-context expectations and one held-process rollback timing case, reproduced on child and prerequisite 06079b6e…. Execution: 2 failed/27 passed; startup subsets: 1 failed/3 passed/8 unselected. No weakening, skipped failures, rerun or passing replay labeled a repair. Later upstream fixes and prior-head green remain separate evidence.

Limits

Synthetic local production-path fixtures—not real cloud retention, live-model disk turns, authenticated remote GitHub publication or paused wake. Prerequisite 4484 installed-v38 stable-upgrade proof is complete in #189106: synthetic legacy rows in the genuine release, preserved NULL/mirrored semantics, cold serving identity/readiness and cleanup. It closes that prerequisite's old installed-upgrade gap only, not full disk-feature or later-package acceptance. Release, deployment and controller adoption holds remain.

Contributed by @galiniliev.

Work sessions

roboclaw-bot and others added 18 commits October 31, 2026 03:44
Persist immutable provider receipts through the existing environment writer before setup and enrollment. Reuse them for recovery, inspection, and confirmed exact-resource teardown. Retained allocation, pause/resume, and disk-authoritative workspaces remain inactive. Related: #188796.

Co-authored-by: galiniliev <[email protected]>
Worked on by:
- @galiniliev

Co-authored-by: galiniliev <[email protected]>
OpenClaw-Publication: 79a28e77-6a76-4cd6-bd81-e44cc99064b5
Resolve the package metadata conflict by preserving this prerequisite state schema 37 and current main agent schema 39. Receipt behavior is unchanged; canonical schema generators and all 10 receipt store/migration tests pass after integration.

Co-authored-by: galiniliev <[email protected]>
Worked on by:
- @galiniliev

Co-authored-by: galiniliev <[email protected]>
OpenClaw-Publication: fea66917-e69b-4777-b127-03eb548d7c89
Keep the historical migration expectation values unchanged while satisfying no-shadow.

Co-authored-by: galiniliev <[email protected]>
Worked on by:
- @galiniliev

Co-authored-by: galiniliev <[email protected]>
OpenClaw-Publication: 147bd311-a32a-4cc1-a4c2-116b71affb91
Preserve receipt custody through provisioning failure, select the complete placement row, align PostgreSQL additive column positions, and update schema-bound consumers and regression fixtures.

Co-authored-by: galiniliev <[email protected]>
Worked on by:
- @galiniliev

Co-authored-by: galiniliev <[email protected]>
OpenClaw-Publication: aa6ef0fc-2c5f-4e21-94bc-6ead8b0adea2
Persist exact repository disk identity and accepted pending-result authority in shared state v38. Keep mirrored results unchanged, hold missing or replaced disks, and refuse stale file, publication, and materialization fallbacks. Disk mode remains inactive until explicit I/O and lifecycle support follows.

Co-authored-by: galiniliev <[email protected]>
Declare shared-state schema 38 in package admission metadata, include the exact migrated tables in historical scope proofs, preserve canonical test ordering, and close the trusted PR wrapper import inventory.

Co-authored-by: galiniliev <[email protected]>
Rebuild the empty pending-result table alongside worker receipts and preserve incoming foreign keys from installed lazy fragments when restoring historical test schemas.

Co-authored-by: galiniliev <[email protected]>
Compose legacy schema transformations in canonical order, preserve installed PostgreSQL foreign keys in historical fixtures, and settle confirmed deletion after shutdown aborts new effects.

Co-authored-by: galiniliev <[email protected]>
Worked on by:
- @galiniliev

Co-authored-by: galiniliev <[email protected]>
OpenClaw-Publication: 1cb5a42a-b4a8-43a9-8242-1e75244865d8
Preserve the v38 predecessor schema and installed foreign-key repairs while incorporating confirmed provider teardown settlement from the published prerequisite.

Co-authored-by: galiniliev <[email protected]>
Integrate main 64daa25 to repair the actual provider-lifecycle conflict. Keep the receipt-owned SSH bootstrap extraction and the incoming destructured clock default. Shared-state schema remains 37. Affected receipt, image-intent, teardown-drain, and migration tests: 18 passed; targeted Gateway typing and lifecycle lint passed.

Co-authored-by: galiniliev <[email protected]>
Worked on by:
- @galiniliev

Co-authored-by: galiniliev <[email protected]>
OpenClaw-Publication: c1df24cc-0977-428a-bfbc-8ba8a983218b
The published prerequisite now owns five lines previously counted in this child. Reduce the child allocation to its measured 628-line delta.

Co-authored-by: galiniliev <[email protected]>
Keep exact-disk editor writes on the retained owner. Freeze explicit publication captures under durable request refs, and prepare fresh Git-preserving exports without stale mirror fallback. Disk mode and final Move lifecycle remain inactive.

Co-authored-by: galiniliev <[email protected]>
@clawsweeper

clawsweeper Bot commented Oct 31, 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 size: XL labels Oct 31, 2026
@clawsweeper clawsweeper Bot added the clawsweeper:intake:feature Preliminary submission classification; full source review pending. label Oct 31, 2026
@clawsweeper clawsweeper Bot added P2 Normal backlog priority with limited blast radius. merge-risk: 🚨 security-boundary 🚨 May affect sandboxing, authorization, credentials, or sensitive data. rating: 🧂 unranked krab Not merge-ready due to missing proof or serious correctness/safety concerns. status: 📣 needs proof The PR needs real behavior proof before ClawSweeper can clear the contributor ask. and removed clawsweeper:intake:feature Preliminary submission classification; full source review pending. labels Oct 31, 2026
@clawsweeper

clawsweeper Bot commented Oct 31, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge.

What this changes

This PR adds exact-disk editing, immutable publication captures, and fresh Git-preserving export preparation while keeping disk mode disabled.

Example: A publication captures publish.txt containing “frozen disk bytes”, loses the receipt-binding reply, and retries after another edit.

  • Before: The prerequisite refuses fresh disk publication because a stored Gateway mirror cannot represent current work.
  • After: The retry reads the original request-derived snapshot and excludes the later edit.

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) Useful, coherent implementation with strong real-owner transport evidence and no identified defect; proof remains a local production-path harness.
Proof confidence 🐚 platinum hermit (4/6) Sufficient (logs): The supplied sanitized capture trace and inspected production-path harness exercise environment admission, private node transport, native quiescence, HTTP uploads, and final Git input with allowed and forbidden controls; cleanup remains available after caller revocation while artifact publication is refused. Additional real-owner coverage establishes frozen retry bytes and export source verification. This establishes the inactive consumer slice, without claiming cloud activation or the subsequent Move lifecycle.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Product

Kind: Feature · Worth it: Yes · Fix scope: Complete
User problem: Future disk-authoritative sessions need current file access and explicit publication/export without substituting an older Gateway mirror or selecting later edits during retry.
Reason: Maintainer-authored direction and the linked extraction scope support this bounded prerequisite; activation and complete Move delivery are explicitly assigned to later stages.

Merge readiness

✅ Ready for maintainer review

Keep this PR open as a useful, maintainer-directed prerequisite; no actionable introduced defect was found, and its dependent landing order remains explicit.

Priority: P2
Reviewed head: 0dd64a1064ea2eb0df0ff776517934abcc816e75

Before merge

None.

Findings

None.

Agent review details

How this fits together

Gateway repository consumers coordinate session and placement authority, use the original node for current bytes, and retain immutable Git artifacts for publication or local worktree preparation.

flowchart LR
  A[Repository request] --> B[Session and placement authority]
  B --> C[Exact attached node]
  C --> D[Quiescence and capture]
  D --> E[Immutable Git artifacts]
  E --> F[Publication receipt]
  E --> G[Gateway worktree preparation]
Loading

Technical review

Best possible solution:

Land this bounded consumer slice after its authority prerequisite, preserving disabled activation until the separate lifecycle and upgrade qualification is complete.

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

This is an inactive feature prerequisite; inspected source and supplied real-owner traces establish its scenarios, but no target code was run during this read-only review.

Is this the best way to solve the issue?

The change uses the existing repository, checkpoint, placement, transport, and receipt owners; the shared capture helper is justified by publication and export having the same exact-disk capture invariant.

AGENTS.md: found and applied where relevant.

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

Provenance checked

  • Repository checkpoint and publication ownership keeps the original intent (140d9e7: Repository sessions retained cumulative accepted checkpoints and lifecycle-bound publication while creating Gateway worktrees only for explicit moves.)
  • Exact-disk mirror refusal changes intended behavior with a stated reason (da0ef0c: The prerequisite refused stale mirrored consumers until fresh explicit disk I/O and export support existed; this PR supplies that planned consumer slice.)
  • Git history restoration changes intended behavior with a stated reason (b27c88e: Retain bounded private Git deltas while allowing mirrored file recovery when history cannot be adopted; exact-disk export now explicitly refuses that lossy handoff.)
  • Checkpoint final authority keeps the original intent (002288f: Prevent checkpoint writes after authority closes; artifact-only publication retains the same revision and final-input guards.)

Testing

Proof path: in-process harness.

Security

None.

Evidence

What I checked:

Likely related people:

  • Peter Steinberger: Raw commit 140d9e7 adds src/gateway/github-repository-publication-workspace.ts:80 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: 140d9e705ea3; files: src/gateway/github-repository-publication-workspace.ts)
  • Shakker: Raw commit 65e49fa adds src/gateway/github-repository-publication-recovery.ts:25 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: medium; commits: 65e49fa2008c; files: src/gateway/github-repository-publication-recovery.ts)
  • RoboClaw: Raw commit 2aed866 adds src/gateway/worker-environments/workspace-quiescence.ts:40 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: medium; commits: 2aed86671065; files: src/gateway/worker-environments/workspace-quiescence.ts)

PR surface

Source +345, Tests +1403, Docs +20, Other +4. Total +1772 across 30 files. Added test files: 3.

View PR surface stats
Area Files Added Removed Net
Source 18 446 101 +345
Tests 9 1409 6 +1403
Docs 1 20 0 +20
Config 0 0 0 0
Generated 0 0 0 0
Other 2 4 0 +4
Total 30 1879 107 +1772

Labels

Label changes:

  • add rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🐚 platinum hermit and patch quality is 🐚 platinum hermit.
  • remove rating: 🦐 gold shrimp: Current PR rating is rating: 🐚 platinum hermit, so this older rating label is no longer current.

Label justifications:

  • P2: Useful repository-workspace capability with bounded scope and disabled activation; no urgent shipped regression is established.
  • 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 execution lanes are retired.

History

Review history (2 earlier review cycles)
  • reviewed 2026-10-31T10:37:16.385Z sha 101f2bb :: needs real behavior proof before merge. :: none
  • reviewed 2026-10-31T12:19:44.133Z sha 0dd64a1 :: needs maintainer review before merge. :: none

Reviewed October 31, 2026, 8:26 AM ET / 12:26 UTC (Revision 3).

@clawsweeper clawsweeper Bot added rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. clawsweeper:intake:feature Preliminary submission classification; full source review pending. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. and removed status: 📣 needs proof The PR needs real behavior proof before ClawSweeper can clear the contributor ask. clawsweeper:intake:feature Preliminary submission classification; full source review pending. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. labels Oct 31, 2026
Base automatically changed from openclaw/s5-workspace-disk-authority to main November 1, 2026 01:26
@openclaw-barnacle openclaw-barnacle Bot added channel: voice-call Channel integration: voice-call cli CLI command changes scripts Repository scripts extensions: crabbox labels Nov 1, 2026
roboclaw-bot and others added 2 commits November 1, 2026 04:03
Baseline-Refresh: 83475ff7b8d187add499b99ad483180c4b75548a
Co-authored-by: galiniliev <[email protected]>
Replay the reviewed checkpoint-reuse regression on the original hosted S6 ancestry and actual landed main without importing unsigned prerequisite history. Reuse one checkpoint-ref owner for fresh, accepted and retained captures; atomically retain later queued aliases and companions under current authority without recapturing changed disk bytes or advancing accepted state.

Co-authored-by: galiniliev <[email protected]>
@openclaw-barnacle openclaw-barnacle Bot removed channel: voice-call Channel integration: voice-call cli CLI command changes scripts Repository scripts extensions: crabbox labels Nov 1, 2026
@roboclaw-bot
roboclaw-bot enabled auto-merge (squash) November 1, 2026 04:21
@roboclaw-bot
roboclaw-bot disabled auto-merge November 1, 2026 04:45
Preserve the exact revocation assertion while satisfying the hosted curly rule. Account for the two required brace lines in this regression allocation; keep the shared budget unchanged.

Co-authored-by: galiniliev <[email protected]>
@roboclaw-bot
roboclaw-bot merged commit 38978c4 into main Nov 1, 2026
157 checks passed
@roboclaw-bot
roboclaw-bot deleted the openclaw/s6-current-disk-io branch November 1, 2026 05:48
@roboclaw-bot

Copy link
Copy Markdown
Collaborator Author

Merged via squash.

github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Nov 2, 2026
* feat(workers): bind cleanup to recorded cloud resources

Persist immutable provider receipts through the existing environment writer before setup and enrollment. Reuse them for recovery, inspection, and confirmed exact-resource teardown. Retained allocation, pause/resume, and disk-authoritative workspaces remain inactive. Related: openclaw#188796.

Co-authored-by: galiniliev <[email protected]>

* feat(workers): bind cleanup to recorded cloud resources

Worked on by:
- @galiniliev

Co-authored-by: galiniliev <[email protected]>
OpenClaw-Publication: 79a28e77-6a76-4cd6-bd81-e44cc99064b5

* Publish openclaw/s4-retained-session-disk

Worked on by:
- @galiniliev

Co-authored-by: galiniliev <[email protected]>
OpenClaw-Publication: fea66917-e69b-4777-b127-03eb548d7c89

* test(state): avoid shadowing the migration fixture path import

Keep the historical migration expectation values unchanged while satisfying no-shadow.

Co-authored-by: galiniliev <[email protected]>

* Publish openclaw/s4-retained-session-disk

Worked on by:
- @galiniliev

Co-authored-by: galiniliev <[email protected]>
OpenClaw-Publication: 147bd311-a32a-4cc1-a4c2-116b71affb91

* fix(workers): complete resource receipt consumers and migration parity

Preserve receipt custody through provisioning failure, select the complete placement row, align PostgreSQL additive column positions, and update schema-bound consumers and regression fixtures.

Co-authored-by: galiniliev <[email protected]>

* Publish openclaw/s4-retained-session-disk

Worked on by:
- @galiniliev

Co-authored-by: galiniliev <[email protected]>
OpenClaw-Publication: aa6ef0fc-2c5f-4e21-94bc-6ead8b0adea2

* feat: retain repository disk authority through recovery

Persist exact repository disk identity and accepted pending-result authority in shared state v38. Keep mirrored results unchanged, hold missing or replaced disks, and refuse stale file, publication, and materialization fallbacks. Disk mode remains inactive until explicit I/O and lifecycle support follows.

Co-authored-by: galiniliev <[email protected]>

* fix: complete disk authority migration consumers

Declare shared-state schema 38 in package admission metadata, include the exact migrated tables in historical scope proofs, preserve canonical test ordering, and close the trusted PR wrapper import inventory.

Co-authored-by: galiniliev <[email protected]>

* test: preserve exact PostgreSQL disk authority predecessors

Rebuild the empty pending-result table alongside worker receipts and preserve incoming foreign keys from installed lazy fragments when restoring historical test schemas.

Co-authored-by: galiniliev <[email protected]>

* fix(workers): retain teardown settlement and predecessor contracts

Compose legacy schema transformations in canonical order, preserve installed PostgreSQL foreign keys in historical fixtures, and settle confirmed deletion after shutdown aborts new effects.

Co-authored-by: galiniliev <[email protected]>

* Publish openclaw/s4-retained-session-disk

Worked on by:
- @galiniliev

Co-authored-by: galiniliev <[email protected]>
OpenClaw-Publication: 1cb5a42a-b4a8-43a9-8242-1e75244865d8

* Publish openclaw/s4-retained-session-disk

Worked on by:
- @galiniliev

Co-authored-by: galiniliev <[email protected]>
OpenClaw-Publication: c1df24cc-0977-428a-bfbc-8ba8a983218b

* test: align disk authority allocation with repaired prerequisite

The published prerequisite now owns five lines previously counted in this child. Reduce the child allocation to its measured 628-line delta.

Co-authored-by: galiniliev <[email protected]>

* feat: capture explicit repository disk snapshots

Keep exact-disk editor writes on the retained owner. Freeze explicit publication captures under durable request refs, and prepare fresh Git-preserving exports without stale mirror fallback. Disk mode and final Move lifecycle remain inactive.

Co-authored-by: galiniliev <[email protected]>

* test: preserve complete runtime refusal diagnostics

Keep exact update-admission expectations aligned with the canonical updater and PATH diagnostic suffix, without relaxing no-effect assertions.

Co-authored-by: galiniliev <[email protected]>

* test: qualify exact disk capture at native effects

Replace mock admission cases with the real environment, node transport, upload, and Git publication owners. Preserve allowed and rejected effects plus quiescence cleanup across revocation.

Co-authored-by: galiniliev <[email protected]>

* fix(workers): preserve queued aliases when reusing disk captures

Replay the reviewed checkpoint-reuse regression on the original hosted S6 ancestry and actual landed main without importing unsigned prerequisite history. Reuse one checkpoint-ref owner for fresh, accepted and retained captures; atomically retain later queued aliases and companions under current authority without recapturing changed disk bytes or advancing accepted state.

Co-authored-by: galiniliev <[email protected]>

* style(test): brace retained capture authority check

Preserve the exact revocation assertion while satisfying the hosted curly rule. Account for the two required brace lines in this regression allocation; keep the shared budget unchanged.

Co-authored-by: galiniliev <[email protected]>

---------

Co-authored-by: galiniliev <[email protected]>
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 gateway Gateway runtime P2 Normal backlog priority with limited blast radius. proof: sufficient ClawSweeper judged the real behavior proof convincing. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. 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