Skip to content

docs(durable): rebuild 2026.7.1 beta 3 durable core RFC and proof plan - #104246

Closed
mjnkao wants to merge 3 commits into
openclaw:release/2026.7.1from
mjnkao:codex/openclaw-durable-beta3-newstack-pr1-rfc
Closed

mjnkao wants to merge 3 commits into
openclaw:release/2026.7.1from
mjnkao:codex/openclaw-durable-beta3-newstack-pr1-rfc

Conversation

@mjnkao

@mjnkao mjnkao commented Jul 11, 2026 •

Copy link
Copy Markdown

PR1/5 — docs/RFC/root-cause/boundary anchor

Context capsule

This PR is item 1 of the rebuilt 2026.7.1 beta 3 durable core stack. It asks reviewers to evaluate the docs/RFC/root-cause/boundary anchor slice on its own base while recognizing that later PRs build cumulatively on top.

Durable core stack overview

Durable core is the shared, opt-in runtime substrate that records accepted work identity, ordered steps and events, parent/child links, bounded refs, recovery states, wake/attention obligations, delivery evidence, and read-only inspection for long-running OpenClaw agent/session/task/subagent work. It is needed because 2026.7.1 beta 3 failures are cross-cutting: coordinator silence, restart/interruption loss, stale running work, parent/child handoff gaps, delivery/attention uncertainty, and side-effect uncertainty cannot be solved cleanly by one product surface alone.

The core is intentionally below Task Flow, Workboard, plugins, sessions, and channel UI. Those surfaces may project from durable facts, but they should not own the persistence boundary. This PR is docs/RFC only: it defines the value, root-cause model, and proof boundary before implementation PRs claim runtime behavior.

  • PR1/5 — docs/RFC/root-cause/boundary anchor and proof plan.
  • PR2/5 — runtime foundation/core plus terminal SQLite row immutability guard.
  • PR3/5 — wake targets, durable producers, replay/resume semantics.
  • PR4/5 — controls/inspection plus CLI/Gateway surface.
  • PR5/5 — internal session delivery handoff, final hardening, and cumulative E proof.

Stack position

  • Stack item: PR1/5
  • Current PR summary: Docs-only durable architecture RFC, 2026.7.1 beta 3 root-cause analysis, test plan, docs map/glossary.
  • Does not claim: No runtime behavior; later PRs own implementation.
  • Dependency/base: release/2026.7.1, with 619a8728905f9d751e86b655efaa8c6129c42b52 as the tagged v2026.7.1-beta.3 / 2026.7.1 beta 3 anchor
  • Downstream dependency: PR2 depends on this PR
  • Canonical upstream gate(s): local rebuilt stack; PR docs(durable): rebuild 2026.7.1 beta 3 durable core RFC and proof plan #104246 submitted on release/2026.7.1
  • This PR head: codex/openclaw-durable-beta3-newstack-pr1-rfc at 8681317a9e
  • Intended base: release/2026.7.1 / 2026.7.1 beta 3 anchor 619a8728905f9d751e86b655efaa8c6129c42b52

Dependency / promotion gate

  • Submit/merge gate: PR1 should only be promoted after its base is canonical and threshold-met.
  • Current gate state: waiting for human review and GitHub mutation approval; local ancestry passes.
  • Next dependent PR: PR2 depends on this PR.

What Problem This Solves

OpenClaw 2026.7.1 beta 3 can accept long-running work, delegate it, defer it, or route it through channels without a durable obligation that later code can inspect, recover, acknowledge, or fail closed. This docs-only PR defines the general durable-runtime value and 2026.7.1 beta 3 root-cause model before implementation lands, so reviewers can judge whether later runtime PRs address the actual class of failures instead of one-off channel or UI symptoms.

It narrows review to the intended durable-runtime layer, keeps the cumulative stack ancestry clean, and gives reviewers exact-head evidence instead of relying on stale or downstream proof.

Scope

  • Docs-only durable architecture RFC, test plan, docs map/glossary.
  • Root-cause framing for coordinator silence, restart/interruption loss, stale running work, parent/child handoff gaps, delivery/attention uncertainty, and side-effect uncertainty.
  • Exact-head local status captured in new-pr1-build-status.md.
  • Branch/head/base captured in new-5pr-stack-final-audit.md.

Non-scope

  • No runtime behavior; later PRs own implementation.
  • No code branch mutation is part of this wording/status update.
  • No plugin SDK DTS size fix is included in the durable behavior narrative.

Base / diff hygiene

  • Base comparison: 619a8728905f9d751e86b655efaa8c6129c42b52..8681317a9ec25fd14bf2253eb77c4d8abba3a41a
  • Non-cumulative check: git merge-base --is-ancestor 619a8728905f9d751e86b655efaa8c6129c42b52 codex/openclaw-durable-beta3-newstack-pr1-rfc passed in final audit.
  • Conflict/replay notes: rebuilt locally from frozen OpenClaw E source with intentional scope exclusions documented in status artifacts.

Proof matrix

Gate Command / artifact Result
Unit / focused behavior new-pr1-build-status.md passed locally on exact head where applicable
Typecheck / static new-pr1-build-status.md see artifact; PR2/PR3 include pnpm tsgo:core; docs checks for PR1
Diff hygiene git diff --check 619a8728905f9d751e86b655efaa8c6129c42b52..HEAD and ancestry check passed
Upgrade/schema, if applicable status artifact and generated schema diffs applicable for runtime/schema PRs; docs-only for PR1
Live proof, if applicable status artifact not run in final audit; add before promotion if required

Live proof

  • Environment: local worktree only for this audit.
  • Result: Not applicable: docs-only anchor.
  • Artifact(s): new-pr1-build-status.md, new-5pr-stack-final-audit.md.

ClawSweeper requirements

  • Includes authored What Problem This Solves section: yes.
  • Includes authored Evidence/proof content: yes.
  • Names stored data model / migration impact when schema or persisted state changes: not applicable; docs-only.
  • Names risk labels ClawSweeper should evaluate: compatibility, session-state, message-delivery, durable-runtime, diff-hygiene.
  • Keeps proof artifacts accessible in body or durable stack state.

Risk / upgrade notes

  • Runtime risk: none beyond documentation accuracy.
  • Compatibility/upgrade risk: docs-only.
  • Rollback/feature-flag posture: stack is cumulative; rollback should revert/promote by PR boundary rather than cherry-picking descendants.

Evidence

  • pnpm docs:map:gen/list/check/check-mdx/format/lint/link/i18n checks passed.
  • git diff --check and docs-only name-status passed.
  • Final ancestry audit passed for 619a8728905f9d751e86b655efaa8c6129c42b52 -> codex/openclaw-durable-beta3-newstack-pr1-rfc.

Next gate

Review this PR and status artifacts as the rebuilt canonical PR1 candidate. Old PR #101828 is superseded by this 2026.7.1 beta 3 rebuild; this is a fresh upstream-friendly candidate, not a rating transfer.

Supersedes

This PR supersedes old PR #101828. It is rebuilt on the latest release/2026.7.1 / 2026.7.1 beta 3 foundation (619a8728905f9d751e86b655efaa8c6129c42b52 / release/2026.7.1) to keep the stack as upstream-friendly as possible. Treat this as the current canonical PR1 candidate for the rebuilt durable core stack; any prior ClawSweeper rating or review state on #101828 should not be transferred automatically.

@openclaw-barnacle openclaw-barnacle Bot added the docs Improvements or additions to documentation label Jul 11, 2026
@clawsweeper clawsweeper Bot added rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. 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 11, 2026
@clawsweeper

clawsweeper Bot commented Jul 11, 2026 •

Copy link
Copy Markdown
Contributor

Thanks for the context here. I swept through the related work, and this is now duplicate or superseded.

This docs-only RFC is no longer the viable durable-core proposal: its author explicitly superseded it with the narrower, owner-first residual-gap RFC, which remains open as the single architecture gate. Closing this PR preserves its useful beta-3 analysis as an archive while avoiding two competing public durable-runtime boundaries.

Root-cause cluster
Relationship: superseded
Canonical: #107375
Summary: The author explicitly superseded this older beta-3 RFC with a single open owner-first residual-gap RFC that is intended to be the remaining architecture gate.

Members:

Proposal only: this assessment does not dispatch repair, suppress jobs, mutate sibling items, close, or merge anything.

Canonical path: Use #107375 as the only active durable-core RFC, keep it provisional until an owner confirms the residual owner-first boundary, and retain this PR solely as historical proof context.

So I’m closing this here and keeping the remaining discussion on #107375.

Review details

Best possible solution:

Use #107375 as the only active durable-core RFC, keep it provisional until an owner confirms the residual owner-first boundary, and retain this PR solely as historical proof context.

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

Not applicable: this PR changes documentation only, and its disposition is established by the explicit successor relationship rather than a runtime reproduction path.

Is this the best way to solve the issue?

No. The successor RFC is the better solution because it preserves current Task Flow, task, session, delivery, and lease owners as canonical and asks for the architecture decision before replacement implementation work.

Security review:

Security review cleared: The docs-only diff adds no dependency, workflow, permission, secret, generated-code, or executable supply-chain surface.

AGENTS.md: found and applied where relevant.

What I checked:

  • Explicit supersession: The author’s July 18, 2026 comment says this PR is superseded by the successor RFC, while preserving this branch and review as a beta-3 root-cause/proof archive. (5d9fb965cada)
  • Canonical successor: The open successor defines itself as the sole architecture decision gate, keeps prior beta-3 PRs as proof archives, and narrows the proposal to owner-first residual facts rather than a parallel durable lifecycle. (d0294fa6c3f7)
  • Competing public documentation surface: This PR adds the older RFC and test-plan pages to the public documentation navigation, so leaving it open as a landing candidate would compete with the successor’s stated provisional/unlisted owner-first boundary. Public docs: docs/docs.json. (docs/docs.json:1895, 5d9fb965cada)
  • Historical proposal content: The added architecture page frames a shared durable substrate beneath existing agent, session, task, channel, and operator surfaces; the successor instead preserves existing SQLite-backed owners as canonical and limits any residual cross-owner contract. Public docs: docs/specs/durable-core-beta3-architecture.md. (docs/specs/durable-core-beta3-architecture.md:13, 5d9fb965cada)
  • Repository direction: VISION.md prioritizes stability and keeping core lean, and explicitly rejects heavy orchestration layers that duplicate existing agent and tool infrastructure; the successor’s owner-first rewrite is the better fit for that guardrail. (VISION.md:250, c2431dfcd251)

Likely related people:

  • mjnkao: Authored this PR, the prior durable RFC, and the open successor that explicitly defines the disposition of this archive and the remaining architecture decision. (role: durable RFC-series author and successor proposer; confidence: high; commits: 7444a1ec59cf, 8681317a9ec2, 5d9fb965cada; files: docs/specs/durable-core-beta3-architecture.md, docs/specs/durable-core-beta3-test-plan.md)

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

@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. and removed rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. labels Jul 11, 2026
@mjnkao mjnkao changed the title docs(durable): rebuild beta3 durable core RFC and proof plan docs(durable): rebuild 2026.7.1 beta 3 durable core RFC and proof plan Jul 11, 2026
@openclaw-barnacle openclaw-barnacle Bot added triage: blank-template Candidate: PR template appears mostly untouched. 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. and removed triage: needs-pr-context Candidate: external PR body lacks required problem context or evidence. labels Jul 11, 2026
@mjnkao

mjnkao commented Jul 18, 2026

Copy link
Copy Markdown
Author

Superseded by #107375, which keeps the RFC provisional/unlisted and makes official 7.1 owner-first boundaries explicit. This PR and its platinum review remain the beta3 root-cause/proof archive; no branch or review history is being deleted.

@mjnkao mjnkao closed this Jul 18, 2026
@mjnkao mjnkao reopened this Jul 18, 2026
@clawsweeper clawsweeper Bot added rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. and removed rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. labels Jul 18, 2026
@steipete

Copy link
Copy Markdown
Contributor

Closing per ClawSweeper review verdict duplicate_or_superseded (decision packet 2026-07-18T17:42:45.542Z). This item was part of the audited close backlog (openclaw/clawsweeper#920) stranded by an apply-lane defect, drained manually after re-verification. If this is wrong, reopen and ClawSweeper will re-review.

@steipete steipete closed this Jul 29, 2026
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 merge-risk: 🚨 other 🚨 Merging this PR has meaningful risk outside the owned taxonomy. P3 Low-priority cleanup, docs, polish, ergonomics, or speculative work. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. size: XS status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. triage: blank-template Candidate: PR template appears mostly untouched. 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.

2 participants