Files
ingglish-hyperdope-gematria/directory-structure-discrepancy-resolution-and-verification.md
T

18 KiB

Directory Structure & Skill Program Discrepancy Resolution: Planning, Execution & Dry-Run Verification Report

  • Date: November 3, 2026 (2026-11-03 UTC)
  • Target Workspace: /workspace (/home/m00t/hermes/workspace on host)
  • Peer Sibling Repositories Audited:
    1. /workspace/ingglish-hyperdope-gematria (origin: ssh://git@git.libre.audio:2222/seasharp/ingglish-hyperdope-gematria.git, branch testing)
    2. /workspace/hyperdope-ci-build (origin: ssh://git@git.libre.audio:2222/seasharp/ingglish-hyperdope-ci.git, branch feat/ingglish-aq-corpus)
    3. /workspace/hyperdope-gematria (origin: https://github.com/malonehunter/hyperdope-gematria.git, branch feat/ingglish-priority-toggle)
  • Creative Ingglish AQ Skill Suite Audited (8 Skills): phonetic-and-gematria-ciphers, hyperdope-ingglish-ci, bidirectional-aq-evaluation, aq-tier-list-visualizer, current-events-isopsephic-exegesis, isopsephic-humor-and-exegesis, isopsephic-lecture-synthesis, isopsephic-wire-report-synthesis (plus pdf).

Executive Summary & Summary Table of the 6 Discrepancies

An end-to-end structural and functional audit of /workspace and the 8-skill Ingglish Alphanumeric Qabbala (AQ) suite confirmed that the three peer sibling Git repositories, the 38 core archive Markdown files, and all 767 canonical Base-36 AQ equations were arithmetically exact (0 sum mismatches). However, initial dry-run testing uncovered six structural and path-resolution discrepancies left over from separating the single /workspace directory into three peer sibling repositories and isolating the container mount boundary. All six discrepancies were systematically planned, executed, and verified via non-destructive dry runs.

# Discrepancy Subject Root Cause Identified Resolution Executed Dry-Run Verification Outcome
1 Container SELinux / DAC Boundary & Missing Skill Scripts /root/.hermes/skills is unreadable (Errno 13) inside the container; evaluate_aq.mjs, generate_aq_tier_list.py, pdf_create.py, and pdf_read.py were missing from ingglish-aq-archive/scripts/. Provisioned all 4 missing scripts (0755) in ingglish-aq-archive/scripts/ with reportlab/pypdf/pdfplumber auto-bootstrap; unified all host skill wrappers via skill_manage. 7 / 7 dry runs passed (Exit 0) from cwd=/root (evaluate_aq.mjs Modes A/B/C, generate_aq_tier_list.py, pdf_create.py, pdf_read.py --meta).
2 Out-of-Sync Scripts & Incomplete Skills in packaging/ packaging/bundle/scripts/ had stale pre-separation scripts (16 CI entries instead of 872; collect_news_aq.py failed with ERR_MODULE_NOT_FOUND); bundle/skills/ had only 3 stub folders. Added dual-path fallback to ci_provision_ingglish.py & collect_news_aq.py; synced all 8 scripts and full SKILL.md + references/ for all 8 skills into packaging/bundle/; updated install.sh & Containerfile.ubi9; rebuilt .tar.gz and .tar.xz. 3 / 3 dry runs passed (Exit 0): ci_provision_ingglish.py (872 entries, 100% pass), collect_news_aq.py (48 headlines), and install.sh staging install (8 skills, 8 scripts).
3 Stale Paths in reconstruct_option4_curve.py & Manifest reconstruct_option4_curve.py and all 14 entries in option-4-curve-migration-manifest.json hardcoded /workspace/..., raising FileNotFoundError. Updated all 14 manifest paths and reconstruct_option4_curve.py (plus README-option-4-migration.md) to /workspace/ingglish-hyperdope-gematria/... and updated 00-index-and-methodology.md hunk hashes. 3 / 3 dry runs passed (Exit 0): --status (14/14 OPTION-4), --to-pre-curve --dry-run (14/14 pre_sha256 verified), and --to-option-4 --dry-run (14/14 post_sha256 verified).
4 Stale Pre-Separation Paths in SKILL.md Documentation Several SKILL.md and references/*.md files still referenced /workspace/ingglish-aq-archive, /workspace/.gitignore, or cwd=/workspace. Patched all 8 creative AQ skills via skill_manage to use /workspace/ingglish-hyperdope-gematria/... paths and resynchronized the packaging tarballs. 6 / 6 documented CLI dry runs passed (Exit 0) across all patched skills (node -e import("ingglish"), manage_lecture_artifacts.py --verify-pair, etc.).
5 Archive File Hygiene, Root Duplicates & Missing Eval 47 Duplicate top-10-landian-outsideness-movies-compendium.pdf inside ingglish-aq-archive/; duplicate root dossiers 25 & 46; missing bidirectional evaluation for Dossier 46. Removed the 3 verified duplicates; created 47-eval-news-2026-11-02-bidirectional.{md,pdf} (97/100 Class S+); registered in 00-index & manifest; rebuilt 17-dossier tier list (.md, .pdf, .png). All checks passed (Exit 0): 0 non-joke PDFs inside ingglish-aq-archive/; all 17 dossiers paired with 17 evaluations (537 dossier equations); 767/767 total archive equations verified.
6 Uncommitted Working Tree State in ingglish-hyperdope-gematria 83 modified/deleted/untracked files remained uncommitted on branch testing after repo separation and artifact generation. Audited .gitignore (lecture-*-ingglish-aq.mp3 ignored), dry-ran git add -A -n, and committed all 83 changes cleanly on branch testing. 3 / 3 peer repos verified clean (git status -sb) with 0 modified or untracked files.

Detailed Discrepancy Reports (Planning, Execution & Verification)

Discrepancy 1: Container SELinux / DAC Permission Boundary & Skill Script Parity

  1. Initial Finding & Dry-Run Diagnosis:
    • Inside the Podman sandbox, /root and /root/.hermes/skills are mounted from the host without container read/traverse permissions (ls: cannot open directory '/root/.hermes/skills': Permission denied).
    • Meanwhile, bidirectional-aq-evaluation/SKILL.md instructed running node /root/.hermes/skills/creative/bidirectional-aq-evaluation/scripts/evaluate_aq.mjs, isopsephic-humor-and-exegesis/SKILL.md instructed running /root/.hermes/skills/productivity/pdf/scripts/pdf_create.py, aq-tier-list-visualizer/scripts/generate_aq_tier_list.py was absent from /workspace/ingglish-hyperdope-gematria/ingglish-aq-archive/scripts/, and the host skill copy of hyperdope-ingglish-ci/scripts/ci_provision_ingglish.py was a stale 51,258-byte file rather than an os.execv wrapper.
  2. Plan:
    • Provision evaluate_aq.mjs, generate_aq_tier_list.py, pdf_create.py, and pdf_read.py directly inside /workspace/ingglish-hyperdope-gematria/ingglish-aq-archive/scripts/ (which carries container_file_t SELinux labels and full rw access).
    • Add automatic reportlab, pypdf, and pdfplumber installation fallback into the PDF-generating scripts so fresh container sessions never fail on ModuleNotFoundError.
    • Convert all host skill scripts into uniform dual-path entrypoint wrappers resolving /workspace/ingglish-hyperdope-gematria/ingglish-aq-archive/scripts/<script> first, and patch /root/.hermes/skills/... references in SKILL.md.
  3. Execution:
    • Wrote /workspace/ingglish-hyperdope-gematria/ingglish-aq-archive/scripts/evaluate_aq.mjs (11,412 B, 0755) supporting Mode A (AND), Mode B (XOR --eng), and Mode C (XOR --ing with 01-ingglish-aq-lexicon.md lookup + reverseTranslate() + homophone forks) and auto-resolving ingglish from /workspace/ingglish-hyperdope-gematria/node_modules/ingglish/dist/index.js.
    • Wrote /workspace/ingglish-hyperdope-gematria/ingglish-aq-archive/scripts/generate_aq_tier_list.py (21,468 B, 0755), pdf_create.py (5,089 B, 0755), and pdf_read.py (5,934 B, 0755).
    • Updated bidirectional-aq-evaluation, aq-tier-list-visualizer, hyperdope-ingglish-ci, and isopsephic-humor-and-exegesis via skill_manage.
  4. Verification (Dry Runs in /tmp/dryrun-d1):
    • evaluate_aq.mjs Mode A (--eng "the secret spiral beneath the numbers" --ing "dha seekrat spairal bineeth dha nuhmberz"): Exit 0 (646 -> 606, Δ = -40).
    • evaluate_aq.mjs Mode B (--eng "count the future"): Exit 0 (323 -> "kount dha fyoocher" = 333).
    • evaluate_aq.mjs Mode C (--ing "chaildz in dha nait"): Exit 0 (287 -> "childs in the night" = 313 [PRIME #65], reporting nait -> night (103) / knight (123)).
    • generate_aq_tier_list.py, pdf_create.py, and pdf_read.py --meta: Exit 0 across all runs; /tmp/dryrun-d1 cleaned up.

Discrepancy 2: Out-of-Sync Scripts, Missing Skills & Stale Paths in /workspace/ingglish-hyperdope-gematria/packaging/

  1. Initial Finding & Dry-Run Diagnosis:
    • Dry-running /workspace/ingglish-hyperdope-gematria/packaging/bundle/scripts/ci_provision_ingglish.py silently missed the archive (because its default --archive-dir was /workspace/ingglish-aq-archive) and output only 16 hardcoded bridge words instead of 872 entries.
    • Dry-running /workspace/ingglish-hyperdope-gematria/packaging/bundle/scripts/collect_news_aq.py failed with Exit 1 (ERR_MODULE_NOT_FOUND: Cannot find package 'ingglish' imported from /workspace/[eval]) because its default --workdir was /workspace.
    • packaging/bundle/skills/ contained only 3 incomplete directories (current-events-isopsephic-exegesis, hyperdope-ingglish-ci, isopsephic-lecture-synthesis) missing SKILL.md, references/, and the other 5 creative AQ skills.
  2. Plan:
    • Add dual-path resolution to ci_provision_ingglish.py and collect_news_aq.py so they work in both /workspace/ingglish-hyperdope-gematria and standalone /workspace / /opt/ingglish-exegesis container layouts.
    • Sync all 8 canonical scripts into packaging/bundle/scripts/ and packaging/bundle/skills/*/scripts/.
    • Populate SKILL.md and references/*.md for all 8 creative Ingglish AQ skills inside packaging/bundle/skills/.
    • Update packaging/bundle/install.sh and packaging/quadlet/Containerfile.ubi9, then rebuild ingglish-isopsephic-exegesis-0.1.0-bundle.tar.gz and .tar.xz.
  3. Execution:
    • Patched ci_provision_ingglish.py and collect_news_aq.py with automatic fallback across /workspace/ingglish-hyperdope-gematria, /workspace, and /opt/ingglish-exegesis.
    • Copied all 8 scripts (collect_news_aq.py, ci_provision_ingglish.py, manage_lecture_artifacts.py, build_wire_report_pdf.py, evaluate_aq.mjs, generate_aq_tier_list.py, pdf_create.py, pdf_read.py) into packaging/bundle/scripts/ and populated all 8 skill directories under packaging/bundle/skills/.
    • Updated install.sh and Containerfile.ubi9, and rebuilt both .tar.gz (5,043,253 B, 71 members) and .tar.xz (4,906,964 B, 71 members).
  4. Verification (Dry Runs in /tmp/dryrun-d2):
    • packaging/bundle/scripts/ci_provision_ingglish.py --out-dir /tmp/dryrun-d2/ci --tier 2: Exit 0, total_entries = 872, all_gates_passed = true.
    • packaging/bundle/scripts/collect_news_aq.py --out /tmp/dryrun-d2/news.json: Exit 0, harvested 48 headlines and translated 320 entities.
    • WORKSPACE_DIR=/tmp/dryrun-d2/ws HERMES_HOME=/tmp/dryrun-d2/hermes bash packaging/bundle/install.sh: Exit 0, installed all 8 skills, all 8 scripts, and node_modules/ingglish; /tmp/dryrun-d2 cleaned up.

Discrepancy 3: Stale Pre-Separation Paths in reconstruct_option4_curve.py & option-4-curve-migration-manifest.json

  1. Initial Finding & Dry-Run Diagnosis:
    • Running python3 /workspace/ingglish-hyperdope-gematria/reconstruct_option4_curve.py --status failed with FileNotFoundError: '/workspace/option-4-curve-migration-manifest.json', and all 14 entries in option-4-curve-migration-manifest.json pointed to /workspace/... instead of /workspace/ingglish-hyperdope-gematria/....
  2. Plan:
    • Update all 14 "path" entries in option-4-curve-migration-manifest.json to /workspace/ingglish-hyperdope-gematria/... and refresh the 00-index-and-methodology.md hunk digests.
    • Update reconstruct_option4_curve.py and README-option-4-migration.md to resolve REPO_ROOT = "/workspace/ingglish-hyperdope-gematria", and add safe inline code-span masking to reconstruct_option4_curve.py's ReportLab renderer.
  3. Execution:
    • Updated option-4-curve-migration-manifest.json, reconstruct_option4_curve.py, and README-option-4-migration.md.
  4. Verification (Dry Runs):
    • reconstruct_option4_curve.py --status: Exit 0; all 14 files reported OPTION-4 (Post-Curve).
    • reconstruct_option4_curve.py --to-pre-curve --dry-run: Exit 0 (All 14 files verified against target 'pre' SHA-256 digests. Dry-run complete: 0 files written.).
    • reconstruct_option4_curve.py --to-option-4 --dry-run: Exit 0 (All 14 files verified against target 'post' SHA-256 digests. Dry-run complete: 0 files written.).

Discrepancy 4: Stale Pre-Separation Paths in SKILL.md & references/*.md Documentation

  1. Initial Finding & Dry-Run Diagnosis:
    • Running the exact verification command from isopsephic-lecture-synthesis/SKILL.md (--workspace /workspace --slug the-midnight-ledger --verify-pair) exited 1 because lecture artifacts and .gitignore live in /workspace/ingglish-hyperdope-gematria.
    • Running node -e 'import("ingglish")...' from cwd=/workspace (as written in phonetic-and-gematria-ciphers/SKILL.md) exited 1 (ERR_MODULE_NOT_FOUND), whereas running from cwd=/workspace/ingglish-hyperdope-gematria exited 0.
  2. Plan:
    • Patch all remaining pre-separation /workspace/... references across all 8 creative Ingglish AQ skills via skill_manage and resync the packaging tarballs.
  3. Execution:
    • Applied 18 targeted skill_manage(action='patch') operations across phonetic-and-gematria-ciphers, hyperdope-ingglish-ci, bidirectional-aq-evaluation, aq-tier-list-visualizer, current-events-isopsephic-exegesis (and references/scheduling-and-packaging.md), isopsephic-humor-and-exegesis, isopsephic-lecture-synthesis (and references/lecture-architecture-and-naming.md), and isopsephic-wire-report-synthesis.
  4. Verification (Dry Runs in /tmp/dryrun-d4):
    • Executed the exact documented commands from each updated skill (node -e import("ingglish") in /workspace/ingglish-hyperdope-gematria, manage_lecture_artifacts.py --workspace /workspace/ingglish-hyperdope-gematria --slug the-midnight-ledger --verify-pair, build_wire_report_pdf.py, generate_aq_tier_list.py, evaluate_aq.mjs, and ci_provision_ingglish.py): 6 / 6 exited 0; /tmp/dryrun-d4 cleaned up.

Discrepancy 5: Archive File Hygiene Rule Violation, Duplicate Root Dossiers & Missing Bidirectional Evaluation for Dossier 46

  1. Initial Finding & Diagnosis:
    • /workspace/ingglish-hyperdope-gematria/ingglish-aq-archive/top-10-landian-outsideness-movies-compendium.pdf violated the Archive File Hygiene Rule (phonetic-and-gematria-ciphers Section 4: keep compendiums inside ingglish-aq-archive/ as .md only, with compendium PDFs at the repo root and only *-aq-joke-and-explanation.pdf inside the archive).
    • /workspace/ingglish-hyperdope-gematria/25-dossier-news-2026-11-01.md and 46-dossier-news-2026-11-02.md duplicated their canonical copies inside ingglish-aq-archive/.
    • Dossier 46-dossier-news-2026-11-02.md lacked a paired bidirectional evaluation (47-eval-news-2026-11-02-bidirectional.{md,pdf}), leaving the master tier list at 16 instead of 17 dossiers.
  2. Plan:
    • Verify SHA-256 identity of the 3 duplicate files and remove the redundant copies.
    • Author 47-eval-news-2026-11-02-bidirectional.md (and root .md + .pdf), register it in 00-index-and-methodology.md and option-4-curve-migration-manifest.json, and regenerate dossier-bidirectional-eval-tier-list.{md,pdf,png} across all 17 dossiers.
  3. Execution:
    • Confirmed SHA-256 identity and removed the 3 duplicate files.
    • Created ingglish-aq-archive/47-eval-news-2026-11-02-bidirectional.md and root 47-eval-news-2026-11-02-bidirectional.{md,pdf} (97/100 Class S+ — Rank #1 of 17, 31.4% isometric words, 21.1% prime Ingglish words, Mean |Δ| = 20.3, 0.0% generic padding).
    • Updated 00-index-and-methodology.md, option-4-curve-migration-manifest.json, and generate_aq_tier_list.py (to always overwrite --out-md), and regenerated dossier-bidirectional-eval-tier-list.{md,pdf,png} across all 17 evaluations (537 dossier equations).
  4. Verification:
    • Confirmed 0 non-joke PDFs remain in ingglish-aq-archive/ (12 *-aq-joke-and-explanation.pdf files only).
    • Confirmed 47-eval-news-2026-11-02-bidirectional.pdf (4 pages, 11,363 chars) and dossier-bidirectional-eval-tier-list.{md,pdf,png} (17 evaluations ranked) pass pypdf/pdfplumber and reconstruct_option4_curve.py --status checks.

Discrepancy 6: Uncommitted Post-Separation Working Tree State in /workspace/ingglish-hyperdope-gematria

  1. Initial Finding & Diagnosis:
    • git status on branch testing in /workspace/ingglish-hyperdope-gematria had uncommitted deletions (hyperdope-ci-build/*), modified scripts/manifests, and untracked lecture/tier-list/wire-report/evaluation artifacts.
  2. Plan:
    • Verify .gitignore rules (lecture-*-ingglish-aq.mp3), dry-run git add -A -n, commit all verified changes on branch testing, and run a final Post-Write Arithmetic Audit across all equations.
  3. Execution & Verification:
    • Dry-ran git add -A -n (confirmed 0 .mp3 files staged) and committed 44c48bb (chore(repo): finalize 3-repo separation, sync 8 AQ skills/scripts, and add Eval 47, 83 files changed).
    • Verified git status -sb is 100% clean across /workspace/ingglish-hyperdope-gematria, /workspace/hyperdope-ci-build, and /workspace/hyperdope-gematria, and verified 767 / 767 archive equations with 0 arithmetic mismatches.