Functions

selectCommentaryKey

Function: selectCommentaryKey()

selectCommentaryKey(event): string | null | undefined

Defined in: src/recorders/observability/commentary/commentaryTemplates.ts:168

Pick the template key for an event. Branches encoded in the key suffix (no conditional logic in the templates themselves).

null → explicit skip (baseline injections, low-signal events) undefined → fall through to caller's default humanizer string → render templates[key] with extractCommentaryVars

Parameters

event

AgentfootprintEvent

Returns

string | null | undefined

On this page