Skip to main content
Tests are organized by interface layer. Run any layer independently:

Pre-push hook

The repository ships a pre-push hook at .githooks/pre-push that runs all four layers before each push and blocks the push if any layer fails. Enable it once:

Test organization

Tests live beside the code they cover, in a tests/ package within each module:

Documentation contracts

Docs examples that are likely to drift are checked against the implementation. Run this from the documentation repo root with the source checkout path:
This verifies the golden quickstart path, the real CLI command list, REST ingestion schema behavior, and SDK llm() validation.

Reference generation

The high-level CLI, SDK, and REST reference pages are generated from the implementation:
Run this after changing CLI commands, SDK method signatures, or REST routes. Then run the docs contract checker.