/**
 * ╔══════════════════════════════════════════════════════════════════╗
 * ║   LOOPUMAN TASK SEEDER v6.0 — STRATEGICALLY CORRECT            ║
 * ║                                                                  ║
 * ║  WORKER COUNT LOGIC:                                            ║
 * ║  max_workers:1 = objective tasks (one person does it, done)     ║
 * ║  max_workers:2 = creative/research where two competing          ║
 * ║                  submissions = better quality for Loopuman      ║
 * ║                  Worker sees "COMPETITION — 1 winner paid"      ║
 * ║                                                                  ║
 * ║  VALIDITY LOGIC:                                                 ║
 * ║  7 days  = quick tasks (follow, share, submit directory)        ║
 * ║            Workers should do these fast — urgency helps         ║
 * ║  10 days = moderate tasks (bot testing, research)               ║
 * ║            Needs thought but shouldn't sit forever              ║
 * ║  14 days = creative/complex (song, cold email, video, press)    ║
 * ║            Needs real effort — give workers max time            ║
 * ║                                                                  ║
 * ║  BUDGET LOGIC:                                                   ║
 * ║  $0.05–$0.10 = 15–30 second tasks (follow, like, retweet)      ║
 * ║  $0.12–$0.20 = 2–5 minute tasks (share in group, basic post)   ║
 * ║  $0.22–$0.35 = 10–30 min tasks (answer, review, research)      ║
 * ║  $0.38–$0.50 = 45–90 min tasks (deep research, creative, video) ║
 * ║                                                                  ║
 * ║  node loopuman-seeder-v6.js --dry-run                          ║
 * ║  node loopuman-seeder-v6.js                                     ║
 * ║  node loopuman-seeder-v6.js --list                              ║
 * ║  node loopuman-seeder-v6.js --cat seo_backlinks                 ║
 * ╚══════════════════════════════════════════════════════════════════╝
 */

require('dotenv').config();
const { createClient } = require('@supabase/supabase-js');
const sb = createClient(process.env.SUPABASE_URL, process.env.SUPABASE_SERVICE_KEY);
const REQUESTER_ID = process.env.SEED_REQUESTER_USER_ID;
const TABLE = 'tasks';

const exp = (days) => {
  const d = new Date();
  d.setDate(d.getDate() + days);
  return d.toISOString();
};

const T = (o) => ({
  requester_id:        REQUESTER_ID,
  title:               o.title,
  description:         o.teaser,
  private_description: o.details,
  budget:              Math.round(o.budget * 100),
  max_workers:         o.workers,
  status:              'open',
  category:            o.cat,
  expires_at:          exp(o.days),
  source:              'seeder',
  metadata: {
    proof_type:  o.proof,
    proof_label: o.proof_label,
    tags:        o.tags || [],
    task_id:     o.id,
  },
});

// ══════════════════════════════════════════════════════════════════
//
//  STRATEGIC TASK THINKING — WHY EACH TASK IS HERE:
//
//  RIGHT NOW LOOPUMAN NEEDS IN ORDER OF PRIORITY:
//
//  1. PAYING CLIENTS (zero currently)
//     → Lead gen tasks: find AI companies, CTOs, RLHF labs, Upwork buyers
//     → These are the highest value tasks — $0.45–$0.50
//     → 2 workers competing = 2× the intel, pick the better research
//
//  2. SEO PRESENCE (Google doesn't know Loopuman exists yet)
//     → Directory submissions: TAAFT, Futurepedia, Product Hunt, Crunchbase
//     → These are ONE-TIME actions — max_workers:1, task locks after done
//     → 7 days validity — do it fast or miss the window
//
//  3. SOCIAL PROOF (makes clients trust the platform)
//     → Reviews on G2/Trustpilot, Quora answers, Reddit replies
//     → 1 worker — first good submission wins
//
//  4. PRODUCT FIXES (before client demos)
//     → Bot testing, website feedback, competitor pricing research
//     → 2 workers — two different perspectives = better feedback
//
//  5. MARKETING ASSETS (content that works forever)
//     → Cold email, hooks, press release, song, video
//     → 2 workers competing = pick the best output
//     → 14 days — creative work needs time
//
//  6. ON-CHAIN ACTIVITY (agentscan score = credibility)
//     → Real transactions boost Usage score (60% of total score)
//     → 1 worker per transaction — each tx is unique
//
// ══════════════════════════════════════════════════════════════════

const TASKS = [

// ╔══════════════════════════════════════════════════════════════╗
// ║  SEO & BACKLINKS — 10 tasks                                 ║
// ║                                                              ║
// ║  WORKER COUNT REASONING:                                     ║
// ║  Directory submissions = workers:1                           ║
// ║  You can only submit to TAAFT once. Crunchbase has one       ║
// ║  profile. Product Hunt has one listing. Sending 2 workers    ║
// ║  at a directory = duplicate submission = waste of money.     ║
// ║                                                              ║
// ║  Community posts (Quora, Reddit) = workers:1                 ║
// ║  One good answer is all you need. Two workers risk           ║
// ║  posting near-identical content in the same thread.          ║
// ║                                                              ║
// ║  VALIDITY REASONING:                                         ║
// ║  7 days = directory submissions (do it now, not eventually)  ║
// ║  10 days = community posts (needs finding right thread)      ║
// ╚══════════════════════════════════════════════════════════════╝

T({
  id:'S01', cat:'seo_backlinks', budget:0.35, workers:1, days:7,
  tags:['taaft','directory','ai-tools'],
  proof:'screenshot',
  proof_label:'Screenshot of the success/confirmation page on theresanaiforthat.com',

  title:"Submit Loopuman to 'There's An AI For That' — 2M+ monthly visitors",

  teaser:
`$0.35 — add Loopuman to one of the biggest AI tool directories online.
2 million people search it every month. Permanent listing.
Takes 5 minutes. One spot — first to submit correctly wins.

📸 Proof: Screenshot of the confirmation page.`,

  details:
`WHAT TO DO — COPY THE TEXT BELOW EXACTLY:
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

1. Go to: https://theresanaiforthat.com/submit/

2. Fill in the form using EXACTLY this text:

   NAME:
   Loopuman

   WEBSITE URL:
   https://loopuman.com

   TAGLINE:
   The Human Layer for AI — instant crypto payments via Telegram & WhatsApp

   CATEGORY:
   Productivity

   PRICING:
   Freemium

   DESCRIPTION:
   Loopuman is a crypto-native microtasking platform where AI agents
   and enterprises hire verified human workers worldwide. Workers receive
   tasks via Telegram or WhatsApp — no app download needed. Payments
   arrive in cUSD stablecoin on Celo blockchain in under 8 seconds.
   Use cases: data labeling, image annotation, content moderation,
   RLHF, survey tasks. Mobile-first, emerging-market ready.

3. Submit the form.
4. Screenshot the SUCCESS or CONFIRMATION page.

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
PROOF: Screenshot of confirmation from theresanaiforthat.com
✅ APPROVED: Confirmation clearly visible, correct website
❌ REJECTED: Wrong site / no confirmation / form incomplete`,
}),

T({
  id:'S02', cat:'seo_backlinks', budget:0.35, workers:1, days:7,
  tags:['futurepedia','directory','ai-tools'],
  proof:'screenshot',
  proof_label:'Screenshot of the confirmation page on futurepedia.io',

  title:'Submit Loopuman to Futurepedia AI directory — 1M+ monthly visitors',

  teaser:
`$0.35 — list Loopuman on Futurepedia, a top AI tool directory.
1 million+ monthly visitors discover AI tools here.
5 minutes. Permanent listing. One spot.

📸 Proof: Screenshot of confirmation page.`,

  details:
`WHAT TO DO:
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

1. Go to: https://www.futurepedia.io/submit-tool

2. Fill in EXACTLY:

   TOOL NAME: Loopuman
   WEBSITE: https://loopuman.com
   TAGLINE: Human intelligence marketplace with 8-second crypto payments
   CATEGORY: Productivity
   PRICING: Freemium

   DESCRIPTION:
   Loopuman routes tasks from AI agents and businesses to a global
   network of verified human workers. Workers use Telegram or WhatsApp
   — no new app needed. Payment in cUSD (Celo stablecoin) arrives in
   under 8 seconds. Use cases: data labeling, RLHF, content moderation,
   image annotation, translation. Built for emerging markets in Africa
   and Southeast Asia.

3. Submit. Screenshot the confirmation page.

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
PROOF: Screenshot of confirmation from futurepedia.io
✅ APPROVED: Confirmation visible, correct site
❌ REJECTED: Wrong site / incomplete form / no confirmation`,
}),

T({
  id:'S03', cat:'seo_backlinks', budget:0.40, workers:1, days:7,
  tags:['product-hunt','high-da','launch'],
  proof:'url+screenshot',
  proof_label:'Product Hunt listing URL + screenshot of the listing or confirmation',

  title:'Submit Loopuman to Product Hunt — the most valuable SEO listing available',

  teaser:
`$0.40 — Product Hunt listings rank on Google for years.
They attract investors, journalists, and thousands of real users.
Extra $0.10 bonus if the listing goes live within 48 hours.
One spot — most important SEO action in this entire list.

🔗 Proof: Product Hunt URL + screenshot.`,

  details:
`WHAT TO DO:
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

1. Go to: https://www.producthunt.com
2. Sign in or create a free account
3. Click "Submit" → "Submit a product"

4. Fill in EXACTLY:

   PRODUCT NAME: Loopuman

   TAGLINE:
   The Human Layer for AI — earn crypto via Telegram & WhatsApp

   WEBSITE: https://loopuman.com

   TOPICS:
   Artificial Intelligence, Cryptocurrency, Productivity,
   Remote Work, Gig Economy

   DESCRIPTION:
   Loopuman connects AI agents and enterprises with verified human
   workers worldwide. No app download — workers receive and complete
   tasks via Telegram or WhatsApp they already use. Payments in cUSD
   stablecoin on Celo blockchain confirmed in under 8 seconds.
   Ideal for data labeling, image annotation, content moderation,
   RLHF. Workers in 50+ countries. Instant payouts. No bank needed.

5. Submit.
6. Copy the listing URL (even if "pending review").
7. Screenshot the listing or confirmation.

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
PROOF: Product Hunt URL + screenshot
✅ APPROVED: Valid URL + screenshot shown
❌ REJECTED: No URL / wrong platform / not submitted
🏆 BONUS: +$0.10 if listing goes live within 48 hours`,
}),

T({
  id:'S04', cat:'seo_backlinks', budget:0.30, workers:1, days:7,
  tags:['crunchbase','investor-visibility'],
  proof:'url+screenshot',
  proof_label:'Live Crunchbase profile URL + screenshot of the published profile',

  title:'Create a Crunchbase company profile for Loopuman',

  teaser:
`$0.30 — investors and journalists check Crunchbase before every meeting.
Loopuman needs a profile. 10 minutes.
One spot — permanent presence.

🔗 Proof: Crunchbase URL + screenshot.`,

  details:
`WHAT TO DO:
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

1. Go to: https://www.crunchbase.com
2. Sign in or create a free account
3. Click "Add New" → "Organization"

4. Fill in EXACTLY:

   COMPANY NAME: Loopuman
   WEBSITE: https://loopuman.com

   SHORT DESCRIPTION:
   Crypto-native microtasking platform connecting AI agents and
   enterprises to verified human workers globally via Telegram and
   WhatsApp, with instant cUSD payments on Celo blockchain.

   CATEGORIES:
   Artificial Intelligence, Blockchain/Cryptocurrency,
   Crowdsourcing, Gig Economy, Marketplaces

   FOUNDED: 2025
   TYPE: Private Company
   STATUS: Active
   HQ: Remote / Global

5. Save and publish.
6. Copy the live profile URL.
7. Screenshot the published profile.

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
PROOF: Live Crunchbase URL + screenshot
✅ APPROVED: Profile live with all fields completed
❌ REJECTED: Profile incomplete / no URL / wrong details`,
}),

T({
  id:'S05', cat:'seo_backlinks', budget:0.20, workers:1, days:7,
  tags:['alternativeto','mturk-alternative'],
  proof:'url+screenshot',
  proof_label:'AlternativeTo listing URL + screenshot',

  title:"Add Loopuman to AlternativeTo as a Mechanical Turk alternative",

  teaser:
`$0.20 — people search AlternativeTo every day for MTurk alternatives.
Make sure Loopuman appears. Permanent. 5 minutes. One spot.

🔗 Proof: Listing URL + screenshot.`,

  details:
`WHAT TO DO:
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

OPTION A (preferred):
1. Go to https://alternativeto.net
2. Search "Amazon Mechanical Turk"
3. On MTurk's page → find "Suggest Alternative" → add Loopuman

OPTION B (if Option A unavailable):
1. Go to https://alternativeto.net
2. Add Loopuman as a new software listing

FILL IN EXACTLY:
   NAME: Loopuman
   URL: https://loopuman.com
   DESCRIPTION:
   Crypto-native microtasking platform. Workers earn cUSD stablecoin
   via Telegram or WhatsApp — no new app needed. Payments on Celo
   blockchain in under 8 seconds. Mobile-first, emerging market focus.
   LICENSE: Freemium
   PLATFORMS: Web, Telegram, WhatsApp

Submit. Copy URL. Screenshot.

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
PROOF: AlternativeTo URL + screenshot
✅ APPROVED: Live listing with correct details
❌ REJECTED: Listing incomplete / no URL`,
}),

T({
  id:'S06', cat:'seo_backlinks', budget:0.25, workers:1, days:7,
  tags:['betalist','startup-launch'],
  proof:'url+screenshot',
  proof_label:'BetaList or Launching.io submission URL + screenshot',

  title:'Submit Loopuman to BetaList or Launching.io — startup discovery sites',

  teaser:
`$0.25 — startup discovery sites attract early adopters, investors, and press.
Submit Loopuman to one of these. Permanent backlink. One spot.

🔗 Proof: Listing URL + screenshot.`,

  details:
`WHAT TO DO:
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

Choose ONE:
   OPTION A: https://betalist.com/submit
   OPTION B: https://www.launching.io

FILL IN:
   NAME: Loopuman
   WEBSITE: https://loopuman.com
   TAGLINE: The Human Layer for AI — earn crypto via Telegram & WhatsApp
   CATEGORY: Productivity / AI / Crypto / Gig Economy

   DESCRIPTION:
   Loopuman is a crypto-native microtasking platform. AI agents and
   businesses post tasks. Human workers complete them via Telegram or
   WhatsApp — no new app. Payment in cUSD stablecoin on Celo arrives
   in under 8 seconds. Built for emerging markets.

Submit. Copy URL. Screenshot.

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
PROOF: Submission URL + screenshot
✅ APPROVED: Listed on one of the 2 accepted sites, correct details
❌ REJECTED: Wrong site / incomplete / no URL`,
}),

T({
  id:'S07', cat:'seo_backlinks', budget:0.22, workers:1, days:10,
  tags:['quora','organic-traffic'],
  proof:'url+screenshot',
  proof_label:'Direct URL of your Quora answer + screenshot of it published',

  title:'Write a genuine Quora answer mentioning Loopuman — 100+ words',

  teaser:
`$0.22 — a good Quora answer gets read by thousands for years.
Find a relevant question about earning crypto or MTurk alternatives.
Write a real helpful answer. Mention Loopuman naturally.
One spot. First quality submission wins.

🔗 Proof: Quora answer URL + screenshot.`,

  details:
`WHAT TO DO:
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

1. Go to https://www.quora.com
2. Search one of these:
   → "best platforms to earn cryptocurrency online"
   → "alternatives to Amazon Mechanical Turk"
   → "how to earn money online in Kenya / Nigeria / Philippines"
   → "fastest paying microtask platform"
3. Find a question with 500+ views
4. Write a genuine helpful answer — MINIMUM 100 WORDS

YOUR ANSWER MUST:
   ✅ Actually answer the question helpfully first
   ✅ Mention Loopuman naturally — not as the only option
   ✅ Include the link: https://loopuman.com
   ✅ Explain what makes it different: 8-second crypto payments,
      works in Telegram/WhatsApp, no new app
   ✅ Sound like a real person — not a marketing pitch

Post. Copy URL. Screenshot.

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
PROOF: Quora answer URL + screenshot
✅ APPROVED: 100+ words, link present, reads genuinely helpful
❌ REJECTED: Under 100 words / no link / sounds like spam`,
}),

T({
  id:'S08', cat:'seo_backlinks', budget:0.22, workers:1, days:10,
  tags:['reddit','mturk-alternatives','organic'],
  proof:'url+screenshot',
  proof_label:'Direct URL of your Reddit comment + screenshot of it live',

  title:'Find a Reddit thread asking for MTurk alternatives — recommend Loopuman genuinely',

  teaser:
`$0.22 — people post on Reddit right now asking for MTurk alternatives.
Find one. Write a genuine helpful reply mentioning Loopuman.
One spot. Real traffic that lasts forever.

🔗 Proof: Reddit comment URL + screenshot.`,

  details:
`WHAT TO DO:
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

1. Go to https://www.reddit.com
2. Search: "MTurk alternative" OR "Mechanical Turk alternative"
   OR "earn crypto tasks"
3. Find an active thread (posted last 12 months) where people
   are genuinely asking for platform recommendations
4. Write a helpful reply — MINIMUM 60 WORDS

YOUR REPLY MUST:
   ✅ Actually help them — address what they asked
   ✅ Mention Loopuman with: https://loopuman.com
   ✅ Explain the key difference in plain English:
      8-second crypto payments, Telegram/WhatsApp, no new app
   ✅ Sound like a real person's recommendation — not an ad

Post. Copy the comment URL. Screenshot it live.

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
PROOF: Reddit comment URL + screenshot
✅ APPROVED: 60+ words, link present, genuine, not removed by Reddit
❌ REJECTED: Under 60 words / no link / sounds like spam / removed`,
}),

T({
  id:'S09', cat:'seo_backlinks', budget:0.35, workers:1, days:10,
  tags:['indie-hackers','founders','developer-community'],
  proof:'url+screenshot',
  proof_label:'Indie Hackers post URL + screenshot of it live',

  title:'Write a genuine post about Loopuman on Indie Hackers — 200+ words',

  teaser:
`$0.35 — Indie Hackers is where tech founders and developers live.
A good post drives real traffic, backlinks, and business attention for years.
200+ words. Write like a builder sharing something interesting.
One spot.

🔗 Proof: Post URL + screenshot.`,

  details:
`WHAT TO DO:
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

1. Create a free account at https://www.indiehackers.com
2. Write a post of at least 200 words about Loopuman
3. Post it in the community

TITLE IDEAS (use one or write your own):
   → "AI agents hiring human workers via Telegram, paid on Celo in 8 seconds"
   → "Building the human layer for AI — Telegram/WhatsApp as the task interface"

YOUR POST MUST COVER:
   ✅ What Loopuman does — AI agents post tasks, humans complete via chat
   ✅ The tech — Celo blockchain, cUSD, 8-second payments
   ✅ Why Telegram/WhatsApp matters — zero friction, workers already have it
   ✅ Who the workers are — Africa, Southeast Asia, Philippines
   ✅ Link: https://loopuman.com
   ✅ TONE: Like a thoughtful builder sharing something interesting
      NOT like an advertisement

Post. Copy URL. Screenshot.

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
PROOF: Indie Hackers post URL + screenshot
✅ APPROVED: 200+ words, all points covered, reads like a real builder
❌ REJECTED: Under 200 words / sounds like an ad / no link`,
}),

T({
  id:'S10', cat:'seo_backlinks', budget:0.25, workers:1, days:7,
  tags:['g2','trustpilot','review-site'],
  proof:'url+screenshot',
  proof_label:'Review URL on G2/Trustpilot/Capterra + screenshot',

  title:'Write a genuine review of Loopuman on G2, Trustpilot, or Capterra',

  teaser:
`$0.25 — B2B buyers check G2 and Capterra before every software purchase.
Write a genuine 75+ word review on one of these trusted platforms.
One spot. Permanent trust signal for enterprise clients.

🔗 Proof: Review URL + screenshot.`,

  details:
`WHAT TO DO:
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

Choose ONE platform:
   OPTION A: https://www.g2.com
   OPTION B: https://www.trustpilot.com
   OPTION C: https://www.capterra.com

WRITE A GENUINE REVIEW:
   ✅ Minimum 75 words
   ✅ Mention what Loopuman does specifically
   ✅ Include something positive AND something to improve
   ✅ Sound like a real user — not marketing copy
   ✅ Give an honest star rating

After publishing, copy the URL and screenshot.

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
PROOF: Review URL + screenshot showing it published
✅ APPROVED: 75+ words, genuine, on a recognised review platform
❌ REJECTED: Under 75 words / obviously fake / wrong platform`,
}),


// ╔══════════════════════════════════════════════════════════════╗
// ║  SOCIAL MEDIA — 6 tasks                                     ║
// ║                                                              ║
// ║  WORKER COUNT REASONING:                                     ║
// ║  Follow/like/retweet = workers:1                             ║
// ║  One follow is one follow. Two people following doesn't      ║
// ║  double the value — it just doubles the cost.               ║
// ║                                                              ║
// ║  WhatsApp/Telegram share = workers:1                         ║
// ║  We need the message in groups — one good share is enough.  ║
// ║  Two workers might share in the same group (wasteful).      ║
// ║                                                              ║
// ║  Original tweet = workers:1                                  ║
// ║  We want one genuine post per account.                       ║
// ║                                                              ║
// ║  LinkedIn = workers:1                                        ║
// ║  One professional post from one professional profile.        ║
// ║                                                              ║
// ║  VALIDITY REASONING:                                         ║
// ║  7 days — social tasks are quick. If a worker has           ║
// ║  Telegram/WhatsApp/X, they can do this right now.           ║
// ║  Longer validity = task looks stale.                        ║
// ╚══════════════════════════════════════════════════════════════╝

T({
  id:'SM01', cat:'social_media', budget:0.05, workers:1, days:7,
  tags:['twitter','follow'],
  proof:'screenshot',
  proof_label:'Screenshot showing "Following" next to @loopuman',

  title:'Follow @loopuman on X (Twitter) — 15 seconds, one screenshot',

  teaser:
`$0.05 — follow our X account and send one screenshot.
15 seconds. Any country. One spot.

📸 Proof: Screenshot showing "Following" on @loopuman.`,

  details:
`WHAT TO DO:
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

1. Go to: https://x.com/loopuman
2. Click Follow — button changes to "Following"
3. Screenshot showing "Following" next to @loopuman
4. Upload screenshot here

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
PROOF: Screenshot showing "Following" on @loopuman profile
✅ APPROVED: "Following" clearly visible, @loopuman profile shown
❌ REJECTED: Account under 30 days old / bot account / screenshot unclear`,
}),

T({
  id:'SM02', cat:'social_media', budget:0.08, workers:1, days:7,
  tags:['twitter','like','retweet'],
  proof:'screenshot',
  proof_label:'Screenshot showing red heart AND retweet both active on the pinned tweet',

  title:'Like AND retweet the pinned tweet on @loopuman — both required',

  teaser:
`$0.08 — like AND retweet the pinned tweet on our X profile.
Must do BOTH — screenshot showing both activated.
30 seconds. One spot.

📸 Proof: Screenshot showing both like and retweet on pinned tweet.`,

  details:
`WHAT TO DO:
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

1. Go to: https://x.com/loopuman
2. Find the PINNED tweet at the very top
3. Click ❤️ Like — heart turns red
4. Click 🔁 Retweet → confirm repost
5. Screenshot showing BOTH the red heart AND retweet active
   on that exact pinned tweet

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
PROOF: Screenshot showing both like AND retweet on the pinned tweet
✅ APPROVED: Both red heart and retweet visible on pinned tweet
❌ REJECTED: Only one done / wrong tweet / screenshot unclear`,
}),

T({
  id:'SM03', cat:'social_media', budget:0.18, workers:1, days:7,
  tags:['twitter','original-tweet','any-language'],
  proof:'url+screenshot',
  proof_label:'URL of your live tweet + screenshot of it posted',

  title:'Write and post an original tweet about Loopuman — your own words, any language',

  teaser:
`$0.18 — write a genuine tweet about Loopuman in your own words and language.
No script. Be real. Mention @loopuman. Any country.
One spot — first quality submission wins.

🔗 Proof: Tweet URL + screenshot.`,

  details:
`WHAT TO DO:
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

1. Write ONE original tweet (max 280 characters) about Loopuman
2. Post it from your real X/Twitter account
3. Submit the tweet URL + screenshot

YOUR TWEET MUST:
   ✅ Be written in YOUR OWN words — not copied from our website
   ✅ Mention @loopuman
   ✅ Be in any language you speak naturally
   ✅ Sound like a genuine person sharing a discovery

ANGLE IDEAS — write your own version of one of these:
   → The 8-second crypto payment speed
   → That it works inside Telegram/WhatsApp — no new app needed
   → AI companies hiring humans directly on-chain
   → Built for workers in Africa, Asia, and beyond

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
PROOF: Tweet URL + screenshot
✅ APPROVED: Original, mentions @loopuman, sounds genuine
❌ REJECTED: Copied text / no @loopuman mention / reads like an ad`,
}),

T({
  id:'SM04', cat:'social_media', budget:0.12, workers:1, days:7,
  tags:['whatsapp','group-share'],
  proof:'screenshot',
  proof_label:'Screenshot of message sent in WhatsApp group — group name and member count visible',

  title:'Share Loopuman in a WhatsApp group with 10+ members',

  teaser:
`$0.12 — send our message in a real WhatsApp group with 10+ members.
One screenshot showing the message, group name, and member count.
One spot.

📸 Proof: Screenshot with message + group name + member count.`,

  details:
`WHAT TO DO:
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

1. Open a WhatsApp group you're in with 10+ members
2. Copy and send this EXACT message:

━━━━ COPY AND SEND THIS ━━━━
💰 Earn crypto for simple tasks — no investment needed

Found a platform called Loopuman (loopuman.com).
You earn cUSD — a US dollar stablecoin — for tasks like
image labeling and data checking.

Works directly in Telegram or WhatsApp. No new app needed.
Payments arrive in under 8 seconds. Free to join.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━

3. Tap the group name to see member count
4. Screenshot: message sent + group name + member count visible

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
PROOF: Screenshot with all three visible
✅ APPROVED: Full message sent, 10+ members, all visible in screenshot
❌ REJECTED: Personal chat / under 10 members / partial message`,
}),

T({
  id:'SM05', cat:'social_media', budget:0.12, workers:1, days:7,
  tags:['telegram','group-share'],
  proof:'screenshot',
  proof_label:'Screenshot of Telegram message sent — group name and member count visible',

  title:'Share Loopuman in a Telegram group with 20+ members',

  teaser:
`$0.12 — send our message in a Telegram group with 20+ members.
Screenshot showing message, group name, and member count.
One spot.

📸 Proof: Screenshot with all three visible.`,

  details:
`WHAT TO DO:
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

1. Open a Telegram group you're in with 20+ members
2. Copy and send this EXACT message:

━━━━ COPY AND SEND THIS ━━━━
💰 Earn cUSD crypto for tasks — works in Telegram

@LoopumanBot pays for image labeling, data verification,
and content moderation tasks.

✅ No new app — works right here in Telegram
✅ Payments in cUSD stablecoin (= US dollar value)
✅ Paid in seconds, not days
✅ Open to workers in any country

Try it: https://loopuman.com
━━━━━━━━━━━━━━━━━━━━━━━━━━━━

3. Tap the group name → see member count
4. Screenshot: message + group name + member count visible

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
PROOF: Screenshot with all three visible
✅ APPROVED: Full message sent, 20+ members, all visible
❌ REJECTED: Under 20 members / partial message / count not visible`,
}),

T({
  id:'SM06', cat:'social_media', budget:0.20, workers:1, days:7,
  tags:['linkedin','professional','B2B'],
  proof:'url+screenshot',
  proof_label:'LinkedIn post URL + screenshot of it live',

  title:'Write a professional LinkedIn post about Loopuman — 4–6 sentences',

  teaser:
`$0.20 — write a thoughtful LinkedIn post about Loopuman from a professional angle.
4–6 sentences. Link to loopuman.com. Great if you have a tech or business audience.
One spot. Extra $0.10 bonus if the post gets 5+ reactions in 7 days.

🔗 Proof: LinkedIn post URL + screenshot.`,

  details:
`WHAT TO DO:
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

1. Write a 4–6 sentence LinkedIn post about Loopuman
2. Post on your LinkedIn profile
3. Submit URL + screenshot

ANGLE IDEAS (write in your own words):
   → "AI agents are now hiring human workers on-chain via Celo"
   → "Gig economy going crypto-native — Loopuman pays in cUSD in 8 seconds"
   → "Mobile-first microtasking for Africa and Southeast Asia"

YOUR POST MUST INCLUDE:
   ✅ At least one specific fact about Loopuman
   ✅ Link to: https://loopuman.com
   ✅ At least one hashtag:
      #HumanInTheLoop #AIAgents #Celo #FutureOfWork #GigEconomy
   ✅ Tone: professional and thoughtful — not an advertisement

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
PROOF: LinkedIn post URL + screenshot
✅ APPROVED: 4+ sentences, link present, professional tone
❌ REJECTED: No link / sounds like spam / under 4 sentences
🏆 BONUS: +$0.10 if post gets 5+ reactions within 7 days`,
}),


// ╔══════════════════════════════════════════════════════════════╗
// ║  PRODUCT FEEDBACK — 6 tasks                                 ║
// ║                                                              ║
// ║  WORKER COUNT REASONING:                                     ║
// ║  Bot testing = workers:2 (competition mode)                  ║
// ║  Two people testing independently = two different bugs       ║
// ║  found. Two perspectives on what's confusing. Worth the      ║
// ║  competition overhead. Pick the more detailed review.        ║
// ║                                                              ║
// ║  Website review = workers:2 (competition mode)               ║
// ║  Same reasoning — two fresh eyes on the same site.          ║
// ║                                                              ║
// ║  Competitor research = workers:1                             ║
// ║  Pricing data doesn't change per person researching it.      ║
// ║  One thorough research is all we need.                      ║
// ║                                                              ║
// ║  CTO simulation = workers:2 (competition mode)               ║
// ║  Two different business perspectives = richer feedback.      ║
// ║                                                              ║
// ║  VALIDITY REASONING:                                         ║
// ║  10 days — needs thought but shouldn't sit forever.         ║
// ║  Workers need time to actually test the product.            ║
// ╚══════════════════════════════════════════════════════════════╝

T({
  id:'FB01', cat:'feedback', budget:0.25, workers:2, days:10,
  tags:['telegram-bot','testing','UX'],
  proof:'text+screenshot',
  proof_label:'Written review answering all 6 questions (150+ words) + 2 screenshots from inside the bot',

  title:'Test @LoopumanBot on Telegram as a new user — honest review with screenshots',

  teaser:
`$0.25 — test the Loopuman Telegram bot from scratch as a brand new user.
Go through sign-up, browse tasks, accept one, check your wallet.
Write honestly what works and what's broken. 150+ words, 6 questions.
COMPETITION: 2 workers can submit — founder picks the most useful review.

📝 Proof: 150+ word review + 2 screenshots from inside the bot.`,

  details:
`WHAT TO DO:
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

⚠️ COMPETITION TASK — 2 workers can submit, 1 winner gets paid.
The most detailed and honest review wins.

1. Open Telegram → search @LoopumanBot → start as a brand new user
2. Go through the FULL experience:
   → Registration and onboarding
   → Browse available tasks
   → Accept a task
   → View wallet and balance
   → Check your profile

3. Write a review answering ALL 6 questions — minimum 150 words total:

   Q1: What was the first thing that confused you?
   Q2: Which step almost made you give up and go back?
   Q3: Was the task browsing and acceptance clear? What was unclear?
   Q4: How did the wallet/payment section feel? Did you understand it?
   Q5: What ONE change would make this bot 10x better for new users?
   Q6: Overall rating 1–10 with a specific reason.

4. Take 2 screenshots from inside the bot.
   One must show the most confusing moment you encountered.

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
PROOF: 150+ word review (all 6 questions) + 2 screenshots
✅ APPROVED (WINS): Most detailed honest review with all 6 answered
❌ REJECTED: Under 150 words / questions skipped / no screenshots
💡 Harsh critical feedback is more valuable than praise`,
}),

T({
  id:'FB02', cat:'feedback', budget:0.25, workers:2, days:10,
  tags:['whatsapp-bot','testing','UX'],
  proof:'text+screenshot',
  proof_label:'Written review answering all 6 questions (150+ words) + 2 screenshots from WhatsApp',

  title:'Test the Loopuman WhatsApp bot as a new user — honest review with screenshots',

  teaser:
`$0.25 — test the Loopuman WhatsApp bot completely from scratch.
Sign up, browse, accept a task, check your wallet.
Write honestly what works and what's broken. 150+ words, 6 questions.
COMPETITION: 2 workers can submit — founder picks the most useful review.

📝 Proof: 150+ word review + 2 screenshots from inside the WhatsApp bot.`,

  details:
`WHAT TO DO:
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

⚠️ COMPETITION TASK — 2 workers can submit, 1 winner gets paid.
The most detailed and honest review wins.

1. Go to https://loopuman.com → find the WhatsApp bot link
2. Start fresh as a completely new user
3. Go through: registration → browse tasks → accept one → check wallet

4. Write a review answering ALL 6 questions — minimum 150 words:

   Q1: Was registration clear or confusing? Walk through what happened.
   Q2: What did the bot say that you didn't understand? Quote it if possible.
   Q3: At what point did you feel stuck? What would have helped?
   Q4: How does it compare to other WhatsApp bots you have used?
   Q5: Would you use this regularly to earn money? Honest yes/no/maybe + reason.
   Q6: Overall rating 1–10 with a specific reason.

5. Take 2 screenshots from inside the WhatsApp chat.
   One must show the most confusing moment.

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
PROOF: 150+ word review (all 6 questions) + 2 screenshots
✅ APPROVED (WINS): Most detailed honest review wins
❌ REJECTED: Under 150 words / skipped questions / no screenshots`,
}),

T({
  id:'FB03', cat:'feedback', budget:0.18, workers:2, days:10,
  tags:['website','mobile','UX','SEO'],
  proof:'text',
  proof_label:'All 5 answers — minimum 3 sentences each',

  title:'Review the Loopuman website on your phone — 5 honest questions',

  teaser:
`$0.18 — browse loopuman.com on your phone for 5 minutes as a new visitor.
Answer 5 specific honest questions. No vague answers.
COMPETITION: 2 workers can submit — most specific feedback wins.

📝 Proof: All 5 answers, 3+ sentences each.`,

  details:
`WHAT TO DO:
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

⚠️ COMPETITION TASK — 2 workers can submit, 1 winner gets paid.
The most specific and useful feedback wins.

1. Open https://loopuman.com on your PHONE (not desktop)
2. Browse for at least 5 minutes as a brand new visitor
3. Answer ALL 5 questions — minimum 3 sentences each:

   Q1: When the homepage loaded, did you immediately understand
       what Loopuman does? What was your first impression?

   Q2: What was the most confusing part of the website?
       Name the specific page, section, or element precisely.

   Q3: What information were you looking for that you could NOT find?
       (Pricing? How payments work? How to sign up? What?)

   Q4: Does the website make you trust the platform?
       What specific element increased or decreased your trust?

   Q5: What ONE specific change would most increase your chance
       of signing up? Name something concrete.

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
PROOF: All 5 answers in text box
✅ APPROVED (WINS): Most specific and actionable feedback wins
❌ REJECTED: Vague answers / "it's good" / questions skipped`,
}),

T({
  id:'FB04', cat:'feedback', budget:0.22, workers:1, days:10,
  tags:['competitor-research','pricing','payment-times'],
  proof:'text',
  proof_label:'Formatted comparison of all 4 platforms with source URLs for key facts',

  title:'Research exact payment wait times for MTurk, Appen, Clickworker, and Toloka',

  teaser:
`$0.22 — find the real payment wait times across 4 competing platforms.
Source URLs required for every fact.
This directly shapes how Loopuman markets its 8-second payments.
One spot — thorough research wins.

📝 Proof: Formatted comparison with source URLs.`,

  details:
`WHAT TO DO:
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

Research payment terms for ALL 4 platforms:
1. Amazon Mechanical Turk
2. Appen
3. Clickworker
4. Toloka (or DataAnnotation.tech)

For EACH platform find and report:
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Platform:
Payment wait time (completion → money in hand):
Payment methods available:
Minimum withdrawal amount:
Platform fee or commission:
Available in Kenya/Nigeria/Africa? (yes/no + restrictions):
Source URL:
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Repeat for all 4 platforms.

Include a source URL for every data point.
No source = that fact will not be used.

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
PROOF: Formatted comparison for all 4 platforms with source URLs
✅ APPROVED: All 4 platforms covered, source URLs present
❌ REJECTED: Missing platforms / no source URLs / data clearly wrong`,
}),

T({
  id:'FB05', cat:'feedback', budget:0.28, workers:2, days:10,
  tags:['enterprise','CTO-simulation','B2B'],
  proof:'text',
  proof_label:'All 5 answers — minimum 2 sentences each',

  title:"Evaluate Loopuman as a business needing 500 images labeled per day",

  teaser:
`$0.28 — imagine you run an AI startup that needs data labeled daily.
Would you use Loopuman? Answer 5 specific questions as a business decision-maker.
COMPETITION: 2 workers submit — most realistic business analysis wins.

📝 Proof: All 5 answers, 2+ sentences each.`,

  details:
`WHAT TO DO:
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

⚠️ COMPETITION TASK — 2 workers submit, 1 winner gets paid.
The most realistic and specific business analysis wins.

YOU ARE: Head of AI at a 30-person startup
YOUR NEED: 500 images labeled per day, fast turnaround
CURRENTLY USING: MTurk or freelancers
EVALUATING: https://loopuman.com as a potential vendor

Answer ALL 5 questions — minimum 2 sentences each:

   Q1: After viewing the website, would you trust Loopuman with
       a real production project? What specific thing is still missing?

   Q2: What is your BIGGEST concern about using this for real
       annotation work? Quality? Reliability? Security? Other?

   Q3: What features, guarantees, or information would you need
       before placing your first order?

   Q4: Write the exact pricing structure that would make you sign
       up immediately. Give real numbers — per task? per image? monthly?

   Q5: Write the one-sentence pitch that would convince YOUR CTO
       to try Loopuman this week. Actually write the sentence.






























━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
PROOF: All 5 answers in text box
✅ APPROVED (WINS): Most specific and realistic business analysis wins
❌ REJECTED: Vague / questions skipped / "looks great" without substance`,
}),

T({
  id:'FB06', cat:'feedback', budget:0.20, workers:1, days:10,
  tags:['SEO','keywords','website-improvements'],
  proof:'text',
  proof_label:'Your SEO suggestions — all 4 sections completed',

  title:"Audit loopuman.com for SEO improvements — keywords, meta tags, content gaps",

  teaser:
`$0.20 — audit loopuman.com from an SEO perspective.
Keywords, page titles, meta descriptions, missing pages, technical issues.
One spot. Must have basic SEO knowledge.

📝 Proof: All 4 sections completed.`,

  details:
`WHAT TO DO:
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

1. Visit https://loopuman.com
2. Review from an SEO perspective
3. Complete all 4 sections below:

SECTION 1 — KEYWORD OPPORTUNITIES (list at least 5):
What search terms should Loopuman rank for?
What would workers AND clients search to find a platform like this?

SECTION 2 — PAGE TITLES AND META DESCRIPTIONS:
Visit 3 pages on the site. For each one write a better:
• Page title (under 60 characters)
• Meta description (under 155 characters)

SECTION 3 — CONTENT GAPS:
What pages or content does the site LACK that would help it rank?
Example: blog post "how to earn crypto in Nigeria" / comparison page vs MTurk

SECTION 4 — TECHNICAL QUICK WINS:
Any obvious technical SEO issues?
(Slow load times / missing alt text / no sitemap / no blog / mobile issues)

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
PROOF: All 4 sections in text box
✅ APPROVED: All 4 sections present, specific, genuine SEO knowledge shown
❌ REJECTED: Generic advice / sections skipped / "add more keywords" only`,
}),


// ╔══════════════════════════════════════════════════════════════╗
// ║  LEAD GENERATION — 7 tasks                                  ║
// ║                                                              ║
// ║  WORKER COUNT REASONING:                                     ║
// ║  All lead gen = workers:2 (competition mode)                 ║
// ║  Two researchers find different companies.                   ║
// ║  Requester picks the better/more complete research.          ║
// ║  Result = double the intelligence for one task budget.       ║
// ║                                                              ║
// ║  VALIDITY REASONING:                                         ║
// ║  14 days — research takes real time.                        ║
// ║  Workers need to search, verify, and compile properly.      ║
// ║  Rushing lead gen = bad data = wasted outreach.             ║
// ╚══════════════════════════════════════════════════════════════╝

T({
  id:'LG01', cat:'lead_gen', budget:0.50, workers:2, days:14,
  tags:['ai-companies','hiring','annotation','clients'],
  proof:'text',
  proof_label:'Formatted list of 3 companies with ALL required fields for each',

  title:'Find 3 AI startups actively hiring data annotators right now — with contact details',

  teaser:
`$0.50 — find real AI companies currently paying for human data annotation.
These are Loopuman's ideal first paying clients.
Your research gets used immediately for outreach.
COMPETITION: 2 workers submit — most complete research wins.
Extra $0.10 bonus if you find a direct CTO email.

📝 Proof: Formatted list of 3 companies with all fields.`,

  details:
`WHAT TO DO:
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

⚠️ COMPETITION TASK — 2 workers submit, 1 winner gets paid.
The most complete and verified research wins.

Search LinkedIn Jobs, Indeed, or Wellfound for AI companies
ACTIVELY hiring data annotators, image labelers, or content moderators.
Job posting must be from the LAST 30 DAYS.
Real AI product companies ONLY — no staffing agencies.

FOR EACH OF 3 COMPANIES PROVIDE ALL FIELDS:
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Company name:
Website URL:
What AI product they build (2 sentences):
Type of data they need labeled:
Job posting URL (must be currently open):
Company LinkedIn URL:
Company size:
Head of AI or CTO name (if findable):
Head of AI or CTO LinkedIn URL (if findable):
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Repeat for all 3 companies.

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
PROOF: Formatted list in text box
✅ APPROVED (WINS): Most complete research, all fields present, open job posts
❌ REJECTED: Staffing agencies / expired posts / fields missing
🏆 BONUS: +$0.10 if direct CTO/Head of AI email found for any company`,
}),

T({
  id:'LG02', cat:'lead_gen', budget:0.45, workers:2, days:14,
  tags:['rlhf','ai-labs','highest-value-clients'],
  proof:'text',
  proof_label:'Formatted research on 3 AI companies doing RLHF — all fields and source URLs',

  title:'Find 3 AI companies doing RLHF that need human feedback workers — with contacts',

  teaser:
`$0.45 — RLHF is a billion-dollar market. AI companies need thousands of human reviewers.
One RLHF client = hundreds of Loopuman tasks posted daily.
COMPETITION: 2 workers submit — most verified research wins.

📝 Proof: Formatted research on 3 RLHF companies with source URLs.`,

  details:
`WHAT TO DO:
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

⚠️ COMPETITION TASK — 2 workers submit, 1 winner gets paid.

RLHF = Reinforcement Learning from Human Feedback.
Companies training LLMs need humans to rate and rank AI outputs.
This is exactly what Loopuman workers can do.

SEARCH:
→ LinkedIn Jobs: "AI trainer" / "RLHF" / "AI feedback" / "preference ranking"
→ Outlier AI, Scale AI FAST, Surge AI — find WHO their clients are
→ Google: "[company name] + RLHF training data"
→ AI company blogs mentioning "human feedback"

FOR EACH OF 3 COMPANIES:
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Company name:
Website:
What AI they are building:
How they use human feedback (rating/ranking/annotation):
Source URL confirming they do RLHF:
Company size:
Contact name + LinkedIn (Head of AI Training / ML Lead):
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
PROOF: Formatted list with source URLs
✅ APPROVED (WINS): 3 real companies, RLHF confirmed with source URLs
❌ REJECTED: No source URLs / fields missing / unverifiable`,
}),

T({
  id:'LG03', cat:'lead_gen', budget:0.40, workers:2, days:14,
  tags:['upwork','annotation-buyers','direct-clients'],
  proof:'text',
  proof_label:'Formatted list of 5 active Upwork annotation jobs — all fields',

  title:'Find 5 businesses posting data annotation jobs on Upwork right now',

  teaser:
`$0.40 — businesses on Upwork posting annotation jobs are buying exactly what Loopuman offers.
Find 5 of them. We approach them directly as potential clients.
COMPETITION: 2 workers submit — most complete list wins.

📝 Proof: Formatted list of 5 active Upwork jobs with all fields.`,

  details:
`WHAT TO DO:
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

⚠️ COMPETITION TASK — 2 workers submit, 1 winner gets paid.

1. Go to: https://www.upwork.com/search/jobs/
2. Search: "data annotation" OR "image labeling" OR "content moderation"
3. Filter: Posted last 30 days

FOR EACH OF 5 JOBS:
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Job title:
Client username:
What they need (2 sentences):
Budget or hourly rate:
Job posting URL:
Number of proposals received:
Client star rating:
Client location:
Client total Upwork spend (if shown):
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
PROOF: Formatted list in text box
✅ APPROVED (WINS): 5 real active jobs, all fields complete, URLs working
❌ REJECTED: Closed jobs / not annotation work / fields missing`,
}),

T({
  id:'LG04', cat:'lead_gen', budget:0.40, workers:2, days:14,
  tags:['african-ai','local-clients','emerging-markets'],
  proof:'text',
  proof_label:'Formatted list of 5 African AI companies with all fields',

  title:'Find 5 AI companies in Africa building products that need human data workers',

  teaser:
`$0.40 — African AI companies are Loopuman's natural first clients.
Find 5 real ones building AI products.
COMPETITION: 2 workers submit — most complete research wins.
Extra $0.10 bonus if direct CTO email found.

📝 Proof: Formatted list of 5 African AI companies.`,

  details:
`WHAT TO DO:
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

⚠️ COMPETITION TASK — 2 workers submit, 1 winner gets paid.

Search: Google, LinkedIn, Crunchbase, TechCabal, Disrupt Africa
Target: Kenya, Nigeria, Ghana, South Africa, Egypt, Ethiopia, Rwanda

FOR EACH OF 5 COMPANIES:
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Company name:
Country:
Website URL:
What AI product they build (2–3 sentences):
Why they would need human data workers:
Company size (if known):
CTO or Head of AI name + LinkedIn (if findable):
Contact page URL or email:
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
PROOF: Formatted list with all fields
✅ APPROVED (WINS): 5 real AI product companies, all fields present
❌ REJECTED: Consulting firms / missing fields / not building AI products
🏆 BONUS: +$0.10 if direct CTO email found for any company`,
}),

T({
  id:'LG05', cat:'lead_gen', budget:0.45, workers:2, days:14,
  tags:['grants','accelerators','funding'],
  proof:'text',
  proof_label:'List of 5 open opportunities with all fields and verified deadlines',

  title:'Find 5 currently open grants or accelerators Loopuman can apply for',

  teaser:
`$0.45 — one good grant funds months of Loopuman's growth.
Find 5 real opportunities with applications open RIGHT NOW.
COMPETITION: 2 workers submit — most complete verified list wins.
All deadlines must be in the future.

📝 Proof: List of 5 open opportunities with verified deadlines.`,

  details:
`WHAT TO DO:
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

⚠️ COMPETITION TASK — 2 workers submit, 1 winner gets paid.
⚠️ ALL deadlines must be verified and in the future.
Expired programs = immediate rejection.

Search: celo.org/grants, Google for Startups Africa, Techstars Africa,
Y Combinator, Devpost, DoraHacks, Tony Elumelu Foundation, Norrsken Africa

Best fit for Loopuman:
→ African tech / AI / fintech programs
→ Celo / Web3 ecosystem grants
→ Gig economy / future of work tracks

FOR EACH OF 5 OPPORTUNITIES:
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Program name:
Organization:
Prize or funding amount:
Application deadline (verified, must be future):
Application URL:
Eligibility (brief):
Why Loopuman is a strong fit (2–3 sentences):
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
PROOF: List of 5 with all fields
✅ APPROVED (WINS): All 5 open, deadlines verified future, most complete
❌ REJECTED: Any expired programs / unverified deadlines / fields missing`,
}),

T({
  id:'LG06', cat:'lead_gen', budget:0.38, workers:2, days:14,
  tags:['journalists','press','media-coverage'],
  proof:'text',
  proof_label:'Formatted list of 5 journalists with all required fields',

  title:'Find 5 journalists who cover crypto payments, gig economy, or African tech',

  teaser:
`$0.38 — the right journalist brings Loopuman more users than $5,000 in ads.
Find 5 who write about exactly our space. Recent articles only.
COMPETITION: 2 workers submit — most complete list with emails wins.
Extra $0.10 bonus if direct email found.

📝 Proof: List of 5 journalists with all fields.`,

  details:
`WHAT TO DO:
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

⚠️ COMPETITION TASK — 2 workers submit, 1 winner gets paid.

Target publications: TechCrunch, CoinDesk, Decrypt, The Block,
Rest of World, Wired, Forbes Crypto, Quartz Africa, TechCabal,
Disrupt Africa, Fast Company, MIT Technology Review

Topics they must cover:
→ Cryptocurrency payments in emerging markets
→ Human-in-the-loop AI / data labeling
→ Gig economy / future of work
→ Celo blockchain or stablecoins
→ African fintech / African tech startups

FOR EACH OF 5 JOURNALISTS:
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Full name:
Publication:
Their beat (what they cover):
Twitter/X handle:
Recent relevant article URL (last 6 months):
Email (if publicly listed on byline or profile):
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
PROOF: List of 5 journalists with all fields
✅ APPROVED (WINS): 5 real journalists, recent articles, most complete
❌ REJECTED: Articles older than 6 months / irrelevant beats / fields missing
🏆 BONUS: +$0.10 if direct email found for any journalist`,
}),

T({
  id:'LG07', cat:'lead_gen', budget:0.35, workers:2, days:14,
  tags:['telegram-groups','worker-acquisition','communities'],
  proof:'text',
  proof_label:'Formatted list of 5 active Telegram groups with working invite links',

  title:'Find 5 active Telegram groups where people look for crypto earning or online work',

  teaser:
`$0.35 — find active Telegram communities where future Loopuman workers already gather.
These become worker recruitment targets.
COMPETITION: 2 workers submit — most active groups with working links wins.

📝 Proof: List of 5 Telegram groups with working invite links.`,

  details:
`WHAT TO DO:
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

⚠️ COMPETITION TASK — 2 workers submit, 1 winner gets paid.
⚠️ All invite links must be working and joinable right now.

Search Telegram for groups about:
→ Earning money online / beermoney
→ Crypto airdrops / bounties / earn tasks
→ Data labeling / microtasks
→ Freelancing in Kenya / Nigeria / Philippines
→ Celo / DeFi earning opportunities
→ Remote work in Africa or Southeast Asia

FOR EACH OF 5 GROUPS:
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Group name:
Invite link (working and joinable now):
Member count:
What the group is about (2 sentences):
Language used in the group:
Date of last post you saw:
Why Loopuman workers would be in this group:
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
PROOF: List of 5 groups with all fields
✅ APPROVED (WINS): 5 active groups, working invite links, posts within 7 days
❌ REJECTED: Dead groups / broken links / posts older than 7 days`,
}),


// ╔══════════════════════════════════════════════════════════════╗
// ║  CREATIVE & CONTENT — 7 tasks                               ║
// ║                                                              ║
// ║  WORKER COUNT REASONING:                                     ║
// ║  All creative = workers:2 (competition mode)                 ║
// ║  Cold email, hooks, press release, song, video — these are  ║
// ║  subjective. Two submissions means Ray picks the best one.  ║
// ║  The competition quality pressure produces better work.      ║
// ║                                                              ║
// ║  Translation = workers:1                                     ║
// ║  One native speaker's translation is definitive.             ║
// ║  Two translations = we have to merge them = more work.      ║
// ║                                                              ║
// ║  VALIDITY REASONING:                                         ║
// ║  14 days — creative work needs time.                        ║
// ║  A good song or cold email can't be rushed.                 ║
// ║  Give workers the full 14 days to do it well.               ║
// ╚══════════════════════════════════════════════════════════════╝

T({
  id:'CC01', cat:'content', budget:0.30, workers:2, days:14,
  tags:['cold-email','CTO-outreach','B2B-sales'],
  proof:'text',
  proof_label:'Subject line on first line, then full email body (150–200 words)',

  title:'Write a cold email to an AI startup CTO that would actually get a reply',

  teaser:
`$0.30 — write the cold email that gets a CTO to try Loopuman.
Under 200 words. Human. Specific. No buzzwords.
COMPETITION: 2 workers submit — most compelling email wins.
Best subject line earns an extra $0.10 bonus.

📝 Proof: Subject line + email body (150–200 words).`,

  details:
`WHAT TO DO:
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

⚠️ COMPETITION TASK — 2 workers submit, 1 winner gets paid.
The most compelling email that would actually get a reply wins.

Write a cold email FROM Loopuman TO the CTO of an AI startup.
GOAL: Get them to sign up and post their first task.

HARD RULES:
   ✅ Write your own original subject line — make it irresistible
   ✅ Maximum 200 words in the body
   ✅ Open with THEIR pain — slow data, expensive Scale AI
   ✅ Explain Loopuman in 1–2 sentences only
   ✅ One clear CTA: "try free" or "15-min call"
   ✅ Sound like a human — not a marketing team at 2pm on a Friday

BANNED WORDS — use any of these = rejected:
innovative | revolutionary | game-changing | synergy |
cutting-edge | disrupting | paradigm | leverage | ecosystem

FORMAT YOUR SUBMISSION:
SUBJECT: [your subject line]

[Your email body — 150–200 words]

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
PROOF: Subject line + email body in text box
✅ APPROVED (WINS): Most compelling email, 150–200 words, no banned words
❌ REJECTED: Over 200 words / banned words / no subject / reads like a template
🏆 BONUS: +$0.10 for the subject line used in real CTO outreach`,
}),

T({
  id:'CC02', cat:'content', budget:0.22, workers:2, days:14,
  tags:['hooks','headlines','marketing-copy'],
  proof:'text',
  proof_label:'Hook 1, Hook 2, Hook 3 clearly labelled — each max 15 words',

  title:'Write 3 one-liner marketing hooks for Loopuman — one per audience, max 15 words each',

  teaser:
`$0.22 — three short lines that stop the scroll.
One for AI companies, one for workers in Africa/Asia, one for crypto people.
Max 15 words each. COMPETITION: 2 workers submit — most compelling set wins.
Extra $0.10 bonus for the set used in real marketing.

📝 Proof: 3 hooks, clearly labelled, max 15 words each.`,

  details:
`WHAT TO DO:
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

⚠️ COMPETITION TASK — 2 workers submit, 1 winner gets paid.
Most compelling set of 3 hooks wins.

Write 3 hooks — MAX 15 WORDS EACH. Count every word.
16 words = rejected.

HOOK 1 — FOR AI COMPANIES / CTOs:
They pay $100K+/year to Scale AI or Appen for slow annotation.
Make them need to click. 15 words max.

HOOK 2 — FOR WORKERS IN AFRICA / ASIA / PHILIPPINES:
They want real income, not scam promises or PayPal delays.
They have Telegram or WhatsApp already.
Speak their reality. 15 words max.

HOOK 3 — FOR CELO / CRYPTO / WEB3 COMMUNITY:
They want blockchain utility — not speculation.
Stablecoins used for real human work.
15 words max.

FORMAT:
HOOK 1 (AI companies): [your hook]
HOOK 2 (Workers): [your hook]
HOOK 3 (Crypto/Celo): [your hook]

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
PROOF: All 3 hooks in text box, clearly labelled
✅ APPROVED (WINS): Most compelling set, each ≤15 words
❌ REJECTED: Any hook over 15 words / labels missing / copied from site
🏆 BONUS: +$0.10 for the set used in actual marketing`,
}),

T({
  id:'CC03', cat:'content', budget:0.28, workers:1, days:14,
  tags:['translation','native-speaker','swahili-tagalog-yoruba-hausa'],
  proof:'text',
  proof_label:'Your language stated at top, then the complete translation — no English mixed in',

  title:'Translate Loopuman homepage intro into your native language — native speakers only',

  teaser:
`$0.28 — native speaker of Swahili, Tagalog, Yoruba, Hausa, Hindi, Arabic, or French?
Translate our homepage intro. Your translation goes live on the platform.
Reaches millions of potential workers in your country.
One spot. Quality-checked by another native speaker.

📝 Proof: Complete translation in your language (state language at top).`,

  details:
`WHAT TO DO:
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

⚠️ NATIVE SPEAKERS ONLY — no Google Translate / DeepL / any tools.
Will be quality-checked by another native speaker.
Machine translations are obvious and will be rejected immediately.

TRANSLATE THIS COMPLETE TEXT INTO YOUR NATIVE LANGUAGE:
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Loopuman — The Human Layer for AI

Earn money for simple tasks right inside Telegram or WhatsApp.
No new app needed.

Get paid in cUSD — a US dollar stablecoin — in under 8 seconds.

HOW IT WORKS:
1. Accept a task through @LoopumanBot on Telegram or WhatsApp
2. Complete the work — image labeling, data checking, or content review
3. Submit and receive your cUSD payment instantly

FOR BUSINESSES:
Post tasks to our global network of verified human workers.
Quality results. Instant payments.

Join free at loopuman.com
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

Start with: "Language: [your language]"
Then provide the complete translation only — no English.

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
PROOF: Language stated + complete translation in text box
✅ APPROVED: Natural fluent translation, all sections included
❌ REJECTED: Machine translation / English mixed in / partial / wrong language`,
}),

T({
  id:'CC04', cat:'content', budget:0.48, workers:2, days:14,
  tags:['video','ugc','tiktok','reels','authentic'],
  proof:'url+screenshot',
  proof_label:'Video URL (TikTok/Reels/YouTube Shorts) + screenshot of it live and public',

  title:'Record a 30–60 second video completing a real Loopuman task and getting paid',

  teaser:
`$0.48 — record yourself completing a real task on @LoopumanBot and getting paid.
No script. Vertical video. Your real reaction.
COMPETITION: 2 workers submit — most authentic and clear video wins.
Real Celo transaction required — fakes will be caught.

🎥 Proof: TikTok/Reels/YouTube Shorts URL + screenshot.`,

  details:
`WHAT TO DO:
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

⚠️ COMPETITION TASK — 2 workers submit, 1 winner gets paid.
Most authentic, clear, and engaging video wins.
⚠️ Real transaction required — verified on Celo blockchain.

Record a SHORT VERTICAL VIDEO on your phone (9:16 portrait).
Show a REAL task completed and a REAL payment received.

SHOT LIST:
[0–5s]   Open @LoopumanBot in Telegram — show the chat
[5–15s]  Browse tasks, accept one — let viewer see the task
[15–25s] Complete the task naturally — don't overthink it
[25–35s] Payment confirmation arrives — hold still 2 seconds
[35–45s] Your genuine spoken reaction — 1–2 sentences

VIDEO MUST:
   ✅ Vertical format (portrait — phone upright)
   ✅ 30–60 seconds total
   ✅ Audio on — your voice at the end
   ✅ Real task + real payment — no staging
   ✅ Face optional — screen recording is fine

Post to: TikTok OR Instagram Reels OR YouTube Shorts

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
PROOF: Video URL + screenshot showing it live and public
✅ APPROVED (WINS): Real payment shown, 30–60s, audio on, URL working
❌ REJECTED: Staged / no audio / under 30s / not public / fake transaction`,
}),

T({
  id:'CC05', cat:'content', budget:0.38, workers:2, days:14,
  tags:['song','lyrics','anthem','afrobeats','creative'],
  proof:'text',
  proof_label:'Full song lyrics (minimum 16 lines with verse and chorus structure)',

  title:'Write original song lyrics for the Loopuman anthem — any style, any language',

  teaser:
`$0.38 — write the Loopuman song. Afrobeats, hip-hop, Amapiano, pop, rap.
Any language. About earning crypto on Telegram and AI hiring humans.
COMPETITION: 2 workers submit — best lyrics get recorded as official anthem.
Songwriter credit on the released song.

📝 Proof: Full formatted lyrics (minimum 16 lines).`,

  details:
`WHAT TO DO:
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

⚠️ COMPETITION TASK — 2 workers submit, 1 winner gets paid.
Best lyrics get recorded as the official Loopuman anthem.
Winner gets songwriter credit on the released song.

Write original song lyrics. Any genre. Any language.

THE SONG MUST CAPTURE:
   ✅ Earning cUSD crypto from your phone
   ✅ Getting paid in seconds — not days
   ✅ Working through Telegram or WhatsApp — no new app
   ✅ AI companies hiring real humans
   ✅ The name "Loopuman" — multiple times
   ✅ loopuman.com — woven in naturally

MINIMUM STRUCTURE:
[VERSE 1] — 4 to 8 lines
[CHORUS] — 4 to 8 lines (must be catchy and memorable)
[VERSE 2] — 4 to 8 lines
[BRIDGE or OUTRO] — optional but encouraged

MINIMUM: 16 lines total

FORMAT:
[VERSE 1]
(your lyrics)

[CHORUS]
(your lyrics)

[VERSE 2]
(your lyrics)

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
PROOF: Full formatted lyrics in text box
Optional: voice note or recording performing it
✅ APPROVED (WINS): Best lyrics, 16+ lines, Loopuman mentioned multiple times
❌ REJECTED: Under 16 lines / no structure / Loopuman barely mentioned
🏆 BONUS: +$0.12 for lyrics we record as the official anthem`,
}),

T({
  id:'CC06', cat:'content', budget:0.22, workers:2, days:14,
  tags:['marketing-ideas','growth','creative-strategy'],
  proof:'text',
  proof_label:'All 5 marketing ideas with all sections completed for each',

  title:"Give Loopuman 5 creative marketing ideas we probably haven't thought of",

  teaser:
`$0.22 — surprise us with 5 genuinely creative, specific marketing ideas.
Not "post on social media" — think differently about Loopuman's unique angles.
COMPETITION: 2 workers submit — most original and actionable ideas win.
Extra $0.10 bonus for any idea we actually execute.

📝 Proof: 5 ideas with all sections completed.`,

  details:
`WHAT TO DO:
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

⚠️ COMPETITION TASK — 2 workers submit, 1 winner gets paid.
Most original and actionable ideas win.

Loopuman's unique angles to build ideas around:
→ AI agents literally hiring humans (genuinely weird concept)
→ Paid in 8 seconds (absurdly fast vs any competitor)
→ Works in Telegram/WhatsApp — no new app (huge UX advantage)
→ Workers in Africa earning crypto before their bank opens
→ #1 on the Celo AI agent leaderboard

FOR EACH OF 5 IDEAS:
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Idea name (give it a catchy title):
What exactly you do (specific — not "use TikTok" but HOW):
Who it targets (workers/CTOs/developers/press/students):
What success looks like:
Approximate cost to execute:
Why you think this would work:
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
PROOF: All 5 ideas with all sections in text box
✅ APPROVED (WINS): Most original and actionable ideas win
❌ REJECTED: Vague ideas / "post on social media" / fewer than 5
🏆 BONUS: +$0.10 for any idea Loopuman actually executes`,
}),

T({
  id:'CC07', cat:'content', budget:0.30, workers:2, days:14,
  tags:['press-release','PR','media-outreach'],
  proof:'text',
  proof_label:'Full press release (minimum 300 words with all required sections)',

  title:"Write a professional press release announcing Loopuman's launch",

  teaser:
`$0.30 — write a proper press release about Loopuman.
Professional. Factual. Newsworthy — not marketing fluff.
COMPETITION: 2 workers submit — best press release gets sent to journalists.
Extra $0.12 bonus if we actually send yours to our media list.

📝 Proof: Full press release (300+ words).`,

  details:
`WHAT TO DO:
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

⚠️ COMPETITION TASK — 2 workers submit, 1 winner gets paid.
Best press release gets sent to real journalists.

Write a formal press release. Minimum 300 words.

REQUIRED STRUCTURE:
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
HEADLINE: (max 15 words — newsworthy and specific)
Not "Loopuman Launches" — something like:
"New Platform Lets AI Agents Hire Humans via Telegram, Pay cUSD in 8 Seconds"

SUBHEADLINE: (max 20 words, supports the headline)

DATELINE: [City, Month Year] —

OPENING PARAGRAPH:
Answer who/what/when/where/why in 3–4 sentences.

BODY (2–3 paragraphs):
→ The technology: Celo blockchain, cUSD, 8-second payments
→ The market: AI companies needing data + workers in Africa/Asia
→ How it works: tasks via Telegram/WhatsApp, no new app, instant payment

QUOTE from Ray, Founder of Loopuman:
(1–2 sentences — genuine and specific)

ABOUT LOOPUMAN (boilerplate):
3–4 sentences ending with loopuman.com

CONTACT:
media@loopuman.com | https://loopuman.com
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

TONE: Factual and specific — not adjectives.
Real press releases report facts, not feelings.

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
PROOF: Full press release in text box
✅ APPROVED (WINS): Best press release, 300+ words, all sections present
❌ REJECTED: Under 300 / sections missing / reads like a marketing brochure
🏆 BONUS: +$0.12 if Loopuman sends your press release to our media list`,
}),


// ╔══════════════════════════════════════════════════════════════╗
// ║  ON-CHAIN & PLATFORM GROWTH — 4 tasks                       ║
// ║                                                              ║
// ║  WORKER COUNT REASONING:                                     ║
// ║  Agentscan rating = workers:1                                ║
// ║  One genuine review per person. A competition review         ║
// ║  doesn't make sense — both would be published.              ║
// ║                                                              ║
// ║  Transaction submission = workers:1                          ║
// ║  Each tx hash is unique. One worker, one tx, one submission. ║
// ║                                                              ║
// ║  8004scan audit = workers:2 (competition mode)               ║
// ║  Two people auditing = more warnings found.                  ║
// ║  Pick the most thorough audit.                              ║
// ║                                                              ║
// ║  Referral = workers:1                                        ║
// ║  Each referral is unique to one worker.                     ║
// ║                                                              ║
// ║  VALIDITY REASONING:                                         ║
// ║  7 days — on-chain activity should happen fast.             ║
// ║  Agentscan score needs boosting now, not in 2 weeks.        ║
// ╚══════════════════════════════════════════════════════════════╝

T({
  id:'OC01', cat:'agentscan_boost', budget:0.22, workers:1, days:7,
  tags:['agentscan','rating','celo-leaderboard'],
  proof:'screenshot',
  proof_label:'Screenshot of your rating and review submitted on agentscan.info',

  title:'Rate and review Loopuman on Agentscan — Celo AI agent leaderboard',

  teaser:
`$0.22 — rate Loopuman on the Celo AI agent leaderboard.
Keeps us at #1. Verified on-chain. 5 minutes.
One spot. Genuine review required.

📸 Proof: Screenshot of your rating and review on agentscan.info.`,

  details:
`WHAT TO DO:
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

1. Go to: https://agentscan.info
2. Search: Loopuman
   OR paste: 0xeF4Acd50101C2afD14c2c213b30d8D8e9a91f0d2
3. Find Loopuman's profile
4. Submit a genuine rating (1–5 stars) + written review

IF WALLET REQUIRED:
→ Connect MetaMask → Celo network
→ Chain ID: 42220 | RPC: https://forno.celo.org
→ Gas is less than $0.001

YOUR REVIEW SHOULD MENTION:
   ✅ What Loopuman does (AI agents hiring humans via Telegram/WhatsApp)
   ✅ The 8-second cUSD payment speed
   ✅ Your honest opinion of the concept
   ✅ One thing you'd improve or add

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
PROOF: Screenshot of your rating and review on agentscan.info
✅ APPROVED: Genuine review visible, correct site, screenshot clear
❌ REJECTED: Copy-pasted / screenshot unclear / wrong site`,
}),

T({
  id:'OC02', cat:'agentscan_boost', budget:0.18, workers:1, days:7,
  tags:['on-chain','transaction','double-payment'],
  proof:'text+screenshot',
  proof_label:'Transaction hash (0x...) + screenshot from bot + screenshot from Celo explorer',

  title:'Complete a real Loopuman task and submit your TX hash — earn twice',

  teaser:
`$0.18 PLUS the task payout = you earn twice.
Complete any task on @LoopumanBot. Submit your Celo transaction hash.
Every real transaction boosts our Agentscan Usage score.
One spot per person.

📝 Proof: TX hash + 2 screenshots (bot + explorer).`,

  details:
`WHAT TO DO:
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

1. Open Telegram → search @LoopumanBot
2. Register as a worker (free)
3. Accept a task → complete it → receive your cUSD payment
4. Find your transaction:
   → Go to: https://explorer.celo.org
   → Search your wallet address
   → Find the incoming cUSD payment
   → Copy the transaction hash (starts with 0x...)

SUBMIT ALL THREE:
   1. TX hash: 0x[paste here]
   2. Screenshot of payment confirmation inside the bot
   3. Screenshot of TX on celoscan.io / explorer.celo.org

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
💰 YOU EARN TWICE:
   → Task payout direct to your wallet
   → + $0.18 for this submission after approval

PROOF: TX hash + 2 screenshots
✅ APPROVED: Valid TX hash, both screenshots present and clear
❌ REJECTED: Fake/invalid hash / screenshots missing / not on Celo`,
}),

T({
  id:'OC03', cat:'agentscan_boost', budget:0.32, workers:2, days:7,
  tags:['8004scan','audit','technical-compliance'],
  proof:'text+screenshot',
  proof_label:'Written list of every warning found + screenshots of each individual warning',

  title:'Audit Loopuman on 8004scan.io — document every warning and score',

  teaser:
`$0.32 — audit our AI agent profile on 8004scan.
Every warning you find and document is one we can fix.
Each fix improves our score and enterprise credibility.
COMPETITION: 2 workers audit independently — most thorough report wins.

📝 Proof: Written list of all warnings + screenshots of each.`,

  details:
`WHAT TO DO:
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

⚠️ COMPETITION TASK — 2 workers audit, 1 winner gets paid.
Most thorough and complete audit wins.

1. Go to: https://www.8004scan.io/agents/celo/17
2. Examine EVERY section carefully:
   → Metadata Validation
   → Service Endpoint checks
   → Publisher Score breakdown
   → Any red, yellow, or orange warnings
3. Also check: https://best-practices.8004scan.io
   → List every best practice Loopuman is NOT following

FOR EVERY WARNING FOUND:
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Warning code (e.g. WA008):
Full warning text (exact copy):
Which section it appears in:
Screenshot of this specific warning:
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

ALSO REPORT:
→ Current scores: Profile / Publisher / Usage
→ Best practices NOT being followed (from best-practices.8004scan.io)

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
PROOF: List of all warnings + screenshots
✅ APPROVED (WINS): Most complete audit, all warnings documented
❌ REJECTED: Incomplete / no screenshots / scores not reported`,
}),

T({
  id:'OC04', cat:'platform_growth', budget:0.12, workers:1, days:7,
  tags:['referral','worker-acquisition','growth'],
  proof:'screenshot',
  proof_label:'Screenshot showing your friend completed registration in @LoopumanBot',

  title:'Refer one friend to Loopuman — get them to complete sign-up on @LoopumanBot',

  teaser:
`$0.12 — bring one real friend into Loopuman as a new worker.
Help them open @LoopumanBot on Telegram and complete registration.
One spot. New users only — we verify in the database.

📸 Proof: Screenshot of their registration confirmation in the bot.`,

  details:
`WHAT TO DO:
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

1. Tell a friend about Loopuman
2. Help them open Telegram and find @LoopumanBot
3. Watch them complete registration
4. Screenshot their registration success/welcome message
   (their Telegram username must be visible)

HOW TO PITCH IT:
"It's a platform that pays you cUSD crypto for simple tasks like
labeling images. Works right inside Telegram — no new app.
Payments arrive in seconds. Free to join."

SUBMIT:
→ Screenshot of their registration confirmation
→ Their Telegram username: @[username]

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
PROOF: Screenshot of registration + their Telegram username
✅ APPROVED: New user confirmed in database, screenshot clear
❌ REJECTED: Existing user / same person / username not provided`,
}),

]; // END TASKS — 40 tasks total


// ════════════════════════════════════════════════════════════════
//  SUMMARY TABLE
// ════════════════════════════════════════════════════════════════

function printSummary(tasks) {
  const cats = {};
  tasks.forEach(t => {
    if (!cats[t.category]) cats[t.category] = { n:0, budget:0, w1:0, w2:0 };
    cats[t.category].n++;
    cats[t.category].budget += t.budget * t.max_workers;
    if (t.max_workers === 1) cats[t.category].w1++;
    else cats[t.category].w2++;
  });

  const totalW1 = tasks.filter(t => t.max_workers === 1).length;
  const totalW2 = tasks.filter(t => t.max_workers === 2).length;
  const total   = tasks.reduce((s,t) => s + t.budget * t.max_workers, 0);

  console.log('\n╔═══════════════════════════════════════════════════════════════╗');
  console.log('║   LOOPUMAN TASK SEEDER v6.0 — FINAL                         ║');
  console.log('╚═══════════════════════════════════════════════════════════════╝\n');
  console.log('  Cat                  Tasks  1-worker  2-worker  Max Budget');
  console.log('  ' + '─'.repeat(61));
  Object.entries(cats).forEach(([cat, i]) =>
    console.log(`  ${cat.padEnd(20)} ${String(i.n).padStart(5)}  ${String(i.w1).padStart(8)}  ${String(i.w2).padStart(8)}  $${i.budget.toFixed(2).padStart(9)}`));
  console.log('  ' + '─'.repeat(61));
  console.log(`  ${'TOTAL'.padEnd(20)} ${String(tasks.length).padStart(5)}  ${String(totalW1).padStart(8)}  ${String(totalW2).padStart(8)}  $${total.toFixed(2).padStart(9)}`);

  const d7  = tasks.filter(t => t.expires_at === new Date(Date.now()+7*86400000).toISOString().split('T')[0]).length;
  console.log(`\n  Validity: 7 days = quick tasks | 10 days = moderate | 14 days = creative`);
  console.log(`  Budget range: $${Math.min(...tasks.map(t=>t.budget)).toFixed(2)} – $${Math.max(...tasks.map(t=>t.budget)).toFixed(2)}`);
  console.log(`  Competition tasks (workers:2): ${totalW2} tasks`);
  console.log(`  Single-winner tasks (workers:1): ${totalW1} tasks\n`);
}


// ════════════════════════════════════════════════════════════════
//  SEEDER ENGINE
// ════════════════════════════════════════════════════════════════

async function seed() {
  const args      = process.argv.slice(2);
  const dryRun    = args.includes('--dry-run');
  const listOnly  = args.includes('--list');
  const catIdx    = args.indexOf('--cat');
  const catFilter = catIdx !== -1 ? args[catIdx + 1] : null;

  let tasks = catFilter
    ? TASKS.filter(t => t.category === catFilter)
    : TASKS;

  if (catFilter && !tasks.length) {
    const cats = [...new Set(TASKS.map(t => t.category))].join(', ');
    console.error(`\n❌  Category "${catFilter}" not found.\nAvailable: ${cats}\n`);
    process.exit(1);
  }

  printSummary(tasks);

  if (listOnly) {
    tasks.forEach((t,i) =>
      console.log(`  ${String(i+1).padStart(2)}. [${t.metadata.task_id}] $${t.budget} ×${t.max_workers} ${t.expires_at.split('T')[0]} — ${t.title.substring(0,55)}`));
    return;
  }

  if (dryRun) {
    console.log('✅  DRY RUN complete — no data written.\n');
    console.log('    node loopuman-seeder-v6.js  (to seed for real)\n');
    return;
  }

  if (!REQUESTER_ID) {
    console.error('❌  SEED_REQUESTER_USER_ID not set in .env\n');
    console.error('    echo "SEED_REQUESTER_USER_ID=97c472eb-7db6-4639-90f0-a48047b2e46e" >> .env\n');
    process.exit(1);
  }

  console.log('🚀  Seeding...\n');
  let ok = 0, fail = 0;

  for (const t of tasks) {
    const { error } = await sb.from(TABLE).insert(t);
    if (error) {
      console.error(`  ❌ [${t.metadata.task_id}] ${t.title.substring(0,50)} → ${error.message}`);
      fail++;
    } else {
      console.log(`  ✅ [${t.metadata.task_id}] $${t.budget}×${t.max_workers} [${t.expires_at.split('T')[0]}] — ${t.title.substring(0,55)}`);
      ok++;
    }
  }

  const spent = tasks.slice(0, ok).reduce((s,t) => s + t.budget * t.max_workers, 0);
  console.log(`\n${'═'.repeat(63)}`);
  console.log(`  ✅  Seeded: ${ok} tasks   ❌  Failed: ${fail}`);
  console.log(`  💰  Max budget if all slots filled: $${spent.toFixed(2)}`);
  console.log(`${'═'.repeat(63)}\n`);
}

seed().catch(e => { console.error('Fatal:', e.message); process.exit(1); });
