Skip to content

ApprovalRefusal

Defined in: _worktrees/docs-release/gaunt-sloth/packages/core/src/config/shell-policy.ts:1367

[[EXT-107]] — one refusal in force, for the /approvals display and the removal it offers.

index is 1-based and is the number /approvals undeny <n> takes. Display and removal read the SAME list in the same order, so a number on screen and a number in the command can never name different entries — the failure a separately-built removal index would eventually produce, silently, on a refusal.

description: string

Defined in: _worktrees/docs-release/gaunt-sloth/packages/core/src/config/shell-policy.ts:1371

The entry, through describeApprovalEntry — the one-liner every provenance message uses.


index: number

Defined in: _worktrees/docs-release/gaunt-sloth/packages/core/src/config/shell-policy.ts:1369

1-based position in the rendered list, and the argument the removal command takes.


origin: ApprovalRefusalOrigin

Defined in: _worktrees/docs-release/gaunt-sloth/packages/core/src/config/shell-policy.ts:1373

Which of the three lists this refusal is held in.


optional recordedAt?: string

Defined in: _worktrees/docs-release/gaunt-sloth/packages/core/src/config/shell-policy.ts:1375

ISO-8601 instant the refusal was recorded. Absent on a configured entry, which has none.