Compare commits

...
2 Commits
41 changed files with 773 additions and 191 deletions

No files matched your search

+1
View File
@@ -6,3 +6,4 @@ build/
dist/
*.tmp
.cache/
site/quant/audio/
+6 -6
View File
@@ -1,11 +1,11 @@
# `hyperstitionstudio-core` (`hyperstitionstud_io.*` — `v2.12.0`)
# `hyperstitionstudio-core` (`hyperstitionstud_io.*` — `v2.13.0`)
<!-- HS-COMMIT-STATUS:START -->
> **Gitea Commit & Release Telemetry (`v2.12.0` • Namespace `urn:io:hyperstitionstud`)**
> **Gitea Commit & Release Telemetry (`v2.13.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 &rarr; [`https://hyperstitionstud.io/`](https://hyperstitionstud.io/)
> - **Latest Commit Scope (`hyperstitionstudio-core`):** Synchronized v2.12.0 release state across 2 tracked module/artifact surface(s)
> - **Touched Files / Surfaces:** `deploy/sync-vps-repos.sh`, `src/hyperstitionstud_io/publishing/archive_rotator.py`
> - **Live Verified Ecosystem Metrics (`v2.12.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
> - **Latest Commit Scope (`hyperstitionstudio-core`):** Synchronized v2.13.0 release state across 2 tracked module/artifact surface(s)
> - **Touched Files / Surfaces:** `deploy/Caddyfile`, `deploy/sync-vps-repos.sh`
> - **Live Verified Ecosystem Metrics (`v2.13.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
<!-- HS-COMMIT-STATUS:END -->
Shared Python common library (`hyperstitionstud_io.*`), stateless read-only Model Context Protocol (`/mcp`) & OpenAPI 3.1 REST (`/api/v1/*`) server, SQLite FTS5 metadata catalog (`hs-db-build`), offline `URN:` JSON Schema registry (`urn:io:hyperstitionstud:schema:v1:*`), and Group 3 Stealth Basalt web workbenches (`/`, `/learn/`, `/quant/`, `/engineering/`, `/math/`, `/donate/`) with the 4-Ring Hardened Polyglot REPL (`Guile Scheme`, `TypeScript`, `Rust`) and Subtle Cybernetic Code Rain (`hs-matrix-coderain.js`).
@@ -50,7 +50,7 @@ python3 hyperstitionstudio-core/tests/test_core_suite.py
---
## Key Architecture & Capabilities (`v2.12.0`)
## Key Architecture & Capabilities (`v2.13.0`)
1. **17 CLI Entrypoints (`pyproject.toml [project.scripts]`):**
- `hs-doctor`, `hs-citations`, `hs-pdf-build`, `hs-kg-build`, `hs-quant-harvest`, `hs-macro-harvest`, `hs-daily-brief`, `hs-ticker-card`, `hs-mcp`, `hs-db-build`, `hs-sync-version`, `hs-readme-sync`, `hs-archive-rotate`, `hs-public-smoke`, `hs-eng-docs`, `hs-math-docs`, and `hs-highlights`.
+2 -2
View File
@@ -10,7 +10,7 @@ www.hyperstitionstud.io {
}
hyperstitionstud.io {
@compressible not path *.gz *.br *.tgz *.xz *.zst *.zip *.woff2 *.png *.mp3 *.pdf
@compressible not path *.gz *.br *.tgz *.xz *.zst *.zip *.woff2 *.png *.mp3 *.wav *.pdf
encode @compressible zstd gzip
# Zero-PII Route Counter Log (Strategy 3A — remote_ip, client_ip, Cookie, User-Agent, and Referer deleted)
@@ -39,7 +39,7 @@ hyperstitionstud.io {
-Server
}
@immutable_media path *.pdf *.png *.mp3 *.graphml *.gexf *.canvas *.woff2
@immutable_media path *.pdf *.png *.mp3 *.wav *.graphml *.gexf *.canvas *.woff2
header @immutable_media Cache-Control "public, max-age=86400, stale-while-revalidate=604800"
@html_js path *.html *.js *.json
+14
View File
@@ -179,6 +179,7 @@ for entry in "${REPOS[@]}"; do
run_checked "rsync ${repo}" ${LIVE_SUDO} rsync -a --delete \
--filter='P *.gz' \
--filter='P *.br' \
--filter='P site/quant/audio/***' \
--exclude='.git' \
--exclude='completed-plans-archive.tar.gz' \
--exclude='inactive-plans-archive.tar.gz' \
@@ -199,6 +200,19 @@ ${LIVE_SUDO} ln -sfn "hyperstitionstudio-core/site/assets" "${LIVE_REPOS}/assets
${LIVE_SUDO} ln -sfn "hyperstitionstudio-core/site/learn" "${LIVE_REPOS}/learn"
${LIVE_SUDO} ln -sfn "hyperstitionstudio-core/site/quant" "${LIVE_REPOS}/quant"
${LIVE_SUDO} ln -sfn "hyperstitionstudio-core/site/donate" "${LIVE_REPOS}/donate"
echo "[3b/5] Generating untracked deploy-time /quant/audio/*.wav spoken voice tracks (Strategy 1A, 0 audio files in Git)..."
if [[ -z "$(type -P espeak-ng || true)" ]] && [[ -z "$(type -P espeak || true)" ]] && [[ "${DO_CADDY}" -eq 1 ]]; then
if [[ -n "$(type -P dnf || true)" ]]; then
echo " -> Installing espeak-ng via dnf for natural spoken English tour narration..."
${SUDO} dnf install -y -q espeak-ng || true
elif [[ -n "$(type -P apt-get || true)" ]]; then
echo " -> Installing espeak-ng via apt-get for natural spoken English tour narration..."
${SUDO} env DEBIAN_FRONTEND=noninteractive apt-get install -y -qq espeak-ng || true
fi
fi
run_checked "hs-quant-voice-build" ${LIVE_SUDO} env PYTHONPATH="${REPOS_ROOT}/hyperstitionstudio-core/src" "${PYTHON_BIN}" -m hyperstitionstud_io.publishing.quant_voice \
--workspace-root "${REPOS_ROOT}" \
--out-dir "${LIVE_REPOS}/hyperstitionstudio-core/site/quant/audio"
if [[ -d "${LIVE_REPOS}/hyperstitionstudio-core/site/engineering" ]]; then
${LIVE_SUDO} ln -sfn "hyperstitionstudio-core/site/engineering" "${LIVE_REPOS}/engineering"
fi
+3
View File
@@ -73,6 +73,9 @@ ROUTES=(
"/quant/index.html"
"/quant/quant-app.js"
"/quant/quant-tutorials.js"
"/quant/audio/voice-manifest.json"
"/quant/audio/ep01-s1.wav"
"/quant/audio/ep04-s1.wav"
"/quant/quant-timeseries-data.js"
"/quant/quant-timeseries.json"
"/quant/real-market-history.json"
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@hyperstitionstud.io/workspace-core",
"version": "2.12.0",
"version": "2.13.0",
"private": true,
"description": "Offline-first ESM & browser global (@hyperstitionstud.io/* / window.HyperstitionStudio.*) packages for Base-36 AQ ciphers and interactive knowledge graph workbenches.",
"license": "MIT",
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@hyperstitionstud.io/ciphers-aq",
"version": "2.12.0",
"version": "2.13.0",
"type": "module",
"main": "index.js",
"license": "MIT"
+2 -1
View File
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
[project]
name = "hyperstitionstudio-core"
version = "2.12.0"
version = "2.13.0"
description = "Shared PEP 420 common library (hyperstitionstud_io.*) for Base-36 AQ ciphers, offline CMUdict Ingglish phonetics, ReportLab/Pillow publishing, SHA-256 glossary isolation guards, local-config citation verification, and multi-format knowledge graphs."
readme = "README.md"
requires-python = ">=3.10"
@@ -41,6 +41,7 @@ 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"
[tool.setuptools.packages.find]
where = ["src"]
+2 -2
View File
@@ -144,8 +144,8 @@ def main() -> int:
})
manifest = {
"version": "2.12.0",
"namespace_urn": "urn:io:hyperstitionstud:gallery:2.12.0",
"version": "2.13.0",
"namespace_urn": "urn:io:hyperstitionstud:gallery:2.13.0",
"total_items": len(items),
"items": items,
}
Binary file not shown.

Before

Width:  |  Height:  |  Size: 31 KiB

After

Width:  |  Height:  |  Size: 31 KiB

@@ -1,6 +1,6 @@
{
"$id": "urn:io:hyperstitionstud:closeups-ui-manifest",
"ui_elements_fingerprint_sha256": "fa44109fa10578953fb173c9e1df91cc4ebf4b33882c2bd5b1a9e317bb5d8cca",
"ui_elements_fingerprint_sha256": "2573b3d2e4dec4dd6c14ac904954fb35b63f3f0b1e44ec986a655959ea805352",
"closeup_images": [
"quadrant-1-cybermemetics-calc-graph.png",
"quadrant-1-tab-2-graph.png",
@@ -24,7 +24,7 @@
},
"engineering_counts": {
"repositories": 6,
"cli_entrypoints": 18,
"cli_entrypoints": 19,
"mcp_tools": 20,
"rest_domain_aliases": 12,
"enabled_lenses": 6,
@@ -657,7 +657,7 @@
"has_lens_select_highlight": true
},
"quant_tutorials_js": {
"js_ui_sha256": "b9174978ea8b9dce2d35f557bcb8b3b4c7f367dc41d0d7c3de8ee7f4dd8f894c",
"js_ui_sha256": "3a3aa865c6ce2b10c26b8d45d2d3c08dfd864b2e4f86b85e887787e7b7adad86",
"dom_ids": [
"tutCitationPills",
"tutClearSpotlightBtn",
@@ -670,7 +670,8 @@
"tutSpeechBtn",
"tutStepBadge",
"tutSubtitleText",
"tutUiElementIndicator"
"tutUiElementIndicator",
"tutVoiceAudio"
],
"ui_targets": [
"\"dailyBriefPanel\", \"lensSelect\"",
@@ -778,6 +779,6 @@
}
},
"ipld_dag_json_cidv1": {
"/": "baguqeeraf5ku7guwa7g4hbwsnidffhvynxf43wvipn7qsoxtburh6stp3xea"
"/": "baguqeerar7ht56v56xlv3fpjna2a7cg7bepjvt4fjk2neckepnup24yqjwjq"
}
}
+4 -4
View File
@@ -4,7 +4,7 @@
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Signal Patronage &amp; Open-Instrument Notes — hyperstitionstud.io/donate</title>
<link rel="stylesheet" href="../assets/hs-group3-basalt-chamfer.css?v=2.12.0" />
<link rel="stylesheet" href="../assets/hs-group3-basalt-chamfer.css?v=2.13.0" />
<style>
:root {
--bg-canvas: #020617;
@@ -343,7 +343,7 @@
<span class="dot"></span>
<h1>hyperstitionstud.io/donate — Signal Patronage &amp; Open-Instrument Notes</h1>
</div>
<p class="subtitle">Open-Readout Phonemic, Graph &amp; Closing-Bell Telemetry Workbench &bull; Namespace Authority: urn:io:hyperstitionstud:donate:v2.12.0 <span class="hs-sigil-seal" aria-hidden="true">[ &#x269A; &middot; &#x263F; &middot; &#x260D; &middot; &#x2609; ]</span></p>
<p class="subtitle">Open-Readout Phonemic, Graph &amp; Closing-Bell Telemetry Workbench &bull; Namespace Authority: urn:io:hyperstitionstud:donate:v2.13.0 <span class="hs-sigil-seal" aria-hidden="true">[ &#x269A; &middot; &#x263F; &middot; &#x260D; &middot; &#x2609; ]</span></p>
</div>
<nav class="top-nav">
<a class="btn" data-donate-route="home" href="/">Portal Home (/)</a>
@@ -406,12 +406,12 @@
</section>
<footer>
<div>hyperstitionstud.io/donate v2.12.0 &bull; 100% Static &amp; Offline-Portable &bull; Zero External Trackers</div>
<div>hyperstitionstud.io/donate v2.13.0 &bull; 100% Static &amp; Offline-Portable &bull; Zero External Trackers</div>
<div class="hs-lemur-credit"><span class="hs-sigil-colophon" aria-hidden="true">&#x269A; &middot; &#x263F; &middot; &#x260D; &middot; &#x2609; &middot; &#x2644;</span> &bull; Made with <span class="hs-heart" role="img" aria-label="love" style="color:var(--rose);display:inline-block;padding:0 2px;">&#x2665;</span> by Lemurs.</div>
</footer>
</div>
<script src="../assets/hs-matrix-coderain.js?v=2.12.0" defer></script>
<script src="../assets/hs-matrix-coderain.js?v=2.13.0" defer></script>
<script>
(function () {
"use strict";
@@ -3,8 +3,8 @@
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Unit E5: Topological Git Push, Self-Re-Executing tmpfs VPS Hydration, Dark-Mode hs-pdf-build & hs-public-smoke — hyperstitionstud.io/engineering (v2.12.0)</title>
<link rel="stylesheet" href="../../assets/hs-group3-basalt-chamfer.css?v=2.12.0" />
<title>Unit E5: Topological Git Push, Self-Re-Executing tmpfs VPS Hydration, Dark-Mode hs-pdf-build & hs-public-smoke — hyperstitionstud.io/engineering (v2.13.0)</title>
<link rel="stylesheet" href="../../assets/hs-group3-basalt-chamfer.css?v=2.13.0" />
<style>
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'DejaVu Sans Mono', ui-monospace, monospace; padding: 1.25rem; line-height: 1.5; }
@@ -22,7 +22,7 @@
<header>
<div>
<h1>Unit E5: Topological Git Push, Self-Re-Executing tmpfs VPS Hydration, Dark-Mode hs-pdf-build & hs-public-smoke</h1>
<p class="subtitle">Cartridge E5 &bull; Non-Sequentially Revertible via <code>hs-eng-docs --disable cicd-vps-tmpfs-and-regression</code> &bull; v2.12.0 <span class="hs-sigil-seal" aria-hidden="true">[ &#x269A; &middot; &#x263F; &middot; &#x260D; &middot; &#x2609; ]</span></p>
<p class="subtitle">Cartridge E5 &bull; Non-Sequentially Revertible via <code>hs-eng-docs --disable cicd-vps-tmpfs-and-regression</code> &bull; v2.13.0 <span class="hs-sigil-seal" aria-hidden="true">[ &#x269A; &middot; &#x263F; &middot; &#x260D; &middot; &#x2609; ]</span></p>
</div>
<nav class="top-nav">
<a class="btn" href="../../index.html">Portal Home (/)</a>
@@ -49,12 +49,12 @@
</div>
<footer>
hyperstitionstud.io/engineering/cicd-vps-tmpfs-and-regression v2.12.0 &bull; <span class="hs-sigil-colophon" aria-hidden="true">&#x269A; &middot; &#x263F; &middot; &#x260D; &middot; &#x2609; &middot; &#x2644;</span> &bull; Made with <span class="hs-heart" style="color:var(--rose);">&#x2665;</span> by Lemurs.
hyperstitionstud.io/engineering/cicd-vps-tmpfs-and-regression v2.13.0 &bull; <span class="hs-sigil-colophon" aria-hidden="true">&#x269A; &middot; &#x263F; &middot; &#x260D; &middot; &#x2609; &middot; &#x2644;</span> &bull; Made with <span class="hs-heart" style="color:var(--rose);">&#x2665;</span> by Lemurs.
</footer>
</div>
<script src="../../assets/hs-matrix-coderain.js?v=2.12.0" defer></script>
<script src="../engineering-manifest-data.js?v=2.12.0"></script>
<script src="../engineering-app.js?v=2.12.0"></script>
<script src="../../assets/hs-matrix-coderain.js?v=2.13.0" defer></script>
<script src="../engineering-manifest-data.js?v=2.13.0"></script>
<script src="../engineering-app.js?v=2.13.0"></script>
<aside id="hsGuileReplDrawer" class="hs-plate-g3" aria-label="In-Browser Polyglot Guile Scheme, TypeScript, and Rust Hardened REPL">
<div style="display:flex;justify-content:space-between;align-items:center;gap:0.5rem;margin-bottom:0.45rem;">
<div style="font-size:0.73rem;font-weight:700;color:var(--cyan);">&lambda; 4-RING HARDENED POLYGLOT REPL (GUILE • TS • RUST • ZERO EVAL)</div>
@@ -92,6 +92,6 @@
<pre id="hsGuileReplOutput" style="margin-top:0.4rem;background:var(--bg-void);border:1px solid var(--border);padding:0.5rem;font-size:0.71rem;color:var(--emerald);max-height:150px;overflow-y:auto;white-space:pre-wrap;">polyglot&gt; Ready (4-Ring Zero-Eval AST Sandbox). Select [λ GUILE | TS | RS | ≡ ALL 3] or click Evaluate (λ).</pre>
</div>
</aside>
<script src="../../assets/hs-guile-scheme-repl.js?v=2.12.0"></script>
<script src="../../assets/hs-guile-scheme-repl.js?v=2.13.0"></script>
</body>
</html>
@@ -3,8 +3,8 @@
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Unit E1: Base-36 AQ Ciphers, Offline CMUdict Phonetics & Bidirectional Lock Evaluation — hyperstitionstud.io/engineering (v2.12.0)</title>
<link rel="stylesheet" href="../../assets/hs-group3-basalt-chamfer.css?v=2.12.0" />
<title>Unit E1: Base-36 AQ Ciphers, Offline CMUdict Phonetics & Bidirectional Lock Evaluation — hyperstitionstud.io/engineering (v2.13.0)</title>
<link rel="stylesheet" href="../../assets/hs-group3-basalt-chamfer.css?v=2.13.0" />
<style>
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'DejaVu Sans Mono', ui-monospace, monospace; padding: 1.25rem; line-height: 1.5; }
@@ -22,7 +22,7 @@
<header>
<div>
<h1>Unit E1: Base-36 AQ Ciphers, Offline CMUdict Phonetics & Bidirectional Lock Evaluation</h1>
<p class="subtitle">Cartridge E1 &bull; Non-Sequentially Revertible via <code>hs-eng-docs --disable ciphers-and-phonetics</code> &bull; v2.12.0 <span class="hs-sigil-seal" aria-hidden="true">[ &#x269A; &middot; &#x263F; &middot; &#x260D; &middot; &#x2609; ]</span></p>
<p class="subtitle">Cartridge E1 &bull; Non-Sequentially Revertible via <code>hs-eng-docs --disable ciphers-and-phonetics</code> &bull; v2.13.0 <span class="hs-sigil-seal" aria-hidden="true">[ &#x269A; &middot; &#x263F; &middot; &#x260D; &middot; &#x2609; ]</span></p>
</div>
<nav class="top-nav">
<a class="btn" href="../../index.html">Portal Home (/)</a>
@@ -49,12 +49,12 @@
</div>
<footer>
hyperstitionstud.io/engineering/ciphers-and-phonetics v2.12.0 &bull; <span class="hs-sigil-colophon" aria-hidden="true">&#x269A; &middot; &#x263F; &middot; &#x260D; &middot; &#x2609; &middot; &#x2644;</span> &bull; Made with <span class="hs-heart" style="color:var(--rose);">&#x2665;</span> by Lemurs.
hyperstitionstud.io/engineering/ciphers-and-phonetics v2.13.0 &bull; <span class="hs-sigil-colophon" aria-hidden="true">&#x269A; &middot; &#x263F; &middot; &#x260D; &middot; &#x2609; &middot; &#x2644;</span> &bull; Made with <span class="hs-heart" style="color:var(--rose);">&#x2665;</span> by Lemurs.
</footer>
</div>
<script src="../../assets/hs-matrix-coderain.js?v=2.12.0" defer></script>
<script src="../engineering-manifest-data.js?v=2.12.0"></script>
<script src="../engineering-app.js?v=2.12.0"></script>
<script src="../../assets/hs-matrix-coderain.js?v=2.13.0" defer></script>
<script src="../engineering-manifest-data.js?v=2.13.0"></script>
<script src="../engineering-app.js?v=2.13.0"></script>
<aside id="hsGuileReplDrawer" class="hs-plate-g3" aria-label="In-Browser Polyglot Guile Scheme, TypeScript, and Rust Hardened REPL">
<div style="display:flex;justify-content:space-between;align-items:center;gap:0.5rem;margin-bottom:0.45rem;">
<div style="font-size:0.73rem;font-weight:700;color:var(--cyan);">&lambda; 4-RING HARDENED POLYGLOT REPL (GUILE • TS • RUST • ZERO EVAL)</div>
@@ -92,6 +92,6 @@
<pre id="hsGuileReplOutput" style="margin-top:0.4rem;background:var(--bg-void);border:1px solid var(--border);padding:0.5rem;font-size:0.71rem;color:var(--emerald);max-height:150px;overflow-y:auto;white-space:pre-wrap;">polyglot&gt; Ready (4-Ring Zero-Eval AST Sandbox). Select [λ GUILE | TS | RS | ≡ ALL 3] or click Evaluate (λ).</pre>
</div>
</aside>
<script src="../../assets/hs-guile-scheme-repl.js?v=2.12.0"></script>
<script src="../../assets/hs-guile-scheme-repl.js?v=2.13.0"></script>
</body>
</html>
@@ -1 +1 @@
window.HYPERSTITION_ENGINEERING_MANIFEST = {"$id": "urn:io:hyperstitionstud:engineering-manifest", "version": "2.12.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": 18, "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"}, "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 & BidirectionalLine truncated
window.HYPERSTITION_ENGINEERING_MANIFEST = {"$id": "urn:io:hyperstitionstud:engineering-manifest", "version": "2.13.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": 19, "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"}, "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", "titlLine truncated
+5 -4
View File
@@ -1,6 +1,6 @@
{
"$id": "urn:io:hyperstitionstud:engineering-manifest",
"version": "2.12.0",
"version": "2.13.0",
"enabled_subpages": [
"ciphers-and-phonetics",
"knowledge-graph-and-sqlite",
@@ -19,7 +19,7 @@
],
"introspected_counts": {
"repositories": 6,
"cli_entrypoints": 18,
"cli_entrypoints": 19,
"mcp_tools": 20,
"rest_domain_aliases": 12,
"enabled_lenses": 6,
@@ -45,7 +45,8 @@
"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-closeups-sync": "hyperstitionstud_io.publishing.closeups_sync:main",
"hs-quant-voice-build": "hyperstitionstud_io.publishing.quant_voice:main"
},
"mcp_tool_names": [
"hs_evaluate_aq_and_ingglish",
@@ -356,6 +357,6 @@
}
},
"ipld_dag_json_cidv1": {
"/": "baguqeera4t5khcifroxpnuucfvjp2gpmh2jlj26mjcsmuifwuojzlysjjr5q"
"/": "baguqeerabpp7hvwoe5m7s6vkdvzk23wfccbvg2g2u7bsdyuoplyol5uhkm5q"
}
}
+10 -10
View File
@@ -3,8 +3,8 @@
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Software Engineering Explication Hub — hyperstitionstud.io/engineering (v2.12.0)</title>
<link rel="stylesheet" href="../assets/hs-group3-basalt-chamfer.css?v=2.12.0" />
<title>Software Engineering Explication Hub — hyperstitionstud.io/engineering (v2.13.0)</title>
<link rel="stylesheet" href="../assets/hs-group3-basalt-chamfer.css?v=2.13.0" />
<style>
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'DejaVu Sans Mono', ui-monospace, monospace; padding: 1.25rem; line-height: 1.5; }
@@ -27,7 +27,7 @@
<header>
<div>
<h1>HYPERSTITION STUDIO // SOFTWARE ENGINEERING EXPLICATION HUB (UNIT E0)</h1>
<p class="subtitle">Commutative Live-Introspected Architecture &bull; Piecewise &amp; Non-Sequentially Revertible Cartridges &bull; urn:io:hyperstitionstud:engineering:v2.12.0 <span class="hs-sigil-seal" aria-hidden="true">[ &#x269A; &middot; &#x263F; &middot; &#x260D; &middot; &#x2609; ]</span></p>
<p class="subtitle">Commutative Live-Introspected Architecture &bull; Piecewise &amp; Non-Sequentially Revertible Cartridges &bull; urn:io:hyperstitionstud:engineering:v2.13.0 <span class="hs-sigil-seal" aria-hidden="true">[ &#x269A; &middot; &#x263F; &middot; &#x260D; &middot; &#x2609; ]</span></p>
</div>
<nav class="top-nav">
<a class="btn" href="../index.html">Portal Home (/)</a>
@@ -50,7 +50,7 @@ cid = compute_dag_json_cidv1(manifest)</pre></div><div class="hs-guile-box hs-la
<section class="stats-row">
<div class="panel hs-plate-g3 stat-tile"><div style="font-size:0.68rem;color:var(--text-secondary);">Repositories</div><div style="font-size:1.35rem;font-weight:700;color:var(--gold);">6</div></div>
<div class="panel hs-plate-g3 stat-tile"><div style="font-size:0.68rem;color:var(--text-secondary);">CLI Entrypoints</div><div style="font-size:1.35rem;font-weight:700;color:var(--cyan);">18</div></div>
<div class="panel hs-plate-g3 stat-tile"><div style="font-size:0.68rem;color:var(--text-secondary);">CLI Entrypoints</div><div style="font-size:1.35rem;font-weight:700;color:var(--cyan);">19</div></div>
<div class="panel hs-plate-g3 stat-tile"><div style="font-size:0.68rem;color:var(--text-secondary);">MCP &amp; REST Tools</div><div style="font-size:1.35rem;font-weight:700;color:var(--emerald);">20</div></div>
<div class="panel hs-plate-g3 stat-tile"><div style="font-size:0.68rem;color:var(--text-secondary);">Pluggable Lenses</div><div style="font-size:1.35rem;font-weight:700;color:var(--gold);">6</div></div>
<div class="panel hs-plate-g3 stat-tile"><div style="font-size:0.68rem;color:var(--text-secondary);">Watchlist / FRED</div><div style="font-size:1.35rem;font-weight:700;color:var(--cyan);">24 / 14</div></div>
@@ -76,7 +76,7 @@ cid = compute_dag_json_cidv1(manifest)</pre></div><div class="hs-guile-box hs-la
</div>
<table id="engCliTable">
<thead><tr><th>CLI Command</th><th>Python Module:Function Target</th></tr></thead>
<tbody><tr><td><code>hs-archive-rotate</code></td><td><code>hyperstitionstud_io.publishing.archive_rotator:main</code></td></tr><tr><td><code>hs-citations</code></td><td><code>hyperstitionstud_io.ci.citation_sources:main</code></td></tr><tr><td><code>hs-closeups-sync</code></td><td><code>hyperstitionstud_io.publishing.closeups_sync:main</code></td></tr><tr><td><code>hs-daily-brief</code></td><td><code>hyperstitionstud_io.quant.daily_brief:main</code></td></tr><tr><td><code>hs-db-build</code></td><td><code>hyperstitionstud_io.db.sqlite_meta:main</code></td></tr><tr><td><code>hs-doctor</code></td><td><code>hyperstitionstud_io.ci.doctor:main</code></td></tr><tr><td><code>hs-eng-docs</code></td><td><code>hyperstitionstud_io.publishing.engineering_docs:main</code></td></tr><tr><td><code>hs-highlights</code></td><td><code>hyperstitionstud_io.publishing.highlights:main</code></td></tr><tr><td><code>hs-kg-build</code></td><td><code>hyperstitionstud_io.graph.cli:main</code></td></tr><tr><td><code>hs-macro-harvest</code></td><td><code>hyperstitionstud_io.quant.macro:main</code></td></tr><tr><td><code>hs-math-docs</code></td><td><code>hyperstitionstud_io.publishing.math_docs:main</code></td></tr><tr><td><code>hs-mcp</code></td><td><code>hyperstitionstud_io.mcp.server:main</code></td></tr><tr><td><code>hs-pdf-build</code></td><td><code>hyperstitionstud_io.publishing.pdf_compiler:main</code></td></tr><tr><td><code>hs-public-smoke</code></td><td><code>hyperstitionstud_io.ci.public_regression:main</code></td></tr><tr><td><code>hs-quant-harvest</code></td><td><code>hyperstitionstud_io.quant.collector:main</code></td></tr><tr><td><code>hs-readme-sync</code></td><td><code>hyperstitionstud_io.publishing.readme_sync:main</code></td></tr><tr><td><code>hs-sync-version</code></td><td><code>hyperstitionstud_io.version_sync:main</code></td></tr><tr><td><code>hs-ticker-card</code></td><td><code>hyperstitionstud_io.quant.cards:main</code></td></tr></tbody>
<tbody><tr><td><code>hs-archive-rotate</code></td><td><code>hyperstitionstud_io.publishing.archive_rotator:main</code></td></tr><tr><td><code>hs-citations</code></td><td><code>hyperstitionstud_io.ci.citation_sources:main</code></td></tr><tr><td><code>hs-closeups-sync</code></td><td><code>hyperstitionstud_io.publishing.closeups_sync:main</code></td></tr><tr><td><code>hs-daily-brief</code></td><td><code>hyperstitionstud_io.quant.daily_brief:main</code></td></tr><tr><td><code>hs-db-build</code></td><td><code>hyperstitionstud_io.db.sqlite_meta:main</code></td></tr><tr><td><code>hs-doctor</code></td><td><code>hyperstitionstud_io.ci.doctor:main</code></td></tr><tr><td><code>hs-eng-docs</code></td><td><code>hyperstitionstud_io.publishing.engineering_docs:main</code></td></tr><tr><td><code>hs-highlights</code></td><td><code>hyperstitionstud_io.publishing.highlights:main</code></td></tr><tr><td><code>hs-kg-build</code></td><td><code>hyperstitionstud_io.graph.cli:main</code></td></tr><tr><td><code>hs-macro-harvest</code></td><td><code>hyperstitionstud_io.quant.macro:main</code></td></tr><tr><td><code>hs-math-docs</code></td><td><code>hyperstitionstud_io.publishing.math_docs:main</code></td></tr><tr><td><code>hs-mcp</code></td><td><code>hyperstitionstud_io.mcp.server:main</code></td></tr><tr><td><code>hs-pdf-build</code></td><td><code>hyperstitionstud_io.publishing.pdf_compiler:main</code></td></tr><tr><td><code>hs-public-smoke</code></td><td><code>hyperstitionstud_io.ci.public_regression:main</code></td></tr><tr><td><code>hs-quant-harvest</code></td><td><code>hyperstitionstud_io.quant.collector:main</code></td></tr><tr><td><code>hs-quant-voice-build</code></td><td><code>hyperstitionstud_io.publishing.quant_voice:main</code></td></tr><tr><td><code>hs-readme-sync</code></td><td><code>hyperstitionstud_io.publishing.readme_sync:main</code></td></tr><tr><td><code>hs-sync-version</code></td><td><code>hyperstitionstud_io.version_sync:main</code></td></tr><tr><td><code>hs-ticker-card</code></td><td><code>hyperstitionstud_io.quant.cards:main</code></td></tr></tbody>
</table>
<script>
(function(){
@@ -93,12 +93,12 @@ cid = compute_dag_json_cidv1(manifest)</pre></div><div class="hs-guile-box hs-la
</section>
<footer>
hyperstitionstud.io/engineering v2.12.0 &bull; CIDv1: <code>baguqeera4t5khcifroxpnuucfvjp2gpmh2j...</code> &bull; <span class="hs-sigil-colophon" aria-hidden="true">&#x269A; &middot; &#x263F; &middot; &#x260D; &middot; &#x2609; &middot; &#x2644;</span> &bull; Made with <span class="hs-heart" style="color:var(--rose);">&#x2665;</span> by Lemurs.
hyperstitionstud.io/engineering v2.13.0 &bull; CIDv1: <code>baguqeerabpp7hvwoe5m7s6vkdvzk23wfccb...</code> &bull; <span class="hs-sigil-colophon" aria-hidden="true">&#x269A; &middot; &#x263F; &middot; &#x260D; &middot; &#x2609; &middot; &#x2644;</span> &bull; Made with <span class="hs-heart" style="color:var(--rose);">&#x2665;</span> by Lemurs.
</footer>
</div>
<script src="../assets/hs-matrix-coderain.js?v=2.12.0" defer></script>
<script src="engineering-manifest-data.js?v=2.12.0"></script>
<script src="engineering-app.js?v=2.12.0"></script>
<script src="../assets/hs-matrix-coderain.js?v=2.13.0" defer></script>
<script src="engineering-manifest-data.js?v=2.13.0"></script>
<script src="engineering-app.js?v=2.13.0"></script>
<aside id="hsGuileReplDrawer" class="hs-plate-g3" aria-label="In-Browser Polyglot Guile Scheme, TypeScript, and Rust Hardened REPL">
<div style="display:flex;justify-content:space-between;align-items:center;gap:0.5rem;margin-bottom:0.45rem;">
<div style="font-size:0.73rem;font-weight:700;color:var(--cyan);">&lambda; 4-RING HARDENED POLYGLOT REPL (GUILE • TS • RUST • ZERO EVAL)</div>
@@ -136,6 +136,6 @@ cid = compute_dag_json_cidv1(manifest)</pre></div><div class="hs-guile-box hs-la
<pre id="hsGuileReplOutput" style="margin-top:0.4rem;background:var(--bg-void);border:1px solid var(--border);padding:0.5rem;font-size:0.71rem;color:var(--emerald);max-height:150px;overflow-y:auto;white-space:pre-wrap;">polyglot&gt; Ready (4-Ring Zero-Eval AST Sandbox). Select [λ GUILE | TS | RS | ≡ ALL 3] or click Evaluate (λ).</pre>
</div>
</aside>
<script src="../assets/hs-guile-scheme-repl.js?v=2.12.0"></script>
<script src="../assets/hs-guile-scheme-repl.js?v=2.13.0"></script>
</body>
</html>
@@ -3,8 +3,8 @@
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Unit E2: 6-Gate 388-Node Knowledge Graph Compiler, ReadOnlyIsolationGuard & Quiescent SQLite + FTS5 Engine — hyperstitionstud.io/engineering (v2.12.0)</title>
<link rel="stylesheet" href="../../assets/hs-group3-basalt-chamfer.css?v=2.12.0" />
<title>Unit E2: 6-Gate 388-Node Knowledge Graph Compiler, ReadOnlyIsolationGuard & Quiescent SQLite + FTS5 Engine — hyperstitionstud.io/engineering (v2.13.0)</title>
<link rel="stylesheet" href="../../assets/hs-group3-basalt-chamfer.css?v=2.13.0" />
<style>
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'DejaVu Sans Mono', ui-monospace, monospace; padding: 1.25rem; line-height: 1.5; }
@@ -22,7 +22,7 @@
<header>
<div>
<h1>Unit E2: 6-Gate 388-Node Knowledge Graph Compiler, ReadOnlyIsolationGuard & Quiescent SQLite + FTS5 Engine</h1>
<p class="subtitle">Cartridge E2 &bull; Non-Sequentially Revertible via <code>hs-eng-docs --disable knowledge-graph-and-sqlite</code> &bull; v2.12.0 <span class="hs-sigil-seal" aria-hidden="true">[ &#x269A; &middot; &#x263F; &middot; &#x260D; &middot; &#x2609; ]</span></p>
<p class="subtitle">Cartridge E2 &bull; Non-Sequentially Revertible via <code>hs-eng-docs --disable knowledge-graph-and-sqlite</code> &bull; v2.13.0 <span class="hs-sigil-seal" aria-hidden="true">[ &#x269A; &middot; &#x263F; &middot; &#x260D; &middot; &#x2609; ]</span></p>
</div>
<nav class="top-nav">
<a class="btn" href="../../index.html">Portal Home (/)</a>
@@ -50,12 +50,12 @@
</div>
<footer>
hyperstitionstud.io/engineering/knowledge-graph-and-sqlite v2.12.0 &bull; <span class="hs-sigil-colophon" aria-hidden="true">&#x269A; &middot; &#x263F; &middot; &#x260D; &middot; &#x2609; &middot; &#x2644;</span> &bull; Made with <span class="hs-heart" style="color:var(--rose);">&#x2665;</span> by Lemurs.
hyperstitionstud.io/engineering/knowledge-graph-and-sqlite v2.13.0 &bull; <span class="hs-sigil-colophon" aria-hidden="true">&#x269A; &middot; &#x263F; &middot; &#x260D; &middot; &#x2609; &middot; &#x2644;</span> &bull; Made with <span class="hs-heart" style="color:var(--rose);">&#x2665;</span> by Lemurs.
</footer>
</div>
<script src="../../assets/hs-matrix-coderain.js?v=2.12.0" defer></script>
<script src="../engineering-manifest-data.js?v=2.12.0"></script>
<script src="../engineering-app.js?v=2.12.0"></script>
<script src="../../assets/hs-matrix-coderain.js?v=2.13.0" defer></script>
<script src="../engineering-manifest-data.js?v=2.13.0"></script>
<script src="../engineering-app.js?v=2.13.0"></script>
<aside id="hsGuileReplDrawer" class="hs-plate-g3" aria-label="In-Browser Polyglot Guile Scheme, TypeScript, and Rust Hardened REPL">
<div style="display:flex;justify-content:space-between;align-items:center;gap:0.5rem;margin-bottom:0.45rem;">
<div style="font-size:0.73rem;font-weight:700;color:var(--cyan);">&lambda; 4-RING HARDENED POLYGLOT REPL (GUILE • TS • RUST • ZERO EVAL)</div>
@@ -93,6 +93,6 @@
<pre id="hsGuileReplOutput" style="margin-top:0.4rem;background:var(--bg-void);border:1px solid var(--border);padding:0.5rem;font-size:0.71rem;color:var(--emerald);max-height:150px;overflow-y:auto;white-space:pre-wrap;">polyglot&gt; Ready (4-Ring Zero-Eval AST Sandbox). Select [λ GUILE | TS | RS | ≡ ALL 3] or click Evaluate (λ).</pre>
</div>
</aside>
<script src="../../assets/hs-guile-scheme-repl.js?v=2.12.0"></script>
<script src="../../assets/hs-guile-scheme-repl.js?v=2.13.0"></script>
</body>
</html>
@@ -3,8 +3,8 @@
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Unit E4: Stateless MCP Server (:8095), Chatbot OpenAPI 3.1.0 REST Adapter, .png+.json Cards & IPLD CIDv1 — hyperstitionstud.io/engineering (v2.12.0)</title>
<link rel="stylesheet" href="../../assets/hs-group3-basalt-chamfer.css?v=2.12.0" />
<title>Unit E4: Stateless MCP Server (:8095), Chatbot OpenAPI 3.1.0 REST Adapter, .png+.json Cards & IPLD CIDv1 — hyperstitionstud.io/engineering (v2.13.0)</title>
<link rel="stylesheet" href="../../assets/hs-group3-basalt-chamfer.css?v=2.13.0" />
<style>
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'DejaVu Sans Mono', ui-monospace, monospace; padding: 1.25rem; line-height: 1.5; }
@@ -22,7 +22,7 @@
<header>
<div>
<h1>Unit E4: Stateless MCP Server (:8095), Chatbot OpenAPI 3.1.0 REST Adapter, .png+.json Cards & IPLD CIDv1</h1>
<p class="subtitle">Cartridge E4 &bull; Non-Sequentially Revertible via <code>hs-eng-docs --disable mcp-chatbot-rest-and-ipld</code> &bull; v2.12.0 <span class="hs-sigil-seal" aria-hidden="true">[ &#x269A; &middot; &#x263F; &middot; &#x260D; &middot; &#x2609; ]</span></p>
<p class="subtitle">Cartridge E4 &bull; Non-Sequentially Revertible via <code>hs-eng-docs --disable mcp-chatbot-rest-and-ipld</code> &bull; v2.13.0 <span class="hs-sigil-seal" aria-hidden="true">[ &#x269A; &middot; &#x263F; &middot; &#x260D; &middot; &#x2609; ]</span></p>
</div>
<nav class="top-nav">
<a class="btn" href="../../index.html">Portal Home (/)</a>
@@ -41,7 +41,7 @@
<section class="panel hs-plate-g3 plate-lock-emerald hs-prereq-ladder" style="margin-bottom:0.9rem;padding:1rem 1.2rem;"><div style="font-size:0.74rem;font-weight:700;color:var(--emerald);text-transform:uppercase;letter-spacing:0.06em;">Prerequisite Track for Novices &bull; Required Expertise: Level 4: Network Protocols, OpenAPI 3.1 & Content-Addressed Storage (15-20 hrs study)</div><p style="font-size:0.76rem;color:var(--text-secondary);margin:0.35rem 0;">If any concepts on this page are unfamiliar, occupy your study time with these free foundational resources first:</p><div style="display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:0.8rem;margin-top:0.4rem;"><div><strong style="font-size:0.73rem;color:var(--gold);">Core Concepts Required:</strong><ul style="font-size:0.72rem;color:var(--text-main);margin:0.25rem 0 0 1.1rem;line-height:1.5;"><li>HTTP/1.1 request/response lifecycles, status codes (200, 404, 422, 500, 502), and reverse proxies</li><li>JSON-RPC 2.0, OpenAPI 3.1.0 schema generation, and Model Context Protocol (MCP)</li><li>Canonical JSON serialization, SHA-256 multihashes, and IPLD dag-json (0x0129) CIDv1</li></ul></div><div><strong style="font-size:0.73rem;color:var(--cyan);">Curated Free Public Study Resources:</strong><ul style="font-size:0.72rem;color:var(--text-main);margin:0.25rem 0 0 1.1rem;line-height:1.5;"><li><a href="https://developer.mozilla.org/en-US/docs/Web/HTTP" target="_blank" rel="noopener noreferrer" style="color:var(--cyan);">MDN Web Docs — HTTP Protocol & Status Codes &#x2197;</a></li><li><a href="https://www.jsonrpc.org/specification" target="_blank" rel="noopener noreferrer" style="color:var(--cyan);">JSON-RPC 2.0 Official Specification &#x2197;</a></li><li><a href="https://modelcontextprotocol.io/introduction" target="_blank" rel="noopener noreferrer" style="color:var(--cyan);">Model Context Protocol (MCP) Architecture Introduction &#x2197;</a></li><li><a href="https://proto.school/" target="_blank" rel="noopener noreferrer" style="color:var(--cyan);">ProtoSchool — Content Identifiers (CIDs) & IPLD Merkle DAGs &#x2197;</a></li></ul></div></div></section>
<section class="panel hs-plate-g3 hs-guile-cartridge"><div style="display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:0.5rem;"><div style="font-size:0.74rem;font-weight:700;color:var(--cyan);text-transform:uppercase;letter-spacing:0.05em;">&lambda; Polyglot Foil (E4): JSON-RPC 2.0 Tool Dispatch &amp; &#x27;envideea&#x27; = 137 (33rd Prime)</div><div style="display:flex;gap:0.25rem;flex-wrap:wrap;align-items:center;"><button type="button" class="hs-polyglot-seg" data-lens-mode="guile">&lambda; Guile</button><button type="button" class="hs-polyglot-seg" data-lens-mode="ts">TS TypeScript</button><button type="button" class="hs-polyglot-seg" data-lens-mode="rust">Rs Rust</button><button type="button" class="hs-polyglot-seg" data-lens-mode="all">&equiv; All 3</button><button type="button" class="hs-polyglot-seg" data-lens-mode="off">Hide</button></div></div><div class="hs-guile-triview"><div class="hs-guile-box"><strong style="color:var(--gold);display:block;margin-bottom:0.2rem;">1. Formal Specification &amp; Python:</strong><code>Dispatch(name, args) → ToolTable[name](args)</code><pre style="white-space:pre-wrap;margin-top:0.25rem;color:var(--text-secondary);">res = call_mcp_tool(target_tool, t_args)</pre></div><div class="hs-guile-box hs-lang-box-guile"><div style="display:flex;justify-content:space-between;align-items:center;"><strong style="color:var(--cyan);">&lambda; Guile Scheme (Z-Combinator):</strong><button type="button" class="btn hs-load-in-repl-btn" data-polyglot-lang="guile" data-scheme-expr="(list &#x27;jsonrpc-2.0 &#x27;tool &quot;hs_evaluate_aq_and_ingglish&quot; (aq-base36 &quot;envideea&quot;))" style="padding:0.12rem 0.4rem;font-size:0.65rem;">REPL &rarr;</button></div><code class="hs-guile-code-expr">(list &#x27;jsonrpc-2.0 &#x27;tool &quot;hs_evaluate_aq_and_ingglish&quot; (aq-base36 &quot;envideea&quot;))</code><div class="hs-guile-eval-result" style="margin-top:0.3rem;font-weight:700;color:var(--emerald);">=> [Select Lens to evaluate]</div></div><div class="hs-guile-box hs-lang-box-ts"><div style="display:flex;justify-content:space-between;align-items:center;"><strong style="color:var(--gold);">TS TypeScript (Strict AST):</strong><button type="button" class="btn hs-load-in-repl-btn" data-polyglot-lang="ts" data-scheme-expr="aqBase36(&quot;envideea&quot;)" style="padding:0.12rem 0.4rem;font-size:0.65rem;">REPL &rarr;</button></div><code class="hs-ts-code-expr">aqBase36(&quot;envideea&quot;)</code><div class="hs-ts-eval-result" style="margin-top:0.3rem;font-weight:700;color:var(--emerald);">=> [Select Lens to evaluate]</div></div><div class="hs-guile-box hs-lang-box-rust"><div style="display:flex;justify-content:space-between;align-items:center;"><strong style="color:var(--emerald);">Rs Rust (Option/Iterator AST):</strong><button type="button" class="btn hs-load-in-repl-btn" data-polyglot-lang="rust" data-scheme-expr="mcp_dispatch_aq(&quot;envideea&quot;)" style="padding:0.12rem 0.4rem;font-size:0.65rem;">REPL &rarr;</button></div><code class="hs-rust-code-expr">mcp_dispatch_aq(&quot;envideea&quot;)</code><div class="hs-rust-eval-result" style="margin-top:0.3rem;font-weight:700;color:var(--emerald);">=> [Select Lens to evaluate]</div></div></div><div style="font-size:0.71rem;color:var(--text-secondary);"><strong>Guided Micro-Challenge (4-Ring Zero-Escape Sandbox):</strong> Evaluate &quot;envideea&quot; =&gt; 137 across Guile, TypeScript, and Rust.</div></section>
<article class="panel hs-plate-g3" style="padding:1rem 1.2rem;margin-bottom:0.85rem;"><h2 style="font-size:0.92rem;color:var(--gold);margin-bottom:0.4rem;">1. Unified Stateless MCP (/mcp) & Chatbot OpenAPI 3.1.0 REST Adapter (/api/v1/*)</h2><p style="font-size:0.76rem;color:var(--text-main);line-height:1.6;">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.</p></article><article class="panel hs-plate-g3" style="padding:1rem 1.2rem;margin-bottom:0.85rem;"><h2 style="font-size:0.92rem;color:var(--gold);margin-bottom:0.4rem;">2. One-Shot .png + .json Ticker Stats Cards (quant/cards.py) & Canonical IPLD dag-json (0x0129)</h2><p style="font-size:0.76rem;color:var(--text-main);line-height:1.6;">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...').</p></article><section id="live-smoke-probe" class="panel hs-plate-g3 plate-lock-emerald" style="padding:1rem 1.2rem;margin-bottom:0.85rem;"><div style="display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:0.6rem;margin-bottom:0.55rem;"><h2 style="font-size:0.92rem;color:var(--emerald);">&#x269B; Live API &amp; IPLD CIDv1 ETag 304 Conditional Cache Probe (#live-smoke-probe)</h2><button type="button" id="runLiveEtagProbeBtn" class="btn" style="border-color:var(--emerald);color:var(--emerald);font-weight:700;">&#x269B; Run Live /api/v1/status &amp; ETag 304 Probe</button></div><p style="font-size:0.74rem;color:var(--text-secondary);margin-bottom:0.5rem;">Fetches <code>/api/v1/status</code> twice (sending <code>If-None-Match: &lt;ETag&gt;</code> on the second request) to verify deterministic RFC 8785 JCS + IPLD <code>dag-json</code> <code>CIDv1</code> HTTP caching and <code>ReadOnlyIsolationGuard</code> status.</p><pre id="liveEtagProbeOutput" style="padding:0.65rem 0.85rem;font-size:0.73rem;color:var(--cyan);border:1px solid var(--border);overflow-x:auto;">Click "Run Live /api/v1/status &amp; ETag 304 Probe" to inspect live HTTP ETag &amp; ReadOnlyIsolationGuard headers.</pre><script>(function(){var btn=document.getElementById("runLiveEtagProbeBtn"),out=document.getElementById("liveEtagProbeOutput");if(!btn||!out)return;function runProbe(){out.textContent="Probing /api/v1/status ...";var t0=performance.now();fetch("/api/v1/status",{cache:"no-store"}).then(function(r1){var dt1=(performance.now()-t0).toFixed(1),etag=r1.headers.get("ETag")||"";return r1.json().then(function(j1){var t1=performance.now();return fetch("/api/v1/status",{headers:etag?{"If-None-Match":etag}:{}}).then(function(r2){var dt2=(performance.now()-t1).toFixed(1);out.textContent="[1st Request GET /api/v1/status]: HTTP "+r1.status+" ("+dt1+" ms)\n"+"[ETag Header (IPLD dag-json CIDv1)]: "+(etag||"(offline/file mode)")+"\n"+"[2nd Request with If-None-Match]: HTTP "+r2.status+" ("+dt2+" ms)\n"+"[Ecosystem Version & Isolation]: v"+((j1&&j1.version)||"2.12.0")+" • ReadOnlyIsolationGuard: PASS";});});}).catch(function(){out.textContent="[Offline / Static File Mode]: Manifest CIDv1 verified via window.HYPERSTITION_ENGINEERING_MANIFEST ("+((window.HYPERSTITION_ENGINEERING_MANIFEST&&window.HYPERSTITION_ENGINEERING_MANIFEST.ipld_dag_json_cidv1&&window.HYPERSTITION_ENGINEERING_MANIFEST.ipld_dag_json_cidv1["/"])||"verified")+")";});}btn.addEventListener("click",runProbe);if(window.location.hash==="#live-smoke-probe")runProbe();})();</script></section>
<article class="panel hs-plate-g3" style="padding:1rem 1.2rem;margin-bottom:0.85rem;"><h2 style="font-size:0.92rem;color:var(--gold);margin-bottom:0.4rem;">1. Unified Stateless MCP (/mcp) & Chatbot OpenAPI 3.1.0 REST Adapter (/api/v1/*)</h2><p style="font-size:0.76rem;color:var(--text-main);line-height:1.6;">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.</p></article><article class="panel hs-plate-g3" style="padding:1rem 1.2rem;margin-bottom:0.85rem;"><h2 style="font-size:0.92rem;color:var(--gold);margin-bottom:0.4rem;">2. One-Shot .png + .json Ticker Stats Cards (quant/cards.py) & Canonical IPLD dag-json (0x0129)</h2><p style="font-size:0.76rem;color:var(--text-main);line-height:1.6;">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...').</p></article><section id="live-smoke-probe" class="panel hs-plate-g3 plate-lock-emerald" style="padding:1rem 1.2rem;margin-bottom:0.85rem;"><div style="display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:0.6rem;margin-bottom:0.55rem;"><h2 style="font-size:0.92rem;color:var(--emerald);">&#x269B; Live API &amp; IPLD CIDv1 ETag 304 Conditional Cache Probe (#live-smoke-probe)</h2><button type="button" id="runLiveEtagProbeBtn" class="btn" style="border-color:var(--emerald);color:var(--emerald);font-weight:700;">&#x269B; Run Live /api/v1/status &amp; ETag 304 Probe</button></div><p style="font-size:0.74rem;color:var(--text-secondary);margin-bottom:0.5rem;">Fetches <code>/api/v1/status</code> twice (sending <code>If-None-Match: &lt;ETag&gt;</code> on the second request) to verify deterministic RFC 8785 JCS + IPLD <code>dag-json</code> <code>CIDv1</code> HTTP caching and <code>ReadOnlyIsolationGuard</code> status.</p><pre id="liveEtagProbeOutput" style="padding:0.65rem 0.85rem;font-size:0.73rem;color:var(--cyan);border:1px solid var(--border);overflow-x:auto;">Click "Run Live /api/v1/status &amp; ETag 304 Probe" to inspect live HTTP ETag &amp; ReadOnlyIsolationGuard headers.</pre><script>(function(){var btn=document.getElementById("runLiveEtagProbeBtn"),out=document.getElementById("liveEtagProbeOutput");if(!btn||!out)return;function runProbe(){out.textContent="Probing /api/v1/status ...";var t0=performance.now();fetch("/api/v1/status",{cache:"no-store"}).then(function(r1){var dt1=(performance.now()-t0).toFixed(1),etag=r1.headers.get("ETag")||"";return r1.json().then(function(j1){var t1=performance.now();return fetch("/api/v1/status",{headers:etag?{"If-None-Match":etag}:{}}).then(function(r2){var dt2=(performance.now()-t1).toFixed(1);out.textContent="[1st Request GET /api/v1/status]: HTTP "+r1.status+" ("+dt1+" ms)\n"+"[ETag Header (IPLD dag-json CIDv1)]: "+(etag||"(offline/file mode)")+"\n"+"[2nd Request with If-None-Match]: HTTP "+r2.status+" ("+dt2+" ms)\n"+"[Ecosystem Version & Isolation]: v"+((j1&&j1.version)||"2.13.0")+" • ReadOnlyIsolationGuard: PASS";});});}).catch(function(){out.textContent="[Offline / Static File Mode]: Manifest CIDv1 verified via window.HYPERSTITION_ENGINEERING_MANIFEST ("+((window.HYPERSTITION_ENGINEERING_MANIFEST&&window.HYPERSTITION_ENGINEERING_MANIFEST.ipld_dag_json_cidv1&&window.HYPERSTITION_ENGINEERING_MANIFEST.ipld_dag_json_cidv1["/"])||"verified")+")";});}btn.addEventListener("click",runProbe);if(window.location.hash==="#live-smoke-probe")runProbe();})();</script></section>
<div style="display:flex;justify-content:space-between;align-items:center;margin-top:0.8rem;">
<a class="btn" href="../quant-macro-and-bayesian-brief/index.html">&larr; Prev: E3: Quant, Macro & Bayesian</a>
@@ -49,12 +49,12 @@
</div>
<footer>
hyperstitionstud.io/engineering/mcp-chatbot-rest-and-ipld v2.12.0 &bull; <span class="hs-sigil-colophon" aria-hidden="true">&#x269A; &middot; &#x263F; &middot; &#x260D; &middot; &#x2609; &middot; &#x2644;</span> &bull; Made with <span class="hs-heart" style="color:var(--rose);">&#x2665;</span> by Lemurs.
hyperstitionstud.io/engineering/mcp-chatbot-rest-and-ipld v2.13.0 &bull; <span class="hs-sigil-colophon" aria-hidden="true">&#x269A; &middot; &#x263F; &middot; &#x260D; &middot; &#x2609; &middot; &#x2644;</span> &bull; Made with <span class="hs-heart" style="color:var(--rose);">&#x2665;</span> by Lemurs.
</footer>
</div>
<script src="../../assets/hs-matrix-coderain.js?v=2.12.0" defer></script>
<script src="../engineering-manifest-data.js?v=2.12.0"></script>
<script src="../engineering-app.js?v=2.12.0"></script>
<script src="../../assets/hs-matrix-coderain.js?v=2.13.0" defer></script>
<script src="../engineering-manifest-data.js?v=2.13.0"></script>
<script src="../engineering-app.js?v=2.13.0"></script>
<aside id="hsGuileReplDrawer" class="hs-plate-g3" aria-label="In-Browser Polyglot Guile Scheme, TypeScript, and Rust Hardened REPL">
<div style="display:flex;justify-content:space-between;align-items:center;gap:0.5rem;margin-bottom:0.45rem;">
<div style="font-size:0.73rem;font-weight:700;color:var(--cyan);">&lambda; 4-RING HARDENED POLYGLOT REPL (GUILE • TS • RUST • ZERO EVAL)</div>
@@ -92,6 +92,6 @@
<pre id="hsGuileReplOutput" style="margin-top:0.4rem;background:var(--bg-void);border:1px solid var(--border);padding:0.5rem;font-size:0.71rem;color:var(--emerald);max-height:150px;overflow-y:auto;white-space:pre-wrap;">polyglot&gt; Ready (4-Ring Zero-Eval AST Sandbox). Select [λ GUILE | TS | RS | ≡ ALL 3] or click Evaluate (λ).</pre>
</div>
</aside>
<script src="../../assets/hs-guile-scheme-repl.js?v=2.12.0"></script>
<script src="../../assets/hs-guile-scheme-repl.js?v=2.13.0"></script>
</body>
</html>
@@ -3,8 +3,8 @@
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Unit E3: Zero-Synthetic-Data Quant Engine, 14-Point Bidirectional Census, Dose 0..3+, FRED Macro & Bayesian Brief — hyperstitionstud.io/engineering (v2.12.0)</title>
<link rel="stylesheet" href="../../assets/hs-group3-basalt-chamfer.css?v=2.12.0" />
<title>Unit E3: Zero-Synthetic-Data Quant Engine, 14-Point Bidirectional Census, Dose 0..3+, FRED Macro & Bayesian Brief — hyperstitionstud.io/engineering (v2.13.0)</title>
<link rel="stylesheet" href="../../assets/hs-group3-basalt-chamfer.css?v=2.13.0" />
<style>
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'DejaVu Sans Mono', ui-monospace, monospace; padding: 1.25rem; line-height: 1.5; }
@@ -22,7 +22,7 @@
<header>
<div>
<h1>Unit E3: Zero-Synthetic-Data Quant Engine, 14-Point Bidirectional Census, Dose 0..3+, FRED Macro & Bayesian Brief</h1>
<p class="subtitle">Cartridge E3 &bull; Non-Sequentially Revertible via <code>hs-eng-docs --disable quant-macro-and-bayesian-brief</code> &bull; v2.12.0 <span class="hs-sigil-seal" aria-hidden="true">[ &#x269A; &middot; &#x263F; &middot; &#x260D; &middot; &#x2609; ]</span></p>
<p class="subtitle">Cartridge E3 &bull; Non-Sequentially Revertible via <code>hs-eng-docs --disable quant-macro-and-bayesian-brief</code> &bull; v2.13.0 <span class="hs-sigil-seal" aria-hidden="true">[ &#x269A; &middot; &#x263F; &middot; &#x260D; &middot; &#x2609; ]</span></p>
</div>
<nav class="top-nav">
<a class="btn" href="../../index.html">Portal Home (/)</a>
@@ -49,12 +49,12 @@
</div>
<footer>
hyperstitionstud.io/engineering/quant-macro-and-bayesian-brief v2.12.0 &bull; <span class="hs-sigil-colophon" aria-hidden="true">&#x269A; &middot; &#x263F; &middot; &#x260D; &middot; &#x2609; &middot; &#x2644;</span> &bull; Made with <span class="hs-heart" style="color:var(--rose);">&#x2665;</span> by Lemurs.
hyperstitionstud.io/engineering/quant-macro-and-bayesian-brief v2.13.0 &bull; <span class="hs-sigil-colophon" aria-hidden="true">&#x269A; &middot; &#x263F; &middot; &#x260D; &middot; &#x2609; &middot; &#x2644;</span> &bull; Made with <span class="hs-heart" style="color:var(--rose);">&#x2665;</span> by Lemurs.
</footer>
</div>
<script src="../../assets/hs-matrix-coderain.js?v=2.12.0" defer></script>
<script src="../engineering-manifest-data.js?v=2.12.0"></script>
<script src="../engineering-app.js?v=2.12.0"></script>
<script src="../../assets/hs-matrix-coderain.js?v=2.13.0" defer></script>
<script src="../engineering-manifest-data.js?v=2.13.0"></script>
<script src="../engineering-app.js?v=2.13.0"></script>
<aside id="hsGuileReplDrawer" class="hs-plate-g3" aria-label="In-Browser Polyglot Guile Scheme, TypeScript, and Rust Hardened REPL">
<div style="display:flex;justify-content:space-between;align-items:center;gap:0.5rem;margin-bottom:0.45rem;">
<div style="font-size:0.73rem;font-weight:700;color:var(--cyan);">&lambda; 4-RING HARDENED POLYGLOT REPL (GUILE • TS • RUST • ZERO EVAL)</div>
@@ -92,6 +92,6 @@
<pre id="hsGuileReplOutput" style="margin-top:0.4rem;background:var(--bg-void);border:1px solid var(--border);padding:0.5rem;font-size:0.71rem;color:var(--emerald);max-height:150px;overflow-y:auto;white-space:pre-wrap;">polyglot&gt; Ready (4-Ring Zero-Eval AST Sandbox). Select [λ GUILE | TS | RS | ≡ ALL 3] or click Evaluate (λ).</pre>
</div>
</aside>
<script src="../../assets/hs-guile-scheme-repl.js?v=2.12.0"></script>
<script src="../../assets/hs-guile-scheme-repl.js?v=2.13.0"></script>
</body>
</html>
+1 -1
View File
@@ -217,7 +217,7 @@
<main class="gallery-grid" id="galleryGrid"></main>
<footer>
<div>hyperstitionstud.io/gallery &bull; Powered by hyperstitionstudio-core (urn:io:hyperstitionstud:gallery:2.12.0)</div>
<div>hyperstitionstud.io/gallery &bull; Powered by hyperstitionstudio-core (urn:io:hyperstitionstud:gallery:2.13.0)</div>
<div class="hs-lemur-credit">Made with <span class="hs-heart" role="img" aria-label="love">&#x2665;</span> by Lemurs.</div>
</footer>
</div>
+5 -5
View File
@@ -4,8 +4,8 @@
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>hyperstitionstud.io — Technocapital Singularity Zoology &amp; Alphanumeric Qabbala Workbench</title>
<link rel="prefetch" href="/graph/graph-data.js?v=2.12.0" as="script" />
<link rel="stylesheet" href="assets/hs-group3-basalt-chamfer.css?v=2.12.0" />
<link rel="prefetch" href="/graph/graph-data.js?v=2.13.0" as="script" />
<link rel="stylesheet" href="assets/hs-group3-basalt-chamfer.css?v=2.13.0" />
<style>
:root {
--bg-canvas: #020617;
@@ -151,7 +151,7 @@
<span class="dot"></span>
<h1>HYPERSTITIONSTUD.IO // SINGULARITY ZOOLOGY WORKBENCH</h1>
</div>
<p class="subtitle">100% Offline-Portable &amp; HTTP/3 Edge-Ready Research Corpus &bull; Namespace Authority: urn:io:hyperstitionstud (v2.12.0) <span class="hs-sigil-seal" aria-hidden="true">[ &#x269A; &middot; &#x263F; &middot; &#x260D; &middot; &#x2609; ]</span></p>
<p class="subtitle">100% Offline-Portable &amp; HTTP/3 Edge-Ready Research Corpus &bull; Namespace Authority: urn:io:hyperstitionstud (v2.13.0) <span class="hs-sigil-seal" aria-hidden="true">[ &#x269A; &middot; &#x263F; &middot; &#x260D; &middot; &#x2609; ]</span></p>
</div>
<div class="meta-badges">
<a class="btn primary" data-route="calc-app" href="/calc/index.html">Calculator</a>
@@ -313,12 +313,12 @@
</main>
<footer>
<div>hyperstitionstud.io &bull; Powered by hyperstitionstudio-core (hyperstitionstud_io.* / urn:io:hyperstitionstud v2.12.0) &bull; Zero External Network Dependencies</div>
<div>hyperstitionstud.io &bull; Powered by hyperstitionstudio-core (hyperstitionstud_io.* / urn:io:hyperstitionstud v2.13.0) &bull; Zero External Network Dependencies</div>
<div class="hs-lemur-credit" style="margin-top:0.35rem;color:var(--text-muted);font-size:0.75rem;"><span class="hs-sigil-colophon" aria-hidden="true">&#x269A; &middot; &#x263F; &middot; &#x260D; &middot; &#x2609; &middot; &#x2644;</span> &bull; Made with <span class="hs-heart" role="img" aria-label="love" style="color:var(--rose);display:inline-block;padding:0 2px;">&#x2665;</span> by Lemurs.</div>
</footer>
</div>
<script src="assets/hs-matrix-coderain.js?v=2.12.0" defer></script>
<script src="assets/hs-matrix-coderain.js?v=2.13.0" defer></script>
<script>
// Automatic offline file:// relative-path adaptation when opened directly from hyperstitionstudio-core/site/index.html
(function() {
+4 -4
View File
@@ -4,7 +4,7 @@
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Self-Paced Learning Track — hyperstitionstud.io (Base-36 AQ, Ingglish &amp; Technocapital Zoology)</title>
<link rel="stylesheet" href="../assets/hs-group3-basalt-chamfer.css?v=2.12.0" />
<link rel="stylesheet" href="../assets/hs-group3-basalt-chamfer.css?v=2.13.0" />
<style>
:root {
--bg-canvas: #020617;
@@ -421,12 +421,12 @@
</main>
<footer>
<div>hyperstitionstud.io/learn &bull; Powered by hyperstitionstudio-core (urn:io:hyperstitionstud:schema:v1:learn-progress-state v2.12.0)</div>
<div>hyperstitionstud.io/learn &bull; Powered by hyperstitionstudio-core (urn:io:hyperstitionstud:schema:v1:learn-progress-state v2.13.0)</div>
<div class="hs-lemur-credit"><span class="hs-sigil-colophon" aria-hidden="true">&#x269A; &middot; &#x263F; &middot; &#x260D; &middot; &#x2609; &middot; &#x2644;</span> &bull; Made with <span class="hs-heart" role="img" aria-label="love">&#x2665;</span> by Lemurs.</div>
</footer>
</div>
<script src="../assets/hs-matrix-coderain.js?v=2.12.0" defer></script>
<script src="learn-app.js?v=2.12.0"></script>
<script src="../assets/hs-matrix-coderain.js?v=2.13.0" defer></script>
<script src="learn-app.js?v=2.13.0"></script>
</body>
</html>
+1 -1
View File
@@ -265,7 +265,7 @@
const base = {
$schema: "../schemas/v1/learn-progress-state.schema.json",
$id: SCHEMA_ID,
version: "2.12.0",
version: "2.13.0",
updated_at_utc: new Date().toISOString(),
preferred_register: "fund_manager",
completed_modules: [],
@@ -3,8 +3,8 @@
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Unit M1: Base-36 Alphanumeric Valuation, Repdigit 37×3k Attractors & Prime Index π(n) — hyperstitionstud.io/math (v2.12.0)</title>
<link rel="stylesheet" href="../../assets/hs-group3-basalt-chamfer.css?v=2.12.0" />
<title>Unit M1: Base-36 Alphanumeric Valuation, Repdigit 37×3k Attractors & Prime Index π(n) — hyperstitionstud.io/math (v2.13.0)</title>
<link rel="stylesheet" href="../../assets/hs-group3-basalt-chamfer.css?v=2.13.0" />
<style>
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'DejaVu Sans Mono', ui-monospace, monospace; padding: 1.25rem; line-height: 1.5; }
@@ -22,7 +22,7 @@
<header>
<div>
<h1>Unit M1: Base-36 Alphanumeric Valuation, Repdigit 37×3k Attractors & Prime Index π(n)</h1>
<p class="subtitle">Cartridge M1 &bull; Non-Sequentially Revertible via <code>hs-math-docs --disable base36-algebra-and-primes</code> &bull; v2.12.0 <span class="hs-sigil-seal" aria-hidden="true">[ &#x269A; &middot; &#x263F; &middot; &#x260D; &middot; &#x2609; ]</span></p>
<p class="subtitle">Cartridge M1 &bull; Non-Sequentially Revertible via <code>hs-math-docs --disable base36-algebra-and-primes</code> &bull; v2.13.0 <span class="hs-sigil-seal" aria-hidden="true">[ &#x269A; &middot; &#x263F; &middot; &#x260D; &middot; &#x2609; ]</span></p>
</div>
<nav class="top-nav">
<a class="btn" href="../../index.html">Portal Home (/)</a>
@@ -49,12 +49,12 @@
</div>
<footer>
hyperstitionstud.io/math/base36-algebra-and-primes v2.12.0 &bull; <span class="hs-sigil-colophon" aria-hidden="true">&#x269A; &middot; &#x263F; &middot; &#x260D; &middot; &#x2609; &middot; &#x2644;</span> &bull; Made with <span class="hs-heart" style="color:var(--rose);">&#x2665;</span> by Lemurs.
hyperstitionstud.io/math/base36-algebra-and-primes v2.13.0 &bull; <span class="hs-sigil-colophon" aria-hidden="true">&#x269A; &middot; &#x263F; &middot; &#x260D; &middot; &#x2609; &middot; &#x2644;</span> &bull; Made with <span class="hs-heart" style="color:var(--rose);">&#x2665;</span> by Lemurs.
</footer>
</div>
<script src="../../assets/hs-matrix-coderain.js?v=2.12.0" defer></script>
<script src="../math-manifest-data.js?v=2.12.0"></script>
<script src="../math-app.js?v=2.12.0"></script>
<script src="../../assets/hs-matrix-coderain.js?v=2.13.0" defer></script>
<script src="../math-manifest-data.js?v=2.13.0"></script>
<script src="../math-app.js?v=2.13.0"></script>
<aside id="hsGuileReplDrawer" class="hs-plate-g3" aria-label="In-Browser Polyglot Guile Scheme, TypeScript, and Rust Hardened REPL">
<div style="display:flex;justify-content:space-between;align-items:center;gap:0.5rem;margin-bottom:0.45rem;">
<div style="font-size:0.73rem;font-weight:700;color:var(--cyan);">&lambda; 4-RING HARDENED POLYGLOT REPL (GUILE • TS • RUST • ZERO EVAL)</div>
@@ -92,6 +92,6 @@
<pre id="hsGuileReplOutput" style="margin-top:0.4rem;background:var(--bg-void);border:1px solid var(--border);padding:0.5rem;font-size:0.71rem;color:var(--emerald);max-height:150px;overflow-y:auto;white-space:pre-wrap;">polyglot&gt; Ready (4-Ring Zero-Eval AST Sandbox). Select [λ GUILE | TS | RS | ≡ ALL 3] or click Evaluate (λ).</pre>
</div>
</aside>
<script src="../../assets/hs-guile-scheme-repl.js?v=2.12.0"></script>
<script src="../../assets/hs-guile-scheme-repl.js?v=2.13.0"></script>
</body>
</html>
@@ -3,8 +3,8 @@
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Unit M3: Multi-Relational Property Graph Topology G=(V,E,R), Convex ETI Functional & LENS_REGISTRY — hyperstitionstud.io/math (v2.12.0)</title>
<link rel="stylesheet" href="../../assets/hs-group3-basalt-chamfer.css?v=2.12.0" />
<title>Unit M3: Multi-Relational Property Graph Topology G=(V,E,R), Convex ETI Functional & LENS_REGISTRY — hyperstitionstud.io/math (v2.13.0)</title>
<link rel="stylesheet" href="../../assets/hs-group3-basalt-chamfer.css?v=2.13.0" />
<style>
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'DejaVu Sans Mono', ui-monospace, monospace; padding: 1.25rem; line-height: 1.5; }
@@ -22,7 +22,7 @@
<header>
<div>
<h1>Unit M3: Multi-Relational Property Graph Topology G=(V,E,R), Convex ETI Functional & LENS_REGISTRY</h1>
<p class="subtitle">Cartridge M3 &bull; Non-Sequentially Revertible via <code>hs-math-docs --disable graph-topology-and-eti-scoring</code> &bull; v2.12.0 <span class="hs-sigil-seal" aria-hidden="true">[ &#x269A; &middot; &#x263F; &middot; &#x260D; &middot; &#x2609; ]</span></p>
<p class="subtitle">Cartridge M3 &bull; Non-Sequentially Revertible via <code>hs-math-docs --disable graph-topology-and-eti-scoring</code> &bull; v2.13.0 <span class="hs-sigil-seal" aria-hidden="true">[ &#x269A; &middot; &#x263F; &middot; &#x260D; &middot; &#x2609; ]</span></p>
</div>
<nav class="top-nav">
<a class="btn" href="../../index.html">Portal Home (/)</a>
@@ -49,12 +49,12 @@
</div>
<footer>
hyperstitionstud.io/math/graph-topology-and-eti-scoring v2.12.0 &bull; <span class="hs-sigil-colophon" aria-hidden="true">&#x269A; &middot; &#x263F; &middot; &#x260D; &middot; &#x2609; &middot; &#x2644;</span> &bull; Made with <span class="hs-heart" style="color:var(--rose);">&#x2665;</span> by Lemurs.
hyperstitionstud.io/math/graph-topology-and-eti-scoring v2.13.0 &bull; <span class="hs-sigil-colophon" aria-hidden="true">&#x269A; &middot; &#x263F; &middot; &#x260D; &middot; &#x2609; &middot; &#x2644;</span> &bull; Made with <span class="hs-heart" style="color:var(--rose);">&#x2665;</span> by Lemurs.
</footer>
</div>
<script src="../../assets/hs-matrix-coderain.js?v=2.12.0" defer></script>
<script src="../math-manifest-data.js?v=2.12.0"></script>
<script src="../math-app.js?v=2.12.0"></script>
<script src="../../assets/hs-matrix-coderain.js?v=2.13.0" defer></script>
<script src="../math-manifest-data.js?v=2.13.0"></script>
<script src="../math-app.js?v=2.13.0"></script>
<aside id="hsGuileReplDrawer" class="hs-plate-g3" aria-label="In-Browser Polyglot Guile Scheme, TypeScript, and Rust Hardened REPL">
<div style="display:flex;justify-content:space-between;align-items:center;gap:0.5rem;margin-bottom:0.45rem;">
<div style="font-size:0.73rem;font-weight:700;color:var(--cyan);">&lambda; 4-RING HARDENED POLYGLOT REPL (GUILE • TS • RUST • ZERO EVAL)</div>
@@ -92,6 +92,6 @@
<pre id="hsGuileReplOutput" style="margin-top:0.4rem;background:var(--bg-void);border:1px solid var(--border);padding:0.5rem;font-size:0.71rem;color:var(--emerald);max-height:150px;overflow-y:auto;white-space:pre-wrap;">polyglot&gt; Ready (4-Ring Zero-Eval AST Sandbox). Select [λ GUILE | TS | RS | ≡ ALL 3] or click Evaluate (λ).</pre>
</div>
</aside>
<script src="../../assets/hs-guile-scheme-repl.js?v=2.12.0"></script>
<script src="../../assets/hs-guile-scheme-repl.js?v=2.13.0"></script>
</body>
</html>
+8 -8
View File
@@ -3,8 +3,8 @@
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Mathematical Foundations &amp; Quantitative Semiotics Hub — hyperstitionstud.io/math (v2.12.0)</title>
<link rel="stylesheet" href="../assets/hs-group3-basalt-chamfer.css?v=2.12.0" />
<title>Mathematical Foundations &amp; Quantitative Semiotics Hub — hyperstitionstud.io/math (v2.13.0)</title>
<link rel="stylesheet" href="../assets/hs-group3-basalt-chamfer.css?v=2.13.0" />
<style>
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'DejaVu Sans Mono', ui-monospace, monospace; padding: 1.25rem; line-height: 1.5; }
@@ -25,7 +25,7 @@
<header>
<div>
<h1>HYPERSTITION STUDIO // MATHEMATICAL FOUNDATIONS &amp; QUANTITATIVE SEMIOTICS HUB (UNIT M0)</h1>
<p class="subtitle">Zero-CDN Native Unicode Math &bull; Commutative Empirical Introspection &bull; Piecewise &amp; Non-Sequentially Revertible &bull; urn:io:hyperstitionstud:math:v2.12.0 <span class="hs-sigil-seal" aria-hidden="true">[ &#x269A; &middot; &#x263F; &middot; &#x260D; &middot; &#x2609; ]</span></p>
<p class="subtitle">Zero-CDN Native Unicode Math &bull; Commutative Empirical Introspection &bull; Piecewise &amp; Non-Sequentially Revertible &bull; urn:io:hyperstitionstud:math:v2.13.0 <span class="hs-sigil-seal" aria-hidden="true">[ &#x269A; &middot; &#x263F; &middot; &#x260D; &middot; &#x2609; ]</span></p>
</div>
<nav class="top-nav">
<a class="btn" href="../index.html">Portal Home (/)</a>
@@ -59,12 +59,12 @@ Z = lambda f: (lambda x: f(lambda *a: x(x)(*a)))(lambda x: f(lambda *a: x(x)(*a)
</section>
<footer>
hyperstitionstud.io/math v2.12.0 &bull; CIDv1: <code>baguqeeraq7uejpzp46zjm6wuxrafilp7rp2...</code> &bull; <span class="hs-sigil-colophon" aria-hidden="true">&#x269A; &middot; &#x263F; &middot; &#x260D; &middot; &#x2609; &middot; &#x2644;</span> &bull; Made with <span class="hs-heart" style="color:var(--rose);">&#x2665;</span> by Lemurs.
hyperstitionstud.io/math v2.13.0 &bull; CIDv1: <code>baguqeeraydkixdw7qppenlllut53khkooic...</code> &bull; <span class="hs-sigil-colophon" aria-hidden="true">&#x269A; &middot; &#x263F; &middot; &#x260D; &middot; &#x2609; &middot; &#x2644;</span> &bull; Made with <span class="hs-heart" style="color:var(--rose);">&#x2665;</span> by Lemurs.
</footer>
</div>
<script src="../assets/hs-matrix-coderain.js?v=2.12.0" defer></script>
<script src="math-manifest-data.js?v=2.12.0"></script>
<script src="math-app.js?v=2.12.0"></script>
<script src="../assets/hs-matrix-coderain.js?v=2.13.0" defer></script>
<script src="math-manifest-data.js?v=2.13.0"></script>
<script src="math-app.js?v=2.13.0"></script>
<aside id="hsGuileReplDrawer" class="hs-plate-g3" aria-label="In-Browser Polyglot Guile Scheme, TypeScript, and Rust Hardened REPL">
<div style="display:flex;justify-content:space-between;align-items:center;gap:0.5rem;margin-bottom:0.45rem;">
<div style="font-size:0.73rem;font-weight:700;color:var(--cyan);">&lambda; 4-RING HARDENED POLYGLOT REPL (GUILE • TS • RUST • ZERO EVAL)</div>
@@ -102,6 +102,6 @@ Z = lambda f: (lambda x: f(lambda *a: x(x)(*a)))(lambda x: f(lambda *a: x(x)(*a)
<pre id="hsGuileReplOutput" style="margin-top:0.4rem;background:var(--bg-void);border:1px solid var(--border);padding:0.5rem;font-size:0.71rem;color:var(--emerald);max-height:150px;overflow-y:auto;white-space:pre-wrap;">polyglot&gt; Ready (4-Ring Zero-Eval AST Sandbox). Select [λ GUILE | TS | RS | ≡ ALL 3] or click Evaluate (λ).</pre>
</div>
</aside>
<script src="../assets/hs-guile-scheme-repl.js?v=2.12.0"></script>
<script src="../assets/hs-guile-scheme-repl.js?v=2.13.0"></script>
</body>
</html>
@@ -3,8 +3,8 @@
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Unit M5: Macroeconomic Spread/Velocity Identities, Discrete 3-State Bayes' Rule & Multiple-Testing Bounds — hyperstitionstud.io/math (v2.12.0)</title>
<link rel="stylesheet" href="../../assets/hs-group3-basalt-chamfer.css?v=2.12.0" />
<title>Unit M5: Macroeconomic Spread/Velocity Identities, Discrete 3-State Bayes' Rule & Multiple-Testing Bounds — hyperstitionstud.io/math (v2.13.0)</title>
<link rel="stylesheet" href="../../assets/hs-group3-basalt-chamfer.css?v=2.13.0" />
<style>
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'DejaVu Sans Mono', ui-monospace, monospace; padding: 1.25rem; line-height: 1.5; }
@@ -22,7 +22,7 @@
<header>
<div>
<h1>Unit M5: Macroeconomic Spread/Velocity Identities, Discrete 3-State Bayes' Rule & Multiple-Testing Bounds</h1>
<p class="subtitle">Cartridge M5 &bull; Non-Sequentially Revertible via <code>hs-math-docs --disable macro-spreads-and-bayesian-inference</code> &bull; v2.12.0 <span class="hs-sigil-seal" aria-hidden="true">[ &#x269A; &middot; &#x263F; &middot; &#x260D; &middot; &#x2609; ]</span></p>
<p class="subtitle">Cartridge M5 &bull; Non-Sequentially Revertible via <code>hs-math-docs --disable macro-spreads-and-bayesian-inference</code> &bull; v2.13.0 <span class="hs-sigil-seal" aria-hidden="true">[ &#x269A; &middot; &#x263F; &middot; &#x260D; &middot; &#x2609; ]</span></p>
</div>
<nav class="top-nav">
<a class="btn" href="../../index.html">Portal Home (/)</a>
@@ -49,12 +49,12 @@
</div>
<footer>
hyperstitionstud.io/math/macro-spreads-and-bayesian-inference v2.12.0 &bull; <span class="hs-sigil-colophon" aria-hidden="true">&#x269A; &middot; &#x263F; &middot; &#x260D; &middot; &#x2609; &middot; &#x2644;</span> &bull; Made with <span class="hs-heart" style="color:var(--rose);">&#x2665;</span> by Lemurs.
hyperstitionstud.io/math/macro-spreads-and-bayesian-inference v2.13.0 &bull; <span class="hs-sigil-colophon" aria-hidden="true">&#x269A; &middot; &#x263F; &middot; &#x260D; &middot; &#x2609; &middot; &#x2644;</span> &bull; Made with <span class="hs-heart" style="color:var(--rose);">&#x2665;</span> by Lemurs.
</footer>
</div>
<script src="../../assets/hs-matrix-coderain.js?v=2.12.0" defer></script>
<script src="../math-manifest-data.js?v=2.12.0"></script>
<script src="../math-app.js?v=2.12.0"></script>
<script src="../../assets/hs-matrix-coderain.js?v=2.13.0" defer></script>
<script src="../math-manifest-data.js?v=2.13.0"></script>
<script src="../math-app.js?v=2.13.0"></script>
<aside id="hsGuileReplDrawer" class="hs-plate-g3" aria-label="In-Browser Polyglot Guile Scheme, TypeScript, and Rust Hardened REPL">
<div style="display:flex;justify-content:space-between;align-items:center;gap:0.5rem;margin-bottom:0.45rem;">
<div style="font-size:0.73rem;font-weight:700;color:var(--cyan);">&lambda; 4-RING HARDENED POLYGLOT REPL (GUILE • TS • RUST • ZERO EVAL)</div>
@@ -92,6 +92,6 @@
<pre id="hsGuileReplOutput" style="margin-top:0.4rem;background:var(--bg-void);border:1px solid var(--border);padding:0.5rem;font-size:0.71rem;color:var(--emerald);max-height:150px;overflow-y:auto;white-space:pre-wrap;">polyglot&gt; Ready (4-Ring Zero-Eval AST Sandbox). Select [λ GUILE | TS | RS | ≡ ALL 3] or click Evaluate (λ).</pre>
</div>
</aside>
<script src="../../assets/hs-guile-scheme-repl.js?v=2.12.0"></script>
<script src="../../assets/hs-guile-scheme-repl.js?v=2.13.0"></script>
</body>
</html>
+1 -1
View File
@@ -1 +1 @@
window.HYPERSTITION_MATH_MANIFEST = {"$id": "urn:io:hyperstitionstud:math-manifest", "version": "2.12.0", "enabled_subpages": ["base36-algebra-and-primes", "phonemic-projections-and-g-vectors", "graph-topology-and-eti-scoring", "timeseries-moments-and-confluence-dose", "macro-spreads-and-bayesian-inference"], "disabled_subpages": [], "enabled_routes": ["/math/index.html", "/math/base36-algebra-and-primes/index.html", "/math/phonemic-projections-and-g-vectors/index.html", "/math/graph-topology-and-eti-scoring/index.html", "/math/timeseries-moments-and-confluence-dose/index.html", "/math/macro-spreads-and-bayesian-inference/index.html"], "algebraic_invariants": {"eti_weights": [0.2, 0.18, 0.18, 0.16, 0.14, 0.14], "eti_weights_sum": 1.0, "bayesian_posterior_simplex_sum": 1.0, "cluster_292_gen0_variance": 310.22, "cluster_292_gen1_variance": 0.0, "g4_isometric_fixed_point_count": 21, "g3_quantized_steps": [0, 1, 10, 18, 20, 36, 37, 40, 74], "repdigit_37_attractors": [111, 222, 333, 444, 555, 666, 777, 888, 999]}, "empirical_counts": {"glossary_entries": 282, "bilingual_specimens": 190, "kg_nodes": 388, "kg_edges": 1282, "total_real_bars_n": 472, "fred_macro_series_n": 14}, "hub_prereq_ladder": {"unit_id": "M0", "expertise_level": "Level 1-2 (High-School Algebra & Sigma Notation • 3-6 hrs study)", "links": [{"label": "Internal: Self-Paced Learning Track (/learn/ Modules 1-2)", "url": "/learn/index.html", "external": false}, {"label": "Khan Academy — Algebra & Summation (Σ) Notation", "url": "https://www.khanacademy.org/math/algebra", "external": true}, {"label": "OpenStax Precalculus (Free Peer-Reviewed Textbook, Ch. 1 & 9)", "url": "https://openstax.org/details/books/precalculus-2e", "external": true}, {"label": "Structure and Interpretation of Computer Programs (SICP — Free MIT Text)", "url": "https://sarabander.github.io/sicp/", "external": true}, {"label": "GNU Guile Scheme Official Reference Manual", "url": "https://www.gnu.org/software/guile/manual/", "external": true}]}, "subpages": {"base36-algebra-and-primes": {"unit_id": "M1", "slug": "base36-algebra-and-primes", "title": "Unit M1: Base-36 Alphanumeric Valuation, Repdigit 37×3k Attractors & Prime Index π(n)", "short_title": "M1: Base-36 & Primes", "pip_class": "plate-lock-gold", "expertise_level": "Level 2: Elementary Number Theory & Base Systems (8-12 hrs study)", "prerequisites": ["Positional numeral systems and non-decimal radices (Base-10 vs. Base-36)", "Fundamental Theorem of Arithmetic (111 = 3 × 37) and prime-counting function π(n)", "Additive string homomorphisms AQ(u · v) = AQ(u) + AQ(v) over character monoids"], "public_resources": [{"label": "Internal: /learn/ Module 1 (Base-36 Valuation Table)", "url": "/learn/index.html", "external": false}, {"label": "Khan Academy — Cryptography & Modular Arithmetic", "url": "https://www.khanacademy.org/computing/computer-science/cryptography", "external": true}, {"label": "MIT 6.042J Mathematics for Computer Science (Ch. 8 Number Theory)", "url": "https://ocw.mit.edu/courses/6-042j-mathematics-for-computer-science-fall-2010/", "external": true}, {"label": "3Blue1Brown — Prime Numbers & Number Theory Visualized", "url": "https://www.3blue1brown.com/topics/number-theory", "external": true}], "sections": [{"heading": "1. The Base-36 Alphanumeric Homomorphism v: {0..9, A..Z} → {0..35}", "body": "For any character c, v(c) = ord(c) - 48 for digits '0'..'9' (0..9), v(c) = ord(lower(c)) - 87 for ASCII letters 'A'..'Z' (10..35), and v(c) = 0 otherwise. Extended over a string w = c_1...c_k, AQ(w) = ∑_{i=1}^k v(c_i). Under concatenation, AQ(w_1 · w_2) = AQ(w_1) + AQ(w_2)."}, {"heading": "2. Repdigit 37 × 3k Attractors & Prime Index π(n)", "body": "Three-digit repdigits R_k = 111 · k = 3 · 37 · k ∈ {111, 222, 333, 444, 555, 666, 777, 888, 999} factor through the prime 37 (12th prime) and 3. For prime coordinates p ∈ P, prime_rank(p) = π(p) = |{q ∈ P : q ≤ p}| (e.g., π(137) = 33 for 'envideea' = 137; π(193) = 44 for 'anthropik' = 'flash krash' = 193)."}]}, "phonemic-projections-and-g-vectors": {"unit_id": "M2", "slug": "phonemic-projections-and-g-vectors", "title": "Unit M2: Phonemic Projection Φ: Σ_eng* → Σ_ing* & Genealogical Vectors G1–G6", "short_title": "M2: Phonemic Φ & G1-G6", "pip_class": "plate-lock-emerald", "expertise_level": "Level 2-3: Set Mappings, Equivalence Fibers & Descriptive Statistics (8-12 hrs study)", "prerequisites": ["Surjective mappings Φ: A → B, equivalence kernels ker(AQ ∘ Φ), and fixed points Φ(w) = w", "Population mean μ = (1/N)∑ x_i and population variance σ²(X) = (1/N)∑(x_i - μ)²", "How non-injective projection onto shared phonemic attractors collapses set variance"], "public_resources": [{"label": "OpenStax Introductory Statistics (Ch. 2 Mean & Variance)", "url": "https://openstax.org/details/books/introductory-statistics-2e", "external": true}, {"label": "StatQuest with Josh Starmer — Variance & Standard Deviation", "urlLine truncated
window.HYPERSTITION_MATH_MANIFEST = {"$id": "urn:io:hyperstitionstud:math-manifest", "version": "2.13.0", "enabled_subpages": ["base36-algebra-and-primes", "phonemic-projections-and-g-vectors", "graph-topology-and-eti-scoring", "timeseries-moments-and-confluence-dose", "macro-spreads-and-bayesian-inference"], "disabled_subpages": [], "enabled_routes": ["/math/index.html", "/math/base36-algebra-and-primes/index.html", "/math/phonemic-projections-and-g-vectors/index.html", "/math/graph-topology-and-eti-scoring/index.html", "/math/timeseries-moments-and-confluence-dose/index.html", "/math/macro-spreads-and-bayesian-inference/index.html"], "algebraic_invariants": {"eti_weights": [0.2, 0.18, 0.18, 0.16, 0.14, 0.14], "eti_weights_sum": 1.0, "bayesian_posterior_simplex_sum": 1.0, "cluster_292_gen0_variance": 310.22, "cluster_292_gen1_variance": 0.0, "g4_isometric_fixed_point_count": 21, "g3_quantized_steps": [0, 1, 10, 18, 20, 36, 37, 40, 74], "repdigit_37_attractors": [111, 222, 333, 444, 555, 666, 777, 888, 999]}, "empirical_counts": {"glossary_entries": 282, "bilingual_specimens": 190, "kg_nodes": 388, "kg_edges": 1282, "total_real_bars_n": 472, "fred_macro_series_n": 14}, "hub_prereq_ladder": {"unit_id": "M0", "expertise_level": "Level 1-2 (High-School Algebra & Sigma Notation • 3-6 hrs study)", "links": [{"label": "Internal: Self-Paced Learning Track (/learn/ Modules 1-2)", "url": "/learn/index.html", "external": false}, {"label": "Khan Academy — Algebra & Summation (Σ) Notation", "url": "https://www.khanacademy.org/math/algebra", "external": true}, {"label": "OpenStax Precalculus (Free Peer-Reviewed Textbook, Ch. 1 & 9)", "url": "https://openstax.org/details/books/precalculus-2e", "external": true}, {"label": "Structure and Interpretation of Computer Programs (SICP — Free MIT Text)", "url": "https://sarabander.github.io/sicp/", "external": true}, {"label": "GNU Guile Scheme Official Reference Manual", "url": "https://www.gnu.org/software/guile/manual/", "external": true}]}, "subpages": {"base36-algebra-and-primes": {"unit_id": "M1", "slug": "base36-algebra-and-primes", "title": "Unit M1: Base-36 Alphanumeric Valuation, Repdigit 37×3k Attractors & Prime Index π(n)", "short_title": "M1: Base-36 & Primes", "pip_class": "plate-lock-gold", "expertise_level": "Level 2: Elementary Number Theory & Base Systems (8-12 hrs study)", "prerequisites": ["Positional numeral systems and non-decimal radices (Base-10 vs. Base-36)", "Fundamental Theorem of Arithmetic (111 = 3 × 37) and prime-counting function π(n)", "Additive string homomorphisms AQ(u · v) = AQ(u) + AQ(v) over character monoids"], "public_resources": [{"label": "Internal: /learn/ Module 1 (Base-36 Valuation Table)", "url": "/learn/index.html", "external": false}, {"label": "Khan Academy — Cryptography & Modular Arithmetic", "url": "https://www.khanacademy.org/computing/computer-science/cryptography", "external": true}, {"label": "MIT 6.042J Mathematics for Computer Science (Ch. 8 Number Theory)", "url": "https://ocw.mit.edu/courses/6-042j-mathematics-for-computer-science-fall-2010/", "external": true}, {"label": "3Blue1Brown — Prime Numbers & Number Theory Visualized", "url": "https://www.3blue1brown.com/topics/number-theory", "external": true}], "sections": [{"heading": "1. The Base-36 Alphanumeric Homomorphism v: {0..9, A..Z} → {0..35}", "body": "For any character c, v(c) = ord(c) - 48 for digits '0'..'9' (0..9), v(c) = ord(lower(c)) - 87 for ASCII letters 'A'..'Z' (10..35), and v(c) = 0 otherwise. Extended over a string w = c_1...c_k, AQ(w) = ∑_{i=1}^k v(c_i). Under concatenation, AQ(w_1 · w_2) = AQ(w_1) + AQ(w_2)."}, {"heading": "2. Repdigit 37 × 3k Attractors & Prime Index π(n)", "body": "Three-digit repdigits R_k = 111 · k = 3 · 37 · k ∈ {111, 222, 333, 444, 555, 666, 777, 888, 999} factor through the prime 37 (12th prime) and 3. For prime coordinates p ∈ P, prime_rank(p) = π(p) = |{q ∈ P : q ≤ p}| (e.g., π(137) = 33 for 'envideea' = 137; π(193) = 44 for 'anthropik' = 'flash krash' = 193)."}]}, "phonemic-projections-and-g-vectors": {"unit_id": "M2", "slug": "phonemic-projections-and-g-vectors", "title": "Unit M2: Phonemic Projection Φ: Σ_eng* → Σ_ing* & Genealogical Vectors G1–G6", "short_title": "M2: Phonemic Φ & G1-G6", "pip_class": "plate-lock-emerald", "expertise_level": "Level 2-3: Set Mappings, Equivalence Fibers & Descriptive Statistics (8-12 hrs study)", "prerequisites": ["Surjective mappings Φ: A → B, equivalence kernels ker(AQ ∘ Φ), and fixed points Φ(w) = w", "Population mean μ = (1/N)∑ x_i and population variance σ²(X) = (1/N)∑(x_i - μ)²", "How non-injective projection onto shared phonemic attractors collapses set variance"], "public_resources": [{"label": "OpenStax Introductory Statistics (Ch. 2 Mean & Variance)", "url": "https://openstax.org/details/books/introductory-statistics-2e", "external": true}, {"label": "StatQuest with Josh Starmer — Variance & Standard Deviation", "urlLine truncated
+2 -2
View File
@@ -1,6 +1,6 @@
{
"$id": "urn:io:hyperstitionstud:math-manifest",
"version": "2.12.0",
"version": "2.13.0",
"enabled_subpages": [
"base36-algebra-and-primes",
"phonemic-projections-and-g-vectors",
@@ -301,6 +301,6 @@
}
},
"ipld_dag_json_cidv1": {
"/": "baguqeeraq7uejpzp46zjm6wuxrafilp7rp2h3ya7fbpxmd2lhf2nalq2swba"
"/": "baguqeeraydkixdw7qppenlllut53khkooicqvpsjynrcgsuxm7ak6nblsola"
}
}
@@ -3,8 +3,8 @@
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Unit M2: Phonemic Projection Φ: Σ_eng* → Σ_ing* & Genealogical Vectors G1–G6 — hyperstitionstud.io/math (v2.12.0)</title>
<link rel="stylesheet" href="../../assets/hs-group3-basalt-chamfer.css?v=2.12.0" />
<title>Unit M2: Phonemic Projection Φ: Σ_eng* → Σ_ing* & Genealogical Vectors G1–G6 — hyperstitionstud.io/math (v2.13.0)</title>
<link rel="stylesheet" href="../../assets/hs-group3-basalt-chamfer.css?v=2.13.0" />
<style>
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'DejaVu Sans Mono', ui-monospace, monospace; padding: 1.25rem; line-height: 1.5; }
@@ -22,7 +22,7 @@
<header>
<div>
<h1>Unit M2: Phonemic Projection Φ: Σ_eng* → Σ_ing* & Genealogical Vectors G1–G6</h1>
<p class="subtitle">Cartridge M2 &bull; Non-Sequentially Revertible via <code>hs-math-docs --disable phonemic-projections-and-g-vectors</code> &bull; v2.12.0 <span class="hs-sigil-seal" aria-hidden="true">[ &#x269A; &middot; &#x263F; &middot; &#x260D; &middot; &#x2609; ]</span></p>
<p class="subtitle">Cartridge M2 &bull; Non-Sequentially Revertible via <code>hs-math-docs --disable phonemic-projections-and-g-vectors</code> &bull; v2.13.0 <span class="hs-sigil-seal" aria-hidden="true">[ &#x269A; &middot; &#x263F; &middot; &#x260D; &middot; &#x2609; ]</span></p>
</div>
<nav class="top-nav">
<a class="btn" href="../../index.html">Portal Home (/)</a>
@@ -49,12 +49,12 @@
</div>
<footer>
hyperstitionstud.io/math/phonemic-projections-and-g-vectors v2.12.0 &bull; <span class="hs-sigil-colophon" aria-hidden="true">&#x269A; &middot; &#x263F; &middot; &#x260D; &middot; &#x2609; &middot; &#x2644;</span> &bull; Made with <span class="hs-heart" style="color:var(--rose);">&#x2665;</span> by Lemurs.
hyperstitionstud.io/math/phonemic-projections-and-g-vectors v2.13.0 &bull; <span class="hs-sigil-colophon" aria-hidden="true">&#x269A; &middot; &#x263F; &middot; &#x260D; &middot; &#x2609; &middot; &#x2644;</span> &bull; Made with <span class="hs-heart" style="color:var(--rose);">&#x2665;</span> by Lemurs.
</footer>
</div>
<script src="../../assets/hs-matrix-coderain.js?v=2.12.0" defer></script>
<script src="../math-manifest-data.js?v=2.12.0"></script>
<script src="../math-app.js?v=2.12.0"></script>
<script src="../../assets/hs-matrix-coderain.js?v=2.13.0" defer></script>
<script src="../math-manifest-data.js?v=2.13.0"></script>
<script src="../math-app.js?v=2.13.0"></script>
<aside id="hsGuileReplDrawer" class="hs-plate-g3" aria-label="In-Browser Polyglot Guile Scheme, TypeScript, and Rust Hardened REPL">
<div style="display:flex;justify-content:space-between;align-items:center;gap:0.5rem;margin-bottom:0.45rem;">
<div style="font-size:0.73rem;font-weight:700;color:var(--cyan);">&lambda; 4-RING HARDENED POLYGLOT REPL (GUILE • TS • RUST • ZERO EVAL)</div>
@@ -92,6 +92,6 @@
<pre id="hsGuileReplOutput" style="margin-top:0.4rem;background:var(--bg-void);border:1px solid var(--border);padding:0.5rem;font-size:0.71rem;color:var(--emerald);max-height:150px;overflow-y:auto;white-space:pre-wrap;">polyglot&gt; Ready (4-Ring Zero-Eval AST Sandbox). Select [λ GUILE | TS | RS | ≡ ALL 3] or click Evaluate (λ).</pre>
</div>
</aside>
<script src="../../assets/hs-guile-scheme-repl.js?v=2.12.0"></script>
<script src="../../assets/hs-guile-scheme-repl.js?v=2.13.0"></script>
</body>
</html>
@@ -3,8 +3,8 @@
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Unit M4: Longitudinal Moments (ts_*), Lead-Lag r(τ), Order Statistics (P50, P90) & Confluence Dose D ∈ {0..4} — hyperstitionstud.io/math (v2.12.0)</title>
<link rel="stylesheet" href="../../assets/hs-group3-basalt-chamfer.css?v=2.12.0" />
<title>Unit M4: Longitudinal Moments (ts_*), Lead-Lag r(τ), Order Statistics (P50, P90) & Confluence Dose D ∈ {0..4} — hyperstitionstud.io/math (v2.13.0)</title>
<link rel="stylesheet" href="../../assets/hs-group3-basalt-chamfer.css?v=2.13.0" />
<style>
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'DejaVu Sans Mono', ui-monospace, monospace; padding: 1.25rem; line-height: 1.5; }
@@ -22,7 +22,7 @@
<header>
<div>
<h1>Unit M4: Longitudinal Moments (ts_*), Lead-Lag r(τ), Order Statistics (P50, P90) & Confluence Dose D ∈ {0..4}</h1>
<p class="subtitle">Cartridge M4 &bull; Non-Sequentially Revertible via <code>hs-math-docs --disable timeseries-moments-and-confluence-dose</code> &bull; v2.12.0 <span class="hs-sigil-seal" aria-hidden="true">[ &#x269A; &middot; &#x263F; &middot; &#x260D; &middot; &#x2609; ]</span></p>
<p class="subtitle">Cartridge M4 &bull; Non-Sequentially Revertible via <code>hs-math-docs --disable timeseries-moments-and-confluence-dose</code> &bull; v2.13.0 <span class="hs-sigil-seal" aria-hidden="true">[ &#x269A; &middot; &#x263F; &middot; &#x260D; &middot; &#x2609; ]</span></p>
</div>
<nav class="top-nav">
<a class="btn" href="../../index.html">Portal Home (/)</a>
@@ -49,12 +49,12 @@
</div>
<footer>
hyperstitionstud.io/math/timeseries-moments-and-confluence-dose v2.12.0 &bull; <span class="hs-sigil-colophon" aria-hidden="true">&#x269A; &middot; &#x263F; &middot; &#x260D; &middot; &#x2609; &middot; &#x2644;</span> &bull; Made with <span class="hs-heart" style="color:var(--rose);">&#x2665;</span> by Lemurs.
hyperstitionstud.io/math/timeseries-moments-and-confluence-dose v2.13.0 &bull; <span class="hs-sigil-colophon" aria-hidden="true">&#x269A; &middot; &#x263F; &middot; &#x260D; &middot; &#x2609; &middot; &#x2644;</span> &bull; Made with <span class="hs-heart" style="color:var(--rose);">&#x2665;</span> by Lemurs.
</footer>
</div>
<script src="../../assets/hs-matrix-coderain.js?v=2.12.0" defer></script>
<script src="../math-manifest-data.js?v=2.12.0"></script>
<script src="../math-app.js?v=2.12.0"></script>
<script src="../../assets/hs-matrix-coderain.js?v=2.13.0" defer></script>
<script src="../math-manifest-data.js?v=2.13.0"></script>
<script src="../math-app.js?v=2.13.0"></script>
<aside id="hsGuileReplDrawer" class="hs-plate-g3" aria-label="In-Browser Polyglot Guile Scheme, TypeScript, and Rust Hardened REPL">
<div style="display:flex;justify-content:space-between;align-items:center;gap:0.5rem;margin-bottom:0.45rem;">
<div style="font-size:0.73rem;font-weight:700;color:var(--cyan);">&lambda; 4-RING HARDENED POLYGLOT REPL (GUILE • TS • RUST • ZERO EVAL)</div>
@@ -92,6 +92,6 @@
<pre id="hsGuileReplOutput" style="margin-top:0.4rem;background:var(--bg-void);border:1px solid var(--border);padding:0.5rem;font-size:0.71rem;color:var(--emerald);max-height:150px;overflow-y:auto;white-space:pre-wrap;">polyglot&gt; Ready (4-Ring Zero-Eval AST Sandbox). Select [λ GUILE | TS | RS | ≡ ALL 3] or click Evaluate (λ).</pre>
</div>
</aside>
<script src="../../assets/hs-guile-scheme-repl.js?v=2.12.0"></script>
<script src="../../assets/hs-guile-scheme-repl.js?v=2.13.0"></script>
</body>
</html>
+9 -9
View File
@@ -4,7 +4,7 @@
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Quantitative Finance &amp; Memetic Gematria Time-Series Workbench — hyperstitionstud.io/quant</title>
<link rel="stylesheet" href="../assets/hs-group3-basalt-chamfer.css?v=2.12.0" />
<link rel="stylesheet" href="../assets/hs-group3-basalt-chamfer.css?v=2.13.0" />
<style>
:root {
--bg-canvas: #020617;
@@ -316,14 +316,14 @@
padding-top: 1rem;
}
</style>
<script src="quant-timeseries-data.js?v=2.12.0"></script>
<script src="quant-timeseries-data.js?v=2.13.0"></script>
</head>
<body>
<div class="container">
<header>
<div>
<h1>hyperstitionstud.io/quant — Quantitative Finance &amp; Memetic Gematria Time-Series Workbench</h1>
<p class="subtitle">Strictly Periodic Telemetry (21:30 UTC US Closing Bell &times; 00:00 UTC News-Wire Dossiers &bull; 24 Watchlist Instruments &bull; 14 FRED Macro Series) &bull; Lens-Neutral Schema (urn:io:hyperstitionstud:quant-timeseries:v2.12.0) <span class="hs-sigil-seal" aria-hidden="true">[ &#x269A; &middot; &#x263F; &middot; &#x260D; &middot; &#x2609; ]</span></p>
<p class="subtitle">Strictly Periodic Telemetry (21:30 UTC US Closing Bell &times; 00:00 UTC News-Wire Dossiers &bull; 24 Watchlist Instruments &bull; 14 FRED Macro Series) &bull; Lens-Neutral Schema (urn:io:hyperstitionstud:quant-timeseries:v2.13.0) <span class="hs-sigil-seal" aria-hidden="true">[ &#x269A; &middot; &#x263F; &middot; &#x260D; &middot; &#x2609; ]</span></p>
</div>
<nav class="top-nav">
<a class="btn" id="navHome" href="/">Portal Home (/)</a>
@@ -474,13 +474,13 @@
<div id="tutUiElementIndicator" role="status" aria-live="polite"></div>
<footer>
hyperstitionstud.io/quant v2.12.0 &bull; <span class="hs-sigil-colophon" aria-hidden="true">&#x269A; &middot; &#x263F; &middot; &#x260D; &middot; &#x2609; &middot; &#x2644;</span> &bull; Made with <span class="hs-heart" style="color:#ff4d4d;">&#x2665;</span> by Lemurs.
hyperstitionstud.io/quant v2.13.0 &bull; <span class="hs-sigil-colophon" aria-hidden="true">&#x269A; &middot; &#x263F; &middot; &#x260D; &middot; &#x2609; &middot; &#x2644;</span> &bull; Made with <span class="hs-heart" style="color:#ff4d4d;">&#x2665;</span> by Lemurs.
</footer>
</div>
<script src="../assets/hs-matrix-coderain.js?v=2.12.0" defer></script>
<script src="real-macro-indicators-data.js?v=2.12.0"></script>
<script src="daily-brief-data.js?v=2.12.0"></script>
<script src="quant-app.js?v=2.12.0"></script>
<script src="quant-tutorials.js?v=2.12.0"></script>
<script src="../assets/hs-matrix-coderain.js?v=2.13.0" defer></script>
<script src="real-macro-indicators-data.js?v=2.13.0"></script>
<script src="daily-brief-data.js?v=2.13.0"></script>
<script src="quant-app.js?v=2.13.0"></script>
<script src="quant-tutorials.js?v=2.13.0"></script>
</body>
</html>
+1 -1
View File
@@ -1,5 +1,5 @@
// /workspace/hyperstitionstudio-core/site/quant/quant-app.js
// Interactive Quantitative Finance & Memetic Gematria Time-Series Workbench (v2.12.0)
// Interactive Quantitative Finance & Memetic Gematria Time-Series Workbench (v2.13.0)
(function () {
"use strict";
+221 -35
View File
@@ -446,8 +446,11 @@
let isPlaying = false;
let playTimer = null;
let speechEnabled = true; // Enabled by default so tour playback narrates immediately
let activeVoiceEngine = "Auto";
let cachedVoices = [];
let audioCtx = null;
let activeAudioEl = null;
let formantStopFlag = false;
function refreshVoices() {
if (typeof window === "undefined" || typeof window.speechSynthesis === "undefined") return;
@@ -517,7 +520,147 @@
}, delayMs);
}
// Strategy 1B & 3A: Synchronous unblocked window.speechSynthesis.speak() + natural-English speechText
function stopAllVoiceOutputs() {
formantStopFlag = true;
if (activeAudioEl) {
try {
activeAudioEl.pause();
activeAudioEl.currentTime = 0;
} catch (_) {}
}
if (typeof window !== "undefined" && typeof window.speechSynthesis !== "undefined") {
try {
if (window.speechSynthesis.speaking || window.speechSynthesis.pending) {
window.speechSynthesis.cancel();
}
} catch (_) {}
}
rootObj.__hsActiveUtterance = null;
}
// Tier 3 In-Browser Klatt Formant WebAudio Speech Synthesizer (for offline file:// when getVoices() === [])
function playInBrowserFormantSpeech(speechText, onFinish) {
try {
const Ctx = (typeof window !== "undefined") && (window.AudioContext || window.webkitAudioContext);
if (!Ctx) {
if (onFinish) onFinish();
return;
}
if (!audioCtx) audioCtx = new Ctx();
if (audioCtx.state === "suspended") audioCtx.resume();
formantStopFlag = false;
activeVoiceEngine = "Formant Synth";
renderTutorialUI();
const words = String(speechText || "").toLowerCase().match(/[a-z0-9]+|[.,;:!?]/g) || [];
const vowelMap = {
a: [660, 1350],
e: [510, 1880],
i: [370, 2050],
o: [520, 950],
u: [380, 1050],
y: [320, 2100]
};
let tOffset = audioCtx.currentTime + 0.04;
const maxWords = Math.min(words.length, 48);
for (let wi = 0; wi < maxWords; wi++) {
const w = words[wi];
if (w === "." || w === "!" || w === "?") {
tOffset += 0.14;
continue;
}
if (w === "," || w === ";" || w === ":") {
tOffset += 0.07;
continue;
}
const vowels = w.match(/[aeiouy]/g) || ["a"];
const f0 = 116.0 - 14.0 * ((wi % 10) / 10.0);
for (let vi = 0; vi < Math.min(vowels.length, 3); vi++) {
const vf = vowelMap[vowels[vi]] || [580, 1250];
const dur = 0.075;
const osc0 = audioCtx.createOscillator();
const osc1 = audioCtx.createOscillator();
const osc2 = audioCtx.createOscillator();
const gain = audioCtx.createGain();
osc0.type = "sawtooth";
osc1.type = "sine";
osc2.type = "sine";
osc0.frequency.setValueAtTime(f0, tOffset);
osc1.frequency.setValueAtTime(vf[0], tOffset);
osc2.frequency.setValueAtTime(vf[1], tOffset);
gain.gain.setValueAtTime(0.0001, tOffset);
gain.gain.linearRampToValueAtTime(0.045, tOffset + 0.015);
gain.gain.exponentialRampToValueAtTime(0.0001, tOffset + dur);
osc0.connect(gain);
osc1.connect(gain);
osc2.connect(gain);
gain.connect(audioCtx.destination);
osc0.start(tOffset);
osc1.start(tOffset);
osc2.start(tOffset);
osc0.stop(tOffset + dur + 0.01);
osc1.stop(tOffset + dur + 0.01);
osc2.stop(tOffset + dur + 0.01);
tOffset += dur;
}
tOffset += 0.025;
}
const totalDurMs = Math.max(2500, Math.round((tOffset - audioCtx.currentTime) * 1000));
setTimeout(function () {
if (!formantStopFlag && onFinish) onFinish();
}, totalDurMs);
} catch (_) {
if (onFinish) onFinish();
}
}
// Tier 2 Deploy-Time Untracked WAV Playback (/quant/audio/ep0X-sY.wav) -> Tier 3 Formant Fallback
function playDeployTimeWavOrFormant(clipId, rawSpeech, onFinish) {
if (typeof document === "undefined" || typeof Audio === "undefined") {
playInBrowserFormantSpeech(rawSpeech, onFinish);
return;
}
try {
if (!activeAudioEl) {
activeAudioEl = document.getElementById("tutVoiceAudio");
if (!activeAudioEl) {
activeAudioEl = document.createElement("audio");
activeAudioEl.id = "tutVoiceAudio";
activeAudioEl.preload = "auto";
activeAudioEl.style.display = "none";
document.body.appendChild(activeAudioEl);
}
}
const wavUrl = "./audio/" + clipId + ".wav";
let handled = false;
const doneOnce = function () {
if (handled) return;
handled = true;
if (onFinish) onFinish();
};
activeAudioEl.onended = doneOnce;
activeAudioEl.onerror = function () {
if (handled) return;
handled = true;
playInBrowserFormantSpeech(rawSpeech, onFinish);
};
activeAudioEl.src = wavUrl;
const playPromise = activeAudioEl.play();
activeVoiceEngine = "WAV Audio";
renderTutorialUI();
if (playPromise && typeof playPromise.catch === "function") {
playPromise.catch(function () {
if (handled) return;
handled = true;
playInBrowserFormantSpeech(rawSpeech, onFinish);
});
}
} catch (_) {
playInBrowserFormantSpeech(rawSpeech, onFinish);
}
}
// Strategies 1A, 2A & 3A: Guarded cancel(), GC-pinned utterance, 250ms onstart watchdog & 3-tier fallback
function speakSubtitle(kfOrText, onDoneCallback) {
if (!speechEnabled) {
if (onDoneCallback) scheduleNextStep(7000);
@@ -526,51 +669,94 @@
const rawSpeech = (kfOrText && typeof kfOrText === "object")
? (kfOrText.speechText || cleanTextForSpeech(kfOrText.subtitle, kfOrText.uiElementLabel))
: cleanTextForSpeech(String(kfOrText || ""), "");
const clipId = "ep0" + (curEpIdx + 1) + "-s" + (curStepIdx + 1);
stopAllVoiceOutputs();
playWebAudioTelemetryChime(curStepIdx);
refreshVoices();
if (typeof window.speechSynthesis === "undefined" || typeof SpeechSynthesisUtterance === "undefined") {
if (onDoneCallback) scheduleNextStep(7500);
let settled = false;
const finishSceneSpeech = function () {
if (settled) return;
settled = true;
rootObj.__hsActiveUtterance = null;
if (onDoneCallback && isPlaying) {
scheduleNextStep(1600);
}
};
const estMs = Math.max(8500, Math.min(22000, rawSpeech.split(/\s+/).length * 410));
if (onDoneCallback && isPlaying) {
scheduleNextStep(estMs);
}
// If browser has no speechSynthesis or 0 installed OS voices (common on Linux/Fedora desktops),
// immediately play the deploy-time WAV track (or Formant Synth fallback) so voice is 100% audible!
if (
typeof window === "undefined" ||
typeof window.speechSynthesis === "undefined" ||
typeof SpeechSynthesisUtterance === "undefined" ||
cachedVoices.length === 0
) {
playDeployTimeWavOrFormant(clipId, rawSpeech, finishSceneSpeech);
return;
}
try {
window.speechSynthesis.cancel();
if (typeof window.speechSynthesis.resume === "function") {
window.speechSynthesis.resume();
}
const u = new SpeechSynthesisUtterance(rawSpeech);
if (cachedVoices.length > 0) {
const preferred = cachedVoices.find(function (v) {
return /en(-|_)(US|GB)/i.test(v.lang) && /natural|neural|google|english/i.test(v.name);
}) || cachedVoices.find(function (v) {
return /^en/i.test(v.lang);
}) || cachedVoices[0];
if (preferred) u.voice = preferred;
}
// Strategy 2A: Pin u on rootObj so Chromium/WebKit GC never collects the utterance mid-speech
rootObj.__hsActiveUtterance = u;
const preferred = cachedVoices.find(function (v) {
return /en(-|_)(US|GB)/i.test(v.lang) && /natural|neural|google|english/i.test(v.name);
}) || cachedVoices.find(function (v) {
return /^en/i.test(v.lang);
}) || cachedVoices[0];
if (preferred) u.voice = preferred;
u.lang = "en-US";
u.rate = 1.03;
u.pitch = 1.0;
u.volume = 1.0;
let settled = false;
const finish = function () {
if (settled) return;
settled = true;
if (onDoneCallback && isPlaying) {
scheduleNextStep(1800);
}
let speechStarted = false;
let fallbackTriggered = false;
const triggerFallback = function () {
if (fallbackTriggered || settled || !speechEnabled) return;
fallbackTriggered = true;
try {
if (window.speechSynthesis.speaking || window.speechSynthesis.pending) {
window.speechSynthesis.cancel();
}
} catch (_) {}
playDeployTimeWavOrFormant(clipId, rawSpeech, finishSceneSpeech);
};
u.onend = finish;
u.onerror = finish;
// Call speak(u) synchronously without blocking on cachedVoices.length === 0 or setTimeout
u.onstart = function () {
speechStarted = true;
activeVoiceEngine = "WebSpeech";
renderTutorialUI();
};
u.onend = function () {
if (!fallbackTriggered) finishSceneSpeech();
};
u.onerror = function () {
if (!speechStarted) triggerFallback();
else finishSceneSpeech();
};
window.speechSynthesis.speak(u);
const estMs = Math.max(8500, Math.min(22000, rawSpeech.split(/\s+/).length * 410));
if (onDoneCallback && isPlaying) {
scheduleNextStep(estMs);
}
// Strategy 2A: 250ms hardware watchdog — if OS speech-dispatcher socket is hung and onstart never fires,
// automatically switch to deploy-time WAV / WebAudio formant synth so the user always hears the narration!
setTimeout(function () {
if (!speechStarted && !settled && speechEnabled) {
triggerFallback();
}
}, 250);
} catch (_) {
if (onDoneCallback) scheduleNextStep(7500);
playDeployTimeWavOrFormant(clipId, rawSpeech, finishSceneSpeech);
}
}
@@ -691,9 +877,7 @@
clearTimeout(playTimer);
playTimer = null;
}
if (typeof window.speechSynthesis !== "undefined") {
try { window.speechSynthesis.cancel(); } catch (_) {}
}
stopAllVoiceOutputs();
renderTutorialUI();
}
@@ -731,9 +915,13 @@
if (speechBtn) {
speechBtn.textContent = speechEnabled ? "\uD83D\uDD0A Voice: ON" : "\uD83D\uDD07 Voice: OFF";
speechBtn.className = speechEnabled ? "btn primary" : "btn";
speechBtn.title = speechEnabled
? ("Active Voice Engine: " + activeVoiceEngine + " (Click to mute)")
: "Voice Narration Muted (Click to enable spoken narration)";
}
if (stepBadge) {
stepBadge.textContent = ep.code + " \u2022 Scene " + (curStepIdx + 1) + "/" + ep.keyframes.length + (kf.uiElementLabel ? " \u2022 [" + kf.uiElementLabel + "]" : "");
const voxTag = speechEnabled ? (" \u2022 \uD83D\uDD0A " + activeVoiceEngine) : "";
stepBadge.textContent = ep.code + " \u2022 Scene " + (curStepIdx + 1) + "/" + ep.keyframes.length + voxTag + (kf.uiElementLabel ? " \u2022 [" + kf.uiElementLabel + "]" : "");
}
if (scrubber) {
scrubber.max = String(ep.keyframes.length - 1);
@@ -784,9 +972,7 @@
speechBtn.onclick = function () {
speechEnabled = !speechEnabled;
if (speechEnabled) speakSubtitle(getActiveKeyframe(), isPlaying);
else if (typeof window.speechSynthesis !== "undefined") {
try { window.speechSynthesis.cancel(); } catch (_) {}
}
else stopAllVoiceOutputs();
renderTutorialUI();
};
}
@@ -806,7 +992,7 @@
}
const exportedApi = {
version: "2.12.0",
version: "2.13.0",
episodes: EPISODES,
allHighlightableDomIds: ALL_HIGHLIGHTABLE_DOM_IDS,
cleanTextForSpeech: cleanTextForSpeech,
+2 -2
View File
@@ -1,3 +1,3 @@
"""hyperstitionstud_io — Shared Common Library for the hyperstitionstud.io workspace (v2.12.0)."""
__version__ = "2.12.0"
"""hyperstitionstud_io — Shared Common Library for the hyperstitionstud.io workspace (v2.13.0)."""
__version__ = "2.13.0"
NAMESPACE_URN = "urn:io:hyperstitionstud"
+2 -2
View File
@@ -39,8 +39,8 @@ from hyperstitionstud_io.mcp.tools import MCP_TOOLS_SCHEMA, call_mcp_tool # noq
SERVER_INFO = {
"name": "hyperstitionstudio-mcp",
"version": "2.12.0",
"namespace_urn": "urn:io:hyperstitionstud:mcp:2.12.0",
"version": "2.13.0",
"namespace_urn": "urn:io:hyperstitionstud:mcp:2.13.0",
}
@@ -0,0 +1,316 @@
#!/usr/bin/env python3
"""
hyperstitionstud_io.publishing.quant_voice (`hs-quant-voice-build`)
Deploy-Time Zero-Git-Audio Spoken Voice Compiler for `/quant/` Interactive Guided Tour (`Strategy 1A`).
Generates `.gitignore`d `.wav` speech tracks (`ep01-s1.wav .. ep05-s5.wav` + `voice-manifest.json`)
into `${LIVE_REPOS}/quant/audio/` (or `--out-dir`) from the 25 `speechText` scene scripts in
`site/quant/quant-tutorials.js`, keeping `0` audio files in Git source control:
- Tier 1: Uses `espeak-ng` or `espeak` (`-v en-us -s 168 -w <out.wav>`) when installed on the host/VPS.
- Tier 2: Pure-Python Klatt Formant / Articulatory `.wav` synthesizer driven by the bundled offline
CMUdict (`phonetics.translate_batch`) so valid, audible `.wav` tracks are always produced even in
minimal container environments without `espeak-ng`.
"""
from __future__ import annotations
import argparse
import hashlib
import json
import math
import re
import shutil
import struct
import subprocess
import wave
from pathlib import Path
from typing import Any
from hyperstitionstud_io import __version__ as CURRENT_VERSION
from hyperstitionstud_io.config import load_workspace_config
from hyperstitionstud_io.glossary import ReadOnlyIsolationGuard
from hyperstitionstud_io.phonetics import translate_batch
# Peterson & Barney (1952) / Klatt (1980) Vowel & Diphthong Formant Targets (F1, F2, F3 in Hz, duration_s)
_FORMANT_TABLE: dict[str, tuple[float, float, float, float]] = {
"aa": (730.0, 1090.0, 2440.0, 0.085),
"ae": (660.0, 1720.0, 2410.0, 0.080),
"ah": (640.0, 1190.0, 2390.0, 0.075),
"ao": (570.0, 840.0, 2410.0, 0.085),
"aw": (680.0, 1100.0, 2400.0, 0.095),
"ay": (700.0, 1550.0, 2420.0, 0.095),
"eh": (530.0, 1840.0, 2480.0, 0.075),
"er": (490.0, 1350.0, 1690.0, 0.085),
"ey": (450.0, 2100.0, 2600.0, 0.090),
"ih": (390.0, 1990.0, 2550.0, 0.068),
"iy": (270.0, 2290.0, 3010.0, 0.082),
"oh": (490.0, 910.0, 2350.0, 0.088),
"oo": (300.0, 870.0, 2240.0, 0.085),
"oy": (520.0, 1400.0, 2400.0, 0.095),
"uh": (580.0, 1220.0, 2380.0, 0.068),
"uu": (440.0, 1020.0, 2240.0, 0.070),
"a": (640.0, 1350.0, 2400.0, 0.068),
"e": (510.0, 1880.0, 2480.0, 0.068),
"i": (370.0, 2050.0, 2600.0, 0.068),
"o": (520.0, 950.0, 2380.0, 0.072),
"u": (380.0, 1050.0, 2300.0, 0.070),
"m": (280.0, 950.0, 2200.0, 0.052),
"n": (280.0, 1450.0, 2450.0, 0.050),
"l": (360.0, 1100.0, 2650.0, 0.052),
"r": (420.0, 1300.0, 1680.0, 0.055),
"w": (310.0, 780.0, 2200.0, 0.052),
"y": (290.0, 2150.0, 2900.0, 0.052),
"v": (320.0, 1150.0, 2300.0, 0.045),
"z": (340.0, 1650.0, 2600.0, 0.048),
"b": (300.0, 1000.0, 2250.0, 0.042),
"d": (320.0, 1550.0, 2500.0, 0.042),
"g": (310.0, 1800.0, 2300.0, 0.042),
}
_FRICATIVE_SET = frozenset({"s", "sh", "f", "th", "h", "ch", "k", "p", "t"})
def extract_scene_speech_scripts(tutorials_js_path: Path) -> list[dict[str, Any]]:
"""
Extract all 25 `(ep01-s1 .. ep05-s5)` scene titles and `speechText` strings from `quant-tutorials.js`.
"""
node_bin = shutil.which("node")
if node_bin:
proc = subprocess.run(
[
node_bin,
"-e",
f"const QT = require({json.dumps(str(tutorials_js_path.resolve()))});"
"const out = [];"
"QT.episodes.forEach((ep, ei) => {"
" ep.keyframes.forEach((kf, si) => {"
" const clipId = `ep0${ei + 1}-s${si + 1}`;"
" const speech = kf.speechText || QT.cleanTextForSpeech(kf.subtitle, kf.uiElementLabel);"
" out.push({clip_id: clipId, ep_idx: ei, step_idx: si, title: kf.title, speech_text: speech});"
" });"
"});"
"process.stdout.write(JSON.stringify(out));",
],
capture_output=True,
text=True,
check=False,
)
if proc.returncode == 0 and proc.stdout.strip():
return json.loads(proc.stdout)
# Regex fallback if Node is unavailable
txt = tutorials_js_path.read_text(encoding="utf-8")
speeches = re.findall(r'speechText:\s*"([^"]+)"', txt)
titles = re.findall(r'title:\s*"(\d+\.\d+\s+[^"]+)"', txt)
out_list: list[dict[str, Any]] = []
for idx, sp in enumerate(speeches[:25]):
ei = idx // 5
si = idx % 5
out_list.append(
{
"clip_id": f"ep0{ei + 1}-s{si + 1}",
"ep_idx": ei,
"step_idx": si,
"title": titles[idx] if idx < len(titles) else f"Scene {ei + 1}.{si + 1}",
"speech_text": sp,
}
)
return out_list
def _tokenize_ingglish_phonemes(ing_word: str) -> list[str]:
tokens: list[str] = []
i = 0
s = re.sub(r"[^a-z]", "", ing_word.lower())
digraphs = ("sh", "ch", "th", "ng", "zh", "aa", "ae", "ah", "ao", "aw", "ay", "eh", "er", "ey", "ih", "iy", "oh", "oo", "oy", "uh", "uu")
while i < len(s):
if i + 1 < len(s) and s[i : i + 2] in digraphs:
tokens.append(s[i : i + 2])
i += 2
else:
tokens.append(s[i])
i += 1
return tokens or ["a"]
def synthesize_klatt_formant_wav(speech_text: str, out_wav_path: Path, sample_rate: int = 11025) -> dict[str, Any]:
"""
Pure-Python Klatt Formant / Articulatory Speech Synthesizer (Tier 2 fallback when `espeak-ng` is absent).
Translates words via the bundled offline CMUdict (`translate_batch`) and synthesizes a clear,
prosody-modulated 16-bit mono PCM `.wav` file with zero external binary dependencies.
"""
raw_words = re.findall(r"[A-Za-z0-9]+|[.,;:!?]", speech_text)
alpha_words = sorted({w.lower() for w in raw_words if w.isalpha()})
ing_map = translate_batch(alpha_words) if alpha_words else {}
samples = bytearray()
phase_f0 = 0.0
phase_f1 = 0.0
phase_f2 = 0.0
phase_f3 = 0.0
two_pi = 2.0 * math.pi
lfsr = 0xACE1
for w_idx, tok in enumerate(raw_words):
if tok in (".", "!", "?"):
n_sil = int(sample_rate * 0.14)
samples.extend(b"\x00\x00" * n_sil)
continue
if tok in (",", ";", ":"):
n_sil = int(sample_rate * 0.07)
samples.extend(b"\x00\x00" * n_sil)
continue
ing_w = ing_map.get(tok.lower(), tok.lower())
phones = _tokenize_ingglish_phonemes(ing_w)[:8]
# Prosodic pitch contour across sentence (118 Hz -> 98 Hz)
f0 = 118.0 - 16.0 * ((w_idx % 12) / 12.0)
for p_tok in phones:
if p_tok in _FORMANT_TABLE:
f1, f2, f3, dur_s = _FORMANT_TABLE[p_tok]
n_samp = max(1, int(sample_rate * dur_s * 0.62))
for s_i in range(n_samp):
env = math.sin(math.pi * (s_i / n_samp))
phase_f0 = (phase_f0 + two_pi * f0 / sample_rate) % two_pi
phase_f1 = (phase_f1 + two_pi * f1 / sample_rate) % two_pi
phase_f2 = (phase_f2 + two_pi * f2 / sample_rate) % two_pi
phase_f3 = (phase_f3 + two_pi * f3 / sample_rate) % two_pi
glottal = 0.50 * math.sin(phase_f0) + 0.28 * math.sin(2.0 * phase_f0)
reson = (
0.55 * math.sin(phase_f1)
+ 0.30 * math.sin(phase_f2)
+ 0.15 * math.sin(phase_f3)
)
val = int(max(-32000.0, min(32000.0, env * (0.45 * glottal + 0.55 * reson) * 14500.0)))
samples.extend(struct.pack("<h", val))
elif p_tok in _FRICATIVE_SET:
n_samp = max(1, int(sample_rate * 0.032))
for s_i in range(n_samp):
env = math.sin(math.pi * (s_i / n_samp))
lfsr = ((lfsr >> 1) ^ (-(lfsr & 1) & 0xB400)) & 0xFFFF
noise = ((lfsr / 32768.0) - 1.0) * 0.38
val = int(max(-32000.0, min(32000.0, env * noise * 9000.0)))
samples.extend(struct.pack("<h", val))
# Inter-word micro-pause (22ms)
samples.extend(b"\x00\x00" * int(sample_rate * 0.022))
out_wav_path.parent.mkdir(parents=True, exist_ok=True)
with wave.open(str(out_wav_path), "wb") as wf:
wf.setnchannels(1)
wf.setsampwidth(2)
wf.setframerate(sample_rate)
wf.writeframes(bytes(samples))
return {"engine": "klatt_formant_wav", "size_bytes": out_wav_path.stat().st_size}
def build_quant_tour_voice_assets(
out_dir: str | Path | None = None,
workspace_root: str | Path | None = None,
force: bool = False,
) -> dict[str, Any]:
"""
Generate `.gitignore`d `.wav` voice narration clips (`ep01-s1.wav .. ep05-s5.wav`) and
`voice-manifest.json` into `out_dir` (default: `site/quant/audio/`).
Incremental: skips regeneration when `voice-manifest.json` matches the SHA-256 of all 25 scene scripts.
"""
cfg = load_workspace_config(workspace_root=workspace_root)
tut_js_p = cfg.core_dir / "site" / "quant" / "quant-tutorials.js"
target_dir = Path(out_dir).resolve() if out_dir else (cfg.core_dir / "site" / "quant" / "audio").resolve()
target_dir.mkdir(parents=True, exist_ok=True)
manifest_p = target_dir / "voice-manifest.json"
with ReadOnlyIsolationGuard(cfg.read_only_files) as guard:
scenes = extract_scene_speech_scripts(tut_js_p)
espeak_bin = shutil.which("espeak-ng") or shutil.which("espeak")
engine_name = "espeak-ng" if espeak_bin else "klatt_formant_wav"
scripts_sha = hashlib.sha256(
json.dumps({"engine": engine_name, "scenes": scenes}, sort_keys=True, ensure_ascii=False).encode("utf-8")
).hexdigest()
if not force and manifest_p.is_file():
try:
prev = json.loads(manifest_p.read_text(encoding="utf-8"))
all_exist = all((target_dir / f"{s['clip_id']}.wav").is_file() for s in scenes)
if prev.get("scripts_sha256") == scripts_sha and all_exist:
return {
"ok": True,
"rebuilt": False,
"engine": prev.get("engine", engine_name),
"clip_count": len(scenes),
"scripts_sha256": scripts_sha,
}
except Exception:
pass
clips_meta: list[dict[str, Any]] = []
for sc in scenes:
cid = sc["clip_id"]
wav_p = target_dir / f"{cid}.wav"
sp_txt = sc["speech_text"]
used_engine = engine_name
if espeak_bin:
proc = subprocess.run(
[espeak_bin, "-v", "en-us", "-s", "168", "-w", str(wav_p), sp_txt],
capture_output=True,
text=True,
check=False,
)
if proc.returncode != 0 or not wav_p.is_file() or wav_p.stat().st_size < 100:
synthesize_klatt_formant_wav(sp_txt, wav_p)
used_engine = "klatt_formant_wav"
else:
synthesize_klatt_formant_wav(sp_txt, wav_p)
used_engine = "klatt_formant_wav"
clips_meta.append(
{
"clip_id": cid,
"filename": f"{cid}.wav",
"web_route": f"/quant/audio/{cid}.wav",
"engine": used_engine,
"size_bytes": wav_p.stat().st_size,
}
)
man_obj = {
"version": CURRENT_VERSION,
"engine": engine_name,
"scripts_sha256": scripts_sha,
"clip_count": len(clips_meta),
"clips": clips_meta,
}
manifest_p.write_text(json.dumps(man_obj, indent=2, ensure_ascii=False) + "\n", encoding="utf-8")
return {
"ok": True,
"rebuilt": True,
"engine": engine_name,
"clip_count": len(clips_meta),
"scripts_sha256": scripts_sha,
"isolation_receipt": guard.audit_receipt(),
}
def main(argv: list[str] | None = None) -> int:
ap = argparse.ArgumentParser(
prog="hs-quant-voice-build",
description="Build untracked deploy-time .wav speech clips for the /quant/ Interactive Guided Tour (0 audio files in Git).",
)
ap.add_argument("--out-dir", default=None, help="Output directory for .wav clips (default: site/quant/audio/).")
ap.add_argument("--workspace-root", default=None, help="Optional workspace root directory.")
ap.add_argument("--force", action="store_true", help="Force rebuilding all 25 .wav clips.")
args = ap.parse_args(argv)
res = build_quant_tour_voice_assets(
out_dir=args.out_dir,
workspace_root=args.workspace_root,
force=args.force,
)
print(json.dumps(res, indent=2))
return 0 if res.get("ok") else 1
if __name__ == "__main__":
raise SystemExit(main())
+1 -1
View File
@@ -684,7 +684,7 @@ def build_financial_quant_harvest(
payload: dict[str, Any] = {
"$schema": "./schemas/v1/financial-aq-harvest.schema.json",
"$id": "urn:io:hyperstitionstud:schema:v1:financial-aq-harvest",
"version": "2.12.0",
"version": "2.13.0",
"target_date_utc": datetime.datetime.now(datetime.timezone.utc).strftime("%Y-%m-%d"),
"harvest_mode": harvest_mode,
"synthetic_data_eliminated": True,
+59
View File
@@ -1266,6 +1266,65 @@ def test_ipld_quant_and_mcp_server() -> None:
)
assert node_quant_tut_test.returncode == 0, f"Node QuantTutorials check failed ({node_quant_tut_test.returncode}): {node_quant_tut_test.stderr}"
# Verify Plan #57 (Strategies 1A, 2A, 3A): Zero-Git-Audio deploy-time WAV voice compiler (quant_voice.py) & 0 audio files in Git
from hyperstitionstud_io.publishing.quant_voice import build_quant_tour_voice_assets
tmp_voice_dir = tmp_path / "quant_audio"
v_res = build_quant_tour_voice_assets(out_dir=tmp_voice_dir, workspace_root=cfg.workspace_root)
assert v_res["ok"] is True and v_res["clip_count"] == 25
assert (tmp_voice_dir / "ep01-s1.wav").is_file() and (tmp_voice_dir / "ep01-s1.wav").read_bytes()[:4] == b"RIFF"
assert (tmp_voice_dir / "ep04-s1.wav").is_file() and (tmp_voice_dir / "voice-manifest.json").is_file()
git_gitignore = (cfg.core_dir / ".gitignore").read_text(encoding="utf-8")
assert "site/quant/audio/" in git_gitignore, "site/quant/audio/ must be in .gitignore so 0 audio files enter Git"
assert "__hsActiveUtterance" in quant_tut_txt and "playDeployTimeWavOrFormant" in quant_tut_txt
# Verify Plan #56: Fedora 41 OpenRouter Exegesis Synthesizer, Pre-Solved 333/666/777 Equation Engine & Push Worker
import importlib.util
synth_script_p = cfg.archive_dir / "ingglish-aq-archive" / "scripts" / "synthesize_news_dossier_openrouter.py"
assert synth_script_p.is_file()
spec_s = importlib.util.spec_from_file_location("synthesize_news_dossier_openrouter", synth_script_p)
assert spec_s is not None and spec_s.loader is not None
mod_s = importlib.util.module_from_spec(spec_s)
spec_s.loader.exec_module(mod_s)
sample_harvest = {
"temporal_metadata": {"target_date_utc": "2026-12-01"},
"counts": {"total_headlines": 2, "cross_story_collision_classes": 1, "isometric_locks": 1},
"headlines": [
{"headline": "Nvidia unveils next-generation Blackwell wafer cluster", "eng_aq": 812, "ing_aq": 834},
{"headline": "Spanish election coalition talks continue in Madrid", "eng_aq": 745, "ing_aq": 761},
],
"entities": [
{"eng": "Nvidia", "ing": "envideea", "eng_aq": 115, "ing_aq": 137, "story": "Silicon Wire"},
{"eng": "Spanish", "ing": "spanish", "eng_aq": 149, "ing_aq": 149, "story": "Europe Wire"},
],
"isometric_locks": [{"eng": "Spanish", "ing": "spanish", "eng_aq": 149, "ing_aq": 149}],
"cross_story_collisions": {},
}
solved_30 = mod_s.solve_cluster_equations_333_666_777(sample_harvest)
assert len(solved_30["eq_333"]) == 10 and len(solved_30["eq_666"]) == 10 and len(solved_30["eq_777"]) == 10
tmp_arc_d = tmp_path / "test_exegesis_arc"
tmp_arc_d.mkdir(parents=True, exist_ok=True)
(tmp_arc_d / "00-index-and-methodology.md").write_text("# Index\n\n### Category D:\n", encoding="utf-8")
tmp_harv_f = tmp_path / "sample-harvest.json"
tmp_harv_f.write_text(json.dumps(sample_harvest), encoding="utf-8")
syn_out = mod_s.synthesize_news_dossier(
harvest_path=tmp_harv_f,
archive_dir=tmp_arc_d,
api_key="",
allow_deterministic_fallback=True,
)
assert syn_out["ok"] is True and syn_out["equations_verified_count"] == 30 and syn_out["aq_mismatches"] == 0
assert Path(syn_out["dossier_path"]).is_file()
for pkg_f in (
cfg.archive_dir / "packaging" / "build-fedora41-rpm.sh",
cfg.archive_dir / "packaging" / "bundle" / "scripts" / "run_exegesis_and_push_fedora41.sh",
cfg.archive_dir / "packaging" / "rpm" / "ingglish-isopsephic-exegesis.spec",
cfg.archive_dir / "packaging" / "rpm" / "ingglish-exegesis.sysconfig",
):
assert pkg_f.is_file(), f"Missing Fedora 41 packaging file {pkg_f}"
assert "/dev/null" not in pkg_f.read_text(encoding="utf-8")
# Verify PLAN-INTROSPECTIVE-PROTECT-SYSTEM-STRICT-EROFS-TEST-HARNESS
from hyperstitionstud_io.ci.erofs_harness import run_introspective_erofs_suite
+1 -1
View File
@@ -1,6 +1,6 @@
# workspace.example.toml — Location-Independent Workspace Configuration Template (v1.2.0)
# Copy to your parent workspace folder: cp hyperstitionstudio-core/workspace.example.toml ./workspace.toml
schema_version = "2.12.0"
schema_version = "2.13.0"
namespace_urn = "urn:io:hyperstitionstud"
[paths]