Compare commits

..
4 Commits
11 changed files with 36 additions and 16 deletions

No files matched your search

+7 -1
View File
@@ -1,4 +1,4 @@
# `hyperstitionstudio-core` (`hyperstitionstud_io.*` — `v1.2.0`) # `hyperstitionstudio-core` (`hyperstitionstud_io.*` — `v2.0.0`)
Shared Python common library (`hyperstitionstud_io.*`), offline `URN:` JSON Schema registry (`urn:io:hyperstitionstud:schema:v1:*`), and offline browser/ESM modules (`@hyperstitionstud.io/*` / `window.HyperstitionStudio.*`) across all workspace projects. Shared Python common library (`hyperstitionstud_io.*`), offline `URN:` JSON Schema registry (`urn:io:hyperstitionstud:schema:v1:*`), and offline browser/ESM modules (`@hyperstitionstud.io/*` / `window.HyperstitionStudio.*`) across all workspace projects.
@@ -15,6 +15,12 @@ git clone https://git.libre.audio/seasharp/hyperstitionstudio-core.git
git clone https://git.libre.audio/seasharp/ingglish-hyperdope-gematria.git git clone https://git.libre.audio/seasharp/ingglish-hyperdope-gematria.git
git clone https://git.libre.audio/seasharp/technocapital-singularity-zoology.git git clone https://git.libre.audio/seasharp/technocapital-singularity-zoology.git
git clone https://git.libre.audio/seasharp/encyclopedia-knowledge-graph.git git clone https://git.libre.audio/seasharp/encyclopedia-knowledge-graph.git
git clone https://git.libre.audio/seasharp/haiperdohp-jemaytreeah.git
git clone -b feat/ingglish-aq-corpus https://git.libre.audio/seasharp/ingglish-hyperdope-ci.git
# 2b. Supply the 3 untracked runtime files listed in haiperdohp-jemaytreeah/.gitignore (config.js, db.json, db_lite.json)
cp haiperdohp-jemaytreeah/config.default.js haiperdohp-jemaytreeah/config.js
(cd haiperdohp-jemaytreeah && python3 tools/generate_db_json.py db.txt db.json)
# 3. Create & activate a local Python virtual environment and install dependencies # 3. Create & activate a local Python virtual environment and install dependencies
python3 -m venv .venv python3 -m venv .venv
+11 -5
View File
@@ -59,16 +59,22 @@ if [[ "${TARGET_REPO}" != "--no-pull" ]]; then
remote_name="downstream" remote_name="downstream"
fi fi
echo "[1/4] Updating ${REPOS_ROOT}/${repo} (${remote_name}/${branch})..." echo "[1/4] Updating ${REPOS_ROOT}/${repo} (${remote_name}/${branch})..."
git -C "${REPOS_ROOT}/${repo}" fetch "${remote_name}" "${branch}" --tags git -C "${REPOS_ROOT}/${repo}" fetch --force "${remote_name}" "${branch}" --tags
git -C "${REPOS_ROOT}/${repo}" merge --ff-only "${remote_name}/${branch}" git -C "${REPOS_ROOT}/${repo}" merge --ff-only "${remote_name}/${branch}"
fi fi
done done
fi fi
# Ensure db_lite.json and db.json exist inside haiperdohp-jemaytreeah (generated from db.txt if absent on fresh clone) # Supply untracked files listed in haiperdohp-jemaytreeah/.gitignore (config.js, db.json, db_lite.json)
if [[ -d "${REPOS_ROOT}/haiperdohp-jemaytreeah" ]] && [[ ! -f "${REPOS_ROOT}/haiperdohp-jemaytreeah/db_lite.json" ]] && [[ -f "${REPOS_ROOT}/haiperdohp-jemaytreeah/tools/generate_db_json.py" ]]; then if [[ -d "${REPOS_ROOT}/haiperdohp-jemaytreeah" ]]; then
echo "[build] Generating haiperdohp-jemaytreeah/db_lite.json and db.json from db.txt..." if [[ ! -f "${REPOS_ROOT}/haiperdohp-jemaytreeah/config.js" ]] && [[ -f "${REPOS_ROOT}/haiperdohp-jemaytreeah/config.default.js" ]]; then
(cd "${REPOS_ROOT}/haiperdohp-jemaytreeah" && "${PYTHON_BIN}" tools/generate_db_json.py >/dev/null) echo "[build] Copying haiperdohp-jemaytreeah/config.default.js -> config.js..."
cp "${REPOS_ROOT}/haiperdohp-jemaytreeah/config.default.js" "${REPOS_ROOT}/haiperdohp-jemaytreeah/config.js"
fi
if [[ ! -f "${REPOS_ROOT}/haiperdohp-jemaytreeah/db_lite.json" || ! -f "${REPOS_ROOT}/haiperdohp-jemaytreeah/db.json" ]] && [[ -f "${REPOS_ROOT}/haiperdohp-jemaytreeah/tools/generate_db_json.py" ]]; then
echo "[build] Generating haiperdohp-jemaytreeah/db.json and db_lite.json from db.txt..."
(cd "${REPOS_ROOT}/haiperdohp-jemaytreeah" && "${PYTHON_BIN}" tools/generate_db_json.py db.txt db.json)
fi
fi fi
echo "[2/4] Running hs-doctor and 6-Gate Knowledge Graph Verification..." echo "[2/4] Running hs-doctor and 6-Gate Knowledge Graph Verification..."
+3 -1
View File
@@ -36,7 +36,7 @@ if [[ -z "${TARGET_BASE_URL}" ]]; then
TARGET_BASE_URL="http://127.0.0.1:${PORT}" TARGET_BASE_URL="http://127.0.0.1:${PORT}"
fi fi
echo "[3/3] Verifying all 26 portal homepage, graph, encyclopedia, sibling-PDF, haiperdohp-jemaytreeah calculator, CI & schema routes against ${TARGET_BASE_URL}..." echo "[3/3] Verifying all 28 portal homepage, graph, encyclopedia, sibling-PDF, haiperdohp-jemaytreeah (.gitignore artifacts), CI & schema routes against ${TARGET_BASE_URL}..."
ROUTES=( ROUTES=(
"/" "/"
"/graph/index.html" "/graph/index.html"
@@ -58,9 +58,11 @@ ROUTES=(
"/zoology/m7-emergent-subclass-bidirectional-aq-nucleation.pdf" "/zoology/m7-emergent-subclass-bidirectional-aq-nucleation.pdf"
"/archive/00-index-and-methodology.md" "/archive/00-index-and-methodology.md"
"/calc/index.html" "/calc/index.html"
"/calc/config.js"
"/calc/calc/ciphers.js" "/calc/calc/ciphers.js"
"/calc/calc/database.js" "/calc/calc/database.js"
"/calc/db_lite.json" "/calc/db_lite.json"
"/calc/db.json"
"/ci/ONBOARDING-INGGLISH-AQ.pdf" "/ci/ONBOARDING-INGGLISH-AQ.pdf"
"/ci/ci-audit-report.json" "/ci/ci-audit-report.json"
"/schemas/v1/encyclopedia-graph.schema.json" "/schemas/v1/encyclopedia-graph.schema.json"
+1 -1
View File
@@ -1,6 +1,6 @@
{ {
"name": "@hyperstitionstud.io/workspace-core", "name": "@hyperstitionstud.io/workspace-core",
"version": "1.2.0", "version": "2.0.0",
"private": true, "private": true,
"description": "Offline-first ESM & browser global (@hyperstitionstud.io/* / window.HyperstitionStudio.*) packages for Base-36 AQ ciphers and interactive knowledge graph workbenches.", "description": "Offline-first ESM & browser global (@hyperstitionstud.io/* / window.HyperstitionStudio.*) packages for Base-36 AQ ciphers and interactive knowledge graph workbenches.",
"license": "MIT", "license": "MIT",
+1 -1
View File
@@ -1,6 +1,6 @@
{ {
"name": "@hyperstitionstud.io/ciphers-aq", "name": "@hyperstitionstud.io/ciphers-aq",
"version": "1.2.0", "version": "2.0.0",
"type": "module", "type": "module",
"main": "index.js", "main": "index.js",
"license": "MIT" "license": "MIT"
+1 -1
View File
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
[project] [project]
name = "hyperstitionstudio-core" name = "hyperstitionstudio-core"
version = "1.2.0" version = "2.0.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." 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" readme = "README.md"
requires-python = ">=3.10" requires-python = ">=3.10"
+2 -2
View File
@@ -131,7 +131,7 @@
<span class="dot"></span> <span class="dot"></span>
<h1>HYPERSTITIONSTUD.IO // TECHNOCAPITAL SINGULARITY ZOOLOGY WORKBENCH</h1> <h1>HYPERSTITIONSTUD.IO // TECHNOCAPITAL SINGULARITY ZOOLOGY WORKBENCH</h1>
</div> </div>
<p class="subtitle">100% Offline-Portable &amp; HTTP/3 Edge-Ready Research Corpus &bull; Namespace Authority: urn:io:hyperstitionstud (v1.2.0)</p> <p class="subtitle">100% Offline-Portable &amp; HTTP/3 Edge-Ready Research Corpus &bull; Namespace Authority: urn:io:hyperstitionstud (v2.0.0)</p>
</div> </div>
<div class="meta-badges"> <div class="meta-badges">
<span class="badge">388 Graph Nodes</span> <span class="badge">388 Graph Nodes</span>
@@ -253,7 +253,7 @@
</main> </main>
<footer> <footer>
hyperstitionstud.io &bull; Powered by hyperstitionstudio-core (hyperstitionstud_io.* / urn:io:hyperstitionstud v1.2.0) &bull; Zero External Network Dependencies hyperstitionstud.io &bull; Powered by hyperstitionstudio-core (hyperstitionstud_io.* / urn:io:hyperstitionstud v2.0.0) &bull; Zero External Network Dependencies
</footer> </footer>
</div> </div>
+2 -2
View File
@@ -1,3 +1,3 @@
"""hyperstitionstud_io — Shared Common Library for the hyperstitionstud.io workspace (v1.2.0).""" """hyperstitionstud_io — Shared Common Library for the hyperstitionstud.io workspace (v2.0.0)."""
__version__ = "1.2.0" __version__ = "2.0.0"
NAMESPACE_URN = "urn:io:hyperstitionstud" NAMESPACE_URN = "urn:io:hyperstitionstud"
+2 -1
View File
@@ -13,7 +13,7 @@ from dataclasses import dataclass, field
from pathlib import Path from pathlib import Path
from typing import Any from typing import Any
CORE_REPO_ROOT = Path(__file__).resolve().parents[2] CORE_REPO_ROOT = Path(__file__).resolve().parents[3]
WORKSPACE_ROOT = CORE_REPO_ROOT.parent WORKSPACE_ROOT = CORE_REPO_ROOT.parent
USER_WORKSPACE_TOML = Path.home() / ".config" / "hyperstitionstud.io" / "workspace.toml" USER_WORKSPACE_TOML = Path.home() / ".config" / "hyperstitionstud.io" / "workspace.toml"
@@ -78,6 +78,7 @@ def load_workspace_config(
candidates.append(Path(env_p)) candidates.append(Path(env_p))
candidates.extend([ candidates.extend([
ws_root / "workspace.toml", ws_root / "workspace.toml",
Path.cwd() / "workspace.toml",
USER_WORKSPACE_TOML, USER_WORKSPACE_TOML,
Path("/workspace/workspace.toml"), Path("/workspace/workspace.toml"),
]) ])
+5
View File
@@ -11,8 +11,13 @@ Tests:
from __future__ import annotations from __future__ import annotations
import json import json
import sys
from pathlib import Path from pathlib import Path
_SRC_DIR = Path(__file__).resolve().parents[1] / "src"
if _SRC_DIR.is_dir() and str(_SRC_DIR) not in sys.path:
sys.path.insert(0, str(_SRC_DIR))
from hyperstitionstud_io.ciphers import ( from hyperstitionstud_io.ciphers import (
assert_zero_d_filter, assert_zero_d_filter,
compute_aq, compute_aq,
+1 -1
View File
@@ -1,6 +1,6 @@
# workspace.example.toml — Location-Independent Workspace Configuration Template (v1.2.0) # 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 # Copy to your parent workspace folder: cp hyperstitionstudio-core/workspace.example.toml ./workspace.toml
schema_version = "1.2.0" schema_version = "2.0.0"
namespace_urn = "urn:io:hyperstitionstud" namespace_urn = "urn:io:hyperstitionstud"
[paths] [paths]