Files
Nathan Colosimo 96664fe600 Rework start-hook idempotency: align API shape, fix claim races, drop phase state
- Rename start() option to experimentalStartHook with a single
  experimental_ttl key (the decided API shape)
- Release unmaterialized claims on run_cancelled so cancel-then-retry
  (incl. start()'s own queue-failure cleanup) can reuse the token
- Postgres: drop the derivable phase column; set-based claim retention;
  same-run admission retry no longer self-conflicts; single-transaction
  hook_created/hook_disposed; reclaim leaked ttl-0 claims of dead runs
- Local: canonical run_created eventId convergence for duplicate
  deliveries; atomic stale-lock breaking; shared claim schema/reader;
  spurious self hook_conflict after lost materialize fixed
- Core: collapse queue-first validation guards; simplify event-first
  branch to create-then-queue with cancel-on-failure
2026-07-01 16:20:23 -07:00
..