feat(kvb-check-gate): prove 90/5 by every make test* target on the exact head

The operator's rule (2026-11-03): nothing is declared 90/5 before every make test* target of the project ran green on the exact head. kvb-check-gate holds it as the single source and gate.py backs it: list parses the Makefile make would read and its includes statically (never running make, whose $(shell ...) would execute), status reports green, red or missing per target for HEAD and says gate: green only when all are green on a clean tracked tree, and run executes known targets one by one as make -C with output written straight to a log (no pipe hiding the exit code), marking a target red on a non-zero exit, a make: *** or make[N]: *** line, or a project --fail-regex such as infinito-nexus' FAILED TARGETS. Results live per sha in the git common dir under a lock, shared by linked worktrees; a new commit or a target that edits tracked files invalidates them.

kvb-check-confidence and kvb-git-pr-label point to gate.py status instead of restating the rule; the README places the skill. test_gate covers parsing with includes, green, red and fail-pattern runs, stale results after a commit, dirty trees, worktrees and usage errors.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Kevin Veen-BirkenbachandClaude Opus 5.5 committed 2026-11-04 17:07:23 +01:00
1 parent 3c2f6c44b5
commit e581025736
6 files changed
+644 -6

No files matched your search

+2 -2
View File
@@ -14,8 +14,8 @@ holds:
- **`90/5`**: the pull request meets the bar of the `kvb-org-split` skill (fix
confidence of at least 90 %, break risk under 5 %), from the
`kvb-check-confidence` numbers in its body or freshly assessed, and only
after the project's full quality gate passed on the PR's exact head; a
hotfix takes the next free gate slot.
when `gate.py status` of the `kvb-check-gate` skill prints `gate: green`
with the PR's exact head checked out.
## Procedure