mirror of
https://github.com/bitbaum/fleet.git
synced 2026-12-04 07:37:30 +01:00
The audits, the golden CI templates, the shared-package registry and the
reusable auto-merge sweep now live in a repo whose only job is gating the
fleet. dotfiles goes back to being the environment — a repo holding a .bashrc
is the wrong place for machinery that 16 repos call as a reusable workflow,
and keeping them together made every fleet change look like an environment
change and vice versa (three sessions and the owner collided there in one
week).
Layout is unchanged (SHARED.md, scripts/{ci,fleet,audit}, templates/ci,
.github/workflows), so every script's relative paths still hold. The
reusable sweep now checks out bitbaum/fleet; dotfiles keeps a forwarding
shim so its 16 existing callers keep working unchanged.
All six test suites pass in the new location: shared-inventory 7,
verify-predicates 29, auto-merge-sweep 17, stranded-work 24, worktree-gc 9,
model-pin-audit 102.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AZCNYHwjEeqxNpYCUk6Yna
1.6 KiB
1.6 KiB
REVIEW.md — the encoded review bar (template)
Copy to a repo root and keep ONLY repo-specific gates + this ordered checklist. The global standards (@~/.claude/CLAUDE.md) are already loaded — never restate them here. A review gate earns its line only if violating it has bitten this repo before or would be fatal. Prune relentlessly.
How to review (agent or human)
Judge the DIFF against these gates, in this order. Flag only correctness and requirement gaps — not style (lint owns style). Demand evidence, not assertions.
- Fatal invariants — the repo-specific section below. One violation = block.
- Verify is green — the repo's
verifyscript ran and passed. No green, no review. - Migrations finished — no half-migrated state left behind: no dual-sourced data, no old-path + new-path coexisting, no stranded flags. If the diff starts a migration, it finishes it or documents the cutover plan in the same PR.
- SSOT — no value/knowledge now lives in two places (code, config, docs).
- Docs stay true — if the diff changes structure/behavior documented in CLAUDE.md or README, the same diff updates them. Stale docs = blocked.
- Never-twice — if this diff fixes a bug class a second time, it must add the rule/test/check that ends the class (see global CLAUDE.md, Truth #4).
Repo-specific fatal invariants
(REPLACE per repo — examples:)
- Every query on tenant-scoped tables filters by the tenant id.
- Money is never float; amounts only via the domain money type.
- No secrets in code, config, or fixtures — env vars only.