Repository navigation
fix(claws): review verified manifests and respect host plugin policy - #166798
Patrick-Erichsen wants to merge 16 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. Reviewed October 7, 2026, 7:27 PM ET / 23:27 UTC. ClawSweeper reviewWhat this changesThe PR exposes verified Claw manifests before Add and Update, enforces host plugin policy, preserves export licenses, and adjusts workspace selection and removal cleanup. Regression provenancePossible regression — suspected (reviewed change). No predecessor PR is attributed. Merge readiness⛔ Blocked before merge - 6 items remain This layer contains useful work absent from current main and should remain open. A delayed Remove result can clear a recreated agent’s directory ownership, and authority-boundary and existing-cache compatibility evidence remain incomplete. Priority: P2 Review scores
Verification
How this fits togetherClaws package agent configuration, workspace files, and optional plugins for installation. The Gateway turns verified packages into reviewed plans, while the Control UI collects consent and lifecycle owners apply or remove the resources. flowchart TD
A[Official package archive] --> B[Verify package and manifest]
B --> C[Gateway review plan]
D[Host policy and ownership] --> C
C --> E[Control UI review and consent]
E --> F[Revalidate live authority]
F --> G[Install update or remove resources]
Before merge
Findings
Agent review detailsSecurityNone. PR surfaceSource +666, Tests +1088, Docs +13, Other 0. Total +1767 across 52 files. View PR surface stats
Review metrics
Stored data modelPersistent data-model change detected: Merge-risk optionsMaintainer options:
Technical reviewBest possible solution: Keep one verified lifecycle owner that binds consent to exact artifacts, preserves replacement-agent ownership, and can recover older verified source caches without discarding license integrity. Do we have a high-confidence way to reproduce the issue? Yes, source establishes a focused PR regression scenario: complete child removal, recreate the same agent and directory before child settlement, then let the old Gateway completion unregister that directory. This was not executed, and it is not a current-main reproduction. Is this the best way to solve the issue? Partly: reusing canonical policy, consent, and cleanup owners is appropriate, but directory retirement needs incarnation protection and archive verification needs an existing-cache recovery path. 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. LabelsLabel changes:
Label justifications:
EvidenceWhat I checked:
Likely related people:
Rank-up movesOptional improvements that raise the rating; they are not merge blockers.
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
|
|
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 13/16. Previous: #163307 | Next: #166799. Published checkpoint:
e05149e2b6b4.Full stack tip: #166801. Earlier local-ClawHub lifecycle evidence remains in #163307, tied to its recorded revision.
What Problem This Solves
A Claw review could omit the exact grouped manifest, and installation could proceed despite host plugin policy or leave workspace ownership difficult to reconcile.
User Impact
Users can inspect the verified manifest before Add or Update. Host-disabled, denied, or unlisted plugins stop before installation. Re-adding a removed Claw selects a fresh workspace, and verified exports preserve their package license.
Why This Change Was Made
Bind manifest disclosure and reviewed workspace facts to the accepted plan, retain the verified archive for later source checks, and use existing plugin and agent ownership checks before effects. This layer contains the previously local source, export, removal, policy, and manifest-review follow-ups.
Evidence
9e653a8ed286: 100 focused backend tests passed on October 7 in 64.75 seconds, including exact artifact resolution, manifest projection, host plugin policy, staged capability recheck, Remove authority, and approval request routing.2ab926ce8c93exposes action/capability review. After screenshot: the combined stack also exposes the exact grouped manifest. Captures use synthetic package data.pnpm check:changedresult applies to the unchanged combined tip; it was not rerun after a rebase because no new rebase was performed.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.