Skip to content

Durable Core PR 2/6: add the opt-in shared-state foundation - #111121

Closed
mjnkao wants to merge 17 commits into
openclaw:release/2026.7.1from
mjnkao:codex/durable-core-pr2-storage-v2
Closed

mjnkao wants to merge 17 commits into
openclaw:release/2026.7.1from
mjnkao:codex/durable-core-pr2-storage-v2

Conversation

@mjnkao

@mjnkao mjnkao commented Jul 19, 2026 •

Copy link
Copy Markdown

Durable Core stack context

This is PR 2/6. Its incremental role is to add the explicitly opened shared-state foundation and exactly ten residual tables; no public config or API.

End state

The series targets infrastructure-level agent silence on supported OpenClaw
7.1 paths. Accepted long-running or delegated work should retain durable
identity, parent/owner attention, recovery state, and replay-safety evidence
across Gateway restart, process interruption, context overflow/compaction,
delayed children, stale claims, and ambiguous handoffs. The intended result is
truthful recovery or an explicit owner-decision/uncertainty state, not silent
loss and not blind replay.

This is not a promise that every agent will always produce a useful response.
It does not resume an arbitrary operating-system process, guarantee exactly-once
external effects, prove delivery through every transport, or replace profile,
skill, prompt, and model quality.

Official 7.1 baseline and residual gap

Official 7.1 already has authoritative lifecycle owners for tasks and task
delivery, Task Flow runs, subagents, outbound and session delivery queues,
leases, sessions, ACP, restart/boot, conversation bindings, audit, diagnostics,
and the shared SQLite schema. This stack keeps those owners authoritative.

The residual gap appears when a fact crosses owners. No single official 7.1
owner can safely answer all of these questions without taking authority from
another owner:

  • which parent, session, or owner must receive attention for accepted work;
  • which task, flow, subagent, session, delivery, and generic execution facts
    refer to the same run;
  • whether a handoff was accepted, consumed, owner-acknowledged, or externally
    delivered;
  • whether work left running after process loss is stale, reclaimable, blocked,
    or uncertain;
  • whether a possible side effect makes automatic replay unsafe;
  • how an operator can inspect those facts without reading or mutating SQLite
    directly.

Durable Core therefore adds only residual cross-owner facts, owner-first
recovery coordination, and bounded inspection. It reuses state_leases for
attempt authority and the existing schema_meta/user_version owner for schema
versioning. It does not add a second task, flow, subagent, delivery, session, or
migration ledger.

Root causes and stack coverage

Root-cause family Stack response
Accepted work exists only in process memory PR2 persistence substrate plus PR4 durable acceptance front doors
Coordinator or parent can go silent after delegation PR3 source-backed wake obligations and persistent session attention
Restart/interruption leaves stale or contradictory state PR3 owner-first recovery, PR4 fenced turn settlement, PR5 expired-claim recovery
Handoff attempt is mistaken for consumption, ACK, or delivery PR3 explicit proof boundaries and PR6 inspection
A side effect may have happened before process loss PR4 uncertainty/replay fence and PR5 operation-specific recovery policy
Operators cannot explain pending or blocked work PR6 bounded read-only Gateway/CLI projections

Six-PR map

PR Incremental role
PR1 #107375 Residual-gap RFC, official 7.1 owner comparison, invariants, and compatibility plan
PR2 #111121 Opt-in shared-state foundation with exactly ten residual tables
PR3 #111278 Owner-first Gateway recovery and persistent session attention
PR4 #111343 Durable agent-turn front doors, liveness, settlement, and uncertain-replay fence
PR5 #111464 Operation-scoped worker, attempt fencing, and expired-claim recovery
PR6 #111487 Bounded read-only Gateway and CLI inspection

Review model

All six PRs target release/2026.7.1 at
0790d9f593ad30c940ed93b5872a8cf6d6f3cf8c, so GitHub displays a cumulative
diff for each later PR. Review and merge order remains PR1 through PR6.
Review the incremental change for this slice at PR2-only compare.

Exact head for this PR: 2d564d52fe14e5896abef1c51f813a4799f8f325.

What Problem This Solves

Official 7.1 has durable owner-specific tables but no optional shared boundary
for generic execution evidence, wake obligations, delivery-attempt evidence,
uncertainty, correlations, and bounded payload references. This slice adds
only that residual storage while preserving existing owner authority and
leaving disabled installations untouched.

Exact base and head

  • Official base: release/2026.7.1 at
    0790d9f593ad30c940ed93b5872a8cf6d6f3cf8c.
  • PR1 RFC head included in this cumulative branch:
    5b8dfa9aade.
  • Exact PR2 head: 2d564d52fe14e5896abef1c51f813a4799f8f325.
  • The head is a direct descendant of the exact official base; no 7.1
    correction commit is reverted.

What this slice adds

  • An explicitly opened residual schema inside the existing shared
    openclaw.sqlite owner.
  • A typed SQLite/Kysely store with explicit transaction composition.
  • Read-only shape-validated opening; the shared-state owner remains the sole schema-version authority.
  • Shared database handle/lease lifecycle that preserves existing state owners.
  • Generated Kysely types plus naming and raw-SQL guardrails.

This PR adds no public durable configuration, starts no worker, integrates no
agent front door, dispatches no wake, exposes no Gateway/CLI method, and claims
no external delivery. Runtime configuration moves to PR3, where worker and
intake code consume it rather than leaving accepted settings inactive.

Owner-first schema decision

Existing official 7.1 owners remain authoritative: task_runs,
task_delivery_state, flow_runs, subagent_runs,
delivery_queue_entries, state_leases, session/ACP/restart owners, audit,
and diagnostics.

When a future consumer explicitly opens the durable store, this slice adds
exactly ten residual tables:

  1. durable_execution_records
  2. durable_event_evidence
  3. durable_execution_steps
  4. durable_payload_refs
  5. durable_run_correlations
  6. durable_timer_obligations
  7. durable_signal_evidence
  8. wake_obligations
  9. delivery_attempt_evidence
  10. uncertainty_facts

There is no second migration ledger, mode table, result-mailbox table, generic
dedupe ledger, cleanup table, duplicated task/flow/subagent lifecycle, or
durable-specific schema_meta row. The existing shared-state user_version
and schema_meta(primary) remain the only schema-version authority.

Safety properties proved

  • Normal shared-state bootstrap creates no durable schema metadata or durable
    table; this slice adds no public durable setting that could imply inactive
    behavior.
  • Read-only inspection never creates or migrates state.
  • A newer shared-state schema version is still rejected by the existing database
    owner before durable DDL; the additive durable tables do not introduce a
    competing version contract.
  • Explicit initialization upgrades a real official 7.1 shared database while
    preserving canonical owner rows, including an existing state_leases row.
  • Durable writes can join a caller-composed shared SQLite transaction and roll
    back atomically.
  • Shared handles remain open while another lease is active, do not checkpoint
    prematurely, and reopen cleanly after final close.
  • Terminal mutation guards, source-owner/ref requirements, dedupe keys, bounded
    metadata, and lease fencing are enforced by the store.
  • Raw SQLite remains limited to explicit schema/bootstrap and store-lifecycle
    boundaries; JSON extraction uses a closed-path Kysely helper.
  • The standalone storage slice uses upstream's optional Knip allowlist for
    files that Linux cannot reach until later stack wiring. It adds no public
    config type or plugin SDK export budget.

Evidence

Run on 2d564d52fe14e5896abef1c51f813a4799f8f325:

  • pnpm tsgo:all - passed across all workspace projects.
  • Focused durable/shared-state matrix - 5 files passed; 55 tests passed,
    1 skipped.
  • pnpm db:kysely:check - generated schema/types match.
  • pnpm lint:kysely - Kysely guardrails OK.
  • pnpm check:durable-canonical-naming - passed across 25 files.
  • Scoped type-aware oxlint over every changed script/config/store source - passed.
  • Scoped oxfmt --check - passed on all matched changed files.
  • Exact tooling regressions for dead-code allowlisting and the plugin SDK
    surface budget - 2 files passed; 24 tests passed.
  • pnpm docs:map:check - passed for the cumulative RFC docs.
  • git diff --check - passed.

The focused matrix includes enabled/disabled initialization, exact table
inventory, canonical-row preservation, future-version rejection, transaction
rollback, terminal immutability, wake claim fencing, close/reopen persistence,
shared-handle lifecycle, query plans, and the closed JSON-path no-silence
diagnostic regression. The schema-authority correction additionally passed 23
focused storage/factory tests, full workspace tsgo, scoped type-aware lint,
formatting, and git diff --check.

Redacted runtime probe output from the exact head (temporary database only):

{"head":"2d564d52fe14e5896abef1c51f813a4799f8f325","proof":"disabled-normal-bootstrap","durableTables":0,"durableMarker":false,"primarySchemaVersion":1}
{"proof":"explicit-additive-open","durableTables":10,"durableMarker":false,"primarySchemaVersion":1}
{"proof":"close-reopen-read-only","runs":1,"events":1}

The probe creates an official shared-state database, inserts one canonical
state_leases owner row, verifies normal bootstrap has zero durable tables,
opens the durable store explicitly, verifies that no durable-specific schema
marker is written, writes one run/event, closes it, and reopens read-only. Its
reproducible assertions are covered by the focused tests above.

Non-claims

  • No default-on durable behavior.
  • No claim that storage alone prevents every silent agent outcome.
  • No arbitrary semantic replay or exactly-once external side effect.
  • No public mutation API and no claim that queue acceptance proves user
    delivery.

@openclaw-barnacle openclaw-barnacle Bot added docs Improvements or additions to documentation scripts Repository scripts size: XL triage: needs-pr-context Candidate: external PR body lacks required problem context or evidence. labels Jul 19, 2026
@mjnkao

mjnkao commented Jul 19, 2026

Copy link
Copy Markdown
Author

Replacement PR2 submitted at exact head
ee7b9194a528e261efe80bba199fd780d9d4b407, directly descended from exact
official release/2026.7.1 head
0790d9f593ad30c940ed93b5872a8cf6d6f3cf8c.

Proof on this exact head:

  • pnpm tsgo:all - passed
  • focused durable/shared-state matrix - 6 files passed, 58 tests passed,
    1 skipped
  • generated Kysely verification and full Kysely guardrails - passed
  • canonical naming guard - passed across 27 files
  • scoped type-aware oxlint and oxfmt - passed
  • docs map and diff hygiene - passed

The review body contains the exact ten-table inventory, enabled/disabled and
future-schema guarantees, canonical owner-row preservation, transaction and
shared-handle proofs, the PR1-to-PR2 implementation-only compare link, and
explicit non-claims. The raw-SQL guard finding discovered during packaging was
fixed before submission with an explicit schema-bootstrap allowlist and a
closed JSON-path Kysely helper plus regression coverage.

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Jul 19, 2026 •

Copy link
Copy Markdown
Contributor

🦞🧹
ClawSweeper re-review requested.

I asked ClawSweeper to review this item again.
Action: item re-review queued (workflow sweep.yml, event repository_dispatch).
Result: the existing ClawSweeper review comment will be edited in place when the review finishes.

Re-review progress:

@clawsweeper clawsweeper Bot added 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. P2 Normal backlog priority with limited blast radius. merge-risk: 🚨 compatibility 🚨 May break existing users, config, migrations, defaults, or upgrade paths. merge-risk: 🚨 session-state 🚨 May lose, corrupt, stale, or mis-associate session, agent, or context state. labels Jul 19, 2026
@clawsweeper

clawsweeper Bot commented Jul 19, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge. Reviewed August 2, 2026, 4:44 PM ET / 20:44 UTC.

ClawSweeper review

What this changes

This PR adds an explicitly opened SQLite/Kysely durable-runtime store with ten residual shared-state tables, transaction and lease handling, generated schema types, and focused storage tests, while leaving runtime activation and public APIs to later PRs.

Merge readiness

⚠️ Ready for maintainer review - 3 items remain

Keep this PR open for an explicit maintainer product decision, not because of a discrete patch defect. The proposal is a coherent, tested storage foundation, but it adds a new persistent cross-owner coordination boundary to the shared core database before maintainers have decided whether these recovery facts belong in a shared layer or in existing task, session, subagent, and delivery owners.

Priority: P2
Reviewed head: 2d564d52fe14e5896abef1c51f813a4799f8f325
Owner decision: Required. See Decision needed.

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) The patch and its storage proof are credible, but merge readiness is gated by an unresolved core architecture and upgrade decision rather than ordinary implementation quality.
Proof confidence 🐚 platinum hermit (4/6) Sufficient (terminal): The PR body includes redacted exact-head terminal proof for disabled bootstrap, explicit additive opening, and close/reopen persistence; it directly demonstrates the changed storage behavior, though it does not substitute for maintainer architectural sponsorship.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Verification

Check Result Evidence
Real behavior Verified Sufficient (terminal): The PR body includes redacted exact-head terminal proof for disabled bootstrap, explicit additive opening, and close/reopen persistence; it directly demonstrates the changed storage behavior, though it does not substitute for maintainer architectural sponsorship.
Evidence reviewed 6 items Current main has no durable runtime subsystem: A current-main search found no durable store, durable table, or durable schema implementation under src; the only durable-runtime text is unrelated embedded-agent runtime matching. The requested capability is therefore not already implemented on main.
Shared-state owner contract: Current main owns schema verification, migration, user_version, schema_meta, cached handles, and per-path close behavior in the shared state database. This makes a second persistent coordination layer an ownership and upgrade decision rather than an isolated internal helper.
Proposed persistent surface: The PR adds ten durable tables plus a 3,559-line SQLite store and changes shared database lifecycle behavior; its focused tests cover disabled bootstrap, additive opening, transaction rollback, owner-row preservation, fencing, and persistence.
Findings None None.
Security None None.

How this fits together

OpenClaw’s shared SQLite database already holds owner-specific task, session, lease, and delivery state. This PR would add a dormant cross-owner evidence store that later Gateway recovery, worker, and inspection layers could use to coordinate those existing owners.

flowchart LR
  Owners[Existing task, session, subagent, and delivery owners] --> StateDB[Shared SQLite state database]
  DurableStore[Proposed durable store] --> StateDB
  DurableStore --> Evidence[Cross-owner evidence and obligations]
  Evidence --> Recovery[Later recovery and attention logic]
  Recovery --> Operators[Gateway and operator inspection]
  Owners --> Operators
Loading

Decision needed

Question Recommendation
Should OpenClaw adopt a persistent shared durable coordination layer for cross-owner recovery facts, or require the demonstrated gaps to be repaired by existing owner-specific task, session, subagent, and delivery stores? Sponsor the narrow shared layer: Accept a residual cross-owner store in core, then require a current-main rebase and explicit upgrade/lifecycle proof before merge.

Why: The patch is technically bounded, but creating ten shared-state tables and a new cross-owner authority boundary is a product and architecture choice that implementation tests cannot settle.

Before merge

  • Resolve merge risk (P1) - Merging adds ten persistent tables to the shared core database before maintainers choose whether cross-owner recovery facts should exist as a new core owner boundary.
  • Resolve merge risk (P1) - The PR targets the July 2026 release branch while current main has evolved shared-database close semantics; integration must preserve current cache, WAL, corruption, and close behavior across upgrades.
Agent review details

Security

None.

PR surface

Source +4897, Tests +1464, Docs +529, Config +1, Generated +501, Other +83. Total +7475 across 20 files.

View PR surface stats
Area Files Added Removed Net
Source 7 4904 7 +4897
Tests 2 1464 0 +1464
Docs 4 529 0 +529
Config 1 2 1 +1
Generated 2 501 0 +501
Other 4 85 2 +83
Total 20 7485 10 +7475

Review metrics

Metric Value Why it matters
Persistent core schema 10 tables added These tables enter the shared state database and therefore require an explicit upgrade and ownership decision before merge.
Shared lifecycle surface 1 shared database lifecycle module changed Lease and close behavior affects every current owner that reuses the cached state database.

Stored data model

Persistent data-model change detected: database schema: src/durable/schema.generated.ts, database schema: src/durable/schema.sql, database schema: src/durable/schema.ts, serialized state: src/state/openclaw-state-db.ts, unknown-data-model-change: src/durable/schema-db.generated.d.ts, unknown-data-model-change: src/durable/schema.generated.ts, and 2 more. Confirm migration or upgrade compatibility proof before merge.

Merge-risk options

Maintainer options:

  1. Rebase after sponsorship (recommended)
    If maintainers sponsor the shared layer, rebase onto current main and add focused upgrade and lifecycle proof before merge.
  2. Keep owner-local state
    Decline this storage substrate and pursue only source-owner repairs for the concrete recovery failures.
  3. Pause the proposed stack
    Close or pause this slice if maintainers do not want a new shared durable-state authority in core.

Technical review

Best possible solution:

First sponsor or reject the shared durable coordination boundary through the canonical product discussion; if sponsored, rebase this slice onto current main and prove additive upgrade, disabled-mode non-mutation, and coexistence with current shared-state lifecycle ownership before landing.

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

Not applicable as a standalone bug reproduction: this PR proposes a new durable coordination capability rather than fixing an established current-main contract. The linked product issue contains a separate source-backed stale-owner-handoff reproduction for the architectural question.

Is this the best way to solve the issue?

No—not yet as a merge decision. The storage implementation is coherent, but the best solution depends on whether maintainers accept a shared cross-owner authority or prefer owner-local repairs; current main also requires an integration pass before this release-branch patch can land safely.

AGENTS.md: found and applied where relevant.

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

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: This is a substantial core architecture proposal with bounded current impact, not a demonstrated emergency regression.
  • merge-risk: 🚨 compatibility: The patch adds persistent shared-state tables and changes shared database handle lifecycle across existing state files and upgrades.
  • merge-risk: 🚨 session-state: The proposed store is designed to correlate and recover run, handoff, and attention facts that cross session and execution owners.
  • merge-risk: 🚨 availability: Shared database open, lease, checkpoint, and close behavior can affect gateway access to the core state database.
  • 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. Sufficient (terminal): The PR body includes redacted exact-head terminal proof for disabled bootstrap, explicit additive opening, and close/reopen persistence; it directly demonstrates the changed storage behavior, though it does not substitute for maintainer architectural sponsorship.
  • proof: sufficient: Contributor real behavior proof is sufficient. The PR body includes redacted exact-head terminal proof for disabled bootstrap, explicit additive opening, and close/reopen persistence; it directly demonstrates the changed storage behavior, though it does not substitute for maintainer architectural sponsorship.

Evidence

What I checked:

  • Current main has no durable runtime subsystem: A current-main search found no durable store, durable table, or durable schema implementation under src; the only durable-runtime text is unrelated embedded-agent runtime matching. The requested capability is therefore not already implemented on main. (src/state/openclaw-state-db.ts:560, f4766de45b74)
  • Shared-state owner contract: Current main owns schema verification, migration, user_version, schema_meta, cached handles, and per-path close behavior in the shared state database. This makes a second persistent coordination layer an ownership and upgrade decision rather than an isolated internal helper. (src/state/openclaw-state-db.ts:386, f4766de45b74)
  • Proposed persistent surface: The PR adds ten durable tables plus a 3,559-line SQLite store and changes shared database lifecycle behavior; its focused tests cover disabled bootstrap, additive opening, transaction rollback, owner-row preservation, fencing, and persistence. (src/durable/schema.sql:1, 2d564d52fe14)
  • Current-main lifecycle drift: Current main now has an independently evolved exact-path close API. The PR’s release-branch lease changes need integration review against that current lifecycle before merge, even though the PR is clean against its release base. (src/state/openclaw-state-db.ts:684, f4766de45b74)
  • PR provenance: The reviewed PR head is an unmerged July 19, 2026 commit and is not contained by the checked-out main branch or a local release tag. (src/durable/schema.ts:1, 2d564d52fe14)
  • Related product-direction issue: The linked open issue explicitly frames the shared durable layer versus owner-local repairs as a maintainer decision and identifies this PR as the storage substrate candidate.

Likely related people:

  • Shakker: Current-main blame attributes the shared-state database lifecycle, cached-handle, and exact-path close surface to this contributor’s recent state-database work. (role: recent area contributor; confidence: medium; commits: 603321a31569; files: src/state/openclaw-state-db.ts)

Rank-up moves

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

  • Obtain explicit sponsorship or rejection of the shared durable-state boundary.
  • Rebase onto current main and prove coexistence with the current shared-database close and cache lifecycle.

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 (15 earlier review cycles; latest 8 shown)
  • reviewed 2026-07-19T07:51:26.976Z sha 2d564d5 :: needs maintainer review before merge. :: none
  • reviewed 2026-07-19T08:15:23.434Z sha 2d564d5 :: needs maintainer review before merge. :: none
  • reviewed 2026-07-19T10:35:34.080Z sha 2d564d5 :: needs maintainer review before merge. :: none
  • reviewed 2026-07-21T02:23:38.247Z sha 2d564d5 :: needs maintainer review before merge. :: none
  • reviewed 2026-07-31T08:45:02.914Z sha 2d564d5 :: needs maintainer review before merge. :: none
  • reviewed 2026-08-01T09:26:11.571Z sha 41c99be :: needs maintainer review before merge. :: none
  • reviewed 2026-08-02T07:38:59.941Z sha f8c986e :: needs maintainer review before merge. :: none
  • reviewed 2026-08-02T09:42:21.881Z sha 2d564d5 :: needs maintainer review before merge. :: none

@openclaw-barnacle openclaw-barnacle Bot removed the triage: needs-pr-context Candidate: external PR body lacks required problem context or evidence. label Jul 19, 2026
@clawsweeper clawsweeper Bot added rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. and removed rating: 🧂 unranked krab Not merge-ready due to missing proof or serious correctness/safety concerns. labels Jul 19, 2026
@openclaw-barnacle openclaw-barnacle Bot added channel: line Channel integration: line channel: matrix Channel integration: matrix channel: mattermost Channel integration: mattermost channel: msteams Channel integration: msteams channel: nextcloud-talk Channel integration: nextcloud-talk channel: nostr Channel integration: nostr channel: signal Channel integration: signal channel: slack Channel integration: slack channel: telegram Channel integration: telegram channel: tlon Channel integration: tlon channel: voice-call Channel integration: voice-call channel: whatsapp-web Channel integration: whatsapp-web channel: zalo Channel integration: zalo channel: zalouser Channel integration: zalouser app: macos App: macos app: web-ui App: web-ui gateway Gateway runtime extensions: copilot-proxy Extension: copilot-proxy extensions: diagnostics-otel Extension: diagnostics-otel extensions: llm-task Extension: llm-task extensions: lobster Extension: lobster extensions: memory-core Extension: memory-core extensions: memory-lancedb Extension: memory-lancedb labels Aug 2, 2026
@mjnkao

mjnkao commented Aug 2, 2026

Copy link
Copy Markdown
Author

Restored this PR to the previously reviewed OpenClaw 2026.7.1 storage candidate at 2d564d52fe14e5896abef1c51f813a4799f8f325.

This returns PR2 to the bounded opt-in shared-state slice described in the body: exactly ten residual tables, no public configuration or API, and no worker or wake dispatch. The base, title, body, and exact-head evidence now match that candidate.

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Aug 2, 2026 •

Copy link
Copy Markdown
Contributor

🦞🧹
ClawSweeper re-review requested.

I asked ClawSweeper to review this item again.
Action: item re-review queued (workflow sweep.yml, event repository_dispatch).
Result: when the review finishes, ClawSweeper will create the durable review comment if needed or update the existing comment in place.

Re-review progress:

@openclaw-barnacle

Copy link
Copy Markdown

This pull request has been automatically marked as stale due to inactivity.
Please add updates or it will be closed.

1 similar comment
@openclaw-barnacle

Copy link
Copy Markdown

This pull request has been automatically marked as stale due to inactivity.
Please add updates or it will be closed.

@openclaw-barnacle

Copy link
Copy Markdown

This pull request has been automatically marked as stale due to inactivity.
Please add updates or it will be closed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

agents Agent runtime and tooling app: linux app: macos App: macos app: web-ui App: web-ui channel: discord Channel integration: discord channel: feishu Channel integration: feishu channel: googlechat Channel integration: googlechat channel: imessage Channel integration: imessage channel: irc channel: line Channel integration: line channel: matrix Channel integration: matrix channel: mattermost Channel integration: mattermost channel: msteams Channel integration: msteams channel: nextcloud-talk Channel integration: nextcloud-talk channel: nostr Channel integration: nostr channel: qa-channel Channel integration: qa-channel channel: qqbot channel: raft Channel integration: Raft channel: signal Channel integration: signal channel: slack Channel integration: slack channel: sms Channel integration: sms channel: synology-chat channel: telegram Channel integration: telegram channel: tlon Channel integration: tlon channel: twitch Channel integration: twitch channel: voice-call Channel integration: voice-call channel: whatsapp-web Channel integration: whatsapp-web channel: zalo Channel integration: zalo channel: zalouser Channel integration: zalouser cli CLI command changes commands Command implementations docker Docker and sandbox tooling docs Improvements or additions to documentation extensions: acpx extensions: admin-http-rpc extensions: anthropic extensions: arcee extensions: byteplus extensions: cerebras extensions: clawrouter Extension: clawrouter extensions: cloudflare-ai-gateway extensions: codex extensions: copilot extensions: copilot-proxy Extension: copilot-proxy extensions: deepinfra extensions: deepseek extensions: diagnostics-otel Extension: diagnostics-otel extensions: diagnostics-prometheus extensions: duckduckgo extensions: featherless extensions: gmi extensions: huggingface extensions: inworld Extension: inworld extensions: kilocode extensions: kimi-coding extensions: litellm extensions: llama-cpp extensions: llm-task Extension: llm-task extensions: lmstudio extensions: lobster Extension: lobster extensions: longcat LongCat provider plugin extensions: memory-core Extension: memory-core extensions: memory-lancedb Extension: memory-lancedb extensions: memory-wiki extensions: meta Extension: meta extensions: minimax extensions: moonshot extensions: novita extensions: nvidia extensions: oc-path extensions: open-prose Extension: open-prose extensions: openai extensions: policy extensions: qa-lab extensions: qianfan extensions: stepfun extensions: tencent extensions: tokenjuice Changes to the bundled tokenjuice extension extensions: webhooks gateway Gateway runtime merge-risk: 🚨 availability 🚨 May cause crashes, hangs, restart loops, stalls, or process outages. merge-risk: 🚨 compatibility 🚨 May break existing users, config, migrations, defaults, or upgrade paths. merge-risk: 🚨 session-state 🚨 May lose, corrupt, stale, or mis-associate session, agent, or context state. P2 Normal backlog priority with limited blast radius. plugin: azure-speech Azure Speech plugin plugin: bonjour Plugin integration: bonjour plugin: file-transfer plugin: google-meet plugin: linux-node plugin: logbook Logbook automatic work journal plugin plugin: migrate-claude plugin: migrate-hermes plugin: pixverse plugin: workboard proof: sufficient ClawSweeper judged the real behavior proof convincing. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. scripts Repository scripts 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