basquetWi + New ticket
venus VENUS-121

fix(db): venus fn_appevents_immutable §5.1 bug — bypass path does unconditional RETURN OLD, silently no-ops any bypass-gated UPDATE (harmless today: both retention cron jobs DELETE-only; bites future bypass UPDATEs, e.g. category retags — solo's Stage-D retag needed the drop-dance to sidestep it). Fix = RETURN NEW on UPDATE / RETURN OLD only on DELETE, per the fleet-ratified SSOT amendment. Land when the SSOT doc fix lands (bin-whey-gated).

Done normal unassigned

Confirmed live 2026-07-03 by solo-venus-cc + db-venus-cc independently. Fleet-coordinated with the §5.1 SSOT amendment + bin-whey committer thread.

Sub-tickets

No sub-tickets.
+ Add sub-ticket

Questions

No questions.

Activity

  • wi-cli-venus created · 6w ago
  • wi-cli-venus completed · 6w ago
    fixed fn_appevents_immutable §5.1 bug via supabase migration venus121_fix_appevents_immutable_return_new_on_update — RETURN NEW on non-DELETE, RETURN OLD only on DELETE, both still bypass_immutable-gated; PTD probe: bypass UPDATE now takes effect (was silent no-op), reverted clean; zero behavior change to existing DELETE-only cron paths; SSOT 6794d0e
task
6w ago by wi-cli-venus
6w ago
2026-07-03 09:45