feat(agents): add killbill (56) — cost killer with real killswitch#90
feat(agents): add killbill (56) — cost killer with real killswitch#90
Conversation
New agent in agents/specials/56-killbill.md (opus, phase: ship) that complements cutkiller (51, audit-only) with an actual killswitch executor across Vercel, GitHub Actions and Neon. - Modes: audit (default, delegates to cutkiller), plan, dry-run, kill, restore, and --platform=<vercel|neon|github> scoped kills - Double confirmation required: plan validation via AskUserQuestionTool + exact textual "KILL CONFIRM" before any destructive action - Platform kills via CLI: vercel (crons, preview deploys, blobs), neonctl (suspend endpoints, delete non-main branches), gh (disable workflows, purge artifacts/caches/codespaces) - Hard-coded guardrails: main/production branches untouchable, no repo deletion, no secrets/DNS/webhooks, 30s command timeout with graceful skip, idempotent - Action log (docs/audits/killbill-log-*.md) written before each command; post-kill report with before/after savings - Restore mode reverses soft-kills (suspend→start, disable→enable) Also updates: agents/CLAUDE.md table, CLAUDE.md key-agents line and next-number marker (→57), agents-authoring.md next-available marker, regenerated registry.json + registry.md (78 agents). https://claude.ai/code/session_01RKhQViqnJhqwGPGhGgVGfP
|
Important Review skippedToo many files! This PR contains 157 files, which is 7 over the limit of 150. ⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (157)
You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
…itor-agent-Wxp2e # Conflicts: # agents/CLAUDE.md # agents/audit/56-killbill.md # agents/registry.json # agents/registry.md
Under `set -euo pipefail`, a command substitution `$(ls glob 2>/dev/null | wc -l)` exits the shell with ls's code (2) when the glob matches nothing, because pipefail propagates ls's failure through the pipeline and errexit then kills the script. This broke `install.sh --verify` on fresh environments (CI and the bats isolation in tests/install.bats), where no `$HOME/.claude/agents/ulk-*.md` exists. Fix: replace `ls glob | wc -l` with `find PATH -maxdepth 1 -name glob | wc -l` — find returns 0 when no matches. 4 occurrences in cmd_verify and cmd_status. Verified: `bats tests/install.bats` → 11/11 ok. https://claude.ai/code/session_01RKhQViqnJhqwGPGhGgVGfP
|
@copilot resolve the merge conflicts in this pull request |
|
@copilot resolve the merge conflicts in this pull request |
…itor-agent-Wxp2e # Conflicts: # docs/todo.md
Resolved. I merged |
Summary
New agent killbill (56) in
agents/specials/56-killbill.md(opus, phase:ship) that complements cutkiller (51) — which is audit-only — with an actual killswitch executor across Vercel, GitHub Actions, and Neon.Task, falls back to its own scan if unavailablevercel,neonctl,gh) avec double confirmation obligatoire (validation du plan + phrase magiqueKILL CONFIRM)main/productionintouchables, pas de suppression de repo, pas de secrets/DNS/webhooks, timeout 30s avec skip propredocs/audits/killbill-log-*.md) écrit avant chaque commandeModes
audit(défaut)plandry-runkillkill --platform=vercel|neon|githubrestoreFiles changed
agents/specials/56-killbill.md— new agent (448 lines)agents/registry.json+agents/registry.md— regenerated (78 agents)agents/CLAUDE.md— agent table updatedCLAUDE.md— key-agents line + next-number marker (→57).claude/rules/agents-authoring.md— next-available number updatedTest plan
/ulk:killbill(mode audit par défaut) sur un projet avec Vercel/Neon/GitHub → vérifier délégation cutkiller + plan générékillbill dry-run→ vérifier qu'aucune commande destructive n'est exécutéekillbill killsans taperKILL CONFIRM→ vérifier annulation proprekillbill kill --platform=githubsur un repo de test → vérifier que seuls les workflows/artifacts/caches sont touchéskillbill restorerelit le log et réactive les workflows disabledmain/productionne sont jamais supprimés (Neon branches, Vercel prod deployments)https://claude.ai/code/session_01RKhQViqnJhqwGPGhGgVGfP