RFC 0017: Command Catalog#32
Conversation
|
Codex review: found issues before merge. Reviewed July 11, 2026, 5:20 PM ET / 21:20 UTC. Summary Reproducibility: not applicable. This PR proposes a new architecture and CLI contract rather than reporting broken existing 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 findings
Review detailsBest possible solution: Keep the RFC open in draft, create and link the required maintainer discussion, then record the sponsored v1 namespace, stable fields, plugin metadata rules, and Gateway boundary before acceptance. Do we have a high-confidence way to reproduce the issue? Not applicable; this PR proposes a new architecture and CLI contract rather than reporting broken existing behavior. Is this the best way to solve the issue? Unclear pending maintainer direction; the narrow command-owned inventory is the safer option, but its stable fields and relationship to existing discovery surfaces require explicit sponsorship. Full review comments:
Overall correctness: patch is correct AGENTS.md: not found in the target repository. Codex review notes: model internal, reasoning high; reviewed against a8e0ba2701d6. 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 (20 earlier review cycles; latest 8 shown)
|
|
@clawsweeper re-review |
c18be55 to
e02dfd5
Compare
e02dfd5 to
87e401f
Compare
87e401f to
c5ef1d7
Compare
c5ef1d7 to
767108a
Compare
Why this exists
Compliance and enterprise operations need a dependable answer to a basic question: what command surfaces can this OpenClaw deployment expose? Today that information is spread across core CLI descriptors, routed commands, the live Commander tree, plugins, and paired nodes.
A shared, read-only inventory would let operators and automation enumerate those surfaces and consistently report provenance, read versus mutation effects, confirmation requirements, and elevated risk where the owning registry knows them. It would not execute commands or become a policy engine.
Existing issues show demand for parts of this capability, though none is an exact duplicate:
Prompt-related requests provide evidence for one future consumer: #14619 covers duplicated tool-list prompt text, #14785 covers tool-schema token overhead, and #41417 requests assembled-prompt inspection. The same inventory could later support generated docs, compatibility fixtures, diagnostics, policy checks, and scoped operator/model views. The initial CLI does not claim prompt-token savings.
What this RFC proposes
A read-only Command Catalog built from command information OpenClaw already owns.
Option A: commands list and inspect (recommended)
This option follows noun-based groups such as
pluginsandskills, stays command-owned, and excludes ownerless tool adapters and aggregate audit/test/summary reports.PR3 is a separately reviewed follow-up on the fork. It is not included in the initial upstream draft.
Option B: broader catalog
This remains available as a concrete alternative with command-like tool adapters and operational lenses.
Existing Gateway surface
Gateway
commands.listremains the agent-facing chat/native/skill/plugin inventory. Option A adds an operator/developer CLI inventory; it does not replace or change that RPC. Future convergence is a maintainer decision.ClawSweeper follow-up completed
The linked implementation now:
effectProfile,commandExposure, andhidden, including defaults and an external-plugin example; andProof summary from
90a7b1ca2b:Lifecycle boundary
The RFC remains
draft. The required OpenClawmaintainer-discussionthread still must be created and linked before acceptance. Namespace, stable schema, plugin metadata, and Gateway convergence are maintainer decisions rather than contributor-declared contracts.Feedback requested
openclaw commandsboundary clear and useful?commands.listand live paired-node command declarations?