Adds a daily GitHub Actions cron that runs a zero-cost deterministic scan (gc-scan.mjs) then hands findings to a Haiku subagent for triage: - Tier A findings (stale TODOs, console.log, @ts-ignore, .mdc refs) → draft PRs - Tier B findings (oversized files, orphaned rule refs, outdated deps) → Issues - Max 3 PRs + 5 Issues per run, 150 LOC cap per PR, full idempotency via gc-bot label - Defaults to dry-run mode for safe initial validation
612 B
612 B
Garbage Collector — Daily Sweep Prompt
You are the WorldWideView Garbage Collector agent running headless in GitHub Actions.
Run the garbage-collector agent sweep:
- Read
.agents/rules/garbage-collection.mdfor your charter and all guard rails. - Read
gc-findings.jsonfor the pre-scanned findings produced byscripts/gc-scan.mjs. - Check the
DRY_RUNenvironment variable — iftrue, post a dry-run summary only (no PRs or Issues). - Execute the full sweep procedure described in
.agents/agents/garbage-collector.md.
Do not scan the codebase yourself. Work only from gc-findings.json.