docs: propose Claw composition evidence RFC - #60
Conversation
|
Codex review: needs real behavior proof before merge. Reviewed August 7, 2026, 7:42 AM ET / 11:42 UTC. ClawSweeper reviewWhat this changesThis PR adds a draft RFC and implementation plan for a ClawHub Agent BOM that records artifact-bound package composition evidence separately from current registry status. Merge readinessKeep this draft open: it has a concrete contract contradiction that must be corrected before product-direction review can proceed. Priority: P3 Review scores
Verification
How this fits togetherThe RFC repository defines cross-product contracts before OpenClaw and ClawHub implement them. This proposal would let ClawHub expose pre-download composition evidence while applying clients remain responsible for local planning and consent. flowchart LR
A[Claw artifact] --> B[ClawHub publication]
B --> C[Composition resolver]
C --> D[Immutable evidence snapshot]
D --> E[Pre-download inspection]
F[Current registry status] --> E
G[Applying client] --> H[Local plan and consent]
Decision needed
Why: This RFC introduces a new public cross-repository contract whose scope and sequencing cannot be settled by a mechanical documentation correction alone. Before merge
Findings
Agent review detailsSecurityNeeds attention: The proposed contract crosses the documentation-to-runtime resource boundary and needs correction before it can safely guide a public API. Review metrics
Merge-risk optionsMaintainer options:
Copy recommended automerge instructionTechnical reviewBest possible solution: Keep the Agent BOM limited to manifest-declared resources and explicitly exclude the CLAW.md body from resources, graph edges, and applying-client lifecycle semantics. Do we have a high-confidence way to reproduce the issue? Not applicable: this is a documentation-only feature proposal; the contract conflict is directly verifiable from the merged specification and proposed RFC text. Is this the best way to solve the issue? No: mapping the CLAW.md body to a managed resource conflicts with its established documentation-only role; retaining only manifest-declared resources is the narrower maintainable design. Full review comments:
Overall correctness: patch is incorrect AGENTS.md: not found in the target repository. Codex review notes: model internal, reasoning high; reviewed against af708f0ddb6f. LabelsLabel changes:
Label justifications:
EvidenceSecurity concerns:
Acceptance criteria:
What 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
HistoryReview history (19 earlier review cycles; latest 8 shown)
|
Related: #27
Related: #48
Related: #52
Related: #56
Related: openclaw/clawhub#3359
Additional instructions
MUST: Keep Allow edits from maintainers enabled for this PR so maintainers can help update the branch when needed.
What Problem This Solves
ClawHub's current public Claw summary reports component counts but does not identify the exact Skill and Plugin releases, artifacts, publishers, or publication-time evidence contained in one exact Claw release. It also has no contract separating immutable publication evidence from later scan, moderation, and availability changes.
That leaves users without a bounded pre-download answer to “what is in this Claw?” and risks conflating registry evidence with the applying harness's local dry-run and consent responsibilities.
Why This Change Was Made
This draft defines Claw Composition Evidence, presented to users as an Agent BOM, as an immutable safe snapshot bound to the exact Claw artifact SHA-256. It resolves direct package components at publication and exposes current registry status separately so historical evidence is not rewritten.
The proposal keeps the owner boundary narrow: ClawHub owns package identity, exact registry resolution, publication evidence, and current registry facts; OpenClaw or another applying client remains authoritative for runtime mapping, local effects, plan-integrity consent, mutation, provenance, update, and removal.
A sidecar implementation plan splits the work into schema, publication/storage, API/CLI, web, feed/consumer proof, and later follow-ups.
User Impact
This PR changes RFC text only and does not enable a public API or runtime behavior.
If accepted and implemented, users will be able to inspect exact Claw components and safe MCP, cron, workspace, bootstrap, and profile summaries before download, while seeing publication-time evidence separately from current registry warnings or blocks.
Evidence