# goose · 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: [goose](https://ai-agents-review.com/runtime/goose.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/goose/declarative-configuration

## Rationale

Free-form YAML, keys read ad hoc, unknown keys silently ignored; only a few keys parse strictly. No general type validation

## 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: free-form YAML merged system → user → `GOOSE_ADDITIONAL_CONFIG_FILES`, env vars override. No schema; keys read ad hoc, unknown keys silently ignored; a few keys parse strictly. Recipes get structured validation (`goose recipe validate`). [I24][I25][I26]

## Evidence cited by the mark

- [I24] goose — https://github.com/aaif-goose/goose/blob/c546eaa1cd02696e4cd628e203df51429e158175/crates/goose/src/config/base.rs#L773-L796 — `get_param`: env first, then merged YAML; no schema (no `deny_unknown_fields` in crates/goose/src) — [S]
- [I25] goose — https://github.com/aaif-goose/goose/blob/c546eaa1cd02696e4cd628e203df51429e158175/crates/goose/src/config/base.rs#L798-L818 — `get_param_strict` for keys such as `GOOSE_MODE` — [S]

## Evidence also cited by the review finding

- [I26] goose — https://github.com/aaif-goose/goose/blob/c546eaa1cd02696e4cd628e203df51429e158175/crates/goose/src/recipe/validate_recipe.rs#L483-L660 — recipe validation (prompt/instructions, parameters, response JSON schema) — [S]

## Grading record

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