Repository navigation
fix(claws): manage installed packages and route plugin approvals - #166800
Patrick-Erichsen wants to merge 8 commits 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. |
|
Codex review: needs real behavior proof before merge. What this changesThe PR routes installed Claws to their existing management panels and lets trusted, write-scoped plugin invocations request operator approval without granting reviewer permissions. Review scores
Merge readiness⛔ Blocked before merge - 4 items remain Keep open: this layer contains distinct work absent from current main. No definite introduced defect was established, but approval authority proof and coordinated stack integration remain incomplete. Priority: P2 Before merge
FindingsNone. Agent review detailsHow this fits togetherClaws are packaged agent setups discovered through the Control UI and managed by the Gateway. Plugin tools use the Gateway’s approval system to pause work until an authorized reviewer decides. flowchart TD
A[Catalog and installed status] --> B[Control UI]
B --> C[Add or manage Claw]
D[Live plugin invocation] --> E[Gateway authority checks]
E --> F[Pending approval]
G[Authorized reviewer] --> F
F --> H[Allow or deny tool effect]
Technical reviewBest possible solution: Reuse the lifecycle panel and request-only approval owner, with live authority enforced through the compatible plugin’s final effect. Do we have a high-confidence way to reproduce the issue? Not applicable as a single current-main bug reproduction: catalog management belongs to the unpublished stack, while the approval change extends existing request admission. The source and tests establish the intended scenarios without a reviewer-executed run. Is this the best way to solve the issue? Yes, the approach reuses existing lifecycle and approval owners rather than duplicating them; final-effect authority evidence is needed to validate the full composition. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 40d735e451b1. Merge-risk optionsMaintainer options:
SecurityNone. EvidenceWhat I checked:
PR surfaceSource +368, Tests +1176. Total +1544 across 33 files. View PR surface stats
Review metrics
Root-cause clusterRelationship: Members:
Proposal only: this assessment does not dispatch repair, suppress jobs, mutate sibling items, close, or merge anything. LabelsLabel changes: No label changes. Label justifications:
Rank-up movesOptional improvements that raise the rating; they are not merge blockers.
Rating scale6/6 🦀 challenger crab · 5/6 🦞 diamond lobster · 4/6 🐚 platinum hermit · 3/6 🦐 gold shrimp · 2/6 🦪 silver shellfish · 1/6 🧂 unranked krab. Overall follows the weaker of proof and patch quality; ✨ marks media proof (a screenshot, video, or linked artifact) that directly shows the changed behavior. WorkflowClawSweeper edits this one comment on every review. Comment Reviewed October 7, 2026, 7:26 PM ET / 23:26 UTC. |
|
Closing as superseded: #171623 replaced the Claws plan/review/update/remove lifecycle with a one-way Add operation, and Closed by Roboclaw at the author's request after an audit of his open PRs. The branch is kept, so this can be reopened if needed. |
Publication Refresh: October 7
Layer 15/16. Previous: #166799 | Next: #166801. Published checkpoint:
28da785fafd4.Full stack tip: #166801. Earlier local-ClawHub lifecycle evidence remains in #163307, tied to its recorded revision.
What Problem This Solves
The catalog could still offer Add for a Claw already installed, while plugin approval requests from a legitimate write-scoped tool caller could be rejected.
User Impact
Installed Claws can be managed from Explore or search, including missing-agent and modified states. A trusted live plugin invocation can request operator review without acquiring permission to approve its own request.
Why This Change Was Made
Connect installed status to the existing lifecycle panel and preserve pending removal across navigation. Route approval requests through the caller's live authority and keep approval resolution restricted to reviewers.
Evidence
9e653a8ed286: 13/13 browser tests passed on October 7 in 28.51 seconds. They exercise installed-package Manage, partial/orphan removal, stale searches, pending status, Labs-off behavior, and mobile/desktop layouts using the real built Control UI with a mocked Gateway.pnpm check:changedpass remains applicable because the source is unchanged.Publication Scope
Related: #163946. This is a draft layer in the Claws Labs stack. The stack retains its previously tested base and currently conflicts with newer main; this publication does not resolve that drift or authorize a release. Production ClawHub support, the compatible published Lobster artifact, official catalog security review, and RFC acceptance remain release gates. The local-source CLI and official-only launch scope are unchanged.