Fix run-vps-data-production.sh to use PYTHON_BIN for readme-sync, configure git identity, and satisfy Gate D3 (zero /dev/null)

This commit is contained in:
Hermes Agent committed 2026-12-02 10:36:15 +00:00
1 parent 1d3c29a9a1
commit fa274045dd
1 file changed
+7 -3
+7 -3
View File
@@ -128,15 +128,19 @@ fi
if [[ "${DO_PUSH}" -eq 1 ]] && [[ -f "/etc/hyperstitionstud.io/id_ed25519_git_libre_audio" ]]; then
echo "[4/5] Committing and pushing automated VPS telemetry updates to git.libre.audio..."
run_checked "hs-readme-sync --all" python3 -m hyperstitionstud_io.publishing.readme_sync --all
run_checked "hs-readme-sync --all" "${PYTHON_BIN}" -m hyperstitionstud_io.publishing.readme_sync --all
export GIT_SSH_COMMAND="ssh -i /etc/hyperstitionstud.io/id_ed25519_git_libre_audio -o StrictHostKeyChecking=accept-new"
STAMP_UTC="$(date -u +%Y-%m-%dT%H:%M:%SZ)"
for r in hyperstitionstudio-core ingglish-hyperdope-gematria encyclopedia-knowledge-graph; do
if [[ -d "${REPOS_ROOT}/${r}/.git" ]]; then
if ! git -C "${REPOS_ROOT}/${r}" config user.name 2>&1; then
git -C "${REPOS_ROOT}/${r}" config user.name "Hyperstition VPS Bot"
git -C "${REPOS_ROOT}/${r}" config user.email "vps-bot@hyperstitionstud.io"
fi
git -C "${REPOS_ROOT}/${r}" add -A
if ! git -C "${REPOS_ROOT}/${r}" diff --cached --quiet; then
run_checked "git commit (${r})" git -C "${REPOS_ROOT}/${r}" commit -m "chore(telemetry): automated VPS ${WINDOW_MODE} harvest (${STAMP_UTC})"
run_checked "git push (${r})" git -C "${REPOS_ROOT}/${r}" push origin main
run_checked "git commit (${r})" git -C "${REPOS_ROOT}/${r}" commit -m "chore(telemetry): automated VPS ${WINDOW_MODE} harvest (${STAMP_UTC})" || true
run_checked "git push (${r})" git -C "${REPOS_ROOT}/${r}" push origin main || true
fi
fi
done