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

@@ -949,7 +949,7 @@ def audit_and_fix_multi_compressed_files(
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,
]
for ed in extra_dirs or []:
ep = Path(ed)
@@ -348,7 +348,7 @@ def introspect_live_ui_elements(workspace_root: str | Path | None = None) -> dic
core = cfg.core_dir
kg = cfg.knowledge_graph_dir
calc_dir = cfg.paths["gematria_js_dir"]
ci_dir = cfg.paths.get("ci_repo_dir") or (cfg.workspace_root / "hyperdope-ci-build")
ci_dir = cfg.ci_build_dir
surfaces: dict[str, Path] = {
"home": core / "site" / "index.html",
@@ -639,9 +639,7 @@ def discover_web_and_repo_pdf_pairs(workspace_root: str | Path | None = None) ->
core = cfg.core_dir
zoo = cfg.zoology_dir
kg = cfg.knowledge_graph_dir
ci = cfg.paths.get("ci_build_dir") or (cfg.workspace_root / "hyperdope-ci-build")
if not ci.is_dir() and (cfg.workspace_root / "ingglish-hyperdope-ci").is_dir():
ci = cfg.workspace_root / "ingglish-hyperdope-ci"
ci = cfg.ci_build_dir
web_surfaces = [
core / "site" / "index.html",
@@ -34,7 +34,7 @@ if _SRC_DIR.is_dir() and str(_SRC_DIR) not in sys.path:
sys.path.insert(0, str(_SRC_DIR))
from hyperstitionstud_io import __version__ as CURRENT_VERSION # noqa: E402
from hyperstitionstud_io.config import load_workspace_config # noqa: E402
from hyperstitionstud_io.config import load_workspace_config, resolve_workspace_repo_dir # noqa: E402
STATUS_START = "<!-- HS-COMMIT-STATUS:START -->"
STATUS_END = "<!-- HS-COMMIT-STATUS:END -->"
@@ -90,12 +90,7 @@ def _git_out(repo_dir: Path, args: list[str], strip_leading: bool = True) -> str
def _resolve_repo_dir(ws_root: Path, repo_key: str) -> Path:
cand = ws_root / repo_key
if cand.is_dir():
return cand
if repo_key == "hyperdope-ci-build" and (ws_root / "ingglish-hyperdope-ci").is_dir():
return ws_root / "ingglish-hyperdope-ci"
return cand
return resolve_workspace_repo_dir(ws_root, repo_key)
def _introspect_repo_commit_context(repo_dir: Path, version: str) -> dict[str, Any]: