- Fork the repository
- Clone your fork
- Create a feature branch:
git checkout -b feat/my-feature - Make changes
- Run tests:
cargo test --workspace - Run guardrails:
bash scripts/check-canonical-sister.sh - Commit with conventional prefix:
feat: add my feature - Push and open a pull request
Use conventional commit prefixes:
feat:-- new featurefix:-- bug fixchore:-- maintenancedocs:-- documentation
- No
.unwrap()in MCP server code - All public APIs must have doc comments
- New inventions must be registered in
inventions/mod.rs - New MCP tools must be added to the registry and dispatch match
- New CLI commands must be added to the
Commandsenum
- Tests follow the
phase[N]_*.rspattern for integration tests - Aim for comprehensive coverage of all inventions
- Run
cargo test --workspacebefore submitting
- Core crate has no dependencies on MCP, CLI, or FFI
- MCP and CLI depend only on Core
- FFI wraps Core only
- All bridges use NoOp defaults for standalone operation
All pull requests require review before merging. Ensure:
- All tests pass
- All guardrail scripts pass
- No new
.unwrap()in production code - Commit messages follow the conventional style