Repository navigation
feat: browse complete plugin skill bundles - #149287
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. |
|
Codex review: needs maintainer review before merge. Reviewed September 16, 2026, 7:53 PM ET / 23:53 UTC (Revision 14). ClawSweeper reviewWhat this changesAdds a shared folder viewer for complete installed and catalog plugin skill bundles, backed by bounded, read-only Gateway requests. Merge readiness✅ Ready for maintainer review This remains useful, distinct work absent from current main. The previous conflict blocker is resolved for the pinned test merge, and the refreshed feature files match the previously reviewed head. No blocking defect was found. Priority: P2 Review scores
Verification
How this fits togetherThe Control UI presents skills declared by installed plugins or published ClawHub releases. The Gateway resolves their files and returns bounded content for the shared viewer without installing or executing plugins. flowchart LR
A[Plugin detail page] --> B[Read-only Gateway request]
B --> C{Installed or catalog}
C --> D[Declared local skill folder]
C --> E[Exact ClawHub release inventory]
D --> F[Bounded file reads]
E --> F
F --> G[Folder tree and sanitized preview]
Before mergeNone. Agent review detailsSecurityNone. PR surfaceSource +816, Tests +980, Docs +8, Other +1. Total +1805 across 27 files. View PR surface stats
Review metrics
Technical reviewBest possible solution: Keep one shared viewer backed by declared local roots and exact published inventories, preserving explicit unavailable states and existing plugin activation boundaries. Do we have a high-confidence way to reproduce the issue? Not applicable as a bug reproduction: this adds browsing capability, and current-main source still lacks the skill-opening path. Is this the best way to solve the issue? Yes. Reusing the shared viewer, metadata discovery, filesystem safety owner, and ClawHub client gives the feature a coherent boundary without another installer or runtime loader. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 61aa3acaab47. LabelsLabel justifications:
EvidenceWhat I checked:
Likely related people:
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
HistoryReview history (13 earlier review cycles; latest 8 shown)
|
|
ClawHub companions 3701 and 3702 are merged and deployed before this consumer at The existing-release limitation is explicit in the updated PR description: the producer repair affects newly published summaries; it does not backfill historical versions. An old summary that omitted a package-root skill remains unavailable until republishing or a separately approved backfill. A read-only sample of 30 existing public versions found no root record, so I am not claiming a production root-record readback. Root SKILL.md, ./SKILL.md, nested root-container discovery, and signed inventory preservation have producer regression coverage. This addresses the deployment-order request and narrows the coverage claim as requested in the rank-up move. Full deployment receipt. |
8db3bf4 to
abc3686
Compare
86f72f3 to
46b24c5
Compare
abc3686 to
a43e1e8
Compare
46b24c5 to
29bce39
Compare
a43e1e8 to
3b3e5e7
Compare
29bce39 to
f4dc0eb
Compare
3b3e5e7 to
6973f05
Compare
f4dc0eb to
25f46bd
Compare
3100d9e to
e724660
Compare
4c0f28e to
3a4f9db
Compare
Punchcard-Session: crisp-summit-lantern-qk
Use the shared ASCII control validator for portable paths. Classify the same binary controls from decoded UTF-8 bytes while preserving whitespace, DEL and Unicode text. Keep the lint suppression allowlist unchanged. Punchcard-Session: crisp-summit-lantern-qk
3a4f9db to
9b41d9c
Compare
|
Merged via squash.
|
Move the unchanged filePreview English namespace to the lazy preview component and retain complete ordered host-side catalogs. Fix the startup gzip regression from openclaw#149287 without changing preview behavior or performance budgets.
* feat: browse complete plugin skill bundles Punchcard-Session: crisp-summit-lantern-qk * fix(skills): reuse control-character validation without suppressions Use the shared ASCII control validator for portable paths. Classify the same binary controls from decoded UTF-8 bytes while preserving whitespace, DEL and Unicode text. Keep the lint suppression allowlist unchanged. Punchcard-Session: crisp-summit-lantern-qk
…9287/openclaw#149286/openclaw#148070/openclaw#146672) Adds missing GatewayMethod entries for protocol parity with upstream openclaw: - PluginsSkillsRead (plugins.skills.read) [openclaw#149287] - PluginsCredentialsInspect (plugins.credentials.inspect) [openclaw#149286] - ControlUiSessionPullRequestsChecks (controlUi.sessionPullRequests.checks) [openclaw#148070] - CanvasDocumentPreview (canvas.document.preview) [openclaw#146672] SessionsActivitySummaryEnsure / ComputerStatus / ComputerInvoke were already present. version 2026.9.17.9
What Problem This Solves
Plugin skills appear as static rows or a single document, leaving supporting references and bundled files inaccessible from the overview.
User Impact
A skill opens in the shared file viewer on rendered SKILL.md, with a folder tree and relative links to complete bundled text. Installed plugins and published catalog versions use the same viewer; catalog preview does not install the plugin. Skill previews have no file search or Copy action; other viewer consumers retain theirs.
Why This Change Was Made
Installed reads own declared local roots; catalog reads own the exact selected version and signed inventory. Both enforce containment and bounded file/tree budgets with explicit binary, oversized and unavailable states. Catalog hashes/fetches retain original signed paths while root and skill-relative bounds are checked separately. Failed reads count toward the aggregate budget: at most 8MiB plus the dependency’s single overflow probe; exact-fit static bundles remain readable.
Closing or changing route, plugin generation or Gateway retires pending reads. The protocol method appends to existing methods. Canonical path-control validation and fatal UTF-8/C0 text checks remove unnecessary lint suppressions while preserving allowed whitespace/DEL/C1/Unicode content.
This follows credentials. The ClawHub root-skill metadata companion is merged/deployed at
0b6767d3bdd3, tagprod/v2026.09.15.1. Existing release summaries are not backfilled: an omitted root skill needs republishing or a separately approved backfill. A 30-version sample had no package-root record, so root-record production readback is not claimed; producer regressions cover discovery.Production +1,295/−479 includes a 491-line CSS move. Growth supplies bounded reader owners and the shared folder preview; no runtime option/default, database change or plugin activation.
Evidence
3a4f9db62ee4passed: run35148196102, 163 successful jobs and10 skipped, including the requiredopenclaw/ci-gate. Prior unchanged native validation passes Android/Swift lint and 1,157 macOS tests.Same fixture in the actual Control UI, using an isolated mock Gateway. The separate authenticated read proof uses the real server and live ClawHub HTTPS.
Tracks CLAW-881, Cycle 3.
Punchcard-Session: crisp-summit-lantern-qk
Production browser→real authenticated Gateway proof now verifies all six complete installed Lossless files byte-for-byte: desktop, mobile. No file search/copy or horizontal overflow; fixture cleanup completes. A second production browser→real Gateway→live ClawHub scenario verifies uninstalled Lossless1.0.0: all six complete files (49,932 bytes) match independent published bytes/hashes; uninstalled overview, desktop skill, mobile reference. One pinned catalog request, unchanged configuration, no installation or mutation/chat request, and cleanup complete. Both scenarios use the same served build. Tested build cf4b66819ade; only the separately proven numeric keyboard repair follows in production; subsequent CI fixes affect tests only.
Stack CI integration: rebased onto main
6cc68f961d7f, which now includes the upstream Codex fixture repair. The duplicate stack commit drops out. Every feature patch is unchanged; the only conflict resolution preserves adjacent imports for the upstream Node executable resolver and shared filesystem helper. The helper cleanup removes ten test/support lines and changes no production code. Exact newer-main line-count replay fails before and passes after; all six existing lifecycle cases, the new upstream refusal/cancellation regression, and the required changed-file gate pass, including core-test types, configured lint and all three dead-export scans. The existing scoped-clean P0 review and UI/Gateway proof remain applicable. A separate clean checkout at the published tip installed the exact lockfile with pnpm 12.3.4 and Node 24.19.0; Express resolves proxy-addr 2.0.8. All seven focused lifecycle cases and the complete required changed-file gate pass again there, with no tracked modifications. The later published head3a4f9db62ee4now has green hosted CI, as recorded above; the existing real-Gateway and browser evidence retains its original tested-version scope.Landing refresh after credentials #149286 merged: rebased only this layer’s two commits from
e724660eda23onto current maina3a961b3a768, producing9b41d9c53a8d21aa323b8f2a3b886de56428d6bb. The rebase required no manual source edits; all 27 whole files and the full canonical patch bytes exactly match the reviewed3a4f9db62ee4layer (SHA-2560a3fdcece0107bcd2aa23b884941ea2aa65297b37d5f776c710eb850c0d0d480). Independent review confirms the owner, caller and dependency context is unchanged. Existing browser/Gateway proof retains its recorded execution version; new-head hosted checks and native landing verification remain required.