Architecture
Verification
The tests and checks that confirm the engine and SERV behave as documented.
| Command | What it checks |
|---|---|
npm test | All 16 advisory × demo app verdicts, fabricated-quote rejection, and polarity correction, using fixed checklists |
npm run test:serv | Live SERV compiles for both advisories, then the same expected verdicts (needs SERV_API_KEY) |
node proof/run-proof.mjs | Builds two fixtures with real Next.js releases and sends the bypass request |
npm run lint | ESLint |
npm run typecheck | TypeScript |
Results are recorded under Fixture results and Runtime proof.