Skip to content

ConfigLayerValidationReport

Defined in: _worktrees/docs-release/gaunt-sloth/packages/core/src/config/loader.ts:1402

One config LAYER’s validation outcome inside a ConfigValidationReport: the pure read-side result (validateRawGthConfig) plus the source label so a consumer can name WHICH file carried a warning/error (the project path, or "<name> (global)").

optional errorMessage?: string

Defined in: _worktrees/docs-release/gaunt-sloth/packages/core/src/config/schema.ts:1562

Present only when ok is false: the path-scoped, multi-line validation message.

RawConfigValidationResult.errorMessage


ok: boolean

Defined in: _worktrees/docs-release/gaunt-sloth/packages/core/src/config/schema.ts:1558

True when the config parses against the schema (unknown keys do NOT make it false).

RawConfigValidationResult.ok


sourceLabel: string

Defined in: _worktrees/docs-release/gaunt-sloth/packages/core/src/config/loader.ts:1404

The resolved config path (project layer) or "<name> (global)" (global layer).


warnings: string[]

Defined in: _worktrees/docs-release/gaunt-sloth/packages/core/src/config/schema.ts:1560

Non-fatal advisories: unknown top-level keys (likely typos). Deprecated shapes are hard errors, not warnings.

RawConfigValidationResult.warnings