RFC: Claws - #27
Conversation
|
Codex review: needs real behavior proof before merge. Reviewed July 20, 2026, 12:10 AM ET / 04:10 UTC. Summary Reproducibility: not applicable. This PR proposes a new experimental product and lifecycle contract, rather than reporting a failing current behavior. Review metrics: 2 noteworthy metrics.
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: Obtain maintainer sponsorship for a narrowly scoped experimental Claws contract, with explicit ownership of the OpenClaw and ClawHub landing sequence; otherwise narrow the RFC to an already-approved extension boundary. Do we have a high-confidence way to reproduce the issue? Not applicable: this PR proposes a new experimental product and lifecycle contract, rather than reporting a failing current behavior. Is this the best way to solve the issue? Unclear: the proposal is detailed and scoped, but only maintainers can determine whether a portable complete-agent package contract is the right long-term product boundary. AGENTS.md: not found in the target repository. Codex review notes: model internal, reasoning high; reviewed against 2d213ae23462. Label changesLabel changes:
Label justifications:
Evidence reviewedWhat 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 (54 earlier review cycles; latest 8 shown)
|
82394de to
97e4220
Compare
9238395 to
c063c27
Compare
c063c27 to
e145b5d
Compare
06c548e to
16fb475
Compare
8741ab7 to
5506bba
Compare
|
Updated the RFC and both sidecars in 892c60f for the agreed one-gate incubation model. CLAW.md and grouped JSON now share the existing Claws experimental gate; CLAW.md is a thin reader/export adapter with no separate lifecycle, ownership, provenance, or package dependency. #106888 is restored as PR 12 in the landing stack, and ClawHub uses its existing Claws gate rather than a format-specific flag. Final Codex review found no actionable contradictions. @clawsweeper re-review |
|
Final implementation-alignment pass pushed at @clawsweeper re-review |
|
🦞🧹 I asked ClawSweeper to review this item again. Re-review progress:
|
|
Follow-up at @clawsweeper re-review |
|
🦞🧹 I asked ClawSweeper to review this item again. Re-review progress:
|
d17fab4 to
8931230
Compare
|
Signed-history update: RFC #27 moved from |
|
Independent review refresh applied at |
|
ClawSweeper status: review started. I am starting a fresh review of this pull request: RFC: Claws 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. |
|
Landed RFC 0016 as squash commit 13819ef73d3ae980b362e2a88ccb3cba90faa21d from reviewed source head e9c2bb478179822132bff54876ff60613d2d4665. The merge preserves the bounded experimental contract and current immutable sidecar links. The dependent OpenClaw implementation stack will now be prepared and landed incrementally in the documented order. |
Summary
claws addcreate a newagents.list[]entry and workspace; existing agent/workspace collisions fail closed.agent,workspace,packages,mcpServers, andcronJobsownership boundaries.CLAW.mdand equivalent grouped JSON under the same experimental Claws gate; export emitsCLAW.md.package.jsonplus authenticated publishing for package identity, version, and publisher ownership.agent.skills, and generic connectors from the portable contract.OPENCLAW_EXPERIMENTAL_CLAWS=1; when disabled, the command is unregistered and absent from help and completions. The hosted experimental guide remains public but cannot enable the local runtime.Implementer specifications
CLAW.mdv1 defines the shared grouped schema, YAML-frontmatter envelope, and equivalent JSON representation.CLAW.mdis deliberately a thin reader/export adapter over the grouped schema. It adds no separate lifecycle, ownership, or provenance behavior and no new package dependency. While Claws remain experimental, the envelope can still be revised or removed before graduation.The RFC remains the product rationale, ownership model, and rollout plan. The sidecars provide the shared implementation contracts for OpenClaw and ClawHub.
Lifecycle and safety
The lifecycle is
inspect,add,status,update,remove, andexport. Read-only plans precede mutation;add,update, andremoverequire--yesplus the exact--plan-integritydigest from the reviewed dry run. Capability escalations are disclosed as separate records and human plan lines. OpenClaw uses one exact integrity confirmation that binds both the disclosed capability set and ordinary content; hosts may present those records separately or aggregate them. Unsupported, blocked, drifted, or ambiguous ownership fails closed.Grouped update uses the source recorded in provenance unless
--fromoverrides it. It rebuilds its plan immediately before mutation, checks expected owner state, advances root provenance last, and compensates completed owners in reverse order. Uncertain config/Gateway calls and package installs without artifact rollback are reported as partial rather than cross-owner atomic.Remove selects unchanged managed resources for canonical cleanup and releases referenced dependency edges by default.
--remove-unusedand repeatable--remove-referencedselect stronger cleanup in both preview and apply;--force-referencedexplicitly acknowledges remaining dependents, independent owners, or pre-existing origin. Cleanup decisions use current canonical owner state and dependency edges, not refcounts or an ownership-history ledger. A confirmed ordinary uninstall remains authoritative and leaves affected Claws degraded and diagnosable.Control UI alignment
openclaw/openclaw#103176 remains the Control UI surface for plugin inventory, installation, enablement/disablement, removal, and curated MCP connector discovery. Claws add package references and shared uninstall warnings to that lifecycle rather than creating a second package ownership system.
Portable MCP declarations remain direct validated
mcp.serversconfiguration and do not create a feed-backed connector identity or replace the Control UI's curated connector shelf.Implementation stack
The experimental OpenClaw landing is an ordered twelve-PR stack. Public experimental documentation begins with the first command in #101328 and each later PR documents only its newly implemented behavior; #111391 adds only
CLAW.mdauthoring and canonical-export documentation.CLAW.mdinput/export adaptation and grouped JSON compatibility (supersedes #106888)The dependent ClawHub track remains a separately gated four-PR experimental stack:
ClawHub accepts
CLAW.mdand equivalent grouped JSON behind its existingCLAWHUB_EXPERIMENTAL_CLAWS=1gate. There is no second format-specific flag.Validation
git diff --check