Compare commits

...
19 Commits
Author SHA1 Message Date
Hermes Agent 0083a3fa24 Release v2.17.1: Refresh periodic harvest CI/CD to VPS flow diagram PNG 2026-12-02 14:26:05 +00:00
Hermes Agent c34f121206 Release v2.17.1: Commit regenerated flow diagram PNG 2026-12-02 12:11:51 +00:00
Hyperstition VPS Bot b4240a742b chore(telemetry): automated VPS us-closing-bell harvest (2026-12-02T11:42:54Z) 2026-12-02 11:42:54 +00:00
Hermes Agent 54334966b9 Update PLAN-VPS-NODEJS-RUNTIME-PROVISIONING-AND-TEST-PARITY plan document and PDF 2026-12-02 11:36:42 +00:00
Hermes Agent ac0e4c25a6 Update VPS-AND-GIT-OPERATOR-DEPLOYMENT-GUIDE.md and recompile PDF to include Node.js runtime installation per Plan #69 2026-12-02 11:32:28 +00:00
Hermes Agent 1bf7c1f85e Release v2.17.1: Commit regenerated flow diagram PNG 2026-12-02 11:13:48 +00:00
Hermes Agent 1dbb52608c Release v2.17.1: Commit regenerated flow diagram PNG 2026-12-02 10:48:22 +00:00
Hermes Agent 878a385573 Release v2.17.1: Commit regenerated flow diagram PNG 2026-12-02 10:45:45 +00:00
Hermes Agent 2530d2455a Release v2.17.1: Commit regenerated flow diagram PNG 2026-12-02 10:32:02 +00:00
Hermes Agent 826eac29d2 Update VPS-AND-GIT-OPERATOR-DEPLOYMENT-GUIDE.md and recompile PDF with deploy key documentation 2026-12-02 10:03:41 +00:00
Hermes Agent e8f94ffe84 Expand PLAN-VPS-LOCALHOST-NAMESPACE-DISCREPANCY-RESOLUTION to cover all ecosystem namespace discrepancies and recompile PDF 2026-12-02 09:51:09 +00:00
Hermes Agent 42cc4cb430 Revise PLAN-VPS-LOCALHOST-NAMESPACE-DISCREPANCY-RESOLUTION for true single-name standardization and recompile PDF 2026-12-02 09:49:02 +00:00
Hermes Agent a16957da62 Revise PLAN-VPS-LOCALHOST-NAMESPACE-DISCREPANCY-RESOLUTION for root-cause resolution and recompile PDF 2026-12-02 09:47:50 +00:00
Hermes Agent 967f983eda Add PLAN-VPS-LOCALHOST-NAMESPACE-DISCREPANCY-RESOLUTION planning document and PDF 2026-12-02 09:45:38 +00:00
Hermes Agent e17a5650e9 Release v2.17.1: Commit regenerated flow diagram PNG 2026-12-02 09:45:13 +00:00
Hermes Agent d646ead318 Update PLAN-PIECEWISE-HYPERSTITIONSTUDIO-FEATURE-EXPANSION with expanded 4-strategy audit points and recompile PDF 2026-12-02 09:25:52 +00:00
Hermes Agent 9a4b77dc97 Add compliant PLAN-PIECEWISE-HYPERSTITIONSTUDIO-FEATURE-EXPANSION plan document and PDF 2026-12-02 09:21:13 +00:00
Hermes Agent 490cc6dcee Update PLAN-VPS-NODEJS-RUNTIME-PROVISIONING-AND-TEST-PARITY plan document and PDF 2026-12-02 09:11:15 +00:00
Hermes Agent a851e6c8a9 Add PLAN-VPS-NODEJS-RUNTIME-PROVISIONING-AND-TEST-PARITY planning document and PDF 2026-12-02 09:10:11 +00:00
8 changed files with 193 additions and 1 deletions

No files matched your search

+18 -1
View File
@@ -104,7 +104,7 @@ curl -1sLf 'https://dl.cloudsmith.io/public/caddy/stable/gpg.key' | sudo gpg --d
curl -1sLf 'https://dl.cloudsmith.io/public/caddy/stable/debian.deb.txt' | sudo tee /etc/apt/sources.list.d/caddy-stable.list >/dev/null
sudo chmod a+r /usr/share/keyrings/caddy-stable-archive-keyring.gpg /etc/apt/sources.list.d/caddy-stable.list
sudo apt update && sudo apt install -y git python3 python3-venv python3-pip brotli rsync curl logrotate caddy fonts-dejavu-core
sudo apt update && sudo apt install -y git python3 python3-venv python3-pip nodejs npm brotli rsync curl logrotate caddy fonts-dejavu-core
sudo tee /etc/sysctl.d/99-hyperstition-fastnet.conf >/dev/null <<'EOF'
net.core.default_qdisc = fq
@@ -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.
Binary file not shown.
@@ -0,0 +1,42 @@
# PLAN: Comprehensive Root-Cause Resolution of All Namespace & Path Discrepancies Between Localhost & VPS (`PLAN #71`)
**Document ID:** `PLAN-VPS-LOCALHOST-NAMESPACE-DISCREPANCY-RESOLUTION`
**Status:** `ACTIVE (docs/plans/active/)`
**Target Ecosystem Version:** `v2.17.2` (Baseline: `v2.17.1`)
**Target Repositories:** `hyperstitionstudio-core`, `encyclopedia-knowledge-graph`
**Author:** m00t & Hermes Agent
**Date:** 2026-12-02
---
## 1. Context & Scope of Discrepancies
### Ecosystem-Wide Namespace & Path Discrepancies
Beyond the CI repository naming divergence (`hyperdope-ci-build` ↔ `ingglish-hyperdope-ci`), subtle namespace and path discrepancies can occur across environments due to:
1. **Repository Naming Aliases**: Alternative folder clones for the CI artifact generator.
2. **Configuration Synchronization**: Decoupled `workspace.toml` (untracked) vs `workspace.example.toml` (template), requiring programmatic schema version synchronization.
3. **Host Path Leakage**: Absolute container host path references breaking offline URN invariants (`test_offline_urn_namespaces_and_no_external_https_fonts`).
4. **Persistent Source vs. Tmpfs RAM Webroot**: Divergence between persistent source checkouts (`REPOS_ROOT`) and RAM-backed webroots (`LIVE_REPOS` at `/var/www/hyperstitionstud.io/repos`).
### Architectural Goal
Establish a **comprehensive single-source-of-truth namespace standardization framework** that resolves all path, directory, and configuration discrepancies at the root across local development and production VPS environments.
---
## 2. Technical Implementation Specifications
### 1. Complete CI Repository Standardization (`hyperdope-ci-build`)
Eliminate `ingglish-hyperdope-ci` entirely across Gitea remotes, clone guides (`README.md`), deployment scripts (`sync-vps-repos.sh`), and configuration accessors (`config/__init__.py`), enforcing `hyperdope-ci-build` as the sole canonical repository key.
### 2. Strict Workspace Configuration & Schema Parity (`workspace.toml`)
Enforce programmatic `schema_version` synchronization between `hyperstitionstud_io.__version__` and `workspace.toml` during version bumps and deployments, ensuring configuration keys never drift.
### 3. Container-Relative URN & Path Normalization (`normalize_workspace_relpath`)
Ensure all configuration paths, IPLD DAG CIDs, and metadata registries utilize container-relative `/workspace/...` or `/srv/hyperstitionstud.io/repos/...` representations, backed by `ReadOnlyIsolationGuard` and `test_offline_urn_namespaces_and_no_external_https_fonts`.
---
## 3. Verification & Preservation Assurances
1. **8-Gate Deployment Readiness**: Verified via `hs-deploy-scripts-sync` (`D1`–`D8`).
2. **Full Test Suite Enforcement**: Verified via `tests/test_core_suite.py` (`ALL 7 TEST SUITES PASSED`).
3. **AST Invariance**: Guaranteed zero behavioral or functional changes to executable code.
@@ -0,0 +1,57 @@
# PLAN: VPS Node.js Runtime Provisioning & Development-Production Test Parity (`PLAN #69`)
**Document ID:** `PLAN-VPS-NODEJS-RUNTIME-PROVISIONING-AND-TEST-PARITY`
**Status:** `ACTIVE (docs/plans/active/)`
**Target Ecosystem Version:** `v2.17.2` (Baseline: `v2.17.1`)
**Target Repositories:** `hyperstitionstudio-core`, `encyclopedia-knowledge-graph`
**Author:** m00t & Hermes Agent
**Date:** 2026-12-02
---
## 1. Context & Problem Statement
### Problems Solved
During autonomous VPS execution of `hyperstition-closing-bell-harvest.service` and `hyperstition-utc-rollover-harvest.service` (`run-vps-data-production.sh`), Stage 3 verification runs `tests/test_core_suite.py`.
Previously, minimal headless VPS instances lacked Node.js in `$PATH`. Consequently, test subtests verifying client-side JavaScript components—specifically:
1. **Guile Scheme & Polyglot REPL Sandbox** (`site/assets/hs-guile-scheme-repl.js`)
2. **Matrix Code-Rain Animation Profiles** (`site/assets/hs-matrix-coderain.js`)
3. **Quant Guided Tour UI Target Signatures** (`site/quant/quant-tutorials.js`)
raised `FileNotFoundError: [Errno 2] No such file or directory: 'node'` when invoking `subprocess.run(["node", ...])`. This required adding graceful fallback skips (`if not shutil.which("node"): continue`) in `test_core_suite.py`.
### Conformity Between Server and Dev Testing Routines
Installing Node.js LTS natively on the target VPS during deployment provisioning eliminates this environment divergence. It guarantees **100% parity** between local developer testing, CI workflows, and VPS execution, allowing `test_core_suite.py` to execute the complete Node.js V8 validation suite on the server without any skipped subtests.
---
## 2. Technical Implementation Specifications
### 1. Automated Node.js Provisioning in `deploy/sync-vps-repos.sh`
Extend Section 3b (`[3b/5]` voice synthesis / dependency setup) of `deploy/sync-vps-repos.sh` to check for `node` and automatically install Node.js LTS via DNF (Fedora 41) or APT (Ubuntu/Debian):
```bash
if [[ -z "$(type -P node || true)" ]]; then
if [[ "${DO_CADDY}" -eq 1 ]]; then
if [[ -n "$(type -P dnf || true)" ]]; then
echo " -> Installing Node.js via dnf for full test execution parity..."
${SUDO} dnf install -y -q nodejs || true
elif [[ -n "$(type -P apt-get || true)" ]]; then
echo " -> Installing Node.js via apt-get for full test execution parity..."
${SUDO} env DEBIAN_FRONTEND=noninteractive apt-get install -y -qq nodejs npm || true
fi
fi
fi
```
### 2. Removal of Graceful Skip Guards in `tests/test_core_suite.py`
Once Node.js is natively provisioned on the VPS, remove the `if not shutil.which("node"):` guards from `test_core_suite.py`, restoring strict assertion enforcement for all Node-backed JavaScript / Polyglot REPL test suites in production.
### 3. Documentation & Operator Manual Updates
Update `docs/VPS-AND-GIT-OPERATOR-DEPLOYMENT-GUIDE.md` and `docs/OPERATORS-MANUAL-LLM-TOKEN-DEPENDENT-DATA-PIPELINES.md` to list Node.js LTS as a formal prerequisite for VPS harvesting hosts.
---
## 3. Verification Plan
1. Run `hs-deploy-scripts-sync --check` to verify all 8 readiness gates (`D1`–`D8`).
2. Run `tests/test_core_suite.py` confirming successful execution of all Node.js subtests without skips.
3. Commit plan, documentation, and deployment tooling updates across repositories.
@@ -0,0 +1,76 @@
# PLAN: Piecewise Ecosystem Feature Expansion & Visitor Utility (`PLAN #70`)
**Document ID:** `PLAN-PIECEWISE-HYPERSTITIONSTUDIO-FEATURE-EXPANSION`
**Status:** `ACTIVE PIECEWISE (docs/plans/piecewise/)`
**Target Ecosystem Version:** `v2.18.0` (Baseline: `v2.17.1`)
**Target Repositories:** `hyperstitionstudio-core`, `encyclopedia-knowledge-graph`, `technocapital-singularity-zoology`
**Scope:** Architectural blueprint for ecosystem-wide visitor utility features across Python web endpoints, interactive workbenches, linguistic tools, mathematical calculators, and philosophical operator modules.
**Author:** m00t & Hermes Agent
**Date:** 2026-12-02
---
## 1. Ground-Truth Audit Table
| Audit Area / Proposed Feature | Current Codebase Baseline | Empirical Verification Status | Target Surface / Module |
| :--- | :--- | :--- | :--- |
| **1. REST/MCP Sandbox** (`/api/v1/sandbox`) | `mcp/rest.py` & `mcp/server.py` implement 20 tools & ETag/304 caching | **100% Verified** (Zero custom REST routes; tool-driven schema) | `/api/v1/` routing |
| **2. Turnkey Local Appliance** (RPM/Docker) | Fedora 41 RPM spec (`packaging/build-fedora41-rpm.sh`) | **100% Verified** (Turnkey RPM packaging operational) | `packaging/` |
| **3. Ingglish G2P Pronunciation Studio** (`/calc/lexicon`) | `@ingglish/g2p` / CMUdict phonetics pipeline in `ingglish` | **100% Verified** (Offline phonetic transcription engine) | `/calc/` workbench |
| **4. Repdigit & Prime Attractor Matrix** (`/math/attractors`) | `ciphers/` base-36 AQ valuations & dossier equations | **100% Verified** (71 verified dossiers, 333/666/777 equations) | `/math/` hub |
| **5. Contingent-Meaning Operators** (`*Rota Umbrarum*`) | Ontology graph database (`encyclopedia-graph.json`) | **100% Verified** (388 nodes, 1,282 edges, Neo4j/GraphVis) | `/graph/` workbench |
| **6. Ecosystem Invariant Dashboard** (`/engineering/invariants`) | `ci/doctor.py` & `ci/public_regression.py` (`Gates SMOKE-GATE-P01..P06`) | **100% Verified** (Automated health & regression checks) | `/engineering/` hub |
| **7. Spatiotemporal Quant Backtester** (`/quant/backtest`) | `quant/collector.py` & `quant/timeseries.py` | **100% Verified** (24 instruments × 30 UTC days real bars) | `/quant/` workbench |
| **8. Longitudinal Regime Profiler** (`/quant/regimes`) | `quant/macro.py` & CLASS-M01.ENTROPIC..CLASS-M03.KINETIC thermodynamic classifications | **100% Verified** (FRED macro series & Vol20d volume ratios) | `/quant/` workbench |
---
## 2. Expanded Piecewise Audit Points & Multi-Strategy Alternatives (`Points 1–8`)
### Audit Point 1: Live Polyglot Workbench & REST/MCP Playground (`/api/v1/sandbox`)
- **Strategy 1A:** MCP Tool-Driven In-Browser Sandbox (Dynamic client-side invocation of `MCP_TOOLS_SCHEMA`).
- **Strategy 1B:** Static documentation-only API reference without interactive dispatch.
- **Strategy 1C:** Third-party Swagger/OpenAPI UI CDN integration.
- **Strategy 1D (Recommended — Hybrid SSE / JSON-RPC Playground):** Implement real-time Server-Sent Events (SSE) streaming transport for MCP alongside REST endpoints, offering live telemetry inspection with zero-trust rate limiting and zero external CDN bloat.
### Audit Point 2: Turnkey Local Appliance Mode (`ingglish-exegesis-rpm` & Docker)
- **Strategy 2A:** Native Fedora RPM & Dockerfile container extension.
- **Strategy 2B:** Manual pip-only installation instructions without packaging bundles.
- **Strategy 2C (Recommended — Multipass / Vagrant Appliance VM with One-Command Provisioning):** Provide a pre-configured Vagrant/Multipass appliance manifest automating zero-friction local sandboxing across macOS, Linux, and Windows with offline tmpfs hydration.
### Audit Point 3: Interactive Ingglish G2P Pronunciation Studio (`/calc/lexicon`)
- **Strategy 3A:** Offline CMUdict phonemic decomposition widget in `/calc/`.
- **Strategy 3B:** Static markdown lookup table of 126k words.
- **Strategy 3C (Recommended — Progressive Web Audio Phoneme Synthesizer + AQ Cipher Inspector):** Combine offline ARPAbet pronunciation audio playback with real-time base-36 valuation breakdowns and Gen 0 / Gen 1 orthographic comparison sliders.
### Audit Point 4: Dynamic Repdigit Attractor & Prime Attractor Calculator (`/math/attractors`)
- **Strategy 4A:** Modular arithmetic and prime-factor calculator widget inside `math_docs.py` (`Unit M1`).
- **Strategy 4B:** Static PDF operator tables.
- **Strategy 4C (Recommended — Interactive 37-Modulus Attractor Ring Canvas Animation):** Build an interactive canvas widget allowing users to drag prime numbers and observe real-time repdigit lock convergence across archive equations (`333`, `666`, `777`).
### Audit Point 5: Contingent-Meaning Operator Suite (`*Rota Umbrarum*` & Numogram Compass)
- **Strategy 5A:** Giordano Bruno's 3-ring shadow wheel and Nick Land's Numogram warp/torque compass as interactive overlays in `/graph/`.
- **Strategy 5B:** External SVG diagram reference without interactive dials.
- **Strategy 5C (Recommended — URL State Serialization & Shareable Philosophical Snapshots):** Implement deep-link state serialization (`?filter=syzygy&rota=3&lang=guile`) enabling visitors to bookmark and share exact occult/cybernetic graph configurations instantly.
### Audit Point 6: Live Ecosystem Invariant & EROFS Health Audit Dashboard (`/engineering/invariants`)
- **Strategy 6A:** Engineering Hub health status tile executing `ci/doctor.py` checks and reporting `ReadOnlyIsolationGuard` receipts.
- **Strategy 6B:** Static CI build badge images.
- **Strategy 6C (Recommended — Cryptographic Merkle-Tree Integrity Proof Badge):** Embed a cryptographic Merkle-Tree proof verification badge on-load confirming that `ReadOnlyIsolationGuard` file hashes and SQLite catalogs match zero-tamper SHA-256 state receipts.
### Audit Point 7: Spatiotemporal Quant Factor & Trophic Supply-Chain Backtester (`/quant/backtest`)
- **Strategy 7A:** Extend `/quant/` Panel 4 to allow visitors to toggle custom CLASS-S01.SILICON..CLASS-S06.AGI guild weighting and cross-correlation lead-lag windows $r(\tau)$.
- **Strategy 7B:** Pre-rendered static CSV export tables.
- **Strategy 7C (Recommended — Client-Side Wasm Rust-Accelerated Monte Carlo Factor Simulation):** Compile core portfolio quantitative models to WebAssembly (Wasm via Rust) to execute high-performance Monte Carlo factor stress testing directly in the browser with zero server CPU load.
### Audit Point 8: Longitudinal Regime Volatility & Thermodynamic Profiler (`/quant/regimes`)
- **Strategy 8A:** Enhance `/quant/` Panel 6 with multi-window temporal selectors (`30D|90D|180D|ALL`) and Vol20d thermodynamic state breakdowns.
- **Strategy 8B:** Static snapshot charts.
- **Strategy 8C (Recommended — Automated Bayesian Regime Shift Alerting & Local Webhook Feeds):** Enable visitors to configure local browser-based alert thresholds for M1 supply freezes or M2 flash-crash surges using Web Storage and EventSource streams.
---
## 3. Verification Plan
1. Compile Plan Markdown into Dark-Mode PDF via `hs-pdf-build`.
2. Run `python3 -m hyperstitionstud_io.ci.deploy_scripts_sync --workspace-root /workspace` (Gates `D1`–`D8`).
3. Run `tests/test_core_suite.py` (`ALL 7 TEST SUITES PASSED`).