pub fn admit_internal_work_jti_once(jti: &str, exp: i64, now: i64) -> boolExpand description
Admit a work-order jti exactly once. Entries expire at the token’s own
exp; the cache reclaims in expiry order, is capacity-bounded
(deployment-configurable), and fails closed when full of unexpired
entries or misconfigured. This is worker-local defense in depth ON TOP of
the envelope replay gates, not a replacement for them.