Compare commits

...
2 Commits
2 changed files with 4 additions and 17 deletions

No files matched your search

-4
View File
@@ -121,10 +121,6 @@ if [[ "${DO_PULL}" -eq 1 ]]; then
git -C "${REPOS_ROOT}/${repo}" checkout -- financial-aq-harvest-latest.json || true
fi
fi
if [[ -n "$(git -C "${REPOS_ROOT}/${repo}" ls-files docs/periodic-harvest-cicd-to-vps-flow-diagram.png)" ]]; then
git -C "${REPOS_ROOT}/${repo}" reset HEAD -- docs/periodic-harvest-cicd-to-vps-flow-diagram.png || true
git -C "${REPOS_ROOT}/${repo}" checkout -- docs/periodic-harvest-cicd-to-vps-flow-diagram.png || true
fi
if [[ "${repo}" == "${CI_REPO_DIR}" || "${repo}" == "ingglish-hyperdope-gematria" ]] && ! git -C "${REPOS_ROOT}/${repo}" diff --quiet 2>&1; then
git -C "${REPOS_ROOT}/${repo}" checkout -- . || true
fi
+4 -13
View File
@@ -765,14 +765,9 @@ def test_ipld_quant_and_mcp_server() -> None:
assert ".btn-donate-pill" in g3_css and "border-radius: 999px !important;" in g3_css
assert ".tactile-donate-btn" in g3_css
# Produce & verify the Periodic Harvest -> CI/CD -> VPS Infrastructure Flow Diagram PNG
from hyperstitionstud_io.publishing.flow_diagram import render_periodic_harvest_cicd_flow_diagram_png
flow_res = render_periodic_harvest_cicd_flow_diagram_png()
flow_png_p = Path(flow_res["png_path"])
assert flow_png_p == (cfg_test.knowledge_graph_dir / "docs" / "periodic-harvest-cicd-to-vps-flow-diagram.png").resolve()
# Verify the Periodic Harvest -> CI/CD -> VPS Infrastructure Flow Diagram PNG exists and is valid (read-only check)
flow_png_p = cfg_test.knowledge_graph_dir / "docs" / "periodic-harvest-cicd-to-vps-flow-diagram.png"
assert flow_png_p.is_file() and flow_png_p.read_bytes()[:8] == b"\x89PNG\r\n\x1a\n"
assert flow_res["dimensions"] == [1800, 1280] and flow_res["breach_count"] == 0
# Verify Archive Rotator (Gematria-Pipeline Immunity, Richness Parity, .md-only 1x bundle, require_companion_md=True, --archive-inactive & Git citation fallback)
from hyperstitionstud_io.publishing.archive_rotator import (
@@ -1192,15 +1187,11 @@ def test_ipld_quant_and_mcp_server() -> None:
):
assert q_img in home_txt, f"Missing quadrant closeup {q_img} on homepage"
assert (cfg.core_dir / "site" / q_img).is_file()
# Verify hs-closeups-sync automatic UI element fingerprint & closeup parity
# Verify hs-closeups-sync automatic UI element fingerprint & closeup parity (strict check-only, zero working tree mutation)
from hyperstitionstud_io.publishing.closeups_sync import render_all_quadrant_closeups
cu_chk = render_all_quadrant_closeups(workspace_root=cfg.workspace_root, check_only=True)
if not cu_chk["ok"]:
cu_sync = render_all_quadrant_closeups(workspace_root=cfg.workspace_root, force=False, check_only=False)
assert cu_sync["ok"] is True
cu_chk = render_all_quadrant_closeups(workspace_root=cfg.workspace_root, check_only=True)
assert cu_chk["ok"] is True and not cu_chk["missing_pngs"], f"Closeup UI drift: {cu_chk}"
assert cu_chk["ok"] is True and not cu_chk["missing_pngs"], f"Closeup UI drift: {cu_chk}. Run hs-closeups-sync to regenerate."
assert home_txt.count('class="closeup-tab-btn"') == 11, "Expected 11 interactive .closeup-tab-btn tabs across the 4 quadrants"
assert home_txt.count('class="closeup-tab-btn"') <= 12, "Strategy 6A: Homepage must never exceed 3 chamfered tabs per quadrant (12 total)"
hdr_match = re.search(r"<header>.*?</header>", home_txt, flags=re.S)