Compare commits

...
7 Commits
47 changed files with 686 additions and 136 deletions

No files matched your search

+7 -7
View File
@@ -1,11 +1,11 @@
# `encyclopedia-knowledge-graph` (`v2.8.0` — `https://hyperstitionstud.io/graph/`)
# `encyclopedia-knowledge-graph` (`v2.10.0` — `https://hyperstitionstud.io/graph/`)
<!-- HS-COMMIT-STATUS:START -->
> **Gitea Commit & Release Telemetry (`v2.8.0` • Namespace `urn:io:hyperstitionstud`)**
> **Gitea Commit & Release Telemetry (`v2.10.0` • 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.8.0 release state across 11 tracked module/artifact surface(s)
> - **Touched Files / Surfaces:** `docs/PLAN-HOMEPAGE-QUADRANT-EXPLORATORY-FEATURES-AND-BUTTON-GEOMETRY.md`, `docs/PLAN-HOMEPAGE-QUADRANT-EXPLORATORY-FEATURES-AND-BUTTON-GEOMETRY.pdf`, `docs/PLAN-PIECEWISE-MARKET-RESEARCH-DEFERRED-CANDIDATE-STRATEGIES.md`, `docs/PLAN-PIECEWISE-MARKET-RESEARCH-DEFERRED-CANDIDATE-STRATEGIES.pdf`, `docs/archive/README.md`, `docs/archive/archive-manifest.json`, `docs/archive/completed-plans-archive.tar.gz`, `docs/cross-repo-dependency-and-audit-flow-diagram.html` (+3 more)
> - **Live Verified Ecosystem Metrics (`v2.8.0`):** `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
> - **Latest Commit Scope (`encyclopedia-knowledge-graph`):** Synchronized v2.10.0 release state across 2 tracked module/artifact surface(s)
> - **Touched Files / Surfaces:** `docs/plans/piecewise/PLAN-PIECEWISE-QUANT-VOICE-NARRATION-AND-SCENE-UI-INDICATORS.md`, `docs/plans/piecewise/PLAN-PIECEWISE-QUANT-VOICE-NARRATION-AND-SCENE-UI-INDICATORS.pdf`
> - **Live Verified Ecosystem Metrics (`v2.10.0`):** `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 -->
Standalone open-source interactive knowledge graph workbench, multi-format graph compiler (`JSON`, `GraphML`, `GEXF`, `Obsidian JSON Canvas`), visual atlas renderer, architectural plan ledger, and operator's manual for the **Encyclopedia of Technocapital Singularity Zoology**.
@@ -27,7 +27,7 @@ hs-archive-rotate
---
## Repository Structure (`v2.8.0`)
## Repository Structure (`v2.10.0`)
| Path | Description |
| :--- | :--- |
@@ -36,7 +36,7 @@ hs-archive-rotate
| `index.html` & `graph-data.js` | Offline-capable interactive dark-mode HTML5/Canvas workbench (`388` nodes, `1,282` deduplicated edges) |
| `encyclopedia-graph.{json,graphml,gexf}` & `encyclopedia.canvas` | Open-source graph interchange exports (`xmlns:hs="urn:io:hyperstitionstud:ns:kg:1.0"`) |
| `atlas-mode{1,2,3}.png` | High-resolution (`1600x1060`) visual atlas boards (Trophic Food-Web, Concentric ETI Radar `S+ -> D Periphery`, Bipartite `Gen 0 -> Gen 1` Funnel) |
| `docs/VPS-AND-GIT-OPERATOR-DEPLOYMENT-GUIDE.{md,pdf}` | Two-Script Git Operator (`git.libre.audio`) & Linode/Akamai VPS deployment guide (`v2.8.0`) |
| `docs/VPS-AND-GIT-OPERATOR-DEPLOYMENT-GUIDE.{md,pdf}` | Two-Script Git Operator (`git.libre.audio`) & Linode/Akamai VPS deployment guide (`v2.10.0`) |
| `docs/OPERATORS-MANUAL-LLM-TOKEN-DEPENDENT-DATA-PIPELINES.{md,pdf}` | Operator's Manual for zero-token VPS timers vs. LLM-token exegesis pipelines |
| `docs/cross-repo-dependency-and-audit-flow-diagram.{html,png,pdf,md}` & `docs/periodic-harvest-cicd-to-vps-flow-diagram.png` | Visual Dependency & Periodic Harvest CI/CD Flow Diagrams |
| `docs/archive/completed-plans-archive.tar.gz` & `docs/archive/archive-manifest.json` | Cold-rotated gzipped tar archive of completed architectural plans (`hs-archive-rotate`) |
@@ -1,106 +0,0 @@
# PLAN: Piecewise Exploratory Persona Features & Below-Closeup Button Geometry for the Homepage 2×2 Showcase Grid (`Audit Points 1–5`, `Rule C` Piecewise Specification)
**Document ID:** `PLAN-HOMEPAGE-QUADRANT-EXPLORATORY-FEATURES-AND-BUTTON-GEOMETRY`
**Status:** `ACTIVE / READY FOR STEPWISE PIECEWISE REVIEW & IMPLEMENTATION`
**Target Ecosystem Version:** `v2.8.0`
**Target Repositories:** `hyperstitionstudio-core`, `haiperdohp-jemaytreeah`, `encyclopedia-knowledge-graph`
**Author:** m00t & Hermes Agent
**Date:** 2026-11-30
---
## 1. Ground-Truth Audit: What Already Exists in the Codebase vs. Where Data or Code Is Missing (`Rule C.1`)
Per `Rule C` of `hyperstitionstudio-roadmap-and-release` (**Piecewise Plan Authoring & Stepwise Review Protocol**), this plan opens with an empirical Ground-Truth Audit separating (a) capabilities and data that **already exist and are 100% verified in the workspace today**, from (b) net-new UI code or statistical sample-size limits (`"Insufficient data to merit confidence / No data available"`):
| Audit Point | Target Surface & Persona | What Already Exists in the Codebase Today (`100%` Verified) | What Is Net-New or Statistically Constrained (`"No data available"`) |
| :--- | :--- | :--- | :--- |
| **Audit Point 1**<br/>*Below-the-Closeup Button Bar Geometry (`site/index.html`)* | Homepage `2×2` Showcase Quadrants (`Q1–Q4`, `680px` inner width below `680×260` `.closeup-frame`) | • `.card.hs-plate-g3` (`padding: 1.15rem 1.25rem` / `18.4px 20px`, `gap: 0.75rem` / `12px`)<br/>• `.closeup-frame` (`680×260` aspect ratio)<br/>• `34px`/`30px` chamfered `.btn` styling in `hs-group3-basalt-chamfer.css` | • **Net-New CSS Container (`.actions.below-closeup-bar`):** Whether each quadrant renders `1`, `2`, or `3` buttons on a single non-wrapping `680px` row depends on how many strategies (`A / B / C`) are affirmed per quadrant (`grid-template-columns: repeat(N, minmax(0, 1fr))`).<br/>• **External Click-Through Data:** `"No data available"` (`0` external clicks recorded yet). |
| **Audit Point 2**<br/>*Quadrant 01: Cybermemetics & Personal Magical Practice (`/calc/`, `/graph/`, `/learn/`)* | `ICP-H1` (Cybernetic & Occult Enthusiasts) | • **100% Live Today (`Strategy 2A`):** `☉ Personal Grimoire Ledger` already exists in `/learn/index.html` (`#statePortabilityBar`, `#inputBookmarkCoord`, `.note-area`, `#m06RegisterSelect`, `WebCrypto` `CIDv1` export/import).<br/>• **90% Live Today (`Strategy 2B`):** `/graph/index.html` already supports `?select=aq:<N>` URL deep-linking, 1-hop ego isolation, and `#flexPills`.<br/>• **Data Ready (`Strategy 2C`):** `cmudict_fallback.json` (`4,943` keys) + Base-36 `AQ` already live in `/calc/` and `hyperstitionstud_io.phonetics`. | • **`Strategy 2A`:** `0` new backend code needed (`1` deep-link button).<br/>• **`Strategy 2B` (`Numogram Syzygy Compass`):** Needs a small JS helper in `/graph/index.html` to compute `dr9(x)` and its `9`-sum twin (`1::8, 2::7, 3::6, 4::5`).<br/>• **`Strategy 2C` (`Sigil & Mantra Forge`):** Requires net-new 2D canvas/SVG kamea wheel rendering code. |
| **Audit Point 3**<br/>*Quadrant 02: Finance & Esoteric Non-Correlation (`/quant/`)* | `ICP-H2` (Finance & Alternative-Data Researchers) | • **Data & UI Ready (`Strategy 3A`):** `quant-timeseries-data.js` already ships all `9` `S1–S6` / `M1–M7+` builds with their exact 6-stat `ETI` vectors (`ARM, VEL, COL, CAP, PRM, RES`), and `/quant/` already has `#guildFilterPills` and `#lensProjectionCard`.<br/>• **Data Ready (`Strategy 3B`):** `24` watchlist tickers (`19` trading days / `472` real bars) + `14` FRED series + `confluence_dose` ($D_{i,t} \in \{0..4\}$) already pre-computed in `quant-timeseries-data.js`. | • **Statistical Sample-Size Caveat (`N = 19` trading days per ticker):** While `19` trading days (`30` UTC days) is 100% verified for **descriptive 30-day event inspection** (`Strategy 3B`) and **cross-sectional `ETI` screening** (`Strategy 3A`), it is **statistically insufficient (`"No data available"` for long-horizon $p$-values)** to claim multi-year backtested alpha or stable 252-day trailing price correlation (`Strategy 3C`). |
| **Audit Point 4**<br/>*Quadrant 03: Novice-Friendly Information Science (`/learn/`, `/engineering/`, `/math/`)* | `ICP-H3` (Novice-to-Intermediate CS & Math Learners) | • **100% Live Today (`Strategy 4A`):** `λ Visual AST & Z-Trace Tree` (`#hsGuileReplStepBtn` `"Step AST Trace"`, `#hsPolyglotReplLang`, `#hsGuileReplPreset`) is already implemented in `site/assets/hs-guile-scheme-repl.js` across all 12 `/engineering/*` & `/math/*` pages.<br/>• **100% Live Today (`Strategy 4B`):** Interactive Base-36 & `Ingglish` variance-collapse sandboxes (`Module 1`, `Module 2`, `Module 3`) are already live in `/learn/index.html` (`learn-app.js`). | • **`Strategy 4A` & `4B`:** `0` new code required beyond URL hash/query auto-focus (`#hsGuileReplDrawer`, `#mod-M02`).<br/>• **`Strategy 4C` (`1-Hop Graph Walk Builder`):** Requires net-new interactive node/edge toy builder JS on `/math/graph-topology-and-eti-scoring/`. |
| **Audit Point 5**<br/>*Quadrant 04: Operators & Two-Script DevOps (`/engineering/`)* | `ICP-H4` (Systems Operators, Self-Hosters & MCP Builders) | • **100% Live Today (`Strategy 5A`):** `◈ DAG-JSON CIDv1 Verifier` is already implemented in `/learn/learn-app.js` (`computeDagJsonCidv1()`) and `/api/v1/ipld/cid?registry=all` (`hs_compute_ipld_dag_json_cid`).<br/>• **Data & API Ready (`Strategy 5B`):** `/api/v1/status`, `/mcp`, and `engineering-manifest-data.js` are already live on `/engineering/`. | • **`Strategy 5A`:** Can link directly to `/api/v1/ipld/cid?registry=all` or `/engineering/mcp-chatbot-rest-and-ipld/` with `0` new backend code.<br/>• **`Strategy 5B` (`Live P1–P6 Smoke & ETag Probe`):** Lightweight `fetch('/api/v1/status')` button on `Unit E5`.<br/>• **`Strategy 5C` (`EROFS & tmpfs Mount Simulator UI`):** Requires net-new interactive UI widget. |
---
## 2. Four Factual Binary Engineering Gates (`G1–G4`, Zero Synthetic Scores)
Every candidate strategy across Audit Points `1–5` is evaluated strictly against four binary engineering gates:
- **`Gate G1` (100% Extant Verified Data):** Uses only verified local registries/corpora with `0` synthetic data and `0` unverified statistical claims.
- **`Gate G2` (`0` LLM Tokens):** Runs 100% deterministically in browser JS or existing stdlib Python.
- **`Gate G3` (`ProtectSystem=strict` `EROFS` Safe):** Zero writes to read-only rootfs paths.
- **`Gate G4` (Reuse-First / Minimal Code Delta):** Reuses existing live DOM/JS capabilities where available before adding new code.
---
## 3. Piecewise Audit Points & Candidate Strategies (`Strategies 1A–1C` through `5A–5C`)
---
### Audit Point 1: Below-the-Closeup Button Bar Geometry, Proportionality & Adaptive Column Grid (`site/index.html`)
Inside `.showcase-grid` (`max-width: 1320px`, `gap: 1.15rem`), each quadrant `.card.hs-plate-g3` (`padding: 1.15rem 1.25rem` / `18.4px 20px`, `gap: 0.75rem` / `12px`) frames a `680×260` `.closeup-frame`. When exploratory buttons are placed beneath `.closeup-frame`, their vertical height (`30px` vs `260px` image = `11.5%` / `1:8.7` vertical ratio) and horizontal grid columns must adapt cleanly to the number of affirmed buttons per quadrant:
- **Strategy `1A` (Adaptive `1`-to-`3` Column Flush Grid `.actions.below-closeup-bar` — Recommended Candidate):**
- Uses `display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 0.5rem (8px); width: 100%; margin: 0.1rem 0 0 0; padding: 0;` with `.actions.below-closeup-bar .btn { height: 30px; padding: 0.35rem 0.62rem; font-size: 0.70rem; text-align: center; justify-content: center; }`.
- **Why It Is Commutative:** Whether a quadrant has **1**, **2**, or **3** affirmed exploratory feature buttons, `repeat(auto-fit, minmax(180px, 1fr))` automatically stretches them flush across the exact `680px` width of the `.closeup-frame` above (`1` button = `680px`; `2` buttons = `2 × 336px + 8px gap = 680px`; `3` buttons = `3 × 221.3px + 2 × 8px gap = 680px`) and stacks to `1fr` on mobile (`@media (max-width: 680px)`).
- **Strategy `1B` (Fixed `3`-Column Grid Only `repeat(3, minmax(0, 1fr))` — Candidate):**
- Requires every quadrant to always have exactly `3` buttons (`221.3px` each), leaving empty whitespace if fewer than `3` strategies are affirmed for a quadrant.
- **Strategy `1C` (Keep `0` Buttons Below Closeups on `site/index.html` — Option 2 Baseline Currently Live in `v2.7.0`):**
- Leaves `site/index.html` with `0` buttons below the `680×260` UI closeups and exposes exploratory features only inside their respective subpages (`/calc/`, `/graph/`, `/quant/`, `/learn/`, `/engineering/`, `/math/`).
---
### Audit Point 2: Quadrant 01 Exploratory Features — Cybermemetics, Isopsephy & Personal Magical Practice (`ICP-H1`)
- **Strategy `2A` (`☉ Personal Grimoire Ledger` Deep-Link — 100% Live in Codebase Today, `4/4` Gates):**
- Links `[ ☉ Personal Grimoire Ledger ]` to `/learn/index.html#m06RegisterSelect` (and adds a 5-line hash handler in `/learn/learn-app.js` that scrolls to `#statePortabilityBar` / `#inputBookmarkCoord`), giving practitioners immediate 1-click access to the existing private `localStorage` coordinate bookmarking, `.note-area` synchronicity journal, and RFC 8785 `dag-json` `CIDv1` talisman exporter/importer (`0` new backend code).
- **Strategy `2B` (`☍ Numogram Syzygy Compass` Mode in `/graph/index.html` — 90% Live in Codebase Today, `4/4` Gates):**
- Links `[ ☍ Numogram Syzygy Compass ]` to `/graph/index.html?filter=syzygy` and adds `<option value="syzygy">CCRU 9-Sum Numogram Syzygies (1::8, 2::7, 3::6, 4::5)</option>` to the existing `#flagFilter` dropdown in `/workspace/encyclopedia-knowledge-graph/index.html` (`~15` lines of JS), highlighting nodes whose `AQ` mod-9 digital roots form twin syzygy pairs.
- **Strategy `2C` (`☿ Sigil & Mantra Forge` Canvas Modal in `/calc/index.html` — Net-New UI Widget, `3/4` Gates):**
- Builds a net-new SVG/Canvas kamea wheel sigil drawer inside `/workspace/haiperdohp-jemaytreeah/index.html` (`?mode=sigil-forge`). *(Higher code complexity; touches the upstream fork `haiperdohp-jemaytreeah`).*
---
### Audit Point 3: Quadrant 02 Exploratory Features — Finance & Esoteric Non-Correlation (`ICP-H2`)
- **Strategy `3A` (`♄ Uncaptured Gem Screener` Filter Pill in `/quant/index.html` — Extant `ETI` Data, `4/4` Gates):**
- Links `[ ♄ Uncaptured Gem Screener ]` to `/quant/index.html?screen=uncaptured-gems` and adds a 1-click filter preset in `/workspace/hyperstitionstudio-core/site/quant/quant-app.js` (`~20` lines of JS) that filters the `24` instruments and `9` assemblage builds to those matching the Fund Manager Proposal's `"Uncaptured Gem"` criterion (`COL >= 75` or `ARM >= 75`, `VEL >= 80`, and low institutional crowding `CAP <= 65`).
- **Strategy `3B` (`∆ 30-Day Dose D≥3 Event Inspector` Filter in `/quant/index.html` — Extant `N=19` Trading-Day Data, `4/4` Gates):**
- Links `[ ∆ 30-Day Dose D≥3 Inspector ]` to `/quant/index.html?screen=dose-d3` and highlights all `(Ticker, Date)` cells in `PANEL 2` (`#heatmapTable`) and `PANEL 1` (`#tsCanvas`) where `confluence_dose >= 3` across the `30` UTC days (`19` trading days), explicitly labeled as a **30-Day Descriptive Event Inspector ($N = 19$ trading days)** so it never overstates statistical sample size.
- **Strategy `3C` (`☍ Zero-Beta Pair Finder` — Statistically Constrained at `N = 19` Trading Days, `2/4` Gates):**
- Computing sample Pearson correlation $\rho_{\text{price}}$ over only $N = 19$ trading days has a wide standard error ($SE \approx 1/\sqrt{19 - 3} = 0.25$), which is **insufficient data to merit confidence** for claiming true "Zero-Beta" price independence until the historical bar cache accumulates $\ge 60–252$ trading days.
---
### Audit Point 4: Quadrant 03 Exploratory Features — Novice-Friendly Information Science & Polyglot CS (`ICP-H3`)
- **Strategy `4A` (`λ Visual AST & Z-Trace Tree` Auto-Open Deep-Link — 100% Live in Codebase Today, `4/4` Gates):**
- Links `[ λ Visual AST & Z-Trace Tree ]` to `/math/base36-algebra-and-primes/index.html?repl=trace` and adds a 6-line URL query check in `site/assets/hs-guile-scheme-repl.js` so `?repl=trace` automatically expands `#hsGuileReplDrawer`, selects `(prime-factors 666)`, and triggers `Step AST Trace` (`#hsGuileReplStepBtn`) on page load (`0` new backend code).
- **Strategy `4B` (`◈ Phonemic Compression Sandbox` Deep-Link — 100% Live in `/learn/index.html` Modules 1–3, `4/4` Gates):**
- Links `[ ◈ Phonemic Compression Sandbox ]` directly to `/learn/index.html#mod-M02` (where the live interactive `Gen 0 -> Gen 1 Ingglish` phonetic translator and `Module 3` Cluster `292` variance-collapse calculator already run in `learn-app.js`), avoiding duplicating `/learn/`'s sandbox on `/engineering/`.
- **Strategy `4C` (`☉ 1-Hop Graph Walk Builder` Toy Widget on `/math/graph-topology-and-eti-scoring/` — Net-New UI Code, `3/4` Gates):**
- Builds a net-new 5-node toy graph editor in `publishing/math_docs.py`. *(Redundant with `/graph/index.html`'s existing 1-hop ego-network isolator).*
---
### Audit Point 5: Quadrant 04 Exploratory Features — Operators & Two-Script DevOps (`ICP-H4`)
- **Strategy `5A` (`◈ DAG-JSON CIDv1 & Isolation Verifier` Deep-Link — 100% Live in Codebase Today, `4/4` Gates):**
- Links `[ ◈ DAG-JSON CIDv1 Verifier ]` to `/engineering/mcp-chatbot-rest-and-ipld/index.html#cid-verifier` (or `/api/v1/ipld/cid?registry=all`), where `Unit E4` and the Polyglot REPL already evaluate and verify RFC 8785 JCS + `SHA-256` `CIDv1` digests (`baguqeera...`) and `ReadOnlyIsolationGuard` receipts.
- **Strategy `5B` (`⚛ Live API & ETag 304 Probe` on `/engineering/cicd-vps-tmpfs-and-regression/` — Lightweight Live Probe, `4/4` Gates):**
- Links `[ ⚛ Live API & ETag 304 Probe ]` to `/engineering/cicd-vps-tmpfs-and-regression/index.html#live-smoke-probe` and adds a compact interactive probe panel in `Unit E5` (`publishing/engineering_docs.py`, `~25` lines) that fetches `/api/v1/status` twice (second time with `If-None-Match: <ETag>`) to demonstrate live `HTTP 200 OK` $\to$ `HTTP 304 Not Modified` conditional caching, latency, and `ReadOnlyIsolationGuard` status in the visitor's browser.
- **Strategy `5C` (`⚚ EROFS & tmpfs Mount Simulator UI` — Net-New UI Widget, `3/4` Gates):**
- Builds a separate interactive mount-table visualizer in `Unit E4/E5`. *(Redundant with `Unit E2` and `Unit E5`'s existing architecture prose and `periodic-harvest-cicd-to-vps-flow-diagram.png`).*
---
## 4. Summary Matrix of Audit Points `1–5` for Stepwise Review
| Audit Point | Strategy `A` (Reuse-First / High-Confidence) | Strategy `B` (Lightweight High-Signal Addition) | Strategy `C` (High Complexity or Insufficient Data) |
| :--- | :--- | :--- | :--- |
| **Point 1 (Button Geometry)** | **`1A`:** Adaptive `1..3` Column Flush Grid (`repeat(auto-fit, minmax(180px, 1fr))`) | **`1B`:** Fixed `3`-Column Grid Only | **`1C`:** `0` Buttons on Homepage (Option 2 Baseline) |
| **Point 2 (Quadrant 01: Cybermemetics)** | **`2A`:** `☉ Personal Grimoire Ledger` (`100%` Live in `/learn/`) | **`2B`:** `☍ Numogram Syzygy Compass` (`~15` lines in `/graph/` `#flagFilter`) | **`2C`:** `☿ Sigil & Mantra Forge` (Net-new canvas in `/calc/`) |
| **Point 3 (Quadrant 02: Finance/Quant)** | **`3A`:** `♄ Uncaptured Gem Screener` (`~20` lines in `/quant/` over extant `ETI`) | **`3B`:** `∆ 30-Day Dose D≥3 Inspector` (`~20` lines in `/quant/` over $N=19$ days) | **`3C`:** `☍ Zero-Beta Pair Finder` (*Insufficient data at $N=19$ days*) |
| **Point 4 (Quadrant 03: Novice Info Sci)** | **`4A`:** `λ Visual AST & Z-Trace Tree` (`100%` Live in `hs-guile-scheme-repl.js`) | **`4B`:** `◈ Phonemic Compression Sandbox` (`100%` Live in `/learn/#mod-M02`) | **`4C`:** `☉ 1-Hop Graph Walk Builder` (Net-new toy widget) |
| **Point 5 (Quadrant 04: Operators/SRE)** | **`5A`:** `◈ DAG-JSON CIDv1 Verifier` (`100%` Live in `Unit E4` & `/learn/`) | **`5B`:** `⚛ Live API & ETag 304 Probe` (`~25` lines in `Unit E5`) | **`5C`:** `⚚ EROFS & tmpfs Simulator UI` (Redundant widget) |
+7 -1
View File
@@ -7,7 +7,10 @@
> - **Production VPS & Git Operator Deployment Guide:** `../VPS-AND-GIT-OPERATOR-DEPLOYMENT-GUIDE.pdf` (and `.md`)
> - **Cross-Repository Dependency & Audit Flow Diagram:** `../cross-repo-dependency-and-audit-flow-diagram.html` (and `.png` / `.pdf`)
> - **Concentric ETI Radar (`D Periphery`) Specification:** `../specification-concentric-eti-tier-ring-radar-d-periphery.pdf` (and `.md`)
> - **Active / Deferred Roadmap Plans in `../`:** `../PLAN-LEXICAL-AND-ETYMOLOGICAL-SIMPLIFICATION.{md,pdf}`, `../PLAN-HEADER-SUBTITLE-TELEMETRY-CONSOLIDATION-ALTERNATIVE.{md,pdf}`, `../PLAN-SQLITE-META-REST-ENDPOINTS-ETAG-AND-VPS-SYNC.{md,pdf}`, `../PLAN-LLM-TOKEN-ECONOMIZER-AND-VARIANCE-ROUTING.{md,pdf}`, `../PLAN-ECOSYSTEM-WIDE-ECONOMIZATION-EVALUATION-AND-VECTORS.{md,pdf}`, `../PLAN-LOCAL-SERVER-SIDE-WEB-CHATBOT-GUI.{md,pdf}`, and `../PLAN-MEMETIC-GALLERY-SUBPAGE.{md,pdf}` are preserved in `../` as long-term inactive/deferred plans.
> - **Filesystem-Organized Roadmap Plans in `../plans/`:**
> - **Active Non-Piecewise Plans:** `../plans/active/PLAN-*.{md,pdf}`
> - **Piecewise Plans (`Fully Affirmed`, `Partially Affirmed`, & `Pending Audit`):** `../plans/piecewise/PLAN-*.{md,pdf}`
> - **Inactive / Deferred Plans & Retained Candidate Strategies:** `../plans/inactive/PLAN-*.{md,pdf}`
---
@@ -67,3 +70,6 @@
| `PLAN-RESTORE-V2-4-0-DONATE-BUTTON-APPEARANCE.{md,pdf}` | Specification for restoring the exact `v2.4.0` `.btn-donate-pill`, `.btn-donate-pill:hover`, `.donate-pill-emblem`, and `.nav-donate-sep` CSS rules (`34px` stadium pill, `padding: 0.28rem 0.9rem 0.28rem 0.35rem`, `gap: 0.45rem`, `font-size: 0.74rem`, 3-stop `#ffd86b -> #f59e0b -> #d97706` gradient, and `20×20` `#0f172a` circular rose-heart emblem) as a Single Source of Truth in `site/assets/hs-group3-basalt-chamfer.css`, removing duplicate inline `<style>` overrides from HTML surfaces, and enforcing non-brittle cross-page structural parity in `tests/test_core_suite.py`; now implemented and verified. |
| `PLAN-ALIGN-HOMEPAGE-UI-CLOSEUPS-WITH-ACTUAL-LIVE-PAGES.{md,pdf}` | Specification for replacing all synthesized widgets and `"UI CLOSEUP //"` banners in `site/assets/closeups/quadrant-{1..4}-*.png` (`680×260`) with 100% authentic, omission-only proportional renders of the actual live pages (`/calc/`, `/graph/`, `/quant/`, `/learn/`, `/engineering/`, `/math/`); now implemented and verified. |
| `PLAN-PIECEWISE-MARKET-RESEARCH-ICP-MVP-AND-COMPETITIVE-STRATEGY.{md,pdf}` | Specification for the Zero-Synthetic-Data Piecewise Market Research Strategy (`Affirmed Strategies 1A, 1B, 2A, 2B, 2C, 3A, 3B, 4B, 4C, 5A, 5B`): `--corpus-delta` in `hs-highlights` & `hs-sync-version`, `external_requests` vs `internal_requests` + `N>=500` `"No data available"` gate, `api_parameter_rollups` closed-set allowlist table, `get_longitudinal_telemetry_summary()` (`--telemetry-history` across `.1.gz..12.gz`), zero-IP Caddy `format filter` route counting (`--ingest-caddy-route-counts`), and conditional `ETag` `surface` / `donate_from` / `donate_copy` / `export_action` handshakes; now implemented and verified in `tests/test_core_suite.py`. |
| `PLAN-PIECEWISE-DECLUTTER-AND-ACCENTUATE-HOMEPAGE-UI-CLOSEUPS.{md,pdf}` | Specification for the `11` full-width `680×260` UI closeups across the 4 homepage quadrants (`Affirmed Strategies 1A, 2B, 3A, 4A, 5A`: `2` tabs in Quadrant 01 (`☿ /calc/` + `☍ /graph/`), `3` tabs in Quadrant 02 (`∆ Trajectory & Dose` + `☍ Bayesian & FRED` + `♄ 6-Lens & Card`), `3` tabs in Quadrant 03 (`◈ /learn/` + `λ Guile & Z-REPL` + `≡ TS & Rust`), and `3` tabs in Quadrant 04 (`⚚ DevOps & CLIs` + `⚛ MCP & ETag 304` + `◈ /ci/ 4-Gate Pipeline`)); now implemented in `site/index.html`, `site/assets/closeups/*.png`, and verified in `tests/test_core_suite.py`. |
| `PLAN-HOMEPAGE-QUADRANT-EXPLORATORY-FEATURES-AND-BUTTON-GEOMETRY.{md,pdf}` | Specification for the single interactive chamfered `.closeup-tab-strip` above `.closeup-frame` with balanced `16px / 20px` 4-edge symmetry and `0` below-closeup buttons (`Strategy 1C-3`), plus target-subpage exploratory features (`2B` `☍ Numogram Syzygy Compass` `?filter=syzygy` in `/graph/`, `3B` `∆ 30-Day Dose D>=3 Inspector` `?screen=dose-d3` in `/quant/`, `4A` `λ Visual AST & Z-Trace Tree` `?repl=trace` in `hs-guile-scheme-repl.js`, and `5B` `⚛ Live API & ETag 304 Probe` `#live-smoke-probe` in `Unit E4`); now implemented and verified in `tests/test_core_suite.py`. |
| `PLAN-PIECEWISE-UI-EVOLUTION-FOR-GROWING-DATASETS.{md,pdf}` | Specification for progressive scale-ready UI navigation across growing datasets (`Affirmed Strategies 1A, 2A, 3A, 4A, 5A, 6A`): `[30D\|90D\|180D\|ALL]` temporal window selector + sticky-column `#heatmapTable`, `#tickerQuickFilter` typeahead + auto-hiding `25`-row `#heatmapTable` pagination + `#wireTapeFilterInput`, `/graph/` zoom-adaptive `LOD` label/edge culling + `#minDegreeFilter` + top-`40` neighbor pagination, `/learn/` bookmark search & `20`-row pagination, `/engineering/` & `/math/` `> 6` subpage `More Units ▾` overflow guard + `#engCliFilterInput`, and homepage fixed-cardinality cap; now implemented and verified in `tests/test_core_suite.py`. |
+35 -5
View File
@@ -1,11 +1,11 @@
{
"version": "2.7.0",
"version": "2.9.0",
"bundle_filename": "completed-plans-archive.tar.gz",
"bundle_size_bytes": 4851270,
"bundle_sha256": "ced490142a89ee8f3cc1c30c89145b148a5ec51cf8d213e8fc0e12495be5d02d",
"bundle_size_bytes": 5107326,
"bundle_sha256": "bc877d9b57f21ed2dc87d29548b7ca4c51007d735e53e0e606cd8ffcccd4a41e",
"require_companion_md": true,
"member_count": 104,
"total_uncompressed_bytes": 5772282,
"member_count": 110,
"total_uncompressed_bytes": 6062735,
"preserved_standalone_pdfs": [],
"members": [
{
@@ -228,6 +228,16 @@
"size_bytes": 98298,
"sha256": "a49486d6b313bd2aa51fb32125aae4d3b0c37a049a758a0b9b3ff96f045747c4"
},
{
"name": "PLAN-HOMEPAGE-QUADRANT-EXPLORATORY-FEATURES-AND-BUTTON-GEOMETRY.md",
"size_bytes": 6842,
"sha256": "dd8b9d34db12eacebcbb41c95ef31bfe5dc914d24119c1148a1d3e9ca6f68770"
},
{
"name": "PLAN-HOMEPAGE-QUADRANT-EXPLORATORY-FEATURES-AND-BUTTON-GEOMETRY.pdf",
"size_bytes": 89651,
"sha256": "8d674cedff756b5b642433054bf8076157a1029761833370ab47f5a269473af6"
},
{
"name": "PLAN-HS-PDF-BUILD-DARK-MODE-AND-GLYPH-SANITIZATION.md",
"size_bytes": 19409,
@@ -338,6 +348,16 @@
"size_bytes": 102299,
"sha256": "069cf4c2a294a30a4823548471fc5b4661a929882ac25313715749572dd3037b"
},
{
"name": "PLAN-PIECEWISE-DECLUTTER-AND-ACCENTUATE-HOMEPAGE-UI-CLOSEUPS.md",
"size_bytes": 10854,
"sha256": "041e2046be3f22332f32fa9c01f803734a127b3338ca83afb039dc024c2420ba"
},
{
"name": "PLAN-PIECEWISE-DECLUTTER-AND-ACCENTUATE-HOMEPAGE-UI-CLOSEUPS.pdf",
"size_bytes": 93996,
"sha256": "1dca405518f655d5368ae5e19145da34e21ab03e197752136c92752a9f03a7d3"
},
{
"name": "PLAN-PIECEWISE-MARKET-RESEARCH-ICP-MVP-AND-COMPETITIVE-STRATEGY.md",
"size_bytes": 16021,
@@ -348,6 +368,16 @@
"size_bytes": 99676,
"sha256": "ace08d957159469d0ebcc4a8d8aaf3672a0a8eb4a1e7ffb2289e8f247fee6cf9"
},
{
"name": "PLAN-PIECEWISE-UI-EVOLUTION-FOR-GROWING-DATASETS.md",
"size_bytes": 3664,
"sha256": "9cf543e812cab75a8ca8f535d8832b1b0717a6c4b9f8d6b9faac5ec15568bb99"
},
{
"name": "PLAN-PIECEWISE-UI-EVOLUTION-FOR-GROWING-DATASETS.pdf",
"size_bytes": 85446,
"sha256": "91371f59f182125c1949fec722f5ff9681a6fe25b806a4e08b11520b65ce2bf7"
},
{
"name": "PLAN-POLYGLOT-PROGRAMMING-LENS-GUILE-TYPESCRIPT-RUST-AND-SELECTOR.md",
"size_bytes": 19580,
Binary file not shown.
@@ -120,7 +120,7 @@
<div class="pulse-dot"></div>
<h1>Cross-Repository Dependency Graph &amp; Auditable Build &rarr; Test &rarr; Stage_Commit Pipeline</h1>
</div>
<p class="subtitle">Sibling Repositories under /workspace: ingglish-hyperdope-gematria &bull; technocapital-singularity-zoology (v2.8.0) &bull; encyclopedia-knowledge-graph (v2.8.0)</p>
<p class="subtitle">Sibling Repositories under /workspace: ingglish-hyperdope-gematria &bull; technocapital-singularity-zoology (v2.10.0) &bull; encyclopedia-knowledge-graph (v2.10.0)</p>
</div>
<!-- Main SVG Diagram -->
Binary file not shown.

Before

Width:  |  Height:  |  Size: 285 KiB

After

Width:  |  Height:  |  Size: 285 KiB

+7
View File
@@ -0,0 +1,7 @@
# Active Non-Piecewise Plans (`docs/plans/active/`)
This directory holds **Tier 1 Active Non-Piecewise Plans** (`PLAN-*.md` and their compiled Dark-Mode ReportLab PDF companions `PLAN-*.pdf`) for offline PDF review and direct execution.
- **Piecewise Plans (`Tier 2–4`):** Located in `../piecewise/`
- **Inactive / Deferred Plans:** Located in `../inactive/`
- **Completed Cold-Rotated Plans:** Located in `../../archive/completed-plans-archive.tar.gz`
@@ -0,0 +1,46 @@
# PLAN: Retained & Deferred Candidate Strategies From `PLAN-HOMEPAGE-QUADRANT-EXPLORATORY-FEATURES-AND-BUTTON-GEOMETRY` (`Strategies 1A, 1B, 2A, 2C, 3A, 3C, 4B, 4C, 5A, 5C`)
**Document ID:** `PLAN-HOMEPAGE-QUADRANT-EXPLORATORY-FEATURES-DEFERRED-STRATEGIES`
**Status:** `INACTIVE / DEFERRED FOR FUTURE RE-EVALUATION`
**Target Ecosystem Version:** `Future Release (Post-v2.9.0)`
**Target Repositories:** `hyperstitionstudio-core`, `haiperdohp-jemaytreeah`, `encyclopedia-knowledge-graph`
**Author:** m00t & Hermes Agent
**Date:** 2026-11-30
---
## 1. Purpose (`Rule C.4` Active-vs-Inactive Piecewise Plan Partitioning)
Per `Rule C.4` of `hyperstitionstudio-roadmap-and-release`, this companion inactive document preserves all **retained-for-future** (`Strategies 2A, 2C, 3A, 3C, 4B, 4C, 5A, 5C`) and **deferred** (`1A, 1B`) candidate strategies from the stepwise review of `PLAN-HOMEPAGE-QUADRANT-EXPLORATORY-FEATURES-AND-BUTTON-GEOMETRY`, leaving exclusively the affirmed strategies (`1C-3, 2B, 3B, 4A, 5B`) inside the active plan.
---
## 2. Retained & Deferred Candidate Strategies Across Audit Points `1–5`
### 2.1 Audit Point 1 — Deferred Below-Closeup Button Bar Variations (`Strategies 1A & 1B`)
- **Strategy `1A` (Below-Closeup Adaptive Flush Button Grid) & Strategy `1B` (Below-Closeup Fixed 3-Column Button Grid):**
- Superseded by affirmed **`Strategy 1C-3`** (Single Interactive Chamfered Tab Row ABOVE Closeup with balanced `16px` vertical / `20px` horizontal 4-edge symmetry and `0` below-closeup buttons).
### 2.2 Audit Point 2 — Quadrant 01 Retained Strategies (`Strategies 2A & 2C`)
- **Strategy `2A` (`☉ Personal Grimoire Ledger` Deep-Link in `/learn/index.html#m06RegisterSelect`):**
- Retained for future implementation alongside Quadrant 01's 3rd `/learn/ Grimoire` tab (`Strategy 2A` of `PLAN-PIECEWISE-DECLUTTER-HOMEPAGE-UI-CLOSEUPS-DEFERRED-STRATEGIES`).
- **Strategy `2C` (`☿ Sigil & Mantra Forge` Canvas Modal in `/calc/index.html`):**
- Net-new SVG/Canvas kamea wheel sigil drawer inside `/workspace/haiperdohp-jemaytreeah/index.html` (`?mode=sigil-forge`); retained for future implementation.
### 2.3 Audit Point 3 — Quadrant 02 Retained Strategies (`Strategies 3A & 3C`)
- **Strategy `3A` (`♄ Uncaptured Gem Screener` Filter Pill in `/quant/index.html?screen=uncaptured-gems`):**
- Filters the `24` instruments and `9` assemblage builds to those matching the Fund Manager Proposal's `"Uncaptured Gem"` criterion (`COL >= 75` or `ARM >= 75`, `VEL >= 80`, and low institutional crowding `CAP <= 65`); retained for future implementation.
- **Strategy `3C` (`☍ Zero-Beta Pair Finder` in `/quant/index.html`):**
- Retained for future implementation once the historical bar cache accumulates $\ge 60–252$ trading days (currently constrained at $N = 19$ trading days, $SE \approx 0.25$).
### 2.4 Audit Point 4 — Quadrant 03 Retained Strategies (`Strategies 4B & 4C`)
- **Strategy `4B` (`◈ Phonemic Compression Sandbox` Deep-Link to `/learn/index.html#mod-M02`):**
- Retained for future implementation.
- **Strategy `4C` (`☉ 1-Hop Graph Walk Builder` Toy Widget on `/math/graph-topology-and-eti-scoring/`):**
- Retained for future implementation.
### 2.5 Audit Point 5 — Quadrant 04 Retained Strategies (`Strategies 5A & 5C`)
- **Strategy `5A` (`◈ DAG-JSON CIDv1 & Isolation Verifier` Deep-Link):**
- Retained for future implementation.
- **Strategy `5C` (`⚚ EROFS & tmpfs Mount Simulator UI`):**
- Retained for future implementation.
@@ -0,0 +1,32 @@
# PLAN: Deferred Candidate Strategies From `PLAN-PIECEWISE-DECLUTTER-AND-ACCENTUATE-HOMEPAGE-UI-CLOSEUPS` (`Strategies 1B, 1C, 2A, 2C, 3B, 3C, 4B, 4C, 5B, 5C`)
**Document ID:** `PLAN-PIECEWISE-DECLUTTER-HOMEPAGE-UI-CLOSEUPS-DEFERRED-STRATEGIES`
**Status:** `INACTIVE / DEFERRED FOR FUTURE RE-EVALUATION`
**Target Ecosystem Version:** `Future Release (Post-v2.9.0)`
**Target Repositories:** `hyperstitionstudio-core`, `encyclopedia-knowledge-graph`
**Author:** m00t & Hermes Agent
**Date:** 2026-11-30
---
## 1. Purpose (`Rule C.4` Active-vs-Inactive Piecewise Plan Partitioning)
Per `Rule C.4` of `hyperstitionstudio-roadmap-and-release`, this companion inactive document preserves all **retained-for-future** (`Strategy 2A`, `Strategy 3B`) and **deferred** (`1B, 1C, 2C, 3C, 4B, 4C, 5B, 5C`) candidate strategies from the stepwise review of `PLAN-PIECEWISE-DECLUTTER-AND-ACCENTUATE-HOMEPAGE-UI-CLOSEUPS`, leaving only the affirmed strategies (`1A, 2B, 3A, 4A, 5A`) inside the active plan.
---
## 2. Retained & Deferred Candidate Strategies Across Audit Points `1–5`
### 2.1 Retained for Future Implementation (`Strategies 2A & 3B`)
- **Strategy `2A` (Quadrant 01 — 3rd Tab Extension: `Tab 3: ☉ /learn/ Personal Grimoire & Convergence`):**
- Adds a 3rd tab (`☉ /learn/ Grimoire` -> `/learn/index.html`) to Quadrant 01 showcasing a full `680×260` closeup of `/learn/` (`Module M02: Phonemic Convergence` sandbox on the left + `Personal Grimoire Ledger` `localStorage` saved `AQ=292` locks and `[Export JSON]` on the right).
- **Strategy `3B` (Quadrant 02 — 2-Tab Condensed Mode: `Tab 1: Panel 1 Trajectory` • `Tab 2: Panel 6 Bayesian Brief`):**
- Condenses Quadrant 02 from 3 tabs down to 2 tabs (`Panel 1` and `Panel 6 + Panel 5`) if a symmetric 2-tab layout with Quadrant 01 is desired in the future.
### 2.2 Deferred Candidate Strategies (`Strategies 1B, 1C, 2C, 3C, 4B, 4C, 5B, 5C`)
- **Strategy `1B` (Fixed 2-Tab Strip Only):** Superseded by `1A` (`repeat(auto-fit, minmax(120px, 1fr))` supporting `2` tabs in Quadrant 01 and `3` tabs in Quadrants 02–04).
- **Strategy `1C` (No Tabs, 1 Static Image Per Quadrant):** Superseded by `1A`.
- **Strategy `2C` (Single Split-Pane `/calc/ + /graph/` Image):** Superseded by `2B`.
- **Strategy `3C` (Single Split-Pane `Panel 1 + Panel 6` Image):** Superseded by `3A`.
- **Strategy `4B` (2 Tabs for Quadrant 03) & Strategy `4C` (1 Static Image for Quadrant 03):** Superseded by `4A`.
- **Strategy `5B` (2 Tabs for Quadrant 04) & Strategy `5C` (1 Static Image for Quadrant 04):** Superseded by `5A`.
@@ -0,0 +1,38 @@
# PLAN: Retained & Deferred Candidate Strategies From `PLAN-PIECEWISE-UI-EVOLUTION-FOR-GROWING-DATASETS` (`Strategies 1B, 1C, 2B, 2C, 3B, 3C, 4B, 4C, 5B, 5C, 6B, 6C`)
**Document ID:** `PLAN-PIECEWISE-UI-EVOLUTION-FOR-GROWING-DATASETS-DEFERRED-STRATEGIES`
**Status:** `INACTIVE / DEFERRED FOR FUTURE RE-EVALUATION`
**Target Ecosystem Version:** `Future Release (Post-v2.10.0)`
**Target Repositories:** `hyperstitionstudio-core`, `encyclopedia-knowledge-graph`, `haiperdohp-jemaytreeah`
**Author:** m00t & Hermes Agent
**Date:** 2026-11-30
---
## 1. Purpose (`Rule C.4` Active-vs-Inactive Piecewise Plan Partitioning)
Per `Rule C.4` of `hyperstitionstudio-roadmap-and-release`, this companion inactive document preserves all **retained-for-future** (`Strategies 1B, 3B, 4B, 6B`) and **deferred** (`1C, 2B, 2C, 3C, 4C, 5B, 5C, 6C`) candidate strategies from the stepwise review of `PLAN-PIECEWISE-UI-EVOLUTION-FOR-GROWING-DATASETS`, leaving exclusively the affirmed strategies (`1A, 2A, 3A, 4A, 5A, 6A`) inside the active plan.
---
## 2. Retained for Future Implementation (`Strategies 1B, 3B, 4B, 6B`)
- **Strategy `1B` (`/quant/` Longitudinal Time Axis — Two-Tier Hot/Cold Historical Bundle Split at `> 2,500` Bars):**
- Splits `quant-timeseries-data.js` into a hot 90-day bundle (`quant-timeseries-recent-90d.js`, `< 250 KB`) plus on-demand yearly archive chunks (`quant-timeseries-2026.json`, `quant-timeseries-2027.json`) once total bars exceed `2,500+`.
- **Strategy `3B` (`/graph/` Ontology & Canvas — Zero-Dependency Hybrid Dual-Canvas: Native `canvas.getContext("webgl2")` Instanced Point/Edge Layer + 2D `ctx.fillText()` HUD Overlay at `> 5,000` Nodes):**
- Uses 100% native browser WebGL2 (`0` external third-party libraries, `file://` safe) to draw `10,000–100,000` edges and node circles in a single GPU draw call while layering the existing 2D `<canvas>` on top for crisp monospace text labels once the graph crosses `5,000+` nodes.
- **Strategy `4B` (`/calc/` Lexical Corpus — Shard `db.json` Into 36 Base-36 Prefix Chunks at `> 1,000,000` Entries):**
- Splits `db.json` into `db_0.json .. db_z.json` on-demand shards once `db.txt` exceeds `1,000,000+` entries.
- **Strategy `6B` (Homepage — Dynamic "Latest Newswire / Ticker Tape" Strip on `/index.html` If a Future Homepage UI Redesign Is Intended):**
- Retained only if a future homepage UI redesign intends to add a live newswire/ticker tape to `/index.html` (not intended under the current `2×2` showcase design).
---
## 3. Deferred Candidate Strategies (`Strategies 1C, 2B, 2C, 3C, 4C, 5B, 5C, 6C`)
- **Strategy `1C` (Downsample Older Bars into Weekly/Monthly Candles Only):** Deferred (loses exact single-day `Scope 1/2/3` Confluence Dose event precision).
- **Strategy `2B` (Virtual-Scroll DOM Recycler for `1,000+` Simultaneous Tickers) & Strategy `2C` (Unbounded Table):** Superseded by `2A`.
- **Strategy `3C` (Unculled 2D Canvas Rendering):** Superseded by `3A`.
- **Strategy `4C` (Unbounded `/learn/` Lists):** Superseded by `4A`.
- **Strategy `5B` (Left-Sidebar Tree Navigation on `/engineering/` & `/math/`) & Strategy `5C` (Unbounded Top-Bar Buttons):** Superseded by `5A`.
- **Strategy `6C` (No Formal Cap on Homepage Tabs/Links):** Superseded by `6A`.
+7
View File
@@ -0,0 +1,7 @@
# Inactive & Deferred Plans (`docs/plans/inactive/`)
This directory holds **Long-Term Inactive / Deferred Plans** and **Companion Deferred Strategy Plans** (`PLAN-*.md` and their compiled Dark-Mode ReportLab PDF companions `PLAN-*.pdf`) for offline PDF review.
- **Active Non-Piecewise Plans (`Tier 1`):** Located in `../active/`
- **Piecewise Plans (`Tier 2–4`):** Located in `../piecewise/`
- **Completed Cold-Rotated Plans:** Located in `../../archive/completed-plans-archive.tar.gz`
@@ -0,0 +1,114 @@
# PLAN: Piecewise Complete Mathematics & Information Science Explication Across `/math/` (`Unit M0` Hub & Subpages `M1–M5`, Strict Anti-Self-Reference Closure Boundary, `Audit Points 1–6`, `Rule C` Piecewise Specification)
**Document ID:** `PLAN-PIECEWISE-COMPLETE-MATHEMATICS-AND-INFO-SCIENCE-EXPLICATION`
**Status:** `ACTIVE / READY FOR STEPWISE PIECEWISE REVIEW & IMPLEMENTATION`
**Target Ecosystem Version:** `v2.9.0`
**Target Repositories:** `hyperstitionstudio-core`, `encyclopedia-knowledge-graph`
**Author:** m00t & Hermes Agent
**Date:** 2026-11-30
---
## 1. Strict Anti-Self-Reference / Non-Circular Closure Invariant (`Zero Self-Explication of /math/*`)
To prevent self-referential fixed-point and `IPLD dag-json CIDv1` closure issues (where modifying `/math/` to describe `/math/` alters `math_docs.py` / `math-manifest.json` / `hs-math-docs` counts, hashes, or routes in a circular feedback loop):
1. **Strict Explication Boundary (What `/math/*` Must NEVER Explicate):**
- `/math/` (`Unit M0` Hub and Subpages `M1–M5`) is the **observer/explication lens**, never the **observed subject**.
- Therefore, `/math/` and its subpages (`M1–M5`) **must omit `/math/` (`site/math/*`), `publishing/math_docs.py`, `hs-math-docs`, `math-manifest.json`, and the `/math/` subpages themselves (`M0–M5`) from the subject matter being explicated** (and likewise omit `/engineering/`, `publishing/engineering_docs.py`, and `hs-eng-docs`).
- All self-referential subtitle phrases (`"Non-Sequentially Revertible via hs-math-docs --disable <slug>"`, `"Commutative Empirical Introspection • Piecewise & Non-Sequentially Revertible"`) and self-referential `math-manifest.json` / `M0–M5` references inside the expository tables and prose are removed.
2. **What `/math/*` Explicates Instead (100% of the Target Domain Mathematics & Information Science):**
- Explicates exclusively the **underlying mathematical, statistical, calculus, and information-science foundations** of `hyperstitionstud.io`'s operational corpora and engines:
- **Domain 1 (Abstract Algebra & Elementary Number Theory):** Base-36 monoid homomorphisms (`ciphers`), prime-counting index $\pi(n)$, $37 \times 3k$ repdigit attractors, mod-9 digital root ring congruence $dr_9(n)$, `9`-sum syzygy involution $\sigma(r)=9-r$, and `--revise-anchor` perturbation algebra $\Delta_Q$.
- **Domain 2 (Information Theory, Phonemic Compression & Full-Text Retrieval):** Surjective phonemic projection $\Phi: \Sigma_{\text{eng}}^* \to \Sigma_{\text{ing}}^*$ (`phonetics`), equivalence kernel $\ker(\text{AQ} \circ \Phi)$, data-processing entropy reduction $H(\text{AQ}(\Phi(W))) \le H(\text{AQ}(W))$, Genealogical Vectors `G1–G6`, and SQLite FTS5 **Okapi BM25** full-text ranking (`db/sqlite_meta.py`).
- **Domain 3 (Graph Theory, Convex Optimization & Polar Geometry):** 6-partite directed multigraph $G = (V, E, R)$ (`388` nodes, `1,282` edges), convex Ecological Trophic Index (`ETI`) inner product ($\sum_{k=1}^6 w_k = 1.00$), 4-key lexicographic tie-breaking total order, Mode 2 Concentric Polar Radar affine mapping $(r, \theta) \mapsto (x, y)$, and 1-hop induced ego subgraphs $G[N_1(v)]$.
- **Domain 4 (Nonparametric Order Statistics, Sabermetric Moments & Z-Combinator Calculus):** 4-species Confluence Dose $D_{i,t} \in \{0..4\}$, heavy-tailed order statistics ($P_{50}, P_{90}$), longitudinal moments (`SNAP%`, `WOPR`, `LOE`, `WAR_30d`), lead-lag Pearson $r(\tau)$ with Student-$t$ statistic, and **Thomas' Calculus enacted via the applicative-order `Z` combinator** (`guile_prelude.scm`: recursive limit halving, central difference derivative, $n$-th derivative, midpoint Riemann sum, and adaptive Simpson quadrature).
- **Domain 5 (Macroeconomic Identities, Discrete Bayesian Simplex & Content-Addressed Merkle Cryptography):** St. Louis Fed (`FRED`) monetary spread and velocity identities ($M2 - M1$, $V_{M2} = \text{GDP}/M2$), discrete 3-state Bayes' Theorem on the simplex $\Delta^2$, Birthday-Problem multiple-testing collision bounds (*"Grand Central Station"* vs. *"The Room Filter"*), **RFC 8785 JCS + IPLD `dag-json` (`0x0129`) `CIDv1` Merkle cryptography** (`ipld/__init__.py` & HTTP `ETag` equivalence), and the $N_{\text{ext}} \ge 500$ binomial confidence bound.
---
## 2. Ground-Truth Audit: Live Target Domain Math (`v2.8.1`) vs. Current `/math/` Explication Gaps (`Rule C.1`)
| Audit Point & `/math/` Surface | What Is Currently Rendered on `/math/` (`v2.8.1`) | Self-Reference Bugs, Variance Discrepancies, Stale Counts & Undocumented Domains Found in Audit (`Gaps to Fix`) |
| :--- | :--- | :--- |
| **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 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$. |
---
## 3. Four Factual Binary Engineering & Mathematical Gates (`G1–G4`, Zero Self-Reference & Zero Synthetic Data)
- **`Gate G1` (Strict Anti-Self-Reference Closure):** Zero prose, formulas, subtitles, or tables on `/math/*` may reference `math_docs.py`, `hs-math-docs`, `math-manifest.json`, or `/math/` itself as a subject of explication.
- **`Gate G2` (100% Exact Algebraic & Numerical Consistency):** Harmonizes the Cluster `292` variance numbers across `M0`, `M2`, and `guile_prelude.scm` and dynamically interpolates live `total_real_bars_n` (`472`).
- **`Gate G3` (`0` LLM Tokens, `0` External Math CDNs & `ReadOnlyIsolationGuard` Safe):** Renders 100% offline with zero mutations to locked upstream registries (`all_unchanged: True`).
- **`Gate G4` (Complete 6-Domain Mathematics & Information Science Coverage):** Covers Abstract Algebra/Number Theory, Information Theory/Phonemic Compression & BM25 Retrieval, Graph Theory & Polar Geometry, Nonparametric Order Statistics, Sabermetrics & Z-Combinator Calculus, and Macroeconomics, Bayesian Inference & Content-Addressed Merkle Cryptography.
---
## 4. Piecewise Audit Points & Candidate Strategies (`Strategies 1A–1C` through `6A–6C`)
---
### Audit Point 1: Hub `M0` (`/math/index.html`) — Purge Self-Reference (`hs-math-docs --disable`), Harmonize Cluster `292` Variance & Add Non-Self-Referential 6-Domain Reference Table
- **Strategy `1A` (Purge Self-Referential Subtitles Across `M0–M5` + Harmonize Cluster `292` Variance + Add Non-Self-Referential 6-Domain Mathematical & Information-Science Reference Table on `M0` — Recommended Candidate):**
- Removes all self-referential `"Non-Sequentially Revertible via hs-math-docs --disable <slug>"` subtitle text across `M0–M5`.
- Harmonizes the Cluster `292` variance text between `M0` and `M2` (`{'schizoanalysis': 292, 'abstract machine': 265, 'synthetic data': 250}` $\to \sigma^2_0 = 2792/9 \approx 310.22 \to 0.0$ alongside the 3-point REPL vector `[264, 317, 276]` $\to 4634/9 \approx 514.89 \to 0.0$).
- Adds a **6-Domain Mathematical & Information-Science Reference Table** on `/math/index.html` mapping each formal equation and invariant directly to its underlying target domain module/registry (`ciphers`, `phonetics`, `sqlite_meta`, `encyclopedia-graph`, `timeseries`, `macro`, `daily_brief`, `guile_prelude.scm`, `ipld`) with **zero reference to `/math/` or `M0–M5` themselves**.
- **Strategy `1B` (Purge Self-Reference & Harmonize Variance Numbers Only — Minimal Candidate):**
- Removes `hs-math-docs` self-references and aligns the Cluster `292` variance text without adding the 6-domain reference table to `M0`.
- **Strategy `1C` (Leave `M0` Unchanged — Status Quo):**
- Retains self-referential `hs-math-docs --disable` subtitles and the `310.22` vs `514.89` discrepancy.
---
### Audit Point 2: Unit `M1` (`base36-algebra-and-primes`) — Mod-9 Digital Root Ring Homomorphism, CCRU `9`-Sum Syzygy Involution & Anchor Perturbation Algebra
- **Strategy `2A` (Add Section 3 to `M1`: Mod-9 Digital Root Congruence `dr_9(n)`, `9`-Sum Syzygy Involution & Quantitative Anchor Perturbation Algebra `Δ_Q` — Recommended Candidate):**
- Adds **Section 3 (`3. Mod-9 Digital Root Congruence dr_9(n), 9-Sum Syzygy Involution & Anchor Perturbation Δ_Q`)** explicating $dr_9(n) = 1 + ((n - 1) \bmod 9) \in \{1..9\}$, the syzygy involution $\sigma(r) = 9 - r$ (`{(1,8), (2,7), (3,6), (4,5)}`), and the anchor revision delta $\Delta_Q = \text{AQ}(Q_{\text{new}}) - \text{AQ}(Q_{\text{old}})$ across `Paths A/B/C`.
- **Strategy `2B` (Add `dr_9(n)` Only — Partial Candidate):**
- Covers `dr_9(n)` without `--revise-anchor` perturbation algebra.
- **Strategy `2C` (Leave `M1` at 2 Sections — Status Quo):**
- Leaves `dr_9(n)` and `--revise-anchor` undocumented.
---
### Audit Point 3: Unit `M2` (`phonemic-projections-and-g-vectors`) — Complete All 6 Vectors (`G1–G6`), Shannon Entropy Compression & SQLite FTS5 Okapi BM25 Ranking
- **Strategy `3A` (Complete Vectors `G2` & `G6` in Section 2 + Add Section 3 on Information-Theoretic Phonemic Compression & SQLite FTS5 Okapi BM25 Retrieval — Recommended Candidate):**
- Completes all six vectors (`G1` through `G6`, adding `G2` Cross-Generational Twin Locks and `G6` Multi-Scale Repdigit Closure) and adds **Section 3 (`3. Information-Theoretic Entropy Reduction H(Φ(W)) ≤ H(W) & SQLite FTS5 Okapi BM25 Full-Text Ranking`)** covering equivalence quotients $\Sigma_{\text{eng}}^* / \ker(\text{AQ} \circ \Phi)$ and the Okapi BM25 scoring equation in `fts_catalog`.
- **Strategy `3B` (Add Missing Vectors `G2` & `G6` Only — Partial Candidate):**
- Completes `G1–G6` without Section 3 on Shannon entropy and FTS5 BM25.
- **Strategy `3C` (Leave `M2` Unchanged — Status Quo):**
- Leaves `G2`, `G6`, and BM25 omitted.
---
### Audit Point 4: Unit `M3` (`graph-topology-and-eti-scoring`) — Concentric Polar Radar Geometry (`Mode 2`), 4-Key Lexicographic Total Order & 1-Hop Ego Subgraphs
- **Strategy `4A` (Add Section 3 to `M3`: Concentric Polar Radar Affine Mapping `(r, θ) -> (x, y)`, 4-Key Lexicographic Tie-Breaker & 1-Hop Induced Ego Subgraphs — Recommended Candidate):**
- Adds **Section 3** explicating the Mode 2 Concentric Polar Radar radial mapping $r(\text{ETI}_i) = R_{\min} + \frac{100 - \text{ETI}_i}{100}(R_{\max} - R_{\min})$, the 4-key lexicographic total order $(\text{ETI}_i, \text{CAP}_i, \text{COL}_i, \text{ARM}_i)$, and the 1-hop ego-network induced subgraph $G[N_1(v)]$.
- **Strategy `4B` (Add Polar Radar Formula Only — Partial Candidate):**
- Adds $r(\text{ETI}_i)$ without the 4-key lexicographic tie-breaker or ego-subgraph formula.
- **Strategy `4C` (Leave `M3` at 2 Sections — Status Quo):**
- Leaves Mode 2 radar geometry undocumented on `/math/`.
---
### Audit Point 5: Unit `M4` (`timeseries-moments-and-confluence-dose`) — Dynamic `472` Bar Count, Sabermetric Moments (`SNAP%`, `WOPR`, `LOE`, `WAR_30d`) & Thomas' Calculus via `Z`
- **Strategy `5A` (Replace Hardcoded `440` with Live `472` Bar Count + Add Section 3 on Longitudinal Sabermetric Moments, Lead-Lag $t$-Statistics & Thomas' Calculus via `Z` Combinator — Recommended Candidate):**
- Dynamically interpolates live `472` real exchange bars (`19` trading days per public ticker) and adds **Section 3** covering `SNAP%`, `WOPR`, `LOE`, `WAR_30d`, lead-lag Pearson $r(\tau)$ with Student-$t$ statistic ($df = n - 2$), and the formal equations for limits, central difference derivatives, $n$-th derivatives, Riemann sums, and adaptive Simpson quadrature enacted via the applicative-order `Z` combinator (`guile_prelude.scm`).
- **Strategy `5B` (Fix `440 -> 472` Count Only — Minimal Candidate):**
- Updates the bar count without explicating `SNAP%`/`WOPR`/`WAR_30d` or the `Z`-calculus formulas.
- **Strategy `5C` (Leave `M4` Unchanged — Status Quo):**
- Retains the stale `440` bar count.
---
### Audit Point 6: Unit `M5` (`macro-spreads-and-bayesian-inference`) — Content-Addressed Merkle Cryptography (`RFC 8785 JCS + IPLD dag-json CIDv1`) & Sample-Size Confidence Bounds
- **Strategy `6A` (Add Section 3 to `M5`: Content-Addressed Merkle Cryptography `RFC 8785 JCS + IPLD dag-json (0x0129) CIDv1` Over Target Registries & Binomial Sample-Size Confidence Bounds — Recommended Candidate):**
- Adds **Section 3** explicating RFC 8785 JCS canonicalization, binary multihash `CIDv1 = 'b' || Base32([0x01, 0xA9, 0x02, 0x12, 0x20] || SHA256(JCS(X)))` over target domain registries (omitting `math-manifest.json` self-reference), HTTP `ETag` equivalence, and why a worst-case ($p=0.5$) 95% binomial confidence interval half-width $\le \pm 4.38\%$ requires $N_{\text{ext}} \ge 500$.
- **Strategy `6B` (Add `CIDv1` Formula Only — Partial Candidate):**
- Documents `CIDv1` byte construction without the $N_{\text{ext}} \ge 500$ binomial confidence bound.
- **Strategy `6C` (Leave `M5` at 2 Sections — Status Quo):**
- Leaves `IPLD dag-json CIDv1` and the $N_{\text{ext}} \ge 500$ confidence bound undocumented.
@@ -0,0 +1,112 @@
# PLAN: Piecewise Complete Software Engineering Explication Across `/engineering/` (`Unit E0` Hub & Subpages `E1–E5`, Strict Anti-Self-Reference Closure Boundary, `Audit Points 1–6`, `Rule C` Piecewise Specification)
**Document ID:** `PLAN-PIECEWISE-COMPLETE-SOFTWARE-ENGINEERING-EXPLICATION`
**Status:** `ACTIVE / READY FOR STEPWISE PIECEWISE REVIEW & IMPLEMENTATION`
**Target Ecosystem Version:** `v2.9.0`
**Target Repositories:** `hyperstitionstudio-core`, `encyclopedia-knowledge-graph`
**Author:** m00t & Hermes Agent
**Date:** 2026-11-30
---
## 1. Strict Anti-Self-Reference / Non-Circular Closure Invariant (`Zero Self-Explication of /engineering/*`)
To prevent self-referential fixed-point and `IPLD dag-json CIDv1` closure issues (where modifying `/engineering/` to describe `/engineering/` alters `engineering_docs.py` / `engineering-manifest.json` / `hs-eng-docs` counts and routes in a circular feedback loop):
1. **Strict Explication Boundary (What `/engineering/*` Must NEVER Explicate):**
- `/engineering/` (`Unit E0` Hub and Subpages `E1–E5`) is the **observer/explication lens**, never the **observed subject**.
- Therefore, `/engineering/` and its subpages (`E1–E5`) **must omit `/engineering/` (`site/engineering/*`), `publishing/engineering_docs.py`, `hs-eng-docs`, `engineering-manifest.json`, and the `/engineering/` subpages themselves (`E0–E5`) from the subject matter being explicated** (and likewise omit `publishing/math_docs.py` / `hs-math-docs` self-reference).
- In `ENGINEERING_GUILE_CARTRIDGES["E0"]` and the Hub `E0` tables, replace self-referential `introspect_engineering_manifest()` examples with non-self-referential workspace target introspection (`load_workspace_config()`, `MCP_TOOLS_SCHEMA`, `REST_DOMAIN_ALIASES`, and core domain CLI entrypoints excluding `hs-eng-docs`/`hs-math-docs` from self-referential prose).
2. **What `/engineering/*` Explicates Instead (100% of the Target Domain Software Engineering):**
- Explicates exclusively the **underlying operational software systems** of `hyperstitionstud.io`:
- **Domain `E1`:** `ciphers`, `phonetics`, `packages-js/ciphers-aq`, `/calc/` (`haiperdohp-jemaytreeah`), and the 4-Gate CI provisioner (`ci_provision_ingglish.py`).
- **Domain `E2`:** `glossary` (`ReadOnlyIsolationGuard`), `graph` (`build_encyclopedia_knowledge_graph.py`), and `db/sqlite_meta.py` (`hyperstition-catalog.db` & `api-telemetry.db`).
- **Domain `E3`:** `quant/{collector,timeseries,macro,daily_brief}.py`, `lenses/__init__.py`, and `/quant/` (`quant-app.js`, `quant-tutorials.js`).
- **Domain `E4`:** `mcp/{server,rest,tools,resources,prompts}.py`, `quant/cards.py`, `ipld/__init__.py`, and `publishing/polyglot_sandbox.py` (`hs-guile-scheme-repl.js`).
- **Domain `E5`:** `deploy/{sync-vps-repos.sh,run-vps-data-production.sh,run-vps-archive-rotation.sh,Caddyfile}`, `push-all-to-git-libre-audio.sh`, `version_sync.py`, `publishing/{pdf_compiler,archive_rotator,readme_sync,highlights,flow_diagram}.py`, `ci/{doctor,citation_sources,erofs_harness,public_regression}.py`, and `site/assets/{hs-group3-basalt-chamfer.css,hs-matrix-coderain.js}`.
---
## 2. Ground-Truth Audit: Live Target Codebase Modules (`v2.8.1`) vs. Current `/engineering/` Explication Gaps (`Rule C.1`)
| Audit Point & `/engineering/` Surface | What Is Currently Rendered on `/engineering/` (`v2.8.1`) | Self-Reference Bugs, Stale Counts & Undocumented Target Modules Found in Audit (`Gaps to Fix`) |
| :--- | :--- | :--- |
| **Audit Point 1**<br/>*Hub `E0` (`/engineering/index.html`)* | • `E0` Polyglot Cartridge currently calls `manifest = introspect_engineering_manifest()` (self-referential!) and hardcodes stale `tools=15` and `lenses=4`<br/>• Includes an `Enabled Subpages: 5 / 5` stat tile and `hs-eng-docs` / `hs-math-docs` in the CLI table | **1. Eliminate Self-Reference on `E0`:** Replace `introspect_engineering_manifest()` in `ENGINEERING_GUILE_CARTRIDGES["E0"]` with non-self-referential `load_workspace_config()` / `MCP_TOOLS_SCHEMA` (`20` tools, `6` lenses), remove the self-referential `Enabled Subpages` stat tile, and filter `hs-eng-docs` & `hs-math-docs` out of the target domain CLI table.<br/>**2. Add Non-Self-Referential 6-Repository & Core Subpackage Architecture Table:** Map the 6 repositories and core domain subpackages (`config`, `ciphers`, `phonetics`, `glossary`, `graph`, `quant`, `lenses`, `db`, `ipld`, `mcp`, `ci`) without referencing `/engineering/` itself. |
| **Audit Point 2**<br/>*Subpage `E1` (`ciphers-and-phonetics`)* | • `Section 1`: Base-36 mapping & quantization modes (`digit`, `off`, `spoken`)<br/>• `Section 2`: 3-Tier `translate_batch()` phonetics transducer (`4,943` `cmudict_fallback.json` keys) | **1. Undocumented `packages-js/ciphers-aq` Dual-Runtime Parity & `/calc/` Progressive DB Hydration:** Omits how the browser/ESM package (`packages-js/ciphers-aq`) and `/calc/` (`haiperdohp-jemaytreeah/tools/generate_db_json.py`, progressive `db_lite.json` + `db.json` hydration over `231,615` `db.txt` entries) stay in lockstep with Python `hyperstitionstud_io.ciphers`.<br/>**2. Undocumented `4-Gate CI Provisioner` (`ci_provision_ingglish.py`):** Omits the 4 gates (`Gate A` Format, `Gate B` Phonemic Determinism, `Gate C` Isopsephic Parity, `Gate D` Deduplication) that filter candidates into `db.txt`. |
| **Audit Point 3**<br/>*Subpage `E2` (`knowledge-graph-and-sqlite`)* | • `Section 1`: `ReadOnlyIsolationGuard` (`glossary/__init__.py`)<br/>• `Section 2`: 6-Gate KG compiler & `api-telemetry.db` `100M` quiescent `logrotate` | **1. Undocumented `v2.8.0` Zero-PII Market-Research Telemetry Schema (`sqlite_meta.py`):** Omits the `external_requests` vs `internal_requests` split (`N>=500` `"No data available"` gate), the closed-set allowlist `api_parameter_rollups` table (`symbol`, `lens`, `lang`, `surface`, `donate_from`, `donate_copy`, `export_action`), `static_route_rollups` (`--ingest-caddy-route-counts`), and `get_longitudinal_telemetry_summary()` (`--telemetry-history` across `.1.gz..12.gz`).<br/>**2. Undocumented 6 Knowledge Graph Verification Gates:** Mentions "6-Gate" without listing what Gates `1–6` in `build_encyclopedia_knowledge_graph.py` verify. |
| **Audit Point 4**<br/>*Subpage `E3` (`quant-macro-and-bayesian-brief`)* | • `Section 1`: `collector.py` & `macro.py`<br/>• `Section 2`: 14-Point Census, Confluence Dose ($D \in \{0..4\}$), & `daily_brief.py` | **1. Stale Bar Count (`440` vs `472`):** Line 282 hardcodes `"23 public tickers load 440 verified daily exchange bars"` instead of dynamically reading the live `472` real exchange bars (`19` trading days across `24` instruments)!<br/>**2. Undocumented `LENS_REGISTRY` (`lenses/__init__.py`) & Frontend Quant Engine (`quant-app.js` / `quant-tutorials.js`):** Omits how `LENS_REGISTRY` projects `struct_*` and `ts_*` keys across the 6 lenses and how the Zero-MP4 25-scene canvas choreographer (`quant-tutorials.js`) and 27 `ⓘ` glossary popovers work. |
| **Audit Point 5**<br/>*Subpage `E4` (`mcp-chatbot-rest-and-ipld`)* | • `Section 1`: Stateless MCP (`/mcp`) & OpenAPI 3.1 REST (`/api/v1/*`)<br/>• `Section 2`: `quant/cards.py` (`900×1260` TCG stats cards) & `ipld/__init__.py` (`CIDv1`) | **1. Stale Tool Count (`15` vs `20`) & Self-Referential Tool Exclusion:** Line 311 hardcodes `"expose all 15 tools in MCP_TOOLS_SCHEMA"` instead of the live domain tools, static URN resources (`mcp/resources.py`), URI templates, and prompts (`mcp/prompts.py`).<br/>**2. Undocumented HTTP `ETag` (`304 Not Modified`) Middleware & `34x` Stats-Card Fast-Path:** Omits `compute_response_etag()` / `matches_if_none_match()` in `mcp/rest.py` and the pre-compiled `quant-timeseries.json` fast-path (`1,186 ms -> ~35 ms`) in `quant/cards.py`.<br/>**3. Undocumented 4-Ring Polyglot Sandbox (`publishing/polyglot_sandbox.py` & `hs-guile-scheme-repl.js`):** Never explains how the 4-Ring Zero-`eval()` AST sandbox (`Ring 1` Lexer Gate, `Ring 2` Step/Depth Quota, `Ring 3` Pure AST Evaluator for Guile/TS/Rust, `Ring 4` Read-Only Isolation) works. |
| **Audit Point 6**<br/>*Subpage `E5` (`cicd-vps-tmpfs-and-regression`)* | • `Section 1`: Zero-`/dev/null` scripts & `HYPERSTITION_SYNC_REEXEC`<br/>• `Section 2`: `pdf_compiler.py`, `archive_rotator.py`, & `public_regression.py` (`Gates P1–P6`) | **1. Eliminate Self-Referential Subtitle Text (`Non-Sequentially Revertible via hs-eng-docs --disable ...`):** Subtitles across `E0–E5` currently describe `hs-eng-docs --disable` (self-reference!). Replace with non-self-referential domain authority subtitles.<br/>**2. Undocumented `ProtectSystem=strict` (`EROFS`) Syscall Test Harness (`ci/erofs_harness.py`), `readme_sync.py` (`hs-readme-sync`), Git Hooks (`pre-commit` & `commit-msg`), `citation_sources.py` (`hs-citations`), & `hs-matrix-coderain.js`:** Add sections covering these core CI/CD and frontend modules without mentioning `engineering_docs.py`. |
---
## 3. Four Factual Binary Engineering Gates (`G1–G4`, Zero Self-Reference & Zero Synthetic Data)
- **`Gate G1` (Strict Anti-Self-Reference Closure):** Zero prose, code examples, subtitles, or tables on `/engineering/*` may reference `engineering_docs.py`, `hs-eng-docs`, `engineering-manifest.json`, or `/engineering/` itself as a subject of explication.
- **`Gate G2` (100% Live Introspected Domain Counts — Zero Stale Numbers):** Every domain count (`472` real exchange bars, `4,943` CMUdict entries, `24` watchlist tickers, `14` FRED series, `388` KG nodes, `1,282` edges) is interpolated dynamically from the target domain registries.
- **`Gate G3` (`0` LLM Tokens & `ProtectSystem=strict` `EROFS` / `ReadOnlyIsolationGuard` Safe):** Zero mutations to locked upstream registries (`all_unchanged: True`).
- **`Gate G4` (100% Target Domain Module Coverage):** Every target operational module in `hyperstitionstud_io.*` (excluding the observer modules `engineering_docs.py` and `math_docs.py`) is explicated.
---
## 4. Piecewise Audit Points & Candidate Strategies (`Strategies 1A–1C` through `6A–6C`)
---
### Audit Point 1: Hub `E0` (`/engineering/index.html`) — Remove Self-Reference (`introspect_engineering_manifest`, `Enabled Subpages`, `hs-eng-docs`) & Add 6-Repo Target Domain Architecture Map
- **Strategy `1A` (Purge Self-Reference from `E0` Cartridge/Tiles/Tables + Add Non-Self-Referential 6-Repository & Core Subpackage Architecture Table — Recommended Candidate):**
- Replaces `introspect_engineering_manifest()` in `ENGINEERING_GUILE_CARTRIDGES["E0"]` with `load_workspace_config()` (`hyperstitionstud_io.config`) and live domain counts (`repositories=6`, `watchlist=24`, `fred=14`, `lenses=6`), removes the self-referential `Enabled Subpages` stat tile and `hs-eng-docs`/`hs-math-docs` rows from the CLI table, removes self-referential `hs-eng-docs --disable` text from `E0–E5` subtitles, and adds a **6-Repository & Core PEP 420 Subpackage Architecture Table** describing the target operational codebase (`config`, `ciphers`, `phonetics`, `glossary`, `graph`, `quant`, `lenses`, `db`, `ipld`, `mcp`, `ci`).
- **Strategy `1B` (Purge Self-Reference & Fix Counts Only — Minimal Candidate):**
- Removes self-references and fixes stale counts in `E0` without adding the 6-repository & subpackage architecture table.
- **Strategy `1C` (Leave `E0` Unchanged — Status Quo):**
- Retains self-referential `introspect_engineering_manifest()` and stale `15` / `4` counts.
---
### Audit Point 2: Unit `E1` (`ciphers-and-phonetics`) — Dual-Runtime JS/Python Cipher Parity, `/calc/` Progressive DB Hydration & 4-Gate CI Provisioner
- **Strategy `2A` (Add Section 3 to `E1`: Browser/ESM `packages-js/ciphers-aq` Parity, Progressive `db_lite.json` + `db.json` Hydration (`231,615` Entries) & 4-Gate `ci_provision_ingglish.py` — Recommended Candidate):**
- Explains how `packages-js/ciphers-aq` and `haiperdohp-jemaytreeah/tools/generate_db_json.py` maintain 100% parity with Python `compute_aq()`, how `/calc/` progressively hydrates `db_lite.json` $\to$ `db.json`, and how `ci_provision_ingglish.py` enforces Gates `A–D`.
- **Strategy `2B` (Document `ci_provision_ingglish.py` Only — Partial Candidate):**
- Covers the 4-Gate CI script without `/calc/`'s progressive DB hydration.
- **Strategy `2C` (Leave `E1` at 2 Sections — Status Quo):**
- Leaves `/calc/` and `hyperdope-ci-build` undocumented.
---
### Audit Point 3: Unit `E2` (`knowledge-graph-and-sqlite`) — 6-Gate KG Verifier Specification & `v2.8.0` Zero-PII SQLite Telemetry Schema
- **Strategy `3A` (Expand `E2` with Explicit 6-Gate KG Verifier Breakdown + `v2.8.0` 4-Table Zero-PII SQLite Telemetry Architecture — Recommended Candidate):**
- Explicitly enumerates Gates `1–6` of `build_encyclopedia_knowledge_graph.py --verify-only` and documents both `hyperstition-catalog.db` (`8` tables including FTS5 BM25 `fts_catalog`, omitting any self-referential manifest rows) and `/var/lib/hyperstitionstud.io/api-telemetry.db` (`api_endpoint_rollups` `external_requests` vs `internal_requests`, closed-set allowlist `api_parameter_rollups`, zero-IP Caddy `static_route_rollups`, `get_longitudinal_telemetry_summary()` across `.1.gz..12.gz`, and $N_{\text{ext}} \ge 500$ `"No data available"` confidence gating).
- **Strategy `3B` (Update `sqlite_meta.py` Prose Only — Partial Candidate):**
- Mentions `api_parameter_rollups` without enumerating the 6 KG gates.
- **Strategy `3C` (Leave `E2` Unchanged — Status Quo):**
- Leaves the `v2.8.0` telemetry tables and 6 KG gates undocumented.
---
### Audit Point 4: Unit `E3` (`quant-macro-and-bayesian-brief`) — Dynamic Bar Count (`472`), `LENS_REGISTRY` Architecture & Zero-MP4 Canvas Tour Engine
- **Strategy `4A` (Replace Hardcoded `440` with Live `472` Bar Introspection + Add Section 3 Covering `LENS_REGISTRY`, 27 `ⓘ` Popovers & Zero-MP4 25-Scene `quant-tutorials.js` — Recommended Candidate):**
- Dynamically interpolates live `472` real exchange bars (`19` trading days across `23` public tickers + `ANTHR-PVT` private = `null`) and adds Section 3 covering `lenses/__init__.py` (`project_build_through_lens()`), `quant-app.js` (`QUANT_TERM_GLOSSARY` 27 `ⓘ` popovers), and `quant-tutorials.js` (5-episode × 5-scene canvas choreographer + WebAudio fallback chime).
- **Strategy `4B` (Fix `440 -> 472` Count Only — Minimal Candidate):**
- Fixes the stale bar count without documenting `lenses/__init__.py` or `quant-tutorials.js`.
- **Strategy `4C` (Leave `E3` Unchanged — Status Quo):**
- Retains the stale `440` bar count.
---
### Audit Point 5: Unit `E4` (`mcp-chatbot-rest-and-ipld`) — HTTP `ETag` (`304`), `34x` Stats-Card Fast-Path & 4-Ring Polyglot AST Sandbox (`polyglot_sandbox.py`)
- **Strategy `5A` (Document HTTP `ETag` `304`, `34x` Stats-Card Fast-Path & Add Section 3 on the 4-Ring Zero-Eval Polyglot AST Sandbox (`polyglot_sandbox.py` & `hs-guile-scheme-repl.js`) — Recommended Candidate):**
- Updates Section 1 with deterministic HTTP `ETag` (`"<dag_json_cidv1>"`) + `If-None-Match` (`304 Not Modified`) caching in `mcp/rest.py` and `mcp/server.py` (omitting self-referential `hs_inspect_engineering_and_math_docs` / `engineering-manifest` from the prose examples), updates Section 2 with the `34x` stats-card fast-path (`1,186 ms -> ~35 ms`) in `quant/cards.py`, and adds Section 3 detailing the 4-Ring Zero-`eval()` Polyglot AST Sandbox (`Ring 1` Lexer Gate, `Ring 2` `max_steps=2000` Quota, `Ring 3` Pure AST/S-Expression Evaluator, `Ring 4` `ReadOnlyIsolationGuard`).
- **Strategy `5B` (Update Section 1 & 2 Prose Only — Partial Candidate):**
- Adds `ETag` `304` and the `34x` fast-path without Section 3 on `polyglot_sandbox.py`.
- **Strategy `5C` (Leave `E4` Unchanged — Status Quo):**
- Leaves `ETag` `304` and `polyglot_sandbox.py` undocumented.
---
### Audit Point 6: Unit `E5` (`cicd-vps-tmpfs-and-regression`) — `ProtectSystem=strict` (`EROFS`) Syscall Harness, `hs-readme-sync` + Git Hooks, `hs-citations` & Group 3 Frontend Engine
- **Strategy `6A` (Add `v2.8.1` `--hooks-only` VPS Merge Fix + Section 3 on `ci/erofs_harness.py` & `ci/citation_sources.py` + Section 4 on `readme_sync.py`, `commit-msg` Gate, `highlights.py --corpus-delta` & `hs-matrix-coderain.js` — Recommended Candidate):**
- Updates Section 1 with the `v2.8.1` VPS fast-forward merge protection (`git checkout -- README.md` + `hs-readme-sync --hooks-only`), adds Section 3 covering `simulate_protect_system_strict()` (`ci/erofs_harness.py`) and `verify_draft()` (`ci/citation_sources.py`), and adds Section 4 covering `readme_sync.py` (`.git/hooks/{pre-commit,commit-msg}`), `highlights.py --corpus-delta`, and the Group 3 + `hs-matrix-coderain.js` (`matrix-font.woff2`, `12.5 fps`, `-60%` center-well vignette) frontend engine.
- **Strategy `6B` (Add `erofs_harness.py` & `readme_sync.py` Only — Partial Candidate):**
- Documents `erofs_harness.py` and `readme_sync.py` without `citation_sources.py` or `hs-matrix-coderain.js`.
- **Strategy `6C` (Leave `E5` at 2 Sections — Status Quo):**
- Leaves `erofs_harness.py`, `readme_sync.py`, `citation_sources.py`, and `hs-matrix-coderain.js` undocumented.
@@ -0,0 +1,104 @@
# PLAN: Piecewise Grimoiric Transformation of `/learn/` (`Codex of the 6 Seals, Numogrammatic Syzygy & Talismanic CIDv1 Ledger`, `Audit Points 1–5`, `Rule C` Piecewise Specification)
**Document ID:** `PLAN-PIECEWISE-GRIMOIRIC-LEARN-PAGE`
**Status:** `PENDING AUDIT PIECEWISE (0/5 AUDIT POINTS AFFIRMED — READY FOR STEPWISE REVIEW)`
**Target Ecosystem Version:** `v2.11.0`
**Target Repositories:** `hyperstitionstudio-core`, `encyclopedia-knowledge-graph`
**Author:** m00t & Hermes Agent
**Date:** 2026-11-30
---
## 1. Ground-Truth Audit: Current `/learn/` Surface (`v2.10.0`) vs. Grimoiric Potential (`Rule C.1`)
Per `Rule C` of `hyperstitionstudio-roadmap-and-release` (**Piecewise Plan Authoring & Stepwise Review Protocol**), we first audit what already exists in `/workspace/hyperstitionstudio-core/site/learn/index.html` and `site/learn/learn-app.js` today (`100%` verified) against how `/learn/` can become a true **Cybernetic & Hermetic Digital Grimoire** while remaining 100% novice-accessible, Group 3 compliant, and schema-compatible (`urn:io:hyperstitionstud:schema:v1:learn-progress-state`):
| Audit Point & `/learn/` Surface | What Exists in `/learn/` Today (`v2.10.0`) | Why It Currently Feels Like a Standard Web Course & How to Make It Grimoiric |
| :--- | :--- | :--- |
| **Audit Point 1**<br/>*Header, Sticky State Bar (`#statePortabilityBar`) & Talismanic Seal Ribbon* | • `<header>` titled `"SELF-PACED INTERACTIVE LEARNING TRACK"`<br/>• `#statePortabilityBar` shows `"0 / 6 Modules Completed (0%)"`, a plain cyan progress bar, `"Download State (.json)"`, and `"dag-json CIDv1: baguqeera..."` | • Currently reads like a generic LMS progress bar.<br/>• **Grimoiric Upgrade:** Frame `#statePortabilityBar` as the **Personal Grimoire & Talismanic Seal Ledger**, displaying a live **6-Seal Planetary/Hermetic Consecration Ribbon (`[ ☿ M01 ] [ ☉ M02 ] [ ∆ M03 ] [ ⊗ M04 ] [ ☍ M05 ] [ ♄ M06 ]`)** that illuminates in Gold/Emerald as each seal is consecrated, while framing the `RFC 8785 dag-json CIDv1` hash as the practitioner's **Cryptographic Talisman Seal (`baguqeera...`)**. |
| **Audit Point 2**<br/>*Module Framing (`M01–M06`): Dual-Register Grimoiric Folios & Sigil Seals* | • Cards labeled `Module M01 // Foundation Cipher` .. `Module M06 // Applied Decision Registers` with generic `"Mark Module Complete"` buttons and `"Personal field notes for Module M01..."` textareas | • Lacks ritual/grimoiric structure (no planetary/alchemical seal badges, no canonical Latin/CCRU epigraphs, no `"Consecrate Seal"` / `"Marginalia & Synchronicity Log"` framing).<br/>• **Grimoiric Upgrade:** Give each of the 6 modules (`M01–M06`) its **Hermetic Seal & Folio Title** alongside its clear novice-friendly math explanation (`M01: ☿ Seal I — The Base-36 Cabbala & Lexicon of Names`, `M02: ☉ Seal II — Incantation Over Orthography (The Stripping of Silent Ghost-Mass)`, `M03: ∆ Seal III — The 37×3k Attractor & Zero-Variance Singularity`, `M04: ⊗ Seal IV — Double Articulation & The Two-Gate Daemonic Pact`, `M05: ☍ Seal V — The Concentric Circle of Apex Predators & D-Periphery`, `M06: ♄ Seal VI — The Four Registers & Book of Coordinates`). |
| **Audit Point 3**<br/>*Interactive Numogrammatic Syzygy & Digital Root Readout in `M01` & `M02` Sandboxes* | • `M01` computes `computeAQ(a)` and `[PRIME]`, and `M02` computes `Gen 0 vs Gen 1` drift $\Delta$<br/>• Neither sandbox shows the **Mod-9 Digital Root (`dr_9(n)`), its CCRU `9`-Sum Twin Syzygy (`1::8, 2::7, 3::6, 4::5`), or `37×3k` Repdigit Resonance** | • A practitioner using `M01` or `M02` as a digital grimoire wants to see the **Mod-9 Digital Root (`dr_9`)**, the **CCRU 9-Sum Syzygy Twin (`4::5`, `2::7`, etc.)**, and **1-click `[ + Inscribe Coordinate to Grimoire ]`** directly inside the `M01`/`M02` readout! |
| **Audit Point 4**<br/>*Interactive Talismanic Sigil & Kamea Wheel Visualizer (`M01 / M06`)* | • `#m01Output` and `#m06Output` output plain monospace text only<br/>• No visual sigil/polygonal glyph is drawn from the user's entered word or bookmarked coordinates | • **Grimoiric Upgrade:** Add a deterministic, zero-dependency **Base-36 Planetary Wheel / 9-PointEnneagram Sigil Renderer (`<svg id="grimoireSigilSvg">`)** that traces the character-by-character path of the practitioner's input phrase (`Term A` or `Gen 1 Ingglish` incantation) around the `9` mod-9 chambers (`1..9`) or `36` Base-36 decans, with `[ Inscribe & Export SVG Sigil ]`! |
| **Audit Point 5**<br/>*Module `M06` Bookmarked Coordinate Ledger & Marginalia (`#bookmarkedCoordsList`)* | • `#bookmarkedCoordsList` renders bare pills (`AQ 137 ×`) with no lookup of what specimen/hub/syzygy that coordinate corresponds to | • Clicking or hovering a bookmarked coordinate (`AQ 292`, `AQ 137`, `AQ 666`) in a grimoire should reveal its **Canonical Correspondence & Syzygy (`AQ 292 • dr_9=4 [Syzygy 4::5] • shizohnalizis == abstrakt masheen == sinthetik dayta • [Open in /graph/ ↗]`)**! |
---
## 2. Four Factual Binary Design & Engineering Gates (`G1–G4`, Zero Synthetic Data)
- **`Gate G1` (100% Novice-Accessible Dual-Voice — Grimoiric Atmosphere Without Obscuring First-Principles Math):** Every module retains its crystal-clear novice mathematical explanation while layering authentic Hermetic/CCRU grimoiric folio titles, sigil seals (`☿, ☉, ∆, ⊗, ☍, ♄`), and marginalia framing.
- **`Gate G2` (100% Backward-Compatible `learn-progress-state.schema.json` & Test Suite Parity):** Preserves all existing DOM IDs (`#statePortabilityBar`, `#card-M01..M06`, `#chk-M01..M06`, `#note-M01..M06`, `#m01InputA`, `#m01InputB`, `#m02WordSelect`, `#m03TriadSelect`, `#m04HeadlineSelect`, `#m05BuildSelect`, `#m06RegisterSelect`, `#bookmarkedCoordsList`, `#inputBookmarkCoord`, `#filterBookmarkInput`) and `urn:io:hyperstitionstud:schema:v1:learn-progress-state` JSON structure.
- **`Gate G3` (`0` LLM Tokens & `0` External Dependencies):** All sigil geometry, mod-9 syzygy math, and correspondence lookups run 100% deterministically in client-side vanilla JS (`learn-app.js`).
- **`Gate G4` (Group 3 Stealth Basalt & DejaVu TrueType Glyph Purity):** Uses only Group 3 basalt/gold/emerald/cyan/rose tokens and DejaVu-verified Unicode symbols (`☿, ☉, ∆, ⊗, ☍, ♄, ⚚, ⚛`).
---
## 3. Piecewise Audit Points & Candidate Strategies (`Strategies 1A–1C` through `5A–5C`)
---
### Audit Point 1: Grimoiric Header, 6-Seal Consecration Ribbon & Cryptographic Talisman Bar (`#statePortabilityBar`)
- **Strategy `1A` (Transform `#statePortabilityBar` into the Interactive 6-Seal Consecration Ribbon + Cryptographic `CIDv1` Talisman Ledger — Recommended Candidate):**
- Retains all existing state import/export buttons and IDs while adding a live **6-Seal Consecration Ribbon** (`[ ☿ I: Cabbala ] [ ☉ II: Incantation ] [ ∆ III: Singularity ] [ ⊗ IV: Pact ] [ ☍ V: Circle ] [ ♄ VI: Grimoire ]`) inside `#statePortabilityBar` where clicking any seal scrolls smoothly to that folio (`#card-M01..M06`) and consecrated (completed) seals glow in Gold & Emerald.
- Updates the header and state-bar framing so the `RFC 8785 dag-json CIDv1` digest (`#stateCidBadge`) is presented as the practitioner's verifiable **Cryptographic Talisman Seal (`dag-json CIDv1: baguqeera...`)**.
- **Strategy `1B` (Update Header & Subtitle Copy Only — Minimal Candidate):**
- Changes the title text to include "Digital Grimoire" without adding the interactive 6-Seal Consecration Ribbon to `#statePortabilityBar`.
- **Strategy `1C` (Keep Current LMS-Style Progress Bar Only — Status Quo):**
- Leaves `#statePortabilityBar` unchanged.
---
### Audit Point 2: The Six Folio Cards (`#card-M01` through `#card-M06`) — Hermetic Seals, Epigraphs & Marginalia Framing
- **Strategy `2A` (Dual-Register Grimoiric Folio Headers, Hermetic Seal Badges, Epigraphs & Marginalia Prompts Across `M01–M06` — Recommended Candidate):**
- Upgrades each `.module-card` (`#card-M01`..`#card-M06`) with:
1. A carved **Group 3 Grimoiric Folio Kicker & Seal** (`Folio I • Seal of Mercury [☿] // Module M01`, `Folio II • Seal of Sol [☉] // Module M02`, `Folio III • Seal of the Triad [∆] // Module M03`, `Folio IV • Seal of Double Articulation [⊗] // Module M04`, `Folio V • Seal of the Syzygy [☍] // Module M05`, `Folio VI • Seal of Saturn [♄] // Module M06`),
2. A concise 1-line **Hermetic / Cybermemetic Axiom Banner** above the novice-friendly math explanation, and
3. Grimoiric marginalia labels on `.note-area` (`Grimoire Marginalia & Synchronicity Log for Folio I...`) while keeping all existing DOM IDs (`#chk-M01..M06`, `#note-M01..M06`) 100% intact.
- **Strategy `2B` (Replace Novice Explanations with Purely Esoteric Prose — High-Friction Candidate):**
- Removes the plain-English math explanations in favor of dense occult prose. *(Violates `Gate G1` novice accessibility for Quadrant 03).*
- **Strategy `2C` (Keep Existing Module Titles & Labels — Status Quo):**
- Leaves `M01–M06` headings unchanged.
---
### Audit Point 3: Numogrammatic Mod-9 Digital Root (`dr_9`), `9`-Sum Syzygy Twin & 1-Click Grimoire Inscription in `M01` & `M02`
- **Strategy `3A` (Enrich `#m01Output` & `#m02Output` with Mod-9 Digital Root `dr_9(n)`, CCRU `9`-Sum Syzygy Twin (`1::8, 2::7, 3::6, 4::5`), `37×3k` Attractor Detection & `[ + Inscribe AQ to Grimoire ]` Button — Recommended Candidate):**
- In `M01` (`updateM01Sandbox()`) and `M02` (`updateM02Sandbox()`), augments the live readout with:
- **Mod-9 Digital Root & Syzygy Twin:** e.g. `dr_9(81) = 9 (Repdigit Nexus 9::0)` or `dr_9(292) = 4 (CCRU Twin Syzygy 4::5 -> Demon/Zone Pair)`,
- **Prime & `37×3k` Divisibility Badges**, and
- A 1-click **`[ + Inscribe Coordinate to Grimoire Ledger ]`** button that bookmarks the computed `AQ` value directly into `memoryState.bookmarked_coordinates` (`#bookmarkedCoordsList`)!
- **Strategy `3B` (Add `dr_9(n)` Text Only Without 1-Click Inscription — Partial Candidate):**
- Prints `dr_9` in `#m01Output` without the 1-click bookmark inscription button.
- **Strategy `3C` (Leave `M01` & `M02` Readouts Unchanged — Status Quo):**
- Keeps only the basic sum and prime check.
---
### Audit Point 4: Deterministic Talismanic Sigil & 9-Chamber Enneagram Wheel (`<svg id="grimoireSigilSvg">`)
- **Strategy `4A` (Interactive Deterministic 9-Chamber Numogram / Enneagram SVG Sigil Wheel in `Module M01 / M02` with Gen 0 vs. Gen 1 Overlay & `.svg` Export — Recommended Candidate):**
- Embeds a crisp, zero-dependency Group 3 **`<svg id="grimoireSigilSvg" viewBox="0 0 280 280">`** panel beside `#m01Output` (and reactive to `M01`/`M02` inputs) that plots the **9 Mod-9 Chambers (`1..9`) around a basalt-and-gold Hermetic circle** and traces the deterministic vector path of the input word's character values (`c_1 -> c_2 -> ... -> c_k`), marking the starting glyph with a circle (`☉`), intermediate vertices with cyan nodes, and the terminal sum with a gold seal (`⚚`)—plus a **`[ Download Talisman Sigil (.svg) ]`** button!
- **Strategy `4B` (Static Decorative SVG Ornament Only — Non-Interactive Candidate):**
- Adds a static decorative SVG border that does not respond to the user's typed words.
- **Strategy `4C` (Text-Only Readouts, No Sigil Wheel — Status Quo):**
- Omits visual sigil generation.
---
### Audit Point 5: Annotated Bookmarked Coordinate Correspondences & Direct `/graph/` Ritual Links in `Module M06` (`#bookmarkedCoordsList`)
- **Strategy `5A` (Interactive Coordinate Correspondence Inspector Card `#bookmarkCorrespondenceBox` + Direct `/graph/?select=aq:<N>` Launch — Recommended Candidate):**
- Enhances `#bookmarkedCoordsList` in `Module M06` so each bookmarked coordinate pill (`AQ 292`, `AQ 137`, `AQ 666`, etc.) displays its mod-9 digital root badge, and clicking a pill inspects its **Canonical Grimoire Correspondence** in `#bookmarkCorrespondenceBox` (showing its known `Gen 1 Ingglish` equivalence lock from the corpus, its `dr_9` syzygy twin `1::8..4::5`, prime/repdigit status, and a 1-click `[ Open aq:<N> in Knowledge Graph Radar ↗ ]` link, alongside a `[ Remove × ]` action).
- **Strategy `5B` (Tooltip `title` Attribute Only on Pills — Minimal Candidate):**
- Adds a hover `title` tooltip to `.coord-pill` without an inline correspondence inspector box or `/graph/` launcher.
- **Strategy `5C` (Keep Click-to-Delete Pills Only — Status Quo):**
- Clicking a pill immediately deletes it without showing its correspondence.
---
## 4. Summary Matrix of Audit Points `1–5` for Stepwise Review
| Audit Point | Target `/learn/` Surface | Strategy `A` (Full Grimoiric Upgrade — Novice-Friendly + Group 3 Compliant) | Strategy `B` (Minimal / Partial Change) | Strategy `C` (Status Quo) |
| :--- | :--- | :--- | :--- | :--- |
| **Point 1** | **Header & `#statePortabilityBar`** | **`1A`:** 6-Seal Consecration Ribbon (`[☿ I]..[♄ VI]`) + Cryptographic `CIDv1` Talisman Seal framing | **`1B`:** Header text change only | **`1C`:** Keep current progress bar |
| **Point 2** | **Folios `M01–M06` Cards** | **`2A`:** Dual-register Grimoiric Folio titles, Hermetic seals (`☿, ☉, ∆, ⊗, ☍, ♄`), epigraphs & Marginalia prompts (preserving novice math clarity) | **`2B`:** Replace novice math with dense esoteric prose | **`2C`:** Keep current module titles |
| **Point 3** | **`M01` & `M02` Incantation Readouts** | **`3A`:** Add Mod-9 Digital Root `dr_9`, CCRU `9`-Sum Syzygy Twin (`1::8..4::5`), & `[+ Inscribe Coordinate to Grimoire]` button | **`3B`:** Add `dr_9` text only | **`3C`:** Keep current readout |
| **Point 4** | **Talismanic Sigil Generator** | **`4A`:** Interactive 9-Chamber Enneagram/Numogram `<svg id="grimoireSigilSvg">` tracing the word's vector path + `.svg` download | **`4B`:** Static decorative SVG only | **`4C`:** No SVG sigil wheel |
| **Point 5** | **`M06` Coordinate Bookmarks** | **`5A`:** Interactive `#bookmarkCorrespondenceBox` showing `Gen 1` locks, `dr_9` syzygy twin, & `[Open in /graph/ ↗]` link | **`5B`:** Hover tooltip only | **`5C`:** Click-to-delete only |
@@ -0,0 +1,99 @@
# PLAN: Piecewise `/quant/` Guided Tour Spoken Voice Narration, Explicit Per-Scene UI Element Indicators & Automatic Closeup Re-Rendering (`Audit Points 1–4`, `Rule C` Piecewise Specification)
**Document ID:** `PLAN-PIECEWISE-QUANT-VOICE-NARRATION-AND-SCENE-UI-INDICATORS`
**Status:** `PENDING AUDIT PIECEWISE (0/4 AUDIT POINTS AFFIRMED — READY FOR STEPWISE REVIEW)`
**Target Ecosystem Version:** `v2.11.0`
**Target Repositories:** `hyperstitionstudio-core`, `encyclopedia-knowledge-graph`
**Author:** m00t & Hermes Agent
**Date:** 2026-11-30
---
## 1. Ground-Truth Audit: Why `Voice: ON` Only Played Chimes & Why `Ep 04` Failed to Indicate `#lensSelect` (`Rule C.1`)
Per `Rule C` of `hyperstitionstudio-roadmap-and-release`, we audited `/workspace/hyperstitionstudio-core/site/quant/quant-tutorials.js`, `site/quant/quant-app.js`, and `src/hyperstitionstud_io/publishing/closeups_sync.py` to pinpoint the exact root causes of the issues reported by the user:
| Audit Point & Surface | Root Cause Discovered in Live Code (`v2.10.0`) | What Must Change to Fix It |
| :--- | :--- | :--- |
| **Audit Point 1**<br/>*Spoken Voice Narration (`#tutSpeechBtn` `"Voice: ON"` in `site/quant/quant-tutorials.js`)* | **1. Silent Abort When `speechSynthesis.getVoices()` Is Empty (lines 406–410):**<br/>`speakSubtitle()` calls `playWebAudioTelemetryChime(curStepIdx)` and then immediately checks:<br/>`if (typeof window.speechSynthesis === "undefined" || cachedVoices.length === 0) return;`<br/>• On Linux/Firefox/Chromium without `speech-dispatcher` voices installed (or before async `onvoiceschanged` fires), `getVoices()` returns `[]`, so `speakSubtitle()` **plays the 3-note chime and exits without speaking a single word!**<br/>**2. `cancel()` + `setTimeout(..., 60)` Loses User-Gesture Activation:**<br/>Calling `speechSynthesis.speak(u)` inside a `60ms` `setTimeout` after `cancel()` drops the browser's user-gesture token (`not-allowed`). | **1. Pre-Synthesized Offline Neural TTS Audio Clips (`site/quant/audio/ep01-s1.mp3 .. ep05-s5.mp3`) + Direct Synchronous `speechSynthesis.speak()`:**<br/>• Generate real, human-clear spoken neural TTS audio files for all 25 scenes (`text_to_speech` tool -> `site/quant/audio/ep0{1..5}-s{1..5}.mp3`) and play them via standard `<audio id="tutVoiceAudio">` when `Voice: ON` is active, falling back to synchronous `window.speechSynthesis.speak(u)` (without blocking on `cachedVoices.length === 0`) so **every browser and OS speaks the episode text aloud reliably!** |
| **Audit Point 2**<br/>*Per-Scene UI Element Indicators (`Ep 01–05`, especially `Ep 04` `#lensSelect` Dropdown)* | **1. `highlightDomTarget()` Only Knew 5 Bottom Panels (lines 454–466):**<br/>`map = { panel2: "heatmapTable", lensCard: "lensProjectionCard", docCard: "docReferencesCard", wireTape: "wireEqTape", panel4: "lagBarsContainer" }`.<br/>• It **never included `#lensSelect` (the Projection Lens dropdown list!), `#guildFilterPills`, `#tickerSelect`, `#tickerQuickFilter`, `#metricModePills`, `#timeWindowPills`, `#openTradingViewBtn`, `#exportCsvBtn`, `#macroIndicatorsPanel`, or `#dailyBriefPanel`**!<br/>• As a result, all 5 scenes of `Ep 04` (`4.1`–`4.5`) only put a faint box-shadow on `#lensProjectionCard` and **never pointed to or highlighted the `#lensSelect` Projection Lens dropdown list** in the toolbar! | **1. Explicit Floating UI Element Callout Badge (`#tutUiElementIndicator`) + Gold Pulse Ring on Every Scene's Target Control (`25/25` Scenes):**<br/>• Give every single scene (`1.1` through `5.5`) an explicit `uiTargets: [...]` array mapping to the exact DOM control(s) being taught (e.g., `Ep 04` scenes `4.1–4.5` highlight **both `#lensSelect` (Projection Lens Dropdown List) AND `#lensProjectionCard`** with a glowing Gold border + floating `▼ ACTIVE UI ELEMENT: Projection Lens Dropdown (#lensSelect)` badge and smooth scroll-into-view!). |
| **Audit Point 3**<br/>*Spoken Text Normalization for Math, Symbols & Tickers (`cleanTextForSpeech()`)* | • Raw subtitle strings contain symbols like `|Δbps_{i, t+tau}|`, `#:~:text=`, `struct_*`, `ts_*`, `==`, and `x` (`24x30`), which TTS engines read awkwardly as literal punctuation. | • Add a deterministic `cleanTextForSpeech(subtitle, uiElementLabel)` normalizer (or spoken script per scene) that announces the highlighted UI control first (*"Inspecting the Projection Lens dropdown list and Panel 3 readout: ..."*) and expands math/code symbols into natural spoken English. |
| **Audit Point 4**<br/>*Deepening `hs-closeups-sync` (`src/hyperstitionstud_io/publishing/closeups_sync.py`) for `/quant/` & All Pages* | • While `closeups_sync.py` hashes HTML IDs/classes/buttons, it currently only inspects `.html` files (not `quant-tutorials.js` or `quant-app.js` dynamic pill arrays), and the Quadrant 02 closeups (`quadrant-2-*.png`) do not visually reflect the newly added `/quant/` toolbar & tutorial controls (`#quantTutorialBar`, `#lensSelect`, `#timeWindowPills`, `#tickerQuickFilter`, `#heatmapPaginationBar`, `#wireTapeFilterInput`) when those elements are added or removed. | • Upgrade `closeups_sync.py` so `introspect_live_ui_elements()` inspects **both `.html` and companion `.js` files (`quant-app.js`, `quant-tutorials.js`, `learn-app.js`, `hs-guile-scheme-repl.js`)** AND dynamically renders the live detected UI controls directly inside the `680×260` closeup canvases whenever any control is added or removed! |
---
## 2. Four Factual Binary Engineering Gates (`G1–G4`, Zero Synthetic Data)
- **`Gate G1` (100% Real Spoken Voice Output — Not Just Chimes):** Clicking `▶ Play Guided Tour` or `🔊 Voice: ON` must produce real spoken human-intelligible voice narration of the scene's educational text (via pre-generated offline `.mp3` voice clips + synchronous Web Speech API `SpeechSynthesisUtterance` without blocking on `cachedVoices.length === 0`).
- **`Gate G2` (`25/25` Scenes Explicitly Indicate Their Target DOM UI Element(s)):** Every scene (`1.1`–`5.5`) highlights its exact DOM control(s) (including `#lensSelect` in `Ep 04`, `#guildFilterPills` in `Ep 01`, `#metricModePills` in `Ep 02`, `#openTradingViewBtn` / `#heatmapTable` in `Ep 03`, and `#exportCsvBtn` / `#lagBarsContainer` in `Ep 05`) with a high-visibility `.tut-active-ui-highlight` ring and a floating `#tutUiElementCallout` pointer banner.
- **`Gate G3` (100% Dynamic `hs-closeups-sync` Reactivity Across HTML + JS):** Adding or removing any UI element in `/quant/`, `/learn/`, `/graph/`, `/calc/`, `/engineering/`, or `/math/` (in either `.html` or `.js`) triggers `hs-closeups-sync` and updates the rendered elements inside `site/assets/closeups/*.png`.
- **`Gate G4` (`ProtectSystem=strict` `EROFS` & Offline `file://` Safe):** Works 100% offline over both HTTP and `file://`.
---
## 3. Piecewise Audit Points & Candidate Strategies (`Strategies 1A–1C` through `4A–4C`)
---
### Audit Point 1: Real Spoken Voice Narration for `/quant/` Guided Tour (`#tutSpeechBtn` & `speakSubtitle()`)
- **Strategy `1A` (Dual-Engine Spoken Voice: Pre-Generated Offline Neural TTS `.mp3` Clips for All 25 Scenes + Unblocked Synchronous Browser `speechSynthesis.speak()` Fallback — Recommended Candidate):**
- Uses the `text_to_speech` tool to generate crisp, offline-bundled spoken audio tracks (`site/quant/audio/ep01-s1.mp3` .. `ep05-s5.mp3`) for all 25 scenes and plays them through a dedicated `<audio id="tutVoicePlayer">` element when `Voice: ON` is enabled.
- Simultaneously fixes the Web Speech API fallback in `quant-tutorials.js` by:
1. Removing the fatal `if (cachedVoices.length === 0) return;` guard (calling `window.speechSynthesis.speak(u)` with the browser's default voice even when `getVoices()` is initially empty),
2. Calling `speechSynthesis.speak(u)` synchronously inside the user click handler (instead of inside `setTimeout(..., 60)`), and
3. Lowering or removing the chime so the **spoken voice** is the primary audio output controlled by `🔊 Voice: ON / 🔇 Voice: OFF`.
- **Strategy `1B` (Fix Browser `window.speechSynthesis` Guard & Synchronous Call Only — Zero `.mp3` Files Candidate):**
- Fixes `speakSubtitle()` in `quant-tutorials.js` so `window.speechSynthesis.speak(u)` is called synchronously without aborting on `cachedVoices.length === 0` and adds a spoken math/symbol normalizer, without bundling `.mp3` files.
- **Strategy `1C` (Keep WebAudio Chimes Only — Status Quo):**
- Plays only synthetic sine/triangle chimes when `getVoices()` is empty.
---
### Audit Point 2: Explicit UI Element Indication Across All 25 Scenes (Especially `Ep 04` `#lensSelect` Projection Lens Dropdown)
- **Strategy `2A` (High-Visibility Gold Callout Ring `.tut-ui-highlight` + Floating `▼ INSPECTING UI ELEMENT` Pointer Badge on Every Scene's Target Control(s), Including `#lensSelect` in `Ep 04` — Recommended Candidate):**
- Expands `highlightDomTarget()` in `site/quant/quant-tutorials.js` to support **all 18 interactive DOM controls** on `/quant/`:
- `Ep 01` (`1.1–1.5`): Highlights `#guildFilterPills` (and the specific active pill `ALL / S1 / S3 / S6`), `#tickerQuickFilter`, `#tickerSelect`, and `#periodicityAuditFooter`.
- `Ep 02` (`2.1–2.5`): Highlights `#metricModePills` (`Close Price (USD)` / `Move (BPS)` / `Spoken AQ`), `#timeWindowPills`, `#activeDateBadge`, and the specific Top/Middle/Bottom pane of `#tsCanvas`.
- `Ep 03` (`3.1–3.5`): Highlights `#heatmapTable` (`Panel 2`), `#openTradingViewBtn` & `#panel3TvBtn` (`TradingView ↗`), `#docReferencesCard`, and `#wireEqTape` + `#wireTapeFilterInput`.
- **`Ep 04` (`4.1–4.5` — Projection Lenses):** Explicitly highlights **BOTH the `#lensSelect` Projection Lens `<select>` dropdown list in the toolbar AND `#lensProjectionCard` in Panel 3**, attaches a floating Gold badge (`▼ UI ELEMENT: Projection Lens Dropdown (#lensSelect) -> Active: <Lens Name>`) directly above `#lensSelect`, and pulses `#lensSelect` so the viewer immediately sees where to change lenses!
- `Ep 05` (`5.1–5.5`): Highlights `#lagBarsContainer` (`Panel 4`), `#exportCsvBtn` & `#exportJsonBtn`, `#macroIndicatorsPanel` (`Panel 5`), and `#dailyBriefPanel` (`Panel 6`).
- **Strategy `2B` (Add `#lensSelect` Box-Shadow Only Without Floating Callout Badge — Minimal Candidate):**
- Adds `lensSelect` to `highlightDomTarget()` with a CSS `box-shadow` only, without a floating label badge or multi-control highlighting.
- **Strategy `2C` (Keep Existing 5-Panel Highlight Map — Status Quo):**
- Leaves `#lensSelect` and toolbar controls unhighlighted during the tour.
---
### Audit Point 3: Spoken Script & Educational UI-Element Callout Normalization (`speechText` Per Keyframe)
- **Strategy `3A` (Dedicated Natural-English `speechText` Per Scene Naming the Highlighted UI Control First — Recommended Candidate):**
- Adds a natural-English `speechText` field (and `cleanTextForSpeech()` normalizer) to each of the 25 scenes so the voice explicitly names the highlighted UI element and explains its educational function in clear spoken words (e.g. for `Ep 04 Scene 4.1`: *"Scene 4.1. Highlighting the Projection Lens dropdown list in the top toolbar and the Lens Projection card in Panel 3. Under the hood, the workbench stores one hundred percent lens-neutral mathematical scores. Use the Projection Lens dropdown list to switch between Neutral Math, Fund Manager, Corporate Board, TierZoo, Fantasy Sabermetrics, and Pokedex Scanner."*).
- **Strategy `3B` (Regex Strip Punctuation from Existing `subtitle` Only — Partial Candidate):**
- Strips `_*|=` characters from `kf.subtitle` without explicitly naming the highlighted UI control in the spoken narration.
- **Strategy `3C` (Pass Raw `kf.subtitle` Directly to TTS — Status Quo):**
- Passes raw code/math strings like `|Δbps_{i, t+tau}|` directly to TTS.
---
### Audit Point 4: Deepening `hs-closeups-sync` (`closeups_sync.py`) to Track JS-Rendered Controls & Visually Reflect `/quant/` UI Elements
- **Strategy `4A` (Introspect Both `.html` and `.js` UI Control Definitions in `hs-closeups-sync` & Render Live Detected Controls Inside the `680×260` Closeup Canvases — Recommended Candidate):**
- Upgrades `introspect_live_ui_elements()` in `src/hyperstitionstud_io/publishing/closeups_sync.py` so it fingerprints **both `.html` files and companion `.js` files** (`site/quant/quant-app.js`, `site/quant/quant-tutorials.js`, `site/learn/learn-app.js`, `site/assets/hs-guile-scheme-repl.js`)—detecting any added/removed toolbar controls, tutorial episodes, lens options, or filter pills.
- Updates the `Quadrant 02` (`quadrant-2-*.png`) closeup renderer in `closeups_sync.py` so that each tab closeup dynamically draws the live controls present in `site/quant/index.html` and `quant-tutorials.js` (e.g., showing the `#lensSelect` dropdown, `#tutSpeechBtn` `🔊 Voice: ON`, `#timeWindowPills` `[30D|90D|180D|ALL]`, and `#tickerQuickFilter` when present in the live DOM, and omitting them if removed) and adds a unit test in `tests/test_core_suite.py` verifying that mutating a UI element triggers `hs-closeups-sync` re-rendering!
- **Strategy `4B` (Add `.js` File Hashing to `closeups_sync.py` Only — Partial Candidate):**
- Hashes `.js` files to trigger re-renders without updating the visual control drawing inside `quadrant-2-*.png`.
- **Strategy `4C` (Leave `closeups_sync.py` HTML-Only — Status Quo):**
- Only inspects `.html` files.
---
## 4. Summary Matrix of Audit Points `1–4` for Stepwise Review
| Audit Point | Target `/quant/` & Tooling Surface | Strategy `A` (Complete Fix & Live Introspection — Recommended) | Strategy `B` (Lightweight / Partial Alternative) | Strategy `C` (Status Quo) |
| :--- | :--- | :--- | :--- | :--- |
| **Point 1** | **Spoken Voice Narration (`#tutSpeechBtn`)** | **`1A`:** Pre-generated offline neural TTS `.mp3` clips (`25` scenes) + unblocked synchronous `window.speechSynthesis.speak()` fallback | **`1B`:** Unblocked synchronous `window.speechSynthesis.speak()` fix only (`0` `.mp3` files) | **`1C`:** Chimes only when `getVoices()` is empty |
| **Point 2** | **Per-Scene UI Element Indicators (`Ep 01–05` & `Ep 04` `#lensSelect`)** | **`2A`:** Highlight all `18` DOM controls (including `#lensSelect` dropdown + `#lensProjectionCard` in `Ep 04`) with `.tut-ui-highlight` + floating `▼ UI ELEMENT` pointer badge | **`2B`:** Add `#lensSelect` box-shadow only (no floating pointer badge) | **`2C`:** Keep 5-panel highlight map |
| **Point 3** | **Spoken Educational Script (`speechText`)** | **`3A`:** Dedicated natural-English `speechText` per scene naming the highlighted UI element first + math/symbol pronunciation normalizer | **`3B`:** Regex punctuation strip on raw `subtitle` only | **`3C`:** Raw `subtitle` string |
| **Point 4** | **`hs-closeups-sync` (`closeups_sync.py`)** | **`4A`:** Introspect both `.html` + `.js` (`quant-app.js`, `quant-tutorials.js`, `learn-app.js`), dynamically draw live `/quant/` controls in `quadrant-2-*.png`, & add mutation test in `test_core_suite.py` | **`4B`:** Hash `.js` files without updating `quadrant-2-*.png` control drawing | **`4C`:** HTML-only fingerprinting |
+7
View File
@@ -0,0 +1,7 @@
# Piecewise Plans (`docs/plans/piecewise/`)
This directory holds **Tier 2 (`Fully Affirmed`), Tier 3 (`Partially Affirmed`), and Tier 4 (`Pending Audit`) Piecewise Plans** (`PLAN-*.md` and their compiled Dark-Mode ReportLab PDF companions `PLAN-*.pdf`) for offline PDF review and stepwise `Rule C` audit/execution.
- **Active Non-Piecewise Plans (`Tier 1`):** Located in `../active/`
- **Inactive / Deferred Plans & Companion Deferred Strategies:** Located in `../inactive/`
- **Completed Cold-Rotated Plans:** Located in `../../archive/completed-plans-archive.tar.gz`
+69 -15
View File
@@ -3,7 +3,7 @@
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Encyclopedia of Technocapital Singularity Zoology — Interactive Knowledge Graph (v2.8.0)</title>
<title>Encyclopedia of Technocapital Singularity Zoology — Interactive Knowledge Graph (v2.10.0)</title>
<style>
:root {
--bg-canvas: #020617;
@@ -268,7 +268,7 @@
<header>
<div class="brand">
<h1>ENCYCLOPEDIA OF TECHNOCAPITAL SINGULARITY ZOOLOGY — INTERACTIVE KNOWLEDGE GRAPH</h1>
<p>Standalone Sibling Repository (/workspace/encyclopedia-knowledge-graph) • 388 Nodes • 1,282 Deduplicated Edges • Zero Glossary Leak &bull; v2.8.0</p>
<p>Standalone Sibling Repository (/workspace/encyclopedia-knowledge-graph) • 388 Nodes • 1,282 Deduplicated Edges • Zero Glossary Leak &bull; v2.10.0</p>
</div>
<div class="toolbar">
<button class="btn active" data-mode="mode2_radar">Mode 2: ETI Radar (S+ -> D Periphery)</button>
@@ -282,8 +282,15 @@
<option value="twinp">G5 Twin-Prime Mutations</option>
<option value="g3">G3 Quantized Steps</option>
<option value="flex">13 Multi-Build Flex Pivots</option>
<option value="syzygy">CCRU 9-Sum Numogram Syzygies (1::8, 2::7, 3::6, 4::5)</option>
<option value="m7">M7_candidate_2026_11_28</option>
</select>
<select id="minDegreeFilter" class="filter-select" title="Filter nodes by minimum hub degree (Strategy 3A)">
<option value="0">Degree: All Nodes</option>
<option value="3">Min Degree &ge; 3</option>
<option value="10">Min Degree &ge; 10</option>
<option value="25">Min Degree &ge; 25 (Hubs)</option>
</select>
<button class="btn" id="resetViewBtn">Reset View</button>
<button class="btn" id="exportPngBtn">Export PNG</button>
</div>
@@ -321,10 +328,10 @@
</aside>
</div>
<footer class="hs-global-footer" style="background:#1A1D26;border-top:1px solid #323846;padding:4px 14px;text-align:center;font-size:11px;color:#9BA3B8;z-index:20;">
<span class="hs-lemur-credit">hyperstitionstud.io/graph v2.8.0 &bull; Made with <span class="hs-heart" role="img" aria-label="love" style="color:#FB7185;display:inline-block;padding:0 2px;">&#x2665;</span> by Lemurs.</span>
<span class="hs-lemur-credit">hyperstitionstud.io/graph v2.10.0 &bull; Made with <span class="hs-heart" role="img" aria-label="love" style="color:#FB7185;display:inline-block;padding:0 2px;">&#x2665;</span> by Lemurs.</span>
</footer>
<script src="graph-data.js?v=2.8.0"></script>
<script src="graph-data.js?v=2.10.0"></script>
<script>
(function() {
const DATA = (window.HyperstitionStudio && window.HyperstitionStudio.EncyclopediaGraphData) || window.ENCYCLOPEDIA_GRAPH_DATA;
@@ -459,12 +466,22 @@
}
const FLEX_SET = new Set([292, 256, 211, 193, 183, 153, 137, 136, 133, 125, 96, 95, 91, 81]);
let minDegreeThreshold = 0;
function nodeDigitalRoot9(n) {
const v = Number(n.ing_aq || n.aq_value || 0);
return v > 0 ? (1 + ((v - 1) % 9)) : 0;
}
function nodePassesFilter(n) {
if (!activeNodeTypes.has(n.node_type)) return false;
if (minDegreeThreshold > 0 && Number(n.degree || 0) < minDegreeThreshold) return false;
if (activeFlag === "iso" && !n.isometric) return false;
if (activeFlag === "twinp" && !n.twin_prime) return false;
if (activeFlag === "g3" && !n.g3_quantized_step) return false;
if (activeFlag === "flex" && !(n.is_flex_pivot || FLEX_SET.has(n.ing_aq))) return false;
if (activeFlag === "syzygy") {
const dr = nodeDigitalRoot9(n);
if (dr < 1 || dr > 8) return false;
}
if (activeFlag === "m7" && !((n.classes && n.classes.includes("M7_candidate_2026_11_28")) || n.id.includes("M7"))) return false;
if (searchQuery) {
const q = searchQuery.toLowerCase();
@@ -540,10 +557,12 @@
}
const egoSet = getNeighborhoodSet(selectedNode);
const lodActive = DATA.nodes.length > 500 && camScale < 0.85;
let visNodes = 0, visEdges = 0;
DATA.edges.forEach(e => {
if (!activeEdgeRels.has(e.relation) || e.source === e.target) return;
if (lodActive && !egoSet && e.relation === "IN_VOLUME") return;
const n1 = nodeMap[e.source];
const n2 = nodeMap[e.target];
if (!n1 || !n2 || !nodePassesFilter(n1) || !nodePassesFilter(n2)) return;
@@ -584,7 +603,14 @@
ctx.stroke();
}
if (inEgo && (n.node_type === "TaxonAssemblageBuild" || n.node_type === "AQCoordinateHub" || (selectedNode && egoSet.has(n.id)) || camScale > 1.35)) {
const showLbl = inEgo && (
n.node_type === "TaxonAssemblageBuild" ||
(!lodActive && n.node_type === "AQCoordinateHub") ||
(lodActive && Number(n.degree || 0) >= 8) ||
(selectedNode && egoSet.has(n.id)) ||
camScale > 1.35
);
if (showLbl) {
ctx.fillStyle = "#F3F5FA";
ctx.font = n.node_type === "TaxonAssemblageBuild" ? "bold 11px sans-serif" : "10px monospace";
ctx.textAlign = "center";
@@ -686,16 +712,28 @@
if (neighbors.length) {
const nl = document.getElementById("nbrList");
neighbors.slice(0, 40).forEach(item => {
const row = document.createElement("div");
row.className = "neighbor-item";
row.innerHTML = `<span style="color:${item.node.color};font-weight:600;">${item.node.label.slice(0, 26)}</span> <span style="font-family:monospace;font-size:10px;color:#9BA3B8;">${item.rel}</span>`;
row.addEventListener("click", () => {
selectNode(item.node);
centerOnNode(item.node);
function renderNeighborRows(limitCount) {
nl.innerHTML = "";
neighbors.slice(0, limitCount).forEach(item => {
const row = document.createElement("div");
row.className = "neighbor-item";
row.innerHTML = `<span style="color:${item.node.color};font-weight:600;">${item.node.label.slice(0, 26)}</span> <span style="font-family:monospace;font-size:10px;color:#9BA3B8;">${item.rel}</span>`;
row.addEventListener("click", () => {
selectNode(item.node);
centerOnNode(item.node);
});
nl.appendChild(row);
});
nl.appendChild(row);
});
if (neighbors.length > limitCount) {
const moreBtn = document.createElement("button");
moreBtn.className = "btn";
moreBtn.style.marginTop = "4px";
moreBtn.textContent = `Show All ${neighbors.length} Neighbors`;
moreBtn.addEventListener("click", () => renderNeighborRows(neighbors.length));
nl.appendChild(moreBtn);
}
}
renderNeighborRows(40);
}
draw();
}
@@ -778,12 +816,22 @@
draw();
});
const minDegEl = document.getElementById("minDegreeFilter");
if (minDegEl) {
minDegEl.addEventListener("change", e => {
minDegreeThreshold = parseInt(e.target.value, 10) || 0;
draw();
});
}
document.getElementById("resetViewBtn").addEventListener("click", () => {
selectedNode = null;
searchQuery = "";
activeFlag = "all";
minDegreeThreshold = 0;
document.getElementById("searchInput").value = "";
document.getElementById("flagFilter").value = "all";
if (minDegEl) minDegEl.value = "0";
selectNode(null);
resetCamera();
});
@@ -798,8 +846,14 @@
window.addEventListener("resize", resizeCanvas);
resizeCanvas();
// Deep-link query parameter support (?select=aq:137&mode=mode2_radar)
// Deep-link query parameter support (?select=aq:137&mode=mode2_radar&filter=syzygy)
const urlParams = new URLSearchParams(window.location.search || "");
const reqFilter = urlParams.get("filter");
if (reqFilter && ["all", "iso", "twinp", "g3", "flex", "syzygy", "m7"].includes(reqFilter)) {
activeFlag = reqFilter;
const flEl = document.getElementById("flagFilter");
if (flEl) flEl.value = reqFilter;
}
const reqMode = urlParams.get("mode");
if (reqMode && ["mode1_trophic", "mode2_radar", "mode3_bipartite"].includes(reqMode)) {
currentMode = reqMode;
@@ -705,7 +705,7 @@ def build_graph(upstream_repo: Path = UPSTREAM_REPO_DEFAULT) -> dict[str, Any]:
"$schema": "./schemas/v1/encyclopedia-graph.schema.json",
"$id": URN_SCHEMA_GRAPH,
"namespace_urn": URN_GRAPH_NS,
"version": "2.8.0",
"version": "2.10.0",
"encyclopedia_base_path": "../technocapital-singularity-zoology/encyclopedia",
"upstream_repository": str(upstream_repo),
"isolation_verified": {