Release v2.14.0: Implement pre-commit preparation & 8-gate drift-blocking verifier (hs-deploy-scripts-sync Gates D1-D8) for push-all-to-git-libre-audio.sh and deploy/sync-vps-repos.sh (Plan #58)

This commit is contained in:
Hermes Agent committed 2026-12-01 11:41:02 +00:00
1 parent 6624209f2b
commit f78cf47e00
39 files changed
+574 -152

No files matched your search

@@ -475,7 +475,8 @@ def sync_all_repo_readmes(
PRE_COMMIT_HOOK_SCRIPT = """#!/usr/bin/env bash
# Auto-installed by hyperstitionstud_io.publishing.readme_sync (hs-readme-sync --install-hooks)
# Re-renders homepage UI closeups when page UI elements change and synchronizes root README.md before every commit.
# Prepares & validates push-all-to-git-libre-audio.sh and deploy/sync-vps-repos.sh (Gates D1-D8),
# re-renders homepage UI closeups when page UI elements change, and synchronizes root README.md before every commit.
set -euo pipefail
REPO_ROOT="$(git rev-parse --show-toplevel)"
@@ -485,6 +486,11 @@ CORE_SRC="${WS_ROOT}/hyperstitionstudio-core/src"
if [[ -d "${CORE_SRC}" ]]; then
export PYTHONPATH="${CORE_SRC}${PYTHONPATH:+:${PYTHONPATH}}"
if [[ "${REPO_NAME}" == "hyperstitionstudio-core" ]]; then
python3 -m hyperstitionstud_io.ci.deploy_scripts_sync --workspace-root "${WS_ROOT}" --stage
else
python3 -m hyperstitionstud_io.ci.deploy_scripts_sync --workspace-root "${WS_ROOT}"
fi
python3 -m hyperstitionstud_io.publishing.closeups_sync
if [[ -d "${WS_ROOT}/hyperstitionstudio-core/site/assets/closeups" ]] && [[ "${REPO_NAME}" == "hyperstitionstudio-core" ]]; then
git -C "${REPO_ROOT}" add site/assets/closeups/
@@ -535,7 +541,7 @@ def install_git_pre_commit_hooks(ws_root: Path | None = None, check_only: bool =
if not hooks_dir.is_dir():
continue
for h_name, h_script, markers in (
("pre-commit", PRE_COMMIT_HOOK_SCRIPT, ("readme_sync", "closeups_sync")),
("pre-commit", PRE_COMMIT_HOOK_SCRIPT, ("readme_sync", "closeups_sync", "deploy_scripts_sync")),
("commit-msg", COMMIT_MSG_HOOK_SCRIPT, ("COMMIT-MSG GATE",)),
):
hook_path = hooks_dir / h_name