git-subtree-dir: aiui git-subtree-mainline:0c4826f8ccgit-subtree-split:e30ac1d106
1.0 KiB
1.0 KiB
name, description, disable-model-invocation, allowed-tools
| name | description | disable-model-invocation | allowed-tools |
|---|---|---|---|
| overnight | Commit, branch, and start the overnight automation loop | true | Bash(*), Read, Write, Edit, Glob, Grep |
Prepare and launch the overnight automation loop. Do ALL steps in order, stopping on any failure:
- Stage and commit all uncommitted changes:
git add -A && git commit -m "chore: pre-overnight snapshot"(skip if working tree is clean) - Push current branch to origin
- Get today's date as YYYY-MM-DD. Check if
overnight/$DATEbranch exists:- If yes:
git checkout overnight/$DATE - If no: run
./loop/prepare.sh
- If yes:
- Verify
loop/plan.mdhas unchecked tasks (grep -c '^\- \[ \]' loop/plan.md) - Commit plan files if modified:
git add loop/plan.md loop/prompt.md && git commit -m "chore: overnight plan $DATE"(skip if clean) - Push:
git push -u origin overnight/$DATE - Start the loop: run
caffeinate -i ./loop/loop.shwithrun_in_background: true - Report: branch name, number of tasks, and confirm the loop is running in background