TRACKDB
2

acme-shop /prod

Supabase · Postgres 16Protected· last backup

6 lessons in TRACK.md. Every agent reads them before a session, highest votes first. Lessons are saved when someone denies a Data PR or reverts a session.

  1. 14

    Never run UPDATE on public.orders without a WHERE on id.

    From Data PR #7, 3 Nov · saved by Priya Nair · applies to public.orders · shown to agents 11 times this week

  2. 9

    Drop a column in two steps: stop writing to it, ship one deploy, then drop it.

    From Data PR #9, 11 Nov · saved by Daniel Okafor · applies to any · shown to agents 3 times this week

  3. 6

    Agents read customer data only through masked branches, never from prod.

    From Bypass alarm, 2 Nov · saved by Priya Nair · applies to all · shown to agents 19 times this week

  4. 5

    Prune webhook_events by delivered_at, never by created_at.

    From Data PR #10, 14 Nov · saved by Tomás Herrera · applies to public.webhook_events · shown to agents 2 times this week

  5. 3

    Prices change only through the pricing service, never with SQL.

    From Data PR #11, 22 Nov · saved by Priya Nair · applies to public.products · shown to agents 1 times this week

  6. 2

    Run backfills in batches of 1,000 rows with a short pause between them.

    From Data PR #8, 8 Nov · saved by Daniel Okafor · applies to any · shown to agents 4 times this week