Composable code guardrails for Rust and TypeScript projects.
cargo install guardrail3guardrail3 rs init --profile service .
guardrail3 rs generate
guardrail3 rs validate .Run guardrail3 --help for all commands, profiles, topology conventions, config reference, and the full check inventory. Or guardrail3 dump-guide to produce a comprehensive Markdown guide.
- Philosophy — why banned-by-default, why self-validating, why Rust.
- Comparison — guardrail3 vs ArchUnit, clippy, cargo-deny, dependency-cruiser, ts-prune.
- Checks — what guardrail3 checks (config, source scan, dependency allowlists, apparch, release readiness, test quality, validation).
- Quick start — Rust and TypeScript bootstrap walkthroughs.
- Layout — active workspace layout and legacy archive.
- Thanks — primary inspiration, wrapped tools, and acknowledgments.
- Contributing — open a detailed issue first; PRs must pass the G3RS pre-commit gate.
Part of Agent Quality Controls.
MIT