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:
1 parent
c8ff9a63fd
commit
44c48bb12a
83 files changed
+6209
-3247
No files matched your search
@@ -1,13 +1,13 @@
|
||||
#!/usr/bin/env python3
|
||||
"""
|
||||
Atomic Rollback & Forward Migration Script for Option #4 (Hybrid Numogrammatic Curve).
|
||||
Reads /workspace/option-4-curve-migration-manifest.json, verifies SHA-256 digests of all 14
|
||||
Reads /workspace/ingglish-hyperdope-gematria/option-4-curve-migration-manifest.json, verifies SHA-256 digests of all 14
|
||||
workspace/archive Markdown files before writing, and regenerates all 7 PDFs atomically.
|
||||
|
||||
Usage:
|
||||
python3 /workspace/reconstruct_option4_curve.py --status
|
||||
python3 /workspace/reconstruct_option4_curve.py --to-pre-curve [--dry-run]
|
||||
python3 /workspace/reconstruct_option4_curve.py --to-option-4 [--dry-run]
|
||||
python3 /workspace/ingglish-hyperdope-gematria/reconstruct_option4_curve.py --status
|
||||
python3 /workspace/ingglish-hyperdope-gematria/reconstruct_option4_curve.py --to-pre-curve [--dry-run]
|
||||
python3 /workspace/ingglish-hyperdope-gematria/reconstruct_option4_curve.py --to-option-4 [--dry-run]
|
||||
"""
|
||||
import argparse
|
||||
import hashlib
|
||||
@@ -15,8 +15,10 @@ import json
|
||||
import os
|
||||
import re
|
||||
import sys
|
||||
from pathlib import Path
|
||||
|
||||
MANIFEST_PATH = "/workspace/option-4-curve-migration-manifest.json"
|
||||
REPO_ROOT = "/workspace/ingglish-hyperdope-gematria" if os.path.exists("/workspace/ingglish-hyperdope-gematria") else str(Path(__file__).resolve().parent)
|
||||
MANIFEST_PATH = os.path.join(REPO_ROOT, "option-4-curve-migration-manifest.json")
|
||||
|
||||
|
||||
def sha256_str(s: str) -> str:
|
||||
@@ -42,9 +44,18 @@ def render_md_to_pdf(md_path: str, pdf_path: str) -> None:
|
||||
.replace("⁶", "<super>6</super>")
|
||||
.replace("⁷", "<super>7</super>")
|
||||
)
|
||||
text = re.sub(r"`([^`]+)`", r'<font name="Courier">\1</font>', text)
|
||||
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):
|
||||
@@ -243,7 +254,7 @@ def main():
|
||||
"curve-grading-options-evaluation",
|
||||
]
|
||||
for stem in pdf_stems:
|
||||
render_md_to_pdf(f"/workspace/{stem}.md", f"/workspace/{stem}.pdf")
|
||||
render_md_to_pdf(os.path.join(REPO_ROOT, f"{stem}.md"), os.path.join(REPO_ROOT, f"{stem}.pdf"))
|
||||
|
||||
print(f"Successfully transitioned all 14 Markdown files and 7 PDFs to '{target_mode}' state.")
|
||||
|
||||
|
||||
Reference in new issue
Block a user