Add --push-only flag to run-vps-data-production.sh for manual ad-hoc telemetry pushes without harvesting or verification gates
This commit is contained in:
1 parent
8ae738e40f
commit
1d3c29a9a1
2 files changed
+9
-1
No files matched your search
@@ -4,7 +4,7 @@
|
|||||||
> **Gitea Commit & Release Telemetry (`v2.17.1` • Namespace `urn:io:hyperstitionstud`)**
|
> **Gitea Commit & Release Telemetry (`v2.17.1` • 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/)
|
> - **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.1 release state across 1 tracked module/artifact surface(s)
|
> - **Latest Commit Scope (`hyperstitionstudio-core`):** Synchronized v2.17.1 release state across 1 tracked module/artifact surface(s)
|
||||||
> - **Touched Files / Surfaces:** `tests/test_core_suite.py`
|
> - **Touched Files / Surfaces:** `deploy/run-vps-data-production.sh`
|
||||||
> - **Live Verified Ecosystem Metrics (`v2.17.1`):** `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
|
> - **Live Verified Ecosystem Metrics (`v2.17.1`):** `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
|
||||||
<!-- HS-COMMIT-STATUS:END -->
|
<!-- HS-COMMIT-STATUS:END -->
|
||||||
|
|
||||||
|
|||||||
@@ -47,6 +47,7 @@ WINDOW_MODE="us-closing-bell"
|
|||||||
OFFLINE_MODE=0
|
OFFLINE_MODE=0
|
||||||
DO_PUSH=1
|
DO_PUSH=1
|
||||||
SKIP_HYDRATE=0
|
SKIP_HYDRATE=0
|
||||||
|
PUSH_ONLY=0
|
||||||
|
|
||||||
for arg in "$@"; do
|
for arg in "$@"; do
|
||||||
case "${arg}" in
|
case "${arg}" in
|
||||||
@@ -62,6 +63,9 @@ for arg in "$@"; do
|
|||||||
--skip-hydrate)
|
--skip-hydrate)
|
||||||
SKIP_HYDRATE=1
|
SKIP_HYDRATE=1
|
||||||
;;
|
;;
|
||||||
|
--push-only)
|
||||||
|
PUSH_ONLY=1
|
||||||
|
;;
|
||||||
esac
|
esac
|
||||||
done
|
done
|
||||||
|
|
||||||
@@ -76,6 +80,7 @@ fi
|
|||||||
|
|
||||||
unset OPENROUTER_API_KEY OPENAI_API_KEY ANTHROPIC_API_KEY
|
unset OPENROUTER_API_KEY OPENAI_API_KEY ANTHROPIC_API_KEY
|
||||||
|
|
||||||
|
if [[ "${PUSH_ONLY}" -eq 0 ]]; then
|
||||||
echo "[1/5] Running Stage 1 & Stage 2 periodic data production (window=${WINDOW_MODE}, offline=${OFFLINE_MODE})..."
|
echo "[1/5] Running Stage 1 & Stage 2 periodic data production (window=${WINDOW_MODE}, offline=${OFFLINE_MODE})..."
|
||||||
if [[ "${OFFLINE_MODE}" -eq 1 ]]; then
|
if [[ "${OFFLINE_MODE}" -eq 1 ]]; then
|
||||||
run_checked "hs-quant-harvest (offline)" "${PYTHON_BIN}" -m hyperstitionstud_io.quant.collector --mode "${WINDOW_MODE}"
|
run_checked "hs-quant-harvest (offline)" "${PYTHON_BIN}" -m hyperstitionstud_io.quant.collector --mode "${WINDOW_MODE}"
|
||||||
@@ -117,6 +122,9 @@ if [[ "${SKIP_HYDRATE}" -eq 0 ]]; then
|
|||||||
else
|
else
|
||||||
echo "[3/5] Skipping tmpfs hydration (--skip-hydrate)."
|
echo "[3/5] Skipping tmpfs hydration (--skip-hydrate)."
|
||||||
fi
|
fi
|
||||||
|
else
|
||||||
|
echo "[info] --push-only requested: skipping harvesting, compilers, verification gates, and RAM hydration."
|
||||||
|
fi
|
||||||
|
|
||||||
if [[ "${DO_PUSH}" -eq 1 ]] && [[ -f "/etc/hyperstitionstud.io/id_ed25519_git_libre_audio" ]]; then
|
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..."
|
echo "[4/5] Committing and pushing automated VPS telemetry updates to git.libre.audio..."
|
||||||
|
|||||||
Reference in new issue
Block a user