Files
git.stella-ops.org/src/__Libraries/StellaOps.Audit.ReplayToken
StellaOps Bot 3f197814c5 save progress
2026-01-02 21:06:27 +02:00
..
up
2025-12-15 09:51:11 +02:00
2025-12-25 12:19:12 +02:00
2026-01-02 21:06:27 +02:00
2026-01-02 21:06:27 +02:00
2026-01-02 21:06:27 +02:00
up
2025-12-15 09:51:11 +02:00
up
2025-12-15 09:51:11 +02:00
2026-01-02 21:06:27 +02:00
2026-01-02 21:06:27 +02:00

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 ReplayTokenRequest with feed/rules/policy/input digests.
  • Call IReplayTokenGenerator.Generate(request) to get a stable token value.
  • Store the token's Canonical string alongside immutable decision events.
  • ReplayToken.Parse uses DateTimeOffset.UnixEpoch for GeneratedAt because the canonical format does not include generation time.