# README: Option #4 (Hybrid Numogrammatic Curve) Migration & Atomic Reconstruction Assets The Option #4 (Hybrid Numogrammatic Curve) migration is documented with cryptographic SHA-256 digests, exact pre/post text hunks, and an atomic rollback/forward CLI script so every modified file (and its compiled PDF) can be atomically reconstructed in either direction. ## Deliverables & Assets ### 1. Machine-Readable Atomic State Manifest (JSON) - **Path:** `/workspace/ingglish-hyperdope-gematria/option-4-curve-migration-manifest.json` - **Contents:** Stores `pre_sha256`, `pre_bytes`, `post_sha256`, `post_bytes`, and exact `pre`/`post` replacement hunks for all 8 canonical Markdown files (`00-index-and-methodology.md` and `30`–`35` in `/workspace/ingglish-hyperdope-gematria/ingglish-aq-archive/`, plus `curve-grading-options-evaluation.md`), plus the exact `skill_patches` payload for `bidirectional-aq-evaluation/references/evaluation-rubric.md`. ### 2. Atomic Rollback & Forward Reconstructor Script (Python CLI) - **Path:** `/workspace/ingglish-hyperdope-gematria/reconstruct_option4_curve.py` - **Guarantees:** - Verifies in-memory SHA-256 digests across all 8 canonical files before touching disk (aborts with zero writes if any hash mismatches). - Writes via sibling `.tmp_atomic` files and swaps via POSIX `os.replace()` so no partial state can occur. - Automatically re-renders all 7 standalone PDFs (`30`–`35` + `curve-grading-options-evaluation.pdf`) to match whichever state is active. - **Commands:** - Check status: ```bash python3 /workspace/ingglish-hyperdope-gematria/reconstruct_option4_curve.py --status ``` - Dry-run rollback check: ```bash python3 /workspace/ingglish-hyperdope-gematria/reconstruct_option4_curve.py --to-pre-curve --dry-run ``` - Reconstruct pre-curve state (`96–98 Class S`): ```bash python3 /workspace/ingglish-hyperdope-gematria/reconstruct_option4_curve.py --to-pre-curve ``` - Re-apply Option #4 curve state (`73–96 S/A/B`): ```bash python3 /workspace/ingglish-hyperdope-gematria/reconstruct_option4_curve.py --to-option-4 ``` ### 3. Human-Readable Migration & Rollback Ledger (Markdown + 15-Page PDF) - **Markdown:** `/workspace/ingglish-hyperdope-gematria/option-4-curve-migration-ledger.md` - **PDF (15 pages):** `/workspace/ingglish-hyperdope-gematria/option-4-curve-migration-ledger.pdf` - **Contents:** Full SHA-256 state table, itemized score/dimension deltas (`D1–D5`) for Dossiers `20`–`25`, and side-by-side `pre` vs. `post` hunks for every artifact. ### 4. Curve-Grading Options Evaluation & De-Inflation Audit (Markdown + 4-Page PDF) - **Markdown:** `/workspace/ingglish-hyperdope-gematria/curve-grading-options-evaluation.md` - **PDF (4 pages):** `/workspace/ingglish-hyperdope-gematria/curve-grading-options-evaluation.pdf` - **Contents:** Root-cause diagnosis of top-heavy compression, corpus-wide empirical metrics across all 183 equations (`Iso Word %`, `Prime Word %`, `Mean |Δ|`, `seekrat/hidan` padding rate, CMUdict purity), side-by-side comparison of Options 1–4, and itemized Option #4 breakdowns.