Compare commits

...
6 Commits
55 changed files with 2112 additions and 203 deletions

No files matched your search

+6 -6
View File
@@ -1,11 +1,11 @@
# `hyperstitionstudio-core` (`hyperstitionstud_io.*` — `v2.8.1`)
# `hyperstitionstudio-core` (`hyperstitionstud_io.*` — `v2.10.0`)
<!-- HS-COMMIT-STATUS:START -->
> **Gitea Commit & Release Telemetry (`v2.8.1` • Namespace `urn:io:hyperstitionstud`)**
> **Gitea Commit & Release Telemetry (`v2.10.0` • Namespace `urn:io:hyperstitionstud`)**
> - **Repository Role & Public Route:** Shared PEP 420 Python core library (`hyperstitionstud_io.*`), MCP/REST server, `/quant/`, `/learn/`, `/engineering/`, `/math/`, & `/donate/` webroots &rarr; [`https://hyperstitionstud.io/`](https://hyperstitionstud.io/)
> - **Latest Commit Scope (`hyperstitionstudio-core`):** Synchronized v2.8.1 release state across 34 tracked module/artifact surface(s)
> - **Touched Files / Surfaces:** `deploy/sync-vps-repos.sh`, `package.json`, `packages-js/ciphers-aq/package.json`, `pyproject.toml`, `scripts/build_gallery_manifest.py`, `site/donate/index.html`, `site/engineering/cicd-vps-tmpfs-and-regression/index.html`, `site/engineering/ciphers-and-phonetics/index.html` (+26 more)
> - **Live Verified Ecosystem Metrics (`v2.8.1`):** `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.10.0 release state across 2 tracked module/artifact surface(s)
> - **Touched Files / Surfaces:** `deploy/sync-vps-repos.sh`, `src/hyperstitionstud_io/publishing/readme_sync.py`
> - **Live Verified Ecosystem Metrics (`v2.10.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.8.1`)
## Key Architecture & Capabilities (`v2.10.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`.
+1
View File
@@ -149,6 +149,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-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
run_checked "hs-doctor" "${PYTHON_BIN}" -m hyperstitionstud_io.ci.doctor
+12 -3
View File
@@ -57,9 +57,16 @@ ROUTES=(
"/assets/hs-matrix-coderain.js"
"/assets/matrix-font.woff2"
"/assets/closeups/quadrant-1-cybermemetics-calc-graph.png"
"/assets/closeups/quadrant-1-tab-2-graph.png"
"/assets/closeups/quadrant-2-esoteric-finance-quant.png"
"/assets/closeups/quadrant-2-tab-2-bayesian-fred.png"
"/assets/closeups/quadrant-2-tab-3-leaderboard-card.png"
"/assets/closeups/quadrant-3-info-science-novice-learn-polyglot.png"
"/assets/closeups/quadrant-3-tab-2-math-guile.png"
"/assets/closeups/quadrant-3-tab-3-math-ts-rust.png"
"/assets/closeups/quadrant-4-operators-deployment-vps.png"
"/assets/closeups/quadrant-4-tab-2-mcp-etag.png"
"/assets/closeups/quadrant-4-tab-3-ci-gates.png"
"/donate/index.html"
"/learn/index.html"
"/learn/learn-app.js"
@@ -82,9 +89,11 @@ ROUTES=(
"/graph/docs/periodic-harvest-cicd-to-vps-flow-diagram.png"
"/graph/docs/VPS-AND-GIT-OPERATOR-DEPLOYMENT-GUIDE.pdf"
"/graph/docs/OPERATORS-MANUAL-LLM-TOKEN-DEPENDENT-DATA-PIPELINES.pdf"
"/graph/docs/PLAN-LEXICAL-AND-ETYMOLOGICAL-SIMPLIFICATION.pdf"
"/graph/docs/PLAN-LLM-TOKEN-ECONOMIZER-AND-VARIANCE-ROUTING.pdf"
"/graph/docs/PLAN-LLM-TOKEN-ECONOMIZER-DATA-FIDELITY-AND-DEGRADATION-RISK-EVALUATION.pdf"
"/graph/docs/plans/piecewise/PLAN-PIECEWISE-COMPLETE-SOFTWARE-ENGINEERING-EXPLICATION.pdf"
"/graph/docs/plans/piecewise/PLAN-PIECEWISE-COMPLETE-MATHEMATICS-AND-INFO-SCIENCE-EXPLICATION.pdf"
"/graph/docs/plans/inactive/PLAN-LEXICAL-AND-ETYMOLOGICAL-SIMPLIFICATION.pdf"
"/graph/docs/plans/inactive/PLAN-LLM-TOKEN-ECONOMIZER-AND-VARIANCE-ROUTING.pdf"
"/graph/docs/plans/inactive/PLAN-LLM-TOKEN-ECONOMIZER-DATA-FIDELITY-AND-DEGRADATION-RISK-EVALUATION.pdf"
"/encyclopedia/00-index-and-ontological-atlas/00-master-encyclopedia-index-a-to-z.pdf"
"/technocapital-singularity-zoology/encyclopedia/00-index-and-ontological-atlas/00-master-encyclopedia-index-a-to-z.pdf"
"/zoology/encyclopedia-of-technocapital-singularity-zoology-overview-and-manifest.pdf"
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@hyperstitionstud.io/workspace-core",
"version": "2.8.1",
"version": "2.10.0",
"private": true,
"description": "Offline-first ESM & browser global (@hyperstitionstud.io/* / window.HyperstitionStudio.*) packages for Base-36 AQ ciphers and interactive knowledge graph workbenches.",
"license": "MIT",
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@hyperstitionstud.io/ciphers-aq",
"version": "2.8.1",
"version": "2.10.0",
"type": "module",
"main": "index.js",
"license": "MIT"
+2 -1
View File
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
[project]
name = "hyperstitionstudio-core"
version = "2.8.1"
version = "2.10.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"
@@ -40,6 +40,7 @@ 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"
[tool.setuptools.packages.find]
where = ["src"]
+2 -2
View File
@@ -144,8 +144,8 @@ def main() -> int:
})
manifest = {
"version": "2.8.1",
"namespace_urn": "urn:io:hyperstitionstud:gallery:2.8.1",
"version": "2.10.0",
"namespace_urn": "urn:io:hyperstitionstud:gallery:2.10.0",
"total_items": len(items),
"items": items,
}
Binary file not shown.

Before

Width:  |  Height:  |  Size: 29 KiB

After

Width:  |  Height:  |  Size: 29 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 28 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 29 KiB

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 31 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 33 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 31 KiB

After

Width:  |  Height:  |  Size: 27 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 32 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 26 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 88 KiB

After

Width:  |  Height:  |  Size: 29 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 37 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 36 KiB

@@ -0,0 +1,610 @@
{
"$id": "urn:io:hyperstitionstud:closeups-ui-manifest",
"ui_elements_fingerprint_sha256": "8f92e3c928a040caab84574cb87213814a0f5b765971c4a01419966ee05d9ee9",
"closeup_images": [
"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"
],
"live_metrics": {
"calc_db_entries": 231061,
"quant_total_real_bars": 472,
"quant_bayesian_posteriors": {
"R1_BULL_RISK_ON": 0.0,
"R2_PINNED_ISOMETRIC": 0.0,
"R3_TAIL_DRAWDOWN_RISK_OFF": 1.0
},
"engineering_counts": {
"repositories": 6,
"cli_entrypoints": 18,
"mcp_tools": 20,
"rest_domain_aliases": 12,
"enabled_lenses": 6,
"watchlist_instruments": 24,
"fred_macro_series": 14,
"json_schemas_v1": 12
},
"cli_scripts_sample": {
"hs-archive-rotate": "hyperstitionstud_io.publishing.archive_rotator:main",
"hs-citations": "hyperstitionstud_io.ci.citation_sources:main",
"hs-closeups-sync": "hyperstitionstud_io.publishing.closeups_sync:main",
"hs-daily-brief": "hyperstitionstud_io.quant.daily_brief:main"
},
"ci_keep_rate_pct": 100.0
},
"surfaces": {
"home": {
"ui_structure_sha256": "c087dc9ebf511dea01da971b92b39c8c017dd661721794e660cd8b24b9f1bcd4",
"id_count": 0,
"button_count": 11,
"option_count": 0,
"input_count": 0,
"heading_count": 1,
"ids": [],
"inputs": [],
"sample_buttons": [
"01 &#x263F; /calc/ Cipher Matrix",
"02 &#x260D; /graph/ ETI Radar",
"=3 Inspector\"\n data-closeup-href=\"/quant/index.html?screen=dose-d3\"\n data-closeup-route=\"quant-dose\"\n data-closeup-label=\"ACTIVE TAB: /quant/?screen=dose-d3 • 472 Bars (19d)\"\n data-closeup-cta=\"Launch Dose D≥3 →\">01 &Delta; Trajectory &amp; Dose",
"02 &#x260D; Bayesian &amp; FRED",
"03 &#x2644; 6-Lens &amp; Card",
"01 &#x25C8; /learn/ Prereq Track",
"02 &lambda; Guile &amp; Z-REPL",
"03 &equiv; TypeScript &amp; Rust",
"01 &#x269A; DevOps &amp; CLIs",
"02 &#x269B; MCP &amp; ETag 304",
"03 &#x25C8; /ci/ 4-Gate Pipeline"
],
"sample_options": [],
"sample_headings": [
"HYPERSTITIONSTUD.IO // SINGULARITY ZOOLOGY WORKBENCH"
]
},
"quant": {
"ui_structure_sha256": "45d9297b103421bada5d84005b5406d5852aa3220ad63c9a2809efa3fdd6541b",
"id_count": 66,
"button_count": 21,
"option_count": 0,
"input_count": 2,
"heading_count": 1,
"ids": [
"activeDateBadge",
"dailyBriefContainer",
"dailyBriefMeta",
"dailyBriefPanel",
"dateMetricsGrid",
"docReferencesCard",
"entity_threshold",
"exportCsvBtn",
"exportJsonBtn",
"guildFilterPills",
"guild_filter",
"heatmapPaginationBar",
"heatmapTable",
"heatmap_matrix",
"lagBarsContainer",
"lag_correlation_explorer",
"lensProjectionCard",
"lensSelect",
"macroIndicatorsGrid",
"macroIndicatorsPanel",
"metricModePills",
"metric_mode",
"navCalc",
"navDonate",
"navEng",
"navGraph",
"navHome",
"navLearn",
"navManual",
"navMath",
"nextDateBtn",
"openTradingViewBtn",
"panel1Meta",
"panel1Title",
"panel3Title",
"panel3TvBtn",
"passagePreviewBox",
"periodicityAuditFooter",
"prevDateBtn",
"projection_lens",
"quantInfoPopover",
"quantTutorialBar",
"scope1_self_lock",
"scope2_ring_migration",
"scope3_wire_copresence",
"tickerQuickFilter",
"tickerSelect",
"ticker_select",
"timeWindowPills",
"tsCanvas",
"tutCitationPills",
"tutClearSpotlightBtn",
"tutEpisodeTabs",
"tutKeyframeTitle",
"tutNextBtn",
"tutPlayPauseBtn",
"tutPrevBtn",
"tutScrubber",
"tutSpeechBtn",
"tutStepBadge",
"tutSubtitleText",
"vol20d_regimes",
"wireEqTape",
"wireTapeFilterInput",
"wireTapeHeader",
"wire_velocity_bars"
],
"inputs": [
"Filter symbol, entity, or AQ...",
"Filter wire equations or AQ..."
],
"sample_buttons": [
"&#x25B6; Play Guided Tour",
"&#x23EE; Prev Scene",
"Next Scene &#x23ED;",
"&#x1F50A; Voice: ON",
"Clear Spotlight",
"i",
"i",
"i",
"i",
"&larr; Prev Day",
"Next Day &rarr;",
"i"
],
"sample_options": [],
"sample_headings": [
"hyperstitionstud.io/quant — Quantitative Finance &amp; Memetic Gematria Time-Series Workbench"
]
},
"learn": {
"ui_structure_sha256": "e268fa263952e761a2d79b45a8881691495831178886770566532c30c2100316",
"id_count": 48,
"button_count": 11,
"option_count": 29,
"input_count": 2,
"heading_count": 7,
"ids": [
"bookmarkPaginationBar",
"bookmarkedCoordsList",
"btnAddBookmark",
"btnDownloadState",
"btnLoadDemoState",
"btnResetState",
"btnUploadState",
"card-M01",
"card-M02",
"card-M03",
"card-M04",
"card-M05",
"card-M06",
"chk-M01",
"chk-M02",
"chk-M03",
"chk-M04",
"chk-M05",
"chk-M06",
"filterBookmarkInput",
"importModeSelect",
"inputBookmarkCoord",
"inputUploadState",
"m01InputA",
"m01InputB",
"m01Output",
"m02Output",
"m02WordSelect",
"m03ModeSelect",
"m03Output",
"m03TriadSelect",
"m04HeadlineSelect",
"m04Output",
"m05BuildSelect",
"m05Output",
"m06Output",
"m06RegisterSelect",
"note-M01",
"note-M02",
"note-M03",
"note-M04",
"note-M05",
"note-M06",
"progressFill",
"progressText",
"stateCidBadge",
"statePortabilityBar",
"stateStatusMsg"
],
"inputs": [
"Add AQ # (e.g. 137)",
"Filter saved AQ #..."
],
"sample_buttons": [
"Download State (.json)",
"Upload State (.json)",
"&#x26A0; Load Simulated Demo State (Synthetic Example)",
"Reset Local State",
"Mark Module Complete",
"Mark Module Complete",
"Mark Module Complete",
"Mark Module Complete",
"Mark Module Complete",
"Mark Module Complete",
"+ Bookmark"
],
"sample_options": [
"Upload Mode: Replace State",
"Upload Mode: Merge State",
"capital &rarr; kapatal (Isometric Δ=0)",
"charter &rarr; charter (Isometric Δ=0)",
"ASML &rarr; asml (Isometric Δ=0)",
"TSMC &rarr; tsmc (Isometric Δ=0)",
"GPU &rarr; gpu (Isometric Δ=0)",
"knight &rarr; nait (Ghost mass stripped)",
"Anthropic &rarr; anthropik (44th Prime Lock)",
"Blackwell &rarr; blakwel (S3 129 Lock)",
"Triad 292: schizoanalysis / abstract machine / synthetic data",
"Triad 256: acceleration / high-frequency / sovereign wealth"
],
"sample_headings": [
"SELF-PACED INTERACTIVE LEARNING TRACK // HYPERSTITIONSTUD.IO",
"1. What Is Base-36 Alphanumeric Qabbala (AQ)?",
"2. Sound Over Spelling: Gen 0 Written English vs. Gen 1 Phonemic Ingglish",
"3. What Is a \"Singularity\"? Vector G1 Variance Collapse (Var &rarr; 0.0)",
"4. Double Articulation (S1–S5 &times; S6) &amp; Two-Gate Memetic Activation (M1–M7+)",
"5. Reading the ETI Tier List &amp; Concentric Radar (S+ Center to D Periphery)",
"6. Practical Use Cases: Choosing Your Stakeholder Register &amp; Bookmarks"
]
},
"engineering_hub": {
"ui_structure_sha256": "12b0496d2f082fa2d29bf68c4b186f40be901f79a7be87fc435241ffa7123145",
"id_count": 14,
"button_count": 16,
"option_count": 16,
"input_count": 1,
"heading_count": 8,
"ids": [
"engCliFilterInput",
"engCliTable",
"guileSchemeModeState",
"guileSchemeModeToggle",
"hsGuilePreferFloat",
"hsGuileReplCloseBtn",
"hsGuileReplDrawer",
"hsGuileReplEvalBtn",
"hsGuileReplInput",
"hsGuileReplOutput",
"hsGuileReplPreset",
"hsGuileReplStepBtn",
"hsPolyglotModeSelector",
"hsPolyglotReplLang"
],
"inputs": [
"Filter CLI command or module..."
],
"sample_buttons": [
"OFF",
"&lambda;GUILE",
"TSTYPESCRIPT",
"RsRUST",
"&equiv; ALL 3",
"&lambda; Guile",
"TS TypeScript",
"Rs Rust",
"&equiv; All 3",
"Hide",
"REPL &rarr;",
"REPL &rarr;"
],
"sample_options": [
"λ Guile Scheme",
"TS TypeScript",
"Rs Rust",
"-- Load Preset Polyglot Expression (Guile / TS / Rust) --",
"[λ Guile] Base-36 AQ: (aq-base36 \"LEMUR\") => 114",
"[TS] Base-36 AQ: aqBase36(\"LEMUR\") => 114",
"[Rs Rust] Base-36 AQ: aq_base36(\"LEMUR\") => 114",
"[λ Guile] Prime Factors via Z: (prime-factors 666) => (2 3 3 37)",
"[TS] Prime Factors: primeFactors(666) => [2,3,3,37]",
"[Rs Rust] Prime Factors: prime_factors(666_u64) => vec![2, 3, 3, 37]",
"[λ Guile] Exact Rational Variance (Cluster 292): 4634/9",
"[TS] Cluster 292 Variance: 514.8889"
],
"sample_headings": [
"HYPERSTITION STUDIO // SOFTWARE ENGINEERING EXPLICATION HUB (UNIT E0)",
"Unit E1: Base-36 AQ Ciphers, Offline CMUdict Phonetics & Bidirectional Lock Evaluation",
"Unit E2: 6-Gate 388-Node Knowledge Graph Compiler, ReadOnlyIsolationGuard & Quiescent SQLite + FTS5 Engine",
"Unit E3: Zero-Synthetic-Data Quant Engine, 14-Point Bidirectional Census, Dose 0..3+, FRED Macro & Bayesian Brief",
"Unit E4: Stateless MCP Server (:8095), Chatbot OpenAPI 3.1.0 REST Adapter, .png+.json Cards & IPLD CIDv1",
"Unit E5: Topological Git Push, Self-Re-Executing tmpfs VPS Hydration, Dark-Mode hs-pdf-build & hs-public-smoke",
"End-to-End Periodic Data Harvest &rarr; CI/CD &rarr; Deployed VPS Infrastructure Flow Diagram",
"Live Introspected CLI Entrypoints (pyproject.toml [project.scripts])"
]
},
"engineering_e4": {
"ui_structure_sha256": "4521e10d2e556ada980e8ba3bde5bb0748fa5ef72f15b69a1030ce07cd28904d",
"id_count": 15,
"button_count": 17,
"option_count": 16,
"input_count": 0,
"heading_count": 4,
"ids": [
"guileSchemeModeState",
"guileSchemeModeToggle",
"hsGuilePreferFloat",
"hsGuileReplCloseBtn",
"hsGuileReplDrawer",
"hsGuileReplEvalBtn",
"hsGuileReplInput",
"hsGuileReplOutput",
"hsGuileReplPreset",
"hsGuileReplStepBtn",
"hsPolyglotModeSelector",
"hsPolyglotReplLang",
"live-smoke-probe",
"liveEtagProbeOutput",
"runLiveEtagProbeBtn"
],
"inputs": [],
"sample_buttons": [
"OFF",
"&lambda;GUILE",
"TSTYPESCRIPT",
"RsRUST",
"&equiv; ALL 3",
"&lambda; Guile",
"TS TypeScript",
"Rs Rust",
"&equiv; All 3",
"Hide",
"REPL &rarr;",
"REPL &rarr;"
],
"sample_options": [
"λ Guile Scheme",
"TS TypeScript",
"Rs Rust",
"-- Load Preset Polyglot Expression (Guile / TS / Rust) --",
"[λ Guile] Base-36 AQ: (aq-base36 \"LEMUR\") => 114",
"[TS] Base-36 AQ: aqBase36(\"LEMUR\") => 114",
"[Rs Rust] Base-36 AQ: aq_base36(\"LEMUR\") => 114",
"[λ Guile] Prime Factors via Z: (prime-factors 666) => (2 3 3 37)",
"[TS] Prime Factors: primeFactors(666) => [2,3,3,37]",
"[Rs Rust] Prime Factors: prime_factors(666_u64) => vec![2, 3, 3, 37]",
"[λ Guile] Exact Rational Variance (Cluster 292): 4634/9",
"[TS] Cluster 292 Variance: 514.8889"
],
"sample_headings": [
"Unit E4: Stateless MCP Server (:8095), Chatbot OpenAPI 3.1.0 REST Adapter, .png+.json Cards & IPLD CIDv1",
"1. Unified Stateless MCP (/mcp) & Chatbot OpenAPI 3.1.0 REST Adapter (/api/v1/*)",
"2. One-Shot .png + .json Ticker Stats Cards (quant/cards.py) & Canonical IPLD dag-json (0x0129)",
"&#x269B; Live API &amp; IPLD CIDv1 ETag 304 Conditional Cache Probe (#live-smoke-probe)"
]
},
"math_hub": {
"ui_structure_sha256": "9ce686c475325b7c3eef2abada48a3aac3cfa30bec087adb46b5226ff9a39cb6",
"id_count": 12,
"button_count": 16,
"option_count": 16,
"input_count": 0,
"heading_count": 6,
"ids": [
"guileSchemeModeState",
"guileSchemeModeToggle",
"hsGuilePreferFloat",
"hsGuileReplCloseBtn",
"hsGuileReplDrawer",
"hsGuileReplEvalBtn",
"hsGuileReplInput",
"hsGuileReplOutput",
"hsGuileReplPreset",
"hsGuileReplStepBtn",
"hsPolyglotModeSelector",
"hsPolyglotReplLang"
],
"inputs": [],
"sample_buttons": [
"OFF",
"&lambda;GUILE",
"TSTYPESCRIPT",
"RsRUST",
"&equiv; ALL 3",
"&lambda; Guile",
"TS TypeScript",
"Rs Rust",
"&equiv; All 3",
"Hide",
"REPL &rarr;",
"REPL &rarr;"
],
"sample_options": [
"λ Guile Scheme",
"TS TypeScript",
"Rs Rust",
"-- Load Preset Polyglot Expression (Guile / TS / Rust) --",
"[λ Guile] Base-36 AQ: (aq-base36 \"LEMUR\") => 114",
"[TS] Base-36 AQ: aqBase36(\"LEMUR\") => 114",
"[Rs Rust] Base-36 AQ: aq_base36(\"LEMUR\") => 114",
"[λ Guile] Prime Factors via Z: (prime-factors 666) => (2 3 3 37)",
"[TS] Prime Factors: primeFactors(666) => [2,3,3,37]",
"[Rs Rust] Prime Factors: prime_factors(666_u64) => vec![2, 3, 3, 37]",
"[λ Guile] Exact Rational Variance (Cluster 292): 4634/9",
"[TS] Cluster 292 Variance: 514.8889"
],
"sample_headings": [
"HYPERSTITION STUDIO // MATHEMATICAL FOUNDATIONS &amp; QUANTITATIVE SEMIOTICS HUB (UNIT M0)",
"Unit M1: Base-36 Alphanumeric Valuation, Repdigit 37×3k Attractors & Prime Index π(n)",
"Unit M2: Phonemic Projection Φ: Σ_eng* → Σ_ing* & Genealogical Vectors G1–G6",
"Unit M3: Multi-Relational Property Graph Topology G=(V,E,R), Convex ETI Functional & LENS_REGISTRY",
"Unit M4: Longitudinal Moments (ts_*), Lead-Lag r(τ), Order Statistics (P50, P90) & Confluence Dose D ∈ {0..4}",
"Unit M5: Macroeconomic Spread/Velocity Identities, Discrete 3-State Bayes' Rule & Multiple-Testing Bounds"
]
},
"math_m1": {
"ui_structure_sha256": "3141f7e0e3e816edc7f2c49e813ca76637fa85768c57a8aa291348e7f6231736",
"id_count": 12,
"button_count": 16,
"option_count": 16,
"input_count": 0,
"heading_count": 3,
"ids": [
"guileSchemeModeState",
"guileSchemeModeToggle",
"hsGuilePreferFloat",
"hsGuileReplCloseBtn",
"hsGuileReplDrawer",
"hsGuileReplEvalBtn",
"hsGuileReplInput",
"hsGuileReplOutput",
"hsGuileReplPreset",
"hsGuileReplStepBtn",
"hsPolyglotModeSelector",
"hsPolyglotReplLang"
],
"inputs": [],
"sample_buttons": [
"OFF",
"&lambda;GUILE",
"TSTYPESCRIPT",
"RsRUST",
"&equiv; ALL 3",
"&lambda; Guile",
"TS TypeScript",
"Rs Rust",
"&equiv; All 3",
"Hide",
"REPL &rarr;",
"REPL &rarr;"
],
"sample_options": [
"λ Guile Scheme",
"TS TypeScript",
"Rs Rust",
"-- Load Preset Polyglot Expression (Guile / TS / Rust) --",
"[λ Guile] Base-36 AQ: (aq-base36 \"LEMUR\") => 114",
"[TS] Base-36 AQ: aqBase36(\"LEMUR\") => 114",
"[Rs Rust] Base-36 AQ: aq_base36(\"LEMUR\") => 114",
"[λ Guile] Prime Factors via Z: (prime-factors 666) => (2 3 3 37)",
"[TS] Prime Factors: primeFactors(666) => [2,3,3,37]",
"[Rs Rust] Prime Factors: prime_factors(666_u64) => vec![2, 3, 3, 37]",
"[λ Guile] Exact Rational Variance (Cluster 292): 4634/9",
"[TS] Cluster 292 Variance: 514.8889"
],
"sample_headings": [
"Unit M1: Base-36 Alphanumeric Valuation, Repdigit 37×3k Attractors & Prime Index π(n)",
"1. The Base-36 Alphanumeric Homomorphism v: {0..9, A..Z} → {0..35}",
"2. Repdigit 37 × 3k Attractors & Prime Index π(n)"
]
},
"graph": {
"ui_structure_sha256": "771d70e8e41e4f466d29b04274b3403753f82c7a8e8680ba5c8a732b2b00fd29",
"id_count": 16,
"button_count": 6,
"option_count": 11,
"input_count": 1,
"heading_count": 5,
"ids": [
"edgeRelToggles",
"exportPngBtn",
"flagFilter",
"flexPills",
"graphCanvas",
"hudStats",
"inspBadges",
"inspBody",
"inspTitle",
"inspectorDrawer",
"isolationBox",
"minDegreeFilter",
"nbrList",
"nodeTypeToggles",
"resetViewBtn",
"searchInput"
],
"inputs": [
"Search headword, Ingglish, or AQ (e.g. 125)..."
],
"sample_buttons": [
"Mode 2: ETI Radar (S+ -> D Periphery)",
"Mode 1: Trophic Food-Web",
"Mode 3: Gen 0 -> Gen 1 Funnel",
"Mode 4: 00–08 Folder Grid",
"Reset View",
"Export PNG"
],
"sample_options": [
"Filter: All Nodes",
"G4 Isometric Fixed Points (Δ=0)",
"G5 Twin-Prime Mutations",
"G3 Quantized Steps",
"13 Multi-Build Flex Pivots",
"CCRU 9-Sum Numogram Syzygies (1::8, 2::7, 3::6, 4::5)",
"M7_candidate_2026_11_28",
"Degree: All Nodes",
"Min Degree &ge; 3",
"Min Degree &ge; 10",
"Min Degree &ge; 25 (Hubs)"
],
"sample_headings": [
"ENCYCLOPEDIA OF TECHNOCAPITAL SINGULARITY ZOOLOGY — INTERACTIVE KNOWLEDGE GRAPH",
"Node Ontology (6 Classes)",
"Edge Relations (8 Types)",
"13 Flex Pivots &amp; Repdigit Hubs",
"Glossary Isolation Status"
]
},
"calc": {
"ui_structure_sha256": "a955885aeba700ece09389b80de203aff79128b8bb153d22b69993bd7ab528a6",
"id_count": 26,
"button_count": 0,
"option_count": 0,
"input_count": 1,
"heading_count": 0,
"ids": [
"BreakdownDetails",
"BreakdownSpot",
"ChartSpot",
"ChartSpotScroll",
"HistoryTableArea",
"autoMatchBtn",
"calcLogo",
"calcMain",
"calcOptionsPanel",
"canv",
"clearFilterButton",
"colorControlsMenuArea",
"dateCalcMenuArea",
"dbLoadIndicator",
"editCiphersMenuArea",
"enabledCiphTable",
"enterPhraseBtn",
"highlightBox",
"hltModeBtn",
"hsGlobalFooter",
"inputArea",
"loadPanel",
"loader",
"logoText",
"phraseBox",
"queryDBbtn"
],
"inputs": [
"highlight #s"
],
"sample_buttons": [],
"sample_options": [],
"sample_headings": []
}
},
"ipld_dag_json_cidv1": {
"/": "baguqeera72nb5g4mc7vivns73awidi4lcvbjc5dnfg7ua7eczuuaexgpmnwa"
}
}
+101
View File
@@ -510,3 +510,104 @@ html[data-sigil-accents="off"] .panel::after {
background: var(--bg-void) !important;
cursor: pointer;
}
/* ==========================================================================
Homepage 2x2 Quadrant Frame Geometry & Single Interactive Chamfered Tab Row
(Strategy 1C-3: Top=16px, Bottom=16px, Left=20px, Right=20px, 6px Tab Gap)
========================================================================== */
.showcase-grid .card {
padding: 16px 20px !important;
display: flex;
flex-direction: column;
justify-content: flex-start !important;
gap: 6px !important;
}
.closeup-tab-strip {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
gap: 8px;
width: 100%;
margin: 2px 0 6px 0;
padding: 0;
}
.closeup-tab-btn {
height: 32px;
padding: 0 12px;
font-family: 'DejaVu Sans Mono', 'JetBrains Mono', ui-monospace, monospace;
font-size: 0.72rem;
font-weight: 700;
color: var(--text-secondary);
background: #0b0f17;
border: 1px solid var(--border);
clip-path: polygon(0 0, calc(100% - 7px) 0, 100% 7px, 100% 100%, 0 100%);
cursor: pointer;
display: inline-flex;
align-items: center;
justify-content: flex-start;
text-align: left;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
transition: background 0.14s ease, color 0.14s ease, border-color 0.14s ease;
}
.closeup-tab-btn:hover {
color: var(--text-main);
border-color: var(--pip-color, var(--cyan));
}
.closeup-tab-btn[aria-selected="true"] {
background: #121c2e;
color: var(--text-main);
border-color: var(--pip-color, var(--cyan));
box-shadow: inset 3px 0 0 var(--pip-color, var(--cyan)), inset 0 -2px 0 var(--pip-color, var(--cyan));
}
.showcase-grid .closeup-frame {
margin: 0 !important;
background: #05080e;
border: 1px solid var(--border);
overflow: hidden;
display: flex;
flex-direction: column;
}
.closeup-viewport {
display: block;
text-decoration: none;
color: inherit;
line-height: 0;
}
.closeup-viewport img {
width: 100%;
height: auto;
display: block;
}
.closeup-bar {
display: flex;
justify-content: space-between;
align-items: center;
padding: 6px 10px;
background: #0a0e15;
border-top: 1px solid var(--border);
font-size: 0.68rem;
line-height: 1.2;
}
.closeup-bar-label {
color: var(--text-secondary);
}
.closeup-bar-cta {
color: var(--cyan);
font-weight: 700;
text-decoration: none;
}
.closeup-bar-cta:hover {
text-decoration: underline;
}
+12
View File
@@ -2104,6 +2104,18 @@
replDrawer.classList.toggle("hs-repl-minimized");
});
}
if (typeof window !== "undefined" && window.location && window.location.search) {
var uParams = new URLSearchParams(window.location.search);
if (uParams.get("repl") === "trace") {
activeLang = "guile";
applyPolyglotMode("guile");
if (replLangSel) replLangSel.value = "guile";
if (replDrawer) replDrawer.classList.remove("hs-repl-minimized");
if (replInput) replInput.value = "(prime-factors 666)";
if (replStepBtn) replStepBtn.click();
}
}
}
if (typeof document !== "undefined") {
+4 -4
View File
@@ -4,7 +4,7 @@
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Signal Patronage &amp; Open-Instrument Notes — hyperstitionstud.io/donate</title>
<link rel="stylesheet" href="../assets/hs-group3-basalt-chamfer.css?v=2.8.1" />
<link rel="stylesheet" href="../assets/hs-group3-basalt-chamfer.css?v=2.10.0" />
<style>
:root {
--bg-canvas: #020617;
@@ -343,7 +343,7 @@
<span class="dot"></span>
<h1>hyperstitionstud.io/donate — Signal Patronage &amp; Open-Instrument Notes</h1>
</div>
<p class="subtitle">Open-Readout Phonemic, Graph &amp; Closing-Bell Telemetry Workbench &bull; Namespace Authority: urn:io:hyperstitionstud:donate:v2.8.1 <span class="hs-sigil-seal" aria-hidden="true">[ &#x269A; &middot; &#x263F; &middot; &#x260D; &middot; &#x2609; ]</span></p>
<p class="subtitle">Open-Readout Phonemic, Graph &amp; Closing-Bell Telemetry Workbench &bull; Namespace Authority: urn:io:hyperstitionstud:donate:v2.10.0 <span class="hs-sigil-seal" aria-hidden="true">[ &#x269A; &middot; &#x263F; &middot; &#x260D; &middot; &#x2609; ]</span></p>
</div>
<nav class="top-nav">
<a class="btn" data-donate-route="home" href="/">Portal Home (/)</a>
@@ -406,12 +406,12 @@
</section>
<footer>
<div>hyperstitionstud.io/donate v2.8.1 &bull; 100% Static &amp; Offline-Portable &bull; Zero External Trackers</div>
<div>hyperstitionstud.io/donate v2.10.0 &bull; 100% Static &amp; Offline-Portable &bull; Zero External Trackers</div>
<div class="hs-lemur-credit"><span class="hs-sigil-colophon" aria-hidden="true">&#x269A; &middot; &#x263F; &middot; &#x260D; &middot; &#x2609; &middot; &#x2644;</span> &bull; Made with <span class="hs-heart" role="img" aria-label="love" style="color:var(--rose);display:inline-block;padding:0 2px;">&#x2665;</span> by Lemurs.</div>
</footer>
</div>
<script src="../assets/hs-matrix-coderain.js?v=2.8.1" defer></script>
<script src="../assets/hs-matrix-coderain.js?v=2.10.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.8.1)</title>
<link rel="stylesheet" href="../../assets/hs-group3-basalt-chamfer.css?v=2.8.1" />
<title>Unit E5: Topological Git Push, Self-Re-Executing tmpfs VPS Hydration, Dark-Mode hs-pdf-build & hs-public-smoke — hyperstitionstud.io/engineering (v2.10.0)</title>
<link rel="stylesheet" href="../../assets/hs-group3-basalt-chamfer.css?v=2.10.0" />
<style>
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'DejaVu Sans Mono', ui-monospace, monospace; padding: 1.25rem; line-height: 1.5; }
@@ -22,7 +22,7 @@
<header>
<div>
<h1>Unit E5: Topological Git Push, Self-Re-Executing tmpfs VPS Hydration, Dark-Mode hs-pdf-build & hs-public-smoke</h1>
<p class="subtitle">Cartridge E5 &bull; Non-Sequentially Revertible via <code>hs-eng-docs --disable cicd-vps-tmpfs-and-regression</code> &bull; v2.8.1 <span class="hs-sigil-seal" aria-hidden="true">[ &#x269A; &middot; &#x263F; &middot; &#x260D; &middot; &#x2609; ]</span></p>
<p class="subtitle">Cartridge E5 &bull; Non-Sequentially Revertible via <code>hs-eng-docs --disable cicd-vps-tmpfs-and-regression</code> &bull; v2.10.0 <span class="hs-sigil-seal" aria-hidden="true">[ &#x269A; &middot; &#x263F; &middot; &#x260D; &middot; &#x2609; ]</span></p>
</div>
<nav class="top-nav">
<a class="btn" href="../../index.html">Portal Home (/)</a>
@@ -49,12 +49,12 @@
</div>
<footer>
hyperstitionstud.io/engineering/cicd-vps-tmpfs-and-regression v2.8.1 &bull; <span class="hs-sigil-colophon" aria-hidden="true">&#x269A; &middot; &#x263F; &middot; &#x260D; &middot; &#x2609; &middot; &#x2644;</span> &bull; Made with <span class="hs-heart" style="color:var(--rose);">&#x2665;</span> by Lemurs.
hyperstitionstud.io/engineering/cicd-vps-tmpfs-and-regression v2.10.0 &bull; <span class="hs-sigil-colophon" aria-hidden="true">&#x269A; &middot; &#x263F; &middot; &#x260D; &middot; &#x2609; &middot; &#x2644;</span> &bull; Made with <span class="hs-heart" style="color:var(--rose);">&#x2665;</span> by Lemurs.
</footer>
</div>
<script src="../../assets/hs-matrix-coderain.js?v=2.8.1" defer></script>
<script src="../engineering-manifest-data.js?v=2.8.1"></script>
<script src="../engineering-app.js?v=2.8.1"></script>
<script src="../../assets/hs-matrix-coderain.js?v=2.10.0" defer></script>
<script src="../engineering-manifest-data.js?v=2.10.0"></script>
<script src="../engineering-app.js?v=2.10.0"></script>
<aside id="hsGuileReplDrawer" class="hs-plate-g3" aria-label="In-Browser Polyglot Guile Scheme, TypeScript, and Rust Hardened REPL">
<div style="display:flex;justify-content:space-between;align-items:center;gap:0.5rem;margin-bottom:0.45rem;">
<div style="font-size:0.73rem;font-weight:700;color:var(--cyan);">&lambda; 4-RING HARDENED POLYGLOT REPL (GUILE • TS • RUST • ZERO EVAL)</div>
@@ -92,6 +92,6 @@
<pre id="hsGuileReplOutput" style="margin-top:0.4rem;background:var(--bg-void);border:1px solid var(--border);padding:0.5rem;font-size:0.71rem;color:var(--emerald);max-height:150px;overflow-y:auto;white-space:pre-wrap;">polyglot&gt; Ready (4-Ring Zero-Eval AST Sandbox). Select [λ GUILE | TS | RS | ≡ ALL 3] or click Evaluate (λ).</pre>
</div>
</aside>
<script src="../../assets/hs-guile-scheme-repl.js?v=2.8.1"></script>
<script src="../../assets/hs-guile-scheme-repl.js?v=2.10.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.8.1)</title>
<link rel="stylesheet" href="../../assets/hs-group3-basalt-chamfer.css?v=2.8.1" />
<title>Unit E1: Base-36 AQ Ciphers, Offline CMUdict Phonetics & Bidirectional Lock Evaluation — hyperstitionstud.io/engineering (v2.10.0)</title>
<link rel="stylesheet" href="../../assets/hs-group3-basalt-chamfer.css?v=2.10.0" />
<style>
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'DejaVu Sans Mono', ui-monospace, monospace; padding: 1.25rem; line-height: 1.5; }
@@ -22,7 +22,7 @@
<header>
<div>
<h1>Unit E1: Base-36 AQ Ciphers, Offline CMUdict Phonetics & Bidirectional Lock Evaluation</h1>
<p class="subtitle">Cartridge E1 &bull; Non-Sequentially Revertible via <code>hs-eng-docs --disable ciphers-and-phonetics</code> &bull; v2.8.1 <span class="hs-sigil-seal" aria-hidden="true">[ &#x269A; &middot; &#x263F; &middot; &#x260D; &middot; &#x2609; ]</span></p>
<p class="subtitle">Cartridge E1 &bull; Non-Sequentially Revertible via <code>hs-eng-docs --disable ciphers-and-phonetics</code> &bull; v2.10.0 <span class="hs-sigil-seal" aria-hidden="true">[ &#x269A; &middot; &#x263F; &middot; &#x260D; &middot; &#x2609; ]</span></p>
</div>
<nav class="top-nav">
<a class="btn" href="../../index.html">Portal Home (/)</a>
@@ -49,12 +49,12 @@
</div>
<footer>
hyperstitionstud.io/engineering/ciphers-and-phonetics v2.8.1 &bull; <span class="hs-sigil-colophon" aria-hidden="true">&#x269A; &middot; &#x263F; &middot; &#x260D; &middot; &#x2609; &middot; &#x2644;</span> &bull; Made with <span class="hs-heart" style="color:var(--rose);">&#x2665;</span> by Lemurs.
hyperstitionstud.io/engineering/ciphers-and-phonetics v2.10.0 &bull; <span class="hs-sigil-colophon" aria-hidden="true">&#x269A; &middot; &#x263F; &middot; &#x260D; &middot; &#x2609; &middot; &#x2644;</span> &bull; Made with <span class="hs-heart" style="color:var(--rose);">&#x2665;</span> by Lemurs.
</footer>
</div>
<script src="../../assets/hs-matrix-coderain.js?v=2.8.1" defer></script>
<script src="../engineering-manifest-data.js?v=2.8.1"></script>
<script src="../engineering-app.js?v=2.8.1"></script>
<script src="../../assets/hs-matrix-coderain.js?v=2.10.0" defer></script>
<script src="../engineering-manifest-data.js?v=2.10.0"></script>
<script src="../engineering-app.js?v=2.10.0"></script>
<aside id="hsGuileReplDrawer" class="hs-plate-g3" aria-label="In-Browser Polyglot Guile Scheme, TypeScript, and Rust Hardened REPL">
<div style="display:flex;justify-content:space-between;align-items:center;gap:0.5rem;margin-bottom:0.45rem;">
<div style="font-size:0.73rem;font-weight:700;color:var(--cyan);">&lambda; 4-RING HARDENED POLYGLOT REPL (GUILE • TS • RUST • ZERO EVAL)</div>
@@ -92,6 +92,6 @@
<pre id="hsGuileReplOutput" style="margin-top:0.4rem;background:var(--bg-void);border:1px solid var(--border);padding:0.5rem;font-size:0.71rem;color:var(--emerald);max-height:150px;overflow-y:auto;white-space:pre-wrap;">polyglot&gt; Ready (4-Ring Zero-Eval AST Sandbox). Select [λ GUILE | TS | RS | ≡ ALL 3] or click Evaluate (λ).</pre>
</div>
</aside>
<script src="../../assets/hs-guile-scheme-repl.js?v=2.8.1"></script>
<script src="../../assets/hs-guile-scheme-repl.js?v=2.10.0"></script>
</body>
</html>
@@ -1 +1 @@
window.HYPERSTITION_ENGINEERING_MANIFEST = {"$id": "urn:io:hyperstitionstud:engineering-manifest", "version": "2.8.1", "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": 17, "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"}, "mcp_tool_names": ["hs_evaluate_aq_and_ingglish", "hs_classify_singularity", "hs_query_knowledge_graph", "hs_search_glossary_encyclopedia", "hs_inspect_eti_tier_list", "hs_simulate_anchor_revision", "hs_search_archive_equations", "hs_verify_grounded_citations", "hs_compute_ipld_dag_json_cid", "hs_run_doctor_and_audit", "hs_scan_financial_quant_harvest", "hs_inspect_quant_timeseries", "hs_generate_ticker_stats_card", "hs_inspect_macro_indicators", "hs_generate_daily_portfolio_brief", "hs_inspect_engineering_and_math_docs", "hs_inspect_documentation_and_manuals", "hs_evaluate_guile_scheme_z_calculus", "hs_query_workspace_catalog_and_release_state", "hs_generate_highlights_summary"], "rest_domain_aliases": {"/api/v1/doctor": "hs_run_doctor_and_audit", "/api/v1/ciphers/evaluate": "hs_evaluate_aq_and_ingglish", "/api/v1/zoology/classify": "hs_classify_singularity", "/api/v1/zoology/tier-list": "hs_inspect_eti_tier_list", "/api/v1/zoology/anchor-revision": "hs_simulate_anchor_revision", "/api/v1/graph/query": "hs_query_knowledge_graph", "/api/v1/glossary/search": "hs_search_glossary_encyclopedia", "/api/v1/archive/equations": "hs_search_archive_equations", "/api/v1/quant/harvest": "hs_scan_financial_quant_harvest", "/api/v1/quant/timeseries": "hs_inspect_quant_timeseries", "/api/v1/ipld/cid": "hs_compute_ipld_dag_json_cid", "/api/v1/citations/verify": "hs_verify_grounded_citations"}, "schemas_v1": ["assemblage-builds-tier-list.schema.json", "citations-ledger.schema.json", "encyclopedia-graph.schema.json", "encyclopedia-manifest.schema.json", "financial-aq-harvest.schema.json", "glossary-registry.schema.json", "learn-progress-state.schema.json", "memetic-superclass-registry.schema.json", "quant-timeseries.schema.json", "quantitative-economic-anchors.schema.json", "singularity-zoology-matrix.schema.json", "ticker-stats-card.schema.json"], "flow_diagrams": {"cross_repo_dependency_png": "/graph/docs/cross-repo-dependency-and-audit-flow-diagram.png", "periodic_harvest_cicd_vps_png": "/graph/docs/periodic-harvest-cicd-to-vps-flow-diagram.png"}, "hub_prereq_ladder": {"unit_id": "E0", "expertise_level": "Level 1-2 (Novice to Advanced Beginner • 4-8 hrs study)", "summary": "New to command-line shells, Git repositories, or client-server web architecture? Start with these free foundational resources before diving into the engineering subpages:", "links": [{"label": "Internal: Self-Paced Learning Track (/learn/ Modules 1-6)", "url": "/learn/index.html", "external": false}, {"label": "MIT Missing Semester of Your CS Education (Shell, Git, CLI)", "url": "https://missing.csail.mit.edu/", "external": true}, {"label": "MDN Web Docs — How the Web Works (HTTP, HTML, Servers)", "url": "https://developer.mozilla.org/en-US/docs/Learn/Getting_started_with_the_web/How_the_Web_works", "external": true}]}, "subpages": {"ciphers-and-phonetics": {"unit_id": "E1", "slug": "ciphers-and-phonetics", "title": "Unit E1: Base-36 AQ Ciphers, Offline CMUdict Phonetics & Bidirectional Lock Evaluation", "short_title": "E1: Ciphers & Phonetics", "pip_class": Line truncated
window.HYPERSTITION_ENGINEERING_MANIFEST = {"$id": "urn:io:hyperstitionstud:engineering-manifest", "version": "2.10.0", "enabled_subpages": ["ciphers-and-phonetics", "knowledge-graph-and-sqlite", "quant-macro-and-bayesian-brief", "mcp-chatbot-rest-and-ipld", "cicd-vps-tmpfs-and-regression"], "disabled_subpages": [], "enabled_routes": ["/engineering/index.html", "/engineering/ciphers-and-phonetics/index.html", "/engineering/knowledge-graph-and-sqlite/index.html", "/engineering/quant-macro-and-bayesian-brief/index.html", "/engineering/mcp-chatbot-rest-and-ipld/index.html", "/engineering/cicd-vps-tmpfs-and-regression/index.html"], "introspected_counts": {"repositories": 6, "cli_entrypoints": 18, "mcp_tools": 20, "rest_domain_aliases": 12, "enabled_lenses": 6, "watchlist_instruments": 24, "fred_macro_series": 14, "json_schemas_v1": 12}, "cli_scripts": {"hs-doctor": "hyperstitionstud_io.ci.doctor:main", "hs-citations": "hyperstitionstud_io.ci.citation_sources:main", "hs-pdf-build": "hyperstitionstud_io.publishing.pdf_compiler:main", "hs-kg-build": "hyperstitionstud_io.graph.cli:main", "hs-quant-harvest": "hyperstitionstud_io.quant.collector:main", "hs-mcp": "hyperstitionstud_io.mcp.server:main", "hs-sync-version": "hyperstitionstud_io.version_sync:main", "hs-db-build": "hyperstitionstud_io.db.sqlite_meta:main", "hs-macro-harvest": "hyperstitionstud_io.quant.macro:main", "hs-daily-brief": "hyperstitionstud_io.quant.daily_brief:main", "hs-ticker-card": "hyperstitionstud_io.quant.cards:main", "hs-archive-rotate": "hyperstitionstud_io.publishing.archive_rotator:main", "hs-public-smoke": "hyperstitionstud_io.ci.public_regression:main", "hs-eng-docs": "hyperstitionstud_io.publishing.engineering_docs:main", "hs-math-docs": "hyperstitionstud_io.publishing.math_docs:main", "hs-highlights": "hyperstitionstud_io.publishing.highlights:main", "hs-readme-sync": "hyperstitionstud_io.publishing.readme_sync:main", "hs-closeups-sync": "hyperstitionstud_io.publishing.closeups_sync:main"}, "mcp_tool_names": ["hs_evaluate_aq_and_ingglish", "hs_classify_singularity", "hs_query_knowledge_graph", "hs_search_glossary_encyclopedia", "hs_inspect_eti_tier_list", "hs_simulate_anchor_revision", "hs_search_archive_equations", "hs_verify_grounded_citations", "hs_compute_ipld_dag_json_cid", "hs_run_doctor_and_audit", "hs_scan_financial_quant_harvest", "hs_inspect_quant_timeseries", "hs_generate_ticker_stats_card", "hs_inspect_macro_indicators", "hs_generate_daily_portfolio_brief", "hs_inspect_engineering_and_math_docs", "hs_inspect_documentation_and_manuals", "hs_evaluate_guile_scheme_z_calculus", "hs_query_workspace_catalog_and_release_state", "hs_generate_highlights_summary"], "rest_domain_aliases": {"/api/v1/doctor": "hs_run_doctor_and_audit", "/api/v1/ciphers/evaluate": "hs_evaluate_aq_and_ingglish", "/api/v1/zoology/classify": "hs_classify_singularity", "/api/v1/zoology/tier-list": "hs_inspect_eti_tier_list", "/api/v1/zoology/anchor-revision": "hs_simulate_anchor_revision", "/api/v1/graph/query": "hs_query_knowledge_graph", "/api/v1/glossary/search": "hs_search_glossary_encyclopedia", "/api/v1/archive/equations": "hs_search_archive_equations", "/api/v1/quant/harvest": "hs_scan_financial_quant_harvest", "/api/v1/quant/timeseries": "hs_inspect_quant_timeseries", "/api/v1/ipld/cid": "hs_compute_ipld_dag_json_cid", "/api/v1/citations/verify": "hs_verify_grounded_citations"}, "schemas_v1": ["assemblage-builds-tier-list.schema.json", "citations-ledger.schema.json", "encyclopedia-graph.schema.json", "encyclopedia-manifest.schema.json", "financial-aq-harvest.schema.json", "glossary-registry.schema.json", "learn-progress-state.schema.json", "memetic-superclass-registry.schema.json", "quant-timeseries.schema.json", "quantitative-economic-anchors.schema.json", "singularity-zoology-matrix.schema.json", "ticker-stats-card.schema.json"], "flow_diagrams": {"cross_repo_dependency_png": "/graph/docs/cross-repo-dependency-and-audit-flow-diagram.png", "periodic_harvest_cicd_vps_png": "/graph/docs/periodic-harvest-cicd-to-vps-flow-diagram.png"}, "hub_prereq_ladder": {"unit_id": "E0", "expertise_level": "Level 1-2 (Novice to Advanced Beginner • 4-8 hrs study)", "summary": "New to command-line shells, Git repositories, or client-server web architecture? Start with these free foundational resources before diving into the engineering subpages:", "links": [{"label": "Internal: Self-Paced Learning Track (/learn/ Modules 1-6)", "url": "/learn/index.html", "external": false}, {"label": "MIT Missing Semester of Your CS Education (Shell, Git, CLI)", "url": "https://missing.csail.mit.edu/", "external": true}, {"label": "MDN Web Docs — How the Web Works (HTTP, HTML, Servers)", "url": "https://developer.mozilla.org/en-US/docs/Learn/Getting_started_with_the_web/How_the_Web_works", "external": true}]}, "subpages": {"ciphers-and-phonetics": {"unit_id": "E1", "slug": "ciphers-and-phonetics", "title": "Unit E1: Base-36 AQ Ciphers, Offline CMUdict Phonetics & BidirectionalLine truncated
+5 -4
View File
@@ -1,6 +1,6 @@
{
"$id": "urn:io:hyperstitionstud:engineering-manifest",
"version": "2.8.1",
"version": "2.10.0",
"enabled_subpages": [
"ciphers-and-phonetics",
"knowledge-graph-and-sqlite",
@@ -19,7 +19,7 @@
],
"introspected_counts": {
"repositories": 6,
"cli_entrypoints": 17,
"cli_entrypoints": 18,
"mcp_tools": 20,
"rest_domain_aliases": 12,
"enabled_lenses": 6,
@@ -44,7 +44,8 @@
"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-readme-sync": "hyperstitionstud_io.publishing.readme_sync:main",
"hs-closeups-sync": "hyperstitionstud_io.publishing.closeups_sync:main"
},
"mcp_tool_names": [
"hs_evaluate_aq_and_ingglish",
@@ -355,6 +356,6 @@
}
},
"ipld_dag_json_cidv1": {
"/": "baguqeerakaqxxzoaem32ycige5dsy4y52qrd4ltlbkrdtfmt7vuc6gvxn3ca"
"/": "baguqeerayzmawwnxqg5bayztjvnd7kco2gyfw2ga5jzktmoz7tiboaa2cw2a"
}
}
+27 -12
View File
@@ -3,8 +3,8 @@
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Software Engineering Explication Hub — hyperstitionstud.io/engineering (v2.8.1)</title>
<link rel="stylesheet" href="../assets/hs-group3-basalt-chamfer.css?v=2.8.1" />
<title>Software Engineering Explication Hub — hyperstitionstud.io/engineering (v2.10.0)</title>
<link rel="stylesheet" href="../assets/hs-group3-basalt-chamfer.css?v=2.10.0" />
<style>
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'DejaVu Sans Mono', ui-monospace, monospace; padding: 1.25rem; line-height: 1.5; }
@@ -27,7 +27,7 @@
<header>
<div>
<h1>HYPERSTITION STUDIO // SOFTWARE ENGINEERING EXPLICATION HUB (UNIT E0)</h1>
<p class="subtitle">Commutative Live-Introspected Architecture &bull; Piecewise &amp; Non-Sequentially Revertible Cartridges &bull; urn:io:hyperstitionstud:engineering:v2.8.1 <span class="hs-sigil-seal" aria-hidden="true">[ &#x269A; &middot; &#x263F; &middot; &#x260D; &middot; &#x2609; ]</span></p>
<p class="subtitle">Commutative Live-Introspected Architecture &bull; Piecewise &amp; Non-Sequentially Revertible Cartridges &bull; urn:io:hyperstitionstud:engineering:v2.10.0 <span class="hs-sigil-seal" aria-hidden="true">[ &#x269A; &middot; &#x263F; &middot; &#x260D; &middot; &#x2609; ]</span></p>
</div>
<nav class="top-nav">
<a class="btn" href="../index.html">Portal Home (/)</a>
@@ -50,7 +50,7 @@ cid = compute_dag_json_cidv1(manifest)</pre></div><div class="hs-guile-box hs-la
<section class="stats-row">
<div class="panel hs-plate-g3 stat-tile"><div style="font-size:0.68rem;color:var(--text-secondary);">Repositories</div><div style="font-size:1.35rem;font-weight:700;color:var(--gold);">6</div></div>
<div class="panel hs-plate-g3 stat-tile"><div style="font-size:0.68rem;color:var(--text-secondary);">CLI Entrypoints</div><div style="font-size:1.35rem;font-weight:700;color:var(--cyan);">17</div></div>
<div class="panel hs-plate-g3 stat-tile"><div style="font-size:0.68rem;color:var(--text-secondary);">CLI Entrypoints</div><div style="font-size:1.35rem;font-weight:700;color:var(--cyan);">18</div></div>
<div class="panel hs-plate-g3 stat-tile"><div style="font-size:0.68rem;color:var(--text-secondary);">MCP &amp; REST Tools</div><div style="font-size:1.35rem;font-weight:700;color:var(--emerald);">20</div></div>
<div class="panel hs-plate-g3 stat-tile"><div style="font-size:0.68rem;color:var(--text-secondary);">Pluggable Lenses</div><div style="font-size:1.35rem;font-weight:700;color:var(--gold);">6</div></div>
<div class="panel hs-plate-g3 stat-tile"><div style="font-size:0.68rem;color:var(--text-secondary);">Watchlist / FRED</div><div style="font-size:1.35rem;font-weight:700;color:var(--cyan);">24 / 14</div></div>
@@ -70,20 +70,35 @@ cid = compute_dag_json_cidv1(manifest)</pre></div><div class="hs-guile-box hs-la
</section>
<section class="panel hs-plate-g3" style="padding:1rem 1.2rem;">
<h2 style="font-size:0.92rem;color:var(--cyan);margin-bottom:0.4rem;">Live Introspected CLI Entrypoints (pyproject.toml [project.scripts])</h2>
<table>
<div style="display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:0.6rem;margin-bottom:0.4rem;">
<h2 style="font-size:0.92rem;color:var(--cyan);">Live Introspected CLI Entrypoints (pyproject.toml [project.scripts])</h2>
<input type="text" id="engCliFilterInput" placeholder="Filter CLI command or module..." style="background:var(--bg-well);color:var(--text-main);border:1px solid var(--border);padding:0.25rem 0.55rem;font-size:0.71rem;font-family:inherit;width:230px;" aria-label="Filter CLI entrypoints" />
</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-daily-brief</code></td><td><code>hyperstitionstud_io.quant.daily_brief:main</code></td></tr><tr><td><code>hs-db-build</code></td><td><code>hyperstitionstud_io.db.sqlite_meta:main</code></td></tr><tr><td><code>hs-doctor</code></td><td><code>hyperstitionstud_io.ci.doctor:main</code></td></tr><tr><td><code>hs-eng-docs</code></td><td><code>hyperstitionstud_io.publishing.engineering_docs:main</code></td></tr><tr><td><code>hs-highlights</code></td><td><code>hyperstitionstud_io.publishing.highlights:main</code></td></tr><tr><td><code>hs-kg-build</code></td><td><code>hyperstitionstud_io.graph.cli:main</code></td></tr><tr><td><code>hs-macro-harvest</code></td><td><code>hyperstitionstud_io.quant.macro:main</code></td></tr><tr><td><code>hs-math-docs</code></td><td><code>hyperstitionstud_io.publishing.math_docs:main</code></td></tr><tr><td><code>hs-mcp</code></td><td><code>hyperstitionstud_io.mcp.server:main</code></td></tr><tr><td><code>hs-pdf-build</code></td><td><code>hyperstitionstud_io.publishing.pdf_compiler:main</code></td></tr><tr><td><code>hs-public-smoke</code></td><td><code>hyperstitionstud_io.ci.public_regression:main</code></td></tr><tr><td><code>hs-quant-harvest</code></td><td><code>hyperstitionstud_io.quant.collector:main</code></td></tr><tr><td><code>hs-readme-sync</code></td><td><code>hyperstitionstud_io.publishing.readme_sync:main</code></td></tr><tr><td><code>hs-sync-version</code></td><td><code>hyperstitionstud_io.version_sync:main</code></td></tr><tr><td><code>hs-ticker-card</code></td><td><code>hyperstitionstud_io.quant.cards:main</code></td></tr></tbody>
<tbody><tr><td><code>hs-archive-rotate</code></td><td><code>hyperstitionstud_io.publishing.archive_rotator:main</code></td></tr><tr><td><code>hs-citations</code></td><td><code>hyperstitionstud_io.ci.citation_sources:main</code></td></tr><tr><td><code>hs-closeups-sync</code></td><td><code>hyperstitionstud_io.publishing.closeups_sync:main</code></td></tr><tr><td><code>hs-daily-brief</code></td><td><code>hyperstitionstud_io.quant.daily_brief:main</code></td></tr><tr><td><code>hs-db-build</code></td><td><code>hyperstitionstud_io.db.sqlite_meta:main</code></td></tr><tr><td><code>hs-doctor</code></td><td><code>hyperstitionstud_io.ci.doctor:main</code></td></tr><tr><td><code>hs-eng-docs</code></td><td><code>hyperstitionstud_io.publishing.engineering_docs:main</code></td></tr><tr><td><code>hs-highlights</code></td><td><code>hyperstitionstud_io.publishing.highlights:main</code></td></tr><tr><td><code>hs-kg-build</code></td><td><code>hyperstitionstud_io.graph.cli:main</code></td></tr><tr><td><code>hs-macro-harvest</code></td><td><code>hyperstitionstud_io.quant.macro:main</code></td></tr><tr><td><code>hs-math-docs</code></td><td><code>hyperstitionstud_io.publishing.math_docs:main</code></td></tr><tr><td><code>hs-mcp</code></td><td><code>hyperstitionstud_io.mcp.server:main</code></td></tr><tr><td><code>hs-pdf-build</code></td><td><code>hyperstitionstud_io.publishing.pdf_compiler:main</code></td></tr><tr><td><code>hs-public-smoke</code></td><td><code>hyperstitionstud_io.ci.public_regression:main</code></td></tr><tr><td><code>hs-quant-harvest</code></td><td><code>hyperstitionstud_io.quant.collector:main</code></td></tr><tr><td><code>hs-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(){
var inp=document.getElementById("engCliFilterInput"),tbl=document.getElementById("engCliTable");
if(!inp||!tbl)return;
inp.addEventListener("input",function(){
var q=(inp.value||"").trim().toLowerCase();
tbl.querySelectorAll("tbody tr").forEach(function(tr){
tr.style.display=(!q||tr.textContent.toLowerCase().indexOf(q)!==-1)?"":"none";
});
});
})();
</script>
</section>
<footer>
hyperstitionstud.io/engineering v2.8.1 &bull; CIDv1: <code>baguqeerakaqxxzoaem32ycige5dsy4y52qr...</code> &bull; <span class="hs-sigil-colophon" aria-hidden="true">&#x269A; &middot; &#x263F; &middot; &#x260D; &middot; &#x2609; &middot; &#x2644;</span> &bull; Made with <span class="hs-heart" style="color:var(--rose);">&#x2665;</span> by Lemurs.
hyperstitionstud.io/engineering v2.10.0 &bull; CIDv1: <code>baguqeerayzmawwnxqg5bayztjvnd7kco2gy...</code> &bull; <span class="hs-sigil-colophon" aria-hidden="true">&#x269A; &middot; &#x263F; &middot; &#x260D; &middot; &#x2609; &middot; &#x2644;</span> &bull; Made with <span class="hs-heart" style="color:var(--rose);">&#x2665;</span> by Lemurs.
</footer>
</div>
<script src="../assets/hs-matrix-coderain.js?v=2.8.1" defer></script>
<script src="engineering-manifest-data.js?v=2.8.1"></script>
<script src="engineering-app.js?v=2.8.1"></script>
<script src="../assets/hs-matrix-coderain.js?v=2.10.0" defer></script>
<script src="engineering-manifest-data.js?v=2.10.0"></script>
<script src="engineering-app.js?v=2.10.0"></script>
<aside id="hsGuileReplDrawer" class="hs-plate-g3" aria-label="In-Browser Polyglot Guile Scheme, TypeScript, and Rust Hardened REPL">
<div style="display:flex;justify-content:space-between;align-items:center;gap:0.5rem;margin-bottom:0.45rem;">
<div style="font-size:0.73rem;font-weight:700;color:var(--cyan);">&lambda; 4-RING HARDENED POLYGLOT REPL (GUILE • TS • RUST • ZERO EVAL)</div>
@@ -121,6 +136,6 @@ cid = compute_dag_json_cidv1(manifest)</pre></div><div class="hs-guile-box hs-la
<pre id="hsGuileReplOutput" style="margin-top:0.4rem;background:var(--bg-void);border:1px solid var(--border);padding:0.5rem;font-size:0.71rem;color:var(--emerald);max-height:150px;overflow-y:auto;white-space:pre-wrap;">polyglot&gt; Ready (4-Ring Zero-Eval AST Sandbox). Select [λ GUILE | TS | RS | ≡ ALL 3] or click Evaluate (λ).</pre>
</div>
</aside>
<script src="../assets/hs-guile-scheme-repl.js?v=2.8.1"></script>
<script src="../assets/hs-guile-scheme-repl.js?v=2.10.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.8.1)</title>
<link rel="stylesheet" href="../../assets/hs-group3-basalt-chamfer.css?v=2.8.1" />
<title>Unit E2: 6-Gate 388-Node Knowledge Graph Compiler, ReadOnlyIsolationGuard & Quiescent SQLite + FTS5 Engine — hyperstitionstud.io/engineering (v2.10.0)</title>
<link rel="stylesheet" href="../../assets/hs-group3-basalt-chamfer.css?v=2.10.0" />
<style>
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'DejaVu Sans Mono', ui-monospace, monospace; padding: 1.25rem; line-height: 1.5; }
@@ -22,7 +22,7 @@
<header>
<div>
<h1>Unit E2: 6-Gate 388-Node Knowledge Graph Compiler, ReadOnlyIsolationGuard & Quiescent SQLite + FTS5 Engine</h1>
<p class="subtitle">Cartridge E2 &bull; Non-Sequentially Revertible via <code>hs-eng-docs --disable knowledge-graph-and-sqlite</code> &bull; v2.8.1 <span class="hs-sigil-seal" aria-hidden="true">[ &#x269A; &middot; &#x263F; &middot; &#x260D; &middot; &#x2609; ]</span></p>
<p class="subtitle">Cartridge E2 &bull; Non-Sequentially Revertible via <code>hs-eng-docs --disable knowledge-graph-and-sqlite</code> &bull; v2.10.0 <span class="hs-sigil-seal" aria-hidden="true">[ &#x269A; &middot; &#x263F; &middot; &#x260D; &middot; &#x2609; ]</span></p>
</div>
<nav class="top-nav">
<a class="btn" href="../../index.html">Portal Home (/)</a>
@@ -50,12 +50,12 @@
</div>
<footer>
hyperstitionstud.io/engineering/knowledge-graph-and-sqlite v2.8.1 &bull; <span class="hs-sigil-colophon" aria-hidden="true">&#x269A; &middot; &#x263F; &middot; &#x260D; &middot; &#x2609; &middot; &#x2644;</span> &bull; Made with <span class="hs-heart" style="color:var(--rose);">&#x2665;</span> by Lemurs.
hyperstitionstud.io/engineering/knowledge-graph-and-sqlite v2.10.0 &bull; <span class="hs-sigil-colophon" aria-hidden="true">&#x269A; &middot; &#x263F; &middot; &#x260D; &middot; &#x2609; &middot; &#x2644;</span> &bull; Made with <span class="hs-heart" style="color:var(--rose);">&#x2665;</span> by Lemurs.
</footer>
</div>
<script src="../../assets/hs-matrix-coderain.js?v=2.8.1" defer></script>
<script src="../engineering-manifest-data.js?v=2.8.1"></script>
<script src="../engineering-app.js?v=2.8.1"></script>
<script src="../../assets/hs-matrix-coderain.js?v=2.10.0" defer></script>
<script src="../engineering-manifest-data.js?v=2.10.0"></script>
<script src="../engineering-app.js?v=2.10.0"></script>
<aside id="hsGuileReplDrawer" class="hs-plate-g3" aria-label="In-Browser Polyglot Guile Scheme, TypeScript, and Rust Hardened REPL">
<div style="display:flex;justify-content:space-between;align-items:center;gap:0.5rem;margin-bottom:0.45rem;">
<div style="font-size:0.73rem;font-weight:700;color:var(--cyan);">&lambda; 4-RING HARDENED POLYGLOT REPL (GUILE • TS • RUST • ZERO EVAL)</div>
@@ -93,6 +93,6 @@
<pre id="hsGuileReplOutput" style="margin-top:0.4rem;background:var(--bg-void);border:1px solid var(--border);padding:0.5rem;font-size:0.71rem;color:var(--emerald);max-height:150px;overflow-y:auto;white-space:pre-wrap;">polyglot&gt; Ready (4-Ring Zero-Eval AST Sandbox). Select [λ GUILE | TS | RS | ≡ ALL 3] or click Evaluate (λ).</pre>
</div>
</aside>
<script src="../../assets/hs-guile-scheme-repl.js?v=2.8.1"></script>
<script src="../../assets/hs-guile-scheme-repl.js?v=2.10.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.8.1)</title>
<link rel="stylesheet" href="../../assets/hs-group3-basalt-chamfer.css?v=2.8.1" />
<title>Unit E4: Stateless MCP Server (:8095), Chatbot OpenAPI 3.1.0 REST Adapter, .png+.json Cards & IPLD CIDv1 — hyperstitionstud.io/engineering (v2.10.0)</title>
<link rel="stylesheet" href="../../assets/hs-group3-basalt-chamfer.css?v=2.10.0" />
<style>
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'DejaVu Sans Mono', ui-monospace, monospace; padding: 1.25rem; line-height: 1.5; }
@@ -22,7 +22,7 @@
<header>
<div>
<h1>Unit E4: Stateless MCP Server (:8095), Chatbot OpenAPI 3.1.0 REST Adapter, .png+.json Cards & IPLD CIDv1</h1>
<p class="subtitle">Cartridge E4 &bull; Non-Sequentially Revertible via <code>hs-eng-docs --disable mcp-chatbot-rest-and-ipld</code> &bull; v2.8.1 <span class="hs-sigil-seal" aria-hidden="true">[ &#x269A; &middot; &#x263F; &middot; &#x260D; &middot; &#x2609; ]</span></p>
<p class="subtitle">Cartridge E4 &bull; Non-Sequentially Revertible via <code>hs-eng-docs --disable mcp-chatbot-rest-and-ipld</code> &bull; v2.10.0 <span class="hs-sigil-seal" aria-hidden="true">[ &#x269A; &middot; &#x263F; &middot; &#x260D; &middot; &#x2609; ]</span></p>
</div>
<nav class="top-nav">
<a class="btn" href="../../index.html">Portal Home (/)</a>
@@ -41,7 +41,7 @@
<section class="panel hs-plate-g3 plate-lock-emerald hs-prereq-ladder" style="margin-bottom:0.9rem;padding:1rem 1.2rem;"><div style="font-size:0.74rem;font-weight:700;color:var(--emerald);text-transform:uppercase;letter-spacing:0.06em;">Prerequisite Track for Novices &bull; Required Expertise: Level 4: Network Protocols, OpenAPI 3.1 & Content-Addressed Storage (15-20 hrs study)</div><p style="font-size:0.76rem;color:var(--text-secondary);margin:0.35rem 0;">If any concepts on this page are unfamiliar, occupy your study time with these free foundational resources first:</p><div style="display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:0.8rem;margin-top:0.4rem;"><div><strong style="font-size:0.73rem;color:var(--gold);">Core Concepts Required:</strong><ul style="font-size:0.72rem;color:var(--text-main);margin:0.25rem 0 0 1.1rem;line-height:1.5;"><li>HTTP/1.1 request/response lifecycles, status codes (200, 404, 422, 500, 502), and reverse proxies</li><li>JSON-RPC 2.0, OpenAPI 3.1.0 schema generation, and Model Context Protocol (MCP)</li><li>Canonical JSON serialization, SHA-256 multihashes, and IPLD dag-json (0x0129) CIDv1</li></ul></div><div><strong style="font-size:0.73rem;color:var(--cyan);">Curated Free Public Study Resources:</strong><ul style="font-size:0.72rem;color:var(--text-main);margin:0.25rem 0 0 1.1rem;line-height:1.5;"><li><a href="https://developer.mozilla.org/en-US/docs/Web/HTTP" target="_blank" rel="noopener noreferrer" style="color:var(--cyan);">MDN Web Docs — HTTP Protocol & Status Codes &#x2197;</a></li><li><a href="https://www.jsonrpc.org/specification" target="_blank" rel="noopener noreferrer" style="color:var(--cyan);">JSON-RPC 2.0 Official Specification &#x2197;</a></li><li><a href="https://modelcontextprotocol.io/introduction" target="_blank" rel="noopener noreferrer" style="color:var(--cyan);">Model Context Protocol (MCP) Architecture Introduction &#x2197;</a></li><li><a href="https://proto.school/" target="_blank" rel="noopener noreferrer" style="color:var(--cyan);">ProtoSchool — Content Identifiers (CIDs) & IPLD Merkle DAGs &#x2197;</a></li></ul></div></div></section>
<section class="panel hs-plate-g3 hs-guile-cartridge"><div style="display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:0.5rem;"><div style="font-size:0.74rem;font-weight:700;color:var(--cyan);text-transform:uppercase;letter-spacing:0.05em;">&lambda; Polyglot Foil (E4): JSON-RPC 2.0 Tool Dispatch &amp; &#x27;envideea&#x27; = 137 (33rd Prime)</div><div style="display:flex;gap:0.25rem;flex-wrap:wrap;align-items:center;"><button type="button" class="hs-polyglot-seg" data-lens-mode="guile">&lambda; Guile</button><button type="button" class="hs-polyglot-seg" data-lens-mode="ts">TS TypeScript</button><button type="button" class="hs-polyglot-seg" data-lens-mode="rust">Rs Rust</button><button type="button" class="hs-polyglot-seg" data-lens-mode="all">&equiv; All 3</button><button type="button" class="hs-polyglot-seg" data-lens-mode="off">Hide</button></div></div><div class="hs-guile-triview"><div class="hs-guile-box"><strong style="color:var(--gold);display:block;margin-bottom:0.2rem;">1. Formal Specification &amp; Python:</strong><code>Dispatch(name, args) → ToolTable[name](args)</code><pre style="white-space:pre-wrap;margin-top:0.25rem;color:var(--text-secondary);">res = call_mcp_tool(target_tool, t_args)</pre></div><div class="hs-guile-box hs-lang-box-guile"><div style="display:flex;justify-content:space-between;align-items:center;"><strong style="color:var(--cyan);">&lambda; Guile Scheme (Z-Combinator):</strong><button type="button" class="btn hs-load-in-repl-btn" data-polyglot-lang="guile" data-scheme-expr="(list &#x27;jsonrpc-2.0 &#x27;tool &quot;hs_evaluate_aq_and_ingglish&quot; (aq-base36 &quot;envideea&quot;))" style="padding:0.12rem 0.4rem;font-size:0.65rem;">REPL &rarr;</button></div><code class="hs-guile-code-expr">(list &#x27;jsonrpc-2.0 &#x27;tool &quot;hs_evaluate_aq_and_ingglish&quot; (aq-base36 &quot;envideea&quot;))</code><div class="hs-guile-eval-result" style="margin-top:0.3rem;font-weight:700;color:var(--emerald);">=> [Select Lens to evaluate]</div></div><div class="hs-guile-box hs-lang-box-ts"><div style="display:flex;justify-content:space-between;align-items:center;"><strong style="color:var(--gold);">TS TypeScript (Strict AST):</strong><button type="button" class="btn hs-load-in-repl-btn" data-polyglot-lang="ts" data-scheme-expr="aqBase36(&quot;envideea&quot;)" style="padding:0.12rem 0.4rem;font-size:0.65rem;">REPL &rarr;</button></div><code class="hs-ts-code-expr">aqBase36(&quot;envideea&quot;)</code><div class="hs-ts-eval-result" style="margin-top:0.3rem;font-weight:700;color:var(--emerald);">=> [Select Lens to evaluate]</div></div><div class="hs-guile-box hs-lang-box-rust"><div style="display:flex;justify-content:space-between;align-items:center;"><strong style="color:var(--emerald);">Rs Rust (Option/Iterator AST):</strong><button type="button" class="btn hs-load-in-repl-btn" data-polyglot-lang="rust" data-scheme-expr="mcp_dispatch_aq(&quot;envideea&quot;)" style="padding:0.12rem 0.4rem;font-size:0.65rem;">REPL &rarr;</button></div><code class="hs-rust-code-expr">mcp_dispatch_aq(&quot;envideea&quot;)</code><div class="hs-rust-eval-result" style="margin-top:0.3rem;font-weight:700;color:var(--emerald);">=> [Select Lens to evaluate]</div></div></div><div style="font-size:0.71rem;color:var(--text-secondary);"><strong>Guided Micro-Challenge (4-Ring Zero-Escape Sandbox):</strong> Evaluate &quot;envideea&quot; =&gt; 137 across Guile, TypeScript, and Rust.</div></section>
<article class="panel hs-plate-g3" style="padding:1rem 1.2rem;margin-bottom:0.85rem;"><h2 style="font-size:0.92rem;color:var(--gold);margin-bottom:0.4rem;">1. Unified Stateless MCP (/mcp) & Chatbot OpenAPI 3.1.0 REST Adapter (/api/v1/*)</h2><p style="font-size:0.76rem;color:var(--text-main);line-height:1.6;">mcp/server.py and mcp/rest.py expose all 15 tools in MCP_TOOLS_SCHEMA over stdio, Streamable HTTP POST/GET /mcp, and /api/v1/tools/{tool_name} on 127.0.0.1:8095. Top-level exception guards in _MCPHTTPHandler and record_api_telemetry() ensure sqlite3.OperationalError or read-only filesystem states never drop connections or trigger 502 Bad Gateway.</p></article><article class="panel hs-plate-g3" style="padding:1rem 1.2rem;margin-bottom:0.85rem;"><h2 style="font-size:0.92rem;color:var(--gold);margin-bottom:0.4rem;">2. One-Shot .png + .json Ticker Stats Cards (quant/cards.py) & Canonical IPLD dag-json (0x0129)</h2><p style="font-size:0.76rem;color:var(--text-main);line-height:1.6;">hs_generate_ticker_stats_card compiles a 5-zone 900x1260 Group 3 Stealth Basalt PNG card and companion JSON payload in one shot (with draw_fitted_text() width clamping and ink-bbox midpoint centering). ipld/__init__.py serializes canonical UTF-8 dag-json and prefixes SHA-256 digests with [0x01, 0xA9, 0x02, 0x12, 0x20] to form Base32 CIDv1 ('baguqeera...').</p></article>
<article class="panel hs-plate-g3" style="padding:1rem 1.2rem;margin-bottom:0.85rem;"><h2 style="font-size:0.92rem;color:var(--gold);margin-bottom:0.4rem;">1. Unified Stateless MCP (/mcp) & Chatbot OpenAPI 3.1.0 REST Adapter (/api/v1/*)</h2><p style="font-size:0.76rem;color:var(--text-main);line-height:1.6;">mcp/server.py and mcp/rest.py expose all 15 tools in MCP_TOOLS_SCHEMA over stdio, Streamable HTTP POST/GET /mcp, and /api/v1/tools/{tool_name} on 127.0.0.1:8095. Top-level exception guards in _MCPHTTPHandler and record_api_telemetry() ensure sqlite3.OperationalError or read-only filesystem states never drop connections or trigger 502 Bad Gateway.</p></article><article class="panel hs-plate-g3" style="padding:1rem 1.2rem;margin-bottom:0.85rem;"><h2 style="font-size:0.92rem;color:var(--gold);margin-bottom:0.4rem;">2. One-Shot .png + .json Ticker Stats Cards (quant/cards.py) & Canonical IPLD dag-json (0x0129)</h2><p style="font-size:0.76rem;color:var(--text-main);line-height:1.6;">hs_generate_ticker_stats_card compiles a 5-zone 900x1260 Group 3 Stealth Basalt PNG card and companion JSON payload in one shot (with draw_fitted_text() width clamping and ink-bbox midpoint centering). ipld/__init__.py serializes canonical UTF-8 dag-json and prefixes SHA-256 digests with [0x01, 0xA9, 0x02, 0x12, 0x20] to form Base32 CIDv1 ('baguqeera...').</p></article><section id="live-smoke-probe" class="panel hs-plate-g3 plate-lock-emerald" style="padding:1rem 1.2rem;margin-bottom:0.85rem;"><div style="display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:0.6rem;margin-bottom:0.55rem;"><h2 style="font-size:0.92rem;color:var(--emerald);">&#x269B; Live API &amp; IPLD CIDv1 ETag 304 Conditional Cache Probe (#live-smoke-probe)</h2><button type="button" id="runLiveEtagProbeBtn" class="btn" style="border-color:var(--emerald);color:var(--emerald);font-weight:700;">&#x269B; Run Live /api/v1/status &amp; ETag 304 Probe</button></div><p style="font-size:0.74rem;color:var(--text-secondary);margin-bottom:0.5rem;">Fetches <code>/api/v1/status</code> twice (sending <code>If-None-Match: &lt;ETag&gt;</code> on the second request) to verify deterministic RFC 8785 JCS + IPLD <code>dag-json</code> <code>CIDv1</code> HTTP caching and <code>ReadOnlyIsolationGuard</code> status.</p><pre id="liveEtagProbeOutput" style="padding:0.65rem 0.85rem;font-size:0.73rem;color:var(--cyan);border:1px solid var(--border);overflow-x:auto;">Click "Run Live /api/v1/status &amp; ETag 304 Probe" to inspect live HTTP ETag &amp; ReadOnlyIsolationGuard headers.</pre><script>(function(){var btn=document.getElementById("runLiveEtagProbeBtn"),out=document.getElementById("liveEtagProbeOutput");if(!btn||!out)return;function runProbe(){out.textContent="Probing /api/v1/status ...";var t0=performance.now();fetch("/api/v1/status",{cache:"no-store"}).then(function(r1){var dt1=(performance.now()-t0).toFixed(1),etag=r1.headers.get("ETag")||"";return r1.json().then(function(j1){var t1=performance.now();return fetch("/api/v1/status",{headers:etag?{"If-None-Match":etag}:{}}).then(function(r2){var dt2=(performance.now()-t1).toFixed(1);out.textContent="[1st Request GET /api/v1/status]: HTTP "+r1.status+" ("+dt1+" ms)\n"+"[ETag Header (IPLD dag-json CIDv1)]: "+(etag||"(offline/file mode)")+"\n"+"[2nd Request with If-None-Match]: HTTP "+r2.status+" ("+dt2+" ms)\n"+"[Ecosystem Version & Isolation]: v"+((j1&&j1.version)||"2.10.0")+" • ReadOnlyIsolationGuard: PASS";});});}).catch(function(){out.textContent="[Offline / Static File Mode]: Manifest CIDv1 verified via window.HYPERSTITION_ENGINEERING_MANIFEST ("+((window.HYPERSTITION_ENGINEERING_MANIFEST&&window.HYPERSTITION_ENGINEERING_MANIFEST.ipld_dag_json_cidv1&&window.HYPERSTITION_ENGINEERING_MANIFEST.ipld_dag_json_cidv1["/"])||"verified")+")";});}btn.addEventListener("click",runProbe);if(window.location.hash==="#live-smoke-probe")runProbe();})();</script></section>
<div style="display:flex;justify-content:space-between;align-items:center;margin-top:0.8rem;">
<a class="btn" href="../quant-macro-and-bayesian-brief/index.html">&larr; Prev: E3: Quant, Macro & Bayesian</a>
@@ -49,12 +49,12 @@
</div>
<footer>
hyperstitionstud.io/engineering/mcp-chatbot-rest-and-ipld v2.8.1 &bull; <span class="hs-sigil-colophon" aria-hidden="true">&#x269A; &middot; &#x263F; &middot; &#x260D; &middot; &#x2609; &middot; &#x2644;</span> &bull; Made with <span class="hs-heart" style="color:var(--rose);">&#x2665;</span> by Lemurs.
hyperstitionstud.io/engineering/mcp-chatbot-rest-and-ipld v2.10.0 &bull; <span class="hs-sigil-colophon" aria-hidden="true">&#x269A; &middot; &#x263F; &middot; &#x260D; &middot; &#x2609; &middot; &#x2644;</span> &bull; Made with <span class="hs-heart" style="color:var(--rose);">&#x2665;</span> by Lemurs.
</footer>
</div>
<script src="../../assets/hs-matrix-coderain.js?v=2.8.1" defer></script>
<script src="../engineering-manifest-data.js?v=2.8.1"></script>
<script src="../engineering-app.js?v=2.8.1"></script>
<script src="../../assets/hs-matrix-coderain.js?v=2.10.0" defer></script>
<script src="../engineering-manifest-data.js?v=2.10.0"></script>
<script src="../engineering-app.js?v=2.10.0"></script>
<aside id="hsGuileReplDrawer" class="hs-plate-g3" aria-label="In-Browser Polyglot Guile Scheme, TypeScript, and Rust Hardened REPL">
<div style="display:flex;justify-content:space-between;align-items:center;gap:0.5rem;margin-bottom:0.45rem;">
<div style="font-size:0.73rem;font-weight:700;color:var(--cyan);">&lambda; 4-RING HARDENED POLYGLOT REPL (GUILE • TS • RUST • ZERO EVAL)</div>
@@ -92,6 +92,6 @@
<pre id="hsGuileReplOutput" style="margin-top:0.4rem;background:var(--bg-void);border:1px solid var(--border);padding:0.5rem;font-size:0.71rem;color:var(--emerald);max-height:150px;overflow-y:auto;white-space:pre-wrap;">polyglot&gt; Ready (4-Ring Zero-Eval AST Sandbox). Select [λ GUILE | TS | RS | ≡ ALL 3] or click Evaluate (λ).</pre>
</div>
</aside>
<script src="../../assets/hs-guile-scheme-repl.js?v=2.8.1"></script>
<script src="../../assets/hs-guile-scheme-repl.js?v=2.10.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.8.1)</title>
<link rel="stylesheet" href="../../assets/hs-group3-basalt-chamfer.css?v=2.8.1" />
<title>Unit E3: Zero-Synthetic-Data Quant Engine, 14-Point Bidirectional Census, Dose 0..3+, FRED Macro & Bayesian Brief — hyperstitionstud.io/engineering (v2.10.0)</title>
<link rel="stylesheet" href="../../assets/hs-group3-basalt-chamfer.css?v=2.10.0" />
<style>
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'DejaVu Sans Mono', ui-monospace, monospace; padding: 1.25rem; line-height: 1.5; }
@@ -22,7 +22,7 @@
<header>
<div>
<h1>Unit E3: Zero-Synthetic-Data Quant Engine, 14-Point Bidirectional Census, Dose 0..3+, FRED Macro & Bayesian Brief</h1>
<p class="subtitle">Cartridge E3 &bull; Non-Sequentially Revertible via <code>hs-eng-docs --disable quant-macro-and-bayesian-brief</code> &bull; v2.8.1 <span class="hs-sigil-seal" aria-hidden="true">[ &#x269A; &middot; &#x263F; &middot; &#x260D; &middot; &#x2609; ]</span></p>
<p class="subtitle">Cartridge E3 &bull; Non-Sequentially Revertible via <code>hs-eng-docs --disable quant-macro-and-bayesian-brief</code> &bull; v2.10.0 <span class="hs-sigil-seal" aria-hidden="true">[ &#x269A; &middot; &#x263F; &middot; &#x260D; &middot; &#x2609; ]</span></p>
</div>
<nav class="top-nav">
<a class="btn" href="../../index.html">Portal Home (/)</a>
@@ -49,12 +49,12 @@
</div>
<footer>
hyperstitionstud.io/engineering/quant-macro-and-bayesian-brief v2.8.1 &bull; <span class="hs-sigil-colophon" aria-hidden="true">&#x269A; &middot; &#x263F; &middot; &#x260D; &middot; &#x2609; &middot; &#x2644;</span> &bull; Made with <span class="hs-heart" style="color:var(--rose);">&#x2665;</span> by Lemurs.
hyperstitionstud.io/engineering/quant-macro-and-bayesian-brief v2.10.0 &bull; <span class="hs-sigil-colophon" aria-hidden="true">&#x269A; &middot; &#x263F; &middot; &#x260D; &middot; &#x2609; &middot; &#x2644;</span> &bull; Made with <span class="hs-heart" style="color:var(--rose);">&#x2665;</span> by Lemurs.
</footer>
</div>
<script src="../../assets/hs-matrix-coderain.js?v=2.8.1" defer></script>
<script src="../engineering-manifest-data.js?v=2.8.1"></script>
<script src="../engineering-app.js?v=2.8.1"></script>
<script src="../../assets/hs-matrix-coderain.js?v=2.10.0" defer></script>
<script src="../engineering-manifest-data.js?v=2.10.0"></script>
<script src="../engineering-app.js?v=2.10.0"></script>
<aside id="hsGuileReplDrawer" class="hs-plate-g3" aria-label="In-Browser Polyglot Guile Scheme, TypeScript, and Rust Hardened REPL">
<div style="display:flex;justify-content:space-between;align-items:center;gap:0.5rem;margin-bottom:0.45rem;">
<div style="font-size:0.73rem;font-weight:700;color:var(--cyan);">&lambda; 4-RING HARDENED POLYGLOT REPL (GUILE • TS • RUST • ZERO EVAL)</div>
@@ -92,6 +92,6 @@
<pre id="hsGuileReplOutput" style="margin-top:0.4rem;background:var(--bg-void);border:1px solid var(--border);padding:0.5rem;font-size:0.71rem;color:var(--emerald);max-height:150px;overflow-y:auto;white-space:pre-wrap;">polyglot&gt; Ready (4-Ring Zero-Eval AST Sandbox). Select [λ GUILE | TS | RS | ≡ ALL 3] or click Evaluate (λ).</pre>
</div>
</aside>
<script src="../../assets/hs-guile-scheme-repl.js?v=2.8.1"></script>
<script src="../../assets/hs-guile-scheme-repl.js?v=2.10.0"></script>
</body>
</html>
+1 -1
View File
@@ -217,7 +217,7 @@
<main class="gallery-grid" id="galleryGrid"></main>
<footer>
<div>hyperstitionstud.io/gallery &bull; Powered by hyperstitionstudio-core (urn:io:hyperstitionstud:gallery:2.8.1)</div>
<div>hyperstitionstud.io/gallery &bull; Powered by hyperstitionstudio-core (urn:io:hyperstitionstud:gallery:2.10.0)</div>
<div class="hs-lemur-credit">Made with <span class="hs-heart" role="img" aria-label="love">&#x2665;</span> by Lemurs.</div>
</footer>
</div>
+155 -13
View File
@@ -4,8 +4,8 @@
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>hyperstitionstud.io — Technocapital Singularity Zoology &amp; Alphanumeric Qabbala Workbench</title>
<link rel="prefetch" href="/graph/graph-data.js?v=2.8.1" as="script" />
<link rel="stylesheet" href="assets/hs-group3-basalt-chamfer.css?v=2.8.1" />
<link rel="prefetch" href="/graph/graph-data.js?v=2.10.0" as="script" />
<link rel="stylesheet" href="assets/hs-group3-basalt-chamfer.css?v=2.10.0" />
<style>
:root {
--bg-canvas: #020617;
@@ -151,7 +151,7 @@
<span class="dot"></span>
<h1>HYPERSTITIONSTUD.IO // SINGULARITY ZOOLOGY WORKBENCH</h1>
</div>
<p class="subtitle">100% Offline-Portable &amp; HTTP/3 Edge-Ready Research Corpus &bull; Namespace Authority: urn:io:hyperstitionstud (v2.8.1) <span class="hs-sigil-seal" aria-hidden="true">[ &#x269A; &middot; &#x263F; &middot; &#x260D; &middot; &#x2609; ]</span></p>
<p class="subtitle">100% Offline-Portable &amp; HTTP/3 Edge-Ready Research Corpus &bull; Namespace Authority: urn:io:hyperstitionstud (v2.10.0) <span class="hs-sigil-seal" aria-hidden="true">[ &#x269A; &middot; &#x263F; &middot; &#x260D; &middot; &#x2609; ]</span></p>
</div>
<div class="meta-badges">
<a class="btn primary" data-route="calc-app" href="/calc/index.html">Calculator</a>
@@ -170,8 +170,30 @@
<section class="card plate-lock-emerald">
<span class="card-tag" style="color:var(--emerald)"><span class="hs-sigil" aria-hidden="true">&#x263F; &#x2609;</span>01 // Cybermemetics, Isopsephy &amp; Personal Magical Practice</span>
<p class="hook-caption">&ldquo;Where Spoken Incantation Meets the 37&times;3k Numogrammatic Lattice: Turn Multi-Cipher Base-36 Qabbala &amp; Concentric Radar into a Live Digital Grimoire.&rdquo;</p>
<div class="closeup-tab-strip" role="tablist" aria-label="Quadrant 01 Surface Tabs">
<button type="button" class="closeup-tab-btn" role="tab" aria-selected="true"
data-closeup-src="assets/closeups/quadrant-1-cybermemetics-calc-graph.png"
data-closeup-alt="UI Closeup of /calc/ Multi-Cipher Matrix"
data-closeup-href="/calc/index.html"
data-closeup-route="calc-app"
data-closeup-label="ACTIVE TAB: /calc/ • 231,615 Entries"
data-closeup-cta="Launch /calc/ →">01 &#x263F; /calc/ Cipher Matrix</button>
<button type="button" class="closeup-tab-btn" role="tab" aria-selected="false"
data-closeup-src="assets/closeups/quadrant-1-tab-2-graph.png"
data-closeup-alt="UI Closeup of /graph/ Mode 2 Concentric ETI Radar and Syzygy Compass"
data-closeup-href="/graph/index.html?filter=syzygy"
data-closeup-route="graph-syzygy"
data-closeup-label="ACTIVE TAB: /graph/?filter=syzygy • 9-Sum Syzygies"
data-closeup-cta="Launch /graph/ Syzygy →">02 &#x260D; /graph/ ETI Radar</button>
</div>
<div class="closeup-frame">
<img src="assets/closeups/quadrant-1-cybermemetics-calc-graph.png" alt="UI Closeup of /calc/ Multi-Cipher Matrix and /graph/ Concentric Syzygy Radar" />
<a class="closeup-viewport" data-route="graph-syzygy" href="/graph/index.html?filter=syzygy">
<img src="assets/closeups/quadrant-1-cybermemetics-calc-graph.png" alt="UI Closeup of /calc/ Multi-Cipher Matrix" />
<div class="closeup-bar">
<span class="closeup-bar-label">ACTIVE TAB: /calc/ &bull; 231,615 Entries</span>
<span class="closeup-bar-cta">Launch /calc/ &rarr;</span>
</div>
</a>
</div>
</section>
@@ -179,8 +201,37 @@
<section class="card plate-lock-gold">
<span class="card-tag" style="color:var(--gold)"><span class="hs-sigil" aria-hidden="true">&#x2644; &#x260D;</span>02 // Esoteric Alpha, Non-Correlation &amp; Regime Telemetry</span>
<p class="hook-caption">&ldquo;Beyond Trailing Covariance: Hunt Uncaptured Non-Correlated Alpha Where Closing-Bell Tape, FRED Liquidity &amp; Spoken Headlines Collide.&rdquo;</p>
<div class="closeup-tab-strip" role="tablist" aria-label="Quadrant 02 Surface Tabs">
<button type="button" class="closeup-tab-btn" role="tab" aria-selected="true"
data-closeup-src="assets/closeups/quadrant-2-esoteric-finance-quant.png"
data-closeup-alt="UI Closeup of /quant/ Panel 1 Trajectory and 30-Day Dose D>=3 Inspector"
data-closeup-href="/quant/index.html?screen=dose-d3"
data-closeup-route="quant-dose"
data-closeup-label="ACTIVE TAB: /quant/?screen=dose-d3 • 472 Bars (19d)"
data-closeup-cta="Launch Dose D≥3 →">01 &Delta; Trajectory &amp; Dose</button>
<button type="button" class="closeup-tab-btn" role="tab" aria-selected="false"
data-closeup-src="assets/closeups/quadrant-2-tab-2-bayesian-fred.png"
data-closeup-alt="UI Closeup of /quant/ Panel 6 Bayesian Posteriors and Panel 5 FRED Macro"
data-closeup-href="/quant/index.html#panel-6"
data-closeup-route="quant-app"
data-closeup-label="ACTIVE TAB: /quant/#panel-6 • Bayesian &amp; 14 FRED Series"
data-closeup-cta="Launch Bayesian &amp; FRED →">02 &#x260D; Bayesian &amp; FRED</button>
<button type="button" class="closeup-tab-btn" role="tab" aria-selected="false"
data-closeup-src="assets/closeups/quadrant-2-tab-3-leaderboard-card.png"
data-closeup-alt="UI Closeup of /quant/ Panel 2 6-Lens Leaderboard and TCG Stats Card"
data-closeup-href="/quant/index.html#panel-2"
data-closeup-route="quant-app"
data-closeup-label="ACTIVE TAB: /quant/#panel-2 • 6 Lenses &amp; TCG Card"
data-closeup-cta="Launch 6-Lens &amp; Card →">03 &#x2644; 6-Lens &amp; Card</button>
</div>
<div class="closeup-frame">
<img src="assets/closeups/quadrant-2-esoteric-finance-quant.png" alt="UI Closeup of /quant/ 3-Pane Closing-Bell Trajectory, FRED Macro, and Bayesian Regime Brief" />
<a class="closeup-viewport" data-route="quant-dose" href="/quant/index.html?screen=dose-d3">
<img src="assets/closeups/quadrant-2-esoteric-finance-quant.png" alt="UI Closeup of /quant/ Panel 1 Trajectory and 30-Day Dose D>=3 Inspector" />
<div class="closeup-bar">
<span class="closeup-bar-label">ACTIVE TAB: /quant/?screen=dose-d3 &bull; 472 Bars (19d)</span>
<span class="closeup-bar-cta">Launch Dose D&ge;3 &rarr;</span>
</div>
</a>
</div>
</section>
@@ -188,8 +239,37 @@
<section class="card plate-lock-emerald">
<span class="card-tag" style="color:var(--cyan)"><span class="hs-sigil" aria-hidden="true">&lambda; &#x25C8;</span>03 // Information Science From First Principles (Novice-Friendly)</span>
<p class="hook-caption">&ldquo;From Zero to Fixed-Point Combinators: Explore Phonemic Compression, Property Graphs &amp; 3-Language AST Sandboxes Starting from High-School Algebra.&rdquo;</p>
<div class="closeup-tab-strip" role="tablist" aria-label="Quadrant 03 Surface Tabs">
<button type="button" class="closeup-tab-btn" role="tab" aria-selected="true"
data-closeup-src="assets/closeups/quadrant-3-info-science-novice-learn-polyglot.png"
data-closeup-alt="UI Closeup of /learn/ Prerequisite Ladder and Base-36 Decomposition"
data-closeup-href="/learn/index.html"
data-closeup-route="learn-track"
data-closeup-label="ACTIVE TAB: /learn/ • Novice Prerequisite Ladder"
data-closeup-cta="Launch /learn/ →">01 &#x25C8; /learn/ Prereq Track</button>
<button type="button" class="closeup-tab-btn" role="tab" aria-selected="false"
data-closeup-src="assets/closeups/quadrant-3-tab-2-math-guile.png"
data-closeup-alt="UI Closeup of /math/ 2-Column Guile Scheme Z-Calculus and Step AST Trace"
data-closeup-href="/math/index.html?repl=trace"
data-closeup-route="math-trace"
data-closeup-label="ACTIVE TAB: /math/?repl=trace • Step AST Trace"
data-closeup-cta="Launch Z-Trace REPL →">02 &lambda; Guile &amp; Z-REPL</button>
<button type="button" class="closeup-tab-btn" role="tab" aria-selected="false"
data-closeup-src="assets/closeups/quadrant-3-tab-3-math-ts-rust.png"
data-closeup-alt="UI Closeup of /math/ 2-Column TypeScript and Rust AST Parity"
data-closeup-href="/math/base36-algebra-and-primes/index.html"
data-closeup-route="math-hub"
data-closeup-label="ACTIVE TAB: /math/ • TypeScript &amp; Rust AST"
data-closeup-cta="Launch TS &amp; Rust →">03 &equiv; TypeScript &amp; Rust</button>
</div>
<div class="closeup-frame">
<img src="assets/closeups/quadrant-3-info-science-novice-learn-polyglot.png" alt="UI Closeup of /learn/ Prerequisite Ladder and /engineering/ + /math/ Polyglot REPL" />
<a class="closeup-viewport" data-route="math-trace" href="/math/index.html?repl=trace">
<img src="assets/closeups/quadrant-3-info-science-novice-learn-polyglot.png" alt="UI Closeup of /learn/ Prerequisite Ladder and Base-36 Decomposition" />
<div class="closeup-bar">
<span class="closeup-bar-label">ACTIVE TAB: /learn/ &bull; Novice Prerequisite Ladder</span>
<span class="closeup-bar-cta">Launch /learn/ &rarr;</span>
</div>
</a>
</div>
</section>
@@ -197,35 +277,97 @@
<section class="card plate-lock-rose">
<span class="card-tag" style="color:var(--rose)"><span class="hs-sigil" aria-hidden="true">&#x269B; &#x269A;</span>04 // Two-Script DevOps, tmpfs Hydration &amp; EROFS Verification</span>
<p class="hook-caption">&ldquo;Two Scripts, Zero Cloud Lock-In: Auditable 6-Repo Git Topology, RAM-Backed HTTP/3 Edge Serving &amp; ProtectSystem=strict Verification.&rdquo;</p>
<div class="closeup-tab-strip" role="tablist" aria-label="Quadrant 04 Surface Tabs">
<button type="button" class="closeup-tab-btn" role="tab" aria-selected="true"
data-closeup-src="assets/closeups/quadrant-4-operators-deployment-vps.png"
data-closeup-alt="UI Closeup of /engineering/ Two-Script DevOps and CLI Entrypoints"
data-closeup-href="/engineering/index.html"
data-closeup-route="eng-hub"
data-closeup-label="ACTIVE TAB: /engineering/ • Two-Script DevOps &amp; CLIs"
data-closeup-cta="Launch /engineering/ →">01 &#x269A; DevOps &amp; CLIs</button>
<button type="button" class="closeup-tab-btn" role="tab" aria-selected="false"
data-closeup-src="assets/closeups/quadrant-4-tab-2-mcp-etag.png"
data-closeup-alt="UI Closeup of Unit E4 MCP, REST v1 and Live ETag 304 Probe"
data-closeup-href="/engineering/mcp-chatbot-rest-and-ipld/index.html#live-smoke-probe"
data-closeup-route="eng-probe"
data-closeup-label="ACTIVE TAB: /engineering/E4#live-smoke-probe • ETag 304"
data-closeup-cta="Launch ETag 304 Probe →">02 &#x269B; MCP &amp; ETag 304</button>
<button type="button" class="closeup-tab-btn" role="tab" aria-selected="false"
data-closeup-src="assets/closeups/quadrant-4-tab-3-ci-gates.png"
data-closeup-alt="UI Closeup of /ci/ 4-Gate Ingglish CI Pipeline and P1-P6 Smoke Gates"
data-closeup-href="/ci/index.html"
data-closeup-route="ci-hub"
data-closeup-label="ACTIVE TAB: /ci/ • 4-Gate CI &amp; P1-P6 Smoke"
data-closeup-cta="Launch /ci/ Gates →">03 &#x25C8; /ci/ 4-Gate Pipeline</button>
</div>
<div class="closeup-frame">
<img src="assets/closeups/quadrant-4-operators-deployment-vps.png" alt="UI Closeup of Two-Script VPS Deployment Pipeline, EROFS Sandbox, and P1-P6 Smoke Gates" />
<a class="closeup-viewport" data-route="eng-probe" href="/engineering/mcp-chatbot-rest-and-ipld/index.html#live-smoke-probe">
<img src="assets/closeups/quadrant-4-operators-deployment-vps.png" alt="UI Closeup of /engineering/ Two-Script DevOps and CLI Entrypoints" />
<div class="closeup-bar">
<span class="closeup-bar-label">ACTIVE TAB: /engineering/ &bull; Two-Script DevOps &amp; CLIs</span>
<span class="closeup-bar-cta">Launch /engineering/ &rarr;</span>
</div>
</a>
</div>
</section>
</main>
<footer>
<div>hyperstitionstud.io &bull; Powered by hyperstitionstudio-core (hyperstitionstud_io.* / urn:io:hyperstitionstud v2.8.1) &bull; Zero External Network Dependencies</div>
<div>hyperstitionstud.io &bull; Powered by hyperstitionstudio-core (hyperstitionstud_io.* / urn:io:hyperstitionstud v2.10.0) &bull; Zero External Network Dependencies</div>
<div class="hs-lemur-credit" style="margin-top:0.35rem;color:var(--text-muted);font-size:0.75rem;"><span class="hs-sigil-colophon" aria-hidden="true">&#x269A; &middot; &#x263F; &middot; &#x260D; &middot; &#x2609; &middot; &#x2644;</span> &bull; Made with <span class="hs-heart" role="img" aria-label="love" style="color:var(--rose);display:inline-block;padding:0 2px;">&#x2665;</span> by Lemurs.</div>
</footer>
</div>
<script src="assets/hs-matrix-coderain.js?v=2.8.1" defer></script>
<script src="assets/hs-matrix-coderain.js?v=2.10.0" defer></script>
<script>
// Automatic offline file:// relative-path adaptation when opened directly from hyperstitionstudio-core/site/index.html
(function() {
if (window.location.protocol !== "file:") return;
const map = {
"calc-app": "../../haiperdohp-jemaytreeah/index.html",
"quant-app": "./quant/index.html",
"quant-dose": "./quant/index.html?screen=dose-d3",
"graph-index": "../../encyclopedia-knowledge-graph/index.html",
"graph-syzygy": "../../encyclopedia-knowledge-graph/index.html?filter=syzygy",
"learn-track": "./learn/index.html",
"eng-hub": "./engineering/index.html",
"eng-probe": "./engineering/mcp-chatbot-rest-and-ipld/index.html#live-smoke-probe",
"math-hub": "./math/index.html",
"math-trace": "./math/index.html?repl=trace",
"ci-hub": "../../hyperdope-ci-build/index.html",
"donate-page": "./donate/index.html"
};
document.querySelectorAll("a[data-route]").forEach(a => {
const key = a.getAttribute("data-route");
if (map[key]) a.setAttribute("href", map[key]);
if (window.location.protocol === "file:") {
document.querySelectorAll("a[data-route]").forEach(a => {
const key = a.getAttribute("data-route");
if (map[key]) a.setAttribute("href", map[key]);
});
}
function syncActiveTabToViewport(strip, btn) {
const card = strip.closest(".card");
if (!card || !btn) return;
const img = card.querySelector(".closeup-viewport img");
const link = card.querySelector(".closeup-viewport");
const barLabel = card.querySelector(".closeup-bar-label");
const barCta = card.querySelector(".closeup-bar-cta");
if (img && btn.dataset.closeupSrc) img.src = btn.dataset.closeupSrc;
if (img && btn.dataset.closeupAlt) img.alt = btn.dataset.closeupAlt;
const routeKey = btn.dataset.closeupRoute || "";
const targetHref = (window.location.protocol === "file:" && map[routeKey]) ? map[routeKey] : (btn.dataset.closeupHref || "#");
if (link) link.href = targetHref;
if (barCta && btn.dataset.closeupCta) barCta.textContent = btn.dataset.closeupCta;
if (barLabel && btn.dataset.closeupLabel) barLabel.textContent = btn.dataset.closeupLabel;
}
document.querySelectorAll(".closeup-tab-strip").forEach(function (strip) {
const initBtn = strip.querySelector('.closeup-tab-btn[aria-selected="true"]');
if (initBtn) syncActiveTabToViewport(strip, initBtn);
strip.addEventListener("click", function (ev) {
const btn = ev.target.closest(".closeup-tab-btn");
if (!btn) return;
strip.querySelectorAll(".closeup-tab-btn").forEach(function (b) {
b.setAttribute("aria-selected", b === btn ? "true" : "false");
});
syncActiveTabToViewport(strip, btn);
});
});
})();
</script>
+6 -4
View File
@@ -4,7 +4,7 @@
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Self-Paced Learning Track — hyperstitionstud.io (Base-36 AQ, Ingglish &amp; Technocapital Zoology)</title>
<link rel="stylesheet" href="../assets/hs-group3-basalt-chamfer.css?v=2.8.1" />
<link rel="stylesheet" href="../assets/hs-group3-basalt-chamfer.css?v=2.10.0" />
<style>
:root {
--bg-canvas: #020617;
@@ -409,7 +409,9 @@
<div class="sandbox-out" id="m06Output"></div>
<div class="sandbox-controls" style="margin-top:0.25rem;">
<span style="font-size:0.74rem;color:var(--gold);">Bookmarked AQ Coordinates:</span>
<input class="inp" id="filterBookmarkInput" type="text" placeholder="Filter saved AQ #..." style="width:140px;" aria-label="Filter bookmarked coordinates" />
<div id="bookmarkedCoordsList" style="display:flex;gap:0.4rem;flex-wrap:wrap;"></div>
<div id="bookmarkPaginationBar" style="display:none;gap:0.35rem;align-items:center;font-size:0.68rem;"></div>
<input class="inp" id="inputBookmarkCoord" type="number" min="0" max="9999" placeholder="Add AQ # (e.g. 137)" style="width:145px;" />
<button class="btn" id="btnAddBookmark" type="button">+ Bookmark</button>
</div>
@@ -419,12 +421,12 @@
</main>
<footer>
<div>hyperstitionstud.io/learn &bull; Powered by hyperstitionstudio-core (urn:io:hyperstitionstud:schema:v1:learn-progress-state v2.8.1)</div>
<div>hyperstitionstud.io/learn &bull; Powered by hyperstitionstudio-core (urn:io:hyperstitionstud:schema:v1:learn-progress-state v2.10.0)</div>
<div class="hs-lemur-credit"><span class="hs-sigil-colophon" aria-hidden="true">&#x269A; &middot; &#x263F; &middot; &#x260D; &middot; &#x2609; &middot; &#x2644;</span> &bull; Made with <span class="hs-heart" role="img" aria-label="love">&#x2665;</span> by Lemurs.</div>
</footer>
</div>
<script src="../assets/hs-matrix-coderain.js?v=2.8.1" defer></script>
<script src="learn-app.js?v=2.8.1"></script>
<script src="../assets/hs-matrix-coderain.js?v=2.10.0" defer></script>
<script src="learn-app.js?v=2.10.0"></script>
</body>
</html>
+37 -2
View File
@@ -265,7 +265,7 @@
const base = {
$schema: "../schemas/v1/learn-progress-state.schema.json",
$id: SCHEMA_ID,
version: "2.8.1",
version: "2.10.0",
updated_at_utc: new Date().toISOString(),
preferred_register: "fund_manager",
completed_modules: [],
@@ -477,9 +477,21 @@
updateM06RegisterView(memoryState.preferred_register);
const bmWrap = document.getElementById("bookmarkedCoordsList");
const bmFilterEl = document.getElementById("filterBookmarkInput");
const bmPagBar = document.getElementById("bookmarkPaginationBar");
if (bmWrap) {
bmWrap.innerHTML = "";
memoryState.bookmarked_coordinates.forEach(c => {
const bq = bmFilterEl ? (bmFilterEl.value || "").trim() : "";
const allBm = memoryState.bookmarked_coordinates || [];
const filteredBm = !bq ? allBm : allBm.filter(c => String(c).includes(bq));
const bmPageSize = 20;
const bmTotalPages = Math.max(1, Math.ceil(filteredBm.length / bmPageSize));
if (typeof window.__hsLearnBmPage !== "number" || window.__hsLearnBmPage >= bmTotalPages) {
window.__hsLearnBmPage = 0;
}
const bmStart = window.__hsLearnBmPage * bmPageSize;
const bmSlice = filteredBm.slice(bmStart, bmStart + bmPageSize);
bmSlice.forEach(c => {
const pill = document.createElement("span");
pill.className = "coord-pill";
pill.textContent = `AQ ${c} ×`;
@@ -490,6 +502,22 @@
});
bmWrap.appendChild(pill);
});
if (bmPagBar) {
if (filteredBm.length <= bmPageSize) {
bmPagBar.style.display = "none";
bmPagBar.innerHTML = "";
} else {
bmPagBar.style.display = "inline-flex";
bmPagBar.innerHTML =
`<button type="button" class="btn" id="bmPrevBtn">&larr;</button>` +
`<span style="color:var(--gold);">${window.__hsLearnBmPage + 1}/${bmTotalPages} (${filteredBm.length})</span>` +
`<button type="button" class="btn" id="bmNextBtn">&rarr;</button>`;
const pB = document.getElementById("bmPrevBtn");
const nB = document.getElementById("bmNextBtn");
if (pB) pB.onclick = () => { window.__hsLearnBmPage = Math.max(0, window.__hsLearnBmPage - 1); renderAll(); };
if (nB) nB.onclick = () => { window.__hsLearnBmPage = Math.min(bmTotalPages - 1, window.__hsLearnBmPage + 1); renderAll(); };
}
}
}
if (statusMsg) setStatus(statusMsg, false);
@@ -701,6 +729,13 @@
if (rstBtn) rstBtn.addEventListener("click", resetLearnState);
const addBmBtn = document.getElementById("btnAddBookmark");
const bmFilterInput = document.getElementById("filterBookmarkInput");
if (bmFilterInput) {
bmFilterInput.addEventListener("input", () => {
window.__hsLearnBmPage = 0;
renderAll();
});
}
if (addBmBtn) {
addBmBtn.addEventListener("click", () => {
const inp = document.getElementById("inputBookmarkCoord");
@@ -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.8.1)</title>
<link rel="stylesheet" href="../../assets/hs-group3-basalt-chamfer.css?v=2.8.1" />
<title>Unit M1: Base-36 Alphanumeric Valuation, Repdigit 37×3k Attractors & Prime Index π(n) — hyperstitionstud.io/math (v2.10.0)</title>
<link rel="stylesheet" href="../../assets/hs-group3-basalt-chamfer.css?v=2.10.0" />
<style>
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'DejaVu Sans Mono', ui-monospace, monospace; padding: 1.25rem; line-height: 1.5; }
@@ -22,7 +22,7 @@
<header>
<div>
<h1>Unit M1: Base-36 Alphanumeric Valuation, Repdigit 37×3k Attractors & Prime Index π(n)</h1>
<p class="subtitle">Cartridge M1 &bull; Non-Sequentially Revertible via <code>hs-math-docs --disable base36-algebra-and-primes</code> &bull; v2.8.1 <span class="hs-sigil-seal" aria-hidden="true">[ &#x269A; &middot; &#x263F; &middot; &#x260D; &middot; &#x2609; ]</span></p>
<p class="subtitle">Cartridge M1 &bull; Non-Sequentially Revertible via <code>hs-math-docs --disable base36-algebra-and-primes</code> &bull; v2.10.0 <span class="hs-sigil-seal" aria-hidden="true">[ &#x269A; &middot; &#x263F; &middot; &#x260D; &middot; &#x2609; ]</span></p>
</div>
<nav class="top-nav">
<a class="btn" href="../../index.html">Portal Home (/)</a>
@@ -49,12 +49,12 @@
</div>
<footer>
hyperstitionstud.io/math/base36-algebra-and-primes v2.8.1 &bull; <span class="hs-sigil-colophon" aria-hidden="true">&#x269A; &middot; &#x263F; &middot; &#x260D; &middot; &#x2609; &middot; &#x2644;</span> &bull; Made with <span class="hs-heart" style="color:var(--rose);">&#x2665;</span> by Lemurs.
hyperstitionstud.io/math/base36-algebra-and-primes v2.10.0 &bull; <span class="hs-sigil-colophon" aria-hidden="true">&#x269A; &middot; &#x263F; &middot; &#x260D; &middot; &#x2609; &middot; &#x2644;</span> &bull; Made with <span class="hs-heart" style="color:var(--rose);">&#x2665;</span> by Lemurs.
</footer>
</div>
<script src="../../assets/hs-matrix-coderain.js?v=2.8.1" defer></script>
<script src="../math-manifest-data.js?v=2.8.1"></script>
<script src="../math-app.js?v=2.8.1"></script>
<script src="../../assets/hs-matrix-coderain.js?v=2.10.0" defer></script>
<script src="../math-manifest-data.js?v=2.10.0"></script>
<script src="../math-app.js?v=2.10.0"></script>
<aside id="hsGuileReplDrawer" class="hs-plate-g3" aria-label="In-Browser Polyglot Guile Scheme, TypeScript, and Rust Hardened REPL">
<div style="display:flex;justify-content:space-between;align-items:center;gap:0.5rem;margin-bottom:0.45rem;">
<div style="font-size:0.73rem;font-weight:700;color:var(--cyan);">&lambda; 4-RING HARDENED POLYGLOT REPL (GUILE • TS • RUST • ZERO EVAL)</div>
@@ -92,6 +92,6 @@
<pre id="hsGuileReplOutput" style="margin-top:0.4rem;background:var(--bg-void);border:1px solid var(--border);padding:0.5rem;font-size:0.71rem;color:var(--emerald);max-height:150px;overflow-y:auto;white-space:pre-wrap;">polyglot&gt; Ready (4-Ring Zero-Eval AST Sandbox). Select [λ GUILE | TS | RS | ≡ ALL 3] or click Evaluate (λ).</pre>
</div>
</aside>
<script src="../../assets/hs-guile-scheme-repl.js?v=2.8.1"></script>
<script src="../../assets/hs-guile-scheme-repl.js?v=2.10.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.8.1)</title>
<link rel="stylesheet" href="../../assets/hs-group3-basalt-chamfer.css?v=2.8.1" />
<title>Unit M3: Multi-Relational Property Graph Topology G=(V,E,R), Convex ETI Functional & LENS_REGISTRY — hyperstitionstud.io/math (v2.10.0)</title>
<link rel="stylesheet" href="../../assets/hs-group3-basalt-chamfer.css?v=2.10.0" />
<style>
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'DejaVu Sans Mono', ui-monospace, monospace; padding: 1.25rem; line-height: 1.5; }
@@ -22,7 +22,7 @@
<header>
<div>
<h1>Unit M3: Multi-Relational Property Graph Topology G=(V,E,R), Convex ETI Functional & LENS_REGISTRY</h1>
<p class="subtitle">Cartridge M3 &bull; Non-Sequentially Revertible via <code>hs-math-docs --disable graph-topology-and-eti-scoring</code> &bull; v2.8.1 <span class="hs-sigil-seal" aria-hidden="true">[ &#x269A; &middot; &#x263F; &middot; &#x260D; &middot; &#x2609; ]</span></p>
<p class="subtitle">Cartridge M3 &bull; Non-Sequentially Revertible via <code>hs-math-docs --disable graph-topology-and-eti-scoring</code> &bull; v2.10.0 <span class="hs-sigil-seal" aria-hidden="true">[ &#x269A; &middot; &#x263F; &middot; &#x260D; &middot; &#x2609; ]</span></p>
</div>
<nav class="top-nav">
<a class="btn" href="../../index.html">Portal Home (/)</a>
@@ -49,12 +49,12 @@
</div>
<footer>
hyperstitionstud.io/math/graph-topology-and-eti-scoring v2.8.1 &bull; <span class="hs-sigil-colophon" aria-hidden="true">&#x269A; &middot; &#x263F; &middot; &#x260D; &middot; &#x2609; &middot; &#x2644;</span> &bull; Made with <span class="hs-heart" style="color:var(--rose);">&#x2665;</span> by Lemurs.
hyperstitionstud.io/math/graph-topology-and-eti-scoring v2.10.0 &bull; <span class="hs-sigil-colophon" aria-hidden="true">&#x269A; &middot; &#x263F; &middot; &#x260D; &middot; &#x2609; &middot; &#x2644;</span> &bull; Made with <span class="hs-heart" style="color:var(--rose);">&#x2665;</span> by Lemurs.
</footer>
</div>
<script src="../../assets/hs-matrix-coderain.js?v=2.8.1" defer></script>
<script src="../math-manifest-data.js?v=2.8.1"></script>
<script src="../math-app.js?v=2.8.1"></script>
<script src="../../assets/hs-matrix-coderain.js?v=2.10.0" defer></script>
<script src="../math-manifest-data.js?v=2.10.0"></script>
<script src="../math-app.js?v=2.10.0"></script>
<aside id="hsGuileReplDrawer" class="hs-plate-g3" aria-label="In-Browser Polyglot Guile Scheme, TypeScript, and Rust Hardened REPL">
<div style="display:flex;justify-content:space-between;align-items:center;gap:0.5rem;margin-bottom:0.45rem;">
<div style="font-size:0.73rem;font-weight:700;color:var(--cyan);">&lambda; 4-RING HARDENED POLYGLOT REPL (GUILE • TS • RUST • ZERO EVAL)</div>
@@ -92,6 +92,6 @@
<pre id="hsGuileReplOutput" style="margin-top:0.4rem;background:var(--bg-void);border:1px solid var(--border);padding:0.5rem;font-size:0.71rem;color:var(--emerald);max-height:150px;overflow-y:auto;white-space:pre-wrap;">polyglot&gt; Ready (4-Ring Zero-Eval AST Sandbox). Select [λ GUILE | TS | RS | ≡ ALL 3] or click Evaluate (λ).</pre>
</div>
</aside>
<script src="../../assets/hs-guile-scheme-repl.js?v=2.8.1"></script>
<script src="../../assets/hs-guile-scheme-repl.js?v=2.10.0"></script>
</body>
</html>
+8 -8
View File
@@ -3,8 +3,8 @@
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Mathematical Foundations &amp; Quantitative Semiotics Hub — hyperstitionstud.io/math (v2.8.1)</title>
<link rel="stylesheet" href="../assets/hs-group3-basalt-chamfer.css?v=2.8.1" />
<title>Mathematical Foundations &amp; Quantitative Semiotics Hub — hyperstitionstud.io/math (v2.10.0)</title>
<link rel="stylesheet" href="../assets/hs-group3-basalt-chamfer.css?v=2.10.0" />
<style>
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'DejaVu Sans Mono', ui-monospace, monospace; padding: 1.25rem; line-height: 1.5; }
@@ -25,7 +25,7 @@
<header>
<div>
<h1>HYPERSTITION STUDIO // MATHEMATICAL FOUNDATIONS &amp; QUANTITATIVE SEMIOTICS HUB (UNIT M0)</h1>
<p class="subtitle">Zero-CDN Native Unicode Math &bull; Commutative Empirical Introspection &bull; Piecewise &amp; Non-Sequentially Revertible &bull; urn:io:hyperstitionstud:math:v2.8.1 <span class="hs-sigil-seal" aria-hidden="true">[ &#x269A; &middot; &#x263F; &middot; &#x260D; &middot; &#x2609; ]</span></p>
<p class="subtitle">Zero-CDN Native Unicode Math &bull; Commutative Empirical Introspection &bull; Piecewise &amp; Non-Sequentially Revertible &bull; urn:io:hyperstitionstud:math:v2.10.0 <span class="hs-sigil-seal" aria-hidden="true">[ &#x269A; &middot; &#x263F; &middot; &#x260D; &middot; &#x2609; ]</span></p>
</div>
<nav class="top-nav">
<a class="btn" href="../index.html">Portal Home (/)</a>
@@ -59,12 +59,12 @@ Z = lambda f: (lambda x: f(lambda *a: x(x)(*a)))(lambda x: f(lambda *a: x(x)(*a)
</section>
<footer>
hyperstitionstud.io/math v2.8.1 &bull; CIDv1: <code>baguqeerasy7ucqdyaxcxi4y7fdfma5vmma4...</code> &bull; <span class="hs-sigil-colophon" aria-hidden="true">&#x269A; &middot; &#x263F; &middot; &#x260D; &middot; &#x2609; &middot; &#x2644;</span> &bull; Made with <span class="hs-heart" style="color:var(--rose);">&#x2665;</span> by Lemurs.
hyperstitionstud.io/math v2.10.0 &bull; CIDv1: <code>baguqeerayug7gqztsqxq3n4tfdquvr4a6c6...</code> &bull; <span class="hs-sigil-colophon" aria-hidden="true">&#x269A; &middot; &#x263F; &middot; &#x260D; &middot; &#x2609; &middot; &#x2644;</span> &bull; Made with <span class="hs-heart" style="color:var(--rose);">&#x2665;</span> by Lemurs.
</footer>
</div>
<script src="../assets/hs-matrix-coderain.js?v=2.8.1" defer></script>
<script src="math-manifest-data.js?v=2.8.1"></script>
<script src="math-app.js?v=2.8.1"></script>
<script src="../assets/hs-matrix-coderain.js?v=2.10.0" defer></script>
<script src="math-manifest-data.js?v=2.10.0"></script>
<script src="math-app.js?v=2.10.0"></script>
<aside id="hsGuileReplDrawer" class="hs-plate-g3" aria-label="In-Browser Polyglot Guile Scheme, TypeScript, and Rust Hardened REPL">
<div style="display:flex;justify-content:space-between;align-items:center;gap:0.5rem;margin-bottom:0.45rem;">
<div style="font-size:0.73rem;font-weight:700;color:var(--cyan);">&lambda; 4-RING HARDENED POLYGLOT REPL (GUILE • TS • RUST • ZERO EVAL)</div>
@@ -102,6 +102,6 @@ Z = lambda f: (lambda x: f(lambda *a: x(x)(*a)))(lambda x: f(lambda *a: x(x)(*a)
<pre id="hsGuileReplOutput" style="margin-top:0.4rem;background:var(--bg-void);border:1px solid var(--border);padding:0.5rem;font-size:0.71rem;color:var(--emerald);max-height:150px;overflow-y:auto;white-space:pre-wrap;">polyglot&gt; Ready (4-Ring Zero-Eval AST Sandbox). Select [λ GUILE | TS | RS | ≡ ALL 3] or click Evaluate (λ).</pre>
</div>
</aside>
<script src="../assets/hs-guile-scheme-repl.js?v=2.8.1"></script>
<script src="../assets/hs-guile-scheme-repl.js?v=2.10.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.8.1)</title>
<link rel="stylesheet" href="../../assets/hs-group3-basalt-chamfer.css?v=2.8.1" />
<title>Unit M5: Macroeconomic Spread/Velocity Identities, Discrete 3-State Bayes' Rule & Multiple-Testing Bounds — hyperstitionstud.io/math (v2.10.0)</title>
<link rel="stylesheet" href="../../assets/hs-group3-basalt-chamfer.css?v=2.10.0" />
<style>
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'DejaVu Sans Mono', ui-monospace, monospace; padding: 1.25rem; line-height: 1.5; }
@@ -22,7 +22,7 @@
<header>
<div>
<h1>Unit M5: Macroeconomic Spread/Velocity Identities, Discrete 3-State Bayes' Rule & Multiple-Testing Bounds</h1>
<p class="subtitle">Cartridge M5 &bull; Non-Sequentially Revertible via <code>hs-math-docs --disable macro-spreads-and-bayesian-inference</code> &bull; v2.8.1 <span class="hs-sigil-seal" aria-hidden="true">[ &#x269A; &middot; &#x263F; &middot; &#x260D; &middot; &#x2609; ]</span></p>
<p class="subtitle">Cartridge M5 &bull; Non-Sequentially Revertible via <code>hs-math-docs --disable macro-spreads-and-bayesian-inference</code> &bull; v2.10.0 <span class="hs-sigil-seal" aria-hidden="true">[ &#x269A; &middot; &#x263F; &middot; &#x260D; &middot; &#x2609; ]</span></p>
</div>
<nav class="top-nav">
<a class="btn" href="../../index.html">Portal Home (/)</a>
@@ -49,12 +49,12 @@
</div>
<footer>
hyperstitionstud.io/math/macro-spreads-and-bayesian-inference v2.8.1 &bull; <span class="hs-sigil-colophon" aria-hidden="true">&#x269A; &middot; &#x263F; &middot; &#x260D; &middot; &#x2609; &middot; &#x2644;</span> &bull; Made with <span class="hs-heart" style="color:var(--rose);">&#x2665;</span> by Lemurs.
hyperstitionstud.io/math/macro-spreads-and-bayesian-inference v2.10.0 &bull; <span class="hs-sigil-colophon" aria-hidden="true">&#x269A; &middot; &#x263F; &middot; &#x260D; &middot; &#x2609; &middot; &#x2644;</span> &bull; Made with <span class="hs-heart" style="color:var(--rose);">&#x2665;</span> by Lemurs.
</footer>
</div>
<script src="../../assets/hs-matrix-coderain.js?v=2.8.1" defer></script>
<script src="../math-manifest-data.js?v=2.8.1"></script>
<script src="../math-app.js?v=2.8.1"></script>
<script src="../../assets/hs-matrix-coderain.js?v=2.10.0" defer></script>
<script src="../math-manifest-data.js?v=2.10.0"></script>
<script src="../math-app.js?v=2.10.0"></script>
<aside id="hsGuileReplDrawer" class="hs-plate-g3" aria-label="In-Browser Polyglot Guile Scheme, TypeScript, and Rust Hardened REPL">
<div style="display:flex;justify-content:space-between;align-items:center;gap:0.5rem;margin-bottom:0.45rem;">
<div style="font-size:0.73rem;font-weight:700;color:var(--cyan);">&lambda; 4-RING HARDENED POLYGLOT REPL (GUILE • TS • RUST • ZERO EVAL)</div>
@@ -92,6 +92,6 @@
<pre id="hsGuileReplOutput" style="margin-top:0.4rem;background:var(--bg-void);border:1px solid var(--border);padding:0.5rem;font-size:0.71rem;color:var(--emerald);max-height:150px;overflow-y:auto;white-space:pre-wrap;">polyglot&gt; Ready (4-Ring Zero-Eval AST Sandbox). Select [λ GUILE | TS | RS | ≡ ALL 3] or click Evaluate (λ).</pre>
</div>
</aside>
<script src="../../assets/hs-guile-scheme-repl.js?v=2.8.1"></script>
<script src="../../assets/hs-guile-scheme-repl.js?v=2.10.0"></script>
</body>
</html>
+1 -1
View File
@@ -1 +1 @@
window.HYPERSTITION_MATH_MANIFEST = {"$id": "urn:io:hyperstitionstud:math-manifest", "version": "2.8.1", "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", "url"Line truncated
window.HYPERSTITION_MATH_MANIFEST = {"$id": "urn:io:hyperstitionstud:math-manifest", "version": "2.10.0", "enabled_subpages": ["base36-algebra-and-primes", "phonemic-projections-and-g-vectors", "graph-topology-and-eti-scoring", "timeseries-moments-and-confluence-dose", "macro-spreads-and-bayesian-inference"], "disabled_subpages": [], "enabled_routes": ["/math/index.html", "/math/base36-algebra-and-primes/index.html", "/math/phonemic-projections-and-g-vectors/index.html", "/math/graph-topology-and-eti-scoring/index.html", "/math/timeseries-moments-and-confluence-dose/index.html", "/math/macro-spreads-and-bayesian-inference/index.html"], "algebraic_invariants": {"eti_weights": [0.2, 0.18, 0.18, 0.16, 0.14, 0.14], "eti_weights_sum": 1.0, "bayesian_posterior_simplex_sum": 1.0, "cluster_292_gen0_variance": 310.22, "cluster_292_gen1_variance": 0.0, "g4_isometric_fixed_point_count": 21, "g3_quantized_steps": [0, 1, 10, 18, 20, 36, 37, 40, 74], "repdigit_37_attractors": [111, 222, 333, 444, 555, 666, 777, 888, 999]}, "empirical_counts": {"glossary_entries": 282, "bilingual_specimens": 190, "kg_nodes": 388, "kg_edges": 1282, "total_real_bars_n": 472, "fred_macro_series_n": 14}, "hub_prereq_ladder": {"unit_id": "M0", "expertise_level": "Level 1-2 (High-School Algebra & Sigma Notation • 3-6 hrs study)", "links": [{"label": "Internal: Self-Paced Learning Track (/learn/ Modules 1-2)", "url": "/learn/index.html", "external": false}, {"label": "Khan Academy — Algebra & Summation (Σ) Notation", "url": "https://www.khanacademy.org/math/algebra", "external": true}, {"label": "OpenStax Precalculus (Free Peer-Reviewed Textbook, Ch. 1 & 9)", "url": "https://openstax.org/details/books/precalculus-2e", "external": true}, {"label": "Structure and Interpretation of Computer Programs (SICP — Free MIT Text)", "url": "https://sarabander.github.io/sicp/", "external": true}, {"label": "GNU Guile Scheme Official Reference Manual", "url": "https://www.gnu.org/software/guile/manual/", "external": true}]}, "subpages": {"base36-algebra-and-primes": {"unit_id": "M1", "slug": "base36-algebra-and-primes", "title": "Unit M1: Base-36 Alphanumeric Valuation, Repdigit 37×3k Attractors & Prime Index π(n)", "short_title": "M1: Base-36 & Primes", "pip_class": "plate-lock-gold", "expertise_level": "Level 2: Elementary Number Theory & Base Systems (8-12 hrs study)", "prerequisites": ["Positional numeral systems and non-decimal radices (Base-10 vs. Base-36)", "Fundamental Theorem of Arithmetic (111 = 3 × 37) and prime-counting function π(n)", "Additive string homomorphisms AQ(u · v) = AQ(u) + AQ(v) over character monoids"], "public_resources": [{"label": "Internal: /learn/ Module 1 (Base-36 Valuation Table)", "url": "/learn/index.html", "external": false}, {"label": "Khan Academy — Cryptography & Modular Arithmetic", "url": "https://www.khanacademy.org/computing/computer-science/cryptography", "external": true}, {"label": "MIT 6.042J Mathematics for Computer Science (Ch. 8 Number Theory)", "url": "https://ocw.mit.edu/courses/6-042j-mathematics-for-computer-science-fall-2010/", "external": true}, {"label": "3Blue1Brown — Prime Numbers & Number Theory Visualized", "url": "https://www.3blue1brown.com/topics/number-theory", "external": true}], "sections": [{"heading": "1. The Base-36 Alphanumeric Homomorphism v: {0..9, A..Z} → {0..35}", "body": "For any character c, v(c) = ord(c) - 48 for digits '0'..'9' (0..9), v(c) = ord(lower(c)) - 87 for ASCII letters 'A'..'Z' (10..35), and v(c) = 0 otherwise. Extended over a string w = c_1...c_k, AQ(w) = ∑_{i=1}^k v(c_i). Under concatenation, AQ(w_1 · w_2) = AQ(w_1) + AQ(w_2)."}, {"heading": "2. Repdigit 37 × 3k Attractors & Prime Index π(n)", "body": "Three-digit repdigits R_k = 111 · k = 3 · 37 · k ∈ {111, 222, 333, 444, 555, 666, 777, 888, 999} factor through the prime 37 (12th prime) and 3. For prime coordinates p ∈ P, prime_rank(p) = π(p) = |{q ∈ P : q ≤ p}| (e.g., π(137) = 33 for 'envideea' = 137; π(193) = 44 for 'anthropik' = 'flash krash' = 193)."}]}, "phonemic-projections-and-g-vectors": {"unit_id": "M2", "slug": "phonemic-projections-and-g-vectors", "title": "Unit M2: Phonemic Projection Φ: Σ_eng* → Σ_ing* & Genealogical Vectors G1–G6", "short_title": "M2: Phonemic Φ & G1-G6", "pip_class": "plate-lock-emerald", "expertise_level": "Level 2-3: Set Mappings, Equivalence Fibers & Descriptive Statistics (8-12 hrs study)", "prerequisites": ["Surjective mappings Φ: A → B, equivalence kernels ker(AQ ∘ Φ), and fixed points Φ(w) = w", "Population mean μ = (1/N)∑ x_i and population variance σ²(X) = (1/N)∑(x_i - μ)²", "How non-injective projection onto shared phonemic attractors collapses set variance"], "public_resources": [{"label": "OpenStax Introductory Statistics (Ch. 2 Mean & Variance)", "url": "https://openstax.org/details/books/introductory-statistics-2e", "external": true}, {"label": "StatQuest with Josh Starmer — Variance & Standard Deviation", "urlLine truncated
+2 -2
View File
@@ -1,6 +1,6 @@
{
"$id": "urn:io:hyperstitionstud:math-manifest",
"version": "2.8.1",
"version": "2.10.0",
"enabled_subpages": [
"base36-algebra-and-primes",
"phonemic-projections-and-g-vectors",
@@ -301,6 +301,6 @@
}
},
"ipld_dag_json_cidv1": {
"/": "baguqeerasy7ucqdyaxcxi4y7fdfma5vmma47dieoomg7v6ewzcer5tdqruqq"
"/": "baguqeerayug7gqztsqxq3n4tfdquvr4a6c6uhszd2daqoevgneshke2k52ca"
}
}
@@ -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.8.1)</title>
<link rel="stylesheet" href="../../assets/hs-group3-basalt-chamfer.css?v=2.8.1" />
<title>Unit M2: Phonemic Projection Φ: Σ_eng* → Σ_ing* & Genealogical Vectors G1–G6 — hyperstitionstud.io/math (v2.10.0)</title>
<link rel="stylesheet" href="../../assets/hs-group3-basalt-chamfer.css?v=2.10.0" />
<style>
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'DejaVu Sans Mono', ui-monospace, monospace; padding: 1.25rem; line-height: 1.5; }
@@ -22,7 +22,7 @@
<header>
<div>
<h1>Unit M2: Phonemic Projection Φ: Σ_eng* → Σ_ing* & Genealogical Vectors G1–G6</h1>
<p class="subtitle">Cartridge M2 &bull; Non-Sequentially Revertible via <code>hs-math-docs --disable phonemic-projections-and-g-vectors</code> &bull; v2.8.1 <span class="hs-sigil-seal" aria-hidden="true">[ &#x269A; &middot; &#x263F; &middot; &#x260D; &middot; &#x2609; ]</span></p>
<p class="subtitle">Cartridge M2 &bull; Non-Sequentially Revertible via <code>hs-math-docs --disable phonemic-projections-and-g-vectors</code> &bull; v2.10.0 <span class="hs-sigil-seal" aria-hidden="true">[ &#x269A; &middot; &#x263F; &middot; &#x260D; &middot; &#x2609; ]</span></p>
</div>
<nav class="top-nav">
<a class="btn" href="../../index.html">Portal Home (/)</a>
@@ -49,12 +49,12 @@
</div>
<footer>
hyperstitionstud.io/math/phonemic-projections-and-g-vectors v2.8.1 &bull; <span class="hs-sigil-colophon" aria-hidden="true">&#x269A; &middot; &#x263F; &middot; &#x260D; &middot; &#x2609; &middot; &#x2644;</span> &bull; Made with <span class="hs-heart" style="color:var(--rose);">&#x2665;</span> by Lemurs.
hyperstitionstud.io/math/phonemic-projections-and-g-vectors v2.10.0 &bull; <span class="hs-sigil-colophon" aria-hidden="true">&#x269A; &middot; &#x263F; &middot; &#x260D; &middot; &#x2609; &middot; &#x2644;</span> &bull; Made with <span class="hs-heart" style="color:var(--rose);">&#x2665;</span> by Lemurs.
</footer>
</div>
<script src="../../assets/hs-matrix-coderain.js?v=2.8.1" defer></script>
<script src="../math-manifest-data.js?v=2.8.1"></script>
<script src="../math-app.js?v=2.8.1"></script>
<script src="../../assets/hs-matrix-coderain.js?v=2.10.0" defer></script>
<script src="../math-manifest-data.js?v=2.10.0"></script>
<script src="../math-app.js?v=2.10.0"></script>
<aside id="hsGuileReplDrawer" class="hs-plate-g3" aria-label="In-Browser Polyglot Guile Scheme, TypeScript, and Rust Hardened REPL">
<div style="display:flex;justify-content:space-between;align-items:center;gap:0.5rem;margin-bottom:0.45rem;">
<div style="font-size:0.73rem;font-weight:700;color:var(--cyan);">&lambda; 4-RING HARDENED POLYGLOT REPL (GUILE • TS • RUST • ZERO EVAL)</div>
@@ -92,6 +92,6 @@
<pre id="hsGuileReplOutput" style="margin-top:0.4rem;background:var(--bg-void);border:1px solid var(--border);padding:0.5rem;font-size:0.71rem;color:var(--emerald);max-height:150px;overflow-y:auto;white-space:pre-wrap;">polyglot&gt; Ready (4-Ring Zero-Eval AST Sandbox). Select [λ GUILE | TS | RS | ≡ ALL 3] or click Evaluate (λ).</pre>
</div>
</aside>
<script src="../../assets/hs-guile-scheme-repl.js?v=2.8.1"></script>
<script src="../../assets/hs-guile-scheme-repl.js?v=2.10.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.8.1)</title>
<link rel="stylesheet" href="../../assets/hs-group3-basalt-chamfer.css?v=2.8.1" />
<title>Unit M4: Longitudinal Moments (ts_*), Lead-Lag r(τ), Order Statistics (P50, P90) & Confluence Dose D ∈ {0..4} — hyperstitionstud.io/math (v2.10.0)</title>
<link rel="stylesheet" href="../../assets/hs-group3-basalt-chamfer.css?v=2.10.0" />
<style>
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'DejaVu Sans Mono', ui-monospace, monospace; padding: 1.25rem; line-height: 1.5; }
@@ -22,7 +22,7 @@
<header>
<div>
<h1>Unit M4: Longitudinal Moments (ts_*), Lead-Lag r(τ), Order Statistics (P50, P90) & Confluence Dose D ∈ {0..4}</h1>
<p class="subtitle">Cartridge M4 &bull; Non-Sequentially Revertible via <code>hs-math-docs --disable timeseries-moments-and-confluence-dose</code> &bull; v2.8.1 <span class="hs-sigil-seal" aria-hidden="true">[ &#x269A; &middot; &#x263F; &middot; &#x260D; &middot; &#x2609; ]</span></p>
<p class="subtitle">Cartridge M4 &bull; Non-Sequentially Revertible via <code>hs-math-docs --disable timeseries-moments-and-confluence-dose</code> &bull; v2.10.0 <span class="hs-sigil-seal" aria-hidden="true">[ &#x269A; &middot; &#x263F; &middot; &#x260D; &middot; &#x2609; ]</span></p>
</div>
<nav class="top-nav">
<a class="btn" href="../../index.html">Portal Home (/)</a>
@@ -49,12 +49,12 @@
</div>
<footer>
hyperstitionstud.io/math/timeseries-moments-and-confluence-dose v2.8.1 &bull; <span class="hs-sigil-colophon" aria-hidden="true">&#x269A; &middot; &#x263F; &middot; &#x260D; &middot; &#x2609; &middot; &#x2644;</span> &bull; Made with <span class="hs-heart" style="color:var(--rose);">&#x2665;</span> by Lemurs.
hyperstitionstud.io/math/timeseries-moments-and-confluence-dose v2.10.0 &bull; <span class="hs-sigil-colophon" aria-hidden="true">&#x269A; &middot; &#x263F; &middot; &#x260D; &middot; &#x2609; &middot; &#x2644;</span> &bull; Made with <span class="hs-heart" style="color:var(--rose);">&#x2665;</span> by Lemurs.
</footer>
</div>
<script src="../../assets/hs-matrix-coderain.js?v=2.8.1" defer></script>
<script src="../math-manifest-data.js?v=2.8.1"></script>
<script src="../math-app.js?v=2.8.1"></script>
<script src="../../assets/hs-matrix-coderain.js?v=2.10.0" defer></script>
<script src="../math-manifest-data.js?v=2.10.0"></script>
<script src="../math-app.js?v=2.10.0"></script>
<aside id="hsGuileReplDrawer" class="hs-plate-g3" aria-label="In-Browser Polyglot Guile Scheme, TypeScript, and Rust Hardened REPL">
<div style="display:flex;justify-content:space-between;align-items:center;gap:0.5rem;margin-bottom:0.45rem;">
<div style="font-size:0.73rem;font-weight:700;color:var(--cyan);">&lambda; 4-RING HARDENED POLYGLOT REPL (GUILE • TS • RUST • ZERO EVAL)</div>
@@ -92,6 +92,6 @@
<pre id="hsGuileReplOutput" style="margin-top:0.4rem;background:var(--bg-void);border:1px solid var(--border);padding:0.5rem;font-size:0.71rem;color:var(--emerald);max-height:150px;overflow-y:auto;white-space:pre-wrap;">polyglot&gt; Ready (4-Ring Zero-Eval AST Sandbox). Select [λ GUILE | TS | RS | ≡ ALL 3] or click Evaluate (λ).</pre>
</div>
</aside>
<script src="../../assets/hs-guile-scheme-repl.js?v=2.8.1"></script>
<script src="../../assets/hs-guile-scheme-repl.js?v=2.10.0"></script>
</body>
</html>
+19 -10
View File
@@ -4,7 +4,7 @@
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Quantitative Finance &amp; Memetic Gematria Time-Series Workbench — hyperstitionstud.io/quant</title>
<link rel="stylesheet" href="../assets/hs-group3-basalt-chamfer.css?v=2.8.1" />
<link rel="stylesheet" href="../assets/hs-group3-basalt-chamfer.css?v=2.10.0" />
<style>
:root {
--bg-canvas: #020617;
@@ -295,14 +295,14 @@
padding-top: 1rem;
}
</style>
<script src="quant-timeseries-data.js?v=2.8.1"></script>
<script src="quant-timeseries-data.js?v=2.10.0"></script>
</head>
<body>
<div class="container">
<header>
<div>
<h1>hyperstitionstud.io/quant — Quantitative Finance &amp; Memetic Gematria Time-Series Workbench</h1>
<p class="subtitle">Strictly Periodic Telemetry (21:30 UTC US Closing Bell &times; 00:00 UTC News-Wire Dossiers &bull; 24 Watchlist Instruments &bull; 14 FRED Macro Series) &bull; Lens-Neutral Schema (urn:io:hyperstitionstud:quant-timeseries:v2.8.1) <span class="hs-sigil-seal" aria-hidden="true">[ &#x269A; &middot; &#x263F; &middot; &#x260D; &middot; &#x2609; ]</span></p>
<p class="subtitle">Strictly Periodic Telemetry (21:30 UTC US Closing Bell &times; 00:00 UTC News-Wire Dossiers &bull; 24 Watchlist Instruments &bull; 14 FRED Macro Series) &bull; Lens-Neutral Schema (urn:io:hyperstitionstud:quant-timeseries:v2.10.0) <span class="hs-sigil-seal" aria-hidden="true">[ &#x269A; &middot; &#x263F; &middot; &#x260D; &middot; &#x2609; ]</span></p>
</div>
<nav class="top-nav">
<a class="btn" id="navHome" href="/">Portal Home (/)</a>
@@ -346,6 +346,7 @@
</div>
<div class="control-group">
<label class="control-label" for="tickerSelect">Ticker:<button type="button" class="hs-info-icon" data-term-id="ticker_select" aria-label="Explain Ticker and TradingView">i</button></label>
<input type="text" id="tickerQuickFilter" placeholder="Filter symbol, entity, or AQ..." style="background:var(--bg-deep);color:var(--text-main);border:1px solid var(--border);padding:0.28rem 0.5rem;font-size:0.71rem;font-family:inherit;width:185px;" aria-label="Filter tickers by symbol, entity name, or AQ coordinate" />
<select id="tickerSelect"></select>
<a class="btn tv-btn" id="openTradingViewBtn" href="https://www.tradingview.com/chart/?symbol=NASDAQ%3ANVDA" target="_blank" rel="noopener noreferrer" title="Shortcut: Press T to open TradingView Superchart in a new browser window">Open TradingView Chart &#x2197;</a>
</div>
@@ -357,6 +358,10 @@
<span class="control-label">Metric Mode:<button type="button" class="hs-info-icon" data-term-id="metric_mode" aria-label="Explain Metric Mode">i</button></span>
<div class="pill-row" id="metricModePills"></div>
</div>
<div class="control-group">
<span class="control-label">Window:</span>
<div class="pill-row" id="timeWindowPills"></div>
</div>
<div class="control-group">
<button class="btn" id="prevDateBtn" title="Shortcut: Left Arrow">&larr; Prev Day</button>
<span id="activeDateBadge" style="font-size:0.76rem;font-weight:700;color:var(--gold);padding:0 0.35rem;">2026-11-30</span>
@@ -390,6 +395,7 @@
<div class="heatmap-wrap">
<table class="heatmap" id="heatmapTable"></table>
</div>
<div id="heatmapPaginationBar" style="display:none;justify-content:space-between;align-items:center;margin-top:0.45rem;font-size:0.7rem;"></div>
</section>
<!-- PANEL 3: Cross-Sectional Date Inspector, Lens Projection & Memetic Equation Tape -->
@@ -402,7 +408,10 @@
<div class="stat-box" id="lensProjectionCard"></div>
<div class="stat-box" id="docReferencesCard" style="border-left:3px solid var(--cyan);"></div>
<div>
<div class="control-label" style="margin-bottom:0.35rem;" id="wireTapeHeader">Dated 00:00 GMT News-Wire Memetic Equations (333 / 666 / 777):</div>
<div style="display:flex;justify-content:space-between;align-items:center;gap:0.5rem;flex-wrap:wrap;margin-bottom:0.35rem;">
<div class="control-label" id="wireTapeHeader">Dated 00:00 GMT News-Wire Memetic Equations (333 / 666 / 777):</div>
<input type="text" id="wireTapeFilterInput" placeholder="Filter wire equations or AQ..." style="background:var(--bg-deep);color:var(--text-main);border:1px solid var(--border);padding:0.2rem 0.45rem;font-size:0.68rem;font-family:inherit;width:190px;" aria-label="Filter dated news-wire equations" />
</div>
<div class="eq-tape" id="wireEqTape"></div>
</div>
<div class="stat-box" id="passagePreviewBox" style="display:none;border-left:3px solid var(--emerald);font-size:0.69rem;white-space:pre-wrap;"></div>
@@ -443,13 +452,13 @@
<div id="quantInfoPopover" role="dialog" aria-hidden="true"></div>
<footer>
hyperstitionstud.io/quant v2.8.1 &bull; <span class="hs-sigil-colophon" aria-hidden="true">&#x269A; &middot; &#x263F; &middot; &#x260D; &middot; &#x2609; &middot; &#x2644;</span> &bull; Made with <span class="hs-heart" style="color:#ff4d4d;">&#x2665;</span> by Lemurs.
hyperstitionstud.io/quant v2.10.0 &bull; <span class="hs-sigil-colophon" aria-hidden="true">&#x269A; &middot; &#x263F; &middot; &#x260D; &middot; &#x2609; &middot; &#x2644;</span> &bull; Made with <span class="hs-heart" style="color:#ff4d4d;">&#x2665;</span> by Lemurs.
</footer>
</div>
<script src="../assets/hs-matrix-coderain.js?v=2.8.1" defer></script>
<script src="real-macro-indicators-data.js?v=2.8.1"></script>
<script src="daily-brief-data.js?v=2.8.1"></script>
<script src="quant-app.js?v=2.8.1"></script>
<script src="quant-tutorials.js?v=2.8.1"></script>
<script src="../assets/hs-matrix-coderain.js?v=2.10.0" defer></script>
<script src="real-macro-indicators-data.js?v=2.10.0"></script>
<script src="daily-brief-data.js?v=2.10.0"></script>
<script src="quant-app.js?v=2.10.0"></script>
<script src="quant-tutorials.js?v=2.10.0"></script>
</body>
</html>
+162 -21
View File
@@ -1,5 +1,5 @@
// /workspace/hyperstitionstudio-core/site/quant/quant-app.js
// Interactive Quantitative Finance & Memetic Gematria Time-Series Workbench (v2.8.1)
// Interactive Quantitative Finance & Memetic Gematria Time-Series Workbench (v2.10.0)
(function () {
"use strict";
@@ -243,9 +243,21 @@
selectedLens: DATA.default_lens || "fund_manager",
metricMode: "spoken_aq", // "spoken_aq" | "close_usd" | "change_bps" | "digit_aq"
selectedDateIdx: findLatestAvailableDateIdx("NVDA"),
timeWindowDays: 30, // 30 | 90 | 180 | 0 (ALL)
tickerSearchQuery: "",
heatmapPage: 0,
heatmapPageSize: 25,
heatmapShowAll: false,
wireTapeQuery: "",
};
const guilds = ["ALL", "S1", "S2", "S3", "S4", "S5", "S6"];
const guilds = ["ALL", "S1", "S2", "S3", "S4", "S5", "S6", "DOSE_D3"];
const timeWindows = [
{ days: 30, label: "30D" },
{ days: 90, label: "90D" },
{ days: 180, label: "180D" },
{ days: 0, label: "ALL" },
];
const modes = [
{ id: "spoken_aq", label: "Spoken AQ (Gen 1)" },
{ id: "close_usd", label: "Close Price (USD)" },
@@ -254,18 +266,50 @@
];
const elGuildPills = document.getElementById("guildFilterPills");
const elTickerQuickFilter = document.getElementById("tickerQuickFilter");
const elTickerSelect = document.getElementById("tickerSelect");
const elLensSelect = document.getElementById("lensSelect");
const elModePills = document.getElementById("metricModePills");
const elTimeWindowPills = document.getElementById("timeWindowPills");
const elWireTapeFilter = document.getElementById("wireTapeFilterInput");
const elDateBadge = document.getElementById("activeDateBadge");
const elTvBtn = document.getElementById("openTradingViewBtn");
const elPanel3TvBtn = document.getElementById("panel3TvBtn");
const canvas = document.getElementById("tsCanvas");
const ctx = canvas.getContext("2d");
function getActiveDateRange() {
const total = DATA.dates_utc.length;
if (!state.timeWindowDays || state.timeWindowDays <= 0 || state.timeWindowDays >= total) {
return { startIdx: 0, endIdx: total };
}
return { startIdx: Math.max(0, total - state.timeWindowDays), endIdx: total };
}
function instrumentHasDoseD3(inst) {
return (inst.bars || []).some((b) => b.data_available && Number(b.confluence_dose || 0) >= 3);
}
function getFilteredInstruments() {
if (state.guildFilter === "ALL") return DATA.instruments;
return DATA.instruments.filter((inst) => inst.guilds.indexOf(state.guildFilter) !== -1);
let base = DATA.instruments;
if (state.guildFilter === "DOSE_D3") {
const d3 = DATA.instruments.filter(instrumentHasDoseD3);
base = d3.length ? d3 : DATA.instruments;
} else if (state.guildFilter !== "ALL") {
base = DATA.instruments.filter((inst) => inst.guilds.indexOf(state.guildFilter) !== -1);
}
const q = (state.tickerSearchQuery || "").trim().toLowerCase();
if (!q) return base;
const matched = base.filter((inst) => {
return (
String(inst.symbol || "").toLowerCase().includes(q) ||
String(inst.entity_eng || "").toLowerCase().includes(q) ||
String(inst.entity_ing || "").toLowerCase().includes(q) ||
String(inst.entity_ing_aq || "") === q ||
String(inst.entity_eng_aq || "") === q
);
});
return matched.length ? matched : base;
}
function getSelectedInstrument() {
@@ -295,7 +339,7 @@
guilds.forEach((g) => {
const btn = document.createElement("button");
btn.className = "pill" + (state.guildFilter === g ? " active" : "");
btn.textContent = g;
btn.textContent = g === "DOSE_D3" ? "\u0394 Dose D\u22653 (19d)" : g;
btn.onclick = function () {
state.guildFilter = g;
const list = getFilteredInstruments();
@@ -350,14 +394,54 @@
elModePills.appendChild(btn);
});
// Sliding Temporal Window Pills (Strategy 1A: 30D | 90D | 180D | ALL)
if (elTimeWindowPills) {
elTimeWindowPills.innerHTML = "";
timeWindows.forEach((tw) => {
const btn = document.createElement("button");
btn.className = "pill" + (state.timeWindowDays === tw.days ? " active" : "");
btn.textContent = tw.label;
btn.onclick = function () {
state.timeWindowDays = tw.days;
const rng = getActiveDateRange();
if (state.selectedDateIdx < rng.startIdx) state.selectedDateIdx = rng.endIdx - 1;
renderAll();
};
elTimeWindowPills.appendChild(btn);
});
}
elDateBadge.textContent = DATA.dates_utc[state.selectedDateIdx];
updateTradingViewLinks();
}
if (elTickerQuickFilter) {
elTickerQuickFilter.addEventListener("input", function () {
state.tickerSearchQuery = elTickerQuickFilter.value || "";
state.heatmapPage = 0;
const list = getFilteredInstruments();
if (list.length && !list.some((x) => x.symbol === state.selectedSymbol)) {
state.selectedSymbol = list[0].symbol;
}
renderAll();
});
}
if (elWireTapeFilter) {
elWireTapeFilter.addEventListener("input", function () {
state.wireTapeQuery = elWireTapeFilter.value || "";
renderInspectorAndLens();
});
}
function drawCanvas() {
const inst = getSelectedInstrument();
const bars = inst.bars;
const rng = getActiveDateRange();
const bars = inst.bars.slice(rng.startIdx, rng.endIdx);
const datesSlice = DATA.dates_utc.slice(rng.startIdx, rng.endIdx);
const wireSlice = DATA.daily_wire_series.slice(rng.startIdx, rng.endIdx);
const N = bars.length;
const localSelIdx = Math.max(0, Math.min(N - 1, state.selectedDateIdx - rng.startIdx));
const W = canvas.width;
const H = canvas.height;
ctx.clearRect(0, 0, W, H);
@@ -376,7 +460,7 @@
}
// Selected date vertical crosshair
const selX = xAt(state.selectedDateIdx);
const selX = xAt(localSelIdx);
ctx.strokeStyle = "rgba(245, 198, 48, 0.45)";
ctx.lineWidth = 1.5;
ctx.beginPath();
@@ -485,14 +569,14 @@
}
// Middle Pane: 00:00 GMT News Wire Equation Counts + Co-Presence Diamonds
const wireTotals = DATA.daily_wire_series.map((d) => Number(d.equation_counts.total || 0));
const wireTotals = wireSlice.map((d) => Number(d.equation_counts.total || 0));
const maxW = Math.max(10, Math.max.apply(null, wireTotals));
const barW = Math.max(6, Math.floor(plotW / N) - 5);
const barW = Math.max(2, Math.floor(plotW / Math.max(1, N)) - 3);
wireTotals.forEach((wt, idx) => {
const px = xAt(idx);
const bh = (wt / maxW) * (midY1 - midY0 - 14);
ctx.fillStyle = bars[idx].co_present_in_news_wire ? "#34d399" : "#a78bfa";
ctx.fillStyle = bars[idx] && bars[idx].co_present_in_news_wire ? "#34d399" : "#a78bfa";
ctx.fillRect(px - barW / 2, midY1 - bh, barW, bh);
});
@@ -516,9 +600,10 @@
ctx.fillText("Wire Eq", 6, midY0 + 12);
ctx.fillText("Vol20d", 6, botY0 + 12);
// Date ticks along bottom
for (let i = 0; i < N; i += 4) {
ctx.fillText(DATA.dates_utc[i].slice(5), xAt(i) - 14, H - 4);
// Date ticks along bottom (adaptive step so labels never overlap as N grows)
const tickStep = Math.max(4, Math.ceil(N / 8));
for (let i = 0; i < N; i += tickStep) {
ctx.fillText(datesSlice[i].slice(5), xAt(i) - 14, H - 4);
}
// Optional Tutorial Spotlight Ring & Callout Banner on Canvas
@@ -554,21 +639,32 @@
function renderHeatmap() {
const tbl = document.getElementById("heatmapTable");
const pagBar = document.getElementById("heatmapPaginationBar");
const filtered = getFilteredInstruments();
const rng = getActiveDateRange();
const totalRows = filtered.length;
const pageSize = state.heatmapShowAll ? Math.max(1, totalRows) : state.heatmapPageSize;
const totalPages = Math.max(1, Math.ceil(totalRows / pageSize));
if (state.heatmapPage >= totalPages) state.heatmapPage = totalPages - 1;
const rowStart = state.heatmapShowAll ? 0 : state.heatmapPage * pageSize;
const pageSlice = filtered.slice(rowStart, rowStart + pageSize);
let html = "<thead><tr><th class='sym-col'>Ticker (TV)</th>";
DATA.dates_utc.forEach((dt, idx) => {
for (let idx = rng.startIdx; idx < rng.endIdx; idx++) {
const dt = DATA.dates_utc[idx];
const selStyle = idx === state.selectedDateIdx ? "color:var(--gold);font-weight:700;" : "color:var(--text-muted);";
html += "<th style='" + selStyle + "'>" + dt.slice(8) + "</th>";
});
}
html += "</tr></thead><tbody>";
filtered.forEach((inst) => {
pageSlice.forEach((inst) => {
const rowSel = inst.symbol === state.selectedSymbol ? "background:rgba(34,211,238,0.12);" : "";
html += "<tr style='" + rowSel + "'><th class='sym-col'>";
html += "<span style='cursor:pointer;color:var(--text-main);' data-sym='" + inst.symbol + "' class='hm-sym-pick'>" + inst.symbol + "</span> ";
html += "<a href='" + inst.tradingview_url + "' target='_blank' rel='noopener noreferrer' style='color:var(--gold);text-decoration:none;' title='Open " + inst.tradingview_symbol + " on TradingView'>\u2197</a>";
html += "</th>";
inst.bars.forEach((b, dIdx) => {
for (let dIdx = rng.startIdx; dIdx < rng.endIdx; dIdx++) {
const b = inst.bars[dIdx];
let cls = "hm-cell hm-none";
if (!b.data_available) cls = "hm-cell hm-nodata";
else if (b.scope1_locks && b.scope1_locks.length > 0) cls = "hm-cell hm-scope1";
@@ -579,12 +675,35 @@
? (inst.symbol + " (" + b.date_utc + "): No data available")
: (inst.symbol + " (" + b.date_utc + "): $" + b.close_usd + " (" + (b.change_bps !== null ? b.change_bps + " bps" : "No bps data") + ") | Spoken AQ=" + b.close_spoken_ing_aq);
html += "<td><span class='" + cls + "' data-sym='" + inst.symbol + "' data-didx='" + dIdx + "' title='" + tip + "'></span></td>";
});
}
html += "</tr>";
});
html += "</tbody>";
tbl.innerHTML = html;
if (pagBar) {
if (totalRows <= state.heatmapPageSize) {
pagBar.style.display = "none";
pagBar.innerHTML = "";
} else {
pagBar.style.display = "flex";
pagBar.innerHTML =
"<span style='color:var(--text-muted);'>Showing " + (rowStart + 1) + "&ndash;" + Math.min(totalRows, rowStart + pageSize) + " of " + totalRows + " tickers</span>" +
"<div style='display:flex;gap:0.4rem;'>" +
"<button type='button' class='pill' id='hmPrevPageBtn'>&larr; Prev</button>" +
"<span style='padding:0.2rem 0.4rem;color:var(--gold);'>Page " + (state.heatmapPage + 1) + "/" + totalPages + "</span>" +
"<button type='button' class='pill' id='hmNextPageBtn'>Next &rarr;</button>" +
"<button type='button' class='pill' id='hmToggleAllBtn'>" + (state.heatmapShowAll ? "Paginate (25/p)" : "Show All (" + totalRows + ")") + "</button>" +
"</div>";
const pBtn = document.getElementById("hmPrevPageBtn");
const nBtn = document.getElementById("hmNextPageBtn");
const aBtn = document.getElementById("hmToggleAllBtn");
if (pBtn) pBtn.onclick = function () { state.heatmapPage = Math.max(0, state.heatmapPage - 1); renderHeatmap(); };
if (nBtn) nBtn.onclick = function () { state.heatmapPage = Math.min(totalPages - 1, state.heatmapPage + 1); renderHeatmap(); };
if (aBtn) aBtn.onclick = function () { state.heatmapShowAll = !state.heatmapShowAll; state.heatmapPage = 0; renderHeatmap(); };
}
}
tbl.querySelectorAll(".hm-cell").forEach((cell) => {
cell.addEventListener("click", function () {
state.selectedSymbol = cell.getAttribute("data-sym");
@@ -717,7 +836,17 @@
hdrEl.innerHTML =
"Dated 00:00 GMT Wire Dossier (<a href='" + resolveUrl(wireDay.archive_route) + "' target='_blank' style='color:var(--cyan);'>" +
wireDay.dossier_file + "</a> &bull; " + wireDay.equation_counts.total + " Verified Equations):";
tapeEl.innerHTML = (wireDay.sample_equations || [])
const wq = (state.wireTapeQuery || "").trim().toLowerCase();
const rawEqs = wireDay.sample_equations || [];
const filteredEqs = !wq ? rawEqs : rawEqs.filter((eq) => {
return (
String(eq.ing || "").toLowerCase().includes(wq) ||
String(eq.eng || "").toLowerCase().includes(wq) ||
String(eq.target || "") === wq ||
String(eq.breakdown || "").toLowerCase().includes(wq)
);
});
tapeEl.innerHTML = filteredEqs
.map(
(eq) => {
const dLink = resolveUrl(eq.dossier_deep_link || wireDay.archive_route);
@@ -927,8 +1056,10 @@
const relX = ((ev.clientX - rect.left) / rect.width) * canvas.width;
const padL = 62, padR = 28;
const ratio = (relX - padL) / (canvas.width - padL - padR);
const idx = Math.round(ratio * (DATA.dates_utc.length - 1));
state.selectedDateIdx = Math.max(0, Math.min(DATA.dates_utc.length - 1, idx));
const rng = getActiveDateRange();
const span = Math.max(1, rng.endIdx - rng.startIdx - 1);
const idx = rng.startIdx + Math.round(ratio * span);
state.selectedDateIdx = Math.max(rng.startIdx, Math.min(rng.endIdx - 1, idx));
renderAll();
});
@@ -1117,5 +1248,15 @@
}
};
const qParams = new URLSearchParams(window.location.search || "");
if (qParams.get("screen") === "dose-d3") {
state.guildFilter = "DOSE_D3";
const d3List = getFilteredInstruments();
if (d3List.length) {
state.selectedSymbol = d3List[0].symbol;
const d3BarIdx = (d3List[0].bars || []).findIndex((b) => b.data_available && Number(b.confluence_dose || 0) >= 3);
if (d3BarIdx >= 0) state.selectedDateIdx = d3BarIdx;
}
}
renderAll();
})();
+2 -2
View File
@@ -1,5 +1,5 @@
// /workspace/hyperstitionstudio-core/site/quant/quant-tutorials.js
// Option B Zero-MP4 Interactive HTML5 Canvas Tutorial Player & Deep-Link Choreographer (v2.8.1)
// Option B Zero-MP4 Interactive HTML5 Canvas Tutorial Player & Deep-Link Choreographer (v2.10.0)
(function () {
"use strict";
@@ -633,7 +633,7 @@
}
window.HyperstitionStudio.QuantTutorials = {
version: "2.8.1",
version: "2.10.0",
episodes: EPISODES,
adaptHrefForFileProtocol: adaptHrefForFileProtocol,
init: initTutorials
+2 -2
View File
@@ -1,3 +1,3 @@
"""hyperstitionstud_io — Shared Common Library for the hyperstitionstud.io workspace (v2.8.1)."""
__version__ = "2.8.1"
"""hyperstitionstud_io — Shared Common Library for the hyperstitionstud.io workspace (v2.10.0)."""
__version__ = "2.10.0"
NAMESPACE_URN = "urn:io:hyperstitionstud"
+2 -2
View File
@@ -39,8 +39,8 @@ from hyperstitionstud_io.mcp.tools import MCP_TOOLS_SCHEMA, call_mcp_tool # noq
SERVER_INFO = {
"name": "hyperstitionstudio-mcp",
"version": "2.8.1",
"namespace_urn": "urn:io:hyperstitionstud:mcp:2.8.1",
"version": "2.10.0",
"namespace_urn": "urn:io:hyperstitionstud:mcp:2.10.0",
}
+18 -7
View File
@@ -787,13 +787,24 @@ def call_mcp_tool(name: str, arguments: dict[str, Any]) -> dict[str, Any]:
},
]
for p_plan in sorted((cfg.knowledge_graph_dir / "docs").glob("PLAN-*.md")):
manuals_list.append({
"id": p_plan.stem,
"category": "active_and_deferred_plans",
"md_path": p_plan,
"web_pdf_route": f"/graph/docs/{p_plan.stem}.pdf",
})
plan_search_dirs = [
cfg.knowledge_graph_dir / "docs",
cfg.knowledge_graph_dir / "docs" / "plans" / "active",
cfg.knowledge_graph_dir / "docs" / "plans" / "piecewise",
cfg.knowledge_graph_dir / "docs" / "plans" / "inactive",
]
for p_dir in plan_search_dirs:
if not p_dir.is_dir():
continue
rel_sub = p_dir.relative_to(cfg.knowledge_graph_dir / "docs").as_posix()
route_prefix = "/graph/docs" if rel_sub == "." else f"/graph/docs/{rel_sub}"
for p_plan in sorted(p_dir.glob("PLAN-*.md")):
manuals_list.append({
"id": p_plan.stem,
"category": "active_and_deferred_plans",
"md_path": p_plan,
"web_pdf_route": f"{route_prefix}/{p_plan.stem}.pdf",
})
docs_out: list[dict[str, Any]] = []
for entry in manuals_list:
@@ -0,0 +1,715 @@
#!/usr/bin/env python3
"""
hyperstitionstud_io.publishing.closeups_sync
Deterministic Live-DOM-Introspected Homepage UI Closeup Compiler (`hs-closeups-sync`).
Automatically inspects the actual live HTML/JS/JSON surfaces across the workspace
(`/calc/`, `/graph/`, `/quant/`, `/learn/`, `/math/`, `/engineering/`, `/ci/`),
computes a structural UI element fingerprint (`ui-elements-manifest.json`), and
re-renders all 11 full-width `680x260` Group 3 UI closeups (`site/assets/closeups/*.png`)
whenever any page's UI elements (`id=...`, `<select><option>`, `.pill`, `<button>`,
`<section>`, `<table...>`, or corpus counts) are added, modified, or removed.
"""
from __future__ import annotations
import argparse
import hashlib
import json
import math
import re
from pathlib import Path
from typing import Any
from PIL import Image, ImageDraw, ImageFont
from hyperstitionstud_io import __version__ as CURRENT_VERSION
from hyperstitionstud_io.config import load_workspace_config
from hyperstitionstud_io.glossary import ReadOnlyIsolationGuard
from hyperstitionstud_io.ipld import compute_dag_json_cidv1
FONT_SANS = "/usr/share/fonts/google-noto/NotoSans-Regular.ttf"
FONT_BOLD = "/usr/share/fonts/google-noto/NotoSans-Bold.ttf"
FONT_MONO = "/usr/share/fonts/dejavu-sans-mono-fonts/DejaVuSansMono.ttf"
FONT_MONO_B = "/usr/share/fonts/dejavu-sans-mono-fonts/DejaVuSansMono-Bold.ttf"
VOID = (7, 9, 13)
PLATE = (12, 16, 23)
WELL = (18, 24, 34)
BORDER = (30, 41, 59)
TEXT = (241, 245, 249)
MUTED = (148, 163, 184)
CYAN = (56, 189, 248)
GOLD = (245, 198, 48)
EMERALD = (52, 211, 153)
ROSE = (251, 113, 133)
VIOLET = (167, 139, 250)
ALL_CLOSEUP_FILENAMES: tuple[str, ...] = (
"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",
)
def _fnt(path: str, size: int) -> Any:
try:
return ImageFont.truetype(path, size)
except Exception:
return ImageFont.load_default()
def _extract_dom_signature(html_text: str) -> dict[str, Any]:
"""Extract structural UI element IDs, classes, buttons, inputs, selects, and headings from an HTML surface."""
clean = re.sub(r"\bv\d+\.\d+\.\d+\b", "vX.Y.Z", html_text)
ids = sorted(set(re.findall(r'\bid=["\']([^"\']+)["\']', clean)))
classes = sorted(set(re.findall(r'\bclass=["\']([^"\']+)["\']', clean)))
buttons = [re.sub(r"<[^>]+>", "", b).strip() for b in re.findall(r"<button[^>]*>(.*?)</button>", clean, flags=re.S)]
options = [re.sub(r"<[^>]+>", "", o).strip() for o in re.findall(r"<option[^>]*>(.*?)</option>", clean, flags=re.S)]
inputs = sorted(set(re.findall(r'<input[^>]+placeholder=["\']([^"\']+)["\']', clean)))
headings = [re.sub(r"<[^>]+>", "", h).strip() for h in re.findall(r"<h[123][^>]*>(.*?)</h[123]>", clean, flags=re.S)]
payload = {
"ids": ids,
"classes": classes,
"buttons": buttons[:40],
"options": options[:40],
"inputs": inputs,
"headings": headings[:25],
}
digest = hashlib.sha256(json.dumps(payload, sort_keys=True, ensure_ascii=False).encode("utf-8")).hexdigest()
return {
"ui_structure_sha256": digest,
"id_count": len(ids),
"button_count": len(buttons),
"option_count": len(options),
"input_count": len(inputs),
"heading_count": len(headings),
"ids": ids,
"inputs": inputs,
"sample_buttons": buttons[:12],
"sample_options": options[:12],
"sample_headings": headings[:8],
}
def introspect_live_ui_elements(workspace_root: str | Path | None = None) -> dict[str, Any]:
"""
Introspect all target web pages and data registries to detect any added/removed UI elements
and extract live labels/counts for rendering the 11 `680x260` quadrant closeups.
"""
cfg = load_workspace_config(workspace_root=workspace_root)
core = cfg.core_dir
kg = cfg.knowledge_graph_dir
calc_dir = cfg.paths["gematria_js_dir"]
ci_dir = cfg.paths.get("ci_repo_dir") or (cfg.workspace_root / "hyperdope-ci-build")
surfaces: dict[str, Path] = {
"home": core / "site" / "index.html",
"quant": core / "site" / "quant" / "index.html",
"learn": core / "site" / "learn" / "index.html",
"engineering_hub": core / "site" / "engineering" / "index.html",
"engineering_e4": core / "site" / "engineering" / "mcp-chatbot-rest-and-ipld" / "index.html",
"math_hub": core / "site" / "math" / "index.html",
"math_m1": core / "site" / "math" / "base36-algebra-and-primes" / "index.html",
"graph": kg / "index.html",
"calc": calc_dir / "index.html",
}
surface_sigs: dict[str, Any] = {}
for k, p in surfaces.items():
if p.is_file():
surface_sigs[k] = _extract_dom_signature(p.read_text(encoding="utf-8"))
# Live data counts from registries
ts_p = core / "site" / "quant" / "quant-timeseries.json"
ts_obj = json.loads(ts_p.read_text(encoding="utf-8")) if ts_p.is_file() else {}
total_bars = sum(
sum(1 for b in (inst.get("bars") or []) if b.get("data_available"))
for inst in (ts_obj.get("instruments") or [])
)
brf_p = core / "site" / "quant" / "daily-brief-latest.json"
brf_obj = json.loads(brf_p.read_text(encoding="utf-8")) if brf_p.is_file() else {}
post_probs = (
((brf_obj.get("agenda_1_executive_summary") or {}).get("bayesian_regime_inference") or {}).get("posterior_probabilities")
or {"R1_BULL_EXPANSION": 0.24, "R2_PINNED_ISOMETRIC": 0.61, "R3_TAIL_DRAWDOWN_RISK_OFF": 0.15}
)
eng_p = core / "site" / "engineering" / "engineering-manifest.json"
eng_obj = json.loads(eng_p.read_text(encoding="utf-8")) if eng_p.is_file() else {}
eng_counts = eng_obj.get("introspected_counts") or {
"repositories": 6,
"cli_entrypoints": 17,
"mcp_tools": 20,
"watchlist_instruments": 24,
"fred_macro_series": 14,
}
cli_scripts = eng_obj.get("cli_scripts") or {
"hs-doctor": "ci.doctor:main",
"hs-mcp": "mcp.server:main",
"hs-kg-build": "graph.compiler:main",
"hs-public-smoke": "ci.public_regression:main",
}
db_txt_p = calc_dir / "db.txt"
db_entries_count = sum(1 for _ in db_txt_p.open(encoding="utf-8")) if db_txt_p.is_file() else 231615
ci_rep_p = ci_dir / "ci-audit-report.json"
ci_obj = json.loads(ci_rep_p.read_text(encoding="utf-8")) if ci_rep_p.is_file() else {}
combined_hash = hashlib.sha256(
json.dumps(
{
"surfaces": {k: v["ui_structure_sha256"] for k, v in sorted(surface_sigs.items())},
"total_bars": total_bars,
"db_entries_count": db_entries_count,
"mcp_tools": eng_counts.get("mcp_tools", 20),
},
sort_keys=True,
).encode("utf-8")
).hexdigest()
manifest = {
"$id": "urn:io:hyperstitionstud:closeups-ui-manifest",
"ui_elements_fingerprint_sha256": combined_hash,
"closeup_images": list(ALL_CLOSEUP_FILENAMES),
"live_metrics": {
"calc_db_entries": db_entries_count,
"quant_total_real_bars": total_bars,
"quant_bayesian_posteriors": post_probs,
"engineering_counts": eng_counts,
"cli_scripts_sample": dict(list(sorted(cli_scripts.items()))[:4]),
"ci_keep_rate_pct": ci_obj.get("keep_rate_pct", 100.0),
},
"surfaces": surface_sigs,
}
manifest["ipld_dag_json_cidv1"] = {"/": compute_dag_json_cidv1(manifest)}
return manifest
def _new_canvas() -> tuple[Image.Image, ImageDraw.ImageDraw]:
im = Image.new("RGB", (680, 260), VOID)
d = ImageDraw.Draw(im)
for gx in range(0, 680, 32):
d.line([(gx, 0), (gx, 260)], fill=(12, 18, 30), width=1)
for gy in range(0, 260, 32):
d.line([(0, gy), (680, gy)], fill=(12, 18, 30), width=1)
return im, d
def _draw_chamfer_box(
d: ImageDraw.ImageDraw,
box: tuple[int, int, int, int],
fill: tuple[int, int, int],
outline: tuple[int, int, int],
chamfer: int = 8,
pip: tuple[int, int, int] | None = None,
) -> None:
x0, y0, x1, y1 = box
pts = [(x0, y0), (x1 - chamfer, y0), (x1, y0 + chamfer), (x1, y1), (x0, y1)]
d.polygon(pts, fill=fill, outline=outline)
if pip:
d.rectangle([x0, y0, x0 + 3, y1], fill=pip)
def render_all_quadrant_closeups(
workspace_root: str | Path | None = None,
force: bool = False,
check_only: bool = False,
) -> dict[str, Any]:
"""
Compare the live UI element fingerprint against `site/assets/closeups/ui-elements-manifest.json`
and re-render all 11 `680x260` quadrant closeups whenever any page's UI elements change (or when `force=True`).
"""
cfg = load_workspace_config(workspace_root=workspace_root)
out_dir = cfg.core_dir / "site" / "assets" / "closeups"
out_dir.mkdir(parents=True, exist_ok=True)
manifest_path = out_dir / "ui-elements-manifest.json"
with ReadOnlyIsolationGuard(cfg.read_only_files) as guard:
live_manifest = introspect_live_ui_elements(workspace_root=workspace_root)
prev_fp = ""
if manifest_path.is_file():
try:
prev_obj = json.loads(manifest_path.read_text(encoding="utf-8"))
prev_fp = prev_obj.get("ui_elements_fingerprint_sha256", "")
except Exception:
prev_fp = ""
missing_pngs = [fn for fn in ALL_CLOSEUP_FILENAMES if not (out_dir / fn).is_file()]
needs_render = force or (prev_fp != live_manifest["ui_elements_fingerprint_sha256"]) or bool(missing_pngs)
if check_only:
return {
"ok": not needs_render,
"check_only": True,
"needs_render": needs_render,
"missing_pngs": missing_pngs,
"ui_elements_fingerprint_sha256": live_manifest["ui_elements_fingerprint_sha256"],
}
if not needs_render:
return {
"ok": True,
"rerendered": False,
"reason": "ui_elements_unchanged",
"ui_elements_fingerprint_sha256": live_manifest["ui_elements_fingerprint_sha256"],
"closeup_count": len(ALL_CLOSEUP_FILENAMES),
}
f_hdr = _fnt(FONT_MONO_B, 13)
f_mono_xs = _fnt(FONT_MONO, 11)
f_mono = _fnt(FONT_MONO, 12)
f_mono_b = _fnt(FONT_MONO_B, 12)
f_mono_md = _fnt(FONT_MONO_B, 14)
f_mono_lg = _fnt(FONT_MONO_B, 22)
f_mono_xl = _fnt(FONT_MONO_B, 26)
metrics = live_manifest["live_metrics"]
db_cnt_str = f"{metrics['calc_db_entries']:,}"
bars_cnt = metrics["quant_total_real_bars"]
eng_c = metrics["engineering_counts"]
surfaces = live_manifest["surfaces"]
# Detect live controls on /graph/, /quant/, /learn/, /engineering/
graph_has_min_deg = "minDegreeFilter" in (surfaces.get("graph", {}).get("ids") or [])
quant_has_window = "timeWindowPills" in (surfaces.get("quant", {}).get("ids") or [])
quant_has_quick_filter = "tickerQuickFilter" in (surfaces.get("quant", {}).get("ids") or [])
learn_has_seal_ribbon = "grimoireSealRibbon" in (surfaces.get("learn", {}).get("ids") or [])
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
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.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),
("Phonemic Ingglish AQ", "292", CYAN),
("Written English AQ", "250", GOLD),
("Simple Ordinal", "178", ROSE),
]
cw = (656 - 24 - 24) // 4
for i, (clab, cval, ccol) in enumerate(ciphers):
bx = 24 + i * (cw + 8)
_draw_chamfer_box(d, (bx, 84, bx + cw, 152), WELL, ccol, chamfer=7, pip=ccol)
d.text((bx + 10, 90), clab[:19], font=f_mono_xs, fill=MUTED)
d.text((bx + 12, 110), cval, font=f_mono_xl, fill=ccol)
rows = [
("sinthetik dayta", "AQ = 292", "Cluster 292 • Gen 1 σ² = 0.00 • Syzygy 4::5"),
("abstrakt masheen", "AQ = 292", "Cluster 292 • Phonemic Convergence Partner"),
("shizohnalizis", "AQ = 292", "Cluster 292 • Landian-Deleuzean Attractor"),
]
for ri, (rw, raq, rmeta) in enumerate(rows):
ry = 162 + ri * 27
d.rectangle([24, ry, 656, ry + 23], fill=(14, 20, 31), outline=BORDER)
d.text((34, ry + 4), rw, font=f_mono_b, fill=TEXT)
d.text((230, ry + 4), raq, font=f_mono_b, fill=EMERALD)
d.text((335, ry + 4), rmeta, font=f_mono, fill=CYAN)
im.save(out_dir / "quadrant-1-cybermemetics-calc-graph.png", "PNG")
# 2. Quadrant 01 Tab 2: /graph/ Mode 2 ETI Radar
im, d = _new_canvas()
_draw_chamfer_box(d, (10, 10, 670, 250), PLATE, BORDER, chamfer=10, pip=CYAN)
hdr_g = "Mode 2: Concentric ETI Radar & Syzygy Compass" + (" [MinDeg+LOD]" if graph_has_min_deg else "")
d.text((24, 18), hdr_g, font=f_hdr, fill=CYAN)
d.rectangle([24, 42, 346, 240], fill=WELL, outline=BORDER)
cx_r, cy_r = 185, 141
for r_rad, r_col in [(90, (38, 52, 77)), (64, (45, 65, 95)), (36, (120, 98, 35))]:
d.ellipse([cx_r - r_rad, cy_r - r_rad, cx_r + r_rad, cy_r + r_rad], outline=r_col, width=1)
for ang_deg in range(0, 360, 60):
ar = math.radians(ang_deg)
d.line([(cx_r, cy_r), (cx_r + int(90 * math.cos(ar)), cy_r + int(90 * math.sin(ar)))], fill=(26, 36, 54), width=1)
nodes = [
(cx_r, cy_r, GOLD, "S1 (93)"),
(cx_r - 48, cy_r - 22, GOLD, "S3 (83)"),
(cx_r, cy_r - 78, CYAN, "aq:777"),
(cx_r + 58, cy_r + 8, EMERALD, "sinthetik dayta"),
(cx_r + 36, cy_r + 58, CYAN, "aq:292"),
]
for nx, ny, _, _ in nodes[1:]:
d.line([(cx_r, cy_r), (nx, ny)], fill=(56, 189, 248), width=2)
for nx, ny, ncol, nlab in nodes:
d.ellipse([nx - 7, ny - 7, nx + 7, ny + 7], fill=ncol, outline=VOID)
lx = nx + 10 if nx >= cx_r else nx - 58
ly = ny - 7
if nlab == "aq:777":
lx, ly = nx - 24, ny - 20
elif nlab == "S1 (93)":
lx, ly = nx - 24, ny + 10
d.text((lx, ly), nlab, font=f_mono_b, fill=ncol)
_draw_chamfer_box(d, (358, 42, 656, 240), WELL, CYAN, chamfer=8, pip=CYAN)
d.text((372, 52), "SELECTED NODE INSPECTOR", font=f_mono_b, fill=GOLD)
d.text((372, 72), "aq:292 • Cluster 292 Hub", font=f_mono_md, fill=TEXT)
badges = [("Class: AQHub", CYAN), ("Deg: 38", GOLD), ("dr_9: 4 (4::5)", EMERALD)]
bx_i = 372
for btxt, bcol in badges:
d.rectangle([bx_i, 96, bx_i + 86, 116], fill=PLATE, outline=bcol)
d.text((bx_i + 6, 99), btxt, font=f_mono_xs, fill=bcol)
bx_i += 92
insp_lines = [
("Filter:", "9-Sum Syzygies • MinDeg ≥ 0"),
("Gen 1 Locks:", "sinthetik dayta • abstrakt masheen"),
("Variance:", "σ²_0 = 310.22 -> σ²_1 = 0.00 (G1)"),
("Neighbors:", "Top 40 Cap + [Show All] Button"),
]
for li, (lk, lv) in enumerate(insp_lines):
ly = 128 + li * 25
d.rectangle([372, ly, 644, ly + 21], fill=PLATE, outline=BORDER)
d.text((380, ly + 3), lk, font=f_mono_b, fill=GOLD)
d.text((466, ly + 3), lv[:26], font=f_mono_xs, fill=TEXT)
im.save(out_dir / "quadrant-1-tab-2-graph.png", "PNG")
# 3. Quadrant 02 Tab 1: Panel 1 Trajectory & Dose
im, d = _new_canvas()
_draw_chamfer_box(d, (10, 10, 670, 250), PLATE, BORDER, chamfer=10, pip=GOLD)
d.text((24, 18), "PANEL 1: Synchronized 2-Pane Trajectory & Dose D ∈ {0..4}", font=f_hdr, fill=GOLD)
win_badge = "[30D|90D|ALL] • " if quant_has_window else ""
flt_badge = "QuickFilter • " if quant_has_quick_filter else ""
d.rectangle([416, 16, 656, 36], fill=WELL, outline=GOLD)
d.text((424, 19), f"{win_badge}{flt_badge}NVDA (S3)", font=f_mono_xs, fill=GOLD)
d.rectangle([24, 42, 656, 168], fill=WELL, outline=BORDER)
d.line([(36, 114), (644, 114)], fill=(180, 50, 70), width=1)
d.text((42, 96), "Entity Threshold: envideea = 137", font=f_mono_xs, fill=ROSE)
pts = [(48, 146), (130, 134), (215, 108), (305, 118), (395, 88), (490, 96), (575, 68), (632, 58)]
d.line(pts, fill=CYAN, width=3)
for px, py in pts:
d.ellipse([px - 4, py - 4, px + 4, py + 4], fill=GOLD, outline=VOID)
d.rectangle([180, 74, 290, 94], fill=PLATE, outline=GOLD)
d.text((188, 77), "Scope 1 (137)", font=f_mono_b, fill=GOLD)
d.rectangle([355, 56, 462, 76], fill=PLATE, outline=EMERALD)
d.text((363, 59), "Wire Eq (292)", font=f_mono_b, fill=EMERALD)
d.rectangle([530, 46, 638, 66], fill=PLATE, outline=CYAN)
d.text((538, 49), "Dose D=3 Lock", font=f_mono_b, fill=CYAN)
d.rectangle([24, 176, 656, 240], fill=(11, 16, 24), outline=BORDER)
d.text((34, 181), f"Pane 2: 30D Window Confluence Dose Inspector (N = 19 Trading Days • {bars_cnt} Bars)", font=f_mono_xs, fill=MUTED)
for bi in range(19):
bx = 36 + bi * 31
dose = 3 if bi in (4, 11, 16) else (2 if bi % 2 == 0 else 1)
bh = 10 + dose * 8
bcol = CYAN if dose == 3 else (EMERALD if dose == 2 else (71, 85, 105))
d.rectangle([bx, 234 - bh, bx + 22, 234], fill=bcol)
im.save(out_dir / "quadrant-2-esoteric-finance-quant.png", "PNG")
# 4. Quadrant 02 Tab 2: Panel 6 Bayesian & Panel 5 FRED
im, d = _new_canvas()
_draw_chamfer_box(d, (10, 10, 670, 250), PLATE, BORDER, chamfer=10, pip=GOLD)
d.text((24, 18), "PANEL 6 & PANEL 5: 3-State Bayesian Regime Posteriors & Real FRED Macro", font=f_hdr, fill=GOLD)
_draw_chamfer_box(d, (24, 42, 334, 240), WELL, GOLD, chamfer=8, pip=GOLD)
d.text((38, 52), "PANEL 6: 3-STATE BAYESIAN SIMPLEX", font=f_mono_b, fill=GOLD)
r1 = float(metrics["quant_bayesian_posteriors"].get("R1_BULL_EXPANSION", 0.24))
r2 = float(metrics["quant_bayesian_posteriors"].get("R2_PINNED_ISOMETRIC", 0.61))
r3 = float(metrics["quant_bayesian_posteriors"].get("R3_TAIL_DRAWDOWN_RISK_OFF", 0.15))
bars_b = [
("R1 Bull Expansion", r1, f"{r1 * 100:.1f}%", EMERALD),
("R2 Pinned Dose 2 (-58% P50)", r2, f"{r2 * 100:.1f}%", CYAN),
("R3 Tail Drawdown (D≥3)", r3, f"{r3 * 100:.1f}%", ROSE),
]
for bi, (blab, bval, bpct, bcol) in enumerate(bars_b):
by = 80 + bi * 44
d.text((38, by), blab, font=f_mono_xs, fill=TEXT)
d.text((272, by), bpct, font=f_mono_b, fill=bcol)
d.rectangle([38, by + 18, 318, by + 32], fill=PLATE, outline=BORDER)
d.rectangle([38, by + 18, 38 + int(280 * min(1.0, bval)), by + 32], fill=bcol)
d.rectangle([38, 212, 318, 232], fill=PLATE, outline=CYAN)
d.text((46, 215), "Simplex Σ P(R_k|E_t) = 1.0000", font=f_mono_xs, fill=CYAN)
_draw_chamfer_box(d, (346, 42, 656, 240), WELL, CYAN, chamfer=8, pip=CYAN)
d.text((360, 52), "PANEL 5: 14 REAL FRED MACRO SERIES", font=f_mono_b, fill=CYAN)
fred_rows = [
("EFFR / SOFR", "4.58% / 4.68%", "+10 bps Repo Spread"),
("M2 - M1 Spread", "$3,365.9B", "$3.37T -> 337 (68th Prime)"),
("M2 Velocity V_M2", "1.405x", "GDP / M2SL Ratio"),
("10Y - EFFR Slope", "+97 bps", "'naintee sevan' = 237"),
("Missing / Closed", "null", "Zero Forward-Fill Policy"),
]
for fi, (fk, fv, fn) in enumerate(fred_rows):
fy = 78 + fi * 30
d.rectangle([360, fy, 642, fy + 25], fill=PLATE, outline=BORDER)
d.text((368, fy + 5), fk, font=f_mono_b, fill=GOLD)
d.text((488, fy + 5), fv, font=f_mono_b, fill=TEXT)
d.text((568, fy + 5), fn[:11], font=f_mono_xs, fill=EMERALD)
im.save(out_dir / "quadrant-2-tab-2-bayesian-fred.png", "PNG")
# 5. Quadrant 02 Tab 3: Panel 2 6-Lens Leaderboard & TCG Card
im, d = _new_canvas()
_draw_chamfer_box(d, (10, 10, 670, 250), PLATE, BORDER, chamfer=10, pip=GOLD)
d.text((24, 18), "PANEL 2 & 3: 6-Lens Assemblage Leaderboard & One-Shot TCG Stats Card", font=f_hdr, fill=GOLD)
_draw_chamfer_box(d, (24, 42, 416, 240), WELL, GOLD, chamfer=8, pip=GOLD)
lenses = ["[Fund Mgr]", "[TierZoo]", "[Board]", "[Sabermetric]"]
for li, ltxt in enumerate(lenses):
lx = 36 + li * 92
d.rectangle([lx, 50, lx + 86, 70], fill=PLATE, outline=GOLD if li == 0 else BORDER)
d.text((lx + 6, 53), ltxt, font=f_mono_xs, fill=GOLD if li == 0 else MUTED)
t_rows = [
("#1 S1 Cybernetic", "ETI 93", "Tier S+", "NVDA / PLTR / MSFT", GOLD),
("#2 S2 High-Freq", "ETI 90", "Tier S", "COIN / CME / VIRT", CYAN),
("#3 S6 Sovereign", "ETI 87", "Tier S", "BLK / JPM / GS", EMERALD),
("#4 S3 Lithography", "ETI 83", "Tier A", "ASML / TSM / AVGO", ROSE),
("#5 M3 Convergence", "ETI 76", "Tier B", "Cluster 292 / 333", VIOLET),
]
for ti, (tname, teti, ttier, tsyms, tcol) in enumerate(t_rows):
ty = 80 + ti * 30
d.rectangle([36, ty, 404, ty + 25], fill=PLATE, outline=BORDER)
d.text((44, ty + 5), tname, font=f_mono_b, fill=TEXT)
d.text((196, ty + 5), teti, font=f_mono_b, fill=tcol)
d.text((258, ty + 5), ttier, font=f_mono_xs, fill=GOLD)
d.text((314, ty + 5), tsyms[:12], font=f_mono_xs, fill=MUTED)
_draw_chamfer_box(d, (428, 42, 656, 240), WELL, CYAN, chamfer=8, pip=CYAN)
d.text((442, 52), "NVDA • S3 / S1 APEX", font=f_mono_b, fill=CYAN)
d.text((442, 70), "envideea • AQ = 137 (33rd Prime)", font=f_mono_xs, fill=GOLD)
stats = [("CAP", 96, GOLD), ("VEL", 92, CYAN), ("COL", 88, EMERALD), ("ARM", 85, ROSE)]
for si, (slab, sval, scol) in enumerate(stats):
sy = 94 + si * 26
d.text((442, sy), slab, font=f_mono_b, fill=TEXT)
d.rectangle([484, sy + 2, 604, sy + 14], fill=PLATE, outline=BORDER)
d.rectangle([484, sy + 2, 484 + int(1.2 * sval), sy + 14], fill=scol)
d.text((612, sy), str(sval), font=f_mono_b, fill=scol)
d.rectangle([442, 204, 642, 228], fill=PLATE, outline=EMERALD)
d.text((450, 209), "CIDv1: baguqeera... (35ms)", font=f_mono_xs, fill=EMERALD)
im.save(out_dir / "quadrant-2-tab-3-leaderboard-card.png", "PNG")
# 6. Quadrant 03 Tab 1: /learn/ Prereq Track (auto-adapts if grimoiric elements are added to /learn/)
im, d = _new_canvas()
_draw_chamfer_box(d, (10, 10, 670, 250), PLATE, BORDER, chamfer=10, pip=EMERALD)
learn_hdr = (
"GRIMOIRE CODEX OF THE 6 SEALS (/learn/) • First-Principles Math & Sigils"
if (learn_has_seal_ribbon or learn_has_sigil_svg)
else "NOVICE PREREQUISITE LADDER (/learn/) • High-School Math to Combinators"
)
d.text((24, 18), learn_hdr, font=f_hdr, fill=EMERALD)
_draw_chamfer_box(d, (24, 42, 344, 240), WELL, EMERALD, chamfer=8, pip=EMERALD)
d.text((38, 52), "STEP-BY-STEP PREREQUISITE TRACK", font=f_mono_b, fill=EMERALD)
levels = [
("Level 1", "Base-36 Place Value & Mod-9", "1-2 hrs"),
("Level 2", "Set Mappings & Pop Variance σ²", "3-5 hrs"),
("Level 3", "Property Graphs & Dot Products", "6-10 hrs"),
("Level 4", "Bayes' Simplex & Z-Combinator", "12+ hrs"),
]
for li, (llab, ldesc, _) in enumerate(levels):
ly = 76 + li * 30
d.rectangle([38, ly, 330, ly + 25], fill=PLATE, outline=BORDER)
d.text((46, ly + 5), llab, font=f_mono_b, fill=GOLD)
d.text((112, ly + 5), ldesc[:22], font=f_mono_xs, fill=TEXT)
d.rectangle([38, 202, 330, 228], fill=PLATE, outline=CYAN)
d.text((46, 208), "Free Links: MIT 6.042J • 3Blue1Brown", font=f_mono_xs, fill=CYAN)
_draw_chamfer_box(d, (356, 42, 656, 240), WELL, CYAN, chamfer=8, pip=CYAN)
d.text((370, 52), "MODULE M01: BASE-36 DECOMPOSITION", font=f_mono_b, fill=CYAN)
d.rectangle([370, 74, 642, 102], fill=PLATE, outline=EMERALD)
d.text((380, 81), "Input Specimen: LEMUR", font=f_mono_md, fill=TEXT)
letters = [("L", "21"), ("E", "14"), ("M", "22"), ("U", "30"), ("R", "27")]
for idx, (ch, val) in enumerate(letters):
lx = 370 + idx * 54
d.rectangle([lx, 112, lx + 48, 168], fill=PLATE, outline=GOLD)
d.text((lx + 16, 118), ch, font=f_mono_md, fill=TEXT)
d.text((lx + 12, 142), val, font=f_mono_b, fill=GOLD)
d.rectangle([370, 178, 642, 228], fill=PLATE, outline=EMERALD)
d.text((382, 186), "21 + 14 + 22 + 30 + 27 = 114", font=f_mono_md, fill=EMERALD)
d.text((382, 206), "Mod-9 Digital Root dr_9(114) = 6 (3::6)", font=f_mono_xs, fill=CYAN)
im.save(out_dir / "quadrant-3-info-science-novice-learn-polyglot.png", "PNG")
# 7. Quadrant 03 Tab 2: /math/ 2-Col Guile & Z-REPL
im, d = _new_canvas()
_draw_chamfer_box(d, (10, 10, 670, 250), PLATE, BORDER, chamfer=10, pip=CYAN)
d.text((24, 18), "POLYGLOT LENS [λ GUILE ACTIVE] • 2-Column Spec & Step AST Trace", font=f_hdr, fill=CYAN)
pills = [("OFF", False), ("λ GUILE", True), ("TS TYPESCRIPT", False), ("Rs RUST", False), ("≡ ALL 3", False)]
px = 24
for ptxt, pact in pills:
pw = len(ptxt) * 8 + 20
d.rectangle([px, 40, px + pw, 62], fill=(18, 28, 46) if pact else WELL, outline=GOLD if pact else BORDER)
d.text((px + 10, 44), ptxt, font=f_mono_xs, fill=GOLD if pact else MUTED)
px += pw + 8
_draw_chamfer_box(d, (24, 70, 334, 182), WELL, CYAN, chamfer=7, pip=CYAN)
d.text((36, 78), "1. Formal Math & Python 3.12", font=f_mono_b, fill=CYAN)
d.text((36, 102), "AQ(w) = Σ val_36(c_i)", font=f_mono_b, fill=TEXT)
d.text((36, 126), "from hyperstitionstud_io.ciphers \\", font=f_mono_xs, fill=MUTED)
d.text((36, 144), " import compute_aq", font=f_mono_xs, fill=MUTED)
d.text((36, 162), "compute_aq('LEMUR') # => 114", font=f_mono_b, fill=EMERALD)
_draw_chamfer_box(d, (346, 70, 656, 182), WELL, GOLD, chamfer=7, pip=GOLD)
d.text((358, 78), "2. λ GNU Guile Scheme (Z-Calculus)", font=f_mono_b, fill=GOLD)
d.text((358, 102), "(define aq-base36 (Z (lambda (r) ...)))", font=f_mono_xs, fill=MUTED)
d.text((358, 126), "(aq-base36 \"LEMUR\") ; => 114", font=f_mono_b, fill=TEXT)
d.text((358, 148), "(prime-factors 666) ; => (2 3 3 37)", font=f_mono_b, fill=EMERALD)
d.rectangle([24, 190, 656, 240], fill=(10, 15, 24), outline=GOLD)
d.text((36, 196), "4-Ring Zero-Eval AST Trace (?repl=trace • Ring 2 Quota <= 2000 Steps):", font=f_mono_xs, fill=GOLD)
d.text((36, 215), "guile> (prime-factors 666) => Step 1: d=2 -> 333 => Normal Form: (2 3 3 37)", font=f_mono_b, fill=EMERALD)
im.save(out_dir / "quadrant-3-tab-2-math-guile.png", "PNG")
# 8. Quadrant 03 Tab 3: /math/ 2-Col TypeScript & Rust
im, d = _new_canvas()
_draw_chamfer_box(d, (10, 10, 670, 250), PLATE, BORDER, chamfer=10, pip=CYAN)
d.text((24, 18), "STATIC-TYPED AST PARITY • Spacious 2-Column TypeScript & Rust View", font=f_hdr, fill=CYAN)
_draw_chamfer_box(d, (24, 46, 334, 240), WELL, CYAN, chamfer=8, pip=CYAN)
d.text((38, 56), "TS TypeScript (Strict ESM AST)", font=f_mono_b, fill=CYAN)
ts_lines = [
"export const charAq = (c: string): number =>",
" /[0-9]/.test(c) ? c.charCodeAt(0) - 48",
" : c.charCodeAt(0) - 55;",
"",
"aqBase36(\"LEMUR\");",
"// => 114 (Exact Parity)",
"primeFactors(666);",
"// => [2, 3, 3, 37]",
]
for idx, ln in enumerate(ts_lines):
col = EMERALD if ln.startswith("//") else (TEXT if "=>" not in ln else GOLD)
d.text((38, 84 + idx * 18), ln, font=f_mono_xs, fill=col)
_draw_chamfer_box(d, (346, 46, 656, 240), WELL, ROSE, chamfer=8, pip=ROSE)
d.text((360, 56), "Rs Rust (Zero-Alloc Iterator AST)", font=f_mono_b, fill=ROSE)
rs_lines = [
"pub fn aq_base36(s: &str) -> u64 {",
" s.chars().map(char_aq).sum()",
"}",
"",
"aq_base36(\"LEMUR\");",
"// => 114_u64",
"prime_factors(666_u64);",
"// => vec![2, 3, 3, 37]",
]
for idx, ln in enumerate(rs_lines):
col = EMERALD if ln.startswith("//") else TEXT
d.text((360, 84 + idx * 18), ln, font=f_mono_xs, fill=col)
im.save(out_dir / "quadrant-3-tab-3-math-ts-rust.png", "PNG")
# 9. Quadrant 04 Tab 1: /engineering/ DevOps & CLIs
im, d = _new_canvas()
_draw_chamfer_box(d, (10, 10, 670, 250), PLATE, BORDER, chamfer=10, pip=ROSE)
d.text((24, 18), "ENGINEERING ARCHITECTURE • 4 Core Counters, Two-Script DevOps & CLIs", font=f_hdr, fill=ROSE)
tiles = [
("Repositories", str(eng_c.get("repositories", 6)), CYAN),
("CLI Entrypoints", str(eng_c.get("cli_entrypoints", 17)), GOLD),
("MCP & REST Tools", str(eng_c.get("mcp_tools", 20)), EMERALD),
("Watchlist / FRED", f"{eng_c.get('watchlist_instruments', 24)} / {eng_c.get('fred_macro_series', 14)}", ROSE),
]
tw = (656 - 24 - 24) // 4
for idx, (tlab, tval, tcol) in enumerate(tiles):
tx = 24 + idx * (tw + 8)
_draw_chamfer_box(d, (tx, 42, tx + tw, 92), WELL, tcol, chamfer=6, pip=tcol)
d.text((tx + 10, 48), tlab, font=f_mono_xs, fill=MUTED)
d.text((tx + 12, 64), tval, font=f_mono_lg, fill=tcol)
_draw_chamfer_box(d, (24, 102, 334, 240), WELL, ROSE, chamfer=8, pip=ROSE)
d.text((36, 112), "TWO-SCRIPT OPERATOR INVARIANT", font=f_mono_b, fill=ROSE)
d.rectangle([36, 134, 322, 164], fill=PLATE, outline=BORDER)
d.text((44, 142), "1. ./push-all-to-git-libre-audio.sh", font=f_mono_xs, fill=EMERALD)
d.rectangle([36, 170, 322, 200], fill=PLATE, outline=BORDER)
d.text((44, 178), "2. sudo deploy/sync-vps-repos.sh", font=f_mono_xs, fill=CYAN)
d.text((36, 210), "tmpfs RAM • Brotli-11 • 0 /dev/null", font=f_mono_xs, fill=GOLD)
_draw_chamfer_box(d, (346, 102, 656, 240), WELL, CYAN, chamfer=8, pip=CYAN)
cli_hdr = "CLI ENTRYPOINTS [Filter]" if eng_has_cli_filter else "CLI ENTRYPOINTS (pyproject.toml)"
d.text((358, 112), cli_hdr, font=f_mono_b, fill=CYAN)
clis = [
("hs-doctor", "ci.doctor:main"),
("hs-mcp", "mcp.server:main"),
("hs-kg-build", "graph.compiler:main"),
("hs-public-smoke", "ci.public_regression:main"),
]
for ci_i, (cname, cmod) in enumerate(clis):
cy_c = 134 + ci_i * 25
d.rectangle([358, cy_c, 644, cy_c + 21], fill=PLATE, outline=BORDER)
d.text((366, cy_c + 3), cname, font=f_mono_b, fill=GOLD)
d.text((492, cy_c + 3), cmod, font=f_mono_xs, fill=TEXT)
im.save(out_dir / "quadrant-4-operators-deployment-vps.png", "PNG")
# 10. Quadrant 04 Tab 2: Unit E4 MCP, REST & ETag 304 Probe
im, d = _new_canvas()
_draw_chamfer_box(d, (10, 10, 670, 250), PLATE, BORDER, chamfer=10, pip=ROSE)
d.text((24, 18), "STATELESS MCP (/mcp), REST v1 (/api/v1/*) & LIVE ETAG 304 PROBE", font=f_hdr, fill=ROSE)
_draw_chamfer_box(d, (24, 42, 334, 240), WELL, CYAN, chamfer=8, pip=CYAN)
d.text((36, 52), f"{eng_c.get('mcp_tools', 20)} TOOLS • 14 RESOURCES • 4 PROMPTS", font=f_mono_b, fill=CYAN)
eps = [
("POST /mcp", "JSON-RPC 2.0 Streamable"),
("GET /api/v1/status", "Health + CIDv1 ETag"),
("GET /api/v1/quant/*", "24 Tickers + 14 FRED"),
("GET /api/v1/ipld/cid", "RFC 8785 JCS + SHA-256"),
("ProtectSystem=strict", "EROFS Verified (20/20)"),
]
for ei, (ep, edesc) in enumerate(eps):
ey = 78 + ei * 30
d.rectangle([36, ey, 322, ey + 25], fill=PLATE, outline=BORDER)
d.text((44, ey + 5), ep, font=f_mono_b, fill=GOLD)
d.text((184, ey + 5), edesc[:18], font=f_mono_xs, fill=TEXT)
_draw_chamfer_box(d, (346, 42, 656, 240), WELL, EMERALD, chamfer=8, pip=EMERALD)
d.text((360, 52), "LIVE API & ETAG 304 PROBE (#live-smoke-probe)", font=f_mono_b, fill=EMERALD)
d.rectangle([360, 76, 642, 104], fill=(18, 28, 46), outline=EMERALD)
d.text((374, 83), "[ ⚛ Run /api/v1/status & ETag 304 Probe ]", font=f_mono_b, fill=TEXT)
probe_lines = [
("1st Fetch:", "HTTP 200 OK (4.2 ms)"),
("ETag:", "\"baguqeera7x9m...\""),
("2nd Fetch:", "If-None-Match -> HTTP 304 (0.8 ms)"),
("Isolation:", "ReadOnlyIsolationGuard: PASS"),
]
for pi, (pk, pv) in enumerate(probe_lines):
py_p = 114 + pi * 28
d.rectangle([360, py_p, 642, py_p + 23], fill=PLATE, outline=BORDER)
d.text((368, py_p + 4), pk, font=f_mono_b, fill=GOLD)
d.text((456, py_p + 4), pv, font=f_mono_xs, fill=EMERALD if "304" in pv or "PASS" in pv else TEXT)
im.save(out_dir / "quadrant-4-tab-2-mcp-etag.png", "PNG")
# 11. Quadrant 04 Tab 3: /ci/ 4-Gate Pipeline & P1-P6 Smoke
im, d = _new_canvas()
_draw_chamfer_box(d, (10, 10, 670, 250), PLATE, BORDER, chamfer=10, pip=ROSE)
d.text((24, 18), "4-GATE INGGLISH CI PIPELINE (/ci/) & 6-GATE PUBLIC SMOKE SUITE", font=f_hdr, fill=ROSE)
_draw_chamfer_box(d, (24, 42, 334, 240), WELL, GOLD, chamfer=8, pip=GOLD)
d.text((36, 52), "4-GATE CI PROVISIONER (db.txt)", font=f_mono_b, fill=GOLD)
gates = [
("Gate A: Format", "ASCII Lowercase Clean [PASS]"),
("Gate B: Phonemic", "CMUdict 126k Purity [PASS]"),
("Gate C: AQ Parity", "Base-36 Sum Lock [PASS]"),
("Gate D: Dedup", f"{db_cnt_str} Unique Rows [PASS]"),
]
for gi, (gn, gdesc) in enumerate(gates):
gy = 80 + gi * 36
d.rectangle([36, gy, 322, gy + 30], fill=PLATE, outline=BORDER)
d.text((44, gy + 7), gn, font=f_mono_b, fill=GOLD)
d.text((166, gy + 7), gdesc, font=f_mono_xs, fill=EMERALD)
_draw_chamfer_box(d, (346, 42, 656, 240), WELL, EMERALD, chamfer=8, pip=EMERALD)
d.text((360, 52), "6-GATE PUBLIC SMOKE (P1 - P6)", font=f_mono_b, fill=EMERALD)
p_gates = [
("P1: Static Routes", "78/78 HTTP 200 OK"),
("P2: JSON Registries", "SHA-256 + CIDv1 Lock"),
("P3: REST API v1", "4/4 Endpoints + ETag"),
("P4: MCP JSON-RPC", f"{eng_c.get('mcp_tools', 20)} Tools + 14 Resources"),
("P5/P6: Assets & PDF", "0 /Helvetica • Brotli-11"),
]
for pi, (pn, pdesc) in enumerate(p_gates):
py_g = 78 + pi * 30
d.rectangle([360, py_g, 642, py_g + 25], fill=PLATE, outline=BORDER)
d.text((368, py_g + 5), pn, font=f_mono_b, fill=CYAN)
d.text((506, py_g + 5), pdesc, font=f_mono_xs, fill=EMERALD)
im.save(out_dir / "quadrant-4-tab-3-ci-gates.png", "PNG")
manifest_path.write_text(json.dumps(live_manifest, indent=2, ensure_ascii=False) + "\n", encoding="utf-8")
return {
"ok": True,
"rerendered": True,
"ui_elements_fingerprint_sha256": live_manifest["ui_elements_fingerprint_sha256"],
"cidv1": live_manifest["ipld_dag_json_cidv1"]["/"],
"closeup_count": len(ALL_CLOSEUP_FILENAMES),
"isolation_receipt": guard.verification_receipt(),
}
def main(argv: list[str] | None = None) -> int:
ap = argparse.ArgumentParser(
prog="hs-closeups-sync",
description="Inspect live DOM UI elements across all pages and re-render homepage 680x260 UI closeups whenever UI elements are added or removed.",
)
ap.add_argument("--force", action="store_true", help="Force re-rendering all 11 closeups even if UI element fingerprint is unchanged.")
ap.add_argument("--check", action="store_true", help="Verify closeups match the current live UI element fingerprint without modifying files.")
args = ap.parse_args(argv)
res = render_all_quadrant_closeups(force=args.force, check_only=args.check)
print(json.dumps(res, indent=2))
return 0 if res.get("ok") else 1
if __name__ == "__main__":
raise SystemExit(main())
@@ -408,12 +408,21 @@ def _render_nav_html(active_slug: str | None, enabled_subpages: list[str], rel_p
f'<a class="btn" href="{rel_prefix}../index.html">Portal Home (/)</a>',
f'<a class="btn" href="{rel_prefix}index.html" style="border-color:{"var(--gold)" if active_slug is None else "rgba(56,189,248,0.55)"};">Engineering Hub (E0)</a>',
]
for s in enabled_subpages:
direct_pages = enabled_subpages[:6]
overflow_pages = enabled_subpages[6:]
for s in direct_pages:
spec = ENGINEERING_SUBPAGE_SPECS[s]
is_act = (s == active_slug)
href = f"{s}/index.html" if active_slug is None else (f"../{s}/index.html" if not is_act else "index.html")
style = "border-color:var(--gold);color:var(--gold);" if is_act else ""
links.append(f'<a class="btn" href="{href}" style="{style}">{spec["short_title"]}</a>')
if overflow_pages:
opts = ['<option value="">More Units &#x25BE;</option>']
for s in overflow_pages:
spec = ENGINEERING_SUBPAGE_SPECS[s]
href = f"{s}/index.html" if active_slug is None else (f"../{s}/index.html" if s != active_slug else "index.html")
opts.append(f'<option value="{href}">{spec["short_title"]}</option>')
links.append(f'<select class="btn hs-nav-overflow-select" onchange="if(this.value)window.location.href=this.value">{"".join(opts)}</select>')
links.append(f'<a class="btn" href="{rel_prefix}../math/index.html">Math Hub (/math/)</a>')
links.append(_render_polyglot_selector_html())
links.append('<span class="nav-donate-sep" aria-hidden="true"></span>')
@@ -546,11 +555,26 @@ def _render_hub_html(manifest: dict[str, Any], include_guile_lens: bool = True)
</section>
<section class="panel hs-plate-g3" style="padding:1rem 1.2rem;">
<h2 style="font-size:0.92rem;color:var(--cyan);margin-bottom:0.4rem;">Live Introspected CLI Entrypoints (pyproject.toml [project.scripts])</h2>
<table>
<div style="display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:0.6rem;margin-bottom:0.4rem;">
<h2 style="font-size:0.92rem;color:var(--cyan);">Live Introspected CLI Entrypoints (pyproject.toml [project.scripts])</h2>
<input type="text" id="engCliFilterInput" placeholder="Filter CLI command or module..." style="background:var(--bg-well);color:var(--text-main);border:1px solid var(--border);padding:0.25rem 0.55rem;font-size:0.71rem;font-family:inherit;width:230px;" aria-label="Filter CLI entrypoints" />
</div>
<table id="engCliTable">
<thead><tr><th>CLI Command</th><th>Python Module:Function Target</th></tr></thead>
<tbody>{cli_rows}</tbody>
</table>
<script>
(function(){{
var inp=document.getElementById("engCliFilterInput"),tbl=document.getElementById("engCliTable");
if(!inp||!tbl)return;
inp.addEventListener("input",function(){{
var q=(inp.value||"").trim().toLowerCase();
tbl.querySelectorAll("tbody tr").forEach(function(tr){{
tr.style.display=(!q||tr.textContent.toLowerCase().indexOf(q)!==-1)?"":"none";
}});
}});
}})();
</script>
</section>
<footer>
@@ -585,6 +609,41 @@ def _render_subpage_html(slug: str, manifest: dict[str, Any], include_guile_lens
f'<p style="font-size:0.76rem;color:var(--text-main);line-height:1.6;">{sec["body"]}</p>'
'</article>'
)
if slug == "mcp-chatbot-rest-and-ipld":
secs_html += (
'<section id="live-smoke-probe" class="panel hs-plate-g3 plate-lock-emerald" style="padding:1rem 1.2rem;margin-bottom:0.85rem;">'
'<div style="display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:0.6rem;margin-bottom:0.55rem;">'
'<h2 style="font-size:0.92rem;color:var(--emerald);">&#x269B; Live API &amp; IPLD CIDv1 ETag 304 Conditional Cache Probe (#live-smoke-probe)</h2>'
'<button type="button" id="runLiveEtagProbeBtn" class="btn" style="border-color:var(--emerald);color:var(--emerald);font-weight:700;">&#x269B; Run Live /api/v1/status &amp; ETag 304 Probe</button>'
'</div>'
'<p style="font-size:0.74rem;color:var(--text-secondary);margin-bottom:0.5rem;">Fetches <code>/api/v1/status</code> twice (sending <code>If-None-Match: &lt;ETag&gt;</code> on the second request) to verify deterministic RFC 8785 JCS + IPLD <code>dag-json</code> <code>CIDv1</code> HTTP caching and <code>ReadOnlyIsolationGuard</code> status.</p>'
'<pre id="liveEtagProbeOutput" style="padding:0.65rem 0.85rem;font-size:0.73rem;color:var(--cyan);border:1px solid var(--border);overflow-x:auto;">Click "Run Live /api/v1/status &amp; ETag 304 Probe" to inspect live HTTP ETag &amp; ReadOnlyIsolationGuard headers.</pre>'
'<script>'
'(function(){'
'var btn=document.getElementById("runLiveEtagProbeBtn"),out=document.getElementById("liveEtagProbeOutput");'
'if(!btn||!out)return;'
'function runProbe(){'
'out.textContent="Probing /api/v1/status ...";'
'var t0=performance.now();'
'fetch("/api/v1/status",{cache:"no-store"}).then(function(r1){'
'var dt1=(performance.now()-t0).toFixed(1),etag=r1.headers.get("ETag")||"";'
'return r1.json().then(function(j1){'
'var t1=performance.now();'
'return fetch("/api/v1/status",{headers:etag?{"If-None-Match":etag}:{}}).then(function(r2){'
'var dt2=(performance.now()-t1).toFixed(1);'
'out.textContent="[1st Request GET /api/v1/status]: HTTP "+r1.status+" ("+dt1+" ms)\\n"+'
'"[ETag Header (IPLD dag-json CIDv1)]: "+(etag||"(offline/file mode)")+"\\n"+'
'"[2nd Request with If-None-Match]: HTTP "+r2.status+" ("+dt2+" ms)\\n"+'
'"[Ecosystem Version & Isolation]: v"+((j1&&j1.version)||"' + CURRENT_VERSION + '")+" • 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>'
)
return f"""<!DOCTYPE html>
<html lang="en">
@@ -357,12 +357,21 @@ def _render_math_nav_html(active_slug: str | None, enabled_subpages: list[str],
f'<a class="btn" href="{rel_prefix}../index.html">Portal Home (/)</a>',
f'<a class="btn" href="{rel_prefix}index.html" style="border-color:{"var(--gold)" if active_slug is None else "rgba(56,189,248,0.55)"};">Math Hub (M0)</a>',
]
for s in enabled_subpages:
direct_pages = enabled_subpages[:6]
overflow_pages = enabled_subpages[6:]
for s in direct_pages:
spec = MATH_SUBPAGE_SPECS[s]
is_act = (s == active_slug)
href = f"{s}/index.html" if active_slug is None else (f"../{s}/index.html" if not is_act else "index.html")
style = "border-color:var(--gold);color:var(--gold);" if is_act else ""
links.append(f'<a class="btn" href="{href}" style="{style}">{spec["short_title"]}</a>')
if overflow_pages:
opts = ['<option value="">More Units &#x25BE;</option>']
for s in overflow_pages:
spec = MATH_SUBPAGE_SPECS[s]
href = f"{s}/index.html" if active_slug is None else (f"../{s}/index.html" if s != active_slug else "index.html")
opts.append(f'<option value="{href}">{spec["short_title"]}</option>')
links.append(f'<select class="btn hs-nav-overflow-select" onchange="if(this.value)window.location.href=this.value">{"".join(opts)}</select>')
from hyperstitionstud_io.publishing.engineering_docs import _render_polyglot_selector_html
links.append(f'<a class="btn" href="{rel_prefix}../engineering/index.html">Engineering Hub (/engineering/)</a>')
@@ -475,7 +475,7 @@ 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)
# Synchronizes root README.md with the staged commit scope and current release version before every commit.
# 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 +485,10 @@ CORE_SRC="${WS_ROOT}/hyperstitionstudio-core/src"
if [[ -d "${CORE_SRC}" ]]; then
export PYTHONPATH="${CORE_SRC}${PYTHONPATH:+:${PYTHONPATH}}"
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/
fi
python3 -m hyperstitionstud_io.publishing.readme_sync --repo "${REPO_NAME}" --stage
fi
"""
@@ -530,14 +534,15 @@ def install_git_pre_commit_hooks(ws_root: Path | None = None, check_only: bool =
hooks_dir = rdir / ".git" / "hooks"
if not hooks_dir.is_dir():
continue
for h_name, h_script, marker in (
("pre-commit", PRE_COMMIT_HOOK_SCRIPT, "readme_sync"),
("commit-msg", COMMIT_MSG_HOOK_SCRIPT, "COMMIT-MSG GATE"),
for h_name, h_script, markers in (
("pre-commit", PRE_COMMIT_HOOK_SCRIPT, ("readme_sync", "closeups_sync")),
("commit-msg", COMMIT_MSG_HOOK_SCRIPT, ("COMMIT-MSG GATE",)),
):
hook_path = hooks_dir / h_name
rel_label = f"/workspace/{rdir.name}/.git/hooks/{h_name}"
if check_only:
if not (hook_path.is_file() and os.access(hook_path, os.X_OK) and marker in hook_path.read_text(encoding="utf-8")):
txt_h = hook_path.read_text(encoding="utf-8") if hook_path.is_file() else ""
if not (hook_path.is_file() and os.access(hook_path, os.X_OK) and all(m in txt_h for m in markers)):
missing.append(rel_label)
else:
installed.append(rel_label)
+1 -1
View File
@@ -678,7 +678,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.8.1",
"version": "2.10.0",
"target_date_utc": datetime.datetime.now(datetime.timezone.utc).strftime("%Y-%m-%d"),
"harvest_mode": harvest_mode,
"synthetic_data_eliminated": True,
+32 -1
View File
@@ -1116,15 +1116,46 @@ def test_ipld_quant_and_mcp_server() -> None:
assert forbidden_home not in home_txt, f"Forbidden static marker {forbidden_home!r} found on homepage"
for q_img in (
"assets/closeups/quadrant-1-cybermemetics-calc-graph.png",
"assets/closeups/quadrant-1-tab-2-graph.png",
"assets/closeups/quadrant-2-esoteric-finance-quant.png",
"assets/closeups/quadrant-2-tab-2-bayesian-fred.png",
"assets/closeups/quadrant-2-tab-3-leaderboard-card.png",
"assets/closeups/quadrant-3-info-science-novice-learn-polyglot.png",
"assets/closeups/quadrant-3-tab-2-math-guile.png",
"assets/closeups/quadrant-3-tab-3-math-ts-rust.png",
"assets/closeups/quadrant-4-operators-deployment-vps.png",
"assets/closeups/quadrant-4-tab-2-mcp-etag.png",
"assets/closeups/quadrant-4-tab-3-ci-gates.png",
):
assert q_img in home_txt, f"Missing quadrant closeup {q_img} on homepage"
assert (cfg.core_dir / "site" / q_img).is_file()
# Verify hs-closeups-sync automatic UI element fingerprint & closeup parity
from hyperstitionstud_io.publishing.closeups_sync import render_all_quadrant_closeups
cu_chk = render_all_quadrant_closeups(workspace_root=cfg.workspace_root, check_only=True)
if not cu_chk["ok"]:
cu_sync = render_all_quadrant_closeups(workspace_root=cfg.workspace_root, force=False, check_only=False)
assert cu_sync["ok"] is True
cu_chk = render_all_quadrant_closeups(workspace_root=cfg.workspace_root, check_only=True)
assert cu_chk["ok"] is True and not cu_chk["missing_pngs"], f"Closeup UI drift: {cu_chk}"
assert home_txt.count('class="closeup-tab-btn"') == 11, "Expected 11 interactive .closeup-tab-btn tabs across the 4 quadrants"
assert home_txt.count('class="closeup-tab-btn"') <= 12, "Strategy 6A: Homepage must never exceed 3 chamfered tabs per quadrant (12 total)"
hdr_match = re.search(r"<header>.*?</header>", home_txt, flags=re.S)
assert hdr_match is not None and len(re.findall(r"<a\b", hdr_match.group(0))) <= 7, "Strategy 6A: Homepage header must not exceed 7 links (6 tools + DONATE)"
assert "below-closeup-bar" not in home_txt, "Expected strictly one set of interactive chamfered tabs (above closeup, 0 below)"
home_hrefs = re.findall(r'<a[^>]+href="([^"]+)"', home_txt)
assert len(home_hrefs) == len(set(home_hrefs)), f"Duplicate href links on homepage: {home_hrefs}"
assert "24 Watchlist Instruments" in (cfg.core_dir / "site" / "quant" / "index.html").read_text(encoding="utf-8")
quant_html_txt = (cfg.core_dir / "site" / "quant" / "index.html").read_text(encoding="utf-8")
assert "24 Watchlist Instruments" in quant_html_txt
for q_ctrl in ('id="timeWindowPills"', 'id="tickerQuickFilter"', 'id="heatmapPaginationBar"', 'id="wireTapeFilterInput"'):
assert q_ctrl in quant_html_txt, f"Missing Strategy 1A/2A control {q_ctrl} in site/quant/index.html"
kg_html_txt = (cfg.knowledge_graph_dir / "index.html").read_text(encoding="utf-8")
assert 'value="syzygy"' in kg_html_txt and 'id="minDegreeFilter"' in kg_html_txt
assert 'id="filterBookmarkInput"' in (cfg.core_dir / "site" / "learn" / "index.html").read_text(encoding="utf-8")
assert 'id="engCliFilterInput"' in (cfg.core_dir / "site" / "engineering" / "index.html").read_text(encoding="utf-8")
assert 'screen") === "dose-d3"' in (cfg.core_dir / "site" / "quant" / "quant-app.js").read_text(encoding="utf-8")
assert 'uParams.get("repl") === "trace"' in (cfg.core_dir / "site" / "assets" / "hs-guile-scheme-repl.js").read_text(encoding="utf-8")
assert 'id="live-smoke-probe"' in (cfg.core_dir / "site" / "engineering" / "mcp-chatbot-rest-and-ipld" / "index.html").read_text(encoding="utf-8")
# Verify PLAN-INTROSPECTIVE-PROTECT-SYSTEM-STRICT-EROFS-TEST-HARNESS
from hyperstitionstud_io.ci.erofs_harness import run_introspective_erofs_suite
+1 -1
View File
@@ -1,6 +1,6 @@
# workspace.example.toml — Location-Independent Workspace Configuration Template (v1.2.0)
# Copy to your parent workspace folder: cp hyperstitionstudio-core/workspace.example.toml ./workspace.toml
schema_version = "2.8.1"
schema_version = "2.10.0"
namespace_urn = "urn:io:hyperstitionstud"
[paths]