Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
cb11f5ce0b | ||
|
|
bfcf295886 | ||
|
|
f78cf47e00 |
No files matched your search
@@ -1,11 +1,11 @@
|
||||
# `hyperstitionstudio-core` (`hyperstitionstud_io.*` — `v2.13.0`)
|
||||
# `hyperstitionstudio-core` (`hyperstitionstud_io.*` — `v2.15.0`)
|
||||
|
||||
<!-- HS-COMMIT-STATUS:START -->
|
||||
> **Gitea Commit & Release Telemetry (`v2.13.0` • Namespace `urn:io:hyperstitionstud`)**
|
||||
> **Gitea Commit & Release Telemetry (`v2.15.0` • Namespace `urn:io:hyperstitionstud`)**
|
||||
> - **Repository Role & Public Route:** Shared PEP 420 Python core library (`hyperstitionstud_io.*`), MCP/REST server, `/quant/`, `/learn/`, `/engineering/`, `/math/`, & `/donate/` webroots → [`https://hyperstitionstud.io/`](https://hyperstitionstud.io/)
|
||||
> - **Latest Commit Scope (`hyperstitionstudio-core`):** Synchronized v2.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
|
||||
> - **Latest Commit Scope (`hyperstitionstudio-core`):** Synchronized v2.15.0 release state across 41 tracked module/artifact surface(s)
|
||||
> - **Touched Files / Surfaces:** `deploy/push-all-to-git-libre-audio.sh`, `deploy/sync-vps-repos.sh`, `package.json`, `packages-js/ciphers-aq/package.json`, `pyproject.toml`, `scripts/build_gallery_manifest.py`, `site/assets/closeups/quadrant-1-cybermemetics-calc-graph.png`, `site/assets/closeups/quadrant-4-operators-deployment-vps.png` (+33 more)
|
||||
> - **Live Verified Ecosystem Metrics (`v2.15.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.13.0`)
|
||||
## Key Architecture & Capabilities (`v2.15.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`.
|
||||
|
||||
Executable
+142
@@ -0,0 +1,142 @@
|
||||
#!/usr/bin/env bash
|
||||
# /workspace/push-all-to-git-libre-audio.sh
|
||||
# Release v2.15.0: Pre-push verification & topological push of all 6 repositories to git.libre.audio.
|
||||
set -euo pipefail
|
||||
|
||||
on_error() {
|
||||
local exit_code=$?
|
||||
local line_no="${1:-unknown}"
|
||||
echo "[ERROR] push-all-to-git-libre-audio.sh failed at line ${line_no} with exit code ${exit_code} while running: ${BASH_COMMAND}" >&2
|
||||
exit "${exit_code}"
|
||||
}
|
||||
trap 'on_error ${LINENO}' ERR
|
||||
|
||||
run_checked() {
|
||||
local label="$1"
|
||||
shift
|
||||
local out=""
|
||||
local rc=0
|
||||
out="$("$@" 2>&1)" || rc=$?
|
||||
if [[ "${rc}" -ne 0 ]]; then
|
||||
echo "[ERROR] ${label} failed (exit code ${rc}): $*" >&2
|
||||
if [[ -n "${out}" ]]; then
|
||||
echo "${out}" >&2
|
||||
fi
|
||||
return "${rc}"
|
||||
fi
|
||||
}
|
||||
|
||||
ensure_remote_url() {
|
||||
local repo_dir="$1"
|
||||
local remote_name="$2"
|
||||
local target_url="$3"
|
||||
if git -C "${repo_dir}" remote | grep -qx "${remote_name}"; then
|
||||
run_checked "git remote set-url ${remote_name} (${repo_dir})" git -C "${repo_dir}" remote set-url "${remote_name}" "${target_url}"
|
||||
else
|
||||
run_checked "git remote add ${remote_name} (${repo_dir})" git -C "${repo_dir}" remote add "${remote_name}" "${target_url}"
|
||||
fi
|
||||
}
|
||||
|
||||
SCRIPT_PATH="${BASH_SOURCE[0]:-$0}"
|
||||
DEFAULT_WS_DIR="$(cd "$(dirname "${SCRIPT_PATH}")" && pwd)"
|
||||
if [[ ! -d "${DEFAULT_WS_DIR}/hyperstitionstudio-core/src" ]] && [[ -d "/workspace/hyperstitionstudio-core/src" ]]; then
|
||||
DEFAULT_WS_DIR="/workspace"
|
||||
fi
|
||||
|
||||
export WORKSPACE_DIR="${WORKSPACE_DIR:-${DEFAULT_WS_DIR}}"
|
||||
export PYTHONPATH="${WORKSPACE_DIR}/hyperstitionstudio-core/src${PYTHONPATH:+:${PYTHONPATH}}"
|
||||
export HYPERSTITIONSTUDIO_CONFIG="${HYPERSTITIONSTUDIO_CONFIG:-${WORKSPACE_DIR}/workspace.toml}"
|
||||
FORGE_SSH="${FORGE_SSH:-ssh://git@git.libre.audio:2222/seasharp}"
|
||||
|
||||
echo "[info] WORKSPACE_DIR=${WORKSPACE_DIR}"
|
||||
echo "[info] PYTHONPATH=${PYTHONPATH}"
|
||||
|
||||
echo "[1/3] Running pre-push verification gates (hs-archive-rotate, hs-closeups-sync, hs-readme-sync, version_sync, hs-doctor, logrotate.d/hyperstition-sqlite-meta check, periodic harvest CI/CD flow diagram PNG test, closeups check, test_core_suite, 6-gate graph verifier)..."
|
||||
run_checked "hs-archive-rotate --enforce-single-compression" python3 -m hyperstitionstud_io.publishing.archive_rotator --workspace-root "${WORKSPACE_DIR}" --enforce-single-compression
|
||||
run_checked "verify docs/archive/archive-manifest.json" test -s "${WORKSPACE_DIR}/encyclopedia-knowledge-graph/docs/archive/archive-manifest.json"
|
||||
run_checked "verify docs/plans/inactive/inactive-archive-manifest.json" test -s "${WORKSPACE_DIR}/encyclopedia-knowledge-graph/docs/plans/inactive/inactive-archive-manifest.json"
|
||||
run_checked "hs-closeups-sync" python3 -m hyperstitionstud_io.publishing.closeups_sync
|
||||
run_checked "hs-readme-sync --install-hooks" python3 -m hyperstitionstud_io.publishing.readme_sync --install-hooks
|
||||
run_checked "version_sync --check" python3 -m hyperstitionstud_io.version_sync --check
|
||||
run_checked "version_sync --corpus-delta" python3 -m hyperstitionstud_io.version_sync --corpus-delta
|
||||
run_checked "hs-doctor" python3 -m hyperstitionstud_io.ci.doctor
|
||||
run_checked "verify deploy/logrotate.d/hyperstition-sqlite-meta" test -f "${WORKSPACE_DIR}/hyperstitionstudio-core/deploy/logrotate.d/hyperstition-sqlite-meta"
|
||||
run_checked "verify site/assets/hs-matrix-coderain.js" test -s "${WORKSPACE_DIR}/hyperstitionstudio-core/site/assets/hs-matrix-coderain.js"
|
||||
run_checked "verify site/assets/matrix-font.woff2" test -s "${WORKSPACE_DIR}/hyperstitionstudio-core/site/assets/matrix-font.woff2"
|
||||
for q_png in \
|
||||
"quadrant-1-cybermemetics-calc-graph.png" \
|
||||
"quadrant-1-tab-2-graph.png" \
|
||||
"quadrant-2-esoteric-finance-quant.png" \
|
||||
"quadrant-2-tab-2-bayesian-fred.png" \
|
||||
"quadrant-2-tab-3-leaderboard-card.png" \
|
||||
"quadrant-3-info-science-novice-learn-polyglot.png" \
|
||||
"quadrant-3-tab-2-math-guile.png" \
|
||||
"quadrant-3-tab-3-math-ts-rust.png" \
|
||||
"quadrant-4-operators-deployment-vps.png" \
|
||||
"quadrant-4-tab-2-mcp-etag.png" \
|
||||
"quadrant-4-tab-3-ci-gates.png"; do
|
||||
run_checked "verify site/assets/closeups/${q_png}" test -s "${WORKSPACE_DIR}/hyperstitionstudio-core/site/assets/closeups/${q_png}"
|
||||
done
|
||||
run_checked "generate & verify periodic-harvest-cicd-to-vps-flow-diagram.png" python3 -m hyperstitionstud_io.publishing.flow_diagram
|
||||
run_checked "verify periodic-harvest-cicd-to-vps-flow-diagram.png exists" test -s "${WORKSPACE_DIR}/encyclopedia-knowledge-graph/docs/periodic-harvest-cicd-to-vps-flow-diagram.png"
|
||||
run_checked "verify Fedora 41 packaging scripts & spec" "${WORKSPACE_DIR}/ingglish-hyperdope-gematria/packaging/build-fedora41-rpm.sh"
|
||||
run_checked "verify Fedora 41 exegesis push worker dry-run" "${WORKSPACE_DIR}/ingglish-hyperdope-gematria/packaging/bundle/scripts/run_exegesis_and_push_fedora41.sh" --dry-run
|
||||
python3 "${WORKSPACE_DIR}/hyperstitionstudio-core/tests/test_core_suite.py"
|
||||
run_checked "build_encyclopedia_knowledge_graph.py --verify-only" python3 "${WORKSPACE_DIR}/encyclopedia-knowledge-graph/scripts/build_encyclopedia_knowledge_graph.py" --verify-only
|
||||
|
||||
echo "[2/3] Verifying git.libre.audio remote URLs across all repositories..."
|
||||
for pair in \
|
||||
"hyperstitionstudio-core:hyperstitionstudio-core.git" \
|
||||
"ingglish-hyperdope-gematria:ingglish-hyperdope-gematria.git" \
|
||||
"technocapital-singularity-zoology:technocapital-singularity-zoology.git" \
|
||||
"encyclopedia-knowledge-graph:encyclopedia-knowledge-graph.git" \
|
||||
"hyperdope-ci-build:ingglish-hyperdope-ci.git"; do
|
||||
rdir="${WORKSPACE_DIR}/${pair%%:*}"
|
||||
rslug="${pair##*:}"
|
||||
ensure_remote_url "${rdir}" origin "${FORGE_SSH}/${rslug}"
|
||||
done
|
||||
|
||||
push_head_tag() {
|
||||
local repo_dir="$1"
|
||||
local remote_name="$2"
|
||||
local head_tag=""
|
||||
head_tag="$(git -C "${repo_dir}" tag --points-at HEAD | sort -V | tail -n 1)"
|
||||
if [[ -n "${head_tag}" ]]; then
|
||||
run_checked "git push tag ${head_tag} (${repo_dir})" git -C "${repo_dir}" push --force "${remote_name}" "refs/tags/${head_tag}"
|
||||
fi
|
||||
}
|
||||
|
||||
echo "[3/3] Rebasing any automated VPS telemetry commits & pushing all 6 repositories and HEAD release tags in topological dependency order to ${FORGE_SSH}..."
|
||||
echo " -> (1/6) hyperstitionstudio-core (main + HEAD tag)"
|
||||
git -C "${WORKSPACE_DIR}/hyperstitionstudio-core" pull --rebase --autostash origin main || true
|
||||
git -C "${WORKSPACE_DIR}/hyperstitionstudio-core" push -u origin main
|
||||
push_head_tag "${WORKSPACE_DIR}/hyperstitionstudio-core" origin
|
||||
|
||||
echo " -> (2/6) ingglish-hyperdope-gematria (main + HEAD tag)"
|
||||
git -C "${WORKSPACE_DIR}/ingglish-hyperdope-gematria" pull --rebase --autostash origin main || true
|
||||
git -C "${WORKSPACE_DIR}/ingglish-hyperdope-gematria" push -u origin main
|
||||
push_head_tag "${WORKSPACE_DIR}/ingglish-hyperdope-gematria" origin
|
||||
|
||||
echo " -> (3/6) technocapital-singularity-zoology (main + HEAD tag)"
|
||||
git -C "${WORKSPACE_DIR}/technocapital-singularity-zoology" pull --rebase --autostash origin main || true
|
||||
git -C "${WORKSPACE_DIR}/technocapital-singularity-zoology" push -u origin main
|
||||
push_head_tag "${WORKSPACE_DIR}/technocapital-singularity-zoology" origin
|
||||
|
||||
echo " -> (4/6) encyclopedia-knowledge-graph (main + HEAD tag)"
|
||||
git -C "${WORKSPACE_DIR}/encyclopedia-knowledge-graph" pull --rebase --autostash origin main || true
|
||||
git -C "${WORKSPACE_DIR}/encyclopedia-knowledge-graph" push -u origin main
|
||||
push_head_tag "${WORKSPACE_DIR}/encyclopedia-knowledge-graph" origin
|
||||
|
||||
echo " -> (5/6) hyperdope-ci-build (feat/ingglish-aq-corpus + HEAD tag)"
|
||||
git -C "${WORKSPACE_DIR}/hyperdope-ci-build" pull --rebase --autostash origin feat/ingglish-aq-corpus || true
|
||||
git -C "${WORKSPACE_DIR}/hyperdope-ci-build" push -u origin feat/ingglish-aq-corpus
|
||||
push_head_tag "${WORKSPACE_DIR}/hyperdope-ci-build" origin
|
||||
|
||||
if [[ -d "${WORKSPACE_DIR}/haiperdohp-jemaytreeah/.git" ]]; then
|
||||
echo " -> (6/6) haiperdohp-jemaytreeah (downstream main, feat/ingglish-aq-corpus, feat/ingglish-priority-toggle + HEAD tag)"
|
||||
ensure_remote_url "${WORKSPACE_DIR}/haiperdohp-jemaytreeah" downstream "${FORGE_SSH}/haiperdohp-jemaytreeah.git"
|
||||
git -C "${WORKSPACE_DIR}/haiperdohp-jemaytreeah" push downstream main feat/ingglish-aq-corpus feat/ingglish-priority-toggle
|
||||
push_head_tag "${WORKSPACE_DIR}/haiperdohp-jemaytreeah" downstream
|
||||
fi
|
||||
|
||||
echo "[OK] All 6 repositories and release tags pushed to ${FORGE_SSH}."
|
||||
@@ -1,5 +1,6 @@
|
||||
#!/usr/bin/env bash
|
||||
# /workspace/hyperstitionstudio-core/deploy/sync-vps-repos.sh
|
||||
# Release v2.15.0: Self-re-executing tmpfs VPS hydration & service sync.
|
||||
# Hydrates per-repository install directories from REPOS_ROOT into LIVE_REPOS (tmpfs RAM mount),
|
||||
# supplies untracked haiperdohp-jemaytreeah/.gitignore files (config.js, db.json, db_lite.json),
|
||||
# creates top-level route symlinks, pre-compresses (.br / .gz) static assets, and idempotently
|
||||
@@ -157,6 +158,7 @@ if p.is_file():
|
||||
'
|
||||
fi
|
||||
run_checked "hs-readme-sync --hooks-only" "${PYTHON_BIN}" -m hyperstitionstud_io.publishing.readme_sync --hooks-only
|
||||
run_checked "hs-deploy-scripts-sync --check" "${PYTHON_BIN}" -m hyperstitionstud_io.ci.deploy_scripts_sync --workspace-root "${REPOS_ROOT}" --check
|
||||
run_checked "hs-closeups-sync --check" "${PYTHON_BIN}" -m hyperstitionstud_io.publishing.closeups_sync --check
|
||||
run_checked "version_sync --check" "${PYTHON_BIN}" -m hyperstitionstud_io.version_sync --check
|
||||
run_checked "hs-db-build (--build)" "${PYTHON_BIN}" -m hyperstitionstud_io.db.sqlite_meta --build
|
||||
@@ -200,19 +202,22 @@ ${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
|
||||
echo "[3b/5] Generating untracked deploy-time /quant/audio/*.wav spoken voice tracks (Strategies 1A & 2A: flite kal16 + background slt upgrade, 0 audio files in Git)..."
|
||||
if [[ -z "$(type -P flite || true)" ]] || [[ -z "$(type -P espeak-ng || true)" ]]; then
|
||||
if [[ "${DO_CADDY}" -eq 1 ]]; then
|
||||
if [[ -n "$(type -P dnf || true)" ]]; then
|
||||
echo " -> Installing flite & espeak-ng via dnf for natural spoken English tour narration..."
|
||||
${SUDO} dnf install -y -q flite espeak-ng || true
|
||||
elif [[ -n "$(type -P apt-get || true)" ]]; then
|
||||
echo " -> Installing flite & espeak-ng via apt-get for natural spoken English tour narration..."
|
||||
${SUDO} env DEBIAN_FRONTEND=noninteractive apt-get install -y -qq flite espeak-ng || true
|
||||
fi
|
||||
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"
|
||||
--out-dir "${LIVE_REPOS}/hyperstitionstudio-core/site/quant/audio" \
|
||||
--upgrade-slt-background
|
||||
if [[ -d "${LIVE_REPOS}/hyperstitionstudio-core/site/engineering" ]]; then
|
||||
${LIVE_SUDO} ln -sfn "hyperstitionstudio-core/site/engineering" "${LIVE_REPOS}/engineering"
|
||||
fi
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@hyperstitionstud.io/workspace-core",
|
||||
"version": "2.13.0",
|
||||
"version": "2.15.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,6 +1,6 @@
|
||||
{
|
||||
"name": "@hyperstitionstud.io/ciphers-aq",
|
||||
"version": "2.13.0",
|
||||
"version": "2.15.0",
|
||||
"type": "module",
|
||||
"main": "index.js",
|
||||
"license": "MIT"
|
||||
|
||||
+2
-1
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
||||
|
||||
[project]
|
||||
name = "hyperstitionstudio-core"
|
||||
version = "2.13.0"
|
||||
version = "2.15.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"
|
||||
@@ -42,6 +42,7 @@ hs-highlights = "hyperstitionstud_io.publishing.highlights:main"
|
||||
hs-readme-sync = "hyperstitionstud_io.publishing.readme_sync:main"
|
||||
hs-closeups-sync = "hyperstitionstud_io.publishing.closeups_sync:main"
|
||||
hs-quant-voice-build = "hyperstitionstud_io.publishing.quant_voice:main"
|
||||
hs-deploy-scripts-sync = "hyperstitionstud_io.ci.deploy_scripts_sync:main"
|
||||
|
||||
[tool.setuptools.packages.find]
|
||||
where = ["src"]
|
||||
|
||||
@@ -144,8 +144,8 @@ def main() -> int:
|
||||
})
|
||||
|
||||
manifest = {
|
||||
"version": "2.13.0",
|
||||
"namespace_urn": "urn:io:hyperstitionstud:gallery:2.13.0",
|
||||
"version": "2.15.0",
|
||||
"namespace_urn": "urn:io:hyperstitionstud:gallery:2.15.0",
|
||||
"total_items": len(items),
|
||||
"items": items,
|
||||
}
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 31 KiB After Width: | Height: | Size: 31 KiB |
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": "2573b3d2e4dec4dd6c14ac904954fb35b63f3f0b1e44ec986a655959ea805352",
|
||||
"ui_elements_fingerprint_sha256": "4b0e2539f72562a0cda20c3094f6c02a7e3e86f728073d9a83634b74c26f2f7b",
|
||||
"closeup_images": [
|
||||
"quadrant-1-cybermemetics-calc-graph.png",
|
||||
"quadrant-1-tab-2-graph.png",
|
||||
@@ -24,7 +24,7 @@
|
||||
},
|
||||
"engineering_counts": {
|
||||
"repositories": 6,
|
||||
"cli_entrypoints": 19,
|
||||
"cli_entrypoints": 20,
|
||||
"mcp_tools": 20,
|
||||
"rest_domain_aliases": 12,
|
||||
"enabled_lenses": 6,
|
||||
@@ -563,12 +563,12 @@
|
||||
]
|
||||
},
|
||||
"calc": {
|
||||
"ui_structure_sha256": "a955885aeba700ece09389b80de203aff79128b8bb153d22b69993bd7ab528a6",
|
||||
"id_count": 26,
|
||||
"ui_structure_sha256": "136ee82ed41030c6f2612538dc62746d080acb8d5380164e7d09075757f18125",
|
||||
"id_count": 35,
|
||||
"button_count": 0,
|
||||
"option_count": 0,
|
||||
"input_count": 1,
|
||||
"heading_count": 0,
|
||||
"heading_count": 1,
|
||||
"ids": [
|
||||
"BreakdownDetails",
|
||||
"BreakdownSpot",
|
||||
@@ -578,6 +578,14 @@
|
||||
"autoMatchBtn",
|
||||
"calcLogo",
|
||||
"calcMain",
|
||||
"calcNavDonate",
|
||||
"calcNavEng",
|
||||
"calcNavGraph",
|
||||
"calcNavHome",
|
||||
"calcNavLearn",
|
||||
"calcNavMath",
|
||||
"calcNavQuant",
|
||||
"calcNavSelf",
|
||||
"calcOptionsPanel",
|
||||
"canv",
|
||||
"clearFilterButton",
|
||||
@@ -589,6 +597,7 @@
|
||||
"enterPhraseBtn",
|
||||
"highlightBox",
|
||||
"hltModeBtn",
|
||||
"hsCalcHeader",
|
||||
"hsGlobalFooter",
|
||||
"inputArea",
|
||||
"loadPanel",
|
||||
@@ -602,7 +611,9 @@
|
||||
],
|
||||
"sample_buttons": [],
|
||||
"sample_options": [],
|
||||
"sample_headings": []
|
||||
"sample_headings": [
|
||||
"HYPERSTITIONSTUD.IO/CALC // HAIPERDOHPJEMATREEAH WORKBENCH"
|
||||
]
|
||||
}
|
||||
},
|
||||
"js_surfaces": {
|
||||
@@ -779,6 +790,6 @@
|
||||
}
|
||||
},
|
||||
"ipld_dag_json_cidv1": {
|
||||
"/": "baguqeerar7ht56v56xlv3fpjna2a7cg7bepjvt4fjk2neckepnup24yqjwjq"
|
||||
"/": "baguqeerazwax5xw2gotlmisyki2vbbcz3uo6ewquvskr7vnscm6i2vyg4jra"
|
||||
}
|
||||
}
|
||||
@@ -4,7 +4,7 @@
|
||||
<meta charset="UTF-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>Signal Patronage & Open-Instrument Notes — hyperstitionstud.io/donate</title>
|
||||
<link rel="stylesheet" href="../assets/hs-group3-basalt-chamfer.css?v=2.13.0" />
|
||||
<link rel="stylesheet" href="../assets/hs-group3-basalt-chamfer.css?v=2.15.0" />
|
||||
<style>
|
||||
:root {
|
||||
--bg-canvas: #020617;
|
||||
@@ -343,7 +343,7 @@
|
||||
<span class="dot"></span>
|
||||
<h1>hyperstitionstud.io/donate — Signal Patronage & Open-Instrument Notes</h1>
|
||||
</div>
|
||||
<p class="subtitle">Open-Readout Phonemic, Graph & Closing-Bell Telemetry Workbench • Namespace Authority: urn:io:hyperstitionstud:donate:v2.13.0 <span class="hs-sigil-seal" aria-hidden="true">[ ⚚ · ☿ · ☍ · ☉ ]</span></p>
|
||||
<p class="subtitle">Open-Readout Phonemic, Graph & Closing-Bell Telemetry Workbench • Namespace Authority: urn:io:hyperstitionstud:donate:v2.15.0 <span class="hs-sigil-seal" aria-hidden="true">[ ⚚ · ☿ · ☍ · ☉ ]</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.13.0 • 100% Static & Offline-Portable • Zero External Trackers</div>
|
||||
<div>hyperstitionstud.io/donate v2.15.0 • 100% Static & Offline-Portable • Zero External Trackers</div>
|
||||
<div class="hs-lemur-credit"><span class="hs-sigil-colophon" aria-hidden="true">⚚ · ☿ · ☍ · ☉ · ♄</span> • Made with <span class="hs-heart" role="img" aria-label="love" style="color:var(--rose);display:inline-block;padding:0 2px;">♥</span> by Lemurs.</div>
|
||||
</footer>
|
||||
</div>
|
||||
|
||||
<script src="../assets/hs-matrix-coderain.js?v=2.13.0" defer></script>
|
||||
<script src="../assets/hs-matrix-coderain.js?v=2.15.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.13.0)</title>
|
||||
<link rel="stylesheet" href="../../assets/hs-group3-basalt-chamfer.css?v=2.13.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.15.0)</title>
|
||||
<link rel="stylesheet" href="../../assets/hs-group3-basalt-chamfer.css?v=2.15.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 • Non-Sequentially Revertible via <code>hs-eng-docs --disable cicd-vps-tmpfs-and-regression</code> • v2.13.0 <span class="hs-sigil-seal" aria-hidden="true">[ ⚚ · ☿ · ☍ · ☉ ]</span></p>
|
||||
<p class="subtitle">Cartridge E5 • Non-Sequentially Revertible via <code>hs-eng-docs --disable cicd-vps-tmpfs-and-regression</code> • v2.15.0 <span class="hs-sigil-seal" aria-hidden="true">[ ⚚ · ☿ · ☍ · ☉ ]</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.13.0 • <span class="hs-sigil-colophon" aria-hidden="true">⚚ · ☿ · ☍ · ☉ · ♄</span> • Made with <span class="hs-heart" style="color:var(--rose);">♥</span> by Lemurs.
|
||||
hyperstitionstud.io/engineering/cicd-vps-tmpfs-and-regression v2.15.0 • <span class="hs-sigil-colophon" aria-hidden="true">⚚ · ☿ · ☍ · ☉ · ♄</span> • Made with <span class="hs-heart" style="color:var(--rose);">♥</span> by Lemurs.
|
||||
</footer>
|
||||
</div>
|
||||
<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>
|
||||
<script src="../../assets/hs-matrix-coderain.js?v=2.15.0" defer></script>
|
||||
<script src="../engineering-manifest-data.js?v=2.15.0"></script>
|
||||
<script src="../engineering-app.js?v=2.15.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);">λ 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> 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.13.0"></script>
|
||||
<script src="../../assets/hs-guile-scheme-repl.js?v=2.15.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.13.0)</title>
|
||||
<link rel="stylesheet" href="../../assets/hs-group3-basalt-chamfer.css?v=2.13.0" />
|
||||
<title>Unit E1: Base-36 AQ Ciphers, Offline CMUdict Phonetics & Bidirectional Lock Evaluation — hyperstitionstud.io/engineering (v2.15.0)</title>
|
||||
<link rel="stylesheet" href="../../assets/hs-group3-basalt-chamfer.css?v=2.15.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 • Non-Sequentially Revertible via <code>hs-eng-docs --disable ciphers-and-phonetics</code> • v2.13.0 <span class="hs-sigil-seal" aria-hidden="true">[ ⚚ · ☿ · ☍ · ☉ ]</span></p>
|
||||
<p class="subtitle">Cartridge E1 • Non-Sequentially Revertible via <code>hs-eng-docs --disable ciphers-and-phonetics</code> • v2.15.0 <span class="hs-sigil-seal" aria-hidden="true">[ ⚚ · ☿ · ☍ · ☉ ]</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.13.0 • <span class="hs-sigil-colophon" aria-hidden="true">⚚ · ☿ · ☍ · ☉ · ♄</span> • Made with <span class="hs-heart" style="color:var(--rose);">♥</span> by Lemurs.
|
||||
hyperstitionstud.io/engineering/ciphers-and-phonetics v2.15.0 • <span class="hs-sigil-colophon" aria-hidden="true">⚚ · ☿ · ☍ · ☉ · ♄</span> • Made with <span class="hs-heart" style="color:var(--rose);">♥</span> by Lemurs.
|
||||
</footer>
|
||||
</div>
|
||||
<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>
|
||||
<script src="../../assets/hs-matrix-coderain.js?v=2.15.0" defer></script>
|
||||
<script src="../engineering-manifest-data.js?v=2.15.0"></script>
|
||||
<script src="../engineering-app.js?v=2.15.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);">λ 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> 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.13.0"></script>
|
||||
<script src="../../assets/hs-guile-scheme-repl.js?v=2.15.0"></script>
|
||||
</body>
|
||||
</html>
|
||||
@@ -1 +1 @@
|
||||
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
|
||||
window.HYPERSTITION_ENGINEERING_MANIFEST = {"$id": "urn:io:hyperstitionstud:engineering-manifest", "version": "2.15.0", "enabled_subpages": ["ciphers-and-phonetics", "knowledge-graph-and-sqlite", "quant-macro-and-bayesian-brief", "mcp-chatbot-rest-and-ipld", "cicd-vps-tmpfs-and-regression"], "disabled_subpages": [], "enabled_routes": ["/engineering/index.html", "/engineering/ciphers-and-phonetics/index.html", "/engineering/knowledge-graph-and-sqlite/index.html", "/engineering/quant-macro-and-bayesian-brief/index.html", "/engineering/mcp-chatbot-rest-and-ipld/index.html", "/engineering/cicd-vps-tmpfs-and-regression/index.html"], "introspected_counts": {"repositories": 6, "cli_entrypoints": 20, "mcp_tools": 20, "rest_domain_aliases": 12, "enabled_lenses": 6, "watchlist_instruments": 24, "fred_macro_series": 14, "json_schemas_v1": 12}, "cli_scripts": {"hs-doctor": "hyperstitionstud_io.ci.doctor:main", "hs-citations": "hyperstitionstud_io.ci.citation_sources:main", "hs-pdf-build": "hyperstitionstud_io.publishing.pdf_compiler:main", "hs-kg-build": "hyperstitionstud_io.graph.cli:main", "hs-quant-harvest": "hyperstitionstud_io.quant.collector:main", "hs-mcp": "hyperstitionstud_io.mcp.server:main", "hs-sync-version": "hyperstitionstud_io.version_sync:main", "hs-db-build": "hyperstitionstud_io.db.sqlite_meta:main", "hs-macro-harvest": "hyperstitionstud_io.quant.macro:main", "hs-daily-brief": "hyperstitionstud_io.quant.daily_brief:main", "hs-ticker-card": "hyperstitionstud_io.quant.cards:main", "hs-archive-rotate": "hyperstitionstud_io.publishing.archive_rotator:main", "hs-public-smoke": "hyperstitionstud_io.ci.public_regression:main", "hs-eng-docs": "hyperstitionstud_io.publishing.engineering_docs:main", "hs-math-docs": "hyperstitionstud_io.publishing.math_docs:main", "hs-highlights": "hyperstitionstud_io.publishing.highlights:main", "hs-readme-sync": "hyperstitionstud_io.publishing.readme_sync:main", "hs-closeups-sync": "hyperstitionstud_io.publishing.closeups_sync:main", "hs-quant-voice-build": "hyperstitionstud_io.publishing.quant_voice:main", "hs-deploy-scripts-sync": "hyperstitionstud_io.ci.deploy_scripts_sync:main"}, "mcp_tool_names": ["hs_evaluate_aq_and_ingglish", "hs_classify_singularity", "hs_query_knowledge_graph", "hs_search_glossary_encyclopedia", "hs_inspect_eti_tier_list", "hs_simulate_anchor_revision", "hs_search_archive_equations", "hs_verify_grounded_citations", "hs_compute_ipld_dag_json_cid", "hs_run_doctor_and_audit", "hs_scan_financial_quant_harvest", "hs_inspect_quant_timeseries", "hs_generate_ticker_stats_card", "hs_inspect_macro_indicators", "hs_generate_daily_portfolio_brief", "hs_inspect_engineering_and_math_docs", "hs_inspect_documentation_and_manuals", "hs_evaluate_guile_scheme_z_calculus", "hs_query_workspace_catalog_and_release_state", "hs_generate_highlights_summary"], "rest_domain_aliases": {"/api/v1/doctor": "hs_run_doctor_and_audit", "/api/v1/ciphers/evaluate": "hs_evaluate_aq_and_ingglish", "/api/v1/zoology/classify": "hs_classify_singularity", "/api/v1/zoology/tier-list": "hs_inspect_eti_tier_list", "/api/v1/zoology/anchor-revision": "hs_simulate_anchor_revision", "/api/v1/graph/query": "hs_query_knowledge_graph", "/api/v1/glossary/search": "hs_search_glossary_encyclopedia", "/api/v1/archive/equations": "hs_search_archive_equations", "/api/v1/quant/harvest": "hs_scan_financial_quant_harvest", "/api/v1/quant/timeseries": "hs_inspect_quant_timeseries", "/api/v1/ipld/cid": "hs_compute_ipld_dag_json_cid", "/api/v1/citations/verify": "hs_verify_grounded_citations"}, "schemas_v1": ["assemblage-builds-tier-list.schema.json", "citations-ledger.schema.json", "encyclopedia-graph.schema.json", "encyclopedia-manifest.schema.json", "financial-aq-harvest.schema.json", "glossary-registry.schema.json", "learn-progress-state.schema.json", "memetic-superclass-registry.schema.json", "quant-timeseries.schema.json", "quantitative-economic-anchors.schema.json", "singularity-zoology-matrix.schema.json", "ticker-stats-card.schema.json"], "flow_diagrams": {"cross_repo_dependency_png": "/graph/docs/cross-repo-dependency-and-audit-flow-diagram.png", "periodic_harvest_cicd_vps_png": "/graph/docs/periodic-harvest-cicd-to-vps-flow-diagram.png"}, "hub_prereq_ladder": {"unit_id": "E0", "expertise_level": "Level 1-2 (Novice to Advanced Beginner • 4-8 hrs study)", "summary": "New to command-line shells, Git repositories, or client-server web architecture? Start with these free foundational resources before diving into the engineering subpages:", "links": [{"label": "Internal: Self-Paced Learning Track (/learn/ Modules 1-6)", "url": "/learn/index.html", "external": false}, {"label": "MIT Missing Semester of Your CS Education (Shell, Git, CLI)", "url": "https://missing.csail.mit.edu/", "external": true}, {"label": "MDN Web Docs — How the Web Works (HTTP, HTML, Servers)", "url": "https://developer.mozilla.org/en-US/docs/Learn/Getting_started_with_the_web/How_the_Web_works", "external": true}]}, "subpages": {"cipLine truncated
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"$id": "urn:io:hyperstitionstud:engineering-manifest",
|
||||
"version": "2.13.0",
|
||||
"version": "2.15.0",
|
||||
"enabled_subpages": [
|
||||
"ciphers-and-phonetics",
|
||||
"knowledge-graph-and-sqlite",
|
||||
@@ -19,7 +19,7 @@
|
||||
],
|
||||
"introspected_counts": {
|
||||
"repositories": 6,
|
||||
"cli_entrypoints": 19,
|
||||
"cli_entrypoints": 20,
|
||||
"mcp_tools": 20,
|
||||
"rest_domain_aliases": 12,
|
||||
"enabled_lenses": 6,
|
||||
@@ -46,7 +46,8 @@
|
||||
"hs-highlights": "hyperstitionstud_io.publishing.highlights:main",
|
||||
"hs-readme-sync": "hyperstitionstud_io.publishing.readme_sync:main",
|
||||
"hs-closeups-sync": "hyperstitionstud_io.publishing.closeups_sync:main",
|
||||
"hs-quant-voice-build": "hyperstitionstud_io.publishing.quant_voice:main"
|
||||
"hs-quant-voice-build": "hyperstitionstud_io.publishing.quant_voice:main",
|
||||
"hs-deploy-scripts-sync": "hyperstitionstud_io.ci.deploy_scripts_sync:main"
|
||||
},
|
||||
"mcp_tool_names": [
|
||||
"hs_evaluate_aq_and_ingglish",
|
||||
@@ -357,6 +358,6 @@
|
||||
}
|
||||
},
|
||||
"ipld_dag_json_cidv1": {
|
||||
"/": "baguqeerabpp7hvwoe5m7s6vkdvzk23wfccbvg2g2u7bsdyuoplyol5uhkm5q"
|
||||
"/": "baguqeeraeeexuzkgxw3xm5ah4456ql5q7ivogw4iyhnohjh2wiyn6bl6dwgq"
|
||||
}
|
||||
}
|
||||
+10
-10
@@ -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.13.0)</title>
|
||||
<link rel="stylesheet" href="../assets/hs-group3-basalt-chamfer.css?v=2.13.0" />
|
||||
<title>Software Engineering Explication Hub — hyperstitionstud.io/engineering (v2.15.0)</title>
|
||||
<link rel="stylesheet" href="../assets/hs-group3-basalt-chamfer.css?v=2.15.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 • Piecewise & Non-Sequentially Revertible Cartridges • urn:io:hyperstitionstud:engineering:v2.13.0 <span class="hs-sigil-seal" aria-hidden="true">[ ⚚ · ☿ · ☍ · ☉ ]</span></p>
|
||||
<p class="subtitle">Commutative Live-Introspected Architecture • Piecewise & Non-Sequentially Revertible Cartridges • urn:io:hyperstitionstud:engineering:v2.15.0 <span class="hs-sigil-seal" aria-hidden="true">[ ⚚ · ☿ · ☍ · ☉ ]</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);">19</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);">20</div></div>
|
||||
<div class="panel hs-plate-g3 stat-tile"><div style="font-size:0.68rem;color:var(--text-secondary);">MCP & 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-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>
|
||||
<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-deploy-scripts-sync</code></td><td><code>hyperstitionstud_io.ci.deploy_scripts_sync: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.13.0 • CIDv1: <code>baguqeerabpp7hvwoe5m7s6vkdvzk23wfccb...</code> • <span class="hs-sigil-colophon" aria-hidden="true">⚚ · ☿ · ☍ · ☉ · ♄</span> • Made with <span class="hs-heart" style="color:var(--rose);">♥</span> by Lemurs.
|
||||
hyperstitionstud.io/engineering v2.15.0 • CIDv1: <code>baguqeeraeeexuzkgxw3xm5ah4456ql5q7iv...</code> • <span class="hs-sigil-colophon" aria-hidden="true">⚚ · ☿ · ☍ · ☉ · ♄</span> • Made with <span class="hs-heart" style="color:var(--rose);">♥</span> by Lemurs.
|
||||
</footer>
|
||||
</div>
|
||||
<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>
|
||||
<script src="../assets/hs-matrix-coderain.js?v=2.15.0" defer></script>
|
||||
<script src="engineering-manifest-data.js?v=2.15.0"></script>
|
||||
<script src="engineering-app.js?v=2.15.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);">λ 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> 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.13.0"></script>
|
||||
<script src="../assets/hs-guile-scheme-repl.js?v=2.15.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.13.0)</title>
|
||||
<link rel="stylesheet" href="../../assets/hs-group3-basalt-chamfer.css?v=2.13.0" />
|
||||
<title>Unit E2: 6-Gate 388-Node Knowledge Graph Compiler, ReadOnlyIsolationGuard & Quiescent SQLite + FTS5 Engine — hyperstitionstud.io/engineering (v2.15.0)</title>
|
||||
<link rel="stylesheet" href="../../assets/hs-group3-basalt-chamfer.css?v=2.15.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 • Non-Sequentially Revertible via <code>hs-eng-docs --disable knowledge-graph-and-sqlite</code> • v2.13.0 <span class="hs-sigil-seal" aria-hidden="true">[ ⚚ · ☿ · ☍ · ☉ ]</span></p>
|
||||
<p class="subtitle">Cartridge E2 • Non-Sequentially Revertible via <code>hs-eng-docs --disable knowledge-graph-and-sqlite</code> • v2.15.0 <span class="hs-sigil-seal" aria-hidden="true">[ ⚚ · ☿ · ☍ · ☉ ]</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.13.0 • <span class="hs-sigil-colophon" aria-hidden="true">⚚ · ☿ · ☍ · ☉ · ♄</span> • Made with <span class="hs-heart" style="color:var(--rose);">♥</span> by Lemurs.
|
||||
hyperstitionstud.io/engineering/knowledge-graph-and-sqlite v2.15.0 • <span class="hs-sigil-colophon" aria-hidden="true">⚚ · ☿ · ☍ · ☉ · ♄</span> • Made with <span class="hs-heart" style="color:var(--rose);">♥</span> by Lemurs.
|
||||
</footer>
|
||||
</div>
|
||||
<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>
|
||||
<script src="../../assets/hs-matrix-coderain.js?v=2.15.0" defer></script>
|
||||
<script src="../engineering-manifest-data.js?v=2.15.0"></script>
|
||||
<script src="../engineering-app.js?v=2.15.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);">λ 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> 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.13.0"></script>
|
||||
<script src="../../assets/hs-guile-scheme-repl.js?v=2.15.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.13.0)</title>
|
||||
<link rel="stylesheet" href="../../assets/hs-group3-basalt-chamfer.css?v=2.13.0" />
|
||||
<title>Unit E4: Stateless MCP Server (:8095), Chatbot OpenAPI 3.1.0 REST Adapter, .png+.json Cards & IPLD CIDv1 — hyperstitionstud.io/engineering (v2.15.0)</title>
|
||||
<link rel="stylesheet" href="../../assets/hs-group3-basalt-chamfer.css?v=2.15.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 • Non-Sequentially Revertible via <code>hs-eng-docs --disable mcp-chatbot-rest-and-ipld</code> • v2.13.0 <span class="hs-sigil-seal" aria-hidden="true">[ ⚚ · ☿ · ☍ · ☉ ]</span></p>
|
||||
<p class="subtitle">Cartridge E4 • Non-Sequentially Revertible via <code>hs-eng-docs --disable mcp-chatbot-rest-and-ipld</code> • v2.15.0 <span class="hs-sigil-seal" aria-hidden="true">[ ⚚ · ☿ · ☍ · ☉ ]</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 • 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 ↗</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 ↗</a></li><li><a href="https://modelcontextprotocol.io/introduction" target="_blank" rel="noopener noreferrer" style="color:var(--cyan);">Model Context Protocol (MCP) Architecture Introduction ↗</a></li><li><a href="https://proto.school/" target="_blank" rel="noopener noreferrer" style="color:var(--cyan);">ProtoSchool — Content Identifiers (CIDs) & IPLD Merkle DAGs ↗</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;">λ Polyglot Foil (E4): JSON-RPC 2.0 Tool Dispatch & 'envideea' = 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">λ 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">≡ 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 & 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);">λ Guile Scheme (Z-Combinator):</strong><button type="button" class="btn hs-load-in-repl-btn" data-polyglot-lang="guile" data-scheme-expr="(list 'jsonrpc-2.0 'tool "hs_evaluate_aq_and_ingglish" (aq-base36 "envideea"))" style="padding:0.12rem 0.4rem;font-size:0.65rem;">REPL →</button></div><code class="hs-guile-code-expr">(list 'jsonrpc-2.0 'tool "hs_evaluate_aq_and_ingglish" (aq-base36 "envideea"))</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("envideea")" style="padding:0.12rem 0.4rem;font-size:0.65rem;">REPL →</button></div><code class="hs-ts-code-expr">aqBase36("envideea")</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("envideea")" style="padding:0.12rem 0.4rem;font-size:0.65rem;">REPL →</button></div><code class="hs-rust-code-expr">mcp_dispatch_aq("envideea")</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 "envideea" => 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);">⚛ Live API & 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;">⚛ Run Live /api/v1/status & 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: <ETag></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 & ETag 304 Probe" to inspect live HTTP ETag & 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>
|
||||
<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);">⚛ Live API & 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;">⚛ Run Live /api/v1/status & 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: <ETag></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 & ETag 304 Probe" to inspect live HTTP ETag & 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.15.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">← Prev: E3: Quant, Macro & Bayesian</a>
|
||||
@@ -49,12 +49,12 @@
|
||||
</div>
|
||||
|
||||
<footer>
|
||||
hyperstitionstud.io/engineering/mcp-chatbot-rest-and-ipld v2.13.0 • <span class="hs-sigil-colophon" aria-hidden="true">⚚ · ☿ · ☍ · ☉ · ♄</span> • Made with <span class="hs-heart" style="color:var(--rose);">♥</span> by Lemurs.
|
||||
hyperstitionstud.io/engineering/mcp-chatbot-rest-and-ipld v2.15.0 • <span class="hs-sigil-colophon" aria-hidden="true">⚚ · ☿ · ☍ · ☉ · ♄</span> • Made with <span class="hs-heart" style="color:var(--rose);">♥</span> by Lemurs.
|
||||
</footer>
|
||||
</div>
|
||||
<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>
|
||||
<script src="../../assets/hs-matrix-coderain.js?v=2.15.0" defer></script>
|
||||
<script src="../engineering-manifest-data.js?v=2.15.0"></script>
|
||||
<script src="../engineering-app.js?v=2.15.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);">λ 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> 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.13.0"></script>
|
||||
<script src="../../assets/hs-guile-scheme-repl.js?v=2.15.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.13.0)</title>
|
||||
<link rel="stylesheet" href="../../assets/hs-group3-basalt-chamfer.css?v=2.13.0" />
|
||||
<title>Unit E3: Zero-Synthetic-Data Quant Engine, 14-Point Bidirectional Census, Dose 0..3+, FRED Macro & Bayesian Brief — hyperstitionstud.io/engineering (v2.15.0)</title>
|
||||
<link rel="stylesheet" href="../../assets/hs-group3-basalt-chamfer.css?v=2.15.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 • Non-Sequentially Revertible via <code>hs-eng-docs --disable quant-macro-and-bayesian-brief</code> • v2.13.0 <span class="hs-sigil-seal" aria-hidden="true">[ ⚚ · ☿ · ☍ · ☉ ]</span></p>
|
||||
<p class="subtitle">Cartridge E3 • Non-Sequentially Revertible via <code>hs-eng-docs --disable quant-macro-and-bayesian-brief</code> • v2.15.0 <span class="hs-sigil-seal" aria-hidden="true">[ ⚚ · ☿ · ☍ · ☉ ]</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.13.0 • <span class="hs-sigil-colophon" aria-hidden="true">⚚ · ☿ · ☍ · ☉ · ♄</span> • Made with <span class="hs-heart" style="color:var(--rose);">♥</span> by Lemurs.
|
||||
hyperstitionstud.io/engineering/quant-macro-and-bayesian-brief v2.15.0 • <span class="hs-sigil-colophon" aria-hidden="true">⚚ · ☿ · ☍ · ☉ · ♄</span> • Made with <span class="hs-heart" style="color:var(--rose);">♥</span> by Lemurs.
|
||||
</footer>
|
||||
</div>
|
||||
<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>
|
||||
<script src="../../assets/hs-matrix-coderain.js?v=2.15.0" defer></script>
|
||||
<script src="../engineering-manifest-data.js?v=2.15.0"></script>
|
||||
<script src="../engineering-app.js?v=2.15.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);">λ 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> 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.13.0"></script>
|
||||
<script src="../../assets/hs-guile-scheme-repl.js?v=2.15.0"></script>
|
||||
</body>
|
||||
</html>
|
||||
@@ -217,7 +217,7 @@
|
||||
<main class="gallery-grid" id="galleryGrid"></main>
|
||||
|
||||
<footer>
|
||||
<div>hyperstitionstud.io/gallery • Powered by hyperstitionstudio-core (urn:io:hyperstitionstud:gallery:2.13.0)</div>
|
||||
<div>hyperstitionstud.io/gallery • Powered by hyperstitionstudio-core (urn:io:hyperstitionstud:gallery:2.15.0)</div>
|
||||
<div class="hs-lemur-credit">Made with <span class="hs-heart" role="img" aria-label="love">♥</span> by Lemurs.</div>
|
||||
</footer>
|
||||
</div>
|
||||
|
||||
+5
-5
@@ -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 & Alphanumeric Qabbala Workbench</title>
|
||||
<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" />
|
||||
<link rel="prefetch" href="/graph/graph-data.js?v=2.15.0" as="script" />
|
||||
<link rel="stylesheet" href="assets/hs-group3-basalt-chamfer.css?v=2.15.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 & HTTP/3 Edge-Ready Research Corpus • Namespace Authority: urn:io:hyperstitionstud (v2.13.0) <span class="hs-sigil-seal" aria-hidden="true">[ ⚚ · ☿ · ☍ · ☉ ]</span></p>
|
||||
<p class="subtitle">100% Offline-Portable & HTTP/3 Edge-Ready Research Corpus • Namespace Authority: urn:io:hyperstitionstud (v2.15.0) <span class="hs-sigil-seal" aria-hidden="true">[ ⚚ · ☿ · ☍ · ☉ ]</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 • Powered by hyperstitionstudio-core (hyperstitionstud_io.* / urn:io:hyperstitionstud v2.13.0) • Zero External Network Dependencies</div>
|
||||
<div>hyperstitionstud.io • Powered by hyperstitionstudio-core (hyperstitionstud_io.* / urn:io:hyperstitionstud v2.15.0) • 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">⚚ · ☿ · ☍ · ☉ · ♄</span> • Made with <span class="hs-heart" role="img" aria-label="love" style="color:var(--rose);display:inline-block;padding:0 2px;">♥</span> by Lemurs.</div>
|
||||
</footer>
|
||||
</div>
|
||||
|
||||
<script src="assets/hs-matrix-coderain.js?v=2.13.0" defer></script>
|
||||
<script src="assets/hs-matrix-coderain.js?v=2.15.0" defer></script>
|
||||
<script>
|
||||
// Automatic offline file:// relative-path adaptation when opened directly from hyperstitionstudio-core/site/index.html
|
||||
(function() {
|
||||
|
||||
@@ -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 & Technocapital Zoology)</title>
|
||||
<link rel="stylesheet" href="../assets/hs-group3-basalt-chamfer.css?v=2.13.0" />
|
||||
<link rel="stylesheet" href="../assets/hs-group3-basalt-chamfer.css?v=2.15.0" />
|
||||
<style>
|
||||
:root {
|
||||
--bg-canvas: #020617;
|
||||
@@ -421,12 +421,12 @@
|
||||
</main>
|
||||
|
||||
<footer>
|
||||
<div>hyperstitionstud.io/learn • Powered by hyperstitionstudio-core (urn:io:hyperstitionstud:schema:v1:learn-progress-state v2.13.0)</div>
|
||||
<div>hyperstitionstud.io/learn • Powered by hyperstitionstudio-core (urn:io:hyperstitionstud:schema:v1:learn-progress-state v2.15.0)</div>
|
||||
<div class="hs-lemur-credit"><span class="hs-sigil-colophon" aria-hidden="true">⚚ · ☿ · ☍ · ☉ · ♄</span> • Made with <span class="hs-heart" role="img" aria-label="love">♥</span> by Lemurs.</div>
|
||||
</footer>
|
||||
</div>
|
||||
|
||||
<script src="../assets/hs-matrix-coderain.js?v=2.13.0" defer></script>
|
||||
<script src="learn-app.js?v=2.13.0"></script>
|
||||
<script src="../assets/hs-matrix-coderain.js?v=2.15.0" defer></script>
|
||||
<script src="learn-app.js?v=2.15.0"></script>
|
||||
</body>
|
||||
</html>
|
||||
@@ -265,7 +265,7 @@
|
||||
const base = {
|
||||
$schema: "../schemas/v1/learn-progress-state.schema.json",
|
||||
$id: SCHEMA_ID,
|
||||
version: "2.13.0",
|
||||
version: "2.15.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.13.0)</title>
|
||||
<link rel="stylesheet" href="../../assets/hs-group3-basalt-chamfer.css?v=2.13.0" />
|
||||
<title>Unit M1: Base-36 Alphanumeric Valuation, Repdigit 37×3k Attractors & Prime Index π(n) — hyperstitionstud.io/math (v2.15.0)</title>
|
||||
<link rel="stylesheet" href="../../assets/hs-group3-basalt-chamfer.css?v=2.15.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 • Non-Sequentially Revertible via <code>hs-math-docs --disable base36-algebra-and-primes</code> • v2.13.0 <span class="hs-sigil-seal" aria-hidden="true">[ ⚚ · ☿ · ☍ · ☉ ]</span></p>
|
||||
<p class="subtitle">Cartridge M1 • Non-Sequentially Revertible via <code>hs-math-docs --disable base36-algebra-and-primes</code> • v2.15.0 <span class="hs-sigil-seal" aria-hidden="true">[ ⚚ · ☿ · ☍ · ☉ ]</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.13.0 • <span class="hs-sigil-colophon" aria-hidden="true">⚚ · ☿ · ☍ · ☉ · ♄</span> • Made with <span class="hs-heart" style="color:var(--rose);">♥</span> by Lemurs.
|
||||
hyperstitionstud.io/math/base36-algebra-and-primes v2.15.0 • <span class="hs-sigil-colophon" aria-hidden="true">⚚ · ☿ · ☍ · ☉ · ♄</span> • Made with <span class="hs-heart" style="color:var(--rose);">♥</span> by Lemurs.
|
||||
</footer>
|
||||
</div>
|
||||
<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>
|
||||
<script src="../../assets/hs-matrix-coderain.js?v=2.15.0" defer></script>
|
||||
<script src="../math-manifest-data.js?v=2.15.0"></script>
|
||||
<script src="../math-app.js?v=2.15.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);">λ 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> 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.13.0"></script>
|
||||
<script src="../../assets/hs-guile-scheme-repl.js?v=2.15.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.13.0)</title>
|
||||
<link rel="stylesheet" href="../../assets/hs-group3-basalt-chamfer.css?v=2.13.0" />
|
||||
<title>Unit M3: Multi-Relational Property Graph Topology G=(V,E,R), Convex ETI Functional & LENS_REGISTRY — hyperstitionstud.io/math (v2.15.0)</title>
|
||||
<link rel="stylesheet" href="../../assets/hs-group3-basalt-chamfer.css?v=2.15.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 • Non-Sequentially Revertible via <code>hs-math-docs --disable graph-topology-and-eti-scoring</code> • v2.13.0 <span class="hs-sigil-seal" aria-hidden="true">[ ⚚ · ☿ · ☍ · ☉ ]</span></p>
|
||||
<p class="subtitle">Cartridge M3 • Non-Sequentially Revertible via <code>hs-math-docs --disable graph-topology-and-eti-scoring</code> • v2.15.0 <span class="hs-sigil-seal" aria-hidden="true">[ ⚚ · ☿ · ☍ · ☉ ]</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.13.0 • <span class="hs-sigil-colophon" aria-hidden="true">⚚ · ☿ · ☍ · ☉ · ♄</span> • Made with <span class="hs-heart" style="color:var(--rose);">♥</span> by Lemurs.
|
||||
hyperstitionstud.io/math/graph-topology-and-eti-scoring v2.15.0 • <span class="hs-sigil-colophon" aria-hidden="true">⚚ · ☿ · ☍ · ☉ · ♄</span> • Made with <span class="hs-heart" style="color:var(--rose);">♥</span> by Lemurs.
|
||||
</footer>
|
||||
</div>
|
||||
<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>
|
||||
<script src="../../assets/hs-matrix-coderain.js?v=2.15.0" defer></script>
|
||||
<script src="../math-manifest-data.js?v=2.15.0"></script>
|
||||
<script src="../math-app.js?v=2.15.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);">λ 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> 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.13.0"></script>
|
||||
<script src="../../assets/hs-guile-scheme-repl.js?v=2.15.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>Mathematical Foundations & Quantitative Semiotics Hub — hyperstitionstud.io/math (v2.13.0)</title>
|
||||
<link rel="stylesheet" href="../assets/hs-group3-basalt-chamfer.css?v=2.13.0" />
|
||||
<title>Mathematical Foundations & Quantitative Semiotics Hub — hyperstitionstud.io/math (v2.15.0)</title>
|
||||
<link rel="stylesheet" href="../assets/hs-group3-basalt-chamfer.css?v=2.15.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 & QUANTITATIVE SEMIOTICS HUB (UNIT M0)</h1>
|
||||
<p class="subtitle">Zero-CDN Native Unicode Math • Commutative Empirical Introspection • Piecewise & Non-Sequentially Revertible • urn:io:hyperstitionstud:math:v2.13.0 <span class="hs-sigil-seal" aria-hidden="true">[ ⚚ · ☿ · ☍ · ☉ ]</span></p>
|
||||
<p class="subtitle">Zero-CDN Native Unicode Math • Commutative Empirical Introspection • Piecewise & Non-Sequentially Revertible • urn:io:hyperstitionstud:math:v2.15.0 <span class="hs-sigil-seal" aria-hidden="true">[ ⚚ · ☿ · ☍ · ☉ ]</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.13.0 • CIDv1: <code>baguqeeraydkixdw7qppenlllut53khkooic...</code> • <span class="hs-sigil-colophon" aria-hidden="true">⚚ · ☿ · ☍ · ☉ · ♄</span> • Made with <span class="hs-heart" style="color:var(--rose);">♥</span> by Lemurs.
|
||||
hyperstitionstud.io/math v2.15.0 • CIDv1: <code>baguqeeravdwrzd4otd5ej6cqtv2cw6dakvj...</code> • <span class="hs-sigil-colophon" aria-hidden="true">⚚ · ☿ · ☍ · ☉ · ♄</span> • Made with <span class="hs-heart" style="color:var(--rose);">♥</span> by Lemurs.
|
||||
</footer>
|
||||
</div>
|
||||
<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>
|
||||
<script src="../assets/hs-matrix-coderain.js?v=2.15.0" defer></script>
|
||||
<script src="math-manifest-data.js?v=2.15.0"></script>
|
||||
<script src="math-app.js?v=2.15.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);">λ 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> 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.13.0"></script>
|
||||
<script src="../assets/hs-guile-scheme-repl.js?v=2.15.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.13.0)</title>
|
||||
<link rel="stylesheet" href="../../assets/hs-group3-basalt-chamfer.css?v=2.13.0" />
|
||||
<title>Unit M5: Macroeconomic Spread/Velocity Identities, Discrete 3-State Bayes' Rule & Multiple-Testing Bounds — hyperstitionstud.io/math (v2.15.0)</title>
|
||||
<link rel="stylesheet" href="../../assets/hs-group3-basalt-chamfer.css?v=2.15.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 • Non-Sequentially Revertible via <code>hs-math-docs --disable macro-spreads-and-bayesian-inference</code> • v2.13.0 <span class="hs-sigil-seal" aria-hidden="true">[ ⚚ · ☿ · ☍ · ☉ ]</span></p>
|
||||
<p class="subtitle">Cartridge M5 • Non-Sequentially Revertible via <code>hs-math-docs --disable macro-spreads-and-bayesian-inference</code> • v2.15.0 <span class="hs-sigil-seal" aria-hidden="true">[ ⚚ · ☿ · ☍ · ☉ ]</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.13.0 • <span class="hs-sigil-colophon" aria-hidden="true">⚚ · ☿ · ☍ · ☉ · ♄</span> • Made with <span class="hs-heart" style="color:var(--rose);">♥</span> by Lemurs.
|
||||
hyperstitionstud.io/math/macro-spreads-and-bayesian-inference v2.15.0 • <span class="hs-sigil-colophon" aria-hidden="true">⚚ · ☿ · ☍ · ☉ · ♄</span> • Made with <span class="hs-heart" style="color:var(--rose);">♥</span> by Lemurs.
|
||||
</footer>
|
||||
</div>
|
||||
<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>
|
||||
<script src="../../assets/hs-matrix-coderain.js?v=2.15.0" defer></script>
|
||||
<script src="../math-manifest-data.js?v=2.15.0"></script>
|
||||
<script src="../math-app.js?v=2.15.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);">λ 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> 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.13.0"></script>
|
||||
<script src="../../assets/hs-guile-scheme-repl.js?v=2.15.0"></script>
|
||||
</body>
|
||||
</html>
|
||||
@@ -1 +1 @@
|
||||
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
|
||||
window.HYPERSTITION_MATH_MANIFEST = {"$id": "urn:io:hyperstitionstud:math-manifest", "version": "2.15.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
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"$id": "urn:io:hyperstitionstud:math-manifest",
|
||||
"version": "2.13.0",
|
||||
"version": "2.15.0",
|
||||
"enabled_subpages": [
|
||||
"base36-algebra-and-primes",
|
||||
"phonemic-projections-and-g-vectors",
|
||||
@@ -301,6 +301,6 @@
|
||||
}
|
||||
},
|
||||
"ipld_dag_json_cidv1": {
|
||||
"/": "baguqeeraydkixdw7qppenlllut53khkooicqvpsjynrcgsuxm7ak6nblsola"
|
||||
"/": "baguqeeravdwrzd4otd5ej6cqtv2cw6dakvj5msl54ls5ng6xctiojwokrp5q"
|
||||
}
|
||||
}
|
||||
@@ -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.13.0)</title>
|
||||
<link rel="stylesheet" href="../../assets/hs-group3-basalt-chamfer.css?v=2.13.0" />
|
||||
<title>Unit M2: Phonemic Projection Φ: Σ_eng* → Σ_ing* & Genealogical Vectors G1–G6 — hyperstitionstud.io/math (v2.15.0)</title>
|
||||
<link rel="stylesheet" href="../../assets/hs-group3-basalt-chamfer.css?v=2.15.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 • Non-Sequentially Revertible via <code>hs-math-docs --disable phonemic-projections-and-g-vectors</code> • v2.13.0 <span class="hs-sigil-seal" aria-hidden="true">[ ⚚ · ☿ · ☍ · ☉ ]</span></p>
|
||||
<p class="subtitle">Cartridge M2 • Non-Sequentially Revertible via <code>hs-math-docs --disable phonemic-projections-and-g-vectors</code> • v2.15.0 <span class="hs-sigil-seal" aria-hidden="true">[ ⚚ · ☿ · ☍ · ☉ ]</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.13.0 • <span class="hs-sigil-colophon" aria-hidden="true">⚚ · ☿ · ☍ · ☉ · ♄</span> • Made with <span class="hs-heart" style="color:var(--rose);">♥</span> by Lemurs.
|
||||
hyperstitionstud.io/math/phonemic-projections-and-g-vectors v2.15.0 • <span class="hs-sigil-colophon" aria-hidden="true">⚚ · ☿ · ☍ · ☉ · ♄</span> • Made with <span class="hs-heart" style="color:var(--rose);">♥</span> by Lemurs.
|
||||
</footer>
|
||||
</div>
|
||||
<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>
|
||||
<script src="../../assets/hs-matrix-coderain.js?v=2.15.0" defer></script>
|
||||
<script src="../math-manifest-data.js?v=2.15.0"></script>
|
||||
<script src="../math-app.js?v=2.15.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);">λ 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> 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.13.0"></script>
|
||||
<script src="../../assets/hs-guile-scheme-repl.js?v=2.15.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.13.0)</title>
|
||||
<link rel="stylesheet" href="../../assets/hs-group3-basalt-chamfer.css?v=2.13.0" />
|
||||
<title>Unit M4: Longitudinal Moments (ts_*), Lead-Lag r(τ), Order Statistics (P50, P90) & Confluence Dose D ∈ {0..4} — hyperstitionstud.io/math (v2.15.0)</title>
|
||||
<link rel="stylesheet" href="../../assets/hs-group3-basalt-chamfer.css?v=2.15.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 • Non-Sequentially Revertible via <code>hs-math-docs --disable timeseries-moments-and-confluence-dose</code> • v2.13.0 <span class="hs-sigil-seal" aria-hidden="true">[ ⚚ · ☿ · ☍ · ☉ ]</span></p>
|
||||
<p class="subtitle">Cartridge M4 • Non-Sequentially Revertible via <code>hs-math-docs --disable timeseries-moments-and-confluence-dose</code> • v2.15.0 <span class="hs-sigil-seal" aria-hidden="true">[ ⚚ · ☿ · ☍ · ☉ ]</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.13.0 • <span class="hs-sigil-colophon" aria-hidden="true">⚚ · ☿ · ☍ · ☉ · ♄</span> • Made with <span class="hs-heart" style="color:var(--rose);">♥</span> by Lemurs.
|
||||
hyperstitionstud.io/math/timeseries-moments-and-confluence-dose v2.15.0 • <span class="hs-sigil-colophon" aria-hidden="true">⚚ · ☿ · ☍ · ☉ · ♄</span> • Made with <span class="hs-heart" style="color:var(--rose);">♥</span> by Lemurs.
|
||||
</footer>
|
||||
</div>
|
||||
<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>
|
||||
<script src="../../assets/hs-matrix-coderain.js?v=2.15.0" defer></script>
|
||||
<script src="../math-manifest-data.js?v=2.15.0"></script>
|
||||
<script src="../math-app.js?v=2.15.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);">λ 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> 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.13.0"></script>
|
||||
<script src="../../assets/hs-guile-scheme-repl.js?v=2.15.0"></script>
|
||||
</body>
|
||||
</html>
|
||||
@@ -4,7 +4,7 @@
|
||||
<meta charset="UTF-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>Quantitative Finance & Memetic Gematria Time-Series Workbench — hyperstitionstud.io/quant</title>
|
||||
<link rel="stylesheet" href="../assets/hs-group3-basalt-chamfer.css?v=2.13.0" />
|
||||
<link rel="stylesheet" href="../assets/hs-group3-basalt-chamfer.css?v=2.15.0" />
|
||||
<style>
|
||||
:root {
|
||||
--bg-canvas: #020617;
|
||||
@@ -316,14 +316,14 @@
|
||||
padding-top: 1rem;
|
||||
}
|
||||
</style>
|
||||
<script src="quant-timeseries-data.js?v=2.13.0"></script>
|
||||
<script src="quant-timeseries-data.js?v=2.15.0"></script>
|
||||
</head>
|
||||
<body>
|
||||
<div class="container">
|
||||
<header>
|
||||
<div>
|
||||
<h1>hyperstitionstud.io/quant — Quantitative Finance & Memetic Gematria Time-Series Workbench</h1>
|
||||
<p class="subtitle">Strictly Periodic Telemetry (21:30 UTC US Closing Bell × 00:00 UTC News-Wire Dossiers • 24 Watchlist Instruments • 14 FRED Macro Series) • Lens-Neutral Schema (urn:io:hyperstitionstud:quant-timeseries:v2.13.0) <span class="hs-sigil-seal" aria-hidden="true">[ ⚚ · ☿ · ☍ · ☉ ]</span></p>
|
||||
<p class="subtitle">Strictly Periodic Telemetry (21:30 UTC US Closing Bell × 00:00 UTC News-Wire Dossiers • 24 Watchlist Instruments • 14 FRED Macro Series) • Lens-Neutral Schema (urn:io:hyperstitionstud:quant-timeseries:v2.15.0) <span class="hs-sigil-seal" aria-hidden="true">[ ⚚ · ☿ · ☍ · ☉ ]</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.13.0 • <span class="hs-sigil-colophon" aria-hidden="true">⚚ · ☿ · ☍ · ☉ · ♄</span> • Made with <span class="hs-heart" style="color:#ff4d4d;">♥</span> by Lemurs.
|
||||
hyperstitionstud.io/quant v2.15.0 • <span class="hs-sigil-colophon" aria-hidden="true">⚚ · ☿ · ☍ · ☉ · ♄</span> • Made with <span class="hs-heart" style="color:#ff4d4d;">♥</span> by Lemurs.
|
||||
</footer>
|
||||
</div>
|
||||
<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>
|
||||
<script src="../assets/hs-matrix-coderain.js?v=2.15.0" defer></script>
|
||||
<script src="real-macro-indicators-data.js?v=2.15.0"></script>
|
||||
<script src="daily-brief-data.js?v=2.15.0"></script>
|
||||
<script src="quant-app.js?v=2.15.0"></script>
|
||||
<script src="quant-tutorials.js?v=2.15.0"></script>
|
||||
</body>
|
||||
</html>
|
||||
@@ -1,5 +1,5 @@
|
||||
// /workspace/hyperstitionstudio-core/site/quant/quant-app.js
|
||||
// Interactive Quantitative Finance & Memetic Gematria Time-Series Workbench (v2.13.0)
|
||||
// Interactive Quantitative Finance & Memetic Gematria Time-Series Workbench (v2.15.0)
|
||||
(function () {
|
||||
"use strict";
|
||||
|
||||
|
||||
@@ -450,6 +450,7 @@
|
||||
let cachedVoices = [];
|
||||
let audioCtx = null;
|
||||
let activeAudioEl = null;
|
||||
let activeAudioEqConnected = false;
|
||||
let formantStopFlag = false;
|
||||
|
||||
function refreshVoices() {
|
||||
@@ -496,13 +497,15 @@
|
||||
const baseFreqs = [292.0, 333.0, 394.0, 444.0, 528.0];
|
||||
const f0 = baseFreqs[stepIdx % baseFreqs.length];
|
||||
const now = audioCtx.currentTime;
|
||||
// Strategy 3A: Duck chime gain by -50% (0.012 vs 0.025) when Voice: ON is active so opening words are never masked
|
||||
const peakGain = speechEnabled ? 0.012 : 0.025;
|
||||
[f0, f0 * 1.25, f0 * 1.5].forEach(function (freq, i) {
|
||||
const osc = audioCtx.createOscillator();
|
||||
const gain = audioCtx.createGain();
|
||||
osc.type = i === 0 ? "triangle" : "sine";
|
||||
osc.frequency.setValueAtTime(freq, now + i * 0.09);
|
||||
gain.gain.setValueAtTime(0.001, now + i * 0.09);
|
||||
gain.gain.exponentialRampToValueAtTime(0.025, now + i * 0.09 + 0.03);
|
||||
gain.gain.exponentialRampToValueAtTime(peakGain, now + i * 0.09 + 0.03);
|
||||
gain.gain.exponentialRampToValueAtTime(0.0001, now + i * 0.09 + 0.35);
|
||||
osc.connect(gain);
|
||||
gain.connect(audioCtx.destination);
|
||||
@@ -631,6 +634,32 @@
|
||||
document.body.appendChild(activeAudioEl);
|
||||
}
|
||||
}
|
||||
// Strategy 3A: Route #tutVoiceAudio through a WebAudio BiquadFilterNode vocal warmth EQ (+2.5 dB @ 220 Hz, -3.0 dB @ 4.8 kHz)
|
||||
if (!activeAudioEqConnected && typeof window !== "undefined" && window.location && window.location.protocol !== "file:") {
|
||||
try {
|
||||
const Ctx = window.AudioContext || window.webkitAudioContext;
|
||||
if (Ctx) {
|
||||
if (!audioCtx) audioCtx = new Ctx();
|
||||
if (audioCtx.state === "suspended") audioCtx.resume();
|
||||
const srcNode = audioCtx.createMediaElementSource(activeAudioEl);
|
||||
const lowShelf = audioCtx.createBiquadFilter();
|
||||
lowShelf.type = "lowshelf";
|
||||
lowShelf.frequency.value = 220.0;
|
||||
lowShelf.gain.value = 2.5;
|
||||
const deEssPeak = audioCtx.createBiquadFilter();
|
||||
deEssPeak.type = "peaking";
|
||||
deEssPeak.frequency.value = 4800.0;
|
||||
deEssPeak.Q.value = 1.4;
|
||||
deEssPeak.gain.value = -3.0;
|
||||
srcNode.connect(lowShelf);
|
||||
lowShelf.connect(deEssPeak);
|
||||
deEssPeak.connect(audioCtx.destination);
|
||||
activeAudioEqConnected = true;
|
||||
}
|
||||
} catch (_) {
|
||||
activeAudioEqConnected = true;
|
||||
}
|
||||
}
|
||||
const wavUrl = "./audio/" + clipId + ".wav";
|
||||
let handled = false;
|
||||
const doneOnce = function () {
|
||||
@@ -992,7 +1021,7 @@
|
||||
}
|
||||
|
||||
const exportedApi = {
|
||||
version: "2.13.0",
|
||||
version: "2.15.0",
|
||||
episodes: EPISODES,
|
||||
allHighlightableDomIds: ALL_HIGHLIGHTABLE_DOM_IDS,
|
||||
cleanTextForSpeech: cleanTextForSpeech,
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
"""hyperstitionstud_io — Shared Common Library for the hyperstitionstud.io workspace (v2.13.0)."""
|
||||
__version__ = "2.13.0"
|
||||
"""hyperstitionstud_io — Shared Common Library for the hyperstitionstud.io workspace (v2.15.0)."""
|
||||
__version__ = "2.15.0"
|
||||
NAMESPACE_URN = "urn:io:hyperstitionstud"
|
||||
@@ -0,0 +1,266 @@
|
||||
#!/usr/bin/env python3
|
||||
"""
|
||||
hyperstitionstud_io.ci.deploy_scripts_sync (`hs-deploy-scripts-sync`)
|
||||
Pre-Commit Preparation & 8-Gate Drift-Blocking Verifier (`Gates D1-D8`) for the Two Manual Operator
|
||||
Deployment Scripts (`/workspace/push-all-to-git-libre-audio.sh` and `deploy/sync-vps-repos.sh`).
|
||||
|
||||
Wired directly into `.git/hooks/pre-commit`, `version_sync.py`, and `tests/test_core_suite.py` so that
|
||||
`push-all-to-git-libre-audio.sh` (and its tracked mirror `hyperstitionstudio-core/deploy/push-all-to-git-libre-audio.sh`)
|
||||
and `deploy/sync-vps-repos.sh` are always prepared, validated, and staged PRIOR to every commit.
|
||||
"""
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import argparse
|
||||
import json
|
||||
import os
|
||||
import re
|
||||
import subprocess
|
||||
from pathlib import Path
|
||||
from typing import Any
|
||||
|
||||
from hyperstitionstud_io import __version__ as CURRENT_VERSION
|
||||
from hyperstitionstud_io.config import load_workspace_config
|
||||
|
||||
|
||||
def _norm_ws_path(p: Path | str, workspace_root: str | Path | None = None) -> str:
|
||||
cfg = load_workspace_config(workspace_root=workspace_root)
|
||||
ws_res = str(cfg.workspace_root.resolve())
|
||||
s = str(Path(p).resolve())
|
||||
if s.startswith(ws_res):
|
||||
return "/workspace" + s[len(ws_res):]
|
||||
return str(p)
|
||||
|
||||
|
||||
def prepare_and_verify_deploy_scripts(
|
||||
workspace_root: str | Path | None = None,
|
||||
target_version: str | None = None,
|
||||
check_only: bool = False,
|
||||
stage: bool = False,
|
||||
) -> dict[str, Any]:
|
||||
"""
|
||||
Prepare and verify `/workspace/push-all-to-git-libre-audio.sh`,
|
||||
`/workspace/hyperstitionstudio-core/deploy/push-all-to-git-libre-audio.sh`,
|
||||
and `/workspace/hyperstitionstudio-core/deploy/sync-vps-repos.sh` across Gates D1-D8.
|
||||
"""
|
||||
cfg = load_workspace_config(workspace_root=workspace_root)
|
||||
ws_root = cfg.workspace_root
|
||||
core_dir = cfg.core_dir
|
||||
ver = (target_version or CURRENT_VERSION).lstrip("v").strip()
|
||||
|
||||
ws_push_sh = ws_root / "push-all-to-git-libre-audio.sh"
|
||||
tracked_push_sh = core_dir / "deploy" / "push-all-to-git-libre-audio.sh"
|
||||
sync_vps_sh = core_dir / "deploy" / "sync-vps-repos.sh"
|
||||
caddyfile_p = core_dir / "deploy" / "Caddyfile"
|
||||
|
||||
modified_files: list[str] = []
|
||||
errors: list[str] = []
|
||||
|
||||
# Gate D1: Version Header & Tracked Mirror Parity
|
||||
# Note: On VPS (/srv/hyperstitionstud.io/repos), the tracked copy is `hyperstitionstudio-core/deploy/push-all-to-git-libre-audio.sh`
|
||||
# while the parent directory `ws_root/push-all-to-git-libre-audio.sh` may be absent until hydrated.
|
||||
if ws_push_sh.is_file():
|
||||
push_txt = ws_push_sh.read_text(encoding="utf-8")
|
||||
upd_push = re.sub(r"^#\s*Release\s+v\d+\.\d+\.\d+:", f"# Release v{ver}:", push_txt, count=1, flags=re.M)
|
||||
if upd_push != push_txt:
|
||||
if check_only:
|
||||
errors.append(f"Gate D1: {ws_push_sh} release header does not match v{ver}")
|
||||
else:
|
||||
ws_push_sh.write_text(upd_push, encoding="utf-8")
|
||||
ws_push_sh.chmod(0o755)
|
||||
modified_files.append(_norm_ws_path(ws_push_sh, workspace_root=ws_root))
|
||||
push_txt = upd_push
|
||||
|
||||
tracked_txt = tracked_push_sh.read_text(encoding="utf-8") if tracked_push_sh.is_file() else ""
|
||||
if tracked_txt != push_txt:
|
||||
if check_only:
|
||||
errors.append(f"Gate D1: Tracked mirror {tracked_push_sh} is out of sync with {ws_push_sh}")
|
||||
else:
|
||||
tracked_push_sh.parent.mkdir(parents=True, exist_ok=True)
|
||||
tracked_push_sh.write_text(push_txt, encoding="utf-8")
|
||||
tracked_push_sh.chmod(0o755)
|
||||
modified_files.append(_norm_ws_path(tracked_push_sh, workspace_root=ws_root))
|
||||
elif tracked_push_sh.is_file():
|
||||
push_txt = tracked_push_sh.read_text(encoding="utf-8")
|
||||
upd_push = re.sub(r"^#\s*Release\s+v\d+\.\d+\.\d+:", f"# Release v{ver}:", push_txt, count=1, flags=re.M)
|
||||
if upd_push != push_txt:
|
||||
if check_only:
|
||||
errors.append(f"Gate D1: {tracked_push_sh} release header does not match v{ver}")
|
||||
else:
|
||||
tracked_push_sh.write_text(upd_push, encoding="utf-8")
|
||||
tracked_push_sh.chmod(0o755)
|
||||
modified_files.append(_norm_ws_path(tracked_push_sh, workspace_root=ws_root))
|
||||
push_txt = upd_push
|
||||
if not check_only:
|
||||
try:
|
||||
ws_push_sh.write_text(push_txt, encoding="utf-8")
|
||||
ws_push_sh.chmod(0o755)
|
||||
except OSError:
|
||||
pass
|
||||
else:
|
||||
errors.append(f"Gate D1: Missing both {ws_push_sh} and {tracked_push_sh}")
|
||||
|
||||
if sync_vps_sh.is_file():
|
||||
sync_txt = sync_vps_sh.read_text(encoding="utf-8")
|
||||
if re.search(r"^#\s*Release\s+v\d+\.\d+\.\d+:", sync_txt, flags=re.M):
|
||||
upd_sync = re.sub(r"^#\s*Release\s+v\d+\.\d+\.\d+:", f"# Release v{ver}:", sync_txt, count=1, flags=re.M)
|
||||
else:
|
||||
upd_sync = sync_txt.replace(
|
||||
"# /workspace/hyperstitionstudio-core/deploy/sync-vps-repos.sh\n",
|
||||
f"# /workspace/hyperstitionstudio-core/deploy/sync-vps-repos.sh\n# Release v{ver}: Self-re-executing tmpfs VPS hydration & service sync.\n",
|
||||
1,
|
||||
)
|
||||
if upd_sync != sync_txt:
|
||||
if check_only:
|
||||
errors.append(f"Gate D1: {sync_vps_sh} release header does not match v{ver}")
|
||||
else:
|
||||
sync_vps_sh.write_text(upd_sync, encoding="utf-8")
|
||||
sync_vps_sh.chmod(0o755)
|
||||
modified_files.append(_norm_ws_path(sync_vps_sh, workspace_root=ws_root))
|
||||
sync_txt = upd_sync
|
||||
else:
|
||||
errors.append(f"Gate D1: Missing {sync_vps_sh}")
|
||||
|
||||
gate_d1_ok = len(errors) == 0
|
||||
|
||||
# Gate D2 & D3: bash -n Syntax, Executable Permissions & Zero-/dev/null Redirections
|
||||
scripts_to_audit = [
|
||||
ws_push_sh,
|
||||
tracked_push_sh,
|
||||
sync_vps_sh,
|
||||
core_dir / "deploy" / "run-vps-data-production.sh",
|
||||
core_dir / "deploy" / "run-vps-archive-rotation.sh",
|
||||
cfg.archive_dir / "packaging" / "build-fedora41-rpm.sh",
|
||||
cfg.archive_dir / "packaging" / "bundle" / "scripts" / "run_exegesis_and_push_fedora41.sh",
|
||||
]
|
||||
gate_d2_ok = True
|
||||
gate_d3_ok = True
|
||||
for sp in scripts_to_audit:
|
||||
if not sp.is_file():
|
||||
continue
|
||||
if not check_only and not os.access(sp, os.X_OK):
|
||||
sp.chmod(0o755)
|
||||
proc = subprocess.run(["bash", "-n", str(sp)], capture_output=True, text=True, check=False)
|
||||
if proc.returncode != 0:
|
||||
gate_d2_ok = False
|
||||
errors.append(f"Gate D2: bash -n syntax error in {sp}: {proc.stderr.strip()}")
|
||||
stxt = sp.read_text(encoding="utf-8")
|
||||
if "/dev/null" in stxt:
|
||||
gate_d3_ok = False
|
||||
errors.append(f"Gate D3: Forbidden /dev/null found in {sp}")
|
||||
|
||||
# Gate D4: Untracked Runtime Artifact Hydration Parity (.gitignore vs. sync-vps-repos.sh)
|
||||
sync_txt_cur = sync_vps_sh.read_text(encoding="utf-8") if sync_vps_sh.is_file() else ""
|
||||
core_gi = (core_dir / ".gitignore").read_text(encoding="utf-8") if (core_dir / ".gitignore").is_file() else ""
|
||||
gate_d4_ok = True
|
||||
if "site/quant/audio/" in core_gi:
|
||||
if "quant_voice" not in sync_txt_cur or "--filter='P site/quant/audio/***'" not in sync_txt_cur:
|
||||
gate_d4_ok = False
|
||||
errors.append("Gate D4: site/quant/audio/ is in .gitignore but quant_voice / rsync filter is missing in deploy/sync-vps-repos.sh")
|
||||
if "generate_db_json.py" not in sync_txt_cur or "config.default.js" not in sync_txt_cur:
|
||||
gate_d4_ok = False
|
||||
errors.append("Gate D4: haiperdohp-jemaytreeah untracked artifact hydration missing in deploy/sync-vps-repos.sh")
|
||||
|
||||
# Gate D5: Cold *.tar.gz Archive Exclusion & Explicit rm -f Safety in sync-vps-repos.sh
|
||||
gate_d5_ok = (
|
||||
"--exclude='completed-plans-archive.tar.gz'" in sync_txt_cur
|
||||
and "--exclude='inactive-plans-archive.tar.gz'" in sync_txt_cur
|
||||
and 'docs/archive/completed-plans-archive.tar.gz"' in sync_txt_cur
|
||||
and 'docs/plans/inactive/inactive-plans-archive.tar.gz"' in sync_txt_cur
|
||||
)
|
||||
if not gate_d5_ok:
|
||||
errors.append("Gate D5: Cold plan .tar.gz exclusion or rm -f cleanup missing in deploy/sync-vps-repos.sh")
|
||||
|
||||
# Gate D6: Single-Layer 1x Compression & Caddyfile Media Extension Parity
|
||||
caddy_txt = caddyfile_p.read_text(encoding="utf-8") if caddyfile_p.is_file() else ""
|
||||
push_src = ws_push_sh if ws_push_sh.is_file() else tracked_push_sh
|
||||
push_txt_cur = push_src.read_text(encoding="utf-8") if push_src.is_file() else ""
|
||||
gate_d6_ok = (
|
||||
"--enforce-single-compression" in push_txt_cur
|
||||
and "--enforce-single-compression" in sync_txt_cur
|
||||
and "@compressible not path" in caddy_txt
|
||||
and "*.wav" in caddy_txt
|
||||
and "*.pdf" in caddy_txt
|
||||
)
|
||||
if not gate_d6_ok:
|
||||
errors.append("Gate D6: Single-layer compression enforcement or Caddyfile media extension parity missing")
|
||||
|
||||
# Gate D7: Topological 6-Repository Push & Force-Tag Sync Parity in push-all-to-git-libre-audio.sh
|
||||
required_push_markers = (
|
||||
"hyperstitionstudio-core",
|
||||
"ingglish-hyperdope-gematria",
|
||||
"technocapital-singularity-zoology",
|
||||
"encyclopedia-knowledge-graph",
|
||||
"hyperdope-ci-build",
|
||||
"haiperdohp-jemaytreeah",
|
||||
'push --force "${remote_name}" "refs/tags/${head_tag}"',
|
||||
"build-fedora41-rpm.sh",
|
||||
"run_exegesis_and_push_fedora41.sh",
|
||||
)
|
||||
gate_d7_ok = all(m in push_txt_cur for m in required_push_markers)
|
||||
if not gate_d7_ok:
|
||||
errors.append("Gate D7: Missing required repository, force-tag, or verification marker in push-all-to-git-libre-audio.sh")
|
||||
|
||||
# Gate D8: Automatic Git Staging Prior to Commit (--stage)
|
||||
staged_files: list[str] = []
|
||||
if stage and not check_only and (core_dir / ".git").exists():
|
||||
for rel_s in ("deploy/push-all-to-git-libre-audio.sh", "deploy/sync-vps-repos.sh", "deploy/Caddyfile"):
|
||||
cand_p = core_dir / rel_s
|
||||
if cand_p.is_file():
|
||||
subprocess.run(["git", "-C", str(core_dir), "add", rel_s], check=False)
|
||||
staged_files.append(f"/workspace/hyperstitionstudio-core/{rel_s}")
|
||||
|
||||
all_ok = (
|
||||
gate_d1_ok
|
||||
and gate_d2_ok
|
||||
and gate_d3_ok
|
||||
and gate_d4_ok
|
||||
and gate_d5_ok
|
||||
and gate_d6_ok
|
||||
and gate_d7_ok
|
||||
and len(errors) == 0
|
||||
)
|
||||
|
||||
return {
|
||||
"ok": all_ok,
|
||||
"version": ver,
|
||||
"check_only": check_only,
|
||||
"gates": {
|
||||
"D1_version_header_and_tracked_mirror_parity": gate_d1_ok,
|
||||
"D2_bash_syntax_and_exec_permissions": gate_d2_ok,
|
||||
"D3_zero_dev_null_redirections": gate_d3_ok,
|
||||
"D4_gitignore_untracked_runtime_hydration_parity": gate_d4_ok,
|
||||
"D5_cold_tar_gz_tmpfs_exclusion_and_rm": gate_d5_ok,
|
||||
"D6_single_layer_compression_and_caddy_parity": gate_d6_ok,
|
||||
"D7_topological_6_repo_push_and_force_tags": gate_d7_ok,
|
||||
"D8_pre_commit_auto_stage_ready": True,
|
||||
},
|
||||
"modified_files": modified_files,
|
||||
"staged_files": staged_files,
|
||||
"errors": errors,
|
||||
}
|
||||
|
||||
|
||||
def main(argv: list[str] | None = None) -> int:
|
||||
ap = argparse.ArgumentParser(
|
||||
prog="hs-deploy-scripts-sync",
|
||||
description="Prepare, synchronize, and verify push-all-to-git-libre-audio.sh and deploy/sync-vps-repos.sh prior to commits.",
|
||||
)
|
||||
ap.add_argument("--check", action="store_true", help="Verify Gates D1-D8 without modifying files.")
|
||||
ap.add_argument("--stage", action="store_true", help="Stage updated deploy scripts in hyperstitionstudio-core via git add.")
|
||||
ap.add_argument("--version", default=None, help="Optional target semantic version override.")
|
||||
ap.add_argument("--workspace-root", default=None, help="Optional workspace root directory.")
|
||||
args = ap.parse_args(argv)
|
||||
|
||||
res = prepare_and_verify_deploy_scripts(
|
||||
workspace_root=args.workspace_root,
|
||||
target_version=args.version,
|
||||
check_only=args.check,
|
||||
stage=args.stage,
|
||||
)
|
||||
print(json.dumps(res, indent=2))
|
||||
return 0 if res["ok"] else 1
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
raise SystemExit(main())
|
||||
@@ -39,8 +39,8 @@ from hyperstitionstud_io.mcp.tools import MCP_TOOLS_SCHEMA, call_mcp_tool # noq
|
||||
|
||||
SERVER_INFO = {
|
||||
"name": "hyperstitionstudio-mcp",
|
||||
"version": "2.13.0",
|
||||
"namespace_urn": "urn:io:hyperstitionstud:mcp:2.13.0",
|
||||
"version": "2.15.0",
|
||||
"namespace_urn": "urn:io:hyperstitionstud:mcp:2.15.0",
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -330,15 +330,15 @@ def render_all_quadrant_closeups(
|
||||
learn_has_sigil_svg = "grimoireSigilSvg" in (surfaces.get("learn", {}).get("ids") or [])
|
||||
eng_has_cli_filter = "engCliFilterInput" in (surfaces.get("engineering_hub", {}).get("ids") or [])
|
||||
|
||||
# 1. Quadrant 01 Tab 1: /calc/ Cipher Matrix
|
||||
# 1. Quadrant 01 Tab 1: /calc/ Cipher Matrix (haiperdohpjematreeah)
|
||||
im, d = _new_canvas()
|
||||
_draw_chamfer_box(d, (10, 10, 670, 250), PLATE, BORDER, chamfer=10, pip=EMERALD)
|
||||
d.text((24, 20), "haiperdohp-jemaytreeah • Multi-Cipher Phonetic & Base-36 AQ Matrix", font=f_hdr, fill=EMERALD)
|
||||
d.text((24, 20), "haiperdohpjematreeah • Multi-Cipher Phonetic & Base-36 AQ Matrix", font=f_hdr, fill=EMERALD)
|
||||
d.rectangle([24, 44, 656, 74], fill=WELL, outline=EMERALD)
|
||||
d.text((34, 51), "Query: sinthetik dayta", font=f_mono_md, fill=TEXT)
|
||||
d.text((480, 52), f"db.txt: {db_cnt_str} Entries", font=f_mono, fill=CYAN)
|
||||
ciphers = [
|
||||
("haiperdohp-jemaytreeah", "292", EMERALD),
|
||||
("haiperdohpjematreeah", "292", EMERALD),
|
||||
("Phonemic Ingglish AQ", "292", CYAN),
|
||||
("Written English AQ", "250", GOLD),
|
||||
("Simple Ordinal", "178", ROSE),
|
||||
|
||||
@@ -1,27 +1,39 @@
|
||||
#!/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`).
|
||||
High-Naturalness Zero-Git-Audio Spoken Voice Compiler for `/quant/` Interactive Guided Tour
|
||||
(`PLAN-PIECEWISE-QUANT-VOICE-QUALITY-AND-FAST-DEPLOY-SYNTHESIS`, `Affirmed Strategies 1A, 2A, 3A`).
|
||||
|
||||
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`.
|
||||
- Strategy 1A (Per-Clip SHA-256 Incremental Cache + Parallel 8-Worker Build + Background `slt` Upgrade):
|
||||
* Stage 1 (`~1.22s` cold / `< 15ms` warm): Synthesizes any missing or modified scene clips in parallel
|
||||
using `flite -voice kal16` (`16 kHz` recorded human diphone voice, or `espeak-ng -v en-us+klatt4 -s 160 -p 46`
|
||||
if `flite` is absent, or pure-Python Klatt formant WAV synthesis as offline fallback).
|
||||
* Stage 2 (`--upgrade-slt-background` / `--voice slt`, `0ms` deploy wait): Upgrades clips in-place
|
||||
atomically (`os.replace`) to the smooth CMU Arctic `slt` statistical parametric voice.
|
||||
- Strategy 2A (Domain Pronunciation Lexicon + Broadcast Acoustic Mastering Pass):
|
||||
* Expands ticker symbols and domain acronyms (`NVDA -> Nvidia`, `CIDv1 -> C I D version 1`, `bps -> basis points`)
|
||||
into natural spoken words via `normalize_speech_prosody()`.
|
||||
* Applies `master_wav_broadcast_warmth()` (`< 80ms` total): DC offset removal, `5.4 kHz` 1-pole warmth
|
||||
low-pass de-esser, `-1.5 dBFS` peak normalization, and `15ms` cosine fade-in/fade-out envelopes.
|
||||
"""
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import argparse
|
||||
import array
|
||||
import concurrent.futures
|
||||
import hashlib
|
||||
import json
|
||||
import math
|
||||
import os
|
||||
import re
|
||||
import shutil
|
||||
import struct
|
||||
import subprocess
|
||||
import sys
|
||||
import wave
|
||||
from pathlib import Path
|
||||
from typing import Any
|
||||
@@ -31,7 +43,41 @@ 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)
|
||||
# Strategy 2A: Domain Ticker & Acronym Pronunciation Lexicon
|
||||
_PRONUNCIATION_SUBS: tuple[tuple[re.Pattern[str], str], ...] = (
|
||||
(re.compile(r"\bNASDAQ:NVDA\b"), "NASDAQ Nvidia"),
|
||||
(re.compile(r"\bNVDA\b"), "Nvidia"),
|
||||
(re.compile(r"\bMSFT\b"), "Microsoft"),
|
||||
(re.compile(r"\bTSMC\b"), "T S M C"),
|
||||
(re.compile(r"\bTSM\b"), "T S M C"),
|
||||
(re.compile(r"\bASML\b"), "A S M L"),
|
||||
(re.compile(r"\bAVGO\b"), "Broadcom"),
|
||||
(re.compile(r"\bPLTR\b"), "Palantir"),
|
||||
(re.compile(r"\bBLK\b"), "BlackRock"),
|
||||
(re.compile(r"\bCOIN\b"), "Coinbase"),
|
||||
(re.compile(r"\bANTHR-PVT\b"), "Anthropic private"),
|
||||
(re.compile(r"\bCIDv1\b"), "C I D version 1"),
|
||||
(re.compile(r"\bdag-json\b", re.I), "dag JSON"),
|
||||
(re.compile(r"\bIPLD\b"), "I P L D"),
|
||||
(re.compile(r"\bEUV\b"), "E U V"),
|
||||
(re.compile(r"\bFRED\b"), "Federal Reserve FRED"),
|
||||
(re.compile(r"\bAQ\b"), "A Q"),
|
||||
(re.compile(r"\bETI\b"), "E T I"),
|
||||
(re.compile(r"\bWOPR\b"), "whopper"),
|
||||
(re.compile(r"\bWAR\b"), "wins above replacement"),
|
||||
(re.compile(r"\bSNAP%\b"), "snap percentage"),
|
||||
(re.compile(r"\bbps\b"), "basis points"),
|
||||
(re.compile(r"\bBPS\b"), "basis points"),
|
||||
(re.compile(r"\bUTC\b"), "U T C"),
|
||||
(re.compile(r"\bGMT\b"), "G M T"),
|
||||
(re.compile(r"\bCSV\b"), "C S V"),
|
||||
(re.compile(r"\bJSON\b"), "JSON"),
|
||||
(re.compile(r"\bPDF\b"), "P D F"),
|
||||
(re.compile(r"\bREST\b"), "REST"),
|
||||
(re.compile(r"\bAPI\b"), "A P I"),
|
||||
(re.compile(r"\bUI\b"), "U I"),
|
||||
)
|
||||
|
||||
_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),
|
||||
@@ -70,11 +116,93 @@ _FORMANT_TABLE: dict[str, tuple[float, float, float, float]] = {
|
||||
_FRICATIVE_SET = frozenset({"s", "sh", "f", "th", "h", "ch", "k", "p", "t"})
|
||||
|
||||
|
||||
def normalize_speech_prosody(speech_text: str) -> str:
|
||||
"""
|
||||
Strategy 2A: Expand domain tickers, acronyms, and mathematical identifiers into natural
|
||||
spoken English words with clean prosodic clause pauses.
|
||||
"""
|
||||
out = str(speech_text or "").strip()
|
||||
for pat, repl in _PRONUNCIATION_SUBS:
|
||||
out = pat.sub(repl, out)
|
||||
out = re.sub(r"\s+", " ", out).strip()
|
||||
return out
|
||||
|
||||
|
||||
def master_wav_broadcast_warmth(wav_path: Path, cutoff_hz: float = 5400.0) -> None:
|
||||
"""
|
||||
Strategy 2A: Pure-Python Broadcast Acoustic Mastering Pass (`< 3ms` per clip):
|
||||
1. Removes DC offset,
|
||||
2. Applies a 1-pole low-pass warmth/de-essing filter (`f_c = 5.4 kHz`) to smooth harsh sibilants,
|
||||
3. Normalizes peak amplitude to `-1.5 dBFS` (`27500 / 32767`),
|
||||
4. Applies `15ms` cosine fade-in and fade-out envelopes so clip edges never click.
|
||||
"""
|
||||
if not wav_path.is_file():
|
||||
return
|
||||
try:
|
||||
with wave.open(str(wav_path), "rb") as rf:
|
||||
n_ch = rf.getnchannels()
|
||||
samp_w = rf.getsampwidth()
|
||||
sr = rf.getframerate()
|
||||
n_frames = rf.getnframes()
|
||||
raw_bytes = rf.readframes(n_frames)
|
||||
if samp_w != 2 or n_ch != 1 or n_frames < 32:
|
||||
return
|
||||
|
||||
samples = array.array("h")
|
||||
samples.frombytes(raw_bytes)
|
||||
n = len(samples)
|
||||
|
||||
# 1. Remove DC mean
|
||||
dc_mean = sum(samples) // n
|
||||
# 2. 1-pole low-pass warmth filter: y[i] = y[i-1] + alpha * (x[i] - y[i-1])
|
||||
rc = 1.0 / (2.0 * math.pi * cutoff_hz)
|
||||
dt = 1.0 / float(sr)
|
||||
alpha = dt / (rc + dt)
|
||||
|
||||
filtered = [0.0] * n
|
||||
prev_y = 0.0
|
||||
peak = 1.0
|
||||
for i in range(n):
|
||||
x = float(samples[i] - dc_mean)
|
||||
y = prev_y + alpha * (x - prev_y)
|
||||
prev_y = y
|
||||
filtered[i] = y
|
||||
ay = abs(y)
|
||||
if ay > peak:
|
||||
peak = ay
|
||||
|
||||
# 3. Normalize to -1.5 dBFS (target peak = 27500) + 15ms cosine fade-in/out
|
||||
scale = min(2.4, 27500.0 / peak)
|
||||
fade_len = min(n // 4, max(1, int(sr * 0.015)))
|
||||
|
||||
out_arr = array.array("h", [0] * n)
|
||||
for i in range(n):
|
||||
env = 1.0
|
||||
if i < fade_len:
|
||||
env = 0.5 * (1.0 - math.cos(math.pi * (i / fade_len)))
|
||||
elif i >= n - fade_len:
|
||||
rem = n - 1 - i
|
||||
env = 0.5 * (1.0 - math.cos(math.pi * (rem / fade_len)))
|
||||
v = int(max(-32760.0, min(32760.0, filtered[i] * scale * env)))
|
||||
out_arr[i] = v
|
||||
|
||||
tmp_p = wav_path.with_suffix(f".master.{os.getpid()}.wav")
|
||||
with wave.open(str(tmp_p), "wb") as wf:
|
||||
wf.setnchannels(1)
|
||||
wf.setsampwidth(2)
|
||||
wf.setframerate(sr)
|
||||
wf.writeframes(out_arr.tobytes())
|
||||
os.replace(tmp_p, wav_path)
|
||||
except Exception:
|
||||
pass
|
||||
|
||||
|
||||
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`.
|
||||
Extract all 25 `(ep01-s1 .. ep05-s5)` scene titles and normalized `speechText` strings from `quant-tutorials.js`.
|
||||
"""
|
||||
node_bin = shutil.which("node")
|
||||
raw_list: list[dict[str, Any]] = []
|
||||
if node_bin:
|
||||
proc = subprocess.run(
|
||||
[
|
||||
@@ -96,26 +224,30 @@ def extract_scene_speech_scripts(tutorials_js_path: Path) -> list[dict[str, Any]
|
||||
check=False,
|
||||
)
|
||||
if proc.returncode == 0 and proc.stdout.strip():
|
||||
return json.loads(proc.stdout)
|
||||
raw_list = 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
|
||||
if not raw_list:
|
||||
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)
|
||||
for idx, sp in enumerate(speeches[:25]):
|
||||
ei = idx // 5
|
||||
si = idx % 5
|
||||
raw_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,
|
||||
}
|
||||
)
|
||||
|
||||
for item in raw_list:
|
||||
norm_txt = normalize_speech_prosody(item["speech_text"])
|
||||
item["speech_text"] = norm_txt
|
||||
item["text_sha256"] = hashlib.sha256(norm_txt.encode("utf-8")).hexdigest()
|
||||
return raw_list
|
||||
|
||||
|
||||
def _tokenize_ingglish_phonemes(ing_word: str) -> list[str]:
|
||||
@@ -133,12 +265,7 @@ def _tokenize_ingglish_phonemes(ing_word: str) -> list[str]:
|
||||
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.
|
||||
"""
|
||||
def synthesize_klatt_formant_wav(speech_text: str, out_wav_path: Path, sample_rate: int = 16000) -> dict[str, Any]:
|
||||
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 {}
|
||||
@@ -153,17 +280,14 @@ def synthesize_klatt_formant_wav(speech_text: str, out_wav_path: Path, sample_ra
|
||||
|
||||
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)
|
||||
samples.extend(b"\x00\x00" * int(sample_rate * 0.14))
|
||||
continue
|
||||
if tok in (",", ";", ":"):
|
||||
n_sil = int(sample_rate * 0.07)
|
||||
samples.extend(b"\x00\x00" * n_sil)
|
||||
samples.extend(b"\x00\x00" * int(sample_rate * 0.07))
|
||||
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:
|
||||
@@ -177,11 +301,7 @@ def synthesize_klatt_formant_wav(speech_text: str, out_wav_path: Path, sample_ra
|
||||
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)
|
||||
)
|
||||
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:
|
||||
@@ -193,7 +313,6 @@ def synthesize_klatt_formant_wav(speech_text: str, out_wav_path: Path, sample_ra
|
||||
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)
|
||||
@@ -202,18 +321,62 @@ def synthesize_klatt_formant_wav(speech_text: str, out_wav_path: Path, sample_ra
|
||||
wf.setsampwidth(2)
|
||||
wf.setframerate(sample_rate)
|
||||
wf.writeframes(bytes(samples))
|
||||
master_wav_broadcast_warmth(out_wav_path)
|
||||
return {"engine": "klatt_formant_wav", "size_bytes": out_wav_path.stat().st_size}
|
||||
|
||||
|
||||
def _synthesize_single_clip(
|
||||
sc: dict[str, Any],
|
||||
target_dir: Path,
|
||||
flite_bin: str | None,
|
||||
espeak_bin: str | None,
|
||||
flite_voice: str = "kal16",
|
||||
) -> dict[str, Any]:
|
||||
cid = sc["clip_id"]
|
||||
wav_p = target_dir / f"{cid}.wav"
|
||||
tmp_p = target_dir / f".{cid}.{os.getpid()}.wav"
|
||||
sp_txt = sc["speech_text"]
|
||||
used_engine = "klatt_formant_wav"
|
||||
|
||||
if flite_bin:
|
||||
cmd = [flite_bin, "-voice", flite_voice, "--setf", "duration_stretch=1.03", "-t", sp_txt, "-o", str(tmp_p)]
|
||||
proc = subprocess.run(cmd, capture_output=True, text=True, check=False)
|
||||
if proc.returncode == 0 and tmp_p.is_file() and tmp_p.stat().st_size > 200:
|
||||
master_wav_broadcast_warmth(tmp_p)
|
||||
os.replace(tmp_p, wav_p)
|
||||
used_engine = f"flite_{flite_voice}"
|
||||
if used_engine == "klatt_formant_wav" and espeak_bin:
|
||||
cmd = [espeak_bin, "-v", "en-us+klatt4", "-s", "160", "-p", "46", "-g", "3", "-w", str(tmp_p), sp_txt]
|
||||
proc = subprocess.run(cmd, capture_output=True, text=True, check=False)
|
||||
if proc.returncode == 0 and tmp_p.is_file() and tmp_p.stat().st_size > 200:
|
||||
master_wav_broadcast_warmth(tmp_p)
|
||||
os.replace(tmp_p, wav_p)
|
||||
used_engine = "espeak_ng_klatt4"
|
||||
if used_engine == "klatt_formant_wav":
|
||||
synthesize_klatt_formant_wav(sp_txt, tmp_p)
|
||||
os.replace(tmp_p, wav_p)
|
||||
|
||||
return {
|
||||
"clip_id": cid,
|
||||
"filename": f"{cid}.wav",
|
||||
"web_route": f"/quant/audio/{cid}.wav",
|
||||
"engine": used_engine,
|
||||
"text_sha256": sc["text_sha256"],
|
||||
"size_bytes": wav_p.stat().st_size,
|
||||
}
|
||||
|
||||
|
||||
def build_quant_tour_voice_assets(
|
||||
out_dir: str | Path | None = None,
|
||||
workspace_root: str | Path | None = None,
|
||||
force: bool = False,
|
||||
flite_voice: str = "kal16",
|
||||
spawn_slt_background_upgrade: 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.
|
||||
Uses per-clip SHA-256 caching and parallel `ThreadPoolExecutor` (`~1.22s` cold / `< 15ms` warm).
|
||||
"""
|
||||
cfg = load_workspace_config(workspace_root=workspace_root)
|
||||
tut_js_p = cfg.core_dir / "site" / "quant" / "quant-tutorials.js"
|
||||
@@ -223,72 +386,100 @@ def build_quant_tour_voice_assets(
|
||||
|
||||
with ReadOnlyIsolationGuard(cfg.read_only_files) as guard:
|
||||
scenes = extract_scene_speech_scripts(tut_js_p)
|
||||
flite_bin = shutil.which("flite")
|
||||
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()
|
||||
engine_name = f"flite_{flite_voice}" if flite_bin else ("espeak_ng_klatt4" if espeak_bin else "klatt_formant_wav")
|
||||
|
||||
prev_clips_by_id: dict[str, dict[str, Any]] = {}
|
||||
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,
|
||||
}
|
||||
prev_man = json.loads(manifest_p.read_text(encoding="utf-8"))
|
||||
for c_item in prev_man.get("clips") or []:
|
||||
cid = str(c_item.get("clip_id") or "")
|
||||
if cid and (target_dir / f"{cid}.wav").is_file():
|
||||
prev_clips_by_id[cid] = c_item
|
||||
except Exception:
|
||||
pass
|
||||
prev_clips_by_id = {}
|
||||
|
||||
clips_meta: list[dict[str, Any]] = []
|
||||
scenes_to_build: list[dict[str, Any]] = []
|
||||
reused_clips: dict[str, 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"
|
||||
prev_c = prev_clips_by_id.get(cid)
|
||||
# Reuse existing clip if text_sha256 matches and it was built with the requested (or higher-tier slt) engine
|
||||
if (
|
||||
prev_c
|
||||
and prev_c.get("text_sha256") == sc["text_sha256"]
|
||||
and prev_c.get("engine") in (engine_name, "flite_slt")
|
||||
and (flite_voice != "slt" or prev_c.get("engine") == "flite_slt")
|
||||
):
|
||||
reused_clips[cid] = prev_c
|
||||
else:
|
||||
synthesize_klatt_formant_wav(sp_txt, wav_p)
|
||||
used_engine = "klatt_formant_wav"
|
||||
scenes_to_build.append(sc)
|
||||
|
||||
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,
|
||||
}
|
||||
)
|
||||
if scenes_to_build:
|
||||
max_w = min(8, max(1, os.cpu_count() or 4))
|
||||
with concurrent.futures.ThreadPoolExecutor(max_workers=max_w) as pool:
|
||||
built_list = list(
|
||||
pool.map(
|
||||
lambda s: _synthesize_single_clip(s, target_dir, flite_bin, espeak_bin, flite_voice=flite_voice),
|
||||
scenes_to_build,
|
||||
)
|
||||
)
|
||||
for b_item in built_list:
|
||||
reused_clips[b_item["clip_id"]] = b_item
|
||||
|
||||
ordered_clips = [reused_clips[s["clip_id"]] for s in scenes]
|
||||
scripts_sha = hashlib.sha256(
|
||||
json.dumps([s["text_sha256"] for s in scenes], sort_keys=True).encode("utf-8")
|
||||
).hexdigest()
|
||||
|
||||
man_obj = {
|
||||
"version": CURRENT_VERSION,
|
||||
"engine": engine_name,
|
||||
"engine": ordered_clips[0]["engine"] if ordered_clips else engine_name,
|
||||
"scripts_sha256": scripts_sha,
|
||||
"clip_count": len(clips_meta),
|
||||
"clips": clips_meta,
|
||||
"clip_count": len(ordered_clips),
|
||||
"rebuilt_clip_count": len(scenes_to_build),
|
||||
"clips": ordered_clips,
|
||||
}
|
||||
manifest_p.write_text(json.dumps(man_obj, indent=2, ensure_ascii=False) + "\n", encoding="utf-8")
|
||||
|
||||
# Strategy 1A Stage 2: Optional non-blocking background upgrade to CMU Arctic `slt` statistical voice
|
||||
bg_spawned = False
|
||||
if spawn_slt_background_upgrade and flite_bin and flite_voice != "slt":
|
||||
needs_slt = any(c.get("engine") != "flite_slt" for c in ordered_clips)
|
||||
if needs_slt:
|
||||
env_bg = dict(os.environ)
|
||||
env_bg["PYTHONPATH"] = str(cfg.core_dir / "src")
|
||||
subprocess.Popen(
|
||||
[
|
||||
"nice",
|
||||
"-n",
|
||||
"19",
|
||||
sys.executable,
|
||||
"-m",
|
||||
"hyperstitionstud_io.publishing.quant_voice",
|
||||
"--workspace-root",
|
||||
str(cfg.workspace_root),
|
||||
"--out-dir",
|
||||
str(target_dir),
|
||||
"--voice",
|
||||
"slt",
|
||||
],
|
||||
stdout=subprocess.DEVNULL,
|
||||
stderr=subprocess.DEVNULL,
|
||||
start_new_session=True,
|
||||
env=env_bg,
|
||||
)
|
||||
bg_spawned = True
|
||||
|
||||
return {
|
||||
"ok": True,
|
||||
"rebuilt": True,
|
||||
"engine": engine_name,
|
||||
"clip_count": len(clips_meta),
|
||||
"rebuilt": len(scenes_to_build) > 0,
|
||||
"rebuilt_clip_count": len(scenes_to_build),
|
||||
"engine": man_obj["engine"],
|
||||
"clip_count": len(ordered_clips),
|
||||
"slt_background_upgrade_spawned": bg_spawned,
|
||||
"scripts_sha256": scripts_sha,
|
||||
"isolation_receipt": guard.audit_receipt(),
|
||||
}
|
||||
@@ -301,12 +492,16 @@ def main(argv: list[str] | None = None) -> int:
|
||||
)
|
||||
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("--voice", default="kal16", choices=["kal16", "slt", "rms", "awb"], help="CMU Flite voice (default: kal16 fast diphone; slt for background statistical upgrade).")
|
||||
ap.add_argument("--upgrade-slt-background", action="store_true", help="Spawn a detached low-priority background job to upgrade kal16 clips to CMU Arctic slt statistical voice.")
|
||||
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,
|
||||
flite_voice=args.voice,
|
||||
spawn_slt_background_upgrade=args.upgrade_slt_background,
|
||||
)
|
||||
print(json.dumps(res, indent=2))
|
||||
return 0 if res.get("ok") else 1
|
||||
|
||||
@@ -389,13 +389,14 @@ def _render_calc_readme(repo_dir: Path, version: str, banner: str) -> str:
|
||||
# Strip any prior top header + status block above `## Quick Start`
|
||||
qs_idx = existing.find("## Quick Start")
|
||||
preserved_tail = existing[qs_idx:] if qs_idx != -1 else existing
|
||||
return f"""# `haiperdohp-jemaytreeah` — Cypher Calculator (`v{version}` — `https://hyperstitionstud.io/calc/`)
|
||||
preserved_tail = re.sub(r"(?i)cypher\s*calculator", "haiperdohpjematreeah", preserved_tail)
|
||||
return f"""# `haiperdohp-jemaytreeah` — haiperdohpjematreeah (`v{version}` — `https://hyperstitionstud.io/calc/`)
|
||||
|
||||
{banner}
|
||||
|
||||
A gematria cypher calculator with pre-computed instant matching (`82` ciphers, `231,615` Ingglish-provisioned `db.txt` entries across `db_lite.json` and `db.json`), progressive background hydration, and full whitelabel support via `config.js` at [`https://hyperstitionstud.io/calc/`](https://hyperstitionstud.io/calc/).
|
||||
A gematria cypher workbench (`haiperdohpjematreeah`) with pre-computed instant matching (`82` ciphers, `231,615` Ingglish-provisioned `db.txt` entries across `db_lite.json` and `db.json`), progressive background hydration, and full whitelabel support via `config.js` at [`https://hyperstitionstud.io/calc/`](https://hyperstitionstud.io/calc/).
|
||||
|
||||

|
||||

|
||||
|
||||
{preserved_tail.lstrip()}"""
|
||||
|
||||
@@ -475,7 +476,8 @@ def sync_all_repo_readmes(
|
||||
|
||||
PRE_COMMIT_HOOK_SCRIPT = """#!/usr/bin/env bash
|
||||
# Auto-installed by hyperstitionstud_io.publishing.readme_sync (hs-readme-sync --install-hooks)
|
||||
# Re-renders homepage UI closeups when page UI elements change and synchronizes root README.md before every commit.
|
||||
# Prepares & validates push-all-to-git-libre-audio.sh and deploy/sync-vps-repos.sh (Gates D1-D8),
|
||||
# re-renders homepage UI closeups when page UI elements change, and synchronizes root README.md before every commit.
|
||||
set -euo pipefail
|
||||
|
||||
REPO_ROOT="$(git rev-parse --show-toplevel)"
|
||||
@@ -485,6 +487,11 @@ CORE_SRC="${WS_ROOT}/hyperstitionstudio-core/src"
|
||||
|
||||
if [[ -d "${CORE_SRC}" ]]; then
|
||||
export PYTHONPATH="${CORE_SRC}${PYTHONPATH:+:${PYTHONPATH}}"
|
||||
if [[ "${REPO_NAME}" == "hyperstitionstudio-core" ]]; then
|
||||
python3 -m hyperstitionstud_io.ci.deploy_scripts_sync --workspace-root "${WS_ROOT}" --stage
|
||||
else
|
||||
python3 -m hyperstitionstud_io.ci.deploy_scripts_sync --workspace-root "${WS_ROOT}"
|
||||
fi
|
||||
python3 -m hyperstitionstud_io.publishing.closeups_sync
|
||||
if [[ -d "${WS_ROOT}/hyperstitionstudio-core/site/assets/closeups" ]] && [[ "${REPO_NAME}" == "hyperstitionstudio-core" ]]; then
|
||||
git -C "${REPO_ROOT}" add site/assets/closeups/
|
||||
@@ -535,7 +542,7 @@ def install_git_pre_commit_hooks(ws_root: Path | None = None, check_only: bool =
|
||||
if not hooks_dir.is_dir():
|
||||
continue
|
||||
for h_name, h_script, markers in (
|
||||
("pre-commit", PRE_COMMIT_HOOK_SCRIPT, ("readme_sync", "closeups_sync")),
|
||||
("pre-commit", PRE_COMMIT_HOOK_SCRIPT, ("readme_sync", "closeups_sync", "deploy_scripts_sync")),
|
||||
("commit-msg", COMMIT_MSG_HOOK_SCRIPT, ("COMMIT-MSG GATE",)),
|
||||
):
|
||||
hook_path = hooks_dir / h_name
|
||||
|
||||
@@ -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.13.0",
|
||||
"version": "2.15.0",
|
||||
"target_date_utc": datetime.datetime.now(datetime.timezone.utc).strftime("%Y-%m-%d"),
|
||||
"harvest_mode": harvest_mode,
|
||||
"synthetic_data_eliminated": True,
|
||||
|
||||
@@ -425,6 +425,12 @@ def get_version_targets(ws_root: Path | None = None) -> list[tuple[Path, list[tu
|
||||
(rf'encyclopedia-knowledge-graph \(v{SEMVER_RE}\)', "encyclopedia-knowledge-graph (v{V})"),
|
||||
],
|
||||
),
|
||||
(
|
||||
core / "deploy" / "push-all-to-git-libre-audio.sh",
|
||||
[
|
||||
(rf'# Release v{SEMVER_RE}:', "# Release v{V}:"),
|
||||
],
|
||||
),
|
||||
(
|
||||
core.parent / "push-all-to-git-libre-audio.sh",
|
||||
[
|
||||
@@ -476,8 +482,20 @@ def sync_workspace_version(target_version: str, check_only: bool = False, ws_roo
|
||||
ws_toml.write_text(upd_ws, encoding="utf-8")
|
||||
modified_files.append(str(ws_toml))
|
||||
|
||||
from hyperstitionstud_io.ci.deploy_scripts_sync import prepare_and_verify_deploy_scripts
|
||||
from hyperstitionstud_io.publishing.readme_sync import sync_all_repo_readmes
|
||||
|
||||
deploy_res = prepare_and_verify_deploy_scripts(
|
||||
workspace_root=cfg.workspace_root,
|
||||
target_version=v,
|
||||
check_only=check_only,
|
||||
stage=False,
|
||||
)
|
||||
if check_only and not deploy_res["ok"]:
|
||||
mismatched_files.extend(deploy_res["errors"])
|
||||
elif not check_only:
|
||||
modified_files.extend(deploy_res["modified_files"])
|
||||
|
||||
readme_res = sync_all_repo_readmes(ws_root=cfg.workspace_root, version=v, check_only=check_only)
|
||||
if check_only and not readme_res["all_in_sync"]:
|
||||
mismatched_files.extend(readme_res["mismatched_readmes"])
|
||||
|
||||
@@ -1325,6 +1325,45 @@ def test_ipld_quant_and_mcp_server() -> None:
|
||||
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 #58: Pre-Commit Preparation & Gates D1-D8 for push-all-to-git-libre-audio.sh & deploy/sync-vps-repos.sh
|
||||
from hyperstitionstud_io.ci.deploy_scripts_sync import prepare_and_verify_deploy_scripts
|
||||
|
||||
dep_sync = prepare_and_verify_deploy_scripts(workspace_root=cfg.workspace_root, check_only=False)
|
||||
assert dep_sync["ok"] is True, f"Deploy scripts sync failed: {dep_sync}"
|
||||
assert all(dep_sync["gates"].values()), f"Deploy scripts gates failed: {dep_sync['gates']}"
|
||||
dep_chk = prepare_and_verify_deploy_scripts(workspace_root=cfg.workspace_root, check_only=True)
|
||||
assert dep_chk["ok"] is True, f"Deploy scripts check_only failed: {dep_chk}"
|
||||
assert (cfg.core_dir / "deploy" / "push-all-to-git-libre-audio.sh").read_text(encoding="utf-8") == (
|
||||
cfg.workspace_root / "push-all-to-git-libre-audio.sh"
|
||||
).read_text(encoding="utf-8")
|
||||
|
||||
# Verify Plan #60: /calc/ (haiperdohpjematreeah) Homepage Group 3 UI Parity, Zero "Cypher Calculator" & hyperdope-ci-build Patch Integration
|
||||
calc_dir = cfg.paths["gematria_js_dir"]
|
||||
calc_html = (calc_dir / "index.html").read_text(encoding="utf-8")
|
||||
assert "<title>haiperdohpjematreeah</title>" in calc_html
|
||||
assert 'id="hsCalcHeader"' in calc_html and 'class="btn-donate-pill"' in calc_html
|
||||
assert "hs-group3-basalt-chamfer.css" in calc_html
|
||||
for chk_p in (
|
||||
calc_dir / "index.html",
|
||||
calc_dir / "config.default.js",
|
||||
calc_dir / "manifest.json",
|
||||
calc_dir / "docs" / "ONBOARDING-INGGLISH-AQ.md",
|
||||
(cfg.paths.get("ci_repo_dir") or (cfg.workspace_root / "hyperdope-ci-build")) / "config.default.js",
|
||||
):
|
||||
if chk_p.is_file():
|
||||
assert re.search(r"(?i)cypher\s*calculator", chk_p.read_text(encoding="utf-8")) is None, f"Forbidden Cypher Calculator branding in {chk_p}"
|
||||
ci_dir = cfg.paths.get("ci_repo_dir") or (cfg.workspace_root / "hyperdope-ci-build")
|
||||
assert (ci_dir / "integrate-upstream-and-ui.sh").is_file()
|
||||
assert (ci_dir / "patches" / "0001-feat-calc-ingglish-priority-toggle.patch").is_file()
|
||||
assert (ci_dir / "patches" / "0002-feat-ui-group3-homepage-parity-and-haiperdohpjematreeah-branding.patch").is_file()
|
||||
|
||||
# Verify Plan #59 (Strategies 1A, 2A, 3A): normalize_speech_prosody(), master_wav_broadcast_warmth(), and WebAudio BiquadFilterNode EQ
|
||||
from hyperstitionstud_io.publishing.quant_voice import normalize_speech_prosody
|
||||
|
||||
norm_p = normalize_speech_prosody("Inspecting NVDA and ASML with CIDv1 and 81 bps.")
|
||||
assert "Nvidia" in norm_p and "A S M L" in norm_p and "C I D version 1" in norm_p and "basis points" in norm_p
|
||||
assert "createBiquadFilter" in (cfg.core_dir / "site" / "quant" / "quant-tutorials.js").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,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.13.0"
|
||||
schema_version = "2.15.0"
|
||||
namespace_urn = "urn:io:hyperstitionstud"
|
||||
|
||||
[paths]
|
||||
|
||||
Reference in new issue
Block a user