ApprovalMatcherOptions
Defined in: _worktrees/docs-release/gaunt-sloth/packages/core/src/core/approvals/matcher.ts:195
Tuning + seams for resolveApprovalRules. All optional; the defaults are the product’s.
Properties
Section titled “Properties”annotations?
Section titled “annotations?”
optionalannotations?:EffectiveToolAnnotationSource
Defined in: _worktrees/docs-release/gaunt-sloth/packages/core/src/core/approvals/matcher.ts:200
Where a hint entry reads its effective values (§4.7.1). Build it with
createEffectiveToolAnnotationSource; defaults to failClosedToolAnnotations.
optionalnow?: () =>number
Defined in: _worktrees/docs-release/gaunt-sloth/packages/core/src/core/approvals/matcher.ts:210
Clock, injectable so the budget backstop is testable without a pathological pattern.
Returns
Section titled “Returns”number
onNotice?
Section titled “onNotice?”
optionalonNotice?: (notice) =>void
Defined in: _worktrees/docs-release/gaunt-sloth/packages/core/src/core/approvals/matcher.ts:206
Where a run-time report goes — the established ShellApprovalGateNotice shape, which the
runner forwards to statusUpdate. Absent means the report is dropped, which is why the runner
always passes one.
Parameters
Section titled “Parameters”notice
Section titled “notice”Returns
Section titled “Returns”void
regexpBudgetMs?
Section titled “regexpBudgetMs?”
optionalregexpBudgetMs?:number
Defined in: _worktrees/docs-release/gaunt-sloth/packages/core/src/core/approvals/matcher.ts:208
Override REGEXP_MATCH_BUDGET_MS.