Fleet-wide Contribution Standards ๐ข
Every Rug Munch Media repo runs the same gates. This page is the contract.
The gatesโ
| Stage | Tool | Blocks |
|---|---|---|
| Commit format | commitlint | โ |
| Pre-commit hooks | lefthook | โ |
| Secret scan | gitleaks | โ |
| Lint/format | ruff (py) / Biome (ts) | โ |
| Types | mypy / tsc | โ |
| Tests | pytest / Vitest (โฅ70% coverage on diffs) | โ |
Commit conventionโ
type(scope): description # feat fix docs refactor perf test chore security
AI-assisted commits carry an Assisted-by: <agent> <model> trailer.
Reviewโ
- Automated lint/SAST must pass.
- One human approval on
main-protected repos. - Scanner/payment/auth paths: tests require an independent oracle (different
author or adversarial pass) โ see the AI Test Oracle policy in
standards.
Licenseโ
All product repos are MIT unless a file header says otherwise. Third-party code enters only as declared dependencies, never as vendored copies.