Compare commits

...
37 Commits
Author SHA1 Message Date
Hermes Agent d9f4413847 Release v2.2.0: EROFS ProtectSystem=strict test harness (34x stats-card fast-path), homepage /engineering/ & /math/ navigation wiring, and additive Guile Scheme lens + offline Z-combinator REPL 2026-12-01 01:02:43 +00:00
Hermes Agent 40be2ac8d3 Release v2.1.1: Fix ProtectSystem=strict read-only filesystem handling in hs_generate_ticker_stats_card and hyperstition-mcp.service 2026-12-01 00:34:27 +00:00
Hermes Agent 09c6b716f1 Release v2.1.0: Add PLAN-GUILE-SCHEME-PEDAGOGICAL-TOGGLE-AND-IN-BROWSER-REPL and force-update synchronized release tags 2026-12-01 00:27:43 +00:00
Hermes Agent 37cd610a25 Release v2.1.0: Programmatic zero-token version bumper (hs-sync-version --auto-bump) and daily 00:20 UTC VPS archive rotation cronjob (deploy/run-vps-archive-rotation.sh) 2026-12-01 00:21:20 +00:00
Hermes Agent a2a84f429a Release v2.0.30: Cold-archive rotation (.tar.gz), 6-Gate public regression suite (hs-public-smoke), VPS-native periodic data production timers, /engineering/ (E0-E5) & /math/ (M0-M5) explication hubs, and LLM pipeline operator manual 2026-12-01 00:06:05 +00:00
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
Hermes Agent 86d8f7eaea feat(footer): add global 'Made with ♥ by Lemurs.' footer across index.html and dependency flow diagram (v2.0.8) 2026-11-30 03:39:56 +00:00
Hermes Agent 8a8fab799e docs(economizer): add plan for economizing LLM token spend via marginal procedure-step variance and 4-tier API routing (v2.0.7) 2026-11-30 03:18:30 +00:00
Hermes Agent 30557c6fae docs(quant): add architecture plan for periodic quantitative financial telemetry pipeline as a source of contingent meaning (v2.0.6) 2026-11-30 02:47:46 +00:00
Hermes Agent 6c4b98f31d docs(gallery): add plan for read-only memetic artifact gallery sub-page (/gallery/) leveraging existing 35 visual specimens (v2.0.5) 2026-11-30 02:29:09 +00:00
Hermes Agent 6ba606ebbb docs(footer): add plan for global site footer 'Made with ♥ by Lemurs.' across all HTML surfaces (v2.0.4) 2026-11-30 02:26:19 +00:00
Hermes Agent b950d56096 docs(mcp): add architecture and implementation plan for hyperstitionstud.io MCP server (hyperstitionstud_io.mcp / hs-mcp) (v2.0.3) 2026-11-30 02:24:21 +00:00
Hermes Agent d74d6085b4 docs(learn): add architecture and curriculum plan for self-paced /learn/ sub-page with local state upload and download (v2.0.2) 2026-11-30 01:59:48 +00:00
Hermes Agent e386af1160 docs(vps): add Section 5 procedure for reflecting git pull updates on live tmpfs RAM mount, Caddy reload rules, and browser cache handling (v2.0.1) 2026-11-30 01:44:58 +00:00
Hermes Agent c6c269a312 docs(ipld): add technical assessment PDF and Markdown for integrating IPLD dag-json codec (v2.0.0) 2026-11-30 01:39:40 +00:00
Hermes Agent 77b7946733 release(v2.0.0): commemorate v2.0.0 major milestone release, add MILESTONE-V2-RELEASE-WINS-AND-LESSONS-LEARNED.{md,pdf}, and update VPS guide with Caddy GPG fix 2026-11-30 01:10:58 +00:00
45 changed files with 1125 additions and 1852 deletions

No files matched your search

Binary file not shown.
+4 -3
View File
@@ -1,4 +1,4 @@
# `encyclopedia-knowledge-graph` (`v1.0.0`)
# `encyclopedia-knowledge-graph` (`v2.0.0`)
Standalone open-source interactive knowledge graph workbench, multi-format graph compiler (`JSON`, `GraphML`, `GEXF`, `Obsidian JSON Canvas`), visual atlas renderer, and operator's manual for the **Encyclopedia of Technocapital Singularity Zoology**.
@@ -71,7 +71,8 @@ Open `encyclopedia-knowledge-graph/index.html` directly from your file manager o
| `index.html` & `graph-data.js` | Offline-capable interactive dark-mode HTML5/Canvas workbench (`388` nodes, `1,282` deduplicated edges) |
| `encyclopedia-graph.{json,graphml,gexf}` & `encyclopedia.canvas` | Open-source graph interchange exports (`xmlns:hs="urn:io:hyperstitionstud:ns:kg:1.0"`) |
| `atlas-mode{1,2,3}.png` | High-resolution (`1600x1060`) visual atlas boards (Trophic Food-Web, Concentric ETI Radar `S+ -> D Periphery`, Bipartite `Gen 0 -> Gen 1` Funnel) |
| `docs/VPS-AND-GIT-OPERATOR-DEPLOYMENT-GUIDE.{md,pdf}` | Unified Git Operator (`git.libre.audio`) & Linode/Akamai VPS per-repo deployment guide |
| `docs/MILESTONE-V2-RELEASE-WINS-AND-LESSONS-LEARNED.{md,pdf}` | `v2.0.0` Milestone Release Report: Wins Achieved, 6-Repo Architecture & 8 Technical Lessons Codified |
| `docs/VPS-AND-GIT-OPERATOR-DEPLOYMENT-GUIDE.{md,pdf}` | Unified Git Operator (`git.libre.audio`) & Linode/Akamai VPS per-repo deployment guide (`v2.0.0`) |
| `docs/cross-repo-dependency-and-audit-flow-diagram.{html,png,pdf,md}` | Visual Dependency Flow Diagram & 3-Stage `BUILD -> TEST -> STAGE_COMMIT` Audit Pipeline |
| `docs/specification-concentric-eti-tier-ring-radar-d-periphery.{md,pdf}` | Geometric & ecological specification of Mode 2 Concentric ETI Tier-Ring Radar (`S+` Center to `D` Periphery) |
| `docs/archive/` | Historical pre-implementation plans and iterative design records (`docs/archive/README.md`) |
| `docs/archive/` | Historical `v1.x` pre-implementation plans and iterative design records (`docs/archive/README.md`) |
@@ -0,0 +1,46 @@
# Milestone Release Report (`v2.0.0`): Wins Achieved, Architecture Codified & Lessons Learned Across the `hyperstitionstud.io` Ecosystem
- **Document ID:** `MILESTONE-V2-RELEASE-WINS-AND-LESSONS-LEARNED` (`v2.0.0`)
- **Milestone Release Tag Across Core Repositories:** `v2.0.0`
- `/workspace/hyperstitionstudio-core` (`v2.0.0`)
- `/workspace/encyclopedia-knowledge-graph` (`v2.0.0`)
- `/workspace/technocapital-singularity-zoology` (`v2.0.0`)
- `/workspace/ingglish-hyperdope-gematria` (`main`, synchronized `v2.0.0` dependency manifest)
- `/workspace/haiperdohp-jemaytreeah` (`main`, integrated `/calc/` application)
- `/workspace/hyperdope-ci-build` (`feat/ingglish-aq-corpus`, `/ci/` 4-Gate CI corpus)
- **Live Production Verification:** `10/10` end-to-end deployment success (`28/28` HTTP routes verified `200 OK`; `6/6` core test suites passed; `6/6` Knowledge Graph CI gates passed; `0` SHA-256 mutations on protected upstream registries).
---
## 1. Major Engineering & Domain Wins Achieved in the `v2.0.0` Milestone
1. **Six-Repository Modular Peer-Sibling Architecture (`git.libre.audio` <-> Local `/workspace` <-> Linode/Akamai VPS):**
- Established a 1-to-1 mapping between the 6 `git.libre.audio` repositories under `seasharp`, their persistent VPS clones in `/srv/hyperstitionstud.io/repos/<repo-slug>`, their RAM-backed `tmpfs` mirrors in `/var/www/hyperstitionstud.io/repos/<repo-slug>` (`512 MB`, `0` disk IOPS in the HTTP/3 request path), and their live web routes on `https://hyperstitionstud.io`:
- `/` & `/schemas/v1/*` -> `hyperstitionstudio-core` (`site/index.html` & `schemas/v1/*.schema.json`)
- `/graph/*` -> `encyclopedia-knowledge-graph` (`388` nodes, `1,282` deduplicated edges, 4 spatial layout modes + 1-hop ego isolator)
- `/encyclopedia/*`, `/technocapital-singularity-zoology/*` & `/zoology/*` -> `technocapital-singularity-zoology` (`9` divisions, `22` PDF volumes, `122` pages, `282`-term glossary, `ETI v2.0.0` tier list, Dossiers `65–69`, and 5 stakeholder proposals)
- `/archive/*` -> `ingglish-hyperdope-gematria/ingglish-aq-archive` (Dossiers `01–70` & `00:00 GMT` wire harvests)
- `/calc/*` -> `haiperdohp-jemaytreeah` (confluence of `hyperdope-ci-build` database output and upstream `hyperdope-gematria` UI with `ING` match-priority sort toggle)
- `/ci/*` -> `ingglish-hyperdope-ci` (`ONBOARDING-INGGLISH-AQ.pdf` & `ci-audit-report.json`).
2. **Shared Common Library (`hyperstitionstudio-core` / `hyperstitionstud_io.*` v2.0.0):**
- Extracted unified Base-36 `AQ` cipher math, prime-rank sieves, `G1–G6` vector evaluators, a `4,897`-entry offline `CMUdict` phonetics fallback (`cmudict_fallback.json`), a cross-OS TrueType font resolver (`publishing.fonts`), a ReportLab Markdown-to-PDF compiler (`hs-pdf-build`), a pure-Python `hashlib.sha256` isolation context manager (`ReadOnlyIsolationGuard`), a full 11-function / 7-subcommand local-config citation verifier (`hs-citations`), and a single-command environment diagnostic (`hs-doctor`).
3. **100% Offline (`file://`) & HTTP/3 Edge (`https://`) Dual Portability:**
- Replaced all networked `https://` schema and font links with RFC 8141 URN identifiers (`urn:io:hyperstitionstud:ns:kg:1.0`, `urn:io:hyperstitionstud:schema:v1:*`), local relative `$schema` paths, synchronous `<script src="graph-data.js">` data loading, and local monospace font stacks.
- Because Caddy maps `/technocapital-singularity-zoology/*` alongside `/graph/*`, the unmodified relative link `../technocapital-singularity-zoology/encyclopedia/<div_id>/<slug>.pdf` inside `encyclopedia-knowledge-graph/index.html` works identically over `file://`, local `python3 -m http.server`, and production `https://hyperstitionstud.io/graph/` without rewriting a single byte of `graph-data.js`.
4. **Cryptographic Read-Only Upstream Isolation (`Zero Glossary Leak`):**
- Across every graph rebuild, common-library refactor, and VPS deployment pass, `taxonomy/glossary-registry.json` (`282` entries, SHA-256 `7564ef40fb3e0e18d1d8547522db431b6a369c40139713b573df6e58b972d43d`) and `encyclopedia/encyclopedia-manifest.json` (`9` divisions, `22` PDFs, SHA-256 `0d7ce833bb0aa0eea069bf764b2e3b0b36ac2631821c42f3d6bcb897335f8a7d`) remained 100% byte-for-byte invariant.
---
## 2. Eight Technical Lessons Learned & Permanently Codified
| # | Symptom / Failure Mode Encountered | Root Cause | Permanent Engineering Fix Codified in `v2.0.0` |
| :- | :--- | :--- | :--- |
| **1** | `--query-node "125"` reported `degree: 8` but `incident_edge_count: 9` in the Knowledge Graph. | Shared flex hubs (`125`, `129`, `133`, `136`, `137`) bridged by multiple guilds emitted duplicate parallel `TROPHIC_GUILD_BRIDGE` edges (`("aq:125", "build:S6")`). | Added `seen_edges: set[tuple[str, str, str]]` in `add_edge()`, deduplicating `1,287 -> 1,282` edges (`40 -> 35` bridge edges) so `incident_edge_count == degree` holds globally. |
| **2** | `ModuleNotFoundError: No module named 'io.hyperstitionstud'; 'io' is not a package`. | `io` is a built-in C stdlib module in Python (`sys.builtin_module_names`), which cannot act as a PEP 420 namespace package root. | Named the top-level Python package `hyperstitionstud_io` (`from hyperstitionstud_io.ciphers import ...`) while retaining `urn:io:hyperstitionstud:*` for XML/JSON URNs. |
| **3** | Citation URL resolution risked coupling to `git remote` subprocesses or fabricating dead global namespace URLs. | Mixing code/schema identity (`hyperstitionstud.io`) with artifact hosting location. | Restricted `resolve_citation_target()` in `hyperstitionstud_io.ci.citation_sources` strictly to `[citations.path_mounts]` in local `workspace.toml`, falling back to the verified local filesystem path (`0%` VCS subprocesses). |
| **4** | Outside `/workspace`, `build_encyclopedia_knowledge_graph.py` dropped all `281` `IN_VOLUME` edges. | `encyclopedia-manifest.json` stores `/workspace/...` in `vol["md_path"]`; checking `Path(vol["md_path"]).exists()` failed in other directories. | Resolved volume Markdown files relative to `upstream_repo / "encyclopedia" / div_id / f"{slug}.md"` first, keeping `encyclopedia-manifest.json`'s locked SHA-256 untouched. |
| **5** | `push-all-to-git-libre-audio.sh` failed under host `zsh`/`sh` with `No module named 'hyperstitionstud_io'`. | `${BASH_SOURCE[0]}` is unset in `zsh`/`sh`, and `PYTHONPATH` had no exported default value. | Used `${BASH_SOURCE[0]:-$0}` with explicit `/home/m00t/hermes/workspace` fallback and `export PYTHONPATH="${WORKSPACE_DIR}/hyperstitionstudio-core/src..."`. |
| **6** | `hs-doctor` failed on the VPS in Step 5 (`Verify environment & all 6 Knowledge Graph CI gates`). | In `src/hyperstitionstud_io/config/__init__.py`, `Path(__file__).resolve().parents[2]` stopped at `hyperstitionstudio-core/src` instead of `parents[3]` (`hyperstitionstudio-core`), so `WORKSPACE_ROOT` missed `/srv/hyperstitionstud.io/repos/workspace.toml`. | Updated `CORE_REPO_ROOT` to `parents[3]` and added `Path.cwd() / "workspace.toml"` to the configuration search candidates. |
| **7** | `haiperdohp-jemaytreeah` fresh clones lacked `config.js`, `db.json`, and `db_lite.json` (`404` on `/calc/*`). | `haiperdohp-jemaytreeah/.gitignore` excludes those 3 files, and `generate_db_json.py` requires explicit `db.txt db.json` arguments. | Added explicit Step 2b / Step 5 instructions and automated `cp config.default.js config.js` + `python3 tools/generate_db_json.py db.txt db.json` inside `deploy/sync-vps-repos.sh`. |
| **8** | `sudo apt update` on Debian VPS reported `NO_PUBKEY ABA1F9B8875A6661` on Caddy's Cloudsmith repo. | Cloudsmith rotated the GPG signing key for `dl.cloudsmith.io/public/caddy/stable`. | Added the GPG keyring refresh (`curl -1sLf 'https://dl.cloudsmith.io/public/caddy/stable/gpg.key' \| sudo gpg --dearmor --yes -o /usr/share/keyrings/caddy-stable-archive-keyring.gpg`) directly into Step 3 of the VPS deployment guide. |
@@ -0,0 +1,71 @@
# Operator's Manual: LLM-Token-Dependent vs. Zero-Token Deterministic Parts of the `hyperstitionstud.io` Data Pipeline (`v2.0.29`)
- **Document ID:** `OPERATORS-MANUAL-LLM-TOKEN-DEPENDENT-DATA-PIPELINES` (`v2.0.29`)
- **Canonical Locations:**
- `/workspace/encyclopedia-knowledge-graph/docs/OPERATORS-MANUAL-LLM-TOKEN-DEPENDENT-DATA-PIPELINES.md`
- `/workspace/encyclopedia-knowledge-graph/docs/OPERATORS-MANUAL-LLM-TOKEN-DEPENDENT-DATA-PIPELINES.pdf`
- **Core Operational Architecture (Post-`PLAN-CRONJOB-ARCHIVE-ROTATION-ON-HYPERSTITIONSTUD-IO`):**
1. **Zero LLM Tokens & Zero API Keys on `hyperstitionstud.io`:** The public VPS web host (`hyperstitionstud.io`) stores **0 LLM/OpenRouter API keys** and runs **0 LLM-dependent jobs**. All VPS scheduled tasks (`21:30 UTC` Closing-Bell Harvest, `00:00 UTC` Rollover Refresh, and `00:20 UTC` CI Provisioning + Archive/SQLite Rotation) execute `100%` deterministic local Python and Bash scripts (`unset OPENROUTER_API_KEY OPENAI_API_KEY ANTHROPIC_API_KEY`).
2. **Single Remaining Recurring LLM Cronjob on `localhost` (`d28b479ec217`):** Following the elimination of the two non-exegesis `localhost` Hermes cronjobs (`29c871eb6b78` and `7effa9679803`, saving `12` LLM agent cron runs per week / `-63%`), **`d28b479ec217` (`current-events-isopsephic-exegesis-daily-0000-gmt`) is the sole recurring job in the ecosystem that consumes metered LLM tokens.**
---
## 1. Master Boundary Table: Metered LLM Surfaces (`localhost` Only) vs. Zero-Token VPS & CLI Surfaces
| Pipeline Component / Cronjob / CLI | Execution Host & Surface | Metered LLM Token Cost | Role & Boundary Between Deterministic Code and LLM Exegesis |
| :--- | :--- | :---: | :--- |
| **1. `d28b479ec217` (`current-events-isopsephic-exegesis-daily-0000-gmt`, `00:00 UTC` / `19:00 EST` Daily)** | **`localhost` Only** (Hermes Agent Cron — **Sole Recurring LLM Cronjob**) | **METERED (`~15K–35K` tokens/run, `7` runs/wk)** | • **Step A (`0` tokens):** Runs `collect_news_aq.py` (`TZ=UTC`) to fetch Wikipedia `Portal:Current_events`, BBC RSS, and AP RSS, translate terms via Node `ingglish`, and compute `333/666/777` candidate equations.<br/>• **Step B (Metered LLM Exegesis):** Selects the top 5–8 stories, writes the synchronic critical prose commentary ("exegesis") under Division `08` *"The Room Filter"*, writes `<NN>-dossier-news-YYYY-MM-DD.md`, and updates `00-index-and-methodology.md`.<br/>• **Step C (`0` tokens, in-turn):** Runs `ci_provision_ingglish.py --tier 2 --apply-repo` deterministically at the end of the turn (replacing former job `7effa9679803`). |
| **2. Ad-Hoc Creative / Editorial Synthesis Skills** (`isopsephic-lecture-synthesis`, `isopsephic-wire-report-synthesis`, `technocapital-singularity-zoology`) | **`localhost` Only** (On-Demand Operator Chat Turn) | **METERED (`~15K–45K` tokens when invoked manually)** | • Invoked only when the operator explicitly asks to draft a new spoken lecture (`lecture-*-ingglish-aq.md`), wire report, thematic dossier, or podcast script (`Episodes 06–09`). Never scheduled via cron. |
| **3. Window A (`21:30 UTC` Mon–Fri): US Closing-Bell Market, FRED Macro & Bayesian Brief** | **`hyperstitionstud.io` VPS** (`hyperstition-closing-bell-harvest.timer` -> `deploy/run-vps-data-production.sh --window=us-closing-bell`)<br/>*(Former `localhost` `29c871eb6b78` eliminated)* | **`0` METERED LLM TOKENS (`0` API Keys)** | • `100%` deterministic Python: `hs-quant-harvest --append-history --live`, `hs-macro-harvest` (`FRED` CSV), `quant/timeseries.py` (14-point `eng_aq`/`ing_aq` census & `Dose 0..3+`), `hs-daily-brief` (5-Agenda Bayesian update), `tmpfs` hydration, and `git.libre.audio` push. Eliminates `5` LLM cron runs/week. |
| **4. Window B (`00:00 UTC` Daily): Rollover Time-Series & Knowledge Graph Refresh** | **`hyperstitionstud.io` VPS** (`hyperstition-utc-rollover-harvest.timer` -> `deploy/run-vps-data-production.sh --window=utc-rollover`) | **`0` METERED LLM TOKENS (`0` API Keys)** | • `100%` deterministic Python: recomputes `timeseries.py`, `hs-daily-brief`, and `build_encyclopedia_knowledge_graph.py` (`388` nodes / `1,282` edges) and hydrates `tmpfs`. |
| **5. Window C (`00:20 UTC` Daily): CI Provisioning, Cold-Archive Rotation & SQLite Logrotate** | **`hyperstitionstud.io` VPS** (`/etc/cron.d/hyperstition-archive-rotate` & `hyperstition-archive-rotate.timer` -> `deploy/run-vps-archive-rotation.sh`)<br/>*(Former `localhost` `7effa9679803` eliminated)* | **`0` METERED LLM TOKENS (`0` API Keys)** | • `100%` deterministic Python: runs `ci_provision_ingglish.py` (`--tier 2 --apply-repo`) + `generate_db_json.py`, `hs-archive-rotate` (`docs/archive/completed-plans-archive.tar.gz`), and `sqlite_meta --run-logrotate-directive` (`100M` `.1.gz`). Eliminates `7` LLM cron runs/week. |
| **6. All Other Compilers, Renderers & Verifiers** (`hs-pdf-build`, `hs-ticker-card`, `hs-eng-docs`, `hs-math-docs`, `hs-public-smoke`, `hs-mcp`) | Local / VPS Python CLI & `hyperstition-mcp.service` (`:8095`) | **`0` METERED LLM TOKENS (`0` API Keys)** | • `100%` local CPU execution: Dark-Mode PDFs, `900×1260` `.png+.json` Stats Cards, `/engineering/` & `/math/` introspection, and Gates `P1–P6` regression checks. |
---
## 2. Operating the Sole Remaining LLM-Dependent Cronjob (`d28b479ec217` on `localhost`)
### 2.1 Job Configuration (`cronjob_manage(action="list")`)
- **Job ID:** `d28b479ec217` (`current-events-isopsephic-exegesis-daily-0000-gmt`)
- **Schedule:** `0 19 * * *` (`19:00 EST` / `00:00 UTC` Daily on `localhost`)
- **Skills Loaded:** `["current-events-isopsephic-exegesis", "phonetic-and-gematria-ciphers", "hyperdope-ingglish-ci"]`
- **Continuity:** `True` (injects the prior run's output to deduplicate multi-day "Most Read" stories)
- **Single-Turn End-to-End Execution (No Chained Second Agent Job):**
Because `7effa9679803` is eliminated (`PLAN-CRONJOB-ARCHIVE-ROTATION-ON-HYPERSTITIONSTUD-IO`), `d28b479ec217` executes the deterministic `ci_provision_ingglish.py --tier 2 --apply-repo` command directly in `terminal` at the end of its own turn after saving `<NN>-dossier-news-YYYY-MM-DD.md`—avoiding a second LLM agent invocation and eliminating `context_from` race conditions and concurrent `HTTP 402` credit spikes altogether!
---
## 3. Standard Operating Procedures (SOPs)
### SOP 1: Running or Backfilling `d28b479ec217` for a Specific UTC Date (`YYYY-MM-DD`) on `localhost`
1. **Pre-Verify Headlines at `0` LLM Token Cost:**
```bash
TZ=UTC python3 /workspace/ingglish-hyperdope-gematria/ingglish-aq-archive/scripts/collect_news_aq.py \
--date YYYY-MM-DD \
--out /workspace/ingglish-hyperdope-gematria/ingglish-aq-archive/news-aq-harvest-YYYY-MM-DD.json
```
2. **Trigger `d28b479ec217` on `localhost`:**
```text
cronjob_manage(
action="run",
job_id="d28b479ec217",
prompt="CRITICAL OVERRIDE: pass --date YYYY-MM-DD to collect_news_aq.py, write the dossier for YYYY-MM-DD, and run ci_provision_ingglish.py --tier 2 --apply-repo."
)
```
### SOP 2: What Happens If `localhost` Is Off or `d28b479ec217` Is Paused
- Because all market, FRED macro, time-series, Bayesian daily-brief, archive-rotation, and SQLite logrotate jobs run autonomously on `hyperstitionstud.io` via `systemd` timers and `/etc/cron.d/hyperstition-archive-rotate` (`0` LLM tokens, `0` API keys):
- **If `localhost` is asleep or `d28b479ec217` is paused**, `https://hyperstitionstud.io/quant/` continues updating its closing-bell market bars, FRED macro series, `Dose 0..3+` scores, and 5-Agenda Bayesian Daily Brief on schedule (`equation_counts` for any date without a news dossier simply serialize as `{"eq_333": null, "eq_666": null, "eq_777": null, "total": null}`, `"No data available"`).
- When `localhost` wakes up, `d28b479ec217` (`catch_up=True` default) backfills the missed UTC news dossier (`collect_news_aq.py` automatically checks `now_utc - 48h` before `now_utc - 24h`) and pushes to `git.libre.audio`, which the VPS pulls on its next `00:20 UTC` / `21:30 UTC` timer tick.
---
## 4. Troubleshooting Reference for `d28b479ec217` (`localhost` Exegesis)
| Symptom / Failure Mode | Root Cause | Exact Operator Remedy |
| :--- | :--- | :--- |
| **1. `collect_news_aq.py` returns `0` Wikipedia items at `00:00 UTC`** | At `00:00 UTC`, the newly started UTC day section on Wikipedia `Portal:Current_events` is still empty while `now_utc - 24h` holds the completed 24-hour global ledger; or `&#95;` HTML entities in `id="2026&#95;November&#95;30"` were not unescaped. | `collect_news_aq.py` automatically targets `now_utc - 24h` (and checks `now_utc - 48h` for unarchived backfills) and runs `html.unescape()`. If running manually during afternoon UTC, pass `--date YYYY-MM-DD` explicitly. |
| **2. Foreground `terminal` timeout (`> 180s`) during `333/666/777` equation search** | The agent wrote a global 6-nested combinatorial loop across all 5–8 stories simultaneously (`> 600M` iterations). | Always partition vocabulary by story cluster (`<= 15` items per part of speech per story) so all clusters complete in `< 2s`. |
| **3. Node `ERR_MODULE_NOT_FOUND: Cannot find package 'ingglish'`** | The agent invoked `node --input-type=module -e 'import("ingglish")...'` from `/root` or `/workspace` instead of `/workspace/ingglish-hyperdope-gematria`. | Always pass `workdir="/workspace/ingglish-hyperdope-gematria"` (or use `python3 -c "from hyperstitionstud_io.phonetics import translate_batch..."` with `PYTHONPATH=/workspace/hyperstitionstudio-core/src`). |
| **4. `ci_provision_ingglish.py` Gate 2 drops an 8–9 word `666/777` equation as `long-scraped`** | Lines with `nw >= 15` total tokens (including `[Ingglish: ...]`) require `>= 40%` standard `/usr/share/dict/words` hits; equations packed with out-of-dictionary acronyms (`TSMC`, `ASML`, `NVDA`, `Dario`, `Amodei`) dip below `0.40`. | Pair proper-noun anchors in `666/777` equations with standard English nouns (`proof`, `grid`, `wafer`, `silicon`, `drone`, `laser`, `loss`) so `dict_hits / nw >= 0.45`. |
| **5. LLM invents or guesses an AQ sum or Ingglish spelling in prose** | Mental arithmetic by the LLM instead of copying deterministic script output. | Never allow mental AQ calculation: every `(word, ing, eng_aq, ing_aq, breakdown = 333/666/777)` printed in a dossier must be copied verbatim from `collect_news_aq.py` / `hyperstitionstud_io.ciphers.compute_aq()`, and verified afterward by `ci_provision_ingglish.py` Gate 4 (`aq_mismatches == 0`). |
@@ -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.
@@ -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`).
@@ -0,0 +1,113 @@
# 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.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.
---
## 1. Defining Marginal Procedure-Step Variance ($\sigma^2_{\text{step}}$) Across Pipeline Workflows
Every workflow in the `hyperstitionstud.io` workspace decomposes into a directed sequence of procedure steps $J = (s_1, s_2, \dots, s_m)$. At each step $s_k$, the **marginal procedure-step variance** $\sigma^2_{\text{step}}(s_k \mid s_{k-1}, \text{Spec})$ measures the dispersion of valid outputs given the prior step's output and the formal specification:
$$\sigma^2_{\text{step}}(s_k) \propto H\!\left(Y_k \;\middle|\; Y_{k-1},\; \text{Constraints}(s_k)\right)$$
| Variance Regime | $\sigma^2_{\text{step}}$ Range | Mathematical Characterization | Qualified Compute / API Tier | Representative Cost per 1M Input / Output Tokens |
| :--- | :--- | :--- | :--- | :--- |
| **Regime 0: Deterministic / Algorithmic** | $\sigma^2_{\text{step}} = 0.00$ | Output $Y_k = f(Y_{k-1})$ is uniquely determined by arithmetic, phonetic lookup, regex, graph topology, or schema rules. | **Tier 0: Local Python Only (`hyperstitionstud_io.*`) — Zero LLM Calls** | **`$0.00 / $0.00`** (`0` tokens consumed) |
| **Regime 1: Constrained Selection & Tagging** | $0.00 < \sigma^2_{\text{step}} \le 0.15$ | Python pre-computes a small finite candidate set ($N \le 10$ valid equations or enum tags); step $s_k$ only selects the most natural candidate index or confirms a state gate. | **Tier 1: Economy / Flash-Lite Model** (e.g., `gemini-2.5-flash-lite`, `gpt-4o-mini`, `claude-3-5-haiku`, or local quantized `14B`) | **`~$0.07 / $0.30`** (`85–95%` savings vs. mid-tier; `98%` vs. frontier) |
| **Regime 2: Template-Bound Expository Synthesis** | $0.15 < \sigma^2_{\text{step}} \le 0.50$ | All numerical locks, `G1–G6` vectors, and `[n]` citation quotes are pre-locked in a compact JSON brief; step $s_k$ drafts register-specific prose around those fixed anchors. | **Tier 2: Mid-Tier Structured Workhorse** (e.g., `gemini-2.5-flash`, `claude-3-7-sonnet` non-thinking, `gpt-4o`) + **Prompt Caching** | **`~$0.30 / $1.50`** (with `75–90%` cache discount on static system prefix) |
| **Regime 3: High-Variance Architectural & Theoretical Design** | $\sigma^2_{\text{step}} > 0.50$ | Open-ended multi-constraint system architecture, novel Landian-Deleuzean theoretical synthesis, or root-cause debugging across unindexed failure modes. | **Tier 3: Frontier Reasoning Model** (e.g., `gemini-4-argon` / `claude-opus` / `o3`) — restricted strictly to the design/synthesis step | **`$2.50–$15.00 / $10.00–$75.00`** (invoked only when $J_{\text{score}} > 65$) |
---
## 2. Five-Factor Qualification Model for API Tier Selection ($J_{\text{score}} \in [0, 100]$)
Marginal procedure-step variance ($\sigma^2_{\text{step}}$) is the primary driver, but four additional structural factors determine whether a low-cost API can safely execute a step without quality degradation or retry loops. `hyperstitionstud_io.economizer` evaluates a deterministic 5-factor score:
$$J_{\text{score}} = \text{round}\!\left(0.35 \cdot V_{\text{step}} + 0.25 \cdot D_{\text{verif}} + 0.15 \cdot C_{\text{ctx}} + 0.15 \cdot S_{\text{struct}} + 0.10 \cdot R_{\text{blast}}\right)$$
*(With the hard override: if $V_{\text{step}} == 0$, then $J_{\text{score}} = 0 \implies \textbf{Tier 0 Local Python}$).*
### The Five Qualification Factors
1. **`V_step` (`0–100`, Weight `0.35`) — Marginal Procedure-Step Variance:**
- `0`: Pure calculation, lookup, formatting, graph build, PDF/PNG compilation, or schema validation.
- `15–25`: Selecting the best 3 pre-verified equations from a Python-generated candidate list of 12, or classifying a headline into `S1–S6` / `M1–M6`.
- `45–60`: Writing a 3-paragraph dossier exegesis, barstool glossary entry, or 5-voice podcast dialogue turn from a structured JSON outline.
- `80–100`: Designing a new cross-repository architecture or formulating a novel philosophical thesis across unseen texts.
2. **`D_verif` (`0–100`, Weight `0.25`) — Absence of a Deterministic Python Verification Oracle ("Oracle Discount"):**
- **Crucial Economic Insight:** When Python has a fast, deterministic pass/fail oracle—such as `ci_provision_ingglish.py` (4-Gate CI check), `sources.py verify --evidence` (citation & verbatim quote check), or `build_encyclopedia_knowledge_graph.py --verify-only` (6-Gate graph check)—a **cheap Tier 1 or Tier 2 model can be tried first (`D_verif = 10`)**, because Python catches any formatting or citation error in `5 ms` for `$0.00`!
- Conversely, when no deterministic verifier exists for the output's semantic correctness (`D_verif = 85`), a higher-tier model is justified on the first pass to avoid undetected subtle errors.
3. **`C_ctx` (`0–100`, Weight `0.15`) — Effective Input Context Complexity & Cross-Hop Reasoning:**
- `10`: Single-item or pre-filtered 1-hop ego-network JSON payload (`< 1,500` tokens).
- `50`: Multi-story daily wire harvest synthesis (`3,000–8,000` tokens).
- `90`: Cross-repository architectural audit requiring multi-hop reasoning across 5+ modules.
4. **`S_struct` (`0–100`, Weight `0.15`) — Output Structural Freedom:**
- `10`: Constrained JSON Schema output (`enum`, boolean flags, integer array of selected equation IDs).
- `50`: Markdown table or section following a fixed dossier/proposal template.
- `90`: Free-form multi-file code refactor or philosophical essay.
5. **`R_blast` (`0–100`, Weight `0.10`) — Error Blast Radius & Reversibility:**
- `0`: Sidecar execution protected by `ReadOnlyIsolationGuard` and `.tmp -> os.replace()` atomic rollback.
- `80`: Modifying shared library APIs or public deployment configurations.
---
## 3. Concrete Audit of All Workspace Jobs Under the Economizer Rubric
Applying the 5-factor rubric across our actual workspace pipelines shows how **splitting monolithic LLM tasks into `Tier 0` Python pre/post-stages + minimal `Tier 1/2` LLM micro-steps cuts total LLM token expenditure by `88%–96%`**:
| Workspace Job / Pipeline Step | `V_step` | `D_verif` | `C_ctx` | `S_struct` | `R_blast` | $J_{\text{score}}$ | Assigned Tier & Token-Saving Mechanism |
| :--- | :-: | :-: | :-: | :-: | :-: | :-: | :--- |
| **1. Base-36 `AQ`, `Ingglish` G2P, Prime Ranks & `G1–G6` Locks** | `0` | `0` | `0` | `0` | `0` | **`0`** | **`Tier 0` (100% Python `hyperstitionstud_io`):** Never ask an LLM to compute `AQ` sums or translate Ingglish in-prompt (`$0.00`). |
| **2. Candidate `333 / 666 / 777` Equation Search & Gate 1–4 CI Filtering** | `0` | `0` | `0` | `0` | `0` | **`0`** | **`Tier 0` (100% Python Combinatorial Solver):** Python pre-solves exact `333/666/777` sums from headline/guild pools and filters for `dict_hits >= 0.40 * nw` before any LLM call (`$0.00`). |
| **3. Knowledge Graph Build (`388` Nodes, `1,282` Edges), Atlas PNGs & PDF Compilation** | `0` | `0` | `0` | `0` | `0` | **`0`** | **`Tier 0` (100% Python `build_encyclopedia_knowledge_graph.py` & `hs-pdf-build`):** Zero LLM tokens used for layout, XML/Canvas export, or ReportLab PDF generation (`$0.00`). |
| **4. Selecting Top 3 Natural Equations from Pre-Solved Python Candidates & Tagging `M1–M6` State** | `20` | `10` | `15` | `10` | `10` | **`14`** | **`Tier 1` (Economy Flash-Lite API):** Python sends only 10 pre-verified equations (`~400` input tokens); model returns JSON `{selected_ids: [0, 3, 7], state_gate: "M1"}` (`~40` output tokens). |
| **5. Daily `00:00 GMT` News Wire & `21:30 GMT` Quant Dossier Prose Synthesis** | `45` | `15` | `40` | `45` | `15` | **`34`** | **`Tier 2` (Mid-Tier Workhorse + Prompt Caching + Batch API):** Python supplies pre-verified locks; model writes Markdown prose; Python immediately verifies via `ci_provision_ingglish.py`. |
| **6. Stakeholder Proposal Translation (`Fund Manager` / `Board` / `Fantasy` Registers)** | `40` | `10` | `35` | `45` | `15` | **`30`** | **`Tier 1 -> Tier 2` Cascade with `sources.py verify --evidence` Oracle:** Try Tier 1/2 with cached style guide; Python `verify_draft()` validates 100% of `[n]` citations and verbatim quotes. |
| **7. Multi-Voice Podcast Script Act Generation (`< 90 min` `edge-tts` pipeline)** | `50` | `20` | `45` | `50` | `10` | **`38`** | **`Tier 2` (Mid-Tier Workhorse):** Python extracts exact Division/Volume article JSON cards (`~1,200` tokens per act); Tier 2 writes dialogue; `Tier 0` `edge-tts` + `ffmpeg` + `mutagen` synthesizes audio (`$0.00` LLM audio cost). |
| **8. Novel Cross-Repo Architecture & New `M7+` Philosophical Operator Discovery** | `85` | `70` | `80` | `80` | `60` | **`77`** | **`Tier 3` (Frontier Reasoning API):** Reserved strictly for high-variance architectural planning and novel theoretical discovery. |
---
## 4. Six Concrete Token-Economizing Techniques Built Into `hyperstitionstud_io.economizer`
### 4.1 Technique 1: Python Pre-Computation of All Combinatorial Search Spaces (`Zero-Math-in-Prompt`)
LLMs are notoriously expensive and error-prone when asked to search for phrases whose character values sum to `333`, `666`, or `777` (burning thousands of reasoning tokens on trial-and-error arithmetic).
- **Rule:** Python (`hyperstitionstud_io.ciphers`) **always** executes the combinatorial sum search locally in `< 20 ms` (`$0.00`), filters out candidates that would fail Gate 2 (`dict_hits < 0.40 * nw`), and passes only a numbered list of already-valid equations (`[0]..[9]`) to the LLM. The LLM's output token budget drops from `~4,000` reasoning tokens to a `25`-token JSON array `{"picked": [1, 4, 8]}`.
### 4.2 Technique 2: 1-Hop Sub-Graph & `CIDv1` Delta Slicing (`98%` Input Token Reduction)
Never feed full workspace registries (`glossary-registry.json` = `~28,000` tokens; `encyclopedia-graph.json` = `~65,000` tokens) into an LLM context window.
- **Rule:** Use `hs_query_knowledge_graph(query)` or `hyperstitionstud_io.ipld` `CIDv1` diffing to extract **only** the modified entries or the 1-hop ego-network (`~350–600` tokens) relevant to the current task.
### 4.3 Technique 3: "Cascade with Oracle" (Try `Tier 1` First Whenever `D_verif <= 20`)
Because `hyperstitionstud_io` includes three deterministic verification oracles:
1. `ci_provision_ingglish.py` (verifies equation formatting, `normalize_caps`, `classify_candidates`, and `AQ` math),
2. `sources.py verify --evidence` (verifies `[n]` citation IDs, URLs, and verbatim quotes), and
3. `build_encyclopedia_knowledge_graph.py --verify-only` (verifies 6 graph & SHA-256 isolation gates),
`hyperstitionstud_io.economizer.run_with_oracle_cascade()` can dispatch structured drafting tasks to **Tier 1 (`~$0.10/1M`)** first, run the Python oracle (`$0.00`, `5 ms`), and escalate to **Tier 2 or Tier 3** *only* on the rare subset of items where the oracle returns a non-zero exit code.
### 4.4 Technique 4: Immutable Prompt-Prefix Ordering for `75%–90%` Prompt Cache Discounts
Modern LLM APIs (OpenRouter, Anthropic, Google Gemini, OpenAI) apply automatic or explicit prompt-cache discounts (`75%–90%` off input token pricing) when the leading prefix of a prompt (`>= 1,024` tokens) is byte-for-byte identical across calls.
- **Rule in `hyperstitionstud_io.economizer.build_cached_messages()`:**
1. **Message 0 (Immutable System Prefix):** Static cipher rules, `S1–S6` / `M1–M6` coordinate table, and output JSON Schema (byte-identical across all calls -> **cached after Call #1**).
2. **Message 1 (Variable Task Tail):** Only the current headline or delta-sliced JSON payload (`< 500` tokens).
### 4.5 Technique 5: Compact Index-Reference Output Schemas (Eliminating Echoed Input Tokens)
Output tokens cost **`3x to 5x` more per token** than input tokens across almost every commercial LLM API.
- **Rule:** Never ask an LLM to re-emit full equation strings, long URLs, or verbatim quotes that Python already holds in memory. Have the LLM emit **integer indices** (`{"selected_eq_indices": [2, 5], "citation_ids": [3, 8]}`), and let Python's `render_sources()` and dossier formatter expand those indices into the final Markdown and PDF documents for `$0.00`.
### 4.6 Technique 6: Asynchronous Provider Batch APIs (`50%` Discount) for Scheduled Cron Harvests
The `21:30 GMT` US market closing-bell harvest and the `00:00 GMT` daily wire news harvest are non-interactive background jobs (`cronjob_manage`). Routing their Tier 1/2 narrative synthesis calls through provider Batch APIs (or OpenRouter economy routing with `max_price` caps) halves per-token cost again.
---
## 5. Planned Implementation in `/workspace/hyperstitionstudio-core` (`Phases 1–2`)
### Phase 1: Implement `src/hyperstitionstud_io/economizer/__init__.py` & `hs-route-job` CLI
1. Implement `JobProfile`, `score_job_complexity()`, `select_api_tier()`, `build_cached_messages()`, and `estimate_token_cost()` in `src/hyperstitionstud_io/economizer/__init__.py`.
2. Register `hs-route-job` in `pyproject.toml` so scripts, cron pipelines, and MCP clients can query the exact `Tier 0..3` assignment, recommended model slug, and estimated USD cost before making any API call.
### Phase 2: Add Pre-Solved Candidate Menus to `collect_news_aq.py` & `collect_financial_quant_aq.py`
1. Ensure both periodic collectors pre-solve and pre-filter candidate `333 / 666 / 777` equations in `Tier 0` Python so downstream LLM synthesis operates strictly on pre-verified index menus (`Regime 1 / Regime 2`).
@@ -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.
+77
View File
@@ -0,0 +1,77 @@
# Plan: Read-Only Memetic Artifact Gallery Sub-Page (`/gallery/`) for `hyperstitionstud.io` (`v2.0.0`)
- **Document ID:** `PLAN-MEMETIC-GALLERY-SUBPAGE` (`v2.0.0`)
- **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;`).
---
## 1. Inventory of Existing Memetic Artifacts Leveraged (`35` Visual Specimens)
An audit of `/workspace/memes/` (`31` PNGs, `2` companion PDFs, `1` MP4/HTML slideshow) and the visual boards in `/workspace/technocapital-singularity-zoology/` and `/workspace/encyclopedia-knowledge-graph/` provides `35` ready-to-browse artifacts organized into four browsable collections:
| Collection ID & Filter Tab | Artifact Count | Existing Files Leveraged (Zero New Generation Required) |
| :--- | :--- | :--- |
| **`1. Technocapital Zoology & Pokedex Cards`** (`zoology`) | `3` PNGs + `2` Companion PDFs | • `meme_1_custom_pokedex_technocapital_zoology_m7_129_125.{png,pdf}` (`1024x652` Gen IV INFO Pokedex Field-Scanner: `M7_candidate_2026_11_28` / `129` / `125` / `193` / `191`)<br/>• `meme_1_custom_technocapital_zoology_gta6_huawei_260_22.{png,pdf}` (`GTA 6` / `Huawei` / `260 == teknohkapital == kiler rohbots`)<br/>• `demos/meme_1_custom_ants_assets_demo.png` (`ants` / `assets` AQ lock specimen) |
| **`2. Stand-Up Comedy & Philosophical Exegesis`** (`philosophy_comedy`) | `18` PNGs + `1` MP4 Slideshow | • `meme_1_custom_iasip_bergson_russell_fucked_you_up.png` (Bergson / Russell / IASIP)<br/>• `meme_1_custom_carlin_matrix_morpheus.png` (George Carlin / Morpheus)<br/>• `meme_1_custom_hedberg_10_guy.png` (Mitch Hedberg / 10 Guy)<br/>• `meme_1_custom_wright_roll_safe.png` (Steven Wright / Roll Safe)<br/>• `meme_1_custom_norm_macdonald_success_kid.png` (Norm Macdonald / Success Kid)<br/>• `meme_1_custom_emo_philips_futurama_fry.png` (Emo Philips / Futurama Fry)<br/>• `meme_1_custom_demetri_martin_sudden_clarity_clarence.png` (Demetri Martin)<br/>• `meme_1_custom_jeselnik_confession_bear.png` (Anthony Jeselnik)<br/>• `meme_1_custom_chris_rock_condescending_wonka.png` (Chris Rock / Wonka)<br/>• `meme_1_custom_groucho_philosoraptor.png` (Groucho Marx / Philosoraptor)<br/>• `meme_1_custom_youngman_bad_joke_eel.png` (Henny Youngman / Bad Joke Eel)<br/>• `meme_1_custom_dangerfield_awesome_awkward_penguin.png` (Rodney Dangerfield)<br/>• `meme_1_custom_seinfeld_conspiracy_keanu.png` & `meme_1_custom_seinfeld_costanza_not_a_lie.png`<br/>• `meme_1_custom_parks_rec_ron_swanson_whole_ass.png`<br/>• `meme_1_custom_simpsons_alcohol_interesting_man.png`<br/>• `meme_1_custom_antijoke_{chicken_brick,disaster_girl_ice_cream,harold_bar_alcoholism}.png`<br/>• `mid2000s_standup_meme_slideshow.{mp4,html}` |
| **`3. Classic Template & Multi-Provider Specimens`** (`classic_demos`) | `10` PNGs | • `demos/meme_1_custom_ackbar_thug_scumbag_ytmnd.png`<br/>• `demos/meme_1_custom_awkward_moment_seal_id_ams.png` & `demos/meme_2_memegen_awkward_moment_seal_id_ams.png`<br/>• `demos/meme_1_custom_bad_luck_brian_doorjamb.png`<br/>• `demos/meme_1_imgflip_anakin_padme_4_panel.png`<br/>• `demos/meme_1_makeameme_rainbow_spongebob.png`<br/>• `demos/meme_1_memegen_do_you_want_ants_id_ants.png` & `demos/meme_2_memegen_do_you_want_ants_id_ants.png`<br/>• `demos/meme_2_memegen_it_s_a_trap_id_ackbar.png` & `demos/meme_3_memegen_it_s_a_trap_id_ackbar.png`<br/>• `demos/meme_3_supermeme_corporate_wants_you_to_find_the_differen.png` |
| **`4. Ecological Tier-List & Knowledge Graph Atlas Boards`** (`atlas_boards`) | `4` High-Res PNGs + `1` PDF | • `tier-list-technocapital-assemblage-builds.{png,pdf}` (`ETI 0–100` `S+` to `D/F` Scorecard)<br/>• `atlas-mode2-concentric-eti-radar.png` (`1600x1060` Concentric Radar `S+ -> D Periphery`)<br/>• `atlas-mode1-trophic-food-web.png` (`1600x1060` Trophic Food-Web)<br/>• `atlas-mode3-bipartite-g1-funnel.png` (`1600x1060` Bipartite `Gen 0 -> Gen 1` Funnel) |
---
## 2. Read-Only Gallery Browsing UX & Component Design (`/gallery/index.html`)
### 2.1 Top Filter & Search Bar (Zero Editing / Creation UI)
- **Category Filter Pills:**
- `All Specimens (35)`
- `Pokedex & Technocapital Zoology (3)`
- `Stand-Up & Philosophy (18)`
- `Classic Template Demos (10)`
- `Tier-List & Atlas Boards (4)`
- **Instant Client-Side Search Input:**
Filters cards in real time by title, comedian/philosopher, template name, guild (`S1..S6`, `M7+`), or `AQ` coordinate (`125`, `129`, `191`, `193`, `260`).
- **Grid Density Toggle:**
Switch between `Comfortable Grid (3 columns)` and `Compact Contact Sheet (5 columns)`.
### 2.2 Specimen Card Grid (`loading="lazy"`, `decoding="async"`)
Each gallery card displays:
1. **Aspect-Preserving Thumbnail Preview** (`object-fit: contain` on a `#090d16` dark slate frame so non-square memes are never cropped).
2. **Specimen Title & Collection Pill** (e.g., `Gen IV INFO Pokedex: M7_candidate_2026_11_28` • `ZOOLOGY`).
3. **Technical Telemetry Footer:** Pixel resolution (`1024 × 652`), file size (`225 KB`), and direct action links (`Inspect Fullscreen`, `Download PNG`, and `Open Companion PDF` when a `.pdf` pair exists).
### 2.3 Fullscreen Lightbox Modal Inspector
Clicking any card opens a zero-dependency fullscreen lightbox overlay featuring:
- **Keyboard & Click Navigation:** `←` / `→` arrow keys to step through the filtered collection, `Z` or click to toggle `1:1` native pixel zoom, and `Esc` to close.
- **Metadata Drawer:** Displays the full title, collection category, pixel dimensions, file size, SHA-256 digest, associated `AQ` / `Ingglish` locks (for Zoology/Pokedex specimens), and direct `Open Raw PNG` / `Open Companion PDF` buttons.
---
## 3. Repository & VPS Hosting Architecture (`100%` Offline `file://` + `https://hyperstitionstud.io/gallery/`)
Currently, `/workspace/memes` is an un-remoted local directory in `/workspace`. To ensure `/gallery/` works seamlessly both offline (`file://`) and on the Linode/Akamai VPS (`https://hyperstitionstud.io/gallery/`) via `sync-vps-repos.sh`:
1. **Gallery Application Location:**
- `/workspace/hyperstitionstudio-core/site/gallery/index.html`
- `/workspace/hyperstitionstudio-core/site/gallery/gallery-data.js` (`window.HyperstitionStudio.GalleryData = [...]`, compiled deterministically by a read-only catalog script `scripts/build_gallery_manifest.py` so `<script src="gallery-data.js">` works on `file://` without `fetch()` CORS errors).
2. **Serving the Image Assets on the VPS & Locally:**
- **Option A (Self-Contained inside `hyperstitionstudio-core/site/gallery/media/`):** Copy the curated PNG/PDF meme artifacts into `hyperstitionstudio-core/site/gallery/media/` (while referencing the 4 existing Zoology/Graph atlas PNGs via `/zoology/...` and `/graph/...` on HTTP and `../../../../technocapital-singularity-zoology/...` on `file://`) so a single `git pull` of `hyperstitionstudio-core` deploys the entire gallery to the VPS automatically.
- **Option B (Dedicated `/memes/` Route in `sync-vps-repos.sh` & Caddy):** Map `${LIVE_REPOS}/memes -> memes` and `${LIVE_REPOS}/gallery -> hyperstitionstudio-core/site/gallery` in `deploy/sync-vps-repos.sh` and `deploy/Caddyfile`.
*(Option A is recommended for the `31` meme PNGs (`~11 MB` total excluding the `.mp4`) because `hyperstitionstudio-core` is already cloned on the VPS, requiring zero new repository creation on `git.libre.audio`).*
---
## 4. Three-Step Implementation Roadmap (`Phases 1–3`)
### Phase 1: Build Deterministic Catalog Script & `gallery-data.js`
1. Write `/workspace/hyperstitionstudio-core/scripts/build_gallery_manifest.py` to inspect the existing PNG/PDF artifacts, read their exact `(width, height)` dimensions via Pillow and byte sizes, and emit `/workspace/hyperstitionstudio-core/site/gallery/gallery-data.js` (`window.HyperstitionStudio.GalleryData`).
### Phase 2: Build `/workspace/hyperstitionstudio-core/site/gallery/index.html` & Portal Homepage Link
1. Create `site/gallery/index.html` with the 4 category filter tabs, search bar, density toggle, lazy-loaded specimen grid, keyboard-navigable lightbox modal, automatic `file://` vs. `https://` asset path resolution, and the `"Made with ♥ by Lemurs."` global footer.
2. Update Card 4 / Header in `/workspace/hyperstitionstudio-core/site/index.html` to include a direct **`Open Memetic Gallery (/gallery/)`** launch button.
### Phase 3: Wire into `deploy/sync-vps-repos.sh`, `test-first-deployment.sh` & `test_core_suite.py`
1. Add `${SUDO} ln -sfn "hyperstitionstudio-core/site/gallery" "${LIVE_REPOS}/gallery"` in `deploy/sync-vps-repos.sh`.
2. Add `/gallery/index.html` and `/gallery/gallery-data.js` to `deploy/test-first-deployment.sh` and `tests/test_core_suite.py`, verify `HTTP 200 OK` across all routes, commit, and push via `/home/m00t/hermes/workspace/push-all-to-git-libre-audio.sh`.
Binary file not shown.
@@ -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`.
+52 -14
View File
@@ -1,13 +1,16 @@
# Production VPS & Git Operator Deployment Guide (`v2.3.0` — Direct Per-Repository Install Directory & Untracked `.gitignore` Artifact Edition)
# Production VPS & Git Operator Deployment Guide (`v2.0.0` Major Milestone Release — Direct Per-Repository Install Directory & Untracked `.gitignore` Artifact Edition)
- **Document ID:** `VPS-AND-GIT-OPERATOR-DEPLOYMENT-GUIDE` (`v2.3.0`)
- **Document ID:** `VPS-AND-GIT-OPERATOR-DEPLOYMENT-GUIDE` (`v2.0.0`)
- **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/`) |
@@ -93,10 +96,15 @@ Follow Steps 1 through 7 in order on a fresh **Debian 12 (Bookworm)** or **Ubunt
- `CAA` (`@`) -> `0 issue "letsencrypt.org"`
- `HTTPS` (`@`) -> `1 . alpn="h3,h2"`
### Step 3: Install OS Packages & Apply Kernel TCP BBR / QUIC Tuning (On VPS)
### Step 3: Refresh Caddy GPG Keyring, Install OS Packages & Apply Kernel TCP BBR / QUIC Tuning (On VPS)
```bash
sudo apt update && sudo apt install -y git python3 python3-venv python3-pip brotli rsync curl caddy fonts-dejavu-core
# Refresh Caddy's official Cloudsmith GPG keyring (resolves rotated key ABA1F9B8875A6661 if present)
curl -1sLf 'https://dl.cloudsmith.io/public/caddy/stable/gpg.key' | sudo gpg --dearmor --yes -o /usr/share/keyrings/caddy-stable-archive-keyring.gpg
curl -1sLf 'https://dl.cloudsmith.io/public/caddy/stable/debian.deb.txt' | sudo tee /etc/apt/sources.list.d/caddy-stable.list >/dev/null
sudo chmod a+r /usr/share/keyrings/caddy-stable-archive-keyring.gpg /etc/apt/sources.list.d/caddy-stable.list
sudo apt update && sudo apt install -y git python3 python3-venv python3-pip brotli rsync curl logrotate caddy fonts-dejavu-core
sudo tee /etc/sysctl.d/99-hyperstition-fastnet.conf >/dev/null <<'EOF'
net.core.default_qdisc = fq
@@ -157,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
@@ -181,14 +195,38 @@ curl -o /dev/null -s -w "DNS: %{time_namelookup}s | TLS/QUIC: %{time_appconnect}
---
## 5. Ongoing Per-Repository Updates on the VPS
## 5. Procedure for Reflecting Updated Content from `git pull` on `https://hyperstitionstud.io`
To pull and deploy updates from `git.libre.audio` for all repositories or a single repository:
Because Caddy serves `https://hyperstitionstud.io` from the RAM-backed `tmpfs` mount (`/var/www/hyperstitionstud.io/repos/<repo>`) using pre-compressed `.br` (Brotli-11) and `.gz` (Gzip-9) sidecars rather than directly from the NVMe Git working trees (`/srv/hyperstitionstud.io/repos/<repo>`), reflecting updated Git content on the live site follows one of the two workflows below:
### 5.1 Workflow A: If You Already Ran `git pull` Manually in `/srv/hyperstitionstud.io/repos/<repo>`
Sync the updated working tree(s) into the RAM mount and regenerate the `.br` / `.gz` sidecars without fetching again:
```bash
# Update all 6 repositories, run 6-gate audit, and sync to RAM:
/srv/hyperstitionstud.io/repos/hyperstitionstudio-core/deploy/sync-vps-repos.sh --no-pull
```
### 5.2 Workflow B: Pull from `git.libre.audio` and Update the Live RAM Mount in One Step
```bash
# Update all 6 repositories at once, run 6-gate audit, sync to RAM, and pre-compress (.br / .gz):
/srv/hyperstitionstud.io/repos/hyperstitionstudio-core/deploy/sync-vps-repos.sh all
# Or update a single repository in < 1.5 seconds:
# Or update a single repository in < 1.5s (e.g., hyperstitionstudio-core or encyclopedia-knowledge-graph):
/srv/hyperstitionstud.io/repos/hyperstitionstudio-core/deploy/sync-vps-repos.sh hyperstitionstudio-core
/srv/hyperstitionstud.io/repos/hyperstitionstudio-core/deploy/sync-vps-repos.sh encyclopedia-knowledge-graph
```
*(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 Automatic Idempotent `Caddyfile`, `systemd` & `logrotate.d` Sync (Default vs. `--no-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.
@@ -1,56 +0,0 @@
# Dependencies, Peer-Sibling Architecture & First-Push Instructions (`v1.0.0`)
- **Repository:** `/workspace/encyclopedia-knowledge-graph` (`branch: main`, `tag: v1.0.0`)
- **Upstream Read-Only Sibling:** `/workspace/technocapital-singularity-zoology` (`v1.7.0`)
- **PDF Compiler Dependency:** `/workspace/ingglish-hyperdope-gematria/ingglish-aq-archive/scripts/build_wire_report_pdf.py`
---
## 1. Peer-Sibling Dependency Manifest
`scripts/build_encyclopedia_knowledge_graph.py` reads the following upstream files from `/workspace/technocapital-singularity-zoology` strictly in read-only mode (`open(..., "r")`):
1. `/workspace/technocapital-singularity-zoology/taxonomy/glossary-registry.json` (`282` unique entries; verified invariant via pre/post SHA-256 `7564ef40fb3e0e18d1d8547522db431b6a369c40139713b573df6e58b972d43d`)
2. `/workspace/technocapital-singularity-zoology/encyclopedia/encyclopedia-manifest.json` (`9` divisions, `22` PDF volumes; verified invariant via pre/post SHA-256 `0d7ce833bb0aa0eea069bf764b2e3b0b36ac2631821c42f3d6bcb897335f8a7d`)
3. `/workspace/technocapital-singularity-zoology/taxonomy/assemblage-builds-tier-list.json` (`9` ranked `ETI` builds across `Tiers S+` to `D`)
4. `/workspace/technocapital-singularity-zoology/taxonomy/memetic-superclass-registry.json` (`M1–M6` canonical subclasses + `M7_candidate_2026_11_28`)
5. `/workspace/technocapital-singularity-zoology/dossiers/65..69-dossier-*.md` (`150` verified `333 / 666 / 777` dossier equations)
---
## 2. Step-by-Step Instructions for First Push to Remote `origin`
The repository `/workspace/encyclopedia-knowledge-graph` is initialized on branch `main` with initial commit and annotated/lightweight tag `v1.0.0`. No remote `origin` is hardcoded so you can push to GitHub, Forgejo/Gitea (`git.libre.audio`), or GitLab without URL collisions.
### Option A — One-Command Verified Push (`push-to-origin.sh`)
Run the bundled executable script, which automatically runs `--verify-only` (confirming all 6 CI gates and upstream glossary SHA-256 isolation) before adding `origin` and pushing `main` and `v1.0.0`:
```bash
/workspace/encyclopedia-knowledge-graph/push-to-origin.sh https://github.com/<your-org>/encyclopedia-knowledge-graph.git
```
Or using SSH:
```bash
/workspace/encyclopedia-knowledge-graph/push-to-origin.sh ssh://git@git.libre.audio:2222/<your-org>/encyclopedia-knowledge-graph.git
```
### Option B — Manual Git CLI Commands
```bash
cd /workspace/encyclopedia-knowledge-graph
# 1. Verify clean working tree and commit log
git status -s -b
git log --oneline -n 1
# 2. Register your remote repository URL as 'origin'
git remote add origin <REMOTE_GIT_URL>
# 3. Push the 'main' branch and set upstream tracking
git push -u origin main
# 4. Push the 'v1.0.0' release tag
git push origin v1.0.0
```
@@ -1,99 +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 10 0 R /MediaBox [ 0 0 612 792 ] /Parent 9 0 R /Resources <<
/Font 1 0 R /ProcSet [ /PDF /Text /ImageB /ImageC /ImageI ]
>> /Rotate 0 /Trans <<
>>
/Type /Page
>>
endobj
6 0 obj
<<
/Contents 11 0 R /MediaBox [ 0 0 612 792 ] /Parent 9 0 R /Resources <<
/Font 1 0 R /ProcSet [ /PDF /Text /ImageB /ImageC /ImageI ]
>> /Rotate 0 /Trans <<
>>
/Type /Page
>>
endobj
7 0 obj
<<
/PageMode /UseNone /Pages 9 0 R /Type /Catalog
>>
endobj
8 0 obj
<<
/Author (Hermes Agent) /CreationDate (D:20261129194640+00'00') /Creator (\(unspecified\)) /Keywords () /ModDate (D:20261129194640+00'00') /Producer (ReportLab PDF Library - \(opensource\))
/Subject (\(unspecified\)) /Title (Dependencies, Peer-Sibling Architecture & First-Push Instructions \204 Encyclopedia Knowledge Graph \(v1.0.0\)) /Trapped /False
>>
endobj
9 0 obj
<<
/Count 2 /Kids [ 5 0 R 6 0 R ] /Type /Pages
>>
endobj
10 0 obj
<<
/Filter [ /ASCII85Decode /FlateDecode ] /Length 2136
>>
stream
Gau0DgN)%,&:O:Sm.@!h[,qP)MJf?@[#(8oOs[Te5']Tu8Vf]"&e#'"<PQ8kRr2aNbB>1mBG/)^3.(@,QNSl;P4gi[!IgGhGtEP=0OFm$%2\/Fi8sn'o3'r`[LJNWlPg81rP7AlVTfCpS+l9rE.\]A+6GRsmqKpp4G3H"R"*^iq%G+mqYD!&To5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;WE:#=M\UX=d=JD)i33[WXiePig"?OI.:AO"Qgoq1Tc1c"QLR,,Xh2/')<-&'pcu"n"=#jZjVFLmhbmn4)eG9DVlR"r%q[Rd;4A*N24>SNogc/(F4KlI'k@e%DcIk*+27urm^-dZU$\M*\BWf@9P['T+s2fFbS4TZZue&"<9)S"0bRI_+40cW^X@,Ts`^][Af+&CL%4+$f$Nr$oaD0[)>t<EOi[#V5Pld1Z_SG&inA#QE$Jh3Y"nY0[2;#(@k&I1hC1:dsYDWRUlZqT"'"t=dCisQaCr-:L8Y`@P_UUXrf&I0mA3bXW6?\2j;5@*bi_ELQtp0**P*%'/3;t[)orp\Pj#!/WJON.nt/]i0erXig@G<f*O"J!'F%r<Yh4Aiuh+"=a6Nc6Q^*0(J6K?]kAZ:X+Y)^e3XmRa?>!S=.fmf+cF"k6`7"7ksYKrHnbH;run3kJ=`-?)*0*lCT0ehjiqYJI(6a_*fQ>$m^lDO3K@a.B&_jR;*3t^_m#lT3jt4BFP$5W@N%tC9HV^*F<aLs><5afdnd>@D3]@j+W;lO72F.iH28b3)o=i!#C\?`T?<Zm`Ls3ZE>/YMo@oc%BUqg/3SP&HK,<N$Vf2~>endstream
endobj
xref
0 12
0000000000 65535 f
0000000061 00000 n
0000000112 00000 n
0000000219 00000 n
0000000331 00000 n
0000000436 00000 n
0000000630 00000 n
0000000824 00000 n
0000000892 00000 n
0000001268 00000 n
0000001333 00000 n
0000003561 00000 n
trailer
<<
/ID
[<8b4832724c9605cbe19c5e4f0ead00f5><8b4832724c9605cbe19c5e4f0ead00f5>]
% ReportLab generated PDF document -- digest (opensource)
/Info 8 0 R
/Root 7 0 R
/Size 12
>>
startxref
4302
%%EOF
@@ -1,62 +0,0 @@
# Cross-Repository Modularity & Coupling Audit: `encyclopedia-knowledge-graph`, `technocapital-singularity-zoology` & `hyperdope-ci-build`
- **Evaluated Sibling Repositories in `/workspace`:**
1. `/workspace/encyclopedia-knowledge-graph` (`v1.0.0`, branch `main`)
2. `/workspace/technocapital-singularity-zoology` (`v1.7.0`, branch `main`)
3. `/workspace/hyperdope-ci-build` (branch `feat/ingglish-aq-corpus`)
- **Upstream Shared Reference Repository:** `/workspace/ingglish-hyperdope-gematria` (`node_modules/ingglish` & `ingglish-aq-archive/`)
- **Glossary & Encyclopedia Isolation:** Verified (`0` changes to `taxonomy/glossary-registry.json` or `encyclopedia/`).
---
## 1. `/workspace/encyclopedia-knowledge-graph` *(Modularity Rating: HIGH at Runtime / MEDIUM-HIGH at Compile Time)*
### 1.1 What Is Fully Modular & Self-Contained
- **Zero-Server, `100%` Standalone Runtime Bundle:**
Once compiled, the interactive workbench (`index.html` + `graph-data.js`) and the four open-source exports (`encyclopedia-graph.json`, `.graphml`, `.gexf`, and `encyclopedia.canvas`) have zero runtime dependencies on Python, Node.js, CDN scripts, or sibling repositories. You can copy `/workspace/encyclopedia-knowledge-graph` to another machine and open `index.html` directly via `file://`.
- **Parameterized CLI & Strictly Unidirectional Read-Only Ingestion:**
`scripts/build_encyclopedia_knowledge_graph.py` accepts `--upstream-repo` and `--out-dir`, reads upstream JSON and Markdown files strictly in read-only mode (`open(..., "r")`), and enforces pre/post `SHA-256` assertions so zero graph concepts ever leak back into the upstream glossary or encyclopedia.
### 1.2 Remaining Coupling Points
- **Upstream Schema Coupling at Build Time:**
Rebuilding the graph requires `--upstream-repo` (default `/workspace/technocapital-singularity-zoology`) to provide the expected JSON files (`taxonomy/glossary-registry.json`, `encyclopedia/encyclopedia-manifest.json`, `taxonomy/assemblage-builds-tier-list.json`, `taxonomy/memetic-superclass-registry.json`) and `dossiers/*.md`.
- **Relative PDF Deep-Links in `index.html`:**
The `"Open Encyclopedia Volume PDF"` button inside the right-hand Inspector Drawer links to `../technocapital-singularity-zoology/encyclopedia/<div_id>/<slug>.pdf`, assuming the sibling repository sits beside it under `/workspace/` (and operator-manual PDF compilation calls `/workspace/ingglish-hyperdope-gematria/ingglish-aq-archive/scripts/build_wire_report_pdf.py`).
---
## 2. `/workspace/technocapital-singularity-zoology` *(Modularity Rating: MEDIUM-HIGH — Self-Contained Data & Encyclopedia, Coupled to Upstream Runtime Helpers)*
### 2.1 What Is Fully Modular & Self-Contained
- **Isolated Domain Data, Taxonomies & 22-Volume Encyclopedia Compiler:**
Owns all `S1–S6`, `M1–M7+`, `ETI` tier-list, quantitative-anchor, citation-ledger, and glossary JSON registries (`taxonomy/*.json`), canonical dossiers (`dossiers/65..69-dossier-*.md`), and the 22-volume PDF Encyclopedia (`encyclopedia/`). Notably, `build_encyclopedia()` compiles all 22 Encyclopedia PDFs in-process using ReportLab directly without calling any external script.
- **Configurable CLI Paths:**
`scripts/classify_technocapital_singularity.py` exposes `--workdir`, `--anchors-file`, `--memetic-registry`, `--terms`, `--quant-mode`, and `--out`.
### 2.2 Remaining Coupling Points to `/workspace/ingglish-hyperdope-gematria`
- **Node.js `ingglish` (`CMUdict`) Package Resolution:**
`batch_translate()` spawns `node --input-type=module` with `cwd=--workdir` (defaulting to `/workspace/ingglish-hyperdope-gematria`) because `node_modules/ingglish` is installed there rather than in `/workspace/technocapital-singularity-zoology/node_modules/`.
- **Visual Tier-List & Glossary PDF Subprocess Handoffs:**
By deliberate DRY design, `build_assemblage_tier_list()` delegates `.pdf`/`.png` rendering to `/workspace/ingglish-hyperdope-gematria/ingglish-aq-archive/scripts/generate_aq_tier_list.py --rows-json`, and `sync_glossary()` delegates glossary PDF compilation to `/workspace/ingglish-hyperdope-gematria/ingglish-aq-archive/scripts/build_wire_report_pdf.py`. To make `technocapital-singularity-zoology` `100%` standalone on a machine without `ingglish-hyperdope-gematria`, it would need its own local `node_modules/ingglish` install and local fallbacks for those two helper scripts.
---
## 3. `/workspace/hyperdope-ci-build` *(Modularity Rating: HIGH as a Downstream PR Artifact Repo / COUPLED to Upstream Provisioner for Ingestion)*
### 3.1 What Is Fully Modular & Self-Contained
- **Clean Upstream Fork Structure for Pull Requests:**
Once provisioned, `/workspace/hyperdope-ci-build` (branch `feat/ingglish-aq-corpus`) is a `100%` self-contained clone of `malonehunter/hyperdope-gematria` containing `db.txt`, `config.default.js`, `docs/ONBOARDING-INGGLISH-AQ.md`, its own `tools/` (`normalize_caps.py`, `classify_candidates.py`, `generate_db_json.py`), pre-verified PR artifacts (`ci-audit-report.json`, `pr-body.md`, `pr-payload.json`), and an autonomous `submit-pr.sh` script that pushes and opens a GitHub PR with zero external sibling dependencies.
### 3.2 Remaining Coupling Points to `/workspace/ingglish-hyperdope-gematria`
- **External Provisioning Engine (By Design):**
To avoid polluting the upstream PR diff with custom archive-scraping scripts, the ingestion driver (`ci_provision_ingglish.py`) lives outside the repo at `/workspace/ingglish-hyperdope-gematria/ingglish-aq-archive/scripts/ci_provision_ingglish.py` and reads `/workspace/ingglish-hyperdope-gematria/ingglish-aq-archive/*.md`. Thus, `hyperdope-ci-build` is completely modular for testing, building `db.json`, and submitting PRs, but relies on `ingglish-hyperdope-gematria` whenever new dossiers are ingested into `db.txt`.
---
## 4. Summary Comparison Matrix
| Repository | Standalone Runtime? | Standalone Rebuild? | External Sibling Dependencies |
| :--- | :--- | :--- | :--- |
| **`encyclopedia-knowledge-graph`** | **YES** (`100%` offline via `index.html` + `graph-data.js`) | Needs upstream JSONs (`--upstream-repo`) | Reads `technocapital-singularity-zoology` JSONs & dossiers (strictly read-only) |
| **`technocapital-singularity-zoology`** | **YES** (`taxonomy/*.json`, `dossiers/*.md`, `encyclopedia/*.pdf`) | Needs Node `ingglish` (`--workdir`) | Uses `ingglish-hyperdope-gematria` for `node_modules/ingglish` & 2 PDF helper scripts |
| **`hyperdope-ci-build`** | **YES** (`tools/*.py`, `db.txt`, `submit-pr.sh`) | Needs external provisioner | Populated by `ci_provision_ingglish.py` from `ingglish-aq-archive/*.md` |
@@ -1,124 +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
>>
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-BoldOblique /Encoding /WinAnsiEncoding /Name /F4 /Subtype /Type1 /Type /Font
>>
endobj
6 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
7 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
8 0 obj
<<
/Contents 14 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:20261129195551+00'00') /Creator (\(unspecified\)) /Keywords () /ModDate (D:20261129195551+00'00') /Producer (ReportLab PDF Library - \(opensource\))
/Subject (\(unspecified\)) /Title (Cross-Repository Modularity & Coupling Audit: encyclopedia-knowledge-graph, technocapital-singularity-zoology & hyperdope-ci-build) /Trapped /False
>>
endobj
11 0 obj
<<
/Count 3 /Kids [ 6 0 R 7 0 R 8 0 R ] /Type /Pages
>>
endobj
12 0 obj
<<
/Filter [ /ASCII85Decode /FlateDecode ] /Length 2240
>>
stream
GauHLqbPs;&H868@YAi'g5DNSEF.jN;Tki3.YT*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*7ddbjn]+Ba!$@OhToo-k;F$h3IF%?m+^>&N@!nqX;kri^8&aC[nSecaN[;imZ88'2pRB9ANmi[WgDQ;H73lE`-n"4>Pq0[abYYB3[]n6LT"30"m-!oWNg`!E*pe/jlp*S'$_B,`ji"%3;p*\Z,#<l_psoqYW$+cRia-=L@s[olP%T_Nh6bldqm>UYZcmNo(eNY-o'K,[nO0=46&K7E75un:U"Ui^ZY5KDLh&Uq!bn7G94:eg([.3M6H4^bWJ5cHE,qo,RPRr!0OT0jMZO<!MI\2ol/ABmpO^D#O3.=mPl2-b?XMYM=j'bk7JFlZ:Sq1<4.Aah"-\mE4/(oTjuaaV[`QhYr8hsS1J(`=#NJp*h/[)6C4@P[2<F*lE.2K/2.%::Zm[],W1f8]QB]uVZ&?i&ZH8nsiaj=u;D?pTR+VN4i;D%1/=8+1JW:GjErD@QqEr$R'6mXZc+Lb@G)$]M1g>!/9Bq#Z^c8P4FCq#HblKUZ?ft4AeB;"3F-J,_V.%^%3a:c@V*mSGj=StgVP_[`QK.sFls+/blH'ot=^bg#puSs^AYZ]BPC^9-ahu[sj9?22/bgpP>noFE6K^9@\pG\~>endstream
endobj
xref
0 15
0000000000 65535 f
0000000061 00000 n
0000000122 00000 n
0000000229 00000 n
0000000341 00000 n
0000000446 00000 n
0000000565 00000 n
0000000760 00000 n
0000000955 00000 n
0000001150 00000 n
0000001219 00000 n
0000001616 00000 n
0000001688 00000 n
0000004020 00000 n
0000006646 00000 n
trailer
<<
/ID
[<88e5a02483b0e55eeb88af0ebce10f8f><88e5a02483b0e55eeb88af0ebce10f8f>]
% ReportLab generated PDF document -- digest (opensource)
/Info 10 0 R
/Root 9 0 R
/Size 15
>>
startxref
7633
%%EOF
@@ -1,181 +0,0 @@
# Architecture & Implementation Plan: Shared Common Library Under the `hyperstitionstud.io` Namespace (`v1.2.0` — 100% Offline `URN:` Namespace & Dual `file://` + `http://` Portability Edition)
- **Document ID:** `PLAN-COMMON-LIBRARY-HYPERSTITIONSTUDIO` (`v1.2.0`)
- **Offline Namespace Authority (Zero `https://` Network Calls):**
- **Python PEP 420 Namespace:** `hyperstitionstud_io.*`
- **JavaScript / Browser Global Namespace:** `@hyperstitionstud.io/*` & `window.HyperstitionStudio.*`
- **URN Schema, XML & Entity Authority (RFC 8141):** `urn:io:hyperstitionstud:schema:v1:*`, `urn:io:hyperstitionstud:ns:kg:1.0`, and `urn:io:hyperstitionstud:<domain>:<type>:<id>`
- **Local Relative Schema Paths:** `./schemas/v1/<name>.schema.json`
- **Dual Deployment Target:**
1. **Scenario A (`file://` Direct Offline In-Browser Application):** Zero HTTP server, zero `fetch()` CORS errors, zero external CDN/font/schema requests.
2. **Scenario B (`http://` Static Web Server Hosting):** Works identically under `python3 -m http.server`, Nginx, Caddy, or LAN self-hosting whether served from the `/workspace` parent directory or as a standalone web root.
- **Artifact & Citation URL Resolution Rule:** **100% Local-Configuration Driven** (`[citations.path_mounts]` in local `workspace.toml`, falling back to verified local paths).
- **Version-Control Operations in Scope:** **0%** (All file integrity and isolation checks use pure Python `hashlib.sha256` and atomic `.tmp -> os.replace()` writes).
---
## 1. Review of `https://hyperstitionstud.io` URLs: Why They Are Replaced by Offline `urn:io:hyperstitionstud:*` & Relative Paths in `v1.2.0`
In `v1.0.0–v1.1.0`, the domain `hyperstitionstud.io` was formatted as `https://hyperstitionstud.io/...` in two places: JSON Schema `$id`/`$schema` fields and GraphML/GEXF `xmlns:hs` declarations. Reviewing those against a **100% offline, portable in-browser and static-HTTP deployment requirement** exposes three concrete failure modes:
| Former `https://` Usage (`v1.1.0`) | Why It Hurts 100% Offline & Portable Deployment | `v1.2.0` Portable Replacement (Zero Network Calls) |
| :--- | :--- | :--- |
| **`$schema: "https://hyperstitionstud.io/schemas/v1/*.schema.json"`** | IDEs (VS Code, JetBrains), browser JSON inspectors, and schema validators attempt to **HTTP-fetch `https://` `$schema` URLs**. Offline or on an air-gapped LAN, this triggers DNS timeouts or validation warnings. | **Dual Offline Identity:**<br/>• `"$id": "urn:io:hyperstitionstud:schema:v1:encyclopedia-graph"` (RFC 8141 URN — never fetched over DNS)<br/>• `"$schema": "./schemas/v1/encyclopedia-graph.schema.json"` (relative local file path that resolves both on `file://` and on any `http://` server) |
| **`xmlns:hs="https://hyperstitionstud.io/ns/kg/1.0"`** | Conflates a nominal XML namespace with a live `https://` endpoint; some XML/GEXF tools probe `https://` namespace URIs for XSD files. | **`xmlns:hs="urn:io:hyperstitionstud:ns:kg:1.0"`**<br/>Explicitly location-independent URN namespace; Gephi, Cytoscape, yEd, and `xml.etree.ElementTree` parse it 100% offline. |
| **External Web Fonts / CDNs (`https://fonts.googleapis.com/...`)** | Stalls browser rendering on `file://` or offline LAN `http://` while waiting for external DNS/TLS handshakes to fail. | **Zero External `<link>` or `<script>` URLs:**<br/>All HTML workbenches and SVG diagrams use pure inline/local CSS and local font stacks (`'DejaVu Sans Mono', 'JetBrains Mono', ui-monospace, monospace`). |
**Rule in `v1.2.0`:** Zero `https://hyperstitionstud.io` URLs appear anywhere in code, schemas, XML exports, HTML files, or citation ledgers. Every `hyperstitionstud.io` namespace identifier uses **reverse-DNS module/URN syntax (`hyperstitionstud_io.*` / `urn:io:hyperstitionstud:*`)** or **relative local paths (`./...`)**.
---
## 2. Canonical `hyperstitionstud.io` Offline Namespace Table (`v1.2.0`)
| Layer / Ecosystem | Offline-First Namespace Pattern | Concrete Examples |
| :--- | :--- | :--- |
| **Python 3.10+ (PEP 420)** | `hyperstitionstud_io.<module>` | `hyperstitionstud_io.{config,ciphers,phonetics,publishing,glossary,graph,ci,audio}` |
| **JavaScript / ESM Modules** | `@hyperstitionstud.io/<pkg>` | `@hyperstitionstud.io/{ciphers-aq,phonetics-g2p,graph-workbench}` |
| **In-Browser Offline Global (`file://` & `http://`)** | `window.HyperstitionStudio.<Module>` | `window.HyperstitionStudio.EncyclopediaGraphData`<br/>`window.HyperstitionStudio.Config`<br/>`window.HyperstitionStudio.GraphWorkbench` |
| **JSON Schema `$id` (Nominal Identity)** | `urn:io:hyperstitionstud:schema:v1:<name>` | `"$id": "urn:io:hyperstitionstud:schema:v1:glossary-registry"`<br/>`"$id": "urn:io:hyperstitionstud:schema:v1:encyclopedia-graph"` |
| **JSON Schema `$schema` (Local Resolution)** | `./schemas/v1/<name>.schema.json` | `"$schema": "./schemas/v1/encyclopedia-graph.schema.json"` |
| **GraphML / GEXF XML Namespace** | `xmlns:hs="urn:io:hyperstitionstud:ns:kg:1.0"` | `<graphml xmlns="http://graphml.graphdrawing.org/xmlns" xmlns:hs="urn:io:hyperstitionstud:ns:kg:1.0">` |
| **Graph Node & Entity URNs** | `urn:io:hyperstitionstud:<domain>:<type>:<id>` | `urn:io:hyperstitionstud:zoology:build:S1`<br/>`urn:io:hyperstitionstud:aq:hub:125` |
---
## 3. Engineering for Both Deployment Scenarios (`Scenario A: file://` & `Scenario B: http://`)
To make the interactive application (`index.html`) 100% portable across both **direct offline browser opens (`file://`)** and **any static HTTP server (`http://`)**, `hyperstitionstud_io.graph` and the operator documentation must explicitly address five browser-level behaviors:
### 3.1 How Data Loading Works in Both Scenarios (`graph-data.js` Synchronous Script vs. `fetch()`)
- **Why `fetch("./encyclopedia-graph.json")` Fails on `file://`:**
Every modern browser (Firefox, Chromium, Brave, Safari) blocks `fetch()` and `XMLHttpRequest` when the page origin is `file://` (`Cross-Origin Request Blocked: CORS request not http`).
- **Portable Dual-Mode Design:**
`build_encyclopedia_knowledge_graph.py` emits **both**:
1. `encyclopedia-graph.json` (for Python, `jq`, or HTTP API consumers), and
2. `graph-data.js` (`window.HyperstitionStudio = window.HyperstitionStudio || {}; window.HyperstitionStudio.EncyclopediaGraphData = {...};`), loaded via `<script src="./graph-data.js"></script>`.
- Because `<script src="./graph-data.js">` is permitted on **both** `file://` and `http://` origins without CORS restrictions, the exact same `index.html` boots instantaneously in both deployment modes with zero network configuration.
### 3.2 How Encyclopedia PDF Links Work in Both Scenarios (`encyclopediaBasePath` Auto-Resolution)
When a user clicks `"Open Encyclopedia Volume PDF"` inside the right-hand Inspector Drawer of `index.html`, the target path depends on how the folder is deployed:
| Deployment Scenario | How the User Opens `index.html` | How `encyclopedia/<div_id>/<slug>.pdf` Resolves |
| :--- | :--- | :--- |
| **Scenario A: Direct Offline `file://` Open** | Opens `file:///.../workspace/encyclopedia-knowledge-graph/index.html` directly in a browser | Relative link `../technocapital-singularity-zoology/encyclopedia/<div_id>/<slug>.pdf` (or `./encyclopedia/<div_id>/<slug>.pdf` if bundled) opens directly in the browser's built-in PDF viewer. |
| **Scenario B1: Static HTTP Server at `/workspace` Root** | Runs `python3 -m http.server 8090 --directory /workspace` and opens `http://127.0.0.1:8090/encyclopedia-knowledge-graph/index.html` | Relative link `../technocapital-singularity-zoology/encyclopedia/<div_id>/<slug>.pdf` resolves to `http://127.0.0.1:8090/technocapital-singularity-zoology/encyclopedia/...`. |
| **Scenario B2: Static HTTP Server Inside `/workspace/encyclopedia-knowledge-graph` Only** | Runs `python3 -m http.server 8090 --directory /workspace/encyclopedia-knowledge-graph` (or drops the folder onto Nginx/Caddy) and opens `http://127.0.0.1:8090/index.html` | **Notice the `../` Boundary:** An HTTP server cannot serve files *above* its `--directory` root (`../` clamps to `/` and 404s unless `encyclopedia/` is reachable inside the root).<br/>**Solution in `hyperstitionstud_io.graph`:** Provide `--bundle-encyclopedia` (copies or symlinks `./encyclopedia/` into the output directory and sets `encyclopediaBasePath = "./encyclopedia"` in `graph-data.js`), OR run `hs-kg serve` which mounts both directories automatically on `http://127.0.0.1:8090`. |
### 3.3 Side-by-Side Documentation Pattern for End Users (Zsh / Jellyfin Style)
Every operator manual and `README.md` produced by `hyperstitionstud_io.publishing` will document **both** deployment modes side by side so the user never has to guess why a path behaves differently under `file://` vs. `http://`:
```text
DEPLOYMENT MODE A — 100% OFFLINE IN-BROWSER APPLICATION (ZERO SERVER, file://)
1. Open index.html directly in any modern browser:
xdg-open /workspace/encyclopedia-knowledge-graph/index.html
or paste into the address bar:
file:///home/m00t/hermes/workspace/encyclopedia-knowledge-graph/index.html
2. All 388 nodes, 1,282 edges, 4 layout modes, search filters, PNG canvas export,
and ../technocapital-singularity-zoology/encyclopedia/*.pdf links work offline.
DEPLOYMENT MODE B — STATIC HTTP SERVER HOSTING (LOCALHOST OR LAN, http://)
Option B1 (Serve parent /workspace so sibling ../technocapital-singularity-zoology/encyclopedia/*.pdf resolves):
python3 -m http.server 8090 --bind 127.0.0.1 --directory /workspace
Open: http://127.0.0.1:8090/encyclopedia-knowledge-graph/index.html
Option B2 (Serve /workspace/encyclopedia-knowledge-graph as a single self-contained web root):
python3 /workspace/encyclopedia-knowledge-graph/scripts/build_encyclopedia_knowledge_graph.py --bundle-encyclopedia
python3 -m http.server 8090 --bind 127.0.0.1 --directory /workspace/encyclopedia-knowledge-graph
Open: http://127.0.0.1:8090/index.html
```
---
## 4. Repository Layout of `/workspace/hyperstitionstudio-core` (`v1.2.0`)
```text
/workspace/hyperstitionstudio-core/
├── pyproject.toml # Editable install: pip install --no-deps -e /workspace/hyperstitionstudio-core
├── package.json # Local workspace root for @hyperstitionstud.io/* ESM packages (0 network deps)
├── requirements.txt # Pillow>=10.0, reportlab>=4.0, pypdf>=4.0, pdfplumber>=0.10
├── workspace.example.toml # Template for /workspace/workspace.toml
├── schemas/
│ └── v1/ # Offline JSON Schemas ($id = urn:io:hyperstitionstud:schema:v1:*)
│ ├── glossary-registry.schema.json
│ ├── encyclopedia-manifest.schema.json
│ ├── singularity-zoology-matrix.schema.json
│ ├── memetic-superclass-registry.schema.json
│ ├── assemblage-builds-tier-list.schema.json
│ ├── quantitative-economic-anchors.schema.json
│ ├── citations-ledger.schema.json # Separates canonical `local_path` from local-config `url`
│ └── encyclopedia-graph.schema.json
├── src/
│ └── io/
│ └── hyperstitionstud/ # PEP 420 Namespace Root
│ ├── config/
│ │ ├── __init__.py
│ │ └── settings.py # Loads workspace.toml, resolves [paths] & [citations.path_mounts]
│ ├── ciphers/
│ │ ├── __init__.py
│ │ ├── base36_aq.py # compute_aq(), digit/spoken/dual quant modes, zero-d-filter guard
│ │ ├── primes.py # Prime sieve, prime_rank(), twin-prime & repdigit (37*k) predicates
│ │ └── vectors_g1_g6.py # G1 variance collapse, G2 cross-gen twins, G3 steps, G4 iso, G5 twin-prime
│ ├── phonetics/
│ │ ├── __init__.py
│ │ ├── ingglish_bridge.py # Self-contained G2P translator + pure-Python CMUdict fallback
│ │ └── cmudict_fallback.json # Offline deterministic fallback (removes --workdir coupling)
│ ├── publishing/
│ │ ├── __init__.py
│ │ ├── fonts.py # Local DejaVu Sans / Mono TrueType resolver (zero remote font fetches)
│ │ ├── pdf_compiler.py # Unified Markdown->PDF compiler (atomic .tmp.pdf + pypdf verification)
│ │ ├── tier_list_renderer.py # Unified S+..F & ETI 0-100 .pdf/.png renderer (Pillow + ReportLab)
│ │ ├── encyclopedia_pdf.py # Multi-division, alphabetized volume PDF compiler
│ │ └── pokedex_compositor.py # Gen IV INFO Pokedex & meme-card compositor with box collision audit
│ ├── glossary/
│ │ ├── __init__.py
│ │ ├── registry.py # GlossaryRegistry CRUD, source_type provenance filter
│ │ └── isolation_guard.py # Pure-Python hashlib.sha256 ReadOnlyIsolationGuard context manager
│ ├── graph/
│ │ ├── __init__.py
│ │ ├── builder.py # Multi-partite property graph builder & seen_edges deduplicator
│ │ ├── layouts.py # Mode 1 Trophic, Mode 2 Concentric ETI Radar, Mode 3 Funnel, Mode 4 Grid
│ │ ├── exporters.py # JSON, GraphML (urn:io:hyperstitionstud:ns:kg:1.0), GEXF 1.3, Canvas 1.0
│ │ ├── atlas_png.py # 1600x1060 high-res static board renderer with pill-masked arrows
│ │ └── bundler.py # Supports --bundle-encyclopedia for single-folder static HTTP deployment
│ ├── ci/
│ │ ├── __init__.py
│ │ ├── gates_hyperdope.py # 4-Gate CI validator (normalize_caps, classify_candidates, db.json)
│ │ ├── citation_sources.py # Pure local-config path_mounts resolver + local_path quote verifier
│ │ └── doctor.py # `hs-doctor`: single-command offline readiness, font, schema & SHA-256 check
│ └── audio/
│ ├── __init__.py
│ └── multi_voice_tts.py # 5-voice TTS lecture synthesizer, ffmpeg concat, mutagen duration audit
└── tests/
├── test_offline_portability_no_https.py # Asserts zero outbound https:// schema/font/CDN links in HTML/XML/JSON
├── test_config_and_citation_mounts.py
├── test_ciphers_and_vectors.py
├── test_phonetics_offline.py
├── test_publishing_pdf_and_png.py
├── test_glossary_isolation_guard.py
└── test_graph_exporters_and_urns.py
```
---
## 5. Four-Phase Implementation Roadmap (`v1.2.0`)
### Phase 1: Scaffold `/workspace/hyperstitionstudio-core`, `workspace.toml` & Offline `URN:` JSON Schemas
1. Create `/workspace/hyperstitionstudio-core` with `pyproject.toml`, `src/io/hyperstitionstud/config/settings.py`, and `/workspace/workspace.toml`.
2. Author the 8 JSON Schema files under `schemas/v1/*.schema.json` using `"$id": "urn:io:hyperstitionstud:schema:v1:<name>"` (zero `https://` schema URLs).
3. Add `test_offline_portability_no_https.py` to verify that no HTML workbench, SVG diagram, XML export, or JSON schema contains external `https://` font, script, or namespace links.
### Phase 2: Implement `ciphers`, `phonetics` (Offline `CMUdict`), `glossary` & `ci.citation_sources`
1. Extract `hyperstitionstud_io.ciphers` (`compute_aq`, `prime_rank`, `G1–G6` vectors, `assert_zero_d_filter`).
2. Extract `hyperstitionstud_io.phonetics` with bundled `cmudict_fallback.json` for 100% offline `Gen 0 -> Gen 1` translation.
3. Implement `hyperstitionstud_io.glossary.ReadOnlyIsolationGuard` (`hashlib.sha256`) and `hyperstitionstud_io.ci.citation_sources` (pure `[citations.path_mounts]` resolution).
### Phase 3: Implement `publishing` & `graph` Modules (With Dual `file://` + `http://` Support)
1. Extract ReportLab/Pillow rendering into `hyperstitionstud_io.publishing` and `hyperstitionstud_io.graph`.
2. Add `--bundle-encyclopedia` support in `hyperstitionstud_io.graph.bundler` so `index.html` resolves PDF links both when opened via `file://` / `/workspace` HTTP root (`../technocapital-singularity-zoology/encyclopedia/...`) and when served as a standalone single-folder HTTP root (`./encyclopedia/...`).
### Phase 4: Cut Over Consumer Projects & Verify Offline + HTTP Portability
1. Update `classify_technocapital_singularity.py` and `build_encyclopedia_knowledge_graph.py` to import from `hyperstitionstud_io.*`.
2. Run `hs-doctor`, `pytest`, and `build_encyclopedia_knowledge_graph.py --verify-only`, confirming `all_gates_passed == true`, `0` external `https://` dependencies in HTML/XML/JSON, and `0` SHA-256 mutations on `glossary-registry.json` and `encyclopedia-manifest.json`.
@@ -1,290 +0,0 @@
# Plan: Updating `git.libre.audio` Repositories for Direct Per-Repository Install Directory Mapping on the Linode / Akamai VPS (`v1.0.0`)
- **Document ID:** `PLAN-GIT-LIBRE-AUDIO-REPO-SYNC-FOR-VPS-INSTALL-DIRS` (`v1.0.0`)
- **Git Forge Authority:** `git.libre.audio` (SSH push: `ssh://git@git.libre.audio:2222/seasharp/<repo>.git`; Public HTTPS clone/pull on VPS: `https://git.libre.audio/seasharp/<repo>.git`)
- **Target Production Domain:** `https://hyperstitionstud.io` (Linode / Akamai Connected Cloud VPS)
- **Core Architectural Principle:** **1-to-1 Repository-to-Install-Directory Mapping on the VPS (`/srv/hyperstitionstud.io/repos/<repo-slug>`)** — Caddy routes each URL path on `https://hyperstitionstud.io` directly to the corresponding cloned repository directory on the VPS, eliminating ad-hoc file copying across repositories and enabling independent, atomic `git pull --ff-only` updates per repository.
---
## 1. Master Mapping Matrix: Source `/workspace` Repo -> `git.libre.audio` Remote -> VPS Install Dir -> Web Route
Every sibling repository in `/workspace` maps deterministically to a single repository under `seasharp` on `git.libre.audio`, a dedicated clone directory under `/srv/hyperstitionstud.io/repos/` on the Linode VPS, and a direct Caddy route on `https://hyperstitionstud.io`:
| # | Local `/workspace` Source Dir | `git.libre.audio` SSH Push URL (`origin`) | `git.libre.audio` Public HTTPS Clone URL (Used by VPS) | Dedicated VPS Install Directory (`/srv/hyperstitionstud.io/repos/*`) | Direct Web Route(s) on `https://hyperstitionstud.io` |
| :- | :--- | :--- | :--- | :--- | :--- |
| **1** | `/workspace/hyperstitionstudio-core`<br/>(`main`, `tag: v1.2.0`) | `ssh://git@git.libre.audio:2222/seasharp/hyperstitionstudio-core.git` | `https://git.libre.audio/seasharp/hyperstitionstudio-core.git` | `/srv/hyperstitionstud.io/repos/hyperstitionstudio-core` | • `/` (`site/index.html` Portal Homepage)<br/>• `/schemas/v1/*` (`schemas/v1/*.schema.json`) |
| **2** | `/workspace/ingglish-hyperdope-gematria`<br/>(`main`, `commit: 3b5bb05`) | `ssh://git@git.libre.audio:2222/seasharp/ingglish-hyperdope-gematria.git` | `https://git.libre.audio/seasharp/ingglish-hyperdope-gematria.git` | `/srv/hyperstitionstud.io/repos/ingglish-hyperdope-gematria` | • `/archive/*` (`ingglish-aq-archive/`) |
| **3** | `/workspace/technocapital-singularity-zoology`<br/>(`main`, `tag: v1.7.0`) | `ssh://git@git.libre.audio:2222/seasharp/technocapital-singularity-zoology.git` | `https://git.libre.audio/seasharp/technocapital-singularity-zoology.git` | `/srv/hyperstitionstud.io/repos/technocapital-singularity-zoology` | • `/encyclopedia/*` (`encyclopedia/`)<br/>• `/technocapital-singularity-zoology/encyclopedia/*` (`encyclopedia/` — direct sibling link target!)<br/>• `/zoology/*` (root PDFs, tier list, glossary, `dossiers/`) |
| **4** | `/workspace/encyclopedia-knowledge-graph`<br/>(`main`, `tag: v1.0.0`) | `ssh://git@git.libre.audio:2222/seasharp/encyclopedia-knowledge-graph.git` | `https://git.libre.audio/seasharp/encyclopedia-knowledge-graph.git` | `/srv/hyperstitionstud.io/repos/encyclopedia-knowledge-graph` | • `/graph/*` (root `index.html`, `graph-data.js`, `atlas-mode*.png`, `.json`, `.graphml`, `.gexf`, `.canvas`, `docs/`) |
| **5** | `/workspace/hyperdope-ci-build`<br/>(`feat/ingglish-aq-corpus`) | `ssh://git@git.libre.audio:2222/seasharp/ingglish-hyperdope-ci.git` | `https://git.libre.audio/seasharp/ingglish-hyperdope-ci.git` | `/srv/hyperstitionstud.io/repos/ingglish-hyperdope-ci` | • `/calc/*` (root `index.html`, `calc/*.js`, `db.json`, `config.default.js`) |
---
## 2. Why Per-Repository Install Directories on the VPS Eliminate Build & Path Friction
1. **Zero File-Copy Drift Between Git and the Live Web Root:**
Instead of a deployment script cherry-picking individual `.html`, `.js`, `.png`, and `.pdf` files out of multiple repositories and copying them into a synthetic directory tree, each repository on the VPS **is** its own install directory (`/srv/hyperstitionstud.io/repos/<repo>`). What is committed and tagged in Git on `git.libre.audio` is byte-for-byte what exists in `/srv/hyperstitionstud.io/repos/<repo>`.
2. **Native Sibling Relative-Link Compatibility (`../technocapital-singularity-zoology/encyclopedia/`):**
Inside `encyclopedia-knowledge-graph/index.html`, clicking `"Open Encyclopedia Volume PDF"` links to `../technocapital-singularity-zoology/encyclopedia/<div_id>/<slug>.pdf`.
When the user visits `https://hyperstitionstud.io/graph/index.html`, the browser resolves `../technocapital-singularity-zoology/encyclopedia/<div_id>/<slug>.pdf` to:
`https://hyperstitionstud.io/technocapital-singularity-zoology/encyclopedia/<div_id>/<slug>.pdf`!
By mapping `/technocapital-singularity-zoology/*` (as well as the short alias `/encyclopedia/*`) directly to `/srv/hyperstitionstud.io/repos/technocapital-singularity-zoology` in Caddy, **zero rewriting of `graph-data.js` or `index.html` is needed on the VPS**—the exact same unmodified repository works via `file://`, via local `python3 -m http.server`, and on `https://hyperstitionstud.io/graph/`!
3. **Independent Per-Repo Updates & Rollbacks:**
Updating the Knowledge Graph on the VPS requires only:
`git -C /srv/hyperstitionstud.io/repos/encyclopedia-knowledge-graph fetch origin && git -C /srv/hyperstitionstud.io/repos/encyclopedia-knowledge-graph checkout v1.0.0`
without touching the 22-Volume PDF Encyclopedia repo or the Calculator repo.
---
## 3. Phase 1 (Git Operator on Workstation): Prepare & Push All 5 Repositories to `git.libre.audio`
### Step 1.1: Include the Static Portal Homepage (`site/index.html`) in `hyperstitionstudio-core`
So that even the root homepage (`https://hyperstitionstud.io/`) comes directly from a version-controlled repository install directory (`/srv/hyperstitionstud.io/repos/hyperstitionstudio-core/site/index.html`) rather than an unversioned file on the VPS:
- Commit the `< 8 KB` inline-CSS/SVG dark-mode portal homepage at `/workspace/hyperstitionstudio-core/site/index.html`, linking directly to `/graph/`, `/encyclopedia/`, `/zoology/`, `/archive/`, and `/calc/`.
### Step 1.2: Configure `git.libre.audio` Remotes & Verify Pre-Push Gates Across All 5 Repositories
Run the pre-push verification suite first to confirm all 5 repositories are clean and pass all 6 Knowledge Graph & SHA-256 isolation gates:
```bash
# 1. Verify environment, 4,897 offline CMUdict entries, and SHA-256 locks
hs-doctor
# 2. Run the 6-suite core library unit & integration tests
python3 /workspace/hyperstitionstudio-core/tests/test_core_suite.py
# 3. Verify all 6 Knowledge Graph gates
python3 /workspace/encyclopedia-knowledge-graph/scripts/build_encyclopedia_knowledge_graph.py --verify-only
```
### Step 1.3: Create Missing Repositories on `git.libre.audio` (If Not Yet Created) & Push in Dependency Order
Ensure the three new repositories exist under `seasharp` on `git.libre.audio` (`Visibility: Public` so the Linode VPS can clone over `https://` without storing SSH private keys on the web server):
- `seasharp/hyperstitionstudio-core`
- `seasharp/technocapital-singularity-zoology`
- `seasharp/encyclopedia-knowledge-graph`
*(Note: `seasharp/ingglish-hyperdope-gematria` and `seasharp/ingglish-hyperdope-ci` already exist on `git.libre.audio` and are already configured as `origin` in their respective `/workspace` folders).*
Then execute the topological push sequence:
```bash
FORGE_SSH="ssh://git@git.libre.audio:2222/seasharp"
# 1. Push Repo #1: hyperstitionstudio-core (main + tag v1.2.0)
/workspace/hyperstitionstudio-core/push-to-origin.sh "${FORGE_SSH}/hyperstitionstudio-core.git"
# 2. Push Repo #2: ingglish-hyperdope-gematria (main, commit 3b5bb05 with Dossiers 48-70)
cd /workspace/ingglish-hyperdope-gematria
git push -u origin main
# 3. Push Repo #3: technocapital-singularity-zoology (main + tags v1.0.0..v1.7.0)
cd /workspace/technocapital-singularity-zoology
git remote add origin "${FORGE_SSH}/technocapital-singularity-zoology.git" 2>/dev/null || \
git remote set-url origin "${FORGE_SSH}/technocapital-singularity-zoology.git"
git push -u origin main
git push origin --tags
# 4. Push Repo #4: encyclopedia-knowledge-graph (main + tag v1.0.0)
/workspace/encyclopedia-knowledge-graph/push-to-origin.sh "${FORGE_SSH}/encyclopedia-knowledge-graph.git"
# 5. Push Repo #5: hyperdope-ci-build (feat/ingglish-aq-corpus -> seasharp/ingglish-hyperdope-ci.git)
cd /workspace/hyperdope-ci-build
git push -u origin feat/ingglish-aq-corpus
```
---
## 4. Phase 2 (VPS Operator on Linode / Akamai): Per-Repository Install Layout & Direct Caddy Routing
### Step 2.1: Clone Each `git.libre.audio` Repository into `/srv/hyperstitionstud.io/repos/<repo>`
On the Linode VPS, create `/srv/hyperstitionstud.io/repos` and clone each repository over public HTTPS directly into its permanent install directory:
```bash
sudo mkdir -p /srv/hyperstitionstud.io/repos
sudo chown -R "$USER:$USER" /srv/hyperstitionstud.io
cd /srv/hyperstitionstud.io/repos
FORGE_HTTPS="https://git.libre.audio/seasharp"
git clone "${FORGE_HTTPS}/hyperstitionstudio-core.git"
git clone "${FORGE_HTTPS}/ingglish-hyperdope-gematria.git"
git clone "${FORGE_HTTPS}/technocapital-singularity-zoology.git"
git clone "${FORGE_HTTPS}/encyclopedia-knowledge-graph.git"
git clone -b feat/ingglish-aq-corpus "${FORGE_HTTPS}/ingglish-hyperdope-ci.git"
# Initialize local workspace.toml and Python venv at the /srv/hyperstitionstud.io/repos parent level
cp hyperstitionstudio-core/workspace.example.toml ./workspace.toml
python3 -m venv .venv
.venv/bin/pip install --upgrade pip
.venv/bin/pip install -r hyperstitionstudio-core/requirements.txt
.venv/bin/pip install --no-deps -e ./hyperstitionstudio-core
# Verify all 4 repos and SHA-256 locks directly inside /srv/hyperstitionstud.io/repos
.venv/bin/hs-doctor
.venv/bin/python3 encyclopedia-knowledge-graph/scripts/build_encyclopedia_knowledge_graph.py --verify-only
```
### Step 2.2: Pre-Compress In-Place Inside Each Repo Install Dir (& Optional `tmpfs` Mirror)
Run a single non-destructive sidecar compression pass that creates `.br` (`brotli -q 11 -k`) and `.gz` (`gzip -9 -k`) sidecar files alongside the tracked `.html`, `.js`, `.json`, `.graphml`, `.gexf`, and `.canvas` files inside `/srv/hyperstitionstud.io/repos/` (with `*.br` and `*.gz` listed in `/srv/hyperstitionstud.io/repos/.git/info/exclude` or `.gitignore` so `git status` remains 100% clean!), or sync `/srv/hyperstitionstud.io/repos/` 1-to-1 into the RAM-backed `/var/www/hyperstitionstud.io/repos/` `tmpfs` mount:
```bash
# Sync all 5 repo install directories 1-to-1 into RAM-backed tmpfs (/var/www/hyperstitionstud.io/repos/<repo>)
sudo mkdir -p /var/www/hyperstitionstud.io/repos
sudo rsync -a --delete --exclude='.git' --exclude='.venv' \
/srv/hyperstitionstud.io/repos/ /var/www/hyperstitionstud.io/repos/
# Generate .br and .gz precompressed sidecars inside the RAM mount
sudo find /var/www/hyperstitionstud.io/repos -type f \
\( -name "*.html" -o -name "*.js" -o -name "*.json" -o -name "*.graphml" -o -name "*.gexf" -o -name "*.canvas" -o -name "*.css" \) \
-exec gzip -9 -k -f {} \; \
-exec brotli -q 11 -k -f {} \;
```
### Step 2.3: Caddy Configuration Referencing Each Repository Install Directory Directly (`/etc/caddy/Caddyfile`)
Every route in `/etc/caddy/Caddyfile` maps explicitly to its owning repository install directory under `/var/www/hyperstitionstud.io/repos/<repo-slug>` (or `/srv/hyperstitionstud.io/repos/<repo-slug>`):
```caddyfile
# /etc/caddy/Caddyfile — Direct Per-Repository Install Directory Routing
{
servers {
protocols h1 h2 h3
}
}
www.hyperstitionstud.io {
redir https://hyperstitionstud.io{uri} permanent
}
hyperstitionstud.io {
encode zstd gzip
header {
Alt-Svc "h3=\":443\"; ma=2592000"
Strict-Transport-Security "max-age=63072000; includeSubDomains; preload"
X-Content-Type-Options "nosniff"
Referrer-Policy "strict-origin-when-cross-origin"
-Server
}
# 1. Repo: encyclopedia-knowledge-graph -> https://hyperstitionstud.io/graph/*
handle_path /graph/* {
root * /var/www/hyperstitionstud.io/repos/encyclopedia-knowledge-graph
file_server {
precompressed br gzip
}
}
redir /graph /graph/ permanent
# 2. Repo: technocapital-singularity-zoology -> /encyclopedia/*, /zoology/*, and sibling path
handle_path /encyclopedia/* {
root * /var/www/hyperstitionstud.io/repos/technocapital-singularity-zoology/encyclopedia
file_server {
precompressed br gzip
}
}
handle_path /technocapital-singularity-zoology/* {
root * /var/www/hyperstitionstud.io/repos/technocapital-singularity-zoology
file_server {
precompressed br gzip
}
}
handle_path /zoology/* {
root * /var/www/hyperstitionstud.io/repos/technocapital-singularity-zoology
file_server {
precompressed br gzip
}
}
# 3. Repo: ingglish-hyperdope-gematria -> /archive/*
handle_path /archive/* {
root * /var/www/hyperstitionstud.io/repos/ingglish-hyperdope-gematria/ingglish-aq-archive
file_server {
precompressed br gzip
}
}
# 4. Repo: ingglish-hyperdope-ci -> /calc/*
handle_path /calc/* {
root * /var/www/hyperstitionstud.io/repos/ingglish-hyperdope-ci
file_server {
precompressed br gzip
}
}
redir /calc /calc/ permanent
# 5. Repo: hyperstitionstudio-core -> /schemas/* and Root Portal Homepage (/)
handle_path /schemas/* {
root * /var/www/hyperstitionstud.io/repos/hyperstitionstudio-core/schemas
file_server {
precompressed br gzip
}
}
handle {
root * /var/www/hyperstitionstud.io/repos/hyperstitionstudio-core/site
file_server {
precompressed br gzip
}
}
}
```
---
## 5. Phase 3: Per-Repository Update & Audit Workflow on the VPS (`sync-vps-repos.sh`)
Whenever any repository on `git.libre.audio` receives a new commit or tag, the VPS operator updates either all repositories or a single named repository (`./sync-vps-repos.sh encyclopedia-knowledge-graph`) using the following script:
```bash
#!/usr/bin/env bash
# /srv/hyperstitionstud.io/sync-vps-repos.sh
# Pulls latest verified commits from git.libre.audio per repo install dir, runs 6-gate audit,
# and syncs updated repo(s) into the RAM-backed /var/www/hyperstitionstud.io/repos/ tmpfs mount.
set -euo pipefail
REPOS_ROOT="/srv/hyperstitionstud.io/repos"
LIVE_REPOS="/var/www/hyperstitionstud.io/repos"
TARGET_REPO="${1:-all}"
REPOS=(
"hyperstitionstudio-core:main"
"ingglish-hyperdope-gematria:main"
"technocapital-singularity-zoology:main"
"encyclopedia-knowledge-graph:main"
"ingglish-hyperdope-ci:feat/ingglish-aq-corpus"
)
for entry in "${REPOS[@]}"; do
repo="${entry%%:*}"
branch="${entry##*:}"
if [[ "${TARGET_REPO}" != "all" && "${TARGET_REPO}" != "${repo}" ]]; then
continue
fi
echo "[git.libre.audio -> VPS] Updating ${REPOS_ROOT}/${repo} (${branch})..."
git -C "${REPOS_ROOT}/${repo}" fetch origin "${branch}" --tags
git -C "${REPOS_ROOT}/${repo}" merge --ff-only "origin/${branch}"
done
echo "[audit] Running hs-doctor and 6-gate Knowledge Graph verification..."
"${REPOS_ROOT}/.venv/bin/hs-doctor" >/dev/null
"${REPOS_ROOT}/.venv/bin/python3" "${REPOS_ROOT}/encyclopedia-knowledge-graph/scripts/build_encyclopedia_knowledge_graph.py" --verify-only >/dev/null
echo "[ram-sync] Syncing per-repo install dirs to ${LIVE_REPOS} and pre-compressing (.br / .gz)..."
for entry in "${REPOS[@]}"; do
repo="${entry%%:*}"
if [[ "${TARGET_REPO}" != "all" && "${TARGET_REPO}" != "${repo}" ]]; then
continue
fi
mkdir -p "${LIVE_REPOS}/${repo}"
rsync -a --delete --exclude='.git' "${REPOS_ROOT}/${repo}/" "${LIVE_REPOS}/${repo}/"
find "${LIVE_REPOS}/${repo}" -type f \
\( -name "*.html" -o -name "*.js" -o -name "*.json" -o -name "*.graphml" -o -name "*.gexf" -o -name "*.canvas" -o -name "*.css" \) \
-exec gzip -9 -k -f {} \; \
-exec brotli -q 11 -k -f {} \;
done
echo "[ok] Live per-repo install directories updated at ${LIVE_REPOS}"
```
@@ -1,244 +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 11 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 19 0 R /MediaBox [ 0 0 612 792 ] /Parent 18 0 R /Resources <<
/Font 1 0 R /ProcSet [ /PDF /Text /ImageB /ImageC /ImageI ]
>> /Rotate 0 /Trans <<
>>
/Type /Page
>>
endobj
7 0 obj
<<
/Contents 20 0 R /MediaBox [ 0 0 612 792 ] /Parent 18 0 R /Resources <<
/Font 1 0 R /ProcSet [ /PDF /Text /ImageB /ImageC /ImageI ]
>> /Rotate 0 /Trans <<
>>
/Type /Page
>>
endobj
8 0 obj
<<
/Contents 21 0 R /MediaBox [ 0 0 612 792 ] /Parent 18 0 R /Resources <<
/Font 1 0 R /ProcSet [ /PDF /Text /ImageB /ImageC /ImageI ]
>> /Rotate 0 /Trans <<
>>
/Type /Page
>>
endobj
9 0 obj
<<
/Contents 22 0 R /MediaBox [ 0 0 612 792 ] /Parent 18 0 R /Resources <<
/Font 1 0 R /ProcSet [ /PDF /Text /ImageB /ImageC /ImageI ]
>> /Rotate 0 /Trans <<
>>
/Type /Page
>>
endobj
10 0 obj
<<
/Contents 23 0 R /MediaBox [ 0 0 612 792 ] /Parent 18 0 R /Resources <<
/Font 1 0 R /ProcSet [ /PDF /Text /ImageB /ImageC /ImageI ]
>> /Rotate 0 /Trans <<
>>
/Type /Page
>>
endobj
11 0 obj
<<
/BaseFont /Helvetica-BoldOblique /Encoding /WinAnsiEncoding /Name /F5 /Subtype /Type1 /Type /Font
>>
endobj
12 0 obj
<<
/Contents 24 0 R /MediaBox [ 0 0 612 792 ] /Parent 18 0 R /Resources <<
/Font 1 0 R /ProcSet [ /PDF /Text /ImageB /ImageC /ImageI ]
>> /Rotate 0 /Trans <<
>>
/Type /Page
>>
endobj
13 0 obj
<<
/Contents 25 0 R /MediaBox [ 0 0 612 792 ] /Parent 18 0 R /Resources <<
/Font 1 0 R /ProcSet [ /PDF /Text /ImageB /ImageC /ImageI ]
>> /Rotate 0 /Trans <<
>>
/Type /Page
>>
endobj
14 0 obj
<<
/Contents 26 0 R /MediaBox [ 0 0 612 792 ] /Parent 18 0 R /Resources <<
/Font 1 0 R /ProcSet [ /PDF /Text /ImageB /ImageC /ImageI ]
>> /Rotate 0 /Trans <<
>>
/Type /Page
>>
endobj
15 0 obj
<<
/Contents 27 0 R /MediaBox [ 0 0 612 792 ] /Parent 18 0 R /Resources <<
/Font 1 0 R /ProcSet [ /PDF /Text /ImageB /ImageC /ImageI ]
>> /Rotate 0 /Trans <<
>>
/Type /Page
>>
endobj
16 0 obj
<<
/PageMode /UseNone /Pages 18 0 R /Type /Catalog
>>
endobj
17 0 obj
<<
/Author (Hermes Agent) /CreationDate (D:20261129214717+00'00') /Creator (\(unspecified\)) /Keywords () /ModDate (D:20261129214717+00'00') /Producer (ReportLab PDF Library - \(opensource\))
/Subject (\(unspecified\)) /Title (Plan: Updating git.libre.audio Repositories for Direct Per-Repo Install Directory Mapping on the Linode / Akamai VPS \(v1.0.0\)) /Trapped /False
>>
endobj
18 0 obj
<<
/Count 9 /Kids [ 6 0 R 7 0 R 8 0 R 9 0 R 10 0 R 12 0 R 13 0 R 14 0 R 15 0 R ] /Type /Pages
>>
endobj
19 0 obj
<<
/Filter [ /ASCII85Decode /FlateDecode ] /Length 2064
>>
stream
Gau`UD0+\p&H88.Z2M[RiYS#l5WbP!noC'lmZ%A#:1s,dfF"R^/Y=RA8#JSc.q=4JL,e-Y+G1>#>!6%Rqs5pY@,m`PT5FYuILOdB!TLoi%S4cZ_>"3ea%,$IZB8HS@%4(IJD!V'Y^)L4]n0eWgJ6(2FaML%^c6kaJ5-uDG;0"$`lHfU+1OU#[pqe'gI=#X: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
0000000767 00000 n
0000000962 00000 n
0000001157 00000 n
0000001352 00000 n
0000001548 00000 n
0000001668 00000 n
0000001864 00000 n
0000002060 00000 n
0000002256 00000 n
0000002452 00000 n
0000002522 00000 n
0000002916 00000 n
0000003029 00000 n
0000005185 00000 n
0000007519 00000 n
0000009235 00000 n
0000010758 00000 n
0000012442 00000 n
0000013462 00000 n
0000014314 00000 n
0000015830 00000 n
trailer
<<
/ID
[<226c5256e3bb5eebebdf93a379a012eb><226c5256e3bb5eebebdf93a379a012eb>]
% ReportLab generated PDF document -- digest (opensource)
/Info 17 0 R
/Root 16 0 R
/Size 28
>>
startxref
16892
%%EOF
@@ -1,186 +0,0 @@
# Git Operator Release & Public HTTP Repository Update Plan: Guaranteeing Zero-Error New-User Onboarding (`v1.0.0`)
- **Document ID:** `PLAN-GIT-OPERATOR-PUBLIC-HTTP-RELEASE-AND-ONBOARDING` (`v1.0.0`)
- **Target Audience:** Git Operator maintaining the public HTTP repositories (`https://git.libre.audio/seasharp/*` and/or GitHub mirrors)
- **End-User Guarantee:** A completely new user cloning the public HTTP repositories into **any** arbitrary local parent directory (e.g., `~/hyperstition-workspace/` on Linux or macOS, **not** `/workspace/`) can follow `README.md` and `OPERATORS-MANUAL-ENCYCLOPEDIA-KNOWLEDGE-GRAPH.md` from top to bottom with **zero errors**.
- **Glossary & Encyclopedia Isolation Invariant:** Verified (`0` changes to `taxonomy/glossary-registry.json` or `encyclopedia/encyclopedia-manifest.json`).
---
## 1. Executive Audit: Current Repository & Remote State vs. Public HTTP Readiness
An audit of the 5 sibling repositories in `/workspace` reveals two categories of blockers that a Git Operator must resolve before updating the public HTTP remotes:
### 1.1 Current Git Working-Tree & Remote Status Across `/workspace`
| Repository | Current Branch & Tag | Configured Remote (`git remote -v`) | Working-Tree State & Blocker to Resolve |
| :--- | :--- | :--- | :--- |
| **`hyperstitionstudio-core`** | `main` (`v1.2.0`, `f8235a2`) | *None configured yet* | Clean working tree; needs remote `origin` added and pushed first. |
| **`ingglish-hyperdope-gematria`** | `main` | `origin`: `ssh://git@git.libre.audio:2222/seasharp/ingglish-hyperdope-gematria.git` | **Has uncommitted modified & untracked files** (`48..70-dossier-*.md`, `news-aq-harvest-latest.json`, `build_wire_report_pdf.py`). If not committed & pushed, a new user cloning from HTTP will miss Dossiers `48–70`! |
| **`technocapital-singularity-zoology`** | `main` (`v1.7.0`, `1f2c4f4`) | *None configured yet* | Clean working tree (`8` JSON registries tracked); needs remote `origin` added and pushed. |
| **`encyclopedia-knowledge-graph`** | `main` (`v1.0.0`, `b4ca2ce`) | *None configured yet* | Clean working tree (`388` nodes, `1,282` edges); needs remote `origin` added and pushed. |
| **`hyperdope-ci-build`** | `feat/ingglish-aq-corpus` (`ahead 43`) | `origin`: `ssh://git@git.libre.audio:2222/seasharp/ingglish-hyperdope-ci.git` | Clean working tree (`43` local commits ahead of `origin`); needs `git push origin feat/ingglish-aq-corpus`. |
### 1.2 Four Hidden "/workspace" Traps That Would Break a Brand-New User Outside `/workspace`
Even if all 5 repositories are pushed as-is today, a new user who clones them into `~/projects/hyperstition/` (instead of `/workspace/`) and follows the docs will hit **four deterministic errors** unless the Git Operator applies the Phase 1 portability hardening below before pushing:
1. **Trap 1 — Hardcoded `/workspace/...` Default Paths in Python CLI Scripts:**
- `build_encyclopedia_knowledge_graph.py` currently sets `KG_REPO_ROOT = Path("/workspace/encyclopedia-knowledge-graph")` and `UPSTREAM_REPO_DEFAULT = Path("/workspace/technocapital-singularity-zoology")`.
- `hyperstitionstud_io/config/__init__.py` defaults to `Path("/workspace/...")` when `/workspace/workspace.toml` does not exist.
- **Effect on New User:** Running `python3 scripts/build_encyclopedia_knowledge_graph.py` or `hs-doctor` inside `~/projects/hyperstition/encyclopedia-knowledge-graph` raises `FileNotFoundError: '/workspace/technocapital-singularity-zoology/...'`.
- **Fix:** Derive `REPO_ROOT = Path(__file__).resolve().parent.parent` and `WORKSPACE_ROOT = REPO_ROOT.parent` dynamically in every script and in `hyperstitionstud_io.config`.
2. **Trap 2 — Absolute `/workspace/...` Paths Stored Inside `encyclopedia-manifest.json` (`vol["md_path"]`):**
- `encyclopedia/encyclopedia-manifest.json` stores `"md_path": "/workspace/technocapital-singularity-zoology/encyclopedia/00-.../00-....md"`.
- In `build_encyclopedia_knowledge_graph.py` (line 197), `md_p = Path(vol["md_path"])` checks that literal `/workspace/...` path instead of resolving `upstream_repo / "encyclopedia" / vol["division_id"] / f"{vol['slug']}.md"`.
- **Effect on New User:** Outside `/workspace`, `md_p.exists()` returns `False`, causing all `281` `IN_VOLUME` edges to drop to `0` and failing Gate 3 (`edges >= 1282`)!
- **Fix:** Resolve volume Markdown paths relative to `upstream_repo / "encyclopedia" / vol["division_id"] / f"{vol['slug']}.md"` first, falling back to `Path(vol["md_path"])`.
3. **Trap 3 — Relative Local Paths in `verify_draft()` When Running Outside `/workspace`:**
- In `taxonomy/citations-ledger-common.json`, entries `[3]..[7]` store `/workspace/technocapital-singularity-zoology/dossiers/65-dossier-...md`.
- When a new user runs `hs-citations verify` or `test_core_suite.py` inside `~/projects/hyperstition/`, `load_ledger()` should resolve `/workspace/technocapital-singularity-zoology/...` prefix against the active `cfg.zoology_dir` when `/workspace` does not exist on the host machine.
4. **Trap 4 — OS-Specific DejaVu TrueType Font Paths (`/usr/share/fonts/truetype/dejavu/`):**
- Debian/Ubuntu stores DejaVu fonts in `/usr/share/fonts/truetype/dejavu/`, whereas Fedora/RHEL uses `/usr/share/fonts/dejavu-sans-fonts/`, Arch uses `/usr/share/fonts/TTF/`, and macOS uses `/Library/Fonts/` or Homebrew paths.
- **Fix:** Implement a multi-path TrueType font resolver in `hyperstitionstud_io.publishing.fonts` (with graceful fallback to `ImageFont.load_default()` in Pillow and built-in `Helvetica`/`Courier` in ReportLab) so new users on Fedora, Arch, Ubuntu, or macOS never hit `TTFError` or `OSError`.
---
## 2. Step-by-Step Git Operator Execution Plan (`Phases 1–5`)
### Phase 1: Eliminate All Hardcoded `/workspace` & OS-Font Assumptions (Location-Independent Sibling Discovery)
Before pushing to any public HTTP remote, update the path-resolution logic in `hyperstitionstudio-core`, `encyclopedia-knowledge-graph`, and `technocapital-singularity-zoology`:
1. **Dynamic Sibling Discovery in `hyperstitionstud_io.config`:**
Instead of defaulting to `/workspace`, `load_workspace_config()` computes:
```python
PACKAGE_REPO_ROOT = Path(__file__).resolve().parents[3] # .../hyperstitionstudio-core
WORKSPACE_ROOT = PACKAGE_REPO_ROOT.parent # Parent folder containing all sibling repos
```
and searches for `WORKSPACE_ROOT / "workspace.toml"` before `/workspace/workspace.toml`. All default sibling paths (`core_dir`, `archive_dir`, `zoology_dir`, `knowledge_graph_dir`, `ci_build_dir`) resolve relative to `WORKSPACE_ROOT`.
2. **Dynamic `REPO_ROOT` & Relative `encyclopedia/` Lookup in `build_encyclopedia_knowledge_graph.py`:**
- Set `KG_REPO_ROOT = Path(__file__).resolve().parent.parent` and `UPSTREAM_REPO_DEFAULT = KG_REPO_ROOT.parent / "technocapital-singularity-zoology"`.
- Resolve each volume Markdown file as `md_p = upstream_repo / "encyclopedia" / div_id / f"{slug}.md"` (falling back to `Path(vol["md_path"])` only if the relative path is absent).
3. **Cross-Distro / Cross-OS Font Resolver (`hyperstitionstud_io.publishing.fonts`):**
Search candidate font directories (`/usr/share/fonts/truetype/dejavu`, `/usr/share/fonts/dejavu-sans-fonts`, `/usr/share/fonts/dejavu-sans-mono-fonts`, `/usr/share/fonts/TTF`, `/Library/Fonts`) and fall back cleanly to built-in fonts if DejaVu is not installed.
---
### Phase 2: Synchronize & Commit Pending Upstream Archive Files in `/workspace/ingglish-hyperdope-gematria`
Ensure the upstream archive repository has zero uncommitted or untracked files before pushing:
```bash
cd /workspace/ingglish-hyperdope-gematria
# 1. Verify .mp3 files are ignored in .gitignore so audio binaries do not bloat HTTP clones
grep -q '\*.mp3' .gitignore || printf "\n*.mp3\n__pycache__/\n*.pyc\n" >> .gitignore
# 2. Stage all dossiers (48..70-dossier-*.md), news-aq-harvest-latest.json, and updated scripts
git add -A
git commit -m "feat(archive): sync dossiers 48-70, 2026-11-28 wire harvest, zoology dossiers 65-69, and lecture transcripts"
git status -s -b
```
---
### Phase 3: Provision & Push Repositories in Strict Dependency Order
The Git Operator must create the remote repositories on the Git host (e.g., `https://git.libre.audio/seasharp/<repo>.git` or `https://github.com/<org>/<repo>.git`) with **public HTTP read access enabled** so anonymous users can `git clone https://...` without SSH keys, and push them in topological order:
```bash
# Set your remote base URL (SSH for operator push; public HTTP for new-user clone)
OPERATOR_PUSH_BASE="ssh://git@git.libre.audio:2222/seasharp"
PUBLIC_HTTP_BASE="https://git.libre.audio/seasharp"
# 1. Push Tier 0 Common Library: hyperstitionstudio-core (v1.2.0)
/workspace/hyperstitionstudio-core/push-to-origin.sh "${OPERATOR_PUSH_BASE}/hyperstitionstudio-core.git"
# 2. Push Tier 1 Upstream Archive: ingglish-hyperdope-gematria
cd /workspace/ingglish-hyperdope-gematria
git push -u origin main
# 3. Push Tier 2 Domain Taxonomy & Encyclopedia: technocapital-singularity-zoology (v1.7.0)
cd /workspace/technocapital-singularity-zoology
git remote add origin "${OPERATOR_PUSH_BASE}/technocapital-singularity-zoology.git" 2>/dev/null || \
git remote set-url origin "${OPERATOR_PUSH_BASE}/technocapital-singularity-zoology.git"
git push -u origin main
git push origin --tags
# 4. Push Tier 3 Interactive Knowledge Graph: encyclopedia-knowledge-graph (v1.0.0)
/workspace/encyclopedia-knowledge-graph/push-to-origin.sh "${OPERATOR_PUSH_BASE}/encyclopedia-knowledge-graph.git"
# 5. Push Tier 4 Downstream CI PR Fork: hyperdope-ci-build
cd /workspace/hyperdope-ci-build
git push -u origin feat/ingglish-aq-corpus
```
---
### Phase 4: Standardize the Public HTTP "New User Quickstart" Across All `README.md` Files
Every repository's top-level `README.md` must present the exact same, copy-pasteable **5-Minute New-User Onboarding Block** using **public `https://` clone URLs** and **relative paths** (never requiring `/workspace` or root privileges):
```bash
# 1. Create a parent workspace folder anywhere on your machine
mkdir -p ~/hyperstition-workspace && cd ~/hyperstition-workspace
# 2. Clone the peer repositories over public HTTPS (no SSH key required)
git clone https://git.libre.audio/seasharp/hyperstitionstudio-core.git
git clone https://git.libre.audio/seasharp/ingglish-hyperdope-gematria.git
git clone https://git.libre.audio/seasharp/technocapital-singularity-zoology.git
git clone https://git.libre.audio/seasharp/encyclopedia-knowledge-graph.git
# 3. Create & activate a local Python virtual environment and install dependencies
python3 -m venv .venv
source .venv/bin/activate
pip install --upgrade pip
pip install -r hyperstitionstudio-core/requirements.txt
pip install --no-deps -e ./hyperstitionstudio-core
# 4. Copy the default workspace configuration and run the pre-flight health check
cp hyperstitionstudio-core/workspace.example.toml ./workspace.toml
hs-doctor
# 5. Verify the Knowledge Graph (all 6 CI gates) & launch in your browser
python3 encyclopedia-knowledge-graph/scripts/build_encyclopedia_knowledge_graph.py --verify-only
# Deployment Option A (100% Offline Direct Browser Open — Zero Server):
xdg-open encyclopedia-knowledge-graph/index.html # Linux (or `open` on macOS)
# Deployment Option B (Local HTTP Server — Serves Both Graph Workbench & 22 Encyclopedia PDFs):
python3 -m http.server 8090 --bind 127.0.0.1 --directory .
# Then open: http://127.0.0.1:8090/encyclopedia-knowledge-graph/index.html
```
---
### Phase 5: Mandatory Clean-Room New-User Simulation Gate (Pre-Release Verification)
Before announcing or closing the release, the Git Operator must execute a **Clean-Room New-User Simulation** in an isolated directory outside `/workspace` (e.g., `/tmp/new-user-cleanroom-test`) while temporarily hiding or ignoring `/workspace` defaults:
```bash
rm -rf /tmp/new-user-cleanroom-test
mkdir -p /tmp/new-user-cleanroom-test && cd /tmp/new-user-cleanroom-test
# Clone strictly via git clone (from public HTTP URLs or local bare/repo paths during staging)
git clone /workspace/hyperstitionstudio-core
git clone /workspace/ingglish-hyperdope-gematria
git clone /workspace/technocapital-singularity-zoology
git clone /workspace/encyclopedia-knowledge-graph
# Run every documented new-user command inside /tmp/new-user-cleanroom-test
PYTHONPATH="/tmp/new-user-cleanroom-test/hyperstitionstudio-core/src" \
python3 /tmp/new-user-cleanroom-test/hyperstitionstudio-core/tests/test_core_suite.py
PYTHONPATH="/tmp/new-user-cleanroom-test/hyperstitionstudio-core/src" \
python3 /tmp/new-user-cleanroom-test/encyclopedia-knowledge-graph/scripts/build_encyclopedia_knowledge_graph.py
PYTHONPATH="/tmp/new-user-cleanroom-test/hyperstitionstudio-core/src" \
python3 /tmp/new-user-cleanroom-test/encyclopedia-knowledge-graph/scripts/build_encyclopedia_knowledge_graph.py --verify-only
```
**Release Acceptance Criteria (All 5 Must Pass):**
1. `test_core_suite.py` exits `0` (`ALL 6 TEST SUITES PASSED`) inside `/tmp/new-user-cleanroom-test`.
2. `build_encyclopedia_knowledge_graph.py` exits `0` inside `/tmp/new-user-cleanroom-test` without passing `--upstream-repo` or `--out-dir` flags, producing all `388` nodes and `1,282` deduplicated edges (`281` `IN_VOLUME` edges preserved).
3. `build_encyclopedia_knowledge_graph.py --verify-only` reports `"all_gates_passed": true`.
4. `sources.py verify --evidence` exits `0` (`citations OK`) on all 5 stakeholder proposals inside `/tmp/new-user-cleanroom-test`.
5. `git status -s` is completely empty across every repository in `/workspace`.
@@ -1,194 +0,0 @@
# Production VPS & Git Operator Deployment Guide (`v2.3.0` — Direct Per-Repository Install Directory & Untracked `.gitignore` Artifact Edition)
- **Document ID:** `VPS-AND-GIT-OPERATOR-DEPLOYMENT-GUIDE` (`v2.3.0`)
- **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/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).
---
## 1. Master 1-to-1 Mapping: `git.libre.audio` Repository -> VPS Install Dir -> Web Route
Each sibling repository on `git.libre.audio` is cloned into `/srv/hyperstitionstud.io/repos/<repo-slug>` on NVMe and synced 1-to-1 into the `512 MB` RAM-backed `tmpfs` mount at `/var/www/hyperstitionstud.io/repos/<repo-slug>`:
| # | 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`) |
| **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/`) |
| **5** | `haiperdohp-jemaytreeah` (`main`) | `https://git.libre.audio/seasharp/haiperdohp-jemaytreeah.git` | `/srv/hyperstitionstud.io/repos/haiperdohp-jemaytreeah` | • `/calc/*` (`index.html`, `config.js`, `calc/*.js`, `db.json`, `db_lite.json` — confluence of `hyperdope-ci-build` output & upstream `hyperdope-gematria`) |
| **6** | `ingglish-hyperdope-ci` (`feat/ingglish-aq-corpus`) | `https://git.libre.audio/seasharp/ingglish-hyperdope-ci.git` | `/srv/hyperstitionstud.io/repos/ingglish-hyperdope-ci` | • `/ci/*` (`ONBOARDING-INGGLISH-AQ.pdf`, `ci-audit-report.json`, `db.txt`, `db_ingglish_entries.txt`) |
---
## 2. Supplying Untracked Runtime Files Listed in `haiperdohp-jemaytreeah/.gitignore`
Because `haiperdohp-jemaytreeah/.gitignore` intentionally excludes three runtime files from Git version control to avoid bloating repository clones with `100 MB` of compiled JSON binaries, a fresh `git clone` of `haiperdohp-jemaytreeah` must be supplied with those three files before serving `/calc/`:
| Untracked File in `haiperdohp-jemaytreeah/.gitignore` | Size | Tracked Source File in Git | How It Is Supplied for `/calc/*` |
| :--- | :--- | :--- | :--- |
| **`config.js`** | `3.3 KB` | `config.default.js` | Copied directly from `config.default.js`:<br/>`cp config.default.js config.js` |
| **`db.json`** | `80.7 MB` | `db.txt` (`231,615` entries) + `tools/generate_db_json.py` | Precomputed 82-cipher JSON database; generated by running:<br/>`python3 tools/generate_db_json.py db.txt db.json` |
| **`db_lite.json`** | `19.4 MB` | `db.txt` (`231,615` entries) + `tools/generate_db_json.py` | Precomputed 16-cipher progressive first-paint database; automatically written alongside `db.json` by the same `python3 tools/generate_db_json.py db.txt db.json` command. |
Operators can supply these three untracked files on the target machine using **either Option A (Self-Contained Local Generation)** or **Option B (Direct `rsync` from Workstation)**:
- **Option A — Generate on the Target Machine / VPS from Tracked Git Files (Automatic in `sync-vps-repos.sh`):**
```bash
cd /srv/hyperstitionstud.io/repos/haiperdohp-jemaytreeah
cp -n config.default.js config.js
python3 tools/generate_db_json.py db.txt db.json
cd /srv/hyperstitionstud.io/repos
```
*(Note: `deploy/sync-vps-repos.sh` checks for `config.js`, `db.json`, and `db_lite.json` automatically and runs both commands if any of the three files is missing).*
- **Option B — Fast `rsync` Transfer of Pre-Built Files from Workstation to VPS (Skips ~3-Min CPU Build):**
```bash
rsync -avP /home/m00t/hermes/workspace/haiperdohp-jemaytreeah/{config.js,db.json,db_lite.json} \
<user>@<LINODE_IP>:/srv/hyperstitionstud.io/repos/haiperdohp-jemaytreeah/
```
---
## 3. Testing the First Deployment Locally (Zero VPS / Zero Root Required)
Before touching a production VPS, any operator or new user can test the complete deployment hydration, untracked `haiperdohp-jemaytreeah` file check (`config.js`, `db_lite.json`, `db.json`), route mapping, and all 28 portal & deep-link routes locally in **one command**:
```bash
# Hydrates /tmp/hyperstition-live-repos, starts a local HTTP server on 127.0.0.1:18090,
# and verifies HTTP 200 OK across all 28 routes (including /calc/config.js, /calc/db_lite.json, /calc/db.json):
./hyperstitionstudio-core/deploy/test-first-deployment.sh
```
To keep the hydrated local deployment running on `http://127.0.0.1:8090` for interactive browser inspection:
```bash
LIVE_REPOS=/tmp/hyperstition-live-repos ./hyperstitionstudio-core/deploy/sync-vps-repos.sh --no-pull
python3 -m http.server 8090 --bind 127.0.0.1 --directory /tmp/hyperstition-live-repos
# Open in browser: http://127.0.0.1:8090/
```
---
## 4. Production Linode / Akamai VPS First Deployment (Sequential Steps 1–7)
Follow Steps 1 through 7 in order on a fresh **Debian 12 (Bookworm)** or **Ubuntu 24.04 LTS** Linode VPS (`2 GB` or `4 GB` RAM plan):
### Step 1: Push Latest Verified Commits to `git.libre.audio` (On Workstation)
```bash
./push-all-to-git-libre-audio.sh
```
### Step 2: Configure Linode Cloud Firewall & DNS Records
1. **Linode Cloud Firewall:** Allow inbound `TCP 443`, `UDP 443` (**HTTP/3 QUIC**), `TCP 80`, and restricted `TCP 22`.
2. **Linode DNS Manager (`hyperstitionstud.io`):**
- `A` (`@` and `www`) -> `<LINODE_IPV4>`
- `AAAA` (`@` and `www`) -> `<LINODE_IPV6>`
- `CAA` (`@`) -> `0 issue "letsencrypt.org"`
- `HTTPS` (`@`) -> `1 . alpn="h3,h2"`
### Step 3: Install OS Packages & Apply Kernel TCP BBR / QUIC Tuning (On VPS)
```bash
sudo apt update && sudo apt install -y git python3 python3-venv python3-pip brotli rsync curl caddy fonts-dejavu-core
sudo tee /etc/sysctl.d/99-hyperstition-fastnet.conf >/dev/null <<'EOF'
net.core.default_qdisc = fq
net.ipv4.tcp_congestion_control = bbr
net.ipv4.tcp_fastopen = 3
net.ipv4.tcp_slow_start_after_idle = 0
net.core.rmem_max = 16777216
net.core.wmem_max = 16777216
net.core.rmem_default = 2097152
net.core.wmem_default = 2097152
EOF
sudo sysctl --system
```
### Step 4: Create Persistent Repo Root (`/srv/...`) & RAM-Backed `tmpfs` Mount (`/var/www/...`)
```bash
sudo mkdir -p /srv/hyperstitionstud.io/repos /var/www/hyperstitionstud.io/repos
sudo chown -R "$USER:$USER" /srv/hyperstitionstud.io
# Add 512 MB tmpfs mount to /etc/fstab (idempotent) and mount immediately
grep -q '/var/www/hyperstitionstud.io/repos' /etc/fstab || \
echo 'tmpfs /var/www/hyperstitionstud.io/repos tmpfs defaults,size=512M,mode=0755 0 0' | sudo tee -a /etc/fstab
sudo mount -a
```
### Step 5: Clone All 6 `git.libre.audio` Repositories, Supply `.gitignore` Files & Initialize `.venv`
```bash
cd /srv/hyperstitionstud.io/repos
FORGE_HTTPS="https://git.libre.audio/seasharp"
git clone "${FORGE_HTTPS}/hyperstitionstudio-core.git"
git clone "${FORGE_HTTPS}/ingglish-hyperdope-gematria.git"
git clone "${FORGE_HTTPS}/technocapital-singularity-zoology.git"
git clone "${FORGE_HTTPS}/encyclopedia-knowledge-graph.git"
git clone "${FORGE_HTTPS}/haiperdohp-jemaytreeah.git"
git clone -b feat/ingglish-aq-corpus "${FORGE_HTTPS}/ingglish-hyperdope-ci.git"
# Supply untracked runtime files listed in haiperdohp-jemaytreeah/.gitignore (config.js, db.json, db_lite.json)
cp haiperdohp-jemaytreeah/config.default.js haiperdohp-jemaytreeah/config.js
(cd haiperdohp-jemaytreeah && python3 tools/generate_db_json.py db.txt db.json)
cp hyperstitionstudio-core/workspace.example.toml ./workspace.toml
python3 -m venv .venv
.venv/bin/pip install --upgrade pip
.venv/bin/pip install -r hyperstitionstudio-core/requirements.txt
.venv/bin/pip install --no-deps -e ./hyperstitionstudio-core
# Verify environment & all 6 Knowledge Graph CI gates
.venv/bin/hs-doctor
.venv/bin/python3 hyperstitionstudio-core/tests/test_core_suite.py
```
### Step 6: Hydrate RAM Mount, Enable Boot Persistence & Reload Caddy
```bash
# 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
sudo cp /srv/hyperstitionstud.io/repos/hyperstitionstudio-core/deploy/hyperstition-tmpfs-sync.service \
/etc/systemd/system/hyperstition-tmpfs-sync.service
sudo systemctl daemon-reload
sudo systemctl enable hyperstition-tmpfs-sync.service
# 3. Install Caddyfile, 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
```
### Step 7: Verify Live Production Deployment (`test-first-deployment.sh`)
```bash
# Verify all 28 routes (including /calc/config.js, /calc/db_lite.json, /calc/db.json) return HTTP 200 OK
/srv/hyperstitionstud.io/repos/hyperstitionstudio-core/deploy/test-first-deployment.sh https://hyperstitionstud.io
# Measure DNS, QUIC/TLS handshake, and sub-15ms TTFB
curl -o /dev/null -s -w "DNS: %{time_namelookup}s | TLS/QUIC: %{time_appconnect}s | TTFB: %{time_starttransfer}s | Total: %{time_total}s\n" https://hyperstitionstud.io/
```
---
## 5. Ongoing Per-Repository Updates on the VPS
To pull and deploy updates from `git.libre.audio` for all repositories or a single repository:
```bash
# Update all 6 repositories, run 6-gate audit, and sync to RAM:
/srv/hyperstitionstud.io/repos/hyperstitionstudio-core/deploy/sync-vps-repos.sh all
# Or update a single repository in < 1.5 seconds:
/srv/hyperstitionstud.io/repos/hyperstitionstudio-core/deploy/sync-vps-repos.sh encyclopedia-knowledge-graph
```
@@ -1,187 +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 /ZapfDingbats /Name /F4 /Subtype /Type1 /Type /Font
>>
endobj
6 0 obj
<<
/BaseFont /Helvetica-Oblique /Encoding /WinAnsiEncoding /Name /F5 /Subtype /Type1 /Type /Font
>>
endobj
7 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
8 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
9 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
10 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
11 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
12 0 obj
<<
/Contents 21 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:20261129233834+00'00') /Creator (\(unspecified\)) /Keywords () /ModDate (D:20261129233834+00'00') /Producer (ReportLab PDF Library - \(opensource\))
/Subject (\(unspecified\)) /Title (Production VPS & Git Operator Deployment Guide \(v2.3.0 \204 Direct Per-Repository Install Directory & .gitignore Artifact Edition\)) /Trapped /False
>>
endobj
15 0 obj
<<
/Count 6 /Kids [ 7 0 R 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 2269
>>
stream
Gb!#]D/\Gm')nJ00qSe#(J:S&('fTsZKid\?*ijohB!.\:s]h,F'!9+Br>:mO2%A6^P[3qc*k/.LgZ)[%\K/7Aqm20`*\u5pLA_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:e6D:%u8/erX$1,7ST^BiaBs;h-_4K,D]A[j&Z:p3"G/eV8FcGd,?7ZJiAMW!.O`FG;pCt'Z_^#\ghVEr.gc345,:gS<P<H'r/$Kj9U2b_t-;F,m]]U.W2^?QWn7GG<)6ZgR"2>]9UhoHXdDMo>!5fpHL9tdUN~>endstream
endobj
21 0 obj
<<
/Filter [ /ASCII85Decode /FlateDecode ] /Length 651
>>
stream
Gatm8;/_pX&:Vs/p`A*f$j:%V[$OKj-V^/cV/4JOi"0hFAi=AB^Rm7-/Yki#<.d0pcMm7Gmg]TlbnJ`JIK2R/n1FeG9;FWP&W)TUiD[>_]bhrM%JXHs"A!2BVH/u<M-tj@/JAc9#ssOA!9Y[Z)<`$85EW\I:qi>#j'M!q%b>0%l7lW&H;Dq96lh4<a6`+!$9NS<B=luk^eTIZU^'*Ta!Bm_&rHo-qQ_dhqfhXW+mdb^U1@tSL"iMuQT`:*:Lj5,*V_oe"&/*HSL)bT>FJ"i"KA6,,.JDbjJ'R%;soCj;Y*AX(>nF%CRBhjB_Dj!DJnWZTW?_PeeWD2lR:m[qMnj3P=j?FW^8$>'WeHJMrTnFVrRk:X*5GA-_6DZUuHTUOmH1h3Q*#%*UKRgAe<K`L3GJ5&)-NSf\\skDO+52*ef(=d+i2Y57;B.Ks?P"2(Q\r5*O:aYg8Wf>^`4q@<t99!pV1!h9q%;<6^+3=goSF,I.(6FdE"V$-/@GOM7XC]shoqVKB]p/qn2'"l[n9jdeiMFE=FKf6?-<l>uE0mFpAamlPEnL!jLDp6'mq7b+(H)pYi07dm<R!>g!A^eiN3Q_Mjui^NBecH^3`a$eeHQ)n-)1\[5t%i$Tek*@KtB*ZrCYci.[@ds\t&;UV~>endstream
endobj
xref
0 22
0000000000 65535 f
0000000061 00000 n
0000000132 00000 n
0000000239 00000 n
0000000351 00000 n
0000000456 00000 n
0000000539 00000 n
0000000654 00000 n
0000000849 00000 n
0000001044 00000 n
0000001239 00000 n
0000001435 00000 n
0000001631 00000 n
0000001827 00000 n
0000001897 00000 n
0000002296 00000 n
0000002389 00000 n
0000004750 00000 n
0000006974 00000 n
0000009076 00000 n
0000010557 00000 n
0000012114 00000 n
trailer
<<
/ID
[<5176aee93e8e29050a4f3b893032a165><5176aee93e8e29050a4f3b893032a165>]
% ReportLab generated PDF document -- digest (opensource)
/Info 14 0 R
/Root 13 0 R
/Size 22
>>
startxref
12856
%%EOF
+33 -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,34 @@
| `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`. |
| `PLAN-ARCHIVE-ROTATION-AND-COMPRESSION-ECONOMIZER.{md,pdf}` | Specification for rotating completed `docs/archive/` `.pdf` and `.md` pairs (`require_companion_md=True`) into `completed-plans-archive.tar.gz` + `archive-manifest.json` (`hs-archive-rotate`) while enforcing Gematria-Pipeline Immunity (`0` gematria sources archived); now implemented in `src/hyperstitionstud_io/publishing/archive_rotator.py`. |
| `PLAN-ADHOC-PUBLIC-API-AND-SURFACE-REGRESSION-TEST-SUITE.{md,pdf}` | Specification for the 6-gate public HTTP regression suite (`hs-public-smoke`, `src/hyperstitionstud_io/ci/public_regression.py`) comparing live responses against `.cache/internal-test-baseline-latest.json`; now implemented and verified in `tests/test_core_suite.py`. |
| `PLAN-MIGRATE-PERIODIC-DATA-PRODUCTION-FROM-LOCALHOST-TO-VPS.{md,pdf}` | Specification for migrating periodic data production onto the VPS (`deploy/run-vps-data-production.sh`, `collector.py --append-history`, and `hyperstition-{closing-bell,utc-rollover}-harvest.{service,timer}`); now implemented in `deploy/`. |
| `PLAN-SOFTWARE-ENGINEERING-EXPLICATION-HUB-AND-SUBPAGES.{md,pdf}` | Specification for the live-introspected `/engineering/` Hub (`E0`) and 5 orthogonal subpages (`E1–E5`) with Novice Prerequisite Ladders and non-sequential revertability (`hs-eng-docs`); now implemented in `src/hyperstitionstud_io/publishing/engineering_docs.py` and `site/engineering/`. |
| `PLAN-MATHEMATICAL-EXPLICATION-HUB-AND-SUBPAGES.{md,pdf}` | Specification for the live-introspected `/math/` Hub (`M0`) and 5 orthogonal subpages (`M1–M5`) with Novice Prerequisite Ladders and non-sequential revertability (`hs-math-docs`); now implemented in `src/hyperstitionstud_io/publishing/math_docs.py` and `site/math/`. |
| `PLAN-PROGRAMMATIC-VERSION-BUMP-HEURISTICS-ZERO-TOKEN.{md,pdf}` | Specification for zero-LLM-token programmatic semantic version determination (`hs-sync-version --auto-bump` & `--explain-bump`) using change-scope heuristics and plan/skill artifacts; now implemented in `src/hyperstitionstud_io/version_sync.py`. |
| `PLAN-CRONJOB-ARCHIVE-ROTATION-ON-HYPERSTITIONSTUD-IO.{md,pdf}` | Specification for daily `00:20 UTC` cold-archive rotation (`hs-archive-rotate`) and quiescent SQLite telemetry logrotate (`100M` `.1.gz`) on `hyperstitionstud.io` (`deploy/run-vps-archive-rotation.sh`, `deploy/cron.d/hyperstition-archive-rotate`, `deploy/hyperstition-archive-rotate.{service,timer}`, `0` LLM tokens, `0` API keys); now implemented in `deploy/`. |
| `PLAN-INTROSPECTIVE-PROTECT-SYSTEM-STRICT-EROFS-TEST-HARNESS.{md,pdf}` | Specification for the single in-process `ProtectSystem=strict` (`EROFS`) test harness (`src/hyperstitionstud_io/ci/erofs_harness.py`) sweeping all `MCP_TOOLS_SCHEMA` tools, `dispatch_rest_v1` routes, and Contract B builders, plus the `34x` stats-card fast-path (`1,186 ms -> ~35 ms` in `quant/cards.py`); now implemented and cached in `.cache/internal-test-baseline-latest.json`. |
| `PLAN-HOMEPAGE-ENGINEERING-AND-MATH-NAVIGATION-WIRING.{md,pdf}` | Specification for wiring `Engineering (/engineering/)` and `Applied Math (/math/)` navigation buttons into `site/index.html`, `/learn/index.html`, `/quant/index.html`, and `hs-public-smoke` Gate `P6`; now implemented across all web surfaces. |
| `PLAN-GUILE-SCHEME-PEDAGOGICAL-TOGGLE-AND-IN-BROWSER-REPL.{md,pdf}` | Specification for the additive `[ λ GUILE SCHEME LENS: OFF / ON ]` toggle, 6 pedagogical modalities grounded in `z-calculus-scheme` (`guile_prelude.scm`), and the offline in-browser Guile Scheme & Z-combinator REPL (`site/assets/hs-guile-scheme-repl.js`) across `/engineering/` (`E0–E5`) and `/math/` (`M0–M5`); now implemented and verified in `tests/test_core_suite.py`. |
+392
View File
@@ -0,0 +1,392 @@
{
"version": "2.1.1",
"bundle_filename": "completed-plans-archive.tar.gz",
"bundle_size_bytes": 3593868,
"bundle_sha256": "107d4855162a725cb7864c4e39734df135fb6887456b12962972cd795fda6e29",
"require_companion_md": true,
"member_count": 76,
"total_uncompressed_bytes": 4303478,
"preserved_standalone_pdfs": [],
"members": [
{
"name": "ASSESSMENT-IPLD-DAG-JSON-CODEC-INTEGRATION.md",
"size_bytes": 8528,
"sha256": "8374ff99511d2488b26d1f5876e028dd50e9aa805af51eb25bb51ace73628c2c"
},
{
"name": "ASSESSMENT-IPLD-DAG-JSON-CODEC-INTEGRATION.pdf",
"size_bytes": 90476,
"sha256": "7a4e42ecaafa5594d3892d80f02ebec6ed4f6bfa4b01076c0a4571851a3cfc1c"
},
{
"name": "DEPENDENCIES-AND-FIRST-PUSH-GUIDE.md",
"size_bytes": 2819,
"sha256": "fc96e2f2b376d8e5fe51f4b069b4079f4fb6dc9e8cc124132de545f28adef770"
},
{
"name": "DEPENDENCIES-AND-FIRST-PUSH-GUIDE.pdf",
"size_bytes": 83627,
"sha256": "a1927b3782ff62e359d265f76f182cea358fbf8102dbfd514b02f511917ee592"
},
{
"name": "MODULARITY-AUDIT-THREE-REPOSITORIES.md",
"size_bytes": 6633,
"sha256": "762604bb64367fa5c8fc5bf2f7836b1e604ecf5405755fa952331f4ba3f89f0a"
},
{
"name": "MODULARITY-AUDIT-THREE-REPOSITORIES.pdf",
"size_bytes": 88362,
"sha256": "7b486fe3ac4ee7fa88342fd29c784da8e2d32a32f4670e7d834e6b27a051d6f3"
},
{
"name": "PLAN-ADHOC-PUBLIC-API-AND-SURFACE-REGRESSION-TEST-SUITE.md",
"size_bytes": 12558,
"sha256": "1d2aa1e6083a17cd8897aba811dd12ca00f76e323831a0f09e29696b7b6404e0"
},
{
"name": "PLAN-ADHOC-PUBLIC-API-AND-SURFACE-REGRESSION-TEST-SUITE.pdf",
"size_bytes": 93922,
"sha256": "fd6eaaaa654e47cdb147e50936135e1d1bd447138705baca4bc78cdabecce967"
},
{
"name": "PLAN-ARCHIVE-ROTATION-AND-COMPRESSION-ECONOMIZER.md",
"size_bytes": 15811,
"sha256": "d50928a3ac541e6b4ad060c2c5d1cb766869f4fcc883c7f2aaf30e848943b777"
},
{
"name": "PLAN-ARCHIVE-ROTATION-AND-COMPRESSION-ECONOMIZER.pdf",
"size_bytes": 97718,
"sha256": "0062d778c98aa9029cfbda50d655d47e70d72e8afe9b08154123af1a297226d1"
},
{
"name": "PLAN-COMMON-LIBRARY-HYPERSTITIONSTUDIO.md",
"size_bytes": 17158,
"sha256": "54296f2cbc7cf80e557c9fde7614d44cdf6023a80c5a01ff0d7661194dd41af8"
},
{
"name": "PLAN-COMMON-LIBRARY-HYPERSTITIONSTUDIO.pdf",
"size_bytes": 97869,
"sha256": "aa03394a82c67edf785eeea8619f4b4be6b0ebe585b6785c330257966dd48b42"
},
{
"name": "PLAN-CRONJOB-ARCHIVE-ROTATION-ON-HYPERSTITIONSTUD-IO.md",
"size_bytes": 9801,
"sha256": "05c6b1c2d819ef8c5ca65c174ec7c6684ce71da64b5969cdeeb44e833403e3ca"
},
{
"name": "PLAN-CRONJOB-ARCHIVE-ROTATION-ON-HYPERSTITIONSTUD-IO.pdf",
"size_bytes": 90913,
"sha256": "7335c35b0612536b10ea22f698f947e5b659484fca1fd5ec856b3f8845151610"
},
{
"name": "PLAN-DAILY-PORTFOLIO-AND-MEMETIC-REGIME-UPDATE-FEATURE.md",
"size_bytes": 17984,
"sha256": "7bbe9548b31a755dc158787a4e410ec5f237435b05f247c7f3a0bac39c95eb57"
},
{
"name": "PLAN-DAILY-PORTFOLIO-AND-MEMETIC-REGIME-UPDATE-FEATURE.pdf",
"size_bytes": 101677,
"sha256": "a7514a299a682bfe783d2aa1336692e5df4421645272e97f2890dedeff0dc384"
},
{
"name": "PLAN-DONATE-SUBPAGE-MINIMAL-REDUCTION.md",
"size_bytes": 5116,
"sha256": "704a21216103209e739e4043d6f9263e31bb95557c2982ac621dd46dbdf631ac"
},
{
"name": "PLAN-DONATE-SUBPAGE-MINIMAL-REDUCTION.pdf",
"size_bytes": 86622,
"sha256": "6c4f6cc2a6100a2dfa4c362b94767644652d720eea0a1a6d7a42046948e39321"
},
{
"name": "PLAN-GIT-LIBRE-AUDIO-REPO-SYNC-FOR-VPS-INSTALL-DIRS.md",
"size_bytes": 16330,
"sha256": "edcb569f8959b70bf5b8984ac90b24afee7c728fd7d3e2674b7afd60caacd041"
},
{
"name": "PLAN-GIT-LIBRE-AUDIO-REPO-SYNC-FOR-VPS-INSTALL-DIRS.pdf",
"size_bytes": 96443,
"sha256": "f0bc3603e58f03210002f5f2fc00edc5bc24433da61c724aa38afd6193208011"
},
{
"name": "PLAN-GIT-OPERATOR-PUBLIC-HTTP-RELEASE-AND-ONBOARDING.md",
"size_bytes": 13653,
"sha256": "65817d69f13c85d7a23dd2c4ee3f601280b99cb2ee145971ae06adc760123d34"
},
{
"name": "PLAN-GIT-OPERATOR-PUBLIC-HTTP-RELEASE-AND-ONBOARDING.pdf",
"size_bytes": 95040,
"sha256": "f3111400973f13164d8c07c247dbd82d471f47fc5e9024cbb3c78b4da4ca0622"
},
{
"name": "PLAN-GLOBAL-SITE-FOOTER-LEMURS.md",
"size_bytes": 4043,
"sha256": "01d29260eca06d71cc9f11115bcb10cf9f87b33e2599523c7d07b93315e4cb9d"
},
{
"name": "PLAN-GLOBAL-SITE-FOOTER-LEMURS.pdf",
"size_bytes": 85729,
"sha256": "31806f4bf3075a3e907aafcf5418932fa4f02b43cd1e0ce35a2723fde75ee470"
},
{
"name": "PLAN-GUILE-SCHEME-PEDAGOGICAL-TOGGLE-AND-IN-BROWSER-REPL.md",
"size_bytes": 15736,
"sha256": "f29581a99474c8c4cd0e581fcef70e4d09093b12fe869d565f3ab436a9ccf835"
},
{
"name": "PLAN-GUILE-SCHEME-PEDAGOGICAL-TOGGLE-AND-IN-BROWSER-REPL.pdf",
"size_bytes": 100062,
"sha256": "9c343742b0f654d63de73c67f57365af7db821a45be22084d989c8a6da0c63c8"
},
{
"name": "PLAN-HAIPERDOHP-SILHOUETTE-HYPERSTITION-PALETTE-UNIFIED-STYLE-AUGMENTATION.md",
"size_bytes": 31238,
"sha256": "bad9b3ec40554b0002556de6b0bb8089dba97450f3c90659337a37424093db74"
},
{
"name": "PLAN-HAIPERDOHP-SILHOUETTE-HYPERSTITION-PALETTE-UNIFIED-STYLE-AUGMENTATION.pdf",
"size_bytes": 115427,
"sha256": "9569f5fb06bbe8680b6a99f47b1714bfb1fa4458dae67f5560f2faa81ad520f8"
},
{
"name": "PLAN-HOMEPAGE-ENGINEERING-AND-MATH-NAVIGATION-WIRING.md",
"size_bytes": 5880,
"sha256": "f41583700c51c85e750ffb12f35ff55b993cf446ffacee0cd37194ea35c940d3"
},
{
"name": "PLAN-HOMEPAGE-ENGINEERING-AND-MATH-NAVIGATION-WIRING.pdf",
"size_bytes": 85808,
"sha256": "69d9f8114060dae54128ddf0306ab9609818ab90bc953d84d049235dcc92d8c8"
},
{
"name": "PLAN-HS-PDF-BUILD-DARK-MODE-AND-GLYPH-SANITIZATION.md",
"size_bytes": 19409,
"sha256": "4a96fe354c33510df35d74d568f66346015cab8aceeef3732128ceac43915671"
},
{
"name": "PLAN-HS-PDF-BUILD-DARK-MODE-AND-GLYPH-SANITIZATION.pdf",
"size_bytes": 108319,
"sha256": "be2a0b6115f8b4c80b0e85b4d2ca35a7734511590adf25be734dfb764bcfbe37"
},
{
"name": "PLAN-INTROSPECTIVE-PROTECT-SYSTEM-STRICT-EROFS-TEST-HARNESS.md",
"size_bytes": 7708,
"sha256": "61fe0af6c52ea7dc6f21154cc3c229222a2b664f9eb31333e2b02f67a67b6228"
},
{
"name": "PLAN-INTROSPECTIVE-PROTECT-SYSTEM-STRICT-EROFS-TEST-HARNESS.pdf",
"size_bytes": 89514,
"sha256": "f5e6b0f1b28cf5d550838677cfba4921d69f0f6c44828e95d5c404075f578814"
},
{
"name": "PLAN-LEARNING-SUBPAGE-AND-LOCAL-STATE-PORTABILITY.md",
"size_bytes": 13512,
"sha256": "5fd3fb94634429b2ec620272d03aa1530925e35635985bab9db6113b3a120b6e"
},
{
"name": "PLAN-LEARNING-SUBPAGE-AND-LOCAL-STATE-PORTABILITY.pdf",
"size_bytes": 96614,
"sha256": "c14558b14653db537c1f9353b7f50602bb57343da9d6f2d82ddbdadaae8382f0"
},
{
"name": "PLAN-LINODE-AKAMAI-VPS-HOMEPAGE-DEPLOYMENT.md",
"size_bytes": 11793,
"sha256": "a544c349b642fcb90342f463e73fe77afb70aae304cc39dda09287afc7dcfe54"
},
{
"name": "PLAN-LINODE-AKAMAI-VPS-HOMEPAGE-DEPLOYMENT.pdf",
"size_bytes": 93572,
"sha256": "36a04cd2788a29dfb1a132f7573edd2e52af8c2cc76a23341064d39fe513cf2b"
},
{
"name": "PLAN-MACROECONOMIC-INDICATORS-INTEGRATION-CPI-PPI-RATES-M2-GDP.md",
"size_bytes": 14091,
"sha256": "b32d4c46dbfe6ac120e827bfdc0993d1be386e0feb820f060f8e550c733d2ec1"
},
{
"name": "PLAN-MACROECONOMIC-INDICATORS-INTEGRATION-CPI-PPI-RATES-M2-GDP.pdf",
"size_bytes": 98053,
"sha256": "004eea64a2e47599b3fa3e78c7642afbb45ac64302347995fba511c954934058"
},
{
"name": "PLAN-MATHEMATICAL-EXPLICATION-HUB-AND-SUBPAGES.md",
"size_bytes": 20248,
"sha256": "f4a97a6da14649a2f3c8d75004a4641ddd21210ec9f8fc4af865c3b8835ffee3"
},
{
"name": "PLAN-MATHEMATICAL-EXPLICATION-HUB-AND-SUBPAGES.pdf",
"size_bytes": 107147,
"sha256": "02b963ce3468a23c61506b0c5a7c5db299efd616144e264bc04a961df89ab3de"
},
{
"name": "PLAN-MCP-REST-API-ADAPTER.md",
"size_bytes": 15674,
"sha256": "0ca7e6de1b049aa6042ee338fed0f7d166b2e10daad63510ba2464212824e170"
},
{
"name": "PLAN-MCP-REST-API-ADAPTER.pdf",
"size_bytes": 98949,
"sha256": "65a7c775eba0a51780ee3b70cf2b0021abeb3546a1c0fbaa5e6dbaec579f159e"
},
{
"name": "PLAN-MCP-SERVER-HYPERSTITIONSTUDIO.md",
"size_bytes": 16435,
"sha256": "cf1f5c8cf9ddcde1b0a63af8ba3a36438cafd5eb00f27eb9104e2e51772b6893"
},
{
"name": "PLAN-MCP-SERVER-HYPERSTITIONSTUDIO.pdf",
"size_bytes": 99316,
"sha256": "7ec7f48410d6025dd2f5ddbe3aac2e6c2badfd988989f15d7ccef4b0baae8806"
},
{
"name": "PLAN-MIGRATE-PERIODIC-DATA-PRODUCTION-FROM-LOCALHOST-TO-VPS.md",
"size_bytes": 14557,
"sha256": "8ffb1c53f8558d25b4d1824a940e57982a0d342d748842612cdfb4c697af3f93"
},
{
"name": "PLAN-MIGRATE-PERIODIC-DATA-PRODUCTION-FROM-LOCALHOST-TO-VPS.pdf",
"size_bytes": 96552,
"sha256": "fb0f34ff24024094e0801911cc58fb082988a7a007cf841ffae8e6f1baeed839"
},
{
"name": "PLAN-MODULAR-LENS-PROJECTION-AND-REVERSIBILITY-ARCHITECTURE.md",
"size_bytes": 15438,
"sha256": "5bf393002402104b79248f9e63b783606fc3b43a52029eef47687535402d1263"
},
{
"name": "PLAN-MODULAR-LENS-PROJECTION-AND-REVERSIBILITY-ARCHITECTURE.pdf",
"size_bytes": 101231,
"sha256": "43732c75cee9a8650f477b9fd6a0df1a01b4d3c9778a1602eb4bad3473591ee1"
},
{
"name": "PLAN-ONE-SHOT-TICKER-STATS-CARDS-API-PNG-AND-JSON.md",
"size_bytes": 19561,
"sha256": "39645c4e44099540b7be11d2b295a1394861537a60c4c0b016521e03b8d84f06"
},
{
"name": "PLAN-ONE-SHOT-TICKER-STATS-CARDS-API-PNG-AND-JSON.pdf",
"size_bytes": 102299,
"sha256": "069cf4c2a294a30a4823548471fc5b4661a929882ac25313715749572dd3037b"
},
{
"name": "PLAN-PROGRAMMATIC-VERSION-BUMP-HEURISTICS-ZERO-TOKEN.md",
"size_bytes": 8606,
"sha256": "810a920663c6d37f5c5e8dd96b7e81de23a5ac1ae73c9b557cd4da64708a3587"
},
{
"name": "PLAN-PROGRAMMATIC-VERSION-BUMP-HEURISTICS-ZERO-TOKEN.pdf",
"size_bytes": 90499,
"sha256": "26f7c14fb2d59d4ef93bfb8057ae4513c62dff1f393eee261ab3dd9e2196f411"
},
{
"name": "PLAN-QUANT-BIDIRECTIONAL-DATA-POINT-CENSUS-AND-CROSS-SPECIES-CONFLUENCE.md",
"size_bytes": 26594,
"sha256": "59f66702ed544f3188401bd4935ef1323ad2eeec92006e6a473d1cb1799780a0"
},
{
"name": "PLAN-QUANT-BIDIRECTIONAL-DATA-POINT-CENSUS-AND-CROSS-SPECIES-CONFLUENCE.pdf",
"size_bytes": 115096,
"sha256": "e6ba54037dcecd96c22910387dab9325ee68c58f9562015287984c1953a5e438"
},
{
"name": "PLAN-QUANT-INTERFACE-INFO-ICONS-AND-GLOSSARY-POPOVERS.md",
"size_bytes": 26981,
"sha256": "692c2517dfd39b9b908e86717e36ef2b56e36fc254805c35fe1c27838b111f6b"
},
{
"name": "PLAN-QUANT-INTERFACE-INFO-ICONS-AND-GLOSSARY-POPOVERS.pdf",
"size_bytes": 109150,
"sha256": "4d2f60dd8e50b9a0e3fb3159c6c9fec258bfbc242779d82f44d901cf6b250a7c"
},
{
"name": "PLAN-QUANT-TUTORIAL-VIDEO-SERIES-AND-CITATION-DEEP-LINKS.md",
"size_bytes": 17155,
"sha256": "f02c9f93d273652bd1cfcf0df21038e33034b8dbda5052b1d9dcfb86d51c2e37"
},
{
"name": "PLAN-QUANT-TUTORIAL-VIDEO-SERIES-AND-CITATION-DEEP-LINKS.pdf",
"size_bytes": 101919,
"sha256": "011c6408e2a1644f725a403a81b9a4f3fba2496152effabf7622a0340120bd2b"
},
{
"name": "PLAN-QUANTITATIVE-FINANCE-TIMESERIES-SUBPAGE.md",
"size_bytes": 24826,
"sha256": "d0e4338a98afb8f2eb3557759c02fc9677b39d86393f97d413451168ea5f20f5"
},
{
"name": "PLAN-QUANTITATIVE-FINANCE-TIMESERIES-SUBPAGE.pdf",
"size_bytes": 110588,
"sha256": "cc584e55f3d32bdd4db9ee0fcd6d40d5f5becf873319ffc9365c32be28d8945f"
},
{
"name": "PLAN-QUANTITATIVE-FINANCIAL-TELEMETRY-PIPELINE.md",
"size_bytes": 14749,
"sha256": "c4f131d5f10b700d9dc0fe907d2c0f86ced9d2cfb414583d8bef78f28766700a"
},
{
"name": "PLAN-QUANTITATIVE-FINANCIAL-TELEMETRY-PIPELINE.pdf",
"size_bytes": 97326,
"sha256": "4411a46a00e79cf8a891766432e1b748c7feb85f394091d8983ce0315e9c7503"
},
{
"name": "PLAN-SOFTWARE-ENGINEERING-EXPLICATION-HUB-AND-SUBPAGES.md",
"size_bytes": 19681,
"sha256": "bb59126c0fa022991048a4f3a0c33b0eb1dc3cf60ddaa6d1a1c9a3715c2c1e73"
},
{
"name": "PLAN-SOFTWARE-ENGINEERING-EXPLICATION-HUB-AND-SUBPAGES.pdf",
"size_bytes": 105359,
"sha256": "ee62cbd81e85e90b8b35c5d32ba14f369155d2f23d2bda24937f0cd28bb2b7be"
},
{
"name": "PLAN-SQLITE-REST-API-METADATA-DB.md",
"size_bytes": 20367,
"sha256": "04971e8b50c754c4df6254c38fe369951a1ab0c4a3891b25804de924683fbcb5"
},
{
"name": "PLAN-SQLITE-REST-API-METADATA-DB.pdf",
"size_bytes": 100706,
"sha256": "67b6025c271440d2ccf663f3fb9099e09669720ed63558b8d520c842a86f3ea2"
},
{
"name": "PLAN-STATIC-DONATE-SUBPAGE.md",
"size_bytes": 18515,
"sha256": "eed42f9f23dad132057e9930f063711ada124b8b420dd809ec1cae0774697541"
},
{
"name": "PLAN-STATIC-DONATE-SUBPAGE.pdf",
"size_bytes": 98984,
"sha256": "ead0638ef15e319d8d03ccf7a5305f3bee626a5abbee308307d5b9819b680196"
},
{
"name": "PLAN-TIERZOO-AND-POKEDEX-TIMESERIES-SABERMETRICS-ENRICHMENT.md",
"size_bytes": 28006,
"sha256": "685e36de0bc98bdd24798b7eecfb7bcf1668b288c8942ae109aaa8057052afd7"
},
{
"name": "PLAN-TIERZOO-AND-POKEDEX-TIMESERIES-SABERMETRICS-ENRICHMENT.pdf",
"size_bytes": 115258,
"sha256": "9ebf8cf7eabb91c63065a5e9ba9c26c7649f863f0221826ffcf9854a22ed1a07"
},
{
"name": "REVIEW-OUTSTANDING-PLANS-POST-V2-0-8.md",
"size_bytes": 5772,
"sha256": "8c2c3da4bfc0c9b5e9eca15e1b7aa39adfb11d90d2e358c1308aeab276fb05f3"
},
{
"name": "REVIEW-OUTSTANDING-PLANS-POST-V2-0-8.pdf",
"size_bytes": 87220,
"sha256": "f3620c0b3f531612de5776f34cbd4b0717a50264edfcf00667af944c64177fc7"
},
{
"name": "plan-interactive-knowledge-graph-encyclopedia.md",
"size_bytes": 11521,
"sha256": "e83b7fe0b3dbf20498de88cabeff323b2ba31a053768f42461949fbb8f3e88d7"
},
{
"name": "plan-interactive-knowledge-graph-encyclopedia.pdf",
"size_bytes": 95625,
"sha256": "40361a953f24334f7ca6c63ae719df2e8bc288751445b8449cb1f7ee6ac9b867"
}
]
}
Binary file not shown.
@@ -1,87 +0,0 @@
# Architecture & Implementation Plan: Open-Source Interactive Knowledge Graph of the Encyclopedia of Technocapital Singularity Zoology (With Strict Glossary Isolation)
- **Target Repository:** `/workspace/technocapital-singularity-zoology` (`v1.7.0`)
- **Planned Knowledge Graph Directory:** `/workspace/technocapital-singularity-zoology/knowledge-graph/` *(Planned — Read-Only Consumer of `encyclopedia/` & `taxonomy/`)*
- **Glossary & Encyclopedia Isolation Rule:** **100% Enforced (`0` Graph/Visualization Concepts Added to `taxonomy/glossary-registry.json`, `technocapital-singularity-zoology-comprehensive-glossary.{md,pdf}`, or `encyclopedia/`)**
---
## 1. Strict Glossary & Encyclopedia Isolation Architecture (One-Way Read-Only Data Flow)
To guarantee that **zero resultant concepts from graph theory, network science, or UI visualization tooling** (`Cytoscape.js`, `Sigma.js`, `Graphology`, `NetworkX`, `ForceAtlas2`, `fCoSE`, `GraphML`, `GEXF`, `JSON Canvas`, `betweenness centrality`, `bipartite projection`, `Louvain modularity`, etc.) ever enter the Technocapital Singularity Zoology Glossary or the 22-Volume PDF Encyclopedia:
1. **Strictly Unidirectional Read-Only Ingestion:**
The planned graph compiler (`scripts/build_encyclopedia_knowledge_graph.py`) reads `taxonomy/glossary-registry.json`, `encyclopedia/encyclopedia-manifest.json`, `taxonomy/singularity-zoology-matrix.json`, `taxonomy/memetic-superclass-registry.json`, `taxonomy/quantitative-economic-anchors.json`, and `taxonomy/assemblage-builds-tier-list.json` in **read-only mode** (`open(..., "r")`).
2. **Decoupled CLI Entrypoint:**
Unlike `--build-tier-list` or `--build-encyclopedia`, the knowledge-graph builder will live in a separate script (`scripts/build_encyclopedia_knowledge_graph.py`) that **never imports or invokes `sync_glossary()`, `--add-glossary-term`, or `build_encyclopedia()`**.
3. **Pre/Post SHA-256 Registry Assertion:**
At the start and end of every graph build, the script will compute `sha256(taxonomy/glossary-registry.json)` and assert byte-for-byte identity before exiting (`assert pre_sha256 == post_sha256`).
---
## 2. Multi-Partite Property Graph Schema (`6` Node Types & `8` Typed Edge Relations)
The Encyclopedia's `282` unique headwords (`291` volume placements), `9` Ontological Divisions, `22` PDF Volumes, `9` Ranked `ETI` Assemblage Builds, `189` verified `333 / 666 / 777` equations, and `60+` Base-36 `AQ` coordinate rings map onto a typed multi-partite property graph (`~365` nodes, `~1,480` edges):
### 2.1 Node Ontology (`6` Node Classes)
| Node Class | Est. Count | Visual Encoding (Shape / Color / Size) | Core Node Properties (`data` Payload) |
| :--- | :--- | :--- | :--- |
| **`OntologicalDivision`** | `9` | Compound Parent Bounding Box (`#1E2026` dark frame) | `div_id` (`00`..`08`), `div_title`, `description`, `volume_count` |
| **`EncyclopediaVolume`** | `22` | Rounded Hexagon (`#8B1A1A` Crimson accent) | `volume_number`, `slug`, `title`, `pdf_path`, `host_file_url`, `page_count`, `article_count` |
| **`TaxonAssemblageBuild`** | `9` | Large Octagon sized by `ETI` (`49–93`), colored by Tier (`#FF4D4D` `S+` down to `#7FBFFF` `D`) | `rank` (`#1`..`#9`), `tier_Band` (`S+`..`D`), `eti_score`, `roster_slot`, `double_articulated`, `stats_6` (`ARM, VEL, COL, CAP, PRM, RES`), `gen0_var_collapsed` |
| **`ConceptualOperatorOrIdiom`** | `92` | Diamond (`#E6A800` Gold for Operators, `#7FBFFF` for Stakeholder Idioms) | `term`, `category`, `definition`, `eng_aq`, `ing`, `ing_aq`, `delta`, `isometric`, `volume_pdf` |
| **`BilingualLexicalSpecimen`** | `190` | Circle sized by ring degree, colored by primary guild (`S1`–`S6`, `M1`–`M7+`) | `eng`, `eng_aq`, `eng_prime_rank`, `ing`, `ing_aq`, `ing_prime_rank`, `delta`, `isometric`, `twin_prime`, `g3_quantized_step`, `classes`, `sample_equations` |
| **`AQCoordinateHub`** | `~45` | Star / Bullseye Hub (`#7FFF7F` Mint for Primes, `#FFBF7F` Amber for Powers/Cubes `81, 125, 128, 256`, `#FF4D4D` for `333/666/777`) | `aq_value` (`71..390`, `333/666/777`), `factorization`, `prime_rank`, `gen0_variance_collapsed`, `is_flex_pivot` (`13` multi-build coordinates) |
### 2.2 Edge Ontology (`8` Typed Mathematical & Structural Relations)
| Edge Type (`relation`) | Direction | Est. Count | Visual Encoding & Mathematical Semantics |
| :--- | :--- | :--- | :--- |
| **`IN_VOLUME` / `IN_DIVISION`** | Directed (`Article -> Vol -> Div`) | `313` | Structural containment hierarchy matching the `encyclopedia/00..08-*/` directory tree |
| **`G1_COLLAPSES_TO_ING_AQ`** | Directed (`Specimen -> AQHub`) | `282` | Solid cyan edge (`width` proportional to `log(1 + Gen0_Var_Collapsed)`), labeled with `Δ = ing_aq - eng_aq` |
| **`GEN0_WRITTEN_COLLISION`** | Undirected (`Specimen <-> Specimen`) | `~110` | Dashed silver edge linking terms that share `AQ_Eng` prior to phonetic translation (e.g., `corporation == supply chain = 243`) |
| **`G2_CROSS_GEN_TWIN`** | Directed (`Gen0_Term -> Gen1_Term`) | `~95` | Magenta curved arrow where `AQ_Eng(A) == AQ_Ing(B)` (e.g., `Dario Amodei [193] -> anthropik [193]`, `asset management [292] -> abstrakt masheen [292]`) |
| **`G4_ISOMETRIC_INVARIANT`** | Self-Loop / Gold Halo (`Δ = 0`) | `24` | Heavy gold double-border around immovable chokepoints (`ASML=81`, `TSMC=91`, `GPU=71`, `kapatal=125`, `charter=136`, `kansorsheeam=237`, `transformer=246`, `nacheral kontrakt=316`) |
| **`G5_TWIN_PRIME_MUTATION`** | Directed (`Prime_A -> Prime_B`) | `14` | Violet lightning edge connecting `Gen 0` prime to `Gen 1` prime (`Nvidia 113 -> envideea 137`, `monopoly 197 -> manopalee 163`, `reported 173 -> reeportid 191`) |
| **`TROPHIC_GUILD_BRIDGE`** | Directed (`Build_A -> Coord -> Build_B`) | `38` | Thick crimson/amber food-web artery across the `13` Multi-Build Hybrid Flex Singularities (`292, 256, 211, 193, 183, 153, 137, 136, 133, 125, 96, 95, 81/91`) |
| **`CLOSES_REPDIGIT_EQ`** | Directed (`Specimen -> 333/666/777`) | `~600` | Dotted green/gold hyperedge linking constituent words to their verified `333`, `666`, or `777` dossier equation |
---
## 3. Open-Source Tooling Stack (`100%` FOSS, Offline-First & Multi-Target Export)
Rather than locking the knowledge graph into a single heavy server database, the planned pipeline uses a modular, zero-cost open-source stack that generates **four interoperable targets** from one Python script:
| Layer / Target | Open-Source Tool / Library | License | Role in the Encyclopedia Knowledge Graph |
| :--- | :--- | :--- | :--- |
| **1. Graph Compiler & Network Analytics** | **Python 3.10+ & `NetworkX`** (`networkx`) | BSD-3-Clause | Builds the multi-di-graph from `taxonomy/*.json` and `encyclopedia/*.json`, computes node degree, PageRank, eigenvector centrality, and **betweenness centrality** (mathematically proving that the `13` Flex Coordinates have the highest betweenness centrality across `S1–S6`), and exports JSON/GraphML/GEXF. |
| **2. Interactive Browser Workbench** | **`Cytoscape.js`** + `cytoscape-fcose` / `dagre` (or **`Sigma.js` + `Graphology`**) | MIT | Single-file/local static HTML5 canvas/WebGL workbench (`knowledge-graph/index.html`) requiring zero backend server (`python3 -m http.server` or direct `file://` open). Supports compound folder nodes, multi-layout animations, edge-type toggles, and instant search. |
| **3. Desktop Network Science Export** | **GraphML & GEXF** (for **Gephi** / **yEd** / **Cytoscape Desktop**) | GPLv3 / LGPL | Exports `encyclopedia-graph.graphml` and `encyclopedia-graph.gexf` with pre-computed `(x, y)` coordinates, RGB node colors, and edge weights so researchers can open the full network in Gephi or Cytoscape Desktop. |
| **4. Markdown / Obsidian Graph View & JSON Canvas** | **JSON Canvas (`1.0` Spec)** + `[[wikilink]]` Markdown Vault | MIT / Open Spec | Generates `knowledge-graph/encyclopedia.canvas` and an optional interlinked `[[wikilink]]` mirror compatible with Obsidian's native Graph View and `llm-wiki` conventions. |
---
## 4. Planned Interactive Workbench Features (`knowledge-graph/index.html`)
1. **Five Interactive Layout Modes (One-Click Toolbar Switcher):**
- **Mode 1 — Trophic Food-Web Layout (`fCoSE` / Force-Directed):** Clusters `S1–S6` and `M1–M7+` guilds organically around shared `AQCoordinateHub` stars (`292, 256, 211, 193, 183, 153, 137, 136, 133, 125, 96, 95, 81/91`).
- **Mode 2 — Concentric `ETI` Tier-Ring Radar (`S+` Center -> `D` Periphery):** Places `Tier S+` Apex Predators (`#1 S1 AI [93 ETI]`, `#2 S2 Liquidity [90 ETI]`) in the bullseye ring, surrounded concentrically by `Tier S` Keystone Guilds (`#3 S6 Capture [87]`, `#4 S3 EUV [83]`), `Tier A` Symbionts (`#5 M1 Vampiric [73]`), `Tier B` Nomads (`#6 S5 BwO [61]`, `#7 S4 Carrier-Wave [61]`), `Tier C` Nucleation Stubs (`#8 M6 Zeptoverse [53]` & `M7_candidate_2026_11_28`), and `Tier D` Episodic Anchors (`#9 Q-Stub [49]`).
- **Mode 3 — Bipartite Variance-Collapse Funnel (`Gen 0 Left Column -> Δ Edges -> Gen 1 Right Column`):** Visualizes Vector `G1` directly by placing dispersed `Gen 0` written English values on the left and showing their directed `Δ` edges converging onto single zero-variance `Gen 1` Ingglish nodes on the right.
- **Mode 4 — Ontological Folder Hierarchy (`Compound Nodes 00–08`):** Groups all `291` article nodes inside expandable/collapsible compound boxes matching the `9` Encyclopedia divisions (`00-index-and-ontological-atlas` through `08-stakeholder-registers-idioms-and-pokedex-semiotics`) and `22` PDF volumes.
- **Mode 5 — 13-Flex-Pivot & Ego-Network Subgraph Isolator:** Clicking any coordinate hub (e.g., `129`, `125`, `137`, `193`, `256`, `292`) isolates its 1-hop and 2-hop neighborhood across `Gen 0`, `Gen 1`, `G2` Cross-Gen Twins, and `333/666/777` equations.
2. **Right-Hand Encyclopedia Article Inspector & Direct PDF Launcher:**
- Clicking any node opens a slide-out inspector displaying the full 7-field Encyclopedia Article (`Gen 0` & `Gen 1` AQ, `Δ`, Prime/Isometric/Twin-Prime badges, `G1` variance collapsed, `6-Stat ETI` radar bar, verified `333/666/777` equations, and a clickable button that opens the exact Encyclopedia Volume `.pdf`!).
3. **Live Filter & Search Bar:**
- Instant filter by headword substring, Ingglish spelling, exact integer `AQ` value (`e.g., 125` or `193`), Division (`00–08`), Guild (`S1–S6`, `M1–M7+`), or Structural Flag (`Isometric Δ=0 Only`, `Twin-Prime Only`, `G3 Quantized Step Only`, `13 Flex Pivots Only`).
---
## 5. Phased Execution Roadmap (Upon Approval to Implement)
- **Phase 1 (Read-Only Graph Extractor & NetworkX Analytics — `scripts/build_encyclopedia_knowledge_graph.py`):**
Ingest the existing JSON registries in read-only mode, build the 6-class node set and 8-relation edge set, compute betweenness/PageRank centralities, verify `sha256(taxonomy/glossary-registry.json)` is unchanged, and emit `encyclopedia-graph.json`, `encyclopedia-graph.graphml`, `encyclopedia-graph.gexf`, and `encyclopedia.canvas`.
- **Phase 2 (Interactive Dark-Mode Cytoscape.js Workbench — `knowledge-graph/index.html`):**
Build the self-contained HTML5/JS/CSS interactive application with the 5 layout modes, edge-relation toggles, `AQ` calculator search bar, and slide-out Encyclopedia PDF inspector.
- **Phase 3 (Headless Browser Verification & High-Resolution Graph Atlas Snapshots):**
Render and inspect all 5 layout views via headless browser / `vision_analyze` to verify zero label clipping and clean interactive responsiveness.
@@ -1,105 +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
>>
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 /Helvetica-Oblique /Encoding /WinAnsiEncoding /Name /F3 /Subtype /Type1 /Type /Font
>>
endobj
5 0 obj
<<
/BaseFont /Courier /Encoding /WinAnsiEncoding /Name /F4 /Subtype /Type1 /Type /Font
>>
endobj
6 0 obj
<<
/Contents 11 0 R /MediaBox [ 0 0 612 792 ] /Parent 10 0 R /Resources <<
/Font 1 0 R /ProcSet [ /PDF /Text /ImageB /ImageC /ImageI ]
>> /Rotate 0 /Trans <<
>>
/Type /Page
>>
endobj
7 0 obj
<<
/Contents 12 0 R /MediaBox [ 0 0 612 792 ] /Parent 10 0 R /Resources <<
/Font 1 0 R /ProcSet [ /PDF /Text /ImageB /ImageC /ImageI ]
>> /Rotate 0 /Trans <<
>>
/Type /Page
>>
endobj
8 0 obj
<<
/PageMode /UseNone /Pages 10 0 R /Type /Catalog
>>
endobj
9 0 obj
<<
/Author (Hermes Agent \204 Technocapital Singularity Zoology \(v1.7.0\)) /CreationDate (D:20261129143347+00'00') /Creator (\(unspecified\)) /Keywords () /ModDate (D:20261129143347+00'00') /Producer (ReportLab PDF Library - \(opensource\))
/Subject (Implementation Plan for Open-Source Interactive Knowledge Graph of the Encyclopedia with Strict Glossary Isolation) /Title (Architecture & Implementation Plan: Open-Source Interactive Knowledge Graph of the Encyclopedia of Technocapital Singularity Zoology \(With Strict Glossary Isolation\)) /Trapped /False
>>
endobj
10 0 obj
<<
/Count 2 /Kids [ 6 0 R 7 0 R ] /Type /Pages
>>
endobj
11 0 obj
<<
/Filter [ /ASCII85Decode /FlateDecode ] /Length 4555
>>
stream
Gau0GD0+F@(B3/tTpa3mcn.5CD/?k+F(Yc?PeBXZJ>PDTF2t$m"k4C4[7q;-_uB@V,ejsu*%9S/@Tg"5USC?*H'+#I$NFQ1lcp)')l&U<N3J&VNsH\^J]=%T2u`=,6eYuu/^\)Z\sYH*])70p]rBZh7ds/4'p%C^Dg504T&@:BWnhp<rs]D=l8M1[&\8\LrKr>XNS-*Vs7,oC7jh5m/j^2p&:[+<N1up4/mXMCFM\<pYPh$[N\3F873l-491kfD5CGlYmqDX"&?%F-Z\]F!Kj/*h#kX-MO5Ih8ZKDZ+=fMM+J239Jj'4lr;_^]OfMj[^oojG+@9k9K;-To02;no6LVX\+2%:M3J84JuS["QnnKOdm(Y#&^*h?4o-8FOEg/f/[e?q01J>1'5Sb_%e!K2ei7a.JW4;+rEM>lSkj3o;fmMh'sBG?6GNH59cSb=;r8\%m/H2CW.VI_7>-3XETUl$lB=.p`W[1]ttR]U&R"H6aEdQgaBAJu>M.N22?BafB-M/GYI9aCeJo,Y@t3Z%+!U2)rdW8j!gU/;r=:etb98/$!<qbQl"-&uHo5/DSd(+897-:R<j`\0H%q?).8SRp"i:_m'F8*G#s"$,r&jiKs[O)oR2pX.n;Fbp&kU9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Y^,NZYoA\r@=[#D[Hb"o[O00DFKhK3f)ob"JU:C)<E.UDQ3X#,Z&/H!%sbr)M0ZHXQrLO(Qg"<UJY89o[ZlnH:4sT#Y#J8E+aKBI;Or%PnT4isI"nc3Lp>DMCWPO05`0L4Rf(F+0V/W85amKXDS2"Mq9FuBnn!'Z`kN?Dg`4aH]EWPd.QV%[em7!Bj=6G27/]6q/j$Qr3ep^/Cfr7_>-6Cbp4]>FW+-eOgF'&A/l?LN6_?tN]u*]+p7.e&csak9I<O.<%`L6h1S\),.=XPO[suU0q%HOYbN8sG(.P<lHkOhSFpnW1ItO6$I\Z"RPb34].)[ji%me2UIhEW@`kj,b:q07hUk5/;-La'_\gQ@(?$S,(L8"-XK7GYD&,3U_Z2H^i^r(rV`/!g2YmbF+_mf@C_S*+i[;#sS7j*XC&]pHCSe.s2Bdi$FWsOah!Yjf^U5^jb5gpQi(5:N,SJUA6%@[DtU6C3ZU&k3fM0RBD.PpFc#q,`X#GRJX~>endstream
endobj
xref
0 13
0000000000 65535 f
0000000061 00000 n
0000000122 00000 n
0000000229 00000 n
0000000341 00000 n
0000000456 00000 n
0000000561 00000 n
0000000756 00000 n
0000000951 00000 n
0000001020 00000 n
0000001602 00000 n
0000001668 00000 n
0000006315 00000 n
trailer
<<
/ID
[<adff0306097e12ec0a631c727f6c5228><adff0306097e12ec0a631c727f6c5228>]
% ReportLab generated PDF document -- digest (opensource)
/Info 9 0 R
/Root 8 0 R
/Size 13
>>
startxref
9104
%%EOF
@@ -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.2.0) &bull; encyclopedia-knowledge-graph (v2.2.0)</p>
</div>
<!-- Main SVG Diagram -->
@@ -472,7 +472,8 @@
</div>
<p class="footer">
Workspace Cross-Repository Dependency &amp; Audit Architecture &bull; Verified Zero Glossary Leak &bull; 2026-11-29
Workspace Cross-Repository Dependency &amp; Audit Architecture &bull; Verified Zero Glossary Leak &bull; 2026-11-29<br/>
<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>
</p>
</div>
</body>
Binary file not shown.

After

Width:  |  Height:  |  Size: 285 KiB

+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": "1.2.0",
"version": "2.2.0",
"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": "1.2.0",
"version": "2.2.0",
"encyclopedia_base_path": "../technocapital-singularity-zoology/encyclopedia",
"upstream_repository": "/workspace/technocapital-singularity-zoology",
"isolation_verified": {
+45 -14
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.2.0)</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.2.0</p>
</div>
<div class="toolbar">
<button class="btn active" data-mode="mode2_radar">Mode 2: ETI Radar (S+ -> D Periphery)</button>
@@ -320,8 +320,11 @@
<div id="inspBody" style="display:flex;flex-direction:column;gap:8px;"></div>
</aside>
</div>
<footer class="hs-global-footer" style="background:#1A1D26;border-top:1px solid #323846;padding:4px 14px;text-align:center;font-size:11px;color:#9BA3B8;z-index:20;">
<span class="hs-lemur-credit">hyperstitionstud.io/graph v2.2.0 &bull; Made with <span class="hs-heart" role="img" aria-label="love" style="color:#FB7185;display:inline-block;padding:0 2px;">&#x2665;</span> by Lemurs.</span>
</footer>
<script src="graph-data.js"></script>
<script src="graph-data.js?v=2.2.0"></script>
<script>
(function() {
const DATA = (window.HyperstitionStudio && window.HyperstitionStudio.EncyclopediaGraphData) || window.ENCYCLOPEDIA_GRAPH_DATA;
@@ -794,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": "1.2.0",
"version": "2.2.0",
"encyclopedia_base_path": "../technocapital-singularity-zoology/encyclopedia",
"upstream_repository": str(upstream_repo),
"isolation_verified": {