Marks / Product integration / Declarative configuration
openclaw · Declarative configuration
Zod strictObject rejects unknown keys by default, with cross-checks; a config.schema RPC serves a machine-readable schema
Level
Criteria for this column
- 0
Configuration only through code or flags
- 1
Config file(s), no validation: unknown keys and wrong types silently ignored
- 2
Config file(s) with type validation, but unknown keys ignored or warning only by default
- 3
Schema-validated config where unknown keys are rejected, or strict mode available and documented
- 4
Level 3 by default, plus semantic checks (limits, references) and a published machine-readable schema
met
What the source review found
Pinned evidence
Cited by the mark
- I84
root
z.strictObject(...)with cross-checks - I85
validation with plugins; invalid config throws
- I78
method descriptors (
tools.invoke,sessions.create,agent,agent.wait,chat.send) with scopesopenclaw/openclaw src/gateway/methods/core-descriptors.ts L116-L345
Also cited by the review finding
- I86
plugin entries validated against manifest
configSchemaopenclaw/openclaw src/config/validation-plugin-config.ts L332-L336
Two independent graders
- Grader A
- 4 / 4
- Grader B
- 4 / 4
- Final
- 4 / 4