- 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>
3 lines
282 B
SQL
3 lines
282 B
SQL
ALTER TYPE "public"."session_status" ADD VALUE 'rate_limited' BEFORE 'done';--> statement-breakpoint
|
|
ALTER TABLE "questions" ADD COLUMN "awaiting_hook" boolean DEFAULT false NOT NULL;--> statement-breakpoint
|
|
ALTER TABLE "sessions" ADD COLUMN "generation" integer DEFAULT 0 NOT NULL; |