diff --git a/README.md b/README.md
index ee87e44..a14a94e 100644
--- a/README.md
+++ b/README.md
@@ -3,8 +3,8 @@
> **Gitea Commit & Release Telemetry (`v2.17.0` • Namespace `urn:io:hyperstitionstud`)**
> - **Repository Role & Public Route:** Shared PEP 420 Python core library (`hyperstitionstud_io.*`), MCP/REST server, `/quant/`, `/learn/`, `/engineering/`, `/math/`, & `/donate/` webroots → [`https://hyperstitionstud.io/`](https://hyperstitionstud.io/)
-> - **Latest Commit Scope (`hyperstitionstudio-core`):** Synchronized v2.17.0 release state across 44 tracked module/artifact surface(s)
-> - **Touched Files / Surfaces:** `deploy/Caddyfile`, `deploy/push-all-to-git-libre-audio.sh`, `deploy/sync-vps-repos.sh`, `deploy/test-first-deployment.sh`, `package.json`, `packages-js/ciphers-aq/package.json`, `pyproject.toml`, `scripts/build_gallery_manifest.py` (+36 more)
+> - **Latest Commit Scope (`hyperstitionstudio-core`):** Synchronized v2.17.0 release state across 9 tracked module/artifact surface(s)
+> - **Touched Files / Surfaces:** `site/assets/closeups/ui-elements-manifest.json`, `site/engineering/engineering-manifest-data.js`, `site/engineering/engineering-manifest.json`, `site/engineering/index.html`, `site/engineering/mcp-chatbot-rest-and-ipld/index.html`, `site/quant/OPERATORS-MANUAL-QUANT-TIMESERIES-WORKBENCH.md`, `site/quant/OPERATORS-MANUAL-QUANT-TIMESERIES-WORKBENCH.pdf`, `src/hyperstitionstud_io/publishing/engineering_docs.py` (+1 more)
> - **Live Verified Ecosystem Metrics (`v2.17.0`):** `6` Repositories • `17` CLI Entrypoints • `20` MCP/REST Tools • `14` URN Resources • `63` Verified Web Routes • `388` KG Nodes / `1,282` Edges • `282` Glossary Entries • `4,943` Offline CMUdict Phonetics • `0` Synthetic Data
@@ -60,3 +60,16 @@ python3 hyperstitionstudio-core/tests/test_core_suite.py
- `/` (Portal Home), `/learn/` (6-Module Interactive Track), `/quant/` (3-Pane Closing-Bell & FRED Macro Time-Series + 25-Scene Guided Tour), `/engineering/` (`E0-E5` Software Engineering Hub), `/math/` (`M0-M5` Applied Mathematics Hub), and `/donate/` (Signal Patronage).
4. **4,943-Entry Offline `CMUdict` Phonetics Lookup (`cmudict_fallback.json`):**
- Translates `Gen 0` English tokens to `Gen 1` Ingglish 100% offline with zero network calls.
+5. **One-Shot `900×1260` Ticker Stats Cards (`.png` + `.json`) via CLI, Chatbot REST API & MCP:**
+ ```bash
+ # (a) Direct CLI entrypoint (writes /tmp/hyperstition-cards/NVDA-stats-card.{png,json}):
+ hs-ticker-card --symbol NVDA --lens tierzoo_ecology --out-dir /tmp/hyperstition-cards
+
+ # (b) Chatbot OpenAPI 3.1 REST API client (GET or POST /api/v1/tools/hs_generate_ticker_stats_card):
+ curl -sS "https://hyperstitionstud.io/api/v1/tools/hs_generate_ticker_stats_card?symbol=NVDA&lens=tierzoo_ecology&include_base64_png=false" | jq .
+ curl -sS "https://hyperstitionstud.io/api/v1/zoology/pokedex/NVDA?include_card=true" | jq '.data.stats_card.card_identity'
+
+ # (c) MCP JSON-RPC 2.0 client (Streamable HTTP POST /mcp or hs-mcp --transport stdio):
+ curl -sS -X POST "https://hyperstitionstud.io/mcp" -H "Content-Type: application/json" \
+ -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"hs_generate_ticker_stats_card","arguments":{"symbol":"NVDA","lens":"tierzoo_ecology","include_base64_png":false}}}' | jq .
+ ```
diff --git a/site/assets/closeups/ui-elements-manifest.json b/site/assets/closeups/ui-elements-manifest.json
index 4f1f8cb..d2b3077 100644
--- a/site/assets/closeups/ui-elements-manifest.json
+++ b/site/assets/closeups/ui-elements-manifest.json
@@ -1,6 +1,6 @@
{
"$id": "urn:io:hyperstitionstud:closeups-ui-manifest",
- "ui_elements_fingerprint_sha256": "850e947100a471119f43bcc9317c1979447cd4c1ce3c06f4e98747be54b713b6",
+ "ui_elements_fingerprint_sha256": "e62f107407574752ad8d4b3bf2574326bc0b06fdbbf37b743b2c711a09caaa9f",
"closeup_images": [
"quadrant-1-cybermemetics-calc-graph.png",
"quadrant-1-tab-2-graph.png",
@@ -332,12 +332,12 @@
]
},
"engineering_e4": {
- "ui_structure_sha256": "1c819c615e418eec10caefaf53aa76100655c1cb7bbe7b2914e54c9b62c97996",
+ "ui_structure_sha256": "b86e97644a9c1252028540bd83b2a8b19c379fd0d2961d352491e83b277d4995",
"id_count": 15,
"button_count": 17,
"option_count": 16,
"input_count": 0,
- "heading_count": 4,
+ "heading_count": 5,
"ids": [
"guileSchemeModeState",
"guileSchemeModeToggle",
@@ -388,6 +388,7 @@
"Unit E4: Stateless MCP Server (:8095), Chatbot OpenAPI 3.1.0 REST Adapter, .png+.json Cards & IPLD CIDv1",
"1. Unified Stateless MCP (/mcp) & Chatbot OpenAPI 3.1.0 REST Adapter (/api/v1/*)",
"2. One-Shot .png + .json Ticker Stats Cards (quant/cards.py) & Canonical IPLD dag-json (0x0129)",
+ "3. Command-Line Usage Examples: CLI (hs-ticker-card), Chatbot REST Client (/api/v1/tools/*) & MCP Client (/mcp)",
"⚛ Live API & IPLD CIDv1 ETag 304 Conditional Cache Probe (#live-smoke-probe)"
]
},
@@ -803,7 +804,7 @@
}
},
"ipld_dag_json_cidv1": {
- "/": "baguqeeradg673hhidck5xgxsdfmihzeoppstvdi7gxy56ejprd5ha7swxrka"
+ "/": "baguqeeraqs64csybqg243ag5ad6r75z26sgj6fn7zdxfeppdxjxm2jjkebpq"
},
"geometry_audit": {
"all_clean": true,
diff --git a/site/engineering/engineering-manifest-data.js b/site/engineering/engineering-manifest-data.js
index 787b175..2b3d1cc 100644
--- a/site/engineering/engineering-manifest-data.js
+++ b/site/engineering/engineering-manifest-data.js
@@ -1 +1 @@
-window.HYPERSTITION_ENGINEERING_MANIFEST = {"$id": "urn:io:hyperstitionstud:engineering-manifest", "version": "2.17.0", "enabled_subpages": ["ciphers-and-phonetics", "knowledge-graph-and-sqlite", "quant-macro-and-bayesian-brief", "mcp-chatbot-rest-and-ipld", "cicd-vps-tmpfs-and-regression"], "disabled_subpages": [], "enabled_routes": ["/engineering/index.html", "/engineering/ciphers-and-phonetics/index.html", "/engineering/knowledge-graph-and-sqlite/index.html", "/engineering/quant-macro-and-bayesian-brief/index.html", "/engineering/mcp-chatbot-rest-and-ipld/index.html", "/engineering/cicd-vps-tmpfs-and-regression/index.html"], "introspected_counts": {"repositories": 6, "cli_entrypoints": 20, "mcp_tools": 20, "rest_domain_aliases": 12, "enabled_lenses": 6, "watchlist_instruments": 24, "fred_macro_series": 14, "json_schemas_v1": 12}, "cli_scripts": {"hs-doctor": "hyperstitionstud_io.ci.doctor:main", "hs-citations": "hyperstitionstud_io.ci.citation_sources:main", "hs-pdf-build": "hyperstitionstud_io.publishing.pdf_compiler:main", "hs-kg-build": "hyperstitionstud_io.graph.cli:main", "hs-quant-harvest": "hyperstitionstud_io.quant.collector:main", "hs-mcp": "hyperstitionstud_io.mcp.server:main", "hs-sync-version": "hyperstitionstud_io.version_sync:main", "hs-db-build": "hyperstitionstud_io.db.sqlite_meta:main", "hs-macro-harvest": "hyperstitionstud_io.quant.macro:main", "hs-daily-brief": "hyperstitionstud_io.quant.daily_brief:main", "hs-ticker-card": "hyperstitionstud_io.quant.cards:main", "hs-archive-rotate": "hyperstitionstud_io.publishing.archive_rotator:main", "hs-public-smoke": "hyperstitionstud_io.ci.public_regression:main", "hs-eng-docs": "hyperstitionstud_io.publishing.engineering_docs:main", "hs-math-docs": "hyperstitionstud_io.publishing.math_docs:main", "hs-highlights": "hyperstitionstud_io.publishing.highlights:main", "hs-readme-sync": "hyperstitionstud_io.publishing.readme_sync:main", "hs-closeups-sync": "hyperstitionstud_io.publishing.closeups_sync:main", "hs-quant-voice-build": "hyperstitionstud_io.publishing.quant_voice:main", "hs-deploy-scripts-sync": "hyperstitionstud_io.ci.deploy_scripts_sync:main"}, "mcp_tool_names": ["hs_evaluate_aq_and_ingglish", "hs_classify_singularity", "hs_query_knowledge_graph", "hs_search_glossary_encyclopedia", "hs_inspect_eti_tier_list", "hs_simulate_anchor_revision", "hs_search_archive_equations", "hs_verify_grounded_citations", "hs_compute_ipld_dag_json_cid", "hs_run_doctor_and_audit", "hs_scan_financial_quant_harvest", "hs_inspect_quant_timeseries", "hs_generate_ticker_stats_card", "hs_inspect_macro_indicators", "hs_generate_daily_portfolio_brief", "hs_inspect_engineering_and_math_docs", "hs_inspect_documentation_and_manuals", "hs_evaluate_guile_scheme_z_calculus", "hs_query_workspace_catalog_and_release_state", "hs_generate_highlights_summary"], "rest_domain_aliases": {"/api/v1/doctor": "hs_run_doctor_and_audit", "/api/v1/ciphers/evaluate": "hs_evaluate_aq_and_ingglish", "/api/v1/zoology/classify": "hs_classify_singularity", "/api/v1/zoology/tier-list": "hs_inspect_eti_tier_list", "/api/v1/zoology/anchor-revision": "hs_simulate_anchor_revision", "/api/v1/graph/query": "hs_query_knowledge_graph", "/api/v1/glossary/search": "hs_search_glossary_encyclopedia", "/api/v1/archive/equations": "hs_search_archive_equations", "/api/v1/quant/harvest": "hs_scan_financial_quant_harvest", "/api/v1/quant/timeseries": "hs_inspect_quant_timeseries", "/api/v1/ipld/cid": "hs_compute_ipld_dag_json_cid", "/api/v1/citations/verify": "hs_verify_grounded_citations"}, "schemas_v1": ["assemblage-builds-tier-list.schema.json", "citations-ledger.schema.json", "encyclopedia-graph.schema.json", "encyclopedia-manifest.schema.json", "financial-aq-harvest.schema.json", "glossary-registry.schema.json", "learn-progress-state.schema.json", "memetic-superclass-registry.schema.json", "quant-timeseries.schema.json", "quantitative-economic-anchors.schema.json", "singularity-zoology-matrix.schema.json", "ticker-stats-card.schema.json"], "flow_diagrams": {"cross_repo_dependency_png": "/graph/docs/cross-repo-dependency-and-audit-flow-diagram.png", "periodic_harvest_cicd_vps_png": "/graph/docs/periodic-harvest-cicd-to-vps-flow-diagram.png"}, "hub_prereq_ladder": {"unit_id": "E0", "expertise_level": "Level 1-2 (Novice to Advanced Beginner • 4-8 hrs study)", "summary": "New to command-line shells, Git repositories, or client-server web architecture? Start with these free foundational resources before diving into the engineering subpages:", "links": [{"label": "Internal: Self-Paced Learning Track (/learn/ Modules 1-6)", "url": "/learn/index.html", "external": false}, {"label": "MIT Missing Semester of Your CS Education (Shell, Git, CLI)", "url": "https://missing.csail.mit.edu/", "external": true}, {"label": "MDN Web Docs — How the Web Works (HTTP, HTML, Servers)", "url": "https://developer.mozilla.org/en-US/docs/Learn/Getting_started_with_the_web/How_the_Web_works", "external": true}]}, "subpages": {"ciphers-and-phonetics": {"unit_id": "E1", "slug": "ciphers-and-phonetics", "title": "Unit E1: Base-36 AQ Ciphers, Offline CMUdict Phonetics & Bidirectional Lock Evaluation", "short_title": "E1: Ciphers & Phonetics", "pip_class": "plate-lock-gold", "expertise_level": "Level 2: Introductory Python & Text Processing (10-15 hrs study)", "prerequisites": ["Python 3 functions, dictionaries (dict), frozenset, and regular expressions (re.sub)", "ASCII & Unicode character codepoints (ord(), UTF-8)", "Dictionary lookup vs. deterministic grapheme-to-phoneme fallback rules"], "public_resources": [{"label": "Internal: /learn/ Module 1 & 2 (Base-36 & Ingglish)", "url": "/learn/index.html", "external": false}, {"label": "Official Python 3 Tutorial (Sections 3-5 & 7)", "url": "https://docs.python.org/3/tutorial/", "external": true}, {"label": "Harvard CS50P (Intro to Programming with Python)", "url": "https://cs50.harvard.edu/python/", "external": true}, {"label": "CMU Pronouncing Dictionary (CMUdict) Specification", "url": "http://www.speech.cs.cmu.edu/cgi-bin/cmudict", "external": true}, {"label": "RegexOne Interactive Regular Expression Tutorial", "url": "https://regexone.com/", "external": true}], "sections": [{"heading": "1. PEP 420 Namespace & Quantization Modes (hyperstitionstud_io.ciphers)", "body": "The cipher engine maps digits 0-9 to 0..9 (ord(c)-48) and ASCII letters A-Z to 10..35 (ord(c)-87) across three quantization modes: digit (default), off (qualitative lexical only), and spoken (number-word expansion via int_to_spoken_words()), evaluating prime index ranks, 37×3k repdigit attractors, and 12-field bidirectional locks."}, {"heading": "2. Three-Tier Offline Phonemic Transducer (hyperstitionstud_io.phonetics)", "body": "translate_batch() resolves English phrases into Gen 1 Ingglish with zero external network calls and zero hardcoded /workspace dependencies: Tier 1 delegates to local Node/CLI translators when present; Tier 2 looks up the 4,943-entry bundled cmudict_fallback.json; Tier 3 applies deterministic English digraph-to-phoneme rules so arbitrary OOV strings always resolve."}]}, "knowledge-graph-and-sqlite": {"unit_id": "E2", "slug": "knowledge-graph-and-sqlite", "title": "Unit E2: 6-Gate 388-Node Knowledge Graph Compiler, ReadOnlyIsolationGuard & Quiescent SQLite + FTS5 Engine", "short_title": "E2: Knowledge Graph & SQLite", "pip_class": "plate-lock-emerald", "expertise_level": "Level 3-4: Databases, Cryptographic Hashing & OS Concurrency (15-25 hrs study)", "prerequisites": ["Cryptographic hash functions (SHA-256) and Python context managers (with / __exit__)", "Relational schemas, inverted full-text search indices (SQLite FTS5), and graph representations", "ACID transactions, Write-Ahead Logging (WAL), and BEGIN EXCLUSIVE file locking"], "public_resources": [{"label": "SQLite Write-Ahead Logging (WAL) Architecture", "url": "https://www.sqlite.org/wal.html", "external": true}, {"label": "SQLite FTS5 Full-Text Search Extension Docs", "url": "https://www.sqlite.org/fts5.html", "external": true}, {"label": "CMU 15-445/645 (Intro to Database Systems — Andy Pavlo)", "url": "https://15445.courses.cs.cmu.edu/", "external": true}, {"label": "Python contextlib & Context Manager Documentation", "url": "https://docs.python.org/3/library/contextlib.html", "external": true}], "sections": [{"heading": "1. ReadOnlyIsolationGuard Context Manager (hyperstitionstud_io.glossary)", "body": "Every compiler, MCP tool, and REST v1 handler executes inside with ReadOnlyIsolationGuard(cfg.read_only_files) as guard:. Before and after the block runs, SHA-256 digests of taxonomy/glossary-registry.json and encyclopedia/encyclopedia-manifest.json are verified against baseline constants, raising RuntimeError immediately on any byte mutation."}, {"heading": "2. 6-Gate Multi-Format Graph Compiler & Quiescent 100M SQLite Logrotate (db/sqlite_meta.py)", "body": "build_encyclopedia_knowledge_graph.py compiles 388 nodes and 1,282 edges into JSON, JS, GraphML, GEXF, Obsidian Canvas, and 3 1600x1060 PNG atlases. sqlite_meta.py hydrates hyperstition-catalog.db (FTS5) and records /api/v1/* and /mcp telemetry in /var/lib/hyperstitionstud.io/api-telemetry.db, while deploy/logrotate.d/hyperstition-sqlite-meta acquires BEGIN EXCLUSIVE at 100M, snapshots .1.gz, and runs PRAGMA wal_checkpoint(TRUNCATE); VACUUM;."}]}, "quant-macro-and-bayesian-brief": {"unit_id": "E3", "slug": "quant-macro-and-bayesian-brief", "title": "Unit E3: Zero-Synthetic-Data Quant Engine, 14-Point Bidirectional Census, Dose 0..3+, FRED Macro & Bayesian Brief", "short_title": "E3: Quant, Macro & Bayesian", "pip_class": "plate-lock-gold", "expertise_level": "Level 3: Data Engineering, Time-Series Ingestion & Strategy Registries (10-15 hrs study)", "prerequisites": ["HTTP JSON/CSV client ingestion (urllib.request) and resilient fallback chains", "Missing-data domain representation (None / null vs. silent 0.0 corruption)", "Pluggable projection registries (LENS_REGISTRY) and state-machine persistence"], "public_resources": [{"label": "Internal: /quant/ Interactive Guided Canvas Tour (5 Episodes)", "url": "/quant/index.html", "external": false}, {"label": "Python urllib.request & json Standard Library Documentation", "url": "https://docs.python.org/3/library/urllib.request.html", "external": true}, {"label": "St. Louis Federal Reserve (FRED) Series & CSV Documentation", "url": "https://fredhelp.stlouisfed.org/", "external": true}, {"label": "Refactoring.Guru — Strategy & Adapter Design Patterns in Python", "url": "https://refactoring.guru/design-patterns/python", "external": true}], "sections": [{"heading": "1. Strict Zero-Synthetic-Data Collector & Native-Cadence FRED Macro Engine (collector.py, macro.py)", "body": "collector.py and timeseries.py eliminate all synthetic bar interpolation: 23 public tickers load 440 verified daily exchange bars (site/quant/real-market-history.json), while private entity ANTHR-PVT and closed weekend/holiday sessions serialize strictly as null ('No data available'). macro.py ingests 14 keyless St. Louis Fed (FRED) CSV series at native 1d, 1mo, and 1q cadences without forward-fill."}, {"heading": "2. 14-Point Bidirectional Census, Confluence Dose (D in {0..4}) & 5-Agenda Bayesian Brief (daily_brief.py)", "body": "timeseries.py evaluates all 14 data points in Gen 0 (eng_aq) and Gen 1 (ing_aq) and classifies each bar by its 4-species Confluence Dose (Dose 2 isometric pinning vs. Dose 3+ breakout). daily_brief.py updates the append-only Bayesian state ledger (daily-brief-state.json) across R1 Bull, R2 Pinned Isometric, and R3 Tail Drawdown and grades each day's testable macro question Q_t."}]}, "mcp-chatbot-rest-and-ipld": {"unit_id": "E4", "slug": "mcp-chatbot-rest-and-ipld", "title": "Unit E4: Stateless MCP Server (:8095), Chatbot OpenAPI 3.1.0 REST Adapter, .png+.json Cards & IPLD CIDv1", "short_title": "E4: MCP, REST & IPLD CIDv1", "pip_class": "plate-lock-emerald", "expertise_level": "Level 4: Network Protocols, OpenAPI 3.1 & Content-Addressed Storage (15-20 hrs study)", "prerequisites": ["HTTP/1.1 request/response lifecycles, status codes (200, 404, 422, 500, 502), and reverse proxies", "JSON-RPC 2.0, OpenAPI 3.1.0 schema generation, and Model Context Protocol (MCP)", "Canonical JSON serialization, SHA-256 multihashes, and IPLD dag-json (0x0129) CIDv1"], "public_resources": [{"label": "MDN Web Docs — HTTP Protocol & Status Codes", "url": "https://developer.mozilla.org/en-US/docs/Web/HTTP", "external": true}, {"label": "JSON-RPC 2.0 Official Specification", "url": "https://www.jsonrpc.org/specification", "external": true}, {"label": "Model Context Protocol (MCP) Architecture Introduction", "url": "https://modelcontextprotocol.io/introduction", "external": true}, {"label": "ProtoSchool — Content Identifiers (CIDs) & IPLD Merkle DAGs", "url": "https://proto.school/", "external": true}], "sections": [{"heading": "1. Unified Stateless MCP (/mcp) & Chatbot OpenAPI 3.1.0 REST Adapter (/api/v1/*)", "body": "mcp/server.py and mcp/rest.py expose all 15 tools in MCP_TOOLS_SCHEMA over stdio, Streamable HTTP POST/GET /mcp, and /api/v1/tools/{tool_name} on 127.0.0.1:8095. Top-level exception guards in _MCPHTTPHandler and record_api_telemetry() ensure sqlite3.OperationalError or read-only filesystem states never drop connections or trigger 502 Bad Gateway."}, {"heading": "2. One-Shot .png + .json Ticker Stats Cards (quant/cards.py) & Canonical IPLD dag-json (0x0129)", "body": "hs_generate_ticker_stats_card compiles a 5-zone 900x1260 Group 3 Stealth Basalt PNG card and companion JSON payload in one shot (with draw_fitted_text() width clamping and ink-bbox midpoint centering). ipld/__init__.py serializes canonical UTF-8 dag-json and prefixes SHA-256 digests with [0x01, 0xA9, 0x02, 0x12, 0x20] to form Base32 CIDv1 ('baguqeera...')."}]}, "cicd-vps-tmpfs-and-regression": {"unit_id": "E5", "slug": "cicd-vps-tmpfs-and-regression", "title": "Unit E5: Topological Git Push, Self-Re-Executing tmpfs VPS Hydration, Dark-Mode hs-pdf-build & hs-public-smoke", "short_title": "E5: CI/CD, VPS & Regression", "pip_class": "plate-lock-rose", "expertise_level": "Level 4: Linux Systems Administration, Bash Traps, systemd & DevOps (20-30 hrs study)", "prerequisites": ["POSIX Bash error handling (set -euo pipefail, trap ERR, run_checked(), exec, flock)", "Git fast-forward merges, annotated tags, and git pull --rebase --autostash", "Linux tmpfs RAM mounts, systemd services/timers, Caddy HTTP/3 QUIC, and TrueType cmap tables"], "public_resources": [{"label": "Pro Git Book (Chacon & Straub — Free Complete Online Text)", "url": "https://git-scm.com/book/en/v2", "external": true}, {"label": "Wooledge BashGuide & BashFAQ (Error Handling & Process Exec)", "url": "https://mywiki.wooledge.org/BashGuide", "external": true}, {"label": "freedesktop.org systemd.service & systemd.timer Manuals", "url": "https://www.freedesktop.org/software/systemd/man/systemd.service.html", "external": true}, {"label": "Caddy Server Official Documentation (HTTP/3 & Reverse Proxy)", "url": "https://caddyserver.com/docs/", "external": true}], "sections": [{"heading": "1. Zero-/dev/null CI/CD Scripts, Self-Re-Exec & Autonomous VPS Harvest Timers", "body": "push-all-to-git-libre-audio.sh, deploy/sync-vps-repos.sh, and deploy/run-vps-data-production.sh contain 0 /dev/null redirections and capture exact exit codes via run_checked(). When sync-vps-repos.sh updates hyperstitionstudio-core on disk, HYPERSTITION_SYNC_REEXEC=1 immediately execs the new script image before hydrating /var/www/hyperstitionstud.io/repos (tmpfs RAM + Brotli-11/Gzip-9)."}, {"heading": "2. Dark-Mode hs-pdf-build, Cold-Archive Rotator (hs-archive-rotate) & 6-Gate Public Regression (hs-public-smoke)", "body": "pdf_compiler.py transpiles LaTeX math, preserves , filters every character against DejaVu TrueType cmap tables, sets rl_config.defaultGraphicsFontName='DejaVu' (0 /Helvetica leaks), and prioritizes web-linked PDFs (--refresh-all-web-pdfs). archive_rotator.py rotates completed docs/archive/ pairs into completed-plans-archive.tar.gz, while public_regression.py audits live HTTP responses against .cache/internal-test-baseline-latest.json across Gates P1-P6."}]}}, "ipld_dag_json_cidv1": {"/": "baguqeeralhggheqvujuoexizpm3m2ygjxh4l53ibxetlgp4xallhicw2j2mq"}};
+window.HYPERSTITION_ENGINEERING_MANIFEST = {"$id": "urn:io:hyperstitionstud:engineering-manifest", "version": "2.17.0", "enabled_subpages": ["ciphers-and-phonetics", "knowledge-graph-and-sqlite", "quant-macro-and-bayesian-brief", "mcp-chatbot-rest-and-ipld", "cicd-vps-tmpfs-and-regression"], "disabled_subpages": [], "enabled_routes": ["/engineering/index.html", "/engineering/ciphers-and-phonetics/index.html", "/engineering/knowledge-graph-and-sqlite/index.html", "/engineering/quant-macro-and-bayesian-brief/index.html", "/engineering/mcp-chatbot-rest-and-ipld/index.html", "/engineering/cicd-vps-tmpfs-and-regression/index.html"], "introspected_counts": {"repositories": 6, "cli_entrypoints": 20, "mcp_tools": 20, "rest_domain_aliases": 12, "enabled_lenses": 6, "watchlist_instruments": 24, "fred_macro_series": 14, "json_schemas_v1": 12}, "cli_scripts": {"hs-doctor": "hyperstitionstud_io.ci.doctor:main", "hs-citations": "hyperstitionstud_io.ci.citation_sources:main", "hs-pdf-build": "hyperstitionstud_io.publishing.pdf_compiler:main", "hs-kg-build": "hyperstitionstud_io.graph.cli:main", "hs-quant-harvest": "hyperstitionstud_io.quant.collector:main", "hs-mcp": "hyperstitionstud_io.mcp.server:main", "hs-sync-version": "hyperstitionstud_io.version_sync:main", "hs-db-build": "hyperstitionstud_io.db.sqlite_meta:main", "hs-macro-harvest": "hyperstitionstud_io.quant.macro:main", "hs-daily-brief": "hyperstitionstud_io.quant.daily_brief:main", "hs-ticker-card": "hyperstitionstud_io.quant.cards:main", "hs-archive-rotate": "hyperstitionstud_io.publishing.archive_rotator:main", "hs-public-smoke": "hyperstitionstud_io.ci.public_regression:main", "hs-eng-docs": "hyperstitionstud_io.publishing.engineering_docs:main", "hs-math-docs": "hyperstitionstud_io.publishing.math_docs:main", "hs-highlights": "hyperstitionstud_io.publishing.highlights:main", "hs-readme-sync": "hyperstitionstud_io.publishing.readme_sync:main", "hs-closeups-sync": "hyperstitionstud_io.publishing.closeups_sync:main", "hs-quant-voice-build": "hyperstitionstud_io.publishing.quant_voice:main", "hs-deploy-scripts-sync": "hyperstitionstud_io.ci.deploy_scripts_sync:main"}, "mcp_tool_names": ["hs_evaluate_aq_and_ingglish", "hs_classify_singularity", "hs_query_knowledge_graph", "hs_search_glossary_encyclopedia", "hs_inspect_eti_tier_list", "hs_simulate_anchor_revision", "hs_search_archive_equations", "hs_verify_grounded_citations", "hs_compute_ipld_dag_json_cid", "hs_run_doctor_and_audit", "hs_scan_financial_quant_harvest", "hs_inspect_quant_timeseries", "hs_generate_ticker_stats_card", "hs_inspect_macro_indicators", "hs_generate_daily_portfolio_brief", "hs_inspect_engineering_and_math_docs", "hs_inspect_documentation_and_manuals", "hs_evaluate_guile_scheme_z_calculus", "hs_query_workspace_catalog_and_release_state", "hs_generate_highlights_summary"], "rest_domain_aliases": {"/api/v1/doctor": "hs_run_doctor_and_audit", "/api/v1/ciphers/evaluate": "hs_evaluate_aq_and_ingglish", "/api/v1/zoology/classify": "hs_classify_singularity", "/api/v1/zoology/tier-list": "hs_inspect_eti_tier_list", "/api/v1/zoology/anchor-revision": "hs_simulate_anchor_revision", "/api/v1/graph/query": "hs_query_knowledge_graph", "/api/v1/glossary/search": "hs_search_glossary_encyclopedia", "/api/v1/archive/equations": "hs_search_archive_equations", "/api/v1/quant/harvest": "hs_scan_financial_quant_harvest", "/api/v1/quant/timeseries": "hs_inspect_quant_timeseries", "/api/v1/ipld/cid": "hs_compute_ipld_dag_json_cid", "/api/v1/citations/verify": "hs_verify_grounded_citations"}, "schemas_v1": ["assemblage-builds-tier-list.schema.json", "citations-ledger.schema.json", "encyclopedia-graph.schema.json", "encyclopedia-manifest.schema.json", "financial-aq-harvest.schema.json", "glossary-registry.schema.json", "learn-progress-state.schema.json", "memetic-superclass-registry.schema.json", "quant-timeseries.schema.json", "quantitative-economic-anchors.schema.json", "singularity-zoology-matrix.schema.json", "ticker-stats-card.schema.json"], "flow_diagrams": {"cross_repo_dependency_png": "/graph/docs/cross-repo-dependency-and-audit-flow-diagram.png", "periodic_harvest_cicd_vps_png": "/graph/docs/periodic-harvest-cicd-to-vps-flow-diagram.png"}, "hub_prereq_ladder": {"unit_id": "E0", "expertise_level": "Level 1-2 (Novice to Advanced Beginner • 4-8 hrs study)", "summary": "New to command-line shells, Git repositories, or client-server web architecture? Start with these free foundational resources before diving into the engineering subpages:", "links": [{"label": "Internal: Self-Paced Learning Track (/learn/ Modules 1-6)", "url": "/learn/index.html", "external": false}, {"label": "MIT Missing Semester of Your CS Education (Shell, Git, CLI)", "url": "https://missing.csail.mit.edu/", "external": true}, {"label": "MDN Web Docs — How the Web Works (HTTP, HTML, Servers)", "url": "https://developer.mozilla.org/en-US/docs/Learn/Getting_started_with_the_web/How_the_Web_works", "external": true}]}, "subpages": {"ciphers-and-phonetics": {"unit_id": "E1", "slug": "ciphers-and-phonetics", "title": "Unit E1: Base-36 AQ Ciphers, Offline CMUdict Phonetics & Bidirectional Lock Evaluation", "short_title": "E1: Ciphers & Phonetics", "pip_class": "plate-lock-gold", "expertise_level": "Level 2: Introductory Python & Text Processing (10-15 hrs study)", "prerequisites": ["Python 3 functions, dictionaries (dict), frozenset, and regular expressions (re.sub)", "ASCII & Unicode character codepoints (ord(), UTF-8)", "Dictionary lookup vs. deterministic grapheme-to-phoneme fallback rules"], "public_resources": [{"label": "Internal: /learn/ Module 1 & 2 (Base-36 & Ingglish)", "url": "/learn/index.html", "external": false}, {"label": "Official Python 3 Tutorial (Sections 3-5 & 7)", "url": "https://docs.python.org/3/tutorial/", "external": true}, {"label": "Harvard CS50P (Intro to Programming with Python)", "url": "https://cs50.harvard.edu/python/", "external": true}, {"label": "CMU Pronouncing Dictionary (CMUdict) Specification", "url": "http://www.speech.cs.cmu.edu/cgi-bin/cmudict", "external": true}, {"label": "RegexOne Interactive Regular Expression Tutorial", "url": "https://regexone.com/", "external": true}], "sections": [{"heading": "1. PEP 420 Namespace & Quantization Modes (hyperstitionstud_io.ciphers)", "body": "The cipher engine maps digits 0-9 to 0..9 (ord(c)-48) and ASCII letters A-Z to 10..35 (ord(c)-87) across three quantization modes: digit (default), off (qualitative lexical only), and spoken (number-word expansion via int_to_spoken_words()), evaluating prime index ranks, 37×3k repdigit attractors, and 12-field bidirectional locks."}, {"heading": "2. Three-Tier Offline Phonemic Transducer (hyperstitionstud_io.phonetics)", "body": "translate_batch() resolves English phrases into Gen 1 Ingglish with zero external network calls and zero hardcoded /workspace dependencies: Tier 1 delegates to local Node/CLI translators when present; Tier 2 looks up the 4,943-entry bundled cmudict_fallback.json; Tier 3 applies deterministic English digraph-to-phoneme rules so arbitrary OOV strings always resolve."}]}, "knowledge-graph-and-sqlite": {"unit_id": "E2", "slug": "knowledge-graph-and-sqlite", "title": "Unit E2: 6-Gate 388-Node Knowledge Graph Compiler, ReadOnlyIsolationGuard & Quiescent SQLite + FTS5 Engine", "short_title": "E2: Knowledge Graph & SQLite", "pip_class": "plate-lock-emerald", "expertise_level": "Level 3-4: Databases, Cryptographic Hashing & OS Concurrency (15-25 hrs study)", "prerequisites": ["Cryptographic hash functions (SHA-256) and Python context managers (with / __exit__)", "Relational schemas, inverted full-text search indices (SQLite FTS5), and graph representations", "ACID transactions, Write-Ahead Logging (WAL), and BEGIN EXCLUSIVE file locking"], "public_resources": [{"label": "SQLite Write-Ahead Logging (WAL) Architecture", "url": "https://www.sqlite.org/wal.html", "external": true}, {"label": "SQLite FTS5 Full-Text Search Extension Docs", "url": "https://www.sqlite.org/fts5.html", "external": true}, {"label": "CMU 15-445/645 (Intro to Database Systems — Andy Pavlo)", "url": "https://15445.courses.cs.cmu.edu/", "external": true}, {"label": "Python contextlib & Context Manager Documentation", "url": "https://docs.python.org/3/library/contextlib.html", "external": true}], "sections": [{"heading": "1. ReadOnlyIsolationGuard Context Manager (hyperstitionstud_io.glossary)", "body": "Every compiler, MCP tool, and REST v1 handler executes inside with ReadOnlyIsolationGuard(cfg.read_only_files) as guard:. Before and after the block runs, SHA-256 digests of taxonomy/glossary-registry.json and encyclopedia/encyclopedia-manifest.json are verified against baseline constants, raising RuntimeError immediately on any byte mutation."}, {"heading": "2. 6-Gate Multi-Format Graph Compiler & Quiescent 100M SQLite Logrotate (db/sqlite_meta.py)", "body": "build_encyclopedia_knowledge_graph.py compiles 388 nodes and 1,282 edges into JSON, JS, GraphML, GEXF, Obsidian Canvas, and 3 1600x1060 PNG atlases. sqlite_meta.py hydrates hyperstition-catalog.db (FTS5) and records /api/v1/* and /mcp telemetry in /var/lib/hyperstitionstud.io/api-telemetry.db, while deploy/logrotate.d/hyperstition-sqlite-meta acquires BEGIN EXCLUSIVE at 100M, snapshots .1.gz, and runs PRAGMA wal_checkpoint(TRUNCATE); VACUUM;."}]}, "quant-macro-and-bayesian-brief": {"unit_id": "E3", "slug": "quant-macro-and-bayesian-brief", "title": "Unit E3: Zero-Synthetic-Data Quant Engine, 14-Point Bidirectional Census, Dose 0..3+, FRED Macro & Bayesian Brief", "short_title": "E3: Quant, Macro & Bayesian", "pip_class": "plate-lock-gold", "expertise_level": "Level 3: Data Engineering, Time-Series Ingestion & Strategy Registries (10-15 hrs study)", "prerequisites": ["HTTP JSON/CSV client ingestion (urllib.request) and resilient fallback chains", "Missing-data domain representation (None / null vs. silent 0.0 corruption)", "Pluggable projection registries (LENS_REGISTRY) and state-machine persistence"], "public_resources": [{"label": "Internal: /quant/ Interactive Guided Canvas Tour (5 Episodes)", "url": "/quant/index.html", "external": false}, {"label": "Python urllib.request & json Standard Library Documentation", "url": "https://docs.python.org/3/library/urllib.request.html", "external": true}, {"label": "St. Louis Federal Reserve (FRED) Series & CSV Documentation", "url": "https://fredhelp.stlouisfed.org/", "external": true}, {"label": "Refactoring.Guru — Strategy & Adapter Design Patterns in Python", "url": "https://refactoring.guru/design-patterns/python", "external": true}], "sections": [{"heading": "1. Strict Zero-Synthetic-Data Collector & Native-Cadence FRED Macro Engine (collector.py, macro.py)", "body": "collector.py and timeseries.py eliminate all synthetic bar interpolation: 23 public tickers load 440 verified daily exchange bars (site/quant/real-market-history.json), while private entity ANTHR-PVT and closed weekend/holiday sessions serialize strictly as null ('No data available'). macro.py ingests 14 keyless St. Louis Fed (FRED) CSV series at native 1d, 1mo, and 1q cadences without forward-fill."}, {"heading": "2. 14-Point Bidirectional Census, Confluence Dose (D in {0..4}) & 5-Agenda Bayesian Brief (daily_brief.py)", "body": "timeseries.py evaluates all 14 data points in Gen 0 (eng_aq) and Gen 1 (ing_aq) and classifies each bar by its 4-species Confluence Dose (Dose 2 isometric pinning vs. Dose 3+ breakout). daily_brief.py updates the append-only Bayesian state ledger (daily-brief-state.json) across R1 Bull, R2 Pinned Isometric, and R3 Tail Drawdown and grades each day's testable macro question Q_t."}]}, "mcp-chatbot-rest-and-ipld": {"unit_id": "E4", "slug": "mcp-chatbot-rest-and-ipld", "title": "Unit E4: Stateless MCP Server (:8095), Chatbot OpenAPI 3.1.0 REST Adapter, .png+.json Cards & IPLD CIDv1", "short_title": "E4: MCP, REST & IPLD CIDv1", "pip_class": "plate-lock-emerald", "expertise_level": "Level 4: Network Protocols, OpenAPI 3.1 & Content-Addressed Storage (15-20 hrs study)", "prerequisites": ["HTTP/1.1 request/response lifecycles, status codes (200, 404, 422, 500, 502), and reverse proxies", "JSON-RPC 2.0, OpenAPI 3.1.0 schema generation, and Model Context Protocol (MCP)", "Canonical JSON serialization, SHA-256 multihashes, and IPLD dag-json (0x0129) CIDv1"], "public_resources": [{"label": "MDN Web Docs — HTTP Protocol & Status Codes", "url": "https://developer.mozilla.org/en-US/docs/Web/HTTP", "external": true}, {"label": "JSON-RPC 2.0 Official Specification", "url": "https://www.jsonrpc.org/specification", "external": true}, {"label": "Model Context Protocol (MCP) Architecture Introduction", "url": "https://modelcontextprotocol.io/introduction", "external": true}, {"label": "ProtoSchool — Content Identifiers (CIDs) & IPLD Merkle DAGs", "url": "https://proto.school/", "external": true}], "sections": [{"heading": "1. Unified Stateless MCP (/mcp) & Chatbot OpenAPI 3.1.0 REST Adapter (/api/v1/*)", "body": "mcp/server.py and mcp/rest.py expose all 15 tools in MCP_TOOLS_SCHEMA over stdio, Streamable HTTP POST/GET /mcp, and /api/v1/tools/{tool_name} on 127.0.0.1:8095. Top-level exception guards in _MCPHTTPHandler and record_api_telemetry() ensure sqlite3.OperationalError or read-only filesystem states never drop connections or trigger 502 Bad Gateway."}, {"heading": "2. One-Shot .png + .json Ticker Stats Cards (quant/cards.py) & Canonical IPLD dag-json (0x0129)", "body": "hs_generate_ticker_stats_card compiles a 5-zone 900x1260 Group 3 Stealth Basalt PNG card and companion JSON payload in one shot (with draw_fitted_text() width clamping and ink-bbox midpoint centering). ipld/__init__.py serializes canonical UTF-8 dag-json and prefixes SHA-256 digests with [0x01, 0xA9, 0x02, 0x12, 0x20] to form Base32 CIDv1 ('baguqeera...')."}, {"heading": "3. Command-Line Usage Examples: CLI (hs-ticker-card), Chatbot REST Client (/api/v1/tools/*) & MCP Client (/mcp)", "body": "Command-line invocations across all three client interfaces: (1) CLI: hs-ticker-card --symbol NVDA --lens tierzoo_ecology --out-dir /tmp/hyperstition-cards; (2) Chatbot REST API Client: curl -sS 'https://hyperstitionstud.io/api/v1/tools/hs_generate_ticker_stats_card?symbol=NVDA&lens=tierzoo_ecology&include_base64_png=false' | jq . (or POST JSON '{\"symbol\":\"NVDA\",\"lens\":\"tierzoo_ecology\",\"include_base64_png\":true}' to /api/v1/tools/hs_generate_ticker_stats_card, or GET /api/v1/zoology/pokedex/NVDA?include_card=true); (3) MCP JSON-RPC 2.0 Client: curl -sS -X POST 'https://hyperstitionstud.io/mcp' -H 'Content-Type: application/json' -d '{\"jsonrpc\":\"2.0\",\"id\":1,\"method\":\"tools/call\",\"params\":{\"name\":\"hs_generate_ticker_stats_card\",\"arguments\":{\"symbol\":\"NVDA\",\"lens\":\"tierzoo_ecology\",\"include_base64_png\":false}}}' | jq ."}]}, "cicd-vps-tmpfs-and-regression": {"unit_id": "E5", "slug": "cicd-vps-tmpfs-and-regression", "title": "Unit E5: Topological Git Push, Self-Re-Executing tmpfs VPS Hydration, Dark-Mode hs-pdf-build & hs-public-smoke", "short_title": "E5: CI/CD, VPS & Regression", "pip_class": "plate-lock-rose", "expertise_level": "Level 4: Linux Systems Administration, Bash Traps, systemd & DevOps (20-30 hrs study)", "prerequisites": ["POSIX Bash error handling (set -euo pipefail, trap ERR, run_checked(), exec, flock)", "Git fast-forward merges, annotated tags, and git pull --rebase --autostash", "Linux tmpfs RAM mounts, systemd services/timers, Caddy HTTP/3 QUIC, and TrueType cmap tables"], "public_resources": [{"label": "Pro Git Book (Chacon & Straub — Free Complete Online Text)", "url": "https://git-scm.com/book/en/v2", "external": true}, {"label": "Wooledge BashGuide & BashFAQ (Error Handling & Process Exec)", "url": "https://mywiki.wooledge.org/BashGuide", "external": true}, {"label": "freedesktop.org systemd.service & systemd.timer Manuals", "url": "https://www.freedesktop.org/software/systemd/man/systemd.service.html", "external": true}, {"label": "Caddy Server Official Documentation (HTTP/3 & Reverse Proxy)", "url": "https://caddyserver.com/docs/", "external": true}], "sections": [{"heading": "1. Zero-/dev/null CI/CD Scripts, Self-Re-Exec & Autonomous VPS Harvest Timers", "body": "push-all-to-git-libre-audio.sh, deploy/sync-vps-repos.sh, and deploy/run-vps-data-production.sh contain 0 /dev/null redirections and capture exact exit codes via run_checked(). When sync-vps-repos.sh updates hyperstitionstudio-core on disk, HYPERSTITION_SYNC_REEXEC=1 immediately execs the new script image before hydrating /var/www/hyperstitionstud.io/repos (tmpfs RAM + Brotli-11/Gzip-9)."}, {"heading": "2. Dark-Mode hs-pdf-build, Cold-Archive Rotator (hs-archive-rotate) & 6-Gate Public Regression (hs-public-smoke)", "body": "pdf_compiler.py transpiles LaTeX math, preserves , filters every character against DejaVu TrueType cmap tables, sets rl_config.defaultGraphicsFontName='DejaVu' (0 /Helvetica leaks), and prioritizes web-linked PDFs (--refresh-all-web-pdfs). archive_rotator.py rotates completed docs/archive/ pairs into completed-plans-archive.tar.gz, while public_regression.py audits live HTTP responses against .cache/internal-test-baseline-latest.json across Gates P1-P6."}]}}, "ipld_dag_json_cidv1": {"/": "baguqeera6i4yxvvbgajhh5okqpdncevdsfrkutt6js6kiktmnfvirw4cvnkq"}};
diff --git a/site/engineering/engineering-manifest.json b/site/engineering/engineering-manifest.json
index a750fb8..b12beb6 100644
--- a/site/engineering/engineering-manifest.json
+++ b/site/engineering/engineering-manifest.json
@@ -308,6 +308,10 @@
{
"heading": "2. One-Shot .png + .json Ticker Stats Cards (quant/cards.py) & Canonical IPLD dag-json (0x0129)",
"body": "hs_generate_ticker_stats_card compiles a 5-zone 900x1260 Group 3 Stealth Basalt PNG card and companion JSON payload in one shot (with draw_fitted_text() width clamping and ink-bbox midpoint centering). ipld/__init__.py serializes canonical UTF-8 dag-json and prefixes SHA-256 digests with [0x01, 0xA9, 0x02, 0x12, 0x20] to form Base32 CIDv1 ('baguqeera...')."
+ },
+ {
+ "heading": "3. Command-Line Usage Examples: CLI (hs-ticker-card), Chatbot REST Client (/api/v1/tools/*) & MCP Client (/mcp)",
+ "body": "Command-line invocations across all three client interfaces: (1) CLI: hs-ticker-card --symbol NVDA --lens tierzoo_ecology --out-dir /tmp/hyperstition-cards; (2) Chatbot REST API Client: curl -sS 'https://hyperstitionstud.io/api/v1/tools/hs_generate_ticker_stats_card?symbol=NVDA&lens=tierzoo_ecology&include_base64_png=false' | jq . (or POST JSON '{\"symbol\":\"NVDA\",\"lens\":\"tierzoo_ecology\",\"include_base64_png\":true}' to /api/v1/tools/hs_generate_ticker_stats_card, or GET /api/v1/zoology/pokedex/NVDA?include_card=true); (3) MCP JSON-RPC 2.0 Client: curl -sS -X POST 'https://hyperstitionstud.io/mcp' -H 'Content-Type: application/json' -d '{\"jsonrpc\":\"2.0\",\"id\":1,\"method\":\"tools/call\",\"params\":{\"name\":\"hs_generate_ticker_stats_card\",\"arguments\":{\"symbol\":\"NVDA\",\"lens\":\"tierzoo_ecology\",\"include_base64_png\":false}}}' | jq ."
}
]
},
@@ -358,6 +362,6 @@
}
},
"ipld_dag_json_cidv1": {
- "/": "baguqeeralhggheqvujuoexizpm3m2ygjxh4l53ibxetlgp4xallhicw2j2mq"
+ "/": "baguqeera6i4yxvvbgajhh5okqpdncevdsfrkutt6js6kiktmnfvirw4cvnkq"
}
}
diff --git a/site/engineering/index.html b/site/engineering/index.html
index f563633..0b760de 100644
--- a/site/engineering/index.html
+++ b/site/engineering/index.html
@@ -107,7 +107,7 @@ cid = compute_dag_json_cidv1(manifest)
diff --git a/site/engineering/mcp-chatbot-rest-and-ipld/index.html b/site/engineering/mcp-chatbot-rest-and-ipld/index.html
index 401a6b2..133f545 100644
--- a/site/engineering/mcp-chatbot-rest-and-ipld/index.html
+++ b/site/engineering/mcp-chatbot-rest-and-ipld/index.html
@@ -55,7 +55,7 @@
Prerequisite Track for Novices • Required Expertise: Level 4: Network Protocols, OpenAPI 3.1 & Content-Addressed Storage (15-20 hrs study)
If any concepts on this page are unfamiliar, occupy your study time with these free foundational resources first:
Core Concepts Required: HTTP/1.1 request/response lifecycles, status codes (200, 404, 422, 500, 502), and reverse proxies JSON-RPC 2.0, OpenAPI 3.1.0 schema generation, and Model Context Protocol (MCP) Canonical JSON serialization, SHA-256 multihashes, and IPLD dag-json (0x0129) CIDv1 Curated Free Public Study Resources:
λ Polyglot Foil (E4): JSON-RPC 2.0 Tool Dispatch & 'envideea' = 137 (33rd Prime)
λ Guile TS TypeScript Rs Rust ≡ All 3 Hide
1. Formal Specification & Python: Dispatch(name, args) → ToolTable[name](args)res = call_mcp_tool(target_tool, t_args) λ Guile Scheme (Z-Combinator): REPL →
(list 'jsonrpc-2.0 'tool "hs_evaluate_aq_and_ingglish" (aq-base36 "envideea"))=> [Select Lens to evaluate]
TS TypeScript (Strict AST): REPL →
aqBase36("envideea")=> [Select Lens to evaluate]
Rs Rust (Option/Iterator AST): REPL →
mcp_dispatch_aq("envideea")=> [Select Lens to evaluate]
Guided Micro-Challenge (4-Ring Zero-Escape Sandbox): Evaluate "envideea" => 137 across Guile, TypeScript, and Rust.
- 1. Unified Stateless MCP (/mcp) & Chatbot OpenAPI 3.1.0 REST Adapter (/api/v1/*) mcp/server.py and mcp/rest.py expose all 15 tools in MCP_TOOLS_SCHEMA over stdio, Streamable HTTP POST/GET /mcp, and /api/v1/tools/{tool_name} on 127.0.0.1:8095. Top-level exception guards in _MCPHTTPHandler and record_api_telemetry() ensure sqlite3.OperationalError or read-only filesystem states never drop connections or trigger 502 Bad Gateway.
2. One-Shot .png + .json Ticker Stats Cards (quant/cards.py) & Canonical IPLD dag-json (0x0129) hs_generate_ticker_stats_card compiles a 5-zone 900x1260 Group 3 Stealth Basalt PNG card and companion JSON payload in one shot (with draw_fitted_text() width clamping and ink-bbox midpoint centering). ipld/__init__.py serializes canonical UTF-8 dag-json and prefixes SHA-256 digests with [0x01, 0xA9, 0x02, 0x12, 0x20] to form Base32 CIDv1 ('baguqeera...').
⚛ Live API & IPLD CIDv1 ETag 304 Conditional Cache Probe (#live-smoke-probe) ⚛ Run Live /api/v1/status & ETag 304 Probe Fetches /api/v1/status twice (sending If-None-Match: <ETag> on the second request) to verify deterministic RFC 8785 JCS + IPLD dag-json CIDv1 HTTP caching and ReadOnlyIsolationGuard status.
Click "Run Live /api/v1/status & ETag 304 Probe" to inspect live HTTP ETag & ReadOnlyIsolationGuard headers.
+ 1. Unified Stateless MCP (/mcp) & Chatbot OpenAPI 3.1.0 REST Adapter (/api/v1/*) mcp/server.py and mcp/rest.py expose all 15 tools in MCP_TOOLS_SCHEMA over stdio, Streamable HTTP POST/GET /mcp, and /api/v1/tools/{tool_name} on 127.0.0.1:8095. Top-level exception guards in _MCPHTTPHandler and record_api_telemetry() ensure sqlite3.OperationalError or read-only filesystem states never drop connections or trigger 502 Bad Gateway.
2. One-Shot .png + .json Ticker Stats Cards (quant/cards.py) & Canonical IPLD dag-json (0x0129) hs_generate_ticker_stats_card compiles a 5-zone 900x1260 Group 3 Stealth Basalt PNG card and companion JSON payload in one shot (with draw_fitted_text() width clamping and ink-bbox midpoint centering). ipld/__init__.py serializes canonical UTF-8 dag-json and prefixes SHA-256 digests with [0x01, 0xA9, 0x02, 0x12, 0x20] to form Base32 CIDv1 ('baguqeera...').
3. Command-Line Usage Examples: CLI (hs-ticker-card), Chatbot REST Client (/api/v1/tools/*) & MCP Client (/mcp) Command-line invocations across all three client interfaces: (1) CLI: hs-ticker-card --symbol NVDA --lens tierzoo_ecology --out-dir /tmp/hyperstition-cards; (2) Chatbot REST API Client: curl -sS 'https://hyperstitionstud.io/api/v1/tools/hs_generate_ticker_stats_card?symbol=NVDA&lens=tierzoo_ecology&include_base64_png=false' | jq . (or POST JSON '{"symbol":"NVDA","lens":"tierzoo_ecology","include_base64_png":true}' to /api/v1/tools/hs_generate_ticker_stats_card, or GET /api/v1/zoology/pokedex/NVDA?include_card=true); (3) MCP JSON-RPC 2.0 Client: curl -sS -X POST 'https://hyperstitionstud.io/mcp' -H 'Content-Type: application/json' -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"hs_generate_ticker_stats_card","arguments":{"symbol":"NVDA","lens":"tierzoo_ecology","include_base64_png":false}}}' | jq .
⚛ Live API & IPLD CIDv1 ETag 304 Conditional Cache Probe (#live-smoke-probe) ⚛ Run Live /api/v1/status & ETag 304 Probe Fetches /api/v1/status twice (sending If-None-Match: <ETag> on the second request) to verify deterministic RFC 8785 JCS + IPLD dag-json CIDv1 HTTP caching and ReadOnlyIsolationGuard status.
Click "Run Live /api/v1/status & ETag 304 Probe" to inspect live HTTP ETag & ReadOnlyIsolationGuard headers.
← Prev: E3: Quant, Macro & Bayesian
diff --git a/site/quant/OPERATORS-MANUAL-QUANT-TIMESERIES-WORKBENCH.md b/site/quant/OPERATORS-MANUAL-QUANT-TIMESERIES-WORKBENCH.md
index 037290e..db9457a 100644
--- a/site/quant/OPERATORS-MANUAL-QUANT-TIMESERIES-WORKBENCH.md
+++ b/site/quant/OPERATORS-MANUAL-QUANT-TIMESERIES-WORKBENCH.md
@@ -46,5 +46,72 @@ Only data sources that emit discrete, timestamp-indexed periodic observations ($
- `GET /api/v1/quant/timeseries?symbol=NVDA&lens=fund_manager`
- `GET /api/v1/quant/instruments/NVDA`
- `GET /api/v1/zoology/pokedex/NVDA`
+ - `GET /api/v1/zoology/pokedex/NVDA?include_card=true`
+ - `GET /api/v1/tools/hs_generate_ticker_stats_card?symbol=NVDA&lens=tierzoo_ecology`
+ - `POST /api/v1/tools/hs_generate_ticker_stats_card`
- `GET /api/v1/dossiers/71?highlight=envideea`
- `GET /api/v1/openapi.json`
+
+---
+
+## 4. Command-Line Examples: One-Shot Ticker Stats Card (`.png` + `.json`) across CLI, Chatbot REST Client & MCP Client
+
+The 5-zone `900 × 1260` (`5:7` TCG Portrait) Group 3 Stealth Basalt Ticker Stats Card generator (`hyperstitionstud_io.quant.cards`) supports any of the `24` watchlist tickers (`NVDA`, `PLTR`, `ASML`, `ANTHR-PVT`, `BTC-USD`, etc.) or DEX integer coordinates (`137`, `159`, `193`), `6` projection lenses (`tierzoo_ecology`, `fund_manager`, `neutral_math`, `corporate_board`, `fantasy_sabermetrics`, `pokedex_scanner`), and optional `YYYY-MM-DD` historical UTC dates.
+
+### 4.1 Direct CLI Entrypoint (`hs-ticker-card`)
+
+Generates `/tmp/hyperstition-cards/
-stats-card.png` and `/tmp/hyperstition-cards/-stats-card.json` locally in one shot and prints the SHA-256 and IPLD `dag-json` `CIDv1` receipt:
+
+```bash
+# Public exchange ticker (NVDA -> envideea = 137) or private entity (ANTHR-PVT -> anthropik = 193, strict null market bars)
+hs-ticker-card --symbol NVDA --lens tierzoo_ecology --out-dir /tmp/hyperstition-cards
+
+# Module invocation (without activating .venv console script PATH)
+PYTHONPATH=/workspace/hyperstitionstudio-core/src python3 -m hyperstitionstud_io.quant.cards \
+ --symbol NVDA --lens fund_manager --date 2026-11-27 --out-dir /tmp/hyperstition-cards
+```
+
+### 4.2 Chatbot / OpenAPI 3.1 REST API Client (`GET` / `POST /api/v1/tools/hs_generate_ticker_stats_card`)
+
+Chatbot clients and HTTP consumers can invoke `hs_generate_ticker_stats_card` (or `/api/v1/zoology/pokedex/{symbol}?include_card=true`) against either production `https://hyperstitionstud.io` or local `http://127.0.0.1:8095`:
+
+```bash
+# 1. HTTP GET (metadata + 5-zone JSON card without base64 PNG payload)
+curl -sS "https://hyperstitionstud.io/api/v1/tools/hs_generate_ticker_stats_card?symbol=NVDA&lens=tierzoo_ecology&include_base64_png=false" | jq .
+
+# 2. HTTP POST (Chatbot JSON tool-call payload; decodes embedded png_base64 directly to NVDA-stats-card.png)
+curl -sS -X POST "https://hyperstitionstud.io/api/v1/tools/hs_generate_ticker_stats_card" \
+ -H "Content-Type: application/json" \
+ -d '{"symbol":"NVDA","lens":"tierzoo_ecology","include_base64_png":true}' \
+ | jq -r '.data.artifacts.png_base64' | base64 -d > /tmp/NVDA-stats-card.png
+
+# 3. Pokédex shorthand route with attached stats_card bundle (?include_card=true)
+curl -sS "https://hyperstitionstud.io/api/v1/zoology/pokedex/NVDA?include_card=true" | jq '.data.stats_card.card_identity'
+```
+
+### 4.3 MCP API Client (`JSON-RPC 2.0` `tools/call` over Streamable HTTP `/mcp` & `stdio`)
+
+MCP clients (Hermes Agent, Claude Desktop, Cursor, or command-line JSON-RPC scripts) invoke `hs_generate_ticker_stats_card` via `tools/call`:
+
+```bash
+# 1. MCP Streamable HTTP JSON-RPC 2.0 POST to /mcp (production or http://127.0.0.1:8095/mcp)
+curl -sS -X POST "https://hyperstitionstud.io/mcp" \
+ -H "Content-Type: application/json" \
+ -d '{
+ "jsonrpc": "2.0",
+ "id": 1,
+ "method": "tools/call",
+ "params": {
+ "name": "hs_generate_ticker_stats_card",
+ "arguments": {
+ "symbol": "NVDA",
+ "lens": "tierzoo_ecology",
+ "include_base64_png": false
+ }
+ }
+ }' | jq -r '.result.content[0].text' | jq .
+
+# 2. MCP stdio transport one-liner (pipes newline-delimited JSON-RPC 2.0 into hs-mcp --transport stdio)
+printf '%s\n' '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"hs_generate_ticker_stats_card","arguments":{"symbol":"NVDA","lens":"tierzoo_ecology","include_base64_png":false}}}' \
+ | hs-mcp --transport stdio | jq -r '.result.content[0].text' | jq .
+```
diff --git a/site/quant/OPERATORS-MANUAL-QUANT-TIMESERIES-WORKBENCH.pdf b/site/quant/OPERATORS-MANUAL-QUANT-TIMESERIES-WORKBENCH.pdf
index 5d35cae..de3bce4 100644
Binary files a/site/quant/OPERATORS-MANUAL-QUANT-TIMESERIES-WORKBENCH.pdf and b/site/quant/OPERATORS-MANUAL-QUANT-TIMESERIES-WORKBENCH.pdf differ
diff --git a/src/hyperstitionstud_io/publishing/engineering_docs.py b/src/hyperstitionstud_io/publishing/engineering_docs.py
index 24b16bf..0b7f36f 100644
--- a/src/hyperstitionstud_io/publishing/engineering_docs.py
+++ b/src/hyperstitionstud_io/publishing/engineering_docs.py
@@ -323,6 +323,10 @@ ENGINEERING_SUBPAGE_SPECS: dict[str, dict[str, Any]] = {
"heading": "2. One-Shot .png + .json Ticker Stats Cards (quant/cards.py) & Canonical IPLD dag-json (0x0129)",
"body": "hs_generate_ticker_stats_card compiles a 5-zone 900x1260 Group 3 Stealth Basalt PNG card and companion JSON payload in one shot (with draw_fitted_text() width clamping and ink-bbox midpoint centering). ipld/__init__.py serializes canonical UTF-8 dag-json and prefixes SHA-256 digests with [0x01, 0xA9, 0x02, 0x12, 0x20] to form Base32 CIDv1 ('baguqeera...').",
},
+ {
+ "heading": "3. Command-Line Usage Examples: CLI (hs-ticker-card), Chatbot REST Client (/api/v1/tools/*) & MCP Client (/mcp)",
+ "body": "Command-line invocations across all three client interfaces: (1) CLI: hs-ticker-card --symbol NVDA --lens tierzoo_ecology --out-dir /tmp/hyperstition-cards; (2) Chatbot REST API Client: curl -sS 'https://hyperstitionstud.io/api/v1/tools/hs_generate_ticker_stats_card?symbol=NVDA&lens=tierzoo_ecology&include_base64_png=false' | jq . (or POST JSON '{\"symbol\":\"NVDA\",\"lens\":\"tierzoo_ecology\",\"include_base64_png\":true}' to /api/v1/tools/hs_generate_ticker_stats_card, or GET /api/v1/zoology/pokedex/NVDA?include_card=true); (3) MCP JSON-RPC 2.0 Client: curl -sS -X POST 'https://hyperstitionstud.io/mcp' -H 'Content-Type: application/json' -d '{\"jsonrpc\":\"2.0\",\"id\":1," + '"method":"tools/call","params":{"name":"hs_generate_ticker_stats_card","arguments":{"symbol":"NVDA","lens":"tierzoo_ecology","include_base64_png":false}}}\' | jq .',
+ },
],
},
"cicd-vps-tmpfs-and-regression": {
diff --git a/src/hyperstitionstud_io/publishing/readme_sync.py b/src/hyperstitionstud_io/publishing/readme_sync.py
index 00844b6..69e6079 100644
--- a/src/hyperstitionstud_io/publishing/readme_sync.py
+++ b/src/hyperstitionstud_io/publishing/readme_sync.py
@@ -222,6 +222,19 @@ python3 hyperstitionstudio-core/tests/test_core_suite.py
- `/` (Portal Home), `/learn/` (6-Module Interactive Track), `/quant/` (3-Pane Closing-Bell & FRED Macro Time-Series + 25-Scene Guided Tour), `/engineering/` (`E0-E5` Software Engineering Hub), `/math/` (`M0-M5` Applied Mathematics Hub), and `/donate/` (Signal Patronage).
4. **4,943-Entry Offline `CMUdict` Phonetics Lookup (`cmudict_fallback.json`):**
- Translates `Gen 0` English tokens to `Gen 1` Ingglish 100% offline with zero network calls.
+5. **One-Shot `900×1260` Ticker Stats Cards (`.png` + `.json`) via CLI, Chatbot REST API & MCP:**
+ ```bash
+ # (a) Direct CLI entrypoint (writes /tmp/hyperstition-cards/NVDA-stats-card.{{png,json}}):
+ hs-ticker-card --symbol NVDA --lens tierzoo_ecology --out-dir /tmp/hyperstition-cards
+
+ # (b) Chatbot OpenAPI 3.1 REST API client (GET or POST /api/v1/tools/hs_generate_ticker_stats_card):
+ curl -sS "https://hyperstitionstud.io/api/v1/tools/hs_generate_ticker_stats_card?symbol=NVDA&lens=tierzoo_ecology&include_base64_png=false" | jq .
+ curl -sS "https://hyperstitionstud.io/api/v1/zoology/pokedex/NVDA?include_card=true" | jq '.data.stats_card.card_identity'
+
+ # (c) MCP JSON-RPC 2.0 client (Streamable HTTP POST /mcp or hs-mcp --transport stdio):
+ curl -sS -X POST "https://hyperstitionstud.io/mcp" -H "Content-Type: application/json" \\
+ -d '{{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{{"name":"hs_generate_ticker_stats_card","arguments":{{"symbol":"NVDA","lens":"tierzoo_ecology","include_base64_png":false}}}}}}' | jq .
+ ```
"""