Skip to content

feat: browse complete plugin skill bundles - #149287

Merged
Patrick-Erichsen merged 2 commits into
mainfrom
codex/claw-881-skill-files
Sep 17, 2026
Merged

Patrick-Erichsen merged 2 commits into
mainfrom
codex/claw-881-skill-files

Conversation

@Patrick-Erichsen

@Patrick-Erichsen Patrick-Erichsen commented Sep 15, 2026 •

Copy link
Copy Markdown
Contributor

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, tag prod/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

  • 148 integrated backend/dispatch/metadata/modal/route cases and all 5 built skill routes pass. Path containment, append order and failed-read budget regressions fail before and pass after; 121 reader/normalizer/suppression cases pass with no baseline expansion.
  • A real authenticated loopback Gateway returns all 6 complete files for disabled installed Lossless and exact published ClawHub 1.0.0. Every full string matches independent source, including a published reference different from current upstream. Invalid paths are rejected; config, inventory and disabled runtime stay unchanged.
  • ClawHub tests, backend and frontend deployment checks passed at the merged commit. Production HTTP checks pass 4/4; UI checks pass 15 with 6 authenticated cases skipped for unavailable storage state. Deployment receipt and rollout limit.
  • Integrated local validation passes 128 focused tests and the 59-step static plan, including core/core-test/UI types, full typed lint, three dead-export scans, styles and repository guards. Madge reports zero cycles. The later numeric keyboard repair passes 98 focused cases, all 7 integrated built keyboard flows, and the final changed-path gate (core-test/UI types, typed lint, formatting, i18n and all three dead-export scans). Hosted CI for published head 3a4f9db62ee4 passed: run35148196102, 163 successful jobs and10 skipped, including the required openclaw/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.

Before: static skill row After: full skill viewer
Previous skill overview Complete skill bundle
Previous phone skill overview Phone skill bundle

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 head 3a4f9db62ee4 now 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 e724660eda23 onto current main a3a961b3a768, producing 9b41d9c53a8d21aa323b8f2a3b886de56428d6bb. The rebase required no manual source edits; all 27 whole files and the full canonical patch bytes exactly match the reviewed 3a4f9db62ee4 layer (SHA-256 0a3fdcece0107bcd2aa23b884941ea2aa65297b37d5f776c710eb850c0d0d480). 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.

@clawsweeper

clawsweeper Bot commented Sep 15, 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 docs Improvements or additions to documentation app: android App: android app: web-ui App: web-ui gateway Gateway runtime size: XL maintainer Maintainer-authored PR labels Sep 15, 2026
@Patrick-Erichsen
Patrick-Erichsen marked this pull request as ready for review September 15, 2026 17:07
@clawsweeper clawsweeper Bot added P2 Normal backlog priority with limited blast radius. proof: 📸 screenshot Contributor real behavior proof includes screenshot evidence. 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 15, 2026
@clawsweeper

clawsweeper Bot commented Sep 15, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge. Reviewed September 16, 2026, 7:53 PM ET / 23:53 UTC (Revision 14).

ClawSweeper review

What this changes

Adds 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
Reviewed head: 9b41d9c53a8d21aa323b8f2a3b886de56428d6bb

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) A coherent implementation with strong visual and real-path evidence; no actionable blocker remains from this review.
Proof confidence 🦞 diamond lobster (5/6) Sufficient (live_output): Inspected desktop/mobile before-and-after images and the captured real-Gateway/live-ClawHub observations showing complete installed and published file reads. Proof retains its original execution-build scope; all refreshed feature files match the previous reviewed head.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Verification

Check Result Evidence
Real behavior Verified Sufficient (live_output): Inspected desktop/mobile before-and-after images and the captured real-Gateway/live-ClawHub observations showing complete installed and published file reads. Proof retains its original execution-build scope; all refreshed feature files match the previous reviewed head.
Evidence reviewed 11 items Pinned merge resolves the previous blocker: The raw test-merge record has exactly base 2257202 followed by head 9b41d9c. Its comparison against that base contains the skill-viewer layer, not the preceding credential changes or base-only browser work.
Re-review continuity: Compared the complete GitHub tree for prior reviewed head 3a4f9db with local HEAD blob identities for every introduced path: all 27 match. GitHub reported an untruncated tree. The prior completed review had no findings; its concrete blocker was the now-resolved conflict.
Current main still lacks this viewer: Current main's plugin page renders installed details without the new skill-opening action, and its source contains no plugins.skills.read method. Related merged credential work does not implement bundle browsing.
Findings None None.
Security None None.

How this fits together

The 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]
Loading

Before merge

None.

Agent review details

Security

None.

PR surface

Source +816, Tests +980, Docs +8, Other +1. Total +1805 across 27 files.

View PR surface stats
Area Files Added Removed Net
Source 17 1295 479 +816
Tests 8 982 2 +980
Docs 1 8 0 +8
Config 0 0 0 0
Generated 0 0 0 0
Other 1 1 0 +1
Total 27 2286 481 +1805

Review metrics

Metric Value Why it matters
Public request surface 1 read-only Gateway method; 0 new runtime settings The method appends without shifting existing advertised positions.
Production versus test growth Production net +817 lines; tests net +980 lines Production growth includes a 491-line stylesheet relocation and is justified by bounded readers and the shared folder viewer.

Technical review

Best 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.

Labels

Label justifications:

  • P2: This is a bounded improvement to plugin documentation browsing without an urgent existing-workflow failure.
  • 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): Inspected desktop/mobile before-and-after images and the captured real-Gateway/live-ClawHub observations showing complete installed and published file reads. Proof retains its original execution-build scope; all refreshed feature files match the previous reviewed head.
  • proof: sufficient: Contributor real behavior proof is sufficient. Inspected desktop/mobile before-and-after images and the captured real-Gateway/live-ClawHub observations showing complete installed and published file reads. Proof retains its original execution-build scope; all refreshed feature files match the previous reviewed head.

Evidence

What I checked:

  • Pinned merge resolves the previous blocker: The raw test-merge record has exactly base 2257202 followed by head 9b41d9c. Its comparison against that base contains the skill-viewer layer, not the preceding credential changes or base-only browser work. (be2263caeb8b)
  • Re-review continuity: Compared the complete GitHub tree for prior reviewed head 3a4f9db with local HEAD blob identities for every introduced path: all 27 match. GitHub reported an untruncated tree. The prior completed review had no findings; its concrete blocker was the now-resolved conflict. (9b41d9c53a8d)
  • Current main still lacks this viewer: Current main's plugin page renders installed details without the new skill-opening action, and its source contains no plugins.skills.read method. Related merged credential work does not implement bundle browsing. (ui/src/pages/plugins/plugins-page-view.ts:165, 61aa3acaab47)
  • Release check: The latest supplied release's method table contains plugins.list and plugins.inspect but no plugins.skills.read; it does not establish a shipped replacement for this PR. (src/gateway/methods/core-descriptors.ts, 3a9d69db306c)
  • Installed read boundary: Reads select a declared skill through existing metadata discovery, reject ambiguous names, and use the filesystem safety owner with symlink rejection, existing hardlink policy, file/tree limits, and aggregate accounting for failed reads. (src/skills/loading/plugin-skill-bundle.ts:47, 9b41d9c53a8d)
  • Filesystem dependency contract inspected: The changed installed reader calls this dependency through the OpenClaw facade. Version 0.12.0 bounds reads to maxBytes plus one overflow byte; its directory iterator enforces entry budgets and disposes the listing. (src/bounded-read.ts, 914cd7b41388)

Likely related people:

  • Patrick-Erichsen: Suggested for follow-up; no historical authorship or introduction is verified. (role: unverified routing candidate; confidence: low)
  • Peter Steinberger: 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 (13 earlier review cycles; latest 8 shown)
  • reviewed 2026-09-15T22:47:18.559Z sha f6241d3 :: needs maintainer review before merge. :: none
  • reviewed 2026-09-16T18:40:03.219Z sha df3a1fa8a34355bea34766c32d9e41b7a512e2db :: blocked before merge. :: none
  • reviewed 2026-09-16T18:52:57.617Z sha df3a1fa8a34355bea34766c32d9e41b7a512e2db :: needs maintainer review before merge. :: none
  • reviewed 2026-09-16T19:27:17.998Z sha 15bfdc5eb55971cac78a7c7a5e11d419de479592 :: needs maintainer review before merge. :: none
  • reviewed 2026-09-16T19:55:15.380Z sha 2fe0a66 :: needs maintainer review before merge. :: none
  • reviewed 2026-09-16T20:27:43.333Z sha 4c0f28e9fa55db2f531137c92e6d8eb04e7629bd :: needs maintainer review before merge. :: none
  • reviewed 2026-09-16T20:49:33.942Z sha 3a4f9db :: needs maintainer review before merge. :: none
  • reviewed 2026-09-16T23:38:19.695Z sha 3a4f9db :: blocked before merge. :: none

@Patrick-Erichsen

Copy link
Copy Markdown
Contributor Author

ClawHub companions 3701 and 3702 are merged and deployed before this consumer at 0b6767d3bdd3702ad3156d95d3e344859f31e465 (prod/v2026.09.15.1). Test, Production backend, and frontend all passed. Live published Lossless SKILL.md and references/config.md return HTTP 200 with exact inventory size and SHA-256.

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.

@clawsweeper clawsweeper Bot added the proof: sufficient ClawSweeper judged the real behavior proof convincing. label Sep 15, 2026
@openclaw-barnacle openclaw-barnacle Bot reopened this Sep 15, 2026
@Patrick-Erichsen
Patrick-Erichsen force-pushed the codex/claw-880-credentials branch from 8db3bf4 to abc3686 Compare September 15, 2026 18:30
@Patrick-Erichsen
Patrick-Erichsen force-pushed the codex/claw-881-skill-files branch from 86f72f3 to 46b24c5 Compare September 15, 2026 18:30
@Patrick-Erichsen
Patrick-Erichsen force-pushed the codex/claw-880-credentials branch from abc3686 to a43e1e8 Compare September 15, 2026 18:40
@Patrick-Erichsen
Patrick-Erichsen force-pushed the codex/claw-881-skill-files branch from 46b24c5 to 29bce39 Compare September 15, 2026 18:40
@clawsweeper clawsweeper Bot removed the proof: 📸 screenshot Contributor real behavior proof includes screenshot evidence. label Sep 15, 2026
@Patrick-Erichsen
Patrick-Erichsen force-pushed the codex/claw-880-credentials branch from a43e1e8 to 3b3e5e7 Compare September 15, 2026 20:03
@Patrick-Erichsen
Patrick-Erichsen force-pushed the codex/claw-881-skill-files branch from 29bce39 to f4dc0eb Compare September 15, 2026 20:03
@Patrick-Erichsen
Patrick-Erichsen force-pushed the codex/claw-880-credentials branch from 3b3e5e7 to 6973f05 Compare September 15, 2026 20:33
@Patrick-Erichsen
Patrick-Erichsen force-pushed the codex/claw-881-skill-files branch from f4dc0eb to 25f46bd Compare September 15, 2026 20:33
@clawsweeper clawsweeper Bot removed proof: sufficient ClawSweeper judged the real behavior proof convincing. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. labels Sep 15, 2026
@Patrick-Erichsen
Patrick-Erichsen force-pushed the codex/claw-880-credentials branch from 3100d9e to e724660 Compare September 16, 2026 20:42
@Patrick-Erichsen
Patrick-Erichsen force-pushed the codex/claw-881-skill-files branch from 4c0f28e to 3a4f9db Compare September 16, 2026 20:42
Base automatically changed from codex/claw-880-credentials to main September 16, 2026 23:31
@openclaw-barnacle openclaw-barnacle Bot added the scripts Repository scripts label Sep 16, 2026
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
@Patrick-Erichsen
Patrick-Erichsen force-pushed the codex/claw-881-skill-files branch from 3a4f9db to 9b41d9c Compare September 16, 2026 23:45
@Patrick-Erichsen
Patrick-Erichsen merged commit a11a431 into main Sep 17, 2026
229 of 230 checks passed
@Patrick-Erichsen
Patrick-Erichsen deleted the codex/claw-881-skill-files branch September 17, 2026 00:09
@Patrick-Erichsen

Copy link
Copy Markdown
Contributor Author

Merged via squash.

fuller-stack-dev pushed a commit to LiuwqGit/openclaw that referenced this pull request Sep 17, 2026
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.
steipete added a commit that referenced this pull request Sep 17, 2026
Move the unchanged filePreview English namespace to the lazy preview component and retain complete ordered host-side catalogs. Fix the startup gzip regression from #149287 without changing preview behavior or performance budgets.

(cherry picked from commit 0c4b3a0)
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Sep 17, 2026
* 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
threely-lab pushed a commit to threely-lab/openclaw that referenced this pull request Sep 17, 2026
…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
steipete added a commit that referenced this pull request Sep 17, 2026
Move the unchanged filePreview English namespace to the lazy preview component and retain complete ordered host-side catalogs. Fix the startup gzip regression from #149287 without changing preview behavior or performance budgets.

(cherry picked from commit 0c4b3a0)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

app: android App: android app: web-ui App: web-ui docs Improvements or additions to documentation gateway Gateway runtime 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