The copy gate's credential case convicts again; the decoy suite is a gate (R-1115)
gates / gates (push) Successful in 6s

The decoy moved, not the gate: 326f846 (R-1102) removed gokapi's login line, and the case appended an English
login to a template with no Hungarian one left. It now rewrites wger's existing line in place, plus a new case
(calibre-web admin123 -> admin1234); both refused. gate-decoys joins catalog_gates.py's full run (~196 s, not
--fast). test_catalog_gates.py was red since last night (count 18 -> 20).

Claude-Session: https://claude.ai/code/session_0159rPz1ZhFKsS53msqPYxtS
This commit is contained in:
admin committed 2026-10-17 08:46:17 +02:00
1 parent af75dc0fb5
commit 33a4b3b518
6 files changed
+56 -23

No files matched your search

+9 -1
View File
@@ -33,6 +33,8 @@ Gates, in order (all must pass; **non-zero exit on any failure**):
runs (R-1007): an Immich bump without a re-proven repair is refused, not silently skipped
14. guide-version static, instant, ADVISORY — a user guide's checked_version is not the image tag the app
runs: a WARN naming both versions, and exit 0 always (it never fails a push)
15. gate-decoys the decoy suite (test_gate_decoys.py) — each gate above still convicts its decoys
(R-1115). ~3 minutes, needs PyYAML: the full run only, never --fast
4. engine-major static, needs GIT HISTORY — no database engine pin crosses a MAJOR version
(operator ruling 2026-09-13; expires when Slice 4 / R-448 ships). Runs in the
pre-push hook, which has the full clone; on a SHALLOW clone (CI fetches at
@@ -149,6 +151,11 @@ GATES = [
# R-1097 (2026-10-16): a household-data path an image keeps in its own anonymous VOLUME (RomM's /romm/assets) is
# mounted by the template, or no app backup takes it. Measured registry; static, stdlib only: the hook and CI.
("image-volumes", "check-image-volumes.py", False, True, False),
# R-1115 (2026-10-17): the gates' OWN decoy suite — every gate above is red-proved against its decoys here. It
# was not in this table, so a case that stopped convicting (a template edit removed its premise) failed for a
# night with nobody looking. Static (a local clone, a stub docker), but ~3 minutes and it needs PyYAML, so NOT
# --fast: the full run only, like the two slow gates.
("gate-decoys", "test_gate_decoys.py", False, False, False),
]
# 3 (R-605): the gate's HARNESS refused to run — its canary failed or it had nothing to judge — so NO app was
@@ -214,7 +221,8 @@ def main(argv):
" cross-major engine move is caught at push time, not here." % ", ".join(needs_history))
if skipped:
print(" --fast SKIPPED: %s — they need network and a container runtime and take minutes\n"
" per app, so they are NEVER in a hook. They remain deliberate periodic runs: start\n"
" per app (gate-decoys: ~3 minutes on its own), so they are NEVER in a hook. They\n"
" remain deliberate periodic runs: start\n"
" of a catalog campaign, before a publish train, or when a template's volumes:/image\n"
" changes. Run them with no --fast, on a scratch host." % ", ".join(skipped))