feat(namespace): implement Plan #71 CI repo standardization, schema_version parity & path normalization

This commit is contained in:
Hermes Agent committed 2026-12-02 22:09:58 +00:00
1 parent 1e2968f84e
commit 3945e3648a
14 files changed
+69 -50

No files matched your search

+25 -2
View File
@@ -106,7 +106,7 @@ def test_offline_urn_namespaces_and_no_external_https_fonts() -> None:
cfg.zoology_dir,
cfg.knowledge_graph_dir,
cfg.paths["gematria_js_dir"],
cfg.paths.get("ci_repo_dir", cfg.workspace_root / "hyperdope-ci-build"),
cfg.ci_build_dir,
):
if not rdir.is_dir():
continue
@@ -212,8 +212,27 @@ def test_local_config_citation_resolution_and_proposals() -> None:
def test_doctor_all_checks_pass() -> None:
from hyperstitionstud_io import __version__ as cur_ver
from hyperstitionstud_io.config import (
normalize_workspace_relpath,
resolve_workspace_repo_dir,
)
diag = run_diagnostics()
assert diag["all_checks_passed"] is True
assert diag["schema_version"] == cur_ver
cfg = load_workspace_config()
assert cfg.schema_version == cur_ver
assert cfg.ci_build_dir.is_dir()
assert (
resolve_workspace_repo_dir(cfg.workspace_root, "hyperdope-ci-build")
== resolve_workspace_repo_dir(cfg.workspace_root, "ingglish-hyperdope-ci")
)
assert (
normalize_workspace_relpath(cfg.core_dir / "deploy" / "sync-vps-repos.sh", workspace_root=cfg.workspace_root)
== "/workspace/hyperstitionstudio-core/deploy/sync-vps-repos.sh"
)
def test_ipld_quant_and_mcp_server() -> None:
@@ -1457,8 +1476,12 @@ def test_ipld_quant_and_mcp_server() -> None:
plan_audit = verify_plan_specifications(workspace_root=cfg.workspace_root)
assert plan_audit["ok"] is True, f"Plan specification audit failed: {plan_audit['errors']}"
assert plan_audit["total_plans_checked"] >= 6
assert plan_audit["total_plans_checked"] == plan_audit["active_plans_checked"] + plan_audit["piecewise_plans_checked"]
assert plan_audit["total_plans_checked"] > 0
assert len(plan_audit["missing_pdfs"]) == 0
assert len(plan_audit["missing_ledger_entries"]) == 0
assert len(plan_audit["metadata_errors"]) == 0
assert len(plan_audit["host_path_errors"]) == 0
# Write cached internal test baseline (.cache/internal-test-baseline-latest.json) for hs-public-smoke
from hyperstitionstud_io.ci.public_regression import write_internal_test_baseline_cache