diff --git a/README.md b/README.md index f919697..da59cde 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ > **Gitea Commit & Release Telemetry (`v2.17.1` • Namespace `urn:io:hyperstitionstud`)** > - **Repository Role & Public Route:** `388`-Node / `1,282`-Edge Interactive Knowledge Graph Workbench (Modes 1-4), 6-Gate Verifier, & Architectural Plan/Release Archive → [`https://hyperstitionstud.io/graph/index.html`](https://hyperstitionstud.io/graph/index.html) > - **Latest Commit Scope (`encyclopedia-knowledge-graph`):** Synchronized v2.17.1 release state across 2 tracked module/artifact surface(s) -> - **Touched Files / Surfaces:** `docs/plans/active/PLAN-VPS-LOCALHOST-NAMESPACE-DISCREPANCY-RESOLUTION.md`, `docs/plans/active/PLAN-VPS-LOCALHOST-NAMESPACE-DISCREPANCY-RESOLUTION.pdf` +> - **Touched Files / Surfaces:** `docs/VPS-AND-GIT-OPERATOR-DEPLOYMENT-GUIDE.md`, `docs/VPS-AND-GIT-OPERATOR-DEPLOYMENT-GUIDE.pdf` > - **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 diff --git a/docs/VPS-AND-GIT-OPERATOR-DEPLOYMENT-GUIDE.md b/docs/VPS-AND-GIT-OPERATOR-DEPLOYMENT-GUIDE.md index 03a3522..cd5d0bb 100644 --- a/docs/VPS-AND-GIT-OPERATOR-DEPLOYMENT-GUIDE.md +++ b/docs/VPS-AND-GIT-OPERATOR-DEPLOYMENT-GUIDE.md @@ -230,3 +230,20 @@ Sync the updated working tree(s) into the RAM mount and regenerate the `.br` / ` - **Negating Service/Caddy Sync (`--no-caddy` / `--no-services`):** Pass `--no-caddy` (e.g., `sync-vps-repos.sh --no-pull --no-caddy`) to sync only the RAM-backed webroot files and `.br`/`.gz` sidecars without touching `/etc/caddy/Caddyfile` or `systemd`. - **Browser Cache Note:** `HTML`/`JS`/`JSON` routes carry `Cache-Control: public, max-age=300` (5 minutes); press `Ctrl+Shift+R` (`Cmd+Shift+R` on macOS) in your browser to bypass the 5-minute client cache immediately after syncing. + +--- + +## 6. Automated VPS Telemetry Push & Deploy Key Configuration (`run-vps-data-production.sh`) + +When autonomous VPS harvest timers (`hyperstition-closing-bell-harvest.timer` or `hyperstition-utc-rollover-harvest.timer`) execute `deploy/run-vps-data-production.sh`, Step 4 [4/5] automatically commits and pushes updated telemetry and harvest state back to `git.libre.audio` if a secure deploy key is provisioned. + +### 1. Deploy Key File Path +- **Required Path on VPS**: `/etc/hyperstitionstud.io/id_ed25519_git_libre_audio` +- **Permissions**: Must be restricted (`chmod 600`) and owned by the harvesting user. + +### 2. Autonomous Git Push Mechanism +When the deploy key file is present, `run-vps-data-production.sh` exports `GIT_SSH_COMMAND` to authenticate securely without interactive prompts: +```bash +export GIT_SSH_COMMAND="ssh -i /etc/hyperstitionstud.io/id_ed25519_git_libre_audio -o StrictHostKeyChecking=accept-new" +``` +If the deploy key file is absent, step [4/5] safely skips the automated push (`[4/5] Skipping automated git.libre.audio push (no-push or deploy key absent)`), allowing harvesting to complete locally without failure. diff --git a/docs/VPS-AND-GIT-OPERATOR-DEPLOYMENT-GUIDE.pdf b/docs/VPS-AND-GIT-OPERATOR-DEPLOYMENT-GUIDE.pdf index 38924ed..34bd9ac 100644 Binary files a/docs/VPS-AND-GIT-OPERATOR-DEPLOYMENT-GUIDE.pdf and b/docs/VPS-AND-GIT-OPERATOR-DEPLOYMENT-GUIDE.pdf differ