Daily Quests

Team goals like "find 5 solvency cards" or "add 3 frontline answers today" — a quest board that tracks live progress against real, same-day contribution submissions.

  • Route: /research/cards/quests
  • Package: debate-card-search

What it shows

Every saved quest template's progress for the current UTC calendar day, an optional expiry/recurrence, an easy/medium/hard difficulty worth an escalating point value, and a "Your streak" section that records today's mission result and shows the reward.

Data flow

state/dailyQuests.ts (localStorage: dailyQuestTemplates)
state/contributions.ts (localStorage: contributions)
  → buildPersistedDailyQuestBoard(now)
  → panels/DailyQuestsPanel.tsx
  → apps/debate-ai.com/app/cards/quests/page.tsx

Completing every quest on the board posts a celebration to the News Stream automatically.

Known gaps

  • No contributor identity/permission checks.
  • Contributions saved before this change don't carry submittedAt/ argBlock and are excluded from quest scoring.