Night Shift
Manage the 4am autonomous coding service.
Arguments: $ARGUMENTS — action (status | trigger | history)
Actions
status (default)
- Current target repo (from
state.json) - Last run time
- Pending PRs from recent runs (
nightShiftPRs[]) - Next scheduled run
trigger
Manually start a Night Shift run:
- Read target from state or use provided repo name
- Launch:
bun run packages/services/src/night-shift.ts - Monitor for completion
- Report: PR URL if created, or "no improvements found"
history
Show last 10 Night Shift runs with:
- Date, target repo
- PR created (yes/no, URL)
- Status (merged, open, closed)
Schedule
| Day | Repo |
|---|---|
| Mon, Thu | songscript |
| Tue, Fri | zikaron |
| Wed, Sat, Sun | claude-golem |
Override: Use Telegram /tonight command