Repository navigation
RFC 0016: consolidate the Claws contract - #48
giodl73-repo wants to merge 10 commits into
Conversation
cb19a7d to
88ff067
Compare
|
This addendum finalizes portable per-agent tool, filesystem, and memory-search fields in experimental Claw schema v1 and extends the normative lifecycle/consent contract. These are the right documents to own that contract, but the proposed shape currently conflicts with canonical OpenClaw configuration and with its own security and disclosure guarantees. LOC: +201/-19 (3 files) Findings
Best-fix verdict: correct owner and timing, but internally inconsistent as written. Align the memory and policy contracts first, then keep detailed Control UI implementation mechanics in a non-normative plan or linked issue after its disclosure contract is resolved. Specs/contracts read: full RFC 0016 and both normative sidecars; RFC repository guidance and #27 discussion; linked implementation PR #112773; canonical OpenClaw memory config, tool-policy, filesystem-policy, and security-audit owners. Remaining uncertainty: this is a docs/spec review. I did not run contributor-controlled implementation code, and I did not inspect every line of the separate draft Control UI implementation PRs. |
|
Added a non-blocking post-merge roadmap at signed head @clawsweeper re-review |
|
🦞🧹 I asked ClawSweeper to review this item again. Re-review progress:
|
|
Portability feedback is incorporated at signed head Implementation is at openclaw/openclaw#112773. Final Codex review found no actionable correctness issues. |
|
Aligned the RFC and sidecar spec with the reviewed implementation at signed head |
|
Codex review: blocked before merge. Reviewed October 2, 2026, 5:50 PM ET / 21:50 UTC (Revision 31). ClawSweeper reviewWhat this changesThe PR consolidates the Claws agent-package contract into one RFC and four sidecars covering portable manifests, native profiles, authoring, consent, lifecycle recovery, and legacy local Update compatibility. Merge readiness⛔ Blocked before merge - 3 items remain Current main retains the earlier contract, so this proposal remains necessary. No actionable specification defect was found at the reviewed head. Priority: P2 Review scores
Verification
How this fits togetherThis repository records OpenClaw design contracts. Claws specifications describe how an agent package passes through registry validation, local review, and consent before OpenClaw creates or reconciles agent resources. flowchart TD
A[Author project] --> B[Validated agent package]
B --> C[Registry publication and discovery]
B --> D[Local validation and planning]
C --> D
D --> E[Labs gate and operator consent]
E --> F[Canonical resource owners]
F --> G[Installed agent and provenance]
G --> H[Status Update and safe Remove]
Decision needed
Why: These are deliberate compatibility and lifecycle choices, and the discussion does not record acceptance of the current combination. Before merge
Agent review detailsSecurityNone. Review metrics
Root-cause clusterRelationship: Members:
Proposal only: this assessment does not dispatch repair, suppress jobs, mutate sibling items, close, or merge anything. Merge-risk optionsMaintainer options:
Technical reviewBest possible solution: Adopt one explicit experimental contract with a visible Labs transition, preserved operator settings, and recoverable partial operations, while keeping implementation and production rollout approvals separate. Do we have a high-confidence way to reproduce the issue? Not applicable: this PR proposes specification contracts rather than reporting a runtime defect; the local lifecycle evidence covers concrete implementation scenarios. Is this the best way to solve the issue? Yes: consolidating the normative contracts avoids competing drafts, and the latest exception preserves installed local Update without weakening fresh-source validation. AGENTS.md: not found in the target repository. Codex review notes: model internal, reasoning medium; reviewed against 967d9aac7472. LabelsLabel changes: No label changes. Label justifications:
EvidenceWhat I checked:
Likely related people:
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
HistoryReview history (30 earlier review cycles; latest 8 shown)
|
|
The implementation evidence requested by the latest ClawSweeper review is now available: openclaw/openclaw#112773 merged as The final RFC head retains host authority and exact consent disclosure as normative constraints; it does not make the browser projection the authority or permit a Claw profile to bypass host enforcement. @clawsweeper re-review |
|
🦞🧹 I asked ClawSweeper to review this item again. Re-review progress:
|
|
Portability follow-up proposal for the Claws <> Eve discussion: I think this belongs as a non-normative appendix or follow-up spec after RFC 0016 is accepted, not as a blocker for this PR. The narrow contract would be a portable mapping between a Claw package and an Eve agent/template project, validated by one bidirectional demo. Suggested demos:
Likely mapping:
Main pain points to preserve in any bridge: managed-vs-user-owned instruction text, stable resource materialization, exact authority/consent disclosure, subagent isolation, update drift, and proof parity. Eve dynamic instructions and the Marketing Team template make the old Working note with more detail is tracked locally in Refs:
|
|
Follow-up: I opened the Eve portability profile as a separate draft RFC so it can be reviewed without changing the merge decision for this RFC. Draft PR: #63 It keeps RFC 0016 independent of Eve, but makes the bridge concrete: Claw package <-> Eve template mapping, manager-Claw <-> Eve lead/subagent mapping, expected pain points, and two proof demos. |
Clarify UI-only Labs visibility, ungated CLI registration, official ClawHub discovery, operator-owned model and delegation choices, plugin consent, and local E2E release proof for CLAW-1093.
|
Packaged local launch proof for RFC 0016, 2026-10-02:
This is local publish-to-Control-UI-to-real-task lifecycle evidence, not a production ClawHub scan or rollout claim. The RFC remains draft pending maintainer acceptance and the required GitHub implementation issue metadata. |
|
RFC #48 now matches the official-only discovery boundary at |
|
Closing this RFC as paused at the author's request while reducing the active proposal queue. This is a prioritization decision, not a statement that the design was rejected, accepted, shipped, or superseded. The branch, commits, and discussion history are retained. Reopen when the author and relevant maintainers choose to resume a concrete scope and refresh the proposal against current implementation and ownership boundaries. This closure does not merge, close, or change any implementation PR, fork, or deployed behavior. |
Supersedes #52 and #56 by folding their still-relevant contracts into RFC 0016.
What Problem This Solves
The Claws contract was split across overlapping RFC drafts while package, profile, bootstrap, extension, heartbeat, memory, metadata, and project behavior continued to converge.
Why This Change Was Made
This revision makes draft RFC 0016 and its four normative sidecars the proposed schema-v1 contract. The public launch uses a dedicated, default-off Claws Labs setting;
OPENCLAW_EXPERIMENTAL_CLAWScannot bypass it. Conforming packages cannot choose models, providers, named delegates, or subagent policy; ordinarysessions_spawnremains an agent tool under host policy. Initial catalog discovery is official@openclaw/*only, without removing gated third-party direct package access.The latest amendment narrowly preserves Update for an already installed experimental local Claw: default Update may read recognized retired
agent.modelandagent.subagentsfields only from its recorded canonical source path, including changed contents, warn that they are ignored, bind the new complete snapshot to the plan, and leave operator settings untouched. Fresh Add/Inspect/build/publish and explicit--fromUpdate remain strict and require a corrected source plus fresh consent.User Impact
Implementers get one coherent proposed contract for publish, review, Add, Update, Status, and safe Remove. Existing environment-enabled testers will need to enable the persisted Labs setting for new Add/Update. Installed agents continue running when Labs is off; status and removal remain available.
Evidence
ef918cf68c9782444b447c0625b818b2db377bf7changes only five specification files.git diff --check gio/pr-48...HEADpassed, and pre-pushcodex review --base gio/pr-48found no actionable defect in the latest compatibility amendment.57e20cc6188f84d7df7f9b1d124b52f91df5f2b5passed package integrity and ran against a real local ClawHub with 30 latest official Claws. Its Control UI completed the Labs/catalog, reviewed plugin-backed Add, Update 0.1.5 to 0.1.6, Remove, and re-Add path; a direct Lobstertools.invokeexecuted. Agent chat at this revision timed out, so this is not claimed as a completed chat task on that exact package.57e20ccOpenClaw source passedpnpm check:changed, 11 catalog browser tests, and 37 relevant UI page tests. Newer local stack changes, including the current package rebuild, are not covered by that packaged run and require fresh validation before launch.Before Merge
This remains a draft RFC. Maintainers must accept the Labs transition and partial-operation recovery semantics, then set accepted status and the repository-required canonical GitHub implementation issue. The local runs do not authorize a public rollout, production registry publication, or merge of the dependent implementation PRs.