Repository navigation
feat(claws): review and add local or official ClawHub packages - #163296
Patrick-Erichsen wants to merge 2 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 changesAdds Gateway review and installation of official ClawHub agent packages, binds plugin installation to capability consent, moves Add records into SQLite workers, and removes the experimental CLI environment gate. Review scores
Regression provenancePossible regression — suspected (reviewed change). No predecessor PR is attributed. Merge readiness⛔ Blocked before merge - 9 items remain This remains useful, distinct stack work that current main does not provide. Three prior defects remain at the pinned head; historical installed-host success does not resolve final-effect authorization or interrupted-install compatibility gaps. Priority: P2 Before merge
Findings
Agent review detailsHow this fits togetherClaws package an agent’s workspace, plugins, skills, MCP servers, and scheduled work. The Gateway turns verified package contents into a reviewable plan, then uses existing installation owners to create the agent and record ownership. flowchart TD
A[ClawHub package] --> B[Verified installation plan]
B --> C[Operator capability review]
C --> D{Current administrator authority}
D -->|Allowed| E[Canonical installation owners]
D -->|Denied| F[Reject installation]
E --> G[Agent and ownership records]
Technical reviewBest possible solution: Keep one canonical Claw lifecycle path with complete capability evidence and consent across Add and Update, recoverable interrupted installs, and live authority enforced at every final effect. Do we have a high-confidence way to reproduce the issue? Yes, from source: plugin version changes lose required preflight evidence, plugin additions through CLI Update lack consent, and previewing an existing agent ID throws. These paths were not executed during this read-only review. Is this the best way to solve the issue? Unclear as submitted: reusing canonical installers and SQLite workers is appropriate, but the shared contract must be carried through Update and blocked previews must remain reviewable. Full review comments:
Overall correctness: patch is incorrect AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against d794f3d9b248. Merge-risk optionsMaintainer options:
SecurityNone. EvidenceWhat I checked:
PR surfacePR surface statistics unavailable: the file list is incomplete. Review metrics
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 HistoryReview history (2 earlier review cycles)
Reviewed October 7, 2026, 7:25 PM ET / 23:25 UTC (Revision 3). |
530268c to
73ab36e
Compare
|
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 2/16. Previous: #163295 | Next: #163297. Published checkpoint:
73ab36e86fce.The stack now includes 45 previously local follow-up commits in four additional draft PRs, ending at #166801 (
9e653a8ed286). Fresh combined-tip checks passed: 100 backend tests and 13 built-UI browser tests with a mocked Gateway. Before/after review captures are attached. Evidence below that names6765a8741e4remains historical evidence for that revision, not a new real-ClawHub run or per-layer CI result.The stack remains draft and its first layer conflicts with current
main. Reconciliation, exact-head CI/review, and the existing release gates remain outstanding. No merge or deployment is authorized by this publication.What Problem This Solves
Catalog search is a dead end unless a user can preview and safely add the selected Claw.
User Impact
The Gateway can plan and apply Add from a local package or official ClawHub release, with explicit review of effects and plugin capabilities. The CLI still accepts local sources; registry Add is delivered through the Gateway/UI. The required
OPENCLAW_EXPERIMENTAL_CLAWSenvironment gate is removed, with the replacement Labs gate completed later in this same stack.Why This Change Was Made
Add reuses canonical package installation and worker-owned state writes, binds plugin installation to reviewed consent, and carries ClawHub provenance into installed records. It overlaps the backend journey in Gio's #162987; the branches should be reconciled, not merged independently.
Evidence
Gateway plan/apply, plugin consent, package-runtime, and state-worker regression tests are included. At final stack tip
6765a8741e4,pnpm check:changedand installable-tarball integrity passed. All 30 latest official ClawHub artifacts downloaded with matching size/SHA-256 and produced zero-blocker Gateway Add plans. An installed OpenClaw host reviewed and added@openclaw/[email protected]; its review disclosed one Lobster plugin and required consent. A real task invoked Lobster and wrote the requested handoff; Labs-off status and Remove also succeeded. After correcting Executive Assistant's version, the local 30-package source-sync dry run reports 30 exact-match skips; production publication and security review remain outstanding.Release gate: Land the OpenClaw stack together only after ClawHub #3883 and local publish-to-real-task lifecycle proof.