feat(v0.17): sleep-setup local/remote/hybrid mode + time picker
Extends /sleep-setup wizard with three deployment modes and
user-picked nightly time. Pure-click except existing free-text
(repo URL; custom time if chosen).
New phases:
phase-0-mode.md (64 LOC) — 3 options: local-only (CronCreate,
full filesystem access, real /self-audit skill) / remote-only
(existing cloud-agent + git-repo flow) / hybrid (both;
redundancy if Mac asleep).
phase-0b-time.md (79 LOC) — 6 options: 03:00 REM peak /
00:00 / 05:00 / 23:00 / 21:00 / Custom (freeText with
HH:MM regex + 3-retry fallback to 03:00).
phase-5-trigger.md — octal-safe $SLEEP_TIME_LOCAL parsing
(10# prefix), branches on $SLEEP_MODE:
local-only → CronCreate only, local time (no UTC conversion)
remote-only → /schedule create only (UTC-converted)
hybrid → both, two sequential AskUserQuestion
phase-3b-deep-sleep.md — adds plan+local-patch option when
SLEEP_MODE=local-only (apply patches to ~/.claude/ directly
after morning confirm, no git branch).
SKILL.md — pipeline table 6 → 8 rows, AskUserQuestion minimum
9 → 11 (remote/hybrid) or 6 (local-only); final report shows
Mode + Time fields adapted per mode.
Verify: new user picks local-only + Custom 05:00 → zero git,
cron 0 5 * * * registered with /self-audit body referencing
~/.claude/memory/audit-backlog.md and sleep-report-DATE.md.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>