Add autopilot-aware pre-commit warnings + post-commit driver reminder
CI / build (push) Has been cancelled

- Pre-commit hook: warns when autopilot is enabled and non-terminal tasks exist
- Post-commit hook: after commit, prints non-terminal task summary if autopilot on
- Post-commit exits 0 always (informational only, never blocks)
- Both hooks read .agent.md to detect Autopilot: Enabled
This commit is contained in:
2026-06-16 12:44:21 -04:00
parent 02c7a4649b
commit 1d36c0e4ad
20 changed files with 191 additions and 1 deletions
@@ -0,0 +1,11 @@
# Implementation: Post-Commit Autopilot Reminder
## Changes
- Created `scripts/git-hooks/post-commit`
- Reads `.agent.md` for autopilot mode
- Scans non-terminal tasks via `status.py --list`
- Prints summary with count and command to run orchestrator
- Always exits 0 (informational only)
## Files Created
- `scripts/git-hooks/post-commit`: ~45 lines