Files
computer-playbook/docs/agents/action/commit.md
T
kevinveenbirkenbachandClaude Sonnet 4.6 821c3c53b6 feat(pre-commit): introduce pre-commit hook enforcement and modular environment test suite
- 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>
2026-04-08 16:58:24 +02:00

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 test is 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-verify unless the user explicitly instructs you to commit without running tests.
  • For markdown/reStructuredText/text-only changes, pre-commit skips make test automatically. You MUST NOT run it manually either.