mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2026-12-05 09:18:53 +00:00
- Add .pre-commit-config.yaml running make test on non-doc changes - Add pre-commit to pyproject.toml dev dependencies - Add scripts/install/pre-commit.sh for hook registration - Add install-python-dev Makefile target; wire into environment-bootstrap - Rename setup-development → mark-development (env.ci override marker) - Refactor scripts/tests/environment.sh into modular 00–10 scripts with orchestrator - Add 09_commit.sh validating pre-commit enforcement and --no-verify bypass - Update docs/agents/action/commit.md and testing.md for new hook behavior - Update makefile.md, setup.md, installation.md accordingly Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
729 B
729 B
Committing
- You MUST commit only after all required checks pass.
- You MUST NOT commit automatically without explicit confirmation from the user. ALWAYS ask before committing.
make testis run automatically by pre-commit before every commit when staged changes include at least one file that is not.md,.rst, or.txt. You do NOT need to run it manually — the pre-commit hook enforces it.- If the pre-commit hook fails, fix the underlying issue and retry the commit. Do NOT bypass hooks with
--no-verifyunless the user explicitly instructs you to commit without running tests. - For markdown/reStructuredText/text-only changes, pre-commit skips
make testautomatically. You MUST NOT run it manually either.