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,23 @@
---
name: aq-tier-list-visualizer
description: "Use when building MD, PDF, and S+ to F PNG AQ tier lists."
version: 0.1.0
author: Hermes Agent
license: MIT
platforms: [linux, macos, windows]
metadata:
hermes:
tags: [gematria, qabbala, ingglish, tier-list, visualization, png, evaluation]
category: creative
related_skills: [bidirectional-aq-evaluation, phonetic-and-gematria-ciphers, isopsephic-humor-and-exegesis, current-events-isopsephic-exegesis, isopsephic-lecture-synthesis, isopsephic-wire-report-synthesis, pdf]
---
# AQ Tier List Visualizer (Markdown, PDF & S+ to F PNG)
```bash
python3 /workspace/ingglish-hyperdope-gematria/ingglish-aq-archive/scripts/generate_aq_tier_list.py \
--archive-dir /workspace/ingglish-hyperdope-gematria/ingglish-aq-archive \
--out-md /workspace/ingglish-hyperdope-gematria/dossier-bidirectional-eval-tier-list.md \
--out-pdf /workspace/ingglish-hyperdope-gematria/dossier-bidirectional-eval-tier-list.pdf \
--out-png /workspace/ingglish-hyperdope-gematria/dossier-bidirectional-eval-tier-list.png
```
@@ -0,0 +1,4 @@
# S+ to F Tier Palettes, Cutoffs & Tie-Breaking Specification
- **S+** (`95–100`, `#FF4D4D`), **S** (`90–94`, `#FF7F7F`), **A** (`81–89 [3⁴]`, `#FFBF7F`), **B** (`72–80 [8×9]`, `#FFFF7F`), **C** (`66–71`, `#7FFF7F`), **D** (`60–65`, `#7FBFFF`), **F** (`< 60`, `#BF7FFF`).
- **Deterministic Tie-Breaking:** (1) `curve_score` desc, (2) `iso_clause_count` desc, (3) `mean_abs_delta` asc, (4) `iso_word_pct` desc.
@@ -0,0 +1,462 @@
#!/usr/bin/env python3
"""
Generate synchronized Markdown (.md), ReportLab PDF (.pdf), and TierMaker-style S+ to F PNG (.png)
tier lists from all bidirectional AQ evaluations in an archive directory.
"""
import argparse
import glob
import os
import re
from xml.sax.saxutils import escape
def aq(s: str) -> int:
return sum(
(ord(c) - 48 if "0" <= c <= "9" else ord(c) - 87 if "a" <= c <= "z" else 0)
for c in s.lower()
)
def is_prime(n: int) -> bool:
if n < 2:
return False
for i in range(2, int(n**0.5) + 1):
if n % i == 0:
return False
return True
def collect_evaluations(archive_dir: str):
if not os.path.exists(archive_dir) and os.path.exists("/workspace/ingglish-aq-archive"):
archive_dir = "/workspace/ingglish-aq-archive"
eval_paths = sorted(glob.glob(os.path.join(archive_dir, "[34]*-eval-*-bidirectional.md")))
rows = []
for p in eval_paths:
with open(p, "r", encoding="utf-8") as f:
text = f.read()
eval_file = os.path.basename(p)
eval_num = re.match(r"^(\d+)-", eval_file).group(1)
title_m = re.search(r"^#\s+Bidirectional AQ Evaluation[^:]*:\s*(.+)$", text, re.M)
dossier_m = re.search(r"\*\*Source Dossier:\*\*\s*`([^`]+)`", text)
score_m = re.search(
r"\*\*Composite Fitness Score \(Option 4 Curve\):\*\*\s*\*\*(\d+)\s*/\s*100\s*—\s*(Class [SAB])[^*]*\*\*\s*\*\(Uncurved Raw Score:\s*(\d+)\s*/\s*100\)\*",
text,
)
dims = [
int(x)
for x in re.findall(r"\|\s*\*\*[1-5]\.[^*]+\*\*\s*\|\s*\*\*(\d+)\s*/\s*20\*\*", text)
]
dossier_file = os.path.basename(dossier_m.group(1)) if dossier_m else ""
dossier_num = re.match(r"^(\d+)-", dossier_file).group(1) if dossier_file else ""
dp = os.path.join(archive_dir, dossier_file)
with open(dp, "r", encoding="utf-8") as df:
dt = df.read()
eqs = re.findall(r'-\s+`([^`]+)`\s+\("([^"]+)"\)\s+—\s+`([^`]+)=\s*(\d+)`', dt)
iso_w = tot_w = p_ing = pad_cnt = iso_cl = 0
deltas = []
for ing, eng, _, _ in eqs:
if "seekrat" in ing or "hidan" in ing:
pad_cnt += 1
ec = re.sub(r"[^\w\s-]", "", eng)
ic = re.sub(r"[^\w\s-]", "", ing)
d = aq(ic) - aq(ec)
deltas.append(d)
if d == 0:
iso_cl += 1
ew, iw = ec.split(), ic.split()
if len(ew) == len(iw):
for w1, w2 in zip(ew, iw):
tot_w += 1
if aq(w1) == aq(w2):
iso_w += 1
if is_prime(aq(w2)):
p_ing += 1
ledger_rows = re.findall(
r"^\|\s*\*\*([^*]+)\*\*\s*\|\s*`[^`]+`\s*\|\s*[^|]+\|\s*([^|]+)\|\s*`[^`]+`\s*\|\s*([^|]+)\|",
text,
re.M,
)
lock1 = f"{ledger_rows[0][0].strip()}: {ledger_rows[0][1].strip()}" if len(ledger_rows) > 0 else ""
lock2 = f"{ledger_rows[1][0].strip()}: {ledger_rows[1][1].strip()}" if len(ledger_rows) > 1 else ""
lock1 = re.sub(r"`", "", lock1)[:42]
lock2 = re.sub(r"`", "", lock2)[:42]
short_title = title_m.group(1).strip() if title_m else eval_file
for pref in [
"John Carpenter's ", "Paul W. S. Anderson's ", "Alex Garland's ",
"David Cronenberg's ", "Jonathan Glazer's ", "Richard Stanley's ",
"Clive Barker's ", "Kostanski & Gillespie's ", "Andrzej Zulawski's ",
]:
if short_title.startswith(pref):
short_title = short_title[len(pref):]
if len(short_title) > 30:
short_title = re.sub(r"\s*\([^)]*\)$", "", short_title)
if len(short_title) > 30:
short_title = short_title[:28].rstrip() + ".."
rows.append(
{
"eval_file": eval_file,
"eval_num": eval_num,
"dossier_file": dossier_file,
"dossier_num": dossier_num,
"title": short_title,
"curve_score": int(score_m.group(1)),
"raw_score": int(score_m.group(3)),
"dims": dims,
"n_eq": len(eqs),
"iso_w_pct": 100.0 * iso_w / max(1, tot_w),
"prime_ing_pct": 100.0 * p_ing / max(1, tot_w),
"mean_delta": sum(abs(x) for x in deltas) / max(1, len(deltas)),
"pad_pct": 100.0 * pad_cnt / max(1, len(eqs)),
"iso_cl": iso_cl,
"lock1": lock1,
"lock2": lock2,
}
)
rows.sort(key=lambda x: (-x["curve_score"], -x["iso_cl"], x["mean_delta"], -x["iso_w_pct"]))
for idx, r in enumerate(rows, 1):
r["rank"] = f"#{idx}"
sc = r["curve_score"]
if sc >= 95:
r["tier_Band"] = "S+"
elif sc >= 90:
r["tier_Band"] = "S"
elif sc >= 81:
r["tier_Band"] = "A"
elif sc >= 72:
r["tier_Band"] = "B"
elif sc >= 66:
r["tier_Band"] = "C"
elif sc >= 60:
r["tier_Band"] = "D"
else:
r["tier_Band"] = "F"
return rows
def render_md_and_pdf(rows, out_md: str, out_pdf: str):
tot_eqs = sum(r["n_eq"] for r in rows)
lines = [
f"# Master Bidirectional AQ Evaluation Tier List (All {len(rows)} Dossiers)",
"",
"- **Active Grading Standard:** Option #4 — Hybrid Numogrammatic Curve (`Class S >= 90`, `Class A >= 81 [3⁴]`, `Class B >= 72`, `C/D/F < 72`)",
f"- **Total Corpus Audited:** {len(rows)} Dossiers, {len(rows)} Bidirectional Evaluations, **{tot_eqs} verified cross-scale equations** (`333`, `666`, `777`)",
"- **Tie-Breaking Protocol:** Within identical composite scores, entries are ordered by (1) Full-Clause Repdigit Isometry count (`Δ = 0` at `333/666/777`), then (2) lowest Mean Clause Drift (`Mean |Δ|`), then (3) highest Isometric Word %.",
"",
"---",
"",
"## 1. Master Quantitative Leaderboard (S+ to F)",
"",
"| Rank | Tier | Option #4 Score (Raw) | D1 / D2 / D3 / D4 / D5 | Evaluation Record | Source Dossier | N_eq | Iso Word % | Prime Word % (Ing) | Mean Abs(Δ) | Padding % (`seekrat`/`hidan`) |",
"| :--- | :--- | :--- | :--- | :--- | :--- | :--- | :--- | :--- | :--- | :--- |",
]
for r in rows:
d_str = " / ".join(str(x) for x in r["dims"])
lines.append(
f"| **{r['rank']}** | **Class {r['tier_Band']}** | **{r['curve_score']} / 100** *({r['raw_score']})* | `{d_str}` | `{r['eval_file']}` | `{r['dossier_file']}` | {r['n_eq']} | {r['iso_w_pct']:.1f}% | {r['prime_ing_pct']:.1f}% | {r['mean_delta']:.1f} | {r['pad_pct']:.1f}% |"
)
lines.extend(
[
"",
"---",
"",
"## 2. Unpopulated Lower Tiers (`C / D / F` Diagnostic Thresholds)",
"",
"- **Tier C (`66 – 71 pts`, Mint Green `#7FFF7F` — High-Padding Band):** `0 Dossiers`. Reserved for dossiers with `>60%` generic `seekrat/hidan` padding and zero compensating `Δ = 0` full-clause or consecutive-prime rarity locks.",
"- **Tier D (`60 – 65 pts`, Sky Blue `#7FBFFF` — Marginal Band):** `0 Dossiers`. Reserved for dossiers with `0` independent domain-native equivalence classes, `<10%` prime word density, and `Mean |Δ| > 50`.",
f"- **Tier F (`< 60 pts`, Violet `#BF7FFF` — Discard Band):** `0 Dossiers`. Rejected by Post-Write Arithmetic Audit (`{tot_eqs} / {tot_eqs}` archive equations verified exact with `0` sum mismatches).",
]
)
if out_md:
with open(out_md, "w", encoding="utf-8") as f:
f.write("\n".join(lines) + "\n")
if out_pdf and out_md and os.path.exists(out_md):
try:
from reportlab.lib.pagesizes import letter
except ImportError:
import subprocess, sys
subprocess.run(
[sys.executable, "-m", "pip", "install", "--root-user-action=ignore", "--cache-dir", "/tmp/.pip", "reportlab", "pypdf", "pdfplumber"],
check=True,
stdout=subprocess.DEVNULL,
)
from reportlab.lib.pagesizes import letter
from reportlab.lib.styles import getSampleStyleSheet, ParagraphStyle
from reportlab.lib import colors
from reportlab.platypus import SimpleDocTemplate, Paragraph, Spacer, HRFlowable
def fmt_inline(text):
text = escape(text)
text = text.replace("Δ", '<font name="Symbol">D</font>')
text = text.replace("μ", '<font name="Symbol">m</font>')
text = text.replace("σ", '<font name="Symbol">s</font>')
text = text.replace("π", '<font name="Symbol">p</font>')
text = (
text.replace("⁴", "<super>4</super>")
.replace("⁵", "<super>5</super>")
.replace("⁶", "<super>6</super>")
.replace("⁷", "<super>7</super>")
)
code_spans = []
def _save_code(m):
idx = len(code_spans)
code_spans.append(f'<font name="Courier">{m.group(1)}</font>')
return f"\x00CODE{idx}\x00"
text = re.sub(r"`([^`]+)`", _save_code, text)
text = re.sub(r"\*\*([^*]+)\*\*", r"<b>\1</b>", text)
text = re.sub(r"\*([^*]+)\*", r"<i>\1</i>", text)
for idx, span in enumerate(code_spans):
text = text.replace(f"\x00CODE{idx}\x00", span)
return text
def add_page_number(canvas, doc):
canvas.saveState()
canvas.setFont("Helvetica", 9)
canvas.setFillColor(colors.HexColor("#555555"))
canvas.drawRightString(letter[0] - 54, 36, f"Page {doc.page}")
canvas.restoreState()
with open(out_md, "r", encoding="utf-8") as f:
md_lines = f.read().splitlines()
doc = SimpleDocTemplate(out_pdf, pagesize=letter, leftMargin=54, rightMargin=54, topMargin=54, bottomMargin=54)
styles = getSampleStyleSheet()
h1 = ParagraphStyle("H1", parent=styles["Heading1"], fontName="Helvetica-Bold", fontSize=15, leading=19, spaceAfter=8)
h2 = ParagraphStyle("H2", parent=styles["Heading2"], fontName="Helvetica-Bold", fontSize=12.5, leading=16, spaceBefore=10, spaceAfter=6)
h3 = ParagraphStyle("H3", parent=styles["Heading3"], fontName="Helvetica-Bold", fontSize=10.5, leading=14, spaceBefore=8, spaceAfter=4)
body = ParagraphStyle("Body", parent=styles["Normal"], fontName="Helvetica", fontSize=9.5, leading=13.5, spaceAfter=5)
bullet = ParagraphStyle("Bullet", parent=body, leftIndent=14, firstLineIndent=-8, spaceAfter=4)
story, headers, in_table, in_code = [], [], False, False
for line in md_lines:
s = line.strip()
if s.startswith("```"):
in_code = not in_code
continue
if in_code or not s:
if not s:
in_table, headers = False, []
continue
if s == "---":
story.extend([Spacer(1, 4), HRFlowable(width="100%", thickness=0.6, color=colors.HexColor("#cccccc")), Spacer(1, 4)])
continue
if s.startswith("|") and s.endswith("|"):
cells = [c.strip() for c in re.split(r'(?<!\\)\|(?=(?:[^`]*`[^`]*`)*[^`]*$)', s)[1:-1]]
if all(re.match(r"^:?-+:?$", c) for c in cells):
in_table = True
continue
if not in_table and not headers:
headers = cells
continue
parts = [f"**{re.sub(r'\\*\\*([^*]+)\\*\\*', r'\\1', h)}:** {v}" for h, v in zip(headers, cells)]
story.append(Paragraph("• " + fmt_inline(" | ".join(parts)), bullet))
continue
in_table, headers = False, []
if s.startswith("# "):
story.append(Paragraph(fmt_inline(s[2:]), h1))
elif s.startswith("## "):
story.append(Paragraph(fmt_inline(s[3:]), h2))
elif s.startswith("### "):
story.append(Paragraph(fmt_inline(s[4:]), h3))
elif s.startswith("- ") or re.match(r"^\d+\.\s+", s):
story.append(Paragraph("• " + fmt_inline(re.sub(r"^(-\s+|\d+\.\s+)", "", s)), bullet))
else:
story.append(Paragraph(fmt_inline(s), body))
doc.build(story, onFirstPage=add_page_number, onLaterPages=add_page_number)
def render_png(rows, out_png: str):
from PIL import Image, ImageDraw, ImageFont
FONT_BOLD = "/usr/share/fonts/truetype/dejavu/DejaVuSans-Bold.ttf"
FONT_REG = "/usr/share/fonts/truetype/dejavu/DejaVuSans.ttf"
FONT_MONO = "/usr/share/fonts/truetype/dejavu/DejaVuSansMono-Bold.ttf"
FONT_MONO_REG = "/usr/share/fonts/truetype/liberation/LiberationMono-Regular.ttf"
f_title = ImageFont.truetype(FONT_BOLD, 34)
f_subtitle = ImageFont.truetype(FONT_REG, 18)
f_tier_big = ImageFont.truetype(FONT_BOLD, 50)
f_tier_sub = ImageFont.truetype(FONT_BOLD, 13)
f_card_rank = ImageFont.truetype(FONT_BOLD, 16)
f_card_title = ImageFont.truetype(FONT_BOLD, 19)
f_card_dossier = ImageFont.truetype(FONT_MONO_REG, 13)
f_card_lock = ImageFont.truetype(FONT_MONO, 13)
f_card_stat = ImageFont.truetype(FONT_REG, 13)
f_empty = ImageFont.truetype(FONT_REG, 18)
f_empty_bold = ImageFont.truetype(FONT_BOLD, 18)
f_footer = ImageFont.truetype(FONT_REG, 15)
tier_defs = [
("S+", "95 – 100 pts", "APEX LOCK", "#FF4D4D", "0 Dossiers in Tier S+", ""),
("S", "90 – 94 pts", "CANONICAL", "#FF7F7F", "0 Dossiers in Tier S", ""),
("A", "81 – 89 pts [3⁴]", "STRUCTURAL", "#FFBF7F", "0 Dossiers in Tier A", ""),
("B", "72 – 80 pts [8×9]", "MODULAR SWAP", "#FFFF7F", "0 Dossiers in Tier B", ""),
(
"C",
"66 – 71 pts",
"HIGH-PADDING",
"#7FFF7F",
"0 Dossiers in Tier C (66 – 71 pts — High-Padding / Low-Collision Band)",
"Threshold for dossiers with >60% generic 'seekrat/hidan' padding and zero Full-Clause (Δ=0) or Consecutive-Prime Rarity Bonuses.",
),
(
"D",
"60 – 65 pts",
"MARGINAL",
"#7FBFFF",
"0 Dossiers in Tier D (60 – 65 pts — Marginal / Unanchored Scaffolding Band)",
"Threshold for dossiers with 0 independent domain-native equivalence locks, <10% prime word density, and Mean |Δ| > 50.",
),
(
"F",
"< 60 pts",
"DISCARD",
"#BF7FFF",
"0 Dossiers in Tier F (< 60 pts — Non-Deterministic / Arithmetic Failure / Discard)",
"Rejected by Post-Write Arithmetic Audit (100% of archive equations verified exact with 0 sum mismatches).",
),
]
W = 1960
MARGIN_X = 28
HEADER_H = 118
FOOTER_H = 64
LABEL_W = 210
ROW_GAP = 8
CARD_W = 546
CARD_H = 156
CARD_GAP_X = 14
CARD_GAP_Y = 14
ROW_PAD_Y = 14
ROW_PAD_X = 16
grouped = {t[0]: [] for t in tier_defs}
for r in rows:
grouped[r["tier_Band"]].append(r)
tier_heights = []
for t in tier_defs:
cards = grouped[t[0]]
if not cards:
tier_heights.append(104)
else:
rc = (len(cards) + 2) // 3
tier_heights.append(ROW_PAD_Y * 2 + rc * CARD_H + (rc - 1) * CARD_GAP_Y)
H = HEADER_H + sum(tier_heights) + ROW_GAP * (len(tier_defs) - 1) + FOOTER_H
img = Image.new("RGB", (W, H), "#121316")
draw = ImageDraw.Draw(img)
tot_eqs = sum(r["n_eq"] for r in rows)
draw.rectangle([0, 0, W, HEADER_H - 8], fill="#18191D")
draw.line([(0, HEADER_H - 8), (W, HEADER_H - 8)], fill="#333640", width=2)
draw.text(
(MARGIN_X, 22),
"INGGLISH AQ ARCHIVE — MASTER BIDIRECTIONAL EVALUATION TIER LIST (S+ TO F)",
fill="#F5F6F8",
font=f_title,
)
draw.text(
(MARGIN_X, 68),
f"All {len(rows)} Dossiers ({tot_eqs} Verified Equations) | Graded on Option #4: Hybrid Numogrammatic Curve (Class S >= 90, Class A >= 81 [3⁴], Class B >= 72, C/D/F < 72)",
fill="#A5AAB5",
font=f_subtitle,
)
def draw_centered(box, text, font, fill):
x0, y0, x1, y1 = box
bbox = draw.textbbox((0, 0), text, font=font)
tw, th_b = bbox[2] - bbox[0], bbox[3] - bbox[1]
tx = x0 + (x1 - x0 - tw) / 2 - bbox[0]
ty = y0 + (y1 - y0 - th_b) / 2 - bbox[1]
draw.text((tx, ty), text, fill=fill, font=font)
cur_y = HEADER_H
for (label, rng, desc, bg, empty_t, empty_d), th in zip(tier_defs, tier_heights):
x0, x1 = MARGIN_X, W - MARGIN_X
y0, y1 = cur_y, cur_y + th
draw.rectangle([x0, y0, x1, y1], fill="#1E2026", outline="#090A0C", width=3)
lx0, ly0, lx1, ly1 = x0 + 3, y0 + 3, x0 + LABEL_W, y1 - 3
draw.rectangle([lx0, ly0, lx1, ly1], fill=bg)
draw.line([(lx1, ly0), (lx1, ly1)], fill="#090A0C", width=4)
mid_y = (ly0 + ly1) / 2
draw_centered((lx0, mid_y - 42, lx1, mid_y + 2), label, f_tier_big, "#111111")
draw_centered((lx0, mid_y + 10, lx1, mid_y + 26), rng, f_tier_sub, "#1A1A1A")
draw_centered((lx0, mid_y + 27, lx1, mid_y + 43), desc, f_tier_sub, "#2A2A2A")
rx0, ry0 = lx1 + ROW_PAD_X, y0 + ROW_PAD_Y
cards = grouped[label]
if not cards:
ex0, ey0, ex1, ey1 = rx0, y0 + 16, x1 - ROW_PAD_X, y1 - 16
draw.rounded_rectangle([ex0, ey0, ex1, ey1], radius=8, fill="#16181D", outline="#2C303A", width=2)
draw.rounded_rectangle([ex0, ey0, ex0 + 8, ey1], radius=4, fill=bg)
draw.text((ex0 + 24, ey0 + 14), empty_t, fill="#C8CDD8", font=f_empty_bold)
draw.text((ex0 + 24, ey0 + 42), empty_d, fill="#7F8594", font=f_empty)
else:
for idx, c in enumerate(cards):
col, row = idx % 3, idx // 3
cx0 = rx0 + col * (CARD_W + CARD_GAP_X)
cy0 = ry0 + row * (CARD_H + CARD_GAP_Y)
cx1, cy1 = cx0 + CARD_W, cy0 + CARD_H
draw.rounded_rectangle([cx0, cy0, cx1, cy1], radius=8, fill="#262932", outline="#383C4A", width=2)
draw.rounded_rectangle([cx0, cy0, cx1, cy0 + 6], radius=4, fill=bg)
draw.rounded_rectangle([cx0 + 12, cy0 + 14, cx0 + 60, cy0 + 40], radius=5, fill="#15171C", outline=bg, width=1)
draw_centered((cx0 + 12, cy0 + 14, cx0 + 60, cy0 + 40), c["rank"], f_card_rank, bg)
score_txt = f"{c['curve_score']}/100 (Raw {c['raw_score']})"
sb_w = 158
draw.rounded_rectangle([cx1 - sb_w - 12, cy0 + 14, cx1 - 12, cy0 + 40], radius=5, fill="#15171C", outline="#454A59", width=1)
draw_centered((cx1 - sb_w - 12, cy0 + 14, cx1 - 12, cy0 + 40), score_txt, f_card_rank, "#F0F2F5")
codes = f"Eval {c['eval_num']} • Dossier {c['dossier_num']}"
draw.text((cx0 + 70, cy0 + 19), codes, fill="#9DA3B4", font=f_card_dossier)
draw.text((cx0 + 14, cy0 + 47), c["title"], fill="#FFFFFF", font=f_card_title)
draw.line([(cx0 + 14, cy0 + 74), (cx1 - 14, cy0 + 74)], fill="#363A47", width=1)
draw.text((cx0 + 14, cy0 + 80), "• " + c["lock1"], fill="#FFD97D", font=f_card_lock)
draw.text((cx0 + 14, cy0 + 99), "• " + c["lock2"], fill="#A8E6CF", font=f_card_lock)
stats = f"IsoW: {c['iso_w_pct']:.1f}% | PrimeW: {c['prime_ing_pct']:.1f}% | Mean|Δ|: {c['mean_delta']:.1f} | Pad: {c['pad_pct']:.1f}%"
draw.rounded_rectangle([cx0 + 10, cy1 - 32, cx1 - 10, cy1 - 8], radius=4, fill="#1A1C23")
draw.text((cx0 + 16, cy1 - 28), stats, fill="#CED3E0", font=f_card_stat)
cur_y += th + ROW_GAP
fy = H - FOOTER_H + 16
draw.text(
(MARGIN_X, fy),
"Rubric Dimensions (20 pts each): D1 = CMUdict Purity & Mean Clause Drift | D2 = Independent Domain-Native Collision Density | D3 = Repdigit & Prime Word Architecture (+Rarity Bonus) | D4 = Epistemological Fit | D5 = Anti-Padding Rate",
fill="#8C92A4",
font=f_footer,
)
img.save(out_png, "PNG", optimize=True)
def main():
ap = argparse.ArgumentParser()
ap.add_argument("--archive-dir", default="/workspace/ingglish-hyperdope-gematria/ingglish-aq-archive")
ap.add_argument("--out-md", default="/workspace/ingglish-hyperdope-gematria/dossier-bidirectional-eval-tier-list.md")
ap.add_argument("--out-pdf", default="/workspace/ingglish-hyperdope-gematria/dossier-bidirectional-eval-tier-list.pdf")
ap.add_argument("--out-png", default="/workspace/ingglish-hyperdope-gematria/dossier-bidirectional-eval-tier-list.png")
args = ap.parse_args()
rows = collect_evaluations(args.archive_dir)
render_md_and_pdf(rows, args.out_md, args.out_pdf)
render_png(rows, args.out_png)
print(f"Ranked {len(rows)} evaluations -> {args.out_md}, {args.out_pdf}, {args.out_png}")
if __name__ == "__main__":
main()
@@ -0,0 +1,23 @@
---
name: bidirectional-aq-evaluation
description: "Use when evaluating or comparing English and Ingglish AQ."
version: 0.1.0
author: Hermes Agent
license: MIT
platforms: [linux, macos, windows]
metadata:
hermes:
tags: [gematria, qabbala, ingglish, evaluation, rubric, isopsephy, hyperstition]
category: creative
related_skills: [phonetic-and-gematria-ciphers, isopsephic-humor-and-exegesis, current-events-isopsephic-exegesis, aq-tier-list-visualizer, isopsephic-lecture-synthesis, isopsephic-wire-report-synthesis, pdf]
---
# Bidirectional English / Ingglish AQ Evaluation & Synthesis
Evaluate, compare, and score Alphanumeric Qabbala (AQ) words, phrases, headlines, and dossiers across **Standard English** (`Gen 0`) and **Ingglish** (`Gen 1`).
```bash
node /workspace/ingglish-hyperdope-gematria/ingglish-aq-archive/scripts/evaluate_aq.mjs \
--eng "the secret spiral beneath the numbers" \
--ing "dha seekrat spairal bineeth dha nuhmberz"
```
@@ -0,0 +1,10 @@
# Bidirectional Evaluation Rubric & Epistemological Framework (English vs. Ingglish AQ)
- **Three Isometric Classes (`Δ = 0`):** Type I (`thing = 103`), Type II (`ghost == gohst = 114`), Type III (`iron == aiern = 92`, `demon == deeman = 96`, `spider head == spaider hed = 179`, `puddle == puhdal = 116`).
- **Option #4 Hybrid Numogrammatic Curve (`100 pts` across `D1..D5`):**
- `Class S+`: `95–100 pts`
- `Class S`: `90–94 pts`
- `Class A`: `81–89 pts` (`81 = 3⁴`)
- `Class B`: `72–80 pts` (`72 = 8 × 9`)
- `Class C/D/F`: `< 72 pts`
- **Six Genealogical Fitness Vectors (`G1–G6`):** Intergenerational Convergence (`G1`), Division of Epistemic Labor (`G2`), Quantized Mutation Step `±37 / -40` (`G3`), Hereditary Invariance `Δ = 0` (`G4`), Prime-to-Repdigit Selection Pressure (`G5`), and Diegetic Expressivity (`G6`).
@@ -0,0 +1,361 @@
#!/usr/bin/env node
/**
* evaluate_aq.mjs
* Deterministic Bidirectional English / Ingglish Alphanumeric Qabbala (AQ) Evaluator.
* Supports:
* Mode A (AND): --eng "<phrase>" --ing "<phrase>"
* Mode B (XOR Eng): --eng "<phrase>" (generates Ingglish via CMUdict + archive lexicon)
* Mode C (XOR Ing): --ing "<phrase>" (reconstructs English via archive lexicon + reverseTranslate + homophone forks)
*/
import fs from "node:fs";
import path from "node:path";
import { pathToFileURL } from "node:url";
async function loadIngglishModule() {
const candidates = [
"/workspace/ingglish-hyperdope-gematria/node_modules/ingglish/dist/index.js",
"/workspace/node_modules/ingglish/dist/index.js",
"/opt/ingglish-exegesis/node_modules/ingglish/dist/index.js",
];
for (const p of candidates) {
if (fs.existsSync(p)) {
return await import(pathToFileURL(p).href);
}
}
return await import("ingglish");
}
function computeAQ(text) {
let total = 0;
for (const ch of String(text).toLowerCase()) {
const code = ch.charCodeAt(0);
if (code >= 48 && code <= 57) {
total += code - 48;
} else if (code >= 97 && code <= 122) {
total += code - 97 + 10;
}
}
return total;
}
function buildPrimes(limit = 20000) {
const sieve = new Uint8Array(limit + 1);
sieve.fill(1);
sieve[0] = 0;
sieve[1] = 0;
for (let i = 2; i * i <= limit; i++) {
if (sieve[i]) {
for (let j = i * i; j <= limit; j += i) sieve[j] = 0;
}
}
const primeRank = new Map();
let rank = 0;
for (let n = 2; n <= limit; n++) {
if (sieve[n]) {
rank += 1;
primeRank.set(n, rank);
}
}
return primeRank;
}
const PRIME_RANK = buildPrimes(20000);
function factorize(n) {
if (n < 2) return String(n);
if (PRIME_RANK.has(n)) {
return `${n} [PRIME #${PRIME_RANK.get(n)}]`;
}
let temp = n;
const factors = [];
for (let d = 2; d * d <= temp; d += d === 2 ? 1 : 2) {
let count = 0;
while (temp % d === 0) {
count += 1;
temp = Math.floor(temp / d);
}
if (count > 0) {
factors.push(count === 1 ? `${d}` : `${d}^${count}`);
}
}
if (temp > 1) factors.push(`${temp}`);
return `${n} (${factors.join(" × ")})`;
}
const HOMOPHONE_FORKS = new Map([
["ai", ["I", "eye", "AI"]],
["nait", ["night", "knight"]],
["rait", ["write", "right", "rite"]],
["raits", ["writes", "rights", "rites"]],
["see", ["sea", "see"]],
["too", ["to", "too", "two"]],
["suhn", ["sun", "son"]],
["noo", ["new", "knew"]],
["hart", ["heart", "hart"]],
["seer", ["seer", "sear"]],
["werd", ["word", "whirred"]],
]);
const PROPER_NOUN_OVERRIDES_ENG_TO_ING = new Map([
["typhon", "taifan"],
["apophis", "apawfis"],
["joshua", "joshooa"],
["ramey", "raymee"],
["outpost", "outpohst"],
["childs", "chaildz"],
["macready", "makreedee"],
]);
function loadArchiveLexicon() {
const engToIng = new Map(PROPER_NOUN_OVERRIDES_ENG_TO_ING);
const ingToEng = new Map([
["dha", "the"],
["uhv", "of"],
["spairal", "spiral"],
["flaymethroher", "flamethrower"],
["outpohst", "outpost"],
["chaildz", "childs"],
["ayleean", "alien"],
["wiskee", "whiskey"],
["aiern", "iron"],
["deeman", "demon"],
["gohst", "ghost"],
["gohsts", "ghosts"],
["spaider", "spider"],
["hed", "head"],
["taifan", "typhon"],
["apawfis", "apophis"],
["joshooa", "joshua"],
["raymee", "ramey"],
]);
const lexPaths = [
"/workspace/ingglish-hyperdope-gematria/ingglish-aq-archive/01-ingglish-aq-lexicon.md",
"/workspace/ingglish-aq-archive/01-ingglish-aq-lexicon.md",
];
for (const lp of lexPaths) {
if (!fs.existsSync(lp)) continue;
const text = fs.readFileSync(lp, "utf8");
const bulletRe = /^-\s*`([^`]+)`\s*\("([^"]+)"\)\s*=\s*(\d+)/gm;
let m;
while ((m = bulletRe.exec(text)) !== null) {
const ing = m[1].trim().toLowerCase();
const eng = m[2].trim().toLowerCase();
if (!ingToEng.has(ing)) ingToEng.set(ing, eng);
if (!engToIng.has(eng)) engToIng.set(eng, ing);
}
break;
}
return { engToIng, ingToEng };
}
function classifyIsometry(engWord, ingWord, engAq, ingAq) {
if (engAq !== ingAq) return null;
const eClean = engWord.toLowerCase().replace(/[^a-z0-9]/g, "");
const iClean = ingWord.toLowerCase().replace(/[^a-z0-9]/g, "");
if (eClean === iClean) return "Type I (Invariant)";
const eSorted = eClean.split("").sort().join("");
const iSorted = iClean.split("").sort().join("");
if (eSorted === iSorted) return "Type II (Anagram)";
return "Type III (Compensatory Split)";
}
function parseArgs(argv) {
const args = { eng: null, ing: null, jsonOnly: false };
for (let i = 2; i < argv.length; i++) {
const a = argv[i];
if (a === "--eng" && i + 1 < argv.length) {
args.eng = argv[++i];
} else if (a === "--ing" && i + 1 < argv.length) {
args.ing = argv[++i];
} else if (a === "--json") {
args.jsonOnly = true;
} else if (a === "-h" || a === "--help") {
console.log(
"Usage: node evaluate_aq.mjs [--eng \"<english phrase>\"] [--ing \"<ingglish phrase>\"] [--json]"
);
process.exit(0);
}
}
if (!args.eng && !args.ing) {
console.error("Error: supply --eng, --ing, or both.");
process.exit(1);
}
return args;
}
async function main() {
const args = parseArgs(process.argv);
const ingglish = await loadIngglishModule();
const { engToIng, ingToEng } = loadArchiveLexicon();
let mode = "AND (Bidirectional Present)";
let engPhrase = args.eng ? args.eng.trim() : "";
let ingPhrase = args.ing ? args.ing.trim() : "";
if (engPhrase && !ingPhrase) {
mode = "XOR (English -> Ingglish)";
const rawTokens = engPhrase.split(/\s+/);
const outTokens = [];
for (const tok of rawTokens) {
const clean = tok.toLowerCase().replace(/[^a-z0-9'-]/g, "");
if (PROPER_NOUN_OVERRIDES_ENG_TO_ING.has(clean)) {
outTokens.push(PROPER_NOUN_OVERRIDES_ENG_TO_ING.get(clean));
} else {
const tr = await ingglish.translate(tok);
outTokens.push(tr.toLowerCase());
}
}
ingPhrase = outTokens.join(" ");
} else if (!engPhrase && ingPhrase) {
mode = "XOR (Ingglish -> English)";
const rawTokens = ingPhrase.split(/\s+/);
const outTokens = [];
for (const tok of rawTokens) {
const clean = tok.toLowerCase().replace(/[^a-z0-9'-]/g, "");
if (ingToEng.has(clean)) {
outTokens.push(ingToEng.get(clean));
} else if (typeof ingglish.reverseTranslate === "function") {
const rev = await ingglish.reverseTranslate(clean);
outTokens.push((rev || clean).toLowerCase());
} else {
outTokens.push(clean);
}
}
engPhrase = outTokens.join(" ");
}
const engWords = engPhrase.split(/\s+/).filter(Boolean);
const ingWords = ingPhrase.split(/\s+/).filter(Boolean);
const engAq = computeAQ(engPhrase);
const ingAq = computeAQ(ingPhrase);
const netDelta = ingAq - engAq;
const tokenComparison = [];
const homophoneForksFound = [];
let isoWordCount = 0;
let primeIngWordCount = 0;
let paddingWordCount = 0;
const maxLen = Math.max(engWords.length, ingWords.length);
for (let i = 0; i < maxLen; i++) {
const ew = engWords[i] || "";
const iw = ingWords[i] || "";
const eVal = computeAQ(ew);
const iVal = computeAQ(iw);
const dVal = iVal - eVal;
const isoType = ew && iw ? classifyIsometry(ew, iw, eVal, iVal) : null;
if (isoType) isoWordCount += 1;
if (PRIME_RANK.has(iVal)) primeIngWordCount += 1;
const iwClean = iw.toLowerCase().replace(/[^a-z0-9]/g, "");
if (iwClean === "seekrat" || iwClean === "hidan") paddingWordCount += 1;
if (HOMOPHONE_FORKS.has(iwClean)) {
const branches = HOMOPHONE_FORKS.get(iwClean).map((b) => ({
eng: b,
eng_aq: computeAQ(b),
eng_prime_rank: PRIME_RANK.get(computeAQ(b)) || null,
}));
homophoneForksFound.push({ ing: iwClean, ing_aq: iVal, branches });
}
tokenComparison.push({
eng_token: ew,
eng_aq: eVal,
eng_prime_rank: PRIME_RANK.get(eVal) || null,
ing_token: iw,
ing_aq: iVal,
ing_prime_rank: PRIME_RANK.get(iVal) || null,
delta: dVal,
isometry: isoType,
});
}
const isoRatePct = Number(((100 * isoWordCount) / Math.max(1, maxLen)).toFixed(1));
const primeIngRatePct = Number(((100 * primeIngWordCount) / Math.max(1, maxLen)).toFixed(1));
const paddingRatePct = Number(((100 * paddingWordCount) / Math.max(1, maxLen)).toFixed(1));
// Compute 5-dimension rubric score
const absDelta = Math.abs(netDelta);
let d1 = absDelta === 0 ? 20 : absDelta <= 35 ? 19 : absDelta <= 50 ? 18 : 17;
if (isoWordCount > 0 && d1 < 20) d1 = Math.min(20, d1 + 1);
const repdigits = new Set([111, 222, 333, 444, 555, 666, 777, 888, 999]);
const syzygies = new Set([81, 108, 216, 495]);
const twinPrimeClause = PRIME_RANK.has(engAq) && PRIME_RANK.has(ingAq);
const exact37Step = absDelta > 0 && absDelta % 37 === 0;
let d2 = homophoneForksFound.length > 0 || isoWordCount >= 2 ? 19 : 18;
let d3 = 17;
if (repdigits.has(ingAq) || repdigits.has(engAq)) d3 += 2;
if (twinPrimeClause || exact37Step || syzygies.has(ingAq)) d3 += 1;
if (primeIngRatePct >= 18) d3 += 1;
d3 = Math.min(20, d3);
let d4 = 18 + (homophoneForksFound.length > 0 || ingWords.includes("dha") ? 1 : 0);
d4 = Math.min(20, d4);
let d5 = paddingRatePct === 0 ? 19 : paddingRatePct < 15 ? 18 : paddingRatePct <= 30 ? 16 : 14;
if (netDelta === 0 && repdigits.has(ingAq)) d5 = 20;
const totalScore = d1 + d2 + d3 + d4 + d5;
const tier =
totalScore >= 95
? "Class S+ (Apex Lock)"
: totalScore >= 90
? "Class S (Canonical Lock)"
: totalScore >= 81
? "Class A (Structural Entry)"
: totalScore >= 72
? "Class B (Modular Entry)"
: "Class C/D/F";
const payload = {
mode,
english: {
phrase: engPhrase,
aq: engAq,
factorization: factorize(engAq),
is_prime: PRIME_RANK.has(engAq),
prime_rank: PRIME_RANK.get(engAq) || null,
breakdown: tokenComparison.map((t) => `${t.eng_token} (${t.eng_aq})`).join(" + ") + ` = ${engAq}`,
},
ingglish: {
phrase: ingPhrase,
aq: ingAq,
factorization: factorize(ingAq),
is_prime: PRIME_RANK.has(ingAq),
prime_rank: PRIME_RANK.get(ingAq) || null,
breakdown: tokenComparison.map((t) => `${t.ing_token} (${t.ing_aq})`).join(" + ") + ` = ${ingAq}`,
},
drift: {
net_delta: netDelta,
abs_delta: absDelta,
quantized_37_step: exact37Step,
full_clause_isometry: netDelta === 0,
twin_prime_clause: twinPrimeClause,
isometric_word_count: isoWordCount,
isometric_word_rate_pct: isoRatePct,
prime_ing_word_rate_pct: primeIngRatePct,
padding_rate_pct: paddingRatePct,
},
tokens: tokenComparison,
homophone_forks: homophoneForksFound,
rubric: {
D1_determinism_and_drift: d1,
D2_collision_density: d2,
D3_repdigit_and_prime_arch: d3,
D4_epistemological_fit: d4,
D5_syntactic_anti_padding: d5,
composite_score: totalScore,
classification: tier,
},
};
console.log(JSON.stringify(payload, null, 2));
}
main().catch((err) => {
console.error(err);
process.exit(1);
});
@@ -0,0 +1,17 @@
---
name: current-events-isopsephic-exegesis
description: "Use when analyzing news or current events with gematria."
version: 0.1.0
author: Hermes Agent
license: MIT
platforms: [linux, macos, windows]
metadata:
hermes:
tags: [gematria, qabbala, isopsephy, ingglish, current-events, news, exegesis, hyperstition]
category: creative
related_skills: [phonetic-and-gematria-ciphers, isopsephic-humor-and-exegesis, bidirectional-aq-evaluation, aq-tier-list-visualizer, isopsephic-lecture-synthesis, isopsephic-wire-report-synthesis, pdf]
---
# Current Events Isopsephic Analysis & Synchronic Exegesis
Harvest breaking or most-viewed news headlines across Wikipedia `Portal:Current_events`, BBC News, and AP News via `/workspace/ingglish-hyperdope-gematria/ingglish-aq-archive/scripts/collect_news_aq.py` (`TZ=UTC`), compute English and Ingglish Base-36 AQ sums, extract cross-story equivalence locks, and synthesize a dated `2X-dossier-news-YYYY-MM-DD.md` dossier.
@@ -0,0 +1,5 @@
# Synchronic Exegesis Framework for Current Events
1. **The Carrier-Wave / Wire-Feed Convergence:** Twin-prime headlines and shared prime factor attractors (`p >= 13`).
2. **The Synchronic Short-Circuit (`Story A == Story B == N`):** Cross-story Ingglish AQ collisions and isometric fixed points (`Δ = 0`).
3. **Cross-Scale Ledger Closure (`333 -> 666 -> 777`):** Modular swap equivalence across news clusters.
@@ -0,0 +1,5 @@
# Scheduled Execution, Temporal Dynamics & Portable Packaging
1. **Wikipedia 00:00 GMT Boundary Rule:** At `00:00–05:59 UTC` (`--mode closing-bell`), harvest `now_utc - 24h`.
2. **Daily Cron & Systemd Timer Architecture:** Pin `TZ=UTC` inside `collect_news_aq.py` and convert `00:00 GMT` to host local time when registering user crontab entries.
3. **Enterprise Linux Packaging:** Supports Rootless Podman Quadlet (`Containerfile.ubi9`), Noarch RPM (`ingglish-isopsephic-exegesis.spec`), and portable bundle (`install.sh` + `ingglish-vendor.tgz`).
@@ -346,10 +346,15 @@ def load_prior_dossiers(archive_dir: str) -> dict[str, Any]:
}
def batch_translate_ingglish(strings: list[str], workdir: str = "/workspace") -> dict[str, str]:
def batch_translate_ingglish(strings: list[str], workdir: str = "/workspace/ingglish-hyperdope-gematria") -> dict[str, str]:
"""Run a single Node script invoking `ingglish` on all input strings."""
if not strings:
return {}
if not os.path.exists(os.path.join(workdir, "node_modules")):
for candidate_wd in ("/workspace/ingglish-hyperdope-gematria", "/workspace", "/opt/ingglish-exegesis"):
if os.path.exists(os.path.join(candidate_wd, "node_modules")):
workdir = candidate_wd
break
node_code = """
import { translate } from 'ingglish';
import fs from 'fs';
@@ -424,11 +429,13 @@ def main() -> int:
default="auto",
help="Date resolution mode (auto uses closing-bell at 00:00-05:59 UTC).",
)
parser.add_argument("--archive-dir", default="/workspace/ingglish-aq-archive")
parser.add_argument("--workdir", default="/workspace")
parser.add_argument("--archive-dir", default="/workspace/ingglish-hyperdope-gematria/ingglish-aq-archive")
parser.add_argument("--workdir", default="/workspace/ingglish-hyperdope-gematria")
parser.add_argument("--out", default=None, help="Optional file path to also save JSON output.")
args = parser.parse_args()
if not os.path.exists(args.archive_dir) and os.path.exists("/workspace/ingglish-aq-archive"):
args.archive_dir = "/workspace/ingglish-aq-archive"
now_utc = datetime.datetime.now(datetime.timezone.utc)
date_info = resolve_target_dates(now_utc, explicit_date=args.date, mode=args.mode)
@@ -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")
@@ -0,0 +1,17 @@
---
name: isopsephic-humor-and-exegesis
description: "Use when crafting gematria/AQ jokes and exegesis."
version: 0.1.0
author: Hermes Agent
license: MIT
platforms: [linux, macos, windows]
metadata:
hermes:
tags: [gematria, qabbala, isopsephy, ingglish, humor, exegesis, semiotics]
category: creative
related_skills: [phonetic-and-gematria-ciphers, current-events-isopsephic-exegesis, bidirectional-aq-evaluation, aq-tier-list-visualizer, isopsephic-lecture-synthesis, isopsephic-wire-report-synthesis, pdf]
---
# Isopsephic Humor and Plot-Coherent Exegesis
Construct deadpan numerological/gematria jokes grounded in verified Alphanumeric Qabbala (AQ) or phonetic-orthographic (Ingglish) equivalence classes, paired with plot-coherent three-part exegesis (`<slug>-aq-joke-and-explanation.{md,pdf}`).
@@ -0,0 +1,4 @@
# Canonical Examples of Isopsephic Humor & Exegesis
- **Dossier 24 (*The Thing*):** `chaildz (126) == ayleean (126) == wiskee (126)` -> `chaildz (126) + in (41) + dha (40) + wiskee (126) = 333`.
- **Dossier 23 (*The Dark Tower*):** `touer (124) == kan-toi (124)`, `braykerz (178) == dorkeeper (178)`, `maind (86) == guhn (86) == padik (86)`.
@@ -0,0 +1,7 @@
# Taxonomy & Genealogy of Modes of Outsideness
1. **Epistemic / Mimetic Outsideness:** *The Thing* (1982), *Under the Skin* (2013).
2. **Hyperstitional / Semiotic Outsideness:** *In the Mouth of Madness* (1994), *The Dark Tower* (2017).
3. **Signal / Machinic / Relativistic Outsideness:** *Videodrome* (1983), *Prince of Darkness* (1987), *Event Horizon* (1997).
4. **Prismatic / Xenoforming Outsideness:** *Annihilation* (2018), *Color Out of Space* (2019).
5. **Libidinal / Combinatorial / Labyrinthine Outsideness:** *Hellraiser* (1987), *Possession* (1981), *The Void* (2016).
@@ -0,0 +1,22 @@
---
name: isopsephic-lecture-synthesis
description: "Synthesize and read aloud AQ lectures with strict naming."
version: 0.1.0
author: m00t, Hermes Agent
license: MIT
platforms: [linux, macos, windows]
metadata:
hermes:
tags: [lecture, tts, audio, gematria, qabbala, ingglish, gitignore, exegesis]
category: creative
related_skills: [phonetic-and-gematria-ciphers, current-events-isopsephic-exegesis, bidirectional-aq-evaluation, isopsephic-humor-and-exegesis, aq-tier-list-visualizer, isopsephic-wire-report-synthesis, hyperdope-ingglish-ci, pdf]
---
# Isopsephic Lecture Synthesis, TTS Audio Delivery & `.gitignore` Hygiene
```bash
python3 /workspace/ingglish-hyperdope-gematria/ingglish-aq-archive/scripts/manage_lecture_artifacts.py \
--workspace /workspace/ingglish-hyperdope-gematria \
--slug the-midnight-ledger \
--gitignore-mode audio-only
```
@@ -0,0 +1,4 @@
# Lecture Architecture, Disjunctive Series Regimes, Prosody & Strict Naming Specification
- **Strict Naming Schema:** `lecture-<topic-slug>-ingglish-aq.{md,mp3,pdf}` in `/workspace/ingglish-hyperdope-gematria`.
- **Series Regimes:** Series I (`Q1–Q5` Corporeal Depths / `100% d-pure`), Series II (`E1–E4` Deleuzean Incorporeal Surface / `d = 0`), Series III (`P1–P5` Michel Serres Parasitic Channel / `noiz == therd == feest == 100`), Series IV (`Lived Bilingual Phenomenology`), and Series V / Recursive Repeats (`Dissolving-Multiplicity Thought Experiments`).
@@ -54,17 +54,18 @@ def canonical_stem(slug: str) -> str:
return f"lecture-{norm}-ingglish-aq"
def resolve_host_workspace_mount(container_workspace: str = "/workspace") -> str:
def resolve_host_workspace_mount(container_workspace: str = "/workspace/ingglish-hyperdope-gematria") -> str:
"""
Resolve the host filesystem path backing /workspace from /proc/self/mountinfo
so host-executed tools like text_to_speech(output_path=...) write directly into /workspace.
Resolve the host filesystem path backing container_workspace from /proc/self/mountinfo
so host-executed tools like text_to_speech(output_path=...) write directly into the target repo.
"""
mountinfo = Path("/proc/self/mountinfo")
if mountinfo.exists():
for line in mountinfo.read_text(encoding="utf-8", errors="ignore").splitlines():
parts = line.split()
if len(parts) >= 5 and parts[4] == container_workspace:
return parts[3]
if len(parts) >= 5 and parts[4] == "/workspace":
rel = os.path.relpath(container_workspace, "/workspace")
return parts[3] if rel == "." else f"{parts[3]}/{rel}"
return container_workspace
@@ -211,7 +212,7 @@ def main() -> int:
parser = argparse.ArgumentParser(
description="Validate lecture naming conventions and manage .gitignore rules."
)
parser.add_argument("--workspace", default="/workspace")
parser.add_argument("--workspace", default="/workspace/ingglish-hyperdope-gematria")
parser.add_argument("--slug", default=None, help="Topic slug to normalize/verify.")
parser.add_argument(
"--gitignore-mode",
@@ -0,0 +1,22 @@
---
name: isopsephic-wire-report-synthesis
description: "Draft accessible wire reports on AQ lectures and dossiers."
version: 0.1.0
author: m00t, Hermes Agent
license: MIT
platforms: [linux, macos, windows]
metadata:
hermes:
tags: [wire-report, journalism, gematria, qabbala, ingglish, lecture, exegesis, pdf]
category: creative
related_skills: [isopsephic-lecture-synthesis, current-events-isopsephic-exegesis, phonetic-and-gematria-ciphers, bidirectional-aq-evaluation, aq-tier-list-visualizer, isopsephic-humor-and-exegesis, hyperdope-ingglish-ci, pdf]
---
# Isopsephic Wire Report Synthesis & General-Audience Mechanistic Translation
```bash
python3 /workspace/ingglish-hyperdope-gematria/ingglish-aq-archive/scripts/build_wire_report_pdf.py \
--md /workspace/ingglish-hyperdope-gematria/wire-report-draft-ingglish-aq-lecture-series.md \
--pdf /workspace/ingglish-hyperdope-gematria/wire-report-draft-ingglish-aq-lecture-series.pdf \
--title "Wire Report: A Seven-Part Clash Over Phonetic Spelling and Word-Math"
```
@@ -0,0 +1,4 @@
# Wire-Report Style Guide & Jargon-to-Mechanism Translation Table
- **The Napkin Box:** Immediately after the `00:00 GMT WIRE` dateline, explain (1) Standard English vs. Phonetic Ingglish (CMUdict) and (2) The Full 36-Character Scale (`AQ`) vs. The 10-Letter Filter (`d = {"n":0,...,"l":9}`).
- **Jargon-to-Mechanism Rule:** Translate every esoteric term into a concrete, napkin-testable mechanism while preserving all exact integer sums (`86, 103, 127, 100, 63, 225, d = 0`).
@@ -0,0 +1,159 @@
#!/usr/bin/env python3
"""
build_wire_report_pdf.py
Deterministic ReportLab PDF compiler & ASCII/mechanism verifier for `isopsephic-wire-report-synthesis`.
Safely masks inline backtick code spans before applying bold/italic tags and verifies the resulting PDF
via pypdf and pdfplumber.
"""
from __future__ import annotations
import argparse
import json
import re
import sys
from pathlib import Path
from xml.sax.saxutils import escape
def fmt_inline_safe(text: str) -> str:
text = escape(text)
text = text.replace("Δ", '<font name="Symbol">D</font>')
text = text.replace("δ", '<font name="Symbol">d</font>')
text = text.replace("μ", '<font name="Symbol">m</font>')
text = text.replace("σ", '<font name="Symbol">s</font>')
text = text.replace("π", '<font name="Symbol">p</font>')
text = (
text.replace("⁴", "<super>4</super>")
.replace("⁵", "<super>5</super>")
.replace("⁶", "<super>6</super>")
.replace("⁷", "<super>7</super>")
)
code_spans: list[str] = []
def save_code(m: re.Match) -> str:
idx = len(code_spans)
code_spans.append(f'<font name="Courier">{m.group(1)}</font>')
return f"\x00CODE{idx}\x00"
text = re.sub(r"`([^`]+)`", save_code, text)
text = re.sub(r"\*\*([^*]+)\*\*", r"<b>\1</b>", text)
text = re.sub(r"\*([^*]+)\*", r"<i>\1</i>", text)
for idx, span in enumerate(code_spans):
text = text.replace(f"\x00CODE{idx}\x00", span)
return text
def build_pdf(md_path: str, pdf_path: str, title: str) -> dict:
try:
from reportlab.lib import colors
from reportlab.lib.pagesizes import letter
from reportlab.lib.styles import ParagraphStyle, getSampleStyleSheet
from reportlab.platypus import HRFlowable, Paragraph, SimpleDocTemplate, Spacer
from pypdf import PdfReader
import pdfplumber
except ImportError:
import subprocess
subprocess.run(
[sys.executable, "-m", "pip", "install", "--root-user-action=ignore", "--cache-dir", "/tmp/.pip", "reportlab", "pypdf", "pdfplumber"],
check=True,
stdout=subprocess.DEVNULL,
)
from reportlab.lib import colors
from reportlab.lib.pagesizes import letter
from reportlab.lib.styles import ParagraphStyle, getSampleStyleSheet
from reportlab.platypus import HRFlowable, Paragraph, SimpleDocTemplate, Spacer
from pypdf import PdfReader
import pdfplumber
def add_page_number(canvas, doc):
canvas.saveState()
canvas.setFont("Helvetica", 9)
canvas.setFillColor(colors.HexColor("#555555"))
canvas.drawRightString(letter[0] - 54, 36, f"Page {doc.page}")
canvas.restoreState()
lines = Path(md_path).read_text(encoding="utf-8").splitlines()
doc = SimpleDocTemplate(
pdf_path,
pagesize=letter,
leftMargin=54,
rightMargin=54,
topMargin=54,
bottomMargin=54,
title=title,
author="Hermes Agent",
)
styles = getSampleStyleSheet()
h1 = ParagraphStyle("H1", parent=styles["Heading1"], fontName="Helvetica-Bold", fontSize=15, leading=19, spaceAfter=8, textColor=colors.HexColor("#111111"))
h2 = ParagraphStyle("H2", parent=styles["Heading2"], fontName="Helvetica-Bold", fontSize=12.5, leading=16, spaceBefore=10, spaceAfter=6, textColor=colors.HexColor("#1a1a1a"))
h3 = ParagraphStyle("H3", parent=styles["Heading3"], fontName="Helvetica-Bold", fontSize=10.5, leading=14, spaceBefore=8, spaceAfter=4, textColor=colors.HexColor("#222222"))
body = ParagraphStyle("Body", parent=styles["Normal"], fontName="Helvetica", fontSize=9.5, leading=13.5, spaceAfter=5)
bullet = ParagraphStyle("Bullet", parent=body, leftIndent=14, firstLineIndent=-8, spaceAfter=4)
subbullet = ParagraphStyle("SubBullet", parent=body, leftIndent=28, firstLineIndent=-8, spaceAfter=3)
story, headers, in_table = [], [], False
for line in lines:
s = line.strip()
if not s:
in_table, headers = False, []
continue
if s == "---":
story.extend([Spacer(1, 4), HRFlowable(width="100%", thickness=0.6, color=colors.HexColor("#cccccc")), Spacer(1, 4)])
continue
if s.startswith("|") and s.endswith("|"):
cols = [c.strip() for c in re.split(r'(?<!\\)\|(?=(?:[^`]*`[^`]*`)*[^`]*$)', s)[1:-1]]
if all(re.fullmatch(r":?-+:?", c) for c in cols):
in_table = True
continue
if not in_table and not headers:
headers = cols
continue
parts = [f"**{re.sub(r'\\*\\*([^*]+)\\*\\*', r'\\1', h)}:** {v}" for h, v in zip(headers, cols)]
story.append(Paragraph("• " + fmt_inline_safe(" | ".join(parts)), bullet))
continue
in_table, headers = False, []
if s.startswith("# "):
story.append(Paragraph(fmt_inline_safe(s[2:]), h1))
elif s.startswith("## "):
story.append(Paragraph(fmt_inline_safe(s[3:]), h2))
elif s.startswith("### "):
story.append(Paragraph(fmt_inline_safe(s[4:]), h3))
elif line.startswith(" - ") or line.startswith(" - ") or line.startswith(" - "):
story.append(Paragraph("◦ " + fmt_inline_safe(s[2:]), subbullet))
elif re.match(r"^\s+\d+\.\s+", line):
story.append(Paragraph(fmt_inline_safe(s), subbullet))
elif s.startswith("- "):
story.append(Paragraph("• " + fmt_inline_safe(s[2:]), bullet))
elif re.match(r"^\d+\.\s+", s):
story.append(Paragraph(fmt_inline_safe(s), bullet))
else:
story.append(Paragraph(fmt_inline_safe(s), body))
doc.build(story, onFirstPage=add_page_number, onLaterPages=add_page_number)
reader = PdfReader(pdf_path)
with pdfplumber.open(pdf_path) as pdf:
chars = sum(len(p.extract_text() or "") for p in pdf.pages)
return {
"md_path": md_path,
"pdf_path": pdf_path,
"page_count": len(reader.pages),
"extracted_chars": chars,
}
def main() -> int:
ap = argparse.ArgumentParser(description="Compile wire report Markdown to verified PDF.")
ap.add_argument("--md", required=True, help="Input Markdown file path")
ap.add_argument("--pdf", required=True, help="Output PDF file path")
ap.add_argument("--title", default="Isopsephic Wire Report", help="PDF document title")
args = ap.parse_args()
res = build_pdf(args.md, args.pdf, args.title)
print(json.dumps(res, indent=2))
return 0 if res["page_count"] >= 1 and res["extracted_chars"] > 0 else 1
if __name__ == "__main__":
raise SystemExit(main())
@@ -0,0 +1,94 @@
---
name: phonetic-and-gematria-ciphers
description: "Use when translating phonetic orthographies or gematria."
version: 0.1.0
author: Hermes Agent
license: MIT
platforms: [linux, macos, windows]
metadata:
hermes:
tags: [gematria, qabbala, ingglish, phonetics, ciphers, numerology]
category: creative
related_skills: [isopsephic-humor-and-exegesis, current-events-isopsephic-exegesis, bidirectional-aq-evaluation, aq-tier-list-visualizer, isopsephic-lecture-synthesis, isopsephic-wire-report-synthesis, pdf]
---
# Phonetic Orthographies and Gematria Ciphers
Translate text into deterministic phonetic orthographies (such as Ingglish) and search for phrases matching target gematria or Alphanumeric Qabbala (AQ) values.
## When to Use
- Translating English into or out of deterministic phonetic spelling systems (e.g., Ingglish).
- Computing gematria values (Alphanumeric Qabbala / AQ, English Qaballa, standard gematria).
- Searching for words or phrases that evaluate to a specific numerical target (e.g., 333, 666, 777) in either standard English or phonetic orthography.
## Procedure
### 1. Deterministic Phonetic Translation
Do not hand-guess phonetic spellings when an official dictionary-backed package or rule engine exists — vowel reductions (schwa vs. short vowels) and stress-dependent r-colored vowels will cause manual errors that invalidate character-sum calculations.
- For **Ingglish** (`ingglish.com`), invoke the official npm package (`ingglish`, backed by the CMU Pronouncing Dictionary) from `/workspace/ingglish-hyperdope-gematria` via `terminal`:
```bash
cd /workspace/ingglish-hyperdope-gematria
node -e 'import("ingglish").then(async m => console.log(await m.translate("your phrase here")))'
```
- See `references/ingglish-rules.md` for the complete phoneme-to-grapheme mapping table and special rules (contractions, case preservation, initialisms, and hyphen separators).
### 2. Computing Alphanumeric Qabbala (AQ)
In standard base-36 Alphanumeric Qabbala (Jim Lees / Ccru cipher):
- Digits `0`–`9` equal their face values (`0`–`9`).
- Letters `A`–`Z` (case-insensitive) continue uninterrupted from `A = 10` through `Z = 35` (`(code - 97) + 10` for lowercase ASCII).
- Spaces and punctuation have value `0`.
### 3. Searching for Target Phrase Sums
Never guess or manually trial-and-error phrase combinations in prose when asked for N phrases summing to a target value. Generate and verify candidates programmatically:
1. Warm up the phonetic translator once (`await translate("hello")`), then pre-translate individual vocabulary lists (`adjs`, `nouns`, `verbs`, `preps`) into a `Map` before running nested loops — calling `translate()` on each word once instead of on millions of full phrases prevents multi-second dictionary bottlenecks.
2. When the user specifies required anchor words:
- If the user provides **explicit phonetic spellings** (e.g., `"Taifan"`, `"Apawfis"`, `"Joshooa"`), preserve their exact requested spelling and AQ sum as fixed anchors rather than overwriting them with `translate()`, since proper nouns missing from CMUdict fall back to letter-to-sound heuristics that may differ (`Typhon` -> `Tifan` vs. `Taifan`).
- If the user provides **standard English words** for an Ingglish phrase search (e.g., `"Bellows"`, `"Lungs"`, `"Voices"`), translate them to their canonical Ingglish forms (`belohz`, `luhngz`, `voisaz`) and state those forms clearly.
- When asked for "one of X, Y, Z, or any in combination", test single anchors, pairs, and all-anchor combinations separately so the final list showcases all requested combinations.
3. Pre-compute word-level AQ values and filter grammatical templates (`[anchor] [verb] dha [adj] [noun] [prep] [noun]`, `dha [adj] [noun] [prep] [noun] uhv [anchor]`, etc.) in a script so every returned phrase is both semantically natural and mathematically exact.
- **Fixed-Affix Template Searches (`"<X> be my god"`, `"the <X> of <Y>"`):** When the user supplies a fixed English prefix or suffix template with a variable slot `<X>` targeting sum `T` (e.g., `"<X> be my god"` -> `333`), first translate the fixed affix (`"be my god"` -> `bee [39] + mai [50] + god [53] = 142`), compute the exact residual target `T_X = T - AQ(affix)` (`333 - 142 = 191 [43rd PRIME]`), and rank candidate `<X>` solutions by structural rarity:
1. **Full-Clause Repdigit Isometries (`AQ(Eng full) == AQ(Ing full) == T`, `Δ = 0`):** Where `Δ_X = -Δ_affix` so the English input string and Ingglish output string both hit `T` simultaneously (e.g., `"digital core be my god" = 333 == "dijatal kor bee mai god" = 333`; `"soul voice be my god" = 333 == "sohl vois bee mai god" = 333`).
2. **Type I–III Isometric `<X>` (`AQ(Eng X) == AQ(Ing X) == T_X`, `δ_X = 0`):** Single-word or two-word `<X>` that preserves `T_X` across spelling generations (`retrieval == ritreeval = 191`, `flesh demon == flesh deeman = 191`, `last thing == last thing = 191`).
3. **Homophone Compression Hubs & Prime/Numogram Bridges:** Where `<X>` pairs a homophone hub (`ai = 28`) or Mersenne/Numogram constant (`127 + 64 = 191`, `108 + 83 = 191`).
4. Print each matching phrase alongside its word-by-word AQ breakdown (`word1 (val1) + word2 (val2) = target`) and verify the sum in code before presenting the list. When requested, annotate prime word weights and compound prime sums inline (`word (val [PRIME])`) and include the prime factorization of the target sum (e.g., `333 = 3² × 37`, `666 = 2 × 3² × 37`, `777 = 3 × 7 × 37`).
### 4. Organizing and Cataloging Gematria Archives
When building or maintaining a phonetic/AQ archive across target numbers and motifs, structure the repository into four tiers rather than flat chronological logs:
1. **Category A — System Specification & Atomic Lexicon (`00-index-and-methodology.md`, `01-ingglish-aq-lexicon.md`):** Store orthographic rules, pre-computed word weights grouped by part of speech, and **Isopsephic Equivalence Classes** (words sharing identical Ingglish AQ sums that can be swapped modularly without changing a phrase's total).
2. **Category B — Primary Numeric Attractor Ledgers (`10-ledger-aq-333.md`, `11-ledger-aq-666.md`, `12-ledger-aq-777.md`, `19-ledger-numogram-syzygies.md`):** Store canonical verified equations indexed by target sum (`333`, `666`, `777`, repdigits, Numogram syzygies, and English-to-Ingglish isometric words where `AQ(English) == AQ(Ingglish)`).
3. **Category C — Thematic, Media & Current-Events Dossiers (`20-dossier-*.md`):** For cultural works, mythologies, conceptual triads, or dated news cycles (`25-dossier-news-YYYY-MM-DD.md`), structure each dossier into five standard sections:
- *Section 1:* Semiotic, Archetypal & Outsideness Analysis (mapping core narrative/theoretical motifs to their Ingglish AQ weights).
- *Section 2:* Atomic Lexicon & Remarkable Isopsephic Identities (highlighting internal numerical locks, e.g., `outpohst 31 [210] == ches wizerd [210]`, `chaildz [126] == ayleean [126] == wiskee [126]`, `touer [124] == kan-toi [124]`, `braykerz [178] == dorkeeper [178]`).
- *Sections 3–5:* Verified cross-scale equations for **AQ = 333**, **AQ = 666**, and **AQ = 777** using the canonical entry format:
`- \`<phonetic_phrase>\` ("<english_gloss>") — \`<w1> (<v1>) + <w2> (<v2>) + ... = <SUM>\` [<tags>]`
4. **Category D — Bidirectional Evaluations & Genealogical Fitness Records (`30-eval-*-bidirectional.md`):** Store formal `English <-> Ingglish` bidirectional evaluations, orthographic drift ledgers (`Δ`), 100-point rubric scorecards, and 6-vector genealogical fitness benchmarks (`G1–G6`).
- **Archive File Hygiene Rule:** Keep core archive ledgers and dossiers inside `/workspace/ingglish-hyperdope-gematria/ingglish-aq-archive/` (`00-*`, `01-*`, `1X-ledger-*`, `2X-dossier-*`, `3X-eval-*`) strictly as **Markdown (`.md`) only** — do not clutter the archive with PDFs of internal ledger/dossier assets. Reserve paired `.md` + `.pdf` exports for standalone joke/exegesis artifacts (`<slug>-aq-joke-and-explanation.pdf`) and top-level compendiums (`/workspace/ingglish-hyperdope-gematria/top-10-ingglish-aq-lists.pdf`).
5. **Post-Write Arithmetic Audit:** After writing or updating any markdown ledger, dossier, or Top-10 compendium, run a verification pass over all `- \`<phrase>\` ("...") — \`... = <SUM>\`` lines in the archive directory (`^\s*-\s*` to catch both top-level and indented sub-bullets under numbered lists, and `\((\d+)(?:\s*\[[^\]]*\])?\)` to parse word weights that carry inline prime or power annotations like `(167 [39th PRIME])` or `(169 [13²])`) to assert that both the full phrase AQ sum and the sum of the parenthetical word values equal `<SUM>` with zero mismatches.
6. **Cross-Dossier Top-10 Compendiums (`top-10-ingglish-aq-lists.md`):** When asked for a Top 10 list for every target AQ across all dossiers with prime analysis:
- Include a Section 1 Prime Number Overview covering target repdigit factorizations (`333 = 3² × 37`, `666 = 2 × 3² × 37`, `777 = 3 × 7 × 37`), atomic/compound prime tokens (`[Nth PRIME]`), consecutive prime pairs (`Nik = 61`, `Land = 67`), and twin-prime or shared-prime headline locks.
- Produce dedicated Top-10 sections for **AQ = 333**, **AQ = 666**, **AQ = 777**, and **Secondary Attractors / Numogram Syzygies** (`111, 216, 222, 444, 495, 555, 888, 999`, plus shared-prime headline multiples), ensuring every dossier (`20–2X`) is represented in each list.
- Update `00-index-and-methodology.md` whenever a new dossier (`2X-dossier-*.md`) or evaluation record (`3X-eval-*.md`) is added.
### 5. Domain-Specific Corpus & Lore Extraction for Gematria Archives
When researching a work of fiction, film, mythos, or philosophical corpus to feed into a gematria archive:
1. Extract the domain's core entities, proper names, locations, artifacts, factions, and thematic terms, then batch-translate them into the target phonetic orthography and compute both their phonetic AQ and standard English AQ values.
2. Identify **domain-internal isopsephic locks** (where two core terms from the work, or a term from the work and an existing archive concept, share the exact same AQ value) and **English-to-phonetic isometric locks** (where `AQ(English) == AQ(Phonetic)`). Highlight these structural identities in the dossier's analysis table.
3. Generate cross-scale phrase equations (`333`, `666`, `777`) pairing each extracted core entity with domain-appropriate predicates and prepositional tails, capping hits per head-entity (e.g., max 2 per entity per target sum) so the resulting dossier covers the full cast and conceptual vocabulary rather than repeating one entity.
4. When asked for structured data objects to feed into the archive, return both a machine-readable JSON array (`lexicon_cluster` + `phrase_ledger` objects) and the persisted markdown dossier (`2X-dossier-<topic>.md`).
## Pitfalls
- **Hand-spelling schwas and r-colored vowels in Ingglish:** Unstressed vowels in English often reduce to schwa (`ə` -> `a`, e.g., `system` -> `sistam`, `secret` -> `seekrat`, `future` -> `fyoocher`) rather than their orthographic vowel. Always run words through the `ingglish` package before summing letter values.
- **Overwriting user-supplied phonetic proper nouns with CMUdict fallbacks:** Rare mythological or proper names (`Typhon`, `Apophis`) are often absent from CMUdict and trigger heuristic fallback rules (`Tifan`, `Apofis`). When the user supplies a specific phonetic rendering (`Taifan`, `Apawfis`), lock that exact token into the template rather than re-translating the English name.
- **Translating inside combinatorial loops:** Calling `await translate(fullPhrase)` inside 3+ nested loops scales poorly and times out on large grids. Translate each unique word once into a lookup map, then concatenate and sum in memory.
- **Unvaried or redundant loop output:** If a template loop iterates over an outer variable (`a1`) that is omitted from the constructed string (`c3`), the same match prints dozens of times. Track seen strings in a `Set` and cap matches per verb/template to guarantee a diverse final list.
- **Duplicate definite articles (`dha dha` / `the the`) when splicing prepositional connectors into anchor lists:** If an anchor list includes both bare nouns (`kor`, `feemayl`, `void`) and article-prefixed nouns (`dha kor`, `dha feemayl`, `dha void`), joining a preposition that ends in `dha` (`in dha`, `uhv dha`, `bineeth dha`) directly onto an article-prefixed tail anchor produces ungrammatical `dha dha <noun>` clauses. Filter out any candidate `a2` or `a3` where `a.ing.startsWith("dha ")` whenever the preceding template slot already supplies `dha`.
- **Over-reliance on generic `seekrat / hidan` filler adjectives:** Populating `666` and `777` sections with a single `[Entity] [verb] dha seekrat/hidan [X] in/uhv dha [Y]` template inflates the dossier's padding rate above `40–80%` and triggers anti-padding deductions under the Option 4 Hybrid Numogrammatic Curve. Pre-translate 40+ domain-appropriate adjectives and verbs and exclude `seekrat` and `hidan` from automated template loops so domain-native nouns and predicates carry the equations.
- **Ambiguous Proper-Noun + Common-Noun Modular Swaps (`"Harlan seer"` Faux-Surname Trap):** When presenting modular equivalence swaps that juxtapose a single-name dossier character (`Harlan = 108` from *Videodrome*, `Garry = 108` from *The Thing*, `Mark = 79` from *Possession*) with a lowercase common noun (`seer = 83`, `oracle = 112`, `cipher = 112`), readers will naturally parse `"Harlan seer"` or `"Mark oracle"` as a single person's first and last name ("Who is Harlan Seer?"). Always disambiguate inline by:
1. Annotating each token's source dossier and grammatical role (`Harlan` [Civic-TV satellite technician in *Videodrome*, Dossier 30, Type I Isometric `108`] + `seer` [common noun "seer/prophet", Dossier 23 `83` prime ring, Type I Isometric `83`]),
2. Explaining *why* the modular swap was selected (e.g., swapping `saiber [108] + hart [83] = 191` into `harlan [108] + seer [83] = 191` upgrades both slots to **Type I Orthographic Invariants** with `δ_w = 0`), and
3. Explicitly noting when a composite collision is a synthetic cross-dossier modular pairing rather than a single historical or fictional full name (while noting any resonant real-world eponym such as Harlan Ellison).
- **Markdown tables truncated by `web_extract`:** When extracting specification tables from web documentation, `web_extract` may omit rows or columns. If a phoneme or cipher table looks incomplete, fetch the raw HTML via `terminal(command="curl -sL <url>")` and parse the `<tr>` elements directly.
@@ -0,0 +1,146 @@
# Ingglish Spelling Guide Reference
Source: https://ingglish.com/guide (uses the CMU Pronouncing Dictionary).
## Key Principles
- **No silent letters:** Every letter is pronounced; double consonants reduce to single (`happy` -> `hapee`, `better` -> `beter`).
- **One-to-one sound mapping:** Each phoneme has one spelling.
- **Unused letters dropped:** `c` (`k` or `s`), `q` (`k` or `kw`), and `x` (`ks` or `z`) are not used.
## Vowels
### Short Vowels
| IPA | Ingglish | Examples |
| --- | --- | --- |
| æ | `a` | bad (`bad`), laugh (`laf`), salmon (`saman`), plaid (`plad`) |
| ɛ | `e` | get (`get`), said (`sed`), any (`enee`), friend (`frend`), head (`hed`) |
| ɪ | `i` | pretty (`pritee`), bit (`bit`), busy (`bizee`), system (`sistam`), build (`bild`) |
| ɑ | `o` | watch (`woch`), hot (`hot`) |
| ʊ | `u` | could (`kud`), put (`put`), book (`buk`), wolf (`wulf`) |
| ɔ | `aw` | because (`bikawz`), thought (`thawt`), walk (`wawk`), dog (`dawg`), law (`law`) |
| ʌ | `uh` | but (`buht`), love (`luhv`), young (`yuhng`), blood (`bluhd`) |
| ə | `a` | about (`about`), family (`famalee`), open (`ohpan`), until (`antil`), second (`sekand`), certain (`sertan`), nervous (`nervas`) |
### Long Vowels & Diphthongs
| IPA | Ingglish | Examples |
| --- | --- | --- |
| i | `ee` | me (`mee`), see (`see`), mean (`meen`), people (`peepal`), believe (`bileev`), happy (`hapee`), key (`kee`), ceiling (`seeling`), ski (`skee`) |
| u | `oo` | you (`yoo`), do (`doo`), too (`too`), new (`noo`), through (`throo`), truth (`trooth`), blue (`bloo`), shoe (`shoo`), fruit (`froot`), neutral (`nootral`) |
| eɪ | `ay` | they (`dhay`), take (`tayk`), wait (`wayt`), great (`grayt`), day (`day`), straight (`strayt`), eight (`ayt`) |
| aɪ | `ai` | my (`mai`), life (`laif`), die (`dai`), high (`hai`), buy (`bai`), guide (`gaid`), bonsai (`bonsai`) |
| ɔɪ | `oi` | boy (`boi`), point (`point`) |
| oʊ | `oh` | go (`goh`), show (`shoh`), goes (`gohz`), boat (`boht`), nose (`nohz`), dough (`doh`), sew (`soh`), plateau (`platoh`) |
| aʊ | `ou` | out (`out`), now (`nou`), plough (`plou`) |
### R-Colored Vowels
| IPA | Ingglish | Examples |
| --- | --- | --- |
| æɹ | `arr` | arrow (`arroh`) |
| ɛɹ | `air` | there/their (`dhair`), care (`kair`), air (`air`), wear (`wair`), terrible (`tairabal`) |
| ɪɹ | `eer` | here (`heer`), year (`yeer`), weird (`weerd`), beer (`beer`), beard (`beerd`), pier (`peer`) |
| ɑɹ | `ar` | car (`kar`), heart (`hart`), guard (`gard`) |
| ɔɹ | `or` | for (`for`), more (`mor`), course (`kors`), door (`dor`), war (`wor`), board (`bord`) |
| ɝ | `er` | her (`her`), sir (`ser`), heard (`herd`), turn (`tern`), doctor (`dokter`), bird (`berd`), popular (`popyaler`) |
## Consonants
- **Stops:** `p` (`p`), `b` (`b`), `t` (`t`), `d` (`d`), `k` (`k`), `ɡ` (`g`)
- **Fricatives:** `f` (`f`), `v` (`v`), `θ` (`th` as in `thingk`), `ð` (`dh` as in `dha`), `s` (`s`), `z` (`z`), `ʃ` (`sh` as in `speshal`), `ʒ` (`zh` as in `vizhan`), `h` (`h`)
- **Affricates:** `tʃ` (`ch` as in `muhch`), `dʒ` (`j` as in `juhst`, `ej`)
- **Nasals:** `m` (`m`), `n` (`n`), `ŋ` (`ng` as in `thingk`, `thing`)
- **Liquids & Glides:** `l` (`l`), `ɹ` (`r`), `w` (`w`), `j` (`y` as in `yes`, `kyoot`)
## Special Cases
- **Contractions:** Translated as whole words without apostrophes (`don't` -> `dohnt`, `I'm` -> `aim`, `we'll` -> `weel`).
- **Case Preservation:** Preserves Title Case, lowercase, and CamelCase parts (`GitHub` -> `GitHuhb`, `iPhone` -> `aiFohn`), except the pronoun `I` becomes lowercase `ai`.
- **Initialisms:** All-caps acronyms stay unchanged (`UI`, `HTML`, `NASA`, `GPT` in `ChatGPT`), except all-caps contractions (`DON'T` -> `DOHNT`).
- **Hyphen Separator:** Inserts a hyphen when neighboring sounds would put 3+ of the same letter in a row (`acquiesce` -> `akwee-es`).
## High-Frequency Ingglish AQ Building Blocks & Isopsephic Classes
In Base-36 Alphanumeric Qabbala (`0`–`9` = 0–9, `A` = 10 ... `Z` = 35):
### Structural Connectors
- `a` ("a") = `10`
- `ai` ("I" / "eye") = `28`
- `dha` ("the") = `40`
- `in` ("in") = `41`
- `az` ("as") = `45`
- `and` ("and") = `46`
- `see` ("sea" / "see") = `56`
- `wee` ("we") = `60`
- `laik` ("like") = `69`
- `dhay` ("they") = `74`
- `too` ("to" / "too" / "two") = `77`
- `uhv` ("of") = `78`
- `widh` ("with") = `80`
- `yoo` ("you") = `82`
- `biond` ("beyond") = `89`
- `insaid` ("inside") = `110`
- `fruhm` ("from") = `111`
- `intoo` ("into") = `118`
- `throo` ("through") = `121`
- `widhin` ("within") = `121`
- `uhnder` ("under") = `124`
- `bineeth` ("beneath") = `126`
### Notable Isopsephic Equivalence Classes (Identical AQ Sums in Ingglish)
Words within each class can be swapped inside any verified phrase without altering the total AQ sum:
- **AQ 55:** `air` ("air") = `ash` ("ash")
- **AQ 75:** `bohn` ("bone") = `ekoh` ("echo") = `ohld` ("old")
- **AQ 80:** `nait` ("night") = `dager` ("dagger") = `widh` ("with")
- **AQ 83:** `hart` ("heart") = `rath` ("wrath") = `jayk` ("Jake") = `sair` ("Sayre") = `seer` ("seer") = `kawl` ("call")
- **AQ 86:** `werd` ("word") = `maind` ("mind") = `wind` ("wind") = `void` ("void") = `guhn` ("gun") = `mayk` ("make") = `shoh` ("show")
- **AQ 89:** `naym` ("name") = `gayt` ("gate") = `kers` ("curse") = `ridal` ("riddle") = `enjan` ("engine") = `majik` ("magic") = `biond` ("beyond")
- **AQ 90:** `sohl` ("soul") = `dreem` ("dream") = `raiz` ("rise") = `payl` ("pale")
- **AQ 96:** `deeman` ("demon") = `beest` ("beast") = `shain` ("shine") = `beemz` ("beams") = `koild` ("coiled") = `blaind` ("blind")
- **AQ 109:** `shadoh` ("shadow") = `sawng` ("song") = `koras` ("chorus") = `kohdz` ("codes") = `endlas` ("endless")
- **AQ 110:** `bohnz` ("bones") = `ekohz` ("echoes") = `alfabet` ("alphabet") = `fodher` ("father") = `insaid` ("inside")
- **AQ 112:** `saifer` ("cipher") = `orakal` ("oracle") = `raits` ("writes")
- **AQ 115:** `snayk` ("snake") = `tuhng` ("tongue") = `thinee` ("thinny")
- **AQ 121:** `werdz` ("words") = `windz` ("winds") = `stohn` ("stone") = `tempal` ("temple") = `loh men` ("low men") = `throo` ("through") = `widhin` ("within") = `Raymee` ("Ramey")
- **AQ 122:** `belohz` ("bellows") = `mouth` ("mouth") = `sombra` ("Sombra")
- **AQ 124:** `touer` ("tower") = `kroun` ("crown") = `kan-toi` ("Can-Toi") = `arther` ("Arthur") = `gohldan` ("golden") = `uhnder` ("under")
- **AQ 126:** `bineeth` ("beneath") = `kount` ("count") = `chaildz` ("Childs") = `ayleean` ("alien") = `wiskee` ("whiskey")
- **AQ 128:** `masheen` ("machine") = `serkat` ("circuit") = `infanat` ("infinite") = `Nik Land` ("Nick Land")
- **AQ 135:** `sistam` ("system") = `rayvan` ("raven") = `rohland` ("Roland") = `roring` ("roaring")
- **AQ 139:** `spairal` ("spiral") = `sailant` ("silent") = `silver` ("silver") = `eevning` ("evening") = `sawser` ("saucer") = `27000 ouerz` ("27000 hours")
- **AQ 142:** `seekrat` ("secret") = `iternal` ("eternal") = `saykrad` ("sacred") = `luhngz` ("lungs") = `gohsts` ("ghosts") = `enterz` ("enters")
- **AQ 143:** `throht` ("throat") = `dishayn` ("Deschain") = `brayker` ("breaker") = `dha thing` ("the thing")
- **AQ 144:** `nuhmber` ("number") = `shadohz` ("shadows") = `tuhdash` ("Todash") = `tuhheen` ("Taheen")
- **AQ 146:** `voisaz` ("voices") = `Joshooa` ("Joshua")
- **AQ 147:** `saiferz` ("ciphers") = `langgwaj` ("language") = `speerat` ("spirit") = `spohkan` ("spoken")
- **AQ 160:** `mid-werld` ("Mid-World") = `idris elba` ("Idris Elba") = `mathyoo` ("Matthew") = `shaterz` ("shatters") = `truhst` ("trust")
- **AQ 165:** `wawlter` ("Walter") = `pairanoia` ("paranoia") = `suhmanz` ("summons")
- **AQ 166:** `misteree` ("mystery") = `diksee pig` ("Dixie Pig") = `bineeth dha` ("beneath the")
- **AQ 167:** `fyoocher` ("future") = `twailait` ("twilight") = `monster` ("monster") = `rob botin` ("Rob Bottin")
- **AQ 178:** `braykerz` ("breakers") = `dorkeeper` ("doorkeeper")
- **AQ 179:** `nuhmberz` ("numbers") = `spaider hed` ("spider head")
- **AQ 202:** `sibernetik` ("cybernetic") = `monsterz` ("monsters")
- **AQ 210:** `outpohst 31` ("Outpost 31") = `ches wizerd` ("chess wizard")
- **AQ 217:** `divanayshan` ("divination") = `horn uhv eld` ("horn of Eld")
- **AQ 251:** `wawlter padik` ("Walter Padick") = `jon karpanter` ("John Carpenter")
- **AQ 265:** `jayk chaymberz` ("Jake Chambers") = `deefibrilayter` ("defibrillator")
- **AQ 267:** `Joshooa Raymee` ("Joshua Ramey") = `wilferd brimlee` ("Wilford Brimley")
### English-to-Ingglish Isometric Words (`AQ(English) == AQ(Ingglish)`)
- `Blair` (`87`) == `blair` (`87`)
- `iron` (`92`) == `aiern` (`92`)
- `flesh` (`95`) == `flesh` (`95`)
- `demon` (`96`) == `deeman` (`96`)
- `chest` (`100`) == `chest` (`100`)
- `thing` (`103`) == `thing` (`103`)
- `ghost` (`114`) == `gohst` (`114`)
- `Sombra` (`122`) == `sombra` (`122`)
- `portal` (`136`) == `portal` (`136`)
- `ghosts` (`142`) == `gohsts` (`142`)
- `Idris Elba` (`160`) == `idris elba` (`160`)
- `monster` (`167`) == `monster` (`167`)
- `spider head` (`179`) == `spaider hed` (`179`)
- `natural contract` (`316`) == `nacheral kontrakt` (`316`, Type III compensatory phrase isometry: `-16` + `+16` = `0`)
### The 10-Key Numogram Zone Sub-Cipher (`d = {"n":0,"u":1,"o":2,"a":3,"g":4,"m":5,"h":6,"y":7,"s":8,"l":9}`)
- **Decagram Sequence (`0..9`):** `n (0), u (1), o (2), a (3), g (4), m (5), h (6), y (7), s (8), l (9)` (`"nuoagmhysl"`).
- **Base-36 AQ Proportionality:** `sum(d.values()) = 45`; Base-36 AQ sum of the 10 keys = **`225` (`5 × 45 = 15²`)**; Even zones (`n,o,g,h,s`) = `108` (`2² × 3³`); Prime zones (`o,a,m,y`) = `90` vs. Non-prime zones = `135` (`2:3`); Lower zones (`0..4`) = `103 [27th PRIME]` vs. Upper zones (`5..9`) = `122`; Syzygy `6::3` (`h=6, a=3`) = `27` (`3³`, Torque sum); Syzygy `8::1` (`s,u`) == `7::2` (`y,o`) = `58`.
- **The `d("ou") == d("a")` Conservation Law:** Because `o(2) + u(1) = 3 == a(3)`, English `-ous` words reducing in Ingglish to `-as` (`anomalous -> anomalas`) conserve `δ_d = 0` (`d = 33 == 33`) while shifting Base-36 AQ by `-44` (`9::0` syzygy `l[21]+n[23] = 44`).
- **Zero-`d` Incorporeal Operators:** `event / ivent`, `verb`, `infinitive / infinitiv`, and `difference` (Gen 0) all evaluate to **`d = 0`** because their only letter in `d` is `n = 0`.