Skip to content

approvalPostureChoices

approvalPostureChoices(current): ApprovalPostureChoice[]

Defined in: _worktrees/docs-release/gaunt-sloth/packages/agent/src/modules/slashCommands.ts:724

CFG-39 — the picker’s rows: the four postures, in ladder order, each carrying its own copy.

The strings come from APPROVAL_RUNG_DESCRIPTIONS, never from the menu. Six surfaces describe these modes; a picker that authored its own text would become the seventh and the one that contradicts the rest. Whoever owns that constant owns this copy too, with no second edit.

write has no row — it is a modifier of Manual rather than a fifth posture — but it stays settable via /approvals write. When the session IS on write, no row is marked current, which is correct: the caller reports the live mode from its own title rather than letting a picker row claim the session is on Manual when it is not.

"write" | "manual" | "assisted" | "auto" | "bypass"

ApprovalPostureChoice[]