Compare commits

..
25 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
Hermes Agent f262cfc7cf Release v2.17.1: Commit regenerated flow diagram PNG 2026-12-02 09:01:07 +00:00
Hermes Agent 94b2e312d6 Release v2.17.1: Commit regenerated flow diagram PNG 2026-12-02 08:54:18 +00:00
Hermes Agent 20ab1b52f0 PLAN-68: Disambiguate architecture-atlas HTML comments and inactive plan shorthands; refresh web PDFs 2026-12-02 08:19:07 +00:00
Hermes Agent 6d335bbbe2 Release v2.17.1: Commit flow diagram PNG update 2026-12-02 08:07:14 +00:00
Hermes Agent dedf677809 Release v2.17.1: Commit regenerated flow diagram PNG 2026-12-02 07:50:06 +00:00
Hermes Agent e4a237d34d Release v2.17.1: Version sync README and flow diagram 2026-12-02 07:47:27 +00:00
25 changed files with 203 additions and 11 deletions

No files matched your search

Binary file not shown.
+2 -2
View File
@@ -3,8 +3,8 @@
<!-- HS-COMMIT-STATUS:START -->
> **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 &rarr; [`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 15 tracked module/artifact surface(s)
> - **Touched Files / Surfaces:** `OPERATORS-MANUAL-ENCYCLOPEDIA-KNOWLEDGE-GRAPH.pdf`, `docs/FEDORA41-INGGLISH-ISOPSEPHIC-EXEGESIS-PACKAGE-TECHNICAL-QA-AND-OPENROUTER-AUDIT.pdf`, `docs/MILESTONE-V2-RELEASE-WINS-AND-LESSONS-LEARNED.pdf`, `docs/OPERATORS-MANUAL-LLM-TOKEN-DEPENDENT-DATA-PIPELINES.pdf`, `docs/VPS-AND-GIT-OPERATOR-DEPLOYMENT-GUIDE.pdf`, `docs/cross-repo-dependency-and-audit-flow-diagram.html`, `docs/cross-repo-dependency-and-audit-flow-diagram.pdf`, `docs/periodic-harvest-cicd-to-vps-flow-diagram.png` (+7 more)
> - **Latest Commit Scope (`encyclopedia-knowledge-graph`):** Synchronized v2.17.1 release state across 1 tracked module/artifact surface(s)
> - **Touched Files / Surfaces:** `docs/periodic-harvest-cicd-to-vps-flow-diagram.png`
> - **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 -->
+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.
+1 -1
View File
@@ -96,7 +96,7 @@
</header>
<div class="atlas-grid" id="atlasGrid">
<!-- G01 .. G08 -->
<!-- G01.QUANT .. G08.MCP_DEPLOY -->
<div class="tool-card" id="g01-quant">
<h2>G01.QUANT (/quant/)</h2>
<ul>
Binary file not shown.

Before

Width:  |  Height:  |  Size: 281 KiB

After

Width:  |  Height:  |  Size: 285 KiB

@@ -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.
@@ -39,10 +39,10 @@ Every human-facing surface will replace needlessly ornate Greek/Latin/critical-t
| *"Standard Etymological English (Diachronic Visual-Scribal Orthography)"* | **Written English (`Gen 0` — How It's Spelled on Paper)** | Immediately tells the reader we are scoring standard dictionary spelling, silent letters included. |
| *"Synchronic Phonemic Orthography (CMUdict Ingglish)"* | **Spoken Sound (`Gen 1 Ingglish` — Spelled How It Sounds)** | Explains the exact transformation in 5 plain words without requiring linguistics training. |
| *"Etymological Ghost Mass"* | **Silent Letters & Spelling Camouflage** | Self-explanatory on first read. |
| *"Vector G1: Intergenerational Variance Collapse ($\text{Var} \to 0.0$)"* | **Sound Convergence (`G1` — Different Words Landing on One Number)** | Describes what actually happens: words with different written scores land on the exact same spoken score. |
| *"Vector G4: Hereditary Isometric Chokepoint Invariance ($\Delta = 0$)"* | **Fixed Chokepoints (`G4` — Words Whose Score Never Changes, $\Delta = 0$)** | Directly states the mathematical property ($\text{Written Score} == \text{Spoken Score}$). |
| *"Vector G5: Twin-Prime Mutation IQ"* | **Prime-to-Prime Shifts (`G5` — Prime Written Score $\to$ Prime Spoken Score)** | States the exact arithmetic rule instead of a metaphor. |
| *"Double Articulation ($\text{S1–S5} \times \text{S6}$ Coupling)"* | **Tech + Capital Link (`S1–S5` Tech Paired with `S6` Finance/Legal Capture)** | Makes it obvious that a technical bottleneck is paired with a financial or legal owner. |
| *"Vector RULE-G01.COLLAPSE: Intergenerational Variance Collapse ($\text{Var} \to 0.0$)"* | **Sound Convergence (`RULE-G01.COLLAPSE` — Different Words Landing on One Number)** | Describes what actually happens: words with different written scores land on the exact same spoken score. |
| *"Vector RULE-G04.ISOMETRIC: Hereditary Isometric Chokepoint Invariance ($\Delta = 0$)"* | **Fixed Chokepoints (`RULE-G04.ISOMETRIC` — Words Whose Score Never Changes, $\Delta = 0$)** | Directly states the mathematical property ($\text{Written Score} == \text{Spoken Score}$). |
| *"Vector RULE-G05.TWIN_PRIME: Twin-Prime Mutation IQ"* | **Prime-to-Prime Shifts (`RULE-G05.TWIN_PRIME` — Prime Written Score $\to$ Prime Spoken Score)** | States the exact arithmetic rule instead of a metaphor. |
| *"Double Articulation ($\text{CLASS-S01.SILICON–CLASS-S05.BWO} \times \text{CLASS-S06.AGI}$ Coupling)"* | **Tech + Capital Link (`CLASS-S01.SILICON–CLASS-S05.BWO` Tech Paired with `CLASS-S06.AGI` Finance/Legal Capture)** | Makes it obvious that a technical bottleneck is paired with a financial or legal owner. |
| *"Grand Central Station Pareidolia vs. The Room Filter (Contingent Meaning)"* | **No Dictionary Fishing ("Stay in the Room" Rule)** | Immediately communicates why we only test words and prices from the same day's news story or supply chain. |
| *"Scope 1 Intra-Instrument Self-Lock"* | **Self-Match (`Scope 1` — Price or Move Matches the Asset's Own Name)** | Eliminates Latin prefixes (*"intra-instrument"*); anyone understands *"Nvidia closing at `$137` matches `envideea = 137`."* |
| *"Scope 2 Supply-Chain Equivalence-Ring Migration"* | **Sector Hub Match (`Scope 2` — Lands on a Shared `S1–S6` Number)** | Explains that the price or move hit one of the 30 shared sector coordinates. |
@@ -64,7 +64,7 @@ When the browser sends a user question `q` to `POST /api/v1/tools/hs_ask_chatbot
| **`1. ticker_and_card`** | • *"What is NVDA's latest price and Confluence Dose?"*<br/>• *"Show me the stats card for SOL-USD"*<br/>• *"What is ANTHR-PVT's price?"* | `site/quant/quant-timeseries.json` + `quant/cards.py` (`35 ms` fast-path) | • Real close (`$135.40`), `change_bps`, `Vol20d`, `Dose 0..3+` taxon label, 6 TierZoo base stats, optional inline `900×1260` PNG card preview, and deep links to `/quant/` & `/graph/`.<br/>• For `ANTHR-PVT`: *"No market data available (private entity — 0 synthetic bars)."* |
| **`2. macro_and_regime_brief`** | • *"What are the current Fed rates and M2 spread?"*<br/>• *"What is today's Bayesian market regime and key question?"*<br/>• *"What is the latest CPI and PPI?"* | `site/quant/real-macro-indicators.json` + `site/quant/daily-brief-latest.json` | • Live 3-state Bayesian posteriors (`R1`, `R2`, `R3`), active Daily Key Macro Question $Q_t$, and exact FRED series values (`EFFR = 388 bps`, `SOFR = 398 bps`, `M2-M1 = $3.37T`, `GDP`, `CPI`, `PPI`) with native cadence metadata. |
| **`3. aq_and_ingglish_eval`** | • *"What is the AQ and Ingglish of 'abstract machine'?"*<br/>• *"Evaluate 'hyperstition'"* | `ciphers/aq.py` + `phonetics/__init__.py` (`4,943` offline CMUdict + fallback rules) + `encyclopedia-graph.json` | • `Gen 0` (`eng_aq`), `Gen 1` (`ing_aq` + Ingglish spelling), phonemic drift $\Delta$, prime rank $\pi(n)$, mod-9 digital root, and any matching specimens at that AQ coordinate. |
| **`4. glossary_and_zoology`** | • *"What is Vector G1?"*<br/>• *"Explain The Room Filter"*<br/>• *"What are the S+ Apex builds in the ETI tier list?"* | `taxonomy/glossary-registry.json` (`282` terms, `190` bilingual specimens) + `assemblage-builds-tier-list.json` | • Concise definition, ontological division (`Div 00–08`), verbatim grounded quote, ETI score, and clickable `#page=N&search=...` deep-link to `/zoology/technocapital-singularity-zoology-comprehensive-glossary.pdf`. |
| **`4. glossary_and_zoology`** | • *"What is Vector RULE-G01.COLLAPSE?"*<br/>• *"Explain The Room Filter"*<br/>• *"What are the S+ Apex builds in the ETI tier list?"* | `taxonomy/glossary-registry.json` (`282` terms, `190` bilingual specimens) + `assemblage-builds-tier-list.json` | • Concise definition, ontological division (`Div 00–08`), verbatim grounded quote, ETI score, and clickable `#page=N&search=...` deep-link to `/zoology/technocapital-singularity-zoology-comprehensive-glossary.pdf`. |
| **`5. knowledge_graph_hub`** | • *"What connects to coordinate 292 or 666?"*<br/>• *"Inspect node aq:333"* | `encyclopedia-graph.json` (`388` nodes, `1,282` edges) | • Node type, degree centrality, incident `G1–G5` edges, guild membership, and `[ Open in /graph/?select=aq:N ]` deep-link. |
| **`6. archive_equations_and_news`** | • *"Show me archive equations that equal 333 or 666"*<br/>• *"What is in the latest news dossier?"* | `ingglish-aq-archive/01..72-*.md` | • Matching verified `Gen 1 [Ingglish] = 333/666/777` equations with dossier numbers and `/api/v1/dossiers/{N}?highlight=...` links. |
| **`7. guile_scheme_and_curriculum`** | • *"How does the Z combinator work in Guile Scheme?"*<br/>• *"Where should a novice start?"* | `publishing/guile_prelude.scm` + `engineering-manifest.json` + `math-manifest.json` | • Explains the `Z` combinator (`z-calculus-scheme`) or Novice Prerequisite Ladder, with links to `/learn/`, `/math/`, and `/engineering/`. |
@@ -47,7 +47,7 @@ By introducing `src/hyperstitionstud_io/publishing/exegesis_runner.py` (`hs-exeg
- When no local GGUF model and no prepaid API token budget are configured, `compile_deterministic_news_dossier()` compiles `<NN>-dossier-news-YYYY-MM-DD.md` directly in pure Python (`0` LLM tokens, `0` external network calls):
1. Ingests the dated story clusters and verified `333 / 666 / 777` `eng_aq` and `ing_aq` equation locks from `news-aq-harvest-YYYY-MM-DD.json` (or cached local RSS/Wikipedia corpus).
2. Runs `hs_classify_singularity` across each story cluster to assign exact Landian-Deleuzean Singularity Classes (`S1–S6`), `S×S6` Double Articulation flags, and Two-Gate state-matched `M1–M7+` memetic activations.
3. Computes exact `G1` intergenerational variance collapse ($\Delta\sigma^2_{\text{G1}} = \sigma^2_0 - \sigma^2_1$), `G3` quantized steps, `G4` isometric fixed points ($\Delta = 0$), and `G5` twin-prime mutations for every equation lock.
3. Computes exact `G1` intergenerational variance collapse ($\Delta\sigma^2_{\text{RULE-G01.COLLAPSE}} = \sigma^2_0 - \sigma^2_1$), `G3` quantized steps, `G4` isometric fixed points ($\Delta = 0$), and `G5` twin-prime mutations for every equation lock.
4. Renders the complete Division `08` *"The Room Filter"* Markdown dossier (including YAML/header metadata, Story Cluster Analysis, Verified `333 / 666 / 777` Equation Ledger, Cross-Scale `S1–S6` & `Dose 0..3+` Market Confluence Table, and Grounded Citation Sources `[1]..[k]`), updates `00-index-and-methodology.md`, and runs `ci_provision_ingglish.py --tier 2 --apply-repo`.
5. **Explicit UI Provenance Tag:** Every dossier compiled in `deterministic_structural` mode carries the header badge `Synthesis Mode: DETERMINISTIC_ZERO_TOKEN_STRUCTURAL (0 LLM Tokens)` so readers and downstream tools know its exact provenance.
@@ -33,7 +33,7 @@ To prevent self-referential fixed-point and `IPLD dag-json CIDv1` closure issues
| :--- | :--- | :--- |
| **Audit Point 1**<br/>*Hub `M0` (`/math/index.html`)* | • `5` `.stat-tile` counters (`ETI Convex Sum: 1.00`, `Bayesian Simplex: 1.0000`, `292 G1 Collapse: 310.22 -> 0.0`, `G4 Fixed Points: 21`, `Real Bars / FRED: 472 / 14`)<br/>• Subtitles across `M0–M5` reference `hs-math-docs --disable <slug>` | **1. Eliminate Self-Reference Across `M0–M5`:** Remove all references to `hs-math-docs --disable <slug>`, `math-manifest.json`, and `M0–M5` self-descriptions from subtitles and tables.<br/>**2. Resolve Internal Cluster `292` Variance Discrepancy (`310.22` vs. `514.89`):** Harmonize `introspect_math_manifest()` (`[292, 265, 250]` $\to \sigma^2_0 = 2792/9 \approx 310.22$) and the 3-point REPL benchmark (`[264, 317, 276]` $\to 4634/9 \approx 514.89$).<br/>**3. Add Non-Self-Referential 6-Domain Mathematics & Information Science Reference Table:** Map the 6 target mathematical/info-science domains directly to their underlying corpus registries and equations (without referencing `/math/` subpages). |
| **Audit Point 2**<br/>*Subpage `M1` (`base36-algebra-and-primes`)* | • `Section 1`: Base-36 homomorphism $v: \{0..9, A..Z\} \to \{0..35\}$<br/>• `Section 2`: Repdigit $37 \times 3k$ attractors & prime index $\pi(n)$ | **1. Undocumented Mod-9 Digital Root Congruence (`dr_9(n)`) & CCRU `9`-Sum Syzygy Involution:** `guile_prelude.scm` defines `digital-root-mod9`, but `M1` has no section explaining the ring homomorphism $\mathbb{Z} \to \mathbb{Z}/9\mathbb{Z}$ or the `9`-sum syzygy involution $\sigma(r) = 9 - r$ (`1::8, 2::7, 3::6, 4::5`).<br/>**2. Undocumented Quantitative Anchor Revision Algebra (`--revise-anchor`):** Omits the 3 quantization modes (`digit`, `spoken`, `off`) and the anchor perturbation $\Delta_Q = \text{AQ}(Q_{\text{new}}) - \text{AQ}(Q_{\text{old}})$ (`Paths A/B/C`). |
| **Audit Point 3**<br/>*Subpage `M2` (`phonemic-projections-and-g-vectors`)* | • `Section 1`: Vector `G1` Variance Collapse ($\Delta\sigma^2_{\text{G1}}$)<br/>• `Section 2`: Vectors `G3`, `G4`, & `G5` | **1. Missing Vectors `G2` & `G6` in "G1–G6":** Sections 1–2 omit **Vector `G2` (Cross-Generational Twin Locks: $\text{AQ}_{\text{eng}}(w_a) = \text{AQ}_{\text{ing}}(\Phi(w_b))$)** and **Vector `G6` (Multi-Scale Repdigit Closure `333 / 666 / 777`)**!<br/>**2. Undocumented Information-Theoretic Entropy Reduction & SQLite FTS5 BM25 Ranking:** Omits how phonemic projection $\Phi: \Sigma_{\text{eng}}^* \to \Sigma_{\text{ing}}^*$ acts as a lossy homomorphic compression channel ($H(\text{AQ}(\Phi(W))) \le H(\text{AQ}(W))$), and omits the **Okapi BM25** information-retrieval ranking formula used by `fts_catalog` in `sqlite_meta.py`. |
| **Audit Point 3**<br/>*Subpage `M2` (`phonemic-projections-and-g-vectors`)* | • `Section 1`: Vector `G1` Variance Collapse ($\Delta\sigma^2_{\text{RULE-G01.COLLAPSE}}$)<br/>• `Section 2`: Vectors `G3`, `G4`, & `G5` | **1. Missing Vectors `G2` & `G6` in `G1–G6`:** Sections 1–2 omit **Vector `G2` (Cross-Generational Twin Locks: $\text{AQ}_{\text{eng}}(w_a) = \text{AQ}_{\text{ing}}(\Phi(w_b))$)** and **Vector `G6` (Multi-Scale Repdigit Closure `333 / 666 / 777`)**!<br/>**2. Undocumented Information-Theoretic Entropy Reduction & SQLite FTS5 BM25 Ranking:** Omits how phonemic projection $\Phi: \Sigma_{\text{eng}}^* \to \Sigma_{\text{ing}}^*$ acts as a lossy homomorphic compression channel ($H(\text{AQ}(\Phi(W))) \le H(\text{AQ}(W))$), and omits the **Okapi BM25** information-retrieval ranking formula used by `fts_catalog` in `sqlite_meta.py`. |
| **Audit Point 4**<br/>*Subpage `M3` (`graph-topology-and-eti-scoring`)* | • `Section 1`: 6-Partite Property Graph $G = (V, E, R)$ (`388` nodes, `1,282` edges)<br/>• `Section 2`: Convex `ETI` functional ($\sum_{k=1}^6 w_k = 1.00$) | **1. Undocumented Concentric Polar Radar Geometry (`Mode 2: S+ Center to D Periphery`):** Omits the invertible affine radial mapping $r(\text{ETI}_i) = R_{\min} + \frac{100 - \text{ETI}_i}{100}(R_{\max} - R_{\min})$ and angular guild sector partitioning $(r_i, \theta_i) \mapsto (x_i, y_i)$ from `specification-concentric-eti-tier-ring-radar-d-periphery.md`.<br/>**2. Undocumented 4-Key Lexicographic Tie-Breaker & 1-Hop Ego-Subgraph Operator:** Omits the total ordering $(\text{ETI}_i, \text{CAP}_i, \text{COL}_i, \text{ARM}_i)$ and the 1-hop ego-network induced subgraph $G[N_1(v)]$. |
| **Audit Point 5**<br/>*Subpage `M4` (`timeseries-moments-and-confluence-dose`)* | • `Section 1`: 4-Species Confluence Dose $D_{i,t} \in \{0..4\}$<br/>• `Section 2`: Nonparametric Order Statistics ($P_{50}, P_{90}$) | **1. Stale Bar Count (`440` vs `472`):** Line 256 hardcodes `"across the 440 real November 2026 bars"` instead of dynamically interpolating the live `472` real exchange bars!<br/>**2. Undocumented Longitudinal Sabermetric Moments (`SNAP%`, `WOPR`, `LOE`, `WAR_30d`) & Thomas' Calculus via `Z` (`guile_prelude.scm`):** `timeseries.py` computes `SNAP%`, `WOPR`, `LOE`/`WAR_30d`, and lead-lag Pearson $r(\tau)$ with Student-$t$ statistic, and `guile_prelude.scm` implements limits, derivatives, and Simpson quadrature via `Z`, but none of those formulas are written out in `M4`'s sections! |
| **Audit Point 6**<br/>*Subpage `M5` (`macro-spreads-and-bayesian-inference`)* | • `Section 1`: FRED Macroeconomic Spread & Velocity Identities<br/>• `Section 2`: Discrete 3-State Bayes' Rule & "The Room Filter" Collision Bound | **1. Undocumented Information-Science Cryptography (`RFC 8785 JCS + IPLD dag-json 0x0129 + Multihash SHA-256 CIDv1`):** Explicate the exact binary construction of `CIDv1 = 'b' || base32([0x01, 0xA9, 0x02, 0x12, 0x20] || SHA256(JCS(X)))` over target domain registries (excluding `math-manifest.json` self-reference).<br/>**2. Undocumented Binomial Sample-Size Confidence Bound ($N_{\text{ext}} \ge 500$):** Explicate why a worst-case ($p=0.5$) 95% confidence interval half-width $\pm 1.96\sqrt{p(1-p)/N} \le \pm 4.38\%$ requires $N_{\text{ext}} \ge 500$. |
@@ -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`).