# Audit ReplayToken Tests AGENTS ## Purpose & Scope - Working directory: `src/__Tests/StellaOps.Audit.ReplayToken.Tests/`. - Roles: QA automation, backend engineer. - Focus: unit/security coverage for replay token generation, parsing, and expiration logic. ## 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 tests deterministic (fixed time providers, stable inputs). - Use explicit assertions for canonicalization and parsing behavior. - Avoid wall-clock dependencies for time-sensitive tests. - Update `docs/implplan/SPRINT_*.md` and local `TASKS.md` when starting or completing work. ## Testing - Use xUnit + FluentAssertions + TestKit. - Include coverage for canonicalization ordering, expiration, and parsing edge cases.