Skip to content

Commit 4feedaa

Browse files
committed
feat(contractiles): add Bustfile — complete the Dust/Bust pair
gitbot-fleet had a Dustfile but no Bustfile. Adds the breakage/rollback contract (TOML-style a2ml, matching the Dustfile) covering bad fix-scripts, dispatch-runner failure, bot quarantine, and bad bot PRs, with an escalation ladder that keeps force-push + registry actions human-only. https://claude.ai/code/session_016R5WsMHtpnD8bmrkjFNFmg
1 parent 713ce9e commit 4feedaa

1 file changed

Lines changed: 26 additions & 0 deletions

File tree

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# SPDX-License-Identifier: MPL-2.0
2+
# Bustfile — Breakage and Rollback Contract
3+
name = "bustfile"
4+
5+
6+
[bustfile]
7+
version = "1.0.0"
8+
format = "a2ml"
9+
10+
[scenarios]
11+
bad-fix-script = "git revert the fix commit; fix scripts are idempotent, so a re-run after the fix is safe"
12+
dispatch-runner-failure = "halt dispatch-runner; inspect the JSONL manifest; a failed dispatch leaves the target repo untouched (no partial writes)"
13+
bot-repeated-failure = "auto-quarantine engages at 5+ failures or >30% false-positive rate; clear only after a root-cause fix"
14+
bad-bot-pr = "close the bot PR; revert any merged commit; confidence reverts via batch-rollback"
15+
16+
[escalation]
17+
level-1 = "revert the offending commit (reversible, low blast radius)"
18+
level-2 = "quarantine the misbehaving bot (rate-limiter / quarantine subsystem)"
19+
level-3 = "batch-rollback the dispatch batch with confidence revert"
20+
level-4 = "force-push to main — PROHIBITED without explicit user confirmation"
21+
level-5 = "registry-level (delete/archive a repo) — human-only, never by AI"
22+
23+
[reversibility]
24+
backup-before-destructive = true
25+
rollback-mechanism = "git-revert"
26+
batch-rollback-available = true

0 commit comments

Comments
 (0)