Repository navigation
fix(packages): discover package-root bundled skills - #3702
Patrick-Erichsen merged 1 commit into
Conversation
|
🦞👀 Pull request received. I will update this pull request when review starts. ClawSweeper review completeClawSweeper finished reviewing this revision. The review result is being finalized. |
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Codex review: needs maintainer review before merge. Reviewed September 15, 2026, 1:16 PM ET / 17:16 UTC (Revision 5). ClawSweeper reviewWhat this changesDiscover bundled skills declared at a plugin package’s root, including nested skill directories, while preserving uploaded file paths and inventory hashes. Merge readiness✅ Ready for maintainer review Keep open: current main and v0.23.3 retain the reported discovery gap. The focused patch has no blocking findings, and the acknowledged scanner follow-up remains separate. Priority: P2 Review scores
Verification
How this fits togetherClawHub derives bundled-skill metadata from uploaded plugin manifests and files during publication. Catalog clients use that metadata to list skills and fetch their Markdown previews. flowchart LR
A[Plugin manifest] --> C[Skill discovery]
B[Verified uploaded files] --> C
C --> D{Direct skill present}
D -->|Yes| E[Exact skill entry]
D -->|No| F[Nested skill entries]
E --> G[Release metadata]
F --> G
G --> H[Catalog list and preview]
Before mergeNone. Agent review detailsSecurityNone. Review metrics
Technical reviewBest possible solution: Keep root normalization in summary discovery, preserve exact inventory identities, and use the existing explicit backfill workflow if older release summaries need refreshing. Do we have a high-confidence way to reproduce the issue? Yes, from source: declare skills as ['.'] with an uploaded SKILL.md or nested skills beneath the package root; current main misses those entries. The added tests encode these cases, but this review did not execute them. Is this the best way to solve the issue? Yes: repairing the existing summary lookup is the narrowest fix. Rewriting uploaded paths would alter signed inventory identities, while client-only discovery would leave the canonical metadata incomplete. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 38ec37b9750b. LabelsLabel justifications:
EvidenceWhat I checked:
Likely related people:
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
HistoryReview history (4 earlier review cycles)
|
This comment has been minimized.
This comment has been minimized.
|
Follow-up recorded from the scanner sibling review: the existing dedicated SkillSpector input resolver excludes package-root ( Final pre-merge schema-package, CLI-package, and repository TypeScript checks pass at |
8b84037 to
d856e6d
Compare
d856e6d to
2717038
Compare
This comment has been minimized.
This comment has been minimized.
2717038 to
1471625
Compare
Punchcard-Session: frost-meadow-workshop-fw
1471625 to
bbb841d
Compare
|
Final current-head checks: all test jobs are green on 45d7c02 / bbb841d; the upper run's aggregate job is still completing. Both moderation jobs passed on the first attempt with no Convex execution timeout in their logs. Validation limitation / named follow-up: the upper Both exact-head ClawSweeper reviews at 17:16 UTC report no remaining findings. The real paired Summary publication/readback and version/title proof remain linked above. |
|
Deployed to Production at merged main
Live Lossless version metadata and exact file reads both passed: Package-root |
Packages that declare a skill at their root can currently omit it from catalog metadata:
skills: ["."]looks for./SKILL.mdand misses a publishedSKILL.md. Root containers without a direct entry also miss their nested skills.Normalize paths in the existing skill-summary lookup so both
SKILL.mdand./SKILL.mdare discoverable and a root container finds its nested skills. Keep each exact uploaded path inskillMdPath. Publication normalization and the signed inventory digest are unchanged; a regression compares the CLI's minted hash with the publish-side hash for leading-dot paths.Validation: the final tests fail on the original producer for direct root and nested root-container discovery, then all 22 registry tests pass with the fix. Full
ci:static,ci:unit(6,696 tests),ci:types-build, andci:packagespass. Independent review through P2 found no actionable findings.This updates newly derived summaries; it does not rewrite stored release metadata. Production delta is +10 lines; tests +62. The OpenClaw skill preview companion consumes these canonical roots while fetching and verifying the exact inventory paths.
Builds on the overview metadata layer. Tracks CLAW-881 Browse complete installed and catalog skill bundles, Cycle 3.
The updated base includes the separately reviewed publishing draft fixes with version/title proof and uploaded Summary proof. This layer remains the same two registry discovery files (unchanged under range-diff). The final summary correction passes full static, 6,701 unit tests, all premerge TypeScript checks and real one-click publication/readback. Fresh exact-head CI remains required before merge. Named scanner follow-up: the preexisting scanner root exclusion is outside this summary producer repair.
Punchcard-Session: frost-meadow-workshop-fw