diff --git a/README.md b/README.md index 9a277c2..ad7f96c 100644 --- a/README.md +++ b/README.md @@ -1,11 +1,11 @@ -# `hyperstitionstudio-core` (`hyperstitionstud_io.*` — `v2.8.1`) +# `hyperstitionstudio-core` (`hyperstitionstud_io.*` — `v2.9.0`) -> **Gitea Commit & Release Telemetry (`v2.8.1` • Namespace `urn:io:hyperstitionstud`)** +> **Gitea Commit & Release Telemetry (`v2.9.0` • Namespace `urn:io:hyperstitionstud`)** > - **Repository Role & Public Route:** Shared PEP 420 Python core library (`hyperstitionstud_io.*`), MCP/REST server, `/quant/`, `/learn/`, `/engineering/`, `/math/`, & `/donate/` webroots → [`https://hyperstitionstud.io/`](https://hyperstitionstud.io/) -> - **Latest Commit Scope (`hyperstitionstudio-core`):** Synchronized v2.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.9.0 release state across 47 tracked module/artifact surface(s) +> - **Touched Files / Surfaces:** `package.json`, `packages-js/ciphers-aq/package.json`, `pyproject.toml`, `scripts/build_gallery_manifest.py`, `site/assets/closeups/quadrant-1-cybermemetics-calc-graph.png`, `site/assets/closeups/quadrant-1-tab-2-graph.png`, `site/assets/closeups/quadrant-2-esoteric-finance-quant.png`, `site/assets/closeups/quadrant-2-tab-2-bayesian-fred.png` (+39 more) +> - **Live Verified Ecosystem Metrics (`v2.9.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 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.9.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`. diff --git a/package.json b/package.json index 7d95e90..0ff5fbd 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@hyperstitionstud.io/workspace-core", - "version": "2.8.1", + "version": "2.9.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", diff --git a/packages-js/ciphers-aq/package.json b/packages-js/ciphers-aq/package.json index dae5be8..756147c 100644 --- a/packages-js/ciphers-aq/package.json +++ b/packages-js/ciphers-aq/package.json @@ -1,6 +1,6 @@ { "name": "@hyperstitionstud.io/ciphers-aq", - "version": "2.8.1", + "version": "2.9.0", "type": "module", "main": "index.js", "license": "MIT" diff --git a/pyproject.toml b/pyproject.toml index 7f416ed..bd8e9ce 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta" [project] name = "hyperstitionstudio-core" -version = "2.8.1" +version = "2.9.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" diff --git a/scripts/build_gallery_manifest.py b/scripts/build_gallery_manifest.py index 76c26f9..329b5eb 100755 --- a/scripts/build_gallery_manifest.py +++ b/scripts/build_gallery_manifest.py @@ -144,8 +144,8 @@ def main() -> int: }) manifest = { - "version": "2.8.1", - "namespace_urn": "urn:io:hyperstitionstud:gallery:2.8.1", + "version": "2.9.0", + "namespace_urn": "urn:io:hyperstitionstud:gallery:2.9.0", "total_items": len(items), "items": items, } diff --git a/site/assets/closeups/quadrant-1-cybermemetics-calc-graph.png b/site/assets/closeups/quadrant-1-cybermemetics-calc-graph.png index cc661d4..fba5905 100644 Binary files a/site/assets/closeups/quadrant-1-cybermemetics-calc-graph.png and b/site/assets/closeups/quadrant-1-cybermemetics-calc-graph.png differ diff --git a/site/assets/closeups/quadrant-1-tab-2-graph.png b/site/assets/closeups/quadrant-1-tab-2-graph.png new file mode 100644 index 0000000..0c594c3 Binary files /dev/null and b/site/assets/closeups/quadrant-1-tab-2-graph.png differ diff --git a/site/assets/closeups/quadrant-2-esoteric-finance-quant.png b/site/assets/closeups/quadrant-2-esoteric-finance-quant.png index a90538d..469ad9c 100644 Binary files a/site/assets/closeups/quadrant-2-esoteric-finance-quant.png and b/site/assets/closeups/quadrant-2-esoteric-finance-quant.png differ diff --git a/site/assets/closeups/quadrant-2-tab-2-bayesian-fred.png b/site/assets/closeups/quadrant-2-tab-2-bayesian-fred.png new file mode 100644 index 0000000..2da58a3 Binary files /dev/null and b/site/assets/closeups/quadrant-2-tab-2-bayesian-fred.png differ diff --git a/site/assets/closeups/quadrant-2-tab-3-leaderboard-card.png b/site/assets/closeups/quadrant-2-tab-3-leaderboard-card.png new file mode 100644 index 0000000..466a10d Binary files /dev/null and b/site/assets/closeups/quadrant-2-tab-3-leaderboard-card.png differ diff --git a/site/assets/closeups/quadrant-3-info-science-novice-learn-polyglot.png b/site/assets/closeups/quadrant-3-info-science-novice-learn-polyglot.png index c775c4f..9205eaf 100644 Binary files a/site/assets/closeups/quadrant-3-info-science-novice-learn-polyglot.png and b/site/assets/closeups/quadrant-3-info-science-novice-learn-polyglot.png differ diff --git a/site/assets/closeups/quadrant-3-tab-2-math-guile.png b/site/assets/closeups/quadrant-3-tab-2-math-guile.png new file mode 100644 index 0000000..b1b2b70 Binary files /dev/null and b/site/assets/closeups/quadrant-3-tab-2-math-guile.png differ diff --git a/site/assets/closeups/quadrant-3-tab-3-math-ts-rust.png b/site/assets/closeups/quadrant-3-tab-3-math-ts-rust.png new file mode 100644 index 0000000..4ab3a18 Binary files /dev/null and b/site/assets/closeups/quadrant-3-tab-3-math-ts-rust.png differ diff --git a/site/assets/closeups/quadrant-4-operators-deployment-vps.png b/site/assets/closeups/quadrant-4-operators-deployment-vps.png index b4e4329..91d351b 100644 Binary files a/site/assets/closeups/quadrant-4-operators-deployment-vps.png and b/site/assets/closeups/quadrant-4-operators-deployment-vps.png differ diff --git a/site/assets/closeups/quadrant-4-tab-2-mcp-etag.png b/site/assets/closeups/quadrant-4-tab-2-mcp-etag.png new file mode 100644 index 0000000..8b05d81 Binary files /dev/null and b/site/assets/closeups/quadrant-4-tab-2-mcp-etag.png differ diff --git a/site/assets/closeups/quadrant-4-tab-3-ci-gates.png b/site/assets/closeups/quadrant-4-tab-3-ci-gates.png new file mode 100644 index 0000000..5069c6e Binary files /dev/null and b/site/assets/closeups/quadrant-4-tab-3-ci-gates.png differ diff --git a/site/assets/hs-group3-basalt-chamfer.css b/site/assets/hs-group3-basalt-chamfer.css index fcc76e1..0e137df 100644 --- a/site/assets/hs-group3-basalt-chamfer.css +++ b/site/assets/hs-group3-basalt-chamfer.css @@ -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; +} diff --git a/site/assets/hs-guile-scheme-repl.js b/site/assets/hs-guile-scheme-repl.js index fcd0c74..0d7782c 100644 --- a/site/assets/hs-guile-scheme-repl.js +++ b/site/assets/hs-guile-scheme-repl.js @@ -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") { diff --git a/site/donate/index.html b/site/donate/index.html index 159906b..0eb08b3 100644 --- a/site/donate/index.html +++ b/site/donate/index.html @@ -4,7 +4,7 @@ Signal Patronage & Open-Instrument Notes — hyperstitionstud.io/donate - + - +

hyperstitionstud.io/quant — Quantitative Finance & Memetic Gematria Time-Series Workbench

-

Strictly Periodic Telemetry (21:30 UTC US Closing Bell × 00:00 UTC News-Wire Dossiers • 24 Watchlist Instruments • 14 FRED Macro Series) • Lens-Neutral Schema (urn:io:hyperstitionstud:quant-timeseries:v2.8.1)

+

Strictly Periodic Telemetry (21:30 UTC US Closing Bell × 00:00 UTC News-Wire Dossiers • 24 Watchlist Instruments • 14 FRED Macro Series) • Lens-Neutral Schema (urn:io:hyperstitionstud:quant-timeseries:v2.9.0)

- - - - - + + + + + diff --git a/site/quant/quant-app.js b/site/quant/quant-app.js index f643680..faf9a40 100644 --- a/site/quant/quant-app.js +++ b/site/quant/quant-app.js @@ -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.9.0) (function () { "use strict"; @@ -245,7 +245,7 @@ selectedDateIdx: findLatestAvailableDateIdx("NVDA"), }; - const guilds = ["ALL", "S1", "S2", "S3", "S4", "S5", "S6"]; + const guilds = ["ALL", "S1", "S2", "S3", "S4", "S5", "S6", "DOSE_D3"]; const modes = [ { id: "spoken_aq", label: "Spoken AQ (Gen 1)" }, { id: "close_usd", label: "Close Price (USD)" }, @@ -263,8 +263,16 @@ const canvas = document.getElementById("tsCanvas"); const ctx = canvas.getContext("2d"); + 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; + if (state.guildFilter === "DOSE_D3") { + const d3 = DATA.instruments.filter(instrumentHasDoseD3); + return d3.length ? d3 : DATA.instruments; + } return DATA.instruments.filter((inst) => inst.guilds.indexOf(state.guildFilter) !== -1); } @@ -295,7 +303,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(); @@ -1117,5 +1125,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(); })(); diff --git a/site/quant/quant-tutorials.js b/site/quant/quant-tutorials.js index cdc83ee..436e387 100644 --- a/site/quant/quant-tutorials.js +++ b/site/quant/quant-tutorials.js @@ -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.9.0) (function () { "use strict"; @@ -633,7 +633,7 @@ } window.HyperstitionStudio.QuantTutorials = { - version: "2.8.1", + version: "2.9.0", episodes: EPISODES, adaptHrefForFileProtocol: adaptHrefForFileProtocol, init: initTutorials diff --git a/src/hyperstitionstud_io/__init__.py b/src/hyperstitionstud_io/__init__.py index 7160ecb..61830bd 100644 --- a/src/hyperstitionstud_io/__init__.py +++ b/src/hyperstitionstud_io/__init__.py @@ -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.9.0).""" +__version__ = "2.9.0" NAMESPACE_URN = "urn:io:hyperstitionstud" diff --git a/src/hyperstitionstud_io/mcp/server.py b/src/hyperstitionstud_io/mcp/server.py index 5f2d80b..c5570d8 100755 --- a/src/hyperstitionstud_io/mcp/server.py +++ b/src/hyperstitionstud_io/mcp/server.py @@ -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.9.0", + "namespace_urn": "urn:io:hyperstitionstud:mcp:2.9.0", } diff --git a/src/hyperstitionstud_io/publishing/engineering_docs.py b/src/hyperstitionstud_io/publishing/engineering_docs.py index 82bbe4c..1d67b9a 100644 --- a/src/hyperstitionstud_io/publishing/engineering_docs.py +++ b/src/hyperstitionstud_io/publishing/engineering_docs.py @@ -585,6 +585,41 @@ def _render_subpage_html(slug: str, manifest: dict[str, Any], include_guile_lens f'

{sec["body"]}

' '' ) + if slug == "mcp-chatbot-rest-and-ipld": + secs_html += ( + '
' + '
' + '

⚛ Live API & IPLD CIDv1 ETag 304 Conditional Cache Probe (#live-smoke-probe)

' + '' + '
' + '

Fetches /api/v1/status twice (sending If-None-Match: <ETag> on the second request) to verify deterministic RFC 8785 JCS + IPLD dag-json CIDv1 HTTP caching and ReadOnlyIsolationGuard status.

' + '
Click "Run Live /api/v1/status & ETag 304 Probe" to inspect live HTTP ETag & ReadOnlyIsolationGuard headers.
' + '' + '
' + ) return f""" diff --git a/src/hyperstitionstud_io/quant/collector.py b/src/hyperstitionstud_io/quant/collector.py index 55949a2..5f65774 100755 --- a/src/hyperstitionstud_io/quant/collector.py +++ b/src/hyperstitionstud_io/quant/collector.py @@ -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.9.0", "target_date_utc": datetime.datetime.now(datetime.timezone.utc).strftime("%Y-%m-%d"), "harvest_mode": harvest_mode, "synthetic_data_eliminated": True, diff --git a/tests/test_core_suite.py b/tests/test_core_suite.py index 1adca37..246e86a 100644 --- a/tests/test_core_suite.py +++ b/tests/test_core_suite.py @@ -1116,15 +1116,29 @@ 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() + assert home_txt.count('class="closeup-tab-strip"') == 4, "Expected 4 .closeup-tab-strip containers on homepage" + assert home_txt.count('class="closeup-tab-btn"') == 11, "Expected 11 interactive .closeup-tab-btn tabs across the 4 quadrants" + 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']+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") + assert 'value="syzygy"' in (cfg.knowledge_graph_dir / "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 diff --git a/workspace.example.toml b/workspace.example.toml index 8185789..035f5f6 100644 --- a/workspace.example.toml +++ b/workspace.example.toml @@ -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.9.0" namespace_urn = "urn:io:hyperstitionstud" [paths]