require('dotenv').config();
const { createClient } = require('@supabase/supabase-js');
const sb = createClient(process.env.SUPABASE_URL, process.env.SUPABASE_SERVICE_KEY);
(async()=>{
  const {data} = await sb.from('tasks').select('title').eq('status','open');
  const existing = new Set(data.map(t=>t.title));

  const ALL_TITLES = [
    'Follow Loopuman on Product Hunt — click the bell / follow button',
    'Add @loopuman or loopuman.com to your Twitter/X bio for 30 days',
    'Comment on 3 LinkedIn posts about AI agents or future of work — mention Loopuman',
    'Create a Google Business Profile for Loopuman',
    'Create a Pinterest pin linking to Loopuman — for visual search SEO',
    'Follow Loopuman on Instagram',
    'Get a mention or guest post on any tech blog — must include loopuman.com link',
    'Pitch Loopuman as a guest to 3 relevant podcasts — send the actual outreach',
    'Post about Loopuman in the official Celo Discord server',
    'Research what AI companies actually pay for data annotation per task',
    'Share Loopuman in your Instagram Story — include the link or tag',
    'Submit Loopuman to StartupStash or Launching Next — free startup directories',
    'Tweet about Loopuman using #AIAgents or #Web3 hashtag — for discovery',
    'Write a one-pager investor pitch for Loopuman — all 8 sections',
    'Write and post a Twitter thread about AI agents hiring humans — mention Loopuman',
  ];

  const missing = ALL_TITLES.filter(t => !existing.has(t));
  console.log('Missing tasks:',missing.length);
  missing.forEach(t=>console.log('-',t));
})();
