Skip to content

RawConfigValidationOptions

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

The structured outcome of validating a single raw config layer, WITHOUT any side effects (no console output, no exit). This is the read-side counterpart to the loader’s validateRawConfigLayer (which warns + exits inline): gth config validate uses it to render its own output and choose its own exit code.

optional describeProfileDir?: (profile) => string | undefined

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

Renders the directory resolveProfile searched, for the failure message. Supplied by the loader, which alone knows whether this layer’s profiles resolve in the project tree or under ~/.gsloth; undefined (from the hook or the field) means the project location.

string

string | undefined


optional resolveProfile?: (profile) => boolean

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

CFG-26 — resolves an identity profile NAME to “does it exist?”. Supplied by the loader (resolveIdentityProfileConfigPath); omitted by pure/in-memory callers, which then skip the approvals.rater.profile existence check.

string

boolean