Repro
Check out main at 608ed6b and start the dev server. Every request 500s on ActiveRecord::PendingMigrationError because 20260721120000_add_chapter_to_campaigns is unapplied, and the development DB targets the live Supabase project which has no campaigns.chapter column. Tlc::Warnings#campaign_chapter does @character.campaigns.pluck(:chapter), so a TLC sheet would 500 on PG::UndefinedColumn too. CLAUDE.md forbids running db:migrate against Supabase, so there is no sanctioned local path to a runnable main. Production is fine -- the Fly release_command applies it on deploy -- but nobody can run main locally until then.
First suspect
config/database.yml
Filed by /z-loop end-of-loop (regression), loop 2.
Repro
Check out main at 608ed6b and start the dev server. Every request 500s on ActiveRecord::PendingMigrationError because 20260721120000_add_chapter_to_campaigns is unapplied, and the development DB targets the live Supabase project which has no campaigns.chapter column. Tlc::Warnings#campaign_chapter does @character.campaigns.pluck(:chapter), so a TLC sheet would 500 on PG::UndefinedColumn too. CLAUDE.md forbids running db:migrate against Supabase, so there is no sanctioned local path to a runnable main. Production is fine -- the Fly release_command applies it on deploy -- but nobody can run main locally until then.
First suspect
config/database.yml
Filed by /z-loop end-of-loop (regression), loop 2.