Repository navigation
Conversation
|
Codex review: blocked before merge. Reviewed August 29, 2026, 10:10 PM ET / August 30, 2026, 02:10 UTC (Revision 40). ClawSweeper reviewWhat this changesThis PR adds two provisional RFC pages for a proposed durable runtime, plus glossary entries and an expanded generated docs map. Merge readiness⛔ Blocked before merge - 7 items remain Keep this PR open for an explicit architecture and publication decision. The RFC is not already on current main, but its unapproved status conflicts with its placement in the docs tree, which the current publishing pipeline mirrors into the public docs repository. Priority: P3 Review scores
Verification
How this fits togetherThe pages describe a possible shared recovery layer above existing task, session, delivery, and Gateway state owners. Documentation under flowchart LR
A[Existing task and session owners] --> B[Proposed durable runtime RFC]
B --> C[Docs source tree]
C --> D[Docs publish sync]
D --> E[Public docs repository]
B --> F[Maintainer architecture decision]
Decision needed
Why: The patch deliberately does not implement behavior and cannot itself decide whether a new cross-owner subsystem belongs in OpenClaw or should be publicly documented. Before merge
Findings
Agent review detailsSecurityNone. PR surfaceDocs +529. Total +529 across 4 files. View PR surface stats
Review metricsNone. Merge-risk optionsMaintainer options:
Technical reviewBest possible solution: Keep the proposal and its alternatives in the linked design-decision issue until sponsorship is explicit; publish focused user documentation only after that decision and rebase it onto the current docs-map contract. Do we have a high-confidence way to reproduce the issue? Not applicable: this PR changes documentation only, and the central question is architecture sponsorship rather than a reproducible runtime failure. Is this the best way to solve the issue? No. Calling the pages unapproved does not keep them out of the public publishing path; the linked decision issue is the appropriate place until sponsorship is explicit. Full review comments:
Overall correctness: patch is incorrect AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against a1914a79cd3a. LabelsLabel justifications:
EvidenceWhat I checked:
Likely related people:
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
HistoryReview history (39 earlier review cycles; latest 8 shown)
|
|
Updated PR1 at What changed:
Validation run:
@clawsweeper re-review |
|
🦞🧹 I asked ClawSweeper to review this item again. Re-review progress:
|
|
Updated PR1 at exact head Change:
Proof run on exact head
The remaining owner/sponsorship decision is preserved as maintainer review risk rather than public navigation publication. @clawsweeper re-review |
|
🦞🧹 I asked ClawSweeper to review this item again. Re-review progress:
|
|
Updated PR1 at exact head Changes:
Validation on exact head:
This remains PR1-only; no PR2-PR5 files, runtime code, schema, config, or transport behavior were touched. @clawsweeper re-review |
|
🦞🧹 I asked ClawSweeper to review this item again. Re-review progress:
|
|
Updated PR1 at exact head Previous completed ClawSweeper review marker: Concrete PR1-only changes since
Scope/evidence at current head:
@clawsweeper re-review |
|
Updated PR1 at exact head Change:
Exact-head validation:
@clawsweeper re-review |
|
🦞👀 Command router queued. I will update this comment with the next step. |
|
Updated PR1 at exact head Changes:
Validation on exact head:
This keeps PR1 docs/RFC-only: no runtime code, schema, worker, Gateway, CLI, transport behavior, TaskFlow behavior, or product recovery behavior is landed by this PR. @clawsweeper re-review |
|
🦞🧹 I asked ClawSweeper to review this item again. Re-review progress:
|
1d80319 to
a08b74d
Compare
Dependency graph guard clearedThis PR no longer has blocked dependency graph changes. A future dependency graph change requires a fresh
|
Security-sensitive changes are blockedOpenClaw does not accept security-sensitive file changes through PRs unless a repository admin or security explicitly authorizes the current head SHA. Detected security-sensitive changes:
If this PR intentionally needs these changes, ask a repository admin or member of The action will approve the current head SHA ( |
|
@clawsweeper re-review This PR has been replaced with an independently mergeable runtime fix on |
|
🦞🧹 I asked ClawSweeper to review this item again. Re-review progress:
|
|
@clawsweeper re-review Exact head |
|
🦞🧹 I asked ClawSweeper to review this item again. Re-review progress:
|
|
Restored this PR to the previously reviewed OpenClaw 2026.7.1 RFC candidate at This returns PR1 to its bounded documentation-only role: the owner-first residual-gap contract, exact ten-table proposal boundary, and compatibility test plan. The PR base, title, and body now match that candidate. No runtime, schema, dependency, or configuration change is introduced by this restoration. @clawsweeper re-review |
Durable Core stack context
This is PR 1/6. Its incremental role is to define the owner-first residual-gap RFC and compatibility test plan; documentation only.
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:
refer to the same run;
delivered;
or uncertain;
directly.
Durable Core therefore adds only residual cross-owner facts, owner-first
recovery coordination, and bounded inspection. It reuses
state_leasesforattempt authority and the existing
schema_meta/user_versionowner for schemaversioning. It does not add a second task, flow, subagent, delivery, session, or
migration ledger.
Root causes and stack coverage
Six-PR map
Review model
All six PRs target
release/2026.7.1at0790d9f593ad30c940ed93b5872a8cf6d6f3cf8c, so GitHub displays a cumulativediff for each later PR. Review and merge order remains PR1 through PR6.
This PR is the docs-only RFC delta directly on the official release base.
Exact head for this PR:
5b8dfa9aadea357b96627ea119633f94ad75cbb7.What Problem This Solves
Official 7.1 lifecycle owners are individually durable, but they cannot by
themselves answer cross-owner attention, handoff-evidence, replay-safety, and
uncertainty questions after restart or deferred execution. This RFC defines a
narrow residual boundary for those facts without replacing existing owners.
Verified official 7.1 owner comparison
The proposal was re-audited and rebased onto exact
release/2026.7.1head0790d9f593ad30c940ed93b5872a8cf6d6f3cf8c.Current owner evidence includes:
src/tasks/task-registry.store.sqlite.tsand task owner APIs;src/tasks/task-flow-registry.store.sqlite.ts;retry:
src/agents/subagent-registry.store.sqlite.tsplus registry APIs;src/infra/outbound/delivery-queue-storage.tsandsrc/infra/outbound/delivery-queue-recovery.ts;state_leasesauthority:src/state/openclaw-state-db.ts;src/infra/session-delivery-queue-storage.tsand recovery APIs;src/infra/restart-handoff.ts,src/infra/restart-sentinel.ts, andsrc/infra/gateway-boot-lifecycle.ts;session, replay, and conversation-binding APIs.
The proposal does not mirror or replace any of those lifecycles.
Residual boundary proposed
The remaining gap is cross-owner consistency after restart, deferred work, or
an ambiguous handoff:
their lifecycle authority?
The candidate residual schema is exactly ten enabled-only tables:
durable_execution_recordsdurable_event_evidencedurable_execution_stepsdurable_payload_refsdurable_run_correlationsdurable_timer_obligationsdurable_signal_evidencewake_obligationsdelivery_attempt_evidenceuncertainty_factsGeneric execution records are allowed only when no task, flow, subagent, or
other lifecycle owner exists. There is no second task/flow/subagent ledger,
result-mailbox table, dedupe ledger, cleanup table, mode table, decision table,
or migration ledger. The existing shared SQLite file and
schema_metaownerremain authoritative.
Compatibility and public boundary
recovery/owner-adapter module graph.
handoff_acceptedmeans only an exact internal owner/queue boundary; it isnot attached-session consumption, user delivery, or external transport
success.
durable.*Gateway inspection andopenclaw durableCLI inspection.replay, or direct owner mutation.
outside the correctness boundary.
Evidence
5b8dfa9aade.0790d9f593ad30c940ed93b5872a8cf6d6f3cf8c.changes.
pnpm docs:map:check- passed.pnpm format:docs:check- passed across 689 docs files.pnpm lint:docs- 0 issues across 689 files.git diff --checkand exact ancestry/diff inspection - passed.Runtime proof is not applicable to this docs-only RFC. Executable storage proof
belongs to #111121 and later runtime proof remains gated by the accepted scope.
Maintainer decision requested
review after this gate.
safely represent.
expressed entirely through existing owner-specific APIs.
Until maintainers decide, these pages remain provisional and unlisted.