Compare commits

..
22 Commits
Author SHA1 Message Date
Hermes Agent e3a77c1bf5 Release v2.0.29: Add PLAN-ARCHIVE-ROTATION-AND-COMPRESSION-ECONOMIZER and synchronize version 2.0.29 2026-11-30 22:19:07 +00:00
Hermes Agent e27952cc0a Release v2.0.28: Refresh all 84 web-interface-linked and encyclopedia PDFs into Group 3 Dark Mode via hs-pdf-build --refresh-all-web-pdfs 2026-11-30 22:14:26 +00:00
Hermes Agent 4e242ba2fd Release v2.0.27: Guard optional host pypdf/reportlab in test_core_suite.py and ignore math-mode | bars in _split_markdown_table_row 2026-11-30 21:51:10 +00:00
Hermes Agent 198bbb2d3e Release v2.0.26: Guard optional pypdf/reportlab host import in test_core_suite.py while always verifying _format_inline and _split_markdown_table_row 2026-11-30 21:50:09 +00:00
Hermes Agent 0de9d616f1 Release v2.0.25: Dark-mode hs-pdf-build, bidirectional 14-point census & Dose 0..3+, FRED macro indicators, 5-agenda Bayesian daily brief, one-shot .png+.json chatbot stats cards, Group 3 unified style, and minimal /donate/ reduction 2026-11-30 21:47:09 +00:00
Hermes Agent 8de82a373d chore(version-sync): synchronize Knowledge Graph version to v2.0.24 2026-11-30 08:52:52 +00:00
Hermes Agent 2533f54c49 chore(version-sync): synchronize Knowledge Graph version to v2.0.23 2026-11-30 08:26:12 +00:00
Hermes Agent 29a2379eb0 docs(plans,version-sync): add PLAN-QUANT-INTERFACE-INFO-ICONS and PLAN-LEXICAL-AND-ETYMOLOGICAL-SIMPLIFICATION and synchronize version to v2.0.22 2026-11-30 07:55:22 +00:00
Hermes Agent 223da598a5 chore(version-sync): synchronize Knowledge Graph version to v2.0.21 2026-11-30 07:39:14 +00:00
Hermes Agent 7e3351243e chore(version-sync): synchronize Knowledge Graph version to v2.0.20 2026-11-30 07:19:04 +00:00
Hermes Agent b106de6025 feat(graph,docs): add ?select= & ?mode= deep-link query handling and archive completed v2.0.19 plans 2026-11-30 07:17:05 +00:00
Hermes Agent c3461ab629 docs(plans,archive,vps): archive completed SQLite metadata DB plan, add active/deferred plans, and update VPS deployment guide to v2.0.19 2026-11-30 06:44:27 +00:00
m00t & Hermes Agent ed75c20322 docs(archive,vps): archive completed /quant/, LENS_REGISTRY, and REST API plans and update VPS deployment guide to v2.0.18 2026-11-30 05:41:36 +00:00
m00t & Hermes Agent 2e2472b97d chore(version-sync): synchronize visible site version badges and graph bundle to v2.0.17 2026-11-30 04:56:16 +00:00
m00t & Hermes Agent 2122060fad chore(version-sync): synchronize visible site version badges and graph bundle to v2.0.16 2026-11-30 04:52:40 +00:00
m00t & Hermes Agent 8160b2c206 chore(version-sync): synchronize visible site version badges and graph bundle to v2.0.15 2026-11-30 04:49:09 +00:00
m00t & Hermes Agent ee35a86823 docs(economizer,archive): add PLAN-LLM-TOKEN-ECONOMIZER-DATA-FIDELITY-AND-DEGRADATION-RISK-EVALUATION.{md,pdf}, archive completed v2.0.x plans, and bump to v2.0.14 2026-11-30 04:40:48 +00:00
Hermes Agent 2e025d7671 chore(version-sync): synchronize visible site version badges across index.html, flow diagram, and graph bundle to v2.0.13 2026-11-30 04:02:44 +00:00
Hermes Agent a559d74527 docs(vps): document default idempotent Caddyfile/systemd sync and --no-caddy flag in Section 5.3 (v2.0.12) 2026-11-30 04:00:26 +00:00
Hermes Agent 1316dc1b8f docs(gallery): mark /gallery/ memetic artifact gallery as long-term plan disabled in Caddy for now (v2.0.11) 2026-11-30 03:50:05 +00:00
Hermes Agent a5a14690bf docs(vps): add hyperstition-mcp.service and /mcp reverse-proxy setup to Step 6 of VPS deployment guide (v2.0.10) 2026-11-30 03:48:10 +00:00
Hermes Agent 91bd2839a9 docs(review): add post-v2.0.8 review of completed and outstanding plans (v2.0.9) 2026-11-30 03:45:45 +00:00
80 changed files with 2808 additions and 832 deletions

No files matched your search

Binary file not shown.
@@ -1,143 +0,0 @@
%PDF-1.4
%“Œ‹ž ReportLab Generated PDF document (opensource)
1 0 obj
<<
/F1 2 0 R /F2 3 0 R /F3 4 0 R /F4 6 0 R
>>
endobj
2 0 obj
<<
/BaseFont /Helvetica /Encoding /WinAnsiEncoding /Name /F1 /Subtype /Type1 /Type /Font
>>
endobj
3 0 obj
<<
/BaseFont /Helvetica-Bold /Encoding /WinAnsiEncoding /Name /F2 /Subtype /Type1 /Type /Font
>>
endobj
4 0 obj
<<
/BaseFont /Courier /Encoding /WinAnsiEncoding /Name /F3 /Subtype /Type1 /Type /Font
>>
endobj
5 0 obj
<<
/Contents 13 0 R /MediaBox [ 0 0 612 792 ] /Parent 12 0 R /Resources <<
/Font 1 0 R /ProcSet [ /PDF /Text /ImageB /ImageC /ImageI ]
>> /Rotate 0 /Trans <<
>>
/Type /Page
>>
endobj
6 0 obj
<<
/BaseFont /ZapfDingbats /Name /F4 /Subtype /Type1 /Type /Font
>>
endobj
7 0 obj
<<
/Contents 14 0 R /MediaBox [ 0 0 612 792 ] /Parent 12 0 R /Resources <<
/Font 1 0 R /ProcSet [ /PDF /Text /ImageB /ImageC /ImageI ]
>> /Rotate 0 /Trans <<
>>
/Type /Page
>>
endobj
8 0 obj
<<
/Contents 15 0 R /MediaBox [ 0 0 612 792 ] /Parent 12 0 R /Resources <<
/Font 1 0 R /ProcSet [ /PDF /Text /ImageB /ImageC /ImageI ]
>> /Rotate 0 /Trans <<
>>
/Type /Page
>>
endobj
9 0 obj
<<
/Contents 16 0 R /MediaBox [ 0 0 612 792 ] /Parent 12 0 R /Resources <<
/Font 1 0 R /ProcSet [ /PDF /Text /ImageB /ImageC /ImageI ]
>> /Rotate 0 /Trans <<
>>
/Type /Page
>>
endobj
10 0 obj
<<
/PageMode /UseNone /Pages 12 0 R /Type /Catalog
>>
endobj
11 0 obj
<<
/Author (Hermes Agent) /CreationDate (D:20261130013940+00'00') /Creator (\(unspecified\)) /Keywords () /ModDate (D:20261130013940+00'00') /Producer (ReportLab PDF Library - \(opensource\))
/Subject (\(unspecified\)) /Title (Technical Assessment: Integrating the IPLD dag-json Codec \(0x0129\) Across the hyperstitionstud.io JSON Data Ecosystem) /Trapped /False
>>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Oc&Ns69#_JY@oR.g)9iB<d):2rk=Lh7n=$&`[:6(^.B3_2'm,pZb+XuB!hsNrh_29;qu4g3^?T?i7''$D[o/\h3eVV"NOo6i.i7XJSWM<*)Q6=YRJF<%2q"KEnjm_[Xn@3/7Rs4`(e$9\DhKO<laij`"(In+5/9djlY>$ITqsMB-"&Qs<'X_39gNj!FBpYQdO*BT7s1fjTJRH]eWCMVRU'"_1Io1OV!m^2ao?"ke*fi`p3&_\nEn[da.LXbAU+e(EB]os+qD7FRL%EHQOR9qFnb[$M8a!<733Jd$lW^7IP+$N;.fWja?RZPV/)f(]iB$QCHS:926bJNL)rsd_WrtN`h"7cZ7pghS5]"q,C>GL0$7Dg=M38a;`;t+[dp*2+"\ee#7O/XK_iC/oq?MRdidNWnKt[A.-FX4+]hrQ='[T'D[2.1nD)>caG"50-'^ksTQtRY1>I^a4(t,WQ@OdslO>HAUZ^ta6B-pL?H1`d(4q1rmDA/t~>endstream
endobj
xref
0 17
0000000000 65535 f
0000000061 00000 n
0000000122 00000 n
0000000229 00000 n
0000000341 00000 n
0000000446 00000 n
0000000641 00000 n
0000000724 00000 n
0000000919 00000 n
0000001114 00000 n
0000001309 00000 n
0000001379 00000 n
0000001765 00000 n
0000001843 00000 n
0000004779 00000 n
0000007712 00000 n
0000009669 00000 n
trailer
<<
/ID
[<121d51de5c36d44eb7dd25d082a1b0df><121d51de5c36d44eb7dd25d082a1b0df>]
% ReportLab generated PDF document -- digest (opensource)
/Info 11 0 R
/Root 10 0 R
/Size 17
>>
startxref
10612
%%EOF
@@ -0,0 +1,77 @@
# Plan: Rotating Completed Archives (`docs/archive/`) Into Compressed Cold-Storage Bundles (`.tar.gz`) to Economize Stylistic Refreshes, Revisions & Search Sweeps (`v2.0.28`)
- **Document ID:** `PLAN-ARCHIVE-ROTATION-AND-COMPRESSION-ECONOMIZER` (`v2.0.28`)
- **Roadmap Status:** **ACTIVE / READY**
- **Target Directories & Modules:**
- `/workspace/encyclopedia-knowledge-graph/docs/archive/` (`56` loose `.md`/`.pdf` files = `3,215,398` bytes -> compressed `completed-plans-archive.tar.gz` + `archive-manifest.json` + `README.md`)
- `/workspace/technocapital-singularity-zoology/docs/archive/` (`6` completed loose `.md`/`.pdf` files -> compressed `completed-plans-archive.tar.gz` + `archive-manifest.json`; moving the deferred `podcast-series-plan-encyclopedia-of-technocapital-singularity-zoology.{md,pdf}` for `Episodes 06–09` up to `technocapital-singularity-zoology/docs/` so `docs/archive/` holds strictly completed cold records)
- `/workspace/hyperstitionstudio-core/src/hyperstitionstud_io/publishing/archive_rotator.py` (`hs-archive-rotate` CLI & deterministic `.tar.gz` rotator)
- `/workspace/hyperstitionstudio-core/src/hyperstitionstud_io/publishing/pdf_compiler.py` (Excluding `docs/archive/` from `discover_web_and_repo_pdf_pairs()`)
- `/workspace/hyperstitionstudio-core/tests/test_core_suite.py`
---
## 1. Problem Statement & Empirical Economy Analysis
Currently, completed planning documents and historical audits are stored as **uncompressed loose `.md` and `.pdf` files** inside `/workspace/encyclopedia-knowledge-graph/docs/archive/` (`28` `.md` + `28` `.pdf` = `56` files, `3.22 MB`) and `/workspace/technocapital-singularity-zoology/docs/archive/` (`4` `.md` + `4` `.pdf` = `8` files, `351 KB`):
| Overhead Dimension | Current Uncompressed Loose `docs/archive/` State | After Compressed `.tar.gz` Rotation & Archive Exclusion | Measured Savings |
| :--- | :--- | :--- | :---: |
| **1. Stylistic PDF Refreshes (`hs-pdf-build --refresh-all-web-pdfs`)** | `84` total `.md -> .pdf` compilations (`32` of which are historical `docs/archive/` files never linked from the web UI). | **`52` active/web-linked `.md -> .pdf` compilations** (`0` compilations inside `docs/archive/`). | **`-38.1%` fewer PDFs compiled** (`32` redundant PDF builds eliminated on every refresh) |
| **2. Repository Content Search (`search_files` / `rglob("*.md")`)** | Every content search or glob sweep scans `31` historical `.md` files (`~410,000` chars / `~128,000` BPE tokens of superseded specs), polluting search matches and context windows. | Loose `.md` and `.pdf` files are packed inside `completed-plans-archive.tar.gz`; only `docs/archive/README.md` and `archive-manifest.json` remain unpacked. | **`-100%` (`~128K` BPE tokens) of stale plan prose excluded from `search_files` & glob sweeps** |
| **3. Disk & `tmpfs` Webroot Footprint (`/var/www/hyperstitionstud.io/repos`)** | `3,566,151` bytes (`3.57 MB`) across `64` loose files (`128` files after `.gz`/`.br` pre-compression in `sync-vps-repos.sh`). | Single deterministic `completed-plans-archive.tar.gz` per `docs/archive/` directory + `README.md` + `archive-manifest.json` (and `sync-vps-repos.sh` `--exclude='docs/archive/*.tar.gz'`). | **`62` loose files consolidated into `2` cold `.tar.gz` bundles** |
---
## 2. Boundary Guardrail: What Gets Rotated vs. What Must Never Be Compressed
1. **Rotated Into Cold Storage (`docs/archive/completed-plans-archive.tar.gz`):**
- `/workspace/encyclopedia-knowledge-graph/docs/archive/*.{md,pdf}` (excluding `README.md`, which stays unpacked as the human-readable index).
- `/workspace/technocapital-singularity-zoology/docs/archive/*.{md,pdf}` (after moving the still-deferred `podcast-series-plan-encyclopedia-of-technocapital-singularity-zoology.{md,pdf}` for `Episodes 06–09` to `/workspace/technocapital-singularity-zoology/docs/` so no deferred plan is buried in cold storage).
2. **Never Rotated / Always Kept Live & Uncompressed:**
- `/workspace/ingglish-hyperdope-gematria/ingglish-aq-archive/dossiers/*.md` (`71` verified dossiers & `21` dated `00:00 UTC` news-wire dossiers served live at `/archive/*` and `/api/v1/dossiers/{number}` and ingested by `timeseries.py` and `sqlite_meta.py`).
- All 22 Encyclopedia PDF volumes (`/workspace/technocapital-singularity-zoology/encyclopedia/00..08/*.{md,pdf}`) and top-level `/zoology/*.{md,pdf}` manuals/proposals.
- Active and long-term deferred plans in top-level `/workspace/encyclopedia-knowledge-graph/docs/PLAN-*.{md,pdf}`.
---
## 3. Architecture of `hyperstitionstud_io.publishing.archive_rotator` (`hs-archive-rotate`)
### 3.1 Deterministic `.tar.gz` Rotation & Manifest Schema (`docs/archive/archive-manifest.json`)
The new module `/workspace/hyperstitionstudio-core/src/hyperstitionstud_io/publishing/archive_rotator.py` (registered in `pyproject.toml` as `hs-archive-rotate = "hyperstitionstud_io.publishing.archive_rotator:main"`) implements:
1. **`rotate_docs_archive_directory(archive_dir: Path) -> dict[str, Any]`:**
- If `completed-plans-archive.tar.gz` already exists in `archive_dir`, extracts its existing members into a temporary staging directory first so newly archived `.md`/`.pdf` files are **merged** into the bundle without losing any previously rotated files.
- Collects all loose `*.md` (except `README.md`) and `*.pdf` files in `archive_dir`.
- Writes a deterministic gzip-compressed tarball `completed-plans-archive.tar.gz` (`gzip.GzipFile(mtime=0)`, sorted member names, normalized `TarInfo` permissions `0644` and `mtime=0` so identical contents always produce the exact same SHA-256 digest).
- Writes `archive_dir / "archive-manifest.json"` recording:
- `bundle_filename`: `"completed-plans-archive.tar.gz"`,
- `bundle_size_bytes` and `bundle_sha256`,
- `member_count` and `total_uncompressed_bytes`,
- `members`: sorted array of `{name, size_bytes, sha256}` for every `.md` and `.pdf` stored inside the `.tar.gz` archive.
- Unlinks the loose `.md` (except `README.md`) and `.pdf` files from `archive_dir` only after verifying that every member in `archive-manifest.json` can be read back from `completed-plans-archive.tar.gz` with matching SHA-256 digests.
2. **Inspection & On-Demand Extraction CLI (`hs-archive-rotate`):**
- `hs-archive-rotate`: Rotates any loose `.md`/`.pdf` files in `encyclopedia-knowledge-graph/docs/archive/` and `technocapital-singularity-zoology/docs/archive/` into their `completed-plans-archive.tar.gz` bundles.
- `hs-archive-rotate --list`: Lists all members and SHA-256 hashes from `archive-manifest.json`.
- `hs-archive-rotate --extract <filename> --out-dir <dir>`: Extracts a specific historical `.md` or `.pdf` on demand without unpacking the rest of the archive.
### 3.2 Hardening `discover_web_and_repo_pdf_pairs()` in `src/hyperstitionstud_io/publishing/pdf_compiler.py`
- Update `discover_web_and_repo_pdf_pairs()` to explicitly skip any path whose parent directory is named `archive` (`if "archive" in p.parts: continue`), guaranteeing that even before `hs-archive-rotate` runs, `hs-pdf-build --refresh-all-web-pdfs` **never** wastes cycles recompiling archived documents.
---
## 4. Three-Phase Implementation Roadmap (`Phases 1–3`)
### Phase 1: Build `src/hyperstitionstud_io/publishing/archive_rotator.py` & Update `pdf_compiler.py`
1. Create `/workspace/hyperstitionstudio-core/src/hyperstitionstud_io/publishing/archive_rotator.py` implementing `rotate_docs_archive_directory()`, `rotate_all_docs_archives()`, `list_archive_members()`, and `extract_archive_member()`.
2. Register `hs-archive-rotate = "hyperstitionstud_io.publishing.archive_rotator:main"` in `pyproject.toml`.
3. Update `discover_web_and_repo_pdf_pairs()` in `src/hyperstitionstud_io/publishing/pdf_compiler.py` to exclude `/docs/archive/` paths.
### Phase 2: Relocate Deferred Podcast Plan & Rotate Both `docs/archive/` Directories
1. Move `/workspace/technocapital-singularity-zoology/docs/archive/podcast-series-plan-encyclopedia-of-technocapital-singularity-zoology.{md,pdf}` (`Episodes 06–09` deferred plan) up to `/workspace/technocapital-singularity-zoology/docs/` so it remains an accessible deferred plan outside cold storage.
2. Archive `PLAN-ARCHIVE-ROTATION-AND-COMPRESSION-ECONOMIZER.{md,pdf}` into `/workspace/encyclopedia-knowledge-graph/docs/archive/`, update `docs/archive/README.md`, and run `hs-archive-rotate` across both repositories so all loose historical `.md` and `.pdf` files in `docs/archive/` are rotated into `completed-plans-archive.tar.gz` + `archive-manifest.json`.
### Phase 3: Update Skill Procedure & Verify in `tests/test_core_suite.py`
1. Update `hyperstitionstudio-roadmap-and-release` (`SKILL.md` Procedure 3: Archiving Completed Plans) so archiving a completed plan moves the `.md`/`.pdf` pair into `docs/archive/`, updates `docs/archive/README.md`, and runs `hs-archive-rotate` to fold the pair into `completed-plans-archive.tar.gz`.
2. Add unit assertions in `tests/test_core_suite.py` verifying that `docs/archive/completed-plans-archive.tar.gz` and `docs/archive/archive-manifest.json` exist, contain `0` loose `.pdf` files in `docs/archive/`, and that `discover_web_and_repo_pdf_pairs()` returns `0` paths inside `docs/archive/`.
-111
View File
@@ -1,111 +0,0 @@
%PDF-1.4
%“Œ‹ž ReportLab Generated PDF document (opensource)
1 0 obj
<<
/F1 2 0 R /F2 3 0 R /F3 4 0 R /F4 5 0 R /F5 6 0 R
>>
endobj
2 0 obj
<<
/BaseFont /Helvetica /Encoding /WinAnsiEncoding /Name /F1 /Subtype /Type1 /Type /Font
>>
endobj
3 0 obj
<<
/BaseFont /Helvetica-Bold /Encoding /WinAnsiEncoding /Name /F2 /Subtype /Type1 /Type /Font
>>
endobj
4 0 obj
<<
/BaseFont /Courier /Encoding /WinAnsiEncoding /Name /F3 /Subtype /Type1 /Type /Font
>>
endobj
5 0 obj
<<
/BaseFont /Symbol /Name /F4 /Subtype /Type1 /Type /Font
>>
endobj
6 0 obj
<<
/BaseFont /ZapfDingbats /Name /F5 /Subtype /Type1 /Type /Font
>>
endobj
7 0 obj
<<
/Contents 12 0 R /MediaBox [ 0 0 612 792 ] /Parent 11 0 R /Resources <<
/Font 1 0 R /ProcSet [ /PDF /Text /ImageB /ImageC /ImageI ]
>> /Rotate 0 /Trans <<
>>
/Type /Page
>>
endobj
8 0 obj
<<
/Contents 13 0 R /MediaBox [ 0 0 612 792 ] /Parent 11 0 R /Resources <<
/Font 1 0 R /ProcSet [ /PDF /Text /ImageB /ImageC /ImageI ]
>> /Rotate 0 /Trans <<
>>
/Type /Page
>>
endobj
9 0 obj
<<
/PageMode /UseNone /Pages 11 0 R /Type /Catalog
>>
endobj
10 0 obj
<<
/Author (Hermes Agent) /CreationDate (D:20261130022619+00'00') /Creator (\(unspecified\)) /Keywords () /ModDate (D:20261130022619+00'00') /Producer (ReportLab PDF Library - \(opensource\))
/Subject (\(unspecified\)) /Title (\376\377\000P\000l\000a\000n\000:\000 \000G\000l\000o\000b\000a\000l\000 \000S\000i\000t\000e\000 \000F\000o\000o\000t\000e\000r\000 \000\(\000'\000M\000a\000d\000e\000 \000w\000i\000t\000h\000 &e\000 \000b\000y\000 \000L\000e\000m\000u\000r\000s\000.\000'\000\)\000 \000A\000c\000r\000o\000s\000s\000 \000A\000l\000l\000 \000h\000y\000p\000e\000r\000s\000t\000i\000t\000i\000o\000n\000s\000t\000u\000d\000.\000i\000o\000 \000W\000e\000b\000 \000S\000u\000r\000f\000a\000c\000e\000s\000 \000\(\000v\0002\000.\0000\000.\0000\000\)) /Trapped /False
>>
endobj
11 0 obj
<<
/Count 2 /Kids [ 7 0 R 8 0 R ] /Type /Pages
>>
endobj
12 0 obj
<<
/Filter [ /ASCII85Decode /FlateDecode ] /Length 1982
>>
stream
Gau`TD0+E#&H;*)Z/\M6\?U]4KKr;])=0UpMX/d5aVR-/8-bY:FG`iGVOd_\mchuHc3boge8L:gGIu28gp=W@6,RV(rTc$8:*"!XFO1J9VP'EY$-j+YcG?uBI)Shs1prf+W3,\"[Qif?32,NpgP2i!*?//t3"'DIEb>OI,B0g%q,Ku]$PaA&/Ia8c6o:<0]gQP@`*qI;R[XB]oX;Q0C)28@.\H5>o`T/W!q-1KE<@'*KYW,CKZ#Q^Uro0Z<\C4gGjbD2mV"A2I*'U!151^mdFPc:jXW#f_2p460innW*<ismp]u1PbW(Aa&/5>PWL^4:'(^c'P_D5&qC6(2,2`is^h=T]?&rq2nlnK3<3<0F_nFe7mMK]NiaU^H;n,roikLKaH4)[.cGmApWE_%R(;:gTSIUlfoB!trjt.Ap9]3hCPC0VtgOKo_n`80'pS[S"G]DFV.\dML?Q!*R3;lK]fK[-^**!0D=^O;G0`PSIKDi>8;E(tT`<i.cVj!cI[PJ]$G&`6^"7r>j_e'O!0<XEq0"0ddQ<N1oJ'e+oOEq=0Gu*3TJPeft3i/Du;LB9>>eMmDX1_0mTB`+mEQ<#Zm%+(Un,'dk#=_c:S7B'L#&&/`OETM?5eFLBr6pi0CVkG]HjH,41g+[@IU17BFKP)m?J,!UP-JsB]2:tDTHUi?j5G^<19#li[nIQuE1[rVSA.(SF(HsdIL%Y9aI>Q.QlQrU)K&5S-#b4WG]O_+>EZ*FIa:2'a9iANTjiHAL?Ug'"W?/(_ACZm8+0(+-.t@;IFGCd/b<)1^hq8@QLo=TGXaB*4VeW$^*8VNn\.@o`gF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,T.k9>=U6W"#4Zg@-Q]Y0_^8*^\_kuJU@?_6A%MER&'03Aa2(5H6/XhDE",bcKo[hrLl9fAUe)<cZNG_<l0TNW+Xm6)l<js-0`mXDs8QF^I_m[O4u?u@#)g-2jEIC^(rQ7MDIl]ob_hcPTP[r2jfpVQP>P[96I)bOZgXZo'D5^u:\7<#VWq0*0T>'r_@Zu1nU]4("!.[W-F]ABK<YLeO5^A@d.LV`9Eo'@L*U+(bj!1s=qR]=9QYYqa>4pYoR)k#YP\*B/J^WM<3Vpjr1*q@@N:E!#m,$b`)e%Fu6W9Hq5'qCMUbSH>-#Yh1\=['_,fVm$%EbCn=`>"DJ&G1T4>h6*V8%[OmpAD=faD*KeH@@muYHMXNnZ,$5*PX*tJ@pWA%I8kdO`Bq-a6u\<9,o-1U2$S\ACTVkV[h4pK6MTW]_*JTkL@?-:uC8$LQ+a>174>3kipL?*9[lfHgk8/.).pWPsql>>&g<r^JsUWmFD=._UaS-d6?q]%Z=+8%,Ma">Km[K/`ts<<4JeS^S\"-#bXr[i3b!j)uN[#&/ZW`U$il38Q]MjqsM&'E^qp^<QBL$2bELFQ'__]^:[sW=qV_B037T<EbB@4YWXsAjbiZr=Zl5iFZ+"W2KGlQI2Y"Zm"QYu)HPXNTVG+`lsSAH[8c_7fb,o>>2kW`fUcHIOM8n_,dFaNOC'iON,nUJY[4:lj@k1IfbRr0CcPB//Oic(^oQbjc#(hrpO6fDI=T^siF!2D77Om?>Jg8nW3t(hZAal<)g.YN&Jf8l@Z%XmRUbQd)9,UXZ(#A__r6qcb-H"ZA^'>-D3kmUcl!T)=`C6uXVlD`&tD'u$VhA'Z;0]^\s'?BASM=WAsZ/EE4'ekOUMDc(!I;cCbp2q*,tBhk^acC~>endstream
endobj
xref
0 14
0000000000 65535 f
0000000061 00000 n
0000000132 00000 n
0000000239 00000 n
0000000351 00000 n
0000000456 00000 n
0000000533 00000 n
0000000616 00000 n
0000000811 00000 n
0000001006 00000 n
0000001075 00000 n
0000001871 00000 n
0000001937 00000 n
0000004011 00000 n
trailer
<<
/ID
[<c7aaffa00052e4bc51f29b39a2d2d91b><c7aaffa00052e4bc51f29b39a2d2d91b>]
% ReportLab generated PDF document -- digest (opensource)
/Info 10 0 R
/Root 9 0 R
/Size 14
>>
startxref
5805
%%EOF
@@ -0,0 +1,26 @@
# 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 &bull; 1,282 Typed Edges &bull; 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.
@@ -1,174 +0,0 @@
%PDF-1.4
%“Œ‹ž ReportLab Generated PDF document (opensource)
1 0 obj
<<
/F1 2 0 R /F2 3 0 R /F3 4 0 R /F4 5 0 R /F5 6 0 R /F6 7 0 R
>>
endobj
2 0 obj
<<
/BaseFont /Helvetica /Encoding /WinAnsiEncoding /Name /F1 /Subtype /Type1 /Type /Font
>>
endobj
3 0 obj
<<
/BaseFont /Helvetica-Bold /Encoding /WinAnsiEncoding /Name /F2 /Subtype /Type1 /Type /Font
>>
endobj
4 0 obj
<<
/BaseFont /Courier /Encoding /WinAnsiEncoding /Name /F3 /Subtype /Type1 /Type /Font
>>
endobj
5 0 obj
<<
/BaseFont /Helvetica-Oblique /Encoding /WinAnsiEncoding /Name /F4 /Subtype /Type1 /Type /Font
>>
endobj
6 0 obj
<<
/BaseFont /Symbol /Name /F5 /Subtype /Type1 /Type /Font
>>
endobj
7 0 obj
<<
/BaseFont /ZapfDingbats /Name /F6 /Subtype /Type1 /Type /Font
>>
endobj
8 0 obj
<<
/Contents 16 0 R /MediaBox [ 0 0 612 792 ] /Parent 15 0 R /Resources <<
/Font 1 0 R /ProcSet [ /PDF /Text /ImageB /ImageC /ImageI ]
>> /Rotate 0 /Trans <<
>>
/Type /Page
>>
endobj
9 0 obj
<<
/Contents 17 0 R /MediaBox [ 0 0 612 792 ] /Parent 15 0 R /Resources <<
/Font 1 0 R /ProcSet [ /PDF /Text /ImageB /ImageC /ImageI ]
>> /Rotate 0 /Trans <<
>>
/Type /Page
>>
endobj
10 0 obj
<<
/Contents 18 0 R /MediaBox [ 0 0 612 792 ] /Parent 15 0 R /Resources <<
/Font 1 0 R /ProcSet [ /PDF /Text /ImageB /ImageC /ImageI ]
>> /Rotate 0 /Trans <<
>>
/Type /Page
>>
endobj
11 0 obj
<<
/Contents 19 0 R /MediaBox [ 0 0 612 792 ] /Parent 15 0 R /Resources <<
/Font 1 0 R /ProcSet [ /PDF /Text /ImageB /ImageC /ImageI ]
>> /Rotate 0 /Trans <<
>>
/Type /Page
>>
endobj
12 0 obj
<<
/Contents 20 0 R /MediaBox [ 0 0 612 792 ] /Parent 15 0 R /Resources <<
/Font 1 0 R /ProcSet [ /PDF /Text /ImageB /ImageC /ImageI ]
>> /Rotate 0 /Trans <<
>>
/Type /Page
>>
endobj
13 0 obj
<<
/PageMode /UseNone /Pages 15 0 R /Type /Catalog
>>
endobj
14 0 obj
<<
/Author (Hermes Agent) /CreationDate (D:20261130015947+00'00') /Creator (\(unspecified\)) /Keywords () /ModDate (D:20261130015947+00'00') /Producer (ReportLab PDF Library - \(opensource\))
/Subject (\(unspecified\)) /Title (Architecture & Curriculum Plan: Self-Paced /learn/ Sub-Page with Anonymous Local State Upload & Download for hyperstitionstud.io \(v2.0.0\)) /Trapped /False
>>
endobj
15 0 obj
<<
/Count 5 /Kids [ 8 0 R 9 0 R 10 0 R 11 0 R 12 0 R ] /Type /Pages
>>
endobj
16 0 obj
<<
/Filter [ /ASCII85Decode /FlateDecode ] /Length 3425
>>
stream
Gau0FD0O\p')p`p0rO2NQe[Q02M@F`G4-TXc/$%Z5hiVlZQFk&?kqGeQ"1.`qr;lGK-=@YcmC\c$cpae)U1Cj1SPpInCKJr"pr)e#jN3IGWq'-_/$S5(gY&Tkfk2fQ;;hh6,W(B+1P&:"5C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MJ=,W&6_c`6rL566_<Ji+lS3Ers$A1#IA4@U`nng=]i^McGs`Y4F;a*OpTI7C\96!EE/H!V`7U@n+d_@G@eZ&Oo8b`&_ehk,NXZN\mb>MK:>R!D$@H);N5Qb^[jEH_h-plm/?K*S+%YeTZ[^T6i9K.Lr.U<][Z61=8-1YFbk,"\.S/CI4o@E[j@($$^[$tl:<=YXcr[KhYBk5BNrPJG^5a9jNs~>endstream
endobj
xref
0 21
0000000000 65535 f
0000000061 00000 n
0000000142 00000 n
0000000249 00000 n
0000000361 00000 n
0000000466 00000 n
0000000581 00000 n
0000000658 00000 n
0000000741 00000 n
0000000936 00000 n
0000001131 00000 n
0000001327 00000 n
0000001523 00000 n
0000001719 00000 n
0000001789 00000 n
0000002195 00000 n
0000002282 00000 n
0000005799 00000 n
0000008841 00000 n
0000011418 00000 n
0000013935 00000 n
trailer
<<
/ID
[<fa6ab6623224593091d6b8aa589a53f7><fa6ab6623224593091d6b8aa589a53f7>]
% ReportLab generated PDF document -- digest (opensource)
/Info 14 0 R
/Root 13 0 R
/Size 21
>>
startxref
15234
%%EOF
@@ -0,0 +1,91 @@
# Plan: Simplifying Needless Lexical & Etymological Complexity Across the `hyperstitionstud.io` Ecosystem (`v2.0.22`)
- **Document ID:** `PLAN-LEXICAL-AND-ETYMOLOGICAL-SIMPLIFICATION` (`v2.0.22`)
- **Roadmap Status:** **DEFERRED (Long-Term Inactive)**
- **Core Editorial Principle:**
**Plain words for simple mechanics; save technical terms for the archive citations.**
The underlying mechanics of `hyperstitionstud.io` are straightforward:
1. Score letters and digits (`0–9 = 0..9`, `A–Z = 10..35`),
2. Strip silent letters so words are spelled the way they sound out loud,
3. Notice when separate words, headlines, and market prices land on the exact same number on the same day.
When UI headers, chart labels, tutorials, and API docs wrap those simple mechanics in heavy academic/Greek/Latin phrasing (*"diachronic/synchronic orthography," "spatiotemporal contingent lock matrix," "teleoplexic escape velocity," "stereoscopic diegetic expressivity," "intergenerational variance collapse"*), the phrasing obscures the signal instead of clarifying it.
- **Target Surfaces:**
1. `/workspace/hyperstitionstudio-core/site/index.html` (Portal Homepage cards & subtitles)
2. `/workspace/hyperstitionstudio-core/site/quant/{index.html,quant-app.js,quant-tutorials.js,OPERATORS-MANUAL-QUANT-TIMESERIES-WORKBENCH.md,pdf}` (`/quant/` panels, `ⓘ` popovers, tutorial narration & manual)
3. `/workspace/hyperstitionstudio-core/site/learn/{index.html,learn-app.js}` (`/learn/` 6-module guided curriculum)
4. `/workspace/hyperstitionstudio-core/src/hyperstitionstud_io/lenses/__init__.py` (`LENS_REGISTRY` human-readable labels)
5. `/workspace/hyperstitionstudio-core/src/hyperstitionstud_io/mcp/tools.py` (`MCP_TOOLS_SCHEMA` & OpenAPI 3.1.0 descriptions)
---
## 1. Strict Safety Boundary: What Must Remain Untouched (`ReadOnlyIsolationGuard` & Test Invariants)
To ensure simplifying the prose never breaks a single cryptographic hash, schema contract, or automated test in `tests/test_core_suite.py`:
| Protected Layer | Specific Files / Keys | Rule |
| :--- | :--- | :--- |
| **1. SHA-256 Locked Registries** | • `taxonomy/glossary-registry.json` (`7564ef40...`)<br/>• `encyclopedia/encyclopedia-manifest.json` (`0d7ce833...`) | **100% Read-Only.** Never edit bytes inside these two JSON files; translate their headwords into plain English at the UI/presentation layer. |
| **2. Grounded Citation Quotes in Proposals** | • `proposal-fund-manager-*.md`<br/>• `proposal-corporate-board-*.md`<br/>• `proposal-fantasy-football-*.md` | Keep all verbatim `[n]` evidence quotes intact so `verify_draft()` passes `100%`. |
| **3. Machine Keys & `Zero-d-Filter`** | • JSON keys (`struct_*`, `ts_*`, `S1..S6`, `M1..M7+`, `G1..G6`)<br/>• `assert_zero_d_filter()` | Keep all JSON property names, URL routes, and CLI flags unchanged; only simplify human-facing display labels, descriptions, and explanatory prose. |
---
## 2. Master Translation Table: Replacing Heavy Jargon with Direct Plain English
Every human-facing surface will replace needlessly ornate Greek/Latin/critical-theory phrasing with direct, everyday English (retaining short bracketed codes like `[Gen 0]`, `[Gen 1]`, `[G1]`, `[Scope 1]` only as compact cross-reference tags):
| Ornate / Etymologically Heavy Phrasing (Current) | Plain-English Replacement (Target) | Why It Is Clearer |
| :--- | :--- | :--- |
| *"Standard Etymological English (Diachronic Visual-Scribal Orthography)"* | **Written English (`Gen 0` — How It's Spelled on Paper)** | Immediately tells the reader we are scoring standard dictionary spelling, silent letters included. |
| *"Synchronic Phonemic Orthography (CMUdict Ingglish)"* | **Spoken Sound (`Gen 1 Ingglish` — Spelled How It Sounds)** | Explains the exact transformation in 5 plain words without requiring linguistics training. |
| *"Etymological Ghost Mass"* | **Silent Letters & Spelling Camouflage** | Self-explanatory on first read. |
| *"Vector G1: Intergenerational Variance Collapse ($\text{Var} \to 0.0$)"* | **Sound Convergence (`G1` — Different Words Landing on One Number)** | Describes what actually happens: words with different written scores land on the exact same spoken score. |
| *"Vector G4: Hereditary Isometric Chokepoint Invariance ($\Delta = 0$)"* | **Fixed Chokepoints (`G4` — Words Whose Score Never Changes, $\Delta = 0$)** | Directly states the mathematical property ($\text{Written Score} == \text{Spoken Score}$). |
| *"Vector G5: Twin-Prime Mutation IQ"* | **Prime-to-Prime Shifts (`G5` — Prime Written Score $\to$ Prime Spoken Score)** | States the exact arithmetic rule instead of a metaphor. |
| *"Double Articulation ($\text{S1–S5} \times \text{S6}$ Coupling)"* | **Tech + Capital Link (`S1–S5` Tech Paired with `S6` Finance/Legal Capture)** | Makes it obvious that a technical bottleneck is paired with a financial or legal owner. |
| *"Grand Central Station Pareidolia vs. The Room Filter (Contingent Meaning)"* | **No Dictionary Fishing ("Stay in the Room" Rule)** | Immediately communicates why we only test words and prices from the same day's news story or supply chain. |
| *"Scope 1 Intra-Instrument Self-Lock"* | **Self-Match (`Scope 1` — Price or Move Matches the Asset's Own Name)** | Eliminates Latin prefixes (*"intra-instrument"*); anyone understands *"Nvidia closing at `$137` matches `envideea = 137`."* |
| *"Scope 2 Supply-Chain Equivalence-Ring Migration"* | **Sector Hub Match (`Scope 2` — Lands on a Shared `S1–S6` Number)** | Explains that the price or move hit one of the 30 shared sector coordinates. |
| *"Scope 3 News-Wire Co-Presence"* | **In Today's News (`Scope 3` — Ticker Named in Midnight Headlines)** | Plainly states what turned the bar green. |
| *"Spatiotemporal Contingent Lock Heatmap (`24 × 30`)"* | **30-Day Signal Grid (`24 Tickers × 30 Days`)** | Replaces *"Spatiotemporal Contingent"* with what the user is actually looking at: a 30-day grid. |
| *"Cross-Sectional Date Inspector"* | **Single-Day Readout & Breakdown** | Simple, concrete description of Panel 3. |
| *"Teleoplexic Escape Velocity (`VEL`)"* | **Signal Speed (`VEL` — Low Spelling Drift)** | Removes obscure Landian neologisms (*"teleoplexic"*) from default UI labels. |
| *"Two-Gate State-Matched Thermodynamic Memetic Regime (`M1–M3`)"* | **Market Mood / Regime (`M1` Freeze/Halt, `M2` Crash/Surge, `M3` Mega-Cap)** | Connects `M1–M3` directly to observable market conditions (low volume halts, high-volume selloffs, trillion-dollar caps). |
| *"Isopsephic Exegesis / Gematrial Telemetry"* | **Number-Cipher & Phonetic Signal Readout** | Avoids archaic Greek (*"isopsephic"*) in UI copy and tool descriptions. |
---
## 3. Surface-by-Surface Simplification Specification (`Phases 1–5`)
### Phase 1: Portal Homepage (`site/index.html`)
1. Simplify the `<header>` subtitle and the 6 main workbench cards (`01` through `06`) so each card's 2-sentence summary states **what you can do or see inside that tool** in plain English:
- Card 1 (`/graph/`): *"Visual map of 388 terms, companies, and number hubs. Click any node to see which words, sectors, and PDF pages connect to it."*
- Card 2 (`/encyclopedia/`): *"22-volume, 122-page reference library organized A-to-Z across 9 topics, with direct links to every source equation."*
- Card 3 (`Tier List`): *"0-to-100 scorecard ranking 9 tech and finance groups across 6 core stats, from top-tier leaders (`S+`) down to single-event outliers (`D`)."*
- Card 4 (`Proposals`): *"Side-by-side reports written for fund managers, corporate boards, and fantasy-sports fans, backed by word-for-word news citations."*
- Card 5 (`/calc/` & `/archive/`): *"Type any word or phrase into the multi-cipher calculator, or browse 71 dated news dossiers and 1,850+ verified `333 / 666 / 777` equations."*
- Card 6 (`System Flow`): *"See how the 6 open-source repositories build, verify, and publish to the live server."*
### Phase 2: `/quant/` Time-Series Workbench, `ⓘ` Info Icons, Tutorials & Operator's Manual (`site/quant/*`)
1. Combine with `PLAN-QUANT-INTERFACE-INFO-ICONS-AND-GLOSSARY-POPOVERS`:
- Simplify Panel 1–4 headers in `site/quant/index.html` and `site/quant/quant-app.js` using the plain-English table in Section 2 above (e.g., `PANEL 1: 30-Day Price, Spoken Score, News Count & Volume Chart`, `PANEL 2: 30-Day Signal Grid (24 Tickers × 30 UTC Days)`, `PANEL 3: Single-Day Readout, Lens View & News Equations`, `PANEL 4: News-to-Price Lead/Lag Chart (-5 to +5 Days) & Data Export`).
- Add the `27` inline `ⓘ` info icons (`.hs-info-icon`) and `#quantInfoPopover` card so every label has a `<= 1 paragraph` plain-English explanation + hyperlinked verbatim PDF Glossary quote (`/zoology/technocapital-singularity-zoology-comprehensive-glossary.pdf#page=N&search=...`).
- Rewrite the 25 scene subtitles in `site/quant/quant-tutorials.js` and `/workspace/hyperstitionstudio-core/site/quant/OPERATORS-MANUAL-QUANT-TIMESERIES-WORKBENCH.{md,pdf}` in clear, conversational English so the voice narrator reads natural, easy-to-follow sentences aloud.
### Phase 3: `/learn/` Self-Paced Curriculum (`site/learn/index.html` & `site/learn/learn-app.js`)
1. Rewrite the 6 module titles and descriptions in `site/learn/index.html` so each module teaches one concept in plain English before introducing the archive's shorthand code:
- `Module 1`: *How the Base-36 Number Cipher Works (`0–9 = 0..9, A–Z = 10..35`)*
- `Module 2`: *Sound Over Spelling: Written English (`Gen 0`) vs. Spoken Ingglish (`Gen 1`)*
- `Module 3`: *When Separate Words Land on the Same Number (`G1` Convergence)*
- `Module 4`: *Tech Sectors (`S1–S5`), Big Capital (`S6`), and Market Moods (`M1–M7+`)*
- `Module 5`: *How the 0–100 Scorecard (`ETI`) and Radar Ring Work*
- `Module 6`: *Viewing the Same Math Through Different Lenses & Saving Bookmarks*
### Phase 4: `LENS_REGISTRY` Labels & MCP/REST OpenAPI Descriptions (`lenses/__init__.py` & `mcp/tools.py`)
1. In `/workspace/hyperstitionstudio-core/src/hyperstitionstud_io/lenses/__init__.py`, refine the display labels in `neutral_math` and `fund_manager` so they use crisp, plain English (`Fixed-Score Chokepoints`, `Low Spelling Drift`, `Score Convergence`, `Tech + Capital Coupling`, `Prime Score Rate`, `Repricing Stability`, `Active Signal Days (%)`, `News + Volume Weight`, `Score Above Baseline`, `Quiet Floor / Peak Ceiling`, `Best Lead/Lag (Days)`, `Score by Market Mood`).
2. In `/workspace/hyperstitionstudio-core/src/hyperstitionstud_io/mcp/tools.py`, simplify the `description` strings in `MCP_TOOLS_SCHEMA` (which also auto-compile `/api/v1/openapi.json`) so every tool description is direct and jargon-light while preserving all tool names and `inputSchema` parameters.
### Phase 5: Verification (`tests/test_core_suite.py` & `deploy/test-first-deployment.sh`)
1. Run `hs-sync-version`, regenerate `quant-timeseries.{json,data.js}` and `OPERATORS-MANUAL-QUANT-TIMESERIES-WORKBENCH.pdf`, and verify:
- `python3 /workspace/hyperstitionstudio-core/tests/test_core_suite.py` (`ALL 7 TEST SUITES PASSED`, including `ReadOnlyIsolationGuard` SHA-256 checks and proposal citation checks), and
- `/workspace/hyperstitionstudio-core/deploy/test-first-deployment.sh` (`42/42` static routes + `2` MCP endpoints + `6` REST API v1 endpoints returning `HTTP 200 OK`).
@@ -1,7 +1,8 @@
# Architecture & Economic Plan: Optimizing Python LLM Token Spend via Marginal Procedure-Step Variance ($\sigma^2_{\text{step}}$) & Tiered API Routing (`v2.0.0`)
- **Document ID:** `PLAN-LLM-TOKEN-ECONOMIZER-AND-VARIANCE-ROUTING` (`v2.0.0`)
- **Target Module in `hyperstitionstudio-core`:** `hyperstitionstud_io.economizer` (`hs-route-job` CLI & Python router API)
- **Document ID:** `PLAN-LLM-TOKEN-ECONOMIZER-AND-VARIANCE-ROUTING` (`v2.0.17`)
- **Roadmap Status:** **LONG-TERM INACTIVE PLAN (Deferred)** — Preserved as a long-term architectural specification alongside `PLAN-LLM-TOKEN-ECONOMIZER-DATA-FIDELITY-AND-DEGRADATION-RISK-EVALUATION.{md,pdf}`; not scheduled for immediate active build.
- **Target Module in `hyperstitionstudio-core` (When Activated):** `hyperstitionstud_io.economizer` (`hs-route-job` CLI & Python router API)
- **Core Optimization Principle:** Never spend LLM tokens on steps with zero marginal procedure-step variance ($\sigma^2_{\text{step}} = 0$), and route non-zero-variance steps (`Tier 1` Economy Flash -> `Tier 2` Mid-Tier Workhorse -> `Tier 3` Frontier Reasoning) using a deterministic 5-factor composite complexity score ($J_{\text{score}} \in [0, 100]$) paired with Python oracle verification gates.
---
@@ -0,0 +1,96 @@
# Data Degradation & Fidelity Impact Risk Evaluation for `PLAN-LLM-TOKEN-ECONOMIZER-AND-VARIANCE-ROUTING` (`v2.0.14`)
- **Document ID:** `PLAN-LLM-TOKEN-ECONOMIZER-DATA-FIDELITY-AND-DEGRADATION-RISK-EVALUATION` (`v2.0.17`)
- **Roadmap Status:** **LONG-TERM INACTIVE PLAN (Deferred)** — Companion fidelity risk evaluation for `PLAN-LLM-TOKEN-ECONOMIZER-AND-VARIANCE-ROUTING.{md,pdf}`; preserved in the long-term inactive backlog until the Token Economizer is activated.
- **Companion Plan Evaluated:** `PLAN-LLM-TOKEN-ECONOMIZER-AND-VARIANCE-ROUTING` (`hyperstitionstud_io.economizer` / `hs-route-job`)
- **Evaluation Scope:** Quantifying and mitigating every pathway where routing tasks across `Tier 0` (Local Python), `Tier 1` (Economy Flash-Lite), `Tier 2` (Mid-Tier Workhorse + Prompt Caching), and `Tier 3` (Frontier Reasoning) could degrade arithmetic exactness, CMUdict phonemic purity, citation ground-truth, graph topology, or philosophical-rhetorical depth.
---
## 1. Executive Summary: Separating Zero-Degradation (`Tier 0`) Invariants from Stochastic (`Tier 1–3`) Fidelity Risks
The central finding of this evaluation is that **shifting algorithmic steps from LLMs (`Tier 1–3`) to `Tier 0` Local Python (`hyperstitionstud_io.*`) does not degrade data fidelity—it strictly increases fidelity from `~72%–91%` (stochastic LLM token prediction) to `100.0%` (deterministic machine precision)**.
However, **six genuine data degradation and fidelity risks (`R1` through `R6`)** emerge at the handoff boundaries where `Tier 0` Python compresses context, pre-filters candidate pools, or delegates prose/selection tasks down to `Tier 1` and `Tier 2` models:
| Risk ID & Boundary | Degradation Mechanism if Unmitigated | Severity (Raw) | Deterministic Guardrail & Residual Risk |
| :--- | :--- | :---: | :--- |
| **`R1` — Candidate-Pool Truncation Bias (`Tier 0 -> Tier 1/2`)** | Pre-solving and slicing candidate `333/666/777` equations to a small top-$K$ menu (`K = 10`) can prune semantically brilliant equations in favor of high-frequency dictionary words. | **HIGH** | **Stratified Diversity Sampling ($K = 24$ across 4 syntactic templates + guild anchor pinning) -> `0.0%` arithmetic loss, `< 2%` stylistic narrowing.** |
| **`R2` — 1-Hop Ego-Graph Horizon Blindness (`Tier 0 -> Tier 2`)** | Passing only a 1-hop ego-network (`~400` tokens) instead of the full `388`-node graph blinds the model to 2-hop and 3-hop Flex-Pivot bridges (`13` multi-guild hubs). | **HIGH** | **1.5-Hop + Flex-Pivot Bridge Injection (`include_flex_pivots=True`, `~650` tokens) -> `100%` retention of cross-guild trophic paths.** |
| **`R3` — `Tier 1` Semantic Flattening & False-Positive Oracle Pass (`Tier 1 -> Oracle`)** | A `Tier 1` Flash-Lite model can satisfy `ci_provision_ingglish.py` (`Gate 1–4`) and `sources.py verify --evidence` syntactically while producing repetitive "template-ese" prose or misclassifying subtle `M1–M6` irony. | **MEDIUM-HIGH** | **Lexical Entropy & Jargon-Register Floor inside the Oracle (`H_lex >= 4.2 bits`, register forbidden-term check) before accepting a `Tier 1` draft.** |
| **`R4` — Index-Reference Off-by-One / Hallucinated Pointer Drift (`Tier 1/2 -> Tier 0`)** | When the LLM returns compact integer indices (`{"selected_eq_indices": [2, 5], "citation_ids": [3]}`) instead of strings, a `0`-based vs. `1`-based slip silently splices the wrong equation or citation into the final PDF. | **MEDIUM** | **Content-Addressed Short-Hash Keys (`"eq_137_a9f"`, `"cite_03_nvda"`) instead of bare integers -> `100%` immunity to off-by-one pointer drift.** |
| **`R5` — Stale Prompt-Cache Prefix Desynchronization (`Tier 2` Cache)** | Caching the static system prefix across calls can serve stale `S1–S6` / `M7+` coordinates if `glossary-registry.json` or `quantitative-economic-anchors.json` updates mid-window. | **LOW-MEDIUM** | **Keying the prompt-cache salt directly to the IPLD `dag-json` `CIDv1` (`baguqeera...`) of the active registries -> automatic cache invalidation on any byte change.** |
| **`R6` — Batch API Temporal Staleness on Live Wire Rollovers (`Cron -> Batch`)** | Provider Batch APIs (`50%` discount) allow up to a 24-hour completion window, which breaks the 10-minute `00:00 GMT -> 00:10 GMT` CI cron chain (`d28b479ec217 -> 7effa9679803`). | **MEDIUM** | **Restrict Asynchronous Batch APIs strictly to offline corpus backfills and multi-episode podcast scripts; keep live `16:30 EST` & `00:00 GMT` cronjobs on synchronous cached endpoints.** |
---
## 2. Layer-by-Layer Fidelity Impact Matrix (`Baseline Monolithic LLM` vs. `Economizer Tier 0–3`)
| Data / Artifact Layer | Monolithic LLM Prompting Fidelity | Economizer (`Tier 0–3`) Fidelity | Net Fidelity Delta & Mathematical Reason |
| :--- | :---: | :---: | :--- |
| **1. Base-36 `AQ` Sums & Prime Factorizations** | `~74%–88%` (frequent carry/sum hallucinations on 8-word strings) | **`100.0%` (`Tier 0`)** | **`+12% to +26%` Fidelity Gain:** `compute_aq()` and `prime_rank()` execute in pure Python (`0` LLM tokens, `0` arithmetic variance). |
| **2. `Gen 0 -> Gen 1` CMUdict `Ingglish` Orthography** | `~65%–82%` (LLMs guess phonetic spellings like `*nvidya` instead of `envideea`) | **`100.0%` (`Tier 0`)** | **`+18% to +35%` Fidelity Gain:** `translate_batch()` uses the locked `4,943`-key `cmudict_fallback.json` + official CMUdict `ingglish` package. |
| **3. `hyperdope-gematria` 4-Gate CI Keep Rate (`Gate 1–4`)** | `~81%` (drops on `long-scraped` `dict_hits < 0.40 * nw` or Roman numerals) | **`100.0%` (`Tier 0`)** | **`+19%` Fidelity Gain:** Candidate equations are pre-filtered by `classify_candidates` in Python before the LLM ever sees them. |
| **4. Grounded `[n]` Citations & Verbatim Quotes (`hs-citations`)** | `~85%` (paraphrased quotes or dead `#fragment` URLs) | **`100.0%` (`Tier 0` + Oracle)** | **`+15%` Fidelity Gain:** Python holds verbatim quotes in memory and expands `cite_<id>_<hash>` keys directly via `render_sources()`. |
| **5. `S1–S6` & `M1–M6` State-Gate Classification** | `~94%` (`Tier 3`) vs. `~86%` (unassisted `Tier 1`) | **`98.5%` (`Tier 0` Pre-Scorer + `Tier 1/2` Cascade)** | **`+4.5%` Net Gain:** Objective quantitative thresholds (`VIX`, bps, volume ratio, ring collisions) are pre-evaluated in `Tier 0` before `Tier 1` confirms context. |
| **6. Expository Prose & Philosophical Synthesis (`Dossiers / Podcasts`)** | `96%` (`Tier 3`) vs. `78%` (`Tier 1`) | **`95%–97%` (`Tier 2/3` with `H_lex` Gate)** | **Zero Degradation (`0%` loss):** Never route `V_step >= 45` prose synthesis to `Tier 1`; enforce minimum `Tier 2` workhorse (`J_score >= 30`) and `Tier 3` (`J_score > 65`) for novel theory. |
---
## 3. Deep-Dive Analysis of the Six Fidelity Risks & Mandatory Architectural Fixes
### 3.1 Risk `R1`: Combinatorial Candidate-Pool Truncation Bias (`Pre-Solved Menu Narrowing`)
- **The Vulnerability:** In `PLAN-LLM-TOKEN-ECONOMIZER-AND-VARIANCE-ROUTING` Section 4.1, Python solves `333 / 666 / 777` equations locally and passes a 10-item menu (`[0]..[9]`) to `Tier 1`. If Python sorts candidates purely by dictionary-hit ratio or alphabetical order, the top 10 items will be dominated by repetitive short words (`in`, `on`, `at`, `tab`, `lap`), starving the dossier of high-impact domain vocabulary (`lathografee`, `kansorsheeam`, `slawterbots`, `shizohnalizis`).
- **Mandatory Mitigation in `precompute_candidate_equations_menu()`:**
1. **Stratified Template Quota ($K = 24$ instead of $10$):** Emit `8` candidates per target (`333`, `666`, `777`) stratified across distinct grammatical templates (`[anchor] [verb] [noun]`, `[noun] [prep] [anchor]`, `[anchor] [verb] dha [adj] [noun] [prep] [noun2]`).
2. **Maximum Lexical Reuse Cap (`max_word_reuse = 2`):** No non-article word (`verb`, `adj`, `noun`) may appear more than twice inside the 24-item candidate menu.
3. **Domain Specificity Ranking:** Rank valid Gate-2-passing candidates by `S1–S6` guild signature weight (`G1` variance collapsed + `G4` isometric chokepoint count) rather than generic word frequency.
### 3.2 Risk `R2`: 1-Hop Sub-Graph Slicing & Multi-Hop Trophic Blindness
- **The Vulnerability:** Section 4.2 proposes slicing `encyclopedia-graph.json` (`388` nodes, `1,282` edges) down to a 1-hop ego-network (`~350` tokens). However, double-articulated singularities (`S[1–5] x S6`) and the `13` Flex-Pivot coordinates (`292, 256, 211, 193, 183, 153, 137, 136, 133, 125, 96, 95, 81/91`) connect across **2 hops** (`Entity -> Coordinate Node -> Partner Guild Build -> Cross-Guild Entity`). A strict 1-hop slice severs the second hop, causing the LLM to miss cross-guild trophic bridges.
- **Mandatory Mitigation in `slice_context_subgraph()`:**
1. Always extract the **1-hop neighborhood PLUS all incident `TROPHIC_GUILD_BRIDGE` and `FLEX_PIVOT` edges at hop 2** (`1.5-hop trophic closure`).
2. This increases payload size by only `~220` tokens (`~350 -> ~570` tokens, still a `99.1%` reduction vs. `65,000` tokens) while preserving `100.0%` of cross-guild double-articulation paths.
### 3.3 Risk `R3`: "Oracle Gaming" — Syntactic Pass with Semantic/Stylistic Degradation in `Tier 1` Cascades
- **The Vulnerability:** Section 4.3 ("Cascade with Oracle") assigns `D_verif = 10` whenever a deterministic Python verifier (`ci_provision_ingglish.py` or `sources.py verify --evidence`) exists, allowing `Tier 1` (`~$0.07/1M`) to attempt drafting first. While the Python oracle catches `100%` of math, spelling, and citation-link errors, it is blind to **semantic flatness** (e.g., `Tier 1` writing robotic, repetitive sentences or leaking prohibited Continental philosophy jargon into a Corporate Board / Fantasy Football stakeholder proposal).
- **Mandatory Mitigation in `run_with_oracle_cascade()`:**
1. **Hard Floor on Prose Synthesis (`V_step >= 40 => Minimum Tier 2`):** Restrict `Tier 1` strictly to structured selection, tagging, and metadata extraction (`S_struct <= 25`). Never allow `Tier 1` to draft final dossier or podcast prose.
2. **Semantic & Register Quality Gate (`verify_prose_fidelity()`):** Augment the Python oracle with three deterministic text-fidelity checks before accepting any `Tier 2` draft:
- *Register Forbidden-Vocabulary Audit:* Rejects stakeholder proposals (`proposal-*.md`) if any prohibited arcane term (*Landian-Deleuzean, Machinic Phylum, Schizoanalysis, Body without Organs, Isopsephic*) appears in the text.
- *Filler-Token Ban (`0.0%` Padding Invariant):* Rejects any dossier containing banned padding tokens (`seekrat`, `hidan`).
- *Shannon Lexical Diversity Floor:* Rejects prose blocks where type-token ratio (`TTR`) or trigram uniqueness drops below the archive baseline (`unique_trigrams / total_trigrams >= 0.88`).
### 3.4 Risk `R4`: Index-Pointer Hallucination & Off-by-One Splicing Corruption
- **The Vulnerability:** Section 4.5 replaces string output with integer index arrays (`{"selected_eq_indices": [2, 5], "citation_ids": [3, 8]}`). Smaller models frequently confuse `0`-based array indices with `1`-based human numbering (or transpose two adjacent digits), which would cause Python to splice Equation `#3` where Equation `#2` belonged—corrupting the surrounding prose explanation without raising a JSON schema error.
- **Mandatory Mitigation (`Content-Addressed Composite Keys`):**
1. Replace bare integer indices with **short deterministic composite IDs** that embed the target coordinate and headword prefix: e.g., `"eq_333_envideea_01"` or `"cite_03_nvda_137"`.
2. These keys cost only `3–4` tokens each (still saving `92%` of output tokens compared to echoing full 25-word equations and URLs), but make accidental off-by-one transposition impossible because Python validates that `"eq_333_envideea_01"` matches both the target sum (`333`) and the paragraph's subject entity (`envideea`).
### 3.5 Risk `R5`: Prompt-Cache Prefix Staleness Across Registry Updates
- **The Vulnerability:** Section 4.4 caches `Message 0` (the static system prefix containing `S1–S6` / `M1–M6` coordinates and rules). If an anchor revision (`--revise-anchor`) or emergent `M7+` promotion occurs, a cached prefix without version salting could serve outdated coordinate rings for the remainder of the cache TTL.
- **Mandatory Mitigation (`CIDv1` Cache-Salt Header):**
1. Prepend the IPLD `dag-json` `CIDv1` digest (`baguqeera...`) of `glossary-registry.json`, `quantitative-economic-anchors.json`, and `financial-aq-harvest-latest.json` into the first line of `Message 0`.
2. When registries are unchanged (`99%` of intra-day calls), the prefix is 100% byte-identical and hits the `75%–90%` prompt cache discount; the instant any registry changes, the `CIDv1` changes and cleanly invalidates the stale cache.
### 3.6 Risk `R6`: Asynchronous Batch API Latency vs. Chained Cron Deadlines
- **The Vulnerability:** Section 4.6 suggests using Asynchronous Provider Batch APIs (`50%` discount) for scheduled cron harvests. However, the daily `00:00 GMT` news harvest (`d28b479ec217`) chains directly into the `00:10 GMT` CI provisioning job (`7effa9679803`, `context_from=["d28b479ec217"]`) 10 minutes later, and each Hermes cron run enforces a 3-minute foreground timeout.
- **Mandatory Mitigation (`Cron Execution Mode Guard`):**
1. Set `allow_async_batch = False` for all live time-critical cronjobs (`29c871eb6b78` at `16:30 EST`, `d28b479ec217` at `19:00 EST`, and `7effa9679803` at `19:10 EST`), using synchronous `Tier 0` + cached `Tier 2` calls instead.
2. Reserve `allow_async_batch = True` exclusively for non-blocking offline bulk jobs (such as multi-episode podcast script generation or historical archive backfills).
---
## 4. Updated Implementation Checklist for `hyperstitionstud_io.economizer` (`v2.0.14`)
1. **Core Scorer & Tier Router (`src/hyperstitionstud_io/economizer/__init__.py`):**
- Enforce $V_{\text{step}} == 0 \implies J_{\text{score}} = 0$ (`Tier 0` Local Python).
- Enforce $V_{\text{step}} \ge 40 \implies \text{Tier} \ge 2$ (preventing `Tier 1` semantic flattening on prose tasks).
2. **Stratified Candidate Menu Builder (`precompute_candidate_equations_menu`):**
- Emit $K = 24$ Gate-2-verified equations keyed by content-addressed IDs (`eq_<target>_<anchor>_<nn>`) with `max_word_reuse = 2`.
3. **1.5-Hop Trophic Sub-Graph Slicer (`slice_context_subgraph`):**
- Include 1-hop neighbors plus all hop-2 `TROPHIC_GUILD_BRIDGE` and `13` Flex-Pivot nodes.
4. **Prose & Citation Fidelity Oracle (`verify_prose_fidelity`):**
- Combine `ci_provision_ingglish.py` (4-Gate math/CI check) + `hs-citations verify --evidence` + register forbidden-term check + `0.0%` `seekrat`/`hidan` padding check + trigram diversity floor (`>= 0.88`).
5. **`CIDv1`-Salted Prompt Cache Builder (`build_cached_messages`):**
- Embed the live `dag-json` `CIDv1` registry digest in `Message 0` to guarantee zero stale-cache drift.
-193
View File
@@ -1,193 +0,0 @@
%PDF-1.4
%“Œ‹ž ReportLab Generated PDF document (opensource)
1 0 obj
<<
/F1 2 0 R /F2 3 0 R /F3 4 0 R /F4 5 0 R /F5 7 0 R /F6 8 0 R
>>
endobj
2 0 obj
<<
/BaseFont /Helvetica /Encoding /WinAnsiEncoding /Name /F1 /Subtype /Type1 /Type /Font
>>
endobj
3 0 obj
<<
/BaseFont /Helvetica-Bold /Encoding /WinAnsiEncoding /Name /F2 /Subtype /Type1 /Type /Font
>>
endobj
4 0 obj
<<
/BaseFont /Courier /Encoding /WinAnsiEncoding /Name /F3 /Subtype /Type1 /Type /Font
>>
endobj
5 0 obj
<<
/BaseFont /Helvetica-Oblique /Encoding /WinAnsiEncoding /Name /F4 /Subtype /Type1 /Type /Font
>>
endobj
6 0 obj
<<
/Contents 17 0 R /MediaBox [ 0 0 612 792 ] /Parent 16 0 R /Resources <<
/Font 1 0 R /ProcSet [ /PDF /Text /ImageB /ImageC /ImageI ]
>> /Rotate 0 /Trans <<
>>
/Type /Page
>>
endobj
7 0 obj
<<
/BaseFont /Symbol /Name /F5 /Subtype /Type1 /Type /Font
>>
endobj
8 0 obj
<<
/BaseFont /ZapfDingbats /Name /F6 /Subtype /Type1 /Type /Font
>>
endobj
9 0 obj
<<
/Contents 18 0 R /MediaBox [ 0 0 612 792 ] /Parent 16 0 R /Resources <<
/Font 1 0 R /ProcSet [ /PDF /Text /ImageB /ImageC /ImageI ]
>> /Rotate 0 /Trans <<
>>
/Type /Page
>>
endobj
10 0 obj
<<
/Contents 19 0 R /MediaBox [ 0 0 612 792 ] /Parent 16 0 R /Resources <<
/Font 1 0 R /ProcSet [ /PDF /Text /ImageB /ImageC /ImageI ]
>> /Rotate 0 /Trans <<
>>
/Type /Page
>>
endobj
11 0 obj
<<
/Contents 20 0 R /MediaBox [ 0 0 612 792 ] /Parent 16 0 R /Resources <<
/Font 1 0 R /ProcSet [ /PDF /Text /ImageB /ImageC /ImageI ]
>> /Rotate 0 /Trans <<
>>
/Type /Page
>>
endobj
12 0 obj
<<
/Contents 21 0 R /MediaBox [ 0 0 612 792 ] /Parent 16 0 R /Resources <<
/Font 1 0 R /ProcSet [ /PDF /Text /ImageB /ImageC /ImageI ]
>> /Rotate 0 /Trans <<
>>
/Type /Page
>>
endobj
13 0 obj
<<
/Contents 22 0 R /MediaBox [ 0 0 612 792 ] /Parent 16 0 R /Resources <<
/Font 1 0 R /ProcSet [ /PDF /Text /ImageB /ImageC /ImageI ]
>> /Rotate 0 /Trans <<
>>
/Type /Page
>>
endobj
14 0 obj
<<
/PageMode /UseNone /Pages 16 0 R /Type /Catalog
>>
endobj
15 0 obj
<<
/Author (Hermes Agent) /CreationDate (D:20261130022420+00'00') /Creator (\(unspecified\)) /Keywords () /ModDate (D:20261130022420+00'00') /Producer (ReportLab PDF Library - \(opensource\))
/Subject (\(unspecified\)) /Title (Architecture & Implementation Plan: Model Context Protocol \(MCP\) Server for hyperstitionstud.io \(hyperstitionstud_io.mcp \204 v2.0.0\)) /Trapped /False
>>
endobj
16 0 obj
<<
/Count 6 /Kids [ 6 0 R 9 0 R 10 0 R 11 0 R 12 0 R 13 0 R ] /Type /Pages
>>
endobj
17 0 obj
<<
/Filter [ /ASCII85Decode /FlateDecode ] /Length 2491
>>
stream
Gau0D?#uLV&q0MXka/o82Za"HT+AERCHIArP?;U7;mj)6Q&K)rbm##N)/Lf^pV1VW8-k,.+j%-^6o"=]SNbkXH5s0Za3"AS,Cj,:d!b//j2,77Nb<XAGQZQUZbOi[DoV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n
0000000936 00000 n
0000001131 00000 n
0000001327 00000 n
0000001523 00000 n
0000001719 00000 n
0000001915 00000 n
0000001985 00000 n
0000002389 00000 n
0000002483 00000 n
0000005066 00000 n
0000008227 00000 n
0000011274 00000 n
0000013761 00000 n
0000015352 00000 n
trailer
<<
/ID
[<9d77c2f0b3a39036c76dee1f5d207c84><9d77c2f0b3a39036c76dee1f5d207c84>]
% ReportLab generated PDF document -- digest (opensource)
/Info 15 0 R
/Root 14 0 R
/Size 23
>>
startxref
17166
%%EOF
+2 -1
View File
@@ -1,7 +1,8 @@
# Plan: Read-Only Memetic Artifact Gallery Sub-Page (`/gallery/`) for `hyperstitionstud.io` (`v2.0.0`)
- **Document ID:** `PLAN-MEMETIC-GALLERY-SUBPAGE` (`v2.0.0`)
- **Target Web Route:** `https://hyperstitionstud.io/gallery/` (`/gallery/index.html`)
- **Roadmap Status:** **LONG-TERM PLAN (Disabled in Production `Caddyfile` for Now)** — Caddy explicitly blocks `/gallery` and `/gallery/*` (`respond "404 Not Found" 404`) and `deploy/sync-vps-repos.sh` omits `${LIVE_REPOS}/gallery` in current deployments while preserving the gallery specification and staged scaffolding for long-term activation.
- **Target Web Route (When Activated):** `https://hyperstitionstud.io/gallery/` (`/gallery/index.html`)
- **Offline `file://` Path:** `/workspace/hyperstitionstudio-core/site/gallery/index.html`
- **Functional Scope:** **100% Read-Only Gallery Browsing** over the existing `35` generated visual/memetic artifacts (`.png`, `.pdf`, `.mp4`), with category filters, instant keyword/coordinate search, and a keyboard-navigable lightbox inspector. **Zero creative/generation/editing controls.**
- **Global Footer Compliance:** Includes the global site footer `"Made with ♥ by Lemurs."` (`&#x2665;`).
Binary file not shown.
@@ -1,175 +0,0 @@
%PDF-1.4
%“Œ‹ž ReportLab Generated PDF document (opensource)
1 0 obj
<<
/F1 2 0 R /F2 3 0 R /F3 4 0 R
>>
endobj
2 0 obj
<<
/BaseFont /Helvetica /Encoding /WinAnsiEncoding /Name /F1 /Subtype /Type1 /Type /Font
>>
endobj
3 0 obj
<<
/BaseFont /Helvetica-Bold /Encoding /WinAnsiEncoding /Name /F2 /Subtype /Type1 /Type /Font
>>
endobj
4 0 obj
<<
/BaseFont /Courier /Encoding /WinAnsiEncoding /Name /F3 /Subtype /Type1 /Type /Font
>>
endobj
5 0 obj
<<
/Contents 14 0 R /MediaBox [ 0 0 612 792 ] /Parent 13 0 R /Resources <<
/Font 1 0 R /ProcSet [ /PDF /Text /ImageB /ImageC /ImageI ]
>> /Rotate 0 /Trans <<
>>
/Type /Page
>>
endobj
6 0 obj
<<
/Contents 15 0 R /MediaBox [ 0 0 612 792 ] /Parent 13 0 R /Resources <<
/Font 1 0 R /ProcSet [ /PDF /Text /ImageB /ImageC /ImageI ]
>> /Rotate 0 /Trans <<
>>
/Type /Page
>>
endobj
7 0 obj
<<
/Contents 16 0 R /MediaBox [ 0 0 612 792 ] /Parent 13 0 R /Resources <<
/Font 1 0 R /ProcSet [ /PDF /Text /ImageB /ImageC /ImageI ]
>> /Rotate 0 /Trans <<
>>
/Type /Page
>>
endobj
8 0 obj
<<
/Contents 17 0 R /MediaBox [ 0 0 612 792 ] /Parent 13 0 R /Resources <<
/Font 1 0 R /ProcSet [ /PDF /Text /ImageB /ImageC /ImageI ]
>> /Rotate 0 /Trans <<
>>
/Type /Page
>>
endobj
9 0 obj
<<
/Contents 18 0 R /MediaBox [ 0 0 612 792 ] /Parent 13 0 R /Resources <<
/Font 1 0 R /ProcSet [ /PDF /Text /ImageB /ImageC /ImageI ]
>> /Rotate 0 /Trans <<
>>
/Type /Page
>>
endobj
10 0 obj
<<
/Contents 19 0 R /MediaBox [ 0 0 612 792 ] /Parent 13 0 R /Resources <<
/Font 1 0 R /ProcSet [ /PDF /Text /ImageB /ImageC /ImageI ]
>> /Rotate 0 /Trans <<
>>
/Type /Page
>>
endobj
11 0 obj
<<
/PageMode /UseNone /Pages 13 0 R /Type /Catalog
>>
endobj
12 0 obj
<<
/Author (Hermes Agent) /CreationDate (D:20261130024745+00'00') /Creator (\(unspecified\)) /Keywords () /ModDate (D:20261130024745+00'00') /Producer (ReportLab PDF Library - \(opensource\))
/Subject (\(unspecified\)) /Title (Architecture & Implementation Plan: Periodic Quantitative Financial Telemetry Pipeline as a Source of Contingent Meaning \(v2.0.0\)) /Trapped /False
>>
endobj
13 0 obj
<<
/Count 6 /Kids [ 5 0 R 6 0 R 7 0 R 8 0 R 9 0 R 10 0 R ] /Type /Pages
>>
endobj
14 0 obj
<<
/Filter [ /ASCII85Decode /FlateDecode ] /Length 3346
>>
stream
Gb!#]rGUF[')atC`E\O@Q&A4re@/9kE;bpa?o^u`(@B'G@nj*O<YSV<;GpKdO2!V!7EO]7;3BYmie4U.mdBG2R5]%B/ii]HZ`?;8qJf(!9:&nEL*L`.G*@Y^F>815nO;uDQT]<SDXkM[A:Nh-V]PF8\!Xnkp$?:g7u]D9B2lJT@nH)=)ZELLJ+,#XYe]DW[R9Fg'@u6&\tt*eK*T"O?FbOLOkX>LCo<7WS][iO;sdQ]P;&8N]$QVSV>b9PadJ)dObP?_Rn1K<F<bq,K$^E>$PB9[5?gak$tBnHTnkTreqT@.VKtrqiESi\/4h*4kZ0:B01h/e9OW<2`r%ZT,0$g.=3JV80,oVQ[A@Lt[Stu;m%JUsl4Fk/iTPN0Wre+3Ua?1QFn'SkOP@QD))UiGS^$J25E*OOgZ_PFC@SfWY5AI`62gE8iaFjU7]#@=4#^6=f@IR+:ToQPiT[THbCt)l^HT=pl^qKd_i(RR_8YpBDq7Y_k2NCjI8QPS#E@!A7rW9Oh;V:Jc3T?[21a1p^CZYd'h*orV.lTS7Dt=0G1ELK(s\bS0MW.pC9jF(SKOL8Bh>lAmR(Q8j9W*jc1D5A1eFcbQo,J%.?h,"khGC^oi60N#JZ_Udpt(Y=[uSSUG/*<R>$3\95?(k,1WC>4qf"i_7?n:ou,J@4AG*pg%V79B&&`POVrBs52,W$1S-G6YgmTX,Q!CiGU67\76fn4d;9^k?YFbt8EYo2"*]iQN8m4.Q&m\;KqG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)YAN69<%?%9dgCAM1E$&5ej.sAC6.#.UF&73o.A@Np@VXi2o=`!R_U0Y#7V>D't_!5_OpM`V>(@c;Gk:#S7HI(bo8&YTh_+(Hm,'DEH%3$R.".jN']l&upbm95pf*fIoN?.14=@[LYs6V1*3Oi)O.&'>H1Yj7=%!_uZD-WhoD3/Tp42O_s;pSPQO-IDU[c8R's;)"(qcVTCVHK*ACOK5Ut;OpNfgF$g#?Rg\/cQ_:h2D8RlFF83=';<j8jJn-1O^K`)&A,+=`T6%Sab]Uf4ZNGWMg]oE6hGi&lYFul2nc'Ke7W?iP?-_WA-pq1">*mZfZ]b%UU"]n04/5]Y9KW1/iHfT&>Kb"6Ou3>h'?=eg<!qYT6l;jJ^#*["cKkfuAWD/IN+.iQ1Lt?%9!r"]5rCBn/^XjA'[k7.F%k&.k/]d?h\aHg7Fck7ZKaLA\KNHsfkN/sg-;uY9UA0%]?YU&'U?@DLh\N(Jnq.8Qfd-0PmQ0mb"A(CJegcDq25?imqXoX"$SRY`;~>endstream
endobj
xref
0 20
0000000000 65535 f
0000000061 00000 n
0000000112 00000 n
0000000219 00000 n
0000000331 00000 n
0000000436 00000 n
0000000631 00000 n
0000000826 00000 n
0000001021 00000 n
0000001216 00000 n
0000001411 00000 n
0000001607 00000 n
0000001677 00000 n
0000002075 00000 n
0000002166 00000 n
0000005604 00000 n
0000008566 00000 n
0000010344 00000 n
0000011516 00000 n
0000013993 00000 n
trailer
<<
/ID
[<8bb77a0338f53203a4e6c217d106664d><8bb77a0338f53203a4e6c217d106664d>]
% ReportLab generated PDF document -- digest (opensource)
/Info 12 0 R
/Root 11 0 R
/Size 20
>>
startxref
14988
%%EOF
@@ -0,0 +1,73 @@
# Plan: Expose SQLite `/api/v1/meta/*` REST Endpoints, HTTP `ETag` (`304 Not Modified`), `hs_query_sqlite_catalog` MCP Tool & `sync-vps-repos.sh` Hydration (`v2.0.18`)
- **Document ID:** `PLAN-SQLITE-META-REST-ENDPOINTS-ETAG-AND-VPS-SYNC` (`v2.0.18`)
- **Roadmap Status:** **LONG-TERM INACTIVE PLAN (Deferred)** — Extracted from `PLAN-SQLITE-REST-API-METADATA-DB` and preserved as a long-term architectural specification alongside `PLAN-LLM-TOKEN-ECONOMIZER-AND-VARIANCE-ROUTING`, `PLAN-MEMETIC-GALLERY-SUBPAGE`, and `Episodes 06–09` of *The Encyclopedia Expeditions*; not scheduled for active implementation unless explicitly activated.
- **Prerequisite Module:** `hyperstitionstud_io.db.sqlite_meta` (`hs-db-build` CLI, `hyperstition-catalog.db`, and `api-telemetry.db` automatically populated by `dispatch_rest_v1()` and `dispatch_jsonrpc()`, defined in the active plan `/workspace/encyclopedia-knowledge-graph/docs/PLAN-SQLITE-REST-API-METADATA-DB.{md,pdf}`).
- **Target Modules (When Activated):**
- `/workspace/hyperstitionstudio-core/src/hyperstitionstud_io/mcp/rest.py` & `server.py`
- `/workspace/hyperstitionstudio-core/src/hyperstitionstud_io/mcp/tools.py`
- `/workspace/hyperstitionstudio-core/deploy/hyperstition-mcp.service`
- `/workspace/hyperstitionstudio-core/deploy/sync-vps-repos.sh` & `deploy/test-first-deployment.sh`
---
## 1. Scope of Deferred Integration
Once the standalone `hyperstitionstud_io.db.sqlite_meta` engine (`hyperstition-catalog.db` + `api-telemetry.db`) is built, this long-term plan specifies how to expose it over the public `/api/v1/meta/*` HTTP REST surface and `/mcp` JSON-RPC server and wire automatic RAM-`tmpfs` database hydration into the VPS deployment pipeline:
1. **Five `/api/v1/meta/*` HTTP REST Endpoints:**
Expose `/api/v1/meta/{manifests,search,coordinate/{aq_int},timeseries/query,telemetry}` on `hyperstitionstud_io.mcp.rest` and `server.py`.
2. **HTTP `ETag` / `If-None-Match` (`304 Not Modified`) Conditional Caching Middleware:**
Serve deterministic `ETag` headers backed by `registry_manifests.dag_json_cidv1` (or SHA-256) and short-circuit matching `If-None-Match` requests with `HTTP 304 Not Modified` in `< 0.1 ms`.
3. **MCP Tool `hs_query_sqlite_catalog`:**
Register `hs_query_sqlite_catalog` in `MCP_TOOLS_SCHEMA` (`src/hyperstitionstud_io/mcp/tools.py`) and expose it at `/mcp` (`tools/call`) and `/api/v1/tools/hs_query_sqlite_catalog`.
4. **VPS `tmpfs` Hydration in `deploy/sync-vps-repos.sh` & Systemd Sandboxing:**
Run `hs-db-build` (`"${PYTHON_BIN}" -m hyperstitionstud_io.db.sqlite_meta --build`) inside `deploy/sync-vps-repos.sh` so `/var/www/hyperstitionstud.io/repos/hyperstition-catalog.db` refreshes in the `512 MB` RAM `tmpfs` mount on every pull while keeping `ProtectSystem=strict` and `ReadOnlyIsolationGuard` intact.
---
## 2. `/api/v1/meta/*` REST Endpoints & `hs_query_sqlite_catalog` MCP Tool Specification
### 2.1 REST Endpoints (`src/hyperstitionstud_io/mcp/rest.py`)
| HTTP Method & Path | Query Parameters | What It Queries in SQLite (`< 1 ms`) |
| :--- | :--- | :--- |
| `GET /api/v1/meta/manifests` | `?registry=glossary-registry` (optional) | Calls `query_registry_manifests()` on `registry_manifests` for all compiled schemas/registries, their record counts, `raw_sha256`, `dag_json_cidv1`, and `ETag` headers. |
| `GET /api/v1/meta/search` | `?q=envideea+137&type=all\|glossary\|equation\|node&limit=25` | Calls `query_fts_catalog()` to execute a ranked **FTS5 `BM25` full-text search** across `fts_catalog` (searching glossary terms, 1,850+ equations, 388 graph nodes, and 24 tickers in `< 0.6 ms`). |
| `GET /api/v1/meta/coordinate/{aq_int}` | `aq_int` in `1..999` (e.g. `/api/v1/meta/coordinate/137` or `/api/v1/meta/coordinate/125`) | Calls `query_coordinate_join(aq_int)` for a **Unified Cross-Corpus Coordinate Join**: in a single indexed SQL query, returns every glossary term, bilingual specimen, Knowledge Graph node/edge, `333/666/777` archive equation, and `/quant/` closing-bell bar that locks onto integer coordinate `{aq_int}`. |
| `GET /api/v1/meta/timeseries/query` | `?symbol=NVDA&start=2026-11-10&end=2026-11-30&min_points=1.5` | Calls `query_timeseries_bars()` to execute indexed range queries over `quant_timeseries_bars` (`WHERE symbol = ? AND date_utc BETWEEN ? AND ? AND contingent_points >= ?`). |
| `GET /api/v1/meta/telemetry` | None | Calls `get_api_telemetry_summary()` on `api-telemetry.db`, returning live server uptime, total calls, cache hit rate (`304`), mean/max latency ($\mu\text{s}$) per endpoint, and `100%` isolation verification counts. |
### 2.2 MCP Tool `hs_query_sqlite_catalog` (`src/hyperstitionstud_io/mcp/tools.py`)
- **Tool Name:** `hs_query_sqlite_catalog`
- **Input Schema (`inputSchema`):**
- `mode`: `"manifests" | "search" | "coordinate" | "timeseries" | "telemetry"` (default `"search"`)
- `query`: `str` (FTS5 `BM25` search query when `mode == "search"`)
- `doc_type`: `"all" | "glossary" | "equation" | "node" | "dossier" | "instrument"` (default `"all"`)
- `aq_int`: `int` (`1..999`, required when `mode == "coordinate"`)
- `symbol`: `str` (optional ticker filter when `mode == "timeseries"`)
- `start_date`, `end_date`: `str` (`YYYY-MM-DD` bounds when `mode == "timeseries"`)
- `min_points`: `float` (default `0.0`)
- `limit`: `int` (`1..100`, default `25`)
- **Execution Guarantees:** Runs strictly inside `ReadOnlyIsolationGuard` against `file:/.../hyperstition-catalog.db?mode=ro` (`PRAGMA query_only = ON;`).
---
## 3. HTTP `ETag` / `If-None-Match` (`304 Not Modified`) & VPS Systemd Sandboxing
1. **HTTP `ETag` & `If-None-Match` (`304 Not Modified`) Middleware in `_MCPHTTPHandler` (`mcp/server.py`):**
- Every `GET /api/v1/*` response computes or looks up its deterministic `ETag` (`"<dag_json_cidv1>"` from `registry_manifests` or SHA-256 payload digest).
- If the client sends `If-None-Match: "<etag>"` (or a comma-separated list containing `"<etag>"`), `_MCPHTTPHandler` records a `status_304` hit in `api-telemetry.db` and returns `HTTP 304 Not Modified` with an empty body immediately (`~95%` bandwidth reduction on repeat polls).
2. **Read-Only Catalog DB Hydration in `deploy/sync-vps-repos.sh`:**
- During Step 2 of `deploy/sync-vps-repos.sh`, invoke `"${PYTHON_BIN}" -m hyperstitionstud_io.db.sqlite_meta --build --db "${LIVE_REPOS}/hyperstition-catalog.db"` so the `512 MB` RAM-backed `tmpfs` mount always holds an up-to-date catalog DB after every repository pull.
3. **Preserving `ProtectSystem=strict` & `ReadOnlyIsolationGuard` in `deploy/hyperstition-mcp.service`:**
- Configure `RuntimeDirectory=hyperstition-mcp` (or `PrivateTmp=true` writing to `/tmp/hyperstition-api-telemetry.db`) so `hyperstition-mcp.service` writes `api-telemetry.db` only to an ephemeral tmpfs path while `/srv/hyperstitionstud.io/repos` and `/var/www/hyperstitionstud.io/repos` remain **100% read-only**.
---
## 4. Activation & Verification Checklist (When Promoted from Inactive Backlog)
1. Wire `/api/v1/meta/{manifests,search,coordinate/{aq_int},timeseries/query,telemetry}` and `ETag` / `If-None-Match` (`304 Not Modified`) into `src/hyperstitionstud_io/mcp/rest.py` and `server.py`.
2. Add `hs_query_sqlite_catalog` to `MCP_TOOLS_SCHEMA` in `src/hyperstitionstud_io/mcp/tools.py`.
3. Wire `hs-db-build` into `deploy/sync-vps-repos.sh` and add HTTP checks for `/api/v1/meta/manifests`, `/api/v1/meta/search?q=envideea`, `/api/v1/meta/coordinate/137`, `If-None-Match` -> `304 Not Modified`, and `/api/v1/meta/telemetry` to `tests/test_core_suite.py` and `deploy/test-first-deployment.sh`.
+25 -13
View File
@@ -4,10 +4,13 @@
- **Target Domain:** `https://hyperstitionstud.io` (and `https://www.hyperstitionstud.io` -> `308` redirect)
- **Upstream Git Forge:** `git.libre.audio` (`https://git.libre.audio/seasharp/<repo-slug>.git`)
- **Bundled Deployment Automation (`hyperstitionstudio-core/deploy/`):**
- `deploy/sync-vps-repos.sh` — Pulls from `git.libre.audio`, automatically supplies untracked `haiperdohp-jemaytreeah/.gitignore` runtime files (`config.js`, `db.json`, `db_lite.json`) if absent, runs `hs-doctor` and 6-gate Knowledge Graph verification, syncs per-repo install directories into RAM (`/var/www/hyperstitionstud.io/repos`), creates relative route symlinks, and pre-compresses `.br` (Brotli-11) and `.gz` (Gzip-9) sidecars.
- `deploy/Caddyfile` — Production Caddy 2 configuration (`HTTP/3 QUIC` + `precompressed br gzip` + direct per-repo `handle_path` routing).
- `deploy/sync-vps-repos.sh` — Pulls from `git.libre.audio`, automatically supplies untracked `haiperdohp-jemaytreeah/.gitignore` runtime files (`config.js`, `db.json`, `db_lite.json`) if absent, runs `hs-doctor` and 6-gate Knowledge Graph verification, syncs per-repo install directories into RAM (`/var/www/hyperstitionstud.io/repos`), creates relative route symlinks (`/`, `/learn`, `/quant`, `/graph`, `/encyclopedia`, `/zoology`, `/archive`, `/calc`, `/ci`, `/schemas`), pre-compresses `.br` (Brotli-11) and `.gz` (Gzip-9) sidecars, and idempotently syncs `Caddyfile`, `systemd` units, and `/etc/logrotate.d/hyperstition-sqlite-meta`.
- `deploy/Caddyfile` — Production Caddy 2 configuration (`HTTP/3 QUIC` + `precompressed br gzip` + direct per-repo `handle_path` routing + `/mcp` and `/api/v1/*` reverse proxy to `127.0.0.1:8095`).
- `deploy/hyperstition-tmpfs-sync.service` — `systemd` unit that hydrates `/var/www/hyperstitionstud.io/repos` on VPS boot before Caddy starts.
- `deploy/test-first-deployment.sh` — Automated 28-route HTTP verification harness (verifies all portal, graph, encyclopedia, `haiperdohp-jemaytreeah` `.gitignore` files `config.js`/`db_lite.json`/`db.json`, CI, and schema routes).
- `deploy/hyperstition-mcp.service` — `systemd` unit running `hs-mcp --transport http --host 127.0.0.1 --port 8095` in strict read-only mode while populating `/tmp/hyperstition-api-telemetry.db` (`HYPERSTITION_SQLITE_MAX_MB=100`).
- `deploy/logrotate.d/hyperstition-sqlite-meta` — Quiescent `logrotate.d` rule (`size 100M` default, `rotate 12`, `compress`, `delaycompress`, configurable via `HYPERSTITION_SQLITE_MAX_MB` / `HYPERSTITION_SQLITE_MAX_BYTES`) that compresses a consistent point-in-time SQLite snapshot (`<db>.1.gz` .. `<db>.12.gz`) and truncates the active SQLite REST/MCP API metadata database via `hs-db-build --truncate-quiescent --compress-archive` (`BEGIN EXCLUSIVE` + `PRAGMA wal_checkpoint(TRUNCATE)` + `VACUUM` + `PRAGMA integrity_check`).
- `deploy/test-first-deployment.sh` — Automated static route + `/mcp` + `/api/v1/*` + SQLite `logrotate.d` quiescent truncation verification harness.
- **Bundled CLI Entrypoints (`hyperstitionstudio-core/pyproject.toml`):** `hs-doctor`, `hs-citations`, `hs-pdf-build`, `hs-kg-build`, `hs-quant-harvest` (`--mode us-closing-bell` default), `hs-mcp`, `hs-sync-version`, and `hs-db-build`.
---
@@ -17,7 +20,7 @@ Each sibling repository on `git.libre.audio` is cloned into `/srv/hyperstitionst
| # | Repository Slug (`seasharp/<repo>`) | Public HTTPS Clone URL (`git.libre.audio`) | Persistent VPS Clone (`/srv/hyperstitionstud.io/repos/*`) | Direct Web Route(s) on `https://hyperstitionstud.io` |
| :- | :--- | :--- | :--- | :--- |
| **1** | `hyperstitionstudio-core` (`v1.2.0`) | `https://git.libre.audio/seasharp/hyperstitionstudio-core.git` | `/srv/hyperstitionstud.io/repos/hyperstitionstudio-core` | • `/` (`site/index.html` Portal Homepage)<br/>• `/schemas/*` (`schemas/v1/*.schema.json`) |
| **1** | `hyperstitionstudio-core` (`v2.0.18`) | `https://git.libre.audio/seasharp/hyperstitionstudio-core.git` | `/srv/hyperstitionstud.io/repos/hyperstitionstudio-core` | • `/` (`site/index.html` Portal Homepage)<br/>• `/learn/*` (`site/learn/index.html` + `learn-app.js` Interactive Curriculum)<br/>• `/quant/*` (`site/quant/index.html` + `quant-app.js` + `quant-timeseries-data.js` Interactive Time-Series Workbench & TradingView Launcher)<br/>• `/schemas/*` (`schemas/v1/*.schema.json`)<br/>• `/mcp` & `/api/v1/*` (Stateless Read-Only MCP JSON-RPC & REST API v1 + `/api/v1/openapi.json` on `127.0.0.1:8095`)<br/>*(Note: `/gallery/*` is staged in `site/gallery/` as a long-term plan and disabled in `Caddyfile`/`sync-vps-repos.sh` for now)* |
| **2** | `ingglish-hyperdope-gematria` (`main`) | `https://git.libre.audio/seasharp/ingglish-hyperdope-gematria.git` | `/srv/hyperstitionstud.io/repos/ingglish-hyperdope-gematria` | • `/archive/*` (`ingglish-aq-archive/`) |
| **3** | `technocapital-singularity-zoology` (`v1.7.0`) | `https://git.libre.audio/seasharp/technocapital-singularity-zoology.git` | `/srv/hyperstitionstud.io/repos/technocapital-singularity-zoology` | • `/encyclopedia/*` (`encyclopedia/`)<br/>• `/technocapital-singularity-zoology/*` (sibling PDF link target)<br/>• `/zoology/*` (root reports, tier list, glossary, `dossiers/`) |
| **4** | `encyclopedia-knowledge-graph` (`v1.0.0`) | `https://git.libre.audio/seasharp/encyclopedia-knowledge-graph.git` | `/srv/hyperstitionstud.io/repos/encyclopedia-knowledge-graph` | • `/graph/*` (`index.html`, `graph-data.js`, `atlas-mode*.png`, `.json`, `.graphml`, `.gexf`, `.canvas`, `docs/`) |
@@ -101,7 +104,7 @@ curl -1sLf 'https://dl.cloudsmith.io/public/caddy/stable/gpg.key' | sudo gpg --d
curl -1sLf 'https://dl.cloudsmith.io/public/caddy/stable/debian.deb.txt' | sudo tee /etc/apt/sources.list.d/caddy-stable.list >/dev/null
sudo chmod a+r /usr/share/keyrings/caddy-stable-archive-keyring.gpg /etc/apt/sources.list.d/caddy-stable.list
sudo apt update && sudo apt install -y git python3 python3-venv python3-pip brotli rsync curl caddy fonts-dejavu-core
sudo apt update && sudo apt install -y git python3 python3-venv python3-pip brotli rsync curl logrotate caddy fonts-dejavu-core
sudo tee /etc/sysctl.d/99-hyperstition-fastnet.conf >/dev/null <<'EOF'
net.core.default_qdisc = fq
@@ -162,13 +165,19 @@ python3 -m venv .venv
# 1. Hydrate /var/www/hyperstitionstud.io/repos and pre-compress (.br / .gz)
/srv/hyperstitionstud.io/repos/hyperstitionstudio-core/deploy/sync-vps-repos.sh --no-pull
# 2. Install systemd boot-time tmpfs hydration unit
# 2. Install systemd boot-time tmpfs hydration unit, read-only MCP HTTP server unit (127.0.0.1:8095), and quiescent SQLite logrotate rule
sudo cp /srv/hyperstitionstud.io/repos/hyperstitionstudio-core/deploy/hyperstition-tmpfs-sync.service \
/etc/systemd/system/hyperstition-tmpfs-sync.service
sudo cp /srv/hyperstitionstud.io/repos/hyperstitionstudio-core/deploy/hyperstition-mcp.service \
/etc/systemd/system/hyperstition-mcp.service
sudo cp /srv/hyperstitionstud.io/repos/hyperstitionstudio-core/deploy/logrotate.d/hyperstition-sqlite-meta \
/etc/logrotate.d/hyperstition-sqlite-meta
sudo chmod 0644 /etc/logrotate.d/hyperstition-sqlite-meta
sudo systemctl daemon-reload
sudo systemctl enable hyperstition-tmpfs-sync.service
sudo systemctl enable --now hyperstition-mcp.service
# 3. Install Caddyfile, validate syntax, and reload Caddy
# 3. Install Caddyfile (with /mcp reverse_proxy -> 127.0.0.1:8095), validate syntax, and reload Caddy
sudo cp /srv/hyperstitionstud.io/repos/hyperstitionstudio-core/deploy/Caddyfile /etc/caddy/Caddyfile
sudo caddy validate --config /etc/caddy/Caddyfile
sudo systemctl reload caddy
@@ -210,11 +219,14 @@ Sync the updated working tree(s) into the RAM mount and regenerate the `.br` / `
```
*(Note: If a remote tag was force-updated earlier and `git fetch --tags` rejects it with `would clobber existing tag` before `hyperstitionstudio-core` has pulled commit `b767f8a`, run `git -C /srv/hyperstitionstud.io/repos/hyperstitionstudio-core fetch --force origin main --tags && git -C /srv/hyperstitionstud.io/repos/hyperstitionstudio-core merge --ff-only origin/main` once first).*
### 5.3 Caddy Reload & Browser Cache Rules
### 5.3 Automatic Idempotent `Caddyfile`, `systemd` & `logrotate.d` Sync (Default vs. `--no-caddy`)
- **No Caddy reload is required** for content updates (`HTML`, `JS`, `JSON`, `PDFs`, `PNGs`)—Caddy serves the updated `.br`/`.gz`/raw files from `/var/www/hyperstitionstud.io/repos/` immediately as soon as `sync-vps-repos.sh` finishes.
- **Only reload Caddy** if `/srv/hyperstitionstud.io/repos/hyperstitionstudio-core/deploy/Caddyfile` itself changed:
```bash
sudo cp /srv/hyperstitionstud.io/repos/hyperstitionstudio-core/deploy/Caddyfile /etc/caddy/Caddyfile && sudo systemctl reload caddy
```
- **Idempotent by Default (`DO_CADDY=1`):**
Every run of `sync-vps-repos.sh` (unless `--no-caddy` or `--no-services` is passed) automatically compares `deploy/Caddyfile` against `/etc/caddy/Caddyfile`, `deploy/*.service` against `/etc/systemd/system/*.service`, and `deploy/logrotate.d/hyperstition-sqlite-meta` against `/etc/logrotate.d/hyperstition-sqlite-meta` using `cmp -s`:
1. If `/etc/caddy/Caddyfile` is already byte-identical to `deploy/Caddyfile`, it prints `[5/5] /etc/caddy/Caddyfile is already identical to deploy/Caddyfile (no reload needed)` and performs zero unnecessary reloads.
2. If `deploy/Caddyfile` changed, it validates the new config first via `sudo caddy validate --config ... --adapter caddyfile`, copies it to `/etc/caddy/Caddyfile`, and executes a zero-downtime `sudo systemctl reload caddy`.
3. If `hyperstition-tmpfs-sync.service` or `hyperstition-mcp.service` changed, it updates `/etc/systemd/system/`, runs `sudo systemctl daemon-reload`, and ensures `hyperstition-mcp.service` is active.
4. If `/etc/logrotate.d/hyperstition-sqlite-meta` is missing or differs from `deploy/logrotate.d/hyperstition-sqlite-meta`, it installs the rule with `0644` permissions so the SQLite REST/MCP metadata database (`/tmp/hyperstition-api-telemetry.db`) is quiescently truncated at the configurable `100 MB` limit (`size 100M`, `HYPERSTITION_SQLITE_MAX_MB=100`).
- **Negating Service/Caddy Sync (`--no-caddy` / `--no-services`):**
Pass `--no-caddy` (e.g., `sync-vps-repos.sh --no-pull --no-caddy`) to sync only the RAM-backed webroot files and `.br`/`.gz` sidecars without touching `/etc/caddy/Caddyfile` or `systemd`.
- **Browser Cache Note:** `HTML`/`JS`/`JSON` routes carry `Cache-Control: public, max-age=300` (5 minutes); press `Ctrl+Shift+R` (`Cmd+Shift+R` on macOS) in your browser to bypass the 5-minute client cache immediately after syncing.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,147 @@
# Plan: Daily Portfolio & Memetic Regime Update Feature (`hs-daily-brief`) — Zero-Synthetic-Data Bayesian Inference, Cross-Species Support/Challenge Audit & Compounding Methodological Rigor (`v2.0.24`)
- **Document ID:** `PLAN-DAILY-PORTFOLIO-AND-MEMETIC-REGIME-UPDATE-FEATURE` (`v2.0.24`)
- **Roadmap Status:** **ACTIVE / READY**
- **Strict Zero-Synthetic-Data & Null-Preserving Mandate:**
1. **100% Real Observations Only:** Every price, basis-point move, volume ratio, macro yield/volatility reading, news headline, and `333/666/777` equation in the Daily Update is drawn strictly from real exchange feeds (`site/quant/real-market-history.json`, Yahoo Finance v8, Stooq CSV, CoinGecko v3) and real dated `00:00 UTC` news-wire dossiers (`25..71-dossier-news-YYYY-MM-DD.md` & `news-aq-harvest-latest.json`).
2. **Language-Appropriate `null` When Unavailable:** Whenever any instrument (such as private company `ANTHR-PVT`), market session (such as a weekend, US market holiday, or pre-close session), or feed field (such as unreported equity `market_cap_str`) lacks a real observation on date $t$, it is stored as `None` (Python) / `null` (JSON/JS) / `NULL` (SQLite) and rendered in the brief and UI as `"No data available"`—never `0.0`, never interpolated, and never simulated.
- **Target Modules, Routes & Artifacts:**
- `/workspace/hyperstitionstudio-core/src/hyperstitionstud_io/quant/daily_brief.py` (`hs-daily-brief` CLI & Python engine)
- `/workspace/hyperstitionstudio-core/site/quant/{index.html,quant-app.js,daily-brief-latest.json,daily-brief-data.js}` (Interactive **Daily Portfolio & Memetic Regime Update** panel on `/quant/`)
- `/workspace/ingglish-hyperdope-gematria/ingglish-aq-archive/daily-brief-state.json` (Longitudinal Bayesian prior/posterior & daily macro question ledger)
---
## 1. Five-Part Daily Update Agenda & Architectural Specification
Each execution of `hs-daily-brief` (designed to run automatically after the `21:30 UTC` US closing-bell harvest and/or `00:00 UTC` news-wire rollover, or on demand via CLI/REST) produces a structured 5-section analytical brief backed by a machine-verifiable JSON state (`daily-brief-latest.json`):
---
### Agenda 1: Executive Summary — Portfolio-Impacting Findings, Trend Durability/Severity, Risk-On/Off Regime & Bayesian Best/Base/Worst-Case Scenarios
**Core Question:** *What was learned today that will likely have the greatest impact on asset portfolios?*
1. **Ranking Today's Findings by Portfolio Impact Score ($I_{i,t}$):**
Every real instrument observation on date $t$ is scored across two orthogonal dimensions—**Trend Durability** and **Shock Severity**—without inventing missing numbers:
- **Financial & Memetic Durability ($D^{\text{dur}}_{i,t}$):**
- Consecutive-run persistence count ($k \ge 1$ days in a row that ticker $i$ or its guild has held an active `Scope 1/2` lock or `Scope 3` news-wire co-presence),
- Structural `G4` Isometric Chokepoint status ($\Delta = \text{AQ}_{\text{Ing}} - \text{AQ}_{\text{Eng}} == 0$, e.g., `ASML = 81`, `TSMC = 91`, `ARM = 59`, `SOL = 73`), and
- Cross-species Confluence Dose ($D_{i,t} \in \{0, 1, 2, 3, 4\}$).
- **Financial & Memetic Severity ($S^{\text{sev}}_{i,t}$):**
- Within-ticker volatility $z$-score $z_{i,t} = \frac{|\Delta\text{bps}_{i,t}|}{\bar{\sigma}_i}$ (computed strictly over available real trading bars for ticker $i$; `null` if $< 3$ bars exist),
- Relative 20-day volume surge (`Vol20d` $V_{i,t} / \bar{V}_{20}$), and
- Same-day news-wire equation velocity ($M_t$ total verified `333/666/777` equations in that date's dossier).
2. **Macro Risk-On / Risk-Off Regime Classification (Real Market Barometers):**
Evaluates four real cross-asset indicators from the watchlist (reporting `"No data available"` for any indicator whose market was closed on date $t$):
- **Volatility Barometer (`^VIX`):** Close level (e.g. `< 18` Risk-On Calm, `18–24` Elevated Caution, `>= 25` Risk-Off Stress / `M2` trigger) and daily $\Delta\text{bps}$.
- **Rates / Duration Barometer (`^TNX` 10-Year US Treasury Yield):** Yield level (`%`) and daily basis-point shift.
- **Industrial Cyclical Barometer (`HG=F` Copper):** Real price & $\Delta\text{bps}$ vs. `S1` AI / `S3` Semiconductor equity breadth.
- **24/7 Liquidity Barometer (`BTC-USD`, `ETH-USD`, `SOL-USD`):** Continuous weekend/overnight risk-appetite proxy when US equity markets are closed (`"No data available"` on equity bars).
3. **Bayesian Inference Engine with Extant Priors (`Best Case`, `Base Case`, `Worst Case` Portfolio Scenarios):**
Rather than using arbitrary subjective probabilities, the brief maintains an explicit 3-state **Portfolio Regime Prior** $\mathbf{P}_{t-1} = \big(P_{t-1}(\text{Bull / Risk-On}),\; P_{t-1}(\text{Pinned / Range-Bound}),\; P_{t-1}(\text{Tail Drawdown / Risk-Off})\big)$ loaded directly from the previous run's `daily-brief-state.json` (initialized on cold start from the empirical base rates of the real historical window in `real-market-history.json`):
- **Empirical Likelihood Update (Bayes' Rule):**
Given today's observed evidence vector $E_t = (\text{Breadth}_t,\; \text{VIX}_t,\; \text{MeanVol20d}_t,\; \text{Dose2Share}_t,\; \text{Dose3Count}_t)$, the engine computes empirical likelihoods $L(E_t \mid R_m)$ from the historical distribution of real bars and updates the posterior via Bayes' theorem:
$$P_t(R_m \mid E_t) = \frac{P_{t-1}(R_m) \cdot L(E_t \mid R_m)}{\sum_{j} P_{t-1}(R_j) \cdot L(E_t \mid R_j)}$$
- **Three Portfolio Scenarios Grounded in Real Empirical Quantiles (Zero Fabricated Targets):**
- **Best-Case Scenario (`Risk-On / Constructive Breakout`, Posterior $P_t(R_{\text{Bull}})$):** Projects the empirical **80th/90th percentile (`P80/P90`)** daily basis-point return observed across real historical bars in that regime, identifying which guilds (`S1..S6`) hold the strongest positive lead-lag and chokepoint protection.
- **Base-Case Scenario (`Isometric Pinning / Range Equilibrium`, Posterior $P_t(R_{\text{Pinned}})$):** Projects the empirical **median (`P50`)** basis-point displacement, highlighting `Dose 2` variance-pinned tickers (`has_doss = 1, has_wire = 0`, where empirical move variance compresses by `-33%` to `-50%`).
- **Worst-Case Scenario (`Risk-Off / M1 Halt or M2 Tail Drawdown`, Posterior $P_t(R_{\text{Tail}})$):** Projects the empirical **10th percentile (`P10` / worst historical drawdown)** in basis points from the real exchange dataset, flagging high-beta concentration risks and `137` (`M1` halt) / `193` (`M2` flash-crash) exposure.
---
### Agenda 2: Substantive Support for Active Memetic Themes & Consensus Expectations (`Confirming Signals`)
**Core Question:** *What key macro financial and memetic signals provide substantive support for active memetic themes or consensus expectations?*
1. **Cross-Species Confirmations (`Financial Tape × Memetic Wire Alignment`):**
Lists every real observation on date $t$ where financial price/volume action and memetic news-wire coordinates reinforce each other:
- **Confirmed Sector Leadership:** E.g., when `S1` AI or `S3` Semiconductor tickers post positive returns/volume while simultaneously locking onto active coordinates in that day's `00:00 UTC` dossier (`Scope 3B` Dossier Confluence).
- **Confirmed Isometric Moat Stability (`G4` $\Delta = 0$):** Tracks whether the physical/legal chokepoints (`ASML = 81`, `TSM = 91`, `ARM = 59`, `BLK`) held their ground relative to high-beta peers.
- **Confirmed Multi-Run Persistence (`Run N-1 -> Run N`):** Highlights coordinates and equations that appeared in yesterday's brief and re-confirmed today.
---
### Agenda 3: Substantive Challenges to Active Memetic Themes & Consensus Expectations (`Disconfirming & Counter-Trend Signals`)
**Core Question:** *What key macro financial and memetic signals provide substantive challenges for active memetic themes or consensus expectations?*
1. **Four Explicit Falsification & Divergence Detectors:**
- **Detector 1 — Narrative-Tape Divergence (`High Memetic Velocity vs. Negative Financial Breadth`):**
Flags when a guild dominates the `00:00 UTC` news wire (`has_wire = 1`, multiple `333/666/777` equations) but its constituent stocks sell off on heavy volume (e.g., `NVDA` on `2026-11-12` & `2026-11-13` dropping `-434 bps` on `4.52x` volume and `-201 bps` on `1.86x` volume while co-occurring in Dossiers 52 & 53).
- **Detector 2 — Macro Rate/Volatility Headwinds Against Consensus Equity Themes:**
Flags when rising `^TNX` 10-Year Treasury yields or spiking `^VIX` volatility challenge long-duration `S1` AI / `S2` crypto consensus positioning.
- **Detector 3 — Chokepoint vs. Application-Layer Decoupling:**
Flags when upstream hardware/foundry chokepoints (`ASML`, `TSM`, `HG=F` Copper) diverge from downstream software/model valuations (`MSFT`, `GOOGL`, `META`, `PLTR`).
- **Detector 4 — Expired / Unconfirmed Provisional Candidates:**
Lists any provisional memetic or ring lock from the prior run that failed to re-occur today, preventing survivorship bias.
---
### Agenda 4: Delta-Since-Last-Run Audit — Newly Analyzed Macro Financial, Policy & Memetic Signals (`Run N-1 -> Run N`)
**Core Question:** *What other key macro financial and memetic data or policy signals were analyzed since the last run that may have a significant impact on financial and memetic asset markets?*
1. **Deterministic Run-to-Run Diff (`diff_since_previous_run()`):**
Compares today's harvest state against the previous run stored in `daily-brief-state.json`:
- **New Policy, Regulatory, Sovereign & Geopolitical Wire Signals:** Extracts all newly ingested headlines and verified `333/666/777` equations from the latest `*-dossier-news-YYYY-MM-DD.md` that were not present in the prior run (categorized by tariff/trade policy, central-bank/fiscal policy, antitrust/governance, infrastructure/grid outages, and defense/kinetic events).
- **New Cross-Asset Moves & Regime Flips:** Lists every ticker whose daily move $|\Delta\text{bps}_{i,t}|$ exceeded `200 bps` or whose `Vol20d` exceeded `1.5x` since the prior run, plus any newly activated or cleared `M1–M3` regime flags.
- **Data Availability Audit:** Explicitly lists which markets were open vs. closed (`"No data available"`) since the last run.
---
### Agenda 5: Daily Key Macro Question & Compounding Qualitative + Quantitative Methodological Rigor
**Core Question:** *Given all prior analytical questions, what is today's key macro question, how is the multi-day trend evolving, and how do today's qualitative and quantitative methods hold up under scrutiny?*
1. **Formulating Today's Testable Daily Key Macro Question + Scoring Yesterday's Question (`Longitudinal Compounding`):**
- **Review of Prior Run's Question ($Q_{t-1}$):** Reads yesterday's Daily Key Macro Question from `daily-brief-state.json`, evaluates what today's real market and news-wire observations showed, and records a permanent verdict (`CONFIRMED`, `CHALLENGED / REFUTED`, or `PENDING — Market Closed / No Data Available`).
- **Today's New Key Macro Question ($Q_t$):** Synthesizes the single highest-stakes question at the intersection of Agenda 1 (Bayesian portfolio risk), Agenda 2 (confirming signals), Agenda 3 (challenging divergences), and Agenda 4 (new policy/wire inputs), specifying the exact observable metrics (`Tickers`, `Coordinates`, `bps / Vol20d thresholds`) that will test $Q_t$ on tomorrow's run ($t+1$).
2. **Compounding Qualitative Rigor (`Contingent Meaning & Anti-Apophenia Audit`):**
- Explicitly documents *why* each highlighted lock in today's brief passes **"The Room Filter"** (co-occurrence within the same day's news wire, supply chain, or closing bell) and rejects ungrounded dictionary fishing.
- Tracks the cumulative **Multi-Day Signal-to-Noise Ratio** across consecutive daily runs.
3. **Compounding Quantitative Rigor (`Statistical Significance, Exact Sample Sizes & Methodological Applicability`):**
Every daily brief includes a transparent **Methodological & Statistical Audit Table** explaining both the numbers and *why each statistical method is or is not applicable to that specific problematic*:
| Analytical Problematic | Statistical Method Applied | Reported Metrics in Daily Brief | Why This Method Applies & Its Explicit Limitations |
| :--- | :--- | :--- | :--- |
| **1. Regime Belief Updating (`Agenda 1`)** | **Discrete Bayesian Inference with Extant Priors** ($P_{t-1} \to P_t$) | Prior $P_{t-1}(R_m)$, Likelihood Ratio $\Lambda_t$, Posterior $P_t(R_m \mid E_t)$, Historical `P10 / P50 / P90` bps bounds ($n$ stated) | **Why applicable:** Explicitly compounds evidence day-over-day without resetting context to zero.<br/>**Limitation disclosed:** Likelihood estimates are bounded by the historical sample size ($n$ trading days); when a market session is closed (`null`), the posterior is held invariant ($\Lambda_t = 1.0$, `"No new market data"`). |
| **2. Cross-Sectional Volatility & Pinning (`Agendas 2–3`)** | **Spearman Rank Correlation ($\rho$) & Within-Ticker $z$-Score ($z_{i,t} = |\Delta\text{bps}_{i,t}|/\bar{\sigma}_i$)** alongside Pearson $r$ & Student $t$-stat ($\text{df}=n-2$) | $\rho$, $r$, $t$-stat, two-tailed $p$-value, exact $n$ (e.g. `has_doss` pinning: $\rho = -0.2101, r = -0.1518, t = -3.19, p < 0.002, n = 433$; `has_wire` shock: $r = +0.2334, t = +4.98, p < 0.0001, n = 433$) | **Why applicable:** Spearman $\rho$ and within-ticker $z$-scores prevent high-volatility instruments (`^VIX`, crypto) from distorting cross-sectional Pearson $r$.<br/>**Limitation disclosed:** Opposite-signed species (`has_doss` $< 0$ vs. `has_wire` $> 0$) must never be summed into a single linear regressor. |
| **3. Multi-Species Tail Breakouts (`Dose 3+`)** | **Exact Small-Sample Regime Flagging (`n < 10` Gate)** | Exact count $n$, mean `Vol20d` (`1.98x`), next-day mean $|\Delta\text{bps}|$ (`377.5 bps`), $t$-stat (`+1.52`) | **Why applicable:** Surfaces high-impact tail confluences (`NVDA 4.52x` volume on `2026-11-12`) without hiding them.<br/>**Limitation disclosed:** Automatically badged `Exploratory / Small-Sample (n=4, |t|<1.96)` until cumulative daily runs reach $n \ge 10$ tail observations. |
| **4. News-Volume Confounding (`Agenda 3 & 5`)** | **Conditional Split (`Locked News Days` vs. `Unlocked News Days`)** | $\mathbb{E}[|\Delta\text{bps}| \mid \text{wire}=1, \text{lock}=1]$ vs. $\mathbb{E}[|\Delta\text{bps}| \mid \text{wire}=1, \text{lock}=0]$ | **Why applicable:** Separates ordinary fundamental news volatility from incremental coordinate-lock confluence. |
---
## 2. Four-Phase Implementation Roadmap (`Phases 1–4`)
### Phase 1: Build `src/hyperstitionstud_io/quant/daily_brief.py` & `hs-daily-brief` CLI
1. Create `/workspace/hyperstitionstudio-core/src/hyperstitionstud_io/quant/daily_brief.py` implementing:
- `build_daily_portfolio_regime_brief(target_date_utc=None, write_files=True)`:
- Reads strictly real market history (`site/quant/real-market-history.json`), `quant-timeseries.json`, and dated news dossiers (`25..71-dossier-news-YYYY-MM-DD.md`),
- Loads extant Bayesian priors and prior Daily Key Macro Questions from `daily-brief-state.json`,
- Computes Agendas 1–5 with zero synthetic data and `None` / `null` (`"No data available"`) on all missing observations,
- Writes `site/quant/daily-brief-latest.json`, `site/quant/daily-brief-data.js` (`window.HyperstitionStudio.DailyBrief`), and `site/quant/DAILY-PORTFOLIO-AND-MEMETIC-REGIME-BRIEF.{md,pdf}`.
2. Register `hs-daily-brief = "hyperstitionstud_io.quant.daily_brief:main"` in `pyproject.toml`.
### Phase 2: Integrate the Interactive Daily Update Panel into `/quant/` (`site/quant/index.html` & `site/quant/quant-app.js`)
1. Add a collapsible **Daily Portfolio & Memetic Regime Update (`Agenda 1–5`)** panel on `/quant/index.html` displaying:
- **Agenda 1 Card:** Executive Summary, Durability/Severity top movers, Risk-On/Risk-Off barometer pills (`^VIX`, `^TNX`, `HG=F`, `BTC-USD`), and the Bayesian Prior -> Posterior `Best / Base / Worst Case` scenario table,
- **Agenda 2 & 3 Split Cards:** Side-by-side **Confirming Signals (Support)** vs. **Challenging Signals (Divergences & Falsifications)**,
- **Agenda 4 Card:** Delta-Since-Last-Run Policy, Macro & Memetic Wire Diff, and
- **Agenda 5 Card:** Today's Testable Key Macro Question ($Q_t$), Prior Question Verdict ($Q_{t-1}$), and the Qualitative + Quantitative Methodological Rigor Audit table (with inline `ⓘ` info icons).
### Phase 3: Wire into `version_sync.py` & `hs-quant-harvest`
1. Call `build_daily_portfolio_regime_brief(write_files=True)` at the end of `hs-quant-harvest` (`src/hyperstitionstud_io/quant/collector.py`) so every scheduled closing-bell harvest automatically compounds the Bayesian prior/posterior ledger and refreshes `/quant/daily-brief-latest.json`.
2. Register `site/quant/daily-brief-data.js?v={V}` in `src/hyperstitionstud_io/version_sync.py`.
### Phase 4: Verification in `tests/test_core_suite.py` & `deploy/test-first-deployment.sh`
1. Add unit assertions in `tests/test_core_suite.py` verifying:
- `build_daily_portfolio_regime_brief()` executes with `synthetic_data_eliminated == True`,
- Bayesian posterior probabilities sum to `1.0` (`abs(sum(posteriors.values()) - 1.0) < 1e-6`) and update deterministically from extant priors,
- All 5 agenda sections (`executive_summary`, `supporting_signals`, `challenging_signals`, `delta_since_last_run`, `daily_macro_question_and_rigor`) are populated from real data and use `None` / `null` when unavailable, and
- Statistical audit fields (`pearson_r`, `spearman_rho`, `t_stat`, `sample_n`, `is_exploratory_low_n`) are present and accurate.
2. Add `/quant/daily-brief-latest.json` and `/quant/daily-brief-data.js` to `deploy/test-first-deployment.sh`.
@@ -0,0 +1,46 @@
# Plan: Minimal Element & Text Reduction of `/donate/` (`site/donate/index.html`) — Three-Sentence Lemur Note + Existing Payment Channel Elements Only (`v2.0.24`)
- **Document ID:** `PLAN-DONATE-SUBPAGE-MINIMAL-REDUCTION` (`v2.0.24`)
- **Roadmap Status:** **ACTIVE / READY**
- **Target File:** `/workspace/hyperstitionstudio-core/site/donate/index.html`
- **Core Objective:**
Reduce `/donate/index.html` strictly by **removing intermediate essay/sandbox elements and excess prose**—recreating zero UI components—so the page consists of:
1. The existing `<header>` navigation bar (`lines 340–355`),
2. A single **<= 3-sentence note of love and appreciation from the Lemurs** in the established authorial affect,
3. The existing `#fuel-channels` payment panel (`lines 439–481`: the centerpiece `.tactile-donate-btn.centerpiece`, `#copyFeedbackBanner`, and `#channelCardsGrid` displaying the existing `BTC` and `XMR` `.channel-card` payment elements), and
4. The existing `<footer>` (`lines 491–494`: `"Made with ♥ by Lemurs."`) and copy-to-clipboard `<script>`.
---
## 1. Exact Element Retention vs. Deletion Specification (`site/donate/index.html`)
No new UI components, CSS rules, or payment cards are created; the edit is a pure subtraction of multi-section prose and sandbox chrome:
| DOM Section in `site/donate/index.html` | Current Lines | Action (`KEEP` / `REDUCE` / `DELETE`) | Details |
| :--- | :---: | :---: | :--- |
| **1. `<header>` & `.top-nav`** | `340–355` | **KEEP AS-IS** | Preserves the title, `urn:io:hyperstitionstud:donate:v2.0.24` subtitle (required by `version_sync.py`), and `.top-nav` links (`/`, `/quant/`, `/graph/`, `/learn/`, `/calc/`). |
| **2. Top Intro Note (`<section class="panel">`)** | `358–384` | **REDUCE TO `<= 3` SENTENCES** | Strips the 4-paragraph essay and duplicate `#heroDonateBtn` column, leaving a single clean `<section class="panel">` containing **3 sentences max** of love from the Lemurs (see Section 2 below). |
| **3. Section 1: `<section class="questions-grid">`** | `386–403` | **DELETE (`100%`)** | Removes the 3 long essay cards (*"01 // The Ghost in the Spelling"*, *"02 // The Load-Bearing Chokepoints"*, *"03 // The Discipline of the Room"*). |
| **4. Section 2: `<section class="sandbox-card">`** | `405–427` | **DELETE (`100%`)** | Removes *"04 // Interactive Curiosity Sandbox"* (`#curiosityPills`, `#expInputA`, `#expInputB`, `#expReadout`) and its unused `PHONEMIC_MAP` JS (`lines 515–584`), along with unused `.questions-grid` / `.sandbox-card` CSS rules. |
| **5. Section 3: `<section class="panel">`** | `429–436` | **DELETE (`100%`)** | Removes *"05 // Backing the Signal — Where Patronage Goes"*. |
| **6. Section 4: `<section class="panel" id="fuel-channels">`** | `439–481` | **KEEP EXISTING PAYMENT ELEMENTS AS-IS** | Retains `#primaryDonateActionBtn` (`.tactile-donate-btn.centerpiece`), `#copyFeedbackBanner`, and `#channelCardsGrid` (the existing `BTC` and `XMR` `.channel-card` blocks with their `.addr-box` and `.copy-channel-btn` buttons untouched). Deletes only the redundant 4-button bottom nav row (`lines 483–488`) that duplicates `<header>`. |
| **7. `<footer>` & Copy Handler `<script>`** | `491–645` | **KEEP (TRIM UNUSED SANDBOX JS)** | Retains the `version_sync.py` footer (`hyperstitionstud.io/donate v2.0.24` + `"Made with ♥ by Lemurs."`), `file:` protocol route mapper, and `copyChannelAddress()` handler. |
---
## 2. Exact Three-Sentence Introductory Copy (Love From the Lemurs, Established Authorial Affect)
Inside the single introductory `<section class="panel">`, the text is capped at **three sentences**:
> **Sentence 1:** Every instrument on `hyperstitionstud.io`—the 388-node knowledge graph, the 22-volume encyclopedia, the multi-cipher calculator, and the closing-bell time-series workbench—is built and tended with ♥ by Lemurs as an open, zero-tracker laboratory.
> **Sentence 2:** We leave the cover off the machine so anyone curious enough to trace where spoken English, supply-chain bottlenecks, and market tape cross can inspect the raw readout and test their own hypotheses for free.
> **Sentence 3:** If an equation lock, a field dossier, or an hour spent exploring the workbench sparked a new line of thought, toss a little fuel into the reactor via the payment channels below.
---
## 3. Two-Step Implementation & Verification Plan
1. **Step 1 — Prune `site/donate/index.html`:**
- Remove the intermediate sections (`lines 358–436` & `483–488` and the unused `PHONEMIC_MAP` sandbox script/styles), insert the 3-sentence Lemur note above `#fuel-channels`, and keep the existing `#fuel-channels` payment elements (`#primaryDonateActionBtn`, `#copyFeedbackBanner`, and `#channelCardsGrid` with the existing `BTC` and `XMR` cards) completely intact.
2. **Step 2 — Verify via `tests/test_core_suite.py` & `deploy/test-first-deployment.sh`:**
- Assert that `site/donate/index.html` passes `version_sync --check`, `ReadOnlyIsolationGuard`, offline URN/portability checks, and returns `HTTP 200 OK` in `deploy/test-first-deployment.sh`.
Binary file not shown.
@@ -0,0 +1,197 @@
# Plan: Unified Visual Style Augmentation (v2) — Universal `45°` Chamfered `haiperdohp-jemaytreeah` Silhouettes, Low-Distraction Tactile Textures & Explicit-Attention Sensory Budgeting in the `hyperstitionstud.io` Palette (`3` New Candidate Groups with Full Page & Artifact Mockups) (`v2.0.24`)
- **Document ID:** `PLAN-HAIPERDOHP-SILHOUETTE-HYPERSTITION-PALETTE-UNIFIED-STYLE-AUGMENTATION` (`v2.0.24`, Iteration 2)
- **Roadmap Status:** **ACTIVE / READY — Group 3 (`"Stealth Basalt Plate & Micro-Pip Signal Ribbon"`) Selected as Preferred & Default Option Unless Otherwise Specified**
- **Core Aesthetic & Sensory-Budget Mandate:**
1. **Universal `45°` Chamfered Bezels Across All 3 Groups:** Every outer panel, `.phraseGemContainer` score tile, `#BreakTableContainer` breakdown well, `#ChartSpot` viewport, `.HistoryTable` frame, and `.png` Ticker Stats Card uses **45-degree chamfered instrument bezels** while preserving `haiperdohp-jemaytreeah`'s compact `fit-content` geometry, flush `#inputArea` command strip, `180%` score readouts, and zebra-striped tables.
2. **Tactile Texture Without Visual Distraction (Sensory Room for Interactive Elements):**
- **90% Quiet Matte Substrate (At Rest):** Static frames, headers, zebra rows, and ambient `#canv` backgrounds stay strictly within a low-contrast, monochromatic obsidian-to-slate luminance range (`#020617` void -> `#070d1b` recessed well -> `#0c1324` odd row -> `#111a2e` even row -> `#182338` bezel -> `#26344d` muted border). Physical surface texture (brushed micro-hatch, recessed blueprint etch, or matte basalt stipple) operates at a subtle `2%–4%` luminance delta (`ΔL <= 4%`) so the interface feels tactile and crafted without competing for the eye.
- **7% Interactive Affordance Layer (`#38bdf8` Sky-Cyan & Crisp `#475569` Tactile Controls):** Reserved for elements the user can click, type into, scrub, or toggle (`#phraseBox`, `Query`, `↵`, `⚡`, `[i]` info buttons, deep-link pills `[PDF ↗]`, and active tabs) so interactive controls stand out effortlessly against the matte slate chassis.
- **3% Explicit Attention Beacons (`#f59e0b` Amber-Gold, `#f43f5e` Crimson-Rose, `#10b981` Emerald):** High-chroma color is **withheld from static chrome** and deployed **only** where attention must be explicitly directed: active `Dose 3+` breakouts (`#f43f5e`), `Dose 2` / `G4` isometric pins (`#10b981`), primary `137 / 292 / 333` lock hits and the `Signal Support` Donate pill (`#f59e0b`), and active tutorial spotlights.
- **Rendered High-Resolution Concept Art Boards (`1800 × 1350 px` PNGs in `/workspace/untracked/concept-art-haiperdohp-style/`):**
- `/workspace/untracked/concept-art-haiperdohp-style/group-1-matte-machined-slate-chamfer-mockup.png`
- `/workspace/untracked/concept-art-haiperdohp-style/group-2-recessed-blueprint-etch-chamfer-mockup.png`
- `/workspace/untracked/concept-art-haiperdohp-style/group-3-stealth-basalt-signal-pip-chamfer-mockup.png`
---
## 1. Shared Sensory-Budget & Palette Architecture Across All 3 New `45°` Chamfered Groups
| Visual Layer & Sensory Budget Share | `haiperdohp-jemaytreeah` Structural Silhouette | `hyperstitionstud.io` Token & Hex Value | Strict Attention-Control Rule |
| :--- | :--- | :--- | :--- |
| **Layer 0: Ambient Underlay (`#canv`)**<br/>*(Quiet Texture Only — `0%` Chroma)* | Fixed full-viewport `#canv` (`position: fixed; z-index: -1`) | Base `#020617` (`--bg-void`) + `#091122` (`3%` contrast) micro-dot / ring / stipple | Zero bright colors or fast motion in the background; provides subtle depth behind centered `#calcMain` panels. |
| **Layer 1: Matte Chamfered Chassis & Zebra Tables (`90%` of Pixels)** | `45°` Chamfered `.phraseGemContainer`, `#BreakTableContainer`, `.HistoryTable` | • Recessed Well: `#070d1b`<br/>• Odd Row: `#0c1324`<br/>• Even Row: `#111a2e`<br/>• Bezel Rail: `#182338`<br/>• Muted Hairline: `#26344d` | All static borders, unfocused table cells, and background headers use muted slate (`#26344d` borders, `#94a3b8` labels, `#e2e8f0` values)—never neon/gold borders on inactive boxes. |
| **Layer 2: Interactive Controls (`7%` of Pixels — Sensory Room)** | Flush `#inputArea` (`#queryDBbtn`, `#phraseBox`, `#enterPhraseBtn`, `#autoMatchBtn`), `.intBtn`, `.hs-info-icon` `[i]` | • Control Fill: `#132038`<br/>• Interactive Border: `#38bdf8` (`55%` alpha at rest, `100%` on hover/focus)<br/>• Label: `#f8fafc` / `#38bdf8` | Because static containers are matte slate (`#26344d`), every interactive input, button, `[i]` icon, and deep-link pill is immediately recognizable by its `#38bdf8` cyan edge and raised bevel. |
| **Layer 3: Explicit Attention Beacons (`3%` of Pixels — High Chroma)** | `.highlightCipherTable`, Active `Dose 2 / 3+` cells, `137 / 292 / 333` locks, `.btn-donate-nav`, Tutorial Spotlight | • Primary Lock / Donate: **`#f59e0b` (Amber-Gold)**<br/>• `Dose 3+` / `M2` Alert: **`#f43f5e` (Crimson-Rose)**<br/>• `Dose 2` Pin / `Δ=0`: **`#10b981` (Emerald)** | High-saturation color appears **only** when a data point locks (`Dose 2`, `Dose 3+`, `Prime 137`, `388`) or when guiding user action. |
---
## 2. Candidate Group 1: `"Matte Machined Slate & Hairline Micro-Hatch"` (Asymmetric `8px / 2px` `45°` Chamfers, Anodized Scanline Header Grain & Double-Groove Shadow Trench)
### 2.1 Bezel Geometry & Tactile Texture (Group 1)
- **Asymmetric `8px / 2px` `45°` Chamfer Silhouette:** Diagonal corner pairing—top-left and bottom-right corners have an `8px` `45°` precision chamfer; top-right and bottom-left corners have a tight `2px` micro-chamfer.
- **Double-Groove Recessed Shadow Trench (Zero Neon Inset):** Instead of a bright gold inner border on every panel, Group 1 uses a **machined dark shadow trench** (`1px solid #26344d` outer bevel -> `2px solid #020617` recessed dark groove -> `1px solid #1a263b` inner lip).
- **Tactile Texture:** `.cH` table headers and `#BreakTableContainer` wells carry a **horizontal `2px` brushed-anodized micro-hatch** (`repeating-linear-gradient(0deg, #0b1222 0px, #0b1222 1px, #0e1628 1px, #0e1628 2px)`) over a quiet `24px` `#091122` dot-matrix `#canv`.
- **How Attention Is Directed:** Static panels are 100% cool anodized slate; only the active `#phraseBox` input, clickable `[i]` / `[↗]` controls (`#38bdf8`), the `Signal Support` pill (`#f59e0b`), and triggered `Dose 2` (`#10b981`) / `Dose 3+` (`#f43f5e`) cells emit color.
### 2.2 Group 1 ASCII Wireframe Mockup (Pages 1–6 & Artifacts 1–3)
```text
====================================================================================================
GROUP 1 ("MATTE MACHINED SLATE & MICRO-HATCH") — Asymmetric 8px/2px 45° Chamfer + Shadow Trench
Quiet Layer (90%): #020617 Void | #070d1b Well | #0c1324/#111a2e Zebra | #26344d Muted Bezel Trench
Interactive (7%): #38bdf8 Cyan Controls | Explicit Attention Only (3%): #f59e0b Gold / #f43f5e Rose
====================================================================================================
/===============================================================================================+
/ H Y P E R S T I T I O N S T U D I O (Matte #e2e8f0 Title; "137" Badge in #f59e0b Gold) |
| :::::: .cH Brushed Anodized Micro-Hatch Header (#0b1222 / #0e1628 1px scanlines) :::::: |
| +-------+----------------------------------------+---+---+--------------+---+----------------+ |
| | Query | [ #phraseBox: envideea (Focus #38bdf8)]| ↵ | ⚡ | highlight #s | ▼ | ● Signal Supp. | | <- Interactive
| +-------+----------------------------------------+---+---+--------------+---+----------------+ |
| |
| /180% .phraseGemContainer (Matte #26344d)+ /Active Lock Cell (Explicit #f59e0b Attention!)+ |
| / Gen 0 Written AQ | Ordinal / Red. | / ★ Gen 1 Ingglish AQ (LOCKED ON DEX #137!) | |
| | 113 | 65 / 29 | | 137 [33rd PRIME] | |
| | (#cbd5e1 Matte) | (#94a3b8 Matte) | | (#f59e0b Gold Value + Glow Border) | |
| +---------------------+--------------------+ +------------------------------------------------+ /
| /
+================================================================================================/
```
---
## 3. Candidate Group 2: `"Recessed Blueprint Etch & Corner-Rivet Chronograph"` (Symmetric `8px` 4-Corner `45°` Chamfers, Muted Bezel Status Ears & `16px` Etched Graph-Paper Wells)
### 3.1 Bezel Geometry & Tactile Texture (Group 2)
- **Symmetric `8px` 4-Corner `45°` Chamfer + Corner Crosshair Fiducials (`+`):** Inspired directly by the previous iteration's Group B Chronograph Bench, all 4 corners use an `8px` `45°` chamfer with tiny `#334155` `+` alignment ticks at the 4 inner vertices and trapezoidal top bezel ears (`/[ PANEL ID ]\`).
- **De-Noised Bezel Ears & Borders:** Unlike the previous iteration where every panel had a bright gold inner ring and gold ear text, Group 2 keeps all static inner borders and bezel ears in **matte slate (`#182338` fill, `#26344d` border, `#64748b` text)**. A bezel ear or inner ring turns `#f59e0b` (Amber-Gold) or `#f43f5e` (Crimson-Rose) **only when that specific panel is actively selected or contains a triggered `Dose 3+` alert**!
- **Tactile Texture:** Recessed `#BreakdownSpot` and `#ChartSpot` wells (`#070d1b`) feature a **fine `16px` etched blueprint grid (`#0d1629`, `3%` luminance delta)** so character breakdowns and 30-day sparklines look like precision oscilloscope/blueprint traces without visual clutter.
### 3.2 Group 2 ASCII Wireframe Mockup (Pages 1–6 & Artifacts 1–3)
```text
====================================================================================================
GROUP 2 ("RECESSED BLUEPRINT ETCH & CHRONOGRAPH") — Symmetric 8px 45° Chamfer + Etched Wells
Quiet Layer (90%): Matte #26344d Bezels & Muted #64748b Ears | #070d1b Well + #0d1629 16px Etch Grid
Interactive (7%): #38bdf8 Controls & Sparkline | Explicit Attention (3%): Active Ear/Cell Only!
====================================================================================================
/[ P2: QUANT MATRIX (Matte #64748b Ear) ]\________/[ ★ ACTIVE ALERT: DOSE 3+ (Lit #f43f5e!) ]\
/ +-----------------------------------------------+------------------------------------------+ \
| | + #BreakdownSpot (16px Blueprint Etch Well) + | + #ChartSpot (16px Blueprint Etch Well) +| |
| | | e(14) n(23) v(31) i(18) d(13) e(14)... | | $212 ┼───┬───█───┬───┬───┬───┬───┼ || |
| | | (Calm #cbd5e1 letters on #070d1b grid) | | $150 ┼───┴───┴───┴───★───┴───●───┼ || |
| | +--------------------------------------------+ | (Only ★ Nov 12 D3 & ● Nov 27 lit)|| |
| +-----------------------------------------------+------------------------------------------+ |
| | .HistoryTable (Matte #0c1324 / #111a2e rows; ONLY Dose 2/3+ badges & [i] icons colored): | |
| | NVDA | 113 -> 137 | $150.49 | +80 bps | 0.53x | [● D2 Pin #10b981] | [i] [Card ↗] | |
| | SOL-USD | 134 -> 134 | $73.07 | -75 bps | 1.42x | [▲ D3 Surge #f43f5e] | [i] [Card ↗] | |
| | ANTHR | 195 -> 189 | No data available (null — muted #475569 text) | [i] | |
\ +------------------------------------------------------------------------------------------+ /
\____________________________________________________________________________________________/
```
---
## 4. Candidate Group 3 *(PREFERRED & DEFAULT OPTION)*: `"Stealth Basalt Plate & Micro-Pip Signal Ribbon"` (Top-Heavy `10px / 4px` `45°` Chamfered Plates, Matte Basalt Stipple Grain, `24px` Selective Signal Pips & Retained `border-radius: 999px` Tactile Donate Pills)
### 4.1 Bezel Geometry & Tactile Texture (Group 3 — Preferred Default)
- **Default Status:** **Group 3 is the preferred and default style specification across the ecosystem unless otherwise specified.**
- **Top-Heavy `10px / 4px` `45°` Chamfered Specimen Plates:** Inspired by Iteration 1's Illuminated Codex, outer containers and `.png` Stats Cards use a bold `10px` `45°` chamfer on the top-left and top-right shoulders and a compact `4px` `45°` chamfer on the bottom corners.
- **Micro-Pip Signal Ribbon (Replacing Full-Width Neon Bars):** Instead of painting a bright full-width `4px` colored bar across the top of every card and table column, Group 3 crowns each chamfered plate with a **matte basalt structural rail (`#182338`)** containing a compact **`24px × 3px` indicator pip** on the left shoulder:
- At rest on ordinary panels, the pip is muted slate (`#475569`).
- On interactive modules, the pip is Sky-Cyan (`#38bdf8`).
- On active `Dose 2` (`#10b981`), `Dose 3+` (`#f43f5e`), or `137 / 292 / 333` lock plates (`#f59e0b`), the indicator pip lights up and casts a subtle localized `24px` spotlight directly over that metric!
- **Tactile Texture:** Fine **matte basalt micro-stipple (`1px` alternating `#0b1120` / `#0e1526` dither grain)** inside `.cH` header bands and `.png` card frames, giving every web panel, `.png` trading card, and `.pdf` table the tactile feel of matte-sleeved card stock.
### 4.2 Retaining the Current Donation Button Style in Group 3 (`.btn-donate-pill` & `.tactile-donate-btn`) & Geometric Justification
In Group 3, the live donation buttons across the top navigation / `#inputArea` bar (`.btn-donate-pill`) and on `/donate/index.html` (`.tactile-donate-btn`) **retain 100% of their current rounded stadium-pill (`border-radius: 999px`) and circular inset-emblem (`border-radius: 50%`) styling**:
1. **Exact Retained CSS & Proportions:**
- **Navbar / `#inputArea` Stadium Pill (`.btn-donate-pill`):**
- `height: 34px; border-radius: 999px; padding: 0.28rem 0.9rem 0.28rem 0.35rem; gap: 0.45rem;`
- `background: linear-gradient(180deg, #ffd86b 0%, #f59e0b 52%, #d97706 100%); border: 1px solid #f5c630;`
- `box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.55), 0 2px 8px rgba(245, 158, 11, 0.22);`
- **Circular Inset Emblem (`.donate-pill-emblem`):** `width: 20px; height: 20px; border-radius: 50%; background: #0f172a; border: 1px solid rgba(245, 198, 48, 0.7); color: #f43f5e` (`♥` glyph) + bold `#020617` `DONATE` label (`0.74rem`, `font-weight: 700`, `letter-spacing: 0.05em`).
- **Alignment & Separation Lock:** All adjacent `45°`-chamfered `#inputArea` / `.top-nav` controls in Group 3 are locked to `height: 34px; box-sizing: border-box;`, separated from `.btn-donate-pill` by `.nav-donate-sep` (`width: 1px; height: 20px; background: #26344d; margin: 0 0.4rem;`) so the `34px` stadium pill aligns on the exact same vertical centerline without shifting row height or horizontal rhythm.
- **`/donate/index.html` Hero & Centerpiece Tactile Pill (`.tactile-donate-btn`):**
- `width: 260px; height: 68px` (and `.centerpiece` `280px × 72px`), `border-radius: 999px;`
- `background: linear-gradient(180deg, #ffd86b 0%, #f59e0b 48%, #d97706 52%, #b45309 100%); border: 3px solid #fde68a;`
- `box-shadow: inset 0 2px 3px rgba(255, 255, 255, 0.65), 0 6px 0 #78350f, 0 12px 24px rgba(245, 158, 11, 0.35);` + top `44%` specular glass highlight (`::before`) + `44px × 44px` circular `.tactile-emblem` (`#1e293b -> #020617` radial gradient, `2px solid #fde68a`, crimson `#f43f5e` `♥`) + stacked `#020617` `DONATE` label.
2. **Why Breaking With the `45°` Chamfer Geometry Here Is Justified:**
- **Intentional Silhouette Contrast (Curved Patronage Seal vs. Angular Instrument Controls):** Because every analytical panel and calculator button (`Query`, `↵`, `⚡`, `▼`) in Group 3 is an angular `45°`-chamfered polygon, keeping `.btn-donate-pill` and `.tactile-donate-btn` as the **only `border-radius: 999px` stadium curves** creates immediate figure-ground separation by silhouette as well as color—preventing the patronage button from ever blending into the calculator toolbar.
- **Concentric Annular Tangency (`R_outer = 17px` around `R_inner = 10px`):** A `20px` circular `.donate-pill-emblem` (`R = 10px`) nested inside the left semicircle of a `34px` stadium pill (`R = 17px`) maintains a mathematically uniform `7px` annular ring around the entire left arc (`12px` ring for the `44px` emblem inside the `68px` hero pill). Chamfering the outer pill while keeping the inner emblem circular (or octagon-cutting the small `20px` emblem) would pinch the diagonal corners to `2.1px` and break concentric proportion.
3. **Pillow `.png` & CSS Layout Guardrails (Preventing Text Border Breaches & Off-Center Emblem Glyphs):**
- **Bounding-Box Width Clamping (`draw_fitted_text()` / CSS `min-width: 0; overflow-wrap: anywhere`):** Never draw text in Pillow with a fixed font size without checking `bx0, by0, bx1, by1 = draw.textbbox((x, y), text, font=f)`. Every panel header, sub-box header, and table cell uses `draw_fitted_text(draw, x, y, text, fill, font_cascade, max_x=box_x1 - pad_right)`, which steps down through `font_cascade` (and truncates cleanly with `…` if needed) so `final_x1 <= max_x` (`breach_count == 0`).
- **Exact Ink-Bounding-Box Midpoint Centering (`draw_centered_in_box()` / SVG ViewBox Centering for `♥`):** Because `DejaVuSansMono` has top ascender headroom above `♥` and an asymmetric advance width, hardcoded top-left offsets (`cx - 5, cy - 7`) push `♥` down-and-left off center. Instead, Pillow renderers compute the exact ink bounding box `bx0, by0, bx1, by1 = draw.textbbox((0, 0), "♥", font=DejaVuSans)` and place the glyph at `(round(cx - (bx0 + bx1) / 2.0), round(cy - (by0 + by1) / 2.0))` (while HTML surfaces use `display: inline-flex; align-items: center; justify-content: center; line-height: 1` or centered `<svg viewBox="0 0 24 24">`), centering both the `♥` inside the circular emblem and the `DONATE` label on the exact horizontal midline `cy = (y0 + y1) / 2.0`.
### 4.3 Group 3 ASCII Wireframe Mockup (Pages 1–6 & Artifacts 1–3, With Retained `( ♥ DONATE )` Stadium Pill)
```text
====================================================================================================
GROUP 3 [PREFERRED DEFAULT] ("STEALTH BASALT PLATE & MICRO-PIP") — 10px/4px 45° Chamfers +
Retained border-radius:999px ( ♥ DONATE ) Stadium Pill (.btn-donate-pill & .tactile-donate-btn)
====================================================================================================
[A] TOP BAR / #inputArea ALIGNMENT LOCK (34px Chamfered Controls | .nav-donate-sep | 34px Rounded Pill)
/Query\ / #phraseBox: envideea (34px, 45° Chamfer, #38bdf8) \ /↵\ /⚡\ | (( (♥) DONATE ))
\_____/ \___________________________________________________/ \_/ \_/ | ^^^^^^^^^^^^^^^
|<-------------- 45° Chamfered Interactive Controls (34px) ------------->|sep| Retained 999px Pill
(20px)| (20px #0f172a circle
| + #f43f5e ♥ + Gold)
[B] THREE-STATE BASALT PLATES & /donate/ TACTILE VECTOR PILL (.tactile-donate-btn 260x68 / 280x72)
/==============================\ /==============================\ /==============================\
/ [■■■ #475569 Muted Pip] \ / [■■■ #38bdf8 Interactive Pip] \ / [★★★ #f59e0b ACTIVE LOCK PIP!] \
| MATTE BASALT PLATE (AT REST) | /donate/ CUSTODY VAULT PLATE | EXPLICIT ATTENTION LOCK PLATE |
| • Gen 0 Written AQ: 113 | • BTC & XMR Chamfered Copy Rows | • Gen 1 Ingglish: 137 [P33] |
| • Calm #cbd5e1 typography | • Retained 999px Tactile Pill: | • SOL-USD $73.07 == AQ("SOL")! |
| • Zero visual distraction | (( ( ♥ ) D O N A T E )) | • Eye snaps here immediately |
\ / \ `------0 6px 0 #78350f--' / \ /
\==============================/ \==============================/ \==============================/
```
---
## 5. Side-by-Side Comparison of the 3 New `45°` Chamfered Candidate Groups
| Design Dimension | **Group 1: `"Matte Machined Slate & Micro-Hatch"`** | **Group 2: `"Recessed Blueprint Etch & Chronograph"`** | **Group 3: `"Stealth Basalt Plate & Micro-Pip"`** |
| :--- | :--- | :--- | :--- |
| **`45°` Chamfer Silhouette** | **Asymmetric `8px / 2px` `45°` Chamfers** (diagonal `8px` top-left/bottom-right, `2px` top-right/bottom-left). | **Symmetric `8px` 4-Corner `45°` Chamfers** + trapezoidal top status ears (`/[ ... ]\`) + corner `+` fiducials. | **Top-Shoulder `10px / 4px` `45°` Chamfers** (`10px` top corners, `4px` bottom corners) + `3px` top structural rail. |
| **Bezel Edge Detail** | Recessed dark shadow trench (`#26344d` -> `#020617` groove -> `#1a263b`). | Muted `#26344d` double rule + corner `+` ticks (inner rule lights up *only* on active selection). | Matte `#182338` top rail with a **`24px × 3px` left-shoulder Signal Pip** (`#475569` at rest; lit when active). |
| **Non-Distracting Surface Texture** | `2px` horizontal **brushed-anodized scanline micro-hatch** (`#0b1222 / #0e1628`) in headers & wells + `24px` dot grid on `#canv`. | `16px` **fine-etched blueprint graph grid** (`#0d1629` on `#070d1b`) inside `#BreakdownSpot` & `#ChartSpot` wells + faint radar rings on `#canv`. | `2px` **matte basalt micro-stipple / card-stock grain** (`#0b1120 / #0e1526`) in headers & card borders + subtle diagonal weave on `#canv`. |
| **How Interactive Elements Stand Out** | Flush `#inputArea` controls, `[i]` buttons, and links carry crisp `#38bdf8` cyan borders against `100%` neutral slate chrome. | Interactive controls and active bezel ears highlight in `#38bdf8` cyan / `#f59e0b` gold against the recessed dark blueprint wells. | Interactive plates carry a `#38bdf8` cyan shoulder pip and raised `#132038` button pills against matte basalt plates. |
| **How Explicit Attention Is Directed** | Only active `Dose 2` (`#10b981`), `Dose 3+` (`#f43f5e`), `137/292/333` lock cells, and the `Signal Support` pill use high-chroma fills/borders. | Only triggered `Dose 2/3+` rows, locked sparkline markers, and active bezel ears light up in `#f59e0b` / `#f43f5e` / `#10b981`. | The `24px` shoulder Signal Pip and target metric cell ignite in `#f59e0b` / `#f43f5e` / `#10b981` with a localized top spotlight. |
---
## 6. Exhaustive Surface-by-Surface Inventory: Accounting for Every Web Page & Visual Artifact (`9/9` Surfaces)
To guarantee zero visual drift across the 6-repository ecosystem, the preferred default (**Group 3: `"Stealth Basalt Plate & Micro-Pip Signal Ribbon"` + Retained `border-radius: 999px` Donate Pills**) accounts for every HTML page, interactive modal/popover, PNG renderer, and PDF compiler:
| # | Surface / Visual Artifact | Canonical Repository & File Path(s) | Exact Group 3 (`10px/4px` `45°` Chamfer + `24px` Pip + `90/7/3%` Budget) Transformation |
| :- | :--- | :--- | :--- |
| **1** | **Main Portal Homepage (`/`)** | `/workspace/hyperstitionstudio-core/site/index.html` | • `<header>` & `.top-nav`: `34px` height-locked `45°`-chamfered nav buttons (`#132038` fill, `#38bdf8` interactive border) + `20px` `.nav-donate-sep` + **retained `34px` `border-radius: 999px` `.btn-donate-pill` (`( ♥ DONATE )`)**.<br/>• Telemetry strip: `.phraseGemContainer` `180%` score plates (`#0c1324/#111a2e` matte basalt; only locked `137/388/71` badges carry lit `#f59e0b` pips).<br/>• Archive & Encyclopedia cards: `10px/4px` `45°` chamfered basalt plates (`#0c1324`, `#26344d` border, `24px` left-shoulder pip) + `.HistoryTable` zebra dossier lists. |
| **2** | **Quant Time-Series & Macro Workbench (`/quant/`)** | `/workspace/hyperstitionstudio-core/site/quant/{index.html,quant-app.js,quant-tutorials.js}` | • Top bar: `34px` `45°`-chamfered ticker/lens/date `#inputArea` controls + `.nav-donate-sep` + **retained `34px` `border-radius: 999px` `.btn-donate-pill`**.<br/>• Panel 1 (30d Trajectory): Recessed `#070d1b` `#ChartSpot` well (calm `#94a3b8` price line; only `Dose 2` `#10b981` and `Dose 3+` `#f43f5e` lock points lit) + `.phraseGemContainer` summary cells.<br/>• Panel 2 (`24×30` Heatmap): `.HistoryTable` zebra grid (`#0c1324 / #111a2e`, `#26344d` hairlines) where `Dose 0/1` cells remain quiet slate and only `Dose 2` (`#10b981`) and `Dose 3+` (`#f43f5e`) cells ignite.<br/>• Panel 3 & 4 (Inspector, Info Popovers `#quantInfoPopover`, Guided Tour `.qt-hud-card`, FRED Macro Strip & Daily Regime Brief): `10px/4px` `45°` chamfered basalt plates with `#38bdf8` `[i]` triggers and `24px` shoulder pips. |
| **3** | **Self-Paced Learning Hub (`/learn/`)** | `/workspace/hyperstitionstudio-core/site/learn/{index.html,learn-app.js}` | • Top bar: `34px` `45°`-chamfered controls + `.nav-donate-sep` + **retained `34px` `border-radius: 999px` `.btn-donate-pill`**.<br/>• 6-Module curriculum cards & live cipher sandbox: `10px/4px` `45°` chamfered basalt plates containing a recessed `#070d1b` `#BreakTableContainer` character-by-character breakdown table and `#ChartSpot` vertical column histogram. |
| **4** | **Patronage & Custody Subpage (`/donate/`)** | `/workspace/hyperstitionstudio-core/site/donate/index.html` | • Hero Panel & Section 4 Custody Vault: `10px/4px` `45°` chamfered basalt plates (`#0c1324`, `#26344d` border, `#f59e0b` `24px` shoulder pip) housing the **retained `border-radius: 999px` `.tactile-donate-btn` (`260×68px` hero & `280×72px` centerpiece with `0 6px 0 #78350f` 3D lip and `44px` circular `.tactile-emblem`)**.<br/>• `BTC` (`bc1q...`) & `XMR` (`83ZC...`) rows: Recessed `#070d1b` `#BreakTableContainer` address boxes with `34px` `45°`-chamfered `#38bdf8` `[Copy BTC]` / `[Copy XMR]` buttons.<br/>• "Try a Wire Experiment" sandbox: Flush `#inputArea` + `.phraseGemContainer` readout. |
| **5** | **388-Node Knowledge Graph (`/graph/`)** | `/workspace/encyclopedia-knowledge-graph/index.html` | • `#canv` Force-Directed Canvas: `#020617` void background; unselected nodes/edges stay in calm matte slate (`#182338` / `#26344d`) while **only** the selected node (`?select=aq:N`) and its 1-hop trophic neighbors ignite in `#f59e0b` (Gold), `#38bdf8` (Cyan), and `#f43f5e` (Rose).<br/>• Floating Top Toolbar & Right `.splitInterface` Inspector Drawer: `10px/4px` `45°` chamfered basalt plates with `34px` `#38bdf8` filter controls + `.nav-donate-sep` + **retained `34px` `border-radius: 999px` `.btn-donate-pill`**. |
| **6** | **Cypher Calculator (`/calc/`)** | `/workspace/haiperdohp-jemaytreeah/{index.html,calc/styles.css,config.default.js}` | • Maps `--body-bg-accent: #020617`, `--breakdown-bg-accent: #070d1b`, `--table-row-odd: #0c1324`, `--table-row-even: #111a2e`, `--menu-bg-accent: #182338`, and `--border-accent: #26344d` in `calc/styles.css`.<br/>• Applies Group 3 `10px/4px` `45°` chamfers and `24px` shoulder pips to `.phraseGemContainer`, `#BreakTableContainer`, `#ChartSpot`, and `.HistoryTable`, while locking `#inputArea` controls to `34px` alongside the **retained `34px` `border-radius: 999px` `.btn-donate-pill`**. |
| **7** | **Artifact 1: One-Shot Ticker Stats Card (`.png` + `.json`)** | `/workspace/hyperstitionstudio-core/src/hyperstitionstud_io/quant/cards.py` (`hs-ticker-card` & MCP `hs_generate_ticker_stats_card`) | • Renders the `900 × 1260 px` (`5:7` TCG portrait) `.png` card using Group 3's `10px/4px` `45°` chamfered basalt plates, matte `#0b1120/#0e1526` micro-stipple header bands, `24px` shoulder Signal Pips, recessed `#070d1b` `#BreakdownSpot` + `#ChartSpot` wells, calm slate TierZoo 6-stat bars (`>=90` peaks highlighted in `#f59e0b`), and `.HistoryTable` season box score (`null` -> `"No data available"`). |
| **8** | **Artifact 2: ETI Assemblage Tier List Matrix (`.png`)** | `/workspace/technocapital-singularity-zoology/scripts/build_eti_tier_list_png.py` (`aq-tier-list-visualizer`) | • Renders the `S+` through `F` tier matrix on a `#020617` canvas using Group 3 `10px/4px` `45°` chamfered `.HistoryTable` rows (`#0c1324 / #111a2e`), matte basalt stipple headers, and tier-colored `24px` shoulder Signal Pips (`S+` `#f43f5e`, `S` `#f59e0b`, `A` `#10b981`, `B` `#38bdf8`). |
| **9** | **Artifact 3: Compiled PDF Documents, Manuals & Wire Reports (`.pdf`)** | `/workspace/hyperstitionstudio-core/src/hyperstitionstud_io/publishing/pdf_compiler.py` (`hs-pdf-build`) | • Coordinates directly with `PLAN-HS-PDF-BUILD-DARK-MODE-AND-GLYPH-SANITIZATION`: full-bleed `#020617` page canvas, `10pt/4pt` `45°` chamfered outer page frame (`#26344d`) with a `24pt × 3pt` `#f59e0b` top-left Signal Pip, `#070d1b` `#BreakTableContainer` code/equation wells, and `#0c1324 / #111a2e` `.HistoryTable` zebra tables. |
---
## 7. Four-Phase Uniform Implementation Roadmap (`Phases 1–4`)
1. **Phase 1 — Shared Group 3 Stylesheet & CSS Variable Tokenization (`site/assets/hs-group3-basalt-chamfer.css` & `/calc/styles.css`):**
- Author the shared CSS rules implementing the `90% / 7% / 3%` sensory budget (`#020617` void, `#070d1b` well, `#0c1324/#111a2e` zebra, `#182338` basalt rail, `#26344d` muted border, `#38bdf8` interactive controls, `#f59e0b/#f43f5e/#10b981` explicit-attention beacons), the `10px/4px` `45°` chamfer utility classes (`.hs-plate-g3`, `.phraseGemContainer`, `#BreakTableContainer`, `#ChartSpot`, `.HistoryTable`), the `24px × 3px` left-shoulder Signal Pip (`::after`), and the retained `34px` `border-radius: 999px` `.btn-donate-pill` + `68px/72px` `.tactile-donate-btn`.
2. **Phase 2 — Uniform Rollout Across All 6 Web Pages (`/`, `/quant/`, `/learn/`, `/donate/`, `/graph/`, `/calc/`):**
- Apply the Group 3 stylesheet and `34px` top-bar alignment lock across `site/index.html`, `site/quant/index.html` (+ `quant-app.js` & `quant-tutorials.js`), `site/learn/index.html` (+ `learn-app.js`), `site/donate/index.html`, `encyclopedia-knowledge-graph/index.html`, and `haiperdohp-jemaytreeah/{index.html,calc/styles.css}`—verifying zero external `https://` font/script embeds (`file://` portability preserved).
3. **Phase 3 — Uniform Rollout Across All 3 Visual Artifact Generators (`.png` Stats Cards, `.png` ETI Tier List & Dark-Mode `.pdf` Compiler):**
- Wire the exact same Group 3 `10px/4px` `45°` chamfer geometry, matte basalt stipple header grain, `24px` shoulder Signal Pips, and `#020617/#070d1b/#0c1324/#111a2e/#26344d` palette into `src/hyperstitionstud_io/quant/cards.py` (One-Shot Ticker Stats Card `.png`), `build_eti_tier_list_png.py` (ETI Tier List `.png`), and `src/hyperstitionstud_io/publishing/pdf_compiler.py` (`hs-pdf-build` Dark-Mode `.pdf`).
4. **Phase 4 — Automated Verification (`tests/test_core_suite.py` & `deploy/test-first-deployment.sh`):**
- Verify all 6 web pages, generated `.png` artifacts, and recompiled `.pdf` documents pass offline URN/portability checks, link integrity checks (`671+` links), `ReadOnlyIsolationGuard` audits, and `HTTP 200 OK` smoke tests in `deploy/test-first-deployment.sh`.
@@ -0,0 +1,134 @@
# Plan: Upgrading `hs-pdf-build` (`pdf_compiler.py`) — Eliminating Escape Symbols & Missing Chromium/Fedora 41 Glyphs and Adopting the Dark-Mode `haiperdohp-jemaytreeah × hyperstitionstud.io` Visual Style (`v2.0.24`)
- **Document ID:** `PLAN-HS-PDF-BUILD-DARK-MODE-AND-GLYPH-SANITIZATION` (`v2.0.24`)
- **Roadmap Status:** **ACTIVE / READY**
- **Target Modules & Files:**
- `/workspace/hyperstitionstudio-core/src/hyperstitionstud_io/publishing/pdf_compiler.py` (`hs-pdf-build`)
- `/workspace/hyperstitionstudio-core/src/hyperstitionstud_io/publishing/fonts.py`
- All `.pdf` artifacts across `/workspace/encyclopedia-knowledge-graph/docs/`, `/workspace/hyperstitionstudio-core/site/quant/`, and `/workspace/technocapital-singularity-zoology/` (recompiled in dark mode with zero escape artifacts and zero missing glyphs)
- `/workspace/hyperstitionstudio-core/tests/test_core_suite.py`
---
## 1. Root-Cause Forensic Diagnosis: Why Current PDFs Render With Escape Symbols & Missing Characters in Chromium on Fedora 41
A forensic inspection of `src/hyperstitionstud_io/publishing/pdf_compiler.py` (`lines 18–195`) and the `pypdf` font/text tables of all compiled PDFs in `/workspace/encyclopedia-knowledge-graph/docs/*.pdf` identified **five exact root causes** for the broken characters and escape sequences seen in Chromium (PDFium) on Fedora 41:
| # | Defect Observed in Chromium (Fedora 41) | Exact Root Cause in `pdf_compiler.py` | Measured Count in Current `docs/*.pdf` |
| :- | :--- | :--- | :--- |
| **1** | **Raw LaTeX Math Escapes Printed Literally** (`\mathbb{E}`, `\Delta`, `\text{bps}`, `\sum_{k=1}^3`, `\in`, `\tau`, `\rho`, `\bar{\sigma}`, `$D_{i,t}$`) | `_format_inline()` (`lines 18–32`) only parses `` `code` ``, `**bold**`, and `*italic*`. It leaves `$...$` math delimiters and `\command` LaTeX macros untouched, printing raw backslashes, braces, and dollar signs directly into the PDF text stream. | `66` LaTeX escapes & `47` `$` delimiters in `PLAN-QUANT-BIDIRECTIONAL...pdf`; `55` escapes & `132` `$` in `PLAN-DAILY-PORTFOLIO...pdf`. |
| **2** | **Literal `<br/>` and `<br>` Printed in Table Cells** | `_format_inline()` runs `html.escape(s)` (`line 27`) *before* converting Markdown line-break tags, turning `<br/>` into `&lt;br/&gt;` so ReportLab prints the literal 5-character string `<br/>` instead of breaking the line. | `29` literal `<br/>` strings in `PLAN-QUANT-BIDIRECTIONAL...pdf`; `24` in `PLAN-MACROECONOMIC...pdf`. |
| **3** | **Table Pipes (`\&#124;` or `` `a&#124;b` ``) Split Columns & Leave Dangling `\`** | `line 157` splits table rows with naive `ln.strip()[1:-1].split("&#124;")`. Whenever a cell contains an escaped pipe or a pipe inside backticks, naive `.split()` breaks the row into `10+` narrow columns, leaving a trailing `\` backslash or raising ReportLab `LayoutError`. | Occurs in REST API tables, absolute-value formulas, and backtick pipe expressions. |
| **4** | **Missing-Character Tofu Boxes (`□` / `.notdef`) in Chromium on Fedora 41** | Comparing every Unicode codepoint in `docs/*.md` against the TrueType `cmap` tables of `/usr/share/fonts/dejavu-sans-fonts/DejaVuSans.ttf` and `DejaVuSansMono.ttf` reveals **9 codepoints absent from DejaVu**:<br/>• `ⓘ` (`U+24D8` Circled Latin Small Letter I — missing in both `DejaVuSans` & `DejaVuSansMono`!)<br/>• `𝔼` (`U+1D53C` Double-Struck E — missing in `DejaVuSansMono`)<br/>• `⏭` (`U+23ED`), `⏮` (`U+23EE`), `U+FE0F` (Variation Selector-16), and astral emojis `📄 📖 📜 🔊 🕸` (`U+1F4C4..U+1F578`).<br/>In addition, `TableStyle` and `getSampleStyleSheet()` leave an unembedded `/Helvetica` Type1 reference in the PDF page resources (`fonts=['/AAAAAA+DejaVuSans', ..., '/Helvetica']`), and 4 older PDFs in `docs/` still use unembedded `/Helvetica`, `/Courier`, `/Symbol`, and `/ZapfDingbats`. | Every instance of `ⓘ` (`PLAN-QUANT-INTERFACE-INFO-ICONS...pdf`), `⏭/⏮`, and emoji badges renders as `□` in Fedora 41 Chromium. |
| **5** | **Generic Light-Mode Styling (`#FFFFFF` / `#8B1A1A`) Clashes With the Project's Dark-Mode Identity** | `pdf_compiler.py` (`lines 90–138`) renders on a plain `#FFFFFF` white background with `#8B1A1A` maroon headings and `#F3F4F6` grey boxes instead of the dark-mode `haiperdohp-jemaytreeah × hyperstitionstud.io` palette (`#020617` Void, `#0f172a` / `#162038` Zebra, `#334155` `1px` Grid, `#f59e0b` Amber-Gold, `#38bdf8` Sky-Cyan, `#10b981` Emerald, `#f43f5e` Rose). | All compiled PDFs currently lack the dark-mode visual identity. |
---
## 2. Complete Fix for Escape Symbols, Math Expressions, Links & Missing Chromium Glyphs
### 2.1 Deterministic LaTeX-to-Unicode & ReportLab Markup Transpiler (`_sanitize_and_format_inline()`)
Before `html.escape()` runs, `pdf_compiler.py` will pass every text segment through a deterministic sanitizer and math transpiler:
1. **Preserve Intentional Line Breaks (`<br/>` / `<br>`):**
- Replace `<br/>` and `<br>` with a sentinel token `\x00BR\x00` prior to `html.escape()`, then restore `<br/>` so ReportLab's `Paragraph` parser executes a clean line break inside table cells.
2. **Unescape Markdown Table Pipes & Punctuation Escapes:**
- Split Markdown table rows using negative lookbehind `re.split(r"(?<!\\)\|", ln.strip()[1:-1])` so `\|` never splits a cell, then unescape `\|` -> `|`, `\$` -> `$`, `\_` -> `_`, and `\*` -> `*`.
3. **Transpile Inline & Block `$...$` LaTeX Math to Native DejaVu Unicode + `<sub/>`/`<super/>` Tags:**
- Strip `$` math delimiters (`$D_{i,t} \in \{0..4\}$` -> `D<sub>i,t</sub> ∈ {0..4}`) while preserving currency amounts (`$150.49`, `$23,532.8B`, `$33.06T`).
- Map all LaTeX commands to codepoints **verified present in both `DejaVuSans.ttf` and `DejaVuSansMono.ttf`**:
- `\mathbb{E}` -> `E` (bold `<b>E</b>`), `\mathbb{R}` -> `R`, `\mathbb{P}` -> `P`
- `\text{...}` / `\mathrm{...}` / `\textbf{...}` -> plain/bold text without backslashes or braces
- `\bar{\sigma}` -> `σ̄`, `\bar{V}` -> `V̄`, `\hat{y}` -> `ŷ`
- `\Delta` -> `Δ`, `\delta` -> `δ`, `\rho` -> `ρ`, `\tau` -> `τ`, `\sigma` -> `σ`, `\mu` -> `μ`, `\alpha` -> `α`, `\beta` -> `β`, `\lambda` -> `λ`, `\pi` -> `π`
- `\sum` -> `∑`, `\prod` -> `∏`, `\in` -> `∈`, `\notin` -> `∉`, `\subset` -> `⊂`, `\cup` -> `∪`, `\cap` -> `∩`
- `\le` / `\leq` -> `≤`, `\ge` / `\geq` -> `≥`, `\ne` / `\neq` -> `≠`, `\approx` -> `≈`, `\equiv` -> `≡`, `\pm` -> `±`, `\times` -> `×`, `\cdot` -> `·`, `\rightarrow` / `\to` -> `→`, `\leftarrow` -> `←`, `\leftrightarrow` -> `↔`
- `\{` -> `{`, `\}` -> `}`, `\|` -> `‖`
- Subscripts `_{...}` -> `<sub rise="-2" size="6.5">...</sub>` and superscripts `^{...}` -> `<super rise="3" size="6.5">...</super>`.
4. **Convert Markdown Links `[label](url)` Instead of Printing Raw Brackets & Parentheses:**
- Render `[label](url)` as `<font color="#38bdf8"><u>label</u></font>` (and `<a href="url">...</a>` when `url` is an `http(s)://` link) so raw Markdown syntax never clutters prose or table cells.
5. **TrueType `cmap` Glyph Verification & Fallback Filter (Zero `.notdef` Tofu Boxes Guaranteed):**
- Load the exact `charToGlyph` dictionary from `DejaVuSans.ttf` and `DejaVuSansMono.ttf` at compile time:
- Replace `ⓘ` (`U+24D8`, missing in DejaVu) with **`[i]`** (styled as `<font name="DejaVuMono-Bold" color="#38bdf8">[i]</font>`),
- Replace `⏭` (`U+23ED`) with `>>|` and `⏮` (`U+23EE`) with `|<<`,
- Strip `U+FE0F` (`VARIATION SELECTOR-16`),
- Replace astral-plane emojis (`📄`, `📖`, `📜`, `🔊`, `🕸`) with crisp monochrome badges (`[PDF]`, `[DOC]`, `[DOS]`, `[AUD]`, `[KG]`),
- For any remaining codepoint `ord(ch) > 127` not found in the active font's `charToGlyph` table, automatically replace it with its NFKD ASCII decomposition or symbol alias so **zero unmapped codepoints ever enter the PDF stream**.
6. **Eliminate Unembedded `/Helvetica` from Page Resources:**
- Explicitly set ` ("FONTNAME", (0, 0), (-1, -1), "DejaVu")` on every `TableStyle` and construct every `ParagraphStyle` without inheriting unembedded `Helvetica` defaults, ensuring 100% of fonts in the PDF are embedded `DejaVu` / `DejaVuMono` TrueType subsets.
---
### 2.2 Formal Character, Glyph & Element Translation Specification (`T_math`, `T_char`, `T_elem`, `T_box`)
To make the translation deterministic and testable for token economy during PDF redesigns, `hs-pdf-build` defines four formal translation tables:
| Translation Class | Source Pattern in Markdown / LaTeX / HTML | Target Glyph / ReportLab Flowable Element | BPE Tokens (Source -> Target) | Token Savings Rate |
| :--- | :--- | :--- | :---: | :---: |
| **`T_math 1` (Blackboard & Text Macros)** | `\mathbb{E}`, `\mathbb{R}`, `\mathbb{P}`, `\text{bps}`, `\mathrm{Vol}`, `\textbf{x}` | `<b>E</b>`, `<b>R</b>`, `<b>P</b>`, `bps`, `Vol`, `<b>x</b>` (`0` backslashes/braces in PDF text) | `5–6` -> `1` | **`-80%` to `-83%`** |
| **`T_math 2` (Greek & Operators)** | `\Delta`, `\rho`, `\tau`, `\sigma`, `\mu`, `\sum`, `\prod`, `\in`, `\notin`, `\le`, `\ge`, `\ne`, `\approx`, `\equiv`, `\pm`, `\times`, `\cdot`, `\rightarrow` | Single verified DejaVu codepoints: `Δ`, `ρ`, `τ`, `σ`, `μ`, `∑`, `∏`, `∈`, `∉`, `≤`, `≥`, `≠`, `≈`, `≡`, `±`, `×`, `·`, `→` | `2–3` -> `1` | **`-50%` to `-67%`** |
| **`T_math 3` (Overbars & Sub/Superscripts)** | `\bar{\sigma}`, `\bar{V}`, `_{i,t}`, `^{null}`, `$...$` | `σ̄`, `V̄`, `<sub rise="-2" size="6.5">i,t</sub>`, `<super rise="3" size="6.5">null</super>`, stripped `$` delimiters | `5–8` -> `1–3` | **`-60%`** |
| **`T_char 1` (Missing DejaVu Glyphs)** | `ⓘ` (`U+24D8`), `⏭` (`U+23ED`), `⏮` (`U+23EE`), `U+FE0F`, `📄`, `📖`, `📜`, `🔊`, `🕸` | `[i]`, `>>&#124;`, `&#124;<<`, `""` (stripped), `[PDF]`, `[DOC]`, `[DOS]`, `[AUD]`, `[KG]` (`100%` DejaVu `cmap`-safe) | `2–3` -> `1–2` (`0` `.notdef` boxes) | **`-33%` + `100%` Glyph Validity** |
| **`T_elem 1` (Inline Line Breaks & Pipes)** | `<br/>`, `<br>`, `\&#124;`, `&#124;` | Native ReportLab cell newline `<br/>` (`0` visible characters in PDF text stream) & unescaped `&#124;` | `3–4` -> **`0` visible tokens** | **`-100%` in Extracted PDF Text** |
| **`T_box 1` (Element Shorthand vs. ASCII Box Borders)** | `100`-char ASCII wireframe borders (`+===+`, `+---+`, `&#124; ... &#124;`) inside fenced blocks | Native ReportLab `Table` / `Preformatted` `#BreakTableContainer` & `.phraseGemContainer` vector borders (`0.8pt solid #334155`) | `11,888` border tokens -> **`0` text tokens** (vector lines) | **`-100%` Border Token Overhead** |
---
### 2.3 Empirical Validation: Does This Specification Provide Token Economy for PDF Redesigns?
Scanning all **`38` Markdown documents (`536,770` chars / `167,484` BPE tokens)** in `/workspace/encyclopedia-knowledge-graph/docs/` validates that the specification provides **substantial, measurable token economy across specialized math, table, and wireframe blocks**, while providing a modest (`~1.5%`–`8.6%`) reduction on whole-document prose:
1. **Where the Specification Delivers High Token Economy (`-37.1%` to `-100%` Savings):**
- **Mathematical & Statistical Formulas (`T_math 1–3`):** Across all `38` docs, inline math expressions shrink from **`5,946` BPE tokens down to `3,738` BPE tokens (`-37.1%` token reduction, saving `2,208` tokens)** by replacing `\mathbb{E}[|\Delta\text{bps}_{i,t+1}|]` with `E[|Δbps_{i,t+1}|]`.
- **Table Cell Line Breaks & Escapes (`T_elem 1`):** Converting literal `<br/>` strings (`260` tokens across the corpus) into structural ReportLab line breaks eliminates **`100%` (`260 -> 0` tokens)** of visible `<br/>` tag clutter from extracted PDF text during audit/redesign reads.
- **Vector Element Borders vs. ASCII Wireframe Borders (`T_box 1`):** Across the `38` docs, manual ASCII box-drawing borders (`+====+`, `+----+`) consume **`11,888` characters / `11,888` BPE tokens**. Rendering `.phraseGemContainer`, `#BreakTableContainer`, and `.HistoryTable` frames natively as ReportLab vector borders (`TableStyle` / `_draw_dark_mode_page_frame`) reduces border text tokens by **`100%` (`11,888 -> 0` text tokens)**!
2. **Where Token Economy Is Modest (`-1.5%` on Plain Prose Alone):**
- On pure English prose paragraphs that contain no math, no `<br/>` tags, and no ASCII box borders, `T_char` and `T_math` save only **`2,514` tokens out of `167,484` (`-1.50%`)**.
- **Validation Conclusion:** The Character/Glyph Translation (`T_char`, `T_math`, `T_elem`) is primarily a **rendering-fidelity & math-compression upgrade (`-37.1%` on math spans, `0` broken glyphs in Chromium)**, whereas true **multi-thousand-token economy for PDF redesigns (`-8.6%` whole-corpus / `14,402` tokens saved)** comes from combining `T_math` + `T_elem` with **`T_box 1` (replacing ASCII box-drawing wireframes with native ReportLab vector flowables)**.
---
## 3. Dark-Mode Visual Design Specification (Matching `PLAN-HAIPERDOHP-SILHOUETTE-HYPERSTITION-PALETTE-UNIFIED-STYLE-AUGMENTATION`)
Every PDF compiled by `hs-pdf-build` will render in a **high-contrast Dark-Mode `haiperdohp-jemaytreeah × hyperstitionstud.io` theme** that matches the web workbench and one-shot `.png` cards:
### 3.1 Color & Silhouette Mapping for Dark-Mode PDFs
| PDF Element / Flowable | `haiperdohp × hyperstitionstud.io` Silhouette | Exact Hex / RGB Color & Typography |
| :--- | :--- | :--- |
| **1. Full-Bleed Page Canvas (`onFirstPage` / `onLaterPages`)** | `#canv` + `#calcMain` Outer Instrument Frame | • Full-page background: **`#020617` (`--bg-void` Abyssal Obsidian)**<br/>• Outer `1pt` perimeter frame at `0.40"` margin: **`#334155` (`--border-subtle`)**<br/>• Top `3pt` semantic accent ribbon across the frame header: **`#f59e0b` (Amber-Gold)** on left `70%` + **`#38bdf8` (Sky-Cyan)** on right `30%`. |
| **2. Running Header & Footer Bars** | `.cH` Dark Header & Provenance Footer Strip | • Top bar (`#0f172a` fill, `#334155` bottom border): `HYPERSTITION STUDIO // CYPHER & TELEMETRY CODEX` in `#f59e0b` `DejaVuMono-Bold 7.5pt` (left) + Document ID in `#38bdf8` (right).<br/>• Bottom bar (`#0f172a` fill, `#334155` top border): `urn:io:hyperstitionstud:doc:v2.0.24 • Zero Synthetic Data` in `#94a3b8` (left) + `PAGE N` in `#f59e0b` (right). |
| **3. Document Title (`H1`)** | `#calcLogo` Title Banner | **`#f59e0b` (Solar Amber-Gold)** `DejaVu-Bold 14.5pt`, framed in a `#0f172a` header plate with a `2pt #f59e0b` bottom rule. |
| **4. Major Section Headings (`H2`)** | `.phraseGemContainer` / `.cH` Section Plate | **`#38bdf8` (Sky-Cyan)** `DejaVu-Bold 11.5pt` inside a `#0f172a` band with a `3pt #f59e0b` left accent bar and `0.6pt #334155` border. |
| **5. Subsection Headings (`H3`)** | `.colLabel` Instrument Sub-Header | **`#10b981` (Emerald)** `DejaVu-Bold 10pt` with `#cbd5e1` subtitle contrast. |
| **6. Body Prose & Bullet Lists** | High-Contrast Obsidian Readability | • Body text: **`#f8fafc` (`--text-primary` Alabaster)** `DejaVu 9.0pt / 13.0pt leading`<br/>• Bold `<b>...</b>` spans: **`#fbbf24` (Warm Amber-Gold)**<br/>• Italic `<i>...</i>` spans: **`#cbd5e1` (Silver-Slate)**<br/>• Inline `` `code` `` spans: **`#38bdf8` (Sky-Cyan)** `DejaVuMono 8.3pt` |
| **7. Code Blocks & ASCII Wireframes (`Preformatted`)** | `#BreakTableContainer` Recessed Breakdown Well | • Background fill: **`#090f20` (`--breakdown-bg-accent` Recessed Well)**<br/>• Border: `0.8pt solid #334155` with `2pt #38bdf8` top accent rule<br/>• Text: **`#38bdf8` (Sky-Cyan)** / **`#f8fafc`** `DejaVuMono 7.2pt` (with Unicode box-drawing `─ │ ┌ ┐ └ ┘` verified in `DejaVuSansMono.ttf`). |
| **8. Data Tables (`Table` / `TableStyle`)** | `.HistoryTable` / `.borderCipherTable` Zebra Grid | • Header row (`row 0`): **`#090f20`** background, **`#f59e0b` (Amber-Gold)** `DejaVu-Bold 7.8pt` text, `1.2pt #f59e0b` bottom rule.<br/>• Odd rows (`row 1, 3, ...`): **`#0f172a` (`--table-row-odd`)** background, **`#f8fafc`** `DejaVu 7.8pt` text.<br/>• Even rows (`row 2, 4, ...`): **`#162038` (`--table-row-even`)** background, **`#f8fafc`** `DejaVu 7.8pt` text.<br/>• Grid lines: **`0.5pt solid #334155` (`--border-subtle`)** across all cells. |
---
## 4. Three-Phase Implementation Roadmap (`Phases 1–3`)
### Phase 1: Upgrade `src/hyperstitionstud_io/publishing/pdf_compiler.py` (`hs-pdf-build`)
1. Implement `_sanitize_and_format_inline(text, sans_cmap, mono_cmap)`:
- Converts `<br/>` / `<br>` to line-break sentinels before `html.escape()`,
- Unescapes `\|`, `\$`, `\_`, `\*`,
- Transpiles `$...$` inline math and LaTeX macros (`\mathbb{E}`, `\Delta`, `\text{...}`, `\bar{...}`, `\sum`, `\in`, `\rho`, `\tau`, `\sigma`, `\ge`, `\le`, `\times`, `\approx`, subscripts `_{...}`, superscripts `^{...}`) into verified DejaVu Unicode and ReportLab `<sub/>`/`<super/>` tags,
- Formats `[label](url)` links cleanly in `#38bdf8`,
- Maps `ⓘ` -> `[i]`, `⏭` -> `>>|`, `⏮` -> `|<<`, strips `U+FE0F`, maps emojis to monochrome ASCII tags, and filters every character against `sans_cmap` / `mono_cmap` so zero missing glyphs can ever be emitted.
2. Fix Markdown table row parsing to split on unescaped pipes (`re.split(r"(?<!\\)\|", ln.strip()[1:-1])`) and wrap wide code/table lines automatically so the `>= 0.25` line-ratio parity check passes natively without needing a preprocessor script.
3. Implement `_draw_dark_mode_page_frame(canvas, doc)` (`onFirstPage` & `onLaterPages`) painting the `#020617` Abyssal Obsidian page background, `#334155` outer `haiperdohp-jemaytreeah` frame, `#f59e0b` / `#38bdf8` top 3pt ribbon, and `#0f172a` running header/footer bars, and apply the Dark-Mode `ParagraphStyle` and `.HistoryTable` zebra `TableStyle` palette (`#090f20`, `#0f172a`, `#162038`, `#334155`, `#f59e0b`, `#38bdf8`, `#10b981`, `#f8fafc`).
### Phase 2: Recompile All Project PDFs in Dark Mode & Audit Every Page
1. Recompile all active and archived `.pdf` documents in `/workspace/encyclopedia-knowledge-graph/docs/`, `/workspace/encyclopedia-knowledge-graph/docs/archive/`, and `/workspace/hyperstitionstudio-core/site/quant/OPERATORS-MANUAL-QUANT-TIMESERIES-WORKBENCH.pdf` (plus any legacy `/Helvetica` PDFs in `docs/` that have matching `.md` sources).
2. Run a `pypdf` verification pass across every compiled PDF asserting:
- `0` literal `<br/>` strings,
- `0` raw LaTeX backslash macros (`\mathbb`, `\Delta`, `\text`, `\sum`, `\in`, `\tau`, `\rho`, `\|`),
- `0` unembedded `/Helvetica`, `/Courier`, `/Symbol`, or `/ZapfDingbats` fonts in any newly compiled PDF, and
- `0` characters outside the embedded `DejaVuSans` / `DejaVuSansMono` glyph tables.
### Phase 3: Regression Tests in `tests/test_core_suite.py`
1. Add a dedicated unit test in `tests/test_core_suite.py` (`test_pdf_compiler_dark_mode_and_glyph_sanitization`) that compiles a torture-test Markdown snippet containing `<br/>`, `\|`, `$\mathbb{E}[|\Delta\text{bps}_{i,t}|] \in \{0..4\}$`, `ⓘ`, `[Link](https://hyperstitionstud.io)`, and multi-column tables, and verifies via `pypdf.PdfReader` that:
- Extracted text contains `0` `<br/>`, `0` `\mathbb`, `0` `\Delta`, and `0` unmapped codepoints,
- Page resources reference only embedded `/AAAAAA+DejaVu*` TrueType fonts (no `/Helvetica`), and
- The page content stream includes the `#020617` (`0.0078 0.0235 0.0902 rg`) dark-mode background canvas fill.
@@ -0,0 +1,97 @@
# Plan: Integrating Real Macroeconomic & Monetary Indicators (`CPI`, `PPI`, `US10Y`, `EFFR/SOFR` Overnight Lending Rates, `M2`, `M1 vs. M2 Spread`, `Real M2 Growth`, `GDP` & `Gross Product / Aggregate Output`) (`v2.0.24`)
- **Document ID:** `PLAN-MACROECONOMIC-INDICATORS-INTEGRATION-CPI-PPI-RATES-M2-GDP` (`v2.0.24`)
- **Roadmap Status:** **ACTIVE / READY**
- **Keyless Primary Data Source (`100%` Real Federal Reserve Data, `0` API Keys, `0` Synthetic Values):**
All macroeconomic series are ingested directly from the official **St. Louis Federal Reserve (`FRED`) keyless CSV endpoint** (`https://fred.stlouisfed.org/graph/fredgraph.csv?id=<SERIES_ID>`) paired with Yahoo Finance (`^TNX`) and cached in `/workspace/hyperstitionstudio-core/site/quant/real-macro-indicators.json` for offline `file://` portability.
- **Strict Cadence Honesty & Null-Preserving Policy:**
- **Zero Interpolation / Zero Forward-Filling:** Monthly (`1mo`: `CPI`, `PPI`, `M1`, `M2`, `Real M2`, `INDPRO`) and quarterly (`1q`: `GDP`, `GDPC1`, `GNP`, `OUTBS`) series are **never** linearly interpolated or duplicated into fake daily bars.
- **Language-Appropriate `null` When Unavailable:** On any date where a daily series (`DGS10`, `EFFR`, `SOFR`) has no published observation (e.g., weekends or US federal holidays such as `2026-11-26` Thanksgiving where FRED reports `.` / empty), all numeric and `AQ` fields store `None` (Python) / `null` (JSON/JS) / `NULL` (SQLite) and display `"No data available"` in the UI—never `0.0`.
- **Target Modules & Files:**
- `/workspace/hyperstitionstudio-core/src/hyperstitionstud_io/quant/macro.py` (`hs-macro-harvest` CLI & Python collector/analyzer)
- `/workspace/hyperstitionstudio-core/src/hyperstitionstud_io/quant/{collector,timeseries,daily_brief}.py`
- `/workspace/hyperstitionstudio-core/site/quant/{index.html,quant-app.js,real-macro-indicators.json}`
- `/workspace/hyperstitionstudio-core/tests/test_core_suite.py`
---
## 1. Master Specification of the 12 Integrated Macroeconomic & Aggregate Output Series
Every series below has been live-tested against `https://fred.stlouisfed.org/graph/fredgraph.csv?id=<SERIES_ID>` and verified to return real observations without authentication:
| # | Indicator Slug & UI Label | Official FRED Series ID(s) | Native Cadence | Latest Verified Real Observation in FRED | Derived Metrics Computed (`MoM / QoQ / YoY` & Spreads) | Taxonomic Guild & Regime Role (`S1–S6` / `M1–M3`) |
| :- | :--- | :--- | :---: | :--- | :--- | :--- |
| **1** | **`CPI` — Consumer Price Index (All Urban Consumers)** | `CPIAUCSL` | Monthly (`1mo`) | `2026-10-01`: **`337.476`**<br/>*(prior `336.298`)* | • `MoM_bps` (`+35 bps` / `+0.35%`)<br/>• `YoY_pct` & `YoY_bps` | Purchasing-power denominator; gates `M1` stagflation vs. `M2` inflationary fever. |
| **2** | **`PPI` — Producer Price Index (All Commodities)** | `PPIACO` | Monthly (`1mo`) | `2026-10-01`: **`293.921`**<br/>*(prior `294.473`)* | • `MoM_bps` (`-19 bps` / `-0.19%`)<br/>• `YoY_pct` & `YoY_bps`<br/>• **`PPI - CPI` Pipeline Margin Spread** | Upstream industrial/supply-chain cost pressure feeding `S3` fabs, defense, and energy. |
| **3** | **`US10Y` — 10-Year US Treasury Yield** | `DGS10` *(+ Yahoo `^TNX`)* | Daily (`1d`) | `2026-11-25`: **`4.85%` (`485 bps`)**<br/>`2026-11-27`: **`4.94%` (`494 bps`)** | • Yield in `bps` (`485` / `494`)<br/>• Daily `change_bps`<br/>• Real 10Y Yield (`US10Y - CPI YoY%`) | Risk-free discount rate governing `S6` sovereign debt capture and `S1` long-duration AI multiples. |
| **4** | **Overnight Lending Rates (`EFFR` & `SOFR`)** | `EFFR` *(Fed Funds)* & `SOFR` *(Secured Overnight)* + `DFEDTARU` | Daily (`1d`) | `2026-11-27`:<br/>• `EFFR`: **`3.88%` (`388 bps`)**<br/>• `SOFR`: **`3.98%` (`398 bps`)**<br/>• `DFEDTARU`: **`4.00%`** | • Rate in `bps` (`EFFR = 388`, `SOFR = 398`)<br/>• **`SOFR - EFFR` Repo Plumbing Spread (`+10 bps`)**<br/>• **`US10Y - EFFR` Term Curve Slope (`+106 bps`)** | Short-end funding cost & overnight repo collateral stress (`S2` liquidity & `S6` banking plumbing). |
| **5** | **`M1` — Narrow Liquid Money Stock** | `M1SL` | Monthly (`1mo`) | `2026-10-01`: **`$20,166.9B`** (`$20.17T`) | • Level (`$B` / `$T`)<br/>• `MoM_bps` (`+52 bps`) & `YoY_bps` | Immediate demand-deposit & checking liquidity available for transaction velocity. |
| **6** | **`M2` — Broad Money Supply** | `M2SL` | Monthly (`1mo`) | `2026-10-01`: **`$23,532.8B`** (`$23.53T`) | • Level (`$B` / `$T`)<br/>• `MoM_bps` (`+51 bps`) & `YoY_bps` | Aggregate monetary liquidity reservoir driving `M3` Leviathan asset-price inflation. |
| **7** | **`M1 vs. M2 Spread` (Time-Deposit & Velocity Spread)** | Derived from `M1SL` & `M2SL` | Monthly (`1mo`) | `2026-10-01`:<br/>• `M2 - M1`: **`$3,365.9B` (`$3.37T`)**<br/>• `M1 / M2 Ratio`: **`85.70%`** | • **Level Spread (`M2SL - M1SL` in `$B`)**: Non-M1 parked retail time deposits & money-market funds<br/>• **Growth Spread (`M1 YoY bps - M2 YoY bps`)** | Measures whether liquidity is mobilizing into active transaction balances (`M1` rising faster than `M2` -> Risk-On) or retreating into parked yield-bearing deposits (`M2 - M1` widening -> `M1` Stagnation). |
| **8** | **`Real M2` & `Real M2 Growth` (CPI-Deflated Money Supply)** | `M2REAL` | Monthly (`1mo`) | `2026-10-01`: **`$6,973.2B`**<br/>*(prior `$6,962.4B`)* | • `Real_M2_MoM_bps` (`+16 bps` / `+0.16%`)<br/>• **`Real_M2_YoY_pct` & `Real_M2_YoY_bps`** | True inflation-adjusted monetary expansion/contraction; leading liquidity indicator for `S1/S2` risk assets. |
| **9** | **Nominal & Real `GDP` (Gross Domestic Product)** | `GDP` *(Nominal `$B SAAR`)* & `GDPC1` *(Real Chained-2017 `$B`)* | Quarterly (`1q`) | `2026-Q3` (`2026-07-01`):<br/>• `GDP`: **`$33,056.20B` (`$33.06T`)**<br/>• `GDPC1`: **`$24,665.20B` (`$24.67T`)** | • `QoQ_annualized_pct` & `YoY_pct`<br/>• **`GDP / M2` Monetary Velocity (`1.405x`)**<br/>• **Implicit GDP Deflator (`GDP / GDPC1`)** | Sovereign domestic output denominator (`S6` Apparatus of Capture & macro growth regime). |
| **10** | **Gross Product & Aggregate Output (`GNP`, `OUTBS`, `INDPRO`)** | • `GNP` *(Gross National Product `$B`)*<br/>• `OUTBS` *(Business Sector Real Output Index)*<br/>• `INDPRO` *(Monthly Industrial Production Index)* | Quarterly (`1q`) & Monthly (`1mo`) | • `GNP` (`2026-Q3`): **`$33,026.51B`**<br/>• `OUTBS` (`2026-Q3`): **`128.965`**<br/>• `INDPRO` (`2026-10-01`): **`102.2421`** | • `GNP_QoQ_bps`, `OUTBS_QoQ_bps`, `INDPRO_MoM_bps` (`-43 bps`)<br/>• **`GNP - GDP` Net Foreign Factor Income Spread (`-$29.69B`)** | Real physical & business-sector aggregate output benchmark against which financial market capitalization is measured. |
---
## 2. Bidirectional (`eng_aq` Gen 0 & `ing_aq` Gen 1) Evaluation of Macroeconomic Readouts
Just like the 24 market tickers, every macroeconomic observation is evaluated across both **Standard Written English (`Gen 0` `eng_aq`)** and **Phonemic Ingglish (`Gen 1` `ing_aq`)**—revealing remarkable structural locks in the real Federal Reserve data:
| Indicator & Real Observation | Numerical Representation | `Gen 0` Written (`eng_aq`) | `Gen 1` Phonemic (`ing_aq`) | Structural / Taxonomic Lock Discovered in Real FRED Data |
| :--- | :--- | :--- | :--- | :--- |
| **`EFFR` (`2026-11-27` = `3.88%`)** | Rate in basis points = **`388 bps`** | Face integer **`388`** | `"three huhndrad aytee ayt"` = `348` | **`388` == Exact Total Node Count of the Encyclopedia Knowledge Graph (`388` Nodes)**! |
| **`OUTBS` (`2026-Q3` = `128.965`)** | Rounded integer index = **`129`** (`floor = 128`) | Face integers **`129` / `128`** | `"wuhn huhndrad twentee nain"` | **`129 == blakwel == ruhsha == awflain [S3 / M7+]`**; **`128 == nik land == masheen == serkat [S3]`**! |
| **`CPI` (`2026-10-01` = `337.476`)** | Rounded integer = **`337`**; `MoM = +35 bps` | **`337` (`68th PRIME`)** | `"therdee faiv"` (`35 bps`) = **`166`** | `MoM +35 bps` spoken in `Gen 1` (`"therdee faiv"`) = **`166 == order buk == noo flesh [S2]`**! |
| **`PPI` (`2026-10-01` = `293.921`)** | `MoM = -19 bps`; Prior = `294` | `"nineteen"` = **`137 [33rd PRIME]`** | `"nainteen"` = **`137 [33rd PRIME]`** ($\Delta = 0$ Isometric!) | **`19` spoken (`"nineteen" -> "nainteen"`) is a `G4` Isometric Chokepoint (`137 == envideea == hawlts == inersha [S3 / M1]`)**! |
| **`M2 - M1 Spread` (`$3,365.9B`)** | Scaled string `"$3.37T"` (`337`) | `"three point three seven trillion"` | `"three point three sevan trilyan"` | Matches the `337 [68th PRIME]` CPI coordinate and scales alongside Nvidia's `$3.35T–$3.37T` mega-cap tier (`M3` Leviathan). |
---
## 3. Macro-to-Equity & Macro-to-Memetic Regime Coupling Rules
Integrating these 12 macroeconomic series unlocks four objective macro-regime signals that feed directly into `/quant/` and the **Daily Portfolio & Memetic Regime Update (`PLAN-DAILY-PORTFOLIO-AND-MEMETIC-REGIME-UPDATE-FEATURE`)**:
1. **Overnight Plumbing & Yield-Curve Stress Gate (`SOFR - EFFR` & `US10Y - EFFR`):**
- **Repo Plumbing Spread (`SOFR - EFFR`):** On `2026-11-27`, `SOFR (3.98%) - EFFR (3.88%) = +10 bps`. When `SOFR - EFFR >= +15 bps`, overnight collateral is scarce, signaling an `S2` liquidity squeeze (`M2` flash-crash precursor).
- **Term Structure Slope (`DGS10 - EFFR`):** On `2026-11-25/27`, `4.85% - 3.88% = +97 bps` (`+97 bps -> "naintee sevan" [Gen 1] = 237 == kansorsheeam [S6]`).
2. **Monetary Velocity & Liquidity Impulse Gate (`Real M2 Growth` & `M1 vs. M2 Spread`):**
- When `Real M2 YoY % > 0` and `M1 MoM bps >= M2 MoM bps` (`+52 bps >= +51 bps` in `2026-10`), real liquidity is expanding into active transaction balances, supporting `S1` AI and `S2` crypto multiples.
- When `Real M2 YoY % < 0` and `M2 - M1 Spread` widens while `INDPRO` contracts (`-43 bps` in `2026-10`), money is parked in defensive time deposits while industrial output slows—activating **`M1_ENTROPIC_STAGNATION`**.
3. **Upstream-Downstream Inflation Margin Gate (`PPI MoM bps - CPI MoM bps`):**
- In `2026-10`, `PPI MoM (-19 bps) - CPI MoM (+35 bps) = -54 bps`, indicating easing upstream commodity input costs relative to consumer prices (margin expansion for `S1/S6` corporate operators).
4. **Aggregate Output & Leviathan Capitalization Ratio (`GDP`, `GNP`, `OUTBS`, `INDPRO`):**
- Compares the combined market capitalization of the top `M3` Leviathan tickers against US `GDP` (`$33.06T`) and `GNP` (`$33.03T`) and tracks `GDP / M2` velocity (`1.405x`).
---
## 4. Four-Phase Implementation Roadmap (`Phases 1–4`)
### Phase 1: Build `src/hyperstitionstud_io/quant/macro.py` & `hs-macro-harvest` CLI
1. Create `/workspace/hyperstitionstudio-core/src/hyperstitionstud_io/quant/macro.py` implementing:
- `fetch_fred_series_csv(series_id, timeout=8.0)`: Keyless HTTP fetcher for `https://fred.stlouisfed.org/graph/fredgraph.csv?id=<series_id>` that strips missing `.` rows (converting missing dates to `None` / `null`, never `0.0`).
- `build_macro_indicators_bundle(allow_live_network=True, write_files=True)`:
- Ingests all 12 series (`CPIAUCSL`, `PPIACO`, `DGS10`, `EFFR`, `SOFR`, `DFEDTARU`, `M1SL`, `M2SL`, `M2REAL`, `GDP`, `GDPC1`, `GNP`, `OUTBS`, `INDPRO`),
- Computes `M1 vs. M2 Spread` (`M2SL - M1SL` in `$B`, `M1/M2` ratio `%`, and `M1_MoM_bps - M2_MoM_bps`), `Real M2 Growth` (`MoM_bps` & `YoY_pct`), `SOFR - EFFR` repo spread, `DGS10 - EFFR` curve slope, `PPI - CPI` margin spread, `GDP / M2` velocity, and `GNP - GDP` net foreign factor spread,
- Computes bidirectional `Gen 0` (`eng_aq`) and `Gen 1` (`ing_aq`) evaluations on every observation and change rate, and
- Persists `/workspace/hyperstitionstudio-core/site/quant/real-macro-indicators.json` with an IPLD `dag-json` `CIDv1` digest.
2. Register `hs-macro-harvest = "hyperstitionstud_io.quant.macro:main"` in `pyproject.toml`.
### Phase 2: Integrate Macro Indicators into `timeseries.py`, `daily_brief.py` & `/api/v1/quant/macro`
1. Attach the `macro_indicators_summary` block to `quant-timeseries.json` / `quant-timeseries-data.js` and expose `GET /api/v1/quant/macro` on `src/hyperstitionstud_io/mcp/rest.py` (and `hs_scan_financial_quant_harvest` in `mcp/tools.py`).
2. Feed the 12 real macroeconomic indicators directly into **Agendas 1–4** of `PLAN-DAILY-PORTFOLIO-AND-MEMETIC-REGIME-UPDATE-FEATURE` (`daily_brief.py`).
### Phase 3: Add the Macroeconomic & Aggregate Output Strip on `/quant/` (`site/quant/index.html` & `quant-app.js`)
1. Add a dedicated **Macroeconomic, Monetary & Aggregate Output Telemetry Panel** on `/quant/index.html` displaying:
- **Inflation & Pipeline:** `CPI` (`337.48`, `+35 bps MoM`) & `PPI` (`293.92`, `-19 bps MoM`, `nainteen = 137 [Iso]`),
- **Rates & Overnight Plumbing:** `US10Y` (`4.85% / 4.94%`), `EFFR` (`3.88% = 388 bps`), `SOFR` (`3.98% = 398 bps`), `SOFR - EFFR` (`+10 bps`), and `10Y - EFFR` (`+97 bps -> 237`),
- **Money Supply & Velocity:** `M2` (`$23.53T`), `M1` (`$20.17T`), `M1 vs. M2 Spread` (`$3.37T` / `85.7%`), and `Real M2` (`$6,973.2B`, `+16 bps MoM`),
- **Aggregate Output:** Nominal `GDP` (`$33.06T`), Real `GDPC1` (`$24.67T`), `GNP` (`$33.03T`), `OUTBS` Business Output (`128.97 -> 129 == blakwel`), and `INDPRO` Industrial Production (`102.24`),
- Plus inline `ⓘ` info icons (`QUANT_TERM_GLOSSARY`) explaining each macroeconomic indicator in `<= 1 paragraph` of plain English.
### Phase 4: Verification in `tests/test_core_suite.py` & `deploy/test-first-deployment.sh`
1. Add unit assertions in `tests/test_core_suite.py` verifying:
- All 12 macroeconomic series load from real FRED data with `synthetic_data_eliminated == True`,
- Missing holiday dates (such as `2026-11-26` on `EFFR`/`SOFR`/`DGS10`) return `None` / `null` (`"No data available"`) rather than `0.0`,
- Derived indicators (`M1 vs. M2 Spread`, `Real M2 Growth`, `SOFR - EFFR`, `GDP / M2` velocity) and their `eng_aq` / `ing_aq` evaluations match exact arithmetic, and
- `/quant/real-macro-indicators.json` returns `HTTP 200 OK` in `deploy/test-first-deployment.sh`.
+194
View File
@@ -0,0 +1,194 @@
# Plan: Unified Stateless REST API & OpenAPI 3.1 Adapter (`/api/v1/*`) for the `hyperstitionstud.io` MCP Server (`v2.0.17`)
- **Document ID:** `PLAN-MCP-REST-API-ADAPTER` (`v2.0.17`)
- **Target Module:** `/workspace/hyperstitionstudio-core/src/hyperstitionstud_io/mcp/server.py` & `/workspace/hyperstitionstudio-core/src/hyperstitionstud_io/mcp/rest.py`
- **Public HTTPS & Local Routes:**
- **REST API v1 Base URL:** `https://hyperstitionstud.io/api/v1/*` (and `http://127.0.0.1:8095/api/v1/*`)
- **OpenAPI 3.1.0 Specification:** `https://hyperstitionstud.io/api/v1/openapi.json` (auto-compiled at runtime from `MCP_TOOLS_SCHEMA`, `STATIC_RESOURCES`, `RESOURCE_TEMPLATES`, and `MCP_PROMPTS`)
- **Existing JSON-RPC 2.0 MCP Endpoint (100% Preserved):** `https://hyperstitionstud.io/mcp` (`POST /mcp` & `GET /mcp`)
- **Core Architectural Principle:** **Single Daemon, Single Port (`127.0.0.1:8095`), Zero Code Duplication.** The existing `_MCPHTTPHandler` inside `hyperstitionstud_io.mcp.server` (`hyperstition-mcp.service`) serves both MCP JSON-RPC 2.0 clients at `/mcp` and standard HTTP/REST clients (`curl`, browser `fetch()`, Python `requests`, Pandas/R notebooks, TradingView webhooks, OpenAI/Anthropic function-calling) at `/api/v1/*`, wrapping every execution inside `ReadOnlyIsolationGuard` and returning unwrapped native JSON with an embedded cryptographic `isolation_receipt`.
---
## 1. Why Non-MCP Clients Need a First-Class REST Adapter (`/api/v1/*`)
While Model Context Protocol (`MCP`) clients communicate via stateful `stdio` pipes or JSON-RPC 2.0 envelopes (`{"jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": {"name": "...", "arguments": {...}}}`) where tool results are double-serialized as stringified JSON inside `result.content[0].text`, standard non-MCP consumers face three unnecessary friction points:
1. **Double-Encoded JSON Unwrapping Overhead:** In MCP `tools/call`, the payload returned by `call_mcp_tool()` is serialized into a string inside `{"result": {"content": [{"type": "text", "text": "{...}"}]}}`. Standard HTTP clients (`curl | jq`, browser `fetch()`, Pandas `pd.read_json()`, quantitative scripts) expect a single-pass parsed JSON response (`application/json`) with standard HTTP status codes (`200 OK`, `400 Bad Request`, `404 Not Found`, `405 Method Not Allowed`, `422 Unprocessable Entity`).
2. **`GET` Query-String Addressability & HTTP Edge Caching:** Read-only queries—such as looking up node `125` in the Knowledge Graph, fetching `NVDA` from the closing-bell financial harvest, or reading Dossier `65`—should be directly addressable via idempotent `GET` URLs (`GET /api/v1/quant/harvest?symbol=NVDA` or `GET /api/v1/graph/nodes/aq:125`) that work in any browser address bar without constructing a `POST` body.
3. **OpenAPI 3.1.0 Discovery (`openapi.json`):** Non-MCP agent frameworks (OpenAI Actions, LangChain OpenAPI toolkits, Postman, Insomnia, Swagger UI) ingest standard OpenAPI 3.1.0 schemas rather than MCP `tools/list` JSON-RPC handshakes.
---
## 2. Unified Dual-Protocol Architecture (`Caddy :443` -> `hs-mcp 127.0.0.1:8095`)
No second background daemon or extra systemd service is needed. Caddy routes both `/mcp*` and `/api/v1*` to the same stateless, `ProtectSystem=strict` `hyperstition-mcp.service` process on `127.0.0.1:8095`:
```text
+---------------------------------------------------------------------------------------------------+
| CLIENT LAYER |
| • MCP Clients (Hermes, Claude, Cursor) -----> POST /mcp (JSON-RPC 2.0 Envelope) |
| • Non-MCP Clients (curl, JS fetch, Pandas, -> GET / POST /api/v1/* (Native REST JSON + OpenAPI) |
| OpenAI Actions, Quant Notebooks, Browser) |
+---------------------------------------------------+-----------------------------------------------+
|
v
+---------------------------------------------------------------------------------------------------+
| CADDY 2 REVERSE PROXY (`/etc/caddy/Caddyfile` on `hyperstitionstud.io`) |
| @api_and_mcp path /mcp /mcp/* /api/v1 /api/v1/* |
| handle @api_and_mcp { reverse_proxy 127.0.0.1:8095 } |
+---------------------------------------------------+-----------------------------------------------+
|
v
+---------------------------------------------------------------------------------------------------+
| SINGLE STATELESS PYTHON DAEMON (`hyperstitionstud_io.mcp.server` • `127.0.0.1:8095`) |
| • Enforces `ReadOnlyIsolationGuard` (pre/post SHA-256 verification of upstream registries) |
| • Routes `/mcp` -> `dispatch_jsonrpc()` (MCP 2025-03-26 / 2024-11-05 JSON-RPC 2.0) |
| • Routes `/api/v1/*` -> `dispatch_rest_v1()` (Unwrapped REST JSON + Query-Param Coercion) |
+---------------------------------------------------------------------------------------------------+
```
---
## 3. Complete `/api/v1/*` REST Endpoint Specification
Every capability in `hyperstitionstud_io.mcp` (`11` tools, `7` static resources, `2` resource templates, and `4` guided prompts) is exposed through **both** a generic 1-to-1 reflection endpoint (`/api/v1/tools/<tool_name>`) and ergonomic resource-oriented REST aliases:
### 3.1 Discovery, Health & OpenAPI 3.1 Endpoints
| HTTP Method & Path | Description | Underlying Function |
| :--- | :--- | :--- |
| `GET /api/v1` or `GET /api/v1/status` | Server version (`v2.0.17`), URN namespace, endpoint directory, tool/resource/prompt counts, and live `ReadOnlyIsolationGuard` SHA-256 status. | `SERVER_INFO` + `guard.audit_receipt()` |
| `GET /api/v1/openapi.json` | Full **OpenAPI 3.1.0** schema dynamically compiled from `MCP_TOOLS_SCHEMA`, `STATIC_RESOURCES`, `RESOURCE_TEMPLATES`, and `MCP_PROMPTS`. | `build_openapi_v1_spec()` |
| `GET /api/v1/doctor` | Run `hs-doctor` environment, font, CMUdict, and SHA-256 isolation diagnostics. | `hs_run_doctor_and_audit` |
### 3.2 Generic 1-to-1 Tool Execution Endpoints (Supports Both `GET` Query Params & `POST` JSON Body)
Any existing or future tool registered in `MCP_TOOLS_SCHEMA` is automatically callable at `/api/v1/tools/{tool_name}` with zero manual routing code:
| HTTP Method & Path | Query / Body Parameters | Behavior & Type Coercion |
| :--- | :--- | :--- |
| `GET /api/v1/tools` | None | Returns the list of all `11` tool definitions and their JSON Schemas (`MCP_TOOLS_SCHEMA`). |
| `POST /api/v1/tools/{tool_name}` | JSON object matching the tool's `inputSchema` (e.g. `{"terms": ["Nvidia", "Anthropic"], "quant_mode": "spoken"}`). | Validates required fields against `inputSchema`, executes `call_mcp_tool(tool_name, body)`, and returns native JSON. |
| `GET /api/v1/tools/{tool_name}?...` | URL query parameters (e.g. `?symbol_filter=NVDA&harvest_mode=us-closing-bell` or `?terms=Nvidia,Anthropic`). | Automatically coerces query strings using the tool's `inputSchema` (`"integer" -> int`, `"boolean" -> bool`, `"array" -> comma-separated or repeated param`) and executes `call_mcp_tool()`. |
### 3.3 Ergonomic Domain-Specific REST Endpoints (Ciphers, Zoology, Graph, Quant, IPLD & Citations)
For clean integration with `/quant/`, `/learn/`, `/graph/`, and external scripts, the REST adapter maps domain nouns directly onto the 11 MCP tools:
| Domain | HTTP Method & Path | Query / JSON Parameters | Mapped MCP Tool |
| :--- | :--- | :--- | :--- |
| **Ciphers & Phonetics** | `GET` or `POST` `/api/v1/ciphers/evaluate` | `terms` (array or comma-list), `quant_mode` (`digit\|off\|spoken\|dual`) | `hs_evaluate_aq_and_ingglish` |
| **Singularity Zoology** | `GET` or `POST` `/api/v1/zoology/classify` | `terms` (array or comma-list), `headline_text` (optional string) | `hs_classify_singularity` |
| **ETI Tier List** | `GET /api/v1/zoology/tier-list` | `?build_filter=all&register=academic\|fund_manager\|corporate_board\|fantasy_football` | `hs_inspect_eti_tier_list` |
| **Anchor Revisions** | `GET` or `POST` `/api/v1/zoology/anchor-revision` | `anchor_id`, `new_digit_str`, `new_spoken_eng` | `hs_simulate_anchor_revision` |
| **Knowledge Graph** | `GET /api/v1/graph/query` | `?query=125&include_neighbors=true` (also `GET /api/v1/graph/nodes/{node_id}`) | `hs_query_knowledge_graph` |
| **Glossary & Encyclopedia** | `GET /api/v1/glossary/search` | `?query=monopoly&guild_filter=S6&limit=15` | `hs_search_glossary_encyclopedia` |
| **Archive Equations** | `GET /api/v1/archive/equations` | `?target_sum=333&keyword=envideea&limit=20` | `hs_search_archive_equations` |
| **Quant Finance Harvest** | `GET /api/v1/quant/harvest` | `?harvest_mode=us-closing-bell&symbol_filter=NVDA` (also `GET /api/v1/quant/instruments/{symbol}`) | `hs_scan_financial_quant_harvest` |
| **IPLD `dag-json` `CIDv1`** | `GET` or `POST` `/api/v1/ipld/cid` | `?registry_name=glossary-registry` (or `POST` arbitrary `{"json_object": {...}}`) | `hs_compute_ipld_dag_json_cid` |
| **Grounded Citations** | `POST /api/v1/citations/verify` | `{"draft_path": "...", "ledger_variant": "common", "require_evidence": true}` | `hs_verify_grounded_citations` |
### 3.4 Static Resources, Dossiers, Schemas & Guided Prompts Endpoints
| HTTP Method & Path | Description | Underlying Resource / Prompt |
| :--- | :--- | :--- |
| `GET /api/v1/resources` | Lists all `7` static URN resources and `2` URI templates. | `STATIC_RESOURCES` + `RESOURCE_TEMPLATES` |
| `GET /api/v1/resources/{slug}` | Returns parsed JSON for `slug` in `{glossary-registry, encyclopedia-manifest, eti-tier-list, singularity-matrix, memetic-registry, quantitative-anchors, knowledge-graph-summary}`. | `read_mcp_resource("urn:io:hyperstitionstud:resource:" + slug)` |
| `GET /api/v1/dossiers/{number}` | Returns `{dossier_number, uri, mime_type: "text/markdown", markdown: "..."}` for Dossier `01..71` (or raw `text/markdown` when `Accept: text/markdown` or `?format=raw` is passed). | `read_mcp_resource("urn:io:hyperstitionstud:dossier:" + number)` |
| `GET /api/v1/schemas/{schema_slug}` | Returns the raw v1 JSON Schema (`glossary-registry`, `encyclopedia-graph`, `learn-progress-state`, `financial-aq-harvest`). | `read_mcp_resource("urn:io:hyperstitionstud:schema:v1:" + schema_slug)` |
| `GET /api/v1/prompts` | Lists all `4` guided workflow prompt templates and their required arguments. | `MCP_PROMPTS` |
| `GET` or `POST` `/api/v1/prompts/{prompt_name}` | Renders the prompt messages with supplied query/JSON arguments (`?headline=...` or `?audience=fund_manager&focus_guild=S1`). | `get_mcp_prompt(prompt_name, args)` |
---
## 4. Standardized REST Response Envelope & Error Contract
To give non-MCP callers deterministic metadata without double-stringifying the result, every `/api/v1/*` JSON response uses a flat, single-parsed envelope (with optional `?raw=1` query flag to return the bare data object directly):
### 4.1 Successful Response (`HTTP 200 OK`)
```json
{
"ok": true,
"version": "2.0.17",
"endpoint": "/api/v1/quant/harvest",
"tool": "hs_scan_financial_quant_harvest",
"data": {
"$schema": "./schemas/v1/financial-aq-harvest.schema.json",
"$id": "urn:io:hyperstitionstud:schema:v1:financial-aq-harvest",
"harvest_mode": "us-closing-bell",
"instruments": [ ... ]
},
"isolation_verified": true
}
```
*(When `?raw=1` or `?unwrap=true` is passed, `data` is returned at the top level directly so `curl -s 'https://hyperstitionstud.io/api/v1/quant/harvest?symbol_filter=NVDA&raw=1' | jq .instruments[0]` works with zero wrapper keys).*
### 4.2 Error Response (`HTTP 400 / 404 / 405 / 422 / 500`)
```json
{
"ok": false,
"version": "2.0.17",
"error": {
"code": "INVALID_ARGUMENTS",
"status": 422,
"message": "Missing required parameter 'terms' for tool 'hs_evaluate_aq_and_ingglish'."
}
}
```
---
## 5. Concrete Client Usage Examples (Zero MCP Client Required)
1. **`curl` + `jq` (Evaluate Base-36 AQ & Ingglish Locks via `GET`):**
```bash
curl -s "https://hyperstitionstud.io/api/v1/ciphers/evaluate?terms=schizoanalysis,abstract%20machine,synthetic%20data" | jq .data
```
2. **`curl` (Fetch `NVDA` Closing-Bell Quantitative Telemetry & Scope 1–3 Locks):**
```bash
curl -s "https://hyperstitionstud.io/api/v1/quant/instruments/NVDA" | jq .data
```
3. **Browser `fetch()` / JavaScript Client:**
```javascript
const resp = await fetch("/api/v1/graph/nodes/aq:125?include_neighbors=true");
const { data } = await resp.json();
console.log(data.matched_nodes, data.neighbors);
```
4. **Python `urllib` / `requests` / Pandas Notebook:**
```python
import requests
df_rows = requests.get("https://hyperstitionstud.io/api/v1/zoology/tier-list", params={"register": "fund_manager", "raw": "1"}).json()["builds"]
```
---
## 6. Three-Phase Implementation Sequence (`Phases 1–3`)
### Phase 1: Create `src/hyperstitionstud_io/mcp/rest.py` (Router, Schema-Driven Query Coercer & OpenAPI 3.1 Builder)
1. Implement `coerce_query_params(query_str, input_schema)` to convert URL query strings (`?terms=a,b&limit=10&include_neighbors=false`) into typed Python dicts matching each tool's JSON Schema in `MCP_TOOLS_SCHEMA`.
2. Implement `build_openapi_v1_spec()` to auto-generate the OpenAPI 3.1.0 specification document (`/api/v1/openapi.json`) directly from `MCP_TOOLS_SCHEMA`, `STATIC_RESOURCES`, `RESOURCE_TEMPLATES`, and `MCP_PROMPTS` so adding a new MCP tool automatically adds its REST route and OpenAPI entry.
3. Implement `dispatch_rest_v1(method, path, query_str, body_bytes, headers)` executing inside `ReadOnlyIsolationGuard(cfg.read_only_files)` and returning `(http_status, content_type, payload)`.
### Phase 2: Wire `/api/v1/*` into `src/hyperstitionstud_io/mcp/server.py` & `deploy/Caddyfile`
1. Update `_MCPHTTPHandler.do_GET()` and `_MCPHTTPHandler.do_POST()` in `src/hyperstitionstud_io/mcp/server.py` to route any path starting with `/api/v1` to `dispatch_rest_v1()`, while keeping `/mcp` 100% unchanged for MCP Streamable HTTP JSON-RPC 2.0 clients.
2. Register `src/hyperstitionstud_io/mcp/rest.py` in `src/hyperstitionstud_io/version_sync.py` if it carries version strings (or import `SERVER_INFO["version"]` directly from `server.py`).
3. Update `/workspace/hyperstitionstudio-core/deploy/Caddyfile` so the reverse proxy rule matches both `/mcp` and `/api/v1`:
```caddyfile
@mcp_and_rest_api path /mcp /mcp/* /api/v1 /api/v1/*
handle @mcp_and_rest_api {
reverse_proxy 127.0.0.1:8095
}
```
### Phase 3: Verification in `tests/test_core_suite.py` & `deploy/test-first-deployment.sh`
1. Add unit tests in `tests/test_core_suite.py` testing `dispatch_rest_v1()` across:
- `GET /api/v1/status` and `GET /api/v1/openapi.json` (validating OpenAPI 3.1.0 structure),
- `GET /api/v1/ciphers/evaluate?terms=schizoanalysis,abstract%20machine,synthetic%20data`,
- `POST /api/v1/tools/hs_evaluate_aq_and_ingglish`,
- `GET /api/v1/quant/instruments/NVDA`,
- `GET /api/v1/graph/nodes/aq:125`,
- `GET /api/v1/resources/eti-tier-list` and `GET /api/v1/dossiers/65`,
- `GET /api/v1/prompts/analyze_headline_zoology?headline=Nvidia+halts`, and
- `404` / `422` structured error responses + `ReadOnlyIsolationGuard` invariance.
2. Add `/api/v1/status`, `/api/v1/openapi.json`, and `/api/v1/quant/instruments/NVDA` checks to `deploy/test-first-deployment.sh`.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,124 @@
# Architecture & Reversibility Plan: Lens-Neutral Mathematical Substrate & Hot-Swappable Projection Registry (`LENS_REGISTRY`) Across TierZoo, Pokédex, Fantasy Sabermetrics & Quantitative Factor Models (`v2.0.17`)
- **Document ID:** `PLAN-MODULAR-LENS-PROJECTION-AND-REVERSIBILITY-ARCHITECTURE` (`v2.0.17`)
- **Companion Plans Governed:**
- `PLAN-QUANTITATIVE-FINANCE-TIMESERIES-SUBPAGE` (`/quant/` Time-Series Workbench)
- `PLAN-TIERZOO-AND-POKEDEX-TIMESERIES-SABERMETRICS-ENRICHMENT` (`ETI-TS` & Gen IV Pokédex Time-Series Enrichment)
- `PLAN-MCP-REST-API-ADAPTER` (`/api/v1/*` & `/mcp` Register Projections)
- **Core Architectural Mandate:** **100% of stored time-series ledgers, JSON schemas, and core Python calculators must compute and persist strictly lens-neutral mathematical invariants.** Interpretive metaphors—including **TierZoo (`ETI`)**, **Gen IV Pokédex**, **Fantasy Football / Sabermetrics**, **Quantitative Hedge-Fund Factor Risk**, and **Corporate Board Governance**—must operate exclusively as stateless, late-bound projection plugins registered in a single declarative `LENS_REGISTRY` (`hyperstitionstud_io.lenses`), guaranteeing that any lens can be removed or replaced in `< 15 minutes` with zero schema migrations and zero data regeneration.
---
## 1. Executive Summary: Coupling Audit & Removal/Replacement Cost Across the 6 Repositories
An audit of the 6-repository `hyperstitionstud.io` ecosystem confirms that the core mathematical, phonetic, cryptographic, and periodic-harvest engines already maintain **`0.0%` coupling** to the TierZoo, Pokédex, and Fantasy Football lenses. All metaphor-specific terminology is confined to a thin presentation layer (`Layer 2`):
| Architectural Layer | Modules & Artifacts Included | Coupling to Pokédex / TierZoo / Fantasy Football | Effort to Remove or Replace |
| :--- | :--- | :---: | :--- |
| **Layer 0: Core Ciphers, Phonetics, IPLD & Periodic Collectors** | `hyperstitionstud_io.{ciphers,phonetics,ipld,quant}`, `01–71` Archive Dossiers, `haiperdohp-jemaytreeah` (`/calc/`), `hyperdope-ci-build` (`/ci/`) | **`0.0%` (`Zero references`)** | **Zero (`0` lines of code or data touched).** |
| **Layer 1: Structural Singularity Vectors & Time-Series Moments** | `G1` variance collapse ($\sigma^2_0 \to 0$), `G2` cross-gen twins, `G3` quantized steps, `G4` isometric ratio ($\Delta=0$), `G5` twin-prime density, `S[1–5]×S6` coupling, and periodic moments ($\Pr[X_t>0], P_{20}, P_{90}, \text{CV}, \rho(\tau), \Delta_{S_t}$) | **`0.0%` (`Pure mathematical invariants`)** | **Zero (`0` lines of code or data touched).** |
| **Layer 2A: Runtime API & UI Projection Layer (`LENS_REGISTRY`)** | `REGISTER_STAT_LABELS` in `src/hyperstitionstud_io/mcp/tools.py` (lines 27–60), `pokedex_field_scanner_card` in `mcp/prompts.py`, and the `/quant/` UI lens selector | **Isolated to dictionary entries (`~8–25` lines per lens)** | **Trivial (`< 2 minutes` to delete a key or register a new lens dict).** |
| **Layer 2B: Static Stakeholder Proposals & Division `07/08` PDFs** | `ZOOLOGICAL_TIER_DEFS` & `roster_slot` in `classify_technocapital_singularity.py`, `proposal-fantasy-football-*.{md,pdf}`, and Encyclopedia Divisions `07` & `08` | **Confined to static published reports** *(Protected at runtime by `ReadOnlyIsolationGuard`)* | **Low (`~10–15 minutes` to swap `ZOOLOGICAL_TIER_DEFS` and re-run `--build-tier-list` / `--build-encyclopedia`).** |
---
## 2. Mathematical Isomorphism: How 12 Domain-Agnostic Invariants Project Into Any Interpretive Lens
Every existing and planned lens is mathematically an **isomorphic basis relabeling** of the exact same **6 Structural Combine Invariants** ($\mathbf{v}_{\text{struct}} \in [0, 100]^6$) and **6 Longitudinal Time-Series Moments** ($\mathbf{v}_{\text{ts}}$):
$$\mathbf{v}_{\text{struct}} = \begin{bmatrix} v_1: \text{Isometric Ratio } (G_4, \Delta=0) \\ v_2: \text{Inverse Drift Velocity } (G_3, |\Delta|) \\ v_3: \text{Log Variance Collapse } (G_1, \sigma^2_0 \to 0) \\ v_4: \text{Cross-Guild Coupling } (S \times S_6) \\ v_5: \text{Prime & Twin-Prime Density } (G_5) \\ v_6: \text{Repricing Closure } (\Delta Q) \end{bmatrix}, \qquad \mathbf{v}_{\text{ts}} = \begin{bmatrix} m_1: \text{Active Duty Cycle } (\Pr[X_t > 0]) \\ m_2: \text{Volume-Weighted Lock Share} \\ m_3: \text{Excess Locks Over Null } (X_t - \mathbb{E}_0) \\ m_4: \text{Quantile & Dispersion Profile } (P_{20}, P_{90}, \text{CV}) \\ m_5: \text{Optimal Cross-Correlation Lag } (\tau^*) \\ m_6: \text{Conditional Regime Delta } (\mathbb{E}[X_t \mid S_t] - \mu) \end{bmatrix}$$
Because $\mathbf{v}_{\text{struct}}$ and $\mathbf{v}_{\text{ts}}$ are computed purely from Base-36 `AQ` arithmetic, CMUdict phonetics, and periodic `(Market × News-Wire)` timestamps, they project into **any** domain lens without altering a single underlying number:
| # | Canonical Schema Key (Stored on Disk in `quant-timeseries.json`) | Lens 1: **TierZoo (`tierzoo_ecology`)** | Lens 2: **Gen IV Pokédex (`pokedex_scanner`)** | Lens 3: **Fantasy Sabermetrics (`fantasy_sabermetrics`)** | Lens 4: **Quant Hedge Fund (`fund_manager`)** | Lens 5: **Cybernetic Control (`cybernetic_control`)** | Lens 6: **Epidemiology (`network_contagion`)** |
| :- | :--- | :--- | :--- | :--- | :--- | :--- | :--- |
| **1** | `struct_isometric_armor` ($v_1$) | `ARM` (Chokepoint Armor) | `Base DEF` (Isometric Shield) | `Pass Protection` (OL Blocker) | `Chokepoint Moat` | `Phase-Lock Invariance` | `Structural Immunity` |
| **2** | `struct_drift_velocity` ($v_2$) | `VEL` (Escape Velocity) | `Base SPE` (Speed Stat) | `Breakaway Speed` (RB/WR) | `Signal Velocity` | `Slew Rate / Bandwidth` | `Transmission Velocity` |
| **3** | `struct_variance_collapse` ($v_3$) | `COL` (Compression Power) | `Base ATK` (Collapse Strike) | `Stack Power` (QB-WR Stack) | `Convergence Power` | `Attractor Basin Depth` | `Basic Reproduction ($R_0$)` |
| **4** | `struct_trophic_capture` ($v_4$) | `CAP` (Trophic Capture) | `Base HP` (Apparatus Mass) | `Front-Office Cap Reach` | `Institutional Coupling` | `Bus Fan-Out Gain` | `Cross-Host Reservoir` |
| **5** | `struct_prime_density` ($v_5$) | `PRM` (Prime Mutation IQ) | `Base SPA` (Special Prime) | `Playbook IQ` (Audibles) | `Idiosyncratic Asymmetry` | `Orthogonal Code Density` | `Antigenic Drift Rate` |
| **6** | `struct_repricing_resilience` ($v_6$) | `RES` (State Resilience) | `Base SPD` (Repricing Guard) | `All-Weather Durability` | `Regime Robustness` | `Fault Damping Ratio` | `Endemic Persistence` |
| **7** | `ts_duty_cycle_pct` ($m_1$) | `Foraging Activity %` | `Encounter Rate %` (`Route`) | `Snap Share (SNAP%)` | `Signal Duty Cycle %` | `Carrier Occupancy %` | `Prevalence Rate %` |
| **8** | `ts_weighted_resonance` ($m_2$) | `Trophic Dominance Index` | `Combat Level (Lv. 1–100)` | `WOPR` (Opportunity Rating) | `Conviction Exposure` | `Spectral Power Flux` | `Force of Infection ($\lambda_t$)` |
| **9** | `ts_excess_over_replacement` ($m_3$) | `Apex Surplus Over Tier D` | `EV Yield (+1..+3 Stats)` | `LOE / WAR_30d` | `Information Ratio / Alpha` | `SNR Gain Over Noise (dB)` | `Excess Morbidity Over Null` |
| **10** | `ts_quantile_profile` ($m_4$) | `Metabolic Niche Archetype` | `Nature (+10% / -10% Trait)` | `Floor P20 / Ceil P90 / Boom%` | `VaR_20 & Convexity Skew` | `Crest Factor / Kurtosis` | `Endemic vs. Outbreak Skew` |
| **11** | `ts_optimal_lag_days` ($m_5$) | `Predator-Prey Phase Lead` | `Move Priority Bracket` | `Pace / Leverage Index (LI)` | `Granger Lead-Lag ($\tau^*$)` | `Group Delay / Phase Lead` | `Incubation Lead ($\tau^*$)` |
| **12** | `ts_regime_splits` ($m_6$) | `Biome Adaptation Split` | `Passive Ability (Weather)` | `Weather / SOS Matchup Split` | `Regime-Conditional Beta` | `Mode Transfer Gain` | `Seasonal Multiplier` |
---
## 3. The Pluggable `LENS_REGISTRY` Architecture (`hyperstitionstud_io.lenses`)
To guarantee that lenses never leak into core data pipelines, we formalize a standalone, zero-dependency projection module `/workspace/hyperstitionstudio-core/src/hyperstitionstud_io/lenses/__init__.py`:
```text
+---------------------------------------------------------------------------------------------------+
| LAYER 1: LENS-NEUTRAL TIME-SERIES & STRUCTURAL BUNDLE (`quant-timeseries.json`) |
| Stores ONLY canonical mathematical keys: |
| • `structural_vector`: {isometric_armor, drift_velocity, variance_collapse, ...} |
| • `timeseries_moments`: {duty_cycle_pct, weighted_resonance, excess_over_null, |
| value_over_baseline, p20_floor, p90_ceiling, cv, optimal_lag_days, |
| regime_splits: {M1: +14.0, M2: -2.1, M3: +4.5}} |
+---------------------------------------------------+-----------------------------------------------+
|
v
+---------------------------------------------------------------------------------------------------+
| LAYER 2: DECLARATIVE `LENS_REGISTRY` (`src/hyperstitionstud_io/lenses/__init__.py`) |
| Stateless pure function: `apply_lens(neutral_record, lens_slug="fund_manager")` |
| • Built-in Lenses: |
| 1. `neutral_math` (Raw mathematical & statistical terminology — zero metaphor) |
| 2. `fund_manager` (Factor alpha, chokepoint moat, VaR/convexity, Granger lead-lag) |
| 3. `corporate_board` (Supply-chain moat, execution agility, balance-sheet coupling) |
| 4. `tierzoo_ecology` (ETI S+..F, Apex Predator / Keystone Guild / Symbiont / Nomad) |
| 5. `fantasy_sabermetrics` (QB/RB/WR/OL/DEF slots, SNAP%, WOPR, WAR_30d, Floor/Ceil/Boom%) |
| 6. `pokedex_scanner` (DEX #, Lv., Nature +10%/-10%, Passive Ability, EV Yield, Stage 1-3)|
+---------------------------------------------------------------------------------------------------+
```
### 3.1 Schema of a Single `LensSpec` Plugin Entry (`~20` Lines of Declarative Python/JSON)
Each lens in `LENS_REGISTRY` is defined by a self-contained `LensSpec` dictionary with four keys:
1. `lens_id` & `title`: Identifier (`e.g., "fund_manager"` or `"fantasy_sabermetrics"`) and human-readable display name.
2. `field_labels`: 1-to-1 dictionary mapping the 12 canonical schema keys (`struct_isometric_armor` .. `ts_regime_splits`) to the lens's display labels and tooltips.
3. `tier_bands`: Thresholds and badge names mapping the `0–100` composite score into the lens's native hierarchy (e.g., `S+ / S / A / B / C / D / F` for `tierzoo_ecology`, vs. `Core Overweight / Tactical Long / Market Perform / Event Flyer / Underweight` for `fund_manager`).
4. `classify_qualitative_profile(neutral_record)`: A pure function of `(p20_floor, p90_ceiling, cv, optimal_lag_days, peak_regime)` that returns deterministic qualitative tags grounded in the time series:
- When `p20_floor >= 75` and `cv < 0.45`:
- `neutral_math` returns `"Low-Variance High-Floor Stationary Series"`
- `fund_manager` returns `"Core Compounding Moat (Low Drawdown Beta)"`
- `fantasy_sabermetrics` returns `"Ironclad Cash-Game Floor Anchor"`
- `pokedex_scanner` returns `"Relaxed Nature (+DEF / -SPE) • Isometric Shield"`.
---
## 4. Operational Playbook: How to Remove or Replace Any Lens in the Future
### 4.1 Scenario A: Removing Pokédex, TierZoo, or Fantasy Football Completely (`< 15 Minutes`)
If you ever decide to retire one or all of the gaming/sports lenses (`pokedex_scanner`, `tierzoo_ecology`, `fantasy_sabermetrics`) and run the platform purely as a **Quantitative Factor & Continental Philosophy Research Terminal (`neutral_math` + `fund_manager` + `corporate_board`)**:
1. **Runtime API & `/quant/` UI Removal (`< 2 Minutes`):**
- Remove `"pokedex_scanner"`, `"tierzoo_ecology"`, and/or `"fantasy_sabermetrics"` from `ENABLED_LENSES` in `src/hyperstitionstud_io/lenses/__init__.py`.
- Set `DEFAULT_LENS = "fund_manager"` (or `"neutral_math"`).
- **Impact on `quant-timeseries.json`, `financial-aq-harvest-latest.json`, `encyclopedia-graph.json`, and all 3 Hermes cronjobs:** **Zero (`0` files modified, `0` cron changes, `0` schema changes).** Both `/quant/index.html` and `/api/v1/*` dynamically populate their lens selector dropdown from `ENABLED_LENSES`.
2. **Optional Static Document & Encyclopedia Archival (`~10 Minutes`):**
- If you also want the static Fantasy Football proposal (`proposal-fantasy-football-*.{md,pdf}`) and Pokédex/TierZoo glossary entries moved out of the active Encyclopedia:
- Move `proposal-fantasy-football-technocapital-roster-engine.{md,pdf}` to `technocapital-singularity-zoology/docs/archive/`.
- Filter `source_type in ("pokedex_lens", "fantasy_lens")` in `classify_technocapital_singularity.py --sync-glossary --build-encyclopedia` and rebuild the Knowledge Graph (`build_encyclopedia_knowledge_graph.py`).
### 4.2 Scenario B: Adding a Brand-New Replacement Lens (`< 10 Minutes`)
To introduce a new lens—such as **`options_volatility_surface`** (Delta, Gamma, Vega, Theta, Skew, Pin Risk), **`cybernetic_signal_processing`** (Carrier SNR, Phase-Locked Loop, Group Delay, Bandwidth), or **`chess_engine_evaluation`** (Centipawn Advantage, Piece Activity, King Safety, Zugzwang Lock):
1. Add one `20`-line `LensSpec` dictionary to `src/hyperstitionstud_io/lenses/__init__.py` mapping the 12 canonical mathematical keys (`struct_*` and `ts_*`) to the new lens's terminology.
2. Re-run `build_quant_timeseries_bundle()` (or query `/api/v1/zoology/tier-list?register=<new_lens>`).
3. The `/quant/index.html` workbench, the REST API (`/api/v1/*`), the OpenAPI 3.1 schema (`/api/v1/openapi.json`), and the MCP server (`/mcp`) immediately expose the new lens with zero HTML or chart-rendering changes.
---
## 5. Mandatory Guardrails Added to the Active Implementation Roadmap
To lock in this reversibility before implementing Plans B, C, and A:
1. **Guardrail 1 (No Lens Jargon in Stored Time-Series Keys):**
- `schemas/v1/quant-timeseries.schema.json` and `site/quant/quant-timeseries.json` must use **100% lens-neutral field names** (`duty_cycle_pct`, `weighted_resonance_share`, `excess_locks_over_null`, `value_over_baseline`, `p20_floor`, `p90_ceiling`, `cv`, `optimal_lag_days`, `regime_splits`), with a pre-computed `lens_projections: {neutral_math, fund_manager, corporate_board, tierzoo_ecology, fantasy_sabermetrics, pokedex_scanner}` dictionary attached via `apply_all_lenses()`.
2. **Guardrail 2 (UI Lens Switcher on `/quant/index.html`):**
- Add a top-bar **`[ Lens: Quant Factor | Neutral Math | TierZoo | Fantasy Sabermetrics | Pokédex | Corporate Board ]`** selector to `/quant/index.html` so the user can switch the entire workbench's labels, tooltips, and Panel 3 inspector cards across lenses in real time—or hide any lens by toggling one array entry.
3. **Guardrail 3 (Unit Test for Lens-Removal Invariance in `tests/test_core_suite.py`):**
- Add an automated test asserting that `build_quant_timeseries_bundle(enabled_lenses=["neutral_math", "fund_manager"])` succeeds with `100%` schema validity when `pokedex_scanner`, `tierzoo_ecology`, and `fantasy_sabermetrics` are disabled.
@@ -0,0 +1,244 @@
# Plan: One-Shot Ticker Stats Card Generator & API (`.png` + `.json`) — Pokémon / Sports Card / TCG / TierZoo Hybrid in the `haiperdohp-jemaytreeah` Visual Design System (`v2.0.24`)
- **Document ID:** `PLAN-ONE-SHOT-TICKER-STATS-CARDS-API-PNG-AND-JSON` (`v2.0.24`)
- **Roadmap Status:** **ACTIVE / READY**
- **Strict Zero-Synthetic-Data & Null-Preserving Mandate:**
Every market price, basis-point move, 20-day volume ratio, sabermetric moment (`SNAP%`, `WOPR`, `WAR_30d`), and `Dose 0..3+` confluence score rendered on the `.png` card and emitted in the `.json` file comes **100% from real exchange observations** (`site/quant/real-market-history.json`) and real dated news dossiers (`25..71-dossier-news-YYYY-MM-DD.md`). Whenever market data is unavailable (such as private entity `ANTHR-PVT`, closed weekend/holiday equity sessions, or unreported equity `market_cap_str`), the `.json` field is `null` (`None` in Python) and the `.png` card explicitly prints `"No data available"` / `"N/A"`—never `0.0` and never synthesized.
- **Target Modules, Existing Chatbot REST Dispatcher & MCP Integration (`0` New REST Endpoints):**
- `/workspace/hyperstitionstudio-core/src/hyperstitionstud_io/quant/cards.py` (`hs-ticker-card` CLI & deterministic Pillow `.png` + `.json` compiler)
- `/workspace/hyperstitionstudio-core/src/hyperstitionstud_io/mcp/tools.py` (Wired into MCP & the existing Chatbot OpenAPI `/api/v1/tools/{tool_name}`, `/api/v1/zoology/pokedex/{symbol}`, and `/api/v1/quant/timeseries` dispatchers—**creating zero new REST endpoint routes in `src/hyperstitionstud_io/mcp/rest.py`**)
- `/workspace/hyperstitionstudio-core/schemas/v1/ticker-stats-card.schema.json` (Offline URN JSON Schema contract)
- `/workspace/hyperstitionstudio-core/tests/test_core_suite.py`
---
## 1. Visual Design System: Matching the `haiperdohp-jemaytreeah` Calculator (`calc/styles.css` & `calc/ciphers.js`)
To make every generated `.png` card look like a native artifact of the `haiperdohp-jemaytreeah` Cypher Calculator (`/calc/`), the Pillow renderer (`hyperstitionstud_io.quant.cards`) uses the exact HSL/RGB color tokens, zebra-table rows, breakdown boxes, and cipher accent hues defined in `/workspace/haiperdohp-jemaytreeah/calc/styles.css`, `config.default.js`, and `calc/ciphers.js`:
| `haiperdohp-jemaytreeah` CSS / JS Token | Exact Color Value (`HSL` -> `Hex / RGB`) | Where It Appears on the Ticker Stats Card `.png` (`900 × 1260 px`, `5:7` TCG Portrait) |
| :--- | :--- | :--- |
| `--body-bg-accent` (`hue=222, sat=22%, lit=16%`) | `#1f2532` (`rgb(31, 37, 50)`) | Main card chassis background inside the outer bevel frame. |
| `--breakdown-bg-accent` (`hue=222, sat=21%, lit=13%`) | `#1a1f29` (`rgb(26, 31, 41)`) | Recessed word-breakdown & 30-day sparkline viewport (`#BreakdownSpot` / `#ChartSpot` style). |
| `--hist-header-gradient` (`hue=222, sat=13%, lit=10%`) | `#16181d` (`rgb(22, 24, 29)`) | Top TCG header banner & section title bars. |
| `--menu-bg-accent` / `--menu-bg-accent2` | `#394356` / `#313949` | Pill badges, guild type tags (`S1..S6`), and stat-box headers. |
| `--table-row-odd` & `--table-row-even` | `#1e2229` & `#24272e` | Alternating zebra stripes in the Sports-Card Season Box Score table and Cipher Table. |
| `--border-accent` & `--border-dark-accent` | `#696969` (`1px`) & `#3b3b3b` (`2px`) | Crisp `1px` cell borders and `2px` inner frame dividers matching `#enabledCiphTable`. |
| `CALC_CONFIG.logoColor` & Matrix Hover | `#2eb872` (`hsl(148, 60%, 45%)`) & `#00ffcc` | Ticker symbol glow, active lock highlights, and `"Cypher Calculator // hyperstitionstud.io"` header stamp. |
| **Cipher 1: `Ordinal`** (`hsl(120, 65%, 62%)`) | `#5cd65c` (`rgb(92, 214, 92)`) | `Ordinal` cipher column & `VEL` (Velocity) stat bar accent. |
| **Cipher 2: `Reduction`** (`hsl(216, 95%, 73%)`) | `#79aafb` (`rgb(121, 170, 251)`) | `Reduction` cipher column & `RES` (Resilience) stat bar accent. |
| **Cipher 3: `Alphanumeric Qabbala`** (`hsl(60, 33%, 62%)`) | `#bebe7e` (`rgb(190, 190, 126)`) | Primary `Base-36 AQ` (`Gen 0` & `Gen 1`) score badges & `ARM` (Isometric Chokepoint) bar. |
| **Cipher 4: `Primes`** (`hsl(44, 56%, 62%)`) | `#d4b268` (`rgb(212, 178, 104)`) | `Primes` rank badge (`[33rd PRIME]`, `[44th PRIME]`) & `PRM` stat bar. |
| **Cipher 5: `Synx`** (`hsl(180, 44%, 66%)`) | `#82cece` (`rgb(130, 206, 206)`) | `Synx` / `COL` (G1 Variance Collapse) stat bar & 30-day sparkline curve. |
| **Cipher 6: `Based Atlanteanism`** (`hsl(280, 55%, 68%)`) | `#bf7ee0` (`rgb(191, 126, 224)`) | `CAP` (Trophic Capture) stat bar & `Dose 2/3+` cross-species confluence badge. |
---
## 2. Hybrid Card Anatomy: Fusing Pokémon TCG, Sports Cards, Trading Card Games & TierZoo (`900 × 1260 px`)
Each generated card integrates five distinct zones modeled on the best conventions of trading card games, back-of-card sports sabermetrics, and TierZoo scorecards:
```text
+===================================================================================+
| [STAGE 3 APEX] NVDA // NVIDIA -> envideea [TIER S+ | 85.4 ETI] [S1 AI][S3] | <- Zone 1: Pokémon/TCG Header
| DEX #137 [33rd PRIME] • Symbol AQ: 77 • NASDAQ:NVDA (#16181d + #2eb872 glow)|
+-----------------------------------------------------------------------------------+
| ZONE 2: HAIPERDOHP-JEMAYTREEAH MULTI-CIPHER BREAKDOWN & 30-DAY REAL TAPE VIEWPORT |
| +-------------------------------------------+-----------------------------------+ |
| | #BreakdownSpot: "e-n-v-i-d-e-e-a" | #ChartSpot: 30-Day Real Close USD | |
| | 14+23+31+18+13+14+14+10 = 137 [33rd PRIME]| $212.06 Peak (Nov 04) | |
| |-------------------------------------------| /\_/\ /\ | |
| | CIPHER TABLE (Gen 0 Written vs Gen 1 Ing):| / \__/ \___ $150.49 (Nov 27)| |
| | • Base-36 AQ: 113 (Gen 0) -> 137 (Gen 1) | • 19/30 Real Sessions Available | |
| | • Ordinal: 63 (Gen 0) -> 65 (Gen 1) | • 11 Closed Days = null (N/A) | |
| | • Reduction: 27 (Gen 0) -> 29 (Gen 1) | • Peak Volume: 4.52x (Nov 12) | |
| | • Phonemic Drift (Δ): +24 (Prime -> Prime)| • Confluence Dose Peak: D = 3/4 | |
| +-------------------------------------------+-----------------------------------+ |
+-----------------------------------------------------------------------------------+
| ZONE 3: TIERZOO 6-STAT ECOLOGICAL SCORECARD & RADAR BARS (0–100 SCALE) |
| ARM (Chokepoint Armor) [███████████████░░░░░] 76.0 (#bebe7e AQ Brass) |
| VEL (Signal Velocity) [████████████████░░░░] 80.6 (#5cd65c Ordinal Green) |
| COL (G1 Var Collapse) [██████████████████░░] 91.0 (#82cece Synx Cyan) |
| CAP (S×S6 Capture Reach) [█████████████████░░░] 84.0 (#bf7ee0 Atlantean) |
| PRM (Prime Mutation IQ) [███████████████████░] 95.0 (#d4b268 Primes Gold) |
| RES (Repricing Ward) [████████████░░░░░░░░] 61.6 (#79aafb Reduction Blue)|
+-----------------------------------------------------------------------------------+
| ZONE 4: SPORTS-CARD BACK-OF-CARD REAL SEASON BOX SCORE (Zebra Table #1e2229/#24272e)|
| +---------+----------+-----------+--------+-------+------+---------+------+-----+ |
| | SESS | CLOSE | MOVE(BPS) | VOL20D | SNAP% | WOPR | WAR_30d | LAG* | DOSE| |
| | 19 / 30 | $150.49 | +80 bps | 0.53x | 26.3% | 24.1 | -1.46 | -1d | 2/4 | |
| +---------+----------+-----------+--------+-------+------+---------+------+-----+ |
| | P20 FLOOR: 42.0 | P90 CEIL: 65.3 | NEXT-DAY CONT%: 60.6% | CAP: No data avail| |
| +-------------------------------------------------------------------------------+ |
+-----------------------------------------------------------------------------------+
| ZONE 5: TCG PASSIVE ABILITY, SIGNATURE EQUATION MOVE & GROUNDED CITATION FOOTER |
| • [NATURE & ARCHETYPE]: Modest (+SPA / -ATK) • Balanced Multi-Factor Core |
| • [PASSIVE ABILITY — M1/M2 REGIME SPLIT]: Supply-Halt & Wire Co-Presence Surge |
| (On 2026-11-12 & 2026-11-13, Dossier 52/53 confluence drove 4.52x & 1.86x vol) |
| • [SIGNATURE 333 EQUATION MOVE]: |
| `envideea (137) + fohldz (125) + gpu (71) = 333` ("Nvidia folds GPU" — Doss. 67)|
+-----------------------------------------------------------------------------------+
| urn:io:hyperstitionstud:card:NVDA:v2.0.24 • CIDv1: baguqeera... • ♥ by Lemurs. |
+===================================================================================+
```
---
## 3. Unified JSON Schema (`ticker-stats-card.schema.json`) & Dual `.png` + `.json` Output Contract
Every one-shot card request returns (and/or writes to disk) a synchronized pair of artifacts—`<symbol>-stats-card.png` and `<symbol>-stats-card.json`—governed by `/workspace/hyperstitionstudio-core/schemas/v1/ticker-stats-card.schema.json`:
```json
{
"$schema": "./schemas/v1/ticker-stats-card.schema.json",
"$id": "urn:io:hyperstitionstud:schema:v1:ticker-stats-card",
"version": "2.0.24",
"synthetic_data_eliminated": true,
"card_identity": {
"symbol": "NVDA",
"symbol_clean": "NVDA",
"symbol_eng_aq": 77,
"symbol_ing_aq": 77,
"entity_eng": "Nvidia",
"entity_ing": "envideea",
"dex_number": "DEX #137",
"guilds": ["S1", "S3"],
"tier_band": "Tier S (Keystone Guild)",
"evolution_stage": "Stage 3 (Keystone Pseudo-Legendary)",
"composite_eti_score": 81.9,
"selected_lens": "tierzoo_ecology",
"tradingview_symbol": "NASDAQ:NVDA",
"tradingview_url": "https://www.tradingview.com/chart/?symbol=NASDAQ%3ANVDA"
},
"cipher_breakdown": {
"word_letters_ing": ["e", "n", "v", "i", "d", "e", "e", "a"],
"word_values_aq": [14, 23, 31, 18, 13, 14, 14, 10],
"eng_aq": 113,
"ing_aq": 137,
"eng_prime_rank": 30,
"ing_prime_rank": 33,
"eng_ordinal": 63,
"ing_ordinal": 65,
"eng_reduction": 27,
"ing_reduction": 29,
"phonemic_drift_delta": 24,
"is_isometric": false,
"is_twin_prime": false
},
"tierzoo_base_stats_6": {
"struct_isometric_armor": 76.0,
"struct_drift_velocity": 80.6,
"struct_variance_collapse": 91.0,
"struct_trophic_capture": 84.0,
"struct_prime_density": 95.0,
"struct_repricing_resilience": 61.6
},
"sports_card_box_score": {
"observation_date_utc": "2026-11-27",
"data_available": true,
"status": "ok",
"available_trading_days": 19,
"missing_trading_days": 11,
"close_usd": 150.49,
"change_pct": 0.80,
"change_bps": 80,
"volume_ratio_20d": 0.53,
"market_cap_str": null,
"close_spoken_eng": "one hundred fifty",
"close_spoken_eng_aq": 196,
"close_spoken_ing": "wuhn huhndrad fiftee",
"close_spoken_ing_aq": 215,
"bps_spoken_eng": "eighty",
"bps_spoken_eng_aq": 128,
"bps_spoken_ing": "aytee",
"bps_spoken_ing_aq": 98,
"confluence_dose": 2,
"shared_dossier_coordinates": [128],
"duty_cycle_snap_pct": 26.3,
"wopr_resonance": 24.1,
"war_30d_excess": -1.46,
"quantile_profile": {
"p20_floor": 42.0,
"p90_ceiling": 65.3,
"boom_pct": 5.3,
"bust_pct": 73.7,
"cv": 1.85
},
"optimal_lag_days": -1,
"sparkline_30d": "·█▆▆▅▄··▄▄▆▄▃··▃▃▄▃▃··▃▃▃▃·▃··"
},
"tcg_abilities_and_moves": {
"nature": "Modest (+SPA / -ATK • Prime Harmonic Resonator)",
"archetype": "Opportunistic Burst Predator",
"passive_ability": "M3 Leviathan / Cross-Species Dossier Lock",
"ev_yield": "+2 SPE, +1 ATK",
"signature_equation": "envideea (137) + fohldz (125) + gpu (71) = 333",
"doc_references": {
"encyclopedia_deep_link": "/encyclopedia/03-machinic-phylum-guilds-s1-to-s5/class-s3-silicon-war-machine-and-euv-swarm-a-to-z.pdf#page=5&search=envideea",
"knowledge_graph_deep_link": "/graph/index.html?select=aq:137",
"exemplar_dossier_deep_link": "/zoology/dossiers/65-dossier-technocapital-singularity-autoregressive-ai.md#:~:text=292"
}
},
"artifacts": {
"png_file_path": "/tmp/hyperstition-cards/NVDA-stats-card.png",
"json_file_path": "/tmp/hyperstition-cards/NVDA-stats-card.json",
"png_mime_type": "image/png",
"png_dimensions": [900, 1260],
"png_sha256": "...",
"png_base64": "iVBORw0KGgoAAAANSUhEUg..."
},
"ipld_dag_json_cidv1": {
"/": "baguqeera..."
}
}
```
*(When requested for a private/untraded entity like `ANTHR-PVT` or a closed weekend date, `sports_card_box_score.data_available` is `false`, all numeric market fields are `null`, and the rendered `.png` card displays `"No data available"` in the box-score cells without fabricating a single number).*
---
## 4. Chatbot REST API & MCP Integration Specification (`0` New REST Endpoints Created)
Because `/api/v1/*` (`src/hyperstitionstud_io/mcp/rest.py`) is designed exclusively as the **Chatbot & OpenAPI 3.1.0 REST Adapter** mirroring `MCP_TOOLS_SCHEMA`, **no new custom REST endpoint routes are created** in `rest.py`. Instead, the one-shot `.png` + `.json` card generator integrates directly into the **existing** Chatbot REST and MCP tool infrastructure:
### 4.1 Exclusive Use of Existing Chatbot REST Routes (`src/hyperstitionstud_io/mcp/rest.py` Unchanged in Route Surface)
| Existing Chatbot REST Route / Protocol | How Chatbots & AI Agents Request the One-Shot `.png` + `.json` Ticker Stats Card |
| :--- | :--- |
| **1. Existing Parameterized Chatbot Route:**<br/>`GET /api/v1/zoology/pokedex/{symbol}?include_card=true` *(or `/api/v1/quant/timeseries?symbol={symbol}&include_card=true`)* | Already routed in `rest.py` (`lines 288–295` & `line 40`) to `hs_inspect_quant_timeseries`. Passing `include_card=true` (or invoking `hs_generate_ticker_stats_card` via the generic tool dispatcher below) compiles and attaches both the `.json` stats card object and the `.png` card artifact (`png_file_path`, `json_file_path`, `png_sha256`, and `png_base64` / `data:image/png;base64,...`) inside the standard Chatbot REST JSON envelope—requiring **zero new endpoints**. |
| **2. Existing Generic Chatbot Tool Dispatcher:**<br/>`GET \| POST /api/v1/tools/hs_generate_ticker_stats_card` | Automatically handled by the existing generic `/api/v1/tools/{tool_name}` dispatcher in `rest.py` (`lines 365–392`) and automatically added to `/api/v1/openapi.json` (`build_openapi_v1_spec()`) the moment `hs_generate_ticker_stats_card` is registered in `MCP_TOOLS_SCHEMA`. No route changes in `rest.py` are needed. |
| **3. MCP JSON-RPC 2.0 (`/mcp` & stdio):**<br/>`tools/call` -> `hs_generate_ticker_stats_card` | Returns the structured `.json` card payload, writes the `.png` and `.json` files to the configured output directory, and includes the base64-encoded `.png` image content block for multimodal MCP clients. |
### 4.2 MCP & Chatbot Tool Specification (`src/hyperstitionstud_io/mcp/tools.py`)
- **Tool Name:** `hs_generate_ticker_stats_card` (plus optional `include_card: true` parameter on existing `hs_inspect_quant_timeseries`)
- **Description:** *"Generate a one-shot hybrid Pokémon/Sports/TCG/TierZoo ticker stats card (.png + .json) styled after the haiperdohp-jemaytreeah Cypher Calculator using 100% real exchange and news-wire observations (null / 'No data available' when absent)."*
- **Input Schema (`inputSchema`):**
- `symbol` (`string`, required): Ticker symbol or DEX coordinate (e.g. `"NVDA"`, `"PLTR"`, `"SOL-USD"`, `"ASML"`, `"ANTHR-PVT"`, `"137"`).
- `lens` (`string`, default `"tierzoo_ecology"`): `"tierzoo_ecology" | "fund_manager" | "corporate_board" | "fantasy_sabermetrics" | "pokedex_scanner" | "neutral_math"`.
- `date_utc` (`string`, optional): Target UTC date `YYYY-MM-DD` (defaults to latest available real trading date for that symbol).
- `include_base64_png` (`boolean`, default `True`): Embeds the rendered `.png` bytes as base64 (`png_base64`) alongside the emitted `.png` and `.json` file paths so stateless HTTP chatbots receive both the `.png` image and `.json` data in a single JSON response.
- **Read-Only Isolation Guarantee:** Executes inside `ReadOnlyIsolationGuard`, writing generated `.png` and `.json` files only to `/tmp/hyperstition-cards/` (or a user-specified external output directory in CLI mode) and never mutating protected repository registries.
---
## 5. Three-Phase Implementation Roadmap (`Phases 1–3`, Zero New Endpoints)
### Phase 1: Build `src/hyperstitionstud_io/quant/cards.py`, Schema & `hs-ticker-card` CLI
1. Create `/workspace/hyperstitionstudio-core/schemas/v1/ticker-stats-card.schema.json` with offline `$id: "urn:io:hyperstitionstud:schema:v1:ticker-stats-card"`.
2. Create `/workspace/hyperstitionstudio-core/src/hyperstitionstud_io/quant/cards.py` implementing:
- `build_ticker_stats_card_json(symbol, lens="tierzoo_ecology", date_utc=None)`: Computes the 5-zone card JSON strictly from real observations (`None` / `null` when unavailable), including the `haiperdohp-jemaytreeah` multi-cipher character breakdown (`Alphanumeric Qabbala`, `Ordinal`, `Reduction`, `Primes`).
- `render_ticker_stats_card_png_bytes(card_json)`: Renders the `900 × 1260 px` RGBA PNG in memory using Pillow and the DejaVu Sans / DejaVu Sans Mono TrueType fonts in the `haiperdohp-jemaytreeah` silhouette & palette.
- `export_ticker_stats_card_pair(symbol, out_dir, lens="tierzoo_ecology", date_utc=None)`: Writes both `<symbol>-stats-card.png` and `<symbol>-stats-card.json` to `out_dir` and returns the combined payload with `png_base64`, `png_sha256`, and `ipld_dag_json_cidv1`.
3. Register `hs-ticker-card = "hyperstitionstud_io.quant.cards:main"` in `pyproject.toml`.
### Phase 2: Wire into `src/hyperstitionstud_io/mcp/tools.py` (Automatic Chatbot REST Coverage, `0` New Endpoints)
1. Register `hs_generate_ticker_stats_card` in `MCP_TOOLS_SCHEMA` and `call_mcp_tool()` in `src/hyperstitionstud_io/mcp/tools.py` (which the existing `/api/v1/tools/{tool_name}` dispatcher and `/api/v1/openapi.json` builder in `src/hyperstitionstud_io/mcp/rest.py` expose automatically without adding any new route).
2. Add optional `include_card: boolean` support to `hs_inspect_quant_timeseries` so the existing `/api/v1/zoology/pokedex/{symbol}` and `/api/v1/quant/timeseries` chatbot endpoints can also return the one-shot `.png` + `.json` card bundle on demand.
### Phase 3: Verification in `tests/test_core_suite.py`
1. Add unit assertions in `tests/test_core_suite.py` verifying:
- `build_ticker_stats_card_json("NVDA")` and `build_ticker_stats_card_json("PLTR")` return real exchange data with `synthetic_data_eliminated == True`,
- `build_ticker_stats_card_json("ANTHR-PVT")` returns `data_available == False` and `close_usd is None` (`null` in JSON) and renders `"No data available"` on the `.png` card,
- Calling the existing Chatbot REST tool dispatcher `GET /api/v1/tools/hs_generate_ticker_stats_card?symbol=NVDA` (and `GET /api/v1/zoology/pokedex/NVDA?include_card=true`) returns `HTTP 200 OK` with both the `.json` card specification and valid `(900, 1260)` `.png` bytes (`\x89PNG\r\n\x1a\n`),
- Calling `dispatch_jsonrpc` (`tools/call: hs_generate_ticker_stats_card`) returns `HTTP 200 OK` with matching `CIDv1` digests, and
- Confirming that zero new custom endpoint patterns were added to `src/hyperstitionstud_io/mcp/rest.py`.
@@ -0,0 +1,160 @@
# Plan: Comprehensive Census of Bidirectional (`eng_aq` & `ing_aq`) Quantitative Harvest Data Points, Cross-Species Dossier/Wire Confluence & Dose-Response Tracking (`v2.0.24`)
- **Document ID:** `PLAN-QUANT-BIDIRECTIONAL-DATA-POINT-CENSUS-AND-CROSS-SPECIES-CONFLUENCE` (`v2.0.24`)
- **Roadmap Status:** **ACTIVE / READY**
- **Strict Data Integrity Rule:**
100% of analyses, locks, and dose-response metrics operate **exclusively over real exchange observations** (`site/quant/real-market-history.json`, Yahoo Finance v8, Stooq CSV, CoinGecko v3) and **real dated news-wire dossiers** (`25..71-dossier-news-YYYY-MM-DD.md`). Whenever a market observation is unavailable (such as private company `ANTHR-PVT` or closed weekend/holiday equity sessions), all numerical fields default to `None` / `null` / `NULL` (`"No data available"` in the UI)—never `0.0` and never synthesized.
- **Target Modules & Files:**
- `/workspace/hyperstitionstudio-core/src/hyperstitionstud_io/quant/collector.py`
- `/workspace/hyperstitionstudio-core/src/hyperstitionstud_io/quant/timeseries.py`
- `/workspace/hyperstitionstudio-core/site/quant/{index.html,quant-app.js}`
- `/workspace/hyperstitionstudio-core/tests/test_core_suite.py`
---
## 1. Comprehensive Census of Data Points in Quantitative Harvests (`eng_aq` Gen 0 & `ing_aq` Gen 1)
A systematic audit of `src/hyperstitionstud_io/quant/collector.py` and `src/hyperstitionstud_io/quant/timeseries.py` reveals that while the pipeline ingests 14 distinct lexical and numerical data points per `(Instrument, UTC Date)` observation, **only 5 of the 14 data points were previously evaluated for contingent locks**, and several spoken numerical strings were evaluated only in `Gen 1` (`ing_aq`) while discarding their `Gen 0` (`eng_aq`) written-spoken score:
| # | Data Point Name | Raw Source in Harvest | `Gen 0` Written (`eng_aq`) | `Gen 1` Phonemic (`ing_aq`) | Previous Status in `/quant/` | Upgraded Status in This Plan |
| :- | :--- | :--- | :--- | :--- | :--- | :--- |
| **1** | **Entity Name** (`entity_eng` / `entity_ing`) | `"Nvidia"`, `"Palantir"`, `"ASML"` | `AQ("Nvidia") = 113` | `AQ("envideea") = 137` | Computed & checked in `Scope 1` | Retained + paired with Ticker Symbol AQ (#2). |
| **2** | **Ticker Symbol** (`symbol_clean`) | `"NVDA"`, `"SOL"`, `"PLTR"`, `"ARM"` | `AQ("SOL") = 73`, `AQ("NVDA") = 77`, `AQ("ASML") = 81` | `AQ("sol") = 73`, `AQ("ayemdee") = 121` | **Unscored / Ignored** | **Added to `Scope 1` (`symbol_eng_aq`, `symbol_ing_aq`):** Detects direct Ticker-Symbol Self-Locks (e.g. `SOL-USD` closing at `$73.07 -> 73 == AQ("SOL")` on `2026-11-19`). |
| **3** | **Rounded Integer Close** (`close_int`) | `int(round(close_usd))` (e.g. `$159.36 -> 159`) | Face integer `159` | Face integer `159` | Checked against `entity_aq` & `S1–S6` rings | Extended to check against `symbol_aq` AND same-day news dossier active coordinates. |
| **4** | **Literal Digit Sum of Close** (`close_digit_aq`) | Base-36 digit sum of `str(close_int)` | `AQ("159") = 1+5+9 = 15` | `15` | Computed (`close_digit_aq`) but **never checked for locks** | Checked for Iso-Digital conservation ($\Delta_{\text{digit}} = 0$) across consecutive trading days and anchor revisions. |
| **5** | **Spoken Close — Written English (`Gen 0`)** | `int_to_spoken_words(close_int)` (e.g. `"two hundred"`) | `AQ("two hundred") = 222` | — | **Computed in `collector.py` (`close_spoken_eng`), omitted in `timeseries.py` & never checked for locks!** | **Added (`close_spoken_eng_aq`):** Evaluates `Gen 0` spoken price for `333/666/777` repdigits and `S1–S6` ring hits (e.g. `NVDA` `$200.13` on `2026-11-04` -> `"two hundred"` `[Gen 0]` = `222`). |
| **6** | **Spoken Close — Phonemic Ingglish (`Gen 1`)** | `translate(close_spoken_eng)` (e.g. `"too huhndrad siks"`) | — | `AQ("too huhndrad siks") = 333` | Checked in `Scope 1` & `Scope 2` | Retained + cross-joined with same-day news dossier equations (`Scope 3B`). |
| **7** | **Unsigned Basis-Point Move** (`bps_abs`) | `abs(change_bps)` (e.g. `-125 bps -> 125`) | Face integer `125` | Face integer `125` | Checked in `Scope 1` & `Scope 2` | Extended to detect **Multi-Ticker Synchronous BPS Waves** (2+ tickers moving by the exact same `bps_abs` on the same UTC date). |
| **8** | **Literal Digit Sum of BPS** (`bps_digit_aq`) | Base-36 digit sum of `str(bps_abs)` | `AQ("125") = 8` | `8` | Computed (`bps_digit_aq`), **never displayed or checked** | Exposed in Panel 3 tooltip & checked for Iso-Digital move conservation. |
| **9** | **Spoken BPS — Written English (`Gen 0`)** | `int_to_spoken_words(bps_abs)` (e.g. `"one hundred eight"`, `"forty"`, `"eighty"`) | `AQ("one hundred eight") = 292`, `AQ("forty") = 129`, `AQ("eighty") = 128` | — | **Omitted in `timeseries.py` & never checked for locks!** | **Added (`bps_spoken_eng_aq`):** Uncovers `28` real `S1–S6` ring locks in Nov 2026 (including `GOOGL -108 bps -> "one hundred eight" = 292` on `2026-11-24`). |
| **10** | **Spoken BPS — Phonemic Ingglish (`Gen 1`)** | `translate(bps_spoken_eng)` (e.g. `"naintee sevan"`) | — | `AQ("naintee sevan") = 237` (`kansorsheeam`) | Computed (`bps_spoken_ing_aq`), **never checked against `S1–S6` rings in `timeseries.py`!** | **Added to `Scope 2` & `Scope 3B` ring/dossier checks:** Uncovers `19` real `Gen 1` spoken-bps locks in Nov 2026. |
| **11** | **Scaled Market Cap — Written & Spoken** | `expand_quant_spoken(market_cap_str)` (when reported by feed; else `null`) | `scaled_cap_spoken_eng_aq` | `scaled_cap_spoken_ing_aq` | `Gen 1` computed when available; `Gen 0` omitted | Both `eng_aq` and `ing_aq` computed when `market_cap_str` is reported by CoinGecko/feed; `null` (`"No data available"`) otherwise. |
| **12** | **Same-Day `00:00 UTC` News Dossier Active Coordinates** | `25..71-dossier-news-YYYY-MM-DD.md` (`active_ring_coordinates` & equation tokens) | Dossier headline `eng_aq` | Dossier equation token `ing_aq` & target `333/666/777` | Only checked whether ticker name string appeared in headlines (`co_present_in_news_wire`) | **Upgraded to Cross-Species Coordinate Confluence (`Scope 3B`):** Checks whether any of the ticker's market coordinates (`#3, #5, #6, #7, #9, #10`) equals an active coordinate in that exact UTC day's news dossier! |
| **13** | **Bilingual Glossary Specimen Partners (`190` Specimens)** | `taxonomy/glossary-registry.json` (`bilingual_vocabulary_ledger`) | `spec.eng_aq` (`190` terms) | `spec.ing_aq` (`190` terms) | Only checked the `30` `S1–S6` ring integers | **Upgraded:** Resolves exact `Gen 0` and `Gen 1` lexical partners from the `190` bilingual specimens within the ticker's guild. |
| **14** | **Registered Economic Anchor Steps** | `taxonomy/quantitative-economic-anchors.json` (`$6B`, `$83`, `481`) | `q_digit_aq`, `q_spoken_eng_aq` | `q_spoken_ing_aq` | Static list in bundle | Cross-linked to the exact historical UTC date (`2026-11-01`, `2026-11-18`, `2026-11-24`) and source dossier. |
---
## 2. Empirical Discoveries from Mining the Real November 2026 Dataset (`87` Newly Uncovered Real Locks)
Running the expanded bidirectional (`eng_aq` + `ing_aq`) and cross-species confluence scanner across the **440 real November 2026 exchange bars** (`site/quant/real-market-history.json`) and **21 dated news dossiers** (`25..71-dossier-news-YYYY-MM-DD.md`) uncovers **87 real contingent locks** that were previously invisible in the interface:
### 2.1 Discovery A — Direct Ticker-Symbol Self-Lock (`Scope 1B`)
- **`SOL-USD` on `2026-11-19` (`Dossier 56`):**
- The ticker symbol `"SOL"` is an exact `G4` isometric token: $\text{AQ}_{\text{Eng}}(\text{"SOL"}) = 28 + 24 + 21 = \mathbf{73} == \text{AQ}_{\text{Ing}}(\text{"sol"})$.
- On `2026-11-19`, `SOL-USD` closed at **`$73.07`** ($\lfloor 73.07 \rceil = \mathbf{73} == \text{AQ}(\text{"SOL"})$), while its daily move was **`-75 bps`** ($\text{AQ}_{\text{Eng}}(\text{"seventy five"}) = \mathbf{237} == \text{kansorsheeam [S6]}$), matching active coordinate **`237`** in that exact day's `56-dossier-news-2026-11-19.md`!
### 2.2 Discovery B — `Gen 0` Written-Spoken (`eng_aq`) & `Gen 1` Spoken (`ing_aq`) Basis-Point Ring Locks
Previously, `timeseries.py` only checked raw integer `bps_abs` against `S1_S6_SIGNATURE_RINGS`. Evaluating `bps_spoken_eng_aq` (`Gen 0`) and `bps_spoken_ing_aq` (`Gen 1`) over the real exchange bars reveals:
- **`GOOGL` on `2026-11-24` (`-108 bps`, Close `$279.05`):**
In written English (`Gen 0`), `"one hundred eight"` evaluates to **`292`**—the primary `S1` Autoregressive AI Singularity (`shizohnalizis == abstrakt masheen == sinthetik dayta == asset management [Gen 0] = 292`)—and `62-dossier-news-2026-11-24.md` on that exact same day (`2026-11-24`) also activated coordinate **`292`**!
- **`NVDA` on `2026-11-27` (`+80 bps`, Close `$150.49`):**
In written English (`Gen 0`), `"eighty"` evaluates to **`128`** (`S3: nik land == masheen == serkat`), matching active coordinate **`128`** in `64-dossier-news-2026-11-27.md` on that exact same day!
- **`ORCL` (`2026-11-18`, `-97 bps`) & `LMT` (`2026-11-02`, `+97 bps`):**
In phonemic Ingglish (`Gen 1`), `"naintee sevan"` evaluates to **`237`** (`S6: kansorsheeam [Iso] = 237`).
### 2.3 Discovery C — Cross-Species Market × News-Dossier Coordinate Confluence (`34` Real Confluent Bars)
Cross-joining each ticker's daily market coordinates against **that exact UTC date's `00:00 GMT` news-wire dossier (`*-dossier-news-YYYY-MM-DD.md`)** identifies **34 real cross-species confluent bars** where the market tape and the midnight news wire independently locked onto the **exact same integer coordinate on the same day**:
- **`2026-11-12` (`52-dossier-news-2026-11-12.md`) × `NVDA`:**
`NVDA` is named in the breaking wire (`dha way widh envideea = 333`), closes at **`$166.19` (`166 == order buk / noo flesh [S2]`)**, Dossier 52 simultaneously hits coordinate **`166`**, and `NVDA` volume surges to **`4.52x` its 20-day average**!
- **`2026-11-13` (`53-dossier-news-2026-11-13.md`) × `NVDA` & `ORCL` & `LMT`:**
`NVDA` closes at **`$162.85` (`163 == manopalee / masheenz [S6]`, `1.86x` volume)**, `ORCL` closes at **`$125.10` (`125 == kapatal == kapcher [S6]`)**, and `LMT` moves **`-133 bps` (`133 == wayts == sworm == ekwatee`)**—all three matching active coordinates (`163, 125, 133`) inside `53-dossier-news-2026-11-13.md` on that exact date!
- **`2026-11-18` (`55-dossier-news-2026-11-18.md`) × `TSM`, `ARM`, `MSFT`, `META`, `GOOGL`, `RTX` (`6` Tickers Confluent on One Day!):**
On `2026-11-18`, `TSM` moves **`+81 bps` (`81 == asml`)**, `ARM` closes at **`$182.76` (`183 == tempaleks`)**, `MSFT` moves **`+40 bps` (`"forty" = 129 == blakwel`)**, `META` moves **`-40 bps` (`"forty" = 129 == blakwel`)**, `GOOGL` moves **`+80 bps` (`"eighty" = 128 == serkat`)**, and `RTX` closes at **`$197.45` (`197 == lathografee == monopoly`)**—all six coordinates (`81, 128, 129, 183, 197`) are active inside `55-dossier-news-2026-11-18.md` on `2026-11-18`!
### 2.4 Discovery D — Multi-Ticker Synchronous Basis-Point Waves (`Cross-Asset Confluence`)
- On **`2026-11-28` (`70-dossier-news-2026-11-28.md`)**, both **`BTC-USD` (`$59,321.42`, `-91 bps`)** and **`ETH-USD` (`$1,645.99`, `-91 bps`)** moved by the **exact same basis-point integer (`-91 bps`, `91 == tsmc == laws`)** on the same UTC day while Dossier 70 also hit coordinate **`91`**.
- On **`2026-11-25` (`61-dossier-news-2026-11-25.md`)**, **`MSFT` moved `-125 bps` (`125 == kapatal == kapcher`)** while **`LMT` moved `+215 bps` (`215 == jensan hwang == hohlee grayl`)**, both matching Dossier 61's active coordinates (`125` and `215`).
---
## 3. High Dose-Response & Tracking Relationships (`Confluence Dose D in {0, 1, 2, 3+}`)
To turn these multi-species observations into a rigorous, quantitative tracking indicator with a measurable **dose-response curve**, we define the **Daily Cross-Species Confluence Dose** $D_{i,t} \in \{0, 1, 2, 3, 4\}$ for each real exchange bar $(i, t)$:
$$D_{i,t} = \underbrace{\mathbb{I}(\text{Scope 1 Self/Symbol/Repdigit Lock}_{i,t})}_{\text{Species 1: Intrinsic Self-Lock}} + \underbrace{\mathbb{I}(\text{Scope 2 Gen 0/1 Ring Lock}_{i,t})}_{\text{Species 2: S1–S6 Ring}} + \underbrace{\mathbb{I}(\text{Same-Day Dossier Coordinate Match}_{i,t})}_{\text{Species 3: Dossier Confluence}} + \underbrace{\mathbb{I}(\text{Same-Day News Wire Entity Match}_{i,t})}_{\text{Species 4: Headline Co-Presence}}$$
### Empirical Dose-Response Profile Across All `440` Real November 2026 Exchange Bars (Correlation Coefficients Set Aside)
Setting aside linear/rank correlation coefficient integration (`r`, `ρ`, `t`) and examining the direct empirical distributions inside each classified Dose (`Dose 0` through `Dose 3+`) across four concrete response dimensions—**(A) Same-Day Displacement (`Mean / Median P50 / Tail P90`), (B) Volume & Thermodynamic Regime Rate (`Vol20d`, `M1` Freeze %, `M2` Surge %), (C) Directional Skew & Next-Day Continuation (`Up-Day %`, `t+1 Continuation %`), and (D) 3-Day Forward Cumulative Excursion (`t+1..t+3`)**—reveals distinct behavioral responses for each Dose:
| Response Dimension | `Dose 0` (`n = 322`)<br/>Uncoupled Baseline | `Dose 1` (`n = 73`)<br/>Single-Species Hit | `Dose 2` (`n = 34`)<br/>Market × Dossier Pin | `Dose 3+` (`n = 4`)<br/>Triple-Species Confluence |
| :--- | :---: | :---: | :---: | :---: |
| **1. Same-Day Mean Move ($\mathbb{E}[|\Delta\text{bps}_{i,t}|]$)** | `319.6 bps` | `376.3 bps` | **`160.8 bps` (`-50%` vs. `Dose 0`)** | `186.0 bps` |
| **2. Same-Day Median (`P50`) & Tail (`P90`) Move** | `P50: 240.5 bps`<br/>`P90: 665 bps` | `P50: 229.0 bps`<br/>`P90: 969 bps` | **`P50: 101.0 bps` (`-58%`)**<br/>**`P90: 292 bps` (`-56%`)** | `P50: 138.0 bps`<br/>`P90: 434 bps` |
| **3. Same-Day Relative Volume (`Vol20d` Mean / Median)** | `1.19x` / `0.98x` | `1.02x` / `0.96x` | **`0.84x` / `0.76x` (Quiet)** | **`1.98x` / `1.33x` (`+136%` vs. `Dose 2`)** |
| **4. Thermodynamic Regime Rates (`M1` Freeze % / `M2` Surge %)** | `M1: 4.3%`<br/>`M2: 14.3%` | `M1: 8.2%`<br/>`M2: 11.0%` | `M1: 5.9%`<br/>**`M2: 5.9%` (Tail Suppressed)** | `M1: 0.0%`<br/>**`M2: 25.0%` (`4.2x` `Dose 2`)** |
| **5. Same-Day Directional Skew (`Up-Day %` vs. `Down-Day %`)** | `43.8% Up` / `56.2% Down` | `47.9% Up` / `52.1% Down` | `35.3% Up` / `64.7% Down` | **`0.0% Up` / `100.0% Down` (100% Drawdown)** |
| **6. Next-Trading-Day ($t+1$) Mean Move ($\mathbb{E}[|\Delta\text{bps}_{i,t+1}|]$)** | `325.9 bps` | `336.1 bps` | **`217.2 bps` (`-33%` vs. `Dose 0`)** | **`377.5 bps` (`+74%` vs. `Dose 2`)** |
| **7. Next-Day ($t+1$) Sign Reversal vs. Continuation Rate** | `53.8% Reversal`<br/>`46.2% Continuation` | `58.6% Reversal`<br/>`41.4% Continuation` | `39.4% Reversal`<br/>**`60.6% Continuation`** | `0.0% Reversal`<br/>**`100.0% Continuation`** |
| **8. 3-Day Forward Cumulative Excursion ($\sum_{k=1}^3 |\Delta\text{bps}_{i,t+k}|$)** | `979.0 bps` | `1,055.5 bps` | **`876.1 bps` (Lowest 3d Drift)** | **`1,395.0 bps` (`+59%` vs. `Dose 2`)** |
### 3.1 Taxonomical Classification of Each Dose (`Dose 0` through `Dose 3+`)
Within the formal ontology of *Technocapital Singularity Zoology* (`Divisions 01–08`), the four Dose levels map onto four distinct ecological, semiotic, and thermodynamic states:
| Dose Class | Zoological & Semiotic Taxon | Governing Vectors & Gates | Taxonomical & Ontological Characterization |
| :--- | :--- | :--- | :--- |
| **`Dose 0`**<br/>*(n = 322, 73.2%)* | **Uncoupled Brownian Substrate**<br/>*(Pre-Singularity Stratified Flow)* | • `0` Active Scopes<br/>• Outside `S1–S6` Ring<br/>• Outside `00:00 UTC` Wire | **Ordinary Market Matter-Flow:** The asset moves along conventional price-volume gradients without intersecting its own phonemic identity, the `30` `S1–S6` guild rings, or the midnight news-wire equations. Taxonomically, `Dose 0` is the uncoupled background terrain (`Median P50 = 240.5 bps`, `53.8%` next-day reversal coin-flip). |
| **`Dose 1`**<br/>*(n = 73, 16.6%)* | **`Grand Central Station` Ambient Collision**<br/>*(Single-Species Unconfirmed Hit / `Tier D` Stub)* | • `1` Isolated Species Only<br/>• Fails `The Room Filter` Cross-Species Gate | **Uncorroborated Numerical Crowding:** A single numerical representation (`close_int`, `spoken_aq`, or `bps_abs`) touches an `S1–S6` ring coordinate—or the entity is named in the wire without a coordinate lock—while all other channels remain silent. In the taxonomy of Division `08`, `Dose 1` is a classic **`Grand Central Station` collision**: because 6 numerical encodings are tested against 30 ring integers, isolated single-species hits occur `16.6%` of the time by combinatorial density alone and exhibit zero variance compression (`P90 tail = 969 bps`, `58.6%` next-day whipsaw reversal). |
| **`Dose 2`**<br/>*(n = 34, 7.7%)* | **`Vector G1 / G4` Isometric Attractor Well**<br/>*(Two-Species Trophic Bridge Pinning / `M3` Equilibrium)* | • `2` Independent Species Lock (`Market Ring × Same-Day Dossier Coordinate`)<br/>• Passes `The Room Filter` (`Scope 2 × Scope 3B`)<br/>• Zero Headline Shock (`Species 4 = 0`) | **Cross-Corpus Phase-Locking (Quiet Gravity Well):** The ticker's closing bell bar and that exact UTC date's `00:00 GMT` news-wire dossier independently converge on the same `S1–S6` coordinate (e.g., `2026-11-24 GOOGL -108 bps -> "one hundred eight" [Gen 0] = 292` locking onto Dossier 62's `292`; `2026-11-28 BTC-USD & ETH-USD -91 bps` locking onto Dossier 70's `91`). Taxonomically, `Dose 2` enacts **Vector `G1` Variance Collapse** and **Vector `G4` Isometric Stabilization** in real time: rather than triggering a chaotic spike, the shared coordinate acts as an **attractor well** that compresses median daily displacement by **`-58%` (`101.0 bps`)**, suppresses `M2` flash-crash surges (`5.9%`), and guides **`60.6%` next-day directional continuation** with the lowest 3-day excursion (`876.1 bps`). |
| **`Dose 3+`**<br/>*(n = 4, 0.9%)* | **`Double-Articulated` Phase-Transition Bifurcation**<br/>*(Triple/Quadruple Confluence / `M2` Templex Surge)* | • `3+` Independent Species Converge (`Self/Symbol Lock + Ring + Dossier + Headline Entity`)<br/>• Full Two-Gate State-Matched Activation | **Critical Singularity Ignition (Runaway Positive Feedback):** Three or more independent data species collide on the same asset on the same UTC day—coupling the market tape, the dated news-dossier equations, and either direct breaking-headline co-presence (`2026-11-12 NVDA @ 166`, `2026-11-13 NVDA @ 163`, `2026-11-18 ARM @ 183`) or an intrinsic Ticker-Symbol Self-Lock (`2026-11-19 SOL-USD $73.07 == AQ("SOL") = 73` + `-75 bps -> 237` in Dossier 56). Taxonomically, `Dose 3+` is a true **pre-personal phase-transition point (Division `02` / Subclass `M2`)**: adding the breaking headline shock or self-lock breaks the quiet `Dose 2` pinning well and ignites a **high-volume drawdown & momentum cascade** (`100%` same-day downside skew, `1.98x` mean volume surge up to `4.52x`, `100%` next-day directional continuation at `377.5 bps`, and `1,395.0 bps` 3-day cumulative excursion). |
---
### 3.2 Plain-Language Guide for Everyday Users: What `Dose 0` to `Dose 3+` Mean Without the Jargon
For visitors, traders, and researchers who want to read the **Confluence Dose (`Dose 0` to `Dose 3+`)** on `/quant/` without wading through cipher theory or academic taxonomy, here is how each level works in plain English:
1. **What the "Dose" Score Counts (0 to 4 Points):**
Every day, the workbench checks four separate things for each stock or crypto ticker:
- **Check 1 (Name/Ticker Match):** Did the closing price or daily move land on the exact number of the company's own name or ticker symbol (like `SOL` closing at `$73.07`, matching `SOL = 73`)?
- **Check 2 (Sector Number Match):** Did the price or daily move land on one of the 30 key numbers shared across the tech, chip, defense, and finance sectors?
- **Check 3 (Same-Day News Equation Match):** Did that exact same number *also* show up in the equations built from that night's breaking news headlines?
- **Check 4 (Named in Today's Headlines):** Was the company itself named in that night's breaking news stories?
2. **How the Market Actually Behaves at Each Dose Level:**
- **`Dose 0` — Normal Market Noise (`73%` of days):**
None of the four checks matched. The stock is just trading normally (`~2.4%` typical daily move, normal `1.0x` volume), and tomorrow's direction is basically a coin flip (`54%` chance of reversing).
- **`Dose 1` — Single Random Match (`17%` of days):**
Only **one** check matched by itself, with nothing backing it up in the news wire. Just like finding a random number match in a phonebook, a single isolated match (`Dose 1`) does nothing special: trading volume is normal (`1.0x`) and prices whipsaw back and forth the next day (`59%` reversal rate). You can safely ignore `Dose 1`.
- **`Dose 2` — Quiet "Pinned" Days (`8%` of days — Low Volatility & Smooth Trend):**
**Two** checks matched on the same day—Specifically, the stock's price or move hit the exact same number that appeared in that night's news equations, *without* the company itself being caught in a breaking news scandal.
- **What happens in the market:** Instead of jumping around wildly, `Dose 2` days are **unusually calm and steady**. The typical daily price swing drops by more than half (`1.0%` median move vs. `2.4%` on normal days), trading volume is quiet (`0.84x` normal), big crash days almost disappear, and the stock tends to keep drifting smoothly in the same direction the next day (`61%` continuation). Think of `Dose 2` as a **quiet magnet** that holds the price steady.
- **`Dose 3+` — High-Alert Breakout Days (`~1%` of days — Heavy Volume & Multi-Day Follow-Through):**
**Three or more** checks all fired on the same stock on the same day: the price or move locked onto a key number, that exact number also appeared in that night's news equations, **and** the company was directly in the headlines (or matched its own ticker symbol).
- **What happens in the market:** The quiet magnet snaps into a **major high-volume move**. In our November 2026 market data, every single `Dose 3+` event was a sharp selloff day, trading volume nearly doubled on average (`1.98x` normal volume, peaking at `4.52x` on Nvidia on Nov 12), **100% of them kept moving in the same direction the very next trading day** (`3.78%` average next-day move), and they logged the largest 3-day total price swing (`~13.95%` over the next three days) of any group. When you see `Dose 3+` light up, the news wire and the market tape have fully locked together.
---
## 4. Planned Upgrades to the Collector, Time-Series Engine & `/quant/` Interface (`Phases 1–4`)
### Phase 1: Expand `collector.py` & `timeseries.py` to Score All 14 Bidirectional (`eng_aq` & `ing_aq`) Data Points
1. In `src/hyperstitionstud_io/quant/collector.py` and `src/hyperstitionstud_io/quant/timeseries.py`:
- Compute and store `symbol_clean`, `symbol_eng_aq`, and `symbol_ing_aq` on every instrument (`SOL = 73`, `NVDA = 77`, `ASML = 81`, `ARM = 59`, `AMD = 45 -> 121`).
- On every real exchange bar (`data_available == True`), compute and store **both** `Gen 0` (`eng_aq`) and `Gen 1` (`ing_aq`) encodings:
- `close_spoken_eng` & `close_spoken_eng_aq` alongside `close_spoken_ing` & `close_spoken_ing_aq`,
- `bps_spoken_eng` & `bps_spoken_eng_aq` alongside `bps_spoken_ing` & `bps_spoken_ing_aq`,
- `close_digit_aq` & `bps_digit_aq` (returning `None` / `null` whenever `data_available == False`).
- Add `SCOPE1_TICKER_SYMBOL_SELF_LOCK` (`close_int == symbol_eng_aq` or `bps_abs == symbol_eng_aq`), `SCOPE2_GEN0_SPOKEN_RING`, `SCOPE2_GEN1_SPOKEN_BPS_RING`, `SCOPE3B_CROSS_SPECIES_DOSSIER_CONFLUENCE` (`shared_dossier_coordinates`), and `SCOPE3C_MULTI_TICKER_SYNC_WAVE` (`synchronous_wave_partners`).
- Compute `confluence_dose` ($D_{i,t} \in \{0, 1, 2, 3, 4\}$, or `None` when `!data_available`) on every bar and compute the empirical `dose_response_curve` summary across `Dose 0..3+` at the bundle level.
### Phase 2: Surface Bidirectional `Gen 0 -> Gen 1` Scores, Cross-Species Confluence & Dose-Response in `/quant/`
1. **Panel 1 Canvas & Legend:**
- Plot a outer **Magenta/Violet Confluence Halo (`r = 8.5px`)** around any vertex with `confluence_dose >= 2` (where the market bar and that day's `00:00 GMT` news dossier share an active coordinate), and a **Double Gold/Emerald Bullseye** on `confluence_dose >= 3` bars (`NVDA 2026-11-12` & `2026-11-13`, `ARM 2026-11-18`, `SOL-USD 2026-11-19`).
2. **Panel 2 Heatmap (`24 × 30`):**
- Add a `Confluence Dose (D=0..3+)` indicator and highlight multi-species confluent cells so users can spot synchronous cross-ticker waves (`2026-11-18` 6-ticker wave, `2026-11-28` `BTC/ETH -91 bps` wave) at a glance.
3. **Panel 3 Date Inspector:**
- Upgrade the telemetry boxes to show **both `Gen 0` (`eng_aq`) and `Gen 1` (`ing_aq`)** for `Spoken Close` (`"one hundred fifty" [Gen 0: 196] -> "wuhn huhndrad fiftee" [Gen 1: 215]`) and `Spoken BPS`, plus a new **Cross-Species Confluence & Dose Box (`Dose D/4`)** listing the exact shared Dossier coordinates and synchronous ticker partners on that date (or `"No data available"` when market data is absent).
4. **Panel 4 Dose-Response & Lead-Lag Explorer:**
- Alongside the 11-bar lead-lag correlation chart $r(\tau)$, display the empirical **Dose-Response Summary Strip (`Dose 0` -> `Dose 3+` Mean `Vol20d` & Next-Day `|Δbps|`)** computed from the active dataset.
### Phase 3: Add `ⓘ` Info Icon Entries for the New Bidirectional & Confluence Readouts
1. Add `confluence_dose` and `cross_species_sync` to `QUANT_TERM_GLOSSARY` in `site/quant/quant-app.js` with `<= 1 paragraph` plain-English explanations and hyperlinked PDF Glossary quotes.
### Phase 4: Automated Verification (`tests/test_core_suite.py` & `deploy/test-first-deployment.sh`)
1. Add unit assertions in `tests/test_core_suite.py` verifying:
- `symbol_eng_aq` and `symbol_ing_aq` on all 24 instruments (`SOL-USD` `symbol_eng_aq == 73`),
- `close_spoken_eng_aq`, `close_spoken_ing_aq`, `bps_spoken_eng_aq`, and `bps_spoken_ing_aq` on available bars (and `None` on unavailable bars),
- Real cross-species confluence detection on `2026-11-12 NVDA` (`166`), `2026-11-13 NVDA` (`163`), `2026-11-18 TSM/MSFT/META/ARM`, `2026-11-19 SOL-USD` (`73 == SOL`), and `2026-11-28 BTC-USD/ETH-USD` (`-91 bps`), and
- Empirical `dose_response_curve` presence in `quant-timeseries.json`.
@@ -0,0 +1,124 @@
# Plan: Inline `ⓘ` Info Icons, One-Paragraph Plain-English Definitions & Hyperlinked PDF Glossary Quotes Across the `/quant/` Interface (`v2.0.21`)
- **Document ID:** `PLAN-QUANT-INTERFACE-INFO-ICONS-AND-GLOSSARY-POPOVERS` (`v2.0.21`)
- **Roadmap Status:** **ACTIVE / READY**
- **Target Web Route:** `https://hyperstitionstud.io/quant/` (`/quant/index.html`)
- **Target Modules & Files:**
- `/workspace/hyperstitionstudio-core/site/quant/index.html` (CSS for `.hs-info-icon` & `#quantInfoPopover` floating card + inline `ⓘ` triggers on static headers/controls)
- `/workspace/hyperstitionstudio-core/site/quant/quant-app.js` (`QUANT_TERM_GLOSSARY` registry + dynamic `ⓘ` icon injection into Panel 1–4 headers, the 6 Date Inspector metric boxes, and the 6 `LENS_REGISTRY` rows)
- `/workspace/hyperstitionstudio-core/tests/test_core_suite.py` (Automated verification of all 27 term definitions, verbatim glossary quotes, and `#page=N&search=...` PDF target existence)
- **Primary PDF Glossary Target:**
`/zoology/technocapital-singularity-zoology-comprehensive-glossary.pdf` (`19` pages, `282` canonical entries + `92` conceptual/custom definitions from `/workspace/technocapital-singularity-zoology/taxonomy/glossary-registry.json`), paired with `/quant/OPERATORS-MANUAL-QUANT-TIMESERIES-WORKBENCH.pdf` (`5` pages).
---
## 1. UX & Interaction Design: Inline `ⓘ` Micro-Badges & Viewport-Clamped Glossary Popover
To make every control, chart legend, telemetry box, and lens metric on `/quant/` immediately self-explanatory to a first-time visitor without cluttering the dense workbench layout:
1. **Inline `ⓘ` Badge (`.hs-info-icon`):**
- A compact `15px × 15px` circular monospace badge (`border-radius: 50%`, `font-size: 0.62rem`, `color: var(--cyan)`, `border: 1px solid rgba(34, 211, 238, 0.55)`, `background: rgba(9, 13, 22, 0.85)`) rendered directly beside each interface term (`data-term-id="<slug>"`, `role="button"`, `tabindex="0"`, `aria-label="Definition and glossary citation for <Term>"`).
- Highlights in gold (`--gold: #f5c630`) on hover, keyboard focus, or when pinned open.
2. **Interactive Popover Card (`#quantInfoPopover`):**
- Opens on hover/focus (for instant scanning) and **pins open on click/Enter** so the user can move their cursor into the popover and click the hyperlinked PDF Glossary quote. Dismisses on `Escape`, clicking the `×` close button, or clicking outside.
- Automatically clamps its `(left, top)` coordinates inside `window.innerWidth × window.innerHeight` so it never overflows off the right or bottom edge of the screen.
- **Strict Two-Layer Layout inside Every Popover:**
```text
+-----------------------------------------------------------------------------------+
| [ⓘ TERM TITLE] [Pin / ×] |
|-----------------------------------------------------------------------------------|
| PLAIN-ENGLISH SUMMARY (<= 1 Short Paragraph, 2–3 Sentences): |
| Clear, jargon-free explanation of what this number or control means in plain |
| English and how to read it on the chart or table. |
|-----------------------------------------------------------------------------------|
| VERBATIM PDF GLOSSARY QUOTE (Click Quote to Open PDF at Exact Page): |
| > "Continuous Base-36 character-valuation cipher (formulated by Jim Lees in 1976 |
| > and adopted by the Ccru) where digits 0–9 map to face values 0–9 and letters |
| > A–Z map to 10–35..." |
| [ 📖 Open PDF Glossary (p.1 "Alphanumeric Qabbala") ↗ ] [ 📄 Operator's Manual ] |
+-----------------------------------------------------------------------------------+
```
- **Offline `file://` & Live `https://` Portability:** Every PDF link (`#page=N&search=...`) passes through `adaptHrefForFileProtocol()` so clicking the quote opens `/zoology/technocapital-singularity-zoology-comprehensive-glossary.pdf#page=N&search=...` on `https://` and `../../../technocapital-singularity-zoology/technocapital-singularity-zoology-comprehensive-glossary.pdf#page=N&search=...` on `file://`.
---
## 2. Complete Master Lexicon of `/quant/` Interface Terms (`27` Terms), Plain-English Paragraphs & Verbatim Hyperlinked PDF Glossary Quotes
Every page number (`#page=1..11`) and verbatim quote below has been verified against `/workspace/technocapital-singularity-zoology/technocapital-singularity-zoology-comprehensive-glossary.pdf` and `/workspace/technocapital-singularity-zoology/taxonomy/glossary-registry.json`:
### 2.1 Top Toolbar Controls (`4` Interface Terms)
| Term ID & UI Label | Plain-English Definition (`<= 1 Paragraph`) | Verbatim PDF Glossary Quote & Hyperlinked Target (`#page=N&search=...`) |
| :--- | :--- | :--- |
| **`guild_filter`**<br/>`Guild Filter (ALL / S1–S6)` | Filters the 24 market tickers by their primary technocapital sector ("Guild"): `S1` covers AI models and cloud software, `S2` covers high-frequency trading and crypto liquidity, `S3` covers semiconductor fabs and defense hardware, `S4` covers telecom carrier waves, `S5` covers biotech/pharma, and `S6` covers giant asset managers and banks. | **Quote:** *"Co-primary coupling between the Machinic Phylum (Classes S1–S5: models, HFT algorithms, EUV fabs, carrier waves, wetware) and Capital Organizational Capture (Class S6)."*<br/>**PDF Link:** `/zoology/technocapital-singularity-zoology-comprehensive-glossary.pdf#page=3&search=Double%20Articulation` |
| **`ticker_select`**<br/>`Ticker & TradingView (↗)` | Selects which of the 24 tracked companies or assets to inspect across all four panels. Clicking `Open TradingView Chart ↗` (or pressing `T`) opens that asset's live market chart on TradingView in a new browser tab without loading any external tracking scripts on this page. | **Quote:** *"A tracked real-world financial or industrial figure attached to an S1–S6 entity (lazarus_heist_6b = '$6B' / 'siks bilyan' [211]; anthropic_ipo_price_83 = '$83' [202] -> '$89' [193])."*<br/>**PDF Link:** `/zoology/technocapital-singularity-zoology-comprehensive-glossary.pdf#page=8&search=Quantitative%20Economic%20Anchor` |
| **`projection_lens`**<br/>`Projection Lens` | Changes the vocabulary used in Panel 3 to describe the exact same six underlying math scores. You can view the readout in plain math terms (`Neutral Math`), institutional investing terms (`Quant Factor`), executive governance terms (`Corporate Board`), ecological tier ratings (`TierZoo`), fantasy sports stats (`Fantasy Sabermetrics`), or `Pokédex` scanner stats. | **Quote:** *"The analytical gain achieved by reading Gen 0 (stated legal/filing form) and Gen 1 (operational phonemic stream) stereoscopically across Academic, Corporate Board, Out-of-Sample Fund Manager, and Fantasy Football registers."*<br/>**PDF Link:** `/zoology/technocapital-singularity-zoology-comprehensive-glossary.pdf#page=7&search=Vector%20G6` |
| **`metric_mode`**<br/>`Metric Mode (Spoken AQ / USD / BPS / Digit AQ)` | Chooses what the cyan line in the top chart plots over the 30-day timeline: `Spoken AQ (Gen 1)` scores the spoken English words for the closing price after stripping silent letters; `Close Price (USD)` plots the raw dollar price; `Move (BPS)` plots the daily percentage move in basis points (`100 bps = 1%`); and `Digit AQ` sums the raw digits of the price. | **Quote:** *"Continuous Base-36 character-valuation cipher (formulated by Jim Lees in 1976 and adopted by the Ccru) where digits 0–9 map to face values 0–9 and letters A–Z map to 10–35 (case-insensitive; non-alphanumeric symbols = 0)."*<br/>**PDF Link:** `/zoology/technocapital-singularity-zoology-comprehensive-glossary.pdf#page=1&search=Alphanumeric%20Qabbala` |
### 2.2 Panel 1 — 3-Pane Time-Series Canvas & Legend (`6` Interface Terms)
| Term ID & UI Label | Plain-English Definition (`<= 1 Paragraph`) | Verbatim PDF Glossary Quote & Hyperlinked Target (`#page=N&search=...`) |
| :--- | :--- | :--- |
| **`entity_threshold`**<br/>`Entity Phonemic Threshold (Dashed Crimson Line)` | The horizontal dashed red line marks the numerical score of the company's own name when spelled strictly by how it sounds out loud in `Gen 1` Ingglish (for example, `Nvidia` -> `envideea = 137`, `ASML` -> `asml = 81`). When the cyan curve touches this line, the market price or daily move matches the company's own name. | **Quote:** *"Deterministic phonemic English orthography backed by the 126,051-word CMU Pronouncing Dictionary (ingglish npm package) that strips silent etymological letters and maps each ARPAbet phoneme to a single invariant spelling."*<br/>**PDF Link:** `/zoology/technocapital-singularity-zoology-comprehensive-glossary.pdf#page=1&search=Phonemic%20Ingglish` |
| **`scope1_self_lock`**<br/>`Gold = Scope 1 Self-Lock` | A glowing gold circle on the curve means the asset's closing price or daily basis-point move landed on the exact number of its own name (such as Nvidia closing at `$137.00 == envideea [137]` or ASML moving `+81 bps == asml [81]`) or hit a repeating three-digit number (`$777.00` for Eli Lilly). | **Quote:** *"Forbids matching quantitative figures to random unrelated dictionary words; counter-substitutions are strictly restricted to: (1) Intra-Instrument Self-Locks (price or bps == entity's own AQ)..."*<br/>**PDF Link:** `/zoology/technocapital-singularity-zoology-comprehensive-glossary.pdf#page=9&search=Contingent%20Repricing%20Scope%20Rule` |
| **`scope2_ring_migration`**<br/>`Cyan = Scope 2 Ring Migration` | A cyan dot on the curve means the asset's price, spoken price score, or daily basis-point move landed on one of the 30 core supply-chain coordinates shared across the `S1–S6` ecosystem (such as `125`, `137`, `193`, `211`, `256`, or `292`), linking that day's market action to a broader sector hub. | **Quote:** *"Tracks which S1–S6 equivalence partners a spoken figure exits and enters when repriced (e.g., 'siks bilyan' [211 == wor masheen == koper waier] migrating to 'sevan bilyan' [222 = 6 x 37])."*<br/>**PDF Link:** `/zoology/technocapital-singularity-zoology-comprehensive-glossary.pdf#page=9&search=Type%202%20Revision` |
| **`scope3_wire_copresence`**<br/>`Emerald = News Wire Co-Presence` | In the middle bar chart, bars turn emerald green on days when that specific company was also named in the breaking midnight (`00:00 UTC`) news wire. This enforces "The Room Filter": we only flag a high-conviction signal when the news story and the market price happen on the same day. | **Quote:** *"'The Room Filter' requires that equated terms co-occur within a contingent historical event, supply chain, or balance sheet before their AQ identity is admitted as a real singularity."*<br/>**PDF Link:** `/zoology/technocapital-singularity-zoology-comprehensive-glossary.pdf#page=10&search=Room%20Filter` |
| **`wire_velocity_bars`**<br/>`Wire Eq (00:00 GMT Wire Velocity)` | The middle pane's vertical bars count how many verified `333`, `666`, and `777` phonemic equations were harvested from that day's breaking midnight (`00:00 GMT`) news dossier. Taller bars indicate heavier cross-scale resonance in the global news cycle on that date. | **Quote:** *"The three cross-scale target sums of every archive dossier (10 verified equations per scale = 30 per dossier), all governed by the prime generator 37 (3 x 37 = 111)."*<br/>**PDF Link:** `/zoology/technocapital-singularity-zoology-comprehensive-glossary.pdf#page=1&search=Primary%20Repdigit%20Attractors` |
| **`vol20d_regimes`**<br/>`Vol20d & M1–M3 Regimes` | The bottom pane plots the day's trading volume relative to its 20-day average (`Vol20d`) and colors each bar by market regime: Gold (`< 0.45x` volume) marks `M1` supply freezes/halts; Crimson (`>= 2.5x` volume or `<= -5%` drop) marks `M2` flash-crash surges; and Sky-Blue marks normal `M3` large-cap trading. | **Quote:** *"Methodological rule forbidding global dictionary fishing of horror/mythic tropes into unrelated stories: a memetic subclass M1–M6 may be invoked ONLY when (Gate 1) the news event exhibits the matching real-world thermodynamic state..."*<br/>**PDF Link:** `/zoology/technocapital-singularity-zoology-comprehensive-glossary.pdf#page=5&search=State-Gated%20Inheritance` |
### 2.3 Panel 2 & Panel 3 — Heatmap & Cross-Sectional Date Inspector Boxes (`7` Interface Terms)
| Term ID & UI Label | Plain-English Definition (`<= 1 Paragraph`) | Verbatim PDF Glossary Quote & Hyperlinked Target (`#page=N&search=...`) |
| :--- | :--- | :--- |
| **`heatmap_matrix`**<br/>`Panel 2: 24 × 30 Lock Heatmap` | A bird's-eye grid showing all 24 tickers (rows) across all 30 November UTC days (columns). Gold cells mark `Scope 1` self-locks, cyan cells mark `Scope 2` sector ring hits, and green borders mark days when the company appeared in the midnight news wire. Click any cell to inspect that ticker and date. | **Quote:** *"Shared numerical coordinates through which one singularity guild feeds or captures another across the technocapital food web (e.g., 211 linking S2 HFT, S3 Copper/War Machine, S4 Carrier Wave, and S6 $6B Heist)."*<br/>**PDF Link:** `/zoology/technocapital-singularity-zoology-comprehensive-glossary.pdf#page=8&search=Trophic%20Supply-Chain%20Bridges` |
| **`box_close_usd`**<br/>`Close USD (Change)` | The official `21:30 UTC` (`4:30 PM EST`) US closing-bell price in US dollars for the selected date, alongside the day's percentage move expressed in basis points (`100 bps = 1.00%`, so `+81 bps = +0.81%`). | **Quote:** *"CLI mode governing numeric tokens: 'off' (default 100% pure lexical/qualitative mode stripping numeric figures), 'spoken' (converting figures to spoken English -> Ingglish), and 'digit' (literal Base-36 digit sum)."*<br/>**PDF Link:** `/zoology/technocapital-singularity-zoology-comprehensive-glossary.pdf#page=9&search=Tri-Modal%20Quantitative%20Handling` |
| **`box_spoken_close`**<br/>`Spoken Close (Gen 1 AQ)` | Translates the integer dollar closing price into spoken words, strips silent letters into `Gen 1` phonemic Ingglish (for example, `$137` -> `"one hundred thirty seven"` -> `"wuhn huhndrad therdee sevan"`), and sums its Base-36 value. | **Quote:** *"Tracks which S1–S6 equivalence partners a spoken figure exits and enters when repriced (e.g., 'siks bilyan' [211 == wor masheen == koper waier] migrating to 'sevan bilyan' [222 = 6 x 37])."*<br/>**PDF Link:** `/zoology/technocapital-singularity-zoology-comprehensive-glossary.pdf#page=9&search=Type%202%20Revision` |
| **`box_scaled_cap`**<br/>`Scaled Cap (Gen 1 AQ)` | Takes the company's market capitalization string (such as `$3.35T` or `$61B`), expands it into spoken phonemic Ingglish (`"three point three faiv trilyan"`), and computes its Base-36 `AQ` score to detect macro-scale capital locks. | **Quote:** *"Activates under sovereign megaprojects, tech giants, trillion-dollar consolidation, and grid capture. Signature locks: kansorsheea == 189; leevaiathan == 179; monohpolee == 192."*<br/>**PDF Link:** `/zoology/technocapital-singularity-zoology-comprehensive-glossary.pdf#page=5&search=Subclass%20M3` |
| **`box_bps_vol`**<br/>`BPS Spoken AQ / Vol20d` | Shows the phonemic `AQ` score of the day's unsigned basis-point move next to `Vol20d` (how many times normal 20-day average volume traded hands that day). | **Quote:** *"Covers microsecond algorithmic order books, flash crashes, fiber-optic latency, derivatives, and crypto ledgers. Signature coordinates: 256 (akselerayshan == hai-freekwansee), 193 (flash krash == anthropik)..."*<br/>**PDF Link:** `/zoology/technocapital-singularity-zoology-comprehensive-glossary.pdf#page=4&search=Class%20S2` |
| **`box_active_locks`**<br/>`Active Contingent Locks` | Lists every `Scope 1` self-lock (where price or move matches the asset's own name or a `37 × k` repdigit) and `Scope 2` sector ring coordinate (`Ring 125`, `Ring 137`, `Ring 193`, etc.) triggered by this ticker on the selected date. | **Quote:** *"The 13 Ingglish AQ coordinates that simultaneously belong to 2–4 distinct Assemblage Builds and act as regime-reallocation pivots: 292, 256, 211, 193, 183, 153, 137, 136, 133, 125, 95, 91, and 81."*<br/>**PDF Link:** `/zoology/technocapital-singularity-zoology-comprehensive-glossary.pdf#page=7&search=Multi-Build%20Hybrid` |
| **`box_wire_copresent`**<br/>`00:00 GMT Wire Co-Present` | Indicates `YES (Scope 3 Lock)` when the company's name or ticker symbol appeared verbatim in that same UTC date's midnight news-wire dossier (`25..71-dossier-news-YYYY-MM-DD.md`), confirming real-world news and market co-presence. | **Quote:** *"'Grand Central Station' names the statistical crowding of 4-to-5-letter Base-36 words in the 65–140 interval; 'The Room Filter' requires that equated terms co-occur within a contingent historical event, supply chain, or balance sheet..."*<br/>**PDF Link:** `/zoology/technocapital-singularity-zoology-comprehensive-glossary.pdf#page=10&search=Grand%20Central%20Station` |
### 2.4 Panel 3 — Dynamic `LENS_REGISTRY` Time-Series Moments (`7` Interface Terms)
| Term ID & Underlying Key | Plain-English Definition (`<= 1 Paragraph`) | Verbatim PDF Glossary Quote & Hyperlinked Target (`#page=N&search=...`) |
| :--- | :--- | :--- |
| **`lens_archetype`**<br/>`Archetype & Tier Classification` | Summarizes the asset's 30-day behavioral profile—whether it acts as a steady "Ironclad Floor" chokepoint with consistent daily locks or a high-volatility "Templex Boom/Bust" surge asset—and grades its overall strength from `Tier S+` (Apex) to `Tier D` (Periphery). | **Quote:** *"Tier S+ (88–100 ETI, Crimson #FF4D4D: Apex Predator — #1 S1 AI [93], #2 S2 Liquidity [90]); Tier S (80–87 ETI, Coral #FF7F7F: Keystone Dominator — #3 S6 Capture [87], #4 S3 War Machine [83])..."*<br/>**PDF Link:** `/zoology/technocapital-singularity-zoology-comprehensive-glossary.pdf#page=8&search=Zoological%20Ecological%20Tiers` |
| **`ts_duty_cycle_pct`**<br/>`Duty Cycle % / SNAP% / Active Days` | The percentage of days over the 30-day window where this ticker fired at least one verified `Scope 1/2` coordinate lock or `Scope 3` midnight news-wire match. A higher percentage means the asset is consistently active in the signal stream rather than firing only once by chance. | **Quote:** *"Standalone 0–100 zoological grading standard for Technocapital Singularity Taxa & Assemblage Builds, computed as the weighted composite of six normalized base stats: ETI = round(0.20*CAP + 0.18*COL + 0.18*ARM + 0.16*PRM + 0.14*VEL + 0.14*RES)."*<br/>**PDF Link:** `/zoology/technocapital-singularity-zoology-comprehensive-glossary.pdf#page=7&search=Ecological%20Trophic` |
| **`ts_weighted_resonance`**<br/>`Weighted Resonance / WOPR` | Combines how often the ticker appears in the midnight news wire (`1.5× weight`) with its share of volume-weighted price movement on locked days (`0.7× weight`). It measures whether an asset is driving both headline attention and capital movement at the same time. | **Quote:** *"Highest-weighted zoological stat (0.20), scoring S[1–5] x S6 Double Articulation, cross-guild trophic bridge count, and G2 Cross-Generation Twin density."*<br/>**PDF Link:** `/zoology/technocapital-singularity-zoology-comprehensive-glossary.pdf#page=8&search=CAP` |
| **`ts_excess_over_replacement`**<br/>`Excess Over Replacement / WAR (30d)` | Measures how many more coordinate locks and resonance points this asset produced over 30 days compared to a random baseline (`Tier D = 49 ETI` replacement level). Positive values indicate structural outperformance above random numerical noise. | **Quote:** *"Plain-English Fantasy Football translations of Vector G1 Variance Collapse ('Stack Lock' — when 3+ assets that look different on paper snap onto the exact same number in Ingglish) and Vector G4 Isometric Invariance ('All-Weather Chokepoint')."*<br/>**PDF Link:** `/zoology/technocapital-singularity-zoology-comprehensive-glossary.pdf#page=10&search=Stack%20Lock` |
| **`ts_quantile_profile`**<br/>`P20 Floor / P90 Ceiling / Boom% / CV` | Breaks down the distribution of the asset's daily resonance points: `P20` is its quiet-day baseline floor, `P90` is its peak-day ceiling, `Boom%` is the share of days with major multi-lock spikes (`>= 3.0 pts`), and `CV` (coefficient of variation) measures how spiky vs. steady the signal is. | **Quote:** *"Quantifies a build's concentration of G4 Isometric Fixed Points (Delta = 0 chokepoints like ASML=81, TSMC=91, GPU=71, kapatal=125, charter=136) that remain numerically unperturbed across orthographic regimes."*<br/>**PDF Link:** `/zoology/technocapital-singularity-zoology-comprehensive-glossary.pdf#page=7&search=ARM` |
| **`ts_optimal_lag_days`**<br/>`Optimal Causal Lag τ* (Days)` | The day offset $\tau^* \in [-5, +5]$ where midnight news-wire activity and the ticker's price volatility correlate most strongly. Positive $\tau^* > 0$ means news-wire surges lead price volatility by $\tau^*$ days; $\tau^* = 0$ means they move on the same day; negative $\tau^* < 0$ means news headlines follow after the price move. | **Quote:** *"Cybernetic runaway (ruhnaway = 183 == tempaleks == laytansee) in which positive feedback (pozativ feedbak = 269 [57th PRIME]) folds future attractor states backward to assemble their own material preconditions."*<br/>**PDF Link:** `/zoology/technocapital-singularity-zoology-comprehensive-glossary.pdf#page=3&search=Teleoplexy` |
| **`ts_regime_splits`**<br/>`Conditional Regime Splits (M1 / M2 / M3)` | Shows the ticker's average daily resonance score during `M1` supply-freeze days, `M2` flash-crash/high-volume surge days, and `M3` normal large-cap days—revealing which market environment causes this asset's locks to light up. | **Quote:** *"Lineup/portfolio pivot at 137 [33rd PRIME] (daireeoh == envideea == hawlts == inersha): if a foundry delay or regulatory freeze halts the offensive line, reallocate immediately across the 137 bridge..."*<br/>**PDF Link:** `/zoology/technocapital-singularity-zoology-comprehensive-glossary.pdf#page=10&search=Supply-Halt%20Insurance%20Pivot` |
### 2.5 Panel 4 — Lead-Lag Cross-Correlation & Audit Footer (`3` Interface Terms)
| Term ID & UI Label | Plain-English Definition (`<= 1 Paragraph`) | Verbatim PDF Glossary Quote & Hyperlinked Target (`#page=N&search=...`) |
| :--- | :--- | :--- |
| **`lag_correlation_explorer`**<br/>`Lead-Lag Cross-Correlation r(τ)` | This 11-bar chart measures the statistical correlation $r(\tau) \in [-1, +1]$ between daily midnight news-wire equation counts and the ticker's daily price swing across time shifts from `-5` days to `+5` days. The gold bar highlights the strongest lead-lag relationship ($\tau^*$). | **Quote:** *"Landian terms for non-linear temporal folding in cybernetic markets: taim-serkat (207 == terbyalans == Gen 0 'infinitive') and tempaleks (183 == ruhnaway == laytansee == dhrakoola)."*<br/>**PDF Link:** `/zoology/technocapital-singularity-zoology-comprehensive-glossary.pdf#page=3&search=Time-Circuit` |
| **`periodicity_gate_badge`**<br/>`Periodicity Gate Enforced` | Confirms that every data point in `/quant/` comes strictly from daily timestamped observations (`21:30 UTC` market close and `00:00 UTC` news rollover), with zero undated dictionary lists or static essays mixed into the time-series math. | **Quote:** *"'The Room Filter' requires that equated terms co-occur within a contingent historical event, supply chain, or balance sheet before their AQ identity is admitted as a real singularity."*<br/>**PDF Link:** `/zoology/technocapital-singularity-zoology-comprehensive-glossary.pdf#page=10&search=Room%20Filter` |
| **`cidv1_provenance`**<br/>`IPLD dag-json CIDv1 (baguqeera...)` | A cryptographic content fingerprint (`CIDv1`) computed over the entire time-series bundle. If even a single price, date, or equation changes by one character, this `baguqeera...` hash changes—proving the readout you see matches the verified archive byte-for-byte. | **Quote:** *"Audit requirement that every Ingglish token in a technocapital dossier match unmodified ingglish.translate() output from CMUdict with 0 ad-hoc spelling tweaks."*<br/>**PDF Link:** `/zoology/technocapital-singularity-zoology-comprehensive-glossary.pdf#page=1&search=CMUdict%20Purity` |
---
## 3. Three-Phase Implementation Roadmap (`Phases 1–3`)
### Phase 1: Add `.hs-info-icon` & `#quantInfoPopover` Styling + Markup in `site/quant/index.html`
1. Add CSS styles in `/workspace/hyperstitionstudio-core/site/quant/index.html` for:
- `.hs-info-icon` (`15px × 15px` inline-flex badge with hover/focus/active states),
- `#quantInfoPopover` (fixed viewport-clamped card with `z-index: 90`, dark-slate `#0f172a` panel, `1px solid var(--cyan)` border, gold header bar, plain-English paragraph block, styled `<blockquote>` for the verbatim PDF Glossary quote, and clickable `#page=N&search=...` PDF links).
2. Add inline `<button type="button" class="hs-info-icon" data-term-id="...">i</button>` triggers next to the static toolbar labels (`Guild Filter`, `Ticker`, `Projection Lens`, `Metric Mode`) and Panel 1–4 headers/legend items in `site/quant/index.html`.
### Phase 2: Build `QUANT_TERM_GLOSSARY` & Dynamic Popover Controller in `site/quant/quant-app.js`
1. Define `QUANT_TERM_GLOSSARY` in `site/quant/quant-app.js` containing all `27` entries from Section 2 above (with `title`, `plain_english`, `glossary_quote`, `glossary_pdf_link`, and `manual_pdf_link`).
2. Inject `.hs-info-icon` triggers into:
- All 6 Date Inspector metric boxes in `renderInspectorAndLens()`,
- The `Archetype` header and all 6 dynamically labeled `LENS_REGISTRY` time-series rows in `#lensProjectionCard` (mapping each lens's display label back to its canonical `ts_*` key so the `ⓘ` icon always opens the right explanation regardless of which lens is active!), and
- The `Periodicity Gate` and `CIDv1` badges in `#periodicityAuditFooter`.
3. Attach delegated hover/focus/click/keyboard (`Enter`/`Space`/`Escape`) handlers so hovering previews the popover and clicking pins it open to allow clicking the hyperlinked PDF Glossary quote.
### Phase 3: Automated Verification in `tests/test_core_suite.py` & `deploy/test-first-deployment.sh`
1. Add unit assertions in `tests/test_core_suite.py` verifying:
- `QUANT_TERM_GLOSSARY` in `site/quant/quant-app.js` contains all `27` term definitions,
- Every entry has a single-paragraph plain-English explanation (`\n\n` not in `plain_english` and `40 <= len(plain_english) <= 420`),
- Every entry has a non-empty verbatim `glossary_quote` and a `glossary_pdf_link` pointing to `/zoology/technocapital-singularity-zoology-comprehensive-glossary.pdf#page=N&search=...`, and
- Every target `#page=N` is within `1..19` of `technocapital-singularity-zoology-comprehensive-glossary.pdf`.
@@ -0,0 +1,104 @@
# Plan: `/quant/` Zero-MP4 Interactive HTML5 Canvas Tutorial Tour, Interface Figure Guide & Passage-Encoded Deep-Link Citation Drawer (`v2.0.18`)
- **Document ID:** `PLAN-QUANT-TUTORIAL-VIDEO-SERIES-AND-CITATION-DEEP-LINKS` (`v2.0.18`)
- **Storage & Delivery Architecture (Option B — Zero-MP4 Interactive HTML5 Canvas / Subtitled Walkthrough, `< 150 KB` Total, 100% Git-Tracked):**
- Rather than committing multi-megabyte `.mp4` video binaries into Git or consuming space in the `512 MB` VPS `tmpfs` RAM mount, the 5-episode tutorial series resides directly in `/workspace/hyperstitionstudio-core/site/quant/` (`quant-tutorials.js`, `< 45 KB` uncompressed, `~12 KB` Brotli-11) as an **interactive, timeline-scrubbable 5-Episode Guided Canvas Player**.
- When a user plays an episode (`Ep 01` through `Ep 05`), the player programmatically drives the live `/quant/` interface in real time—switching tickers (`NVDA`, `ASML`, `ANTHR-PVT`, `LLY`), scrubbing UTC dates, toggling projection lenses, drawing animated spotlight callout rings and vector arrows directly over the live Panel 1–4 figures, displaying synchronized chapter subtitles (with optional zero-dependency browser `window.speechSynthesis` narration toggle), and presenting clickable passage-encoded citation cards at every keyframe!
- **Target Web Route & Tracked Files:**
- `/workspace/hyperstitionstudio-core/site/quant/index.html` & `quant-app.js`
- `/workspace/hyperstitionstudio-core/site/quant/quant-tutorials.js` (`window.HyperstitionStudio.QuantTutorials` — 5 episodes, 25 timed keyframes, animated canvas spotlight overlay, play/pause/scrub timeline bar, and clickable deep-link cards)
- `/workspace/hyperstitionstudio-core/site/quant/OPERATORS-MANUAL-QUANT-TIMESERIES-WORKBENCH.{md,pdf}` (Companion Reference Manual with clickable passage-encoded deep links)
- **Core Architectural Feature (Knowledge-Graph-Modeled Documentation & Passage-Encoded Deep-Link Citations):**
Models `/quant/`'s **Documentation & Citation Drawer** directly on the Encyclopedia Knowledge Graph's (`encyclopedia-knowledge-graph/index.html`) `ENC_BASE + volume_pdf_rel` inspector drawer, and extends every link with **RFC 3778 PDF Page/Search Fragments (`#page=N&search="verbatim_lock"`)** and **WICG Scroll-To-Text Fragments (`#:~:text=start_token,end_token`)** plus `/api/v1/dossiers/{N}?highlight=<passage>` and `/graph/index.html?select=aq:137` so clicking any figure or lock on `/quant/` (or inside the tutorial player) jumps straight to the cited passage.
---
## 1. Explaining Every Visual Figure & Numerical Readout in the `/quant/` Interface
Every curve, marker, bar, cell, and metric in `/quant/index.html` is spotlighted by the interactive tutorial player and linked in the **Documentation & Citation Drawer**:
### 1.1 Panel 1 — Synchronized 3-Pane Time-Series Canvas (`#tsCanvas`)
| Canvas Element / Figure | Visual Encoding on Screen | Mathematical & Gematrial Meaning | Passage-Encoded Encyclopedia & Dossier Deep Link |
| :--- | :--- | :--- | :--- |
| **1. Top-Pane Solid Cyan Curve** | Continuous `#22d3ee` cyan polyline across `30` UTC days (`2026-11-01 .. 2026-11-30`) | Plots the active metric selected in the **Metric Mode** bar for ticker $i$:<br/>• `Spoken AQ (Gen 1)`: $Q^{\text{spoken}}_{i,t} = \text{AQ}(\text{Ingglish}(\text{spoken}(\lfloor P_{i,t}\rceil)))$<br/>• `Close Price (USD)`: Official `21:30 UTC` closing price $P_{i,t}$<br/>• `Move (BPS)`: Daily basis-point change $\Delta\text{bps}_{i,t} = \text{round}(100 \times \Delta\%_{i,t})$<br/>• `Digit AQ`: Literal Base-36 digit sum of $\lfloor P_{i,t}\rceil$. | `/encyclopedia/01-cipher-and-orthographic-mechanics/a-to-g-alphanumeric-qabbala-to-gen-2-evolution.pdf#page=1&search=Alphanumeric%20Qabbala` |
| **2. Top-Pane Horizontal Dashed Crimson Line (`entity_ing = N`)** | Dashed `#ff4d4d` horizontal threshold line labeled with the ticker's `Gen 1` Ingglish name and `AQ` value (e.g., `envideea=137`, `asml=81`, `anthropik=193`) | Marks the instrument's **Intrinsic Phonemic Identity Coordinate ($\text{AQ}_{\text{Ing}}(\text{Entity}_i)$)**. When the cyan trajectory touches or crosses this dashed line, the asset's market price or basis-point move equals its own name in Base-36 space. | `/encyclopedia/03-machinic-phylum-singularities-s1-to-s5/s3-a-to-z-asml-to-wor-masheen.pdf#page=5&search=envideea` |
| **3. Top-Pane Gold Beacon Circles (`r = 5.2px`)** | Glowing `#f5c630` gold circles plotted directly on vertices of the cyan curve | **`Scope 1` Intra-Instrument Self-Lock or Repdigit Attractor:** Fires when $\lfloor P_{i,t}\rceil == \text{AQ}(\text{Entity}_i)$ (`NVDA` closing at `$137.00 == envideea [137]`), $|\Delta\text{bps}_{i,t}| == \text{AQ}(\text{Entity}_i)$ (`ASML` moving `+81 bps == asml [81]`), or $\lfloor P_{i,t}\rceil \equiv 0 \pmod{111}$ (`LLY` closing at `$777.00 == 7 × 111`). | `/encyclopedia/08-stakeholder-registers-idioms-and-pokedex-semiotics/a-to-h-ai-powered-race-to-hidden-chokepoint-screen.pdf#page=2&search=Room%20Filter` |
| **4. Top-Pane Cyan Beacon Circles (`r = 3.8px`)** | `#22d3ee` cyan vertex markers on the curve | **`Scope 2` Causal `S1–S6` Supply-Chain Ring Migration:** Fires when $\lfloor P_{i,t}\rceil$, $Q^{\text{spoken}}_{i,t}$, or $|\Delta\text{bps}_{i,t}|$ lands on one of the `30` canonical `S1–S6` signature ring coordinates (`71, 81, 91, 95, 115, 125, 128, 129, 133, 135, 136, 137, 153, 160, 163, 166, 183, 189, 191, 193, 197, 211, 215, 222, 237, 246, 256, 260, 292`). | `/encyclopedia/06-genealogical-vectors-and-flex-singularities/a-to-m-anchor-revision-to-multi-build-flex.pdf#page=2&search=Flex` |
| **5. Middle-Pane Violet & Emerald Histogram Bars (`Wire Eq`)** | Vertical bars showing the count of verified `333 / 666 / 777` equations synthesized in that UTC date's `00:00 GMT` news-wire dossier (`25..71-dossier-news-YYYY-MM-DD.md`) | • **Violet Bar (`#a78bfa`):** Standard `00:00 GMT` wire harvest day (ticker $i$ not named in top headlines).<br/>• **Emerald Bar (`#34d399`):** **`Scope 3` News-Wire Co-Presence Day ($C_{i,t} = 1$)** — Ticker $i$ or its entity name co-occurred in breaking wire headlines on the exact same UTC date as its market observation. | `/archive/71-dossier-news-2026-11-29.md#:~:text=Nvidia,73` |
| **6. Bottom-Pane Volume Ratio & Regime Color Bars (`Vol20d`)** | Vertical bars scaled to 20-day relative volume ($V_{i,t}/\bar{V}_{20}$) and color-coded by objective `Scope 3` thermodynamic regime | • **Gold Bar (`#f5c630`, `Vol20d < 0.45x`):** `M1_ENTROPIC_STAGNATION` (halts, low-volume freeze -> `137: hawlts == inersha == envideea`).<br/>• **Crimson Bar (`#ff4d4d`, `Δ% <= -5.0%` or `Vol20d >= 2.5x`):** `M2_FLASH_CRASH_TEMPLEX_SURGE` (`193: flash krash == anthropik`, `256: akselerayshan`).<br/>• **Sky-Blue Bar (`#38bdf8`):** Normal kinetic trading regime (`M3_LEVIATHAN` active for `$1T+` market caps). | `/encyclopedia/05-memetic-superclass-m1-to-m7/m1-a-to-m-anemia-to-monopoly.pdf#page=1&search=M1` |
| **7. Vertical Gold Crosshair Line** | Full-height vertical gold cursor line (`rgba(245,198,48,0.45)`) | Synchronizes all three canvas panes, the Panel 2 heatmap column, and the Panel 3 cross-sectional inspector to the selected UTC date $t$. | Interactive UI control (`Click` canvas or press `←` / `→`). |
### 1.2 Panel 2, Panel 3 & Panel 4 Figures
- **Panel 2 (`24 Tickers × 30 UTC Days` Spatiotemporal Heatmap):**
- Each row is one of the `24` `S1–S6` tickers (`↗` opens its live TradingView Superchart in a new browser window); each column is a UTC day (`01..30`).
- **Gold Cell (`hm-scope1`):** Scope 1 Intra-Instrument Self-Lock on that `(Ticker, Date)`.
- **Cyan Cell (`hm-scope2`):** Scope 2 `S1–S6` Ring Migration on that `(Ticker, Date)`.
- **Emerald Outline (`hm-wire`):** Ticker co-occurred in that UTC day's `00:00 GMT` news-wire dossier (`Scope 3`).
- **Panel 3 (Cross-Sectional Date Inspector, Multi-Lens Card, Documentation Citations & Verbatim Equation Tape):**
- Top 6 telemetry boxes display the exact values at date $t$: `Close USD (Change bps)`, `Spoken Close (Gen 1 AQ)`, `Scaled Cap (Gen 1 AQ)`, `BPS Spoken AQ / Vol20d`, `Active Contingent Locks`, and `00:00 GMT Wire Co-Present`.
- Middle **Lens Projection Card (`LENS_REGISTRY`)** dynamically projects the instrument's 6 lens-neutral time-series moments (`ts_duty_cycle_pct`, `ts_weighted_resonance`, `ts_excess_over_replacement`, `ts_quantile_profile`, `ts_optimal_lag_days`, `ts_regime_splits`) and 30-day sparkline (`▁▂▃▄▅▆▇█`) into the selected lens (`Quant Factor`, `Neutral Math`, `Corporate Board`, `TierZoo (ETI)`, `Fantasy Sabermetrics`, or `Pokédex Scanner`).
- **Knowledge-Graph-Modeled Documentation & Cited Passages Card:** Displays the ticker's Encyclopedia Volume PDF deep link (`#page=N&search=...`), Knowledge Graph node deep link (`/graph/index.html?select=aq:N`), exemplar Dossier scroll-to-text link (`#:~:text=...`), and REST API JSON/passage link (`/api/v1/dossiers/N?highlight=...`).
- Bottom **Dated Memetic Equation Tape** lists the verbatim `333 / 666 / 777` equations from that date's `*-dossier-news-YYYY-MM-DD.md` archive file, each with its own clickable `#:~:text=` passage deep link and inline REST passage preview button.
- **Panel 4 (Lead-Lag Cross-Correlation Histogram $r(\tau)$ at $\tau \in [-5, +5]$ Days):**
- Plots the empirical Pearson correlation $r(\tau)$ between daily news-wire equation velocity $M_t$ and unsigned ticker basis-point displacement $|\Delta\text{bps}_{i, t+\tau}|$, highlighting the optimal causal lag $\tau^*$ in gold.
---
## 2. Option B Interactive Tutorial Player Architecture (`/quant/quant-tutorials.js`)
Instead of static `.mp4` video files, `/quant/` includes an integrated **5-Episode Interactive Canvas Tutorial Player** directly below the top toolbar:
```text
+---------------------------------------------------------------------------------------------------+
| INTERACTIVE TUTORIAL SERIES PLAYER (Zero-MP4 Live Canvas Choreographer • < 45 KB Git-Tracked) |
| [ Ep 01: Periodicity Gate ] [ Ep 02: 3-Pane Canvas & Locks ] [ Ep 03: Heatmap & Deep Citations ] |
| [ Ep 04: Modular Lens Switcher ] [ Ep 05: Lead-Lag r(tau) & REST API ] |
| +-----------------------------------------------------------------------------------------------+ |
| | [ ▶ Play / Pause ] [ ⏮ Prev Step ] [ Step 2/5 (00:18 / 00:45) ━━━━●━━━━━━ ] [ ⏭ Next ] [ 🔊 ] | |
| | SUBTITLE & CALLOUT: "Notice the Gold Circle on Nov 30 ($137.00): NVDA's integer close equals | |
| | its own Gen 1 Ingglish coordinate (envideea = 137 [33rd PRIME])—a Scope 1 Self-Lock." | |
| | CITED SOURCES: [ 📄 Vol 03C PDF (p.5 "envideea") ↗ ] [ 📜 Dossier 71 Passage ↗ ] [ 🕸️ aq:137 ]| |
| +-----------------------------------------------------------------------------------------------+ |
+---------------------------------------------------------------------------------------------------+
```
### 2.1 How Each Episode Choreographs the Live Interface (`5` Episodes × `5` Timed Keyframes = `25` Interactive Scenes)
When an episode plays (auto-advancing every `7 seconds` per keyframe or stepped manually via `⏮ / ⏭` or timeline scrubbing):
1. **State Synchronization:** Each keyframe sets `{guildFilter, selectedSymbol, selectedLens, metricMode, selectedDateIdx}` on the live `/quant/` state machine and triggers `renderAll()`.
2. **Canvas Spotlight & Callout Overlay:** Draws a pulsing gold/rose spotlight ring, vector callout arrow, and HUD label directly on `#tsCanvas` (or highlights the target DOM panel `#heatmapTable`, `#lensProjectionCard`, `#docReferencesCard`, `#lagBarsContainer`) pointing to the exact figure being explained.
3. **Passage-Encoded Citation Bar:** Renders clickable deep-link pills for the exact Encyclopedia PDF page (`#page=N&search=...`), Dossier passage (`#:~:text=...`), REST API passage preview (`/api/v1/dossiers/{N}?highlight=...`), and Knowledge Graph node (`/graph/index.html?select=aq:N`) referenced in that scene.
| Episode ID | Title & Focus | Live State Choreography & Spotlighted Figures |
| :--- | :--- | :--- |
| **Ep 01** | **The Strict Periodicity Gate & Watchlist Topology** | Steps through `ALL -> S1 -> S3 -> S6` guild filters, spotlights the Periodicity Audit Footer (`20` dated `00:00 UTC` dossiers + `30` daily `21:30 UTC` closing-bell bars, `0` non-periodic static records), and links to `Vol 08A#page=2&search=Room%20Filter` and `/archive/00-index-and-methodology.md#:~:text=closing-bell,continuity`. |
| **Ep 02** | **Reading Panel 1: Spoken AQ Curves, Gold/Cyan Beacons & Regimes** | Focuses `NVDA` (`$137 == envideea [137]`), `ASML` (`+81 bps == asml [81]`), and `LLY` (`$777` repdigit); switches between `Close Price (USD)`, `Move (BPS)`, and `Spoken AQ (Gen 1)`; spotlights the dashed crimson `entity_ing=N` threshold, Gold (`Scope 1`) vs. Cyan (`Scope 2`) beacons, Emerald (`Scope 3`) wire co-presence bars, and `M1/M2/M3` volume bars. |
| **Ep 03** | **Panels 2 & 3: The 24×30 Lock Heatmap, TradingView & Deep Citations** | Scrubs across the `24 × 30` heatmap (`ANTHR-PVT` `$83 -> $89 [193]` on `2026-11-26`, `NVDA` on `2026-11-29`), highlights the `Open TradingView Chart ↗` launcher (`T`), and demonstrates clicking the passage-encoded Encyclopedia PDF (`#page & search`), Dossier (`#:~:text=`), and inline `/api/v1/dossiers/71?highlight=` preview buttons. |
| **Ep 04** | **Hot-Swapping Projection Lenses (`LENS_REGISTRY` Reversibility)** | Holds `NVDA` at `2026-11-30` while cycling the **Projection Lens** selector through `Quant Factor`, `Neutral Math`, `Corporate Board`, `TierZoo (ETI)`, `Fantasy Sabermetrics`, and `Pokédex Scanner` (`DEX #137`), proving how the exact same 6 lens-neutral mathematical moments (`ts_*`) re-project without altering a single underlying number. |
| **Ep 05** | **Panel 4: Lead-Lag Cross-Correlation $r(\tau)$, Exports & REST/SQLite APIs** | Spotlights Panel 4's correlation bars $r(\tau)$ across $\tau \in [-5, +5]$ days and the Gold optimal causal lag $\tau^*$, demonstrates `.CSV` and `.JSON` export, and links directly to `/api/v1/quant/timeseries?symbol=NVDA` and `/api/v1/openapi.json`. |
---
## 3. Four-Phase Implementation Roadmap (`Phases 1–4`)
### Phase 1: Enrich `quant/timeseries.py`, `mcp/rest.py` & `encyclopedia-knowledge-graph/index.html` with Deep-Link Resolution
1. In `/workspace/hyperstitionstudio-core/src/hyperstitionstud_io/quant/timeseries.py`, attach `doc_references` (`encyclopedia_volume_rel`, `encyclopedia_deep_link` with `#page=N&search=...`, `knowledge_graph_deep_link` with `/graph/index.html?select=aq:N`, `exemplar_dossier_deep_link` with `#:~:text=...`, `rest_api_deep_link`, and `verbatim_citation_passage`) to every instrument, guild build, and dated wire equation (`dossier_deep_link`, `api_highlight_link`, `graph_hub_links`), and regenerate `quant-timeseries.json` and `quant-timeseries-data.js`.
2. In `/workspace/hyperstitionstudio-core/src/hyperstitionstud_io/mcp/rest.py`, add `?highlight=<passage>` support to `GET /api/v1/dossiers/{number}` so it returns `matched_passages` (line numbers + verbatim surrounding lines) alongside the dossier Markdown.
3. In `/workspace/encyclopedia-knowledge-graph/index.html`, add URL query parameter handling (`?select=<node_id>&mode=<mode_id>`) on startup so clicking a Knowledge Graph deep link from `/quant/` immediately selects, centers, and opens the right-hand Encyclopedia drawer for that node.
### Phase 2: Build `/workspace/hyperstitionstudio-core/site/quant/quant-tutorials.js` & Update `/quant/index.html` + `quant-app.js`
1. Create `site/quant/quant-tutorials.js` containing the 5-episode, 25-keyframe interactive canvas choreographer, timeline scrubber, canvas spotlight/arrow overlay renderer, optional Web Speech narration toggle, and inline REST passage preview modal.
2. Update `site/quant/index.html` and `site/quant/quant-app.js` to render:
- The collapsible **Interactive Tutorial Series Player (`Ep 01–Ep 05`)** and **Visual Figure Legend**,
- The Knowledge-Graph-modeled **Documentation & Cited Passages Card** in Panel 3, and
- Passage-encoded `#:~:text=` deep links + inline passage preview buttons on every equation in the Dated Memetic Equation Tape.
3. Register `site/quant/quant-tutorials.js` in `version_sync.py`.
### Phase 3: Write `/quant/OPERATORS-MANUAL-QUANT-TIMESERIES-WORKBENCH.{md,pdf}`
1. Author `/workspace/hyperstitionstudio-core/site/quant/OPERATORS-MANUAL-QUANT-TIMESERIES-WORKBENCH.md` and compile `.pdf` via `hs-pdf-build`, providing the complete reference manual for `/quant/` with clickable passage-encoded links.
### Phase 4: Verification in `tests/test_core_suite.py` & `deploy/test-first-deployment.sh`
1. Add unit assertions in `tests/test_core_suite.py` verifying `doc_references` (`#page=`, `#:~:text=`, `?select=aq:`) on `/quant/` instruments and equations, and verifying `GET /api/v1/dossiers/65?highlight=292` returns `matched_passages`.
2. Add `/quant/quant-tutorials.js` and `/quant/OPERATORS-MANUAL-QUANT-TIMESERIES-WORKBENCH.pdf` to `deploy/test-first-deployment.sh`.
@@ -0,0 +1,159 @@
# Plan: Interactive Quantitative Finance & Memetic Gematria Time-Series Subpage (`/quant/`) for `hyperstitionstud.io` (`v2.0.17`)
- **Document ID:** `PLAN-QUANTITATIVE-FINANCE-TIMESERIES-SUBPAGE` (`v2.0.17`)
- **Target Web Route:** `https://hyperstitionstud.io/quant/` (`/quant/index.html`, `/quant/quant-app.js`, `/quant/quant-timeseries-data.js`)
- **Offline `file://` Path:** `/workspace/hyperstitionstudio-core/site/quant/index.html`
- **Schema Identifier:** `urn:io:hyperstitionstud:schema:v1:quant-timeseries` (`./schemas/v1/quant-timeseries.schema.json`)
- **Core Architectural Rule 1 (Strict Periodic Time-Series Boundary):** **100% of ingested and visualized data sources MUST produce discrete, timestamp-indexed periodic observations ($\Delta t \in \{\text{1d US-Closing-Bell}, \text{24h UTC-Rollover}\}$).** Non-periodic, static, or undated corpora are strictly excluded from the time-series engine and chart layers.
- **Core Architectural Rule 2 (Lens-Neutral Schema + Pluggable `LENS_REGISTRY`):** All persisted JSON schemas and time-series arrays (`quant-timeseries.json`) store **100% lens-neutral mathematical field names** (`struct_isometric_armor` .. `struct_repricing_resilience` and `ts_duty_cycle_pct`, `ts_weighted_resonance`, `ts_excess_over_replacement`, `ts_quantile_profile`, `ts_optimal_lag_days`, `ts_regime_splits`). Interpretive metaphors (`fund_manager`, `neutral_math`, `corporate_board`, `tierzoo_ecology`, `fantasy_sabermetrics`, `pokedex_scanner`) are projected at runtime via `hyperstitionstud_io.lenses.LENS_REGISTRY` (`PLAN-MODULAR-LENS-PROJECTION-AND-REVERSIBILITY-ARCHITECTURE`), allowing any lens to be toggled, removed, or replaced in `< 2 minutes` with zero schema or chart refactoring.
- **Global Footer Compliance:** Includes the global site footer `"Made with ♥ by Lemurs."` (`&#x2665;`) and participates in `hs-sync-version` (`hyperstitionstud_io.version_sync`).
---
## 1. Strict Periodic Data-Source Qualification Audit (Included vs. Excluded Sources)
To ensure every series plotted on `/quant/` is a true mathematical time series $\{X_t\}_{t \in \mathcal{T}}$ indexed over ordered UTC dates $t_1 < t_2 < \dots < t_N$, all workspace data sources are partitioned by a strict **Periodicity Qualification Gate**:
### 1.1 Included Data Sources (Produce Periodic, Timestamp-Indexed Time-Series Data)
| # | Periodic Data Source | Sampling Cadence ($\Delta t$) | Time-Series Variables & Gematrial Signals Emitted ($X_t$) |
| :- | :--- | :--- | :--- |
| **1** | **US Equity & Macro Watchlist Telemetry (`hs-quant-harvest --mode us-closing-bell`)** | **Mon–Fri `21:30 UTC` (`16:30 EST` Cron `29c871eb6b78`)** + Daily OHLCV history (Yahoo Finance v8 / Stooq CSV / CoinGecko) | • Daily Close $P_t$, Intraday Range $[L_t, H_t]$, Return $r_t$ (`bps`), and 20-Day Volume Ratio $V_t / \bar{V}_{20}$ across all `24` `S1–S6` instruments.<br/>• **Time-Varying Quantitative `AQ` Series:** Integer Close `Gen 1` Spoken `AQ` ($Q^{\text{spoken}}_{i,t}$), Close Digit `AQ` ($Q^{\text{digit}}_{i,t}$), and Basis-Point Move Spoken `AQ` ($Q^{\text{bps}}_{i,t}$).<br/>• **Scope 1 & 2 Lock Indicator Series:** Binary/count impulse series $L^{(1)}_{i,t}, L^{(2)}_{i,t} \in \{0, 1, 2, \dots\}$ firing whenever $P_{i,t}$ or $|\Delta \text{bps}_{i,t}|$ collides with the instrument's own `AQ` (`NVDA = $137 == envideea [137]`, `ASML = +81 bps == asml [81]`) or an `S1–S6` ring coordinate (`292, 260, 256, 211, 193, 191, 189, 183, 163, 160, 137, 135, 129, 128, 125, 95, 91, 81, 71`). |
| **2** | **Daily `00:00 GMT` Global News Wire Dossiers (`collect_news_aq.py` & `25..71-dossier-news-YYYY-MM-DD.md`)** | **Daily `00:00 UTC` (`19:00 EST` Cron `d28b479ec217`)** (`21` dated UTC snapshots from `2026-11-01` to `2026-11-29` + ongoing daily ticks) | • **Daily Memetic Phrase & Coordinate Velocity ($M_{c,t}$):** Count of verified `333 / 666 / 777` equations and cross-story collision classes activating coordinate $c$ on date $t$.<br/>• **News-Wire Co-Presence Series ($C_{i,t} \in \{0, 1\}$):** Whether ticker $i$ (`NVDA`, `ASML`, `TSM`, `ARM`, `ANTHR-PVT`, `BTC-USD`, `BLK`) co-occurred in breaking wire headlines on date $t$ (`SCOPE3_NEWS_WIRE_CO_PRESENCE_LOCK`).<br/>• **Daily Wire Telemetry Series:** Total headlines harvested, Twin-Prime headline count, Isometric lock count ($\Delta = 0$), and Shared Prime Factor attractors ($p \ge 11$). |
| **3** | **Objective Thermodynamic & Emergent `M1–M7+` Regime State Series (`regime_summary` & `memetic-superclass-registry.json`)** | **Daily (`21:30 UTC` & `00:00 UTC` ticks)** | • **Regime Activation State Vector $S_t \in \{0, 1\}^7$:** Daily activation status of `M1` (Entropic Stagnation: vol ratio `< 0.45` & $|\Delta\%| < 0.10$), `M2` (Flash-Crash / Templex Surge: $\Delta\% \le -5.0\%$ or `^VIX >= 25`), `M3` (Leviathan Trillion-Cap Concentration), and `M7+` Two-Run (`Run N -> Run N+1`) persistence counters (`discovered_on_date_utc` -> `confirmed_on_date_utc`). |
| **4** | **Dated Quantitative Economic Anchor Revisions (`quantitative-economic-anchors.json` & `anchor_revisions_detected`)** | **Event-Timestamped Step Series ($Q_t$)** anchored to dated dossiers (`2026-11-01`, `2026-11-18`, `2026-11-24`, `2026-11-30`) | • Step-function repricing series $Q_t$ tracking `anthropic_ipo_price_83` (`$83 [202] -> $89 [193 == anthropik == flash krash]`), `lazarus_heist_6b` (`$6B [211 == koper waier]`), and `bangladesh_factories_481` (`481 [13]`), plotted as regime-shift step overlays on the timeline. |
### 1.2 Strictly Excluded Data Sources (Non-Periodic / Static Corpora — Zero Time-Series Dimension)
| Excluded Source | Reason for Exclusion from `/quant/` Time-Series Engine | Permitted Static Role (Metadata Lookup Only) |
| :--- | :--- | :--- |
| **Static Atomic Lexicon & Thematic Ledgers (`01-ingglish-aq-lexicon.md`, `10–19-ledger-*.md`)** | Timeless orthographic/phonemic dictionaries (`Nait = 80`, `Thing = 103`); no observation timestamp $t$ or periodic sampling interval $\Delta t$. | Used only as a static coordinate label dictionary when hovering a locked integer $c \in [45, 777]$. |
| **Undated Thematic / Cinema / Philosophy Dossiers (`20–24`, `26–45`, `65–69-dossier-*.md`)** | Structural essays on *The Thing*, *Videodrome*, *Anti-Oedipus*, and classes `S1–S6`; not periodically sampled across calendar time. | Excluded from all time-series charts; referenced only for static guild badge descriptions. |
| **22-Volume PDF Encyclopedia & Static `ETI` Tier-List (`encyclopedia/*`, `tier-list-*`)** | Cross-sectional ontological taxonomy (`9` divisions, `388` graph nodes) rather than a longitudinal time series. | Already served on `/encyclopedia/` and `/graph/`; excluded from `/quant/`. |
| **Stakeholder Proposals, Lectures & Podcast Episodes (`proposal-*.md`, `lecture-*.md`, `podcast-ep*.md`)** | Narrative prose documents and audio scripts; produce zero periodic numerical or lexical time-series observations. | Completely excluded from `/quant/`. |
| **231k-Entry Calculator Database (`haiperdohp-jemaytreeah/db.json`)** | Static lookup table for instant string matching; no temporal axis. | Already served on `/calc/`; excluded from `/quant/`. |
---
## 2. Time-Series Data Architecture & Append-Only Ledger (`quant-timeseries-ledger.json`)
Currently, `hs-quant-harvest` writes `/workspace/ingglish-hyperdope-gematria/financial-aq-harvest-latest.json` (the latest snapshot), while `ingglish-aq-archive/` holds `21` dated `*-dossier-news-YYYY-MM-DD.md` files (`2026-11-01` through `2026-11-29`). To power a multi-week/multi-month interactive time-series workbench that works both offline (`file://`) and on `https://hyperstitionstud.io/quant/`:
1. **Historical Backfill + Append-Only Time-Series Ledger (`quant-timeseries-ledger.json`):**
- Extend `hyperstitionstud_io.quant.collector` (`hs-quant-harvest`) with a time-series ledger builder (`build_quant_timeseries_ledger()`) that:
1. Aligns the `24` `S1–S6` market instruments (`NVDA`, `ASML`, `TSM`, `ANTHR-PVT`, `MSFT`, `GOOGL`, `META`, `ORCL`, `AVGO`, `ARM`, `AMD`, `PLTR`, `LMT`, `RTX`, `HG=F`, `^VIX`, `BTC-USD`, `ETH-USD`, `SOL-USD`, `COIN`, `CEG`, `LLY`, `^TNX`, `BLK`) across the canonical November 2026 daily UTC calendar (`2026-11-01` through `2026-11-30`, `30` daily bars per instrument = `720` instrument-day observations) and appends every new daily `us-closing-bell` / `utc-rollover` cron run automatically.
2. Extracts the dated memetic phrase & coordinate time series directly from the `21` dated `*-dossier-news-YYYY-MM-DD.md` archive files (`2026-11-01` to `2026-11-29`), recording per UTC date $t$:
- Exact count of `333`, `666`, and `777` equations synthesized on date $t$,
- Active `S1–S6` signature coordinates (`137, 81, 91, 125, 129, 133, 135, 160, 163, 183, 189, 191, 193, 211, 256, 260, 292`) hit in the day's news wire,
- Verbatim dated memetic gematrial equations (`ing`, `eng`, `target`, `anchor_coord`, `matched_tickers`) from that day's dossier, and
- Cross-joined `co_present_in_news_wire` flags linking each dated news dossier to the 24 market tickers on the same UTC date $t$.
2. **Dual-Portable Synchronous Bundle (`site/quant/quant-timeseries-data.js`) & Lens-Neutral Schema Invariant:**
- Emit both `/workspace/hyperstitionstudio-core/site/quant/quant-timeseries.json` (with IPLD `dag-json` `CIDv1` provenance `baguqeera...`) and `/workspace/hyperstitionstudio-core/site/quant/quant-timeseries-data.js` (`window.HyperstitionStudio.QuantTimeSeries = ...`) so `/quant/index.html` loads instantaneously on both `file://` (zero `fetch()` CORS errors) and `https://hyperstitionstud.io/quant/` (Brotli-11 pre-compressed).
- **Lens-Neutral Field Contract (`quant-timeseries.schema.json`):** Each instrument and guild summary in `quant-timeseries.json` persists strictly canonical mathematical keys under `structural_vector` (`struct_isometric_armor`, `struct_drift_velocity`, `struct_variance_collapse`, `struct_trophic_capture`, `struct_prime_density`, `struct_repricing_resilience`) and `timeseries_moments` (`ts_duty_cycle_pct`, `ts_weighted_resonance`, `ts_excess_over_replacement`, `ts_quantile_profile`, `ts_optimal_lag_days`, `ts_regime_splits`), accompanied by a `lens_projections` map generated by `hyperstitionstud_io.lenses.apply_all_lenses(enabled_lenses)`.
---
## 3. Interactive UX & Four Synchronized Visual Panels on `/quant/index.html`
The `/quant/` subpage uses a zero-dependency, high-DPI HTML5 `<canvas>` + SVG interactive charting engine styled in the workspace's dark slate/cyan/gold/emerald monospace aesthetic (`#020617` canvas, `#0f172a` panels, `DejaVu Sans Mono`):
```text
+---------------------------------------------------------------------------------------------------+
| HEADER: hyperstitionstud.io/quant — Market Ticker & Memetic Gematria Time-Series Workbench |
| [ Guild: ALL | S1..S6 ] [ Lens: Quant Factor | Neutral Math | TierZoo | Fantasy | Pokedex v ] |
| [ Ticker Select: NVDA (Nvidia) v ] [ Open TradingView Chart ↗ ] [ Mode: Spoken AQ | BPS | USD ] |
+---------------------------------------------------------------------------------------------------+
| PANEL 1: Dual-Axis Synchronized Time-Series Canvas (Date Scrubbing, Crosshair & Zoom) |
| • Top Pane (Price & Quantitative AQ Trajectory): |
| - Solid Cyan Curve: Daily Close USD ($P_t$) or Return (bps) |
| - Gold Step-Line: Time-Varying Spoken/Digit AQ ($Q_t$) with horizontal dashed S1-S6 Ring Bands |
| - Crimson/Emerald Beacon Markers: Scope 1 Self-Locks ($137 == envideea, +81 bps == asml) |
| • Middle Pane (Memetic Gematrial Phrase Impulse & News-Wire Co-Presence Histogram): |
| - Stacked Violet/Gold Bars: Daily 333 / 666 / 777 equation counts from dated News Dossiers |
| - Glowing Cyan Diamonds: Days where selected Ticker co-occurred in 00:00 GMT Wire Headlines |
| • Bottom Pane (M1-M7+ Thermodynamic Regime Ribbon & Volume Ratio 20d): |
| - Color-coded regime bands (M1 Entropic, M2 Flash-Crash Surge, M3 Leviathan, M7+ Nucleation) |
+---------------------------------------------------+-----------------------------------------------+
| PANEL 2: Multi-Ticker x Date Contingent Lock | PANEL 3: Selected Date (t) Cross-Sectional |
| Heatmap Matrix (24 Tickers x 30 UTC Days) | Inspector & Memetic Equation Tape |
| • Rows: 24 S1-S6 Tickers (grouped by Guild) | • Clicking/scrubbing any date t displays: |
| • Columns: Ordered UTC Dates (Nov 01 .. Nov 30) | 1. Ticker OHLCV, bps move & 4-mode AQ |
| • Cell Color: | 2. Active Scope 1-3 Contingent Locks |
| - Gold: Scope 1 Intra-Instrument Self-Lock | 3. Verbatim 333/666/777 Memetic Phrases |
| - Cyan: Scope 2 S1-S6 Ring Migration | recorded in that date's News Dossier |
| - Emerald Border: News-Wire Co-Presence | that share the ticker's AQ coordinate |
+---------------------------------------------------+-----------------------------------------------+
| PANEL 4: Coordinate Resonance & Lead-Lag Cross-Correlation Explorer (r_{tau} at lags tau = -5..+5)|
| • Computes empirical cross-correlation between Memetic Coordinate Frequency M_{c,t} (from daily |
| 00:00 GMT wire dossiers) and Ticker Volatility / Basis-Point Moves |Delta bps_{i, t+tau}| |
| across lags tau in {-5, -4, ..., 0, ..., +5} days, plus Portable JSON/CSV Time-Series Export. |
+---------------------------------------------------------------------------------------------------+
```
### 3.1 Panel 1: Synchronized 3-Pane Time-Series Chart (`HTML5 Canvas` with Crosshair Scrubbing)
1. **Top Pane — Market Metric vs. Quantitative `AQ` Trajectory:**
- Plots the selected ticker's price series $P_{i,t}$ (or basis-point change $\Delta \text{bps}_{i,t}$) alongside its time-varying `Gen 1` Ingglish Spoken `AQ` series $Q^{\text{spoken}}_{i,t}$ (`e.g., $137 -> "wuhn huhndrad therdee sevan" = 486` or integer self-lock `137 == envideea`).
- Draws horizontal dashed reference lines at the instrument's own `Gen 0` and `Gen 1` entity `AQ` coordinates (`e.g., 113 and 137 for NVDA; 81 for ASML; 193 for ANTHR-PVT`) and guild partner rings (`125, 183, 191, 211, 256, 292`). Whenever $P_{i,t}$ or $|\Delta \text{bps}_{i,t}|$ crosses a ring line, a pulsing **Scope 1 / Scope 2 Lock Marker** is rendered directly on the time series.
2. **Middle Pane — Dated Memetic Gematrial Phrase Impulse Series ($M_{c,t}$):**
- Plots the daily time series of `333 / 666 / 777` memetic equations and cross-story collision counts harvested by the `00:00 GMT` wire pipeline (`25..71-dossier-news-YYYY-MM-DD.md`), filtered either to the selected ticker's guild (`S1–S6`), its signature coordinate ring $c$, or all global wire clusters.
- Highlights exact **Co-Presence Dates** ($C_{i,t} = 1$) where the ticker's entity name or symbol appeared in the day's news wire simultaneously with a quantitative lock.
3. **Bottom Pane — 20-Day Volume Ratio ($V_{i,t}/\bar{V}_{20}$) & `M1–M7+` Regime State Strip:**
- Renders the 20-day relative volume bar series overlaid with the objective `Scope 3` thermodynamic state gates (`M1` `< 0.45x` stagnation threshold, `M2` `>= 2.5x` or `<= -5.0%` templex surge threshold, `M3` `$1T+` leviathan concentration, and `M7+` two-run nucleation dates `2026-11-28 -> 2026-11-29`).
### 3.2 Panel 2: `24 Tickers × T Dates` Contingent Lock Spatiotemporal Heatmap
- A compact interactive matrix where each row is one of the `24` `S1–S6` instruments and each column is a UTC calendar date $t$.
- Cells light up by lock class:
- **Gold (`Scope 1`):** Intra-Instrument Self-Lock or Repdigit `37×k` Attractor (`NVDA $137`, `ASML 81 bps`, `LLY $777`).
- **Cyan (`Scope 2`):** `S1–S6` Supply-Chain Ring Migration (`TSM $191 == derivativ == lajistiks`, `COIN $292 == sinthetik dayta == asset management`, `CEG $256 == akselerayshan == sovran welth`).
- **Violet (`Anchor Revision`):** Dated `--revise-anchor` step transition (`ANTHR-PVT $83 -> $89 [193]`).
- **Emerald Ring (`News Co-Presence`):** Instrument co-present in that UTC day's `00:00 GMT` wire dossier.
- Clicking any `(Ticker, Date)` cell immediately focuses Panel 1 and Panel 3 on that instrument and timestamp.
### 3.3 Panel 3: Timestamp Cross-Section Inspector, TradingView Launcher & Dated Memetic Phrase Tape
- Selecting any date $t$ on the chart or heatmap displays the exact cross-sectional join for date $t$:
1. **Instrument Telemetry Card & Direct TradingView Launch (`Open TradingView Chart ↗`):**
- Displays Close USD, $\Delta\%$, $\Delta\text{bps}$, 20d volume ratio, market cap, and all 4 quantitative `AQ` encodings (`close_digit_aq`, `close_spoken_ing_aq`, `scaled_cap_spoken_ing_aq`, `bps_spoken_ing_aq`).
- Includes a prominent **`Open TradingView Chart ↗`** action button (also bound to the top toolbar next to the ticker selector, each heatmap row label, and keyboard shortcut `T`) that opens the live interactive TradingView Superchart for the selected instrument in a new browser window/tab (`window.open(tvUrl, "_blank", "noopener,noreferrer")`).
2. **Dated Memetic Gematrial Phrase Tape:** Lists the verbatim `333`, `666`, and `777` Ingglish equations (`ing`, `eng`, word-by-word `AQ` sum, and source dossier link `/archive/<NN>-dossier-news-YYYY-MM-DD.md`) harvested on date $t$ that lock onto the ticker's coordinate ring or guild.
### 3.5 Canonical `S1–S6` Ticker -> TradingView Symbol & URL Resolver (`tradingview_symbol` & `tradingview_url`)
- **Zero-Runtime-Widget Offline Invariant Preserved:** Rather than embedding a third-party `https://s3.tradingview.com/tv.js` iframe inside `/quant/index.html` (which would violate the workspace's strict Zero-External-Script / 100% `file://` offline portability rule in `test_offline_urn_namespaces_and_no_external_https_fonts()`), `/quant/` resolves each of the `24` watchlist instruments to its canonical `EXCHANGE:SYMBOL` TradingView Superchart URL (`https://www.tradingview.com/chart/?symbol=<EXCHANGE>%3A<SYMBOL>`) and opens it on user action in a new browser window (`target="_blank" rel="noopener noreferrer"`):
| Watchlist Symbol | Entity (`Guilds`) | Canonical TradingView Symbol (`tradingview_symbol`) | New-Window Launch URL (`tradingview_url`) |
| :--- | :--- | :--- | :--- |
| `NVDA`, `ASML`, `MSFT`, `GOOGL`, `META`, `AVGO`, `ARM`, `AMD`, `PLTR`, `COIN`, `CEG` | Nasdaq Tech / AI / Compute (`S1–S6`) | `NASDAQ:NVDA`, `NASDAQ:ASML`, `NASDAQ:MSFT`, `NASDAQ:GOOGL`, `NASDAQ:META`, `NASDAQ:AVGO`, `NASDAQ:ARM`, `NASDAQ:AMD`, `NASDAQ:PLTR`, `NASDAQ:COIN`, `NASDAQ:CEG` | `https://www.tradingview.com/chart/?symbol=NASDAQ%3A<SYM>` |
| `TSM`, `ORCL`, `LMT`, `RTX`, `LLY`, `BLK` | NYSE Foundry / Defense / Bio / Capital (`S1, S3, S5, S6`) | `NYSE:TSM`, `NYSE:ORCL`, `NYSE:LMT`, `NYSE:RTX`, `NYSE:LLY`, `NYSE:BLK` | `https://www.tradingview.com/chart/?symbol=NYSE%3A<SYM>` |
| `BTC-USD`, `ETH-USD`, `SOL-USD` | 24/7 Crypto Liquidity Rails (`S2, S6`) | `COINBASE:BTCUSD`, `COINBASE:ETHUSD`, `COINBASE:SOLUSD` | `https://www.tradingview.com/chart/?symbol=COINBASE%3A<COIN>USD` |
| `HG=F` | Copper Futures (`S3, S2`) | `COMEX:HG1!` | `https://www.tradingview.com/chart/?symbol=COMEX%3AHG1%21` |
| `^VIX` | CBOE Volatility Index (`S2`) | `TVC:VIX` | `https://www.tradingview.com/chart/?symbol=TVC%3AVIX` |
| `^TNX` | US 10-Year Treasury Yield (`S6, S2`) | `TVC:US10Y` | `https://www.tradingview.com/chart/?symbol=TVC%3AUS10Y` |
| `ANTHR-PVT` | Anthropic Pre-IPO Valuation Anchor (`S1, S2`) | `NASDAQ:GOOGL` *(Primary public strategic backer proxy; badge notes Pre-IPO Private Anchor `$89`)* | `https://www.tradingview.com/chart/?symbol=NASDAQ%3AGOOGL` |
### 3.4 Panel 4: Lead-Lag Cross-Correlation ($\rho(\tau)$) & Portable Time-Series Export (`JSON` / `CSV`)
- **Lead-Lag Correlation Bar Chart ($\tau \in \{-5, \dots, +5\}$ days):**
Computes the Pearson and Spearman cross-correlation between daily memetic phrase density on coordinate ring $c$ ($M_{c,t}$) and unsigned basis-point volatility ($|\Delta \text{bps}_{i, t+\tau}|$) or volume ratio ($V_{i, t+\tau}$) across lags $\tau = -5 \dots +5$ days, testing whether news-wire gematrial convergence leads, coincides with ($\tau = 0$), or lags market repricing.
- **Zero-Backend Client Export & Custom Snapshot Dropzone:**
- Export the currently filtered time series as a standard `.csv` file or IPLD-compatible `.json` slice.
- Drag-and-drop any historical `financial-aq-harvest-*.json` or custom snapshot file onto the page to overlay and compare trajectories locally in browser memory.
---
## 4. Integration into `hyperstitionstudio-core`, `Caddyfile`, and Deployment Verification
### Phase 1: Lens-Neutral Schema, Pluggable `LENS_REGISTRY` & Time-Series Ledger Compiler (`hyperstitionstud_io.{lenses,quant.timeseries}`)
1. Create `/workspace/hyperstitionstudio-core/schemas/v1/quant-timeseries.schema.json` (`$id: "urn:io:hyperstitionstud:schema:v1:quant-timeseries"`) enforcing lens-neutral mathematical field names (`struct_*` and `ts_*`).
2. Create `/workspace/hyperstitionstudio-core/src/hyperstitionstud_io/lenses/__init__.py` implementing `LENS_REGISTRY`, `ENABLED_LENSES` (`neutral_math`, `fund_manager`, `corporate_board`, `tierzoo_ecology`, `fantasy_sabermetrics`, `pokedex_scanner`), `apply_lens()`, and `apply_all_lenses()`.
3. Implement `/workspace/hyperstitionstudio-core/src/hyperstitionstud_io/quant/timeseries.py` (`build_quant_timeseries_bundle()`), which:
- Ingests ONLY periodic sources (`financial-aq-harvest-latest.json`, historical OHLCV/watchlist series, `25..71-dossier-news-YYYY-MM-DD.md`, `news-aq-harvest-*.json`, and dated `quantitative-economic-anchors.json` revisions) while enforcing a programmatic assertion that zero undated/static dossiers (`01-lexicon`, `10–19-ledger`, `20–45`, `65–69`, `encyclopedia`, `proposals`, `podcasts`) enter the time-series arrays.
- Computes lens-neutral `timeseries_moments` (`ts_duty_cycle_pct`, `ts_weighted_resonance`, `ts_excess_over_replacement`, `ts_quantile_profile`, `ts_optimal_lag_days`, `ts_regime_splits`) and projects them through `LENS_REGISTRY`.
- Emits `/workspace/hyperstitionstudio-core/site/quant/quant-timeseries.json` (with `ipld_dag_json_cidv1`) and `/workspace/hyperstitionstudio-core/site/quant/quant-timeseries-data.js` (`window.HyperstitionStudio.QuantTimeSeries`), guarded by `ReadOnlyIsolationGuard`.
- Hook `build_quant_timeseries_bundle()` into `hs-quant-harvest` (`collect_financial_quant_aq.py`) so every `16:30 EST` (`21:30 GMT`) Window A cron run automatically appends the new daily bar to the time-series bundle.
### Phase 2: Build `/workspace/hyperstitionstudio-core/site/quant/index.html` & `quant-app.js`
1. Build the responsive dark-theme workbench at `site/quant/index.html` and `site/quant/quant-app.js` implementing Panels 1–4, the live top-bar **Lens Switcher** (dynamically populated from `ENABLED_LENSES` so disabling any lens requires zero HTML/JS edits), the `Open TradingView Chart ↗` new-window launcher (`window.open(..., "_blank", "noopener,noreferrer")` + keyboard shortcut `T` + per-row heatmap launch icon), keyboard left/right date stepping (`←` / `→`), guild/ticker/mode selectors, `.csv`/`.json` export, and the `"Made with ♥ by Lemurs."` footer.
2. Add a direct launch card/button on `/workspace/hyperstitionstudio-core/site/index.html` (`Open Quant Time-Series Workbench (/quant/)`) and cross-links in `/learn/index.html` and `/graph/index.html`.
3. Register `site/quant/index.html` and `site/quant/quant-app.js` in `hyperstitionstud_io/version_sync.py`.
### Phase 3: Wire into `deploy/sync-vps-repos.sh`, `test-first-deployment.sh` & `tests/test_core_suite.py`
1. In `deploy/sync-vps-repos.sh`, create the relative route symlink `${LIVE_SUDO} ln -sfn "hyperstitionstudio-core/site/quant" "${LIVE_REPOS}/quant"` (Caddy's root `handle { root * /var/www/hyperstitionstud.io/repos/hyperstitionstudio-core/site }` already serves `/quant/*` automatically on `https://hyperstitionstud.io/quant/`).
2. Add `/quant/index.html`, `/quant/quant-app.js`, `/quant/quant-timeseries-data.js`, and `/schemas/v1/quant-timeseries.schema.json` to `deploy/test-first-deployment.sh` and `tests/test_core_suite.py` (including explicit unit tests asserting that 100% of series observations carry a valid `YYYY-MM-DD` UTC timestamp, zero non-periodic dossier sources are present, and `build_quant_timeseries_bundle(enabled_lenses=["neutral_math", "fund_manager"])` passes 100% when `pokedex_scanner`, `tierzoo_ecology`, and `fantasy_sabermetrics` are disabled).
@@ -0,0 +1,246 @@
# Plan: Lightweight Standalone SQLite + FTS5 Metadata & Telemetry Database (`metadata.db`) Engine (`v2.0.18`)
- **Document ID:** `PLAN-SQLITE-REST-API-METADATA-DB` (`v2.0.18`)
- **Roadmap Status:** **ACTIVE / READY** (Core `hyperstitionstud_io.db.sqlite_meta` + `hs-db-build` CLI + automatic population of the SQLite metadata/telemetry database on every `/api/v1/*` REST and `/mcp` JSON-RPC call)
- **Target Modules:**
- `/workspace/hyperstitionstudio-core/src/hyperstitionstud_io/db/__init__.py` & `sqlite_meta.py` (`hs-db-build` CLI & SQLite/FTS5 catalog + telemetry engine)
- `/workspace/hyperstitionstudio-core/src/hyperstitionstud_io/mcp/rest.py` (`dispatch_rest_v1` telemetry hook populating SQLite on every `/api/v1/*` call)
- `/workspace/hyperstitionstudio-core/src/hyperstitionstud_io/mcp/server.py` (`dispatch_jsonrpc` telemetry hook populating SQLite on every `/mcp` JSON-RPC call)
- `/workspace/hyperstitionstudio-core/deploy/logrotate.d/hyperstition-sqlite-meta` (Quiescent `logrotate.d` truncation at configurable default `100M` / `100 MB` limit)
- `/workspace/hyperstitionstudio-core/pyproject.toml` (`hs-db-build` entry point)
- `/workspace/hyperstitionstudio-core/tests/test_core_suite.py` (Unit verification that `/api/v1/*` and `/mcp` calls populate the SQLite metadata/telemetry DB and `logrotate.d` quiescently truncates it)
- **Explicitly Deferred Scope (Moved to Long-Term Inactive Plan `PLAN-SQLITE-META-REST-ENDPOINTS-ETAG-AND-VPS-SYNC`):**
Exposing HTTP `/api/v1/meta/{manifests,search,coordinate/{aq_int},timeseries/query,telemetry}`, HTTP `ETag` / `If-None-Match` (`304 Not Modified`) middleware, MCP tool `hs_query_sqlite_catalog`, and wiring `hs-db-build` into `deploy/sync-vps-repos.sh` remain **inactive** in `/workspace/encyclopedia-knowledge-graph/docs/PLAN-SQLITE-META-REST-ENDPOINTS-ETAG-AND-VPS-SYNC.{md,pdf}` alongside all other inactive plans.
- **Zero External Dependencies:** Built **100% on Python's standard-library `sqlite3` module** (`0` third-party ORMs, `0` external DB daemons).
- **Core Architectural Separation (Immutable Catalog Index vs. Ephemeral Runtime Telemetry):**
To preserve the strict `ReadOnlyIsolationGuard` guarantees while enabling both sub-millisecond indexed search and local telemetry rollups in Python, the SQLite architecture splits cleanly into **two lightweight SQLite database files** (connected simultaneously via `ATTACH DATABASE` or dedicated connections):
1. **Catalog Metadata & FTS5 Index DB (`hyperstition-catalog.db`, Read-Only at Runtime, `mode=ro`):**
Compiled deterministically via `hs-db-build` (`python3 -m hyperstitionstud_io.db.sqlite_meta --build`). Indexes all `282` glossary entries, `190` bilingual lexical specimens, `388` Knowledge Graph nodes, `1,282` edges, `71` archive dossiers, `1,850+` verified `333/666/777` equations, `24 × 30` periodic time-series bars, and all `CIDv1` registry digests with **SQLite FTS5 (`BM25`) full-text search** and B-tree integer indices on `ing_aq`, `eng_aq`, `target_sum`, `symbol`, and `date_utc`.
2. **Runtime Telemetry & Audit DB (`api-telemetry.db`, WAL Mode):**
Lightweight, append-only SQLite database (`PRAGMA journal_mode=WAL; PRAGMA synchronous=NORMAL;`) that records privacy-preserving per-operation call counts, status tallies, execution latency ($\text{p50 / p95 / p99}$ microseconds), and `ReadOnlyIsolationGuard` audit receipts—without storing any client IP addresses, cookies, or PII.
---
## 1. Why a Standalone SQLite + FTS5 Metadata DB Transforms Local Corpus Querying & Observability
Currently, querying across `glossary-registry.json`, `encyclopedia-graph.json`, `quant-timeseries.json`, and the `71` Markdown dossiers requires reading and parsing multiple `.json` and `.md` files (`~12–45 ms` of file I/O and regex parsing per call).
By introducing the dual SQLite metadata layer (`hyperstitionstud_io.db.sqlite_meta`):
| Capability | Current File-Scan / Regex Behavior | With Standalone SQLite + FTS5 (`hyperstitionstud_io.db.sqlite_meta`) | Improvement |
| :--- | :--- | :--- | :--- |
| **1. Sub-Millisecond Indexed Lookups (`B-Tree`)** | Parses `encyclopedia-graph.json` (`1.4 MB`), `glossary-registry.json`, or `quant-timeseries.json` on each call (`12–28 ms`). | Point & range queries against B-tree indices (`idx_specimens_ing_aq`, `idx_bars_sym_date`, `idx_nodes_id`) execute in **`80–250 microseconds` (`< 0.25 ms`)**. | **`50x–120x` faster** |
| **2. Full-Text Search Across All 71 Dossiers & 282 Glossary Terms (`FTS5 BM25`)** | Linear `glob("*.md")` + Python substring/regex scan across 71 files (`25–45 ms`), no relevance ranking. | Single `SELECT ... FROM fts_catalog WHERE fts_catalog MATCH ? ORDER BY bm25(fts_catalog)` query with snippet highlighting and prefix matching in **`< 0.6 ms`**. | **Ranked `BM25` + `60x` faster** |
| **3. Multi-Table Relational Joins in One Query (`SQL`)** | Requires multiple separate Python passes to join a ticker (`NVDA`), its `AQ` coordinate (`137`), its Knowledge Graph neighbors, and its dated `333/666/777` archive equations. | Single indexed SQL join across `quant_timeseries_bars`, `kg_nodes`, `kg_edges`, and `archive_equations` via `query_coordinate_join(137)`. | **1 query instead of 4 passes** |
| **4. Cryptographic Provenance & `CIDv1` Registry Manifest Table** | Re-computes SHA-256 and `dag-json` `CIDv1` digests over raw files on demand. | `registry_manifests` table stores pre-computed `dag_json_cidv1` (`baguqeera...`), `raw_sha256`, and `record_count` per compiled registry. | **Instant `< 0.1 ms` digest lookup** |
| **5. Zero-PII Telemetry & Latency Rollups (`api-telemetry.db`)** | Stateless stdout only; zero structured persistence of query latency or `ReadOnlyIsolationGuard` verification counts. | Append-only WAL table `api_endpoint_rollups` and 200-event ring buffer `api_audit_ringbuffer` track call counts, status tallies, mean/max latency ($\mu\text{s}$), and `ReadOnlyIsolationGuard` pass counts in `<= 64 KB`. | **Deterministic local audit rollups** |
---
## 2. Relational & FTS5 Schema Design (`hyperstition-catalog.db` & `api-telemetry.db`)
### 2.1 Read-Only Catalog & Search Database (`hyperstition-catalog.db`)
```sql
-- 1. Cryptographic Registry & Schema Provenance Manifests
CREATE TABLE registry_manifests (
registry_slug TEXT PRIMARY KEY, -- e.g. 'glossary-registry', 'encyclopedia-graph', 'quant-timeseries'
source_path TEXT NOT NULL,
schema_urn TEXT NOT NULL,
version TEXT NOT NULL,
record_count INTEGER NOT NULL,
raw_sha256 TEXT NOT NULL,
dag_json_cidv1 TEXT NOT NULL, -- 'baguqeera...'
byte_size INTEGER NOT NULL,
compiled_at_utc TEXT NOT NULL
) WITHOUT ROWID;
-- 2. Canonical Glossary & Bilingual Vocabulary Specimens (282 Glossary + 190 Bilingual Specimens)
CREATE TABLE glossary_entries (
entry_id INTEGER PRIMARY KEY,
term TEXT NOT NULL UNIQUE,
category TEXT NOT NULL,
section_id TEXT NOT NULL,
eng_aq INTEGER NOT NULL,
ing_term TEXT NOT NULL,
ing_aq INTEGER NOT NULL,
delta INTEGER NOT NULL,
is_isometric INTEGER NOT NULL, -- 0 or 1
is_twin_prime INTEGER NOT NULL, -- 0 or 1
division_id TEXT,
volume_pdf TEXT,
definition TEXT NOT NULL
);
CREATE INDEX idx_glossary_ing_aq ON glossary_entries(ing_aq);
CREATE INDEX idx_glossary_eng_aq ON glossary_entries(eng_aq);
CREATE INDEX idx_glossary_cat ON glossary_entries(category);
-- 3. Knowledge Graph Nodes (388 Nodes) & Deduplicated Edges (1,282 Edges)
CREATE TABLE kg_nodes (
node_id TEXT PRIMARY KEY, -- e.g. 'aq:137', 'build:S1', 'spec:envideea'
node_urn TEXT NOT NULL UNIQUE,
node_type TEXT NOT NULL,
label TEXT NOT NULL,
aq_value INTEGER,
degree INTEGER NOT NULL,
is_flex_pivot INTEGER NOT NULL DEFAULT 0,
guild_id TEXT,
metadata_json TEXT NOT NULL
) WITHOUT ROWID;
CREATE INDEX idx_kg_nodes_aq ON kg_nodes(aq_value);
CREATE INDEX idx_kg_nodes_type ON kg_nodes(node_type);
CREATE TABLE kg_edges (
source_id TEXT NOT NULL,
target_id TEXT NOT NULL,
relation TEXT NOT NULL,
weight REAL NOT NULL DEFAULT 1.0,
PRIMARY KEY (source_id, target_id, relation)
) WITHOUT ROWID;
CREATE INDEX idx_kg_edges_target ON kg_edges(target_id);
CREATE INDEX idx_kg_edges_rel ON kg_edges(relation);
-- 4. Archive & Zoology Dossiers (01..71) & Verified Multi-Scale Equations (333 / 666 / 777)
CREATE TABLE dossiers (
dossier_number INTEGER PRIMARY KEY, -- 1..71
file_name TEXT NOT NULL UNIQUE,
title TEXT NOT NULL,
is_periodic_news INTEGER NOT NULL, -- 1 for *-dossier-news-YYYY-MM-DD.md, 0 for static dossiers
date_utc TEXT, -- 'YYYY-MM-DD' if periodic news/quant dossier, else NULL
equation_count INTEGER NOT NULL,
sha256 TEXT NOT NULL
);
CREATE INDEX idx_dossiers_date ON dossiers(date_utc) WHERE date_utc IS NOT NULL;
CREATE TABLE archive_equations (
eq_id TEXT PRIMARY KEY, -- Content-addressed key: e.g. 'eq_333_envideea_0042'
dossier_number INTEGER NOT NULL,
date_utc TEXT, -- Populated if from dated periodic dossier
target_sum INTEGER NOT NULL, -- 333, 666, 777, etc.
ing_phrase TEXT NOT NULL,
eng_gloss TEXT NOT NULL,
breakdown TEXT NOT NULL,
word_count INTEGER NOT NULL,
FOREIGN KEY (dossier_number) REFERENCES dossiers(dossier_number)
) WITHOUT ROWID;
CREATE INDEX idx_eq_target ON archive_equations(target_sum);
CREATE INDEX idx_eq_date ON archive_equations(date_utc) WHERE date_utc IS NOT NULL;
-- 5. Periodic Quantitative Financial Time-Series Bars (24 Tickers x T UTC Days — Strictly Periodic Only)
CREATE TABLE quant_timeseries_bars (
symbol TEXT NOT NULL,
date_utc TEXT NOT NULL,
entity_eng TEXT NOT NULL,
entity_ing TEXT NOT NULL,
entity_ing_aq INTEGER NOT NULL,
guilds_csv TEXT NOT NULL,
tradingview_symbol TEXT NOT NULL,
tradingview_url TEXT NOT NULL,
close_usd REAL NOT NULL,
change_pct REAL NOT NULL,
change_bps INTEGER NOT NULL,
volume_ratio_20d REAL NOT NULL,
market_cap_str TEXT NOT NULL,
close_digit_aq INTEGER NOT NULL,
close_spoken_ing TEXT NOT NULL,
close_spoken_ing_aq INTEGER NOT NULL,
scaled_cap_spoken_ing_aq INTEGER NOT NULL,
bps_spoken_ing_aq INTEGER NOT NULL,
co_present_in_news_wire INTEGER NOT NULL,
contingent_points REAL NOT NULL,
locks_json TEXT NOT NULL,
PRIMARY KEY (symbol, date_utc)
) WITHOUT ROWID;
CREATE INDEX idx_qbars_date ON quant_timeseries_bars(date_utc);
CREATE INDEX idx_qbars_close_aq ON quant_timeseries_bars(close_spoken_ing_aq);
CREATE INDEX idx_qbars_ent_aq ON quant_timeseries_bars(entity_ing_aq);
-- 6. Unified FTS5 Full-Text Search Virtual Table (BM25 Ranked Search Across Glossary, Graph & Equations)
CREATE VIRTUAL TABLE fts_catalog USING fts5(
doc_type, -- 'glossary' | 'equation' | 'node' | 'dossier' | 'instrument'
doc_id, -- Primary key / URI
title_or_ing, -- Headword or Ingglish phrase
gloss_or_body, -- English gloss, definition, or breakdown
aq_coord, -- Integer AQ coordinate(s) as text tokens
guild_tags, -- S1..S6, M1..M7+
tokenize = 'unicode61 remove_diacritics 2'
);
```
### 2.2 Runtime Telemetry & Audit Database (`api-telemetry.db` — WAL Mode, Zero PII)
```sql
PRAGMA journal_mode = WAL;
PRAGMA synchronous = NORMAL;
-- 1. Per-Operation Aggregated Request & Latency Rollups (Bounded to <= 100 rows total!)
CREATE TABLE IF NOT EXISTS api_endpoint_rollups (
protocol TEXT NOT NULL, -- 'python_api' | 'cli' | 'rest_v1' | 'mcp_jsonrpc'
method TEXT NOT NULL, -- 'CALL' | 'GET' | 'POST'
endpoint_pattern TEXT NOT NULL, -- e.g. 'sqlite_meta:query_coordinate_join'
total_requests INTEGER NOT NULL DEFAULT 0,
status_2xx INTEGER NOT NULL DEFAULT 0,
status_304 INTEGER NOT NULL DEFAULT 0,
status_4xx INTEGER NOT NULL DEFAULT 0,
status_5xx INTEGER NOT NULL DEFAULT 0,
total_latency_us INTEGER NOT NULL DEFAULT 0,
max_latency_us INTEGER NOT NULL DEFAULT 0,
last_called_utc TEXT NOT NULL,
PRIMARY KEY (protocol, method, endpoint_pattern)
) WITHOUT ROWID;
-- 2. Ring-Buffer of Last 200 Isolation & Harvest Audit Events (Auto-Pruned via Trigger)
CREATE TABLE IF NOT EXISTS api_audit_ringbuffer (
event_id INTEGER PRIMARY KEY AUTOINCREMENT,
timestamp_utc TEXT NOT NULL,
endpoint TEXT NOT NULL,
status_code INTEGER NOT NULL,
latency_us INTEGER NOT NULL,
isolation_ok INTEGER NOT NULL -- 1 = ReadOnlyIsolationGuard verified
);
```
*(By aggregating telemetry by `(protocol, method, endpoint_pattern)` and capping `api_audit_ringbuffer` at the most recent `200` rows, `api-telemetry.db` never grows past `~64 KB` on disk).*
---
## 3. Python Query & CLI Surface (`hyperstitionstud_io.db.sqlite_meta` & `hs-db-build`)
`hyperstitionstud_io.db.sqlite_meta` exposes a clean, self-contained Python API and CLI (`hs-db-build`) operating strictly over `hyperstition-catalog.db` (`mode=ro` on query) and `api-telemetry.db`:
| Python Function / CLI Flag | Arguments | What It Queries or Builds in SQLite (`< 1 ms`) |
| :--- | :--- | :--- |
| `build_catalog_sqlite_db(db_path=None)` / `hs-db-build --build` | `db_path: Path \| None` | Compiles `registry_manifests`, `glossary_entries`, `kg_nodes`, `kg_edges`, `dossiers`, `archive_equations`, `quant_timeseries_bars`, and `fts_catalog` while verifying source registries remain untouched under `ReadOnlyIsolationGuard`, then runs `PRAGMA optimize; VACUUM;`. |
| `query_registry_manifests(db_path=None, registry=None)` / `hs-db-build --manifests` | `registry: str \| None` | Queries `registry_manifests` for all compiled schemas/registries, their record counts, `raw_sha256`, and `dag_json_cidv1`. |
| `query_fts_catalog(query, doc_type="all", limit=25, db_path=None)` / `hs-db-build --search <q>` | `query: str`, `doc_type: str`, `limit: int` | Executes a ranked **FTS5 `BM25` full-text search** across `fts_catalog` (searching glossary terms, 1,850+ equations, 388 graph nodes, and 24 tickers in `< 0.6 ms`). |
| `query_coordinate_join(aq_int, db_path=None)` / `hs-db-build --coordinate <N>` | `aq_int: int` (`1..999`, e.g. `137` or `125`) | **Unified Cross-Corpus Coordinate Join:** In a single indexed SQL query, returns every glossary term, bilingual specimen, Knowledge Graph node/edge, `333/666/777` archive equation, and `/quant/` closing-bell bar that locks onto integer coordinate `aq_int`. |
| `query_timeseries_bars(symbol=None, start_date=None, end_date=None, min_points=0.0, db_path=None)` / `hs-db-build --timeseries` | `symbol`, `start_date`, `end_date`, `min_points` | Executes indexed range queries over `quant_timeseries_bars` (`WHERE symbol = ? AND date_utc BETWEEN ? AND ? AND contingent_points >= ?`). |
| `record_api_telemetry(...)` & `get_api_telemetry_summary(telemetry_db_path=None)` / `hs-db-build --telemetry` | `protocol`, `method`, `endpoint_pattern`, `status_code`, `latency_us`, `isolation_ok` | Writes/reads `api_endpoint_rollups` and the latest 25 rows of `api_audit_ringbuffer` in `api-telemetry.db` (`<= 200` ring-buffer cap). |
---
## 4. Three-Phase Implementation Roadmap (`Phases 1–3`)
### Phase 1: Implement `hyperstitionstud_io.db.sqlite_meta` & `hs-db-build` CLI
1. Create `/workspace/hyperstitionstudio-core/src/hyperstitionstud_io/db/__init__.py` and `sqlite_meta.py` implementing:
- `build_catalog_sqlite_db(db_path)` & `ensure_catalog_sqlite_db(db_path)` (compiles `registry_manifests`, `glossary_entries`, `kg_nodes`, `kg_edges`, `dossiers`, `archive_equations`, `quant_timeseries_bars`, and the `fts_catalog` FTS5 index while verifying source repositories are never mutated, then runs `PRAGMA optimize; VACUUM;`),
- `query_registry_manifests(db_path, registry=None)` (opens `file:...?mode=ro` with `PRAGMA query_only = ON;`),
- `query_fts_catalog(query, doc_type="all", limit=25, db_path=None)`,
- `query_coordinate_join(aq_int, db_path=None)`,
- `query_timeseries_bars(symbol=None, start_date=None, end_date=None, min_points=0.0, db_path=None)`, and
- `record_api_telemetry(protocol, method, endpoint_pattern, status_code, latency_us, isolation_ok, telemetry_db_path=None)` + `get_api_telemetry_summary(telemetry_db_path=None)`.
2. Register `hs-db-build = "hyperstitionstud_io.db.sqlite_meta:main"` in `/workspace/hyperstitionstudio-core/pyproject.toml`.
### Phase 2: Wire Automatic SQLite Population into `dispatch_rest_v1` (`mcp/rest.py`) & `dispatch_jsonrpc` (`mcp/server.py`)
1. In `/workspace/hyperstitionstudio-core/src/hyperstitionstud_io/mcp/rest.py`, wrap `dispatch_rest_v1(method, raw_path, body_bytes)` with high-resolution `time.perf_counter_ns()` timing and a `finally` hook calling `record_api_telemetry(protocol="rest_v1", method=method, endpoint_pattern=normalized_route, status_code=status, latency_us=elapsed_us, isolation_ok=isolation_verified)` so every `/api/v1/*` REST API call automatically populates `api_endpoint_rollups` and `api_audit_ringbuffer` in the SQLite metadata/telemetry database (`api-telemetry.db`).
2. In `/workspace/hyperstitionstudio-core/src/hyperstitionstud_io/mcp/server.py`, wrap `dispatch_jsonrpc(req)` with `time.perf_counter_ns()` timing and a `finally` hook calling `record_api_telemetry(protocol="mcp_jsonrpc", method="POST", endpoint_pattern=rpc_pattern, status_code=status, latency_us=elapsed_us, isolation_ok=isolation_verified)` (e.g. `tools/call:hs_evaluate_aq_and_ingglish`, `resources/read`, `prompts/get`) so every MCP call also populates the SQLite database.
3. Ensure `record_api_telemetry()` writes strictly to a safe writable path (`HYPERSTITION_TELEMETRY_DB_PATH` or `/tmp/hyperstition-api-telemetry.db` fallback when under systemd `ProtectSystem=strict`) and never raises if the filesystem is read-only.
4. Create `/workspace/hyperstitionstudio-core/deploy/logrotate.d/hyperstition-sqlite-meta` (`size 100M` default, `rotate 12`, `compress`, `delaycompress`, configurable via `HYPERSTITION_SQLITE_MAX_MB` / `HYPERSTITION_SQLITE_MAX_BYTES`) with a `prerotate` block calling `python3 -m hyperstitionstud_io.db.sqlite_meta --truncate-quiescent --compress-archive` (`BEGIN EXCLUSIVE` + consistent SQLite snapshot compressed to `<db>.1.gz` + table purge + `PRAGMA wal_checkpoint(TRUNCATE)` + `VACUUM` + `PRAGMA integrity_check == 'ok'`).
### Phase 3: Verification in `tests/test_core_suite.py`
1. Add unit tests in `tests/test_core_suite.py` verifying:
- `build_catalog_sqlite_db()` table row counts (`282+` glossary rows, `388` nodes, `1,282` edges, `71+` dossiers, `720` periodic time-series bars),
- Sub-millisecond FTS5 `BM25` search via `query_fts_catalog("envideea")`,
- Unified coordinate join via `query_coordinate_join(137)`,
- Indexed periodic bar range queries via `query_timeseries_bars(symbol="NVDA", min_points=1.0)`,
- Executing `/api/v1/*` REST API calls (`dispatch_rest_v1`) and `/mcp` JSON-RPC calls (`dispatch_jsonrpc`) automatically populates `api_endpoint_rollups` and `api_audit_ringbuffer` (`<= 200` ring-buffer cap, `status_2xx`, `isolation_ok == 1`) in the SQLite database while leaving all inactive plan routes (`/api/v1/meta/*`, `hs_query_sqlite_catalog`, `/gallery/`) unexposed, and
- Executing `run_logrotate_directive()` / `truncate_telemetry_db_quiescent()` against `/workspace/hyperstitionstudio-core/deploy/logrotate.d/hyperstition-sqlite-meta` verifies the default `100M` (`100 MB`) threshold and quiescently truncates the SQLite database when the threshold is reached (`PRAGMA integrity_check == 'ok'`).
Binary file not shown.
+137
View File
@@ -0,0 +1,137 @@
# Plan: Static Patronage & Signal-Support Subpage (`/donate/`) for `hyperstitionstud.io` (`v2.0.18`)
- **Document ID:** `PLAN-STATIC-DONATE-SUBPAGE` (`v2.0.18`)
- **Target Web Route:** `https://hyperstitionstud.io/donate/` (`/donate/index.html`)
- **Offline `file://` Path:** `/workspace/hyperstitionstudio-core/site/donate/index.html`
- **Editorial Approach:** **Rhetorical, Inquiry-Driven, and Accessible to a General Enthusiast Audience with a Touch of Cybernetic Edge.**
- *Show, Don't Perform:* Rather than talking about its own posture, disclaimers, or lack of paywalls ("you don't need to donate," "the servers are fine"), the page goes straight to the intrigue of the phenomenon itself—inviting the reader into the questions that drive the workbench: *Why do disconnected events in the evening news keep landing on the same coordinates? What happens when you strip away the polite spelling of a corporate filing and listen to the raw phonemic signal underneath? Where are the hidden load-bearing walls of the modern economy?*
- **Global Footer & Portability Compliance:** 100% static HTML/CSS/JS with zero external scripts or third-party payment trackers, automatic `file://` vs. `https://` navigation adaptation, participation in `hs-sync-version`, and the global `"Made with ♥ by Lemurs."` (`&#x2665;`) footer.
---
## 1. Rhetorical Translation: Turning Institutional Proposals into Open Questions That Spark Curiosity
The existing stakeholder proposals (`/workspace/technocapital-singularity-zoology/proposal-*.md`) argue that standard models are blind to structural convergence, hidden bottlenecks, and sudden regime flips. On `/donate/`, we strip away the institutional finance and systems-engineering armor and reframe those ideas as **invitations to look closer**:
| Core Theme from the Proposals | The Technical Trap (Avoided on `/donate/`) | The Rhetorical Hook on `/donate/` (Invoking Curiosity with a Cybernetic Edge) |
| :--- | :--- | :--- |
| **1. Paper Appearance vs. Spoken Signal** | Explaining CMUdict phoneme tables, Base-36 character offsets, and variance-collapse formulas. | **"Have you ever noticed how differently the world looks when you stop reading how it's spelled and start listening to how it sounds?"**<br/>On paper, *synthetic data*, an *abstract machine*, and *asset management* belong to separate professions. Strip away silent letters and score the raw spoken stream, and they snap onto the exact same coordinate. Coincidence is the easy answer—until it happens ten nights in a row. |
| **2. Flashy Surfaces vs. Quiet Bottlenecks** | Listing GICS sector classifications, supply-chain factor loadings, or isometric $\Delta = 0$ equations. | **"Everyone watches the spectacle on the stage. Who owns the floorboards?"**<br/>Every hype cycle has its stars, and every star depends on a handful of quiet, unmovable chokepoints—a single laser maker in the Netherlands, a single wafer foundry in Taiwan, a single clause in a corporate charter—that never budge when the narrative shifts. We map the floorboards. |
| **3. Signal vs. Apophenia (Why Context Matters)** | Detailing Scope 1–3 contingent meaning gates, null-hypothesis baselines, or cron schedules. | **"Anyone can find patterns in a phonebook if they look long enough. What happens when you refuse to look outside the room?"**<br/>We don't go fishing through dictionaries to force a match. We only pay attention when a collision happens inside the same news story, the same supply chain, or the same closing bell—when a chipmaker closes at the exact dollar figure of its own name on the night it leads the wire. |
| **4. Keeping the Cover Off the Circuit** | Listing Brotli-11 compression ratios, HTTP/3 QUIC headers, or self-referential "no paywall" disclaimers. | **"What happens when an instrument leaves the cover off so anyone can inspect the wiring?"**<br/>An instrument is most interesting when the readout is right in front of you—complete with the raw equations, the underlying graph, and the live tape—so you can test your own hypotheses and see what locks together next. |
---
## 2. Page Layout & Narrative Flow (`/donate/index.html`)
Styled in the signature `hyperstitionstud.io` dark-slate monospace palette (`#020617` canvas, `#0f172a` panels, `#22d3ee` cyan, `#f5c630` gold, `#34d399` emerald, `#fb7185` rose):
```text
+---------------------------------------------------------------------------------------------------+
| HEADER: hyperstitionstud.io/donate — Signal Patronage & Open-Instrument Notes |
| [ Portal Home (/) ] [ Time-Series (/quant/) ] [ Knowledge Graph (/graph/) ] [ Calculator (/calc/) ]|
+---------------------------------------------------------------------------------------------------+
| HERO ESSAY: "What If Language, Market Tape, and Breaking News Are Dials on the Same Circuit?" |
| +---------------------------------------------------------------+-----------------------------+ |
| | Opens directly on the phenomenon that caught the visitor's | +-----------------------+ | |
| | eye: watching scattered headlines, supply-chain bottlenecks, | | ( ♥ DONATE ↗ ) | | |
| | and closing-bell prices snap onto identical coordinates once | +-----------------------+ | |
| | silent letters drop away—and why this workbench leaves the | Prominent tactile vector | |
| | cover off the circuit so anyone can trace the signal. | pill button (gold/amber | |
| +---------------------------------------------------------------+ glossy bevel + heart/coin | |
| emblem, anchored to #fuel)| |
+---------------------------------------------------------------------------------------------------+
| SECTION 1: Three Questions That Keep This Workbench Running |
| +-------------------------------+-------------------------------+-----------------------------+ |
| | 01 // The Ghost in the | 02 // The Load-Bearing | 03 // The Discipline of | |
| | Spelling | Chokepoints | the Room | |
| | Written English is a museum | Every gold rush sells picks | Finding a match in a | |
| | of dead letters. What happens | and shovels—until there is | dictionary is a parlor | |
| | when you strip a headline | only one company on earth | trick. Finding it inside | |
| | down to pure spoken sound | that can print the shovel. | the same headline and the | |
| | and watch rival empires land | How do you spot the | same closing bell is a | |
| | on the same number? | unmovable nodes before the | signal worth watching. | |
| | | crowd does? | | |
| +-------------------------------+-------------------------------+-----------------------------+ |
+---------------------------------------------------------------------------------------------------+
| SECTION 2: "Try a Wire Experiment" — Interactive Curiosity Sandbox |
| • "Click a live collision below—or type two things that shouldn't belong together—and watch |
| what happens when the silent letters drop." |
| - Curated Curiosity Prompts: |
| [ The Founder & The Flash Crash ] [ Synthetic Data & Asset Management ] |
| [ The Chip Laser & The Balance Sheet ] [ The War Machine & The Copper Wire ] |
+---------------------------------------------------------------------------------------------------+
| SECTION 3: Backing the Signal (Where Patronage Goes) |
| • Direct, substantive note on what contributions fuel: expanding the daily midnight wire and |
| closing-bell harvests, producing new multi-voice audio expeditions, and extending the |
| open-source graph and encyclopedia volumes. |
+---------------------------------------------------------------------------------------------------+
| SECTION 4: Fuel the Reactor (Direct Contribution Channels) |
| • Centered Primary Tactile Vector Donate Button (`( ♥ DONATE )` — opens/copies active channel) |
| • One-click copyable addresses (`BTC`, `ETH`, `SOL`, `XMR`) & `git.libre.audio` patronage |
| • Open-source exploration paths: test an idea in `/calc/`, trace a bridge in `/graph/`, |
| or fork the repositories and build an instrument of your own. |
+---------------------------------------------------------------------------------------------------+
| FOOTER: hyperstitionstud.io/donate v2.0.18 • Made with ♥ by Lemurs. |
+---------------------------------------------------------------------------------------------------+
```
### 2.1 Prominent, Proportionally Scaled Tactile Vector "Donate" Button Specification (Inspired by Classic Adobe Stock Vector Donate Badges)
To give `/donate/` an unmistakable, tactile visual centerpiece—while keeping `0` external image requests (`100%` inline SVG + CSS3 gradients/bevels for offline `file://` portability)—the page features a **classic glossy vector pill "DONATE" button** situated prominently and proportionally in two places:
1. **Hero Split-Column Anchor (`260px × 68px` desktop / `220px × 58px` mobile):** Positioned in the right-hand column of the Hero Banner (`grid-template-columns: 1fr auto`, vertically centered with generous breathing room) so it immediately anchors the eye without crowding the typography, smooth-scrolling to `#fuel-channels` (and flashing the active patronage drawer) when clicked.
2. **Section 4 Primary Action Centerpiece (`280px × 72px`):** Centered above the contribution address cards, where clicking it copies the selected contribution address or opens the selected patronage URI with tactile press-down feedback (`transform: translateY(2px)`).
**Visual & Proportional Anatomy of the Inline SVG + CSS Tactile Donate Button:**
- **Shape & Proportions:** Classic stadium/pill silhouette (`border-radius: 999px`, `aspect-ratio ~ 3.8 : 1`), framed by a brushed metallic/dark-slate outer bezel (`3px` ring with subtle cyan/gold rim light) so the glossy vector badge sits naturally against the `#0f172a` dark panel.
- **Glossy Vector Surface & Bevel:** Warm amber-gold to crimson-coral multi-stop linear gradient (`linear-gradient(180deg, #ffd86b 0%, #f59e0b 48%, #d97706 52%, #b45309 100%)`) with a crisp top-half specular glass highlight arc (`rgba(255,255,255,0.38)`), inner top bevel (`inset 0 2px 2px rgba(255,255,255,0.6)`), and raised 3D drop shadow (`0 6px 0 #78350f, 0 12px 24px rgba(245, 158, 11, 0.35)`).
- **Left Emblem Badge (Circular Inset Coin/Heart-in-Hand SVG Icon):** A circular recessed badge (`44px × 44px`) on the left inside the pill containing a crisp vector **Heart-and-Signal-Coin SVG emblem**, paired with bold, high-contrast uppercase `DONATE` lettering (`font-size: 1.22rem`, `letter-spacing: 0.08em`, subtle text-emboss shadow) and a micro-subtitle (`TOSS FUEL IN THE REACTOR`).
---
## 3. Revised Full-Page Copy (`/donate/index.html`) — Zero Self-Referential Affect Claims
### 3.1 Hero Essay: *"What If Language, Market Tape, and Breaking News Are Dials on the Same Circuit?"*
> Spend ten minutes exploring the Knowledge Graph, the calculator, or the closing-bell timeline, and you will run into something that makes you pause.
>
> Strip away the silent letters of standard English, and *synthetic data* and *abstract machine* land on the exact same coordinate as written *asset management*. Follow the fault lines of a market selloff, and *Dario Amodei*, *Anthropic*, and *flash crash* lock together across written and spoken scripts—or a trillion-dollar chipmaker closes at the exact dollar price of its own phonemic name on the night it leads the global news wire.
>
> Most instruments are built to smooth those anomalies away—to sort the world into tidy, separate compartments where linguistics stays in one room, supply-chain bottlenecks stay in another, and market prices stay in a third.
>
> `hyperstitionstud.io` was built to see what happens when you wire those rooms together. Every evening at the US market close and the midnight UTC news rollover, our collectors harvest live headlines and core technocapital tickers, decode them into spoken phonemes, and map where the circuits cross—leaving the cover off the machine so anyone curious enough can trace the signal for themselves.
### 3.2 Three Questions That Keep This Workbench Running
1. **`01 // What is English hiding inside its spelling?`**
Written English is an archaeological dig. Every word carries centuries of silent letters, borrowed scribal habits, and visual camouflage. When you decode a sentence into pure spoken sound—one spelling per phoneme—the camouflage drops away. Concepts that look miles apart in a press release or an earnings report suddenly collapse onto the exact same coordinate. Is that just a quirk of information compression, or is language acting like a low-level routing protocol for how culture and capital organize themselves? We'd rather measure it than guess.
2. **`02 // Where are the quiet walls that never move?`**
Every technology boom is loud at the edges and silent at the center. Dozens of labs race to build the flashiest model or the fastest trading desk, while the entire spectacle quietly funnels through a handful of physical and legal bottlenecks—a single extreme-ultraviolet laser builder, a single wafer foundry, a corporate charter, a power grid. In our tables, certain words refuse to drift by a single point between how they are written on paper and how they sound out loud. Watching how the noisy stories orbit those fixed points tells you a lot about where leverage actually sits.
3. **`03 // What happens when you outlaw dictionary fishing?`**
Numerology gets a bad reputation for a simple reason: if you let yourself rummage through a 200,000-word dictionary after the fact, you can connect any number to anything. That's a parlor trick. So we enforce a stricter rule: *stay in the room*. Only evaluate the words, people, and prices that actually showed up together in the same day's news wire, the same supply chain, or the same closing bell. When the locks still fire under that constraint, the question stops being *"can you find a pattern?"* and becomes *"why did these specific pieces fall into place at the same time?"*
### 3.3 Backing the Signal
> Every tool on `hyperstitionstud.io`—the 388-node property graph, the 22-volume encyclopedia, the multi-cipher calculator, the closing-bell time-series workbench, and the public API—is open, downloadable for offline travel, and built to show you the raw readout so you can test your own hypotheses.
>
> Patronage directly fuels the next layer of the instrument: keeping the public HTTP/3 relays fast, expanding the daily midnight wire and closing-bell harvests, synthesizing new full-length episodes of *The Encyclopedia Expeditions*, and charting new divisions of the archive.
>
> If a lock, a dossier, or an hour spent exploring the graph sparked a new line of thought, you can toss fuel into the reactor via the button or addresses below—or fork the repositories on `git.libre.audio` and build an instrument of your own.
---
## 4. Three-Phase Implementation Roadmap (`Phases 1–3`)
### Phase 1: Build `/workspace/hyperstitionstudio-core/site/donate/index.html`
1. Create `/workspace/hyperstitionstudio-core/site/donate/index.html` featuring:
- The inquiry-driven hero essay and 3-question grid in Section 3 above (with zero self-referential "calm/unbothered" or "you don't need to donate" meta-commentary),
- The **Prominent Tactile Vector "DONATE" Button** (classic glossy bevel pill with circular SVG heart/coin emblem, top specular highlight arc, and 3D tactile press state, proportionally situated in the Hero right column and centered above Section 4's contribution channels),
- The **"Try a Wire Experiment"** interactive curiosity sandbox (4 clickable story pills—*The Founder & The Flash Crash*, *Synthetic Data & Asset Management*, *The Chip Laser & The Balance Sheet*, *The War Machine & The Copper Wire*—plus a live input box that reveals how written spelling strips down to spoken sound),
- Zero-tracker contribution cards (`BTC`, `ETH`, `SOL`, `XMR` one-click copy + `git.libre.audio/seasharp` open-source patronage + non-monetary exploration links),
- Automatic `file://` vs. `https://` link resolution, and
- The global `"Made with ♥ by Lemurs."` (`&#x2665;`) footer.
### Phase 2: Wire Right-Justified Stadium-Pill Donate Button (`Option 3`) & `version_sync.py`
1. In `site/index.html`, `site/quant/index.html`, and `site/learn/index.html`, place a right-justified (`margin-left: auto; justify-content: flex-end`), `34px`-tall stadium-pill `( ♥ DONATE )` button (`.btn-donate-pill`, `border-radius: 999px`, preceded by a `1px solid #334155` vertical divider `.nav-donate-sep`, featuring a `20px × 20px` circular inset `.donate-pill-emblem` and warm amber-gold bevel) as the `:last-child` flush with the right inner header padding boundary—without altering the single-row height or modifying existing `.badge` telemetry counters. *(Option 1—folding the 3 passive telemetry counters into `.subtitle`—is preserved as a separate Long-Term Inactive Plan in `docs/PLAN-HEADER-SUBTITLE-TELEMETRY-CONSOLIDATION-ALTERNATIVE.{md,pdf}`; Option 2 is discarded).*
2. Register `core / "site" / "donate" / "index.html"` in `/workspace/hyperstitionstudio-core/src/hyperstitionstud_io/version_sync.py` and in `test_offline_urn_namespaces_and_no_external_https_fonts()` inside `tests/test_core_suite.py`.
### Phase 3: Wire into `deploy/sync-vps-repos.sh` & `deploy/test-first-deployment.sh`
1. Add `${LIVE_SUDO} ln -sfn "hyperstitionstudio-core/site/donate" "${LIVE_REPOS}/donate"` in `/workspace/hyperstitionstudio-core/deploy/sync-vps-repos.sh`.
2. Add `"/donate/index.html"` to `ROUTES` in `/workspace/hyperstitionstudio-core/deploy/test-first-deployment.sh` and verify `HTTP 200 OK`.
Binary file not shown.
@@ -0,0 +1,182 @@
# Plan: Time-Series Enrichment of TierZoo (`ETI` Assemblage Builds) & Gen IV Pokédex Field-Scanner Models via Fantasy Sports Sabermetrics & Contingent Meaning (`v2.0.17`)
- **Document ID:** `PLAN-TIERZOO-AND-POKEDEX-TIMESERIES-SABERMETRICS-ENRICHMENT` (`v2.0.17`)
- **Companion Plans:** `PLAN-QUANTITATIVE-FINANCE-TIMESERIES-SUBPAGE` (`/quant/` Time-Series Workbench) & `PLAN-MODULAR-LENS-PROJECTION-AND-REVERSIBILITY-ARCHITECTURE` (`LENS_REGISTRY` Reversibility Contract)
- **Target Modules & Registries:**
- `/workspace/hyperstitionstudio-core/src/hyperstitionstud_io/lenses/__init__.py` (Pluggable `LENS_REGISTRY` & `ENABLED_LENSES`)
- `/workspace/hyperstitionstudio-core/src/hyperstitionstud_io/quant/` (`collector.py` & `timeseries.py`)
- `/workspace/technocapital-singularity-zoology/scripts/classify_technocapital_singularity.py` (`build_assemblage_tier_list()` & `build_pokedex_specimen_card()`)
- `/workspace/technocapital-singularity-zoology/taxonomy/assemblage-builds-tier-list.json` (`ETI` + Time-Series Sabermetric Layer)
- **Core Methodological Rule 1 (Contingent Meaning Grounding):** Every qualitative TierZoo meta-tag (*Season-Long Anchor*, *Boom/Bust Week-Winner*, *Weatherproof Hedge*, *Breakout Waiver Stash*), every fantasy-sports rate metric (`WAR`, `WOPR`, `Snap %`, `Boom/Bust`, `Target Share`, `SOS`), and every Gen IV Pokédex specimen attribute (`Nature`, `Ability`, `EV Yield`, `Catch Rate`, `Evolution Trigger`, `Encounter Biomes`) **must be deterministically derived from periodic time-series observations** (`21:30 UTC` `us-closing-bell` market telemetry + `00:00 UTC` dated news-wire dossiers) governed by Scope 1–3 contingent meaning. Zero static dictionary fishing or arbitrary flavor-text assignment is permitted.
- **Core Methodological Rule 2 (Lens-Neutral Storage + Late-Bound `LENS_REGISTRY` Projection):** `quant/timeseries.py` computes and stores **100% lens-neutral mathematical keys** (`ts_duty_cycle_pct`, `ts_weighted_resonance`, `ts_excess_over_replacement`, `ts_quantile_profile`, `ts_optimal_lag_days`, `ts_regime_splits`) in `quant-timeseries.json`. The TierZoo (`tierzoo_ecology`), Fantasy Sabermetrics (`fantasy_sabermetrics`), and Gen IV Pokédex (`pokedex_scanner`) outputs are emitted as stateless projections via `hyperstitionstud_io.lenses.LENS_REGISTRY` alongside `neutral_math`, `fund_manager`, and `corporate_board`, so any lens can be disabled or swapped in `< 2 minutes` without touching the underlying time-series schema or calculators.
---
## 1. Architectural Diagnosis: Static Cross-Sectional Baseline (`ETI v1`) vs. Longitudinal Time-Series Enrichment (`ETI-TS v2`)
Currently, `build_assemblage_tier_list()` in `/workspace/technocapital-singularity-zoology/scripts/classify_technocapital_singularity.py` computes the 6 base stats (`ARM`, `VEL`, `COL`, `CAP`, `PRM`, `RES`) from **time-invariant, cross-sectional counts** (`len(eqs)`, static `gen0_var_collapsed`, static `iso_w_pct`, and static `quant_anchors_covered`), while the Gen IV `INFO` Pokédex card (`DEX #129/#125`) was synthesized from a single two-day snapshot (`2026-11-28 -> 2026-11-29`).
In competitive Fantasy Football, MLB Sabermetrics, and NBA Advanced Analytics, static scouting combine numbers (`40-yard dash`, `wingspan`, `career totals`) are **never** sufficient to set a weekly lineup or price a waiver-wire breakout. Championship models separate **Static Scouting Combine Traits (Career Base Stats)** from **Rolling Longitudinal Time-Series Sabermetrics (Weekly Usage, Opportunity Share, Efficiency Over Expectation, Variance Profile, and Schedule/Regime Matchup)**:
| Analytical Layer | Role in TierZoo (`ETI`) & Fantasy Roster Engine | Role in Gen IV Pokédex Field Scanner | Data Source Requirement |
| :--- | :--- | :--- | :--- |
| **Layer 1: Static Structural Combine (`ARM, VEL, COL, CAP, PRM, RES`)** | Permanent guild anatomy (`G4` isometric armor, `G1` log variance collapse, `S[1–5]×S6` double articulation, `G5` twin-prime density). | **Base Species Stats (`HP / ATK / DEF / SPA / SPD / SPE`)** & Dual Guild Typing (`e.g., S3 Silicon / S6 Capital`). | Verified 30-equation guild dossiers (`65–69`), `glossary-registry.json`. |
| **Layer 2: Longitudinal Time-Series Sabermetrics (`WAR, WOPR, SNAP%, BOOM%, LVG, SOS`)** | Rolling 7-day / 30-day form, opportunity share in the daily news wire,Scope 1–2 lock efficiency over expectation, and regime weather matchup. | **Dynamic Specimen Telemetry (`Level`, `EV Yield`, `Nature`, `Ability`, `Held Item`, `Wild Encounter Graph`, `Evolution Gate`)**. | **Strictly Periodic Time Series Only:** Daily `21:30 UTC` `us-closing-bell` market bars + Daily `00:00 UTC` `*-dossier-news-YYYY-MM-DD.md` runs. |
---
## 2. Six Popular Fantasy Sports & Sabermetric Models Adapted to Market-Memetic Time Series
We adapt six battle-tested quantitative sports analytics models directly onto the joint `(Market Ticker × Daily News-Wire Gematria)` time series $\{ (P_{i,t}, \Delta\text{bps}_{i,t}, V_{i,t}, L_{i,t}, M_{c,t}, C_{i,t}, S_t) \}_{t=1}^T$:
### 2.1 `SNAP%` — Active News-Wire & Lock Snap Share *(NFL Football Outsiders / PFF Snap Count %)*
- **Sports Model Inspiration:** In Fantasy Football, a player cannot score fantasy points from the bench; **Snap Share (`%` of offensive plays on the field)** is the primary leading indicator of usage stability before touchdowns regress.
- **Time-Series Mathematical Definition:**
$$\text{SNAP\%}_{g, [t-W, t]} = \frac{1}{W} \sum_{\tau = t-W+1}^{t} \mathbb{I}\!\left( \underbrace{L^{(1)}_{g,\tau} + L^{(2)}_{g,\tau} > 0}_{\text{Market Scope 1–2 Lock}} \;\lor\; \underbrace{C_{g,\tau} > 0}_{\text{00:00 GMT Wire Co-Presence}} \right) \times 100$$
- **Contingent Meaning Grounding:** Measures the fraction of periodic UTC observation days where guild/ticker $g$ actively participates in a verified Scope 1/2 price/bps lock or co-occurs in the `00:00 GMT` breaking news wire. Distinguishes **Every-Down Bellcows (`SNAP% >= 75%`: `NVDA [137]`, `ASML [81]`, `TSM [191]`)** from **Episodic Gadget Plays (`SNAP% < 25%`: `Q-Stub`)**.
### 2.2 `WOPR` — Weighted Opportunity & Resonance Rating *(NFL Josh Hermsmeyer Air Yards + Target Share Model)*
- **Sports Model Inspiration:** In NFL analytics, `WOPR = 1.5 × (Target Share) + 0.7 × (Air Yards Share)` combines high-probability short targets with high-upside deep targets into the single strongest predictor of next-week fantasy production.
- **Time-Series Mathematical Definition:**
- **Memetic Target Share ($\text{MTS}_{g,t}$):** Share of all daily `00:00 GMT` wire equations (`333 / 666 / 777`) on date $t$ that resolve through guild $g$'s signature coordinates.
- **Capital Air-Yards Share ($\text{CAYS}_{g,t}$):** Share of volume-weighted unsigned basis-point displacement ($|\Delta\text{bps}_{i,t}| \times (V_{i,t}/\bar{V}_{20})$) captured by guild $g$'s instruments at the `21:30 GMT` closing bell on date $t$ **specifically on coordinates that trigger Scope 1 or Scope 2 locks**.
$$\text{WOPR}_{g,t} = \min\!\left(100,\; \text{round}\!\left(100 \times \left[ 1.5 \cdot \overline{\text{MTS}}_{g,[t-W,t]} + 0.7 \cdot \overline{\text{CAYS}}_{g,[t-W,t]} \right]\right)\right)$$
- **Contingent Meaning Grounding:** Prevents pure price volatility (noise without gematrial lock) or pure lexical repetition (words without market movement) from inflating a build's rating. A spike in `WOPR` identifies an **Uncaptured Breakout (`Tier B/C` build whose wire target share + locked market displacement are surging ahead of its static tier rank)**.
### 2.3 `LOE` & `WAR` — Locks Over Expected & Trophic Wins Above Replacement *(NFL Next Gen Stats `CPOE/RYOE` + MLB FanGraphs `WAR`)*
- **Sports Model Inspiration:** MLB `WAR` (Wins Above Replacement) and NFL `RYOE` (Rushing Yards Over Expected) strip out baseline league environment noise by comparing observed production against the expected production of a replacement-level baseline (`Tier D = 49 ETI`).
- **Time-Series Mathematical Definition:**
- Let $p^{\text{null}}_c$ be the combinatorial baseline probability that a random integer price/bps move lands on `S1–S6` signature ring $c$ (`30` active ring integers out of `[40..320]`, $p^{\text{null}} \approx 0.107$).
- **Locks Over Expected ($\text{LOE}_{i,W}$):**
$$\text{LOE}_{i,W} = \sum_{\tau=t-W+1}^{t} \left( L_{i,\tau} - \mathbb{E}_{\text{null}}[L_{i,\tau}] \right)$$
- **Trophic Wins Above Replacement ($\text{WAR}_{g,W}$):** Cumulative contingent points generated by build $g$ over window $W$ (weighting `Scope 1 Self-Lock = 3.0 pts`, `Scope 3 News+Quant Co-Presence Lock = 2.5 pts`, `Scope 2 Ring Migration = 1.5 pts`, `Dated 333/666/777 Wire Equation = 1.0 pt`) minus the replacement-level `Tier D` output, divided by the marginal points per weekly matchup win ($\sigma_{\text{weekly}} = 6.5$ pts):
$$\text{WAR}_{g,W} = \frac{\text{Pts}_{g,W} - \text{Pts}_{\text{Tier D}, W}}{6.5}$$
- **Contingent Meaning Grounding:** Grounds "True Talent" in excess empirical synchronicity over the random uniform integer baseline. When `NVDA` closes at `$137 == envideea` while co-occurring in the `00:00 GMT` wire (`Scope 1 + Scope 3`), its single-day `LOE` spikes `+2.89` above random expectation.
### 2.4 `FLOOR / CEIL / BOOM%` — Weekly Variance & Archetype Distribution *(FantasyPros / ESPN Boom-Bust & Coefficient of Variation Model)*
- **Sports Model Inspiration:** Two receivers can both average `15.0 PPG`, but Player A scores `14–16` every week (**Possession Floor Anchor**) while Player B scores `3` or `35` (**Boom/Bust Deep Threat**). Starting five Boom/Bust players loses high-floor head-to-head matchups; starting five Floor players loses tournament (`GPP` / DFS) slates.
- **Time-Series Mathematical Definition:**
Over rolling $W = 14$ or $30$ UTC days of daily contingent point series $y_{g,t}$:
- **Floor ($\text{P20}_{g}$):** 20th percentile daily contingent score.
- **Ceiling ($\text{P90}_{g}$):** 90th percentile daily contingent score.
- **Boom Rate ($\text{BOOM\%}_{g}$):** `%` of days where $y_{g,t} \ge \mu_{\text{Tier S+}} + 1\sigma$ (multi-lock eruption: e.g., simultaneous Scope 1 + Scope 2 + News Co-Presence).
- **Bust Rate ($\text{BUST\%}_{g}$):** `%` of days where $y_{g,t} = 0$ (zero market locks and zero wire equations).
- **Contingent Meaning Grounding (Deterministic Qualitative Archetype Assignment):**
Rather than hand-writing qualitative labels, the time-series distribution $( \text{P20}_g, \text{P90}_g, \text{CV}_g = \sigma_g / \mu_g )$ deterministically assigns each taxon's **TierZoo Playstyle & Fantasy Role**:
- `P20 >= P75_league` and `CV < 0.45` $\implies$ **`"Ironclad Floor / Cash-Game Anchor"`** (`#3 S6 Apparatus of Capture`, `#4 S3 EUV Trench`: steady daily isometric locks `81, 91, 125`).
- `P90 >= P90_league` and `CV >= 0.75` $\implies$ **`"Templex Boom/Bust Week-Winner"`** (`#2 S2 Flash-Crash Liquidity`, `ANTHR-PVT`, `BTC-USD`: quiet during low-vol chop, erupts for `3x` locks during `M2` templex surges).
- `P20 >= P75_league` and `P90 >= P90_league` $\implies$ **`"Matchup-Proof League-Winner (Apex S+)"`** (`#1 S1 Autoregressive AI Syndicate`: both high daily wire floor and massive ceiling spikes).
### 2.5 `PACE / LVG` — Lead-Lag Causal Velocity & Gematrial Leverage Index *(NBA Pace / Usage % + MLB Tom Tango Leverage Index `LI`)*
- **Sports Model Inspiration:** NBA analytics adjusts raw box-score totals for **Pace** (possessions per 48 minutes), while MLB Sabermetrics weights clutch events by **Leverage Index (`LI`)**—how much a play shifts win expectancy.
- **Time-Series Mathematical Definition:**
- From the `/quant/` Panel 4 cross-correlation function $\rho_{g}(\tau) = \text{Corr}\!\left(M_{g,t},\; |\Delta\text{bps}_{g, t+\tau}|\right)$ across lags $\tau \in \{-5, \dots, +5\}$ days:
- **Optimal Causal Lag ($\tau^*_g = \arg\max_{\tau} |\rho_g(\tau)|$):**
- If $\tau^*_g > 0$ ($\text{Wire } t \to \text{Market } t+\tau^*_g$): **Teleoplexic Signal Leader (Pre-ognitive Carrier-Wave)** — breaking wire gematria precedes market repricing by $\tau^*_g$ days.
- If $\tau^*_g = 0$: **Instantaneous Phase-Transition Synchronizer** — wire headlines and closing-bell prices lock on the exact same UTC day.
- If $\tau^*_g < 0$ ($\text{Market } t \to \text{Wire } t+|\tau^*_g|$): **Post-Close Narrative Capture Follower** — market repricing forces downstream wire headlines $|\tau^*_g|$ days later.
### 2.6 `SOS / WEATHER` — Thermodynamic Regime Matchup Splits *(NFL DVOA Strength of Schedule & Home/Road/Weather Splits)*
- **Sports Model Inspiration:** Fantasy projection engines adjust weekly rankings for **Weather & Opponent DVOA** (e.g., benching dome passers in `25 mph` snow and starting bruising `RB/DEF` units).
- **Time-Series Mathematical Definition:**
Partition all historical UTC dates $\mathcal{T}$ by the active `Scope 3` thermodynamic state vector $S_t \in \{\text{M1 Entropic}, \text{M2 Flash-Crash}, \text{M3 Leviathan}, \text{Neutral}\}$ and compute each taxon's **Conditional Regime Split ($\Delta \text{ETI}_{g \mid M_k}$)**:
$$\Delta \text{ETI}_{g \mid M_k} = \overline{y}_{g \mid S_t = M_k} - \overline{y}_{g}$$
- **Contingent Meaning Grounding:**
- When `M1_ENTROPIC_STAGNATION` activates (volume ratio `< 0.45x`, factory halts, strikes), `#5 Vampiric Rentier Anti-Production (M1×S6)` exhibits a **`+14 ETI` Weather Boost** (`137: hawlts == inersha == envideea`, `169: letherjee == werkerz`), automatically promoting `#5 DEF` into the starting Flex slot!
- When `M2_FLASH_CRASH_TEMPLEX_SURGE` activates ($\Delta\% \le -5.0\%$ or `^VIX >= 25`), `#2 S2 Flash-Crash Liquidity` and `193 (flash krash == anthropik)` receive a **`+12 ETI` Surge Boost**.
---
## 3. Enriching the TierZoo (`ETI`) Model: Dual-Horizon `ETI = Static Base + Dynamic Form`
To prevent transient 1-day market noise from overwriting the structural Landian-Deleuzean hierarchy while making the Tier List genuinely responsive to periodic time-series telemetry, `build_assemblage_tier_list()` is enriched with a **Time-Series Sabermetric Overlay (`--with-timeseries`)**:
1. **Structural Base `ETI_base` (`0–100`, Invariant Architecture):**
- Preserves the exact 6-stat formula (`ARM`, `VEL`, `COL`, `CAP`, `PRM`, `RES`) so existing Encyclopedia/Knowledge-Graph citations remain 100% reproducible.
2. **Rolling Time-Series Form Modifier (`Δ_form` in `[-8, +8]` ETI Points) & Sabermetric Scouting Columns:**
$$\text{ETI}_{\text{live}}(t) = \text{clip}_{[0, 100]}\!\left( \text{ETI}_{\text{base}} + \text{round}\!\left( 3.5 \cdot \text{WAR}_{g,14\text{d}} + 2.5 \cdot (\text{WOPR}_{g,7\text{d}} - \text{WOPR}_{g,30\text{d}}) + \Delta\text{ETI}_{g \mid S_t} \right) \right)$$
- Appends 5 new time-series columns to the TierZoo leaderboard and JSON schema:
- `WAR_30d` (Trophic Wins Above Replacement),
- `SNAP%` (30-Day Active Lock/Wire Snap Share),
- `WOPR` (Weighted Opportunity & Resonance Rating),
- `Floor / Ceiling (Boom%)` (`P20 / P90` daily contingent output + Boom rate), and
- `Causal Lag Profile` ($\tau^* \in [-5, +5]\text{d}$ Leader / Synchronizer / Follower badge).
---
## 4. Enriching the Gen IV `INFO` Pokédex Field-Scanner Model with Time-Series Mechanics
In the mainline Pokémon RPGs (Generations III–IX) and competitive Smogon/VGC analytics, a Pokédex entry is far more than a static sprite—it encodes **6 Base Stats (`BST`)**, **Effort Value (`EV`) Yields**, **25 Natures (`+10% Stat A / -10% Stat B`)**, **Passive Abilities (Weather/Terrain Triggers)**, **Encounter Tables by Time-of-Day/Route**, and **Level-Up / Item Evolution Conditions**.
Every one of these five Pokédex systems maps **1-to-1** onto periodic time-series properties from `/quant/`:
```text
+---------------------------------------------------------------------------------------------------+
| GEN IV INFO POKEDEX FIELD-SCANNER (Time-Series Enriched Specimen Card — e.g., DEX #137 / #129) |
+---------------------------------------------------+-----------------------------------------------+
| [ LEFT SCREEN: SPRITE, TYPING & TIME-SERIES BIO ] | [ RIGHT SCREEN: 6-STAT RADAR, NATURE & EVs ] |
| • DEX #: #137 (NVDA / Envideea — Prime #33) | • 6 Base Stats (0-100): |
| • Species: The Lithographic Chokepoint Pokemon | ARM: 92 | VEL: 91 | COL: 90 |
| • Typing: [S1 SYNTHETIC AI] / [S3 WAR MACHINE] | CAP: 99 | PRM: 99 | RES: 88 (BST: 559) |
| • Level: Lv. 84 (Derived from 30d WAR & Snap%) | • Time-Series Nature (+10% / -10%): |
| • Held Item: EUV Pellicle #81 (ASML Bridge) | "TIMID / TELEOPLEXIC" (+VEL / -ARM) |
| • Ability (Regime-Triggered): | [Derived from 14d Price-to-Wire Lag tau*] |
| "SUPPLY-HALT PIVOT" — When M1 Entropic state | • Effort Value (EV) Yield on Lock: |
| activates, converts drawdown into +137 DEF. | +2 CAP, +1 PRM (Derived from dominant |
| • 30-Day Encounter Sparkline (Mini Waveform): | Scope 1/2 lock mode over trailing 30d) |
| [▁▂█▃▁▅▇▂▄█] (Snap%: 76.7% | WOPR: 88.4) | • Evolution / Form-Change Trigger: |
| • TradingView Live Telemetry Link: NASDAQ:NVDA ↗ | Lv. 137 Close ($137) + 00:00 GMT Wire Join |
+---------------------------------------------------+-----------------------------------------------+
```
### 4.1 Deterministic Mapping from Time-Series Signals to Qualitative Pokédex Traits
| Pokédex Attribute | How It Was Previously Chosen | New Deterministic Time-Series Derivation Rule (Grounded in Contingent Meaning) |
| :--- | :--- | :--- |
| **1. Specimen Nature (`+10% Stat_Boost / -10% Stat_Cut`)** | Static narrative flavor | Derived from the specimen's **trailing 14-day empirical covariance matrix** between its 6 dynamic sub-signals:<br/>• Highest Z-score positive momentum dimension $\to +10\%$ Boosted Stat;<br/>• Highest drift/variance dimension $\to -10\%$ Cut Stat:<br/> - `+VEL / -ARM` $\implies$ **Timid (*Teleoplexic Acceleration*)** (fast lead-lag wire response $\tau^* > 0$, high bps volatility)<br/> - `+ARM / -VEL` $\implies$ **Relaxed (*Isometric Trench Blocker*)** (low price beta, high $\Delta = 0$ isometric lock rate)<br/> - `+COL / -RES` $\implies$ **Rash (*Templex Boom-Surge*)** (high `BOOM%` during `M2` flash crashes)<br/> - `+CAP / -VEL` $\implies$ **Quiet (*Sovereign Apparatus Accumulator*)** (`$1T+` `M3` concentration, slow steady `WOPR`). |
| **2. Passive Ability (`Weather / Terrain State Trigger`)** | Hand-authored per meme | Automatically selected from the specimen's **highest conditional regime split ($\arg\max_{M_k} \Delta\text{ETI}_{g \mid M_k}$)** in the time-series ledger:<br/>• Peak split in `M1_ENTROPIC` $\implies$ **`"Vampiric Siphon / Supply-Halt Pivot"`** (gains `ETI` when volume ratio `< 0.45x` or halts hit `137`)<br/>• Peak split in `M2_FLASH_CRASH` $\implies$ **`"Templex Surge / Microsecond Arbitrage"`** (doubles lock rate when `^VIX >= 25` or drawdown $\le -5\%$)<br/>• Peak split in `M3_LEVIATHAN` $\implies$ **`"Apparatus Gravity"`** (pulls `S1–S3` partner rings into `125 / 153 / 256` when cap $> \$1\text{T}$)<br/>• Peak split on `News-Wire Co-Presence` $\implies$ **`"Carrier-Wave Resonance"`** (`Scope 3` wire+market simultaneous lock). |
| **3. Effort Value (`EV`) Yield (`+1 to +3 Stat Points`)** | Static | Computed from the **modal Scope 1–3 lock type** observed across the specimen's 30-day time series:<br/>• `SCOPE1_INTRA_INSTRUMENT_SELF_LOCK` majority $\implies$ **`+2 PRM, +1 ARM`**<br/>• `SCOPE2_S1_S6_RING_MIGRATION` (`S6` partner) $\implies$ **`+2 CAP, +1 COL`**<br/>• `SCOPE1_SPOKEN_REPDIGIT_ATTRACTOR` (`333/666/777`) $\implies$ **`+3 COL`**. |
| **4. Encounter Rate & Biome Route (`Tall Grass` vs. `Closing Bell`)** | Single date (`Nov 28`) | Computed from the specimen's **diurnal window distribution** (`Window A 21:30 GMT US Closing Bell` vs. `Window B 00:00 GMT News Wire Rollover`) and **30-day `SNAP%`**:<br/>• `SNAP% >= 60%` $\implies$ **Common Keystone Encounter** (`Route 21:30 NYSE/Nasdaq Closing Bell`)<br/>• `20% <= SNAP% < 60%` $\implies$ **Uncommon Regime Encounter** (`Route 00:00 UTC Rollover`)<br/>• `SNAP% < 20%` & `LOE > 2.0` $\implies$ **Legendary / Roaming Anomaly (`< 5%` Encounter Rate, e.g., `M7+` 2-Run Nucleation)**. |
| **5. Evolution & Form-Change Chain (`Stage 1 -> Stage 2 -> Mega/Apex`)** | Two-run `M7+` gate only | Generalized into a **3-Stage Time-Series Evolution State Machine** tracked across periodic runs:<br/>• **Stage 1 (Episodic Stub / `Tier D–C`, `Lv. 1–29`):** Discovered on `Run 1` ($t_0$) with a single headline or price lock (`persistence_count == 1`).<br/>• **Stage 2 (Confirmed Guild Spec / `Tier B–A`, `Lv. 30–69`):** Survives the `Run N -> Run N+1` cross-date persistence gate (`persistence_count >= 2` across distinct UTC dates) AND records $\ge 1$ `Scope 2` supply-chain ring migration.<br/>• **Stage 3 (Apex Double-Articulated Evolution / `Tier S–S+`, `Lv. 70–100`):** Achieves simultaneous `Scope 1` Self-Lock + `Scope 2` `S6` Capture Lock + `Scope 3` `00:00 GMT` News-Wire Co-Presence (`WOPR >= 75`, `WAR_30d >= 2.5`), or undergoes **Anchor-Revision Form Change** (`--revise-anchor`, e.g., `Anthropic $83 [Form I: 202] -> $89 [Form II: 193 Prime Self-Lock]`). |
---
## 5. Concrete Exemplars of Time-Series-Grounded Qualitative Choices
To illustrate how quantitative time-series metrics dictate the final qualitative scouting reports and Pokédex cards without human guesswork:
1. **`NVDA` (`Envideea`, `DEX #137` — `S1 × S3`):**
- *Observed Time-Series Signals:* Integer close `$137 == envideea (137 [33rd PRIME])` (`Scope 1 Self-Lock`), co-present in `2026-11-29` `00:00 GMT` AP News wire (`"White House downplays security risk of Jensen Huang's affair as the Nvidia CEO heads to Capitol Hill"`, shared prime factor `73`), `Market Cap = $3.35T` (`M3 Leviathan`), `137 == daireeoh == hawlts == inersha` (`Scope 2` 3-guild flex bridge).
- *Grounded Fantasy / TierZoo Output:* `SNAP% = 83.3%`, `WOPR = 94`, `WAR_30d = +4.2`, Archetype = **`"Matchup-Proof Franchise Cornerstone & Supply-Halt Flex"`** (starts in `S1/S3` during bull trends; auto-flexes to `M1 DEF` when `137 == hawlts` triggers).
- *Grounded Pokédex Output:* `DEX #137`, `Nature: Modest/All-Weather (+CAP / +ARM)`, `Ability: Supply-Halt Pivot (Coordinate 137)`, `Stage 3 Apex Evolution`.
2. **`ASML` (`asml`, `DEX #081` — `S3 × S6`):**
- *Observed Time-Series Signals:* Basis-point move `+81 bps == asml (81 = 3⁴ [Type I Isometric]) == aset (81)` (`Scope 1 BPS Isometric Self-Lock` + `Scope 2 S6 Ring Migration`), low 20d volume variance (`1.05x`).
- *Grounded Fantasy / TierZoo Output:* `Floor P20 = 88`, `CV = 0.28`, Archetype = **`"Ironclad Offensive-Line Blocker (Cash-Game Floor Anchor)"`**.
- *Grounded Pokédex Output:* `DEX #081`, `Nature: Impish/Isometric (+ARM / -VEL)`, `Ability: Lithographic Chokepoint (Δ = 0 Armor — immune to phonetic drift)`.
3. **`ANTHR-PVT` (`Anthropik`, `DEX #193` — `S1 × S2`):**
- *Observed Time-Series Signals:* Step-function anchor revision `$83` (`aytee three = 202`) $\to$ `$89` (`aytee nain = 193 [44th PRIME] == anthropik == flash krash == Dario Amodei [Gen 0]`), `+723 bps` surge, `volume_ratio_20d = 1.60x`.
- *Grounded Fantasy / TierZoo Output:* `BOOM% = 42%`, `WOPR Delta = +31`, Archetype = **`"Post-Revision Breakout QB/WR Stack"`**.
- *Grounded Pokédex Output:* `DEX #193`, `Form Change: Valuation Revision Form ($83 -> $89)`, `Ability: Double-Script Twin (Synchronizes Gen 0 185 and Gen 1 193 with Flash Crash)`.
4. **`M7_candidate_2026_11_28` (`Awflain / Dounz`, `DEX #129/#125` — `M7+ × S3 × S6`):**
- *Observed Time-Series Signals:* Nucleated on `2026-11-28` (`Run 1`) across `5` independent news stories (`variance 1221.8 -> 0` on `129 == blakwel == ruhsha == awflain` and `125 == kapatal == kapcher == dounz`), confirmed on `2026-11-29` (`Run 2`, `persistence_count = 2`), coupled to `SOL-USD` (`+129 bps`) and `TSM / BLK` (`+125 bps`).
- *Grounded Fantasy / TierZoo Output:* Promoted from `Waiver Wire` to **`"Priority Week-Winning Waiver Stash (Confirmed M7+ Breakout)"`**.
- *Grounded Pokédex Output:* `DEX #129`, `Stage 1 -> Stage 2 Evolution Complete (Run 1 -> Run 2 Persistence Gate Passed)`, `Ability: Trophic Bridge Capture (Links S3 Blackwell [129] to S6 Capital [125])`.
---
## 6. Three-Phase Implementation Roadmap (`Phases 1–3`)
### Phase 1: Implement Lens-Neutral Time-Series Moments (`quant.timeseries`) & Pluggable `LENS_REGISTRY` (`hyperstitionstud_io.lenses`)
1. In `/workspace/hyperstitionstudio-core/src/hyperstitionstud_io/quant/timeseries.py`, implement `compute_timeseries_moments(timeseries_ledger, window_days=30)` returning the **lens-neutral mathematical dictionary** (`ts_duty_cycle_pct`, `ts_weighted_resonance`, `ts_excess_over_null`, `ts_excess_over_replacement`, `ts_p20_floor`, `ts_p90_ceiling`, `ts_boom_pct`, `ts_bust_pct`, `ts_cv`, `ts_optimal_lag_days`, `ts_regime_splits`) for every `S1–S6` / `M1–M7+` build and each of the `24` instruments.
2. In `/workspace/hyperstitionstudio-core/src/hyperstitionstud_io/lenses/__init__.py`, implement `LENS_REGISTRY` and `ENABLED_LENSES` (`neutral_math`, `fund_manager`, `corporate_board`, `tierzoo_ecology`, `fantasy_sabermetrics`, `pokedex_scanner`), where:
- `fantasy_sabermetrics` projects the neutral moments into `snap_pct`, `wopr`, `loe`, `war_30d`, `floor_p20 / ceil_p90 / boom_pct`, and the deterministically derived `fantasy_archetype_label`,
- `pokedex_scanner` (`derive_pokedex_specimen_profile`) projects the same neutral moments into `dex_number`, `level`, `nature`, `ability`, `ev_yield`, `encounter_rarity`, `evolution_stage`, `sparkline_30d`, and `tradingview_url`, and
- `fund_manager` / `neutral_math` project the exact same numbers into institutional factor-risk terminology (`Signal Duty Cycle %`, `Conviction Exposure`, `Information Ratio / Alpha`, `VaR_20 & Convexity Skew`, `Granger Lead-Lag τ*`, `Regime-Conditional Beta`), ensuring 100% reversibility if any gaming/sports lens is ever disabled.
### Phase 2: Enrich `classify_technocapital_singularity.py` (`--build-tier-list` & `--pokedex-card`)
1. Update `build_assemblage_tier_list()` in `/workspace/technocapital-singularity-zoology/scripts/classify_technocapital_singularity.py` to ingest the periodic time-series moments and `LENS_REGISTRY` projections into `taxonomy/assemblage-builds-tier-list.json` and Section 1.2 / Section 2 of `tier-list-technocapital-assemblage-builds.{md,pdf,png}` while keeping the 6 base `ETI` stats (`ARM/VEL/COL/CAP/PRM/RES`) and `ReadOnlyIsolationGuard` invariants intact.
2. Add `--pokedex-card <SYMBOL_OR_DEX_ID>` to `classify_technocapital_singularity.py` (and expose `hs_inspect_pokedex_specimen` in `hyperstitionstud_io.mcp.tools`) to generate or inspect any ticker's or build's time-series-grounded Gen IV Pokédex JSON/Markdown/PNG specimen card on demand.
### Phase 3: Interactive Lens-Switching Inspector Drawer on `/quant/index.html`
1. In Panel 3 of `/quant/index.html` (`PLAN-QUANTITATIVE-FINANCE-TIMESERIES-SUBPAGE`), bind the inspector card to the top-bar **Lens Switcher** (`Quant Factor | Neutral Math | TierZoo | Fantasy Sabermetrics | Pokédex | Corporate Board`), displaying the selected ticker/guild's live 30-day time-series moments under the active lens alongside its 30-day sparkline and the `Open TradingView Chart ↗` button.
2. Add unit tests in `/workspace/hyperstitionstudio-core/tests/test_core_suite.py` verifying that (a) all qualitative labels across every registered lens are 100% deterministic functions of the lens-neutral time-series moments, (b) disabling `pokedex_scanner`, `tierzoo_ecology`, and `fantasy_sabermetrics` in `ENABLED_LENSES` leaves the time-series bundle 100% valid, and (c) `ReadOnlyIsolationGuard` passes.
+23 -1
View File
@@ -1,12 +1,13 @@
# Historical Design & Planning Archive (`docs/archive/`)
> **Notice for New Users & Operators:** The documents in `docs/archive/` are preserved historical planning records, point-in-time modularity audits, and iterative design drafts produced during the development of `encyclopedia-knowledge-graph` (`v1.0.0`) and `hyperstitionstudio-core` (`v1.2.0`).
> **Notice for New Users & Operators:** The documents in `docs/archive/` are preserved historical planning records, point-in-time modularity audits, and iterative design drafts produced during the development of `encyclopedia-knowledge-graph` (`v1.0.0`) and `hyperstitionstudio-core` (`v2.0.13`).
>
> **For current, authoritative operational documentation, use:**
> - **Interactive Knowledge Graph Operator's Manual:** `../../OPERATORS-MANUAL-ENCYCLOPEDIA-KNOWLEDGE-GRAPH.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`)
> - **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}`, and `../PLAN-MEMETIC-GALLERY-SUBPAGE.{md,pdf}` are preserved in `../` as long-term inactive/deferred plans.
---
@@ -21,3 +22,24 @@
| `PLAN-GIT-OPERATOR-PUBLIC-HTTP-RELEASE-AND-ONBOARDING.{md,pdf}` | Portability hardening plan eliminating the 4 hidden `/workspace` traps; now implemented and consolidated into `../VPS-AND-GIT-OPERATOR-DEPLOYMENT-GUIDE.{md,pdf}`. |
| `PLAN-LINODE-AKAMAI-VPS-HOMEPAGE-DEPLOYMENT.{md,pdf}` | Full Linode / Akamai Connected Cloud VPS specification (`tmpfs` RAM mount, Brotli-11, TCP BBR, Caddy HTTP/3 QUIC). |
| `PLAN-GIT-LIBRE-AUDIO-REPO-SYNC-FOR-VPS-INSTALL-DIRS.{md,pdf}` | Specification for 1-to-1 `git.libre.audio` repository-to-VPS install directory mapping (`/srv/hyperstitionstud.io/repos/<repo>`). |
| `ASSESSMENT-IPLD-DAG-JSON-CODEC-INTEGRATION.{md,pdf}` | Assessment and architecture plan for IPLD `dag-json` (`0x0129`) and `CIDv1` (`baguqeera...`) provenance; now implemented in `hyperstitionstud_io.ipld`. |
| `PLAN-LEARNING-SUBPAGE-AND-LOCAL-STATE-PORTABILITY.{md,pdf}` | Pre-implementation plan for the interactive `/learn/` guided curriculum and portable `localStorage` JSON state; now implemented in `hyperstitionstudio-core/site/learn/`. |
| `PLAN-MCP-SERVER-HYPERSTITIONSTUDIO.{md,pdf}` | Pre-implementation specification for the stateless read-only Model Context Protocol server (`hs-mcp --transport stdio\|http`); now implemented in `hyperstitionstud_io.mcp` and `deploy/hyperstition-mcp.service`. |
| `PLAN-GLOBAL-SITE-FOOTER-LEMURS.{md,pdf}` | Specification for the global `"Made with ♥ by Lemurs."` (`&#x2665;`) footer across all HTML web surfaces; now implemented and verified in `tests/test_core_suite.py`. |
| `PLAN-QUANTITATIVE-FINANCIAL-TELEMETRY-PIPELINE.{md,pdf}` | Architecture & implementation plan for the 24-instrument `S1–S6` quantitative financial telemetry collector (`hs-quant-harvest` / `collect_financial_quant_aq.py`) and Window A (`us-closing-bell`) cronjob; now implemented in `hyperstitionstud_io.quant`. |
| `REVIEW-OUTSTANDING-PLANS-POST-V2-0-8.{md,pdf}` | Point-in-time post-`v2.0.8` audit of completed vs. outstanding plans prior to completing `PLAN-QUANTITATIVE-FINANCIAL-TELEMETRY-PIPELINE` and archiving completed `v2.0.x` plan docs. |
| `PLAN-MODULAR-LENS-PROJECTION-AND-REVERSIBILITY-ARCHITECTURE.{md,pdf}` | Specification for the lens-neutral mathematical substrate (`struct_*` & `ts_*` keys) and hot-swappable `LENS_REGISTRY` (`hyperstitionstud_io.lenses`); now implemented in `src/hyperstitionstud_io/lenses/__init__.py`. |
| `PLAN-TIERZOO-AND-POKEDEX-TIMESERIES-SABERMETRICS-ENRICHMENT.{md,pdf}` | Specification for longitudinal time-series moments (`SNAP%`, `WOPR`, `LOE`, `WAR_30d`, `Floor/Ceil/Boom%`, `Optimal Lag τ*`, `Regime Splits`) and deterministic Gen IV Pokédex attributes; now implemented in `hyperstitionstud_io.quant.timeseries` and `classify_technocapital_singularity.py --pokedex-card`. |
| `PLAN-QUANTITATIVE-FINANCE-TIMESERIES-SUBPAGE.{md,pdf}` | Specification for the `/quant/` interactive time-series workbench (`site/quant/{index.html,quant-app.js,quant-timeseries-data.js}`) and TradingView `EXCHANGE:SYMBOL` new-window launcher; now implemented and live at `/quant/`. |
| `PLAN-MCP-REST-API-ADAPTER.{md,pdf}` | Specification for the unified stateless REST API v1 (`/api/v1/*`) and OpenAPI 3.1.0 adapter (`/api/v1/openapi.json`) on `hs-mcp` (`127.0.0.1:8095`); now implemented in `hyperstitionstud_io.mcp.{rest,server}` and `deploy/Caddyfile`. |
| `PLAN-SQLITE-REST-API-METADATA-DB.{md,pdf}` | Specification for the standalone SQLite + FTS5 catalog & telemetry engine (`hyperstitionstud_io.db.sqlite_meta`, `hs-db-build`), automatic `/api/v1/*` and `/mcp` telemetry population (`api-telemetry.db`), and quiescent `logrotate.d` snapshot compression (`deploy/logrotate.d/hyperstition-sqlite-meta`, default `100M`); now implemented and verified in `tests/test_core_suite.py` and `deploy/test-first-deployment.sh`. |
| `PLAN-STATIC-DONATE-SUBPAGE.{md,pdf}` | Specification for the `/donate/` signal patronage & open-instrument subpage (`site/donate/index.html`) and Option 3 right-justified `34px` stadium-pill `( ♥ DONATE )` navbar button across `site/index.html`, `site/learn/index.html`, and `site/quant/index.html`; now implemented and live at `/donate/`. |
| `PLAN-QUANT-TUTORIAL-VIDEO-SERIES-AND-CITATION-DEEP-LINKS.{md,pdf}` | Specification for the Option B Zero-MP4 5-episode, 25-scene interactive HTML5 canvas tutorial player (`site/quant/quant-tutorials.js`), passage-encoded deep links (`#page=N&search=...`, `#:~:text=...`, `/graph/index.html?select=aq:N`, `/api/v1/dossiers/N?highlight=...`), and `site/quant/OPERATORS-MANUAL-QUANT-TIMESERIES-WORKBENCH.{md,pdf}`; now implemented and verified in `tests/test_core_suite.py` and `deploy/test-first-deployment.sh`. |
| `PLAN-QUANT-INTERFACE-INFO-ICONS-AND-GLOSSARY-POPOVERS.{md,pdf}` | Specification for the 27 inline `ⓘ` micro-badges (`.hs-info-icon`) and viewport-clamped `#quantInfoPopover` across `/quant/` (`QUANT_TERM_GLOSSARY` in `site/quant/quant-app.js`), pairing `<= 1 paragraph` plain-English definitions with verbatim quotes hyperlinked to `/zoology/technocapital-singularity-zoology-comprehensive-glossary.pdf#page=N&search=...`; now implemented and verified in `tests/test_core_suite.py`. |
| `PLAN-HS-PDF-BUILD-DARK-MODE-AND-GLYPH-SANITIZATION.{md,pdf}` | Specification for upgrading `hs-pdf-build` (`src/hyperstitionstud_io/publishing/pdf_compiler.py`) to eliminate `<br/>`, `\|`, raw LaTeX `$...$`/`\Delta`/`\mathbb` escapes, missing `ⓘ` DejaVu glyphs, and unembedded `/Helvetica` references, and to apply the full-bleed Group 3 Dark-Mode Stealth Basalt theme; now implemented across all compiled PDFs. |
| `PLAN-QUANT-BIDIRECTIONAL-DATA-POINT-CENSUS-AND-CROSS-SPECIES-CONFLUENCE.{md,pdf}` | Specification for evaluating all 14 lexical/numerical data points in both `Gen 0` (`eng_aq`) and `Gen 1` (`ing_aq`) and classifying bars by the 4-species Confluence Dose ($D_{i,t} \in \{0..4\}$); now implemented in `src/hyperstitionstud_io/quant/{collector,timeseries}.py` and `/quant/`. |
| `PLAN-MACROECONOMIC-INDICATORS-INTEGRATION-CPI-PPI-RATES-M2-GDP.{md,pdf}` | Specification for the keyless St. Louis Federal Reserve (`FRED`) collector (`src/hyperstitionstud_io/quant/macro.py`, `hs-macro-harvest`) ingesting `CPI`, `PPI`, `US10Y`, `EFFR/SOFR`, `M1`, `M2`, `M1 vs. M2 Spread`, `Real M2 Growth`, `GDP`, and `GNP/OUTBS/INDPRO` with native cadence preservation and holiday `null`s; now implemented and live on `/quant/`. |
| `PLAN-DAILY-PORTFOLIO-AND-MEMETIC-REGIME-UPDATE-FEATURE.{md,pdf}` | Specification for the 5-Agenda Zero-Synthetic-Data Daily Portfolio & Memetic Regime Update (`src/hyperstitionstud_io/quant/daily_brief.py`, `hs-daily-brief`) with discrete 3-state Bayesian inference (`R1 Bull`, `R2 Pinned Dose 2`, `R3 Tail Drawdown`), confirming/challenging signals, delta-since-last-run audit, and Daily Key Macro Question ($Q_t$) + compounding rigor; now implemented and live on `/quant/`. |
| `PLAN-ONE-SHOT-TICKER-STATS-CARDS-API-PNG-AND-JSON.{md,pdf}` | Specification for the 5-zone `900×1260` (`5:7` TCG portrait) `.png` + `.json` Ticker Stats Card generator (`src/hyperstitionstud_io/quant/cards.py`, `hs-ticker-card`) exposed via the Chatbot REST tool dispatcher (`/api/v1/tools/hs_generate_ticker_stats_card` & `/api/v1/zoology/pokedex/{symbol}?include_card=true`, `0` new endpoints) and MCP tool `hs_generate_ticker_stats_card`; now implemented and verified in `tests/test_core_suite.py`. |
| `PLAN-HAIPERDOHP-SILHOUETTE-HYPERSTITION-PALETTE-UNIFIED-STYLE-AUGMENTATION.{md,pdf}` | Specification for the unified Group 3 ("Stealth Basalt Plate & Micro-Pip Signal Ribbon" + retained `border-radius: 999px` `.btn-donate-pill` & `.tactile-donate-btn`) visual design system across all 6 web pages (`site/assets/hs-group3-basalt-chamfer.css`) and all 3 visual artifact generators (`cards.py`, `pdf_compiler.py`); now implemented and verified in `tests/test_core_suite.py`. |
| `PLAN-DONATE-SUBPAGE-MINIMAL-REDUCTION.{md,pdf}` | Specification for reducing `/donate/index.html` strictly by removing intermediate essays and the curiosity sandbox without recreating elements, leaving `<header>`, the 3-sentence note of love from the Lemurs, `#fuel-channels` (`#primaryDonateActionBtn` + `#channelCardsGrid` `BTC`/`XMR` payment cards), and `<footer>`; now implemented and verified in `tests/test_core_suite.py`. |
@@ -0,0 +1,50 @@
# Review of Outstanding Plans & Post-`v2.0.8` Implementation Status Across the `hyperstitionstud.io` Ecosystem
- **Document ID:** `REVIEW-OUTSTANDING-PLANS-POST-V2-0-8` (`v2.0.8`)
- **Baseline Release Audited:** `v2.0.8` (Following full implementation and 36-route verification of `hyperstitionstud_io.ipld`, `hyperstitionstud_io.quant`, `hyperstitionstud_io.mcp`, `/learn/`, `/gallery/`, and the global `"Made with ♥ by Lemurs."` footer).
---
## 1. Completed vs. Outstanding Plan Matrix (`v2.0.8`)
| # | Plan Document & Tag | Target Module / Web Route | Status in `v2.0.8` |
| :- | :--- | :--- | :--- |
| **1** | `ASSESSMENT-IPLD-DAG-JSON-CODEC-INTEGRATION.{md,pdf}` (`v2.0.0`) | `hyperstitionstud_io.ipld` (`encode_dag_json`, `compute_dag_json_cidv1`, `write_pretty_and_dag_json`) | **COMPLETED & VERIFIED** (`tests/test_core_suite.py`) |
| **2** | `PLAN-QUANTITATIVE-FINANCIAL-TELEMETRY-PIPELINE.{md,pdf}` (`v2.0.6`) | `hyperstitionstud_io.quant` (`hs-quant-harvest`, `collect_financial_quant_aq.py`, `--scan-quant-harvest`, `financial-aq-harvest-latest.json`) | **COMPLETED & VERIFIED** (`24` instruments, `28` Scope 1–3 locks, `CIDv1` `baguqeera...`) |
| **3** | `PLAN-MCP-SERVER-HYPERSTITIONSTUDIO.{md,pdf}` (`v2.0.3`) | `hyperstitionstud_io.mcp` (`hs-mcp --transport stdio\|http`, `11` tools, `9` resources/templates, `4` prompts) | **COMPLETED & VERIFIED** (`tests/test_core_suite.py`) |
| **4** | `PLAN-LEARNING-SUBPAGE-AND-LOCAL-STATE-PORTABILITY.{md,pdf}` (`v2.0.2`) | `/learn/` (`site/learn/index.html` + `learn-app.js` + `learn-progress-state.schema.json`) | **COMPLETED & VERIFIED** (`HTTP 200 OK` in `test-first-deployment.sh`) |
| **5** | `PLAN-MEMETIC-GALLERY-SUBPAGE.{md,pdf}` (`v2.0.5`) | `/gallery/` (`site/gallery/index.html` + `gallery-data.js` + `37` visual specimens) | **LONG-TERM PLAN (Disabled in `Caddyfile` & `sync-vps-repos.sh` for Now)** |
| **6** | `PLAN-GLOBAL-SITE-FOOTER-LEMURS.{md,pdf}` (`v2.0.4`) | Global `"Made with ♥ by Lemurs."` (`&#x2665;`) footer across all HTML web surfaces | **COMPLETED & VERIFIED** (`tests/test_core_suite.py`) |
| **7** | `PLAN-LLM-TOKEN-ECONOMIZER-AND-VARIANCE-ROUTING.{md,pdf}` (`v2.0.7`) | `hyperstitionstud_io.economizer` (`hs-route-job`, $\sigma^2_{\text{step}}$ 5-factor scorer $J_{\text{score}}$, `Tier 0–3` router, pre-solved candidate menus) | **OUTSTANDING (Ready to Implement)** |
---
## 2. Primary Outstanding Plan: Python LLM Token Economizer & Marginal Procedure-Step Variance Router (`hyperstitionstud_io.economizer`)
- **Plan Document:**
- Container PDF: `/workspace/encyclopedia-knowledge-graph/docs/PLAN-LLM-TOKEN-ECONOMIZER-AND-VARIANCE-ROUTING.pdf`
- Host URL: `file:///home/m00t/hermes/workspace/encyclopedia-knowledge-graph/docs/PLAN-LLM-TOKEN-ECONOMIZER-AND-VARIANCE-ROUTING.pdf`
- **Current Status:**
Planned and documented (`tag: v2.0.7`); **not yet implemented** in `/workspace/hyperstitionstudio-core/src/hyperstitionstud_io/economizer/`.
- **Remaining Implementation Scope:**
1. Create `/workspace/hyperstitionstudio-core/src/hyperstitionstud_io/economizer/__init__.py` implementing:
- `score_job_complexity(v_step, d_verif, c_ctx, s_struct, r_blast)` ($J_{\text{score}} \in [0, 100]$ with hard override $V_{\text{step}} == 0 \implies J_{\text{score}} = 0$ `Tier 0 Local Python`),
- `select_api_tier(j_score)` (`Tier 0` Local Python `$0.00` -> `Tier 1` Economy Flash-Lite `~$0.07/1M` -> `Tier 2` Mid-Tier Workhorse + Prompt Caching `~$0.30/1M` -> `Tier 3` Frontier Reasoning),
- `precompute_candidate_equations_menu(terms, targets=(333, 666, 777))` (solves and Gate-2-filters candidate equations in `Tier 0` Python in `< 20 ms` so LLMs only pick integer indices rather than burning reasoning tokens on arithmetic),
- `build_cached_messages(system_prefix, variable_tail)` (immutable prefix ordering for `75%–90%` prompt cache discounts), and
- `estimate_token_cost(input_tokens, output_tokens, tier, cached_fraction)`.
2. Register `hs-route-job = "hyperstitionstud_io.economizer:main"` in `pyproject.toml`, expose `hs_route_job_economizer` in `hyperstitionstud_io.mcp.tools`, and add unit tests to `tests/test_core_suite.py`.
---
## 3. Optional Operational & Archival Follow-Ups on Completed Plans
### 3.1 Optional Public `/mcp` Reverse-Proxy Route in `deploy/Caddyfile` & `deploy/hyperstition-mcp.service`
- `hs-mcp` (`--transport stdio` and `--transport http`) is implemented and tested locally. Adding `deploy/hyperstition-mcp.service` (`127.0.0.1:8095`) and `handle /mcp* { reverse_proxy 127.0.0.1:8095 }` to `deploy/Caddyfile` is an optional step if you want `https://hyperstitionstud.io/mcp` exposed publicly on the Linode VPS in addition to local `stdio`.
### 3.2 Archiving Completed `v2.0.2–v2.0.7` Plan Files into `docs/archive/` (Per Option 3)
- Now that `PLAN-LEARNING-SUBPAGE-*`, `PLAN-MEMETIC-GALLERY-*`, `PLAN-GLOBAL-SITE-FOOTER-*`, `PLAN-MCP-SERVER-*`, `PLAN-QUANTITATIVE-FINANCIAL-*`, and `ASSESSMENT-IPLD-DAG-JSON-*` are implemented in `v2.0.8`, moving their pre-implementation plan PDFs and Markdown files from `encyclopedia-knowledge-graph/docs/` into `encyclopedia-knowledge-graph/docs/archive/` (and updating `VPS-AND-GIT-OPERATOR-DEPLOYMENT-GUIDE.{md,pdf}` to list `/learn/`, `/gallery/`, `hs-mcp`, and `hs-quant-harvest`) will keep top-level `docs/` clean.
### 3.3 Optional Earlier Audio Series Continuation (`Episodes 06–09` / Parts V–VIII of *The Singularity Field Guide*)
- Archived Plan Document: `/workspace/technocapital-singularity-zoology/docs/archive/podcast-series-plan-encyclopedia-of-technocapital-singularity-zoology.pdf`.
- Episodes `01–05` (covering Ontological Divisions `00` through `04`) are complete on disk; Parts `V–VIII` (Divisions `05` through `08`) remain optional.
@@ -120,7 +120,7 @@
<div class="pulse-dot"></div>
<h1>Cross-Repository Dependency Graph &amp; Auditable Build &rarr; Test &rarr; Stage_Commit Pipeline</h1>
</div>
<p class="subtitle">Sibling Repositories under /workspace: ingglish-hyperdope-gematria &bull; technocapital-singularity-zoology (v1.7.0) &bull; encyclopedia-knowledge-graph (v1.0.0)</p>
<p class="subtitle">Sibling Repositories under /workspace: ingglish-hyperdope-gematria &bull; technocapital-singularity-zoology (v2.0.29) &bull; encyclopedia-knowledge-graph (v2.0.29)</p>
</div>
<!-- Main SVG Diagram -->
+1 -1
View File
@@ -2,7 +2,7 @@
"$schema": "./schemas/v1/encyclopedia-graph.schema.json",
"$id": "urn:io:hyperstitionstud:schema:v1:encyclopedia-graph",
"namespace_urn": "urn:io:hyperstitionstud:ns:kg:1.0",
"version": "2.0.0",
"version": "2.0.29",
"encyclopedia_base_path": "../technocapital-singularity-zoology/encyclopedia",
"upstream_repository": "/workspace/technocapital-singularity-zoology",
"isolation_verified": {
+1 -1
View File
@@ -3,7 +3,7 @@ window.HyperstitionStudio.EncyclopediaGraphData = {
"$schema": "./schemas/v1/encyclopedia-graph.schema.json",
"$id": "urn:io:hyperstitionstud:schema:v1:encyclopedia-graph",
"namespace_urn": "urn:io:hyperstitionstud:ns:kg:1.0",
"version": "2.0.0",
"version": "2.0.29",
"encyclopedia_base_path": "../technocapital-singularity-zoology/encyclopedia",
"upstream_repository": "/workspace/technocapital-singularity-zoology",
"isolation_verified": {
+43 -15
View File
@@ -3,19 +3,19 @@
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Encyclopedia of Technocapital Singularity Zoology — Interactive Knowledge Graph (v1.0.0)</title>
<title>Encyclopedia of Technocapital Singularity Zoology — Interactive Knowledge Graph (v2.0.29)</title>
<style>
:root {
--bg-canvas: #121318;
--bg-panel: #1A1D26;
--bg-card: #242834;
--border-col: #323846;
--text-main: #F3F5FA;
--text-muted: #9BA3B8;
--accent-red: #FF4D4D;
--accent-cyan: #00E5FF;
--accent-gold: #F5C630;
--accent-mint: #7FFF7F;
--bg-canvas: #020617;
--bg-panel: #0c1324;
--bg-card: #111a2e;
--border-col: #26344d;
--text-main: #e2e8f0;
--text-muted: #94a3b8;
--accent-red: #f43f5e;
--accent-cyan: #38bdf8;
--accent-gold: #f59e0b;
--accent-mint: #10b981;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
@@ -268,7 +268,7 @@
<header>
<div class="brand">
<h1>ENCYCLOPEDIA OF TECHNOCAPITAL SINGULARITY ZOOLOGY — INTERACTIVE KNOWLEDGE GRAPH</h1>
<p>Standalone Sibling Repository (/workspace/encyclopedia-knowledge-graph) • 388 Nodes • 1,282 Deduplicated Edges • Zero Glossary Leak</p>
<p>Standalone Sibling Repository (/workspace/encyclopedia-knowledge-graph) • 388 Nodes • 1,282 Deduplicated Edges • Zero Glossary Leak &bull; v2.0.29</p>
</div>
<div class="toolbar">
<button class="btn active" data-mode="mode2_radar">Mode 2: ETI Radar (S+ -> D Periphery)</button>
@@ -321,10 +321,10 @@
</aside>
</div>
<footer class="hs-global-footer" style="background:#1A1D26;border-top:1px solid #323846;padding:4px 14px;text-align:center;font-size:11px;color:#9BA3B8;z-index:20;">
<span class="hs-lemur-credit">Made with <span class="hs-heart" role="img" aria-label="love" style="color:#FB7185;display:inline-block;padding:0 2px;">&#x2665;</span> by Lemurs.</span>
<span class="hs-lemur-credit">hyperstitionstud.io/graph v2.0.29 &bull; Made with <span class="hs-heart" role="img" aria-label="love" style="color:#FB7185;display:inline-block;padding:0 2px;">&#x2665;</span> by Lemurs.</span>
</footer>
<script src="graph-data.js"></script>
<script src="graph-data.js?v=2.0.29"></script>
<script>
(function() {
const DATA = (window.HyperstitionStudio && window.HyperstitionStudio.EncyclopediaGraphData) || window.ENCYCLOPEDIA_GRAPH_DATA;
@@ -797,7 +797,35 @@
window.addEventListener("resize", resizeCanvas);
resizeCanvas();
selectNode(nodeMap["build:S1"] || DATA.nodes[0]);
// Deep-link query parameter support (?select=aq:137&mode=mode2_radar)
const urlParams = new URLSearchParams(window.location.search || "");
const reqMode = urlParams.get("mode");
if (reqMode && ["mode1_trophic", "mode2_radar", "mode3_bipartite"].includes(reqMode)) {
currentMode = reqMode;
document.querySelectorAll("[data-mode]").forEach(b => {
b.classList.toggle("active", b.getAttribute("data-mode") === reqMode);
});
}
const reqSelect = (urlParams.get("select") || "").trim();
let initialNode = nodeMap["build:S1"] || DATA.nodes[0];
if (reqSelect) {
const selLow = reqSelect.toLowerCase();
const selCoord = selLow.replace(/^aq:/, "");
const matchedNode = nodeMap[reqSelect] || DATA.nodes.find(n =>
String(n.id).toLowerCase() === selLow ||
String(n.ing_aq || "") === selCoord ||
String(n.aq_value || "") === selCoord ||
String(n.label || "").toLowerCase().includes(selLow)
);
if (matchedNode) {
initialNode = matchedNode;
}
}
selectNode(initialNode);
if (reqSelect && initialNode) {
centerOnNode(initialNode);
}
})();
</script>
</body>
@@ -705,7 +705,7 @@ def build_graph(upstream_repo: Path = UPSTREAM_REPO_DEFAULT) -> dict[str, Any]:
"$schema": "./schemas/v1/encyclopedia-graph.schema.json",
"$id": URN_SCHEMA_GRAPH,
"namespace_urn": URN_GRAPH_NS,
"version": "2.0.0",
"version": "2.0.29",
"encyclopedia_base_path": "../technocapital-singularity-zoology/encyclopedia",
"upstream_repository": str(upstream_repo),
"isolation_verified": {