Skip to content

chore: prepare extended-stable 2026.7.35 - #153901

Merged
RomneyDa merged 2 commits into
extended-stable/2026.7.33from
release/2026.7.35-doctor-inventory
Sep 20, 2026
Merged

RomneyDa merged 2 commits into
extended-stable/2026.7.33from
release/2026.7.35-doctor-inventory

Conversation

@RomneyDa

@RomneyDa RomneyDa commented Sep 20, 2026 •

Copy link
Copy Markdown
Member

What Problem This Solves

Fixes an issue where a fresh openclaw doctor --fix on 2026.7.34 could persist only a partial bundled-plugin registry. After restart, default plugins including Browser, Canvas, pairing, file transfer, phone control, Talk voice, and Bonjour disappeared even though the Gateway still reported ready.

Related: #136045

Why This Change Was Made

This follow-up extended-stable candidate backports the complete-inventory portion of #136045 without importing its unrelated LINE and Mattermost setup changes. Doctor now persists the complete canonical plugin inventory, and plugin-owned state migrations discover from a complete inventory even when upgrading from the partial registry written by 2026.7.34; canonical external install records remain included.

The candidate aligns core, @openclaw/ai, macOS metadata, 139 plugin packages, and 75 shrinkwrap packages at 2026.7.35.

The incremental audit covered all 1,418 non-equivalent commits after the prior 7.34 audit cursor through pinned main b8603250ba9992406fe39a386655571d253982e0. No other defect observed during the clean install or 2026.6.35 upgrade required a July-line backport. Security advisory reconciliation found 722 published, 20 closed, and zero pending advisories.

Three high-risk later fixes were reviewed but not included: #151121 changes tool-policy compatibility semantics and depends on later migration owners; #150898 is a broad 9.x cross-install service reconciliation stack; #153640 reports plugin load failures but does not fix its linked temporary-directory leak. None reproduced in the 7.34 OCM campaign.

User Impact

Fresh 7.35 installs and 7.34 upgrades retain the complete default plugin set through Doctor and restart. Users whose 7.34 registry was already truncated recover it during the 7.35 Doctor/update flow.

This is a Doctor/config-compatibility backport. It adds no public SDK surface, config key, protocol, or database schema.

Evidence

  • Retained 7.34 OCM reproduction: pristine Gateway loaded nine default plugins; after Doctor repair and restart, only two remained. Reproduced twice while /readyz stayed green.
  • Focused owner suites: 39/39 passed locally and on Testbox-through-Crabbox lease tbx_01m2zz8wjd888e3vfxtsn94crd at exact SHA d490be7d4700b84b88fe22354d366e0e942c9e71 (Actions).
  • Exact-head pnpm build: passed on the same Testbox.
  • Exact-head release:prepare --version 2026.7.35 --check: passed; all 139 plugin versions, 75 shrinkwraps, AI/core versions, plugin inventory, and macOS metadata are aligned.
  • check:changed: every executed guard passed; the final warning-only temp-creation report could not compare origin/main...HEAD because the frozen-branch Testbox checkout is shallow and has no merge base. Focused, build, and release checks above ran directly against the verified exact SHA.
  • Two structured P1 AutoReview passes: clean, no accepted/actionable findings.
  • OCM pristine 7.35: Doctor refreshed the complete 50/67 enabled/inventory index with zero plugin errors; after restart, /readyz was green and all nine default Gateway plugins loaded.
  • OCM corrupted-7.34 recovery: the retained 33-entry partial registry upgraded to 7.35 with a rollback snapshot, rebuilt to 67 entries, and restored all nine default Gateway plugins.
  • OCM 2026.6.35→2026.7.35: migration/finalization completed with a rollback snapshot; config and synthetic workspace state were preserved, /readyz was green, and all nine default Gateway plugins loaded before and after a warm restart. The first cold process launch exceeded OCM's 90-second client wait by about 20 seconds while module/filesystem caches were cold; the Gateway then initialized in 20.5 seconds, and the warm restart completed within 34 seconds with a 5.8-second Gateway initialization.

No tag, npm package, GitHub release, or dist-tag promotion is part of this PR.

Backport the plugin inventory repair from #136045 without the unrelated LINE and Mattermost setup changes.
@clawsweeper

clawsweeper Bot commented Sep 20, 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 September 20, 2026 18:00
@RomneyDa
RomneyDa requested a review from a team as a code owner September 20, 2026 18:00
@openclaw-barnacle openclaw-barnacle Bot added channel: discord Channel integration: discord channel: googlechat Channel integration: googlechat channel: imessage Channel integration: imessage channel: line Channel integration: line channel: matrix Channel integration: matrix channel: mattermost Channel integration: mattermost channel: msteams Channel integration: msteams channel: nextcloud-talk Channel integration: nextcloud-talk channel: nostr Channel integration: nostr channel: signal Channel integration: signal channel: slack Channel integration: slack channel: telegram Channel integration: telegram channel: tlon Channel integration: tlon channel: voice-call Channel integration: voice-call channel: whatsapp-web Channel integration: whatsapp-web channel: zalo Channel integration: zalo channel: zalouser Channel integration: zalouser app: macos App: macos extensions: copilot-proxy Extension: copilot-proxy extensions: diagnostics-otel Extension: diagnostics-otel extensions: llm-task Extension: llm-task extensions: lobster Extension: lobster extensions: memory-core Extension: memory-core extensions: memory-lancedb Extension: memory-lancedb commands Command implementations labels Sep 20, 2026
@clawsweeper

clawsweeper Bot commented Sep 20, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: blocked before merge. Reviewed September 20, 2026, 2:33 PM ET / 18:33 UTC (Revision 3).

ClawSweeper review

What this changes

Preserves Doctor’s complete plugin inventory, restores migration discovery from truncated registries, and prepares release metadata for extended-stable 2026.7.35.

Merge readiness

⛔ Blocked before merge - 1 item remains

No blocking findings. This backport remains necessary for the extended-stable branch; main’s fix does not supersede it. The maintainer’s compatibility confirmation and recorded upgrade results resolve the previous review blockers.

Priority: P1
Reviewed head: d490be7d4700b84b88fe22354d366e0e942c9e71

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) A focused backport with relevant regression coverage, recorded recovery results, and resolved compatibility questions.
Proof confidence 🐚 platinum hermit (4/6) Sufficient (live_output): The recorded OCM runs exercise Doctor inventory repair and update finalization in pristine and upgraded setups: the partial registry grows from 33 to 67 entries, all nine default Gateway plugins return after restart, and configuration/workspace state survives. The maintainer explicitly confirms compatibility; this review did not rerun those scenarios.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Verification

Check Result Evidence
Real behavior Verified Sufficient (live_output): The recorded OCM runs exercise Doctor inventory repair and update finalization in pristine and upgraded setups: the partial registry grows from 33 to 67 entries, all nine default Gateway plugins return after restart, and configuration/workspace state survives. The maintainer explicitly confirms compatibility; this review did not rerun those scenarios.
Evidence reviewed 11 items Pinned introduction and release-branch target: Reviewed the introduced delta from 0847c47 to d490be7. Live GitHub confirms this open PR targets extended-stable/2026.7.33. The verified test merge has the pinned base and head parents, and its tree matches the reviewed head.
Canonical inventory retained: Doctor now persists the complete candidate index instead of applying a second migration-specific filter. Existing install-record merging and the persistence writer remain intact. The canonical record builder still computes enablement from configuration, and the regression test explicitly preserves disabled entries.
Migration discovery bypasses incomplete snapshots: State-migration discovery requests a complete inventory while explicitly retaining canonical external install records. The snapshot and manifest owners honor preferPersisted:false and bypass current cached snapshots. Other Doctor contract consumers retain their existing discovery behavior.
Findings None None.
Security None None.

How this fits together

Doctor builds the plugin inventory from manifests, installation records, and user configuration. That inventory feeds plugin-owned migrations and determines which capabilities the Gateway can discover after restart.

flowchart TD
  A[Plugin manifests and install records] --> C[Canonical inventory builder]
  B[User enable and disable settings] --> C
  C --> D[Doctor registry repair]
  C --> E[Plugin migration discovery]
  D --> F[Persisted complete inventory]
  F --> G[Gateway plugin loading]
  E --> H[Existing state migrations]
Loading

Before merge

  • Review config compatibility - Confirm compatibility and upgrade impact for the changed config or default surface before merge.
Agent review details

Security

None.

PR surface

PR surface statistics unavailable: the file list is incomplete.

Review metrics

Metric Value Why it matters
Public compatibility surface 0 new config keys, defaults, SDK APIs, or database schemas The repair restores inventory completeness while retaining existing activation and storage contracts.
Recorded upgrade coverage 3 scenarios: pristine install, truncated 7.34 recovery, 6.35 upgrade The reported scenarios directly address the previous fresh-install and upgrade compatibility questions.

Stored data model

Persistent data-model change detected: migration/backfill/repair: src/commands/doctor/shared/plugin-registry-migration.ts, migration/backfill/repair: src/plugins/doctor-contract-registry.ts, unknown-data-model-change: src/commands/doctor/shared/plugin-registry-migration.ts, unknown-truncated-pull-files. Migration or upgrade compatibility proof is recorded; maintainers should verify it before merge.

Technical review

Best possible solution:

Retain this bounded extended-stable backport, using the canonical inventory builder and existing Doctor/update recovery path without importing unrelated later changes.

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

No current-main failure was reproduced; the retained 7.34 Doctor/restart observations and removed inventory filter establish the extended-stable defect, which main already addresses.

Is this the best way to solve the issue?

Yes. Removing the duplicate inventory filter and rebuilding migration discovery through existing owners is narrower and more maintainable than adding plugin exceptions or importing the upstream PR’s unrelated channel changes.

AGENTS.md: found and applied where relevant.

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

Labels

Label changes:

  • add P1: Doctor can remove default capabilities from the extended-stable inventory while Gateway readiness remains green.
  • add proof: sufficient: Contributor real behavior proof is sufficient. The recorded OCM runs exercise Doctor inventory repair and update finalization in pristine and upgraded setups: the partial registry grows from 33 to 67 entries, all nine default Gateway plugins return after restart, and configuration/workspace state survives. The maintainer explicitly confirms compatibility; this review did not rerun those scenarios.
  • add rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🐚 platinum hermit and patch quality is 🐚 platinum hermit.
  • add status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR. Sufficient (live_output): The recorded OCM runs exercise Doctor inventory repair and update finalization in pristine and upgraded setups: the partial registry grows from 33 to 67 entries, all nine default Gateway plugins return after restart, and configuration/workspace state survives. The maintainer explicitly confirms compatibility; this review did not rerun those scenarios.

Label justifications:

  • P1: Doctor can remove default capabilities from the extended-stable inventory while Gateway readiness remains green.
  • rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🐚 platinum hermit and patch quality is 🐚 platinum hermit.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR. Sufficient (live_output): The recorded OCM runs exercise Doctor inventory repair and update finalization in pristine and upgraded setups: the partial registry grows from 33 to 67 entries, all nine default Gateway plugins return after restart, and configuration/workspace state survives. The maintainer explicitly confirms compatibility; this review did not rerun those scenarios.
  • proof: sufficient: Contributor real behavior proof is sufficient. The recorded OCM runs exercise Doctor inventory repair and update finalization in pristine and upgraded setups: the partial registry grows from 33 to 67 entries, all nine default Gateway plugins return after restart, and configuration/workspace state survives. The maintainer explicitly confirms compatibility; this review did not rerun those scenarios.

Evidence

What I checked:

  • Pinned introduction and release-branch target: Reviewed the introduced delta from 0847c47 to d490be7. Live GitHub confirms this open PR targets extended-stable/2026.7.33. The verified test merge has the pinned base and head parents, and its tree matches the reviewed head. (d490be7d4700)
  • Canonical inventory retained: Doctor now persists the complete candidate index instead of applying a second migration-specific filter. Existing install-record merging and the persistence writer remain intact. The canonical record builder still computes enablement from configuration, and the regression test explicitly preserves disabled entries. (src/commands/doctor/shared/plugin-registry-migration.ts:150, d490be7d4700)
  • Migration discovery bypasses incomplete snapshots: State-migration discovery requests a complete inventory while explicitly retaining canonical external install records. The snapshot and manifest owners honor preferPersisted:false and bypass current cached snapshots. Other Doctor contract consumers retain their existing discovery behavior. (src/plugins/doctor-contract-registry.ts:385, d490be7d4700)
  • Existing repair and consumption paths: Doctor’s existing-registry branch already refreshes the full inventory. The changed migration initializer now follows that same invariant; state-migration planning consumes plugin declarations through the existing plugin-scoped context. Runtime capability selection still checks enablement. (src/commands/doctor-plugin-registry.ts:636, d490be7d4700)
  • Focused regression coverage: Read both changed test modules. They cover complete inventory persistence, explicit disablement, provider and memory discovery, external install-record preservation, and discovery of a migration omitted from a partial persisted index. Tests were inspected, not executed during this read-only review. (src/plugins/doctor-contract-registry.test.ts:222, d490be7d4700)
  • Prior compatibility blockers resolved: The captured MEMBER comment explicitly confirms unchanged configuration/default policy and successful migration compatibility: chore: prepare extended-stable 2026.7.35 #153901 (comment). The supplied body records pristine 7.35 convergence, recovery from 33 to 67 registry entries, and a 6.35 upgrade preserving configuration and synthetic workspace state, with all nine default Gateway plugins restored after restart. (d490be7d4700)

Likely related people:

  • wangmiao0668000666: Suggested for follow-up; no historical authorship or introduction is verified. (role: unverified routing candidate; confidence: low)
  • steipete: Suggested for follow-up; no historical authorship or introduction is verified. (role: unverified routing candidate; confidence: low)

Rating scale

Score Internal tier Crab rank Meaning
6/6 S 🦀 challenger crab Exceptional readiness
5/6 A 🦞 diamond lobster Very strong readiness
4/6 B 🐚 platinum hermit Good normal PR; ordinary maintainer review
3/6 C 🦐 gold shrimp Useful, but confidence is limited
2/6 D 🦪 silver shellfish Proof or implementation needs work
1/6 F 🧂 unranked krab Not merge-ready
N/A NA 🌊 off-meta tidepool Rating does not apply

Overall follows the weaker of proof and patch quality.
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.

Workflow

  • ClawSweeper keeps one durable marker-backed review comment per issue or PR.
  • Re-runs edit this comment so the latest verdict, findings, and automation markers stay together instead of adding duplicate bot comments.
  • A fresh review can be triggered by eligible @clawsweeper re-review comments, exact-item GitHub events, scheduled/background review runs, or manual workflow dispatch.
  • PR/issue authors and users with repository write access can comment @clawsweeper re-review or @clawsweeper re-run on an open PR or issue to request a fresh review only.
  • Maintainers can also comment @clawsweeper review to request a fresh review only.
  • Fresh-review commands do not start repair, autofix, rebase, CI repair, or automerge.
  • Maintainer-only repair and merge flows require explicit commands such as @clawsweeper autofix, @clawsweeper automerge, @clawsweeper fix ci, or @clawsweeper address review.
  • Maintainers can comment @clawsweeper explain to ask for more context, or @clawsweeper stop to stop active automation.

History

Review history (2 earlier review cycles)
  • reviewed 2026-09-20T18:08:59.381Z sha d490be7 :: blocked before merge. :: none
  • reviewed 2026-09-20T18:24:53.072Z sha d490be7 :: blocked before merge. :: none

@RomneyDa

Copy link
Copy Markdown
Member Author

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Sep 20, 2026 •

Copy link
Copy Markdown
Contributor

🦞🧹
ClawSweeper re-review requested.

I asked ClawSweeper to review this item again.
Action: item re-review queued (workflow sweep.yml, event exact_review_queue).
Result: when the review finishes, ClawSweeper will create the durable review comment if needed or update the existing comment in place.

Re-review progress:

@RomneyDa

Copy link
Copy Markdown
Member Author

Maintainer compatibility resolution for the two remaining review boxes:

  • Config/default compatibility is confirmed. This candidate adds no config key or default; explicit plugin enable/disable decisions remain owned by the canonical inventory builder. The 6.35→7.35 OCM cell preserved gateway.mode, gateway.auth.mode, the configured workspace, and synthetic workspace state, then loaded the complete 67-entry inventory and all nine default Gateway plugins.
  • Data/migration compatibility is confirmed. There is no database schema change. The retained 7.34 environment with the known 33-entry truncated registry upgraded through the shipped update/finalization path to the complete 67-entry registry, retained an OCM rollback snapshot, restarted ready, and restored all nine default Gateway plugins. The pristine 7.35 Doctor/restart cell also converged with zero plugin errors.

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Sep 20, 2026 •

Copy link
Copy Markdown
Contributor

🦞🧹
ClawSweeper re-review requested.

I asked ClawSweeper to review this item again.
Action: item re-review queued (workflow sweep.yml, event exact_review_queue).
Result: when the review finishes, ClawSweeper will create the durable review comment if needed or update the existing comment in place.

Re-review progress:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

app: macos App: macos channel: discord Channel integration: discord channel: feishu Channel integration: feishu channel: googlechat Channel integration: googlechat channel: imessage Channel integration: imessage channel: irc channel: line Channel integration: line channel: matrix Channel integration: matrix channel: mattermost Channel integration: mattermost channel: msteams Channel integration: msteams channel: nextcloud-talk Channel integration: nextcloud-talk channel: nostr Channel integration: nostr channel: qa-channel Channel integration: qa-channel channel: raft Channel integration: Raft channel: signal Channel integration: signal channel: slack Channel integration: slack channel: sms Channel integration: sms channel: synology-chat channel: telegram Channel integration: telegram channel: tlon Channel integration: tlon channel: twitch Channel integration: twitch channel: voice-call Channel integration: voice-call channel: whatsapp-web Channel integration: whatsapp-web channel: zalo Channel integration: zalo channel: zalouser Channel integration: zalouser commands Command implementations extensions: acpx extensions: admin-http-rpc extensions: anthropic extensions: arcee extensions: byteplus extensions: cerebras extensions: clawrouter Extension: clawrouter extensions: clickclack extensions: cloudflare-ai-gateway extensions: codex extensions: cohere extensions: comfy extensions: copilot extensions: copilot-proxy Extension: copilot-proxy extensions: deepgram extensions: deepinfra extensions: deepseek extensions: diagnostics-otel Extension: diagnostics-otel extensions: diagnostics-prometheus extensions: document-extract extensions: duckduckgo extensions: featherless extensions: gmi extensions: huggingface extensions: image-generation-core extensions: inworld Extension: inworld extensions: kilocode extensions: kimi-coding extensions: litellm extensions: llama-cpp extensions: llm-task Extension: llm-task extensions: lmstudio extensions: lobster Extension: lobster extensions: longcat LongCat provider plugin extensions: memory-core Extension: memory-core extensions: memory-lancedb Extension: memory-lancedb extensions: memory-wiki extensions: meta Extension: meta extensions: minimax extensions: moonshot extensions: novita extensions: nvidia extensions: oc-path extensions: openai extensions: policy extensions: qa-lab extensions: qianfan extensions: qwen extensions: runway extensions: searxng extensions: senseaudio extensions: stepfun extensions: synthetic extensions: tavily extensions: tencent extensions: together extensions: tokenjuice Changes to the bundled tokenjuice extension extensions: tts-local-cli extensions: venice extensions: vercel-ai-gateway extensions: volcengine extensions: voyage extensions: vydra extensions: web-readability extensions: webhooks plugin: azure-speech Azure Speech plugin plugin: bonjour Plugin integration: bonjour plugin: file-transfer plugin: google-meet plugin: logbook Logbook automatic work journal plugin plugin: migrate-claude plugin: migrate-hermes plugin: pixverse plugin: workboard

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant