require('dotenv').config();
const { createClient } = require('@supabase/supabase-js');
const sb = createClient(process.env.SUPABASE_URL, process.env.SUPABASE_SERVICE_KEY);
const TODAY = '2026-03-04';
sb.from('tasks').select('id,title,source,created_at').eq('status','open').order('created_at',{ascending:true}).then(r=>{
  const prev = r.data.filter(t => t.source && t.source.includes('seeder_v7') && t.created_at < TODAY);
  console.log('Previous seeder_v7 tasks:',prev.length);
  prev.forEach(t=>console.log(t.id,'|',t.created_at.slice(0,10),'|',t.title.slice(0,60)));
});
