chore(repo): finalize 3-repo separation, sync 8 AQ skills/scripts, and add Eval 47

- Remove legacy tracked hyperdope-ci-build/* files (moved to sibling repo /workspace/hyperdope-ci-build).
- Remove duplicate root news dossiers (25, 46) and duplicate archive PDF compendium per Archive File Hygiene Rule.
- Add evaluate_aq.mjs, generate_aq_tier_list.py, build_wire_report_pdf.py, pdf_create.py, and pdf_read.py to ingglish-aq-archive/scripts/.
- Synchronize all 8 scripts and 8 creative Ingglish AQ skills into packaging/bundle/ and rebuild .tar.gz / .tar.xz bundles.
- Update reconstruct_option4_curve.py and option-4-curve-migration-manifest.json paths to /workspace/ingglish-hyperdope-gematria/.
- Add 47-eval-news-2026-11-02-bidirectional (.md + .pdf) and update master 17-dossier tier list (.md, .pdf, .png).
- Track Series I-V repeat lecture transcripts, genealogy compendium, repdigit compendium, and wire report artifacts.
This commit is contained in:
Hermes Agent committed 2026-11-03 07:24:55 +00:00
1 parent c8ff9a63fd
commit 44c48bb12a
83 files changed
+6209 -3247

No files matched your search

@@ -0,0 +1,34 @@
---
name: hyperdope-ingglish-ci
description: "Use when provisioning Ingglish to hyperdope-gematria CI."
version: 0.1.0
author: m00t, Hermes Agent
license: MIT
platforms: [linux, macos, windows]
metadata:
hermes:
tags: [gematria, qabbala, ingglish, hyperdope-gematria, ci, github, pull-request, onboarding]
category: creative
related_skills: [phonetic-and-gematria-ciphers, bidirectional-aq-evaluation, isopsephic-humor-and-exegesis, current-events-isopsephic-exegesis, isopsephic-lecture-synthesis, isopsephic-wire-report-synthesis, github, pdf]
---
# Hyperdope-Gematria Ingglish CI & PR Provisioning
Automate the continuous integration (CI) pipeline that provisions deterministic Ingglish words, isometric bridges, and multi-scale Alphanumeric Qabbala (AQ) equations into [`malonehunter/hyperdope-gematria`](https://github.com/malonehunter/hyperdope-gematria), generates newbie-friendly onboarding documentation, and produces deterministic Git commits and GitHub Pull Request (PR) objects where the number of ambiguous submission steps equals zero (`0`).
## How to Run
The `/workspace` directory contains **three peer sibling Git repositories** (no `/workspace/.git` root wrapper):
- `/workspace/ingglish-hyperdope-gematria` (Main archive, lectures, dossiers, and `ingglish-aq-archive/scripts/`)
- `/workspace/hyperdope-ci-build` (Dedicated CI/PR staging Git repository for `ingglish-hyperdope-ci`)
- `/workspace/hyperdope-gematria` (Local clone of `malonehunter/hyperdope-gematria` with `db.json` + `db_lite.json` and `feat/ingglish-priority-toggle`)
Invoke the bundled deterministic CI pipeline script via `terminal`:
```bash
python3 /workspace/ingglish-hyperdope-gematria/ingglish-aq-archive/scripts/ci_provision_ingglish.py \
--archive-dir /workspace/ingglish-hyperdope-gematria/ingglish-aq-archive \
--out-dir /workspace/hyperdope-ci-build \
--tier 2 \
--generate-docs
```
@@ -0,0 +1,13 @@
# Newcomer Onboarding Guide Template: Hyperdope-Gematria & Ingglish AQ
Use this reference when generating onboarding documentation (`ONBOARDING-INGGLISH-AQ.md` and `ONBOARDING-INGGLISH-AQ.pdf`) for someone completely new to both **Hyperdope-Gematria** and **Ingglish in Alphanumeric Qabbala (AQ)**.
1. **Part 1: Welcome to Hyperdope-Gematria (For Complete Beginners)**
- **69 English Ciphers** led by **Alphanumeric Qabbala (AQ)** (`0–9 = 0–9, A=10..Z=35`), **Ordinal** (`A=1..Z=26`), **Reduction**, **Synx**, **Primes**, and **Based Atlanteanism**.
- **230,000+ Pre-Computed Database (`db.txt` / `db.json`):** Matches appear in under 100 milliseconds.
- **Bracketed Glosses (`[...]`):** Anything inside square brackets (`Spairal [Ingglish: Spiral]`) is shown on screen for readability but ignored by the math engine.
2. **Part 2: What is Ingglish, and Why Does Spelling Matter in Gematria?**
- **Standard English (`Gen 0`):** Preserves historical silent letters ("ghost mass").
- **Ingglish (`Gen 1`):** Backed by the 126,000-word CMU Pronouncing Dictionary; zero silent letters, one spelling per sound (`the -> dha [40]`, `of -> uhv [78]`).
3. **Part 3: Five Breakthroughs When Ingglish Enters Hyperdope-Gematria**
- Homophone compression (`ai = 28`, `nait = 80`), dispersion-to-equivalence convergence (`chaildz == ayleean == wiskee == 126`), Type I–III Isometric Locks (`Δ = 0`), Repdigit Attractors (`333, 666, 777`), and 69-Cipher Cross-Vision.
@@ -0,0 +1,9 @@
# Zero-Ambiguity Git Commit & GitHub PR Submission Protocol
To guarantee that the number of ambiguous submission steps equals `0`, every run of `scripts/ci_provision_ingglish.py` generates a complete, pre-validated commit and PR bundle in `--out-dir`:
1. `db_ingglish_entries.txt`
2. `ci-audit-report.json`
3. `commit-message.txt`
4. `pr-body.md`
5. `pr-payload.json`
6. `submit-pr.sh`
@@ -0,0 +1,10 @@
# Workflow, Architecture & Bidirectional AQ Integration Reference
1. **`db.txt` Format & `[...]` Comment Stripping (`calc/gematria.js` + `tools/generate_db_json.py`):**
- Provisioning each entry as `<Ingglish Phrase> [Ingglish: <English Gloss>]` ensures that all 69 ciphers score **only** the Ingglish characters while the user sees both orthographies side by side.
2. **Proper-Case Normalization (`tools/normalize_caps.py`):**
- Guards `INGGLISH_NON_ROMAN = {"di", "li", "mi", "vi", "iv", "ci", "xi"}` against false-positive Roman-numeral uppercasing.
3. **Calibrated Junk Filter (`tools/classify_candidates.py`):**
- Achieves a 100.0% keep rate (`0` drops) across all 872 Tier 1 + Tier 2 entries.
4. **Ingglish Match-Priority Sort Toggle (`feat/ingglish-priority-toggle`):**
- Adds `optPrioritizeIngglish` (`ING ↑`) to sort `[Ingglish: ...]` matches above standard English matches within tied cipher scores.
+53 -31
View File
@@ -47,29 +47,36 @@ def load_system_dict() -> set[str]:
continue
# Fallback when container /usr/share/dict/words is absent: load the 126,051 English words
# from the installed @ingglish/dictionary CMU Pronouncing Dictionary package.
try:
out = subprocess.check_output(
[
"node",
"-e",
'import("/workspace/node_modules/@ingglish/dictionary/dist/index.js").then(async m => {'
"await m.loadDictionary();"
"console.log(Object.keys(m.getDictionary()).join('\\n'));"
"});",
],
text=True,
timeout=15,
)
words = {w.strip().lower() for w in out.splitlines() if w.strip() and w.strip().isalpha()}
if words:
try:
os.makedirs("/usr/share/dict", exist_ok=True)
Path("/usr/share/dict/words").write_text("\n".join(sorted(words)) + "\n", encoding="utf-8")
except OSError:
pass
return words
except Exception:
pass
for dict_js in (
"/workspace/ingglish-hyperdope-gematria/node_modules/@ingglish/dictionary/dist/index.js",
"/workspace/node_modules/@ingglish/dictionary/dist/index.js",
"/opt/ingglish-exegesis/node_modules/@ingglish/dictionary/dist/index.js",
):
if not os.path.exists(dict_js):
continue
try:
out = subprocess.check_output(
[
"node",
"-e",
f'import("{dict_js}").then(async m => {{'
"await m.loadDictionary();"
"console.log(Object.keys(m.getDictionary()).join('\\n'));"
"});",
],
text=True,
timeout=15,
)
words = {w.strip().lower() for w in out.splitlines() if w.strip() and w.strip().isalpha()}
if words:
try:
os.makedirs("/usr/share/dict", exist_ok=True)
Path("/usr/share/dict/words").write_text("\n".join(sorted(words)) + "\n", encoding="utf-8")
except OSError:
pass
return words
except Exception:
continue
return set()
@@ -788,10 +795,11 @@ Standard English spelling (`Gen 0`) carries historical silent-letter "ghost mass
set -euo pipefail
SCRIPT_DIR="$(cd "$(dirname "${{BASH_SOURCE[0]}}")" && pwd)"
REPO_DIR="${{1:-/workspace/hyperdope-gematria}}"
REPO_DIR="${{1:-/workspace/hyperdope-ci-build}}"
BRANCH="{branch_name}"
BASE_BRANCH="{base_branch}"
UPSTREAM_REPO="{upstream_repo}"
ORIGIN_URL="${{ORIGIN_URL:-ssh://git@git.libre.audio:2222/seasharp/ingglish-hyperdope-gematria.git}}"
if [ ! -d "$REPO_DIR/.git" ]; then
echo "Error: Target git repository not found at $REPO_DIR" >&2
@@ -800,6 +808,15 @@ fi
cd "$REPO_DIR"
# Configure 'origin' remote if not yet registered
if ! git remote get-url origin >/dev/null 2>&1; then
git remote add origin "$ORIGIN_URL"
echo "Configured remote 'origin' -> $ORIGIN_URL"
elif [ -n "${{FORCE_ORIGIN_URL:-}}" ]; then
git remote set-url origin "$FORCE_ORIGIN_URL"
echo "Updated remote 'origin' -> $FORCE_ORIGIN_URL"
fi
# Ensure feature branch exists and is checked out
CURRENT_BRANCH="$(git branch --show-current)"
if [ "$CURRENT_BRANCH" != "$BRANCH" ]; then
@@ -818,8 +835,11 @@ fi
echo "Committed on branch $BRANCH: $(git rev-parse --short HEAD)"
# Submit PR if push/remote credentials are configured
# First push of base branch + feature branch and optional PR creation when SUBMIT_REMOTE=1
if [ "${{SUBMIT_REMOTE:-0}}" = "1" ]; then
if git show-ref --verify --quiet "refs/heads/$BASE_BRANCH"; then
git push -u origin "$BASE_BRANCH" || true
fi
git push -u origin "$BRANCH"
if command -v gh >/dev/null 2>&1 && gh auth status >/dev/null 2>&1; then
gh pr create \\
@@ -835,11 +855,11 @@ if [ "${{SUBMIT_REMOTE:-0}}" = "1" ]; then
"https://api.github.com/repos/$UPSTREAM_REPO/pulls" \\
-d @"$SCRIPT_DIR/pr-payload.json"
else
echo "Error: Neither 'gh auth' nor GITHUB_TOKEN is active for remote PR creation." >&2
exit 2
echo "Remote branch '$BRANCH' pushed to origin. Set gh auth or GITHUB_TOKEN to also open a GitHub PR."
fi
else
echo "Local commit ready. Set SUBMIT_REMOTE=1 to push and open the GitHub PR."
echo "Local commit ready on '$BRANCH' (origin: $(git remote get-url origin))."
echo "For first push: git -C $REPO_DIR push -u origin $BASE_BRANCH $BRANCH (or SUBMIT_REMOTE=1 $0 $REPO_DIR)"
fi
"""
submit_sh_path = out_dir / "submit-pr.sh"
@@ -918,7 +938,7 @@ def apply_to_repo(repo_dir: Path, out_dir: Path, entries: list[dict], branch_nam
def main() -> int:
parser = argparse.ArgumentParser(description="CI & PR Provisioning Pipeline for Ingglish -> hyperdope-gematria.")
parser.add_argument("--archive-dir", default="/workspace/ingglish-aq-archive", help="Path to Ingglish AQ archive")
parser.add_argument("--archive-dir", default="/workspace/ingglish-hyperdope-gematria/ingglish-aq-archive", help="Path to Ingglish AQ archive")
parser.add_argument("--out-dir", default="/workspace/hyperdope-ci-build", help="Directory for CI & PR build artifacts")
parser.add_argument("--repo-dir", default="", help="Optional path to local hyperdope-gematria git clone")
parser.add_argument("--tier", type=int, default=2, choices=[1, 2], help="1 = Lexicon only, 2 = Lexicon + 333/666/777/Numogram equations")
@@ -927,6 +947,8 @@ def main() -> int:
args = parser.parse_args()
archive_dir = Path(args.archive_dir)
if not archive_dir.exists() and Path("/workspace/ingglish-aq-archive").exists():
archive_dir = Path("/workspace/ingglish-aq-archive")
out_dir = Path(args.out_dir)
out_dir.mkdir(parents=True, exist_ok=True)
@@ -945,8 +967,8 @@ def main() -> int:
if args.generate_docs:
md_out = out_dir / "ONBOARDING-INGGLISH-AQ.md"
md_out.write_text(ONBOARDING_MD_CONTENT, encoding="utf-8")
ws_md = Path("/workspace/ONBOARDING-INGGLISH-AQ.md")
ws_pdf = Path("/workspace/ONBOARDING-INGGLISH-AQ.pdf")
ws_md = Path("/workspace/ingglish-hyperdope-gematria/ONBOARDING-INGGLISH-AQ.md")
ws_pdf = Path("/workspace/ingglish-hyperdope-gematria/ONBOARDING-INGGLISH-AQ.pdf")
ws_md.write_text(ONBOARDING_MD_CONTENT, encoding="utf-8")
pdf_meta = build_onboarding_pdf(ws_pdf)
build_onboarding_pdf(out_dir / "ONBOARDING-INGGLISH-AQ.pdf")