Files
encyclopedia-knowledge-graph/docs/plans/piecewise/PLAN-PIECEWISE-HYPERSTITIONSTUDIO-FEATURE-EXPANSION.md
T

69 lines
5.7 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# 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 P1–P6`) | **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. Piecewise Audit Points & Candidate Strategies (`Points 1–8`)
### Audit Point 1: Live Polyglot Workbench & REST/MCP Playground (`/api/v1/sandbox`)
- **Strategy 1A (Recommended — MCP Tool-Driven Sandbox):** Expose an interactive HTML workbench at `/api/v1/sandbox` that dynamically queries `MCP_TOOLS_SCHEMA`, allowing visitors to execute read-only tool calls and test ETag caching handshakes with zero custom REST routes.
- **Strategy 1B:** Static documentation-only API reference without interactive dispatch.
- **Strategy 1C:** External Swagger/OpenAPI UI integration relying on third-party CDNs.
### Audit Point 2: Turnkey Local Appliance Mode (`ingglish-exegesis-rpm` & Docker)
- **Strategy 2A (Recommended — Native Fedora RPM & Dockerfile Extension):** Standardize local air-gapped deployment via containerized compose and Fedora RPM specs with zero external network dependencies.
- **Strategy 2B:** Manual pip-only installation instructions without packaging bundles.
### Audit Point 3: Interactive Ingglish G2P Pronunciation Studio (`/calc/lexicon`)
- **Strategy 3A (Recommended — Offline Ingglish G2P Web Interface):** Add an interactive lexicon decomposition box to `/calc/` (`haiperdohp-jemaytreeah`) leveraging offline CMUdict phonetics.
- **Strategy 3B:** Static markdown lookup table of 126k words.
### Audit Point 4: Dynamic Repdigit Attractor & Prime Attractor Calculator (`/math/attractors`)
- **Strategy 4A (Recommended — Math Hub Interactive Module):** Implement a modular arithmetic and prime-factor calculator widget inside `math_docs.py` (`Unit M1`).
- **Strategy 4B:** Static PDF operator tables.
### Audit Point 5: Contingent-Meaning Operator Suite (`*Rota Umbrarum*` & Numogram Compass)
- **Strategy 5A (Recommended — Graph Mode 2 Extension):** Implement 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.
### Audit Point 6: Live Ecosystem Invariant & EROFS Health Audit Dashboard (`/engineering/invariants`)
- **Strategy 6A (Recommended — Engineering Hub Invariant Inspector):** Add a live health status tile to `/engineering/` (`Unit E4`) executing `ci/doctor.py` checks and reporting `ReadOnlyIsolationGuard` receipts.
- **Strategy 6B:** Static CI build badge images.
### Audit Point 7: Spatiotemporal Quant Factor & Trophic Supply-Chain Backtester (`/quant/backtest`)
- **Strategy 7A (Recommended — Quant Workbench Factor Explorer):** 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.
### Audit Point 8: Longitudinal Regime Volatility & Thermodynamic Profiler (`/quant/regimes`)
- **Strategy 8A (Recommended — Quant Bottom-Pane Regime Inspector):** Enhance `/quant/` Panel 6 with multi-window temporal selectors (`30D|90D|180D|ALL`) and Vol20d thermodynamic state breakdowns.
- **Strategy 8B:** Static snapshot charts.
---
## 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`).