hub-gofmt gate in repo_gates.py with its decoys (R-1160)
gates / gates (push) Successful in 7m14s

This commit is contained in:
admin committed 2026-10-19 10:40:55 +02:00
1 parent 503c93fada
commit a17db0c3c8
3 files changed
+128

No files matched your search

+4
View File
@@ -32,6 +32,7 @@ Gates, in order (all must pass; **non-zero exit on any failure**):
decoy — FULL RUNS ONLY, "not checked" (exit 2) without docker (R-502, decision 147)
16. decoy-coverage every registered gate in all four repos has a decoy, or a named exemption (R-421)
17. poster-facts WARNS (never fails) when felhom-system-poster.facts.md is newer than the poster
17b. hub-gofmt every hub Go file is gofmt-clean (R-1160; the controller's R-454 shape)
**THE `GATES` TABLE BELOW IS THE LIST; THIS IS A POINTER TO IT.** It drifted once already —
it read eleven while thirteen were registered, from 2026-08-24 until 2026-09-01, so
@@ -198,6 +199,9 @@ GATES = [
# until a human with another tool was free -- and `--no-verify` is forbidden here, so the only
# way out would be deleting the gate. Fast: two `git log -1` calls.
("poster-facts", os.path.join(SCRIPTS, "poster_facts_gate.py"), [ROOT], True, False),
# R-1160 (2026-10-19) — every hub Go file is gofmt-clean; the controller's gofmt_gate.py shape. Fast: one gofmt -l.
# The CI runner has no Go: there it says NOT CHECKED out loud and passes; the pre-push hook (with Go) enforces it.
("hub-gofmt", os.path.join(SCRIPTS, "hub_gofmt_gate.py"), [], True, False),
]
VERDICT = {0: "OK", 1: "FAILED", 2: "INCONCLUSIVE"}