Files
encyclopedia-knowledge-graph/docs/archive/README.md
T

62 lines
17 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# 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` (`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}`, `../PLAN-ECOSYSTEM-WIDE-ECONOMIZATION-EVALUATION-AND-VECTORS.{md,pdf}`, `../PLAN-LOCAL-SERVER-SIDE-WEB-CHATBOT-GUI.{md,pdf}`, and `../PLAN-MEMETIC-GALLERY-SUBPAGE.{md,pdf}` are preserved in `../` as long-term inactive/deferred plans.
---
## Archived Design Documents in This Folder
| Archived File (`.md` & `.pdf`) | Historical Role & What Superseded It |
| :--- | :--- |
| `plan-interactive-knowledge-graph-encyclopedia.{md,pdf}` | Initial pre-implementation architecture plan for the 388-node, 1,282-edge knowledge graph; superseded by the implemented compiler (`scripts/build_encyclopedia_knowledge_graph.py`) and `OPERATORS-MANUAL-ENCYCLOPEDIA-KNOWLEDGE-GRAPH.{md,pdf}`. |
| `DEPENDENCIES-AND-FIRST-PUSH-GUIDE.{md,pdf}` | Initial dependency manifest and first-push notes; superseded by `../VPS-AND-GIT-OPERATOR-DEPLOYMENT-GUIDE.{md,pdf}`. |
| `MODULARITY-AUDIT-THREE-REPOSITORIES.{md,pdf}` | Pre-common-library modularity audit of `encyclopedia-knowledge-graph`, `technocapital-singularity-zoology`, and `hyperdope-ci-build`. |
| `PLAN-COMMON-LIBRARY-HYPERSTITIONSTUDIO.{md,pdf}` | Architecture & migration plan (`v1.2.0`) for extracting `/workspace/hyperstitionstudio-core` (`hyperstitionstud_io.*` / `urn:io:hyperstitionstud:*`); now implemented in `../hyperstitionstudio-core/`. |
| `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`. |
| `PLAN-ELIMINATE-CONTAINER-HOST-PATHS-AND-TARGET-PUBLIC-WEB-ROUTES.{md,pdf}` | Specification for eliminating all container host path references across scripts, Python modules, `encyclopedia-graph.json`/`graph-data.js` (`304` nodes rewritten to `https://hyperstitionstud.io/encyclopedia/...`), live `.md`/`.pdf` manuals, and cold-rotated `.tar.gz` archives; now implemented and enforced by `test_offline_urn_namespaces_and_no_external_https_fonts()`. |
| `PLAN-POLYGLOT-PROGRAMMING-LENS-GUILE-TYPESCRIPT-RUST-AND-SELECTOR.{md,pdf}` | Specification for the 3-language polyglot pedagogical lens (`λ Guile Scheme`, `TS TypeScript`, `Rs Rust`), `34px` 5-state segmented radiogroup (`#hsPolyglotModeSelector`), and 4-Ring Zero-Escape Sandbox (`polyglot_sandbox.py` & `hs-guile-scheme-repl.js`); now implemented across `/engineering/` (`E0–E5`) and `/math/` (`M0–M5`). |
| `PLAN-ADHOC-MESSENGER-HIGHLIGHTS-SUMMARY-FOR-ENGINEERS-AND-MATH.{md,pdf}` | Specification for the zero-Web-UI, `<= 2` paragraph (`<= 1,100` char) phone-messenger highlights generator (`hs-highlights` CLI & `hs_generate_highlights_summary`, `src/hyperstitionstud_io/publishing/highlights.py`) writing exclusively to `/workspace/untracked/recent-highlights/`; now implemented and verified in `tests/test_core_suite.py`. |
| `PLAN-COMPREHENSIVE-MCP-AND-CHATBOT-REST-API-CAPABILITY-EXPOSURE.{md,pdf}` | Specification for exposing all `/engineering/`, `/math/`, manuals, cold-rotated `.tar.gz` plans, `/learn/`, `/quant/` popovers, polyglot sandbox evaluations, and SQLite FTS5 / release state diagnostics via `MCP_TOOLS_SCHEMA` (`20` tools) and `STATIC_RESOURCES` (`14` resources) with `0` new custom REST routes in `rest.py`; now implemented in `src/hyperstitionstud_io/mcp/{tools,resources}.py`. |
| `PLAN-SQLITE-META-REST-ENDPOINTS-ETAG-AND-VPS-SYNC.{md,pdf}` | Specification for SQLite catalog query modes (`manifests`, `fts_search`, `coordinate_join`, `timeseries_bars`, `telemetry`), VPS `tmpfs` catalog hydration in `deploy/sync-vps-repos.sh`, and deterministic HTTP `ETag` (`"<dag_json_cidv1>"`) + `If-None-Match` (`304 Not Modified`) conditional caching middleware in `src/hyperstitionstud_io/mcp/{rest,server}.py`; now implemented and verified in `tests/test_core_suite.py`. |
| `PLAN-REMOVE-D-FILTER-DISCUSSION-FROM-ENGINEERING-AND-MATH-HUBS.{md,pdf}` | Specification for surgically removing all references to `assert_zero_d_filter`, `Zero-d-Filter`, `d-filter`, and `10-letter decagram` (`nuoagmhysl`) filters from `/engineering/` and `/math/` while preserving 100% of geometric (`d-periphery`), Confluence Dose ($D_{i,t}$), calculus ($d/dx$), and statistical ($df$) uses of `d`/`D`; now implemented in `src/hyperstitionstud_io/publishing/engineering_docs.py` and guarded in `tests/test_core_suite.py`. |