Disambiguate Gate D3 reference name to DEPLOY-GATE-D03.ZERO_DEV_NULL per Plan #68 while preserving the non-negotiable check

This commit is contained in:
Hermes Agent committed 2026-12-02 10:39:23 +00:00
1 parent fa274045dd
commit 234ddcbb9b
2 files changed
+3 -3

No files matched your search

@@ -143,11 +143,11 @@ def prepare_and_verify_deploy_scripts(
proc = subprocess.run(["bash", "-n", str(sp)], capture_output=True, text=True, check=False)
if proc.returncode != 0:
gate_d2_ok = False
errors.append(f"Gate D2: bash -n syntax error in {sp}: {proc.stderr.strip()}")
errors.append(f"Gate DEPLOY-GATE-D02.BASH_SYNTAX: bash -n syntax error in {sp}: {proc.stderr.strip()}")
stxt = sp.read_text(encoding="utf-8")
if "/dev/null" in stxt:
gate_d3_ok = False
errors.append(f"Gate D3: Forbidden /dev/null found in {sp}")
errors.append(f"Gate DEPLOY-GATE-D03.ZERO_DEV_NULL: Forbidden /dev/null found in {sp}")
# Gate DEPLOY-GATE-D04.HYDRATION_PARITY: Untracked Runtime Artifact Hydration Parity (.gitignore vs. sync-vps-repos.sh)
sync_txt_cur = sync_vps_sh.read_text(encoding="utf-8") if sync_vps_sh.is_file() else ""