Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
279f8dca48 | ||
|
|
05ea6bec12 | ||
|
|
a598c193f8 | ||
|
|
3cb816d5ef | ||
|
|
80ec4eaa51 | ||
|
|
7738a6de5e | ||
|
|
edb527a590 | ||
|
|
b136d63908 | ||
|
|
625ea8bdc3 | ||
|
|
77da9c7ae5 | ||
|
|
f507a76ca5 | ||
|
|
db936f6e97 | ||
|
|
c5e72e42d2 | ||
|
|
9cdad25b2c | ||
|
|
b2049beb38 | ||
|
|
b569f49e32 | ||
|
|
2c0c7e9241 | ||
|
|
fe4c013319 |
No files matched your search
@@ -1,11 +1,11 @@
|
|||||||
# `encyclopedia-knowledge-graph` (`v2.8.1` — `https://hyperstitionstud.io/graph/`)
|
# `encyclopedia-knowledge-graph` (`v2.17.0` — `https://hyperstitionstud.io/graph/`)
|
||||||
|
|
||||||
<!-- HS-COMMIT-STATUS:START -->
|
<!-- HS-COMMIT-STATUS:START -->
|
||||||
> **Gitea Commit & Release Telemetry (`v2.8.1` • Namespace `urn:io:hyperstitionstud`)**
|
> **Gitea Commit & Release Telemetry (`v2.17.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 → [`https://hyperstitionstud.io/graph/index.html`](https://hyperstitionstud.io/graph/index.html)
|
> - **Repository Role & Public Route:** `388`-Node / `1,282`-Edge Interactive Knowledge Graph Workbench (Modes 1-4), 6-Gate Verifier, & Architectural Plan/Release Archive → [`https://hyperstitionstud.io/graph/index.html`](https://hyperstitionstud.io/graph/index.html)
|
||||||
> - **Latest Commit Scope (`encyclopedia-knowledge-graph`):** Synchronized v2.8.1 release state across 4 tracked module/artifact surface(s)
|
> - **Latest Commit Scope (`encyclopedia-knowledge-graph`):** Synchronized v2.17.0 release state across 1 tracked module/artifact surface(s)
|
||||||
> - **Touched Files / Surfaces:** `docs/cross-repo-dependency-and-audit-flow-diagram.html`, `docs/periodic-harvest-cicd-to-vps-flow-diagram.png`, `index.html`, `scripts/build_encyclopedia_knowledge_graph.py`
|
> - **Touched Files / Surfaces:** `docs/periodic-harvest-cicd-to-vps-flow-diagram.png`
|
||||||
> - **Live Verified Ecosystem Metrics (`v2.8.1`):** `6` Repositories • `17` CLI Entrypoints • `20` MCP/REST Tools • `14` URN Resources • `63` Verified Web Routes • `388` KG Nodes / `1,282` Edges • `282` Glossary Entries • `4,943` Offline CMUdict Phonetics • `0` Synthetic Data
|
> - **Live Verified Ecosystem Metrics (`v2.17.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 -->
|
<!-- 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**.
|
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.1`)
|
## Repository Structure (`v2.17.0`)
|
||||||
|
|
||||||
| Path | Description |
|
| 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) |
|
| `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"`) |
|
| `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) |
|
| `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.1`) |
|
| `docs/VPS-AND-GIT-OPERATOR-DEPLOYMENT-GUIDE.{md,pdf}` | Two-Script Git Operator (`git.libre.audio`) & Linode/Akamai VPS deployment guide (`v2.17.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/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/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`) |
|
| `docs/archive/completed-plans-archive.tar.gz` & `docs/archive/archive-manifest.json` | Cold-rotated gzipped tar archive of completed architectural plans (`hs-archive-rotate`) |
|
||||||
@@ -69,3 +69,33 @@
|
|||||||
| **3. Node `ERR_MODULE_NOT_FOUND: Cannot find package 'ingglish'`** | The agent invoked `node --input-type=module -e 'import("ingglish")...'` from `/root` or `/workspace` instead of `/workspace/ingglish-hyperdope-gematria`. | Always pass `workdir="/workspace/ingglish-hyperdope-gematria"` (or use `python3 -c "from hyperstitionstud_io.phonetics import translate_batch..."` with `PYTHONPATH=/workspace/hyperstitionstudio-core/src`). |
|
| **3. Node `ERR_MODULE_NOT_FOUND: Cannot find package 'ingglish'`** | The agent invoked `node --input-type=module -e 'import("ingglish")...'` from `/root` or `/workspace` instead of `/workspace/ingglish-hyperdope-gematria`. | Always pass `workdir="/workspace/ingglish-hyperdope-gematria"` (or use `python3 -c "from hyperstitionstud_io.phonetics import translate_batch..."` with `PYTHONPATH=/workspace/hyperstitionstudio-core/src`). |
|
||||||
| **4. `ci_provision_ingglish.py` Gate 2 drops an 8–9 word `666/777` equation as `long-scraped`** | Lines with `nw >= 15` total tokens (including `[Ingglish: ...]`) require `>= 40%` standard `/usr/share/dict/words` hits; equations packed with out-of-dictionary acronyms (`TSMC`, `ASML`, `NVDA`, `Dario`, `Amodei`) dip below `0.40`. | Pair proper-noun anchors in `666/777` equations with standard English nouns (`proof`, `grid`, `wafer`, `silicon`, `drone`, `laser`, `loss`) so `dict_hits / nw >= 0.45`. |
|
| **4. `ci_provision_ingglish.py` Gate 2 drops an 8–9 word `666/777` equation as `long-scraped`** | Lines with `nw >= 15` total tokens (including `[Ingglish: ...]`) require `>= 40%` standard `/usr/share/dict/words` hits; equations packed with out-of-dictionary acronyms (`TSMC`, `ASML`, `NVDA`, `Dario`, `Amodei`) dip below `0.40`. | Pair proper-noun anchors in `666/777` equations with standard English nouns (`proof`, `grid`, `wafer`, `silicon`, `drone`, `laser`, `loss`) so `dict_hits / nw >= 0.45`. |
|
||||||
| **5. LLM invents or guesses an AQ sum or Ingglish spelling in prose** | Mental arithmetic by the LLM instead of copying deterministic script output. | Never allow mental AQ calculation: every `(word, ing, eng_aq, ing_aq, breakdown = 333/666/777)` printed in a dossier must be copied verbatim from `collect_news_aq.py` / `hyperstitionstud_io.ciphers.compute_aq()`, and verified afterward by `ci_provision_ingglish.py` Gate 4 (`aq_mismatches == 0`). |
|
| **5. LLM invents or guesses an AQ sum or Ingglish spelling in prose** | Mental arithmetic by the LLM instead of copying deterministic script output. | Never allow mental AQ calculation: every `(word, ing, eng_aq, ing_aq, breakdown = 333/666/777)` printed in a dossier must be copied verbatim from `collect_news_aq.py` / `hyperstitionstud_io.ciphers.compute_aq()`, and verified afterward by `ci_provision_ingglish.py` Gate 4 (`aq_mismatches == 0`). |
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## 5. Turnkey Fedora 41 Package (`ingglish-isopsephic-exegesis-2.13.0-1.fc41.noarch.rpm`) & Automated `git.libre.audio` Push Worker (`/usr/bin/ingglish-exegesis-push`)
|
||||||
|
|
||||||
|
To populate `ingglish-hyperdope-gematria`, `hyperdope-ci-build`, and `haiperdohp-jemaytreeah` with LLM-dependent daily `00:00 UTC` exegesis data from a second Fedora 41 machine that has SSH push credentials for `git.libre.audio` and an `OPENROUTER_API_KEY`:
|
||||||
|
|
||||||
|
### 5.1 Three-Command Fedora 41 Quickstart
|
||||||
|
1. **Build the `.fc41.noarch.rpm` (into `/workspace/untracked/rpm-builds/` so `0` nested compressed archives enter Git):**
|
||||||
|
```bash
|
||||||
|
/workspace/ingglish-hyperdope-gematria/packaging/build-fedora41-rpm.sh
|
||||||
|
```
|
||||||
|
2. **Install on the Target Fedora 41 Machine (`pulling all Python, Node, Git, OpenSSH, Font & ReportLab dependencies automatically`):**
|
||||||
|
```bash
|
||||||
|
sudo dnf install -y ./ingglish-isopsephic-exegesis-2.13.0-1.fc41.noarch.rpm
|
||||||
|
```
|
||||||
|
3. **Configure `OPENROUTER_API_KEY` & SSH Key in `/etc/sysconfig/ingglish-exegesis` and Enable the `00:00 UTC` Timer:**
|
||||||
|
```bash
|
||||||
|
sudo sed -i 's|^OPENROUTER_API_KEY=.*|OPENROUTER_API_KEY="sk-or-v1-..."|' /etc/sysconfig/ingglish-exegesis
|
||||||
|
sudo systemctl enable --now ingglish-exegesis.timer
|
||||||
|
# Or run an immediate one-shot harvest + OpenRouter synthesis + 4-gate CI + git.libre.audio push:
|
||||||
|
sudo /usr/bin/ingglish-exegesis-push
|
||||||
|
```
|
||||||
|
|
||||||
|
### 5.2 What `/usr/bin/ingglish-exegesis-push` (`run_exegesis_and_push_fedora41.sh`) Executes Automatically
|
||||||
|
1. **Stage 1 (Git Workspace Sync):** Clones (on first run) or `git pull --rebase --autostash` updates `hyperstitionstudio-core`, `ingglish-hyperdope-gematria`, `hyperdope-ci-build` (`feat/ingglish-aq-corpus`), and `haiperdohp-jemaytreeah` under `WORKSPACE_DIR` (`/var/lib/ingglish-exegesis/workspace` or `/workspace`), and unpacks the `1x`-compressed `ingglish-vendor.tgz` into `node_modules/`.
|
||||||
|
2. **Stage 2 (Step A — Deterministic Harvest, `0` LLM tokens):** Runs `TZ=UTC collect_news_aq.py --mode closing-bell` to harvest Wikipedia `Portal:Current_events`, BBC RSS, and AP RSS and compute dual `eng_aq`/`ing_aq` prime and isometric locks.
|
||||||
|
3. **Stage 3 (Step B — Pre-Solved `333/666/777` Combinatorics + OpenRouter API Synthesis):** Runs `synthesize_news_dossier_openrouter.py`, which deterministically solves `30` (`10×333`, `10×666`, `10×777`) non-padded Ingglish equations in pure Python (`0` mental math by LLM), calls `https://openrouter.ai/api/v1/chat/completions` (`Bearer ${OPENROUTER_API_KEY}`, default `OPENROUTER_MODEL="google/gemini-2.5-pro"`) to author Sections 1–2, splices the pre-verified equations into Sections 3–5, verifies `aq_mismatches == 0`, writes `<NN>-dossier-news-YYYY-MM-DD.md`, and updates `00-index-and-methodology.md`.
|
||||||
|
4. **Stage 4 (Step C — 4-Gate CI Provisioning & Calculator DB Rebuild, `0` LLM tokens):** Runs `ci_provision_ingglish.py --tier 2 --apply-repo --generate-docs`, `generate_db_json.py`, and `hs-readme-sync`.
|
||||||
|
5. **Stage 5 (Step D — Topological Git Commit & Push):** Commits and pushes `ingglish-hyperdope-gematria`, `hyperdope-ci-build`, and `haiperdohp-jemaytreeah` to `ssh://git@git.libre.audio:2222/seasharp`.
|
||||||
Binary file not shown.
@@ -1,67 +0,0 @@
|
|||||||
# Plan: Ecosystem-Wide Economization Evaluation & Concrete Optimization Vectors (`Vectors E1–E7`) Across CPU, LLM Tokens, Disk/Web Footprint & Operator Time (`v2.2.2`)
|
|
||||||
|
|
||||||
- **Document ID:** `PLAN-ECOSYSTEM-WIDE-ECONOMIZATION-EVALUATION-AND-VECTORS` (`v2.2.2`)
|
|
||||||
- **Roadmap Status:** **DEFERRED (Long-Term Inactive — Preserved for Future Reference)**
|
|
||||||
- **Core Conservation Constraint (What Must NEVER Be Economized Away):**
|
|
||||||
1. **Zero-Synthetic-Data Mandate:** Never trade away observational honesty (`None`/`null` -> `"No data available"`).
|
|
||||||
2. **Gematria-Pipeline Richness Invariant:** Never prune or compress live gematria, phonemic, zoological, or knowledge-graph corpora (`146` dossiers, `282` glossary entries, `190` bilingual specimens, `388` KG nodes, `1,282` edges, `4,943+` offline CMUdict mappings).
|
|
||||||
3. **Two-Script Manual Operator Deployment Invariant:** `/workspace/push-all-to-git-libre-audio.sh` and `deploy/sync-vps-repos.sh` remain the only two manual deployment steps.
|
|
||||||
- **Target Modules & Scripts:**
|
|
||||||
- `/workspace/hyperstitionstudio-core/src/hyperstitionstud_io/phonetics/{__init__.py,cmudict_fallback.json}` (`Vector E1`)
|
|
||||||
- `/workspace/hyperstitionstudio-core/deploy/sync-vps-repos.sh` (`Vector E2`)
|
|
||||||
- `/workspace/hyperstitionstudio-core/src/hyperstitionstud_io/quant/daily_brief.py` (`Vector E3`)
|
|
||||||
- `/workspace/hyperstitionstudio-core/src/hyperstitionstud_io/mcp/tools.py` (`Vector E4`)
|
|
||||||
- `/workspace/hyperstitionstudio-core/src/hyperstitionstud_io/version_sync.py` (`Vector E5`)
|
|
||||||
- `/workspace/encyclopedia-knowledge-graph/scripts/build_encyclopedia_knowledge_graph.py` (`Vector E6`)
|
|
||||||
|
|
||||||
---
|
|
||||||
|
|
||||||
## 1. Synthesis of Prior Economizations Already Achieved in Session History (`v2.0.25–v2.2.2`)
|
|
||||||
|
|
||||||
| Prior Economization Milestone | Primary Dimension Saved | Measured Impact |
|
|
||||||
| :--- | :--- | :--- |
|
|
||||||
| **1. `T_math/T_char/T_elem/T_box` PDF Sanitizer (`pdf_compiler.py`)** | LLM Token Spend | **`-11,488` BPE tokens** saved across `38` docs (`0` LLM tokens per PDF compile) |
|
|
||||||
| **2. Cold-Storage Plan Archive Rotator (`hs-archive-rotate`)** | Disk / `rglob` / Token Spend | **`76` completed `.md`/`.pdf` plan files (`4.30 MB`)** compressed into `completed-plans-archive.tar.gz` (`3.59 MB`) and excluded from stylistic PDF refreshes |
|
|
||||||
| **3. Decommissioning Non-Exegesis `localhost` Cronjobs (`29c871eb6b78` & `7effa9679803`)** | Metered LLM Cron Turns | **`-12` LLM agent cron turns/week (`-63%`)** by migrating deterministic harvests to VPS `systemd` timers (`0` LLM tokens) |
|
|
||||||
| **4. Programmatic SemVer Heuristics (`hs-sync-version --auto-bump`)** | LLM & Operator Time | **`0` LLM tokens** and **`< 80 ms`** to classify `noop / patch / minor / major` from Git & archive deltas |
|
|
||||||
| **5. Pre-Compiled `quant-timeseries.json` Fast-Path in `quant/cards.py`** | CPU Time (API & Tests) | **`34x` speedup (`1,186 ms -> ~35 ms` per card)**, saving `~3.4 s` per test suite run |
|
|
||||||
| **6. Single Introspective `ProtectSystem=strict` (`EROFS`) Harness (`ci/erofs_harness.py`)** | LLM Maintenance & Operator Time | Automatically sweeps all `MCP_TOOLS_SCHEMA` tools under simulated `EROFS` with **`0` future test-authoring tokens** |
|
|
||||||
|
|
||||||
---
|
|
||||||
|
|
||||||
## 2. Empirical Profiling of Current Bottlenecks (`v2.2.2` Baseline Telemetry)
|
|
||||||
|
|
||||||
Profiling `tests/test_core_suite.py` (`6,653.8 ms` total) and repository artifact sizes across `/workspace` reveals exactly where the remaining CPU time, disk/Git churn, and payload bytes are concentrated:
|
|
||||||
|
|
||||||
- **Test Suite CPU Breakdown:**
|
|
||||||
- Suites `1–6` combined (`test_offline_urn_namespaces` through `test_doctor_all_checks_pass`): **`85.3 ms` (`1.3%`)**
|
|
||||||
- Suite `7` (`test_ipld_quant_and_mcp_server`): **`6,568.5 ms` (`98.7%`)**, dominated by:
|
|
||||||
- `build_quant_timeseries_bundle()` (called 2x in Suite 7): **`1,147.2 ms` + `1,107.8 ms` = `2,255.0 ms`**
|
|
||||||
- `run_introspective_erofs_suite()`: **`780.2 ms`**
|
|
||||||
- `build_catalog_sqlite_db()`: **`442.0 ms`**
|
|
||||||
- `render_periodic_harvest_cicd_flow_diagram_png()`: **`295.9 ms`**
|
|
||||||
- **Root Cause of the `1,147 ms` `build_quant_timeseries_bundle()` Bottleneck:**
|
|
||||||
- Out of `~350` English strings passed to `translate_batch()` in `timeseries.py`, `332` hit `cmudict_fallback.json` in `0.2 ms`, while **18 static ticker abbreviations** (`ANTHR`, `AVGO`, `BLK`, `BTC`, `CEG`, `ETH`, `GOOGL`, `HG`, `LLY`, `LMT`, `MSFT`, `NVDA`, `ORCL`, `PLTR`, `RTX`, `SOL`, `TNX`, `TSM`) are absent from `cmudict_fallback.json` (`4,943` entries), causing `translate_batch()` to spawn a cold `node --input-type=module` subprocess (`~1,100 ms`) on every single call without memoizing the result in `_FALLBACK_CACHE`!
|
|
||||||
|
|
||||||
---
|
|
||||||
|
|
||||||
## 3. Seven Concrete Project-Wide Economization Vectors (`Vectors E1–E7`)
|
|
||||||
|
|
||||||
| Vector | Target Module / Script | Economization Mechanism | Dimension(s) Optimized | Measured Expected Savings |
|
|
||||||
| :---: | :--- | :--- | :--- | :--- |
|
|
||||||
| **`E1`** | `src/hyperstitionstud_io/phonetics/{__init__.py,cmudict_fallback.json}` | 1. Add the 18 canonical watchlist ticker symbols (and FRED unit tokens) to `cmudict_fallback.json` (`4,943 -> 4,961` entries).<br/>2. Memoize any runtime `node` translations into `_FALLBACK_CACHE` in memory so `node` is never spawned twice for the same token in a process. | **CPU Time** & **Offline Phonetic Richness** | • `build_quant_timeseries_bundle()` drops from **`1,147 ms` to `~18 ms` (`63x` faster)**.<br/>• `test_core_suite.py` saves **`~2.2 seconds` (`-34%`)** per run. |
|
|
||||||
| **`E2`** | `deploy/sync-vps-repos.sh` (Step `[4/5]`) | Replace unconditional `find ... -exec gzip -9 -k -f` and `brotli -q 11 -k -f` over every file in `${LIVE_REPOS}` with an incremental `mtime` check (`[[ ! -f "${f}.gz" \|\| "${f}" -nt "${f}.gz" ]]` and `[[ ! -f "${f}.br" \|\| "${f}" -nt "${f}.br" ]]`). | **VPS Sync CPU Time** & **Deploy Latency** | Cuts Step `[4/5]` pre-compression CPU time on incremental deploys and `00:20 UTC` / `21:30 UTC` VPS runs by **`~85–92%`**. |
|
|
||||||
| **`E3`** | `src/hyperstitionstud_io/quant/daily_brief.py` | Compute `input_observations_sha256` over `(real-market-history.json, real-macro-indicators.json, latest_dated_dossier)`. When unchanged (and `--force-advance` is not passed), preserve the current `run_number` (`Q-RUN-NNNN`) and Bayesian posterior state instead of advancing a duplicate run on code-only releases. | **Git Repo Churn**, **Bayesian State Integrity** & **Operator Diff Clarity** | Eliminates spurious `Q-RUN-NNNN` state mutations and `ingglish-hyperdope-gematria` commits on code/doc-only releases. |
|
|
||||||
| **`E4`** | `src/hyperstitionstud_io/mcp/tools.py` | Add `mtime_ns`-keyed in-memory read-only JSON registry caching (`_load_json_cached(path)`) across `glossary-registry.json`, `encyclopedia-graph.json`, `quant-timeseries.json`, `real-macro-indicators.json`, and `daily-brief-latest.json`. | **API / MCP Latency** & **Test Suite CPU Time** | • Cuts `run_introspective_erofs_suite()` from `780 ms` to **`< 90 ms`**.<br/>• Speeds up live `/api/v1/*` and `/mcp` queries by **`5x–15x`**. |
|
|
||||||
| **`E5`** | `src/hyperstitionstud_io/version_sync.py` (`--prepare-release`) | Add `--prepare-release` to `hs-sync-version` to run `hs-archive-rotate`, `--auto-bump`, and selective regeneration of derived manifests in a single zero-token Python invocation. | **Manual Operator Time** & **LLM Turn Count** | Collapses **10 separate pre-push CLI commands into 1 command** (`0` LLM tokens). |
|
|
||||||
| **`E6`** | `encyclopedia-knowledge-graph/scripts/build_encyclopedia_knowledge_graph.py` | Keep `encyclopedia-graph.json` pretty-printed (`indent=2`) for Git readability, while serializing `graph-data.js` with compact `separators=(",", ":")` (matching `engineering-manifest-data.js` and `math-manifest-data.js`). | **Web / RAM `tmpfs` Footprint** | Reduces `graph-data.js` from **`892 KB` to `~625 KB` (`-267 KB` / `-30%`)** with `0` data loss. |
|
|
||||||
| **`E7`** | `hyperstitionstudio-roadmap-and-release/SKILL.md` | Keep `SKILL.md` `< 8,000` chars (`< 2,000` BPE tokens) by storing completed/active plan ledger tables in `references/roadmap-plan-ledger.md`. | **LLM Context Window** | Saves **`~4,200` BPE tokens** on every session turn where the skill is loaded. |
|
|
||||||
|
|
||||||
---
|
|
||||||
|
|
||||||
## 4. Test-Suite Appropriateness & Verification Gates (`tests/test_core_suite.py`)
|
|
||||||
|
|
||||||
1. **Appropriate for `tests/test_core_suite.py`:**
|
|
||||||
- Assert that `cmudict_fallback.json` contains `>= 4,961` entries including all 18 canonical ticker abbreviations (`"nvda"`, `"pltr"`, `"sol"`, `"tsm"`, `"anthr"`, etc.) so `build_quant_timeseries_bundle(write_files=False)` completes in `< 150 ms` with `0` subprocess spawns.
|
|
||||||
- Assert that calling `build_daily_portfolio_brief(allow_live_network=False, write_files=False)` twice on identical underlying market/macro/dossier inputs preserves the same `run_number` (`Q-RUN-NNNN`) and `input_observations_sha256` unless `force_advance=True` is passed.
|
|
||||||
- Assert that `graph-data.js` is compactly serialized (`< 700,000` bytes) while `encyclopedia-graph.json` retains all `388` nodes and `1,282` edges.
|
|
||||||
Binary file not shown.
@@ -1,26 +0,0 @@
|
|||||||
# Plan: Alternative Single-Row Header Layout — Folding Passive Telemetry Counters into `.subtitle` (`v2.0.19`)
|
|
||||||
|
|
||||||
- **Document ID:** `PLAN-HEADER-SUBTITLE-TELEMETRY-CONSOLIDATION-ALTERNATIVE` (`v2.0.19`)
|
|
||||||
- **Roadmap Status:** **LONG-TERM INACTIVE PLAN (Deferred Alternative)** — Preserved in the inactive backlog in case a future layout revision wishes to fold the three passive telemetry counter badges on `site/index.html` into `.subtitle` so the right-hand `.meta-badges` container holds exclusively interactive route buttons. Not active unless explicitly requested by the user.
|
|
||||||
- **Target File (When Activated):** `/workspace/hyperstitionstudio-core/site/index.html`
|
|
||||||
|
|
||||||
---
|
|
||||||
|
|
||||||
## 1. Motivation & Horizontal Budget Analysis
|
|
||||||
|
|
||||||
In `/workspace/hyperstitionstudio-core/site/index.html`, the `<header>` container has `max-width: 1260px` and `padding: 1.4rem 1.6rem` (`25.6px` per side), providing `1208.8px` of usable inner horizontal width:
|
|
||||||
|
|
||||||
- Currently (under implemented `Option 3` of `PLAN-STATIC-DONATE-SUBPAGE`), `.meta-badges` keeps the three passive `.badge` counters (`388 Graph Nodes`, `1,282 Typed Edges`, `24 Quant Tickers`) alongside the interactive route buttons (`Start Learning Track (/learn/)`, `Quant Time-Series (/quant/)`) and the terminal right-justified `( ♥ DONATE )` stadium pill (`.btn-donate-pill`), using `margin-left: auto; justify-content: flex-end;` so the cluster remains right-justified even when wrapping onto a second flex line.
|
|
||||||
- If a strictly non-wrapping single-row `<header>` at `1260px` desktop width is desired in the future without abbreviating button labels:
|
|
||||||
1. Move the three static counts (`388 Nodes • 1,282 Edges • 24 Tickers`) inline into the existing `.subtitle` paragraph under `<h1>` (`~710px` total left block width).
|
|
||||||
2. Reserve `.meta-badges` (`margin-left: auto; display: flex; align-items: center; gap: 0.55rem; flex-shrink: 0`) strictly for interactive navigation routes:
|
|
||||||
`[ Start Learning Track (/learn/) ] [ Quant Time-Series (/quant/) ] | ( ♥ DONATE )` (`~430px` total right block width).
|
|
||||||
3. Combined width: `710px + 16px gap + 430px = 1156px <= 1208.8px` (`~52px` of spare horizontal margin on a single unbroken row).
|
|
||||||
|
|
||||||
---
|
|
||||||
|
|
||||||
## 2. Implementation Specification (When Activated)
|
|
||||||
|
|
||||||
1. In `/workspace/hyperstitionstudio-core/site/index.html`, update `.subtitle` to include `388 Graph Nodes • 1,282 Typed Edges • 24 Quant Tickers` and remove the three `<span class="badge">...</span>` elements from `.meta-badges`.
|
|
||||||
2. Add `flex-wrap: nowrap` on desktop (`@media (min-width: 1180px)`) to `<header>` while retaining `flex-wrap: wrap` and `margin-left: auto; justify-content: flex-end` on `.meta-badges` below `1180px`.
|
|
||||||
3. Verify `version_sync --check` and `tests/test_core_suite.py` pass with zero regressions.
|
|
||||||
Binary file not shown.
@@ -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) |
|
|
||||||
Binary file not shown.
@@ -1,28 +0,0 @@
|
|||||||
# PLAN: Deferred / Unaffirmed Candidate Market-Research Strategies (`Strategies 1C, 3C, 4A, 5C`) Extracted from `PLAN-PIECEWISE-MARKET-RESEARCH-ICP-MVP-AND-COMPETITIVE-STRATEGY`
|
|
||||||
|
|
||||||
**Document ID:** `PLAN-PIECEWISE-MARKET-RESEARCH-DEFERRED-CANDIDATE-STRATEGIES`
|
|
||||||
**Status:** `DEFERRED (Long-Term Inactive Piecewise Plan — Preserved for Future Reference)`
|
|
||||||
**Parent Active Plan:** `PLAN-PIECEWISE-MARKET-RESEARCH-ICP-MVP-AND-COMPETITIVE-STRATEGY`
|
|
||||||
**Target Ecosystem Version:** `v2.8.0+`
|
|
||||||
**Target Repositories:** `hyperstitionstudio-core`, `encyclopedia-knowledge-graph`
|
|
||||||
**Author:** m00t & Hermes Agent
|
|
||||||
**Date:** 2026-11-30
|
|
||||||
|
|
||||||
---
|
|
||||||
|
|
||||||
## 1. Executive Summary & Extraction Rationale
|
|
||||||
|
|
||||||
During the stepwise Ground-Truth Audit review (`Audit Points 1–5`) of `PLAN-PIECEWISE-MARKET-RESEARCH-ICP-MVP-AND-COMPETITIVE-STRATEGY`, nine strategies were affirmed for active implementation/retention (`Strategies 1A, 1B, 2A, 2B, 2C, 3A, 3B, 4B, 4C, 5A, 5B`), while **four candidate strategies (`Strategies 1C, 3C, 4A, 5C`)** were left unaffirmed.
|
|
||||||
|
|
||||||
Per `Rule C.4` of `hyperstitionstudio-roadmap-and-release` (**Active vs. Inactive Partitioning of Piecewise Plans**), this companion long-term inactive plan preserves those four unaffirmed candidate strategies outside the active build queue so `PLAN-PIECEWISE-MARKET-RESEARCH-ICP-MVP-AND-COMPETITIVE-STRATEGY` contains **exclusively affirmed, ready-to-execute deliverables**.
|
|
||||||
|
|
||||||
---
|
|
||||||
|
|
||||||
## 2. Preserved Unaffirmed Candidate Strategies (`Strategies 1C, 3C, 4A, 5C`)
|
|
||||||
|
|
||||||
| Audit Point | Deferred Strategy ID & Name | Mechanism & Target Modules | Why Deferred / Condition for Future Re-Activation |
|
|
||||||
| :--- | :--- | :--- | :--- |
|
|
||||||
| **Audit Point 1**<br/>*(Internal Technical & Corpus Inventory)* | **`Strategy 1C` — Schema-Driven Polyglot SDK Distribution (`hs-sdk-build` & `/sdk/`)** | Introspects `MCP_TOOLS_SCHEMA` (`20` tools), `STATIC_RESOURCES` (`14` URN resources), `RESOURCE_TEMPLATES` (`6`), and `/schemas/v1/*.schema.json` via `src/hyperstitionstud_io/sdk/generator.py` (`0` LLM tokens) to emit zero-dependency client libraries (`HyperstitionClient` + `LocalAlgebra`) for Python, TypeScript/ESM, Rust, and GNU Guile Scheme *(tracked in detail in `PLAN-HYPERSTITIONSTUDIO-POLYGLOT-SDK-AND-CLIENT-LIBRARIES.{md,pdf}`)*. | **Condition to Activate:** Wait until `Strategy 2A` (`get_api_telemetry_summary()`) and `Strategy 2C` (`--telemetry-history`) record `external_production_requests >= 500` on `/api/v1/*` and `/mcp` so external API demand is empirically proven before maintaining 4 generated client SDKs. |
|
|
||||||
| **Audit Point 3**<br/>*(Static HTML, PDF & PNG Route Traffic)* | **`Strategy 3C` — Pure Zero-Telemetry Stance for Static Pages** | Leaves all static HTML, PDF, and PNG routes (`69` routes) completely uncounted on the server, relying solely on `/api/v1/*` and `/mcp` tool calls (`Strategies 2A–2C`). | **Superseded by Affirmed `Strategies 3A & 3B`:** Preserved only as a fallback option if the operator ever wishes to disable `Strategy 3A` (`--ingest-caddy-route-counts`) and `Strategy 3B` (`GET /api/v1/status?surface=<slug>`). |
|
|
||||||
| **Audit Point 4**<br/>*(Patronage Conversion on `/donate/`)* | **`Strategy 4A` — Watch-Only Public BTC Mempool/Block-Explorer Balance Check (`bc1q...`) + Manual Operator XMR View-Key Ledger (`site/donate/reactor-fuel-status.json`)** | Queries a keyless public Bitcoin block explorer for confirmed UTXO balances on `bc1qcgkpl0j2ayxd68haeutfvarjgla2lmz30yd23e` and merges an optional operator-maintained Monero (`XMR`) view-key balance from `/etc/hyperstitionstud.io/exegesis-budget.env` into `site/donate/reactor-fuel-status.json` (`null` / `"No data available"` when offline) *(tracked in detail in `PLAN-MIGRATE-FINAL-EXEGESIS-CRONJOB-WITH-DUAL-MODE-AND-CRYPTO-FUNDING.{md,pdf}`)*. | **Condition to Activate:** Deferred alongside `PLAN-MIGRATE-FINAL-EXEGESIS-CRONJOB-WITH-DUAL-MODE-AND-CRYPTO-FUNDING`; affirmed `Strategy 4B` (`donate_from` & `donate_copy=BTC\|XMR` in `api_parameter_rollups`) and `Strategy 4C` (`stakeholder-proposal-authoring` + `Strategy 3A` PDF route counters) cover `/donate/` attribution with `0` external network calls. |
|
|
||||||
| **Audit Point 5**<br/>*(External User Feedback & PMF Qualification)* | **`Strategy 5C` — Opt-In 1-Question Static Feedback Link (`?template=feedback.md` / `mailto`) in Global Footer** | Appends a direct feedback link (`https://git.libre.audio/seasharp/hyperstitionstudio-core/issues/new?template=feedback.md`) to the global `<footer>` across `/`, `/learn/`, `/quant/`, `/donate/`, `/engineering/*`, and `/math/*`. | **Superseded by Affirmed `Strategies 5A & 5B`:** Omitted to keep the global footer clean (`⚚ · ☿ · ☍ · ☉ · ♄ • Made with ♥ by Lemurs` + `☿ RAIN: SUBTLE` toggle) while `Strategy 5A` (Gitea issues/stars/PRs) and `Strategy 5B` (`export_action` revealed-preference counters) capture user signal with zero footer clutter. |
|
|
||||||
Binary file not shown.
+35
-1
@@ -7,7 +7,10 @@
|
|||||||
> - **Production VPS & Git Operator Deployment Guide:** `../VPS-AND-GIT-OPERATOR-DEPLOYMENT-GUIDE.pdf` (and `.md`)
|
> - **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`)
|
> - **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`)
|
> - **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,34 @@
|
|||||||
| `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-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-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-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`. |
|
||||||
|
| `PLAN-SINGLE-LAYER-COMPRESSION-ENFORCEMENT-AND-MULTI-COMPRESSED-FILE-REMEDIATION.{md,pdf}` | Specification for the Single-Layer (`1x`) Compression Invariant across all 6 repositories and `hyperstitionstud.io` (`audit_and_fix_multi_compressed_files()` in `archive_rotator.py`, unwrapping `2x`-compressed `ingglish-isopsephic-exegesis-0.1.0-bundle.tar.{gz,xz}` wrappers around `ingglish-vendor.tgz`, `.md`-only `1x` plan tarballs, `nocompress` wrapper around `sqlite_meta.py --compress-archive`, and `@compressible` matcher in `deploy/Caddyfile`); now implemented and verified in `tests/test_core_suite.py`. |
|
||||||
|
| `PLAN-SERVER-SIDE-COMPRESSED-PLAN-SIZE-CAP-AND-GIT-CITATION-ROTATION.{md,pdf}` | Specification for `.md`-only compressed plan tarballs (`-94.9%` size drop: `5.11 MB -> ~258 KB`), configurable `--max-bundle-kb 256` (`262,144` bytes) size cap, pre-eviction Git history verification, FIFO rotation into `long_term_git_storage_citations` (`https://git.libre.audio/seasharp/...` hyperlinks in `archive-manifest.json` with transparent `git show` fallback in `--extract` and `hs_inspect_manuals_and_docs`), and excluding cold `*.tar.gz` bundles from VPS `tmpfs` RAM (`${LIVE_REPOS}`); now implemented and verified in `tests/test_core_suite.py`. |
|
||||||
|
| `PLAN-INACTIVE-PLANS-COLD-ARCHIVE-AND-COMPRESSION.{md,pdf}` | Specification for selective cold-archival of inactive plans marked for archival (`hs-archive-rotate --archive-inactive` & `--extract-inactive`) into `docs/plans/inactive/inactive-plans-archive.tar.gz` + `inactive-archive-manifest.json` (`mtime=0`, `gzip -9`, SHA-256, `manifest_dag_json_cid`, Gematria-Pipeline Immunity, and in-memory MCP `hs_inspect_manuals_and_docs` indexing); now implemented and verified in `tests/test_core_suite.py`. |
|
||||||
|
| `PLAN-PIECEWISE-CODEBASE-MODULARITY-DEDUPLICATION-AND-RESOURCE-ECONOMIZATION.{md,pdf}` | Specification for the 7-point Modularity, Deduplication, Architectural Security & Resource Economization refactoring (`Affirmed Strategies 1A, 2B, 3A, 4A, 5A, 6A, 7A`): unified AQ ciphers in `ciphers` + `@lru_cache` `load_pillow_font()` and shared Group 3 chamfered plate primitives in `publishing/fonts.py`, shared `render_polyglot_cartridge_html()` and `_render_prereq_box_html()`, `(path, st_mtime_ns, st_size)`-keyed `load_json_cached()` and stat-memoized `sha256_file()`, `src/hyperstitionstud_io/security.py` (`safe_urlopen()` & `PEP 706` `safe_tar_members()`), per-inode telemetry schema-init memoization in `db/sqlite_meta.py`, incremental parallel `xargs -P` `.gz`/`.br` pre-compression in `deploy/sync-vps-repos.sh`, and shared `_pack_verify_and_write_archive_manifest()` + per-repo Git citation memoization in `publishing/archive_rotator.py`; now implemented and verified in `tests/test_core_suite.py`. |
|
||||||
|
| `PLAN-PIECEWISE-QUANT-VOICE-NARRATION-AND-SCENE-UI-INDICATORS.{md,pdf}` | Specification for `/quant/` guided tour spoken voice narration (`Strategy 1B` synchronous unblocked `window.speechSynthesis.speak()` + `Strategy 3A` natural-English `speechText` per scene naming the target UI element first), explicit per-scene UI element indicators (`Strategy 2A` highlighting all `23` interactive DOM controls including `#lensSelect` + `#lensProjectionCard` in `Ep 04` with `.tut-ui-highlight` and floating `#tutUiElementIndicator` pointer badge), and `.html` + `.js` UI element introspection in `hs-closeups-sync` (`Strategy 4A`); now implemented and verified in `tests/test_core_suite.py`. |
|
||||||
|
| `PLAN-PIECEWISE-QUANT-ZERO-GIT-VOICE-SYNTHESIS-OPTIONS.{md,pdf}` | Specification for Zero-Git-Audio spoken voice narration on `/quant/` (`Affirmed Strategies 1A, 2A, 3A`): `.gitignore`d deploy-time `.wav` generation (`src/hyperstitionstud_io/publishing/quant_voice.py`, `hs-quant-voice-build` wired into `deploy/sync-vps-repos.sh` via `espeak-ng` or pure-Python Klatt formant WAV synthesis so `0` audio files enter Git), guarded `window.speechSynthesis.cancel()` (`speaking \|\| pending`), GC-pinned `rootObj.__hsActiveUtterance`, `250ms` `onstart` hardware watchdog auto-switching to `/quant/audio/ep0X-sY.wav` (and in-browser WebAudio formant fallback on `file://`), and active voice engine indicator in `#tutSpeechBtn` / `#tutStepBadge`; now implemented and verified in `tests/test_core_suite.py`. |
|
||||||
|
| `PLAN-FEDORA41-EXEGESIS-CRONJOB-PACKAGE-AND-GIT-PUSH-WORKER.{md,pdf}` | Specification for the turnkey Fedora 41 RPM (`ingglish-isopsephic-exegesis-2.13.0-1.fc41.noarch.rpm`, `packaging/build-fedora41-rpm.sh`) and automated `git.libre.audio` push worker (`/usr/bin/ingglish-exegesis-push` / `run_exegesis_and_push_fedora41.sh` + `synthesize_news_dossier_openrouter.py` pre-solved `333/666/777` equation engine & OpenRouter `OPENROUTER_API_KEY` client + `/etc/sysconfig/ingglish-exegesis` + updated `OPERATORS-MANUAL-LLM-TOKEN-DEPENDENT-DATA-PIPELINES.{md,pdf}`); now implemented and verified in `tests/test_core_suite.py`. |
|
||||||
|
| `PLAN-PRE-COMMIT-PREPARATION-OF-PUSH-AND-VPS-SYNC-SCRIPTS.{md,pdf}` | Specification for automatic pre-commit preparation and 8-gate drift-blocking verification (`Gates D1–D8` in `src/hyperstitionstud_io/ci/deploy_scripts_sync.py`, `hs-deploy-scripts-sync` CLI) of `/workspace/push-all-to-git-libre-audio.sh` (and its tracked mirror `hyperstitionstudio-core/deploy/push-all-to-git-libre-audio.sh`) and `/workspace/hyperstitionstudio-core/deploy/sync-vps-repos.sh`, wired directly into `.git/hooks/pre-commit`, `version_sync.py`, and `tests/test_core_suite.py`; now implemented and verified. |
|
||||||
|
| `PLAN-CALC-PAGE-HOMEPAGE-UI-PARITY-AND-UPSTREAM-CI-PATCH-INTEGRATION.{md,pdf}` | Specification for updating `/calc/` (`haiperdohp-jemaytreeah`) to match the homepage Group 3 UI (`#hsCalcHeader` navigation bar + `♥ DONATE` stadium pill, `.hs-plate-g3` chamfered basalt panels, `/assets/hs-group3-basalt-chamfer.css`, and `hs-matrix-coderain.js`), replacing all `"Cypher Calculator"` / `"CypherCalculator"` branding with `"haiperdohpjematreeah"`, and extending `hyperdope-ci-build` (`integrate-upstream-and-ui.sh` + `patches/0001-feat-calc-ingglish-priority-toggle.patch` & `0002-feat-ui-group3-homepage-parity-and-haiperdohpjematreeah-branding.patch`) for clean upstream `malonehunter/hyperdope-gematria` integration; now implemented and verified. |
|
||||||
|
| `PLAN-PIECEWISE-QUANT-VOICE-QUALITY-AND-FAST-DEPLOY-SYNTHESIS.{md,pdf}` | Specification for high-naturalness Zero-Git-Audio voice synthesis on `/quant/` with `< 1.5s` cold / `0ms` warm deployment impact (`Affirmed Strategies 1A, 2A, 3A`): per-clip `text_sha256` caching, parallel 8-worker `flite -voice kal16` diphone synthesis (`1.22s` cold) + non-blocking background `flite -voice slt` statistical voice upgrade (`--upgrade-slt-background`), domain ticker/acronym pronunciation lexicon (`normalize_speech_prosody()`), pure-Python `5.4 kHz` broadcast warmth de-esser & `-1.5 dBFS` mastering (`master_wav_broadcast_warmth()`), and client WebAudio `BiquadFilterNode` vocal warmth EQ + `-50%` chime ducking; now implemented and verified. |
|
||||||
|
| `PLAN-HOMEPAGE-QUADRANT-CLOSEUPS-TEXT-BOUNDING-BOX-FIT-AND-AUDIT.{md,pdf}` | Specification for eliminating all `21` bounding-box breaches / border crossings, `8` horizontal sibling-text collisions, `14` hardcoded `[:N]` mid-word slice truncations, and `1` non-DejaVu emoji (`🔊`) across the 11 `680×260` homepage UI quadrant closeups in `src/hyperstitionstud_io/publishing/closeups_sync.py` (`site/assets/closeups/*.png` & `/workspace/untracked/homepage-layout-mockups/closeups/*.png`), with built-in `verify_closeup_geometry()` (`Invariants B1–B3`) enforced in `tests/test_core_suite.py`; now implemented and verified. |
|
||||||
|
| `PLAN-UNIFIED-CROSS-PAGE-NAVIGATION-BAR-LAYOUT-STYLE-AND-POSITION.{md,pdf}` | Specification for treating `site/index.html` (`/`) as the immutable reference standard (`0` changes to homepage navigation UI) and updating all non-homepage surfaces (`/calc/`, `/quant/`, `/graph/`, `/learn/`, `/engineering/*`, `/math/*`, `/donate/`, and `/gallery/`) + `site/assets/hs-group3-basalt-chamfer.css` to match the homepage's exact `<header>` layout, style, typography (`0.98rem` `h1` + `.dot` + `0.71rem` `.subtitle`), `.btn` geometry (`0.34rem 0.62rem`, `0.70rem`), semantic border colors, and canonical link sequence (`Portal Home (/) \| Calculator \| Quant \| Graph \| Learn \| Engineering \| Math \| [sep] \| ♥ DONATE`), moving unit tabs/toolbars on `/engineering/*`, `/math/*`, and `/graph/` into a dedicated secondary `.hs-subnav-bar` strip; now implemented and verified. |
|
||||||
|
| `PLAN-CROSS-PAGE-STYLE-FONT-BACKGROUND-AND-NAVIGATION-PARITY-WITH-REGRESSION-TESTS.{md,pdf}` | Specification for eliminating spurious `rgb(30, 41, 59)` (`#1e293b`) backgrounds on `/graph/` text containers (`.kv-box`, `.badge`, `.coord-pill`, `.neighbor-item`) and subpage `.top-nav.hs-global-nav .btn` / `.hs-nav-btn` buttons, enforcing `--font-mono` (`DejaVu Sans Mono`) across `body, button, input, select, textarea, code, pre` and `<canvas>` `ctx.font` (`0` `sans-serif` on subpages), aligning `header h1` color (`var(--text-main)`) across `/engineering/*` & `/math/*`, and enforcing automated Intra-Page & Cross-Page Style Regression Gates `S1–S3` (`verify_ui_style_and_navigation_consistency()`) in `public_regression.py` (`Gate P6`) and `tests/test_core_suite.py`; now implemented and verified. |
|
||||||
|
| `PLAN-PIECEWISE-MOBILE-DEVICE-DETECTION-AND-ADAPTIVE-MOBILE-UI.{md,pdf}` | Specification for adaptive mobile device detection and Group 3 mobile UI (`Affirmed Strategies 1A, 2A, 3A, 4A`): multi-signal client detector `site/assets/hs-mobile-ui.js` (`navigator.userAgentData.mobile` + UA regex + coarse-pointer/viewport media + `?mobile=1\|0` override + footer `[📱 Mobile UI \| 🖥 Desktop UI]` switcher) + Caddy `@mobile_ua` hint (`deploy/Caddyfile`), compact Mobile App Bar with `[ ☰ Menu ]` slide-down 2-col touch grid + horizontally swipeable single-row quick-pill rail under `html[data-device-ui="mobile"]` (`0` desktop UI changes), uncrushed `100vw` `/graph/` mobile canvas with `[ ⚙ Ontology & Filters ]` & auto-opening Bottom-Sheet `[ ⓘ Node Inspector ]` drawers + `touchstart`/`touchmove`/`touchend` 1-finger pan, 2-finger pinch-to-zoom & tap-to-select, and `/quant/` `#tsCanvas` touch crosshair scrubbing + bottom-sheet `#quantInfoPopover` + 2-row `/calc/` mobile input deck (`Gate S4`); now implemented and verified. |
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## Long-Term Source-Control (`git.libre.audio`) Citation Rotation (`--max-bundle-kb 256`)
|
||||||
|
|
||||||
|
Per `PLAN-SERVER-SIDE-COMPRESSED-PLAN-SIZE-CAP-AND-GIT-CITATION-ROTATION`, `completed-plans-archive.tar.gz` stores `.md`-only members (`1x` compressed) capped at `262,144` bytes (`256 KB`). When the hot bundle exceeds `256 KB`, the oldest historical `.md` members (after verifying reachability and SHA-256 parity in `.git` history) are rotated into `long_term_git_storage_citations` inside `archive-manifest.json` with clickable `https://git.libre.audio/seasharp/encyclopedia-knowledge-graph/src/commit/<commit_sha>/...` hyperlinks and zero-network local recovery via `hs-archive-rotate --extract <member_name>`:
|
||||||
|
|
||||||
|
| Long-Term Git-Rotated Plan (`.md`) | SHA-256 Prefix | Source-Control Hyperlink Citation (`git.libre.audio`) |
|
||||||
|
| :--- | :--- | :--- |
|
||||||
|
| `plan-interactive-knowledge-graph-encyclopedia.md` | `e83b7fe0b3db` | [git.libre.audio @ 9e282db](https://git.libre.audio/seasharp/encyclopedia-knowledge-graph/src/commit/9e282db059ab91638c7f34aedd7eebdfe2d9ef54/docs/archive/plan-interactive-knowledge-graph-encyclopedia.md) |
|
||||||
|
| `DEPENDENCIES-AND-FIRST-PUSH-GUIDE.md` | `fc96e2f2b376` | [git.libre.audio @ 9e282db](https://git.libre.audio/seasharp/encyclopedia-knowledge-graph/src/commit/9e282db059ab91638c7f34aedd7eebdfe2d9ef54/docs/archive/DEPENDENCIES-AND-FIRST-PUSH-GUIDE.md) |
|
||||||
|
| `MODULARITY-AUDIT-THREE-REPOSITORIES.md` | `762604bb6436` | [git.libre.audio @ 9e282db](https://git.libre.audio/seasharp/encyclopedia-knowledge-graph/src/commit/9e282db059ab91638c7f34aedd7eebdfe2d9ef54/docs/archive/MODULARITY-AUDIT-THREE-REPOSITORIES.md) |
|
||||||
|
| `PLAN-GIT-OPERATOR-PUBLIC-HTTP-RELEASE-AND-ONBOARDING.md` | `65817d69f13c` | [git.libre.audio @ 9e282db](https://git.libre.audio/seasharp/encyclopedia-knowledge-graph/src/commit/9e282db059ab91638c7f34aedd7eebdfe2d9ef54/docs/archive/PLAN-GIT-OPERATOR-PUBLIC-HTTP-RELEASE-AND-ONBOARDING.md) |
|
||||||
|
| `PLAN-GIT-LIBRE-AUDIO-REPO-SYNC-FOR-VPS-INSTALL-DIRS.md` | `edcb569f8959` | [git.libre.audio @ 9e282db](https://git.libre.audio/seasharp/encyclopedia-knowledge-graph/src/commit/9e282db059ab91638c7f34aedd7eebdfe2d9ef54/docs/archive/PLAN-GIT-LIBRE-AUDIO-REPO-SYNC-FOR-VPS-INSTALL-DIRS.md) |
|
||||||
+806
-344
File diff suppressed because it is too large.
Load diff
Binary file not shown.
@@ -120,7 +120,7 @@
|
|||||||
<div class="pulse-dot"></div>
|
<div class="pulse-dot"></div>
|
||||||
<h1>Cross-Repository Dependency Graph & Auditable Build → Test → Stage_Commit Pipeline</h1>
|
<h1>Cross-Repository Dependency Graph & Auditable Build → Test → Stage_Commit Pipeline</h1>
|
||||||
</div>
|
</div>
|
||||||
<p class="subtitle">Sibling Repositories under /workspace: ingglish-hyperdope-gematria • technocapital-singularity-zoology (v2.8.1) • encyclopedia-knowledge-graph (v2.8.1)</p>
|
<p class="subtitle">Sibling Repositories under /workspace: ingglish-hyperdope-gematria • technocapital-singularity-zoology (v2.17.0) • encyclopedia-knowledge-graph (v2.17.0)</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!-- Main SVG Diagram -->
|
<!-- Main SVG Diagram -->
|
||||||
|
|||||||
Binary file not shown.
|
Before Width: | Height: | Size: 285 KiB After Width: | Height: | Size: 285 KiB |
@@ -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`
|
||||||
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
+114
@@ -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:** `INACTIVE / DEFERRED (MIGRATED TO docs/plans/inactive/ — 0/6 AUDIT POINTS AFFIRMED)`
|
||||||
|
**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.
|
||||||
BIN
Binary file not shown.
@@ -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:** `INACTIVE / DEFERRED (MIGRATED TO docs/plans/inactive/ — 0/6 AUDIT POINTS AFFIRMED)`
|
||||||
|
**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.
|
||||||
Binary file not shown.
@@ -0,0 +1,33 @@
|
|||||||
|
# PLAN: Retained & Deferred Candidate Strategies From `PLAN-PIECEWISE-QUANT-VOICE-NARRATION-AND-SCENE-UI-INDICATORS` (`Retained Strategy 1A` & `Deferred Strategies 1C, 2B, 2C, 3B, 3C, 4B, 4C`)
|
||||||
|
|
||||||
|
**Document ID:** `PLAN-PIECEWISE-QUANT-VOICE-NARRATION-DEFERRED-STRATEGIES`
|
||||||
|
**Status:** `INACTIVE / RETAINED FOR FUTURE RE-EVALUATION`
|
||||||
|
**Parent Plan:** `PLAN-PIECEWISE-QUANT-VOICE-NARRATION-AND-SCENE-UI-INDICATORS`
|
||||||
|
**Target Ecosystem Version:** `Future Release (Post-v2.12.0)`
|
||||||
|
**Target Repositories:** `hyperstitionstudio-core`, `encyclopedia-knowledge-graph`
|
||||||
|
**Author:** m00t & Hermes Agent
|
||||||
|
**Date:** 2026-12-01
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## 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 **Retained Strategy `1A`** and all **deferred** candidate strategies (`1C, 2B, 2C, 3B, 3C, 4B, 4C`) from the stepwise review of `PLAN-PIECEWISE-QUANT-VOICE-NARRATION-AND-SCENE-UI-INDICATORS` (`Affirmed Strategies: 1B, 2A, 3A, 4A`). No `.pdf` is compiled for this deferred companion.
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## 2. Reactivated Strategy `1A` (Promoted into Active Plan #57 `PLAN-PIECEWISE-QUANT-ZERO-GIT-VOICE-SYNTHESIS-OPTIONS` as Zero-Git-Audio Deploy-Time Synthesis)
|
||||||
|
|
||||||
|
- **Strategy `1A` (`Zero-Git-Audio Deploy-Time Generation in sync-vps-repos.sh + WebSpeech + Formant Fallback`):**
|
||||||
|
- Promoted and affirmed (`Strategies 1A, 2A, 3A`) in `/workspace/encyclopedia-knowledge-graph/docs/plans/piecewise/PLAN-PIECEWISE-QUANT-ZERO-GIT-VOICE-SYNTHESIS-OPTIONS.{md,pdf}`, generating `.gitignore`d `${LIVE_REPOS}/quant/audio/ep0X-sY.wav` tracks at deploy time (`0` audio files in Git source control).
|
||||||
|
- **Deferred Strategies from Plan #57 (`1B` Standalone Formant-Only, `1C` API-Streamed WAV Only, `2B`, `2C`, `3B`, `3C`):**
|
||||||
|
- Preserved here as superseded/deferred alternatives (`1A` already includes `1B`'s formant synthesizer as its offline `file://` Tier 3 fallback).
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## 3. Deferred Candidate Strategies (`Strategies 1C, 2B, 2C, 3B, 3C, 4B, 4C`)
|
||||||
|
|
||||||
|
- **Strategy `1C` (WebAudio Chimes Only):** Superseded by affirmed **`Strategy 1B`**.
|
||||||
|
- **Strategies `2B` & `2C` (Box-Shadow Only or 5-Panel Highlight Map Only):** Superseded by affirmed **`Strategy 2A`** (all `18+` interactive DOM controls highlighted via `.tut-ui-highlight` + floating `#tutUiElementIndicator` pointer badge, including `#lensSelect` in `Ep 04`).
|
||||||
|
- **Strategies `3B` & `3C` (Raw Subtitle or Regex Strip Without Naming Target UI Element):** Superseded by affirmed **`Strategy 3A`** (natural-English `speechText` per scene naming the target UI element first + `cleanTextForSpeech()` normalizer).
|
||||||
|
- **Strategies `4B` & `4C` (Hash-Only or HTML-Only `closeups_sync.py`):** Superseded by affirmed **`Strategy 4A`** (`.html` + `.js` UI element introspection and dynamic control rendering in `quadrant-2-*.png`).
|
||||||
@@ -0,0 +1,21 @@
|
|||||||
|
# Inactive & Deferred Plans (`docs/plans/inactive/`)
|
||||||
|
|
||||||
|
This directory holds **Retained Long-Term Inactive / Deferred Plans** (`PLAN-*.md`) as well as the cold-compressed **Archived Inactive Plans** bundle (`inactive-plans-archive.tar.gz` + `inactive-archive-manifest.json`). To focus compilation resources exclusively on active (`../active/`) and piecewise (`../piecewise/`) plans, Dark-Mode ReportLab PDFs (`hs-pdf-build`) are **not** compiled or recompiled when plans are deferred into `docs/plans/inactive/` (pre-existing `.pdf` files moved here are retained as-is without recompilation until a plan is reactivated).
|
||||||
|
|
||||||
|
- **Active Non-Piecewise Plans (`Tier 1`, with live `.pdf` compilation):** Located in `../active/`
|
||||||
|
- **Piecewise Plans (`Tier 2–4`, with live `.pdf` compilation):** Located in `../piecewise/`
|
||||||
|
- **Completed Cold-Rotated Plans (`Class 5A`):** Located in `../../archive/completed-plans-archive.tar.gz`
|
||||||
|
- **Archived Inactive / Superseded Plans (`Class 5B`):** Compressed in `inactive-plans-archive.tar.gz` and itemized in `inactive-archive-manifest.json` (`hs-archive-rotate --archive-inactive` / `--extract-inactive`)
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## Cold-Archived Inactive & Superseded Plans (`inactive-plans-archive.tar.gz`)
|
||||||
|
|
||||||
|
| Archived Inactive Plan (`.md`) | SHA-256 Prefix | Source-Control Hyperlink Citation (`git.libre.audio`) |
|
||||||
|
| :--- | :--- | :--- |
|
||||||
|
| `PLAN-ECOSYSTEM-WIDE-ECONOMIZATION-EVALUATION-AND-VECTORS.md` | `8c33b4445589` | [git.libre.audio @ b2049be](https://git.libre.audio/seasharp/encyclopedia-knowledge-graph/src/commit/b2049beb38fb6c443a655f121135e7f92fedf9ab/docs/plans/inactive/PLAN-ECOSYSTEM-WIDE-ECONOMIZATION-EVALUATION-AND-VECTORS.md) |
|
||||||
|
| `PLAN-HEADER-SUBTITLE-TELEMETRY-CONSOLIDATION-ALTERNATIVE.md` | `8c8e7486ef50` | [git.libre.audio @ b2049be](https://git.libre.audio/seasharp/encyclopedia-knowledge-graph/src/commit/b2049beb38fb6c443a655f121135e7f92fedf9ab/docs/plans/inactive/PLAN-HEADER-SUBTITLE-TELEMETRY-CONSOLIDATION-ALTERNATIVE.md) |
|
||||||
|
| `PLAN-HOMEPAGE-QUADRANT-EXPLORATORY-FEATURES-DEFERRED-STRATEGIES.md` | `f37dfdb8d0cf` | [git.libre.audio @ b2049be](https://git.libre.audio/seasharp/encyclopedia-knowledge-graph/src/commit/b2049beb38fb6c443a655f121135e7f92fedf9ab/docs/plans/inactive/PLAN-HOMEPAGE-QUADRANT-EXPLORATORY-FEATURES-DEFERRED-STRATEGIES.md) |
|
||||||
|
| `PLAN-PIECEWISE-DECLUTTER-HOMEPAGE-UI-CLOSEUPS-DEFERRED-STRATEGIES.md` | `73d5c7515e67` | [git.libre.audio @ b2049be](https://git.libre.audio/seasharp/encyclopedia-knowledge-graph/src/commit/b2049beb38fb6c443a655f121135e7f92fedf9ab/docs/plans/inactive/PLAN-PIECEWISE-DECLUTTER-HOMEPAGE-UI-CLOSEUPS-DEFERRED-STRATEGIES.md) |
|
||||||
|
| `PLAN-PIECEWISE-MARKET-RESEARCH-DEFERRED-CANDIDATE-STRATEGIES.md` | `e73a8f35d381` | [git.libre.audio @ b2049be](https://git.libre.audio/seasharp/encyclopedia-knowledge-graph/src/commit/b2049beb38fb6c443a655f121135e7f92fedf9ab/docs/plans/inactive/PLAN-PIECEWISE-MARKET-RESEARCH-DEFERRED-CANDIDATE-STRATEGIES.md) |
|
||||||
|
| `PLAN-PIECEWISE-UI-EVOLUTION-FOR-GROWING-DATASETS-DEFERRED-STRATEGIES.md` | `118cf56ca8fa` | [git.libre.audio @ b2049be](https://git.libre.audio/seasharp/encyclopedia-knowledge-graph/src/commit/b2049beb38fb6c443a655f121135e7f92fedf9ab/docs/plans/inactive/PLAN-PIECEWISE-UI-EVOLUTION-FOR-GROWING-DATASETS-DEFERRED-STRATEGIES.md) |
|
||||||
@@ -0,0 +1,113 @@
|
|||||||
|
{
|
||||||
|
"version": "2.17.0",
|
||||||
|
"archive_classification": "archived_inactive_plans",
|
||||||
|
"bundle_filename": "inactive-plans-archive.tar.gz",
|
||||||
|
"bundle_policy": "md_only_single_layer_bounded_with_git_citation_rotation",
|
||||||
|
"max_bundle_bytes": 262144,
|
||||||
|
"bundle_size_bytes": 10375,
|
||||||
|
"bundle_sha256": "15823f92a0969f4fc19588fccc70543f18b16d12191a57322f692f6f26ba5581",
|
||||||
|
"retained_inactive_plans": [
|
||||||
|
"PLAN-HYPERSTITIONSTUDIO-POLYGLOT-SDK-AND-CLIENT-LIBRARIES",
|
||||||
|
"PLAN-LEXICAL-AND-ETYMOLOGICAL-SIMPLIFICATION",
|
||||||
|
"PLAN-LLM-TOKEN-ECONOMIZER-AND-VARIANCE-ROUTING",
|
||||||
|
"PLAN-LLM-TOKEN-ECONOMIZER-DATA-FIDELITY-AND-DEGRADATION-RISK-EVALUATION",
|
||||||
|
"PLAN-LOCAL-SERVER-SIDE-WEB-CHATBOT-GUI",
|
||||||
|
"PLAN-MEMETIC-GALLERY-SUBPAGE",
|
||||||
|
"PLAN-MIGRATE-FINAL-EXEGESIS-CRONJOB-WITH-DUAL-MODE-AND-CRYPTO-FUNDING",
|
||||||
|
"PLAN-PIECEWISE-COMPLETE-MATHEMATICS-AND-INFO-SCIENCE-EXPLICATION",
|
||||||
|
"PLAN-PIECEWISE-COMPLETE-SOFTWARE-ENGINEERING-EXPLICATION",
|
||||||
|
"PLAN-PIECEWISE-QUANT-VOICE-NARRATION-DEFERRED-STRATEGIES"
|
||||||
|
],
|
||||||
|
"member_count": 6,
|
||||||
|
"active_bundle_member_count": 6,
|
||||||
|
"long_term_git_rotated_count": 0,
|
||||||
|
"total_uncompressed_bytes": 25604,
|
||||||
|
"members": [
|
||||||
|
{
|
||||||
|
"name": "PLAN-ECOSYSTEM-WIDE-ECONOMIZATION-EVALUATION-AND-VECTORS.md",
|
||||||
|
"plan_id": "PLAN-ECOSYSTEM-WIDE-ECONOMIZATION-EVALUATION-AND-VECTORS",
|
||||||
|
"classification": "archived_inactive",
|
||||||
|
"storage_tier": "active_tar_gz_bundle",
|
||||||
|
"size_bytes": 8907,
|
||||||
|
"sha256": "8c33b44455893d5065e899c7a2412fdbe569c33d32833b90a71068e09eb87dda",
|
||||||
|
"companion_pdf_sha256": "bcddde27a678b0b234347065df34c089d23fb2308534d420089955e8ba1ab9a0",
|
||||||
|
"companion_pdf_size_bytes": 92160,
|
||||||
|
"git_commit_sha": "b2049beb38fb6c443a655f121135e7f92fedf9ab",
|
||||||
|
"git_release_tag": "v2.17.0",
|
||||||
|
"git_citation_url": "https://git.libre.audio/seasharp/encyclopedia-knowledge-graph/src/commit/b2049beb38fb6c443a655f121135e7f92fedf9ab/docs/plans/inactive/PLAN-ECOSYSTEM-WIDE-ECONOMIZATION-EVALUATION-AND-VECTORS.md",
|
||||||
|
"git_source_path": "docs/plans/inactive/PLAN-ECOSYSTEM-WIDE-ECONOMIZATION-EVALUATION-AND-VECTORS.md"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "PLAN-HEADER-SUBTITLE-TELEMETRY-CONSOLIDATION-ALTERNATIVE.md",
|
||||||
|
"plan_id": "PLAN-HEADER-SUBTITLE-TELEMETRY-CONSOLIDATION-ALTERNATIVE",
|
||||||
|
"classification": "archived_inactive",
|
||||||
|
"storage_tier": "active_tar_gz_bundle",
|
||||||
|
"size_bytes": 2617,
|
||||||
|
"sha256": "8c8e7486ef507518f5eb305ea1c249b03cb006197400227f46f0d2e187212ce7",
|
||||||
|
"companion_pdf_sha256": "3e04f3427f0cefe19e1197399c7cc236d0f0a518ef4087dc0577498c899e92fe",
|
||||||
|
"companion_pdf_size_bytes": 82722,
|
||||||
|
"git_commit_sha": "b2049beb38fb6c443a655f121135e7f92fedf9ab",
|
||||||
|
"git_release_tag": "v2.17.0",
|
||||||
|
"git_citation_url": "https://git.libre.audio/seasharp/encyclopedia-knowledge-graph/src/commit/b2049beb38fb6c443a655f121135e7f92fedf9ab/docs/plans/inactive/PLAN-HEADER-SUBTITLE-TELEMETRY-CONSOLIDATION-ALTERNATIVE.md",
|
||||||
|
"git_source_path": "docs/plans/inactive/PLAN-HEADER-SUBTITLE-TELEMETRY-CONSOLIDATION-ALTERNATIVE.md"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "PLAN-HOMEPAGE-QUADRANT-EXPLORATORY-FEATURES-DEFERRED-STRATEGIES.md",
|
||||||
|
"plan_id": "PLAN-HOMEPAGE-QUADRANT-EXPLORATORY-FEATURES-DEFERRED-STRATEGIES",
|
||||||
|
"classification": "archived_inactive",
|
||||||
|
"storage_tier": "active_tar_gz_bundle",
|
||||||
|
"size_bytes": 3485,
|
||||||
|
"sha256": "f37dfdb8d0cfcd40f7121beae15a1799b60ab606116363e397788ae792d1c42c",
|
||||||
|
"companion_pdf_sha256": "b4e30a70abc5687c10e7c588f2f7f906ff0de04744765870f55f9462670fefb2",
|
||||||
|
"companion_pdf_size_bytes": 85529,
|
||||||
|
"git_commit_sha": "b2049beb38fb6c443a655f121135e7f92fedf9ab",
|
||||||
|
"git_release_tag": "v2.17.0",
|
||||||
|
"git_citation_url": "https://git.libre.audio/seasharp/encyclopedia-knowledge-graph/src/commit/b2049beb38fb6c443a655f121135e7f92fedf9ab/docs/plans/inactive/PLAN-HOMEPAGE-QUADRANT-EXPLORATORY-FEATURES-DEFERRED-STRATEGIES.md",
|
||||||
|
"git_source_path": "docs/plans/inactive/PLAN-HOMEPAGE-QUADRANT-EXPLORATORY-FEATURES-DEFERRED-STRATEGIES.md"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "PLAN-PIECEWISE-DECLUTTER-HOMEPAGE-UI-CLOSEUPS-DEFERRED-STRATEGIES.md",
|
||||||
|
"plan_id": "PLAN-PIECEWISE-DECLUTTER-HOMEPAGE-UI-CLOSEUPS-DEFERRED-STRATEGIES",
|
||||||
|
"classification": "archived_inactive",
|
||||||
|
"storage_tier": "active_tar_gz_bundle",
|
||||||
|
"size_bytes": 2543,
|
||||||
|
"sha256": "73d5c7515e67fea4ba664b173eb4e8f82a2c2b085441eaebb7277f102d8b0c84",
|
||||||
|
"companion_pdf_sha256": "3bffabc233869ca4f429d2c0bf66b3fd8cf85b88edf56fa45b8f41e728813dce",
|
||||||
|
"companion_pdf_size_bytes": 82809,
|
||||||
|
"git_commit_sha": "b2049beb38fb6c443a655f121135e7f92fedf9ab",
|
||||||
|
"git_release_tag": "v2.17.0",
|
||||||
|
"git_citation_url": "https://git.libre.audio/seasharp/encyclopedia-knowledge-graph/src/commit/b2049beb38fb6c443a655f121135e7f92fedf9ab/docs/plans/inactive/PLAN-PIECEWISE-DECLUTTER-HOMEPAGE-UI-CLOSEUPS-DEFERRED-STRATEGIES.md",
|
||||||
|
"git_source_path": "docs/plans/inactive/PLAN-PIECEWISE-DECLUTTER-HOMEPAGE-UI-CLOSEUPS-DEFERRED-STRATEGIES.md"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "PLAN-PIECEWISE-MARKET-RESEARCH-DEFERRED-CANDIDATE-STRATEGIES.md",
|
||||||
|
"plan_id": "PLAN-PIECEWISE-MARKET-RESEARCH-DEFERRED-CANDIDATE-STRATEGIES",
|
||||||
|
"classification": "archived_inactive",
|
||||||
|
"storage_tier": "active_tar_gz_bundle",
|
||||||
|
"size_bytes": 4818,
|
||||||
|
"sha256": "e73a8f35d381bb2d2d4de6e05095d1a06cc8abf130e13d5a2feb60c94b2e6e83",
|
||||||
|
"companion_pdf_sha256": "ba0e195190e4e3a2ca9070b3564cc28db472b1ee3ae629e98ec43dc3322f1cf7",
|
||||||
|
"companion_pdf_size_bytes": 87445,
|
||||||
|
"git_commit_sha": "b2049beb38fb6c443a655f121135e7f92fedf9ab",
|
||||||
|
"git_release_tag": "v2.17.0",
|
||||||
|
"git_citation_url": "https://git.libre.audio/seasharp/encyclopedia-knowledge-graph/src/commit/b2049beb38fb6c443a655f121135e7f92fedf9ab/docs/plans/inactive/PLAN-PIECEWISE-MARKET-RESEARCH-DEFERRED-CANDIDATE-STRATEGIES.md",
|
||||||
|
"git_source_path": "docs/plans/inactive/PLAN-PIECEWISE-MARKET-RESEARCH-DEFERRED-CANDIDATE-STRATEGIES.md"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "PLAN-PIECEWISE-UI-EVOLUTION-FOR-GROWING-DATASETS-DEFERRED-STRATEGIES.md",
|
||||||
|
"plan_id": "PLAN-PIECEWISE-UI-EVOLUTION-FOR-GROWING-DATASETS-DEFERRED-STRATEGIES",
|
||||||
|
"classification": "archived_inactive",
|
||||||
|
"storage_tier": "active_tar_gz_bundle",
|
||||||
|
"size_bytes": 3234,
|
||||||
|
"sha256": "118cf56ca8fab50a6c58a31185f3725ca7bbc3f287cb69f5d060d6a68ea2f64f",
|
||||||
|
"companion_pdf_sha256": "f166bfa3cee33326e6b9ade68593af0471d19dfe83ce8d101d67ece07e800860",
|
||||||
|
"companion_pdf_size_bytes": 84345,
|
||||||
|
"git_commit_sha": "b2049beb38fb6c443a655f121135e7f92fedf9ab",
|
||||||
|
"git_release_tag": "v2.17.0",
|
||||||
|
"git_citation_url": "https://git.libre.audio/seasharp/encyclopedia-knowledge-graph/src/commit/b2049beb38fb6c443a655f121135e7f92fedf9ab/docs/plans/inactive/PLAN-PIECEWISE-UI-EVOLUTION-FOR-GROWING-DATASETS-DEFERRED-STRATEGIES.md",
|
||||||
|
"git_source_path": "docs/plans/inactive/PLAN-PIECEWISE-UI-EVOLUTION-FOR-GROWING-DATASETS-DEFERRED-STRATEGIES.md"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"long_term_git_storage_citations": [],
|
||||||
|
"manifest_dag_json_cid": "baguqeerazonzhadugi3f2vayukaozbevdo3qrz4pidv6zuwxmyl3w6ppwhqa"
|
||||||
|
}
|
||||||
Binary file not shown.
@@ -0,0 +1,109 @@
|
|||||||
|
# PLAN: Piecewise Codebase Modularity, Deduplication & Resource Economization — Revised for `v2.12.0..v2.15.0` Code Delta (`Audit Points 1–4`, `Rule C` Piecewise Specification)
|
||||||
|
|
||||||
|
**Document ID:** `PLAN-PIECEWISE-CODEBASE-MODULARITY-DEFERRED-STRATEGIES`
|
||||||
|
**Status:** `PENDING AUDIT PIECEWISE (docs/plans/piecewise/ — 0/4 AUDIT POINTS AFFIRMED)`
|
||||||
|
**Parent Plan:** `PLAN-PIECEWISE-CODEBASE-MODULARITY-DEDUPLICATION-AND-RESOURCE-ECONOMIZATION` (`v2.12.0`)
|
||||||
|
**Target Ecosystem Version:** `v2.16.0` (Baseline: `v2.15.0`, evaluating full `v2.12.0..v2.15.0` delta)
|
||||||
|
**Target Repositories:** `hyperstitionstudio-core`, `ingglish-hyperdope-gematria`, `encyclopedia-knowledge-graph`
|
||||||
|
**Author:** m00t & Hermes Agent
|
||||||
|
**Date:** 2026-12-01
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## 1. Ground-Truth Audit: Reactivated Deferred Strategy `2A` + `v2.12.0..v2.15.0` Code Delta (`+4,970` Lines Across 6 Repositories, `Rule C.1`)
|
||||||
|
|
||||||
|
Between `v2.12.0` (when the parent Plan #53 was executed) and `v2.15.0`, implementing Plans `#56`, `#57`, `#58`, `#59`, and `#60` added **`+4,970` insertions across 96 touched files** (`+1,500` in `hyperstitionstudio-core`, `+2,090` in `ingglish-hyperdope-gematria`, `+314` in `haiperdohp-jemaytreeah`, `+971` in `hyperdope-ci-build`, and `+220` in `encyclopedia-knowledge-graph`). Re-auditing the deferred strategy candidates alongside this exact `v2.12.0..v2.15.0` code delta reveals **4 high-leverage modularity, deduplication, security, and resource-economization Audit Points**:
|
||||||
|
|
||||||
|
| Audit Point & Subsystem | Empirically Verified `v2.12.0..v2.15.0` Codebase Delta Measurement | Duplication, Drift Risk, Security Gap or Resource Hotspot Identified |
|
||||||
|
| :--- | :--- | :--- |
|
||||||
|
| **Audit Point 1**<br/>*Unified Explication Hub, Subpage & Navigation Template Engine (`publishing/explication_template.py`, `engineering_docs.py` `801` lines & `math_docs.py` `628` lines — Reactivated Strategy `2A` from Plan #53)* | • In Plan #53 (`v2.12.0`), `Strategy 2B` unified `render_polyglot_cartridge_html()` and `_render_prereq_box_html()`, while deferring **`Strategy 2A`** (full `explication_template.py` extraction).<br/>• `publishing/engineering_docs.py` (`801` lines) and `publishing/math_docs.py` (`628` lines) still duplicate `~260` lines of identical `<head>` CSS, `<header>` layout, `> 6` subpage `More Units ▾` overflow `<select>`, `.grid-cards` unit card loops, `<footer>` colophon, `prev_link / next_link` subpage pagination, and `build_*_site()` bundle orchestration. | • **Eliminate `~260` Duplicate Lines & Enable Single-Point Cross-Page Nav Unification (Plan #63):** Extracting `src/hyperstitionstud_io/publishing/explication_template.py` (`render_explication_nav_html()`, `render_explication_hub_page_html()`, `render_explication_subpage_html()`, `write_explication_site_bundle()`) removes `~260` duplicate lines and lets `/engineering/*` and `/math/*` share one header/subnav renderer. |
|
||||||
|
| **Audit Point 2 (NEW from `v2.13.0–v2.15.0` Delta)**<br/>*Exegesis & CI Script Deduplication + `safe_urlopen` / `compute_aq` Reuse in `ingglish-hyperdope-gematria` (`+2,090` lines added in `v2.13.0–v2.15.0`)* | • Plan #56 (`v2.13.0`) added `synthesize_news_dossier_openrouter.py` (`736` lines) in **two identical copies** (`ingglish-aq-archive/scripts/` and `packaging/bundle/scripts/` = `1,472` lines).<br/>• Plan #60 (`v2.15.0`) had to patch `ci_provision_ingglish.py` across **three identical copies** (`ingglish-aq-archive/scripts/`, `packaging/bundle/scripts/`, and `packaging/bundle/skills/hyperdope-ingglish-ci/scripts/` = `~1,950` lines), plus duplicate copies of `collect_news_aq.py`, `generate_aq_tier_list.py`, and `build_wire_report_pdf.py` (`~3,600+` duplicated lines in `ingglish-hyperdope-gematria`!).<br/>• `synthesize_news_dossier_openrouter.py` redefines `compute_aq()` locally (`lines 39–46`) and calls raw `urllib.request.urlopen()` instead of delegating to `hyperstitionstud_io.ciphers.compute_aq` and `hyperstitionstud_io.security.safe_urlopen` when available. | • **Eliminate `~2,100+` Lines of Multi-Copy Script Drift in `ingglish-hyperdope-gematria`:** Keep `ingglish-aq-archive/scripts/*.py` as the Single Source of Truth, replace duplicate copies in `packaging/bundle/scripts/` and `packaging/bundle/skills/.../scripts/` with thin `runpy` delegators (while `packaging/build-fedora41-rpm.sh` materializes standalone copies into the RPM buildroot at package build time), and wire `compute_aq` + `safe_urlopen` delegation into `synthesize_news_dossier_openrouter.py`. |
|
||||||
|
| **Audit Point 3 (NEW from `v2.14.0–v2.15.0` Delta)**<br/>*Pre-Commit & Release Pipeline Consolidation: Shared 6-Repo Discovery, Path Normalizer, Git Helper & Stat-Cached Line Counter (`config/__init__.py`, `deploy_scripts_sync.py` `266` lines, `version_sync.py` `550` lines, `readme_sync.py` `616` lines, `closeups_sync.py` `765` lines)* | • Plan #58 (`v2.14.0`) added `src/hyperstitionstud_io/ci/deploy_scripts_sync.py` (`266` lines) and wired it into `.git/hooks/pre-commit` (`readme_sync.py`) and `version_sync.py`.<br/>• Across `version_sync.py`, `readme_sync.py`, `highlights.py`, and `deploy_scripts_sync.py`, `_norm_ws_path()`, `_resolve_repo_dir()` (`hyperdope-ci-build` vs `ingglish-hyperdope-ci`), `_git_out()`, and the canonical 6-repo list are now duplicated in **`4` modules**.<br/>• Every `git commit` triggers `.git/hooks/pre-commit` (`deploy_scripts_sync` + `closeups_sync` + `readme_sync`), which scans all `231,615` lines (`4.17 MB`) of `haiperdohp-jemaytreeah/db.txt` from disk multiple times even when `(st_mtime_ns, st_size)` are unchanged. | • **Consolidate 4x Duplicated Repo/Git Helpers & Stat-Cache `db.txt` Line Counts:** Centralizing `CANONICAL_SIX_REPOS`, `resolve_workspace_repo_dir()`, `normalize_workspace_relpath()`, `run_git_stdout()`, and `(resolved_path, st_mtime_ns, st_size)`-memoized `count_file_lines_cached()` in `src/hyperstitionstud_io/config/__init__.py` removes `4` duplicate helper implementations and cuts repeated `4.17 MB` `db.txt` line scans during `pre-commit` to `0`. |
|
||||||
|
| **Audit Point 4 (NEW from `v2.13.0–v2.15.0` Delta)**<br/>*Shared Bounded Pillow Text-Fitting Primitives (`publishing/fonts.py`) & `load_json_cached` Reuse in `publishing/quant_voice.py` (`511` lines)* | • Plan #57 & Plan #59 (`v2.13.0–v2.15.0`) added `src/hyperstitionstud_io/publishing/quant_voice.py` (`511` lines), which reads `voice-manifest.json` via raw `json.loads(manifest_p.read_text())` (`line 336`) instead of `load_json_cached()`.<br/>• `publishing/closeups_sync.py` (`765` lines), `publishing/flow_diagram.py` (`401` lines), and `quant/cards.py` (`550` lines) place text via manual `d.text()` coordinates and `[:N]` slicing without shared bounded text-fitting primitives in `publishing/fonts.py` (`90` lines). | • **Unified Bounded Pillow Typography & Manifest Caching:** Adding `fit_pillow_text_to_width()`, `draw_bounded_box_text()`, and `draw_bounded_kv_row()` to `src/hyperstitionstud_io/publishing/fonts.py` (directly supporting Plan #61's closeup bounding-box fixes) and wiring `load_json_cached()` into `quant_voice.py` unifies image text fitting and JSON caching across `publishing/`. |
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## 2. Four Factual Binary Engineering Gates (`G1–G4`, Zero Synthetic Data & Two-Script Deployment Invariant)
|
||||||
|
|
||||||
|
- **`Gate G1` (100% Backward-Compatible Public API, CLI Entrypoints, RPM Builder & Two-Script Deployment Invariant):** Zero breaking changes to any `pyproject.toml` CLI entrypoint (`hs-*`), MCP tool, OpenAPI 3.1 REST endpoint, `packaging/build-fedora41-rpm.sh`, or the Two-Script Manual Operator Deployment Invariant.
|
||||||
|
- **`Gate G2` (`0` LLM Tokens & `0` New External Dependencies):** Uses Python `3.12+` standard library (`runpy`, `functools`, `subprocess`) and existing workspace libraries (`Pillow`).
|
||||||
|
- **`Gate G3` (`ProtectSystem=strict` `EROFS` & `ReadOnlyIsolationGuard` Safe):** All caches are in-memory and invalidated automatically on `(st_mtime_ns, st_size)` updates.
|
||||||
|
- **`Gate G4` (Measurable Code Deduplication Across Both `hyperstitionstudio-core` & `ingglish-hyperdope-gematria`):** Eliminates `~260` duplicate HTML template lines in `publishing/`, `~2,100+` duplicate Python script lines in `ingglish-hyperdope-gematria/packaging/bundle/`, and `4` duplicate Git/repo helper blocks.
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## 3. Piecewise Audit Points & Candidate Strategies (`Strategies 1A–1C` through `4A–4C`, `Rule C.2`)
|
||||||
|
|
||||||
|
Each Audit Point below is 100% independent and commutative so they can be reviewed, affirmed, or deferred one at a time under the strict Turn-Ending Invariant (`Rule C.3`).
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
### Audit Point 1: Unified Explication Hub, Subpage & Navigation Template Engine (`src/hyperstitionstud_io/publishing/explication_template.py` — Reactivated Strategy `2A`)
|
||||||
|
|
||||||
|
- **Strategy `1A` (Extract Shared Group 3 Explication Page Renderer into `src/hyperstitionstud_io/publishing/explication_template.py` — Recommended Candidate):**
|
||||||
|
- **What Changes:**
|
||||||
|
1. Creates `src/hyperstitionstud_io/publishing/explication_template.py` containing the parameterized Group 3 HTML builders and site-bundle writer shared by `/engineering/` and `/math/`:
|
||||||
|
- `render_explication_nav_html()`,
|
||||||
|
- `render_explication_hub_page_html()`,
|
||||||
|
- `render_explication_subpage_html()`, and
|
||||||
|
- `write_explication_site_bundle()`.
|
||||||
|
2. Refactors `publishing/engineering_docs.py` (`hs-eng-docs`) and `publishing/math_docs.py` (`hs-math-docs`) to delegate their HTML/nav/bundle rendering to `explication_template.py` while keeping all domain specifications, cartridges, manifests, and public function signatures 100% intact.
|
||||||
|
- **Modularity Gain:** Eliminates `~260` lines of duplicated HTML/CSS/JS templates and provides a single shared header/navigation builder for `/engineering/*` and `/math/*`.
|
||||||
|
- **Strategy `1B` (Extract Only `render_explication_nav_html()` & `render_explication_subpage_html()`, Keeping Hub Renderers Separate — Partial Candidate):**
|
||||||
|
- Unifies navigation and subpage HTML templates while leaving `_render_hub_html()` and `_render_math_hub_html()` separate.
|
||||||
|
- **Strategy `1C` (Retain Current `v2.12.0` Strategy `2B` Split — Status Quo / Deferred):**
|
||||||
|
- Keeps only `render_polyglot_cartridge_html()` and `_render_prereq_box_html()` shared.
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
### Audit Point 2 (NEW from `v2.13.0–v2.15.0` Delta): Exegesis & CI Script Deduplication + `safe_urlopen` / `compute_aq` Delegation in `ingglish-hyperdope-gematria`
|
||||||
|
|
||||||
|
- **Strategy `2A` (Single-Source-of-Truth Scripts in `ingglish-aq-archive/scripts/` + Thin `runpy` Bundle Wrappers + Automatic Standalone Copy Materialization in `build-fedora41-rpm.sh` + `compute_aq`/`safe_urlopen` Delegation — Recommended Candidate):**
|
||||||
|
- **What Changes:**
|
||||||
|
1. Designates `ingglish-aq-archive/scripts/{synthesize_news_dossier_openrouter.py,ci_provision_ingglish.py,collect_news_aq.py,generate_aq_tier_list.py,build_wire_report_pdf.py}` as the Single Source of Truth in `ingglish-hyperdope-gematria`.
|
||||||
|
2. Replaces the duplicate multi-hundred-line copies in `packaging/bundle/scripts/*.py` and `packaging/bundle/skills/hyperdope-ingglish-ci/scripts/ci_provision_ingglish.py` with compact (`~25`-line) self-locating `runpy.run_path` / `importlib` delegators that resolve the canonical script in `ingglish-aq-archive/scripts/` when run from the repo, while updating `packaging/build-fedora41-rpm.sh` to copy the canonical `ingglish-aq-archive/scripts/*.py` files directly into the RPM `SOURCES` bundle at package build time so the installed Fedora 41 RPM (`/usr/libexec/ingglish-exegesis/scripts/*.py`) remains 100% standalone.
|
||||||
|
3. Updates `synthesize_news_dossier_openrouter.py` to delegate `compute_aq()` to `hyperstitionstud_io.ciphers.compute_aq` and HTTP requests in `call_openrouter_exegesis()` to `hyperstitionstud_io.security.safe_urlopen` whenever `hyperstitionstud_io` is importable (retaining the stdlib fallback for standalone Fedora 41 RPM hosts).
|
||||||
|
- **Modularity & Security Gain:** Eliminates `~2,100+` lines of duplicate Python code across `ingglish-hyperdope-gematria`, prevents multi-copy drift across future edits, and extends `safe_urlopen` SSRF/size-cap protection to `synthesize_news_dossier_openrouter.py`.
|
||||||
|
- **Strategy `2B` (Keep Full Copies on Disk, Add Auto-Sync Step to `deploy_scripts_sync.py` + `compute_aq`/`safe_urlopen` Delegation Only — Partial Candidate):**
|
||||||
|
- Keeps duplicate files in Git but synchronizes them automatically in `deploy_scripts_sync.py` before commits.
|
||||||
|
- **Strategy `2C` (Leave Multi-Copy Scripts in `ingglish-hyperdope-gematria` Unchanged — Status Quo / Deferred):**
|
||||||
|
- Retains the current manual multi-copy layout.
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
### Audit Point 3 (NEW from `v2.14.0–v2.15.0` Delta): Pre-Commit & Release Pipeline Consolidation — Shared 6-Repo Discovery, Path Normalizer, Git Helper & Stat-Cached Line Counter (`src/hyperstitionstud_io/config/__init__.py`)
|
||||||
|
|
||||||
|
- **Strategy `3A` (Centralize `CANONICAL_SIX_REPOS`, `resolve_workspace_repo_dir()`, `normalize_workspace_relpath()`, `run_git_stdout()`, and Stat-Memoized `count_file_lines_cached()` in `src/hyperstitionstud_io/config/__init__.py` — Recommended Candidate):**
|
||||||
|
- **What Changes:**
|
||||||
|
1. Adds `CANONICAL_SIX_REPOS`, `resolve_workspace_repo_dir(ws_root, repo_key)`, `normalize_workspace_relpath(p, workspace_root=None)`, `run_git_stdout(repo_dir, args, *, strip_leading=True, timeout=5.0)`, and `(resolved_path, st_mtime_ns, st_size)`-memoized `count_file_lines_cached(path)` to `src/hyperstitionstud_io/config/__init__.py`.
|
||||||
|
2. Refactors `version_sync.py`, `publishing/readme_sync.py`, `publishing/highlights.py`, `ci/deploy_scripts_sync.py`, and `publishing/closeups_sync.py` to import and use these shared helpers instead of maintaining `4` separate copies of `_git_out` / `_resolve_repo_dir` / `_norm_ws_path` and re-scanning `231,615` lines of `db.txt` on every commit hook.
|
||||||
|
- **Modularity & Resource Gain:** Eliminates `4` duplicate Git/repo/path helper blocks and cuts repeated `4.17 MB` `db.txt` line-count scans during `pre-commit` hooks to `0`.
|
||||||
|
- **Strategy `3B` (Add Stat-Memoized `count_file_lines_cached()` Only — Minimal Candidate):**
|
||||||
|
- Caches line counts by `(resolved_path, st_mtime_ns, st_size)` in `config/__init__.py` without consolidating `_git_out`, `_resolve_repo_dir`, and `_norm_ws_path`.
|
||||||
|
- **Strategy `3C` (Keep Separate Helpers & Uncached Line Scans — Status Quo / Deferred):**
|
||||||
|
- Leaves `config/__init__.py`, `version_sync.py`, `readme_sync.py`, `highlights.py`, `deploy_scripts_sync.py`, and `closeups_sync.py` unchanged.
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
### Audit Point 4 (NEW from `v2.13.0–v2.15.0` Delta): Shared Bounded Pillow Text-Fitting Primitives (`publishing/fonts.py`) & `load_json_cached` Reuse in `publishing/quant_voice.py`
|
||||||
|
|
||||||
|
- **Strategy `4A` (Add `fit_pillow_text_to_width()`, `draw_bounded_box_text()`, and `draw_bounded_kv_row()` to `src/hyperstitionstud_io/publishing/fonts.py` + Wire `load_json_cached()` into `publishing/quant_voice.py` — Recommended Candidate):**
|
||||||
|
- **What Changes:**
|
||||||
|
1. Extends `src/hyperstitionstud_io/publishing/fonts.py` with reusable, zero-truncation Pillow text-layout helpers (`fit_pillow_text_to_width()`, `draw_bounded_box_text()`, and `draw_bounded_kv_row()`) that step down the cached DejaVu font ladder (`14px -> 9px`) so text always fits inside its bounding box with `>= 6px` horizontal padding and `0` mid-word `[:N]` slicing.
|
||||||
|
2. Reuses these shared primitives in `publishing/closeups_sync.py` (directly powering Plan #61's bounding-box remediation) and wires `load_json_cached()` into `publishing/quant_voice.py` when reading `voice-manifest.json`.
|
||||||
|
- **Modularity Gain:** Centralizes bounded Pillow typography in `publishing/fonts.py` and brings `quant_voice.py` into full compliance with the `load_json_cached()` pattern established in `v2.12.0`.
|
||||||
|
- **Strategy `4B` (Keep Bounded Text Helpers Local Inside `publishing/closeups_sync.py` Only — Partial Candidate):**
|
||||||
|
- Implements text-fitting helpers privately inside `closeups_sync.py` without promoting them to `publishing/fonts.py`.
|
||||||
|
- **Strategy `4C` (Manual Per-Call Coordinate Adjustments Only — Status Quo / Deferred):**
|
||||||
|
- Adjusts individual `(x, y)` coordinates manually without shared bounded-text primitives.
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## 4. Summary Matrix of Audit Points `1–4` for Stepwise Review (`Rule C.3`)
|
||||||
|
|
||||||
|
| Audit Point | Target Subsystem (`v2.12.0..v2.15.0` Delta) | Strategy `A` (Full Modularity, Deduplication & Resource Economization — Recommended) | Strategy `B` (Partial / Scoped Change) | Strategy `C` (Status Quo / Deferred) |
|
||||||
|
| :--- | :--- | :--- | :--- | :--- |
|
||||||
|
| **Point 1** | **Explication HTML Template Engine** (`publishing/explication_template.py`, `engineering_docs.py`, `math_docs.py`) | **`1A`:** Extract shared Group 3 nav, hub, subpage & bundle builders into `explication_template.py` (`-260` duplicate lines) | **`1B`:** Extract shared nav & subpage HTML builders only, keeping hub HTML builders separate | **`1C`:** Retain `v2.12.0` `2B` split |
|
||||||
|
| **Point 2** | **Exegesis & CI Script Deduplication + Security** (`ingglish-hyperdope-gematria/packaging/bundle/` & `synthesize_news_dossier_openrouter.py`) | **`2A`:** Single Source of Truth in `ingglish-aq-archive/scripts/` + thin `runpy` bundle wrappers (`-2,100+` duplicate lines) + standalone copy materialization in `build-fedora41-rpm.sh` + `compute_aq`/`safe_urlopen` delegation | **`2B`:** Keep duplicate files in Git, auto-sync in `deploy_scripts_sync.py` + `compute_aq`/`safe_urlopen` delegation | **`2C`:** Keep manual multi-copy scripts |
|
||||||
|
| **Point 3** | **Pre-Commit & Release Pipeline Consolidation** (`config/__init__.py`, `deploy_scripts_sync.py`, `version_sync.py`, `readme_sync.py`, `closeups_sync.py`) | **`3A`:** Centralize `CANONICAL_SIX_REPOS`, `resolve_workspace_repo_dir()`, `normalize_workspace_relpath()`, `run_git_stdout()`, & stat-cached `count_file_lines_cached()` in `config/__init__.py` | **`3B`:** Add stat-cached `count_file_lines_cached()` only | **`3C`:** Keep 4 separate copies & uncached scans |
|
||||||
|
| **Point 4** | **Bounded Pillow Text-Fitting Primitives & Voice Manifest Cache** (`publishing/fonts.py`, `closeups_sync.py`, `quant_voice.py`) | **`4A`:** Add `fit_pillow_text_to_width()`, `draw_bounded_box_text()`, & `draw_bounded_kv_row()` to `publishing/fonts.py` + wire `load_json_cached()` into `quant_voice.py` | **`4B`:** Keep bounded text helpers private inside `closeups_sync.py` | **`4C`:** Manual coordinate tweaks only |
|
||||||
Binary file not shown.
@@ -0,0 +1,120 @@
|
|||||||
|
# PLAN: Piecewise Contingent-Meaning Operators Across `/calc/`, `/graph/`, `/quant/`, `/math/` & MCP — Enacting Michel Serres, Nick Land, Deleuze & Guattari, John Michael Greer & Giordano Bruno (`Audit Points 1–5`, `Rule C` Piecewise Specification)
|
||||||
|
|
||||||
|
**Document ID:** `PLAN-PIECEWISE-CONTINGENT-MEANING-SERRES-LAND-DG-GREER-BRUNO`
|
||||||
|
**Status:** `PENDING AUDIT PIECEWISE (docs/plans/piecewise/ — 0/5 AUDIT POINTS AFFIRMED)`
|
||||||
|
**Companion Learning-Track Plan:** `PLAN-PIECEWISE-GRIMOIRIC-LEARN-PAGE` (Plan #50, reactivated in `docs/plans/piecewise/`)
|
||||||
|
**Target Ecosystem Version:** `v2.17.0` (Baseline: `v2.16.0`)
|
||||||
|
**Target Repositories:** `hyperstitionstudio-core`, `encyclopedia-knowledge-graph`, `haiperdohp-jemaytreeah`, `technocapital-singularity-zoology`
|
||||||
|
**Author:** m00t & Hermes Agent
|
||||||
|
**Date:** 2026-12-01
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## 1. Ground-Truth Audit: Intersecting the Five Thinkers with Contingent Meaning in Existing & Anticipated Datasets (`Rule C.1`)
|
||||||
|
|
||||||
|
We first map the five thinkers' core concepts of **contingent meaning** (meaning that emerges neither by deterministic causal necessity nor by arbitrary fabrication, but at the contingent intersection of noise, material flows, and formal coding lattices) directly onto our existing datasets (`231,615` `db.txt` entries, `388` KG nodes / `1,282` edges, `472+` real market bars, `14` FRED series, `72+` dossiers) and anticipated datasets (daily Fedora 41 `00:00 UTC` news-wire dossiers, longitudinal closing-bell bars, and `api-telemetry.db` rollups):
|
||||||
|
|
||||||
|
| Audit Point & Thinker | Core Philosophical Concept of Contingent Meaning | Exact Intersection with Existing & Anticipated `hyperstitionstud.io` Datasets |
|
||||||
|
| :--- | :--- | :--- |
|
||||||
|
| **Audit Point 1**<br/>**Michel Serres**<br/>(*The Parasite* [1980], *Hermes I–V*, *The Birth of Physics*) | • **The Parasite (*Le Parasite*) & Channel Interference:** Every translation across channels (`Written English -> Spoken Phonemes -> Base-36 AQ -> Market Price`) generates static/noise. What orthodoxy discards as "noise" is the **third party (the Parasite)** that reorganizes the system to a higher order of complexity.<br/>• **The Clinamen (Minimal Swerve):** In a laminar atomic flow, an infinitesimal `1`- or `2`-unit swerve ($\delta \in \{1, 2\}$) births a turbulent vortex where new meaning nucleates. | • **Existing & Anticipated Datasets:** Across the `190` bilingual specimens, `231,615` `db.txt` phrases, and incoming daily dossiers, the **Orthographic Channel Noise** $P(w) = \text{AQ}_{\text{eng}}(w) - \text{AQ}_{\text{ing}}(\Phi(w))$ measures the exact parasitic ghost-mass stripped by `G1` phonemic projection, while **Clinamen Swerves** ($\delta = |\text{AQ}_a - \text{AQ}_b| \in \{1, 2\}$, including `G5` Twin-Prime mutations and `±1` market return ticks) identify where laminar `R2 Pinned Isometric` market regimes break into turbulent `R1/R3` vortices in `/quant/`. |
|
||||||
|
| **Audit Point 2**<br/>**Nick Land**<br/>(*Fanged Noumena: "Barker Speaks" / "Meltdown"*, CCRU *Decimal Labyrinth / Numogram*) | • **The Decimal Numogram & Templex Time-Circuitry:** Numbers are not cardinal quantities; they are **intensive traits and cybernetic time-zones (`0..9`)** linked by `9`-sum **Syzygies** (`1::8, 2::7, 3::6, 4::5`), **Trakt Difference Currents** ($\Delta_{\text{trakt}} = |z - z^*| \in \{1, 3, 5, 7, 9\}$ partitioning the system into the **Torque** `{1,8,2,7,4,5}`, the **Warp** `{3,6,9}`, and the **Plex**), and **Triangular Cumulation Gates** ($G(z) = z(z+1)/2 \pmod 9$). Contingent numerical coincidences act as **hyperstitional circuit-carriers**. | • **Existing & Anticipated Datasets:** Every `AQ` coordinate in `encyclopedia-graph.json` (`65` `AQCoordinateHub` nodes), `db.txt` (`231,615` entries), and `quant-timeseries.json` maps deterministically into a Numogram Zone $z = dr_9(\text{AQ})$, Region (`Warp {3,6,9}` repdigit attractors vs. `Torque/Plex`), and Cumulation Gate $G(z)$. As new daily news dossiers arrive, the **Zone Population Drift ($\Delta N_z(t)$)** tracks which Numogram current is heating up in the live news wire. |
|
||||||
|
| **Audit Point 3**<br/>**Gilles Deleuze & Félix Guattari**<br/>(*A Thousand Plateaus* [1980]: *Plateau 1 Rhizome*, *Plateau 3 Double Articulation*, *Plateau 14 Smooth & Striated*) | • **Double Articulation (Content vs. Expression):** Meaning is produced when a **First Articulation (Content / Machinic Assemblage of Bodies:** physical supply chains, EUV wafers, liquidity spreads, daily OHLCV bars) is overcoded by a **Second Articulation (Expression / Collective Assemblage of Enunciation:** ticker symbols, wire headlines, Base-36 `AQ` equations).<br/>• **Rhizomatic Lines of Flight & Smooth vs. Striated Space:** Arborescent hierarchies (`00–08` tree folders) striate space; a **Rhizome** connects any point to any other point across heterogeneous strata without passing through tree roots. | • **Existing & Anticipated Datasets:** In `/graph/` (`388` nodes, `1,282` edges), `IN_DIVISION` and `IN_VOLUME` edges form the **Arborescent Tree**, whereas `CLOSES_REPDIGIT_EQ`, `G1_COLLAPSES_TO_ING_AQ`, `G2_CROSS_GEN_TWIN`, and `TROPHIC_GUILD_BRIDGE` edges form the **Rhizome**. A **Rhizomatic Transverse Shortest-Path Finder** discovers unexpected cross-division lines of flight between any two concepts/tickers without traversing tree edges, while `/quant/` measures each ticker's **Striated (AQ-Pinned $D \ge 2$) vs. Smooth (Nomadic $D = 0$) Space Ratio**. |
|
||||||
|
| **Audit Point 4**<br/>**John Michael Greer**<br/>(*The Sacred Geometry Oracle*, *The Long Descent*, Kammerer's *Law of Series*) | • **16 Geomantic Tetragrams & Natural Magic Correspondences:** Divinatory systems project continuous noisy flux onto a discrete **`{0,1}^4` binary lattice** (4 elemental lines: Fire, Air, Water, Earth = active/passive $\to$ the **16 classical Geomantic Figures**: *Via, Populus, Fortuna Major, Acquisitio, Conjunctio, Caput Draconis*, etc.).<br/>• **Kammerer's Law of Series:** Meaningful coincidences do not arrive at a constant Poisson rate; they cluster into **serial bursts** (Fano factor $F = \sigma^2 / \mu > 1$).<br/>• **Catabolic Collapse:** High-maintenance technocapital tiers shed complexity under energy/liquidity contraction. | • **Existing & Anticipated Datasets:** In `/quant/` (`quant-timeseries.json`), the 4-species Confluence Dose $D_{i,t} \in \{0..4\}$ is already the sum of **4 binary indicator gates** (`Gate 1` Entity Lock, `Gate 2` Guild Lock, `Gate 3` Wire Equation Lock, `Gate 4` Repdigit `333/666/777` Lock $\in \{0,1\}^4$)! Mapping those exact 4 binary gates to the **16 Geomantic Figures** turns every `(ticker, trading_day)` bar into a deterministic geomantic figure, while the **Law-of-Series Fano Burst Index ($F_i = \sigma^2_{D,i} / \mu_{D,i}$)** and **Catabolic ETI Stress Simulator (`-25% / -50%` `CAP` & `VEL` shock)** quantify serial clustering and catabolic resilience. |
|
||||||
|
| **Audit Point 5**<br/>**Giordano Bruno**<br/>(*De Umbris Idearum* [1582], *Ars Memoriae*, *Triginta Sigilli*) | • **Concentric Combinatorial Wheels (*Rota Umbrarum*) & Shadows of Ideas:** Truth is grasped through shifting **Shadows (*Umbrae*)** arranged on rotating concentric wheels (**Outer Wheel:** Written Orthographic Shadows; **Middle Wheel:** Spoken Phonemic Voices; **Inner Wheel:** Archetypal Seals / Guild Builds). Rotating the wheels against one another generates contingent synthetic combinations across registers. | • **Existing & Anticipated Datasets:** Across the `190` bilingual specimens, `10` ETI guild builds (`S+..D`), and `65` `AQCoordinateHub` nodes in `/graph/` and `/calc/`, a **Brunonian 3-Ring Combinatorial Wheel Inspector** aligns `Ring 1 (Gen 0 Written English)` $\times$ `Ring 2 (Gen 1 Phonemic Ingglish)` $\times$ `Ring 3 (AQ Coordinate Hub / Taxon Build)` to surface unexpected 3-ring resonances as the corpus grows. |
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## 2. Four Factual Binary Engineering Gates (`G1–G4`, Zero Synthetic Data)
|
||||||
|
|
||||||
|
- **`Gate G1` (100% Grounded in Real Corpus & Market Registries — Zero Synthetic Data):** Every operator computes exact, reproducible functions over real `db.txt`, `encyclopedia-graph.json`, `quant-timeseries.json`, `real-macro-indicators.json`, and `ingglish-aq-archive/*.md` data (`0` random numbers, `0` fabricated rows).
|
||||||
|
- **`Gate G2` (`0` LLM Tokens at Runtime & `100%` Offline-Portable):** All 5 operators run deterministically in Python (`hyperstitionstud_io.*`) and client-side JS (`/graph/`, `/quant/`, `/calc/`).
|
||||||
|
- **`Gate G3` (`ProtectSystem=strict` `EROFS` & `ReadOnlyIsolationGuard` Safe):** Zero writes to read-only source registries (`all_unchanged: True`).
|
||||||
|
- **`Gate G4` (Unified MCP, CLI & Web Workbench Exposure):** Exposed consistently in the web workbenches (`/graph/`, `/quant/`, `/calc/`) and via `hs-mcp` (`MCP_TOOLS_SCHEMA`).
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## 3. Piecewise Audit Points & Candidate Strategies (`Strategies 1A–1C` through `5A–5C`, `Rule C.2`)
|
||||||
|
|
||||||
|
Each Audit Point is 100% independent and commutative, and will be reviewed strictly one Audit Point per turn under the Turn-Ending Invariant (`Rule C.3`).
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
### Audit Point 1: Michel Serres — Parasitic Channel-Noise Decomposition ($P(w)$) & Clinamen Swerve Detector ($\delta \in \{1, 2\}$) (`/quant/`, `/calc/`, & `ciphers`)
|
||||||
|
|
||||||
|
- **Strategy `1A` (Full Serresian Parasite & Clinamen Telemetry in `quant/timeseries.py`, `/quant/` Panel 1/4, & `/calc/` Breakdown — Recommended Candidate):**
|
||||||
|
- **What Changes:**
|
||||||
|
1. Adds `compute_serres_parasite_metrics(word_eng, word_ing)` in `src/hyperstitionstud_io/ciphers/__init__.py` computing **Laminar Signal** ($\text{AQ}_{\text{ing}}$), **Parasitic Channel Noise / Ghost-Mass** ($P(w) = \text{AQ}_{\text{eng}} - \text{AQ}_{\text{ing}}$), and **Channel Interference Ratio** ($\eta_P = |P(w)| / \max(1, \text{AQ}_{\text{eng}})$).
|
||||||
|
2. Adds **Clinamen Inflection Detection** (`clinamen_swerve_events`: bars where a `±1` or `±2` minimal `AQ` swerve $\delta \in \{1, 2\}$ or `G5` twin-prime lock precedes a regime shift between laminar `Dose <= 1` and turbulent `Dose >= 2`) to `quant/timeseries.py` and `/quant/` (`?screen=clinamen` filter pill & `ⓘ` popover).
|
||||||
|
- **Strategy `1B` (Add `compute_serres_parasite_metrics()` in Python & `/math/` `Unit M2` Explication Only — Partial Candidate):**
|
||||||
|
- Exposes the Serresian Parasite & Clinamen math in `ciphers/__init__.py` and `/math/` without adding UI filter pills to `/quant/`.
|
||||||
|
- **Strategy `1C` (Defer Serresian Operator — Status Quo):**
|
||||||
|
- Leaves existing `G1` / `G5` drift metrics unchanged.
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
### Audit Point 2: Nick Land — CCRU Decimal Numogram (`Zones 0..9`), Trakt Currents (`Warp / Plex / Torque`) & Cumulation Gate Router (`/graph/`, `/calc/`, & `ciphers`)
|
||||||
|
|
||||||
|
- **Strategy `2A` (Full CCRU Decimal Numogram Classifier in `ciphers/__init__.py` + `/graph/` `?filter=numogram-warp|torque` Filter Options + Live Zone Population Readout — Recommended Candidate):**
|
||||||
|
- **What Changes:**
|
||||||
|
1. Adds `compute_numogram_signature(aq_val: int) -> dict[str, Any]` in `src/hyperstitionstud_io/ciphers/__init__.py` returning:
|
||||||
|
- `zone`: $z = dr_9(\text{AQ}) \in \{0..9\}$,
|
||||||
|
- `syzygy_twin`: $z^* = (9 - z) \pmod 9$,
|
||||||
|
- `trakt_current`: $\Delta_{\text{trakt}} = |z - z^*| \in \{1, 3, 5, 7, 9\}$,
|
||||||
|
- `region`: `"Warp {3,6,9}"` if $z \in \{3,6,9\}$ else (`"Plex/Torque {1,8,2,7,4,5}"` if $z \in \{1,2,4,5,7,8\}$ else `"Zero-Zone {0}"`), and
|
||||||
|
- `cumulation_gate`: $G(z) = z(z+1)//2$ (`dr_9(G(z))`).
|
||||||
|
2. Adds `Numogram Warp {3,6,9}` and `Numogram Torque/Plex {1,8,2,7,4,5}` options to `#flagFilter` in `/graph/index.html` and displays the full Numogram signature in the `/graph/` Selected Node Inspector and `/calc/` breakdown.
|
||||||
|
- **Strategy `2B` (Add `compute_numogram_signature()` & `/graph/` Node Inspector Badge Only — Partial Candidate):**
|
||||||
|
- Displays the Numogram Region & Cumulation Gate in the `/graph/` right-hand inspector without adding new `#flagFilter` dropdown options.
|
||||||
|
- **Strategy `2C` (Retain Basic `9`-Sum Syzygy Filter Only — Status Quo):**
|
||||||
|
- Keeps only the existing `filter=syzygy` check.
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
### Audit Point 3: Gilles Deleuze & Félix Guattari — Rhizomatic Transverse Shortest-Path Finder (`Node A -> Node B`) & Smooth-vs-Striated Space Ratio (`/graph/` & `/quant/`)
|
||||||
|
|
||||||
|
- **Strategy `3A` (Interactive Rhizomatic Transverse Path-Finder in `/graph/` Left Sidebar + Smooth-vs-Striated Space Ratio in `/quant/` — Recommended Candidate):**
|
||||||
|
- **What Changes:**
|
||||||
|
1. In `/graph/index.html`, adds a compact **Rhizomatic Line-of-Flight Path-Finder (`From Node -> To Node [Trace Rhizome]`)** in the left sidebar that computes the shortest path across `encyclopedia-graph.json` while **excluding hierarchical arborescent edges (`IN_DIVISION`, `IN_VOLUME`)** so every hop traverses purely rhizomatic/transversal edges (`CLOSES_REPDIGIT_EQ`, `G1_COLLAPSES_TO_ING_AQ`, `G2_CROSS_GEN_TWIN`, `TROPHIC_GUILD_BRIDGE`), highlighting the transversal path in bright Emerald/Gold on the canvas!
|
||||||
|
2. In `quant/timeseries.py` and `/quant/` Panel 2/4, adds each instrument's **Smooth vs. Striated Space Ratio** ($S_{\text{striated}} = \text{share of days pinned to discrete AQ gridlines } D \ge 2$ vs. $S_{\text{smooth}} = \text{nomadic drift at } D = 0$).
|
||||||
|
- **Strategy `3B` (Add Smooth-vs-Striated Space Ratio in `/quant/` & MCP Graph Tool Only — Partial Candidate):**
|
||||||
|
- Exposes rhizomatic transversal path-finding via `hs_query_knowledge_graph` in MCP and the Smooth/Striated ratio in `/quant/` without adding a sidebar path-finder widget to `/graph/index.html`.
|
||||||
|
- **Strategy `3C` (Defer Rhizomatic Path-Finder & Smooth/Striated Ratio — Status Quo):**
|
||||||
|
- Leaves `/graph/` and `/quant/` unchanged.
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
### Audit Point 4: John Michael Greer — 16 Geomantic Tetragrams from `{0,1}^4` Dose Gates, Kammerer Law-of-Series Burst Index ($F$) & Catabolic ETI Stress Simulator (`/quant/` & `lenses`)
|
||||||
|
|
||||||
|
- **Strategy `4A` (Bijective `{0,1}^4 -> 16 Geomantic Figures` Mapping on Daily Bars + Law-of-Series Fano Burst Coefficient $F = \sigma^2_D/\mu_D$ + Catabolic ETI Contraction Lens in `/quant/` — Recommended Candidate):**
|
||||||
|
- **What Changes:**
|
||||||
|
1. Maps the 4 binary Confluence Dose indicator gates (`[b_entity, b_guild, b_wire, b_repdigit] \in \{0,1\}^4`) on every daily bar in `quant/timeseries.py` and `/quant/` to its exact **16-Figure Geomantic Tetragram** (`0000` *Populus*, `1111` *Via*, `0011` *Fortuna Major*, `1100` *Fortuna Minor*, `1010` *Acquisitio*, `0101` *Amissio*, `0110` *Conjunctio*, `1001` *Carcer*, `0111` *Caput Draconis*, `1110` *Cauda Draconis*, etc., with Unicode tetragram glyph `☵/☰` and figure name in the `/quant/` bar inspector).
|
||||||
|
2. Computes Kammerer's **Law-of-Series Fano Burst Index** ($F_i = \sigma^2_{D,i} / \max(0.01, \mu_{D,i})$) for each ticker to flag non-Poisson serial clustering of high-dose synchronicities ($F_i > 1.0$).
|
||||||
|
3. Adds a **Greerian Catabolic Resilience Score (`catabolic_resilience`)** in `lenses/__init__.py` that stress-tests each `S1–S6` build under a `-50%` contraction of high-maintenance `CAP` and `VEL` subsidies, rewarding low-overhead `COL` (structural resonance) and `ARM` (defensive moat).
|
||||||
|
- **Strategy `4B` (16 Geomantic Tetragram Bar Readout + Law-of-Series Fano Factor Only, Without Catabolic Stress Score — Partial Candidate):**
|
||||||
|
- Adds the `{0,1}^4` Geomantic Figure name and Fano Burst Index $F_i$ to `quant/timeseries.py` and `/quant/` without modifying `lenses/__init__.py`.
|
||||||
|
- **Strategy `4C` (Defer Greerian Geomantic, Law-of-Series & Catabolic Operators — Status Quo):**
|
||||||
|
- Keeps existing `Dose D \in {0..4}` scalar integer readout only.
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
### Audit Point 5: Giordano Bruno — 3-Ring Combinatorial Shadow-Wheel (*Rota Umbrarum*) Inspector in `/graph/` Mode 2 & MCP (`hs_query_knowledge_graph`)
|
||||||
|
|
||||||
|
- **Strategy `5A` (Interactive Brunonian 3-Ring *Rota Umbrarum* Combinatorial Triad Inspector in `/graph/` Mode 2 & MCP — Recommended Candidate):**
|
||||||
|
- **What Changes:**
|
||||||
|
1. In `/graph/` (`Mode 2: Concentric ETI Radar`) and `hs_query_knowledge_graph`, adds a **Brunonian *Rota Umbrarum* 3-Ring Combinatorial Alignment Inspector** that rotates any selected node's **Outer Shadow (`Gen 0 Written English AQ`)**, **Middle Voice (`Gen 1 Phonemic Ingglish AQ`)**, and **Inner Seal (`Taxon Build / Numogram Syzygy Twin`)** to list all contingent 3-ring triads across the `388`-node graph where `Ring 1` of Specimen A locks onto `Ring 2` of Specimen B and `Ring 3` of Build C!
|
||||||
|
- **Strategy `5B` (Expose 3-Ring Combinatorial Triad Query in `hs_query_knowledge_graph` MCP Tool Only — Partial Candidate):**
|
||||||
|
- Adds `mode="bruno_rota_umbrarum"` to `hs_query_knowledge_graph` without adding UI controls to `/graph/index.html`.
|
||||||
|
- **Strategy `5C` (Defer Brunonian 3-Ring Graph Inspector to `/learn/` Plan #50 Only — Status Quo):**
|
||||||
|
- Restricts the Brunonian *Rota Umbrarum* wheel exclusively to `/learn/` (Plan #50 Audit Point 4).
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## 4. Summary Matrix of Audit Points `1–5` for Stepwise Review (`Rule C.3`)
|
||||||
|
|
||||||
|
| Audit Point | Thinker & Theoretical Operator | Target Surfaces | Strategy `A` (Full Cross-Workbench Operator + UI — Recommended) | Strategy `B` (Backend / Readout Only) | Strategy `C` (Deferred) |
|
||||||
|
| :--- | :--- | :--- | :--- | :--- | :--- |
|
||||||
|
| **Point 1** | **Michel Serres** (*Parasitic Noise $P(w)$ & Clinamen Swerve $\delta \in \{1,2\}$*) | `ciphers`, `quant/timeseries.py`, `/quant/` | **`1A`:** `compute_serres_parasite_metrics()` + Clinamen Swerve detector & `?screen=clinamen` filter in `/quant/` | **`1B`:** Python helper & `/math/` `M2` only | **`1C`:** Status quo |
|
||||||
|
| **Point 2** | **Nick Land** (*Decimal Numogram `0..9`, `Warp/Plex/Torque` & Gate $G(z)$*) | `ciphers`, `/graph/`, `/calc/` | **`2A`:** `compute_numogram_signature()` + `/graph/` `#flagFilter` (`Warp {3,6,9}` / `Torque`) + Node Inspector | **`2B`:** Node Inspector readout only | **`2C`:** Keep `syzygy` only |
|
||||||
|
| **Point 3** | **Deleuze & Guattari** (*Rhizomatic Transverse Path-Finder & Smooth/Striated Ratio*) | `/graph/`, `quant/timeseries.py`, `/quant/` | **`3A`:** Non-arborescent Rhizomatic Path-Finder widget in `/graph/` sidebar + Smooth/Striated ratio in `/quant/` | **`3B`:** MCP path-finder + `/quant/` ratio only | **`3C`:** Status quo |
|
||||||
|
| **Point 4** | **John Michael Greer** (*`{0,1}^4` 16 Geomantic Figures, Law-of-Series Fano $F$ & Catabolic ETI*) | `quant/timeseries.py`, `lenses`, `/quant/` | **`4A`:** 16 Geomantic Figures on daily bars + Law-of-Series Fano Burst $F_i$ + Catabolic ETI Resilience score | **`4B`:** 16 Geomantic Figures + Fano $F_i$ only | **`4C`:** Status quo |
|
||||||
|
| **Point 5** | **Giordano Bruno** (*3-Ring Combinatorial Shadow-Wheel `Rota Umbrarum`*) | `/graph/` Mode 2 & `mcp/tools.py` | **`5A`:** Interactive 3-Ring Combinatorial Triad Inspector in `/graph/` Mode 2 + `hs_query_knowledge_graph` | **`5B`:** MCP tool query mode only | **`5C`:** `/learn/` Plan #50 only |
|
||||||
Binary file not shown.
@@ -0,0 +1,100 @@
|
|||||||
|
# PLAN: Piecewise Grimoiric Transformation of `/learn/` — Integrated with Giordano Bruno's *Rota Umbrarum*, Nick Land's Numogram, Michel Serres's *Parasite*, Deleuze-Guattari Double Articulation & John Michael Greer's Geomantic Tetragrams (`Audit Points 1–5`, `Rule C` Piecewise Specification)
|
||||||
|
|
||||||
|
**Document ID:** `PLAN-PIECEWISE-GRIMOIRIC-LEARN-PAGE`
|
||||||
|
**Status:** `PENDING AUDIT PIECEWISE (docs/plans/piecewise/ — 0/5 AUDIT POINTS AFFIRMED, ENRICHED WITH SERRES / LAND / D&G / GREER / BRUNO CONTINGENT-MEANING OPERATORS)`
|
||||||
|
**Companion Cross-Workbench Plan:** `PLAN-PIECEWISE-CONTINGENT-MEANING-SERRES-LAND-DG-GREER-BRUNO` (Plan #64)
|
||||||
|
**Target Ecosystem Version:** `v2.17.0` (Baseline: `v2.16.0`)
|
||||||
|
**Target Repositories:** `hyperstitionstudio-core`, `encyclopedia-knowledge-graph`
|
||||||
|
**Author:** m00t & Hermes Agent
|
||||||
|
**Date:** 2026-12-01
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## 1. Ground-Truth Audit: Current `/learn/` Surface (`v2.16.0`) & Philosophical Contingent-Meaning Integration (`Rule C.1`)
|
||||||
|
|
||||||
|
Per `Rule C` of `hyperstitionstudio-roadmap-and-release`, we audit `/workspace/hyperstitionstudio-core/site/learn/index.html` and `site/learn/learn-app.js` (`v2.16.0`) and integrate concrete, deterministic operators from **Giordano Bruno**, **Michel Serres**, **Nick Land**, **Gilles Deleuze & Félix Guattari**, and **John Michael Greer** where their thought intersects with contingent meaning in the `282`-term glossary, `190` bilingual specimens, `72+` dated news dossiers, and practitioner-curated `learn-progress-state` JSON ledgers:
|
||||||
|
|
||||||
|
| Audit Point & `/learn/` Surface | What Exists in `/learn/` Today (`v2.16.0`) | Philosophical Contingent-Meaning Upgrade (`Bruno, Serres, Land, D&G, Greer`) |
|
||||||
|
| :--- | :--- | :--- |
|
||||||
|
| **Audit Point 1**<br/>*Header, Sticky State Bar (`#statePortabilityBar`) & Brunonian Seal Ribbon* | • `#statePortabilityBar` shows `"0 / 6 Modules Completed (0%)"`, a plain progress bar, `"Download State (.json)"`, and `"dag-json CIDv1: baguqeera..."` | • **Giordano Bruno (*Triginta Sigilli* / Seals of Memory):** Frame `#statePortabilityBar` as the **Personal Grimoire & Talismanic Seal Ledger**, displaying an interactive **6-Seal 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 content-addressed **Cryptographic Talisman Seal (`baguqeera...`)**. |
|
||||||
|
| **Audit Point 2**<br/>*Folios `M01–M06`: Dual-Register Grimoiric Folios, Serresian Parasitic Noise (`M02`) & Deleuze-Guattari Double Articulation (`M04`)* | • Cards labeled `Module M01 // Foundation Cipher` .. `Module M06 // Applied Decision Registers` with generic `"Mark Module Complete"` buttons and plain textareas | • **Dual-Register Grimoiric Folios:** Give each module (`M01–M06`) its Hermetic Seal & Folio Title alongside its novice-friendly math explanation:<br/> - `M01 (☿ Bruno — De Umbris Idearum)`: The Base-36 Cabbala & Combinatorial Shadows<br/> - `M02 (☉ Serres — Le Parasite)`: Incantation vs. Orthographic Channel Noise ($P(w) = \text{AQ}_{\text{eng}} - \text{AQ}_{\text{ing}}$)<br/> - `M03 (∆ Greer & Kammerer — Law of Series)`: The $37 \times 3k$ Attractor & Serial Coincidence Clustering<br/> - `M04 (⊗ Deleuze & Guattari — Plateau 3)`: Double Articulation (Machinic Content vs. Overcoded Expression)<br/> - `M05 (☍ Land & D&G — Smooth vs. Striated)`: Concentric ETI Apex Predators & Rhizomatic Flex Pivots<br/> - `M06 (♄ Greer — Natural Magic & Catabolic Resilience)`: The Four Registers & Book of Coordinates. |
|
||||||
|
| **Audit Point 3**<br/>*Landian Numogrammatic Syzygy, Trakt Current (`Warp / Plex / Torque`), Cumulation Gate & Serresian Parasite Readout in `M01` & `M02`* | • `M01` computes `computeAQ(a)` and `[PRIME]`; `M02` computes `Gen 0 vs Gen 1` drift $\Delta$<br/>• Neither sandbox exposes the **CCRU Decimal Numogram** or **Serresian Channel-Noise Ratio** | • **Nick Land (*Decimal Labyrinth / Barker's Numogram*) & Michel Serres (*The Parasite*):** Augment `#m01Output` and `#m02Output` with:<br/> 1. **Mod-9 Digital Root $z = dr_9(N)$ & `9`-Sum Syzygy Twin $z^* = 9 - z$** (`1::8, 2::7, 3::6, 4::5`),<br/> 2. **Trakt Difference Current** $\Delta_{\text{trakt}} = |z - z^*| \in \{1,3,5,7,9\}$ & **Numogram Region** (`Warp {3,6,9}`, `Plex {1,8,2,7,4,5}`, `Torque`),<br/> 3. **Triangular Cumulation Gate** $G(z) = z(z+1)/2 \pmod 9$,<br/> 4. **Serresian Parasitic Ghost-Mass Ratio** $\eta_{\text{parasite}} = |\text{AQ}_{\text{eng}} - \text{AQ}_{\text{ing}}| / \text{AQ}_{\text{eng}}$ in `M02`, and<br/> 5. A 1-click **`[ + Inscribe Coordinate to Grimoire Ledger ]`** button! |
|
||||||
|
| **Audit Point 4**<br/>*Giordano Bruno's Concentric Combinatorial Shadow-Wheel (`*Rota Umbrarum*`, `<svg id="grimoireSigilSvg">`)* | • `#m01Output` and `#m06Output` output plain monospace text only; no visual combinatorial wheel or sigil is rendered | • **Giordano Bruno (*De Umbris Idearum* [1582]):** Embed a deterministic, zero-dependency Group 3 **`<svg id="grimoireSigilSvg" viewBox="0 0 280 280">`** panel beside `#m01Output` that renders Bruno's **Concentric Combinatorial Shadow-Wheel (*Rota Umbrarum*)**—plotting the `9` Mod-9 Chambers (`1..9`, Inner Ring) and `36` Base-36 Decans (`0..9, A..Z`, Outer Ring) and tracing both the **Gen 0 Written Shadow Path** (amber dashed vector) and the **Gen 1 Spoken Phonemic Path** (emerald solid vector), with 1-click **`[ Download Talisman Sigil (.svg) ]`**! |
|
||||||
|
| **Audit Point 5**<br/>*Greerian 16 Geomantic Tetragrams, Law-of-Series Burst Readout & Rhizomatic `/graph/` Links in `Module M06` (`#bookmarkedCoordsList`)* | • `#bookmarkedCoordsList` renders bare pills (`AQ 137 ×`) that delete on click without inspecting correspondences | • **John Michael Greer (*Sacred Geometry / Geomancy / Law of Series*) & Deleuze-Guattari (*Rhizome*):** Clicking a bookmarked coordinate pill in `#bookmarkedCoordsList` opens `#bookmarkCorrespondenceBox`, displaying:<br/> 1. Its canonical `Gen 1 Ingglish` equivalence lock & `dr_9` Numogram Syzygy,<br/> 2. Its **4-Gate Binary Tetragram (`{0,1}^4`: `[Prime | 37×3k Repdigit | G1 Zero-Var | G4 Isometric]`) mapped to its classical 16-Figure Geomantic Seal** (*Fortuna Major*, *Acquisitio*, *Conjunctio*, *Caput Draconis*, *Via*, *Populus*, etc.),<br/> 3. **Law-of-Series Coincidence Density** across the practitioner's bookmarked set, and<br/> 4. A 1-click **`[ Open aq:<N> in Knowledge Graph Radar ↗ ]`** link! |
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## 2. Four Factual Binary Design & Engineering Gates (`G1–G4`, Zero Synthetic Data)
|
||||||
|
|
||||||
|
- **`Gate G1` (100% Novice-Accessible Dual-Voice — Philosophical & Grimoiric Depth Without Obscuring First-Principles Math):** Every module retains its crystal-clear novice mathematical explanation while layering authentic philosophical/grimoiric operators (`Bruno, Serres, Land, Deleuze & Guattari, Greer`).
|
||||||
|
- **`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 Brunonian wheel geometry, Landian Numogram math, Serresian noise decomposition, and Greerian 16-figure geomantic mappings 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`, `Rule C.2`)
|
||||||
|
|
||||||
|
Each Audit Point is independent and reviewed strictly one at a time under the Turn-Ending Invariant (`Rule C.3`).
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
### 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: Parasite ] [ ∆ III: Series ] [ ⊗ IV: Strata ] [ ☍ V: Rhizome ] [ ♄ VI: Geomancy ]`) inside `#statePortabilityBar` where clicking any seal scrolls smoothly to that folio (`#card-M01..M06`) and consecrated seals glow in Gold & Emerald.
|
||||||
|
- **Strategy `1B` (Update Subtitle Copy Only — Minimal Candidate):**
|
||||||
|
- Updates text framing without adding the interactive 6-Seal Consecration Ribbon.
|
||||||
|
- **Strategy `1C` (Keep Current Progress Bar Only — Status Quo):**
|
||||||
|
- Leaves `#statePortabilityBar` unchanged.
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
### Audit Point 2: The Six Folio Cards (`#card-M01` through `#card-M06`) — Philosophical Epigraphs (Bruno, Serres, Greer, D&G, Land) & Marginalia Framing
|
||||||
|
- **Strategy `2A` (Dual-Register Grimoiric Folio Headers, Philosophical Axiom Banners [Bruno, Serres, Greer, Deleuze & Guattari, Land] & Marginalia Prompts Across `M01–M06` — Recommended Candidate):**
|
||||||
|
- Upgrades each `.module-card` (`#card-M01`..`#card-M06`) with a Group 3 Folio Kicker & Seal, a 1-line philosophical axiom connecting the math to Bruno (`M01`), Serres (`M02`), Greer/Kammerer (`M03`), Deleuze & Guattari (`M04`), Land (`M05`), and Greerian Catabolic/Geomantic Synthesis (`M06`), and Marginalia labels on `.note-area` while keeping all novice math explanations and DOM IDs intact.
|
||||||
|
- **Strategy `2B` (Folio Kicker Badges Only Without Philosophical Axiom Banners — Partial Candidate):**
|
||||||
|
- Adds the seal kicker badges only.
|
||||||
|
- **Strategy `2C` (Keep Existing Module Titles & Labels — Status Quo):**
|
||||||
|
- Leaves `M01–M06` headings unchanged.
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
### Audit Point 3: Landian Numogram (`dr_9`, `9`-Sum Syzygy, Trakt Current `Warp/Plex/Torque`, Cumulation Gate) & Serresian Parasitic Noise Readout in `M01` & `M02`
|
||||||
|
- **Strategy `3A` (Enrich `#m01Output` & `#m02Output` with Landian Decimal Numogram Telemetry + Serresian Parasitic Ghost-Mass Ratio + 1-Click `[ + Inscribe Coordinate to Grimoire ]` Button — Recommended Candidate):**
|
||||||
|
- Augments `#m01Output` and `#m02Output` with Mod-9 Digital Root $z = dr_9(N)$, Syzygy Twin $z^* = 9 - z$, Trakt Current $\Delta_{\text{trakt}} = |z - z^*|$ (`Warp {3,6,9}` vs `Plex {1,8,2,7,4,5}`), Triangular Cumulation Gate $G(z) = z(z+1)/2 \pmod 9$, Serresian Parasitic Channel Noise $P(w) = \text{AQ}_{\text{eng}} - \text{AQ}_{\text{ing}}$ in `M02`, and a 1-click `[ + Inscribe Coordinate to Grimoire Ledger ]` button.
|
||||||
|
- **Strategy `3B` (Add `dr_9(n)` & Syzygy Text Only Without 1-Click Inscription — Partial Candidate):**
|
||||||
|
- Prints `dr_9` and syzygy text only.
|
||||||
|
- **Strategy `3C` (Leave `M01` & `M02` Readouts Unchanged — Status Quo):**
|
||||||
|
- Keeps only the basic sum and prime check.
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
### Audit Point 4: Giordano Bruno's Concentric Combinatorial Shadow-Wheel (`*Rota Umbrarum*`, `<svg id="grimoireSigilSvg">`)
|
||||||
|
- **Strategy `4A` (Interactive Brunonian 2-Ring Combinatorial Shadow-Wheel `<svg id="grimoireSigilSvg">` in `Module M01` Tracing Gen 0 Shadow vs. Gen 1 Vox Paths + `.svg` Export — Recommended Candidate):**
|
||||||
|
- Embeds `<svg id="grimoireSigilSvg" viewBox="0 0 280 280">` beside `#m01Output` plotting the Outer 36-Decan Base-36 Ring and Inner 9-Chamber Mod-9 Ring, tracing both the Gen 0 Written Shadow vector and Gen 1 Phonemic vector for the entered phrase, with a `[ Download Talisman Sigil (.svg) ]` button.
|
||||||
|
- **Strategy `4B` (Single-Ring 9-Chamber Polygon Only Without `.svg` Download — Partial Candidate):**
|
||||||
|
- Renders a 9-point polygon without the outer 36-decan ring or `.svg` export.
|
||||||
|
- **Strategy `4C` (Text-Only Readouts, No Sigil Wheel — Status Quo):**
|
||||||
|
- Omits visual sigil generation.
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
### Audit Point 5: Greerian 16 Geomantic Tetragrams, Law-of-Series Coincidence Density & Rhizomatic `/graph/` Links in `Module M06` (`#bookmarkedCoordsList`)
|
||||||
|
- **Strategy `5A` (Interactive `#bookmarkCorrespondenceBox` with Greerian 16-Figure Geomantic Tetragram `[Prime | Repdigit | G1 | G4]`, Law-of-Series Coincidence Density & Direct `/graph/?select=aq:<N>` Launch — Recommended Candidate):**
|
||||||
|
- Clicking any bookmarked coordinate pill in `#bookmarkedCoordsList` inspects its Canonical Grimoire Correspondence in `#bookmarkCorrespondenceBox`: its `Gen 1` corpus lock, Landian `dr_9` syzygy, Greerian 4-bit Geomantic Figure (*Fortuna Major*, *Acquisitio*, *Conjunctio*, *Caput Draconis*, etc.), Law-of-Series cluster density across the user's bookmarks, and a 1-click `[ Open aq:<N> in Knowledge Graph Radar ↗ ]` launcher.
|
||||||
|
- **Strategy `5B` (Tooltip `title` Attribute Only on Pills — Minimal Candidate):**
|
||||||
|
- Adds a hover tooltip only.
|
||||||
|
- **Strategy `5C` (Keep Click-to-Delete Pills Only — Status Quo):**
|
||||||
|
- Leaves `#bookmarkedCoordsList` unchanged.
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## 4. Summary Matrix of Audit Points `1–5` for Stepwise Review (`Rule C.3`)
|
||||||
|
|
||||||
|
| Audit Point | Target `/learn/` Surface | Strategy `A` (Full Philosophical & Grimoiric Operator — Recommended) | Strategy `B` (Minimal / Partial Change) | Strategy `C` (Status Quo) |
|
||||||
|
| :--- | :--- | :--- | :--- | :--- |
|
||||||
|
| **Point 1** | **Header & `#statePortabilityBar`** (*Bruno: Seals*) | **`1A`:** 6-Seal Consecration Ribbon (`[☿ I]..[♄ VI]`) + Cryptographic `CIDv1` Talisman Seal | **`1B`:** Subtitle copy only | **`1C`:** Keep current progress bar |
|
||||||
|
| **Point 2** | **Folios `M01–M06` Cards** (*Bruno, Serres, Greer, D&G, Land*) | **`2A`:** Dual-register Folio titles, Hermetic seals, philosophical axiom banners & Marginalia prompts | **`2B`:** Folio kicker badges only | **`2C`:** Keep current module titles |
|
||||||
|
| **Point 3** | **`M01` & `M02` Sandboxes** (*Land: Numogram & Serres: Parasite*) | **`3A`:** Landian `dr_9`, `9`-Sum Syzygy, Trakt (`Warp/Plex`), Gate $G(z)$, Serresian Parasite $P(w)$, & `[+ Inscribe]` button | **`3B`:** `dr_9` & syzygy text only | **`3C`:** Keep current readout |
|
||||||
|
| **Point 4** | **Combinatorial Wheel (`#grimoireSigilSvg`)** (*Bruno: Rota Umbrarum*) | **`4A`:** Interactive 2-Ring (`36`-Decan + `9`-Chamber) `<svg id="grimoireSigilSvg">` + `.svg` export | **`4B`:** Single-ring polygon only | **`4C`:** No SVG sigil wheel |
|
||||||
|
| **Point 5** | **`M06` Coordinate Bookmarks** (*Greer: Geomancy & Law of Series*) | **`5A`:** `#bookmarkCorrespondenceBox` with 16 Geomantic Figures (`{0,1}^4`), Law-of-Series density, & `/graph/` link | **`5B`:** Hover tooltip only | **`5C`:** Click-to-delete only |
|
||||||
Binary file not shown.
@@ -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`
|
||||||
@@ -2,7 +2,7 @@
|
|||||||
"$schema": "./schemas/v1/encyclopedia-graph.schema.json",
|
"$schema": "./schemas/v1/encyclopedia-graph.schema.json",
|
||||||
"$id": "urn:io:hyperstitionstud:schema:v1:encyclopedia-graph",
|
"$id": "urn:io:hyperstitionstud:schema:v1:encyclopedia-graph",
|
||||||
"namespace_urn": "urn:io:hyperstitionstud:ns:kg:1.0",
|
"namespace_urn": "urn:io:hyperstitionstud:ns:kg:1.0",
|
||||||
"version": "2.4.0",
|
"version": "2.17.0",
|
||||||
"encyclopedia_base_path": "../technocapital-singularity-zoology/encyclopedia",
|
"encyclopedia_base_path": "../technocapital-singularity-zoology/encyclopedia",
|
||||||
"upstream_repository": "/workspace/technocapital-singularity-zoology",
|
"upstream_repository": "/workspace/technocapital-singularity-zoology",
|
||||||
"isolation_verified": {
|
"isolation_verified": {
|
||||||
|
|||||||
+1
-1
@@ -3,7 +3,7 @@ window.HyperstitionStudio.EncyclopediaGraphData = {
|
|||||||
"$schema": "./schemas/v1/encyclopedia-graph.schema.json",
|
"$schema": "./schemas/v1/encyclopedia-graph.schema.json",
|
||||||
"$id": "urn:io:hyperstitionstud:schema:v1:encyclopedia-graph",
|
"$id": "urn:io:hyperstitionstud:schema:v1:encyclopedia-graph",
|
||||||
"namespace_urn": "urn:io:hyperstitionstud:ns:kg:1.0",
|
"namespace_urn": "urn:io:hyperstitionstud:ns:kg:1.0",
|
||||||
"version": "2.4.0",
|
"version": "2.17.0",
|
||||||
"encyclopedia_base_path": "../technocapital-singularity-zoology/encyclopedia",
|
"encyclopedia_base_path": "../technocapital-singularity-zoology/encyclopedia",
|
||||||
"upstream_repository": "/workspace/technocapital-singularity-zoology",
|
"upstream_repository": "/workspace/technocapital-singularity-zoology",
|
||||||
"isolation_verified": {
|
"isolation_verified": {
|
||||||
|
|||||||
+277
-65
@@ -3,25 +3,29 @@
|
|||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8" />
|
<meta charset="UTF-8" />
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||||
<title>Encyclopedia of Technocapital Singularity Zoology — Interactive Knowledge Graph (v2.8.1)</title>
|
<title>Encyclopedia of Technocapital Singularity Zoology — Interactive Knowledge Graph (v2.17.0)</title>
|
||||||
|
<link rel="stylesheet" href="/assets/hs-group3-basalt-chamfer.css?v=2.17.0" onerror="this.onerror=null;this.href='../hyperstitionstudio-core/site/assets/hs-group3-basalt-chamfer.css';" />
|
||||||
<style>
|
<style>
|
||||||
:root {
|
:root {
|
||||||
|
--font-mono: 'DejaVu Sans Mono', 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
|
||||||
--bg-canvas: #020617;
|
--bg-canvas: #020617;
|
||||||
--bg-panel: #0c1324;
|
--bg-panel: #0c1324;
|
||||||
--bg-card: #111a2e;
|
--bg-card: #0c1324;
|
||||||
|
--bg-elevated: #111a2e;
|
||||||
|
--bg-well: #070d1b;
|
||||||
--border-col: #26344d;
|
--border-col: #26344d;
|
||||||
--text-main: #e2e8f0;
|
--text-main: #f8fafc;
|
||||||
--text-muted: #94a3b8;
|
--text-muted: #94a3b8;
|
||||||
--accent-red: #f43f5e;
|
--accent-red: #f43f5e;
|
||||||
--accent-cyan: #38bdf8;
|
--accent-cyan: #22d3ee;
|
||||||
--accent-gold: #f59e0b;
|
--accent-gold: #f5c630;
|
||||||
--accent-mint: #10b981;
|
--accent-mint: #34d399;
|
||||||
}
|
}
|
||||||
* { box-sizing: border-box; margin: 0; padding: 0; }
|
* { box-sizing: border-box; margin: 0; padding: 0; }
|
||||||
body {
|
body {
|
||||||
background: var(--bg-canvas);
|
background: var(--bg-canvas);
|
||||||
color: var(--text-main);
|
color: var(--text-main);
|
||||||
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "DejaVu Sans", sans-serif;
|
font-family: var(--font-mono);
|
||||||
height: 100vh;
|
height: 100vh;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
display: flex;
|
display: flex;
|
||||||
@@ -29,39 +33,45 @@
|
|||||||
}
|
}
|
||||||
header {
|
header {
|
||||||
background: var(--bg-panel);
|
background: var(--bg-panel);
|
||||||
border-bottom: 2px solid var(--accent-red);
|
border: 1px solid var(--border-col);
|
||||||
padding: 10px 18px;
|
border-left: 4px solid var(--accent-cyan);
|
||||||
|
padding: 1.1rem 1.35rem;
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
gap: 14px;
|
gap: 0.85rem;
|
||||||
z-index: 20;
|
z-index: 20;
|
||||||
}
|
}
|
||||||
.brand h1 {
|
.brand h1 {
|
||||||
font-size: 16px;
|
font-size: 0.98rem;
|
||||||
font-weight: 700;
|
font-weight: 700;
|
||||||
letter-spacing: 0.3px;
|
letter-spacing: -0.02em;
|
||||||
color: var(--text-main);
|
color: var(--text-main);
|
||||||
}
|
}
|
||||||
.brand p {
|
.brand p {
|
||||||
font-size: 11.5px;
|
font-size: 0.71rem;
|
||||||
color: var(--text-muted);
|
color: var(--text-muted);
|
||||||
margin-top: 2px;
|
margin-top: 0.25rem;
|
||||||
}
|
}
|
||||||
.toolbar {
|
.toolbar {
|
||||||
|
background: #0c1324;
|
||||||
|
border-bottom: 1px solid var(--border-col);
|
||||||
|
padding: 8px 18px;
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
gap: 8px;
|
gap: 8px;
|
||||||
flex-wrap: wrap;
|
flex-wrap: wrap;
|
||||||
|
z-index: 18;
|
||||||
}
|
}
|
||||||
.btn {
|
.btn {
|
||||||
background: var(--bg-card);
|
background: #132038;
|
||||||
color: var(--text-main);
|
color: var(--text-main);
|
||||||
border: 1px solid var(--border-col);
|
border: 1px solid var(--border-col);
|
||||||
border-radius: 5px;
|
border-radius: 5px;
|
||||||
padding: 6px 11px;
|
padding: 6px 11px;
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
|
font-family: var(--font-mono);
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
transition: all 0.15s ease;
|
transition: all 0.15s ease;
|
||||||
}
|
}
|
||||||
@@ -72,22 +82,24 @@
|
|||||||
color: #121318;
|
color: #121318;
|
||||||
}
|
}
|
||||||
.search-input {
|
.search-input {
|
||||||
background: #101217;
|
background: var(--bg-well);
|
||||||
color: var(--text-main);
|
color: var(--text-main);
|
||||||
border: 1px solid var(--border-col);
|
border: 1px solid var(--border-col);
|
||||||
border-radius: 5px;
|
border-radius: 5px;
|
||||||
padding: 6px 10px;
|
padding: 6px 10px;
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
|
font-family: var(--font-mono);
|
||||||
width: 220px;
|
width: 220px;
|
||||||
}
|
}
|
||||||
.search-input:focus { outline: none; border-color: var(--accent-cyan); }
|
.search-input:focus { outline: none; border-color: var(--accent-cyan); }
|
||||||
.filter-select {
|
.filter-select {
|
||||||
background: var(--bg-card);
|
background: var(--bg-well);
|
||||||
color: var(--text-main);
|
color: var(--text-main);
|
||||||
border: 1px solid var(--border-col);
|
border: 1px solid var(--border-col);
|
||||||
border-radius: 5px;
|
border-radius: 5px;
|
||||||
padding: 6px 9px;
|
padding: 6px 9px;
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
|
font-family: var(--font-mono);
|
||||||
}
|
}
|
||||||
.workspace {
|
.workspace {
|
||||||
flex: 1;
|
flex: 1;
|
||||||
@@ -137,12 +149,12 @@
|
|||||||
gap: 5px;
|
gap: 5px;
|
||||||
}
|
}
|
||||||
.coord-pill {
|
.coord-pill {
|
||||||
background: var(--bg-card);
|
background: var(--bg-elevated);
|
||||||
border: 1px solid var(--border-col);
|
border: 1px solid var(--border-col);
|
||||||
color: var(--accent-cyan);
|
color: var(--accent-cyan);
|
||||||
padding: 3px 7px;
|
padding: 3px 7px;
|
||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
font-family: monospace;
|
font-family: var(--font-mono);
|
||||||
font-size: 11px;
|
font-size: 11px;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
@@ -167,11 +179,11 @@
|
|||||||
position: absolute;
|
position: absolute;
|
||||||
bottom: 12px;
|
bottom: 12px;
|
||||||
left: 14px;
|
left: 14px;
|
||||||
background: rgba(20, 23, 31, 0.90);
|
background: rgba(12, 19, 36, 0.92);
|
||||||
border: 1px solid var(--border-col);
|
border: 1px solid var(--border-col);
|
||||||
border-radius: 6px;
|
border-radius: 6px;
|
||||||
padding: 7px 12px;
|
padding: 7px 12px;
|
||||||
font-family: monospace;
|
font-family: var(--font-mono);
|
||||||
font-size: 11.5px;
|
font-size: 11.5px;
|
||||||
color: var(--text-muted);
|
color: var(--text-muted);
|
||||||
pointer-events: none;
|
pointer-events: none;
|
||||||
@@ -203,12 +215,12 @@
|
|||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
font-size: 10.5px;
|
font-size: 10.5px;
|
||||||
font-weight: 700;
|
font-weight: 700;
|
||||||
font-family: monospace;
|
font-family: var(--font-mono);
|
||||||
background: var(--bg-card);
|
background: var(--bg-elevated);
|
||||||
border: 1px solid var(--border-col);
|
border: 1px solid var(--border-col);
|
||||||
}
|
}
|
||||||
.kv-box {
|
.kv-box {
|
||||||
background: var(--bg-card);
|
background: var(--bg-well);
|
||||||
border: 1px solid var(--border-col);
|
border: 1px solid var(--border-col);
|
||||||
border-radius: 6px;
|
border-radius: 6px;
|
||||||
padding: 9px 10px;
|
padding: 9px 10px;
|
||||||
@@ -221,11 +233,11 @@
|
|||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
gap: 5px;
|
gap: 5px;
|
||||||
font-family: monospace;
|
font-family: var(--font-mono);
|
||||||
font-size: 11px;
|
font-size: 11px;
|
||||||
}
|
}
|
||||||
.eq-list li {
|
.eq-list li {
|
||||||
background: #141720;
|
background: #0c1324;
|
||||||
padding: 6px 8px;
|
padding: 6px 8px;
|
||||||
border-left: 3px solid var(--accent-mint);
|
border-left: 3px solid var(--accent-mint);
|
||||||
border-radius: 3px;
|
border-radius: 3px;
|
||||||
@@ -251,7 +263,7 @@
|
|||||||
overflow-y: auto;
|
overflow-y: auto;
|
||||||
}
|
}
|
||||||
.neighbor-item {
|
.neighbor-item {
|
||||||
background: var(--bg-card);
|
background: var(--bg-elevated);
|
||||||
padding: 5px 8px;
|
padding: 5px 8px;
|
||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
font-size: 11.5px;
|
font-size: 11.5px;
|
||||||
@@ -262,33 +274,95 @@
|
|||||||
border: 1px solid transparent;
|
border: 1px solid transparent;
|
||||||
}
|
}
|
||||||
.neighbor-item:hover { border-color: var(--accent-cyan); }
|
.neighbor-item:hover { border-color: var(--accent-cyan); }
|
||||||
|
.mobile-graph-drawer-toggles {
|
||||||
|
display: none;
|
||||||
|
position: absolute;
|
||||||
|
top: 10px;
|
||||||
|
left: 10px;
|
||||||
|
z-index: 25;
|
||||||
|
gap: 6px;
|
||||||
|
}
|
||||||
|
html[data-device-ui="mobile"] .mobile-graph-drawer-toggles {
|
||||||
|
display: flex;
|
||||||
|
}
|
||||||
|
html[data-device-ui="mobile"] .left-sidebar {
|
||||||
|
position: absolute;
|
||||||
|
top: 0;
|
||||||
|
left: 0;
|
||||||
|
bottom: 0;
|
||||||
|
width: min(290px, 86vw);
|
||||||
|
z-index: 30;
|
||||||
|
display: none;
|
||||||
|
box-shadow: 8px 0 28px rgba(0, 0, 0, 0.85);
|
||||||
|
}
|
||||||
|
html[data-device-ui="mobile"] .left-sidebar.mobile-open {
|
||||||
|
display: flex;
|
||||||
|
}
|
||||||
|
html[data-device-ui="mobile"] .right-drawer {
|
||||||
|
position: absolute;
|
||||||
|
left: 0;
|
||||||
|
right: 0;
|
||||||
|
bottom: 0;
|
||||||
|
width: 100%;
|
||||||
|
max-height: 54vh;
|
||||||
|
border-left: none;
|
||||||
|
border-top: 2px solid var(--accent-cyan);
|
||||||
|
z-index: 30;
|
||||||
|
display: none;
|
||||||
|
box-shadow: 0 -10px 28px rgba(0, 0, 0, 0.85);
|
||||||
|
}
|
||||||
|
html[data-device-ui="mobile"] .right-drawer.mobile-open {
|
||||||
|
display: flex;
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<header>
|
<header class="hs-plate-g3">
|
||||||
<div class="brand">
|
<div class="brand">
|
||||||
<h1>ENCYCLOPEDIA OF TECHNOCAPITAL SINGULARITY ZOOLOGY — INTERACTIVE KNOWLEDGE GRAPH</h1>
|
<div class="title-row">
|
||||||
<p>Standalone Sibling Repository (/workspace/encyclopedia-knowledge-graph) • 388 Nodes • 1,282 Deduplicated Edges • Zero Glossary Leak • v2.8.1</p>
|
<span class="dot" style="background:var(--accent-cyan);box-shadow:0 0 10px var(--accent-cyan);" aria-hidden="true"></span>
|
||||||
</div>
|
<h1>ENCYCLOPEDIA OF TECHNOCAPITAL SINGULARITY ZOOLOGY — INTERACTIVE KNOWLEDGE GRAPH</h1>
|
||||||
<div class="toolbar">
|
</div>
|
||||||
<button class="btn active" data-mode="mode2_radar">Mode 2: ETI Radar (S+ -> D Periphery)</button>
|
<p class="subtitle">388 Nodes • 1,282 Deduplicated Edges • Zero Glossary Leak • v2.17.0</p>
|
||||||
<button class="btn" data-mode="mode1_trophic">Mode 1: Trophic Food-Web</button>
|
|
||||||
<button class="btn" data-mode="mode3_bipartite">Mode 3: Gen 0 -> Gen 1 Funnel</button>
|
|
||||||
<button class="btn" data-mode="mode4_hierarchy">Mode 4: 00–08 Folder Grid</button>
|
|
||||||
<input type="text" id="searchInput" class="search-input" placeholder="Search headword, Ingglish, or AQ (e.g. 125)..." />
|
|
||||||
<select id="flagFilter" class="filter-select">
|
|
||||||
<option value="all">Filter: All Nodes</option>
|
|
||||||
<option value="iso">G4 Isometric Fixed Points (Δ=0)</option>
|
|
||||||
<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="m7">M7_candidate_2026_11_28</option>
|
|
||||||
</select>
|
|
||||||
<button class="btn" id="resetViewBtn">Reset View</button>
|
|
||||||
<button class="btn" id="exportPngBtn">Export PNG</button>
|
|
||||||
</div>
|
</div>
|
||||||
|
<nav class="top-nav hs-global-nav" aria-label="Primary Ecosystem Navigation">
|
||||||
|
<a class="btn" id="graphNavHome" href="/">Portal Home (/)</a>
|
||||||
|
<a class="btn" id="graphNavCalc" href="/calc/index.html">Calculator</a>
|
||||||
|
<a class="btn" id="graphNavQuant" href="/quant/index.html" style="border-color:var(--accent-gold);color:var(--accent-gold);">Quant</a>
|
||||||
|
<a class="btn primary" id="graphNavSelf" aria-current="page" href="/graph/index.html">Graph</a>
|
||||||
|
<a class="btn" id="graphNavLearn" href="/learn/index.html" style="border-color:var(--accent-mint);color:var(--accent-mint);">Learn</a>
|
||||||
|
<a class="btn" id="graphNavEng" href="/engineering/index.html">Engineering</a>
|
||||||
|
<a class="btn" id="graphNavMath" href="/math/index.html">Math</a>
|
||||||
|
<span class="nav-donate-sep" aria-hidden="true"></span>
|
||||||
|
<a class="btn-donate-pill" id="graphNavDonate" href="/donate/index.html?from=graph" title="Signal Patronage & Open-Instrument Notes (/donate/)"><span class="donate-pill-emblem" aria-hidden="true">♥</span><span>DONATE</span></a>
|
||||||
|
</nav>
|
||||||
</header>
|
</header>
|
||||||
|
|
||||||
|
<div class="toolbar hs-subnav-bar" aria-label="Knowledge Graph Mode and Filter Controls">
|
||||||
|
<button class="btn active" data-mode="mode2_radar">Mode 2: ETI Radar (S+ -> D Periphery)</button>
|
||||||
|
<button class="btn" data-mode="mode1_trophic">Mode 1: Trophic Food-Web</button>
|
||||||
|
<button class="btn" data-mode="mode3_bipartite">Mode 3: Gen 0 -> Gen 1 Funnel</button>
|
||||||
|
<button class="btn" data-mode="mode4_hierarchy">Mode 4: 00–08 Folder Grid</button>
|
||||||
|
<input type="text" id="searchInput" class="search-input" placeholder="Search headword, Ingglish, or AQ (e.g. 125)..." />
|
||||||
|
<select id="flagFilter" class="filter-select">
|
||||||
|
<option value="all">Filter: All Nodes</option>
|
||||||
|
<option value="iso">G4 Isometric Fixed Points (Δ=0)</option>
|
||||||
|
<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 ≥ 3</option>
|
||||||
|
<option value="10">Min Degree ≥ 10</option>
|
||||||
|
<option value="25">Min Degree ≥ 25 (Hubs)</option>
|
||||||
|
</select>
|
||||||
|
<button class="btn" id="resetViewBtn">Reset View</button>
|
||||||
|
<button class="btn" id="exportPngBtn">Export PNG</button>
|
||||||
|
</div>
|
||||||
|
|
||||||
<div class="workspace">
|
<div class="workspace">
|
||||||
<aside class="left-sidebar">
|
<aside class="left-sidebar">
|
||||||
<div class="panel-section">
|
<div class="panel-section">
|
||||||
@@ -310,6 +384,10 @@
|
|||||||
</aside>
|
</aside>
|
||||||
|
|
||||||
<div class="canvas-wrap">
|
<div class="canvas-wrap">
|
||||||
|
<div class="mobile-graph-drawer-toggles">
|
||||||
|
<button type="button" class="btn" id="mobileGraphFiltersBtn">⚙ Ontology & Filters</button>
|
||||||
|
<button type="button" class="btn" id="mobileGraphInspectorBtn">ⓘ Node Inspector</button>
|
||||||
|
</div>
|
||||||
<canvas id="graphCanvas"></canvas>
|
<canvas id="graphCanvas"></canvas>
|
||||||
<div class="hud-stats" id="hudStats">Loading Encyclopedia Knowledge Graph...</div>
|
<div class="hud-stats" id="hudStats">Loading Encyclopedia Knowledge Graph...</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -321,10 +399,11 @@
|
|||||||
</aside>
|
</aside>
|
||||||
</div>
|
</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;">
|
<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.1 • Made with <span class="hs-heart" role="img" aria-label="love" style="color:#FB7185;display:inline-block;padding:0 2px;">♥</span> by Lemurs.</span>
|
<span class="hs-lemur-credit">hyperstitionstud.io/graph v2.17.0 • Made with <span class="hs-heart" role="img" aria-label="love" style="color:#FB7185;display:inline-block;padding:0 2px;">♥</span> by Lemurs.</span>
|
||||||
</footer>
|
</footer>
|
||||||
|
|
||||||
<script src="graph-data.js?v=2.8.1"></script>
|
<script src="graph-data.js?v=2.17.0"></script>
|
||||||
|
<script src="/assets/hs-mobile-ui.js?v=2.17.0" defer></script>
|
||||||
<script>
|
<script>
|
||||||
(function() {
|
(function() {
|
||||||
const DATA = (window.HyperstitionStudio && window.HyperstitionStudio.EncyclopediaGraphData) || window.ENCYCLOPEDIA_GRAPH_DATA;
|
const DATA = (window.HyperstitionStudio && window.HyperstitionStudio.EncyclopediaGraphData) || window.ENCYCLOPEDIA_GRAPH_DATA;
|
||||||
@@ -459,12 +538,22 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
const FLEX_SET = new Set([292, 256, 211, 193, 183, 153, 137, 136, 133, 125, 96, 95, 91, 81]);
|
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) {
|
function nodePassesFilter(n) {
|
||||||
if (!activeNodeTypes.has(n.node_type)) return false;
|
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 === "iso" && !n.isometric) return false;
|
||||||
if (activeFlag === "twinp" && !n.twin_prime) return false;
|
if (activeFlag === "twinp" && !n.twin_prime) return false;
|
||||||
if (activeFlag === "g3" && !n.g3_quantized_step) 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 === "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 (activeFlag === "m7" && !((n.classes && n.classes.includes("M7_candidate_2026_11_28")) || n.id.includes("M7"))) return false;
|
||||||
if (searchQuery) {
|
if (searchQuery) {
|
||||||
const q = searchQuery.toLowerCase();
|
const q = searchQuery.toLowerCase();
|
||||||
@@ -513,7 +602,7 @@
|
|||||||
ctx.stroke();
|
ctx.stroke();
|
||||||
ctx.setLineDash([]);
|
ctx.setLineDash([]);
|
||||||
ctx.fillStyle = col + "CC";
|
ctx.fillStyle = col + "CC";
|
||||||
ctx.font = "bold 10px monospace";
|
ctx.font = "bold 10px 'DejaVu Sans Mono', monospace";
|
||||||
ctx.textAlign = "center";
|
ctx.textAlign = "center";
|
||||||
ctx.fillText(txt, 800, 500 - r + 12);
|
ctx.fillText(txt, 800, 500 - r + 12);
|
||||||
});
|
});
|
||||||
@@ -533,17 +622,19 @@
|
|||||||
ctx.lineWidth = 1;
|
ctx.lineWidth = 1;
|
||||||
ctx.stroke();
|
ctx.stroke();
|
||||||
ctx.fillStyle = "#F5C630";
|
ctx.fillStyle = "#F5C630";
|
||||||
ctx.font = "bold 11px monospace";
|
ctx.font = "bold 11px 'DejaVu Sans Mono', monospace";
|
||||||
ctx.textAlign = "center";
|
ctx.textAlign = "center";
|
||||||
ctx.fillText(txt, x, 30);
|
ctx.fillText(txt, x, 30);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
const egoSet = getNeighborhoodSet(selectedNode);
|
const egoSet = getNeighborhoodSet(selectedNode);
|
||||||
|
const lodActive = DATA.nodes.length > 500 && camScale < 0.85;
|
||||||
let visNodes = 0, visEdges = 0;
|
let visNodes = 0, visEdges = 0;
|
||||||
|
|
||||||
DATA.edges.forEach(e => {
|
DATA.edges.forEach(e => {
|
||||||
if (!activeEdgeRels.has(e.relation) || e.source === e.target) return;
|
if (!activeEdgeRels.has(e.relation) || e.source === e.target) return;
|
||||||
|
if (lodActive && !egoSet && e.relation === "IN_VOLUME") return;
|
||||||
const n1 = nodeMap[e.source];
|
const n1 = nodeMap[e.source];
|
||||||
const n2 = nodeMap[e.target];
|
const n2 = nodeMap[e.target];
|
||||||
if (!n1 || !n2 || !nodePassesFilter(n1) || !nodePassesFilter(n2)) return;
|
if (!n1 || !n2 || !nodePassesFilter(n1) || !nodePassesFilter(n2)) return;
|
||||||
@@ -584,9 +675,16 @@
|
|||||||
ctx.stroke();
|
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.fillStyle = "#F3F5FA";
|
||||||
ctx.font = n.node_type === "TaxonAssemblageBuild" ? "bold 11px sans-serif" : "10px monospace";
|
ctx.font = n.node_type === "TaxonAssemblageBuild" ? "bold 11px 'DejaVu Sans Mono', monospace" : "10px 'DejaVu Sans Mono', monospace";
|
||||||
ctx.textAlign = "center";
|
ctx.textAlign = "center";
|
||||||
ctx.fillText(n.label.slice(0, 32), pos.x, pos.y + r + 12);
|
ctx.fillText(n.label.slice(0, 32), pos.x, pos.y + r + 12);
|
||||||
}
|
}
|
||||||
@@ -610,9 +708,15 @@
|
|||||||
titleEl.textContent = "Click any node to inspect its Encyclopedia Article";
|
titleEl.textContent = "Click any node to inspect its Encyclopedia Article";
|
||||||
badgesEl.innerHTML = "";
|
badgesEl.innerHTML = "";
|
||||||
bodyEl.innerHTML = `<div class="kv-box">Select any specimen, philosophical operator, ETI build, or AQ coordinate hub on the canvas (or click one of the 13 Flex Pivot pills on the left) to inspect its bidirectional Base-36 AQ telemetry, verified 333/666/777 equations, and Volume PDF link.</div>`;
|
bodyEl.innerHTML = `<div class="kv-box">Select any specimen, philosophical operator, ETI build, or AQ coordinate hub on the canvas (or click one of the 13 Flex Pivot pills on the left) to inspect its bidirectional Base-36 AQ telemetry, verified 333/666/777 equations, and Volume PDF link.</div>`;
|
||||||
|
const drw = document.getElementById("inspectorDrawer");
|
||||||
|
if (drw) drw.classList.remove("mobile-open");
|
||||||
draw();
|
draw();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
const drwOpen = document.getElementById("inspectorDrawer");
|
||||||
|
if (drwOpen && document.documentElement.getAttribute("data-device-ui") === "mobile") {
|
||||||
|
drwOpen.classList.add("mobile-open");
|
||||||
|
}
|
||||||
|
|
||||||
titleEl.textContent = n.full_term || n.full_title || n.label;
|
titleEl.textContent = n.full_term || n.full_title || n.label;
|
||||||
badgesEl.innerHTML = `<span class="badge" style="color:${n.color}">${n.node_type}</span>` +
|
badgesEl.innerHTML = `<span class="badge" style="color:${n.color}">${n.node_type}</span>` +
|
||||||
@@ -686,16 +790,28 @@
|
|||||||
|
|
||||||
if (neighbors.length) {
|
if (neighbors.length) {
|
||||||
const nl = document.getElementById("nbrList");
|
const nl = document.getElementById("nbrList");
|
||||||
neighbors.slice(0, 40).forEach(item => {
|
function renderNeighborRows(limitCount) {
|
||||||
const row = document.createElement("div");
|
nl.innerHTML = "";
|
||||||
row.className = "neighbor-item";
|
neighbors.slice(0, limitCount).forEach(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>`;
|
const row = document.createElement("div");
|
||||||
row.addEventListener("click", () => {
|
row.className = "neighbor-item";
|
||||||
selectNode(item.node);
|
row.innerHTML = `<span style="color:${item.node.color};font-weight:600;">${item.node.label.slice(0, 26)}</span> <span style="font-family:var(--font-mono);font-size:10px;color:#9BA3B8;">${item.rel}</span>`;
|
||||||
centerOnNode(item.node);
|
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();
|
draw();
|
||||||
}
|
}
|
||||||
@@ -704,12 +820,13 @@
|
|||||||
return { x: (sx - camX) / camScale, y: (sy - camY) / camScale };
|
return { x: (sx - camX) / camScale, y: (sy - camY) / camScale };
|
||||||
}
|
}
|
||||||
|
|
||||||
function findNodeAt(wx, wy) {
|
function findNodeAt(wx, wy, minHitRadius) {
|
||||||
|
const minR = minHitRadius || 6;
|
||||||
for (let i = DATA.nodes.length - 1; i >= 0; i--) {
|
for (let i = DATA.nodes.length - 1; i >= 0; i--) {
|
||||||
const n = DATA.nodes[i];
|
const n = DATA.nodes[i];
|
||||||
if (!nodePassesFilter(n)) continue;
|
if (!nodePassesFilter(n)) continue;
|
||||||
const pos = n.layouts[currentMode];
|
const pos = n.layouts[currentMode];
|
||||||
const r = Math.max(6, n.size * 0.42);
|
const r = Math.max(minR, n.size * 0.42);
|
||||||
const dx = wx - pos.x, dy = wy - pos.y;
|
const dx = wx - pos.x, dy = wy - pos.y;
|
||||||
if (dx * dx + dy * dy <= r * r) return n;
|
if (dx * dx + dy * dy <= r * r) return n;
|
||||||
}
|
}
|
||||||
@@ -759,6 +876,85 @@
|
|||||||
draw();
|
draw();
|
||||||
}, { passive: false });
|
}, { passive: false });
|
||||||
|
|
||||||
|
// Strategy 3A (Plan #66): Mobile Multi-Touch (1-Finger Tap/Pan + 2-Finger Pinch-to-Zoom) & Drawer Toggles
|
||||||
|
const leftSbEl = document.querySelector(".left-sidebar");
|
||||||
|
const rightDrwEl = document.getElementById("inspectorDrawer");
|
||||||
|
const mobFltBtn = document.getElementById("mobileGraphFiltersBtn");
|
||||||
|
const mobInspBtn = document.getElementById("mobileGraphInspectorBtn");
|
||||||
|
if (mobFltBtn && leftSbEl) {
|
||||||
|
mobFltBtn.addEventListener("click", () => {
|
||||||
|
leftSbEl.classList.toggle("mobile-open");
|
||||||
|
if (rightDrwEl) rightDrwEl.classList.remove("mobile-open");
|
||||||
|
});
|
||||||
|
}
|
||||||
|
if (mobInspBtn && rightDrwEl) {
|
||||||
|
mobInspBtn.addEventListener("click", () => {
|
||||||
|
rightDrwEl.classList.toggle("mobile-open");
|
||||||
|
if (leftSbEl) leftSbEl.classList.remove("mobile-open");
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
let touchStartX = 0, touchStartY = 0, touchMoved = false, pinchStartDist = 0, pinchStartScale = 1.0;
|
||||||
|
canvas.addEventListener("touchstart", e => {
|
||||||
|
if (e.touches.length === 1) {
|
||||||
|
const t = e.touches[0];
|
||||||
|
touchStartX = t.clientX;
|
||||||
|
touchStartY = t.clientY;
|
||||||
|
dragStartX = t.clientX - camX;
|
||||||
|
dragStartY = t.clientY - camY;
|
||||||
|
touchMoved = false;
|
||||||
|
isDragging = true;
|
||||||
|
} else if (e.touches.length === 2) {
|
||||||
|
isDragging = false;
|
||||||
|
touchMoved = true;
|
||||||
|
const dx = e.touches[0].clientX - e.touches[1].clientX;
|
||||||
|
const dy = e.touches[0].clientY - e.touches[1].clientY;
|
||||||
|
pinchStartDist = Math.max(10, Math.hypot(dx, dy));
|
||||||
|
pinchStartScale = camScale;
|
||||||
|
}
|
||||||
|
}, { passive: true });
|
||||||
|
|
||||||
|
canvas.addEventListener("touchmove", e => {
|
||||||
|
if (e.touches.length === 1 && isDragging) {
|
||||||
|
const t = e.touches[0];
|
||||||
|
if (Math.hypot(t.clientX - touchStartX, t.clientY - touchStartY) > 8) {
|
||||||
|
touchMoved = true;
|
||||||
|
}
|
||||||
|
if (touchMoved) {
|
||||||
|
e.preventDefault();
|
||||||
|
camX = t.clientX - dragStartX;
|
||||||
|
camY = t.clientY - dragStartY;
|
||||||
|
draw();
|
||||||
|
}
|
||||||
|
} else if (e.touches.length === 2) {
|
||||||
|
e.preventDefault();
|
||||||
|
const rect = canvas.getBoundingClientRect();
|
||||||
|
const mx = ((e.touches[0].clientX + e.touches[1].clientX) * 0.5) - rect.left;
|
||||||
|
const my = ((e.touches[0].clientY + e.touches[1].clientY) * 0.5) - rect.top;
|
||||||
|
const dx = e.touches[0].clientX - e.touches[1].clientX;
|
||||||
|
const dy = e.touches[0].clientY - e.touches[1].clientY;
|
||||||
|
const dist = Math.max(10, Math.hypot(dx, dy));
|
||||||
|
const newScale = Math.max(0.22, Math.min(4.5, pinchStartScale * (dist / pinchStartDist)));
|
||||||
|
camX = mx - (mx - camX) * (newScale / camScale);
|
||||||
|
camY = my - (my - camY) * (newScale / camScale);
|
||||||
|
camScale = newScale;
|
||||||
|
draw();
|
||||||
|
}
|
||||||
|
}, { passive: false });
|
||||||
|
|
||||||
|
canvas.addEventListener("touchend", e => {
|
||||||
|
if (!touchMoved && e.changedTouches && e.changedTouches.length === 1) {
|
||||||
|
const t = e.changedTouches[0];
|
||||||
|
const rect = canvas.getBoundingClientRect();
|
||||||
|
const wpt = screenToWorld(t.clientX - rect.left, t.clientY - rect.top);
|
||||||
|
const hit = findNodeAt(wpt.x, wpt.y, 14);
|
||||||
|
selectNode(hit || null);
|
||||||
|
}
|
||||||
|
if (!e.touches || e.touches.length === 0) {
|
||||||
|
isDragging = false;
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
document.querySelectorAll("[data-mode]").forEach(btn => {
|
document.querySelectorAll("[data-mode]").forEach(btn => {
|
||||||
btn.addEventListener("click", () => {
|
btn.addEventListener("click", () => {
|
||||||
document.querySelectorAll("[data-mode]").forEach(b => b.classList.remove("active"));
|
document.querySelectorAll("[data-mode]").forEach(b => b.classList.remove("active"));
|
||||||
@@ -778,12 +974,22 @@
|
|||||||
draw();
|
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", () => {
|
document.getElementById("resetViewBtn").addEventListener("click", () => {
|
||||||
selectedNode = null;
|
selectedNode = null;
|
||||||
searchQuery = "";
|
searchQuery = "";
|
||||||
activeFlag = "all";
|
activeFlag = "all";
|
||||||
|
minDegreeThreshold = 0;
|
||||||
document.getElementById("searchInput").value = "";
|
document.getElementById("searchInput").value = "";
|
||||||
document.getElementById("flagFilter").value = "all";
|
document.getElementById("flagFilter").value = "all";
|
||||||
|
if (minDegEl) minDegEl.value = "0";
|
||||||
selectNode(null);
|
selectNode(null);
|
||||||
resetCamera();
|
resetCamera();
|
||||||
});
|
});
|
||||||
@@ -798,8 +1004,14 @@
|
|||||||
window.addEventListener("resize", resizeCanvas);
|
window.addEventListener("resize", resizeCanvas);
|
||||||
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 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");
|
const reqMode = urlParams.get("mode");
|
||||||
if (reqMode && ["mode1_trophic", "mode2_radar", "mode3_bipartite"].includes(reqMode)) {
|
if (reqMode && ["mode1_trophic", "mode2_radar", "mode3_bipartite"].includes(reqMode)) {
|
||||||
currentMode = 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",
|
"$schema": "./schemas/v1/encyclopedia-graph.schema.json",
|
||||||
"$id": URN_SCHEMA_GRAPH,
|
"$id": URN_SCHEMA_GRAPH,
|
||||||
"namespace_urn": URN_GRAPH_NS,
|
"namespace_urn": URN_GRAPH_NS,
|
||||||
"version": "2.8.1",
|
"version": "2.17.0",
|
||||||
"encyclopedia_base_path": "../technocapital-singularity-zoology/encyclopedia",
|
"encyclopedia_base_path": "../technocapital-singularity-zoology/encyclopedia",
|
||||||
"upstream_repository": str(upstream_repo),
|
"upstream_repository": str(upstream_repo),
|
||||||
"isolation_verified": {
|
"isolation_verified": {
|
||||||
|
|||||||
Reference in new issue
Block a user