890 B
890 B
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.mddocs/07_HIGH_LEVEL_ARCHITECTURE.mddocs/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_*.mdand localTASKS.mdwhen starting or completing work.
Testing
- Use xUnit + FluentAssertions + TestKit.
- Include coverage for canonicalization ordering, expiration, and parsing edge cases.