diff --git a/README.md b/README.md index 93d561d..9a277c2 100644 --- a/README.md +++ b/README.md @@ -1,11 +1,11 @@ -# `hyperstitionstudio-core` (`hyperstitionstud_io.*` — `v2.8.0`) +# `hyperstitionstudio-core` (`hyperstitionstud_io.*` — `v2.8.1`) -> **Gitea Commit & Release Telemetry (`v2.8.0` • Namespace `urn:io:hyperstitionstud`)** +> **Gitea Commit & Release Telemetry (`v2.8.1` • 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.0 release state across 48 tracked module/artifact surface(s) -> - **Touched Files / Surfaces:** `deploy/Caddyfile`, `deploy/run-vps-archive-rotation.sh`, `deploy/sync-vps-repos.sh`, `package.json`, `packages-js/ciphers-aq/package.json`, `pyproject.toml`, `scripts/build_gallery_manifest.py`, `site/assets/closeups/quadrant-1-cybermemetics-calc-graph.png` (+40 more) -> - **Live Verified Ecosystem Metrics (`v2.8.0`):** `6` Repositories • `17` CLI Entrypoints • `20` MCP/REST Tools • `14` URN Resources • `63` Verified Web Routes • `388` KG Nodes / `1,282` Edges • `282` Glossary Entries • `4,943` Offline CMUdict Phonetics • `0` Synthetic Data +> - **Latest Commit Scope (`hyperstitionstudio-core`):** Synchronized v2.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 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.0`) +## Key Architecture & Capabilities (`v2.8.1`) 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/deploy/sync-vps-repos.sh b/deploy/sync-vps-repos.sh index 8f1bed0..f8ceee2 100755 --- a/deploy/sync-vps-repos.sh +++ b/deploy/sync-vps-repos.sh @@ -105,6 +105,9 @@ if [[ "${DO_PULL}" -eq 1 ]]; then echo "[1/5] Updating ${REPOS_ROOT}/${repo} (${remote_name}/${branch})..." prev_head="$(git -C "${REPOS_ROOT}/${repo}" rev-parse HEAD)" run_checked "git fetch ${repo}" git -C "${REPOS_ROOT}/${repo}" fetch --force "${remote_name}" "${branch}" --tags + if ! git -C "${REPOS_ROOT}/${repo}" diff --quiet -- README.md 2>&1; then + git -C "${REPOS_ROOT}/${repo}" checkout -- README.md || true + fi run_checked "git merge ${repo}" git -C "${REPOS_ROOT}/${repo}" merge --ff-only "${remote_name}/${branch}" new_head="$(git -C "${REPOS_ROOT}/${repo}" rev-parse HEAD)" if [[ "${repo}" == "hyperstitionstudio-core" && "${prev_head}" != "${new_head}" && -z "${HYPERSTITION_SYNC_REEXEC:-}" ]]; then @@ -130,10 +133,22 @@ fi echo "[2/5] Synchronizing local workspace.toml version, rebuilding SQLite FTS5 catalog, and running hs-doctor, version_sync --check, and 6-Gate Knowledge Graph Verification..." if [[ -f "${REPOS_ROOT}/workspace.toml" ]] && [[ -f "${REPOS_ROOT}/hyperstitionstudio-core/workspace.example.toml" ]]; then - # Sync schema_version in untracked parent workspace.toml with hyperstitionstud_io.__version__ - run_checked "version_sync (sync untracked workspace.toml)" "${PYTHON_BIN}" -m hyperstitionstud_io.version_sync + # Sync schema_version in untracked parent workspace.toml with hyperstitionstud_io.__version__ without dirtying tracked repo files + run_checked "sync untracked workspace.toml" "${PYTHON_BIN}" -c ' +import re +from pathlib import Path +from hyperstitionstud_io import __version__ as v +from hyperstitionstud_io.config import load_workspace_config +cfg = load_workspace_config() +p = cfg.workspace_root / "workspace.toml" +if p.is_file(): + t = p.read_text(encoding="utf-8") + u = re.sub(r"schema_version\s*=\s*\"\d+\.\d+\.\d+\"", f"schema_version = \"{v}\"", t, flags=re.M) + if u != t: + p.write_text(u, encoding="utf-8") +' fi -run_checked "hs-readme-sync --install-hooks" "${PYTHON_BIN}" -m hyperstitionstud_io.publishing.readme_sync --install-hooks +run_checked "hs-readme-sync --hooks-only" "${PYTHON_BIN}" -m hyperstitionstud_io.publishing.readme_sync --hooks-only 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 diff --git a/package.json b/package.json index d92042c..7d95e90 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@hyperstitionstud.io/workspace-core", - "version": "2.8.0", + "version": "2.8.1", "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 c4a269d..dae5be8 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.0", + "version": "2.8.1", "type": "module", "main": "index.js", "license": "MIT" diff --git a/pyproject.toml b/pyproject.toml index d112dcf..7f416ed 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta" [project] name = "hyperstitionstudio-core" -version = "2.8.0" +version = "2.8.1" 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 70615aa..76c26f9 100755 --- a/scripts/build_gallery_manifest.py +++ b/scripts/build_gallery_manifest.py @@ -144,8 +144,8 @@ def main() -> int: }) manifest = { - "version": "2.8.0", - "namespace_urn": "urn:io:hyperstitionstud:gallery:2.8.0", + "version": "2.8.1", + "namespace_urn": "urn:io:hyperstitionstud:gallery:2.8.1", "total_items": len(items), "items": items, } diff --git a/site/donate/index.html b/site/donate/index.html index 537f4f8..159906b 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.0)

+

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)

- - - - - + + + + + diff --git a/site/quant/quant-app.js b/site/quant/quant-app.js index ad32f8e..f643680 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.0) +// Interactive Quantitative Finance & Memetic Gematria Time-Series Workbench (v2.8.1) (function () { "use strict"; diff --git a/site/quant/quant-tutorials.js b/site/quant/quant-tutorials.js index be4017a..cdc83ee 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.0) +// Option B Zero-MP4 Interactive HTML5 Canvas Tutorial Player & Deep-Link Choreographer (v2.8.1) (function () { "use strict"; @@ -633,7 +633,7 @@ } window.HyperstitionStudio.QuantTutorials = { - version: "2.8.0", + version: "2.8.1", episodes: EPISODES, adaptHrefForFileProtocol: adaptHrefForFileProtocol, init: initTutorials diff --git a/src/hyperstitionstud_io/__init__.py b/src/hyperstitionstud_io/__init__.py index e1199c2..7160ecb 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.0).""" -__version__ = "2.8.0" +"""hyperstitionstud_io — Shared Common Library for the hyperstitionstud.io workspace (v2.8.1).""" +__version__ = "2.8.1" NAMESPACE_URN = "urn:io:hyperstitionstud" diff --git a/src/hyperstitionstud_io/mcp/server.py b/src/hyperstitionstud_io/mcp/server.py index 7206842..5f2d80b 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.0", - "namespace_urn": "urn:io:hyperstitionstud:mcp:2.8.0", + "version": "2.8.1", + "namespace_urn": "urn:io:hyperstitionstud:mcp:2.8.1", } diff --git a/src/hyperstitionstud_io/publishing/readme_sync.py b/src/hyperstitionstud_io/publishing/readme_sync.py index b578fdc..1491535 100644 --- a/src/hyperstitionstud_io/publishing/readme_sync.py +++ b/src/hyperstitionstud_io/publishing/readme_sync.py @@ -561,13 +561,19 @@ def main(argv: list[str] | None = None) -> int: ap.add_argument("--repo", default=None, help="Synchronize only the specified repository name/slug.") ap.add_argument("--stage", action="store_true", help="Run `git add README.md` after updating the repository README.") ap.add_argument("--check", action="store_true", help="Verify all 6 root README.md files and pre-commit hooks are in sync without modifying files.") - ap.add_argument("--install-hooks", action="store_true", help="Install idempotent .git/hooks/pre-commit hooks across all 6 repositories.") + ap.add_argument("--install-hooks", action="store_true", help="Install idempotent .git/hooks/pre-commit and commit-msg hooks across all 6 repositories.") + ap.add_argument("--hooks-only", action="store_true", help="Install git hooks without modifying tracked README.md files on disk.") ap.add_argument("--version", default=None, help="Override target semantic version.") args = ap.parse_args(argv) cfg = load_workspace_config() root = cfg.workspace_root + if args.hooks_only: + hook_res = install_git_pre_commit_hooks(ws_root=root, check_only=False) + print(json.dumps({"ok": hook_res["ok"], "hooks_only": True, "hooks": hook_res}, indent=2)) + return 0 if hook_res["ok"] else 1 + if args.install_hooks: hook_res = install_git_pre_commit_hooks(ws_root=root, check_only=False) sync_res = sync_all_repo_readmes(ws_root=root, version=args.version, check_only=False, target_repo=args.repo) diff --git a/src/hyperstitionstud_io/quant/collector.py b/src/hyperstitionstud_io/quant/collector.py index 869e0c0..55949a2 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.0", + "version": "2.8.1", "target_date_utc": datetime.datetime.now(datetime.timezone.utc).strftime("%Y-%m-%d"), "harvest_mode": harvest_mode, "synthetic_data_eliminated": True, diff --git a/workspace.example.toml b/workspace.example.toml index 4f957db..8185789 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.0" +schema_version = "2.8.1" namespace_urn = "urn:io:hyperstitionstud" [paths]