StellaOps.Audit.ReplayToken
Deterministic replay token generation used to make triage decisions and scoring reproducible and audit-ready.
Token format
v1 (no expiration):
replay:v1.0:<algorithm>:<sha256_hex>
Example:
replay:v1.0:SHA-256:0123abcd...
v2 (includes expiration):
replay:v2.0:<algorithm>:<sha256_hex>:<expires_unix_seconds>
Usage
- Create a
ReplayTokenRequestwith feed/rules/policy/input digests. - Call
IReplayTokenGenerator.Generate(request)to get a stable token value. - Store the token's
Canonicalstring alongside immutable decision events. ReplayToken.ParseusesDateTimeOffset.UnixEpochforGeneratedAtbecause the canonical format does not include generation time.