# Audit ReplayToken AGENTS ## Purpose & Scope - Working directory: `src/__Libraries/StellaOps.Audit.ReplayToken/`. - Roles: backend engineer, QA automation. - Focus: deterministic replay token generation, canonicalization, expiration handling, and replay CLI snippet generation. ## Required Reading (treat as read before DOING) - `docs/README.md` - `docs/07_HIGH_LEVEL_ARCHITECTURE.md` - `docs/modules/platform/architecture-overview.md` - Relevant sprint files. ## Working Agreements - Keep token generation deterministic (stable ordering, invariant formatting). - Preserve offline/air-gap posture (no network calls). - Validate inputs explicitly and use stable error semantics. - Update `docs/implplan/SPRINT_*.md` and local `TASKS.md` when starting or completing work. ## Testing - Use xUnit + FluentAssertions; prefer deterministic fixtures. - Cover canonicalization, parsing, expiration, and CLI snippet formatting.