Skip to content

fix(release): consolidate applicable backports for 2026.9.36 - #186177

Merged
RomneyDa merged 10 commits into
extended-stable/2026.9.33from
fix/backport-consolidation-2026.9.36
Oct 29, 2026
Merged

RomneyDa merged 10 commits into
extended-stable/2026.9.33from
fix/backport-consolidation-2026.9.36

Conversation

@RomneyDa

@RomneyDa RomneyDa commented Oct 27, 2026 •

Copy link
Copy Markdown
Member

What Problem This Solves

Fixes: September-line update checks can recopy private rehearsal databases, reopen candidate-migrated state, and keep stale restart advice; its release fixtures can lose Doctor diagnostics or race plugin-reload settlement.

User Impact

Prepares the applicable consolidated backports for the upcoming 2026.9.36 patch on extended-stable/2026.9.33, without changing the release version or publishing anything. The original update outcomes and migration rollback restrictions remain authoritative. No public Plugin SDK/config-schema expansion, dependency changes, or operator migration is introduced.

Why This Change Was Made

The requested release/2026.9.33 ref does not exist; extended-stable/2026.9.33 is the existing maintenance branch. This is a bounded audit of #181924/#181927 and the twelve closed old-cut PRs, not a claim of a complete current-main or security release inventory.

Baseline: facd3f9494d64eb3d12be1b7e9399d965c9b6435.

Existing Batch 5 is already covered

Closed #181920 states all 29 commits were cherry-picked into the September line for 2026.9.35. All 29 full source SHAs have unique cherry-pick trailers on the baseline: 28 have identical stable patch IDs; the remaining workflow-contract commit differs only by intentionally omitting its native Swift generated-model hunk. The existing candidate-provenance fix is represented by #181427. Do not replay this batch or restore its earlier workflow defects. The prepared SDK compiler-loader repair is already present in 7e0d495eb3c.

Disposition of all twelve old-cut PRs

Source PR September-line disposition
#170736, #170753 Carry the shared snapshot/config-capture/migration-verification/update-report contracts once, adapted to this line's existing reader architecture.
#166828, #166892 Carry RPC-owned watcher and recovered-runtime config settlement using the existing Chokidar adapter; inbound writer ordering already covered by #171531. Remote executable catalog and deferred startup-maintenance owners are absent here, so do not import their features or barriers.
#166817, #166882 Carry the canonical shell survivor roster once. Retained Fleet cgroup-manager/OCI diagnostic repairs are already present through b899f42513bd / #166977; no Fleet code or host runtime change.
#166855, #166882 Carry bounded/redacted Doctor lint capture, stale-attempt reset, and the existing stderr-preserving onboarding failure handler once.
#166890, #166813 Carry only the font-fixture before/after reset; inbound writer completion is already covered, and October asynchronous model-placement worker routing is not applicable to this line.
#166850 Not affected: asynchronous remote-catalog owner and fixture are absent.
#166825 Not affected by the October-only QA barrel, worker/identity and redaction-prefilter migrations; the older QA owner still exists. Preserve branch-local fixtures and contracts.
#166794 Not affected: production temp-root owner and fixture still use the same @openclaw/fs-safe/temp export, not October's focused resolver.

Peter Steinberger retains source author credit for the update/runtime and font fixture backports; Dallin Romney retains author credit for the survivor/Doctor/lifecycle proposals.

Source fixture proposals #166802/#166823 were not merged on main; these are explicitly requested relevant proposal consolidations, not a claim of canonical-main landing. Their historical full-Docker/original-shard proof holds are not cleared by focused passes.

Scope and simplification

Reuse the existing config capture, read-only snapshot, verification, report, diagnostics and lifecycle-test owners. Remove the survivor helper's obsolete roster down-conversion; keep published-baseline version adaptation. Share the existing Chokidar fixture in test support, without importing October's new observer or adding a runtime seam. Preserve existing assertions and deadlines.

Evidence

  • Harness red-on-baseline: four expected failures (canonical roster, Doctor lint capture, stale-attempt reset, redirected Doctor stderr), 66 passes.

  • Fixed harness: 70/70 passed across survivor-state, diagnostics and onboarding shell suites; 26.44s wrapper / 25.54s Vitest.

  • Complete Gateway lifecycle file: 8/8 passed, including cleanup rejection and timeout recovery (57.92s Vitest; the real Gateway/runtime boundary accounts for the existing suite cost).

  • Font fixture: 23/23 passed (1.47s Vitest); unmodified Google Meet gateway fixture: 12/12 passed (8.64s Vitest), confirming that October-specific fixture adaptation is unnecessary here. Combined three-shard wrapper: 71.81s.

  • Targeted Gateway-server, scripts, and root-script test typechecks passed. Harness/core/root-test/script lint, shell syntax, changed-file formatting and whitespace checks passed.

  • Initial independent P0–P2 review identified a same-version Git-update false reconciliation in the imported report change; the corrected report requires distinct known before/after versions, and a same-version/different-SHA regression fails before that correction and passes afterward.

  • Runtime suite results: 8 advisory + 4 capacity-refusal cases passed; final readonly/report rerun 112 passed / 1 pre-existing skipped, CLI Doctor 20 passed; the shared-state rehearsal case also passed. Runtime owner proofs cover recorded migration handoff, file-only config capture, shared rehearsal snapshot reuse/write refusal, live-WAL snapshot capacity and cleanup, capacity-versus-corruption guidance, and recovery reporting. The initial live-WAL test exposed an October helper-signature mismatch; the September fixture now explicitly creates its writes table and the affected suites pass.

  • QA packaged bootstrap/repair selection: 7 passed, 70 unselected cases skipped (23.56s wrapper). The synthetic packaged CLI binds its configured port during both auth and update commands, proving the placeholder listener is released first.

  • Core production, QA project, infra/state/CLI-update test graphs and targeted runtime/QA lint passed. Final independent P0–P2 review returned scoped-clean after the report correction.

Separate pre-existing Batch 5 concerns remain outside this delta: the artifact collector checks a retained preparation identity before its producer completes, and continuation requires a preparation log identity even when failed preparation produced no candidate. These already exist on the pinned September baseline; this PR neither introduces them nor claims to repair or qualify those recovery paths.

Full Docker survivor/upgrade qualification, Linux/Bun and hosted broad CI are not claimed. Nothing merged, no release tag/version changed, and no package, Docker, native, or ClawHub artifact published.

Final commits: 95e9050cc32e (runtime/update), 0115c2875f5b (survivor/Doctor/lifecycle), 32665a07ef80 (font fixture). Whole change: 30 files, +601/-166 lines.

Narrowed scope and current qualification status — October 29, 2026

The pushed corrective head is 550e329d3a43ec62214da0a5b77a344df0d830b2, based on current release tip e93b50ad2400871616c2e6588d57488dba94ecad. It restores only the original 30-file, +601/−166 change; its patch is byte-identical to the original three-commit submission. All original authorship/history and the superseded aggregate security history are retained; this is content reduction, not rewritten commits. The preceding sections are preserved original-submission context and historical scoped evidence, not a completed review of this head.

Seven primary sources adapted into three original commits

  • Update/runtime — Peter Steinberger, 95e9050cc32e: 0ac773b4382d31ca13c6e15b5a85716d59309a01 and d128f0d5b41f7a0b44bff57712ccc3486286f6b5; 47538facd06171f0a12fadc9cc47e79a391058d3 is the older-line adapter, not an eighth independently counted primary source.
  • Survivor/Doctor/lifecycle — Dallin Romney, 0115c2875f5b: f13af5968f4514a6e828b475dd66a14996574958, cd3346e5a90aec8f3ce72f391087e7c68585fd7b, 6dd10c239edc6c97b50ab9077a4b96d32e69172f, 5f40bd029f23878b17c4762a5553131b9ee4d8d4. These include authored proposals; no unsupported main-landing claim.
  • Font fixture — Peter Steinberger, 32665a07ef80: only the reset from 9ef85029b0d270b57838c84c612ea4f70d145249.

Unrelated A2UI/Discord Zod patches, dependency upgrades, ClawHub/Vercel toolchain work, release-validation plumbing, Mermaid/Vitest changes and other runtime backports are deferred to separately scoped, source-attributed work. None is included or qualified by this narrowed diff.

Local verification of the pushed head: 239 tests / 10 files passed, exact tree/patch equality and signature verified, narrow diff and affected shell syntax checks passed. These are targeted local checks, not complete hosted CI/FRV or cross-platform/native acceptance.

Full canonical review remains outstanding. The aggregate review's capacity refusal is not cleared by this scope correction; historical scoped reviews are not approval of this whole head. No review, merge, FRV, release or publication approval is claimed. No version or dependency changes are introduced by the narrowed diff.

Ledger reconciliation completed October 29, 2026: all seven narrow source assessments remain needed/adaptation_required (not landed); eMudhra and Docker already-present portions are recorded separately, with unresolved qualification caveats preserved. Expanded work is deferred, not qualified by this PR.

steipete and others added 3 commits October 27, 2026 10:43
Adapt #167451 and #170130 to the September shared-state reader architecture.
Reuse isolated rehearsal images, capture authored config without reopening
migrated state, preserve candidate-owned verification, and retain actionable
snapshot-capacity diagnostics. Keep saved outcomes and rollback restrictions.

Require distinct known versions before reconciling runtime recovery advice;
version-only health cannot identify a changed Git commit at the same version.

Adapted from Peter Steinberger authored main commits:
- 0ac773b
- d128f0d
Using older-line adaptation 47538fa from #170736 / #170753.
Keep the shell survivor roster canonical, preserve bounded/redacted Doctor
lint and redirected failure evidence, and reset stale attempt logs. Share the
September Chokidar fixture and await real cleanup recovery config settlement.
Do not import October-only observer/startup-maintenance features.

Adapted from Dallin Romney authored source proposals:
f13af59
cd3346e
6dd10c2
5f40bd0

Consolidates relevant subsets of #166817, #166828, #166855, #166882, #166892.
Backport only the font fixture reset from 9ef8502
as carried by #166813 and #166890. Preserve the September theme inventory.
@clawsweeper

clawsweeper Bot commented Oct 27, 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.

@openclaw-barnacle openclaw-barnacle Bot added docs Improvements or additions to documentation app: web-ui App: web-ui gateway Gateway runtime cli CLI command changes scripts Repository scripts docker Docker and sandbox tooling extensions: qa-lab size: L labels Oct 27, 2026
@clawsweeper clawsweeper Bot added clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-repro Preliminary submission classification; full source review pending. P2 Normal backlog priority with limited blast radius. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. 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 27, 2026
@clawsweeper

clawsweeper Bot commented Oct 27, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge.

What this changes

This PR backports update snapshot, migration-verification, recovery-reporting, and release-fixture repairs to September extended-stable.

Example: A failed update from 2026.9.35 to 2026.9.36 leaves an unsafe Doctor settlement receipt while the target Gateway responds.

  • Before: Matching target health could suppress the saved Doctor recovery instructions.
  • After: The report preserves Doctor recovery guidance and the recorded failed outcome.

Review scores

Measure Result What it means
Overall readiness 🦐 gold shrimp (3/6) The source changes are coherent and the prior finding is resolved; focused harness evidence supports correctness, while the required upgrade flow remains unqualified.
Proof confidence 🦐 gold shrimp (3/6) Real behavior proof is not required for maintainer- or bot-authored pull requests.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Product

Kind: Bug fix · Worth it: Yes · Fix scope: Complete
User problem: September-line update checks can consume unnecessary snapshot space, fail after candidate migration, or display obsolete recovery advice.
Reason: The maintainer-authored direction is established, and the bounded adaptations address concrete update and release-fixture failures without expanding public configuration or APIs.

Merge readiness

✅ Ready for maintainer review

Keep this useful maintainer-authored backport open; the prior Doctor-custody finding is fixed, and source review found no remaining actionable defect.

Priority: P2
Reviewed head: 9593d5be45bf85ff3eee0bd12c552957d88a1a65

Before merge

None.

Findings

None.

Tests

  • Missing end-to-end proof: Supply a September published-driver-to-candidate upgrade showing preserved config/includes and data, candidate-owned verification after migration, and correct recovery guidance, with sensitive values redacted.
Agent review details

How this fits together

The update CLI prepares isolated database checks, captures authored configuration, invokes candidate verification, and projects recorded outcomes into recovery guidance.

flowchart TD
A[Installed updater] --> B[Private rehearsal state]
B --> C[Candidate verification]
A --> D[Authored config capture]
C --> E[Recorded update outcome]
D --> E
E --> F[Recovery report]
G[Current Gateway health] --> F
Loading

Technical review

Best possible solution:

Retain the bounded September adaptations and corrected custody reporting, then qualify the published-driver upgrade through the existing release workflow.

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

The base source demonstrates redundant rehearsal snapshots, state-dependent config capture, and stale recovery reporting; supplied regressions target those paths, but no target code was executed during this read-only review.

Is this the best way to solve the issue?

The backport uses existing readers, capture, verification, reporting, and fixture owners, and the corrective head preserves Doctor custody rather than deriving restart authority from health.

AGENTS.md: found and applied where relevant.

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

Provenance checked

  • Authored config and include capture changes intended behavior with a stated reason (82bd51a: Retain exact Doctor-owned include preimages for rollback while preserving later operator edits and alias changes.)
  • Artifact-preserving shared-state reads keeps the original intent (0ac773b: The main fix recognizes already-isolated rehearsal images while preserving copies for external paths and escaping sidecars; this PR adapts it to the older shared-state reader.)
  • Recovery report restrictions keeps the original intent (a590510: A responding target Gateway cannot authenticate Doctor settlement or clear unsafe process custody.)
  • Published-baseline survivor roster conversion changes intended behavior with a stated reason (9491d5a: The script consolidation retained a legacy agents.list projection for published baselines; the backport removes it from the same-package shell fixture while retaining baseline-aware adaptation elsewhere.)
  • RPC-owned plugin lifecycle fixture keeps the original intent (b48baae: Isolate explicit plugin reloads from independent filesystem echoes without changing production lifecycle admission.)
  • QA child bootstrap port binding keeps the original intent (ff9aa36: Child-owned commands must select the fixture Gateway rather than the ambient Gateway; moving port setup and reservation release before auth bootstrap preserves that intention.)
  • Typeface fixture isolation keeps the original intent (fa19150: Theme-specific typeface presentation introduced shared document-head state; the change resets that state before and after cases without changing shipped fonts.)

Testing

Proof path: in-process harness.

Security

None.

Evidence

What I checked:

  • Prior finding resolved: The current predicate excludes every report containing a Doctor process settlement step, preserving the recovery owner's custody decision. (src/infra/update-run-report.ts:258, 9593d5be45bf)
  • Regression follows the recovery boundary: The added cases compose custody refusal, next-action selection, report adaptation, and rendering for unsettled, foreign, and settled receipts; they also preserve warnings and input immutability. (src/cli/update-cli/update-recovery-guidance.test.ts:86, 9593d5be45bf)
  • Snapshot reuse retains isolation: Reuse requires the complete existing rehearsal environment and physical containment of the database and all SQLite sidecars; the shared-state reader continues to open a read-only connection. (src/infra/update-rehearsal-paths.ts:69, 9593d5be45bf)
  • Config capture preserves file ownership: Capture removes the state snapshot dependency while retaining hash-pinned include reads, file identity checks, path proofs, and the incomplete-capture rollback refusal. (src/cli/update-cli/update-command-config-snapshot.ts:57, 9593d5be45bf)
  • Main contains the companion custody correction: Feature history identifies the merged correction and current main retains its settlement exclusion; the September backport now follows that contract. (src/infra/update-run-report.ts:258, a590510d0415)
  • Qualification limits are explicit: The full PR body reports focused runtime and fixture passes but explicitly does not claim full Docker survivor or upgrade qualification; discussion supplies re-review requests without additional upgrade artifacts. (9593d5be45bf)

Likely related people:

  • Peter Steinberger: Raw commit 14bb3c0 adds src/infra/update-run-report.ts:175 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: 14bb3c088231; files: src/infra/update-run-report.ts)

PR surface

Source +125, Tests +378, Docs +13, Other -7. Total +509 across 31 files. Added test files: 2.

View PR surface stats
Area Files Added Removed Net
Source 11 227 102 +125
Tests 14 427 49 +378
Docs 2 17 4 +13
Config 0 0 0 0
Generated 0 0 0 0
Other 4 5 12 -7
Total 31 676 167 +509

Labels

Label changes:

  • add rating: 🦐 gold shrimp: Overall readiness is 🦐 gold shrimp; proof is 🦐 gold shrimp and patch quality is 🐚 platinum hermit.
  • add status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR.
  • remove rating: 🦪 silver shellfish: Current PR rating is rating: 🦐 gold shrimp, so this older rating label is no longer current.
  • remove status: ⏳ waiting on author: Current PR status label is status: 👀 ready for maintainer look.

Label justifications:

  • P2: The backports improve update reliability and release validation on the maintenance line without evidence of an urgent current outage.
  • rating: 🦐 gold shrimp: Overall readiness is 🦐 gold shrimp; proof is 🦐 gold shrimp and patch quality is 🐚 platinum hermit.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR.

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.

History

Review history (2 earlier review cycles)
  • reviewed 2026-10-27T18:01:16.791Z sha 32665a0 :: needs maintainer review before merge. :: none
  • reviewed 2026-10-29T06:37:02.259Z sha 550e329 :: blocked before merge. :: [P2] Preserve Doctor custody guidance when target health responds

Reviewed October 29, 2026, 3:05 AM ET / 07:05 UTC (Revision 3).

roboclaw-bot and others added 3 commits October 29, 2026 03:01
Preserve the prepared release validation composition; adopt pinned ClawHub materialization and compatibility-tested tool and runtime dependency security repairs. Remaining audit and review limitations are recorded in the external release audit evidence.

Co-authored-by: RomneyDa <[email protected]>
Repair embedded Mermaid/KaTeX assets, migrate the coherent Vitest security cohort, and retain trusted workflow data boundaries.

Co-authored-by: RomneyDa <[email protected]>
Preserve the three original #186177 commits and human authorship as merge ancestry. All 30 original PR files are byte-identical in the security candidate; the merge tree is exactly the qualified b61f899 tree. This commit changes history only and does not imply canonical review, hosted qualification, landing, or release approval.

Co-authored-by: RomneyDa <[email protected]>
@openclaw-barnacle openclaw-barnacle Bot added channel: discord Channel integration: discord channel: matrix Channel integration: matrix channel: msteams Channel integration: msteams channel: slack Channel integration: slack channel: telegram Channel integration: telegram app: android App: android labels Oct 29, 2026
RomneyDa added a commit that referenced this pull request Oct 29, 2026
…7280)

* fix(node): recheck upload cancellation after opening snapshots

Backport the bounded node-worker upload snapshot fix and regression test from
upstream #162567. Recheck cancellation after the awaited staged-file open,
before constructing a ReadStream, and retain awaited handle disposal.

Only src/node-host/node-worker-upload-snapshot.ts and its regression test
are selected from the upstream aggregate; no delegated-completion changes
are included. This fixes the AbortError exposed by #186177 CI in unchanged
extended-stable code.

(cherry picked from commit 4f0541e)
Co-authored-by: RomneyDa <[email protected]>

* fix(node): backport upload cancellation guard to extended stable

OpenClaw-Publication: e79397d1-66dd-4264-970e-19793c20805e

---------

Co-authored-by: Peter Steinberger <[email protected]>
Co-authored-by: RomneyDa <[email protected]>
@RomneyDa

Copy link
Copy Markdown
Member Author

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Oct 29, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
Exact review queued.

Re-review progress:

@clawsweeper clawsweeper Bot added clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-repro Preliminary submission classification; full source review pending. 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. and removed rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-repro Preliminary submission classification; full source review pending. labels Oct 29, 2026
@RomneyDa

Copy link
Copy Markdown
Member Author

@clawsweeper re-review

@openclaw-barnacle openclaw-barnacle Bot removed security Security documentation app: linux labels Oct 29, 2026
@clawsweeper

clawsweeper Bot commented Oct 29, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
Exact review queued.

Re-review progress:

@clawsweeper clawsweeper Bot added clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-repro Preliminary submission classification; full source review pending. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. 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. clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-repro Preliminary submission classification; full source review pending. labels Oct 29, 2026
@RomneyDa
RomneyDa merged commit 92d0ad5 into extended-stable/2026.9.33 Oct 29, 2026
241 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

app: web-ui App: web-ui cli CLI command changes docker Docker and sandbox tooling docs Improvements or additions to documentation extensions: qa-lab gateway Gateway runtime P2 Normal backlog priority with limited blast radius. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. scripts Repository scripts size: L status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants