Skip to content

docs: show canonical agent roster configuration - #118722

Merged
steipete merged 1 commit into
mainfrom
codex/auto-qa-docs-canonical-agent-entries-cad
Aug 3, 2026
Merged

steipete merged 1 commit into
mainfrom
codex/auto-qa-docs-canonical-agent-entries-cad

Conversation

@steipete

@steipete steipete commented Aug 3, 2026 •

Copy link
Copy Markdown
Contributor

What Problem This Solves

Documentation for heartbeat setup, agent configuration, multi-agent routing, and the agents CLI still teaches the retired array-shaped agent roster or omits its canonical default agent.

Why This Change Was Made

These four authoring guides now consistently show the current keyed agents.entries contract with exactly one explicit default, matching the strict schema, onboarding output, and agent configuration writers.

User Impact

Operators receive consistent, current configuration examples without relying on implicit compatibility normalization. Existing configurations remain fully compatible: normal startup, CLI operations, and Gateway configuration editing already migrate the older shape, and this documentation-only change does not alter runtime behavior.

Evidence

  • Independently parsed and checked all 21 changed JSON5/JavaScript examples against the actual current OpenClawSchema: each original example fails direct strict-schema validation; all 21 updated examples pass.
  • Deep semantic comparisons prove every updated example equals the existing real compatibility migration output, preserving agent IDs, ordering, routing, options, and the selected default.
  • All four Markdown files pass the actual formatter and repository MDX checker; all 65 touched-page links resolve.
  • Independent review confirmed all 105 headings, 66 links, 102 MDX tags, 76 fenced-block languages/order, and four frontmatters are unchanged; documentation shrinks by four lines.
  • Four independent hostile reviews and one genuine gpt-5.6-sol high-reasoning autoreview found no P0–P3 issues; official review confidence 0.99.

Maintainer Review Resolution

The repository owner explicitly delegated autonomous maintainer review and native landing for this campaign; four independent hostile reviews and the exact-head clean Sol review are complete. The protected maintainer label is preserved, and this pull request proceeds through the repository's normal reviewed native landing workflow rather than automated repair or closure.

@openclaw-barnacle openclaw-barnacle Bot added docs Improvements or additions to documentation gateway Gateway runtime size: XS maintainer Maintainer-authored PR labels Aug 3, 2026
@clawsweeper clawsweeper Bot added rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. P3 Low-priority cleanup, docs, polish, ergonomics, or speculative work. labels Aug 3, 2026
@clawsweeper

clawsweeper Bot commented Aug 3, 2026

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge. Reviewed August 3, 2026, 11:14 AM ET / 15:14 UTC.

ClawSweeper review

What this changes

Updates four agent and Gateway documentation pages so their configuration examples use the canonical keyed agents.entries roster with exactly one explicit default agent.

Merge readiness

⚠️ Ready for maintainer review - 1 item remains

Keep this PR open for normal maintainer handling: it is a focused, correct documentation repair, and the protected maintainer label means it should not be auto-closed or sent to an automated repair lane.

Priority: P3
Reviewed head: 3c21f3cff03a7e6a4869771d0d35b4397c13b5e5

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) A focused, source-aligned documentation repair with no blocking findings; protected-label handling remains a human workflow gate rather than a patch-quality concern.
Proof confidence 🌊 off-meta tidepool Not applicable: Real behavior proof is not required because this PR only changes files under docs/.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Verification

Check Result Evidence
Real behavior Not applicable Not applicable: Real behavior proof is not required because this PR only changes files under docs/.
Evidence reviewed 6 items Canonical schema contract: The current strict schema accepts only keyed agents.entries and requires exactly one default: true entry, matching every converted example.
Runtime compatibility boundary: The runtime retains list only as a non-serialized compatibility projection; raw documentation should teach the keyed representation instead.
Configuration writer behavior: The agents identity command serializes its updated roster as agents.entries, so the documentation now matches the writer that operators use.
Findings None None.
Security None None.

How this fits together

OpenClaw documentation teaches operators how to write openclaw.json; these examples feed into the strict configuration parser and then Gateway and CLI configuration workflows. The roster shape determines how an operator names agents and selects the default routing target.

flowchart LR
  A[Authoring guides] --> B[JSON5 roster examples]
  B --> C[Strict configuration schema]
  C --> D[Canonical keyed agent entries]
  D --> E[Gateway and CLI config writers]
  E --> F[Operator routing and agent setup]
Loading

Before merge

  • Complete next step (P2) - The patch is correct, but the protected maintainer label requires normal human landing review rather than automated repair or closure.
Agent review details

Security

None.

PR surface

Docs -4. Total -4 across 4 files.

View PR surface stats
Area Files Added Removed Net
Source 0 0 0 0
Tests 0 0 0 0
Docs 4 85 89 -4
Config 0 0 0 0
Generated 0 0 0 0
Other 0 0 0 0
Total 4 85 89 -4

Review metrics

None.

Technical review

Best possible solution:

Land the focused documentation update after the normal protected-label maintainer review, preserving keyed agents.entries as the only author-facing roster shape.

Do we have a high-confidence way to reproduce the issue?

Not applicable: the PR corrects documentation examples rather than a runtime defect. The documented shape is directly verifiable against the strict schema and config writers.

Is this the best way to solve the issue?

Yes. Replacing retired array examples with keyed entries and one explicit default is the narrowest maintainable fix because it matches the strict parser, compatibility projection boundary, and current CLI writer output.

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning high; reviewed against 73535e4ede7e.

Labels

Label changes:

  • add P3: This is a small documentation consistency repair with no runtime, migration, or user-data behavior change.
  • add rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🌊 off-meta tidepool and patch quality is 🐚 platinum hermit.
  • add status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR. Not applicable: Real behavior proof is not required because this PR only changes files under docs/.

Label justifications:

  • P3: This is a small documentation consistency repair with no runtime, migration, or user-data behavior change.
  • rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🌊 off-meta tidepool and patch quality is 🐚 platinum hermit.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR. Not applicable: Real behavior proof is not required because this PR only changes files under docs/.

Evidence

What I checked:

  • Canonical schema contract: The current strict schema accepts only keyed agents.entries and requires exactly one default: true entry, matching every converted example. (src/config/zod-schema.agents.ts:28, 73535e4ede7e)
  • Runtime compatibility boundary: The runtime retains list only as a non-serialized compatibility projection; raw documentation should teach the keyed representation instead. (src/config/agent-list-projection.ts:4, 73535e4ede7e)
  • Configuration writer behavior: The agents identity command serializes its updated roster as agents.entries, so the documentation now matches the writer that operators use. (src/commands/agents.commands.identity.ts:199, 73535e4ede7e)
  • Complete target-doc conversion: A search of all four files at the PR head found no remaining agents.list or roster list: [ examples; the PR head’s multi-agent routing example is keyed and explicitly marks its default. Public docs: docs/gateway/config-agents.md. (docs/gateway/config-agents.md:1055, 3c21f3cff03a)
  • History and ownership provenance: Blame attributes the replaced documentation baseline to Peter Steinberger; the proposed focused replacement is commit 3c21f3cff03a7e6a4869771d0d35b4397c13b5e5. Public docs: docs/cli/agents.md. (docs/cli/agents.md:178, 0e1a3220ea)
  • Validation evidence: The supplied GitHub context reports successful check-docs, openclaw/ci-gate, and security checks for this documentation-only PR; no local tests were run because this is a read-only review.

Likely related people:

  • steipete: Current documentation blame attributes the replaced roster examples to Peter Steinberger, and the proposed update is his focused follow-up commit aligned with the current config contract. (role: documentation and configuration-area contributor; confidence: high; commits: 0e1a3220ea, 3c21f3cff03a; files: docs/cli/agents.md, docs/concepts/multi-agent.md, docs/gateway/config-agents.md)

Rating scale

Score Internal tier Crab rank Meaning
6/6 S 🦀 challenger crab Exceptional readiness
5/6 A 🦞 diamond lobster Very strong readiness
4/6 B 🐚 platinum hermit Good normal PR; ordinary maintainer review
3/6 C 🦐 gold shrimp Useful, but confidence is limited
2/6 D 🦪 silver shellfish Proof or implementation needs work
1/6 F 🧂 unranked krab Not merge-ready
N/A NA 🌊 off-meta tidepool Rating does not apply

Overall follows the weaker of proof and patch quality.
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.

Workflow

  • ClawSweeper keeps one durable marker-backed review comment per issue or PR.
  • Re-runs edit this comment so the latest verdict, findings, and automation markers stay together instead of adding duplicate bot comments.
  • A fresh review can be triggered by eligible @clawsweeper re-review comments, exact-item GitHub events, scheduled/background review runs, or manual workflow dispatch.
  • PR/issue authors and users with repository write access can comment @clawsweeper re-review or @clawsweeper re-run on an open PR or issue to request a fresh review only.
  • Maintainers can also comment @clawsweeper review to request a fresh review only.
  • Fresh-review commands do not start repair, autofix, rebase, CI repair, or automerge.
  • Maintainer-only repair and merge flows require explicit commands such as @clawsweeper autofix, @clawsweeper automerge, @clawsweeper fix ci, or @clawsweeper address review.
  • Maintainers can comment @clawsweeper explain to ask for more context, or @clawsweeper stop to stop active automation.

@steipete
steipete merged commit 1e06fd4 into main Aug 3, 2026
65 of 70 checks passed
@steipete
steipete deleted the codex/auto-qa-docs-canonical-agent-entries-cad branch August 3, 2026 15:24
@steipete

steipete commented Aug 3, 2026

Copy link
Copy Markdown
Contributor Author

Merged via squash.

vincentkoc added a commit that referenced this pull request Aug 3, 2026
* origin/main:
  fix(onboard): keep referenced provider secrets out of plaintext (#118702)
  docs: show canonical agent roster configuration (#118722)
  fix(channels): generate catalog from package manifests (#118097)
  fix(zalouser): distinguish probe timeout from auth failure (#111336)
  improve(ui): cut E2E shard runtime by reusing the bundle (#118697)
  fix(cli): publish completion caches atomically (#118715)
  fix(whatsapp): honor disabled self-chat without widening group access (#118711)
  fix(voice-call): terminate carrier calls after realtime startup failures (#118699)
  fix(slack): isolate GovSlack media trust and delivery (#118695)
  fix(browser): wrap page-controlled action results (#118691)
  fix(security): sanitize JSON-escaped forged content boundaries (#118698)
  test(qa): prove real yielded-child completion and channel delivery (#118707)
  fix(doctor): honor explicit plugin-only migration authority (#118700)
  fix(security): detect child_process calls through aliases and computed members (#116304)
  test(gateway): avoid async facade mock race (#118708)
  fix(gateway): preserve final speech during transcription shutdown (#118693)
  fix(gateway): resume durable outbound delivery retries (#118694)
  fix(plugins): reject external public-artifact hardlinks (#118689)
vincentkoc added a commit that referenced this pull request Aug 3, 2026
* origin/main: (78 commits)
  fix(parallels): recover Windows poll transport failures (#118479)
  fix(channels): deny unauthorized Discord and Telegram binding access (#118704)
  fix(test): bound shared git inventory lookup (#111171)
  fix(onboard): keep referenced provider secrets out of plaintext (#118702)
  docs: show canonical agent roster configuration (#118722)
  fix(channels): generate catalog from package manifests (#118097)
  fix(zalouser): distinguish probe timeout from auth failure (#111336)
  improve(ui): cut E2E shard runtime by reusing the bundle (#118697)
  fix(cli): publish completion caches atomically (#118715)
  fix(whatsapp): honor disabled self-chat without widening group access (#118711)
  fix(voice-call): terminate carrier calls after realtime startup failures (#118699)
  fix(slack): isolate GovSlack media trust and delivery (#118695)
  fix(browser): wrap page-controlled action results (#118691)
  fix(security): sanitize JSON-escaped forged content boundaries (#118698)
  test(qa): prove real yielded-child completion and channel delivery (#118707)
  fix(doctor): honor explicit plugin-only migration authority (#118700)
  fix(security): detect child_process calls through aliases and computed members (#116304)
  test(gateway): avoid async facade mock race (#118708)
  fix(gateway): preserve final speech during transcription shutdown (#118693)
  fix(gateway): resume durable outbound delivery retries (#118694)
  ...
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Aug 4, 2026
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Aug 4, 2026
* origin/main:
  fix(onboard): keep referenced provider secrets out of plaintext (openclaw#118702)
  docs: show canonical agent roster configuration (openclaw#118722)
  fix(channels): generate catalog from package manifests (openclaw#118097)
  fix(zalouser): distinguish probe timeout from auth failure (openclaw#111336)
  improve(ui): cut E2E shard runtime by reusing the bundle (openclaw#118697)
  fix(cli): publish completion caches atomically (openclaw#118715)
  fix(whatsapp): honor disabled self-chat without widening group access (openclaw#118711)
  fix(voice-call): terminate carrier calls after realtime startup failures (openclaw#118699)
  fix(slack): isolate GovSlack media trust and delivery (openclaw#118695)
  fix(browser): wrap page-controlled action results (openclaw#118691)
  fix(security): sanitize JSON-escaped forged content boundaries (openclaw#118698)
  test(qa): prove real yielded-child completion and channel delivery (openclaw#118707)
  fix(doctor): honor explicit plugin-only migration authority (openclaw#118700)
  fix(security): detect child_process calls through aliases and computed members (openclaw#116304)
  test(gateway): avoid async facade mock race (openclaw#118708)
  fix(gateway): preserve final speech during transcription shutdown (openclaw#118693)
  fix(gateway): resume durable outbound delivery retries (openclaw#118694)
  fix(plugins): reject external public-artifact hardlinks (openclaw#118689)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs Improvements or additions to documentation gateway Gateway runtime maintainer Maintainer-authored PR P3 Low-priority cleanup, docs, polish, ergonomics, or speculative work. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. size: XS status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant