diff --git a/src/review-sweep.ts b/src/review-sweep.ts index 45593b2..412029b 100755 --- a/src/review-sweep.ts +++ b/src/review-sweep.ts @@ -100,7 +100,7 @@ function loadConfig(): Config { homeReviewDir: join(stupifyHome, '.review'), scope: scopeRaw === 'label' ? 'label' : 'auto', // auto is the default; only the explicit string 'label' opts into per-PR tagging reviewLabel: pick('REVIEW_LABEL', 'codex-review'), - diffLineCap: int('DIFF_LINE_CAP', 5000, 1), // generous by design — only skips genuinely huge PRs; override via config.env + diffLineCap: int('DIFF_LINE_CAP', 20000, 1), // generous by design — only skips genuinely huge PRs; override via config.env dryRun: bool('DRY_RUN', false, true), // unset = live (cron's normal mode); garbage = preview (never post on a typo) maxPrs: int('MAX_PRS', 15, 1), maxReviewsPerDay: int('MAX_REVIEWS_PER_DAY', 0, 0), // daily cap; 0 = OFF (default). Per-head dedup + MAX_PRS/sweep + the rate-limit early-exit already bound spend; set a number for a hard daily ceiling.