approvalsStatusNotice
approvalsStatusNotice(
approvals,allowlist,refusals?,grants?,trust?,options?):SlashCommandNotice
Defined in: _worktrees/docs-release/gaunt-sloth/packages/agent/src/modules/slashCommands.ts:668
CFG-27 — the /approvals DISPLAY: the mode and its description, the rater profile in the two
rated modes, and the allow/deny list sizes. Pure: the surface reads the live posture from the
runner and hands it in.
CFG-39 — it also carries the selectable list, so /approvals with no argument answers “which
mode am I on?” and “what else could I be on?” in one place on EVERY surface. On a TTY the TUI
renders approvalPostureChoices as an interactive picker instead; this is what everything
else shows.
always: undefined means the persisted store has not been loaded, and is rendered — rather
than a misleading 0 — a display must not create the store in order to count it.
Parameters
Section titled “Parameters”approvals
Section titled “approvals”allowlist
Section titled “allowlist”always
Section titled “always”number | undefined
session
Section titled “session”number
refusals?
Section titled “refusals?”readonly ApprovalRefusal[] = []
grants?
Section titled “grants?”readonly ApprovalGrant[] = []
trust?
Section titled “trust?”options?
Section titled “options?”interactive?
Section titled “interactive?”boolean
CFG-39 — set by a surface that is about to render approvalPostureChoices as an interactive picker, so the same four modes are not also printed as text right above it.
Opt-OUT, not opt-in, and that direction is deliberate: every surface that says nothing
gets the full text answer, so a new non-TTY surface cannot ship a /approvals that silently
omits the list. Only the TUI, which demonstrably renders the rows another way, turns it off.