# nullclaw · Declarative configuration

> Levels are per column and must not be summed, averaged or ranked. A level states which written criterion the runtime's source meets. It is not a measure of quality or task success. Higher is not always preferable.

Source: "Agent runtime comparison: ten open-source agent runtimes, source review", study of 2026-11-28. Mark notation: `3` is the level in the default deployment; `1→4 [opt: …]` is level 1 by default and level 4 in the named configuration; `s` source-verified, `d` documented or test only. Service dependencies are classes (E embedded, O on demand, R resident service, X external server required), not levels.

- Runtime: [nullclaw](https://ai-agents-review.com/runtime/nullclaw.md)
- Column: [Declarative configuration](https://ai-agents-review.com/column/declarative-configuration.md) (Product integration)
- Mark: 1 s
- Default deployment: 1
- Best supported configuration: 1
- Page: https://ai-agents-review.com/cell/nullclaw/declarative-configuration

## Rationale

Hand-walked parsing silently drops unknown keys and wrong-typed values (level-1 anchor); semantic validate() does not lift it

## Rubric 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

## Review finding

Built in: single JSON file `~/.nullclaw/config.json`. Hand-walked parsing silently drops unknown keys and wrong-typed values. `Config.validate()` checks a fixed set of semantic errors before daemon start. No published schema. Some keys are not wired (e.g. idempotency TTL). [I67][I68][I69][I70]

## Evidence cited by the mark

- [I67] nullclaw — https://github.com/nullclaw/nullclaw/blob/5f1cade05c19b6ecdfb9565ae3305e892e484da9/src/config_parse.zig#L1107-L1150 — type-guarded assignments drop wrong-typed values silently — [S]
- [I68] nullclaw — https://github.com/nullclaw/nullclaw/blob/5f1cade05c19b6ecdfb9565ae3305e892e484da9/src/config_parse.zig#L745-L800 — channel structs parsed with `ignore_unknown_fields = true` — [S]
- [I69] nullclaw — https://github.com/nullclaw/nullclaw/blob/5f1cade05c19b6ecdfb9565ae3305e892e484da9/src/config.zig#L1583-L1640 — `Config.validate()` fixed semantic checks — [S]

## Evidence also cited by the review finding

- [I70] nullclaw — https://github.com/nullclaw/nullclaw/blob/5f1cade05c19b6ecdfb9565ae3305e892e484da9/src/gateway.zig#L536-L541 — idempotency store hard-coded `init(300)` (config TTL unused) — [S]

## Grading record

- Grader A (default / best): 1 / 1
- Grader B (default / best): 1 / 1
