d26f20c316
Root Child DOX Index assembled, plus a per-module AGENTS.md across the tree (core/*, infrastructure/*, apps/*, testing/*, and docs/examples/frontend/etc), each following the DOX section shape: Purpose, Ownership, Local Contracts, Work Guidance, Verification, Child DOX Index.
1.4 KiB
1.4 KiB
testing/contracts
Purpose
Cross-module interface contracts and shared contract test fixtures. Two responsibilities:
- Contract tests — verify that model types (
StageId,TransitionId,WorkflowGraph,ContextSnapshot,ValidationReport) and provider implementations (InferenceProvider, inference router, resource probes) satisfy their declared interfaces. - Reusable fixtures —
testFixturessource set exportsProjectionContractTest,ReplayContractTest,SessionReplayContractTest,CountingProjectionContractTest, andNoopArtifactStorefor use by other test submodules.
Ownership
Tests and test fixtures here. Production modules exercised: core:events, core:transitions, core:sessions, core:validation, core:approvals, core:artifacts, core:kernel, core:inference, core:context, infrastructure:inference:commons.
Local Contracts
- Contract test fixtures in
testFixtures/are the canonical base for projection and replay contract verification — other submodules inherit from them. koverVerifyis disabled for this submodule (fixture code is not independently measurable).
Work Guidance
- Suspend tests use
runBlocking { ... }. ConcurrencyRunnerandDeterministicBarrierinmain/are utilities for concurrency contracts — do not add state to them.
Verification
./gradlew :testing:contracts:test --rerun-tasks
Child DOX Index
No child AGENTS.md (leaf module).