Test Architecture Overview
M31A maintains an exhaustive 266-suite test architecture located under tests/ and in inline module unit tests.
Testing Strategy
Testing is structured into distinct assurance tiers:
- Deterministic CI Tests: Run in continuous integration without network or credential dependencies, utilizing mock doubles and isolated temporary worktrees.
- Architectural Invariant Tests: Programmatic verification of layer dependencies, single-crate rules, and authority boundaries.
- Security Regressions: Targeted negative tests for policy enforcement, Landlock confinement, and sensitive paths.
- Partitioned Live Model Tests: Real NVIDIA NIM API invocations, strictly marked
#[ignore]to prevent false-green CI outcomes.