PromptsConfig
PromptsConfig =
Partial<Record<PromptSegmentName,PromptSegmentSetting>> &object
Defined in: _worktrees/docs-release/gaunt-sloth/packages/core/dist/config/types.d.ts:86
GS2-43 — the unified prompts config object. Replaces the removed flat
projectGuidelines / projectReviewInstructions keys and makes all seven prompt
segments retargetable through config. Sibling keys are trivially addable (GS2-44 will
add agents for AGENTS.md auto-discovery), so keep segment names and future siblings
in this one flat namespace.
CFG-70’s paths is such a sibling: a list of ScopedPromptsEntry. It is written as an
intersection rather than by widening the Record so the seven segment names keep their exact
PromptSegmentSetting type and paths keeps its own.
Type Declaration
Section titled “Type Declaration”paths?
Section titled “paths?”
optionalpaths?:ScopedPromptsEntry[]
CFG-70 — path-scoped overlays, in the order the user wrote them. Across config layers this
list replaces rather than concatenates (the deepMerge default), so a project config’s
list wholly supersedes a global one.