Repository navigation
fix(plugins): restore diffs external catalog validation - #130362
Conversation
|
🦞👀 Pull request received. I will update this pull request when review starts. |
|
Codex review: needs maintainer review before merge. Reviewed August 26, 2026, 5:03 PM ET / 21:03 UTC. ClawSweeper reviewWhat this changesThe PR removes obsolete local install metadata from the external diffs plugins and adds the base plugin’s existing ClawHub install route. Merge readinessKeep open. This member-authored PR makes the external-plugin manifests match the catalog validation contract; current main still has the mismatched metadata, and no patch defect was found. Priority: P1 Review scores
Verification
Live VerificationCommand: Result: PASS (completed) Assertions:
How this fits togetherPlugin manifests declare how externally distributed plugins can be installed. The official external-plugin catalog and release validation consume those declarations to ensure published install routes remain consistent. flowchart LR
A[Plugin manifests] --> B[External plugin catalog]
B --> C[Catalog consistency test]
C --> D[Release validation]
D --> E[Published install routes]
Before merge
Agent review detailsSecurityNone. PR surfaceConfig -1. Total -1 across 2 files. View PR surface stats
Review metrics
Technical reviewBest possible solution: Land the manifest-only correction so externally published diffs packages have the same supported install routes in their source metadata and official catalog. Do we have a high-confidence way to reproduce the issue? Yes—source establishes a high-confidence path: the pre-PR manifest install objects differ from catalog entries and fail the exact-equality ownership test at src/plugins/official-external-plugin-catalog.test.ts:354. Is this the best way to solve the issue? Yes. The manifests own their published install metadata, and making them exactly match the existing catalog is narrower and safer than adding validator exceptions or changing installation logic. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against 26d3b08758fb. LabelsLabel justifications:
EvidenceWhat I checked:
Likely related people:
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
HistoryReview history (1 earlier review cycle)
|
* origin/main: (275 commits) fix(ai): require explicit compatible-provider endpoints (#130453) test(control-ui): guard the hand-mirrored theme --bg copies (#130444) fix(onboard): preserve the saved skills package manager (#130438) improve(worker): diagnose admission-deadline failures and widen daemon revalidation budget (#130435) fix(plugins): align diffs external install metadata (#130362) refactor(models): consolidate config normalization (#130439) fix(browser): accept common keyboard aliases (#130401) fix(release): refresh IMAP plugin baselines (#130351) fix(tests): type sticky model agent fixtures (#130441) fix(qa): track current Slack progress cards (#130354) feat(ui): refine the mobile composer (#130308) fix(ui): clarify gateway disconnect status in tab title (#130364) test(qa): await gateway startup before network probes (#130353) fix(qa): run Buzz profile scenarios with pooled credentials (#130316) fix(crabbox): keep the setup failure reason and name its phase (#130425) fix: dashboard tools target the wrong Gateway after admission (#130112) fix(ui): distinguish inherited model defaults from session pins (#120805) feat(feishu): let agents resend received stickers (#130374) refactor(models): prepare selection policy once (#130413) fix(ui): make dashboard side panels enter split view (#130426) ... # Conflicts: # test/scripts/docker-build-helper.test.ts
Related: #129782
What Problem This Solves
Fixes an issue where release validation rejected the official external plugin catalog after the diffs plugins moved out of the core distribution.
Why This Change Was Made
The two independently published diffs packages no longer advertise a bundled local install path. The base diffs manifest also declares its existing ClawHub route, matching its release policy and the official catalog.
User Impact
Release validation can verify the external plugin catalog again. Operators continue to install the diffs plugins through their published npm or ClawHub packages.
Evidence
node scripts/run-vitest.mjs src/plugins/official-external-plugin-catalog.test.tsfailed withdiffsanddiffs-language-packinstall metadata gaps.src/plugins/official-external-plugin-catalog.test.ts,src/plugins/bundled-sources.test.ts, andsrc/cli/plugin-install-plan.test.ts.node scripts/check-changed.mjs -- extensions/diffs/package.json extensions/diffs-language-pack/package.jsonpassed 16 gates through plugin boundaries and package patch validation. Extension typecheck then stopped on unrelated missingimapflow,mailauth, andmailparserdependencies in the existing worktree dependency tree.Production/config LOC: +1/-2 (net -1). Tests: +0/-0. The existing catalog ownership test is the regression proof and demonstrably failed before this repair.
This change was developed with AI assistance.