#!/usr/bin/env node
/**
 * Background Clone Worker
 *
 * Standalone script that runs repository cloning in a detached process.
 * Survives terminal close - progress tracked via job state file.
 *
 * CRITICAL BEHAVIOR:
 * - NEVER stops on individual repo failures - always continues to the end!
 * - Already-cloned repos are automatically skipped (enables easy resume)
 * - Final status: 'completed' (all success) or 'completed_with_warnings' (any failure)
 * - NEVER marks as 'failed' unless the entire job crashes
 * - Failed repos are tracked in result.json with error reasons
 *
 * Usage:
 *   node clone-worker.js <jobId> <projectPath>
 *
 * The worker reads job configuration from:
 *   .specweave/state/jobs/<jobId>/config.json
 *
 * And updates progress to:
 *   .specweave/state/background-jobs.json
 */
export {};
//# sourceMappingURL=clone-worker.d.ts.map