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
12 lines
353 B
Markdown
12 lines
353 B
Markdown
# 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
|