Skip to content

fix: chat plugin installs reject Git and third-party npm sources - #200392

Merged
roboclaw-bot merged 4 commits into
mainfrom
openclaw/clear-shrimp
Nov 17, 2026
Merged

roboclaw-bot merged 4 commits into
mainfrom
openclaw/clear-shrimp

Conversation

@roboclaw-bot

@roboclaw-bot roboclaw-bot commented Nov 17, 2026 •

Copy link
Copy Markdown
Collaborator

What Problem This Solves

Fixes: asking an agent in Telegram or another chat to install a Git or third-party npm plugin is rejected before approval and sends the owner to a terminal.

User Impact

Owners can review the source and declared capabilities, approve the installation, and receive its runtime result in the requesting chat without enabling /plugins. Non-ClawHub sources still require explicit acknowledgement; capability acceptance does not grant conversation access or bypass installation policy. No configuration migration is needed.

Why This Change Was Made

Use the existing exact-proposal approval owner and managed plugin installer instead of the curated-only setup rejection. Required capability consent becomes a separately approved continuation bound to the source, plugin identity, and reviewed declarations. Keep the source card applying until that continuation settles and keep internal model instructions out of the capability card.

Source approval trusts the selected publisher/ref, not immutable package bytes; changed declarations require fresh review. Authenticated source URLs are redacted in review/history and useful audit metadata while the installer retains its operational spec.

Evidence

  • 225 focused cases across parser, executor, tool, direct/delegated approval, and prefix-stability coverage. The Git/npm entry-point regression fails on the base. The final audit-source-identity regression fails before its metadata adjustment and passes afterward.
  • Targeted core/test typechecks, lint, formatting, and diff checks passed; QA runtime builds passed.
  • Real Telegram Test Server DM with a deterministic provider: natural-language delegation, distinct source/capability approvals, canonical Git install, persisted capability acceptance, live runtime application, and an actual installed-tool result delivered to Telegram, with /plugins disabled. All 15 recorded behavior checks passed, including the corrected approval messages. This is channel/installer integration evidence, not real-model planning qualification.
  • Production proof hashes are retained; the subsequent audit-metadata-only adjustment is separately covered by the owning regression. Local autoreview through P2 and independent review were completed; findings were investigated and addressed, including the audit metadata's source readability. No remaining actionable code-review findings.
  • CI follow-up corrected three PR-caused issues: a missing test conditional brace, a property access on the audit reader's unknown result, and exactly one retired CLI-mock baseline entry. The matching services typecheck, CI core lint configuration, both focused files (53 cases), formatting, and the mock-export guard without pruning pass locally. No production behavior changed in this follow-up.
  • The remaining current-head Windows-emulation lifecycle job has 17 SQLite snapshot worker startup failures with ERR_SPAWN_BROKER_UNAVAILABLE / EEXIST: mkdir '.'. An independent full-tree canonical-main checkout at f27bc2417fea7448c9165e6329a457f05b66685b, with its own frozen dependencies, reproduced all 17 failures. The fixture, spawn-broker and worker-runtime input objects are identical across that main commit, the actual CI baseline df78722789e096c3dfc7154526d67037d6ed4803, and the tested merge 77c0b41c5c233c70a1990a84858ce69505bda3b2. This establishes baseline attribution beyond the automated report's earlier unknown classification. CI remains failed; this PR does not claim to repair the unrelated fixture. Landing uses only the repository's protected inherited-failure route with live writer, review and security gates intact.

Reported by @vincentkoc.

Work sessions

Linked for team reference; these sessions aren’t public.

Worked on by

roboclaw-bot and others added 2 commits November 17, 2026 03:31
Worked on by:
- @vincentkoc

Co-authored-by: vincentkoc <[email protected]>
OpenClaw-Publication: 68e1c8a2-2cb3-4c64-b322-0e45554ddef8
@clawsweeper

clawsweeper Bot commented Nov 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 docs Improvements or additions to documentation gateway Gateway runtime agents Agent runtime and tooling size: L labels Nov 17, 2026
@roboclaw-bot
roboclaw-bot marked this pull request as ready for review November 17, 2026 03:35
@clawsweeper clawsweeper Bot added clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-environment Preliminary submission classification; full source review pending. clawsweeper:intake:needs-repro Preliminary submission classification; full source review pending. labels Nov 17, 2026
roboclaw-bot and others added 2 commits November 17, 2026 03:53
Worked on by:
- @vincentkoc

Co-authored-by: vincentkoc <[email protected]>
OpenClaw-Publication: 842a1867-d3b7-482b-8d1c-c532a3715407
@roboclaw-bot
roboclaw-bot merged commit b0d95fd into main Nov 17, 2026
166 of 169 checks passed
@roboclaw-bot
roboclaw-bot deleted the openclaw/clear-shrimp branch November 17, 2026 04:42
@roboclaw-bot

Copy link
Copy Markdown
Collaborator Author

Merged via explicitly authorized admin squash with attributed pre-existing CI failures.

github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Nov 18, 2026
…nclaw#200392)

* fix: chat plugin installs reject Git and third-party npm sources

Co-authored-by: vincentkoc <[email protected]>

* fix: chat plugin installs reject Git and third-party npm sources

Worked on by:
- @vincentkoc

Co-authored-by: vincentkoc <[email protected]>
OpenClaw-Publication: 68e1c8a2-2cb3-4c64-b322-0e45554ddef8

* test: fix plugin install regression checks

Co-authored-by: vincentkoc <[email protected]>

* Publish openclaw/clear-shrimp

Worked on by:
- @vincentkoc

Co-authored-by: vincentkoc <[email protected]>
OpenClaw-Publication: 842a1867-d3b7-482b-8d1c-c532a3715407

---------

Co-authored-by: vincentkoc <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

agents Agent runtime and tooling clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-environment Preliminary submission classification; full source review pending. clawsweeper:intake:needs-repro Preliminary submission classification; full source review pending. docs Improvements or additions to documentation gateway Gateway runtime size: L

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant