Skip to content

describeApprovalEntry

describeApprovalEntry(entry): string

Defined in: _worktrees/docs-release/gaunt-sloth/packages/core/src/core/approvals/matcher.ts:475

A one-line rendering of an entry, for the provenance a refusal message and an escalation prompt must carry (§3, §3.2) and for the /approvals list display.

A shell + exact entry renders as its bare pattern — that is the command the user wrote, and decorating it would only get between them and the line they are looking for. Everything else says what kind of thing it is, because a pattern that is not the command needs to be readable as one.

ApprovalEntry

string