docs: add /nodes openclaw.json example (AI-assisted)#92678
Conversation
|
Codex review: needs maintainer review before merge. Reviewed June 13, 2026, 9:16 AM ET / 13:16 UTC. Summary PR surface: Docs +24. Total +24 across 1 file. Reproducibility: not applicable. as a runtime bug; this is a docs clarification. Source inspection of current 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
Security Review detailsBest possible solution: Land one source-backed Do we have a high-confidence way to reproduce the issue? Not applicable as a runtime bug; this is a docs clarification. Source inspection of current Is this the best way to solve the issue? Yes, this is a maintainable docs-only solution because the snippet mirrors the current schema and runtime allow/deny semantics. The best merge path still requires choosing or reconciling it with the broader sibling PR. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against dc493bc9a2b6. Label changesLabel changes:
Label justifications:
Evidence reviewedPR surface: Docs +24. Total +24 across 1 file. View PR surface stats
What 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
|
|
Closing this as covered by #92677, which has now landed as d912909. I used #92677 as the canonical patch because it covers the broader /nodes config shape from #92662: node pairing, command allow/deny policy, node exec routing, and per-agent node pinning. I folded in the important part from this PR too: exact denyCommands matching plus the config-reference pointer, and credited you in the squash message. Thanks for the parallel fix here. |
Summary
/nodeswith a compact~/.openclaw/openclaw.jsonexample forgateway.nodes.allowCommandsandgateway.nodes.denyCommands.denyCommandsuses exact command names and overrides defaults or explicit allow entries.Linked context
Closes #92662
Requested by the issue reporter via docs feedback for
https://docs.openclaw.ai/nodes.Real behavior proof (required for external PRs)
/nodesnow includes a directopenclaw.jsonexample for configuring selected high-risk node commands.docs/nodes-openclaw-json-example, based onupstream/mainat4c23d1d597.pnpm docs:list;git diff --check upstream/main...HEAD;DOCS_I18N_GLOSSARY_BASE=upstream/main pnpm check:docs.docs/nodes/index.mdnow contains the JSON5 example under Command policy;pnpm check:docscompleted withSummary: 0 error(s),Docs MDX check passed (677 files, 7778ms), andbroken_links=0.~/.openclaw/openclaw.jsonexample and the docs validation suite passes against the upstream main base./nodessource hadgateway.nodes.allowCommands/gateway.nodes.denyCommandsprose but no directopenclaw.jsonor JSON5 example on the reported page.Tests and validation
pnpm docs:listgit diff --check upstream/main...HEADDOCS_I18N_GLOSSARY_BASE=upstream/main pnpm check:docsNo regression test was added because this is a docs-only clarification. The docs validation path covers formatting, markdownlint, MDX parsing, i18n glossary checks against the PR base, and internal links.
Risk checklist
Did user-visible behavior change?
NoDid config, environment, or migration behavior change?
NoDid security, auth, secrets, network, or tool execution behavior change?
NoWhat is the highest-risk area?
Docs accuracy for node command allow/deny policy.
How is that risk mitigated?
The example is anchored to the existing
/nodesCommand policy section, uses the currentgateway.nodes.*config keys, and explicitly states thatdenyCommandsoverrides defaults andallowCommands.Current review state
Next action: maintainer review.
Waiting on: CI and reviewer feedback.
Bot/reviewer comments addressed: none yet.