From faf38770124528c2454d6cecb6dab25f2c4a3698 Mon Sep 17 00:00:00 2001 From: Stephen Waits Date: Fri, 6 Nov 2026 16:45:33 -0700 Subject: [PATCH] docs: say what enforces the parity floor AGENTS.md still promised CI enforcement "once the catalog is machine-readable". It is now machine-readable: the test in `crates/ledger-cli/tests/parity_floor.rs` checks the statuses and the exact done-count inside `cargo test` (hence `just check`), and the CI step `scripts/parity-floor.sh` checks the floor against the base commit and refuses a drop between commits. Co-Authored-By: Claude Opus 5.5 --- AGENTS.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/AGENTS.md b/AGENTS.md index d5f7abf5..44b87fec 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -145,8 +145,11 @@ clone, with status. Rules: - Every feature change updates `docs/parity.md` in the same commit. - The **floor never decreases**: the count of `done` items is monotonic. - CI will enforce this once the catalog is machine-readable (roadmap phase 3); - until then, it is enforced by review — yours. + `crates/ledger-cli/tests/parity_floor.rs` runs in `cargo test` (so in + `just check`) and fails unless every status is one of the three and the + `done` count equals the floor line exactly; the CI step + `scripts/parity-floor.sh` fails when the floor falls below the base + commit's. - Statuses are `done` (implemented + tested + golden-covered), `partial`, `todo`. No other statuses. `done` requires all three.