Skip to content

fix: complete 2026.10.7 stable remediation backports - #181553

Merged
RomneyDa merged 55 commits into
release/2026.10.7from
tideclaw/release-2026.10.7-complete-backports-v5
Oct 23, 2026
Merged

RomneyDa merged 55 commits into
release/2026.10.7from
tideclaw/release-2026.10.7-complete-backports-v5

Conversation

@RomneyDa

Copy link
Copy Markdown
Member

What Problem This Solves

Completes the 2026.10.7 stable remediation set after auditing beta-only P0/P1 and stable-maturity fixes. This adds 20 selected semantic backports on top of #181465, including the explicitly required #181166 and #181307, while adapting each fix to the stable branch architecture.

User Impact

  • verified updates remain successful after later maintenance or ledger-write failures
  • interrupted package publications recover safely instead of leaving ambiguous activation state
  • database, worker, cron, plugin, Windows-path, native-control, backup, and agent-recovery edge cases now match the mature beta behavior selected by the audit
  • release notes now carry a canonical 62-PR contribution record with explicit stable backport provenance

Why

The beta branch contained materially more fixes than stable. A semantic audit found a bounded set that applies safely to 2026.10.7; raw branch-divergence cherry-picking was rejected because stable contains composite fixes and branch-specific architecture.

Evidence

  • exact-head pnpm check --base origin/release/2026.10.7 --timed: passed all ratchets, production/script/test typechecks, lint, formatting, policy guards, and import-cycle checks
  • 245 focused regression tests passed across updater, managed-service recovery, database admission, config recovery, agent tooling, model catalog, Codex lifecycle, and MCP delivery
  • fix: resume safe interrupted package updates #181307 package activation: 12/12 passed on Node 26.12.1; managed-service recovery: 3/3 passed
  • independent post-fix review: no P0/P1 findings
  • canonical release-note verifier: 62 unique PRs, 20/0 GitHub snapshot hits/misses, zero errors
  • pnpm changelog:check and git diff --check: passed

Hosted/platform qualification remains responsible for macOS Swift, Windows-native, and CUA-native execution before publication.

zhangguiping-xydt and others added 28 commits October 23, 2026 08:07
* fix: stop unavailable tool loops during finalization

* fix: recover unfinished tool work after empty length responses

* fix: preserve reply segment evidence through attempt normalization

* test: preserve recovery scenario literal types

* test(agents): share output-limit recovery scenarios

---------

Co-authored-by: Peter Steinberger <[email protected]>
(cherry picked from commit 95af1b8)
Co-authored-by: RomneyDa <[email protected]>
* fix: macOS Talk loses replies from slow agent runs

* fix(macos): recover collected Talk replies through history receipts

* fix(macos): preserve Talk replies on older gateways

* fix(macos): retain Talk replies from older Gateways

---------

Co-authored-by: Peter Steinberger <[email protected]>
(cherry picked from commit 291e690)
Co-authored-by: RomneyDa <[email protected]>
* fix(plugins): speed up external TypeScript plugin capture

* fix(plugins): include capture resolver in trusted wrapper

(cherry picked from commit f022ca5)
Co-authored-by: RomneyDa <[email protected]>
(cherry picked from commit 626eeac)
Co-authored-by: RomneyDa <[email protected]>
…68764)

* fix(agents): treat a Stop-hook bounce as a hard CLI stream segment boundary

A Claude Code Stop-hook rejection replays the refused draft as a top-level
user feedback record (and a stop-hook-keyed notification) between the rejected
message and the rewrite. The parser treated that draft as ordinary pre-tool
text, so when the rewrite routed through a tool the tool-split boundary kept
the draft connected to the correction and both were delivered; with a silent
rewrite the refused draft went out alone. Classify those records and reset the
streamed-text candidate span there so only the rewrite can outrank the result
envelope. Subagent echoes and non-stop-hook notifications are not boundaries.

* fix(agents): narrow stop-hook notification key to string

oxlint no-base-to-string rejects String() on an unknown-typed key;
a typeof check is both lint-clean and a stricter guard.

* fix(agents): consolidate Stop-hook reply boundaries

Keep rejected Claude CLI drafts out of final delivery when a tool precedes
the rewrite. Share the existing interim-result reset and condense the
regression fixtures while preserving ordinary tool-split replies.

Original fix by @ruel225 for #168676. PR CI owns test and typecheck proof;
changed-file lint/format passed and Codex autoreview found no P0-P2 issues.

Co-authored-by: ruel225 <[email protected]>

* fix(agents): preserve replies across replayed Claude user input

Only the observed parent stop-hook-error notification resets a reply
segment. Replayed steering and unmarked user text must preserve earlier
assistant text, even when the text resembles hook feedback.

Co-authored-by: ruel225 <[email protected]>

---------

Co-authored-by: ruel225 <[email protected]>
Co-authored-by: Peter Steinberger <[email protected]>
(cherry picked from commit fa48c5f)
Co-authored-by: RomneyDa <[email protected]>
Closes #158126
Related: #160521

## What Problem This Solves

A retired worker inventory could make an otherwise completed Gateway shutdown fail. A reconciliation waiting on inventory readiness could also reject after shutdown had begun.

## User Impact

Shutdown drains retained worker tunnels and workspace transfers even when the inventory has already retired. Other inventory and teardown failures remain visible. A running Gateway with a retired inventory still requires separate recovery; this change handles the shutdown boundary.

## Why This Change Was Made

The inventory now exposes a typed retirement error. The tunnel shutdown owner handles that error only around its fallback inventory lookup; it still awaits and reports remote cleanup failures. Reconciliation treats retirement as expected only after its existing stop flag is set. No lifecycle state, database schema, memory limit, or configuration is added. Thanks @Captain69G for the shutdown report.

Production LOC: **+26** across five files; nine changed files total. The bug-fix exception covers the typed error and the two narrow shutdown boundaries. The nearby tunnel status/live-owner code was simplified without changing behavior to retain the existing line cap.

## Evidence

- Before the handling fix, the two retirement regressions failed and their ordinary-error counterparts passed (46.51 s command wall time).
- Isolated AWS proof on `cce7888a7c73e3b5aa26f4470ec81649e23d8327` plus this patch: `pnpm test src/gateway/worker-environments/node-worker-tunnel.test.ts --maxWorkers=1` — 26 passed, 35.22 s wall; `pnpm test src/gateway/worker-environments/service-lifetime.test.ts --maxWorkers=1` — 27 passed, 55.39 s wall. These existing files exercise real worker/store lifecycle boundaries; the two new service cases add about 2.6 s of test execution on the proof host.
- The existing readiness-failure fixture was adjusted to inject its error after provisioning starts, preserving its failure assertion and releasing the fixture gate in `finally`.
- Type-aware oxlint: 0 warnings/errors. Export-name collisions, line-cap ratchet, formatting, core typecheck and all core test type graphs passed.
- Knip's production/full-tree scans report the same six pre-existing exports on an untouched checkout of the exact base and on the candidate: two in `src/infra/approval-handler-runtime.ts`, three in `ui/src/features/github-connections/*`, and one in `ui/src/pages/skill-workshop/skill-workshop-page.test-support.ts`. The script scan passed. No changed file adds a finding; no export budget or ignore was changed.
- Codex autoreview: scoped-clean at P0/P1. The integration of current main preserves the reviewed worker-file bytes.

CI found the shared retirement-error module missing from the PR wrapper source inventory. The inventory now includes it; both runtime-closure regressions pass on AWS (2 passed, 11.24 s wall). No worker implementation changed in this follow-up.

After integrating the landed byte-reader repair and resolving the shared tunnel-cleanup/import conflicts, the owner tests pass again (tunnel 32.52 s; service 39.74 s). Type-aware lint, export collisions, and all three Knip scans pass on that integrated source. The refreshed P0/P1 review is clean. No shutdown behavior was relaxed beyond the typed retirement case.

(cherry picked from commit bdcbb2d)
Co-authored-by: RomneyDa <[email protected]>
* fix: restore computer control after native session expiry

* fix(cua): recheck execution authority before renewal and input

* fix(cua): prevent recording cleanup from restoring interrupted authority

* fix(cua): recover expired sessions without retaining disposed runtimes

Keep native renewal within the live execution's authority, retire terminal
runtimes even when cleanup reports a failure, and recheck ownership after SDK
loading. Exercise recovery and genuine refusals through the provider action
boundary and consolidate lifecycle interruption coverage.

Original fix by @stackingrockss; maintainer cleanup preserves the fixed native
authorization ceilings and never replays input. PR CI owns execution proof.

Co-authored-by: stackingrockss <[email protected]>

---------

Co-authored-by: stackingrockss <[email protected]>
Co-authored-by: Peter Steinberger <[email protected]>
(cherry picked from commit da6adcc)
Co-authored-by: RomneyDa <[email protected]>
…taches after connect (#169400)

* fix(gateway): GitHub PR publishing rejects operators whose profile attaches after connect

Connect admission defers the user profile when no roles or access policies
are configured, and the GitHub identity sync attaches it after the hello.
The late attach never prepared operator access, so the connection kept
operatorAccessAuthority undefined. Runs started from it then captured no
gateway access grant, and GitHub publication rejected the requester with
"The original GitHub publication requester is no longer authorized."

Prepare and bind operator access in the profile lifecycle attach when the
connection has none yet.

Closes #169377

* test(gateway): prove deferred-profile publication through the authority chain

Replace the connect-user-profile unit test with a publication-level test that
attaches a deferred profile through the real connect lifecycle, then publishes
through sessions.github.publish against a real worktree. It covers the own
session (published), another person's session (denied before any write), and
a queued request that is kept (published) or revoked after roles are added
(failed with identity_changed and no push or GitHub writes).

Co-authored-by: Gigaxel <[email protected]>

* test(gateway): keep deferred-profile publication coverage current

Use the worker-owned session reader and capture the handshake auth policy
in the deferred-profile publication fixture. Keep own-session publication,
foreign-session denial, and queued-request revocation coverage while
removing redundant internal assertions.

Preserve the contributor's access-owner fix: prepare only missing operator
authority after a verified profile attaches, without replacing an existing
grant or weakening current requester checks before publication effects.

Original fix by @Gigaxel for #169377. PR CI owns runtime proof; local
validation is scoped static lint and formatting under maintainer policy.

---------

Co-authored-by: Gigaxel <[email protected]>
Co-authored-by: Peter Steinberger <[email protected]>
(cherry picked from commit bb0cafd)
Co-authored-by: RomneyDa <[email protected]>
* fix: resume interrupted R2 backup downloads

* fix: type the resumed R2 download response

(cherry picked from commit 197c764)
Co-authored-by: RomneyDa <[email protected]>
…1372)

* fix(state): isolate retained and incompatible secondary agent stores

* fix(state): preserve standalone startup error aggregation

* fix(state): exclude unconfigured fixed-store sibling candidates

* fix(agents): preserve broad deletion-safety candidate scans

(cherry picked from commit cd42a91)
Co-authored-by: RomneyDa <[email protected]>
…text (#172068)

* fix(agents): bound large subagent completion findings

Share a 160,000-character findings target across settled child answers while preserving small results, stable ordering, and per-child history pointers. Keep mandatory child identity and result heads if an extreme roster exceeds the target.

* fix(agents): type findings index and clarify bounded history

* fix(agents): strictly cap completion findings across large cohorts

Reserve result heads and bounded overflow metadata before sharing the remaining batch budget. Keep a stable prefix of child blocks, count the omitted tail, and state the sessions_history text-field limit explicitly.

* fix(agents): type bounded completion tail iteration

* fix(agents): respect available tools in completion overflow guidance

(cherry picked from commit a092be7)
Co-authored-by: RomneyDa <[email protected]>
…d wake (#164511)

A synchronous `exec host=node` command no longer produces a second "Exec finished" wake turn after the exec tool already returned its output. The Gateway node registry holds the `exec.finished` notice on the pending invocation: a delivered result drops it; a timeout, cancellation or disconnect queues it, so a late result still reaches the agent.

Proof: isolated Gateway plus a real `openclaw node run` host in secretless Docker. On main 0a80f9e a synchronous exec makes 3 model requests including the duplicate wake; the candidate makes 2. With the node result held past the invoke deadline, both main and the candidate deliver the late output as a wake turn. Live gate passed with openai/gpt-5-mini.

Thanks @holgergruenhagen.

Co-authored-by: Ayaan Zaidi <[email protected]>
(cherry picked from commit 8a98a26)
(cherry picked from commit c39bc7c)
Co-authored-by: RomneyDa <[email protected]>
Adapted from 3bbc89c for the 2026.10.7 SQLite admission owner.

Co-authored-by: RomneyDa <[email protected]>
…2769)

Adapt the relevant behavior from 3ea4657 and 26e124d to the current 2026.10.7 plugin capture owner.

Co-authored-by: RomneyDa <[email protected]>
…173862)

openclaw update could hang indefinitely in the post-activation Doctor step with the Gateway down: when the fresh Doctor ran without an explicit --timeout, it discarded the step's supplied time allowance (since 52bf22b), so a stalled worker was never stopped. Doctor now honors the supplied allowance; at the deadline the worker tree is killed (exit 124) and the update takes its existing recovery path. Live: main ignored a 1 s allowance until external cancellation at 3.18 s; with the fix the step exits 124 at 1.07 s with worker and child stopped. Production net -2 LOC. The trigger of the reported worker stall after a plugin load error is still being investigated.

Refs #173764

(cherry picked from commit 8713e5e)
(cherry picked from commit 223fd1c)
Co-authored-by: RomneyDa <[email protected]>
* fix(cron): bind a wake into a chat session with the session's stable reply mode

* fix(cron): preserve native chat continuity across announce wakes

Share the session-stable CLI binding policy between cron preparation and
execution while keeping announce targeting on the current turn. Use the
admitted runtime metadata and exercise real CLI preparation/reuse through
the cron policy path. Document persistent versus isolated behavior.

Fixes #176208
Original fix by @eliavb43; maintainer cleanup and continuity regression.
Co-authored-by: eliavb43 <[email protected]>

---------

Co-authored-by: eliavb43 <[email protected]>
Co-authored-by: Peter Steinberger <[email protected]>
(cherry picked from commit 6453bce)
Co-authored-by: RomneyDa <[email protected]>
* fix(codex): previews block replies after context refresh

* fix(codex): preserve persistent policy checks during context refresh

* test(codex): narrow active binding before checking successor

Co-authored-by: RomneyDa <[email protected]>
…181166)

Adapt the verified-target finalization behavior to the 2026.10.7 recovery model while keeping unsafe recovery and authority refusals blocking.\n\nCo-authored-by: RomneyDa <[email protected]>
@clawsweeper

clawsweeper Bot commented Oct 23, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

Pull request received. I will update this pull request when review starts.

ClawSweeper review complete

ClawSweeper finished reviewing this revision. The review result is being finalized.

View the workflow run.

@RomneyDa
RomneyDa marked this pull request as ready for review October 23, 2026 10:01
@clawsweeper clawsweeper Bot added P1 High-priority user-facing bug, regression, or broken workflow. merge-risk: 🚨 compatibility 🚨 May break existing users, config, migrations, defaults, or upgrade paths. merge-risk: 🚨 security-boundary 🚨 May affect sandboxing, authorization, credentials, or sensitive data. rating: 🧂 unranked krab Not merge-ready due to missing proof or serious correctness/safety concerns. status: 📣 needs proof The PR needs real behavior proof before ClawSweeper can clear the contributor ask. and removed clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-repro Preliminary submission classification; full source review pending. labels Oct 23, 2026
@clawsweeper

clawsweeper Bot commented Oct 23, 2026

Copy link
Copy Markdown
Contributor

Codex review: needs real behavior proof before merge.

What this changes

This PR backports selected updater, agent, database, plugin, Gateway, and native-client repairs to the 2026.10.7 stable branch.

Example: An interrupted package publication has installed its verified candidate but its journal remains in publishing.

  • Before: A subsequent update requires explicit repair despite the installed candidate being valid.
  • After: The updater uses the existing settlement owner to verify and retire the interrupted publication before continuing.

Review scores

Measure Result What it means
Overall readiness 🧂 unranked krab (1/6) Useful maintainer-directed backports, blocked by an introduced updater classification defect and incomplete authority and upgrade qualification.
Proof confidence 🧂 unranked krab (1/6) Real behavior proof is necessary before merge. See Before merge.
Patch quality 🦪 silver shellfish (2/6) Security review found an item that needs attention.

Product

Kind: Bug fix · Worth it: Yes · Fix scope: Complete
User problem: Stable users remain exposed to update recovery failures, missing replies, and selected database, plugin, and native-runtime defects already repaired upstream.
Reason: The maintainer-authored PR supplies the direction for a bounded stable remediation set; the concrete updater defect requires correction without reopening that product decision.

Merge readiness

⛔ Blocked before merge - 7 items remain

Keep this maintainer-authored release PR open: the stable backports remain useful, but the updater adaptation incorrectly turns ownership refusals into successful completion.

Priority: P1
Reviewed head: d8deff1e67bd66523f3930ba00e22706bc7ca851

Before merge

  • Add real behavior proof - Authority-chain proof required: demonstrate eligible orphaned-publication settlement, rejection before package or journal changes while another executor owns the recorded database, and refusal after authority is revoked or reassigned before archival. The supplied stable evidence reports regression runs but does not include these controls; upstream proof covers its different candidate. A latest-stable-driver upgrade into this candidate with retained settings, data, and recovery records intact is also unshown. Redact credentials and non-public endpoints from supplied traces. After adding proof, update the PR body, then request a new review with @clawsweeper re-review. The PR author or someone with repository write access can request it.
  • Preserve ownership refusals after verified activation (P1) - After a Git-to-package switch verifies the target Gateway, completePostUpdateMaintenance can call retireStandaloneGitWrapper and receive SystemPackageOwnershipError when the matching old launcher belongs to a system package. That refusal deliberately escapes the wrapper's optional-filesystem-error catch, but this condition accepts every Error and returns the existing successful result. The finalizer then records a maintenance warning and reports success despite the ownership refusal and retained old launcher. Restrict conversion to the recognized maintenance classifications, including their nested causes, as the merged source fix does; ownership refusals and unclassified errors must continue through failure handling.
  • Resolve security concern: Qualify the expanded automatic settlement authority boundary - Settlement retains executor acquisition and current-authority checks in source, so no authorization bypass is established; however, the stable evidence does not exercise the nearest forbidden executor or revocation before journal retirement under the newly automatic admission path.
  • Resolve merge risk - Before merge, the PR owner must establish that newly automatic settlement cannot retire recovery custody belonging to another live updater, including when the caller's default state database differs from the journal's recorded database.
  • Improve patch quality - Add final-effect proof that the stable automatic settlement path excludes a live recorded executor and rejects revoked or reassigned authority before filesystem changes.
  • Add data-model compatibility proof - The review found that existing stored data may not work after upgrade. Show that existing data still loads and works with this change.
  • Explain or restore the original intent of Post-activation failure handling - 89ab73c: Keep verified activation successful only for recognized maintenance errors while preserving authority, unsafe-recovery, and unknown-error failures.

Findings

  • [P1] Preserve ownership refusals after verified activation — src/cli/update-cli/update-command-terminal-publication.ts:229-232
  • [medium] Qualify the expanded automatic settlement authority boundary — src/infra/package-update-activation.ts:350

Provenance

  • Post-activation failure handling changes intended behavior without addressing why it exists (89ab73c: Keep verified activation successful only for recognized maintenance errors while preserving authority, unsafe-recovery, and unknown-error failures.)

Tests

  • Missing end-to-end proof: The supplied stable evidence does not demonstrate live-executor exclusion and revocation at automatic settlement's final filesystem effects, or a base-failing finalization regression for the ownership-refusal case.
Agent review details

How this fits together

The stable release combines CLI update and recovery owners, Gateway authorization and delivery, plugin loading, agent execution, and native clients; it consumes existing installations and requests and produces activated packages, persisted outcomes, replies, and native actions.

flowchart TD
  A[Existing installation and user requests] --> B[Stable CLI and Gateway]
  B --> C[Update and recovery owners]
  B --> D[Agent and plugin runtime]
  B --> E[Native clients]
  C --> F[Packages and persisted outcomes]
  D --> G[Replies and tool effects]
  E --> G
Loading

Technical review

Best possible solution:

Preserve the upstream recognized-error classification in the stable finalizer and qualify recovery through the existing publication and executor owners.

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

The introduced failure is traceable without execution: verified activation followed by SystemPackageOwnershipError from wrapper retirement reaches the broad Error-to-success branch.

Is this the best way to solve the issue?

Semantic backports are appropriate, but the stable adaptation must retain the source fix's restriction to recognized maintenance failures rather than treating every post-activation exception as optional.

Full review comments:

  • [P1] Preserve ownership refusals after verified activation — src/cli/update-cli/update-command-terminal-publication.ts:229-232
    After a Git-to-package switch verifies the target Gateway, completePostUpdateMaintenance can call retireStandaloneGitWrapper and receive SystemPackageOwnershipError when the matching old launcher belongs to a system package. That refusal deliberately escapes the wrapper's optional-filesystem-error catch, but this condition accepts every Error and returns the existing successful result. The finalizer then records a maintenance warning and reports success despite the ownership refusal and retained old launcher. Restrict conversion to the recognized maintenance classifications, including their nested causes, as the merged source fix does; ownership refusals and unclassified errors must continue through failure handling.
    Confidence: 0.98

Overall correctness: patch is incorrect
Overall confidence: 0.94

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning medium; reviewed against e4db384743d1.

Merge-risk options

Maintainer options:

  1. Prove automatic settlement exclusion (recommended)
    The PR owner should exercise the stable preparation and settlement path with an eligible orphaned journal, a still-live executor in the recorded database, and authority revoked before archival, recording final package and journal effects.
  2. Defer automatic settlement
    The release owner can retain explicit repair for these additional publication phases until their authority boundary is qualified.

Provenance checked

  • Interrupted package publication settlement keeps the original intent (0679b18: Reuse the existing repair owner to settle verified installed candidates or untouched preparation without republishing files beneath a running Gateway.)
  • CUA native session renewal keeps the original intent (da6adcc: Recover precise native authorization expiry within the current execution's fixed authority while invalidating stale references and never replaying input.)
  • macOS Talk reply collection keeps the original intent (291e690: Retain replies from slow accepted runs using run completion and history receipts instead of a short event-observation timeout.)

Testing

Proof path: in-process harness.

Security

Needs attention: Automatic publication settlement still needs evidence that live or revoked executor authority prevents custody-changing effects.

Evidence

Security concerns:

  • [medium] Qualify the expanded automatic settlement authority boundary — src/infra/package-update-activation.ts:350
    Settlement retains executor acquisition and current-authority checks in source, so no authorization bypass is established; however, the stable evidence does not exercise the nearest forbidden executor or revocation before journal retirement under the newly automatic admission path.
    Confidence: 0.9

What I checked:

PR surface

PR surface statistics unavailable: the file list is incomplete.

Labels

Label changes:

  • add P1: The stable updater adaptation can report successful completion after a package-ownership refusal, undermining the intended recovery contract.
  • add merge-risk: 🚨 compatibility: The backports change admission and recovery of existing installations and persisted publication journals; published-driver upgrade compatibility is not demonstrated.
  • add merge-risk: 🚨 security-boundary: Automatic settlement expands when retained recovery authority is consumed, requiring exclusion and revocation evidence before custody-changing filesystem effects.
  • add rating: 🧂 unranked krab: Overall readiness is 🧂 unranked krab; proof is 🧂 unranked krab and patch quality is 🦪 silver shellfish.
  • add status: 📣 needs proof: The PR needs real behavior proof before ClawSweeper can clear the contributor ask.

Label justifications:

  • P1: The stable updater adaptation can report successful completion after a package-ownership refusal, undermining the intended recovery contract.
  • merge-risk: 🚨 compatibility: The backports change admission and recovery of existing installations and persisted publication journals; published-driver upgrade compatibility is not demonstrated.
  • merge-risk: 🚨 security-boundary: Automatic settlement expands when retained recovery authority is consumed, requiring exclusion and revocation evidence before custody-changing filesystem effects.
  • rating: 🧂 unranked krab: Overall readiness is 🧂 unranked krab; proof is 🧂 unranked krab and patch quality is 🦪 silver shellfish.
  • status: 📣 needs proof: The PR needs real behavior proof before ClawSweeper can clear the contributor ask.

Rating scale

6/6 🦀 challenger crab · 5/6 🦞 diamond lobster · 4/6 🐚 platinum hermit · 3/6 🦐 gold shrimp · 2/6 🦪 silver shellfish · 1/6 🧂 unranked krab. Overall follows the weaker of proof and patch quality; ✨ marks media proof (a screenshot, video, or linked artifact) that directly shows the changed behavior.

Workflow

ClawSweeper edits this one comment on every review. Comment @clawsweeper re-review for a fresh review only. Repair and merge execution lanes are retired.

Reviewed October 23, 2026, 9:44 AM ET / 13:44 UTC.

@openclaw-barnacle openclaw-barnacle Bot added the commands Command implementations label Oct 23, 2026
@eric-fr4

Copy link
Copy Markdown
Contributor

Field report: the endless candidate-validation stall from #176813 still reproduces on 2026.10.5 → 2026.10.6 when the update is started from chat (update.run, trigger=chat). Setup: Linux, npm-global install, user-systemd Gateway, Node 24.22.1, a 106 MB shared state DB.

The ledger stayed at validating/running with updated_at_ms frozen. The updater wrote about 100 MB/s, roughly 210 GB in 35 minutes, and the handoff log stayed silent. I took a stack with the inspector (SIGUSR1 + CDP) on the driver:

receive → assertDispatchable → assertCurrent → assertInvocation → isCurrent
  → withSynchronousArtifactPreservingStateSnapshot → readCurrentConfig
  → readCurrentConfigForPolicyCheck → readDeferredPluginMigrations
  → withExistingOpenClawStateDatabaseReadOnly → withFreshOpenClawStateDatabaseReadOnly
  → prepareSqliteReadOnlyLocationSync → runSqliteReadOnlyWorkerSync (spawnSync)

That is about one full copy of state/openclaw.sqlite per second into ~/.cache/openclaw/openclaw-sqlite-readonly-v2-*. It is the unbounded progress-retry that #176968 describes. Stopping the scope and rerunning openclaw update --yes from a terminal validated in 513 s, and the update succeeded.

#176968 (1d210bb5) is on main, but it is not in v2026.10.6 (branched Oct 9) or in release/2026.10.7, including this PR. So 10.6 installs, and 10.7 installs later, will hit the same loop on their next chat-started update. Could it be included in 2026.10.7? It does not cherry-pick cleanly: update-run-dispatch.worker.ts and its test don't exist on the release branch, and update-run-mutation.worker.ts and update-command-candidate-validation.ts conflict.

@RomneyDa
RomneyDa merged commit 97d48d4 into release/2026.10.7 Oct 23, 2026
589 of 595 checks passed
@RomneyDa
RomneyDa deleted the tideclaw/release-2026.10.7-complete-backports-v5 branch October 23, 2026 17:47
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: macos App: macos app: web-ui App: web-ui channel: feishu Channel integration: feishu channel: matrix Channel integration: matrix channel: signal Channel integration: signal cli CLI command changes commands Command implementations docs Improvements or additions to documentation extensions: acpx extensions: cloudflare extensions: codex extensions: google extensions: llama-cpp extensions: memory-core Extension: memory-core extensions: memory-wiki extensions: openshell extensions: qa-lab gateway Gateway runtime merge-risk: 🚨 compatibility 🚨 May break existing users, config, migrations, defaults, or upgrade paths. merge-risk: 🚨 security-boundary 🚨 May affect sandboxing, authorization, credentials, or sensitive data. P1 High-priority user-facing bug, regression, or broken workflow. plugin: cua-computer plugin: file-transfer plugin: migrate-claude rating: 🧂 unranked krab Not merge-ready due to missing proof or serious correctness/safety concerns. scripts Repository scripts size: XL status: 📣 needs proof The PR needs real behavior proof before ClawSweeper can clear the contributor ask.

Projects

None yet

Development

Successfully merging this pull request may close these issues.