Standards-first repository for high-rigor coding with humans and AI agents.
This project translates TigerBeetle style and NASA/JPL Power of Ten ideas into an executable Contract System v2 for AI-assisted software development.
Start here:
- Quickstart
- Tiger Style CLI
- Using with Coding Agents
- Adopting in a New Project
- Contract Reference Map
Full docs hub:
Docs are organized under:
docs/getting-started/docs/guides/docs/tooling/docs/reference/docs/decisions/
Render docs as a local site with mdBook:
just book-build
just book-serveresources/TIGER_STYLE.mdresources/P10.pdf
Contract System v2 has five layers:
- Core contracts (cross-language):
contracts/core/ - Language activation manifest:
contracts/ACTIVE_LANGUAGE_CONTRACTS.md - Language contracts:
contracts/languages/RUST_CODING_CONTRACT.mdcontracts/languages/TYPESCRIPT_CODING_CONTRACT.mdcontracts/languages/PYTHON_CODING_CONTRACT.md
- Delivery templates:
templates/ - Validation and governance:
checklists/scripts/.github/workflows/contract-gates.yml
In conflicts, apply the stricter rule.
All code changes must follow strict TDD:
- Red: write/modify a failing test.
- Green: implement the minimum code to pass.
- Refactor: improve structure without changing behavior.
No Red -> Green -> Refactor evidence means no merge.
contracts/core/AI_AGENT_CORE_CONTRACT.mdcontracts/core/TDD_ENFORCEMENT_CONTRACT.mdcontracts/core/RISK_TIER_POLICY.mdcontracts/core/EVIDENCE_REQUIREMENTS.mdcontracts/core/ARCHITECTURE_CONTRACT.mdcontracts/core/SECURITY_CONTRACT.mdcontracts/core/PERFORMANCE_CONTRACT.mdcontracts/core/DEPENDENCY_POLICY.mdcontracts/core/REVIEW_CONTRACT.mdcontracts/core/INTERACTION_CONTRACT_FOR_CODEX.mdcontracts/ACTIVE_LANGUAGE_CONTRACTS.md
templates/TASK_PACKET_TEMPLATE.mdtemplates/TEST_PLAN_TEMPLATE.mdtemplates/EVIDENCE_PACKET_TEMPLATE.mdtemplates/ADR_TEMPLATE.mdtemplates/SESSION_HANDOFF_TEMPLATE.md
checklists/PR_CONTRACT_CHECKLIST.mdchecklists/ADVERSARIAL_REVIEW_CHECKLIST.md
scripts/validate_tdd_cycle.shscripts/validate_evidence_packet.sh.github/pull_request_template.md.github/workflows/contract-gates.yml
resources/RESOURCES.md
- For Tier 1-3, create a task packet (Tier 0 optional unless repo policy is stricter).
- Assign risk tier.
- For Tier 1-3, create a test plan (Tier 0 optional unless repo policy is stricter).
- Execute Red -> Green -> Refactor in small cycles.
- Produce evidence packet.
- Complete PR and adversarial checklists.
- Pass CI contract gates.
Before implementation, provide:
- Objective and non-goals.
- Constraints and forbidden approaches.
- Interfaces/files in scope.
- Acceptance criteria.
- Risk tier.
For Tier 1-3 work, provide full task packet and test plan. For Tier 0 work, lightweight planning notes are acceptable unless repository policy requires full artifacts.
Then require explicit evidence in PR output.
This repository stores contract definitions, templates, and enforcement automation.
It also ships a Rust CLI (tooling/tiger-style-cli) that automates downstream installation and
configuration:
tiger-style bootstrap --target /absolute/path/to/your-repoFor local CLI development:
just build
just run -- --help
just install-cargo