Every file accounted for: the discovery invariant
Before any analysis, the engine proves it has looked at everything. One equation, enforced on every run, and what it caught in Express.
Most tools report what they found. Fewer report what they skipped. A migration cannot afford the difference: the file you never looked at is the one holding the edge case.
The equation
filesDiscovered = analyzed + parserFailures + symbolFailures
+ unsupported + nonSource + unclassifiedEvery discovered file lands in exactly one bucket, and the buckets must sum to the total. A parser failure is not silently dropped: it is reported by path and error code. Non-source artifacts such as JSON, Markdown and licenses are inventoried as such rather than misreported as unsupported source.
| Repository | Discovered | Analyzed | Non-source | Unclassified | Unsupported |
|---|---|---|---|---|---|
| ms | 9 | 2 | 7 | 0 | 0 |
| cookie-parser | 12 | 2 | 10 | 0 | 0 |
| debug | 13 | 7 | 6 | 0 | 0 |
| express-session | 25 | 13 | 12 | 0 | 0 |
| legacy-exodus-core | 111 | 95 | 16 | 0 | 0 |
| express | 234 | 152 | 48 | 34 | 0 |
| LegacyExodus | 383 | 138 | 212 | 33 | 0 |
| fastify | 385 | 287 | 97 | 0 | 1 |
What it caught
Express left 34 files unclassified, mostly view templates (EJS, Pug, Handlebars) and test fixtures. The invariant still holds, because unclassified is a bucket, but the benchmark marks Express completeness as NEEDS_REVIEW instead of PASS. Milestone P2.1 teaches the classifier those formats.
On commander@15.0.0 the run discovered 12 files: 7 analyzed, 4 non-source and 1 parser failure, typings/index.d.ts, reported with code DeclarationMissingInitializer. A declaration file the parser does not yet accept, named rather than hidden.