#!/usr/bin/env tsx
/**
 * Migration script: Add mode: "literacy" to Content Lake task documents.
 *
 * Phase 7f of the Architecture Overhaul. Queries all ailf.task documents
 * that lack an explicit `mode` field and patches them with
 * `mode: "literacy"` (the default mode for existing tasks).
 *
 * Idempotent — the GROQ query only matches documents where
 * `!defined(mode)`, so re-running has no effect on already-patched
 * documents.
 *
 * Usage:
 *   cd packages/eval
 *   npx tsx src/scripts/migrate-task-mode.ts --dry-run
 *   npx tsx src/scripts/migrate-task-mode.ts
 *
 * Prerequisites:
 *   - SANITY_API_TOKEN with write access to the project
 *   - SANITY_PROJECT_ID and SANITY_DATASET configured (or defaults used)
 *
 * @see docs/archive/exec-plans/architecture-overhaul/phase-7-migrate-literacy.md
 */
export {};
