Opened on behalf of Onur Solmaz (osolmaz). This is a prompt request; work is not yet started.
Motivation
OpenClaw PR openclaw/openclaw#84947 added the public plugin manifest config value contracts.embeddingProviders. ClawSweeper correctly routed that PR through the needs-human path because it introduced a new public SDK/config contract and credential/security boundary, then maintainer approval allowed automerge to continue.
That behavior should be systematic for config-surface additions. New config values, CLI flags, env vars, plugin manifest contracts, schema fields, or policy knobs are public API and compatibility decisions. They should not silently pass through normal repair/automerge just because the patch is mechanically correct.
Request
Make ClawSweeper require human/maintainer review whenever a PR adds an OpenClaw config value.
This should be both prompt-level and deterministic:
- Prompt-level: update the review instructions so new config values are treated as
requiresNewConfigOption: true and as maintainer-review work, not as a narrow automated repair/pass.
- Deterministic guard: inspect PR files/patches for config-surface additions and force the review automation marker to
clawsweeper-verdict:needs-human when detected.
- Persist the result in durable report frontmatter, for example
config_surface_change: true and, if practical, config_surface_keys: [...].
- Block
isRepairLoopPassReport(...) from producing a normal pass when this flag is true.
Suggested OpenClaw config-surface areas to cover:
src/config/zod-schema*.ts
src/config/types*.ts
src/config/schema.help.ts
src/config/schema.labels.ts
src/plugins/manifest.ts
src/plugins/manifest-registry.ts
docs/gateway/configuration*.md
docs/plugins/manifest.md
Acceptance Criteria
- A PR adding a root/user config schema field triggers
clawsweeper-verdict:needs-human in the review comment.
- A PR adding a plugin manifest config contract such as
contracts.embeddingProviders triggers the same path.
- In an automerge lane, the routed action adds/keeps
clawsweeper:human-review and blocks merge until maintainer approval.
- Non-semantic documentation wording changes do not trigger this unless they add a config key/value surface.
- Existing review-finding behavior remains intact for non-config PRs.
- Tests cover config-schema additions, plugin-manifest contract additions, and a negative case.
Opened on behalf of Onur Solmaz (
osolmaz). This is a prompt request; work is not yet started.Motivation
OpenClaw PR openclaw/openclaw#84947 added the public plugin manifest config value
contracts.embeddingProviders. ClawSweeper correctly routed that PR through theneeds-humanpath because it introduced a new public SDK/config contract and credential/security boundary, then maintainer approval allowed automerge to continue.That behavior should be systematic for config-surface additions. New config values, CLI flags, env vars, plugin manifest contracts, schema fields, or policy knobs are public API and compatibility decisions. They should not silently pass through normal repair/automerge just because the patch is mechanically correct.
Request
Make ClawSweeper require human/maintainer review whenever a PR adds an OpenClaw config value.
This should be both prompt-level and deterministic:
requiresNewConfigOption: trueand as maintainer-review work, not as a narrow automated repair/pass.clawsweeper-verdict:needs-humanwhen detected.config_surface_change: trueand, if practical,config_surface_keys: [...].isRepairLoopPassReport(...)from producing a normal pass when this flag is true.Suggested OpenClaw config-surface areas to cover:
src/config/zod-schema*.tssrc/config/types*.tssrc/config/schema.help.tssrc/config/schema.labels.tssrc/plugins/manifest.tssrc/plugins/manifest-registry.tsdocs/gateway/configuration*.mddocs/plugins/manifest.mdAcceptance Criteria
clawsweeper-verdict:needs-humanin the review comment.contracts.embeddingProviderstriggers the same path.clawsweeper:human-reviewand blocks merge until maintainer approval.