Skip to content

fix(update): preserve config when plugin load paths are unavailable - #150312

Merged
steipete merged 11 commits into
mainfrom
upd/discovery-missing-load-path
Sep 16, 2026
Merged

steipete merged 11 commits into
mainfrom
upd/discovery-missing-load-path

Conversation

@steipete

@steipete steipete commented Sep 16, 2026 •

Copy link
Copy Markdown
Contributor

Related: #150016, #149960

What Problem This Solves

A missing configured plugin load path could reject an otherwise usable update candidate. The initial repair also mislabeled permission and filesystem inspection failures as missing paths, discarding the underlying error.

User Impact

Updates continue with an actionable warning and preserve uninspected plugin configuration. Missing paths and failed inspections now have distinct closed reasons, so operators can identify and repair the real failure.

Reason Classification and recovery
configured-plugin-path-unavailable ENOENT, ENOTDIR, or the existing not-found equivalent. Restore or correct the path, then run openclaw doctor --fix.
configured-plugin-path-inspection-failed Other failures, including EACCES, EPERM, EIO, ELOOP, unsupported filesystem entries, and errors without an errno. Retain errorCode and the error message; permission failures say to fix permissions on the affected path, then run openclaw doctor --fix.

Both reasons preserve configuration and remain warnings. No new config or CLI options, dependencies, SQLite schema/version changes, suppressions, or baseline increases.

Why This Change Was Made

Discovery owns classification and records configDisposition: "preserve". The stat cache retains original failures, and configured directories are inspected before bundled provenance can replace their configured origin. The existing plugin-index codec, config warnings, Doctor JSON, update readiness, and update report retain the diagnostic reason and inspection details.

Mutation owner Preservation decision
Cleanup, including stale plugin/channel/model references and bundled aliases Consults discovery's recorded disposition; source-matched aliases retain the same protection.
Plugin Doctor, setup, and channel migration/repair Consults the cached disposition before dispatching repairs or bundled fallbacks.
Plugin/channel schema validation and invalid-config quarantine Consults the disposition, preserving overrides whose owner could not be inspected.
Auto-enable and allowlist materialization Consults the disposition and returns unchanged configuration.

None of these consumers distinguishes the two reasons or reclassifies filesystem errors. Both mean the configuration was not inspected and must remain intact.

The original rejection was at discovery.ts:1171; a severity-only change exposed deletion at stale-plugin-config.ts:410. The accepted P1 follow-up fixes the unconditional availability classification at discovery.ts:1097.

Application/runtime source (src/**, excluding tests) is +528/−255 (net +273); harness/catalog +271/−21 (net +250); tests/support +821/−98 (net +723); docs +25/−7 (net +18). The inspection follow-up adds +116/−19 production (net +97) and 207 test lines. Growth carries typed diagnostics and preservation across the existing owners; the follow-up adds retained errno facts and their projections, without adding reason-specific mutation guards. Existing over-cap files did not grow.

Evidence

  • Shared harness-path follow-up (eab544677ce):

    • Root cause: all six installed-version cases seeded artifacts/npm-prefix, while the base scenario installed under runtime/npm-prefix. Baseline setup therefore failed with ENOENT before the update fault was exercised. The original test failed locally 6/6, matching the reported CI job.
    • One owner: scripts/e2e/lib/upgrade-survivor/paths.sh now resolves the baseline package/bin paths and artifact/log paths once for the harness. Baseline fixtures execute that same resolver through a test adapter and consume its facts; the installed-version, manager/cleanup, and missing-load-path fixtures no longer recompute the layout.
    • Preserved assertions: all six original exit-code, observed-version, phase, outcome, and diagnostic checks remain; only fixture setup and shared path reads changed. Standalone helpers with deliberately injected prefixes retain their independent contracts.
    • Delta since eab544677ceb38f9030215b83b3fe4a997ac3ac8: seven files, +133/−54 (net +79): harness +23/−16, tests/support +110/−38. Application production and docs are unchanged; no new autoreview was run under the requested scope.
    • Validation: Ran all 27 test/scripts/upgrade-survivor*.test.ts files plus docker-build-helper.test.ts. The broad run passed 27 files and exposed five existing PR-owned setup failures in upgrade-survivor-baseline-order.test.ts: its sliced shell omitted the missing-path helper, and its manual base case skipped the seed phase required by session-source capture. That fixture now sources the real helper, executes the seed phase with the expected plugin containers, and consumes the shared paths; every registry-order and migration-row assertion remains intact. The corrected file passes 9/9, giving 970 passing tests across 28 files, with two Linux-only local skips, across the broad run and focused rerun. Linux Testbox proof passed all 10 selected cases: the six installed-version cases plus both manager and cleanup variants. The one-shot Testbox reported exitCode=0 and stopped; its temporary sync checkout was removed. Its verified tree a19e2f36c3ad6163ce088aa096423c87963fbf09 matches this revision except for the later baseline-order test-only correction, verified separately above.
    • Changed checks: node scripts/check-changed.mjs -- <all seven changed files> passed, including root-test typechecking, script/test lint, Docker boundary/catalog checks, dependency guards, line-cap ratchet, and three unused-export scans with 0 entries. No extension-lint substitution was needed for this test/tooling-only change. bash -n and git diff --check also passed.
  • Rebased-head CI follow-up (4f34d44ceb4):

    • Scenario registration: missing-load-path.mjs was only reached through a shell variable, leaving it invisible to the unused-file graph. The named missing-load-path scenario now uses the existing assertion dispatcher with a literal import. It retains the existing base/manual row, native installation storage, and preserved-source checks. It is opt-in so aggregate coverage does not duplicate the base row. No Knip entry exceptions, ignores, or allowlists were added.
    • Startup repair disposition — availability: the old “unresolved plugin validation failure” fixture only configured a missing path at automatic-startup-config-repair.test.ts:433. Under the ruling in fix: keep unavailable configured plugins from rolling back updates #150016/fix(update): preserve config when plugin load paths are unavailable #150312, core alias repair succeeds while the plugin config remains intact. The replacement real-file test verifies that result, untouched authored bytes during planning, and the typed warning. It exposed a real propagation gap: the planner discarded warnings from successful validation. The owner now includes them on its returned snapshot without changing its refusal predicate.
    • Startup admission disposition — availability: the old “invalid plugin” fixture only configured a missing directory at doctor-config-preflight.admission.process.test.ts:207. It now requires exit 0, preserved plugin settings, a byte-identical backup of the authored config, the expected schema migration, and configured-plugin-path-unavailable in the resulting snapshot. Every other pre-existing file outside the intentionally migrated config/SQLite surfaces must retain its hash.
    • Validity controls remain refusals: both test owners now also supply a malformed plugin entry (enabled: "not-a-boolean"). Planning must return null; process admission must exit 78 with the whole state manifest and schema unchanged. Each availability case includes the requested ruling/reference comment.
    • Delta from 4f34d44ceb4: 11 files, +174/−14. Runtime owner: +4/−1; harness/catalog: +16/−7; tests: +154/−6.
    • Proof: two named-scenario planning/dispatch tests and four availability/validity cases pass. The 30 remaining command cases passed in the initial full-file run. pnpm deadcode:dependencies, pnpm deadcode:unused-files, and pnpm deadcode:exports all passed; production and full-tree unused-file scans both report 0 entries. The native changed-check plan passed, including core/core-test/tooling typechecks, lint, and 0 runtime import cycles. Fresh Codex autoreview (--mode branch --base origin/main --max-priority P1) is scoped-clean on eab544677ceb38f9030215b83b3fe4a997ac3ac8; it was rerun because the startup warning projection changed production code.
  • CI follow-up on feea64fffab:

    • check-docs failed in pnpm format:check, before any docs checks. Oxfmt wanted two expressions at src/scripts/ci-changed-scope.test.ts:872 and :877 on single lines. CI checked out merge 4f83aa8308920f61d80c6358f930cbd03c640aed against base 20230c35f018997ae72b562327dd370f44d43ffc (fix(plugins): keep unpublished packages bundled until release #150316); the bad formatting is already present in that base. This branch's file formats cleanly. No docs or foreign-owner code was changed for that inherited failure.
    • checks-node-compact-small-32 failed two cases in test/scripts/docker-build-helper.test.ts: “starts the published auth probe under the manager that owns its restart and stop” expected service status 3 but got null at line 3901; “collects before cleanup without masking failure or breaking success in scripts/e2e/lib/upgrade-survivor/run.sh” could not read artifacts/update.err at line 5194. Both tests still assumed the artifact-mounted npm prefix after this PR moved the base installation to native runtime storage. That round located the service shim under the runtime prefix and wrote diagnostic logs to the artifact owner directly. The shared harness-path follow-up above replaces those individual path selections with the harness-owned resolver; all behavioral assertions remain intact.
    • Since feea64fffab: one test file, +4/−7; production and docs unchanged. The cleanup cases pass locally. Linux Testbox proof passed all 4 selected cases, including both manager probes, with exitCode=0; the verified tree 93aef9acf026b5c4df3cdf697096acc5d9676ce8 matches the new commit. The one-shot Testbox lease stopped successfully.
    • node scripts/check-changed.mjs -- test/scripts/docker-build-helper.test.ts passed. Every docs-job command passed locally: pnpm format:check, pnpm config:docs:check, pnpm plugins:inventory:check, and pnpm check:docs with the ClawHub docs source. Results include 0 broken links and 1,242 validated config fences. The formatting issue inherited from CI's base is reported separately rather than changing an unrelated owner.
  • 62 focused tests passed: real chmod-000 directory and ancestor cases; errno classification; real cached symlink-loop failure; SQLite close/reopen; unchanged missing-path preservation; plugin cache and migration controls; update readiness.

  • The real permissions regression failed before the fix because the error was discarded:

    - "code": "configured-plugin-path-inspection-failed"
    + "code": "configured-plugin-path-unavailable"
    - "errorCode": "EACCES"
    - "message": StringContaining "EACCES: permission denied"
    + "message": "Configured plugin load path is unavailable: ..."

    It now verifies byte-identical authored config, the original error in Doctor lint, and the same specific warning/recovery in the update readiness report. Windows skips the chmod cases.

  • The classification cases deliberately use misleading ENOENT message text with other errno values, proving classification depends on the code. An error with no code remains inspection-failed with errorCode: "UNKNOWN".

  • The full changed-check plan passed after correcting the new test's strict presence assertion and the mapped-object lint issue. The only substitution is the approved nested-checkout extension lint command; no other gate is skipped. The existing canary proof for that unchanged lint command is:

    extensions/memory-core/src/doctor-health.ts:172:1: error eslint(no-var): Unexpected var, use let or const instead.
    restored doctor-health.ts: exit 0, no diagnostics
    full extensions scan: exit 0; two existing max-lines warnings in unchanged files
    

    Command: node_modules/.bin/oxlint --tsconfig test/tsconfig/tsconfig.extensions.test.json extensions. CI's extension-lint job remains authoritative.

  • Fresh Codex autoreview (--mode branch --base origin/main --max-priority P1) is scoped-clean on feea64fffab88cb2fd8ca37a19a851cd614c38de. pnpm docs:list passed. pnpm build passed on that head in 5m 38.7s, with zero INEFFECTIVE_DYNAMIC_IMPORT warnings. Import-cycle check: 0 runtime value cycles; all 154 public SDK subpaths verified.

  • Earlier published 2026.9.3 → candidate Docker missing-path row passed using production artifact 17f995789fa8cd5142c786be84ebbaf0f9fbf514, before this inspection follow-up. Update returned ok in 204,741 ms, emitted configured-plugin-path-unavailable, preserved plugin-entry/load-path bytes through update and Doctor, and finished with readyz.ready=true and rpc.ok=true (23-second Gateway startup). The fixture also verified retained legacy-source hashes and canonical SQLite rows/transcripts. This follow-up uses the focused boundary proof and required build above; it does not claim a new Docker row.

  • The Docker fixture uses container-native installation storage after the published driver hit its unchanged 30,004 ms verification timeout on a macOS bind mount. Its source-retention check follows the migration owner's verified-import contract; other scenarios still require source removal. Task containers, images, runtime installs, and tarball were cleaned up after that row.

Current head: e827b7b1b07a48c46279a0ff625277de83e8f77b. The shared harness-path follow-up changes test infrastructure only and retains the previously reviewed plugin availability behavior.

@clawsweeper

clawsweeper Bot commented Sep 16, 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.

@steipete
steipete marked this pull request as ready for review September 16, 2026 21:17
@openclaw-barnacle openclaw-barnacle Bot added docs Improvements or additions to documentation cli CLI command changes scripts Repository scripts commands Command implementations size: XL maintainer Maintainer-authored PR labels Sep 16, 2026
@clawsweeper clawsweeper Bot added P2 Normal backlog priority with limited blast radius. proof: sufficient ClawSweeper judged the real behavior proof convincing. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. labels Sep 16, 2026
@clawsweeper

clawsweeper Bot commented Sep 16, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: blocked before merge. Reviewed September 16, 2026, 7:35 PM ET / 23:35 UTC (Revision 6).

ClawSweeper review

What this changes

The branch preserves settings for unavailable plugin load paths, carries actionable warnings through Doctor and updates, and adds upgrade coverage with shared harness paths.

Merge readiness

⛔ Blocked before merge - 2 items remain

This remains a useful, distinct fix for the discovery gap left by the earlier merged work. No actionable introduced defect was found, and the supplied upgrade evidence addresses the previous compatibility concern.

Priority: P2
Reviewed head: e827b7b1b07a48c46279a0ff625277de83e8f77b

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) A coherent preservation fix with strong upgrade evidence and no supported blocking finding.
Proof confidence 🦞 diamond lobster (5/6) Sufficient (live_output): The matching captured body records the real published-updater missing-path scenario reaching successful update and Gateway readiness with configuration bytes preserved; subsequent inspection-error and startup changes have focused boundary coverage, and the latest commit changes only harness infrastructure.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Verification

Check Result Evidence
Real behavior Verified Sufficient (live_output): The matching captured body records the real published-updater missing-path scenario reaching successful update and Gateway readiness with configuration bytes preserved; subsequent inspection-error and startup changes have focused boundary coverage, and the latest commit changes only harness infrastructure.
Evidence reviewed 8 items Current main still has the reported gap: Fetched main still emits an error when a configured plugin path is missing. The merged predecessor explicitly deferred this discovery and preservation work.
Latest release retains missing-path rejection: The v2026.9.4 discovery source retains the missing-path error. This review does not identify a released implementation of the branch's coordinated preservation behavior.
Discovery owns classification and preservation: Missing paths and other inspection failures receive distinct diagnostics with a shared preserve disposition. Consumers retain that fact rather than deriving preservation from warning severity.
Findings None None.
Security None None.

How this fits together

Plugin discovery translates configured filesystem paths into plugin metadata used by validation, Doctor repairs, and Gateway startup. The updater consumes Doctor findings to decide whether a candidate can continue and which warnings to report.

flowchart TD
  A[Configured plugin paths] --> B[Plugin discovery]
  B --> C{Path inspectable?}
  C -->|Yes| D[Plugin metadata]
  C -->|No| E[Warning and preserve settings]
  D --> F[Validation and Doctor]
  E --> F
  F --> G[Update readiness and report]
Loading

Before merge

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

Security

None.

PR surface

Source +273, Tests +723, Docs +18, Other +250. Total +1264 across 54 files.

View PR surface stats
Area Files Added Removed Net
Source 27 528 255 +273
Tests 17 821 98 +723
Docs 2 25 7 +18
Config 0 0 0 0
Generated 0 0 0 0
Other 8 271 21 +250
Total 54 1645 381 +1264

Review metrics

Metric Value Why it matters
Production versus regression coverage Runtime net +273 lines; harness net +250; tests/support net +723 Production growth carries typed preservation facts across existing owners; regression coverage exercises configuration survival, warning transport, and upgrade fixtures.

Stored data model

Persistent data-model change detected: migration/backfill/repair: scripts/e2e/lib/upgrade-survivor/assertions.mjs, migration/backfill/repair: scripts/e2e/lib/upgrade-survivor/missing-load-path.mjs, migration/backfill/repair: scripts/e2e/lib/upgrade-survivor/missing-load-path.sh, migration/backfill/repair: scripts/e2e/lib/upgrade-survivor/paths.sh, migration/backfill/repair: scripts/e2e/lib/upgrade-survivor/run.sh, migration/backfill/repair: scripts/e2e/lib/upgrade-survivor/session-source-fixture.mjs, and 18 more. Confirm migration or upgrade compatibility proof before merge.

Technical review

Best possible solution:

Keep discovery-owned preservation facts intact through repair and reporting so unavailable optional plugins do not invalidate otherwise usable updates.

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

Yes, source establishes the trigger: configure a missing plugin load path and run candidate validation on current main. This read-only review did not execute OpenClaw; the PR supplies separate runtime observations.

Is this the best way to solve the issue?

Yes. Recording preservation independently from severity fixes the update rejection without letting stale-config cleanup discard settings whose owner could not be inspected.

AGENTS.md: found and applied where relevant.

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

Labels

Label justifications:

  • P2: This repairs updates for installations with unavailable custom plugin paths, a concrete but bounded configuration case.
  • rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🦞 diamond lobster 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 matching captured body records the real published-updater missing-path scenario reaching successful update and Gateway readiness with configuration bytes preserved; subsequent inspection-error and startup changes have focused boundary coverage, and the latest commit changes only harness infrastructure.
  • proof: sufficient: Contributor real behavior proof is sufficient. The matching captured body records the real published-updater missing-path scenario reaching successful update and Gateway readiness with configuration bytes preserved; subsequent inspection-error and startup changes have focused boundary coverage, and the latest commit changes only harness infrastructure.

Evidence

What I checked:

  • Current main still has the reported gap: Fetched main still emits an error when a configured plugin path is missing. The merged predecessor explicitly deferred this discovery and preservation work. (src/plugins/discovery.ts:1173, 04ce86783632)
  • Latest release retains missing-path rejection: The v2026.9.4 discovery source retains the missing-path error. This review does not identify a released implementation of the branch's coordinated preservation behavior. (src/plugins/discovery.ts:1173, 3a9d69db306c)
  • Discovery owns classification and preservation: Missing paths and other inspection failures receive distinct diagnostics with a shared preserve disposition. Consumers retain that fact rather than deriving preservation from warning severity. (src/plugins/discovery-availability.ts:25, e827b7b1b07a)
  • Validation and persistence compatibility: Plugin-dependent validation preserves uninspected settings; structural validation remains separate. The installed-index decoder adds optional diagnostic fields, and the new SQLite close/reopen test covers both new diagnostics and existing diagnostics without a disposition. (src/config/validation-plugin-rules.ts:130, e827b7b1b07a)
  • Complete captured proof body inspected: The full GitHub body matched the captured 14,827 UTF-16 units and SHA-256 872d2b4541aa7ac4f2be9a84995faa06599a2e8d5b0637e7fc6365d3d72edd21. It records a published 2026.9.3 updater running candidate artifact 17f995789fa8cd5142c786be84ebbaf0f9fbf514: update status ok, typed missing-path warning, preserved configuration and legacy-source bytes, readyz.ready=true, and rpc.ok=true. Later permission-error and startup-admission coverage is identified separately; no newer Docker run is claimed. (e827b7b1b07a)
  • Re-review continuity: The previous completed review contained no findings. The latest commit changes harness path resolution and dependent fixtures without changing application production code. Its GitHub commit patches retain the installed-version, cleanup, manager, and migration assertions. Local prior-head diff hydration failed with HTTP 403; the exact commit API supplied those patches instead. (scripts/e2e/lib/upgrade-survivor/paths.sh:3, e827b7b1b07a)

Likely related people:

  • unknown: The claimed source-line change could not be verified from bounded local history. (role: source history unknown; confidence: low)
  • unknown: The claimed source-line change could not be verified from bounded local history. (role: source history unknown; confidence: low)
  • unknown: The claimed source-line change could not be verified from bounded local history. (role: source history unknown; 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 (5 earlier review cycles)
  • reviewed 2026-09-16T21:26:08.688Z sha 6f3a3b9c4f85590f815962139c599705dc5e681c :: blocked before merge. :: none
  • reviewed 2026-09-16T21:55:08.599Z sha feea64fffab88cb2fd8ca37a19a851cd614c38de :: blocked before merge. :: none
  • reviewed 2026-09-16T22:08:53.779Z sha e40aaafef71bf75ec4de0e79f8718f70abbffaaf :: blocked before merge. :: none
  • reviewed 2026-09-16T22:30:45.706Z sha 4f34d44 :: blocked before merge. :: none
  • reviewed 2026-09-16T23:00:34.489Z sha eab5446 :: blocked before merge. :: none

steipete added a commit that referenced this pull request Sep 16, 2026
Apply the repository formatter to the two test conditions left unformatted by #135276 (33e8e3c), which broke check-docs formatting checks on unrelated PRs #150306 and #150312. This changes line wrapping only.
@steipete
steipete force-pushed the upd/discovery-missing-load-path branch from e40aaaf to 4f34d44 Compare September 16, 2026 22:23
@steipete
steipete merged commit 7a15658 into main Sep 16, 2026
213 of 215 checks passed
@steipete
steipete deleted the upd/discovery-missing-load-path branch September 16, 2026 23:58
@steipete

Copy link
Copy Markdown
Contributor Author

Merged via squash.

github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Sep 17, 2026
Apply the repository formatter to the two test conditions left unformatted by openclaw#135276 (18dcf28), which broke check-docs formatting checks on unrelated PRs openclaw#150306 and openclaw#150312. This changes line wrapping only.
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Sep 17, 2026
…penclaw#150312)

* fix: preserve unavailable plugin paths during updates

Record a typed preserve disposition at discovery and retain it through the plugin index. Keep uninspected settings intact across validation, cleanup, migration, and automatic activation; carry the warning into Doctor and update readiness reports. Refs openclaw#150016 and openclaw#149960.

* test: activate missing-path upgrade fixture at startup

* fix(doctor): preserve unavailable bundled path aliases

* test(update): keep base upgrade install on native storage

* test(update): verify retained migration sources for unavailable plugins

* fix(plugins): retain filesystem inspection failures during updates

* test(doctor): require the inspection diagnostic before projection checks

* style(doctor): avoid mapped spreads in inspection findings

* test(update): follow survivor runtime and artifact paths

* fix(doctor): preserve availability warnings through startup repair

* test(e2e): share upgrade survivor installation paths
steipete added a commit that referenced this pull request Sep 17, 2026
Let the verified anchor child complete and validate its package pins when an
older parent hands it an incomplete dependency context. Preserve pinned real
package directories and bootstrap older anchors against their own manifest.

Extend the extracted-source guard to cover pinned bare imports, package export
subpaths, and copied workspace aliases. Keep the inventory repair with #150399.

Refs: #149585, #133913, #150312, #150399.
steipete added a commit that referenced this pull request Sep 17, 2026
Let the verified anchor child complete and validate its package pins when an
older parent hands it an incomplete dependency context. Preserve pinned real
package directories and bootstrap older anchors against their own manifest.

Extend the extracted-source guard to cover pinned bare imports, package export
subpaths, and copied workspace aliases. Keep the inventory repair with #150399.

Refs: #149585, #133913, #150312, #150399.
steipete added a commit that referenced this pull request Sep 17, 2026
* fix(pr): give materialized wrappers their dependency context

Let the verified anchor child complete and validate its package pins when an
older parent hands it an incomplete dependency context. Preserve pinned real
package directories and bootstrap older anchors against their own manifest.

Extend the extracted-source guard to cover pinned bare imports, package export
subpaths, and copied workspace aliases. Keep the inventory repair with #150399.

Refs: #149585, #133913, #150312, #150399.

* test(pr): resolve workspace aliases within the extracted root

Bind the TypeScript resolution host to the selected closure root so alias
lookups cannot fall back to the calling checkout during anchor validation.

Refs: #150399, #150504.
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Sep 18, 2026
…w#150504)

* fix(pr): give materialized wrappers their dependency context

Let the verified anchor child complete and validate its package pins when an
older parent hands it an incomplete dependency context. Preserve pinned real
package directories and bootstrap older anchors against their own manifest.

Extend the extracted-source guard to cover pinned bare imports, package export
subpaths, and copied workspace aliases. Keep the inventory repair with openclaw#150399.

Refs: openclaw#149585, openclaw#133913, openclaw#150312, openclaw#150399.

* test(pr): resolve workspace aliases within the extracted root

Bind the TypeScript resolution host to the selected closure root so alias
lookups cannot fall back to the calling checkout during anchor validation.

Refs: openclaw#150399, openclaw#150504.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cli CLI command changes commands Command implementations docs Improvements or additions to documentation maintainer Maintainer-authored PR P2 Normal backlog priority with limited blast radius. proof: sufficient ClawSweeper judged the real behavior proof convincing. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. scripts Repository scripts size: XL 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.

1 participant