Skip to content

PROBE_NAME

const PROBE_NAME: "__usage_probe__" = "__usage_probe__"

Defined in: src/usage-probe.ts:17

Reserved herdr name/label for the ephemeral usage probe. The underscores are load-bearing: prompt-derived session slugs are [a-z0-9-] only (see namer.ts), so no real session can ever collide with this name. Anything reaped by name === PROBE_NAME is therefore unambiguously a probe — never a user’s session. A bare “usage-probe” would NOT be safe: normalize("usage probe") slugs to exactly that, so a user prompt could take the name and get killed mid-turn.