Core
1 specification, 8 requirements. All libraries
0001 Core
| Requirement | Mechanism | Who | Note |
|---|---|---|---|
FR-001 | check | bun test suite/ | result.test.ts: Result's helpers, absurd with a switch that leaves an alternative out, brands kept apart |
FR-002 | check | bun test suite/ | decode.test.ts: each decoder, its error path and the JSON round trip |
FR-003 | check | bun test suite/ | text.test.ts: lf, plain, splitArgs and quoteArgs, and their round trip |
FR-004 | check | bun run check | the type-level tests (expectType, @ts-expect-error) with their negative controls compile; the laws are property-tested with fast-check in the suite |
FR-005 | check | bun test suite/ | graph.test.ts: random acyclic graphs ordered and scheduled with random outcomes and job limits, cycles, a node that rejects |
FR-006 | check | bun test suite/ | objects.test.ts: compact leaves out undefined fields, its type exact under exactOptionalPropertyTypes |
FR-007 | check | bun run verify | the package is built, inspected and packed by tools/pack.ts; tests/commons-packages.test.ts installs the tarball and runs it on Node 26 and Bun and type-checks a consumer |
FR-008 | check | bun test suite/ | about.test.ts: an About value of every shape is accepted by the compiler and one with an unknown field or a missing title is refused (type-level), and the entry exports no value |