OSS-first docs
These docs teach the open system first: contracts, generated surfaces, runtimes, governance, and incremental adoption. Studio shows up as the operating layer on top, not as the source of truth.
Troubleshooting
Common issues and fixes when installing or generating with ContractSpec.
Command not found
- Reinstall the CLI and ensure it is in your PATH.
- Confirm Node.js 20+ or Bun 1.0+ is installed.
Specs not discovered
- Run
contractspec listto see discovered specs. - Verify your spec path conventions in .contractsrc.json.
Build or validate fails
- Run
contractspec validateto surface schema errors. - Check that generated files were not manually edited.
Diagnostics
contractspec --version
contractspec list
contractspec validate src/contracts/mySpec.tsStill blocked?
- Confirm compatibility requirements for runtime and framework.
- Re-run builds on a clean branch to isolate changes.
- Use a new spec and minimal adapter to validate setup.
Developer tools
Use the CLI, editors, and helper tooling that make the OSS workflow practical day to day.
Contracts and specs
Understand the spec model that drives generated surfaces, validation, policy, and safe regeneration.
Why ContractSpec
Keep educational and comparison content reachable without letting it define the primary OSS learning path.