2,355 tests and counting: how the engine is built
From 21 to 198 test files, 22,411 assertions, 0 failing. The working rules behind the numbers.
LegacyExodus asks customers to trust evidence over intuition. The engine has to be built the same way, so the process has rules that hold even when they slow us down.
Rules we do not bend
- Deterministic, reproducible evidence outranks probabilistic reasoning, including a model's confidence.
- Unknown stays unknown, degraded stays degraded, failure stays failure. Inference is never promoted to proof.
- Tests are claims and can be wrong; they are never weakened, skipped or deleted to get a green run.
- Strict TypeScript stays strict: no suppressed types, no any casts to escape a check.
- Whoever implements a change cannot be the one who certifies it.
How findings flow
Work arrives as findings with stable IDs, such as REUSE-03 or CFG-01. Each one gets a reproduction, a failing test, a fix scoped to its root cause, and independent verification. The October hardening milestone closed snapshot freshness, manifest containment, symlink rejection, storage immutability, a control-flow loop fall-through and a shutdown race this way.
| Domain | Test files |
|---|---|
| flow | 30 |
| semantic | 21 |
| symbols | 20 |
| cli | 18 |
| governance | 14 |
| discovery | 14 |
| integration | 13 |
| parser | 11 |
| storage | 10 |
| graph | 8 |
| projections | 7 |
What CI checks
Every change runs strict typechecking, the full suite (2,355 passing in 299.3 s locally on Bun 1.4.4), benchmark governance, a Windows path smoke job, a fact diff on four corpora and a scale gate, with pinned action SHAs and least-privilege permissions.