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

@@ -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")