Repository navigation
fix(claws): bind consent to exact plugin and skill artifacts - #163299
Patrick-Erichsen wants to merge 10 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 changesClaws, OpenClaw’s packaged agent setups, disclose exact plugin artifacts, require reviewed skill-warning consent, preserve CLI source provenance, and transactionally replace managed skills. Review scores
Merge readiness⛔ Blocked before merge - 12 items remain Keep open: this remains useful stack hardening, but all five earlier findings persist at the pinned head. Successful installed-host observations do not resolve rollback authority or recovery compatibility. Priority: P2 Before merge
Findings
Agent review detailsHow this fits togetherClaws turns package manifests and registry artifacts into agent setups through Gateway and CLI lifecycle operations. Reviewed consent controls installation, while package ownership and rollback protect existing plugins, skills, and tracking state. flowchart TD
A[Package manifest and registry artifacts] --> B[Add or Update plan]
B --> C[Artifact and trust review]
C --> D[Consent and current ownership checks]
D --> E[Plugin and skill installers]
E --> F[Agent setup and tracking]
E --> G[Commit or guarded rollback]
Technical reviewBest possible solution: Use one lifecycle owner to bind artifact consent and guard installation, rollback, and tracking writes through settlement, preserving existing skill bytes whenever recovery lacks authority. Do we have a high-confidence way to reproduce the issue? Yes, source inspection establishes the pinned-head receipt-ordering, raw-preflight, and protocol-fixture failures. Runtime reproduction was not executed in this read-only review. Is this the best way to solve the issue? Unclear: artifact-bound consent is the right direction, but transactional recovery must carry current authority to final writes and retain its receipt before post-install checks. Full review comments:
Overall correctness: patch is incorrect AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 40d735e451b1. Merge-risk optionsMaintainer options:
SecurityNeeds attention: Deferred skill rollback lacks current lifecycle authority at final filesystem and tracking effects. EvidenceSecurity concerns:
What I checked:
PR surfaceSource +1294, Tests +2431, Docs +6. Total +3731 across 71 files. View PR surface stats
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:26 PM ET / 23:26 UTC (Revision 3). |
144b0e1 to
9b04624
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 5/16. Previous: #163298 | Next: #163300. Published checkpoint:
9b046246cdc2.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
A reviewed package can install a different plugin or skill artifact unless consent is tied to the exact resolved release.
User Impact
Add and Update disclose pinned plugin artifacts and skill trust changes. Owned ClawHub skills upgrade transactionally, with rollback rather than a partially replaced managed skill.
Why This Change Was Made
Gateway/CLI review tokens now carry artifact and trust details through installation. The package, plugin, and skill installers verify the same resolved source and preserve Claw ownership across updates.
Evidence
Artifact-review, plugin-capability consent, skill-upgrade/rollback, Gateway, and CLI regression tests are included;
pnpm check:changedpassed at final stack tip6765a8741e4. On an installed host, Add review disclosed the pinned Lobster plugin and required consent; the agent then ran Lobster for a real task. A second installed-host profile updated Workflow Operator from0.1.4-claw1093.local.1to0.1.5, replaced the managed plugin, and completed another Lobster task. The main installed host passed Labs-off status/chat and reviewed Remove. 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.