Add autopilot-aware pre-commit warnings + post-commit driver reminder
CI / build (push) Has been cancelled
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:
@@ -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
|
||||
Reference in New Issue
Block a user