Files
fleet/scripts
CatoandClaude Opus 5 25de3dcc17 chore(inventory): auto-merge duplication is down to the canonical copy (#30)
automerge-script  5  5   →   1  1

The four repos still carrying their own auto-merge-sweep.sh now call the
reusable workflow instead: datacat #253, petvity #81, hamstercheek #21,
solon #154. What remains is fleet's own copy, which is the definition, not a
duplicate.

For scale: SHARED.md opens with this script as the worked example of writing a
rule down and watching it fail — "22 repos, 8 distinct versions, 11,787 to
19,344 bytes; a fix landing in one reaches at most 9 of them". That is now one
file in one repo, and every consumer picks up a fix the moment it merges here.

The copies were 293-371 lines against this repo's 446, differing on 149-227
lines each. None of them looked broken, which is the whole difficulty: a sweep
merges what it can and exits 0, so a copy missing a third of the canonical is
indistinguishable from a working one until the missing third is what you
needed. Concretely, three of the four listed deploy.yml in REARM_WORKFLOWS —
dispatch once, no idea whether it landed — instead of using the deploy
reconciler, which compares the base tip against the last successful deploy and
retries. Without it a commit sits merged-but-not-live with CI green and nothing
to signal it.

What was deliberately NOT unified: hamstercheek keeps its hourly cron. It is
private, Actions minutes are billed, and */10 would burn ~4,300 billed minutes
a month against a 2,000 allowance to discover there are no PRs. The policy is
what centralises; the triggers stay per-repo because that is where genuine
per-repo truth lives — the CI workflow's exact name, the base branch, and the
bill.

Every other line of the baseline is unchanged, so this ratchets one number down
and holds the rest. `--check` passes.


Claude-Session: https://claude.ai/code/session_01UvjGNAS9CMfEGNW26tUR4P

Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
2026-09-07 14:42:41 +00:00
..