alter table foundation_scores add column if not exists fit_reason text;
alter table foundation_scores add column if not exists mission_hits jsonb not null default '[]'::jsonb;
alter table foundation_scores add column if not exists ai_priority text;
alter table foundation_scores add column if not exists ai_importance integer;
alter table foundation_scores add column if not exists ai_rationale text;
alter table foundation_scores add column if not exists ai_effort text;
alter table foundation_scores add column if not exists ai_overlap jsonb not null default '[]'::jsonb;
alter table foundation_scores add column if not exists ai_model text;
alter table foundation_scores add column if not exists ai_scored_at timestamptz;
