Skip to content

fix(pr): include split plugin wrapper dependencies - #150451

Merged
RomneyDa merged 2 commits into
mainfrom
fix/pr-wrapper-discovery-availability
Sep 17, 2026
Merged

RomneyDa merged 2 commits into
mainfrom
fix/pr-wrapper-discovery-availability

Conversation

@RomneyDa

@RomneyDa RomneyDa commented Sep 17, 2026 •

Copy link
Copy Markdown
Member

What Problem This Solves

Fixes the PR tooling shards that fail while provisioning a managed source checkout because the committed wrapper inventory copies importers without their newly split runtime dependencies.

Why This Change Was Made

src/plugins/discovery.ts now imports discovery-availability.ts, which imports runtime-degraded-state.ts. Config validation also imports validation-plugin-registry.ts. Add those three files to the existing wrapper component inventory so cold PR review/provisioning executes the same dependency closure as the canonical checkout.

No product/runtime behavior changes.

Evidence

  • The original failures reproduced as ERR_MODULE_NOT_FOUND for discovery-availability.js, followed by runtime-degraded-state.js and validation-plugin-registry.js.
  • The exact previously failing operation-lock cases pass: 7 passed.
  • The exact main-refresh and worktree-provision cases pass: 3 passed.
  • node scripts/check-changed.mjs passes with a local frozen dependency install.
  • git diff --check passes.

@clawsweeper

clawsweeper Bot commented Sep 17, 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 scripts Repository scripts size: XS labels Sep 17, 2026
@RomneyDa
RomneyDa marked this pull request as ready for review September 17, 2026 01:16
@openclaw-barnacle openclaw-barnacle Bot added the maintainer Maintainer-authored PR label Sep 17, 2026
@clawsweeper clawsweeper Bot added P2 Normal backlog priority with limited blast radius. 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 17, 2026
@clawsweeper

clawsweeper Bot commented Sep 17, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: blocked before merge. Reviewed September 16, 2026, 10:20 PM ET / September 17, 2026, 02:20 UTC (Revision 3).

ClawSweeper review

What this changes

Adds three existing plugin and configuration modules to the PR tooling’s source inventory so copied wrappers can initialize without missing imports.

Merge readiness

⛔ Blocked before merge - 2 items remain

The intended repair is already on current main through merged #150453. No actionable patch defect remains, but the member author and protected maintainer label require human cleanup judgment.

Priority: P2
Reviewed head: 69d9d898691c81d732d6692b85f7f739befd2693
Owner decision: Required. See Decision needed.

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) A focused, mechanically sound repair with relevant reported validation; its redundancy is a cleanup matter rather than a patch-quality defect.
Proof confidence 🌊 off-meta tidepool Not applicable: The member-authored inventory repair is exempt from external-contributor proof requirements; its body reports passing operation-lock and provisioning cases, which were not rerun here.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Verification

Check Result Evidence
Real behavior Not applicable Not applicable: The member-authored inventory repair is exempt from external-contributor proof requirements; its body reports passing operation-lock and provisioning cases, which were not rerun here.
Evidence reviewed 9 items Verified introduced change: The pinned base-to-head diff adds only the three reported module paths; git diff --check passes.
Production inventory consumer: The wrapper reads the anchor inventory, archives its listed components, and verifies extracted blobs before execution. The existing fixture copier consumes the same inventory. Adding dependencies preserves this owner and its trust checks.
Current main already includes the repair: All three entries are present on fetched main, at lines 422, 783, and 918.
Findings None None.
Security None None.

How this fits together

OpenClaw’s PR tooling copies a curated source inventory into isolated wrappers. Those wrappers need the imported plugin discovery and configuration modules to provision review worktrees.

flowchart LR
  A[Canonical source] --> B[Wrapper inventory]
  B --> C[Verified source copy]
  C --> D[Plugin discovery and config validation]
  D --> E[Review initialization]
  E --> F[Provisioned worktree]
Loading

Decision needed

Question Recommendation
Should this protected PR be closed because merged #150453 already supplies all three dependencies? Close with merged-fix provenance: A maintainer can acknowledge the contribution and close this PR in favor of the identical repair already on main.

Why: The implementation is redundant, but member-authored and maintainer-labeled items are exempt from automatic closure.

Before merge

Agent review details

Security

None.

PR surface

Other +3. Total +3 across 1 file.

View PR surface stats
Area Files Added Removed Net
Source 0 0 0 0
Tests 0 0 0 0
Docs 0 0 0 0
Config 0 0 0 0
Generated 0 0 0 0
Other 1 3 0 +3
Total 1 3 0 +3

Review metrics

None.

Root-cause cluster

Relationship: superseded
Canonical: #150453
Summary: A merged PR supplies the same complete inventory repair; a broader open PR overlaps this portion only.

Members:

Proposal only: this assessment does not dispatch repair, suppress jobs, mutate sibling items, close, or merge anything.

Technical review

Best possible solution:

Retain the complete inventory already on main and retire the redundant branch through maintainer-approved cleanup.

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

No current-main failure was reproduced: main now includes the missing modules, while the linked report establishes the earlier extracted-wrapper failure.

Is this the best way to solve the issue?

Yes, completing the existing inventory is the narrow repair; current main already implements it without another source list or runtime change.

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning medium; reviewed against 47ff538006ae; fix evidence: commit c5cff2f122e2, main fix timestamp 2026-09-17T02:14:00Z.

Labels

Label justifications:

  • P2: This is a bounded PR-tooling initialization repair with no established application-runtime impact.
  • rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🌊 off-meta tidepool and patch quality is 🐚 platinum hermit.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR. Not applicable: The member-authored inventory repair is exempt from external-contributor proof requirements; its body reports passing operation-lock and provisioning cases, which were not rerun here.

Evidence

What I checked:

Likely related people:

  • shakkernerd: Suggested for follow-up; no historical authorship or introduction is verified. (role: unverified routing candidate; confidence: low)
  • Jason (Json): 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-17T01:23:08.672Z sha d0f2570eda4d8528b8c44649de6702d39bfc27c9 :: needs maintainer review before merge. :: none
  • reviewed 2026-09-17T02:05:19.003Z sha bcb983b54cb7714d0c845755593391771a517236 :: needs maintainer review before merge. :: none

@RomneyDa
RomneyDa force-pushed the fix/pr-wrapper-discovery-availability branch from bcb983b to 69d9d89 Compare September 17, 2026 02:10
@RomneyDa
RomneyDa enabled auto-merge (squash) September 17, 2026 02:25
@RomneyDa
RomneyDa merged commit 19c117d into main Sep 17, 2026
81 checks passed
@RomneyDa
RomneyDa deleted the fix/pr-wrapper-discovery-availability branch September 17, 2026 02:28
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Sep 17, 2026
* fix(pr): include split plugin wrapper dependencies

* fix(pr): keep wrapper inventory sorted
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

maintainer Maintainer-authored PR P2 Normal backlog priority with limited blast radius. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. scripts Repository scripts size: XS 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