From 4415c871e672d009aac0ddbf763e8d11d338c3b3 Mon Sep 17 00:00:00 2001 From: Hermes Agent Date: Wed, 2 Dec 2026 07:16:47 +0000 Subject: [PATCH] Fix sync-vps-repos.sh financial-aq-harvest-latest.json checkout error on untracked repos and satisfy Gate D3 (zero /dev/null) --- README.md | 4 ++-- deploy/sync-vps-repos.sh | 6 +++++- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index aa365f9..70730ec 100644 --- a/README.md +++ b/README.md @@ -3,8 +3,8 @@ > **Gitea Commit & Release Telemetry (`v2.17.0` • Namespace `urn:io:hyperstitionstud`)** > - **Repository Role & Public Route:** Shared PEP 420 Python core library (`hyperstitionstud_io.*`), MCP/REST server, `/quant/`, `/learn/`, `/engineering/`, `/math/`, & `/donate/` webroots → [`https://hyperstitionstud.io/`](https://hyperstitionstud.io/) -> - **Latest Commit Scope (`hyperstitionstudio-core`):** Synchronized v2.17.0 release state across 23 tracked module/artifact surface(s) -> - **Touched Files / Surfaces:** `deploy/push-all-to-git-libre-audio.sh`, `deploy/sync-vps-repos.sh`, `site/assets/closeups/quadrant-1-cybermemetics-calc-graph.png`, `site/assets/closeups/quadrant-4-tab-3-ci-gates.png`, `site/assets/closeups/ui-elements-manifest.json`, `site/engineering/engineering-manifest-data.js`, `site/engineering/engineering-manifest.json`, `site/engineering/index.html` (+15 more) +> - **Latest Commit Scope (`hyperstitionstudio-core`):** Synchronized v2.17.0 release state across 1 tracked module/artifact surface(s) +> - **Touched Files / Surfaces:** `deploy/sync-vps-repos.sh` > - **Live Verified Ecosystem Metrics (`v2.17.0`):** `6` Repositories • `17` CLI Entrypoints • `20` MCP/REST Tools • `14` URN Resources • `63` Verified Web Routes • `388` KG Nodes / `1,282` Edges • `282` Glossary Entries • `4,943` Offline CMUdict Phonetics • `0` Synthetic Data diff --git a/deploy/sync-vps-repos.sh b/deploy/sync-vps-repos.sh index a9e44f2..1724192 100755 --- a/deploy/sync-vps-repos.sh +++ b/deploy/sync-vps-repos.sh @@ -117,7 +117,11 @@ if [[ "${DO_PULL}" -eq 1 ]]; then if ! git -C "${REPOS_ROOT}/${repo}" diff --quiet -- README.md 2>&1; then git -C "${REPOS_ROOT}/${repo}" checkout -- README.md || true fi - git -C "${REPOS_ROOT}/${repo}" checkout -- financial-aq-harvest-latest.json || true + if [[ -n "$(git -C "${REPOS_ROOT}/${repo}" ls-files financial-aq-harvest-latest.json)" ]]; then + if ! git -C "${REPOS_ROOT}/${repo}" diff --quiet -- financial-aq-harvest-latest.json 2>&1; then + git -C "${REPOS_ROOT}/${repo}" checkout -- financial-aq-harvest-latest.json || true + fi + 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