Skip to content
← Public packages

@kentcdodds/kody-issue-triage

Loop-safe triage for Kody run errors and fleet package-runtime error-rate elevations. Wakes Cole (Grok Bot) to decide; Cursor agents only when Cole escalates.

src/jobs/sweep.ts

10 lines · 361 B · TypeScript
import sweep from '../sweep.ts'

/**
 * No-arg scheduled wrapper. Never dry-run; the kill switch still applies.
 * Limit 3 matches maxAgentsPerHour so a handled-peer skip cannot starve
 * a real queued fingerprint for the rest of the hour.
 */
export default async function scheduledSweep() {
	return await sweep({ dryRun: false, limit: 3, reconcile: true })
}