Repository navigation
fix(protocol): accept config hint documentation URLs - #116063
Conversation
|
Codex review: needs real behavior proof before merge. Reviewed July 29, 2026, 3:58 PM ET / 19:58 UTC. ClawSweeper reviewWhat this changesThe PR adds an optional documentation-URL field to Gateway config UI hints and tests that full-schema and path-lookup responses accept it. Merge readinessThe patch is a narrow, correct additive repair: both Priority: P2 Review scores
Verification
How this fits togetherOpenClaw generates config schema and UI-hint metadata for the Control UI, CLI tooling, and plugin-aware consumers. The Gateway protocol validates those responses before clients receive them, so a hint property absent from the protocol schema causes the otherwise valid response to be rejected. flowchart LR
A[Config schema generator] --> B[UI hint metadata]
B --> C[Gateway response validator]
C --> D[Full schema response]
C --> E[Path lookup response]
D --> F[Control UI and tooling]
E --> F
Before merge
Agent review detailsSecurityNone. PR surfaceSource +1, Tests +14. Total +15 across 2 files. View PR surface stats
Review metrics
Merge-risk optionsMaintainer options:
Technical reviewBest possible solution: Merge the additive shared-schema change after the exact-head required checks complete, preserving Do we have a high-confidence way to reproduce the issue? Yes, from source: Is this the best way to solve the issue? Yes. Adding the optional field at the shared response-schema boundary is the narrowest maintainable fix because it covers full schema, resolved lookup, and child-hint validation without duplicating policy or changing the protocol version. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against 0021e51f22fc. LabelsLabel changes:
Label justifications:
EvidenceWhat 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
|
|
Merged via squash.
|
What Problem This Solves
Fixes an issue where config schema lookup failed when canonical UI hints included a documentation URL. This blocked the Kitchen Sink RPC package lane during beta.6 validation because the gateway rejected its own
hint.docsUrloutput as an unexpected property.Why This Change Was Made
The shared config hint contract already emits optional documentation URLs. This adds the same optional field to the additive Gateway protocol validator and covers both full-schema and lookup responses. No protocol version bump or compatibility shim is needed.
User Impact
Config schema consumers and official plugins can use documentation-linked hints without
config.schema.lookupfailing validation.Evidence
config.schema.lookup returned invalid payloadat/hintbecausedocsUrlwas rejected.git diff --checkpassed.