Compare commits
2
Commits
360bf63e46
..
v1.2.0
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d81e2f508f | ||
|
|
fff554e304 |
No files matched your search
@@ -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
|
||||||
|
|||||||
@@ -65,10 +65,16 @@ if [[ "${TARGET_REPO}" != "--no-pull" ]]; then
|
|||||||
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..."
|
||||||
|
|||||||
@@ -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"
|
||||||
|
|||||||
@@ -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"),
|
||||||
])
|
])
|
||||||
|
|||||||
@@ -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,
|
||||||
|
|||||||
Reference in new issue
Block a user