Skip to content

Durable Core PR 1/6: define the residual-gap RFC - #107375

Closed
mjnkao wants to merge 12 commits into
openclaw:release/2026.7.1from
mjnkao:codex/openclaw-durable-release-head-pr1-rfc-20260714
Closed

mjnkao wants to merge 12 commits into
openclaw:release/2026.7.1from
mjnkao:codex/openclaw-durable-release-head-pr1-rfc-20260714

Conversation

@mjnkao

@mjnkao mjnkao commented Jul 14, 2026 •

Copy link
Copy Markdown

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:

  • 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.
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.1 head
0790d9f593ad30c940ed93b5872a8cf6d6f3cf8c.

Current owner evidence includes:

  • task lifecycle and delivery state:
    src/tasks/task-registry.store.sqlite.ts and task owner APIs;
  • Task Flow lifecycle/revisions/waits:
    src/tasks/task-flow-registry.store.sqlite.ts;
  • subagent lifecycle, result capture, timeout, cleanup, and final-delivery
    retry: src/agents/subagent-registry.store.sqlite.ts plus registry APIs;
  • delivery queue lifecycle and recovery:
    src/infra/outbound/delivery-queue-storage.ts and
    src/infra/outbound/delivery-queue-recovery.ts;
  • shared schema and state_leases authority:
    src/state/openclaw-state-db.ts;
  • persisted session handoff:
    src/infra/session-delivery-queue-storage.ts and recovery APIs;
  • restart/boot evidence:
    src/infra/restart-handoff.ts, src/infra/restart-sentinel.ts, and
    src/infra/gateway-boot-lifecycle.ts;
  • ACP/session/binding owners remain authoritative through their existing
    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:

  1. Which existing owner fact requires attention, and from whom?
  2. What handoff or delivery was attempted, and what was actually proven?
  3. Is replay safe, denied, or uncertain after a possible side effect?
  4. How are related owner records correlated and inspected without taking over
    their lifecycle authority?

The candidate residual schema is exactly ten enabled-only 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

Generic 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_meta owner
remain authoritative.

Compatibility and public boundary

  • Durable runtime is explicit opt-in; worker authority is separately gated.
  • Disabled paths create no DB/schema side effect and do not eagerly load the
    recovery/owner-adapter module graph.
  • Future durable schema versions fail closed before mutation.
  • handoff_accepted means only an exact internal owner/queue boundary; it is
    not attached-session consumption, user delivery, or external transport
    success.
  • The initial additive public vocabulary is durable.* Gateway inspection and
    openclaw durable CLI inspection.
  • The initial stack exposes no public acknowledge, retry, resume, abandon,
    replay, or direct owner mutation.
  • Model strength, profile, skill, prompt wording, and context-window size are
    outside the correctness boundary.

Evidence

  • Exact PR head:
    5b8dfa9aade.
  • Direct parent series begins at exact official base
    0790d9f593ad30c940ed93b5872a8cf6d6f3cf8c.
  • Surface: 4 documentation files, 529 additions, no source/config/schema
    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 --check and 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

  1. Accept the narrow residual boundary and sponsor serial implementation
    review after this gate.
  2. Narrow it further by naming a residual fact that an existing owner can
    safely represent.
  3. Reject a shared residual layer and require each cross-owner gap to be
    expressed entirely through existing owner-specific APIs.

Until maintainers decide, these pages remain provisional and unlisted.

@openclaw-barnacle openclaw-barnacle Bot added docs Improvements or additions to documentation size: XS labels Jul 14, 2026
@mjnkao mjnkao changed the title docs(durable): refresh durable core RFC on release head PR1/5 durable core: RFC and release-head docs Jul 14, 2026
@clawsweeper clawsweeper Bot added 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. P3 Low-priority cleanup, docs, polish, ergonomics, or speculative work. merge-risk: 🚨 other 🚨 Merging this PR has meaningful risk outside the owned taxonomy. labels Jul 14, 2026
@clawsweeper

clawsweeper Bot commented Jul 14, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: blocked before merge. Reviewed August 29, 2026, 10:10 PM ET / August 30, 2026, 02:10 UTC (Revision 40).

ClawSweeper review

What this changes

This 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
Reviewed head: 5b8dfa9aadea357b96627ea119633f94ad75cbb7
Owner decision: Required. See Decision needed.

Review scores

Measure Result What it means
Overall readiness 🦪 silver shellfish (2/6) The proposal is readable, but its public-docs placement and outdated committed map make the submitted patch unsuitable to merge before a maintainer decision.
Proof confidence 🌊 off-meta tidepool Not applicable: Real behavior proof is not required because this PR only changes files under docs/.
Patch quality 🦪 silver shellfish (2/6) 2 actionable review findings remain.

Verification

Check Result Evidence
Real behavior Not applicable Not applicable: Real behavior proof is not required because this PR only changes files under docs/.
Evidence reviewed 7 items Introduced documentation surface: The pinned PR delta adds two RFC pages, glossary entries, and generated-map entries; it contains no runtime implementation.
Unapproved design is published from this tree: The document expressly calls itself an unapproved RFC candidate, while current main's publisher rsyncs the whole docs source tree with only configured internal directories excluded.
Current documentation policy: Current main requires the committed docs map to remain a small source stub; public and packaged heading maps are generated during publishing and packaging.
Findings 2 actionable findings [P1] Keep the unapproved RFC out of published docs
[P2] Remove the expanded source docs map
Security None None.

How this fits together

The pages describe a possible shared recovery layer above existing task, session, delivery, and Gateway state owners. Documentation under docs/ is synchronized into the separate public docs repository when changes reach main.

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]
Loading

Decision needed

Question Recommendation
Should the proposed shared durable-runtime layer be sponsored for public documentation, retained only as the design decision discussion, or rejected in favor of owner-specific improvements? Hold the RFC in the decision issue: Keep the design discussion in #117052 and remove the public-docs delta until a sponsor accepts a bounded direction.

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

  • Keep the unapproved RFC out of published docs (P1) - The page calls the architecture unapproved, but a main push synchronizes docs/** into the public docs repository and excludes only internal directories. Move this proposal to the linked decision discussion until a maintainer sponsors publication; unlisted navigation does not change the publish-tree placement.
  • Remove the expanded source docs map (P2) - Current docs policy keeps only a short source stub in docs/docs_map.md; publishing and packaging generate the full heading map. These introduced route entries restore an expanded committed mirror, so remove them as part of rebasing the proposal onto current docs conventions.
  • Resolve merge risk (P1) - Merging would place an explicitly unapproved core-architecture proposal into the public docs publishing path before a maintainer selects an owner and accepts, narrows, or rejects the shared layer.
  • Complete next step (P2) - A maintainer must decide whether the shared durable-runtime layer should exist and be publicly documented; this is not a bounded mechanical repair.
  • Improve patch quality - Move the unapproved design out of the public documentation delta pending the sponsorship decision.
  • Improve patch quality - Rebase any subsequently sponsored documentation onto current main's source-stub docs-map model.
  • Resolve maintainer decision - Resolve the maintainer decision shown above before merge.

Findings

  • [P1] Keep the unapproved RFC out of published docs — docs/specs/durable-core-proposal-architecture.md:10-17
  • [P2] Remove the expanded source docs map — docs/docs_map.md:8770-8772
Agent review details

Security

None.

PR surface

Docs +529. Total +529 across 4 files.

View PR surface stats
Area Files Added Removed Net
Source 0 0 0 0
Tests 0 0 0 0
Docs 4 529 0 +529
Config 0 0 0 0
Generated 0 0 0 0
Other 0 0 0 0
Total 4 529 0 +529

Review metrics

None.

Merge-risk options

Maintainer options:

  1. Wait for sponsorship before publication (recommended)
    Remove the RFC pages and their map entries from this PR, retaining the proposal in the linked decision discussion until an owner accepts the direction.
  2. Explicitly accept public proposal status
    A designated owner may accept the risk of publishing this provisional architecture, with a current-main rebase that follows the source-stub docs-map policy.

Technical review

Best 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:

  • [P1] Keep the unapproved RFC out of published docs — docs/specs/durable-core-proposal-architecture.md:10-17
    The page calls the architecture unapproved, but a main push synchronizes docs/** into the public docs repository and excludes only internal directories. Move this proposal to the linked decision discussion until a maintainer sponsors publication; unlisted navigation does not change the publish-tree placement.
    Confidence: 0.99
  • [P2] Remove the expanded source docs map — docs/docs_map.md:8770-8772
    Current docs policy keeps only a short source stub in docs/docs_map.md; publishing and packaging generate the full heading map. These introduced route entries restore an expanded committed mirror, so remove them as part of rebasing the proposal onto current docs conventions.
    Confidence: 0.98

Overall correctness: patch is incorrect
Overall confidence: 0.98

AGENTS.md: found and applied where relevant.

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

Labels

Label justifications:

  • P3: The introduced change is a documentation-only architecture proposal and does not alter current runtime behavior.
  • merge-risk: 🚨 other: The docs publishing pipeline would expose an undecided core architecture to public documentation consumers.
  • rating: 🦪 silver shellfish: Overall readiness is 🦪 silver shellfish; proof is 🌊 off-meta tidepool and patch quality is 🦪 silver shellfish.
  • status: ⏳ waiting on author: ClawSweeper has contributor-facing work open and is waiting for author action. Not applicable: Real behavior proof is not required because this PR only changes files under docs/.

Evidence

What I checked:

Likely related people:

  • vincentkoc: Suggested for follow-up; no historical authorship or introduction is verified. (role: unverified routing candidate; confidence: low)
  • sebslight: Suggested for follow-up; no historical authorship or introduction is verified. (role: unverified routing candidate; confidence: low)

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 (39 earlier review cycles; latest 8 shown)
  • reviewed 2026-08-02T09:48:29.256Z sha 5b8dfa9 :: found issues before merge. :: [P1] Keep the unapproved RFC out of the publish tree | [P2] Remove the committed expanded docs map
  • reviewed 2026-08-02T18:51:42.571Z sha 5b8dfa9 :: found issues before merge. :: [P1] Keep the unapproved RFC out of published docs | [P2] Remove the committed expanded docs map
  • reviewed 2026-08-08T20:55:49.135Z sha 5b8dfa9 :: found issues before merge. :: [P1] Keep the unapproved RFC out of published docs | [P2] Remove the committed expanded docs map
  • reviewed 2026-08-08T22:51:39.911Z sha 5b8dfa9 :: found issues before merge. :: [P1] Keep the unapproved RFC out of published docs | [P2] Remove the committed expanded docs map
  • reviewed 2026-08-14T09:02:20.888Z sha 5b8dfa9 :: found issues before merge. :: [P1] Keep the unapproved RFC out of published docs | [P2] Remove the committed expanded docs map
  • reviewed 2026-08-16T04:37:55.602Z sha 5b8dfa9 :: found issues before merge. :: [P1] Keep the unapproved RFC out of published docs | [P2] Remove the committed expanded docs map
  • reviewed 2026-08-18T12:34:03.088Z sha 5b8dfa9 :: found issues before merge. :: [P1] Keep the unapproved RFC out of published docs | [P2] Remove public RFC routes from the generated map
  • reviewed 2026-08-24T01:53:58.981Z sha 5b8dfa9 :: found issues before merge. :: [P1] Keep the unapproved RFC out of published docs | [P2] Remove the proposal routes from the generated map

@clawsweeper clawsweeper Bot added rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. and removed 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 Jul 15, 2026
@mjnkao

mjnkao commented Jul 15, 2026

Copy link
Copy Markdown
Author

Updated PR1 at c54be40f5c3ddb87b5c1ac6bf4622d317a848fbd to address the latest ClawSweeper docs concerns.

What changed:

  • renamed the new public docs routes from retired prerelease slugs to proposal slugs;
  • reframed both pages as residual-gap RFC/proposal docs, not shipped release behavior;
  • aligned docs map/navigation and zh-CN glossary titles;
  • updated the PR body with dated scope/proof and remaining owner-decision risk.

Validation run: pnpm docs:map:check, targeted node scripts/check-docs-mdx.mjs ..., pnpm docs:check-links, git diff --check HEAD~1..HEAD, and a stale-wording grep over the touched durable docs/config.

pnpm docs:check-i18n-glossary still fails on unrelated branch-base glossary omissions outside this PR1 durable-core surface; the durable-core proposal titles are covered.

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Jul 15, 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:

@openclaw-barnacle openclaw-barnacle Bot added triage: low-signal-docs Candidate: docs-only change looks low signal; maintainer review needed. triage: needs-pr-context Candidate: external PR body lacks required problem context or evidence. labels Jul 15, 2026
@mjnkao mjnkao changed the title PR1/5 durable core: RFC and release-head docs PR1/5 durable core: residual-gap RFC docs Jul 15, 2026
@mjnkao

mjnkao commented Jul 15, 2026

Copy link
Copy Markdown
Author

Updated PR1 at exact head f9d3698ed9b614fd9107883d47c4c1dbc80b2b18 to address the latest ClawSweeper finding.

Change:

  • Removed the two unapproved durable-core proposal pages from public Technical Reference navigation in docs/docs.json, so the RFC docs are no longer published as endorsed public reference entries before maintainer sponsorship.

Proof run on exact head f9d3698ed9b614fd9107883d47c4c1dbc80b2b18:

  • pnpm docs:map:check — passed
  • node scripts/check-docs-mdx.mjs docs/specs/durable-core-proposal-architecture.md docs/specs/durable-core-proposal-test-plan.md docs/docs.json — passed
  • git diff --check HEAD — passed

The remaining owner/sponsorship decision is preserved as maintainer review risk rather than public navigation publication.

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Jul 15, 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:

@openclaw-barnacle openclaw-barnacle Bot removed the triage: needs-pr-context Candidate: external PR body lacks required problem context or evidence. label Jul 15, 2026
@mjnkao

mjnkao commented Jul 15, 2026

Copy link
Copy Markdown
Author

Updated PR1 at exact head 080e9a8ee5ebd0d5597bc95a52e03b453ecdbb85 with a small platinum cleanup pass.

Changes:

  • softened the implementation-heavy proof/test-plan wording into candidate compatibility checks and adjacent regression examples;
  • clarified the generated docs map route inventory updates while keeping docs/docs.json free of proposal-page public navigation entries;
  • updated the PR body to remove stale docs/docs.json/public-route framing and state that real behavior proof is not applicable for this docs-only RFC.

Validation on exact head:

  • pnpm docs:map:check — passed
  • node scripts/check-docs-mdx.mjs docs/specs/durable-core-proposal-architecture.md docs/specs/durable-core-proposal-test-plan.md docs/docs.json — passed
  • git diff --check HEAD — passed
  • stale wording grep for public docs routes, new public docs routes, Required proof, Proof Matrix, Required Scenarios, and Real behavior proof under docs — clean

This remains PR1-only; no PR2-PR5 files, runtime code, schema, config, or transport behavior were touched.

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Jul 15, 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:

@mjnkao

mjnkao commented Jul 15, 2026

Copy link
Copy Markdown
Author

Updated PR1 at exact head 080e9a8ee5ec67f734bff2e69d2efb53ba6b83c6; requesting ClawSweeper re-review against the current head.

Previous completed ClawSweeper review marker: c54be40f5c3ddb87b5c1ac6bf4622d317a848fbd (the later f9d3698ed9b614fd9107883d47c4c1dbc80b2b18 request is acknowledged/in progress, so I am not treating it as a completed review).

Concrete PR1-only changes since c54be40f5c3ddb87b5c1ac6bf4622d317a848fbd:

  • docs/docs.json: removed the two durable-core proposal pages from public Technical Reference navigation, addressing the prior concern that the RFC could look like endorsed public reference docs before maintainer sponsorship.
  • docs/specs/durable-core-proposal-test-plan.md: renamed the page to Durable Core Residual-Gap Compatibility Check Plan and softened proof/test-plan wording into candidate compatibility checks for future runtime work.
  • docs/specs/durable-core-proposal-architecture.md: updated the related-doc link text to match the renamed compatibility-check page.
  • docs/docs_map.md: regenerated route inventory/headings for the renamed compatibility-check page while keeping proposal pages out of docs/docs.json navigation.

Scope/evidence at current head:

  • Diff from the previously reviewed head is docs/generated route inventory only: docs/docs.json, docs/docs_map.md, and the two durable-core proposal docs.
  • No runtime code, schema, config, worker, session, gateway, CLI, transport behavior, or PR2-PR5 surface is changed.
  • PR body records exact-head validation for 080e9a8ee5ebd0d5597bc95a52e03b453ecdbb85/current PR1 docs scope, including pnpm docs:map:check, targeted MDX/docs JSON check, and git diff --check HEAD; real behavior proof remains not applicable for this docs-only RFC.

@clawsweeper re-review

@clawsweeper clawsweeper Bot added status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. and removed status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. labels Jul 16, 2026
@mjnkao

mjnkao commented Jul 16, 2026

Copy link
Copy Markdown
Author

Updated PR1 at exact head 2427f807609b9442f6d086b1488ea9a8788897eb to address ClawSweeper’s remaining concrete glossary finding.

Change:

  • Aligned docs/.i18n/glossary.zh-CN.json with the renamed page title: Durable Core Residual-Gap Compatibility Check Plan.

Exact-head validation:

  • pnpm docs:map:check — passed
  • node scripts/check-docs-mdx.mjs docs/specs/durable-core-proposal-architecture.md docs/specs/durable-core-proposal-test-plan.md docs/docs.json — passed
  • git diff --check HEAD — passed

pnpm docs:check-i18n-glossary still reports the same unrelated branch-base glossary omissions outside this PR1 durable-core surface; the durable-core compatibility title called out by ClawSweeper is now covered.

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Jul 16, 2026

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

Command router queued. I will update this comment with the next step.

@mjnkao

mjnkao commented Jul 16, 2026

Copy link
Copy Markdown
Author

Updated PR1 at exact head d0294fa6c3f7e4d46613929fa9f6bbc6aeb516db to address the remaining governance/source-of-truth concern, not just glossary polish.

Changes:

  • Reframed the public durable-core pages as an unapproved RFC candidate, not accepted architecture, not the durable runtime source of truth, and not a maintainer ownership or stack-order decision.
  • Added an explicit ownership/source-of-truth section stating that existing TaskFlow, background-task, session, delivery, Gateway, and SQLite-backed owners remain authoritative unless maintainers adopt a durable-core boundary.
  • Made the compatibility-check plan subordinate to maintainer owner-boundary decisions and clarified that this docs-only PR does not supersede current owners or land runtime behavior.
  • Regenerated docs/docs_map.md.

Validation on exact head:

  • pnpm docs:map:check — passed
  • node scripts/check-docs-mdx.mjs docs/specs/durable-core-proposal-architecture.md docs/specs/durable-core-proposal-test-plan.md docs/docs.json — passed
  • git diff --check HEAD — passed

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

@clawsweeper

clawsweeper Bot commented Jul 16, 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:

@mjnkao
mjnkao force-pushed the codex/openclaw-durable-release-head-pr1-rfc-20260714 branch from 1d80319 to a08b74d Compare August 2, 2026 05:00
@mjnkao
mjnkao requested review from a team and steipete as code owners August 2, 2026 05:00
@github-actions github-actions Bot added the dependencies-changed PR changes dependency-related files label Aug 2, 2026
@openclaw-barnacle openclaw-barnacle Bot added channel: discord Channel integration: discord channel: googlechat Channel integration: googlechat channel: imessage Channel integration: imessage 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: signal Channel integration: signal channel: slack Channel integration: slack channel: telegram Channel integration: telegram channel: tlon Channel integration: tlon channel: whatsapp-web Channel integration: whatsapp-web channel: zalo Channel integration: zalo channel: zalouser Channel integration: zalouser app: android App: android app: ios App: ios labels Aug 2, 2026
@github-actions

github-actions Bot commented Aug 2, 2026 •

Copy link
Copy Markdown
Contributor

Dependency graph guard cleared

This PR no longer has blocked dependency graph changes. A future dependency graph change requires a fresh /allow-dependencies-change comment after the guard blocks that new head SHA.

  • Current SHA: 5b8dfa9aadea357b96627ea119633f94ad75cbb7

@github-actions

github-actions Bot commented Aug 2, 2026 •

Copy link
Copy Markdown
Contributor

Security-sensitive changes are blocked

OpenClaw 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:

  • .gitignore: Controls ignored secret and local files, including common .env files, before they can be accidentally committed.

If this PR intentionally needs these changes, ask a repository admin or member of @openclaw/openclaw-secops to comment:

/allow-security-sensitive-change

The action will approve the current head SHA (5b8dfa9aadea357b96627ea119633f94ad75cbb7) when it reruns. A later push requires a fresh approval.

@mjnkao

mjnkao commented Aug 2, 2026

Copy link
Copy Markdown
Author

@clawsweeper re-review

This PR has been replaced with an independently mergeable runtime fix on main. Exact head a08b74db4c82ae7d2f45794b34b234776d6b69bb passed the complete test, check, lint, format, build, package-lock, and production-audit evidence recorded in the PR body.

@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:

@mjnkao

mjnkao commented Aug 2, 2026

Copy link
Copy Markdown
Author

@clawsweeper re-review

Exact head 28e47599803e9e108e9961960891c3304c6fad75 adds the strict test-indexing correction found by the test-source typecheck. The full 1,056-test focused matrix, core and test-source typechecks, repository check, lint, format, build, lockfile validation, and production audit evidence is consolidated in the PR body.

@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:

@mjnkao

mjnkao commented Aug 2, 2026

Copy link
Copy Markdown
Author

Restored this PR to the previously reviewed OpenClaw 2026.7.1 RFC candidate at 5b8dfa9aadea357b96627ea119633f94ad75cbb7.

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

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: senseaudio extensions: stepfun extensions: synthetic extensions: tavily extensions: tencent extensions: tokenjuice Changes to the bundled tokenjuice extension extensions: webhooks gateway Gateway runtime merge-risk: 🚨 other 🚨 Merging this PR has meaningful risk outside the owned taxonomy. P3 Low-priority cleanup, docs, polish, ergonomics, or speculative work. 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 rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. scripts Repository scripts size: XL status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. triage: low-signal-docs Candidate: docs-only change looks low signal; maintainer review needed.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature]: Preserve cross-owner recovery facts for accepted agent work

2 participants