Files
encyclopedia-knowledge-graph/docs/REVIEW-OUTSTANDING-PLANS-POST-V2-0-8.md
T

51 lines
5.6 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.
# Review of Outstanding Plans & Post-`v2.0.8` Implementation Status Across the `hyperstitionstud.io` Ecosystem
- **Document ID:** `REVIEW-OUTSTANDING-PLANS-POST-V2-0-8` (`v2.0.8`)
- **Baseline Release Audited:** `v2.0.8` (Following full implementation and 36-route verification of `hyperstitionstud_io.ipld`, `hyperstitionstud_io.quant`, `hyperstitionstud_io.mcp`, `/learn/`, `/gallery/`, and the global `"Made with ♥ by Lemurs."` footer).
---
## 1. Completed vs. Outstanding Plan Matrix (`v2.0.8`)
| # | Plan Document & Tag | Target Module / Web Route | Status in `v2.0.8` |
| :- | :--- | :--- | :--- |
| **1** | `ASSESSMENT-IPLD-DAG-JSON-CODEC-INTEGRATION.{md,pdf}` (`v2.0.0`) | `hyperstitionstud_io.ipld` (`encode_dag_json`, `compute_dag_json_cidv1`, `write_pretty_and_dag_json`) | **COMPLETED & VERIFIED** (`tests/test_core_suite.py`) |
| **2** | `PLAN-QUANTITATIVE-FINANCIAL-TELEMETRY-PIPELINE.{md,pdf}` (`v2.0.6`) | `hyperstitionstud_io.quant` (`hs-quant-harvest`, `collect_financial_quant_aq.py`, `--scan-quant-harvest`, `financial-aq-harvest-latest.json`) | **COMPLETED & VERIFIED** (`24` instruments, `28` Scope 1–3 locks, `CIDv1` `baguqeera...`) |
| **3** | `PLAN-MCP-SERVER-HYPERSTITIONSTUDIO.{md,pdf}` (`v2.0.3`) | `hyperstitionstud_io.mcp` (`hs-mcp --transport stdio\|http`, `11` tools, `9` resources/templates, `4` prompts) | **COMPLETED & VERIFIED** (`tests/test_core_suite.py`) |
| **4** | `PLAN-LEARNING-SUBPAGE-AND-LOCAL-STATE-PORTABILITY.{md,pdf}` (`v2.0.2`) | `/learn/` (`site/learn/index.html` + `learn-app.js` + `learn-progress-state.schema.json`) | **COMPLETED & VERIFIED** (`HTTP 200 OK` in `test-first-deployment.sh`) |
| **5** | `PLAN-MEMETIC-GALLERY-SUBPAGE.{md,pdf}` (`v2.0.5`) | `/gallery/` (`site/gallery/index.html` + `gallery-data.js` + `37` visual specimens) | **COMPLETED & VERIFIED** (`HTTP 200 OK` in `test-first-deployment.sh`) |
| **6** | `PLAN-GLOBAL-SITE-FOOTER-LEMURS.{md,pdf}` (`v2.0.4`) | Global `"Made with ♥ by Lemurs."` (`♥`) footer across all 6 HTML web surfaces | **COMPLETED & VERIFIED** (`tests/test_core_suite.py`) |
| **7** | `PLAN-LLM-TOKEN-ECONOMIZER-AND-VARIANCE-ROUTING.{md,pdf}` (`v2.0.7`) | `hyperstitionstud_io.economizer` (`hs-route-job`, $\sigma^2_{\text{step}}$ 5-factor scorer $J_{\text{score}}$, `Tier 0–3` router, pre-solved candidate menus) | **OUTSTANDING (Ready to Implement)** |
---
## 2. Primary Outstanding Plan: Python LLM Token Economizer & Marginal Procedure-Step Variance Router (`hyperstitionstud_io.economizer`)
- **Plan Document:**
- Container PDF: `/workspace/encyclopedia-knowledge-graph/docs/PLAN-LLM-TOKEN-ECONOMIZER-AND-VARIANCE-ROUTING.pdf`
- Host URL: `file:///home/m00t/hermes/workspace/encyclopedia-knowledge-graph/docs/PLAN-LLM-TOKEN-ECONOMIZER-AND-VARIANCE-ROUTING.pdf`
- **Current Status:**
Planned and documented (`tag: v2.0.7`); **not yet implemented** in `/workspace/hyperstitionstudio-core/src/hyperstitionstud_io/economizer/`.
- **Remaining Implementation Scope:**
1. Create `/workspace/hyperstitionstudio-core/src/hyperstitionstud_io/economizer/__init__.py` implementing:
- `score_job_complexity(v_step, d_verif, c_ctx, s_struct, r_blast)` ($J_{\text{score}} \in [0, 100]$ with hard override $V_{\text{step}} == 0 \implies J_{\text{score}} = 0$ `Tier 0 Local Python`),
- `select_api_tier(j_score)` (`Tier 0` Local Python `$0.00` -> `Tier 1` Economy Flash-Lite `~$0.07/1M` -> `Tier 2` Mid-Tier Workhorse + Prompt Caching `~$0.30/1M` -> `Tier 3` Frontier Reasoning),
- `precompute_candidate_equations_menu(terms, targets=(333, 666, 777))` (solves and Gate-2-filters candidate equations in `Tier 0` Python in `< 20 ms` so LLMs only pick integer indices rather than burning reasoning tokens on arithmetic),
- `build_cached_messages(system_prefix, variable_tail)` (immutable prefix ordering for `75%–90%` prompt cache discounts), and
- `estimate_token_cost(input_tokens, output_tokens, tier, cached_fraction)`.
2. Register `hs-route-job = "hyperstitionstud_io.economizer:main"` in `pyproject.toml`, expose `hs_route_job_economizer` in `hyperstitionstud_io.mcp.tools`, and add unit tests to `tests/test_core_suite.py`.
---
## 3. Optional Operational & Archival Follow-Ups on Completed Plans
### 3.1 Optional Public `/mcp` Reverse-Proxy Route in `deploy/Caddyfile` & `deploy/hyperstition-mcp.service`
- `hs-mcp` (`--transport stdio` and `--transport http`) is implemented and tested locally. Adding `deploy/hyperstition-mcp.service` (`127.0.0.1:8095`) and `handle /mcp* { reverse_proxy 127.0.0.1:8095 }` to `deploy/Caddyfile` is an optional step if you want `https://hyperstitionstud.io/mcp` exposed publicly on the Linode VPS in addition to local `stdio`.
### 3.2 Archiving Completed `v2.0.2–v2.0.7` Plan Files into `docs/archive/` (Per Option 3)
- Now that `PLAN-LEARNING-SUBPAGE-*`, `PLAN-MEMETIC-GALLERY-*`, `PLAN-GLOBAL-SITE-FOOTER-*`, `PLAN-MCP-SERVER-*`, `PLAN-QUANTITATIVE-FINANCIAL-*`, and `ASSESSMENT-IPLD-DAG-JSON-*` are implemented in `v2.0.8`, moving their pre-implementation plan PDFs and Markdown files from `encyclopedia-knowledge-graph/docs/` into `encyclopedia-knowledge-graph/docs/archive/` (and updating `VPS-AND-GIT-OPERATOR-DEPLOYMENT-GUIDE.{md,pdf}` to list `/learn/`, `/gallery/`, `hs-mcp`, and `hs-quant-harvest`) will keep top-level `docs/` clean.
### 3.3 Optional Earlier Audio Series Continuation (`Episodes 06–09` / Parts V–VIII of *The Singularity Field Guide*)
- Archived Plan Document: `/workspace/technocapital-singularity-zoology/docs/archive/podcast-series-plan-encyclopedia-of-technocapital-singularity-zoology.pdf`.
- Episodes `01–05` (covering Ontological Divisions `00` through `04`) are complete on disk; Parts `V–VIII` (Divisions `05` through `08`) remain optional.