- hooks move from the project template to a per-run --settings file
- PermissionRequest / AskUserQuestion hooks wait for the PM's answer in the
DB and return the decision to Claude; fall back to the terminal dialog
after PEPPA_HOOK_WAIT_SEC (awaiting_hook prevents double delivery)
- sessions.generation + PEPPA_GENERATION: stale hooks are ignored;
peppa session resume relaunches with claude --resume
- SessionEnd no longer marks the process done (/clear, /resume)
- StopFailure rate_limit -> rate_limited status
- MCP: agents cannot set done or approve their own proposal
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- startSession: trusts the workspace in ~/.claude.json, runs interactive
claude in tmux with PEPPA_SESSION_ID, remain-on-exit for crash status
- answerAndDeliver: PM answers go into the terminal (permission menu keys,
approval -> task status + instruction, free text via bracketed paste)
- peppa-hook: session-start/prompt/notification/stop/session-end update
session status and raise PM questions; never fails the Claude session
- watchdog: detects dead panes, vanished sessions, stalls, usage limits;
launchd agent under caffeinate (scripts/install-launchd.sh)
- CLI: peppa session start|list|send|attach|stop, peppa watchdog
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>