{ "name": "@kentcdodds/codebase-cleanup", "version": "0.2.0", "private": true, "type": "module", "scripts": { "test": "node --test --experimental-strip-types src/*.test.ts" }, "exports": { ".": "./src/index.ts", "./config": "./src/config.ts", "./run": "./src/run.ts", "./prompts": "./src/prompts.ts", "./handle-ci-failure": "./src/handle-ci-failure.ts", "./ci-recheck": "./src/ci-recheck.ts", "./ci-episode": "./src/ci-episode.ts", "./jobs/legacy-reaper": "./src/jobs/legacy-reaper.ts", "./jobs/docs-freshness": "./src/jobs/docs-freshness.ts", "./jobs/keep-tests-tight": "./src/jobs/keep-tests-tight.ts", "./jobs/general-audit": "./src/jobs/general-audit.ts" }, "kody": { "id": "codebase-cleanup", "description": "Cursor cloud agents for legacy cleanup, docs freshness, tight tests, and prod CI fixes, plus a weekly Devin general audit.", "tags": [ "cursor", "cleanup", "docs", "tests", "ci", "automation", "github", "devin", "security", "general-audit", "performance", "accessibility" ], "searchText": "codebase cleanup legacy reaper docs freshness keep tests tight jev clef triage diff since last cleanup merge chunk prod ci failure cursor cloud agent ship-pr schedule webhook general audit security performance accessibility code health devin fusion", "dependencies": { "@kentcdodds/cursor": "*", "@kentcdodds/github": "*", "@kentcdodds/devin": "*", "@kentcdodds/jev": "*" }, "jobs": { "legacy-reaper": { "entry": "./src/jobs/legacy-reaper.ts", "schedule": { "type": "cron", "expression": "0 2 * * 1" }, "timezone": "America/Denver", "enabled": true, "description": "Weekly Legacy Reaper cleanup (Mon 2:00 AM America/Denver)." }, "docs-freshness": { "entry": "./src/jobs/docs-freshness.ts", "schedule": { "type": "cron", "expression": "0 3 * * *" }, "timezone": "America/Denver", "enabled": true, "description": "Daily docs freshness pass scoped to docs changes since the last cleanup merge, Jev triage, at most 3 Cursor agents; Sunday full sweep (3:00 AM America/Denver)." }, "keep-tests-tight": { "entry": "./src/jobs/keep-tests-tight.ts", "schedule": { "type": "cron", "expression": "30 3 * * *" }, "timezone": "America/Denver", "enabled": true, "description": "Daily keep-tests-tight pass scoped to test changes since the last cleanup merge, Jev triage, at most 3 Cursor agents; Sunday full sweep (3:30 AM America/Denver)." }, "general-audit": { "entry": "./src/jobs/general-audit.ts", "schedule": { "type": "cron", "expression": "0 3 * * 1" }, "timezone": "America/Denver", "enabled": true, "description": "Weekly Devin (Fusion) general audit in one session: security, performance, accessibility, code health; private findings report (Mon 3:00 AM America/Denver)." } }, "webhooks": [ { "name": "github-ci-failure", "export": "./handle-ci-failure", "responseMode": "ack", "description": "GitHub check_suite / workflow_run (/ check_run) completions on the configured branch \u2192 deferred 60s re-check \u2192 at most one Cursor agent per red stretch. Each owner mints their own endpoint and adds it to their repos.", "verification": { "type": "hmac-sha256", "header": "x-hub-signature-256", "encoding": "hex", "prefix": "sha256=" }, "replay": { "deliveryIdHeader": "X-GitHub-Delivery" } } ] } }