Repository navigation
Conversation
|
Codex review: needs maintainer review before merge. Reviewed July 9, 2026, 6:42 AM ET / 10:42 UTC. Summary PR surface: Docs +188. Total +188 across 3 files. Reproducibility: not applicable. this is a docs-only RFC PR, not a runtime bug report. The prior generated-docs issue is source-checkable in the diff and now has a green check-docs run at the current head. Review metrics: none identified. Merge readiness Overall follows the weaker of proof and patch quality, so missing proof can cap an otherwise strong patch. Rank-up moves:
Risk before merge
Maintainer options:
Next step before merge
Maintainer decision needed
Security Review detailsBest possible solution: The durable stack should have one maintainer-accepted canonical RFC, with older overlapping durable-kernel branches reconciled or closed and implementation work gated behind that accepted boundary. Do we have a high-confidence way to reproduce the issue? Not applicable: this is a docs-only RFC PR, not a runtime bug report. The prior generated-docs issue is source-checkable in the diff and now has a green check-docs run at the current head. Is this the best way to solve the issue? Unclear until maintainer direction is set: mechanically this is now a narrow docs/RFC patch, but choosing it as the canonical durable-core boundary is a product architecture decision. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against ff031149f3b1. Label changesLabel changes:
Label justifications:
Evidence reviewedPR surface: Docs +188. Total +188 across 3 files. View PR surface stats
What I checked:
Likely related people:
What the crustacean ranks mean
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. How this review workflow works
Review history (3 earlier review cycles)
|
|
@clawsweeper re-review |
|
🦞🧹 I asked ClawSweeper to review this item again. |
|
@clawsweeper re-review please. I refreshed the generated docs map at d94b141 so docs/docs_map.md no longer lists the missing docs/specs/durable-session-task-runtime-rfc.md page. Proof: |
|
🦞🧹 I asked ClawSweeper to review this item again. |
|
Superseded by the rebuilt PR1 candidate: #104246 This new PR1 is rebuilt on the latest |
Context capsule
This is PR1/5 for the durable runtime stack. It is intentionally docs-only: RFC, root-cause summary, durable-core boundary, validation plan, and stack sequencing before any runtime implementation is reviewed.
Durable core stack overview
Durable core means the shared, opt-in runtime substrate that records run identity, step/event ordering, parent/child links, bounded refs, recovery states, signals/timers, and read-only inspection for long-running OpenClaw agent/session/task/subagent work. It is needed because local incidents and related public PRs show repeated coordinator-silence, stale-running-session, non-durable parent handoff, restart recovery, and bespoke durable-delivery fixes that cannot be solved cleanly by one product surface alone.
The core is intentionally below Task Flow, Workboard, plugins, sessions, and channel UI: those can project from it, but they should not own the persistence boundary. It is not a general-purpose workflow engine and does not persist raw prompts or large private payloads.
The full stack is: PR1 #101828 docs-only RFC/root-cause/canonical boundary; PR2 #102495 durable runtime core with SQLite state, lifecycle primitives, gateway/operator surfaces, QR repair, and tests; PR3 agent/session/subagent restart and upgrade-safety proof; PR4 schema lifecycle/recovery hardening; PR5 opt-in workflow worker loop. Promotion remains sequential: PR3 waits for PR1+PR2 threshold, PR4 waits for PR3, and PR5 waits for PR4.
This PR is PR1/5: it defines the boundary and root-cause plan only. ClawSweeper has already rated it 🦐 gold shrimp; the remaining question is maintainer product-direction/canonical RFC choice.
What Problem This Solves
OpenClaw has several durable-ish records, but no shared runtime identity/lifecycle ledger for agent coordination across process, session, channel, and subagent boundaries. That gap shows up as coordinator silence, stale
runningsession rows after live work disappears, non-durable parent handoffs, missed fan-in after restart, and bespoke channel/plugin durable-delivery repairs.Related public work illustrates the same class of issue: #96853 reconciles stale running sessions; #97715 caps native subagent completion retries after permanently non-durable parent handoff; #90300 routes recovered agent-command replies through durable outbound hooks; and the older #97507/#97508 plus superseded #98717/#98718 durable stack explored overlapping boundaries. This PR makes #101828 the narrower canonical RFC/status source before implementation PRs land.
Scope
docs/specs/durable-session-task-runtime-rfc.md.docs/docs_map.mdmetadata for the spec route.Non-scope
Base / diff hygiene
origin/main...HEAD.docs/specs/durable-session-task-runtime-rfc.mdanddocs/docs_map.md.git diff --check origin/main...HEADpassed.Proof matrix
git diff --name-only origin/main...HEADnode scripts/generate-docs-map.mjs --checkgit diff --check origin/main...HEADClawSweeper requirements
What Problem This Solves: yes.Evidence: yes.Risk / upgrade notes
No runtime or upgrade risk is introduced by this docs-only diff. Merge risk is architectural: accepting this publishes #101828 as the canonical durable-core RFC while older overlapping durable-runtime discussions/PRs should stay superseded or reconciled.
Evidence
git diff --name-only origin/main...HEAD.node scripts/generate-docs-map.mjs --checkpassed after docs map regeneration.git diff --check origin/main...HEADpassed locally.Next gate
Maintainer chooses whether #101828 is canonical. Stack promotion continues only after PR2 also reaches the gold_shrimp_schrimp threshold; PR3 remains gated on PR1+PR2.