Release v2.17.0: Implement cross-page & intra-page style, font-family, background token & navigation parity with regression gates S1-S4 (Plan #65) and adaptive mobile device detection & Group 3 mobile UI across all surfaces (Plan #66 Strategies 1A/2A/3A/4A)

This commit is contained in:
Hermes Agent committed 2026-12-01 19:22:47 +00:00
1 parent ad8e84da57
commit 6c8a5bdaae
45 files changed
+693 -219

No files matched your search

+6 -20
View File
@@ -1374,26 +1374,12 @@ def test_ipld_quant_and_mcp_server() -> None:
assert geom_audit.get("border_crossing_count") == 0
assert geom_audit.get("text_overlap_count") == 0
# Verify Plan #63: Homepage Navigation Immutability + Subpage Navigation Parity (hs-global-nav)
home_html = (cfg.core_dir / "site" / "index.html").read_text(encoding="utf-8")
assert '<div class="meta-badges">' in home_html
for sub_p in (
calc_dir / "index.html",
cfg.core_dir / "site" / "quant" / "index.html",
cfg.knowledge_graph_dir / "index.html",
cfg.core_dir / "site" / "learn" / "index.html",
cfg.core_dir / "site" / "engineering" / "index.html",
cfg.core_dir / "site" / "engineering" / "ciphers-and-phonetics" / "index.html",
cfg.core_dir / "site" / "math" / "index.html",
cfg.core_dir / "site" / "math" / "base36-algebra-and-primes" / "index.html",
cfg.core_dir / "site" / "donate" / "index.html",
cfg.core_dir / "site" / "gallery" / "index.html",
):
s_html = sub_p.read_text(encoding="utf-8")
assert "hs-global-nav" in s_html, f"Missing hs-global-nav in {sub_p}"
assert "title-row" in s_html, f"Missing title-row in {sub_p}"
for nav_lbl in ("Portal Home (/)", "Calculator", "Quant", "Graph", "Learn", "Engineering", "Math", "DONATE"):
assert nav_lbl in s_html, f"Missing canonical nav item {nav_lbl!r} in {sub_p}"
# Verify Plan #63 & Plan #65: Homepage Navigation Immutability + Intra-Page & Cross-Page UI Style/Font/Background Parity (Gates S1-S3)
from hyperstitionstud_io.ci.public_regression import verify_ui_style_and_navigation_consistency
style_audit = verify_ui_style_and_navigation_consistency(workspace_root=cfg.workspace_root)
assert style_audit["ok"] is True, f"UI style and navigation consistency audit failed: {style_audit}"
assert all(style_audit["gates"].values()), f"Style gates failed: {style_audit['gates']}"
# Verify PLAN-INTROSPECTIVE-PROTECT-SYSTEM-STRICT-EROFS-TEST-HARNESS
from hyperstitionstud_io.ci.erofs_harness import run_introspective_erofs_suite