Repository navigation
Conversation
|
Codex review: needs maintainer review before merge. Reviewed July 9, 2026, 6:29 AM ET / 10:29 UTC. Summary Reproducibility: not applicable. this is a feature PR, not a bug report with a current-main failure to reproduce. The relevant verification is changed-behavior proof and upgrade review for the durable runtime stack. Review metrics: 2 noteworthy metrics.
Stored data model 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: Land only after the PR1/base relationship is resolved and maintainers explicitly accept the opt-in durable schema, env, gateway, and recovery surfaces with fresh upgrade proof. Do we have a high-confidence way to reproduce the issue? Not applicable: this is a feature PR, not a bug report with a current-main failure to reproduce. The relevant verification is changed-behavior proof and upgrade review for the durable runtime stack. Is this the best way to solve the issue? Yes, this appears to be a coherent staged implementation shape for an opt-in core runtime layer, not a duplicate of an existing supported path. It is not merge-ready until maintainers accept the product direction and upgrade/default behavior on the final base. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against 1beea4b87357. Label changesLabel changes:
Label justifications:
Evidence reviewedWhat 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 (5 earlier review cycles)
|
|
ClawSweeper re-review requested after addressing the actionable QR finding. Updates:
Please re-review PR2 #102495 when ready. |
|
@clawsweeper re-review\n\nPR body now includes an explicit authored |
e37c3d5 to
099ffa5
Compare
|
@clawsweeper re-review Addressed the fresh PR2 finding on repaired head e37c3d5:
Proof rerun:
Commit: 6f54292. Remaining broader items are maintainer/product-direction gates already called out by ClawSweeper: draft/base state behind #101828 and durable env/SQLite upgrade-safety review. |
|
🦞🧹 I asked ClawSweeper to review this item again. |
Context capsule
This is PR2/5 in the durable runtime stack. It implements the durable runtime core on top of canonical PR1 #101828, adding persistent runtime state, recovery/orchestration primitives, gateway/operator surfaces, and tests while preserving the PR1 cleanup behavior.
Stack position
codex/openclaw-durable-runtime-core-v2-pr101828-readye37c3d5840(fix(chat): restore pairing QR display block)origin/pr/101828at98ffd6a2fbgold_shrimp_schrimpthreshold.What Problem This Solves
Agent/session work currently has runtime state and lifecycle edges that are difficult to recover, replay, or reason about across process failures. This PR adds the durable runtime core needed to persist task/run state, recover or fan in work safely, expose gateway controls, and keep embedded-agent session effects typed and observable while preserving canonical PR1 cleanup behavior.
Scope
Explicit Non-Scope
Base / diff reconciliation
main.origin/pr/101828(98ffd6a2fb) and retained exactly the PR2 durable-runtime commits plus the QR repair commit.src/gateway/server-methods/agent.tswas resolved by preservingactiveRunAbort.cleanup({ force: true })while adding durable lifecycle close on undispatched failures.git log --oneline --reverse origin/pr/101828..HEADnow shows the PR2 replay plus repair:c851808aa3 feat(durable): add runtime foundationc31b49c366 feat(durable): wire agent session runtime1bb1edf8cc fix(durable): harden runtime store and controls12a58c5ceb fix(durable): align runtime schema guardrails099ffa5dbc fix(durable): type session effects on embedded runse37c3d5840 fix(chat): restore pairing QR display blocksrc/gateway/server-methods/chat.ts: pairing QR channel-data detection, terminal/PNG QR display block rendering, sensitive-media handling, and final/broadcast display inclusion.Reviewer / ClawSweeper requirements addressed
What Problem This Solves: included above.krabfinding: fixed by restoring the transientopenclaw_pairing_qrassistant display block while continuing to avoid transcript persistence of QR setup code.Proof matrix
pnpm exec vitest run src/gateway/server-methods/chat.directive-tags.test.ts --config test/vitest/vitest.gateway-methods.config.ts/tmp/pr2-qr-chat-directive-20260709.logpnpm exec vitest run src/durable src/channels/message/durable-receive.test.ts src/channels/turn/durable-delivery.test.ts src/gateway/server-methods/durable.test.ts --config test/vitest/vitest.unit.config.ts/tmp/pr2-durable-tests-20260709.logpnpm tsgo:core/tmp/pr2-tsgo-core-20260709.loggit log --oneline --reverse origin/pr/101828..HEADgit diff --name-status origin/pr/101828..HEADEvidence
pnpm exec vitest run src/gateway/server-methods/chat.directive-tags.test.ts --config test/vitest/vitest.gateway-methods.config.ts— 1 file / 131 tests; artifact/tmp/pr2-qr-chat-directive-20260709.log.pnpm exec vitest run src/durable src/channels/message/durable-receive.test.ts src/channels/turn/durable-delivery.test.ts src/gateway/server-methods/durable.test.ts --config test/vitest/vitest.unit.config.ts— 15 files / 55 tests; artifact/tmp/pr2-durable-tests-20260709.log.pnpm tsgo:core; artifact/tmp/pr2-tsgo-core-20260709.log.git log --oneline --reverse origin/pr/101828..HEAD: PR2 replay commits plus QR repair on canonical PR1 docs(durable): propose durable core runtime boundary and validation plan #101828.git diff --name-status origin/pr/101828..HEAD: scoped to durable runtime/gateway/session/schema/tests plus restored chat QR display behavior.openclaw eproof from stack state: local-e gateway healthy, durable runtime tables populated, and recent gateway/agent/subagent runs terminal/succeeded.Live /
openclaw eproofStack state records live proof on
openclaw e/local-efor the equivalent durable runtime stack:local-e(OpenClaw Local E Xu Sandbox), gateway observed on port37105./Users/avo/aicos/providers/openclaw/worktrees/openclaw-durable-runtime-recovery-pr4-v2at9b2f268caf, containing the PR2 durable-runtime equivalent noted in stack state.pnpm exec vitest run src/durable/*.test.ts src/gateway/server-methods/durable.test.ts --config test/vitest/vitest.unit.config.ts: passed; 15 files / 55 tests../openclaw.mjs gateway call health --url ws://127.0.0.1:37105 --token '[redacted]' --json: passed; live gateway healthy, Discord Xu connected, defaultAgentIdxu, version2026.6.11 / 9b2f268.Risk / upgrade notes
Next gate
ClawSweeper re-review requested after the QR repair, proof reruns, PR body standardization, and push. PR3 remains gated until PR2 reaches the
gold_shrimp_schrimpthreshold.