Repository navigation
Add grouped Claw schema and read-only add plan - #101328
Conversation
|
Codex review: needs maintainer review before merge. Reviewed July 20, 2026, 4:39 PM ET / 20:39 UTC. Summary PR surface: Source +2056, Tests +1216, Docs +108. Total +3380 across 25 files. Reproducibility: not applicable. This PR adds a new experimental capability rather than fixing a reported current-main defect. Its submitted isolated CLI transcript and lifecycle E2E cover the proposed inspect, dry-run, and fail-closed paths. Review metrics: 1 noteworthy metric.
Stored data model Root-cause cluster Members:
Proposal only: this assessment does not dispatch repair, suppress jobs, mutate sibling items, close, or merge anything. Merge readiness Overall follows the weaker of proof and patch quality, so missing proof can cap an otherwise strong patch. Rank-up moves:
Risk before merge
Maintainer options:
Next step before merge
Maintainer decision needed
Security Review detailsBest possible solution: Accept or reject the core-owned experimental Claws contract as a deliberate product boundary; if accepted, merge this read-only base before reviewing its dependent mutation slices. Do we have a high-confidence way to reproduce the issue? Not applicable: this PR adds a new experimental capability rather than fixing a reported current-main defect. Its submitted isolated CLI transcript and lifecycle E2E cover the proposed inspect, dry-run, and fail-closed paths. Is this the best way to solve the issue? Unclear: the patch is a coherent read-only implementation, but whether this grouped lifecycle belongs in OpenClaw core rather than existing external seams requires maintainer product direction. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against a52eb2134b25. Label changesLabel justifications:
Evidence reviewedPR surface: Source +2056, Tests +1216, Docs +108. Total +3380 across 25 files. View PR surface stats
What I checked:
Likely related people:
What the crustacean ranks mean
Shiny media proof means a screenshot, video, or linked artifact directly shows the changed behavior. Runtime, network, CSP, and security claims still need visible diagnostics. How this review workflow works
Review history (29 earlier review cycles; latest 8 shown)
|
cfcd818 to
061a2f2
Compare
01402aa to
7dd8468
Compare
|
@clawsweeper re-review |
|
🦞🧹 I asked ClawSweeper to review this item again. |
|
@clawsweeper re-review Consolidated the Claws validation stack into this single PR and aligned the CLI surface with the RFC: no public \claws plan\ / \claws feed plan; dry-run apply emits the lifecycle plan. |
|
🦞🧹 I asked ClawSweeper to review this item again. |
|
Fresh maintainer review repairs are pushed at signed head
Focused schema/conformance/CLI proof passes 58 tests, targeted Oxfmt/Oxlint and @clawsweeper re-review |
|
🦞🧹 I asked ClawSweeper to review this item again. Re-review progress:
|
4cd28a6 to
203391e
Compare
|
ClawSweeper status: review started. I am starting a fresh review of this pull request: Add grouped Claw schema and read-only add plan This is item 1/1 in the current shard. Shard 0/1. This placeholder means the worker is alive and reading the current context. I will edit this same comment with the actual review when the claws are done clicking. Crustacean status: shell secured, claws on keyboard, evidence pebbles being sorted. |
* Add grouped Claw schema and read-only add plan * test(claws): cover grouped schema and preview * docs(claws): document experimental preview * fix(claws): harden preview consent * fix(claws): satisfy tool filter lint * fix(claws): bind plans to validated sources
Summary
Implements the first read-only slice of merged RFC 0016 behind
OPENCLAW_EXPERIMENTAL_CLAWS=1:planIntegritydigest that later mutation must bind to explicit consent.openclaw claws inspect <source>andopenclaw claws add <source> --dry-run; without the process opt-in,clawsis absent from registration and help.This PR does not mutate config or disk, run package installers, configure MCP, create cron jobs, or persist provenance. Package actions remain explicit blockers until the package-owner lifecycle slice later in the stack.
Review fixes
Fresh maintainer review on 2026-07-21 identified and fixed three fail-closed gaps:
ENOENTandENOTDIRprove workspace absence; permission, I/O, and other probe failures block the workspace and dependent actions.The repair is signed at exact head
4cd28a6c490c8bd3dc0c1a0e9a30b8c0ed5c1c67.Stack
13819ef73d3aValidation
Focused exact-head proof:
pnpm buildpasses. Localpnpm checkreaches only the npm shrinkwrap guard for root,extensions/llama-cpp, andextensions/twitch; latestorigin/mainreproduces those same unrelated failures and additionally reportsextensions/msteams. The PR does not touch dependency manifests or shrinkwraps.The broad local
pnpm testrun completed 294 shards but reported unrelated failures across 46 non-Claws files. Focused Claws schema/conformance/CLI tests pass, and fresh exact-head hosted CI is the merge gate.Documentation
Introduces the public experimental Claws guide and CLI navigation with the opt-in flag, grouped JSON authoring,
inspect, and read-onlyadd --dry-run. Later lifecycle behavior is intentionally not documented yet.