more audit work
This commit is contained in:
32
src/__Libraries/__Tests/StellaOps.Replay.Tests/AGENTS.md
Normal file
32
src/__Libraries/__Tests/StellaOps.Replay.Tests/AGENTS.md
Normal file
@@ -0,0 +1,32 @@
|
||||
# StellaOps.Replay.Tests - Local Agent Charter
|
||||
|
||||
## Roles
|
||||
- Backend developer
|
||||
- QA automation engineer
|
||||
|
||||
## Working directory
|
||||
- src/__Libraries/__Tests/StellaOps.Replay.Tests
|
||||
|
||||
## Allowed dependencies
|
||||
- src/__Libraries/StellaOps.Replay
|
||||
- src/__Libraries/StellaOps.Evidence
|
||||
- src/__Libraries/StellaOps.TestKit
|
||||
- src/__Tests/__Libraries/StellaOps.Testing.Manifests
|
||||
|
||||
## Required reading
|
||||
- docs/README.md
|
||||
- docs/07_HIGH_LEVEL_ARCHITECTURE.md
|
||||
- docs/modules/platform/architecture-overview.md
|
||||
- docs/modules/replay/architecture.md
|
||||
- docs/modules/replay/guides/DETERMINISTIC_REPLAY.md
|
||||
- docs/modules/replay/guides/TEST_STRATEGY.md
|
||||
|
||||
## Determinism and test rules
|
||||
- Use deterministic inputs; avoid DateTime.UtcNow, DateTimeOffset.UtcNow, Guid.NewGuid, and Random.Shared in tests.
|
||||
- Use TimeProvider and fixed seeds or fixtures for time- and randomness-dependent tests.
|
||||
- Use CultureInfo.InvariantCulture for parsing and formatting in tests.
|
||||
- Tag tests with TestCategories (Unit, Integration, Performance) and keep integration tests out of unit-only runs.
|
||||
|
||||
## Quality and safety
|
||||
- ASCII-only strings and comments unless explicitly justified.
|
||||
- Keep fixtures small and deterministic; clean up temp resources.
|
||||
@@ -32,7 +32,7 @@ public class ReplayEngineTests
|
||||
var manifest1 = CreateManifest();
|
||||
var manifest2 = manifest1 with
|
||||
{
|
||||
FeedSnapshot = manifest1.FeedSnapshot with { Version = "v2" }
|
||||
PolicySnapshot = manifest1.PolicySnapshot with { LatticeRulesDigest = new string('f', 64) }
|
||||
};
|
||||
|
||||
var engine = CreateEngine();
|
||||
|
||||
10
src/__Libraries/__Tests/StellaOps.Replay.Tests/TASKS.md
Normal file
10
src/__Libraries/__Tests/StellaOps.Replay.Tests/TASKS.md
Normal file
@@ -0,0 +1,10 @@
|
||||
# StellaOps.Replay.Tests Task Board
|
||||
|
||||
This board mirrors active sprint tasks for this module.
|
||||
Source of truth: `docs/implplan/SPRINT_20251229_049_BE_csproj_audit_maint_tests.md`.
|
||||
|
||||
| Task ID | Status | Notes |
|
||||
| --- | --- | --- |
|
||||
| AUDIT-0036-M | DONE | Revalidated 2026-01-08; open findings tracked in audit report. |
|
||||
| AUDIT-0036-T | DONE | Revalidated 2026-01-08; open findings tracked in audit report. |
|
||||
| AUDIT-0036-A | DONE | Waived (test project; revalidated 2026-01-08). |
|
||||
Reference in New Issue
Block a user