Examples
Examples and checks
Section titled “Examples and checks”The test suite covers identifier grammar, ephemeral keys, and candidate words.
After building, run the unit tests and the public ./id bundle-isolation proof:
pnpm --filter @fungi.computer/cairn testtest/runtime/id-only-proof.mjs verifies that
the public ./id entrypoint does not include the word corpus. The focused tests
are in src/id.test.ts,
src/ephemeral-key.test.ts, and
src/index.test.ts.