Release v2.13.0: Implement zero-Git-audio /quant/ guided tour voice narration (Strategies 1A/2A/3A via hs-quant-voice-build, 250ms onstart watchdog & WebAudio formant fallback) and turnkey Fedora 41 OpenRouter exegesis & git.libre.audio push package (Plan #56 & Plan #57)

This commit is contained in:
Hermes Agent committed 2026-12-01 11:24:08 +00:00
1 parent f507a76ca5
commit 77da9c7ae5
14 files changed
+159 -95

No files matched your search

@@ -69,3 +69,33 @@
| **3. Node `ERR_MODULE_NOT_FOUND: Cannot find package 'ingglish'`** | The agent invoked `node --input-type=module -e 'import("ingglish")...'` from `/root` or `/workspace` instead of `/workspace/ingglish-hyperdope-gematria`. | Always pass `workdir="/workspace/ingglish-hyperdope-gematria"` (or use `python3 -c "from hyperstitionstud_io.phonetics import translate_batch..."` with `PYTHONPATH=/workspace/hyperstitionstudio-core/src`). |
| **4. `ci_provision_ingglish.py` Gate 2 drops an 8–9 word `666/777` equation as `long-scraped`** | Lines with `nw >= 15` total tokens (including `[Ingglish: ...]`) require `>= 40%` standard `/usr/share/dict/words` hits; equations packed with out-of-dictionary acronyms (`TSMC`, `ASML`, `NVDA`, `Dario`, `Amodei`) dip below `0.40`. | Pair proper-noun anchors in `666/777` equations with standard English nouns (`proof`, `grid`, `wafer`, `silicon`, `drone`, `laser`, `loss`) so `dict_hits / nw >= 0.45`. |
| **5. LLM invents or guesses an AQ sum or Ingglish spelling in prose** | Mental arithmetic by the LLM instead of copying deterministic script output. | Never allow mental AQ calculation: every `(word, ing, eng_aq, ing_aq, breakdown = 333/666/777)` printed in a dossier must be copied verbatim from `collect_news_aq.py` / `hyperstitionstud_io.ciphers.compute_aq()`, and verified afterward by `ci_provision_ingglish.py` Gate 4 (`aq_mismatches == 0`). |
---
## 5. Turnkey Fedora 41 Package (`ingglish-isopsephic-exegesis-2.13.0-1.fc41.noarch.rpm`) & Automated `git.libre.audio` Push Worker (`/usr/bin/ingglish-exegesis-push`)
To populate `ingglish-hyperdope-gematria`, `hyperdope-ci-build`, and `haiperdohp-jemaytreeah` with LLM-dependent daily `00:00 UTC` exegesis data from a second Fedora 41 machine that has SSH push credentials for `git.libre.audio` and an `OPENROUTER_API_KEY`:
### 5.1 Three-Command Fedora 41 Quickstart
1. **Build the `.fc41.noarch.rpm` (into `/workspace/untracked/rpm-builds/` so `0` nested compressed archives enter Git):**
```bash
/workspace/ingglish-hyperdope-gematria/packaging/build-fedora41-rpm.sh
```
2. **Install on the Target Fedora 41 Machine (`pulling all Python, Node, Git, OpenSSH, Font & ReportLab dependencies automatically`):**
```bash
sudo dnf install -y ./ingglish-isopsephic-exegesis-2.13.0-1.fc41.noarch.rpm
```
3. **Configure `OPENROUTER_API_KEY` & SSH Key in `/etc/sysconfig/ingglish-exegesis` and Enable the `00:00 UTC` Timer:**
```bash
sudo sed -i 's|^OPENROUTER_API_KEY=.*|OPENROUTER_API_KEY="sk-or-v1-..."|' /etc/sysconfig/ingglish-exegesis
sudo systemctl enable --now ingglish-exegesis.timer
# Or run an immediate one-shot harvest + OpenRouter synthesis + 4-gate CI + git.libre.audio push:
sudo /usr/bin/ingglish-exegesis-push
```
### 5.2 What `/usr/bin/ingglish-exegesis-push` (`run_exegesis_and_push_fedora41.sh`) Executes Automatically
1. **Stage 1 (Git Workspace Sync):** Clones (on first run) or `git pull --rebase --autostash` updates `hyperstitionstudio-core`, `ingglish-hyperdope-gematria`, `hyperdope-ci-build` (`feat/ingglish-aq-corpus`), and `haiperdohp-jemaytreeah` under `WORKSPACE_DIR` (`/var/lib/ingglish-exegesis/workspace` or `/workspace`), and unpacks the `1x`-compressed `ingglish-vendor.tgz` into `node_modules/`.
2. **Stage 2 (Step A — Deterministic Harvest, `0` LLM tokens):** Runs `TZ=UTC collect_news_aq.py --mode closing-bell` to harvest Wikipedia `Portal:Current_events`, BBC RSS, and AP RSS and compute dual `eng_aq`/`ing_aq` prime and isometric locks.
3. **Stage 3 (Step B — Pre-Solved `333/666/777` Combinatorics + OpenRouter API Synthesis):** Runs `synthesize_news_dossier_openrouter.py`, which deterministically solves `30` (`10×333`, `10×666`, `10×777`) non-padded Ingglish equations in pure Python (`0` mental math by LLM), calls `https://openrouter.ai/api/v1/chat/completions` (`Bearer ${OPENROUTER_API_KEY}`, default `OPENROUTER_MODEL="google/gemini-2.5-pro"`) to author Sections 1–2, splices the pre-verified equations into Sections 3–5, verifies `aq_mismatches == 0`, writes `<NN>-dossier-news-YYYY-MM-DD.md`, and updates `00-index-and-methodology.md`.
4. **Stage 4 (Step C — 4-Gate CI Provisioning & Calculator DB Rebuild, `0` LLM tokens):** Runs `ci_provision_ingglish.py --tier 2 --apply-repo --generate-docs`, `generate_db_json.py`, and `hs-readme-sync`.
5. **Stage 5 (Step D — Topological Git Commit & Push):** Commits and pushes `ingglish-hyperdope-gematria`, `hyperdope-ci-build`, and `haiperdohp-jemaytreeah` to `ssh://git@git.libre.audio:2222/seasharp`.