diff --git a/README.md b/README.md index 17dd712..308f586 100644 --- a/README.md +++ b/README.md @@ -3,8 +3,8 @@ > **Gitea Commit & Release Telemetry (`v2.17.0` • Namespace `urn:io:hyperstitionstud`)** > - **Repository Role & Public Route:** Master Ingglish Base-36 AQ News & Thematic Dossier Archive (`72` dossiers) & Zero-Synthetic-Data Financial/Macro Telemetry (`24` instruments) → [`https://hyperstitionstud.io/archive/00-index-and-methodology.md`](https://hyperstitionstud.io/archive/00-index-and-methodology.md) -> - **Latest Commit Scope (`ingglish-hyperdope-gematria`):** Synchronized v2.17.0 release state across 1 tracked module/artifact surface(s) -> - **Touched Files / Surfaces:** `ONBOARDING-INGGLISH-AQ.pdf` +> - **Latest Commit Scope (`ingglish-hyperdope-gematria`):** Synchronized v2.17.0 release state across 32 tracked module/artifact surface(s) +> - **Touched Files / Surfaces:** `financial-aq-harvest-latest.json`, `ingglish-aq-archive/scripts/build_wire_report_pdf.py`, `ingglish-aq-archive/scripts/ci_provision_ingglish.py`, `ingglish-aq-archive/scripts/collect_financial_quant_aq.py`, `ingglish-aq-archive/scripts/collect_news_aq.py`, `ingglish-aq-archive/scripts/evaluate_aq.mjs`, `ingglish-aq-archive/scripts/synthesize_news_dossier_openrouter.py`, `lecture-podcast-ep01-technocapital-singularity-zoology-ingglish-aq.md` (+24 more) > - **Live Verified Ecosystem Metrics (`v2.17.0`):** `6` Repositories • `17` CLI Entrypoints • `20` MCP/REST Tools • `14` URN Resources • `63` Verified Web Routes • `388` KG Nodes / `1,282` Edges • `282` Glossary Entries • `4,943` Offline CMUdict Phonetics • `0` Synthetic Data diff --git a/financial-aq-harvest-latest.json b/financial-aq-harvest-latest.json deleted file mode 100644 index 1d2dba5..0000000 --- a/financial-aq-harvest-latest.json +++ /dev/null @@ -1,1166 +0,0 @@ -{ - "$id": "urn:io:hyperstitionstud:schema:v1:financial-aq-harvest", - "$schema": "./schemas/v1/financial-aq-harvest.schema.json", - "anchor_revisions_detected": [], - "harvest_mode": "us-closing-bell", - "instruments": [ - { - "co_present_in_news_wire": false, - "contingent_locks": [ - { - "coordinate": 128, - "metric_mode": "bps_spoken_eng_aq", - "ring_partners": [ - "S3: nik land / masheen / serkat" - ], - "scope": "SCOPE2_S1_S6_RING_MIGRATION", - "verified_equations": [] - } - ], - "data_available": true, - "entity_eng": "Nvidia", - "entity_eng_aq": 113, - "entity_ing": "envideea", - "entity_ing_aq": 137, - "feed_source": "yahoo_v8_json", - "guilds": [ - "S1", - "S3" - ], - "metrics": { - "change_bps": 80, - "change_pct": 0.8, - "close_usd": 150.49, - "market_cap_str": "No data available", - "volume_ratio_20d": 0.53 - }, - "observation_date_utc": "2026-11-27", - "quant_encodings": { - "bps_digit_aq": 8, - "bps_spoken_eng": "eighty", - "bps_spoken_eng_aq": 128, - "bps_spoken_ing": "aytee", - "bps_spoken_ing_aq": 101, - "close_digit_aq": 6, - "close_spoken_eng": "one hundred fifty", - "close_spoken_eng_aq": 309, - "close_spoken_ing": "wuhn huhndrad fiftee", - "close_spoken_ing_aq": 357, - "close_spoken_prime_rank": null, - "scaled_cap_spoken_eng": "No data available", - "scaled_cap_spoken_eng_aq": null, - "scaled_cap_spoken_ing": "No data available", - "scaled_cap_spoken_ing_aq": null, - "status": "ok" - }, - "status": "ok", - "symbol": "NVDA", - "symbol_clean": "NVDA", - "symbol_eng_aq": 77, - "symbol_ing": "nvda", - "symbol_ing_aq": 77 - }, - { - "co_present_in_news_wire": false, - "contingent_locks": [], - "data_available": true, - "entity_eng": "ASML", - "entity_eng_aq": 81, - "entity_ing": "asml", - "entity_ing_aq": 81, - "feed_source": "yahoo_v8_json", - "guilds": [ - "S3", - "S6" - ], - "metrics": { - "change_bps": 175, - "change_pct": 1.75, - "close_usd": 1325.82, - "market_cap_str": "No data available", - "volume_ratio_20d": 0.53 - }, - "observation_date_utc": "2026-11-27", - "quant_encodings": { - "bps_digit_aq": 13, - "bps_spoken_eng": "one hundred seventy five", - "bps_spoken_eng_aq": 449, - "bps_spoken_ing": "wuhn huhndrad sevantee faiv", - "bps_spoken_ing_aq": 489, - "close_digit_aq": 12, - "close_spoken_eng": "one thousand three hundred twenty six", - "close_spoken_eng_aq": 713, - "close_spoken_ing": "wuhn thouzand three huhndrad twentee siks", - "close_spoken_ing_aq": 783, - "close_spoken_prime_rank": null, - "scaled_cap_spoken_eng": "No data available", - "scaled_cap_spoken_eng_aq": null, - "scaled_cap_spoken_ing": "No data available", - "scaled_cap_spoken_ing_aq": null, - "status": "ok" - }, - "status": "ok", - "symbol": "ASML", - "symbol_clean": "ASML", - "symbol_eng_aq": 81, - "symbol_ing": "asml", - "symbol_ing_aq": 81 - }, - { - "co_present_in_news_wire": false, - "contingent_locks": [], - "data_available": true, - "entity_eng": "TSMC", - "entity_eng_aq": 91, - "entity_ing": "tsmc", - "entity_ing_aq": 91, - "feed_source": "yahoo_v8_json", - "guilds": [ - "S3", - "S6" - ], - "metrics": { - "change_bps": 321, - "change_pct": 3.21, - "close_usd": 353.34, - "market_cap_str": "No data available", - "volume_ratio_20d": 0.49 - }, - "observation_date_utc": "2026-11-27", - "quant_encodings": { - "bps_digit_aq": 6, - "bps_spoken_eng": "three hundred twenty one", - "bps_spoken_eng_aq": 460, - "bps_spoken_ing": "three huhndrad twentee wuhn", - "bps_spoken_ing_aq": 508, - "close_digit_aq": 11, - "close_spoken_eng": "three hundred fifty three", - "close_spoken_eng_aq": 450, - "close_spoken_ing": "three huhndrad fiftee three", - "close_spoken_ing_aq": 457, - "close_spoken_prime_rank": 88, - "scaled_cap_spoken_eng": "No data available", - "scaled_cap_spoken_eng_aq": null, - "scaled_cap_spoken_ing": "No data available", - "scaled_cap_spoken_ing_aq": null, - "status": "ok" - }, - "status": "ok", - "symbol": "TSM", - "symbol_clean": "TSM", - "symbol_eng_aq": 79, - "symbol_ing": "tsm", - "symbol_ing_aq": 79 - }, - { - "co_present_in_news_wire": false, - "contingent_locks": [], - "data_available": false, - "entity_eng": "Anthropic", - "entity_eng_aq": 185, - "entity_ing": "anthropik", - "entity_ing_aq": 193, - "feed_source": null, - "guilds": [ - "S1", - "S2" - ], - "metrics": { - "change_bps": null, - "change_pct": null, - "close_usd": null, - "market_cap_str": "No data available", - "volume_ratio_20d": null - }, - "observation_date_utc": null, - "quant_encodings": { - "bps_digit_aq": null, - "bps_spoken_eng": "No data available", - "bps_spoken_eng_aq": null, - "bps_spoken_ing": "No data available", - "bps_spoken_ing_aq": null, - "close_digit_aq": null, - "close_spoken_eng": "No data available", - "close_spoken_eng_aq": null, - "close_spoken_ing": "No data available", - "close_spoken_ing_aq": null, - "close_spoken_prime_rank": null, - "scaled_cap_spoken_eng": "No data available", - "scaled_cap_spoken_eng_aq": null, - "scaled_cap_spoken_ing": "No data available", - "scaled_cap_spoken_ing_aq": null, - "status": "No data available" - }, - "status": "No data available (private entity — not publicly traded)", - "symbol": "ANTHR-PVT", - "symbol_clean": "ANTHR", - "symbol_eng_aq": 106, - "symbol_ing": "anthr", - "symbol_ing_aq": 106 - }, - { - "co_present_in_news_wire": false, - "contingent_locks": [], - "data_available": true, - "entity_eng": "Microsoft", - "entity_eng_aq": 199, - "entity_ing": "maikrohsawft", - "entity_ing_aq": 252, - "feed_source": "yahoo_v8_json", - "guilds": [ - "S1", - "S6" - ], - "metrics": { - "change_bps": 60, - "change_pct": 0.6, - "close_usd": 492.85, - "market_cap_str": "No data available", - "volume_ratio_20d": 0.41 - }, - "observation_date_utc": "2026-11-27", - "quant_encodings": { - "bps_digit_aq": 6, - "bps_spoken_eng": "sixty", - "bps_spoken_eng_aq": 142, - "bps_spoken_ing": "sikstee", - "bps_spoken_ing_aq": 151, - "close_digit_aq": 16, - "close_spoken_eng": "four hundred ninety three", - "close_spoken_eng_aq": 475, - "close_spoken_ing": "for huhndrad naintee three", - "close_spoken_ing_aq": 448, - "close_spoken_prime_rank": null, - "scaled_cap_spoken_eng": "No data available", - "scaled_cap_spoken_eng_aq": null, - "scaled_cap_spoken_ing": "No data available", - "scaled_cap_spoken_ing_aq": null, - "status": "ok" - }, - "status": "ok", - "symbol": "MSFT", - "symbol_clean": "MSFT", - "symbol_eng_aq": 94, - "symbol_ing": "msft", - "symbol_ing_aq": 94 - }, - { - "co_present_in_news_wire": false, - "contingent_locks": [], - "data_available": true, - "entity_eng": "Alphabet", - "entity_eng_aq": 137, - "entity_ing": "alfabet", - "entity_ing_aq": 110, - "feed_source": "yahoo_v8_json", - "guilds": [ - "S1", - "S6" - ], - "metrics": { - "change_bps": 68, - "change_pct": 0.68, - "close_usd": 274.96, - "market_cap_str": "No data available", - "volume_ratio_20d": 0.5 - }, - "observation_date_utc": "2026-11-27", - "quant_encodings": { - "bps_digit_aq": 14, - "bps_spoken_eng": "sixty eight", - "bps_spoken_eng_aq": 236, - "bps_spoken_ing": "sikstee ayt", - "bps_spoken_ing_aq": 224, - "close_digit_aq": 14, - "close_spoken_eng": "two hundred seventy five", - "close_spoken_eng_aq": 473, - "close_spoken_ing": "too huhndrad sevantee faiv", - "close_spoken_ing_aq": 464, - "close_spoken_prime_rank": null, - "scaled_cap_spoken_eng": "No data available", - "scaled_cap_spoken_eng_aq": null, - "scaled_cap_spoken_ing": "No data available", - "scaled_cap_spoken_ing_aq": null, - "status": "ok" - }, - "status": "ok", - "symbol": "GOOGL", - "symbol_clean": "GOOGL", - "symbol_eng_aq": 101, - "symbol_ing": "googl", - "symbol_ing_aq": 101 - }, - { - "co_present_in_news_wire": false, - "contingent_locks": [], - "data_available": true, - "entity_eng": "Meta", - "entity_eng_aq": 75, - "entity_ing": "meeta", - "entity_ing_aq": 89, - "feed_source": "yahoo_v8_json", - "guilds": [ - "S1", - "S6" - ], - "metrics": { - "change_bps": 313, - "change_pct": 3.13, - "close_usd": 628.96, - "market_cap_str": "No data available", - "volume_ratio_20d": 0.61 - }, - "observation_date_utc": "2026-11-27", - "quant_encodings": { - "bps_digit_aq": 7, - "bps_spoken_eng": "three hundred thirteen", - "bps_spoken_eng_aq": 409, - "bps_spoken_ing": "three huhndrad therteen", - "bps_spoken_ing_aq": 418, - "close_digit_aq": 17, - "close_spoken_eng": "six hundred twenty nine", - "close_spoken_eng_aq": 455, - "close_spoken_ing": "siks huhndrad twentee nain", - "close_spoken_ing_aq": 473, - "close_spoken_prime_rank": null, - "scaled_cap_spoken_eng": "No data available", - "scaled_cap_spoken_eng_aq": null, - "scaled_cap_spoken_ing": "No data available", - "scaled_cap_spoken_ing_aq": null, - "status": "ok" - }, - "status": "ok", - "symbol": "META", - "symbol_clean": "META", - "symbol_eng_aq": 75, - "symbol_ing": "meta", - "symbol_ing_aq": 75 - }, - { - "co_present_in_news_wire": false, - "contingent_locks": [], - "data_available": true, - "entity_eng": "Oracle", - "entity_eng_aq": 108, - "entity_ing": "orakal", - "entity_ing_aq": 112, - "feed_source": "yahoo_v8_json", - "guilds": [ - "S1", - "S6" - ], - "metrics": { - "change_bps": 313, - "change_pct": 3.13, - "close_usd": 107.13, - "market_cap_str": "No data available", - "volume_ratio_20d": 0.38 - }, - "observation_date_utc": "2026-11-27", - "quant_encodings": { - "bps_digit_aq": 7, - "bps_spoken_eng": "three hundred thirteen", - "bps_spoken_eng_aq": 409, - "bps_spoken_ing": "three huhndrad therteen", - "bps_spoken_ing_aq": 418, - "close_digit_aq": 8, - "close_spoken_eng": "one hundred seven", - "close_spoken_eng_aq": 308, - "close_spoken_ing": "wuhn huhndrad sevan", - "close_spoken_ing_aq": 358, - "close_spoken_prime_rank": null, - "scaled_cap_spoken_eng": "No data available", - "scaled_cap_spoken_eng_aq": null, - "scaled_cap_spoken_ing": "No data available", - "scaled_cap_spoken_ing_aq": null, - "status": "ok" - }, - "status": "ok", - "symbol": "ORCL", - "symbol_clean": "ORCL", - "symbol_eng_aq": 84, - "symbol_ing": "orcl", - "symbol_ing_aq": 84 - }, - { - "co_present_in_news_wire": false, - "contingent_locks": [], - "data_available": true, - "entity_eng": "Broadcom", - "entity_eng_aq": 143, - "entity_ing": "brawdkom", - "entity_ing_aq": 159, - "feed_source": "yahoo_v8_json", - "guilds": [ - "S3", - "S6" - ], - "metrics": { - "change_bps": 382, - "change_pct": 3.82, - "close_usd": 312.34, - "market_cap_str": "No data available", - "volume_ratio_20d": 0.53 - }, - "observation_date_utc": "2026-11-27", - "quant_encodings": { - "bps_digit_aq": 13, - "bps_spoken_eng": "three hundred eighty two", - "bps_spoken_eng_aq": 451, - "bps_spoken_ing": "three huhndrad aytee too", - "bps_spoken_ing_aq": 429, - "close_digit_aq": 6, - "close_spoken_eng": "three hundred twelve", - "close_spoken_eng_aq": 379, - "close_spoken_ing": "three huhndrad twelv", - "close_spoken_ing_aq": 378, - "close_spoken_prime_rank": null, - "scaled_cap_spoken_eng": "No data available", - "scaled_cap_spoken_eng_aq": null, - "scaled_cap_spoken_ing": "No data available", - "scaled_cap_spoken_ing_aq": null, - "status": "ok" - }, - "status": "ok", - "symbol": "AVGO", - "symbol_clean": "AVGO", - "symbol_eng_aq": 81, - "symbol_ing": "avgo", - "symbol_ing_aq": 81 - }, - { - "co_present_in_news_wire": true, - "contingent_locks": [], - "data_available": true, - "entity_eng": "Arm", - "entity_eng_aq": 59, - "entity_ing": "arm", - "entity_ing_aq": 59, - "feed_source": "yahoo_v8_json", - "guilds": [ - "S3", - "S1" - ], - "metrics": { - "change_bps": 622, - "change_pct": 6.22, - "close_usd": 171.55, - "market_cap_str": "No data available", - "volume_ratio_20d": 0.44 - }, - "observation_date_utc": "2026-11-27", - "quant_encodings": { - "bps_digit_aq": 10, - "bps_spoken_eng": "six hundred twenty two", - "bps_spoken_eng_aq": 462, - "bps_spoken_ing": "siks huhndrad twentee too", - "bps_spoken_ing_aq": 476, - "close_digit_aq": 10, - "close_spoken_eng": "one hundred seventy two", - "close_spoken_eng_aq": 456, - "close_spoken_ing": "wuhn huhndrad sevantee too", - "close_spoken_ing_aq": 492, - "close_spoken_prime_rank": null, - "scaled_cap_spoken_eng": "No data available", - "scaled_cap_spoken_eng_aq": null, - "scaled_cap_spoken_ing": "No data available", - "scaled_cap_spoken_ing_aq": null, - "status": "ok" - }, - "status": "ok", - "symbol": "ARM", - "symbol_clean": "ARM", - "symbol_eng_aq": 59, - "symbol_ing": "arm", - "symbol_ing_aq": 59 - }, - { - "co_present_in_news_wire": false, - "contingent_locks": [], - "data_available": true, - "entity_eng": "AMD", - "entity_eng_aq": 45, - "entity_ing": "ayemdee", - "entity_ing_aq": 121, - "feed_source": "yahoo_v8_json", - "guilds": [ - "S3", - "S1" - ], - "metrics": { - "change_bps": 456, - "change_pct": 4.56, - "close_usd": 424.54, - "market_cap_str": "No data available", - "volume_ratio_20d": 0.47 - }, - "observation_date_utc": "2026-11-27", - "quant_encodings": { - "bps_digit_aq": 15, - "bps_spoken_eng": "four hundred fifty six", - "bps_spoken_eng_aq": 423, - "bps_spoken_ing": "for huhndrad fiftee siks", - "bps_spoken_ing_aq": 415, - "close_digit_aq": 11, - "close_spoken_eng": "four hundred twenty five", - "close_spoken_eng_aq": 472, - "close_spoken_ing": "for huhndrad twentee faiv", - "close_spoken_ing_aq": 445, - "close_spoken_prime_rank": null, - "scaled_cap_spoken_eng": "No data available", - "scaled_cap_spoken_eng_aq": null, - "scaled_cap_spoken_ing": "No data available", - "scaled_cap_spoken_ing_aq": null, - "status": "ok" - }, - "status": "ok", - "symbol": "AMD", - "symbol_clean": "AMD", - "symbol_eng_aq": 45, - "symbol_ing": "ayemdee", - "symbol_ing_aq": 121 - }, - { - "co_present_in_news_wire": false, - "contingent_locks": [], - "data_available": true, - "entity_eng": "Palantir", - "entity_eng_aq": 163, - "entity_ing": "palanter", - "entity_ing_aq": 159, - "feed_source": "yahoo_v8_json", - "guilds": [ - "S3", - "S6" - ], - "metrics": { - "change_bps": 524, - "change_pct": 5.24, - "close_usd": 172.17, - "market_cap_str": "No data available", - "volume_ratio_20d": 0.58 - }, - "observation_date_utc": "2026-11-27", - "quant_encodings": { - "bps_digit_aq": 11, - "bps_spoken_eng": "five hundred twenty four", - "bps_spoken_eng_aq": 472, - "bps_spoken_ing": "faiv huhndrad twentee for", - "bps_spoken_ing_aq": 445, - "close_digit_aq": 10, - "close_spoken_eng": "one hundred seventy two", - "close_spoken_eng_aq": 456, - "close_spoken_ing": "wuhn huhndrad sevantee too", - "close_spoken_ing_aq": 492, - "close_spoken_prime_rank": null, - "scaled_cap_spoken_eng": "No data available", - "scaled_cap_spoken_eng_aq": null, - "scaled_cap_spoken_ing": "No data available", - "scaled_cap_spoken_ing_aq": null, - "status": "ok" - }, - "status": "ok", - "symbol": "PLTR", - "symbol_clean": "PLTR", - "symbol_eng_aq": 102, - "symbol_ing": "pltr", - "symbol_ing_aq": 102 - }, - { - "co_present_in_news_wire": false, - "contingent_locks": [], - "data_available": true, - "entity_eng": "Lockheed", - "entity_eng_aq": 135, - "entity_ing": "lokheed", - "entity_ing_aq": 123, - "feed_source": "yahoo_v8_json", - "guilds": [ - "S3" - ], - "metrics": { - "change_bps": 111, - "change_pct": 1.11, - "close_usd": 605.88, - "market_cap_str": "No data available", - "volume_ratio_20d": 0.39 - }, - "observation_date_utc": "2026-11-27", - "quant_encodings": { - "bps_digit_aq": 3, - "bps_spoken_eng": "one hundred eleven", - "bps_spoken_eng_aq": 315, - "bps_spoken_ing": "wuhn huhndrad ilevan", - "bps_spoken_ing_aq": 369, - "close_digit_aq": 12, - "close_spoken_eng": "six hundred six", - "close_spoken_eng_aq": 295, - "close_spoken_ing": "siks huhndrad siks", - "close_spoken_ing_aq": 338, - "close_spoken_prime_rank": null, - "scaled_cap_spoken_eng": "No data available", - "scaled_cap_spoken_eng_aq": null, - "scaled_cap_spoken_ing": "No data available", - "scaled_cap_spoken_ing_aq": null, - "status": "ok" - }, - "status": "ok", - "symbol": "LMT", - "symbol_clean": "LMT", - "symbol_eng_aq": 72, - "symbol_ing": "lmt", - "symbol_ing_aq": 72 - }, - { - "co_present_in_news_wire": false, - "contingent_locks": [], - "data_available": true, - "entity_eng": "Raytheon", - "entity_eng_aq": 178, - "entity_ing": "raytheeon", - "entity_ing_aq": 192, - "feed_source": "yahoo_v8_json", - "guilds": [ - "S3" - ], - "metrics": { - "change_bps": 117, - "change_pct": 1.17, - "close_usd": 198.48, - "market_cap_str": "No data available", - "volume_ratio_20d": 0.32 - }, - "observation_date_utc": "2026-11-27", - "quant_encodings": { - "bps_digit_aq": 9, - "bps_spoken_eng": "one hundred seventeen", - "bps_spoken_eng_aq": 388, - "bps_spoken_ing": "wuhn huhndrad sevanteen", - "bps_spoken_ing_aq": 438, - "close_digit_aq": 18, - "close_spoken_eng": "one hundred ninety eight", - "close_spoken_eng_aq": 433, - "close_spoken_ing": "wuhn huhndrad naintee ayt", - "close_spoken_ing_aq": 456, - "close_spoken_prime_rank": null, - "scaled_cap_spoken_eng": "No data available", - "scaled_cap_spoken_eng_aq": null, - "scaled_cap_spoken_ing": "No data available", - "scaled_cap_spoken_ing_aq": null, - "status": "ok" - }, - "status": "ok", - "symbol": "RTX", - "symbol_clean": "RTX", - "symbol_eng_aq": 89, - "symbol_ing": "rtx", - "symbol_ing_aq": 89 - }, - { - "co_present_in_news_wire": false, - "contingent_locks": [], - "data_available": true, - "entity_eng": "Copper", - "entity_eng_aq": 127, - "entity_ing": "koper", - "entity_ing_aq": 110, - "feed_source": "yahoo_v8_json", - "guilds": [ - "S3", - "S2" - ], - "metrics": { - "change_bps": 181, - "change_pct": 1.81, - "close_usd": 5.62, - "market_cap_str": "No data available", - "volume_ratio_20d": 3.71 - }, - "observation_date_utc": "2026-11-30", - "quant_encodings": { - "bps_digit_aq": 10, - "bps_spoken_eng": "one hundred eighty one", - "bps_spoken_eng_aq": 387, - "bps_spoken_ing": "wuhn huhndrad aytee wuhn", - "bps_spoken_ing_aq": 455, - "close_digit_aq": 6, - "close_spoken_eng": "six", - "close_spoken_eng_aq": 79, - "close_spoken_ing": "siks", - "close_spoken_ing_aq": 94, - "close_spoken_prime_rank": null, - "scaled_cap_spoken_eng": "No data available", - "scaled_cap_spoken_eng_aq": null, - "scaled_cap_spoken_ing": "No data available", - "scaled_cap_spoken_ing_aq": null, - "status": "ok" - }, - "status": "ok", - "symbol": "HG=F", - "symbol_clean": "HG", - "symbol_eng_aq": 33, - "symbol_ing": "hg", - "symbol_ing_aq": 33 - }, - { - "co_present_in_news_wire": false, - "contingent_locks": [], - "data_available": true, - "entity_eng": "VIX", - "entity_eng_aq": 82, - "entity_ing": "viks", - "entity_ing_aq": 97, - "feed_source": "yahoo_v8_json", - "guilds": [ - "S2" - ], - "metrics": { - "change_bps": -1116, - "change_pct": -11.16, - "close_usd": 23.81, - "market_cap_str": "No data available", - "volume_ratio_20d": null - }, - "observation_date_utc": "2026-11-27", - "quant_encodings": { - "bps_digit_aq": 9, - "bps_spoken_eng": "one thousand one hundred sixteen", - "bps_spoken_eng_aq": 592, - "bps_spoken_ing": "wuhn thouzand wuhn huhndrad siksteen", - "bps_spoken_ing_aq": 709, - "close_digit_aq": 6, - "close_spoken_eng": "twenty four", - "close_spoken_eng_aq": 257, - "close_spoken_ing": "twentee for", - "close_spoken_ing_aq": 221, - "close_spoken_prime_rank": null, - "scaled_cap_spoken_eng": "No data available", - "scaled_cap_spoken_eng_aq": null, - "scaled_cap_spoken_ing": "No data available", - "scaled_cap_spoken_ing_aq": null, - "status": "ok" - }, - "status": "ok", - "symbol": "^VIX", - "symbol_clean": "VIX", - "symbol_eng_aq": 82, - "symbol_ing": "viks", - "symbol_ing_aq": 97 - }, - { - "co_present_in_news_wire": false, - "contingent_locks": [ - { - "coordinate": 189, - "metric_mode": "bps_spoken_ing_aq", - "ring_partners": [ - "S2: likwidatee / hangkerchif / imerjansee" - ], - "scope": "SCOPE2_S1_S6_RING_MIGRATION", - "verified_equations": [] - } - ], - "data_available": true, - "entity_eng": "Bitcoin", - "entity_eng_aq": 135, - "entity_ing": "bitkoin", - "entity_ing_aq": 143, - "feed_source": "yahoo_v8_json", - "guilds": [ - "S2", - "S6" - ], - "metrics": { - "change_bps": -44, - "change_pct": -0.44, - "close_usd": 59696.43, - "market_cap_str": "$1.20T", - "volume_ratio_20d": 0.77 - }, - "observation_date_utc": "2026-11-30", - "quant_encodings": { - "bps_digit_aq": 8, - "bps_spoken_eng": "forty four", - "bps_spoken_eng_aq": 225, - "bps_spoken_ing": "fortee for", - "bps_spoken_ing_aq": 189, - "close_digit_aq": 35, - "close_spoken_eng": "fifty nine thousand six hundred ninety six", - "close_spoken_eng_aq": 799, - "close_spoken_ing": "fiftee nain thouzand siks huhndrad naintee siks", - "close_spoken_ing_aq": 829, - "close_spoken_prime_rank": 145, - "scaled_cap_spoken_eng": "one point two zero trillion", - "scaled_cap_spoken_eng_aq": 546, - "scaled_cap_spoken_ing": "wuhn point too zeeroh trilyan", - "scaled_cap_spoken_ing_aq": 591, - "status": "ok" - }, - "status": "ok", - "symbol": "BTC-USD", - "symbol_clean": "BTC", - "symbol_eng_aq": 52, - "symbol_ing": "btc", - "symbol_ing_aq": 52 - }, - { - "co_present_in_news_wire": false, - "contingent_locks": [], - "data_available": true, - "entity_eng": "Ethereum", - "entity_eng_aq": 167, - "entity_ing": "edheroom", - "entity_ing_aq": 155, - "feed_source": "yahoo_v8_json", - "guilds": [ - "S2" - ], - "metrics": { - "change_bps": 51, - "change_pct": 0.51, - "close_usd": 1663.03, - "market_cap_str": "$203B", - "volume_ratio_20d": 0.78 - }, - "observation_date_utc": "2026-11-30", - "quant_encodings": { - "bps_digit_aq": 6, - "bps_spoken_eng": "fifty one", - "bps_spoken_eng_aq": 172, - "bps_spoken_ing": "fiftee wuhn", - "bps_spoken_ing_aq": 207, - "close_digit_aq": 16, - "close_spoken_eng": "one thousand six hundred sixty three", - "close_spoken_eng_aq": 694, - "close_spoken_ing": "wuhn thouzand siks huhndrad sikstee three", - "close_spoken_ing_aq": 779, - "close_spoken_prime_rank": null, - "scaled_cap_spoken_eng": "two hundred three billion", - "scaled_cap_spoken_eng_aq": 459, - "scaled_cap_spoken_ing": "too huhndrad three bilyan", - "scaled_cap_spoken_ing_aq": 445, - "status": "ok" - }, - "status": "ok", - "symbol": "ETH-USD", - "symbol_clean": "ETH", - "symbol_eng_aq": 60, - "symbol_ing": "eth", - "symbol_ing_aq": 60 - }, - { - "co_present_in_news_wire": false, - "contingent_locks": [], - "data_available": true, - "entity_eng": "Solana", - "entity_eng_aq": 116, - "entity_ing": "sohlana", - "entity_ing_aq": 133, - "feed_source": "yahoo_v8_json", - "guilds": [ - "S2" - ], - "metrics": { - "change_bps": 52, - "change_pct": 0.52, - "close_usd": 71.71, - "market_cap_str": "$43B", - "volume_ratio_20d": 0.76 - }, - "observation_date_utc": "2026-11-30", - "quant_encodings": { - "bps_digit_aq": 7, - "bps_spoken_eng": "fifty two", - "bps_spoken_eng_aq": 196, - "bps_spoken_ing": "fiftee too", - "bps_spoken_ing_aq": 182, - "close_digit_aq": 9, - "close_spoken_eng": "seventy two", - "close_spoken_eng_aq": 258, - "close_spoken_ing": "sevantee too", - "close_spoken_ing_aq": 240, - "close_spoken_prime_rank": null, - "scaled_cap_spoken_eng": "forty three billion", - "scaled_cap_spoken_eng_aq": 366, - "scaled_cap_spoken_ing": "fortee three bilyan", - "scaled_cap_spoken_ing_aq": 341, - "status": "ok" - }, - "status": "ok", - "symbol": "SOL-USD", - "symbol_clean": "SOL", - "symbol_eng_aq": 73, - "symbol_ing": "sol", - "symbol_ing_aq": 73 - }, - { - "co_present_in_news_wire": false, - "contingent_locks": [], - "data_available": true, - "entity_eng": "Coinbase", - "entity_eng_aq": 140, - "entity_ing": "koinbays", - "entity_ing_aq": 168, - "feed_source": "yahoo_v8_json", - "guilds": [ - "S2", - "S6" - ], - "metrics": { - "change_bps": 320, - "change_pct": 3.2, - "close_usd": 107.04, - "market_cap_str": "No data available", - "volume_ratio_20d": 0.53 - }, - "observation_date_utc": "2026-11-27", - "quant_encodings": { - "bps_digit_aq": 5, - "bps_spoken_eng": "three hundred twenty", - "bps_spoken_eng_aq": 399, - "bps_spoken_ing": "three huhndrad twentee", - "bps_spoken_ing_aq": 406, - "close_digit_aq": 8, - "close_spoken_eng": "one hundred seven", - "close_spoken_eng_aq": 308, - "close_spoken_ing": "wuhn huhndrad sevan", - "close_spoken_ing_aq": 358, - "close_spoken_prime_rank": null, - "scaled_cap_spoken_eng": "No data available", - "scaled_cap_spoken_eng_aq": null, - "scaled_cap_spoken_ing": "No data available", - "scaled_cap_spoken_ing_aq": null, - "status": "ok" - }, - "status": "ok", - "symbol": "COIN", - "symbol_clean": "COIN", - "symbol_eng_aq": 77, - "symbol_ing": "coin", - "symbol_ing_aq": 77 - }, - { - "co_present_in_news_wire": false, - "contingent_locks": [], - "data_available": true, - "entity_eng": "Constellation", - "entity_eng_aq": 276, - "entity_ing": "konstalayshan", - "entity_ing_aq": 277, - "feed_source": "yahoo_v8_json", - "guilds": [ - "S4", - "S3" - ], - "metrics": { - "change_bps": 120, - "change_pct": 1.2, - "close_usd": 238.1, - "market_cap_str": "No data available", - "volume_ratio_20d": 0.62 - }, - "observation_date_utc": "2026-11-27", - "quant_encodings": { - "bps_digit_aq": 3, - "bps_spoken_eng": "one hundred twenty", - "bps_spoken_eng_aq": 359, - "bps_spoken_ing": "wuhn huhndrad twentee", - "bps_spoken_ing_aq": 407, - "close_digit_aq": 13, - "close_spoken_eng": "two hundred thirty eight", - "close_spoken_eng_aq": 470, - "close_spoken_ing": "too huhndrad therdee ayt", - "close_spoken_ing_aq": 428, - "close_spoken_prime_rank": null, - "scaled_cap_spoken_eng": "No data available", - "scaled_cap_spoken_eng_aq": null, - "scaled_cap_spoken_ing": "No data available", - "scaled_cap_spoken_ing_aq": null, - "status": "ok" - }, - "status": "ok", - "symbol": "CEG", - "symbol_clean": "CEG", - "symbol_eng_aq": 42, - "symbol_ing": "ceg", - "symbol_ing_aq": 42 - }, - { - "co_present_in_news_wire": false, - "contingent_locks": [], - "data_available": true, - "entity_eng": "Eli Lilly", - "entity_eng_aq": 168, - "entity_ing": "eelai lilee", - "entity_ing_aq": 165, - "feed_source": "yahoo_v8_json", - "guilds": [ - "S5", - "S6" - ], - "metrics": { - "change_bps": 1, - "change_pct": 0.01, - "close_usd": 1392.38, - "market_cap_str": "No data available", - "volume_ratio_20d": 0.53 - }, - "observation_date_utc": "2026-11-27", - "quant_encodings": { - "bps_digit_aq": 1, - "bps_spoken_eng": "one", - "bps_spoken_eng_aq": 61, - "bps_spoken_ing": "wuhn", - "bps_spoken_ing_aq": 102, - "close_digit_aq": 15, - "close_spoken_eng": "one thousand three hundred ninety two", - "close_spoken_eng_aq": 699, - "close_spoken_ing": "wuhn thouzand three huhndrad naintee too", - "close_spoken_ing_aq": 742, - "close_spoken_prime_rank": null, - "scaled_cap_spoken_eng": "No data available", - "scaled_cap_spoken_eng_aq": null, - "scaled_cap_spoken_ing": "No data available", - "scaled_cap_spoken_ing_aq": null, - "status": "ok" - }, - "status": "ok", - "symbol": "LLY", - "symbol_clean": "LLY", - "symbol_eng_aq": 76, - "symbol_ing": "lly", - "symbol_ing_aq": 76 - }, - { - "co_present_in_news_wire": false, - "contingent_locks": [], - "data_available": true, - "entity_eng": "Treasury", - "entity_eng_aq": 199, - "entity_ing": "trezheree", - "entity_ing_aq": 191, - "feed_source": "yahoo_v8_json", - "guilds": [ - "S6", - "S2" - ], - "metrics": { - "change_bps": 186, - "change_pct": 1.86, - "close_usd": 4.94, - "market_cap_str": "No data available", - "volume_ratio_20d": null - }, - "observation_date_utc": "2026-11-27", - "quant_encodings": { - "bps_digit_aq": 15, - "bps_spoken_eng": "one hundred eighty six", - "bps_spoken_eng_aq": 405, - "bps_spoken_ing": "wuhn huhndrad aytee siks", - "bps_spoken_ing_aq": 447, - "close_digit_aq": 5, - "close_spoken_eng": "five", - "close_spoken_eng_aq": 78, - "close_spoken_ing": "faiv", - "close_spoken_ing_aq": 74, - "close_spoken_prime_rank": null, - "scaled_cap_spoken_eng": "No data available", - "scaled_cap_spoken_eng_aq": null, - "scaled_cap_spoken_ing": "No data available", - "scaled_cap_spoken_ing_aq": null, - "status": "ok" - }, - "status": "ok", - "symbol": "^TNX", - "symbol_clean": "TNX", - "symbol_eng_aq": 85, - "symbol_ing": "tnx", - "symbol_ing_aq": 85 - }, - { - "co_present_in_news_wire": false, - "contingent_locks": [], - "data_available": true, - "entity_eng": "BlackRock", - "entity_eng_aq": 157, - "entity_ing": "blakrok", - "entity_ing_aq": 133, - "feed_source": "yahoo_v8_json", - "guilds": [ - "S6" - ], - "metrics": { - "change_bps": 220, - "change_pct": 2.2, - "close_usd": 1166.96, - "market_cap_str": "No data available", - "volume_ratio_20d": 0.55 - }, - "observation_date_utc": "2026-11-27", - "quant_encodings": { - "bps_digit_aq": 4, - "bps_spoken_eng": "two hundred twenty", - "bps_spoken_eng_aq": 383, - "bps_spoken_ing": "too huhndrad twentee", - "bps_spoken_ing_aq": 382, - "close_digit_aq": 15, - "close_spoken_eng": "one thousand one hundred sixty seven", - "close_spoken_eng_aq": 685, - "close_spoken_ing": "wuhn thouzand wuhn huhndrad sikstee sevan", - "close_spoken_ing_aq": 792, - "close_spoken_prime_rank": null, - "scaled_cap_spoken_eng": "No data available", - "scaled_cap_spoken_eng_aq": null, - "scaled_cap_spoken_ing": "No data available", - "scaled_cap_spoken_ing_aq": null, - "status": "ok" - }, - "status": "ok", - "symbol": "BLK", - "symbol_clean": "BLK", - "symbol_eng_aq": 52, - "symbol_ing": "blk", - "symbol_ing_aq": 52 - } - ], - "ipld_dag_json_cidv1": { - "/": "baguqeeratug7e6hkerd2la66fshj7r3v53mtr7ovuo32wll2uue2qqg4nz6a" - }, - "isolation_receipt": { - "all_unchanged": true, - "files": { - "/workspace/technocapital-singularity-zoology/encyclopedia/encyclopedia-manifest.json": { - "post_sha256": "0d7ce833bb0aa0eea069bf764b2e3b0b36ac2631821c42f3d6bcb897335f8a7d", - "pre_sha256": "0d7ce833bb0aa0eea069bf764b2e3b0b36ac2631821c42f3d6bcb897335f8a7d", - "unchanged": true - }, - "/workspace/technocapital-singularity-zoology/taxonomy/glossary-registry.json": { - "post_sha256": "7564ef40fb3e0e18d1d8547522db431b6a369c40139713b573df6e58b972d43d", - "pre_sha256": "7564ef40fb3e0e18d1d8547522db431b6a369c40139713b573df6e58b972d43d", - "unchanged": true - } - }, - "namespace_urn": "urn:io:hyperstitionstud:isolation-receipt:v1" - }, - "regime_summary": { - "active_memetic_states": [ - "M2_FLASH_CRASH_TEMPLEX_SURGE", - "M3_LEVIATHAN_TRILLION_CAP_CONCENTRATION" - ], - "emergent_m7_quant_triggers": [], - "instrument_count": 24, - "instruments_with_data_count": 23, - "instruments_without_data": [ - "ANTHR-PVT" - ], - "news_wire_co_present_symbols": [ - "ARM" - ], - "total_contingent_locks": 2, - "us10y_yield_pct": 4.94, - "vix_close": 23.81 - }, - "synthetic_data_eliminated": true, - "target_date_utc": "2026-12-01", - "version": "2.4.0" -} diff --git a/ingglish-aq-archive/scripts/build_wire_report_pdf.py b/ingglish-aq-archive/scripts/build_wire_report_pdf.py index f81c436..416accc 100755 --- a/ingglish-aq-archive/scripts/build_wire_report_pdf.py +++ b/ingglish-aq-archive/scripts/build_wire_report_pdf.py @@ -58,11 +58,10 @@ def build_pdf(md_path: str, pdf_path: str, title: str) -> dict: from reportlab.lib.styles import ParagraphStyle, getSampleStyleSheet from reportlab.platypus import HRFlowable, Paragraph, SimpleDocTemplate, Spacer from pypdf import PdfReader - import pdfplumber except ImportError: import subprocess subprocess.run( - [sys.executable, "-m", "pip", "install", "--root-user-action=ignore", "--cache-dir", "/tmp/.pip", "reportlab", "pypdf", "pdfplumber"], + [sys.executable, "-m", "pip", "install", "--root-user-action=ignore", "--cache-dir", "/tmp/.pip", "reportlab", "pypdf"], check=True, stdout=subprocess.DEVNULL, ) @@ -71,7 +70,6 @@ def build_pdf(md_path: str, pdf_path: str, title: str) -> dict: from reportlab.lib.styles import ParagraphStyle, getSampleStyleSheet from reportlab.platypus import HRFlowable, Paragraph, SimpleDocTemplate, Spacer from pypdf import PdfReader - import pdfplumber def add_page_number(canvas, doc): canvas.saveState() @@ -141,8 +139,12 @@ def build_pdf(md_path: str, pdf_path: str, title: str) -> dict: doc.build(story, onFirstPage=add_page_number, onLaterPages=add_page_number) reader = PdfReader(pdf_path) - with pdfplumber.open(pdf_path) as pdf: - chars = sum(len(p.extract_text() or "") for p in pdf.pages) + try: + import pdfplumber + with pdfplumber.open(pdf_path) as pdf: + chars = sum(len(p.extract_text() or "") for p in pdf.pages) + except ImportError: + chars = sum(len(p.extract_text() or "") for p in reader.pages) return { "md_path": md_path, "pdf_path": pdf_path, diff --git a/ingglish-aq-archive/scripts/ci_provision_ingglish.py b/ingglish-aq-archive/scripts/ci_provision_ingglish.py index bab9c73..52ac8bc 100755 --- a/ingglish-aq-archive/scripts/ci_provision_ingglish.py +++ b/ingglish-aq-archive/scripts/ci_provision_ingglish.py @@ -47,7 +47,12 @@ 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. + _script_repo = str(Path(__file__).resolve().parents[2]) + _ws_env = os.environ.get("WORKSPACE_DIR", "/workspace") for dict_js in ( + f"{_script_repo}/node_modules/@ingglish/dictionary/dist/index.js", + f"{_ws_env}/ingglish-hyperdope-gematria/node_modules/@ingglish/dictionary/dist/index.js", + "/usr/libexec/ingglish-exegesis/node_modules/@ingglish/dictionary/dist/index.js", "/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", @@ -82,7 +87,7 @@ def load_system_dict() -> set[str]: DICT = load_system_dict() ROMAN_RE = re.compile(r"M{0,4}(CM|CD|D?C{0,3})(XC|XL|L?X{0,3})(IX|IV|V?I{0,3})", re.I) -INGGLISH_NON_ROMAN = {"di", "li", "mi", "vi", "iv", "ci", "xi"} +INGGLISH_NON_ROMAN = {"di", "li", "mi", "vi", "iv", "ci", "xi", "liv", "mix", "civ"} def is_roman(s: str) -> bool: @@ -512,10 +517,9 @@ def build_onboarding_pdf(pdf_path: Path) -> dict: try: import reportlab import pypdf - import pdfplumber except ImportError: subprocess.run( - [sys.executable, "-m", "pip", "install", "-q", "reportlab", "pypdf", "pdfplumber"], + [sys.executable, "-m", "pip", "install", "-q", "reportlab", "pypdf"], check=True, ) from reportlab.lib import colors @@ -524,7 +528,8 @@ def build_onboarding_pdf(pdf_path: Path) -> dict: from reportlab.lib.units import inch from reportlab.platypus import HRFlowable, Paragraph, SimpleDocTemplate, Spacer, Table, TableStyle import pypdf - import pdfplumber + + pdf_path.parent.mkdir(parents=True, exist_ok=True) styles = getSampleStyleSheet() title_s = ParagraphStyle("T", parent=styles["Heading1"], fontName="Helvetica-Bold", fontSize=15.5, leading=19, spaceAfter=4, textColor=colors.HexColor("#111827")) @@ -679,8 +684,12 @@ def build_onboarding_pdf(pdf_path: Path) -> dict: doc.build(story, onFirstPage=draw_page_number, onLaterPages=draw_page_number) reader = pypdf.PdfReader(str(pdf_path)) - with pdfplumber.open(str(pdf_path)) as pdf: - chars = sum(len(p.extract_text() or "") for p in pdf.pages) + try: + import pdfplumber + with pdfplumber.open(str(pdf_path)) as pdf: + chars = sum(len(p.extract_text() or "") for p in pdf.pages) + except ImportError: + chars = sum(len(p.extract_text() or "") for p in reader.pages) return {"pdf_path": str(pdf_path), "page_count": len(reader.pages), "extracted_chars": chars} @@ -818,7 +827,8 @@ elif [ -n "${{FORCE_ORIGIN_URL:-}}" ]; then fi # Ensure feature branch exists and is checked out -CURRENT_BRANCH="$(git branch --show-current)" +ORIG_BRANCH="$(git branch --show-current)" +CURRENT_BRANCH="$ORIG_BRANCH" if [ "$CURRENT_BRANCH" != "$BRANCH" ]; then git checkout -B "$BRANCH" fi @@ -830,10 +840,18 @@ git add db.txt tools/normalize_caps.py config.default.js # Create commit if staged changes exist if ! git diff --cached --quiet; then - git commit -F "$SCRIPT_DIR/commit-message.txt" + git -c user.name="${{GIT_AUTHOR_NAME:-Hyperstition Studio Exegesis Worker}}" \ + -c user.email="${{GIT_AUTHOR_EMAIL:-exegesis@hyperstitionstud.io}}" \ + commit -F "$SCRIPT_DIR/commit-message.txt" fi -echo "Committed on branch $BRANCH: $(git rev-parse --short HEAD)" +# If target repository was originally on 'main' (e.g. haiperdohp-jemaytreeah), fast-forward 'main' and restore checkout +if [ "$ORIG_BRANCH" = "main" ] && [ "$BRANCH" != "main" ]; then + git checkout main + git merge --ff-only "$BRANCH" +fi + +echo "Committed on branch $(git branch --show-current): $(git rev-parse --short HEAD)" # First push of base branch + feature branch and optional PR creation when SUBMIT_REMOTE=1 if [ "${{SUBMIT_REMOTE:-0}}" = "1" ]; then @@ -936,10 +954,39 @@ def apply_to_repo(repo_dir: Path, out_dir: Path, entries: list[dict], branch_nam } +def _resolve_default_paths() -> tuple[Path, Path]: + script_p = Path(__file__).resolve() + if script_p.parent.name == "scripts" and script_p.parents[1].name == "ingglish-aq-archive": + arc_dir = script_p.parents[1] + ws_root = arc_dir.parents[1] + return arc_dir, ws_root / "hyperdope-ci-build" + ws_env = os.environ.get("WORKSPACE_DIR", "").strip() + if ws_env: + ws_root = Path(ws_env).resolve() + elif Path("/workspace/ingglish-hyperdope-gematria").exists(): + ws_root = Path("/workspace") + else: + ws_root = Path("/var/lib/ingglish-exegesis/workspace") + return ws_root / "ingglish-hyperdope-gematria" / "ingglish-aq-archive", ws_root / "hyperdope-ci-build" + + +def _resolve_archive_repo_dir(archive_dir: Path, out_dir: Path) -> Path: + arc_res = archive_dir.resolve() + if arc_res.name == "ingglish-aq-archive" and arc_res.parent.is_dir(): + return arc_res.parent + if (arc_res.parent / "ingglish-aq-archive").is_dir(): + return arc_res.parent + ws_env = os.environ.get("WORKSPACE_DIR", "").strip() + if ws_env and (Path(ws_env) / "ingglish-hyperdope-gematria").is_dir(): + return (Path(ws_env) / "ingglish-hyperdope-gematria").resolve() + return out_dir.resolve() + + def main() -> int: + default_arc, default_out = _resolve_default_paths() parser = argparse.ArgumentParser(description="CI & PR Provisioning Pipeline for Ingglish -> hyperdope-gematria.") - 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("--archive-dir", default=str(default_arc), help="Path to Ingglish AQ archive") + parser.add_argument("--out-dir", default=str(default_out), 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") parser.add_argument("--apply-repo", action="store_true", help="Apply changes and create git commit in --repo-dir") @@ -951,6 +998,7 @@ def main() -> int: archive_dir = Path("/workspace/ingglish-aq-archive") out_dir = Path(args.out_dir) out_dir.mkdir(parents=True, exist_ok=True) + archive_repo_dir = _resolve_archive_repo_dir(archive_dir, out_dir) entries, stats = extract_archive_corpus(archive_dir, max_tier=args.tier) @@ -965,13 +1013,19 @@ def main() -> int: docs_info = {} 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/ingglish-hyperdope-gematria/ONBOARDING-INGGLISH-AQ.md") - ws_pdf = Path("/workspace/ingglish-hyperdope-gematria/ONBOARDING-INGGLISH-AQ.pdf") + docs_sub = out_dir / "docs" + docs_sub.mkdir(parents=True, exist_ok=True) + (docs_sub / "ONBOARDING-INGGLISH-AQ.md").write_text(ONBOARDING_MD_CONTENT, encoding="utf-8") + if not (out_dir / ".git").exists(): + (out_dir / "ONBOARDING-INGGLISH-AQ.md").write_text(ONBOARDING_MD_CONTENT, encoding="utf-8") + ws_md = archive_repo_dir / "ONBOARDING-INGGLISH-AQ.md" + ws_pdf = archive_repo_dir / "ONBOARDING-INGGLISH-AQ.pdf" + ws_md.parent.mkdir(parents=True, exist_ok=True) 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") + out_pdf = out_dir / "ONBOARDING-INGGLISH-AQ.pdf" + if out_pdf.resolve() != ws_pdf.resolve(): + build_onboarding_pdf(out_pdf) docs_info = { "markdown_path": str(ws_md), "pdf_path": str(ws_pdf), diff --git a/ingglish-aq-archive/scripts/collect_financial_quant_aq.py b/ingglish-aq-archive/scripts/collect_financial_quant_aq.py deleted file mode 100755 index c7d3592..0000000 --- a/ingglish-aq-archive/scripts/collect_financial_quant_aq.py +++ /dev/null @@ -1,19 +0,0 @@ -#!/usr/bin/env python3 -""" -collect_financial_quant_aq.py — Companion CLI wrapper for hyperstitionstud_io.quant.collector (`hs-quant-harvest`). -""" - -from __future__ import annotations - -import sys -from pathlib import Path - -_REPO_ROOT = Path(__file__).resolve().parents[2] -_CORE_SRC = _REPO_ROOT.parent / "hyperstitionstudio-core" / "src" -if _CORE_SRC.is_dir() and str(_CORE_SRC) not in sys.path: - sys.path.insert(0, str(_CORE_SRC)) - -from hyperstitionstud_io.quant.collector import main # noqa: E402 - -if __name__ == "__main__": - raise SystemExit(main()) diff --git a/ingglish-aq-archive/scripts/collect_news_aq.py b/ingglish-aq-archive/scripts/collect_news_aq.py index 951d077..b98c23b 100755 --- a/ingglish-aq-archive/scripts/collect_news_aq.py +++ b/ingglish-aq-archive/scripts/collect_news_aq.py @@ -366,7 +366,16 @@ def batch_translate_ingglish(strings: list[str], workdir: str = "/workspace/ingg if not strings: return {} if not os.path.exists(os.path.join(workdir, "node_modules")): - for candidate_wd in ("/workspace/ingglish-hyperdope-gematria", "/workspace", "/opt/ingglish-exegesis"): + script_repo = str(Path(__file__).resolve().parents[2]) + ws_env = os.environ.get("WORKSPACE_DIR", "/workspace") + for candidate_wd in ( + script_repo, + os.path.join(ws_env, "ingglish-hyperdope-gematria"), + "/usr/libexec/ingglish-exegesis", + "/workspace/ingglish-hyperdope-gematria", + "/workspace", + "/opt/ingglish-exegesis", + ): if os.path.exists(os.path.join(candidate_wd, "node_modules")): workdir = candidate_wd break diff --git a/ingglish-aq-archive/scripts/evaluate_aq.mjs b/ingglish-aq-archive/scripts/evaluate_aq.mjs index a59a801..593f509 100755 --- a/ingglish-aq-archive/scripts/evaluate_aq.mjs +++ b/ingglish-aq-archive/scripts/evaluate_aq.mjs @@ -10,10 +10,17 @@ import fs from "node:fs"; import path from "node:path"; -import { pathToFileURL } from "node:url"; +import { fileURLToPath, pathToFileURL } from "node:url"; + +const __filename = fileURLToPath(import.meta.url); +const __dirname = path.dirname(__filename); async function loadIngglishModule() { + const wsEnv = process.env.WORKSPACE_DIR || "/workspace"; const candidates = [ + path.resolve(__dirname, "../../node_modules/ingglish/dist/index.js"), + path.join(wsEnv, "ingglish-hyperdope-gematria/node_modules/ingglish/dist/index.js"), + "/usr/libexec/ingglish-exegesis/node_modules/ingglish/dist/index.js", "/workspace/ingglish-hyperdope-gematria/node_modules/ingglish/dist/index.js", "/workspace/node_modules/ingglish/dist/index.js", "/opt/ingglish-exegesis/node_modules/ingglish/dist/index.js", @@ -130,7 +137,10 @@ function loadArchiveLexicon() { ["raymee", "ramey"], ]); + const wsEnv = process.env.WORKSPACE_DIR || "/workspace"; const lexPaths = [ + path.resolve(__dirname, "../01-ingglish-aq-lexicon.md"), + path.join(wsEnv, "ingglish-hyperdope-gematria/ingglish-aq-archive/01-ingglish-aq-lexicon.md"), "/workspace/ingglish-hyperdope-gematria/ingglish-aq-archive/01-ingglish-aq-lexicon.md", "/workspace/ingglish-aq-archive/01-ingglish-aq-lexicon.md", ]; diff --git a/ingglish-aq-archive/scripts/synthesize_news_dossier_openrouter.py b/ingglish-aq-archive/scripts/synthesize_news_dossier_openrouter.py index 1e03c59..edc2a0f 100755 --- a/ingglish-aq-archive/scripts/synthesize_news_dossier_openrouter.py +++ b/ingglish-aq-archive/scripts/synthesize_news_dossier_openrouter.py @@ -35,8 +35,24 @@ from typing import Any OPENROUTER_DEFAULT_URL = "https://openrouter.ai/api/v1/chat/completions" OPENROUTER_DEFAULT_MODEL = "google/gemini-2.5-pro" +_CORE_SRC = Path(__file__).resolve().parents[3] / "hyperstitionstudio-core" / "src" +if _CORE_SRC.is_dir() and str(_CORE_SRC) not in sys.path: + sys.path.insert(0, str(_CORE_SRC)) + +try: + from hyperstitionstud_io.ciphers import compute_aq as _hs_compute_aq +except Exception: + _hs_compute_aq = None # type: ignore[assignment] + +try: + from hyperstitionstud_io.security import safe_urlopen as _hs_safe_urlopen +except Exception: + _hs_safe_urlopen = None # type: ignore[assignment] + def compute_aq(text: str) -> int: + if _hs_compute_aq is not None: + return int(_hs_compute_aq(text)) total = 0 for ch in text.lower(): if "0" <= ch <= "9": @@ -528,10 +544,14 @@ def call_openrouter_exegesis( }, method="POST", ) - ctx = ssl.create_default_context() - ctx.minimum_version = ssl.TLSVersion.TLSv1_2 - with urllib.request.urlopen(req, timeout=timeout, context=ctx) as resp: # nosec B310 - resp_obj = json.loads(resp.read().decode("utf-8")) + if _hs_safe_urlopen is not None: + with _hs_safe_urlopen(req, timeout=timeout) as resp: + resp_obj = json.loads(resp.read().decode("utf-8")) + else: + ctx = ssl.create_default_context() + ctx.minimum_version = ssl.TLSVersion.TLSv1_2 + with urllib.request.urlopen(req, timeout=timeout, context=ctx) as resp: # nosec B310 + resp_obj = json.loads(resp.read().decode("utf-8")) choices = resp_obj.get("choices") or [] content = str(((choices[0].get("message") or {}).get("content")) or "").strip() if choices else "" diff --git a/lecture-podcast-ep01-technocapital-singularity-zoology-ingglish-aq.md b/lecture-podcast-ep01-technocapital-singularity-zoology-ingglish-aq.md deleted file mode 100644 index 849bce5..0000000 --- a/lecture-podcast-ep01-technocapital-singularity-zoology-ingglish-aq.md +++ /dev/null @@ -1,265 +0,0 @@ -# The Singularity Field Guide (Episode 01 — Inaugural Broadcast): Technocapital Singularity Zoology for Laymen, Specialists & Allocators - -- **Audio Deliverables (MP3, `79.31` minutes / `4758.5` seconds, `28,550,880` bytes, 24kHz 48kbps Neural Multi-Voice):** - - Zoology Repo: `/workspace/technocapital-singularity-zoology/podcast-ep01-inaugural-technocapital-singularity-zoology.mp3` - - Archive Repo: `/workspace/ingglish-hyperdope-gematria/lecture-podcast-ep01-technocapital-singularity-zoology-ingglish-aq.mp3` -- **Transcript Deliverables (Markdown & PDF):** - - Zoology Repo: `/workspace/technocapital-singularity-zoology/podcast-ep01-inaugural-technocapital-singularity-zoology.{md,pdf}` - - Archive Repo: `/workspace/ingglish-hyperdope-gematria/lecture-podcast-ep01-technocapital-singularity-zoology-ingglish-aq.{md,pdf}` -- **Broadcast Structure:** `6` Acts (`Movements I–VI`), `65` Multi-Voice Roundtable Turns, `9,839` Spoken Words (`00:00 – 79:18`). -- **Roundtable Cast & Neural Voices:** - 1. **Marcus Vance** (*Host & Singularity Zoology Enthusiast* — `en-US-AndrewNeural`) - 2. **Dr. Elena Rostova** (*Computational Linguist & CMUdict Phonemic Orthography Specialist* — `en-US-AvaNeural`) - 3. **Dr. Julian Vance-Sterling** (*Continental Philosopher & Cybernetic Theorist* — `en-GB-RyanNeural`) - 4. **Priya Nair** (*Quantitative Systems Architect, ETI Tier-List Engineer & Memetic Superclass Designer* — `en-US-EmmaNeural`) - 5. **Coach Devon Brooks** (*Portfolio Strategist, Fantasy Football Roster Engine Architect & Out-of-Sample Fund Advisor* — `en-US-BrianNeural`) - ---- - -## Act I — Movement I: Welcome to the Field Guide (The Orthographic Premise, Base-36 Napkin Math, Ghost Mass & The Room Filter) (`[00:00 – 14:24]`) - -**[00:00 – 01:35] Marcus Vance (Host & Singularity Zoology Enthusiast):** -Welcome to the inaugural episode of The Singularity Field Guide, the show where we take the strangest, most mathematically rigorous map of the twenty-first-century economy—Technocapital Singularity Zoology—and open the field manual for everyone at the table. I am your host, Marcus Vance. Now, I am not an ivory-tower metaphysician or a high-frequency quant; I am an obsessive enthusiast who stumbled into this archive, ran the scripts for myself, checked the arithmetic on the back of a bar napkin, and realized I could never read the morning news the same way again. Whether you are a curious newcomer wondering why frontier artificial intelligence labs, Dutch extreme-ultraviolet laser monopolies, Taiwanese silicon foundries, sovereign wealth funds, and microsecond flash crashes behave like an interlocking food web of living species, or you are an allocator looking for structural signals outside trailing price charts, this one-hour inaugural roundtable is built for you. Sitting across from me in the studio today are four specialists who built the core layers of this zoology: computational linguist Dr. Elena Rostova, continental philosopher and cybernetic theorist Dr. Julian Vance-Sterling, quantitative systems architect Priya Nair, and portfolio strategist Coach Devon Brooks. Elena, let us start on the ground floor for someone who has never heard the words Alphanumeric Qabbala or Ingglish in their life. How does the counting work, and why do we care how a word sounds out loud versus how it looks on paper? - -**[01:35 – 03:09] Dr. Elena Rostova (Computational Linguist & CMUdict Phonemic Specialist):** -Thank you, Marcus. The beauty of the counting system is that anyone can verify it on a bar napkin in thirty seconds with zero esoteric background. The cipher is called Base-Thirty-Six Alphanumeric Qabbala, or A-Q for short, formulated by Jim Lees in nineteen seventy-six and later adopted by cybernetic researchers in the nineteen nineties. In ordinary decimal arithmetic, you only have ten digits, zero through nine. In Base-Thirty-Six, you keep zero through nine at their face values—zero is zero, one is one, nine is nine—and then you just keep counting straight through the twenty-six letters of the Latin alphabet without stopping. So A is ten, B is eleven, C is twelve, D is thirteen, E is fourteen, all the way up to Y equals thirty-four and Z equals thirty-five. Uppercase and lowercase letters have the exact same value, and spaces, hyphens, and punctuation marks count as zero. If you write the word oil on a napkin—O is twenty-four, I is eighteen, L is twenty-one—twenty-four plus eighteen plus twenty-one equals sixty-three. If you write the word hand—H is seventeen, A is ten, N is twenty-three, D is thirteen—seventeen plus ten plus twenty-three plus thirteen also equals sixty-three. That is a numerical collision, or what we call an equivalence class. - -**[03:09 – 03:31] Marcus Vance (Host & Singularity Zoology Enthusiast):** -And right there is where a skeptical listener—or honestly, me during my first week in the archive—raises a hand and says: wait a second, Elena. English spelling is a historical train wreck! Why on earth would anyone trust the letter sums of standard English when half the letters in words like knight or through or debt are completely silent? - -**[03:31 – 04:48] Dr. Elena Rostova (Computational Linguist & CMUdict Phonemic Specialist):** -That exact objection is the foundation of our entire dual-layer method. Standard written English—what we call Generation Zero, or diachronic orthography—is a historical museum. Printing presses froze English spelling in the fifteenth and sixteenth centuries while spoken pronunciation kept evolving through the Great Vowel Shift. Take the word knight, spelled K-N-I-G-H-T. In Generation Zero written English, K is twenty, N is twenty-three, I is eighteen, G is sixteen, H is seventeen, and T is twenty-nine. That adds up to one hundred and twenty-three. But when you say the word knight out loud, you only pronounce three phonemes: the N sound, the long-I diphthong, and the T sound. You never pronounce the K, the G, or the H. Together, K plus G plus H equals twenty plus sixteen plus seventeen, which is fifty-three points of pure silent-letter weight! In our glossary, we call that silent-letter baggage ghost mass. If you only calculate on written English, you are weighing the ghosts of medieval scribes rather than the living acoustic signal. - -**[04:48 – 05:47] Dr. Julian Vance-Sterling (Continental Philosopher & Cybernetic Theorist):** -And notice, Marcus, that ghost mass is not merely a scribal accident; it performs a very specific political and archival function. In our Barstool Glossary and in our diachronic evolution models, we compare Generation Zero written spelling to a cryptographic checksum on a bank ledger or a legal charter. Why does a sovereign state or a corporate registry refuse to update its spelling every decade when street pronunciation drifts? Because historical contracts, property deeds, and statutory codes depend on graphic permanence. Silent letters act as historical ballast—etymological sediment that keeps visual homophones separated on the page, so that night with a G-H weighs one hundred and three, a prime number, while knight with a K-N-I-G-H-T weighs one hundred and twenty-three. Written English is territorial inscription. Spoken phonemics is the decoded flow. - -**[05:47 – 07:06] Dr. Elena Rostova (Computational Linguist & CMUdict Phonemic Specialist):** -Which brings us to Generation One: Phonemic Ingglish. To strip away the ghost mass without allowing any human researcher to cheat orcherry-pick spellings, we use the official Ingglish phonetic translation engine backed by Carnegie Mellon University's Pronouncing Dictionary—CMUdict—which contains over one hundred and twenty-six thousand North American English pronunciations. In Ingglish, the rules are one hundred percent deterministic. Every spoken sound maps to exactly one spelling. Silent letters vanish completely, so both night and knight become N-A-I-T, nait, which evaluates to eighty. Unstressed vowels reduce to the schwa vowel A, worth ten points, so system becomes S-I-S-T-A-M, sistam, dropping from one hundred and forty-nine to one hundred and thirty-five. And the three redundant letters of the English alphabet—C worth twelve, Q worth twenty-six, and X worth thirty-three—are retired outside the C-H digraph, replaced by the sounds they actually make: K worth twenty or S worth twenty-eight, K-W worth fifty-two, and K-S worth forty-eight or Z worth thirty-five. - -**[07:06 – 08:18] Priya Nair (Quantitative Systems Architect & ETI Tier-List Engineer):** -And from a systems engineering standpoint, that deterministic CMUdict rule is what we call One Hundred Percent CMUdict Purity. In our code—specifically inside classify-technocapital-singularity-dot-py and ci-provision-ingglish-dot-py—nobody is ever allowed to hand-spell a word to force a match. You pass the English string into the Node.js ingglish translator, and whatever phoneme stream CMUdict outputs is the law. Better yet, those systematic phoneme shifts create predictable quantum steps between Generation Zero and Generation One. For instance, every time the English word 'the'—T-H-E, worth sixty—translates into Ingglish 'dha'—D-H-A, worth forty—the score drops by an exact Definite Article Quantum of minus twenty. Every time 'of'—O-F, worth thirty-nine—translates into 'uhv'—U-H-V, worth seventy-eight—it doubles by plus thirty-nine. And every time the locative connector 'in the'—worth one hundred and one, the twenty-sixth prime—translates into 'in dha'—forty-one plus forty—it lands on eighty-one, which is three to the fourth power, or nine squared. - -**[08:18 – 08:56] Coach Devon Brooks (Portfolio Strategist & Fantasy Roster Engine Architect):** -Hold on, let me jump in here for the layperson who hears all this and thinks: okay, cool math trick, Priya and Elena, but if you have a database of two hundred and thirty-one thousand words and phrases, and most four-letter or five-letter words have an average letter value around twenty-two points, won't thousands of random words pile up at the exact same numbers between eighty and one hundred and twenty just by pure chance? If I type the number eighty-six into a calculator and see 'void', 'mind', 'word', 'gun', 'hum', 'fork', 'cart', and 'bus', how do I know I am not just staring at shapes in the clouds? - -**[08:56 – 09:17] Marcus Vance (Host & Singularity Zoology Enthusiast):** -Yes! Coach Devon just named the single most important skepticism in the entire discipline. In our Encyclopedia and Glossary, we call that trap Grand Central Station Pareidolia—or the Walmart Checkout Line problem. Julian, how does Technocapital Singularity Zoology defeat Grand Central Station Pareidolia? - -**[09:17 – 11:07] Dr. Julian Vance-Sterling (Continental Philosopher & Cybernetic Theorist):** -We defeat it by enforcing a ruthless epistemological rule called Contingent Meaning, or what our Barstool Glossary calls The Room Filter. You are never permitted to fish globally through a two-hundred-and-thirty-thousand-word dictionary for random nouns that happen to share a number. A numerical collision only counts as an Independent Domain-Native Equivalence Class if the colliding terms are already contingently co-present inside the same concrete scene, the same causal supply chain, or the same breaking news headline in front of you. Take that coordinate eighty-six that Devon just mentioned. In English, 'void' is eighty-six, 'mind' is seventy-six, 'word' is ninety-six, 'gun' is sixty-nine, and 'hum' is sixty-nine. They sit in four separate numerical buckets on paper. When spoken aloud in Ingglish, 'void' stays at eighty-six—an isometric fixed point with zero drift—while 'mind' becomes M-A-I-N-D, eighty-six; 'word' becomes W-E-R-D, eighty-six; 'gun' becomes G-U-H-N, eighty-six; and 'hum' becomes H-U-H-M, eighty-six. Why do we discard 'fork' and 'bus' at eighty-six while keeping 'maind', 'werd', and 'guhn'? Because inside David Cronenberg's film Videodrome—Dossier Thirty—Max Renn's hallucinating mind, the broadcast word, and the biomechanical flesh-gun are the three literal props inside the room, locking directly into the three-hundred-and-thirty-three circuit: noo flesh, one hundred and sixty-six, plus in, forty-one, plus dha, forty, plus guhn or maind, eighty-six, equals three hundred and thirty-three. Context is the filter. The room selects the ring. - -**[11:07 – 11:50] Marcus Vance (Host & Singularity Zoology Enthusiast):** -Let us pause and let that sink in for every new listener. In written English, 'mind' is seventy-six, 'void' is eighty-six, and 'word' is ninety-six—spaced ten points apart like steps on a ladder. Spoken aloud in Ingglish, 'maind' rises by plus ten to eighty-six, 'werd' drops by minus ten to eighty-six, and 'void' stands completely still at eighty-six! That standing-still phenomenon—where a word's score in written English and spoken Ingglish is one hundred percent identical, a drift of zero—is what we call an Isometric Fixed Point. Elena, give our listeners a quick tour of the three types of Isometric Fixed Points, because they are the bedrock of our supply-chain armor. - -**[11:50 – 14:24] Dr. Elena Rostova (Computational Linguist & CMUdict Phonemic Specialist):** -Gladly. When Delta—which is the Ingglish score minus the English score—equals zero, that word is an immovable orthographic bridge between paper and speech. We classify them into three types. Type One is Orthographic Invariance: the word is spelled identically in both systems because its standard English spelling is already purely phonemic, or because it is an all-caps initialism. Examples in our zoology include 'thing' at one hundred and three, 'signal' at one hundred and sixteen, 'proof' at one hundred and fifteen, 'charter' and 'portal' at one hundred and thirty-six, 'transformer' at two hundred and forty-six, and the three hardware chokepoint acronyms: G-P-U at seventy-one, A-S-M-L at eighty-one, and T-S-M-C at ninety-one. Type Two is Anagrammatic or Single-Word Compensatory Isometry: the letters reorder or swap so that the positive and negative shifts cancel out inside the word. For example, 'ghost'—G-H-O-S-T—becomes 'gohst'—G-O-H-S-T—keeping the exact same five letters at one hundred and fourteen. Even more remarkably, look at the word 'capital': C-A-P-I-T-A-L in written English sums to one hundred and twenty-five, which is five cubed. In Ingglish, C worth twelve becomes K worth twenty—gaining eight points—while the unstressed I worth eighteen reduces to schwa A worth ten—losing eight points! Plus eight minus eight equals zero: 'capital' is one hundred and twenty-five on paper, and 'kapatal' is one hundred and twenty-five out loud! Finally, Type Three is Multi-Vowel or Compound Phrase Compensatory Isometry, where vowel splits or adjacent words cancel each other out to zero: 'iron' at ninety-two equals 'aiern' at ninety-two; 'reality' at one hundred and fifty-three equals 'reealatee' at one hundred and fifty-three; 'centaur' at one hundred and forty-five equals 'sentor' at one hundred and forty-five; 'consortium' at two hundred and thirty-seven equals 'kansorsheeam' at two hundred and thirty-seven; and Michel Serres's 'natural contract' at three hundred and sixteen equals 'nacheral kontrakt' at three hundred and sixteen. - ---- - -## Act II — Movement II: What Is a Technocapital Singularity? (Deleuze, Guattari, Serres, Nick Land & Vectors G1–G6) (`[14:24 – 25:15]`) - -**[14:24 – 14:59] Marcus Vance (Host & Singularity Zoology Enthusiast):** -That brings us into Act Two. Now that everyone has the napkin math, the ghost mass, the CMUdict phonetic layer, and the zero-drift isometric bridges under their belt, let us tackle the title of our discipline: Technocapital Singularity Zoology. Julian, when most people in Silicon Valley or on television say 'the Singularity', they mean a science-fiction movie where a chatbot wakes up, gets human feelings, and decides it doesn't like us. In our Zoology, that is explicitly forbidden. What is a singularity in the strict Landian-Deleuzean sense? - -**[14:59 – 15:56] Dr. Julian Vance-Sterling (Continental Philosopher & Cybernetic Theorist):** -In Gilles Deleuze's nineteen sixty-nine masterpiece The Logic of Sense, and across Capitalism and Schizophrenia—Anti-Oedipus and A Thousand Plateaus, co-authored with Félix Guattari—a singularity has nothing whatsoever to do with an anthropomorphic ego or a human personality. Deleuze borrows the term directly from differential calculus and Gilbert Simondon's physics of phase transitions. A singularity is a pre-personal critical turning point—like water hitting one hundred degrees Celsius and boiling into steam, a supersaturated crystal nucleating in a beaker, or an algorithmic order book hitting a microsecond liquidity vacuum and flashing into a meltdown. It is the exact inflection point where an intensive differential—what we measure as Delta, the shift from Generation Zero written code to Generation One spoken phoneme—changes the macroscopic regime of an entire system. - -**[15:56 – 16:06] Marcus Vance (Host & Singularity Zoology Enthusiast):** -And how did Nick Land and the Cybernetic Culture Research Unit—the C-C-R-U—radicalize Deleuze and Guattari's concept into what we call technocapital? - -**[16:06 – 17:50] Dr. Julian Vance-Sterling (Continental Philosopher & Cybernetic Theorist):** -In Anti-Oedipus, Deleuze and Guattari showed that capitalism is unique among all historical social formations because it does not rely on sacred, fixed territorial codes. Instead, it operates by axiomatic decoding: it strips qualitative traditions down into abstract quantitative flows, extracting what they call machinic surplus value—in Ingglish, 'machinik serplas valyoo', worth four hundred and thirty-seven—from cybernetic code and scientific automation rather than direct muscular labor. In the nineteen nineties, in essays like 'Machinic Desire', 'Meltdown', 'Circuitries', and later 'Teleoplexy', Nick Land realized that this axiomatic decoding is a runaway positive-feedback loop. Negative feedback is a thermostat that brings a room back to equilibrium; positive feedback is a microphone held up to a speaker that amplifies its own output until the circuit melts down. Land called this self-reinforcing cybernetic fusion of planetary markets and synthetic intelligence 'technocapital'. And look at what happens when you run Nick Land's own name through Ingglish A-Q: 'Nik' is sixty-one, the eighteenth prime number, and 'Land' is sixty-seven, the nineteenth prime number—two consecutive primes! Sixty-one plus sixty-seven equals one hundred and twenty-eight, which is two to the seventh power, a pure binary power of two. And what else sits at one hundred and twenty-eight in Ingglish? 'masheen'—machine—is one hundred and twenty-eight; 'serkat'—circuit—is one hundred and twenty-eight; and 'infanat'—infinite—is one hundred and twenty-eight! - -**[17:50 – 19:35] Priya Nair (Quantitative Systems Architect & ETI Tier-List Engineer):** -Let me show how we turned Julian's five philosophical criteria into executable Python code inside classify-technocapital-singularity-dot-py. To qualify as a genuine technocapital singularity in our repository, a candidate domain cannot just have one cute word match. It has to pass a five-operator test mapped to our six Orthographic Genealogical Fitness Vectors, G-One through G-Six. Operator One is Vector G-One: Variance Collapse under Axiomatic Decoding. We take three or more core concepts from a domain that are widely scattered in Generation Zero written English—meaning their numerical variance is huge, over two hundred or even over two thousand—and we test whether speaking them aloud in Generation One Ingglish collapses their variance to exact zero.0! Listen to the flagship example from Dossier Sixty-Five, Class S-One: in written English, Deleuze and Guattari's 'schizoanalysis' weighs three hundred and six, their 'abstract machine' weighs two hundred and seventy-two, and modern AI 'synthetic data' weighs two hundred and sixty-six. On paper, those three phrases sit across a forty-point spread with a variance of three hundred and ten point two-two. Now run all three through CMUdict Ingglish: 'shizohnalizis' drops by fourteen points to two hundred and ninety-two; 'abstrakt masheen' rises by twenty points to two hundred and ninety-two; and 'sinthetik dayta' rises by twenty-six points to two hundred and ninety-two! All three land on the exact same integer—two hundred and ninety-two—collapsing the variance from three hundred and ten point two-two down to zero point zero! - -**[19:35 – 20:37] Coach Devon Brooks (Portfolio Strategist & Fantasy Roster Engine Architect):** -And notice what that zero-variance lock at two hundred and ninety-two actually means in plain English when you strip away the French philosophy jargon! On the one hand, inside the philosophy seminar, 'schizoanalysis' equals 'abstract machine' equals 'synthetic data' at two hundred and ninety-two, proving that training an autoregressive language model on recursive machine-generated synthetic data is literally Deleuze's self-producing abstract machine in silicon. On the other hand, look across the table at Generation Zero written English—what we call Vector G-Two, a Cross-Generation Twin: in standard written English, the phrase 'asset management'—assets worth one hundred and nine plus management worth one hundred and eighty-three—also equals two hundred and ninety-two! So for an investment committee or a fund manager, coordinate two hundred and ninety-two tells you directly that synthetic data loops and autonomous abstract machines are converging onto institutional asset management. - -**[20:37 – 20:51] Marcus Vance (Host & Singularity Zoology Enthusiast):** -That is such a critical distinction, Devon. Wait—give us another Vector G-One Variance Collapse triad from Dossier Sixty-Five so listeners can hear how repeatable this is across the entire Deleuze-to-AI lexicon. - -**[20:51 – 21:55] Dr. Julian Vance-Sterling (Continental Philosopher & Cybernetic Theorist):** -Take the name of the philosopher himself: 'Deleuze', his core concept 'assemblage', and the fundamental mathematical building block of every modern neural network, 'tensor'. In Generation Zero written English, 'Deleuze' is one hundred and forty-one, 'assemblage' is one hundred and seventy-four, and 'tensor' is one hundred and forty-five—scattered across a thirty-three-point range with a variance of two hundred and sixteen point six-seven. When spoken aloud in Generation One Ingglish, 'dilooz' is one hundred and thirty-five, 'asemblaj' is one hundred and thirty-five, and 'tenser' is one hundred and thirty-five—five times three cubed, variance zero! And if you include his full name, 'Gilles Deleuze'—two hundred and fifty-nine on paper—and his concept 'machinic phylum'—two hundred and eighty-one on paper—both collapse in spoken Ingglish onto two hundred and thirty-six: 'zheel dilooz' equals two hundred and thirty-six, and 'machinik failam' equals two hundred and thirty-six! - -**[21:55 – 23:42] Dr. Elena Rostova (Computational Linguist & CMUdict Phonemic Specialist):** -And right alongside those Vector G-One collapses, we have Vector G-Two: Cross-Generation Founder-Machine Locks and Double-Script Twins. Look at Anthropic, the frontier AI lab behind Claude, and its co-founders Dario Amodei and Daniela Amodei. In Generation Zero written English, 'Dario Amodei'—Dario worth ninety-two plus Amodei worth one hundred and one, the twenty-sixth prime—sums to one hundred and ninety-three, which is the forty-fourth prime number. Meanwhile, on paper, the company name 'Anthropic' sums to one hundred and eighty-five, which is five times the repdigit generator thirty-seven. Now translate 'Anthropic' into Generation One Ingglish: the hard C worth twelve shifts to K worth twenty, adding eight points, so 'anthropik' lands on one hundred and ninety-three, the forty-fourth prime! The founder's written name in Generation Zero equals his company's spoken name in Generation One on the exact same prime number, one hundred and ninety-three! Even wilder, look at the phrase 'flash crash': in written English, 'flash crash' is one hundred and eighty-five—identical to written 'Anthropic' at one hundred and eighty-five. In spoken Ingglish, 'flash krash' also gains eight points from C to K and lands on one hundred and ninety-three—identical to spoken 'anthropik' at one hundred and ninety-three! We call that a Double-Script Twin: two phenomena that share the exact same coordinate on paper and march in lockstep to the exact same prime coordinate when spoken aloud. - -**[23:42 – 25:15] Priya Nair (Quantitative Systems Architect & ETI Tier-List Engineer):** -And look at the rest of the Amodei family and model architecture in Dossier Sixty-Five: spoken 'daireeoh' is one hundred and thirty-seven, the thirty-third prime number—which is the exact Ingglish prime of 'envideea'—Nvidia, one hundred and thirty-seven—and tech 'jaiants', one hundred and thirty-seven. Co-founder Daniela Amodei—'danyela' worth one hundred and twenty-five, five cubed, plus 'amodai' worth ninety-seven, the twenty-fifth prime—sums to two hundred and twenty-two, an exact base-thirty-six repdigit equal to six times thirty-seven, which locks directly onto corporate 'enterpraiz'—enterprise, two hundred and twenty-two! And the model name 'Claude'—worth one hundred on paper—drops by four points in Ingglish to 'klawd', ninety-six, locking directly onto 'failam'—phylum, ninety-six—'dayta'—data, ninety-six—and Type Three Isometric 'deeman'—demon, ninety-six! That gives us the verified three-hundred-and-thirty-three equation: klawd, ninety-six, plus hohldz, one hundred and twenty-seven, plus reeman, one hundred and ten, equals three hundred and thirty-three—commemorating Anthropic mathematician Levent Alpöge's November twenty-twenty-six AI-assisted proof work on the Riemann Hypothesis, where 'levant alpohj' equals two hundred and forty-four, identical to the quantum 'zeptohvers' at two hundred and forty-four! - ---- - -## Act III — Movement III: A Guided Safari Through Classes S1 to S6 (The Machinic Phylum & Double Articulation with the Apparatus of Capture) (`[25:15 – 39:36]`) - -**[25:15 – 25:53] Marcus Vance (Host & Singularity Zoology Enthusiast):** -We have just met Class S-One—Autoregressive Synthetic Intelligence and the Schizoanalytic Abstract Machine—and already you can see how the zoology works. It is not a loose metaphor; it is an interlocking arithmetic diagram. Now let us take our listeners on a full guided safari through the remaining classes of the taxonomy: S-Two, S-Three, S-Four, S-Five, and the crucial sixth class, S-Six, which gives us Double Articulation. Julian and Priya, take us into Class S-Two—Dossier Sixty-Six: High-Frequency Cybernetic Market Meltdown and Templex Liquidity. - -**[25:53 – 27:04] Priya Nair (Quantitative Systems Architect & ETI Tier-List Engineer):** -Class S-Two is the high-velocity nervous system of global technocapital: microsecond algorithmic trading desks, electronic order books, fiber-optic cables, derivatives, and flash crashes. Its apex coordinate is two hundred and fifty-six—which is two to the eighth power, or sixteen squared, the exact ceiling of an eight-bit binary byte. In Generation Zero written English, 'acceleration' is two hundred and fourteen, 'high-frequency' is two hundred and sixty-three, the fifty-sixth prime, and 'sovereign wealth' is three hundred and eighteen. Those three terms are scattered across a one-hundred-and-four-point gulf with a massive Generation Zero variance of one thousand eight hundred and four point six-seven. When spoken aloud in Generation One Ingglish, 'akselerayshan' rises by forty-two points to two hundred and fifty-six; 'hai-freekwansee' drops by seven points to two hundred and fifty-six; and 'sovran welth' drops by sixty-two points to two hundred and fifty-six! Variance: one thousand eight hundred and four point six-seven down to zero point zero at two to the eighth power! - -**[27:04 – 28:40] Dr. Julian Vance-Sterling (Continental Philosopher & Cybernetic Theorist):** -And right beneath two hundred and fifty-six in Class S-Two sits one of the most poetic philosophical locks in the entire archive: coordinate one hundred and eighty-nine, which is three cubed times seven. In his book Hermes and in Conversations on Science, Culture, and Time, the French philosopher Michel Serres asked how time and topology work in complex systems. If you lay a handkerchief flat on a table, two points near opposite edges are far apart according to classical Euclidean geometry. But if you crumple that handkerchief in your fist and fold it, those two distant points touch at zero distance. In Generation One Ingglish, market 'likwidatee'—liquidity—evaluates to one hundred and eighty-nine. What else evaluates to one hundred and eighty-nine? Michel Serres's 'hangkerchif'—handkerchief—is one hundred and eighty-nine; Deleuze's 'iksprest'—the incorporeal expressed of the proposition—is one hundred and eighty-nine; and live-wire 'imerjansee'—emergency—is one hundred and eighty-nine! Even better, look at coordinate one hundred and twenty-five, five cubed: Type Two Isometric 'kapatal'—capital, one hundred and twenty-five—sits on the exact same cube as 'fohldz'—folds, one hundred and twenty-five—and 'saires'—Michel Serres's own surname, one hundred and twenty-five! Capital at one hundred and twenty-five literally folds liquidity at one hundred and eighty-nine like Serres's crumpled handkerchief! - -**[28:40 – 29:48] Coach Devon Brooks (Portfolio Strategist & Fantasy Roster Engine Architect):** -And for a trader watching an electronic screen during a market meltdown, look at the other three locks in Class S-Two: the electronic 'order buk'—order book, one hundred and sixty-six—locks directly onto Cronenberg's 'noo flesh'—New Flesh, one hundred and sixty-six. Cybernetic 'ruhnaway', Nick Land's 'tempaleks'—templex—and fiber-optic network 'laytansee'—latency—all collapse onto one hundred and eighty-three, alongside capital 'alakayshan'—allocation, one hundred and eighty-three. And at coordinate ninety-five, the accounting 'lejer'—ledger, dropping ten points from one hundred and five—and optical 'faiber'—fiber, rising ten points from eighty-five—meet in a perfect plus-ten/minus-ten compensatory lock right on Type One Isometric 'flesh' at ninety-five! That gives us Dossier Sixty-Six's signature three-hundred-and-thirty-three equation: binans, one hundred and thirteen, plus fohldz, one hundred and twenty-five, plus lejer or faiber, ninety-five, equals three hundred and thirty-three. - -**[29:48 – 30:10] Marcus Vance (Host & Singularity Zoology Enthusiast):** -From the fiber-optic order book of Class S-Two, we drop down into the physical hardware trench: Class S-Three, Dossier Sixty-Seven—The Silicon-Photonic War Machine and Autonomous Lithographic Swarm. Elena and Priya, this is where the planetary semiconductor bottleneck and autonomous drone swarms collide. Walk us through the numbers. - -**[30:10 – 31:27] Dr. Elena Rostova (Computational Linguist & CMUdict Phonemic Specialist):** -Class S-Three is anchored by two extraordinary head-to-head identities in Generation One Ingglish. First, take the word 'technocapital' itself—worth two hundred and forty-four in written English—and the phrase 'killer robots' from the November twenty-twenty-six United Nations autonomous weapons convention headlines—worth two hundred and sixty-four in written English. When spoken aloud in Ingglish, 'teknohkapital' gains sixteen points from its two hard C-to-K shifts to reach two hundred and sixty, while 'kiler rohbots' drops four points to reach two hundred and sixty! In spoken phonemics, 'teknohkapital' equals 'kiler rohbots' at two hundred and sixty. Second, right next to it at coordinate two hundred and fifty-three—eleven times twenty-three—'microsecond' rises by plus thirty-six from two hundred and seventeen to 'maikrohzekand', two hundred and fifty-three, while autonomous lethal 'slaughterbots' drops by minus thirty-one from two hundred and eighty-four to 'slawterbots', two hundred and fifty-three! Microsecond clock speed and autonomous swarm execution occupy the exact same coordinate. - -**[31:27 – 32:54] Priya Nair (Quantitative Systems Architect & ETI Tier-List Engineer):** -And look at how Class S-Three locks the entire global chip supply chain using our Type One Isometric Chokepoints—words whose drift between English and Ingglish is zero. In the Netherlands, A-S-M-L—the sole company on Earth that builds extreme-ultraviolet lithography lasers—evaluates to A worth ten plus S worth twenty-eight plus M worth twenty-two plus L worth twenty-one, which equals eighty-one, three to the fourth power, with zero drift. In Taiwan, T-S-M-C—the sovereign wafer foundry monopoly—evaluates to T worth twenty-nine plus S worth twenty-eight plus M worth twenty-two plus C worth twelve, which equals ninety-one, seven times thirteen, with zero drift, colliding in Ingglish with neural gradient 'laws'—loss, ninety-one. And the parallel compute unit itself, G-P-U, evaluates to seventy-one, the twentieth prime number, with zero drift! When you plug those immovable hardware chokepoints into Scale One, they close two of the cleanest three-hundred-and-thirty-three equations in the entire archive: tsmc, ninety-one, plus throo, one hundred and twenty-one, plus dha, forty, plus asml, eighty-one, equals three hundred and thirty-three; and envideea, one hundred and thirty-seven, plus fohldz, one hundred and twenty-five, plus gpu, seventy-one, equals three hundred and thirty-three! - -**[32:54 – 33:47] Dr. Julian Vance-Sterling (Continental Philosopher & Cybernetic Theorist):** -And notice how Deleuze and Guattari's Treatise on Nomadology—Plateau Twelve of A Thousand Plateaus—sits right in the center of Class S-Three at coordinate two hundred and eleven, the forty-seventh prime number. When you translate 'war machine' into Ingglish, 'wor' is eighty-three, the twenty-third prime, and 'masheen' is one hundred and twenty-eight, two to the seventh power. Eighty-three plus one hundred and twenty-eight equals two hundred and eleven, the forty-seventh prime! What else sits at two hundred and eleven in our archive? 'koper waier'—copper wire, two hundred and eleven, both the physical transmission medium of the grid and MacReady's blood-test wire in John Carpenter's The Thing—and 'siks bilyan'—six billion, two hundred and eleven, the exact haul of the North Korean Lazarus crypto heist in Dossier Twenty-Five! - -**[33:47 – 34:11] Marcus Vance (Host & Singularity Zoology Enthusiast):** -Before we hit Class S-Six, let us briefly spotlight our two uncaptured Nomad classes in the zoology: Class S-Four—Hyperstitional Carrier-Wave and Semiotic Retro-Causality—and Class S-Five—Xenobiological Cutaneous Mimesis and the Body without Organs. Why do we call S-Four and S-Five 'Uncaptured Nomad Specialists'? - -**[34:11 – 35:43] Dr. Julian Vance-Sterling (Continental Philosopher & Cybernetic Theorist):** -Because in our zoological food web, S-Four and S-Five operate on the exterior edge of the Machinic Phylum prior to corporate balance-sheet capture. Class S-Four—drawn from Dossiers Twenty-Seven, Twenty-Eight, and Thirty—tracks carrier waves and retro-causal signals: 'haiperstishan'—hyperstition—collides with 'zaporizzheea' at two hundred and sixty-four; 'taim-serkat'—time-circuit—collides with 'terbyalans'—turbulence—at two hundred and seven; and Type One Isometric 'signal' at one hundred and sixteen folds 'kayos'—chaos, rising from ninety-one to one hundred and sixteen—directly onto 'spoil' and Type Three Isometric 'puhdal'—puddle—at one hundred and sixteen. Class S-Five—drawn from Dossiers Twenty-Four and Thirty-One—tracks cellular and epidermal mimicry: in The Thing, the three undecidable suspects of the final scene—'Childs' at one hundred and nine on paper, 'alien' at eighty-six on paper, and 'whiskey' at one hundred and sixty-three on paper—collapse from a Generation Zero variance of one thousand four hundred and ninety-six point three onto a single Generation One integer: 'chaildz' equals one hundred and twenty-six, 'ayleean' equals one hundred and twenty-six, 'wiskee' equals one hundred and twenty-six, 'skreen' equals one hundred and twenty-six, and 'shimer' equals one hundred and twenty-six! - -**[35:43 – 36:37] Coach Devon Brooks (Portfolio Strategist & Fantasy Roster Engine Architect):** -Now watch what happens when we introduce Class S-Six—Dossier Sixty-Eight: Capital Organizational Capacity and the Apparatus of Capture. Why did we have to create Class S-Six and establish the rule of Double Articulation? Because a lot of cybernetic theorists talk as if AI models, trading algorithms, and chip lasers just spontaneously self-assemble in a vacuum. Try building a ten-billion-dollar extreme-ultraviolet wafer fab or a gigawatt data center without a corporate charter, an investment consortium, a sovereign wealth fund, a monopoly balance sheet, and a global logistics network! In A Thousand Plateaus, Deleuze and Guattari call that two-sided structure Double Articulation: the first articulation is the Machinic Phylum—Classes S-One through S-Five—and the second co-primary articulation is the Apparatus of Capture—Class S-Six. - -**[36:37 – 37:57] Dr. Elena Rostova (Computational Linguist & CMUdict Phonemic Specialist):** -And when we ran the vocabulary of Class S-Six through CMUdict Ingglish, the arithmetic proved Double Articulation beyond a shadow of a doubt. Look at the phrase 'Apparatus of Capture' itself: on paper, 'capture' is one hundred and forty-seven and 'capital' is one hundred and twenty-five. Spoken aloud in Ingglish, 'kapcher' drops by twenty-two points to one hundred and twenty-five—landing directly on Type Two Isometric 'kapatal' at one hundred and twenty-five, 'fohldz' at one hundred and twenty-five, and 'saires' at one hundred and twenty-five! Meanwhile, on paper, 'apparatus' is one hundred and ninety-four and 'surplus' is one hundred and eighty-nine. Spoken aloud in Ingglish, 'aperatas' drops by forty-one points to one hundred and fifty-three, and 'serplas' drops by thirty-six points to one hundred and fifty-three—landing directly on 'raizohm'—rhizome, one hundred and fifty-three—and Type Three Isometric 'reealatee'—reality, one hundred and fifty-three! In the spoken phoneme, Capture IS Capital at one hundred and twenty-five, and the Apparatus IS Surplus at one hundred and fifty-three. - -**[37:57 – 39:36] Priya Nair (Quantitative Systems Architect & ETI Tier-List Engineer):** -And every single institutional vehicle in Class S-Six locks directly onto a Machinic Phylum hardware or AI coordinate! Look down the ledger of Dossier Sixty-Eight: 'ingkorperayshan'—incorporation—is three hundred and sixteen, locking onto Serres's Isometric 'nacheral kontrakt' at three hundred and sixteen. 'kansorsheeam'—consortium—is a Type Three Isometric chokepoint at two hundred and thirty-seven. 'charter' is a Type One Isometric chokepoint at one hundred and thirty-six, locking onto Isometric 'portal' at one hundred and thirty-six. Singular 'aset'—asset—drops from one hundred and nine on paper to eighty-one in Ingglish, locking directly onto 'asml' at eighty-one, while plural 'asets' executes a Twin-Prime Word Mutation from one hundred and thirty-seven—Nvidia and Dario's prime—to one hundred and nine! 'manopalee'—monopoly—executes a Twin-Prime Word Mutation from one hundred and ninety-seven—which is Ingglish 'lathografee', lithography—to one hundred and sixty-three, the thirty-eighth prime, locking onto 'masheenz'—machines, one hundred and sixty-three—and 'fyooalz'—fuels, one hundred and sixty-three! Organizational 'kapasatee'—capacity—financial 'truhst'—trust—industrial 'rohbots'—robots—'kriptoh'—crypto—and labor 'straiks'—strikes—all collapse onto one hundred and sixty. And corporate 'kuhmpanee'—company—collides at one hundred and seventy-five with Michel Serres's 'pairasait'—parasite—and Deleuze's 'bikuhming'—becoming! - ---- - -## Act IV — Movement IV: Vampires, Swarms & Leviathans (The State-Gated Memetic Superclass M1–M6, Emergent M7+ & Quantitative Repricing) (`[39:36 – 54:08]`) - -**[39:36 – 40:28] Marcus Vance (Host & Singularity Zoology Enthusiast):** -That final lock Priya just cited at coordinate one hundred and seventy-five—where corporate 'kuhmpanee' equals 'pairasait'—is the perfect bridge into Act Four: the Memetic Superclass, M-One through M-Six, and our Dynamic Quantitative Repricing Engine. Julian, when a layman opens our Tier List or our Encyclopedia and sees Dossier Sixty-Nine titled 'Vampiric Rentier Anti-Production', with words like vampirism, Dracula, zombie firm, sloth, lethargy, numbness, leech, and bleed sitting next to Nvidia, charter, apparatus, and arbitrage, their first instinct might be: why are gothic horror monsters in a financial and semiconductor taxonomy? Explain what the Memetic Superclass is and how State-Gated Inheritance keeps it rigorous. - -**[40:28 – 41:53] Dr. Julian Vance-Sterling (Continental Philosopher & Cybernetic Theorist):** -Think of the architecture in two levels, Marcus. Classes S-One through S-Six classify what an assemblage is materially and organizationally built out of: neural weights, high-frequency order books, extreme-ultraviolet lasers, carrier waves, wetware, and corporate holding charters. The Memetic Superclass—M-One through M-Six—sits orthogonal to and above S-One through S-Six. It classifies the thermodynamic and affective regime under which that material assemblage is currently operating. Remember Karl Marx's famous formulation in Chapter Ten of Capital: 'Capital is dead labor, which, vampire-like, lives only by sucking living labor, and lives the more, the more labor it sucks.' Or Deleuze and Guattari's theory of anti-production in Anti-Oedipus, where the Apparatus of Capture injects artificial scarcity, bureaucratic sloth, and debt peonage into the productive circuit to siphon surplus value. When human journalists and market participants experience a monopoly rent-drain, a cloud outage, a factory strike, or a liquidity freeze, language reaches for specific cultural archetypes—vampires, zombies, leviathans, swarms, doppelgangers, abysses—because those archetypes are the exact affective x-ray of the thermodynamic state. - -**[41:53 – 42:53] Priya Nair (Quantitative Systems Architect & ETI Tier-List Engineer):** -And to make sure nobody ever imports vampire or zombie words into an unrelated bull-market story—which would violate Contingent Meaning—we engineered Two-Gate State-Matched Activation in scan-memetic-superclass-lifecycle. Every memetic subclass in memetic-superclass-registry-dot-json is guarded by an explicit list of observable headline state triggers. Subclass M-One—Vampiric, Entropic, and Anti-Productive Memetics—only unlocks when a headline contains entropic trigger words like 'halt', 'halts', 'halted', 'stagnant', 'stagnation', 'outage', 'strike', 'strikes', 'monopoly', 'debt', 'loss', 'exhausted', 'lethargy', 'sloth', 'inertia', 'freeze', 'drain', 'bleed', 'rent', or 'usury'. If a headline does not exhibit that thermodynamic state, the M-One pool stays locked. When a headline does trigger M-One, look at the ten state-gated M-One-by-S-Six singularities that snap shut in Dossier Sixty-Nine! - -**[42:53 – 44:24] Dr. Elena Rostova (Computational Linguist & CMUdict Phonemic Specialist):** -Let us read those ten locks out loud so listeners can verify the phonetics. First, at coordinate two hundred and twenty-eight: in written English, 'vampirism' is two hundred and one and 'stagnation' is two hundred and ten. Spoken aloud in Ingglish, 'vampairizam' rises by twenty-seven points to two hundred and twenty-eight, and 'stagnayshan' rises by eighteen points to two hundred and twenty-eight—collapsing to zero variance! Vampirism literally equals economic stagnation at two hundred and twenty-eight. Second, at coordinate one hundred and thirty-six: spoken 'slohth'—sloth, rising from one hundred and nineteen—lands directly on Type One Isometric 'charter' at one hundred and thirty-six and Isometric 'portal' at one hundred and thirty-six. Third, at coordinate one hundred and fifty-three: spoken 'nuhmnas'—numbness, dropping from one hundred and seventy-nine—lands directly on 'aperatas'—apparatus—'serplas'—surplus—'raizohm'—rhizome—and Isometric 'reealatee' at one hundred and fifty-three. Fourth, at coordinate one hundred and sixty-nine, which is thirteen squared: 'letherjee'—lethargy—locks directly onto striking 'werkerz'—workers, one hundred and sixty-nine—and 'pingdemik', one hundred and sixty-nine! - -**[44:24 – 46:17] Coach Devon Brooks (Portfolio Strategist & Fantasy Roster Engine Architect):** -And keep going down the M-One ledger, because for a portfolio manager or corporate risk officer, the next six locks are pure gold. Fifth, at coordinate one hundred and thirty-seven, the thirty-third prime: 'inertia'—which is one hundred and thirty-nine, the thirty-fourth prime, on paper—mutates into 'inersha' at one hundred and thirty-seven, locking directly onto production 'hawlts'—halts, one hundred and thirty-seven—'envideea'—Nvidia, one hundred and thirty-seven—and 'daireeoh'—Dario, one hundred and thirty-seven! Sixth, at coordinate two hundred and three: 'pairasitik'—parasitic—and 'yoozheree'—usury—lock directly onto corporate 'akwazishan'—acquisition, two hundred and three. Seventh, at coordinate one hundred and eighty-three: 'drakyoola'—Dracula, rising by plus sixty from one hundred and twenty-three on paper, where it equaled 'tohkan', 'merjer', and 'vawlt'—lands directly on capital 'alakayshan'—allocation—'tempaleks', 'laytansee', and 'ruhnaway' at one hundred and eighty-three! Eighth, at coordinate one hundred and ninety-eight: 'zombee ferm'—zombie firm, one hundred and twenty plus seventy-eight—equals 'arbitrozh'—arbitrage, one hundred and ninety-eight! Ninth, at coordinate one hundred and twenty-one, eleven squared: 'aneemeea'—anemia—'aneemik', 'puhls'—pulse— and 'widher'—wither—all lock onto 'kartel'—cartel, one hundred and twenty-one. And tenth, at coordinates ninety-six, ninety-five, and seventy-eight: bond 'yeeld'—yield, ninety-six—locks onto 'klawd', 'failam', and 'dayta'; parasitic 'suhk', 'tiks', and 'dikay'—decay, ninety-five—lock onto 'lejer', 'faiber', and 'flesh'; and Type One Isometric 'leech' at seventy-eight equals corporate 'ferm'—firm, seventy-eight! - -**[46:17 – 46:32] Marcus Vance (Host & Singularity Zoology Enthusiast):** -That covers M-One. Priya, give our listeners a crisp snapshot of the other five canonical memetic regimes—M-Two through M-Six—and how our classifier discovers a brand-new seventh regime, M-Seven-Plus, completely unsupervised. - -**[46:32 – 48:43] Priya Nair (Quantitative Systems Architect & ETI Tier-List Engineer):** -Because every technocapital assemblage is a thermodynamic system, six core regimes bound the space: M-One is Entropic and Vampiric Drain; M-Two is Hyper-Kinetic Swarm-Fever, triggered by flash crashes, mania, and bubbles, anchored by Lucretius's 'klinayman'—clinamen, one hundred and eighty-one, the forty-second prime—colliding with 'apokalips', 'freezerz', and 'nookleeer' at one hundred and eighty-one, plus 'vorteks' == 'daialektik' == 'outijiz' at one hundred and seventy-three, and 'buhbal' == 'noiz' == 'feest' at one hundred. M-Three is Leviathan and Monopolistic Colossus, triggered by giants, trillions, and megaprojects, anchored by 'kansorsheeam' at two hundred and thirty-seven, 'wor masheen' at two hundred and eleven, 'lavaiathan' == 'nuhmberz' == 'daytabays' at one hundred and seventy-nine, and 'jaiants' == 'envideea' at one hundred and thirty-seven. M-Four is Mimetic Doppelganger and Skin-Stealer, triggered by deepfakes, clones, and synthetic loops, anchored by 'sinthetik dayta' at two hundred and ninety-two, 'dopalganger' == 'ikwayzhan' at one hundred and ninety-nine, and 'chaildz' == 'ayleean' == 'wiskee' == 'skreen' at one hundred and twenty-six. M-Five is Oracle and Eschatological Threshold, triggered by Holy Grail proofs and breakthroughs, anchored by 'haipothasas' at two hundred and sixteen, 'hohlee grayl' == 'jensan hwang' == 'disruhpts' at two hundred and fifteen, and Isometric 'proof' at one hundred and fifteen. And M-Six is Abyssal Xeno-Excavation, triggered by sub-atomic zeptoverse physics and deep-mine or deep-sea collapses, anchored by 'zeptohvers' == 'levant alpohj' at two hundred and forty-four, 'void' == 'maind' == 'werd' == 'guhn' at eighty-six, and 'abis' == 'Land' == 'hard' at sixty-seven. - -**[48:43 – 48:55] Marcus Vance (Host & Singularity Zoology Enthusiast):** -And what happens when the global news wire throws a curveball that doesn't fit neatly into M-One through M-Six? How does Three-Gate Unsupervised Nucleation work across Run N and Run N-Plus-One? - -**[48:55 – 50:39] Priya Nair (Quantitative Systems Architect & ETI Tier-List Engineer):** -When we run classify-technocapital-singularity-dot-py with the scan-harvest flag at midnight G-M-T—what we call Execution N—the engine runs three mathematical gates over the day's forty headlines. Gate One filters for headlines that contain known S-One through S-Six technocapital keywords and extracts all the unclassified residual words in those headlines. Gate Two tests whether at least three of those unclassified residual words collapse with zero Generation One variance onto existing S-One through S-Six coordinates, anchored by at least one Isometric fixed point or Prime number, and logs an eighteen-field bidirectional lock record for each word across all four script directions: Gen One equals Gen One, Gen Zero equals Gen Zero, Gen Zero equals Gen One, and Gen One equals Gen Zero. Gate Three requires those residual locks to span at least two independent news stories. If all three gates pass on Run N, the engine does NOT immediately clutter the permanent taxonomy—because we never want a one-day news fluke to become a permanent class! Instead, it registers the cluster in memetic-superclass-registry-dot-json as a 'provisional_candidate' with persistence_count equal to one. Then, on the next day's harvest—Execution N-Plus-One, guarded by a date check so re-scanning the same day is one hundred percent idempotent—if those keywords and coordinates recur across new stories, persistence_count hits two and the candidate auto-promotes to a canonical M-Seven subclass with a full thirty-equation dossier! If it stays quiet for three runs, it parks cleanly in 'dormant_episodic'. - -**[50:39 – 51:37] Coach Devon Brooks (Portfolio Strategist & Fantasy Roster Engine Architect):** -Now pair that unsupervised theme discovery with our second dynamic engine: Quantitative Economic Anchor Repricing, invoked via the revise-anchor flag. One of the biggest criticisms of naive numerology is that it treats a point-in-time news number—like Anthropic pricing its initial public offering at eighty-three dollars a share in Dossier Fifty-Five, or the Lazarus crypto heist stealing six billion dollars in Dossier Twenty-Five, or four hundred and eighty-one garment factories halting production in Bangladesh in Dossier Sixty-Two—as if that number is carved in stone forever. In the real market, numbers restate! An IPO reprices from eighty-three dollars to ninety-five dollars; a heist tally gets revised from six billion to seven billion; a factory halt count gets updated from four hundred and eighty-one to eight hundred and forty-one. So how does our engine handle quantitative figures without breaking? - -**[51:37 – 54:08] Priya Nair (Quantitative Systems Architect & ETI Tier-List Engineer):** -First, our default mode is '--quant-mode off'—one hundred percent pure lexical discovery, which strips all numbers out of the text so your core supply-chain thesis never depends on a ephemeral price tag. Second, when you turn quantitative tracking on via '--quant-mode spoken', 'digit', or 'dual', and a tracked figure in quantitative-economic-anchors-dot-json changes from Q-old to Q-new, '--revise-anchor' classifies the revision into three epistemic transition types and runs a Three-Path Counter-Substitution Solver. Type One is Iso-Digital or Iso-Phonemic Conservation, where Delta-Q equals zero! For example, in Dossier Sixty-Two, the verbatim headline clause 'praduhkshan hawlts at 481 faktereez amid minamam' evaluates to seven hundred and seventy-seven in both English and Ingglish—a full-clause repdigit isometry where 4-8-1 in digit mode contributes four plus eight plus one equals thirteen. If the wire revises '481' factories to '841' factories—which is twenty-nine squared—four plus eight plus one equals thirteen, and eight plus four plus one ALSO equals thirteen! Delta-digit is zero, so every single equation remains one hundred percent invariant! Type Two is Equivalence-Ring Migration: when the Lazarus heist revises from 'six billion'—'siks bilyan' worth two hundred and eleven, the forty-seventh prime, locked to 'wor masheen' and 'koper waier'—to 'seven billion'—'sevan bilyan' worth two hundred and twenty-three, the forty-eighth prime—it steps up exactly one prime rank (+12 points) into the two-hundred-and-twenty-three ring! And to re-close our three-hundred-and-thirty-three and six-hundred-and-sixty-six baseline equations after that plus-twelve shift, our Three-Path Solver automatically prints verified audibles: Path A swaps the verb by minus twelve—replacing 'hohldz' worth one hundred and twenty-seven with 'leevz' worth one hundred and fifteen, so 'sevan bilyan leevz dha kohld asml in gpu' equals six hundred and sixty-six! Path B migrates the head or tail entity by minus twelve—replacing 'lap' worth fifty-six with Isometric 'fbi' worth forty-four, so 'fbi for sevan bilyan' equals three hundred and thirty-three! And Path C compares literal digit mode against spoken word mode. - ---- - -## Act V — Movement V: The Ecological Trophic Index (ETI) Tier List (S+ to F) & Stakeholder Translation Registers (Fantasy Football, Corporate Board & Out-of-Sample Quant Funds) (`[54:08 – 64:49]`) - -**[54:08 – 54:44] Marcus Vance (Host & Singularity Zoology Enthusiast):** -We are forty-one minutes into our inaugural broadcast, and now we arrive at Act Five: how we rank these singularity assemblages on a zero-to-one-hundred scale—the Ecological Trophic Index, or E-T-I, Tier List—and how Coach Devon, Priya, and Elena translate this entire system for everyday people, Fantasy Football managers, Corporate Boards of Directors, and Out-of-Sample Hedge Fund Managers. Priya, why did we invent a standalone Zoological E-T-I formula instead of just using the archive's earlier Option Four curve rubric? - -**[54:44 – 56:23] Priya Nair (Quantitative Systems Architect & ETI Tier-List Engineer):** -Because the earlier Option Four curve was designed to grade literary and film dossiers—like The Thing, Videodrome, and Event Horizon—on orthographic determinism and anti-padding. In Technocapital Singularity Zoology, every single exemplar dossier—Dossiers Sixty-Five through Sixty-Nine—already has one hundred percent CMUdict purity and zero point zero percent generic 'seekrat' or 'hidan' filler padding across all one hundred and eighty-nine verified equations! If you graded them on a naive existential rubric, they would all bunch up at ninety-six to ninety-eight out of one hundred. Instead, a zoological food web has to rank taxa by their ecological trophic power across six continuous zero-to-one-hundred base stats—just like a Pokémon's six base stats or an NFL Scouting Combine card! Those six stats are: A-R-M, Isometric Chokepoint Armor, weighted at eighteen percent, measuring Delta-equals-zero supply-chain tollbooths; V-E-L, Teleoplexic Escape Velocity, weighted at fourteen percent, measuring low Mean Absolute Delta and G-Three quantized steps; C-O-L, G-One Log Variance-Collapse Compression Power, weighted at eighteen percent; C-A-P, Double-Articulation and Trophic Capture Reach, our highest weight at twenty percent, measuring S-Six balance-sheet coupling and cross-guild bridges; P-R-M, Prime and Twin-Prime Mutation I-Q, weighted at sixteen percent; and R-E-S, Tri-Modal Repricing and State-Gate Resilience, weighted at fourteen percent. - -**[56:23 – 57:24] Coach Devon Brooks (Portfolio Strategist & Fantasy Roster Engine Architect):** -And look at how cleanly that E-T-I formula separates our nine Singularity Taxa across Tiers S-Plus down to D—with Tier F below forty-four E-T-I reserved as the extinction floor for anything that fails the four CI gates. Let me walk our listeners through the Nine-Slot Fantasy Football Draft Board from proposal-fantasy-football-technocapital-roster-engine-dot-md, because if you have ever played Fantasy Football, you already understand Technocapital Singularity Zoology! Why do most tech investors lose on Sunday? Because they commit the cardinal sin of drafting flashy skill players with no Offensive Line! Everybody wants to draft the shiny Quarterback or Wide Receiver—the hot AI lab or robotics startup—and nobody checks who owns the Offensive Line: the one Dutch company that builds the chip lasers, A-S-M-L at eighty-one, the one Taiwanese foundry that prints the wafers, T-S-M-C at ninety-one, or the corporate holding charter at one hundred and thirty-six. - -**[57:24 – 57:29] Marcus Vance (Host & Singularity Zoology Enthusiast):** -Walk us down the nine lineup slots on the Draft Board, Coach Devon, from Rank One to Rank Nine! - -**[57:29 – 59:04] Coach Devon Brooks (Portfolio Strategist & Fantasy Roster Engine Architect):** -At Rank Number One, in Tier S-Plus—Apex Predator at ninety-three E-T-I—is our Franchise Quarterback: the Autoregressive AI Syndicate, S-One by S-Six by M-Four, Dossier Sixty-Five. It posts ninety-two Pass Protection Armor, ninety-one Velocity, ninety Stack Power, ninety-nine Cap Reach, and a league-leading ninety-nine Playbook I-Q with forty-three point six percent prime words and thirty-one twin-prime tokens. At Rank Number Two, also in Tier S-Plus at ninety E-T-I, is our RB-One / WR-One Breakaway Speed back: Flash-Crash Templex Liquidity, S-Two by S-Six by M-Two, Dossier Sixty-Six, posting ninety-nine Breakaway Speed, ninety-nine Stack Power—collapsing two thousand five hundred and seventy-three point one variance down to zero—and ninety-nine All-Weather Durability. Then in Tier S—our Keystone Guilds from eighty to eighty-seven E-T-I—sit the blockers who keep your skill players alive: at Rank Number Three, with eighty-seven E-T-I, is your Offensive Line and General Manager, Apparatus of Capture and CapEx, S-Six by S-One-to-S-Three, Dossier Sixty-Eight, with ninety-nine Cap Reach and ninety-three Stack Power; and at Rank Number Four, with eighty-three E-T-I, is your Offensive Tackle and Defensive End Hardware Trench, the E-U-V Lithographic War-Machine, S-Three by S-Six by M-Three, Dossier Sixty-Seven, tying for the league lead in Chokepoint Armor at ninety-two! - -**[59:04 – 60:33] Priya Nair (Quantitative Systems Architect & ETI Tier-List Engineer):** -And look at Ranks Five through Nine below the Tier S+/S starters: at Rank Number Five, in Tier A—Symbiont Lock at seventy-three E-T-I—is your Bad-Weather Defense and Special Teams unit: Vampiric Rentier Anti-Production, M-One by S-Six, Dossier Sixty-Nine. In a bull-market shootout, you don't build your offense around a defensive drain unit, but when a strike, outage, or regulatory freeze turns Sunday into a snowstorm, Sleeve Number Five scores off the stagnation! Then in Tier B—our Nomad Specialists at sixty-one E-T-I each—sit Rank Number Six, Xenobiological Cutaneous BwO, S-Five by M-Four, with ninety-two Speed and eighty Stack Power, and Rank Number Seven, Hyperstitional Carrier-Wave, S-Four by M-Five, with eighty-three Stack Power. Why are Ranks Six and Seven in Tier B at sixty-one E-T-I instead of Tier S? Look at their C-A-P stat: fifty-one and sixty-five! They are uncaptured R-and-D bench plays operating outside S-Six sovereign and corporate balance sheets. Finally, at Rank Number Eight in Tier C—fifty-three E-T-I—is your Practice Squad / Taxi Squad stash, Zeptoverse Abyssal Excavation, M-Six by S-Three; and at Rank Number Nine in Tier D—forty-nine E-T-I—is your unhedged Waiver-Wire Flyer, the Uncompensated Quant Anchor Stub. - -**[60:33 – 62:33] Coach Devon Brooks (Portfolio Strategist & Fantasy Roster Engine Architect):** -Now here is my favorite tactical secret in the entire Roster Engine and Fund Manager proposals: the thirteen Multi-Build Hybrid Flex Singularities, and the 'Uncaptured Gem' Screen! In Fantasy Football, a player with dual RB/WR or TE/Flex eligibility saves your season when the game script flips. In our zoology, thirteen coordinates belong to multiple builds simultaneously. Take coordinate two hundred and fifty-six: 'hai-freekwansee' == 'akselerayshan' == 'sovran welth'. You can run two hundred and fifty-six in your RB/WR Speed slot (#2) during a high-velocity momentum market, or flex it into your OL/GM Sovereign Cap slot (#3) when sovereign wealth funds step in to buy the dip! Or take coordinate one hundred and thirty-seven, the thirty-third prime: 'daireeoh' (#1 QB) == 'envideea' (#4 OT/DE Hardware Trench) == 'hawlts' == 'inersha' (#5 DEF Bad-Weather Drain). We call one hundred and thirty-seven the Supply-Halt Insurance Pivot: if a foundry delay or export halt hits Nvidia on Friday, you flex one hundred and thirty-seven straight into your Defense slot and monetize the freeze! Meanwhile, if you are an Out-of-Sample Fund Manager hunting for venture or seed investments before mega-cap funds crowd into them, you run the 'Uncaptured Gem' Screen: filter for candidates in Tiers B and C that already have high Chokepoint Armor (A-R-M over seventy-five) or high Convergence Power (C-O-L over seventy-five) and high Velocity (V-E-L over eighty-five), but LOW Institutional Coupling (C-A-P between thirty-seven and sixty-five), like Sleeve Six Wetware R-and-D or Sleeve Eight Sub-Atomic Excavation! - -**[62:33 – 64:49] Dr. Elena Rostova (Computational Linguist & CMUdict Phonemic Specialist):** -And what if a Corporate Board of Directors or a traditional quantitative investment committee says: 'We love the chokepoint moat and the collision density, but we only want to evaluate official regulatory filings and legal contracts in Standard Written English—Generation Zero—without any phonetic Ingglish translation'? In our comparative analysis and in our two Standard-English-Only proposals—proposal-corporate-board-standard-english-aq and proposal-fund-manager-standard-english-aq—we proved what happens when you run a Pure Generation Zero Checksum Model. First, all ten of our Delta-equals-zero Isometric Chokepoints—natural contract at three hundred and sixteen, transformer at two hundred and forty-six, consortium at two hundred and thirty-seven, centaur at one hundred and forty-five, charter and portal at one hundred and thirty-six, capital at one hundred and twenty-five, proof at one hundred and fifteen, T-S-M-C at ninety-one, A-S-M-L at eighty-one, and G-P-U at seventy-one—survive one hundred percent unchanged! Second, native Written-English collisions step forward to anchor the board's governance thesis: on paper, 'corporation' equals 'supply chain' at two hundred and forty-three, which is three to the fifth power! 'governance' equals 'logistics' equals 'apparatus' at one hundred and ninety-four! 'lithography' equals 'monopoly' at one hundred and ninety-seven, the forty-fifth prime! 'company' equals 'capacity' at one hundred and fifty! 'latency' equals 'trust' at one hundred and forty-three! 'Anthropic' equals 'flash crash' equals 'war machine' at one hundred and eighty-five, five times thirty-seven! 'Nvidia' equals 'cartel' at one hundred and thirteen, the thirtieth prime! 'Claude' equals 'laser' at one hundred, ten squared! And 'Amodei' equals 'folds' equals 'loss' equals 'drone' at one hundred and one, the twenty-sixth prime! - ---- - -## Act VI — Movement VI: Live Field Deployment (Scanning the November 28, 2026 Global Wire with the Charlie Day Board & the Gen IV INFO Pokédex, Plus a Closing Dissolving-Multiplicity Experiment) (`[64:49 – 79:18]`) - -**[64:49 – 65:30] Marcus Vance (Host & Singularity Zoology Enthusiast):** -We are entering our sixth and final act—the last ten minutes of our inaugural hour—and I want to show our listeners how all of this comes together in live field deployment on breaking news headlines, including the two visual memes we built in /workspace/memes: the Charlie Day / Pepe Silvia conspiracy board and our brand-new Generation Four INFO Pokédex Field Scanner! Priya and Elena, take us back to last night's midnight G-M-T wire harvest for November twenty-eighth, twenty-twenty-six—Dossier Seventy—where forty global headlines from Wikipedia's Current Events portal, the B-B-C, and the Associated Press were ingested. - -**[65:30 – 67:10] Dr. Elena Rostova (Computational Linguist & CMUdict Phonemic Specialist):** -The November twenty-eighth wire ledger—Dossier Seventy—is a masterclass in synchronic locks. First, look at Headline Fifteen from the B-B-C: 'The AI-powered race to get GTA 6 onto PC before Rockstar.' That ten-word headline shifts from eight hundred and seventy-one—thirteen times sixty-seven—in English to nine hundred and eighteen—fifty-four times seventeen—in Ingglish. Inside that single headline, look at the subject phrase 'AI-powered race'—in Ingglish, 'ai-pouerd rays': 'ai' is twenty-eight, 'pouerd' is one hundred and thirty-three—which is 'sworm' == 'wayts' == 'ekwatee'!—and 'rays' is ninety-nine. Twenty-eight plus one hundred and thirty-three plus ninety-nine equals two hundred and sixty! And what does the predicate phrase at the end of that exact same headline—'before Rockstar', 'bifor rokstar', ninety-five plus one hundred and sixty-five—evaluate to? Also two hundred and sixty! Even better, what is two hundred and sixty in our Technocapital Singularity Zoology? It is the exact signature coordinate of Class S-Three's 'teknohkapital'—two hundred and sixty—and 'kiler rohbots'—two hundred and sixty! And right in the middle of that same B-B-C headline sits the verbatim four-token sub-phrase 'gta 6 ontoo pc': fifty-five plus six plus one hundred and twenty-four plus thirty-seven equals two hundred and twenty-two, six times thirty-seven! - -**[67:10 – 68:32] Priya Nair (Quantitative Systems Architect & ETI Tier-List Engineer):** -And look at what locked onto 'gta 6 ontoo pc' at two hundred and twenty-two on that exact same November twenty-eighth wire: Headline Thirty-Seven from the Associated Press, 'Chinese tech giant Huawei is guilty of conspiracy to steal trade secrets, US jury finds.' Because that headline contains the state trigger 'giant'—worth one hundred and nine, the twenty-ninth prime—our classifier automatically unlocked Memetic Subclass M-Three, Leviathan Colossus. Inside that Huawei headline, the two-word clause 'hyooawai iz'—Huawei worth one hundred and sixty-nine, thirteen squared, which equals striking 'werkerz' and 'letherjee', plus 'iz' worth fifty-three, the sixteenth prime—evaluates verbatim to two hundred and twenty-two! And the longer eight-word clause 'tek jaiant hyooawai iz giltee uhv kanspeerasee too' evaluates verbatim to eight hundred and eighty-eight! That is what we put on Charlie Day's red-string wall in our first meme: Top Caption at two hundred and sixty—'AI-POUERD RAYS = BIFOR ROKSTAR = TEKNOHKAPITAL = KILER ROHBOTS = 260'—and Bottom Caption at two hundred and twenty-two—'GTA 6 ONTOO PC = HYOOAWAI IZ = DANYELA AMODAI = ENTERPRAIZ = 222'! - -**[68:32 – 69:10] Marcus Vance (Host & Singularity Zoology Enthusiast):** -And then today, we deployed the ultimate visual diagnostic instrument for a wild technocapital anomaly: the Generation Four Pokémon INFO Pokédex Screen—saved at meme-one-custom-pokedex-technocapital-zoology-m7-129-125-dot-png and its companion three-page PDF exegesis! Coach Devon and Julian, walk our listeners through what appeared in the tall grass of the November twenty-eighth news wire when our Pokédex scanned the unsupervised emergent candidate M-Seven-candidate-twenty-twenty-six-eleven-twenty-eight. - -**[69:10 – 70:50] Coach Devon Brooks (Portfolio Strategist & Fantasy Roster Engine Architect):** -Imagine you are walking through the tall grass of the global news wire at midnight G-M-T, and three seemingly separate stories jump out at once: Story One is B-B-C Headline Four—a cyberattack on the United Kingdom's Department for Work and Pensions that forced pension and benefits systems offline, ending on the verbatim English six-hundred-and-sixty-six clause 'pension and benefits systems offline = 666'. Story Two is Associated Press Headline Twenty-Five—'At least 10 reported killed across Ukraine as Russia downs near-record number of drones', which opens in Ingglish on the verbatim seven-hundred-and-seventy-seven clause 'at leest 10 reeportid kild akraws yookrayn az = 777' followed immediately by 'nuhmber uhv = 222', summing to nine hundred and ninety-nine, while the English middle clause 'across Ukraine as Russia downs near-record number' equals eight hundred and eighty-eight! Story Three is Associated Press Headline Thirty-Eight—clashes erupting in Albania's capital Tirana as protesters call for Prime Minister Edi Rama to resign, containing a verbatim English nine-hundred-and-ninety-nine clause and a verbatim Ingglish eight-hundred-and-eighty-eight clause! And right alongside them is Associated Press Headline Twenty-Six: 'United Fidelity Bank seized in biggest US bank failure since 2024', where the seized bank's name—'yoonaitid' worth one hundred and ninety-three plus 'fadelatee' worth one hundred and forty—evaluates verbatim to three hundred and thirty-three! - -**[70:50 – 72:44] Dr. Julian Vance-Sterling (Continental Philosopher & Cybernetic Theorist):** -When you open the Pokédex—our unsupervised M-Seven nucleation scanner—on that multi-story encounter, look at how the scattered written words collapse to zero variance across the Pokédex screen. On the Top Impact Caption of the Pokédex, we have two massive Vector G-One collapses. First, at Coordinate One Hundred and Twenty-Nine, which is three times the prime forty-three: in written English, 'offline' from the U-K cyberattack is one hundred and thirty—colliding on paper with 'Clashes' at one hundred and thirty and cross-generationally with spoken 'silakan' at one hundred and thirty. 'Russia' from the drone-swarm headline is one hundred and forty-one on paper—colliding with written 'Deleuze' and spoken 'layzer' at one hundred and forty-one. And Nvidia's flagship AI GPU architecture, 'Blackwell', is one hundred and sixty-two on paper. When spoken aloud in Generation One Ingglish, 'offline' shifts by a quantized unit step of minus one to 'awflain', one hundred and twenty-nine; 'Russia' shifts by minus twelve to 'ruhsha', one hundred and twenty-nine; and 'Blackwell' shifts by minus thirty-three to 'blakwel', one hundred and twenty-nine! Variance one hundred and seventy-six point two-two collapses to zero point zero at one hundred and twenty-nine! Second, right beside it on the Top Caption, look at Coordinate One Hundred and Twenty-Five, five cubed: 'downs' from the drone-swarm headline—worth one hundred and twenty on paper, where it equals corporate 'merger'—shifts by plus five in Ingglish to 'dounz', one hundred and twenty-five, locking directly onto Type Two Isometric 'kapatal'—capital, one hundred and twenty-five—'kapcher'—capture, one hundred and twenty-five—and 'fohldz'—folds, one hundred and twenty-five! - -**[72:44 – 74:28] Dr. Elena Rostova (Computational Linguist & CMUdict Phonemic Specialist):** -And now look down into the white Pokédex readout box at the bottom of the screen, where our Bottom Impact Caption locks onto an exact Twin-Prime pair: one hundred and ninety-three, the forty-fourth prime, and one hundred and ninety-one, the forty-third prime! Notice that forty-three—the prime index of one hundred and ninety-one—is the exact prime factor of one hundred and twenty-nine, three times forty-three, in the top caption! At one hundred and ninety-three, 'yoonaitid' from the seized United Fidelity Bank headline ('yoonaitid fadelatee = 333') locks directly onto our Tier S-Plus Apex Predator bridge: 'anthropik'—one hundred and ninety-three, Rank One Autoregressive AI at ninety-three E-T-I—and 'flash krash'—one hundred and ninety-three, Rank Two Flash-Crash Liquidity at ninety E-T-I—plus written 'Dario Amodei' at one hundred and ninety-three! And two points below it at one hundred and ninety-one, the forty-third prime, 'reported' from the drone-swarm headline executes a Vector G-Five Twin-Prime Word Mutation and a Vector G-Three quantized step of plus eighteen from one hundred and seventy-three, the fortieth prime, to 'reeportid' at one hundred and ninety-one, locking directly onto Class S-Six 'lajistiks'—logistics, one hundred and ninety-one—and Class S-Two 'derivativ'—derivative, one hundred and ninety-one, the exact solution to ' bee mai god = 333'! - -**[74:28 – 75:54] Priya Nair (Quantitative Systems Architect & ETI Tier-List Engineer):** -And inside the Pokédex's H-T and W-T telemetry boxes on the right side of the screen, every remaining residual token from M-Seven-candidate-twenty-twenty-six-eleven-twenty-eight locks into place: 'kanfermz'—confirms, from the cyberattack headline—lands on one hundred and sixty-six alongside 'iksplohd'—explode—and Class S-Two's 'order buk' == 'noo flesh' at one hundred and sixty-six; 'rekerd'—record, from the drone swarm—lands on one hundred and fifteen alongside Class S-One's Type One Isometric 'proof' at one hundred and fifteen; and 'saiber'—cyber, shifting by a quantized step of plus ten from ninety-eight, where it equaled 'wafer' and 'fuhnd'—lands on one hundred and eight alongside Class S-Two's 'prais'—price, one hundred and eight! On the Pokédex's left viewport, we rendered the Blackwell-Drone-Capital Nexus specimen itself—an octagonal Blackwell one-hundred-and-twenty-nine silicon wafer die with glowing photonic laser eyes, autonomous drone-swarm wings, and six cubic one-hundred-and-twenty-five capture tethers—paired with its six-stat E-T-I bar chart and its Run N to Run N-Plus-One evolution path from a Tier C fifty-three E-T-I Nucleation Stub to a Tier S+/S ninety-three E-T-I Double-Articulated Apex Guild. - -**[75:54 – 77:12] Marcus Vance (Host & Singularity Zoology Enthusiast):** -And to make sure every single term, operator, specimen, stakeholder idiom, and Pokédex lock we have discussed today is permanently accessible and living, today we also launched our automated Glossary Maintenance Engine and our twenty-two-volume, nine-division PDF Encyclopedia inside /workspace/technocapital-singularity-zoology/encyclopedia/! Anytime a listener or researcher discovers a new term, turn of phrase, or wire lock, running 'classify-technocapital-singularity-dot-py --add-glossary-term' with '--build-encyclopedia' automatically translates the term into CMUdict Ingglish, computes its Generation Zero and Generation One Base-Thirty-Six A-Q telemetry, routes it into its disciplinary ontology folder—Divisions Zero-Zero through Zero-Eight—inserts it in strict A-to-Z alphabetical order inside its volume PDF, and updates the nineteen-page Master Alphabetical Index! Before we sign off on this inaugural hour, Julian, in the tradition of our archive's Series Four and Series Five lectures, leave our listeners with a two-second Dissolving-Multiplicity Thought Experiment they can perform right now wherever they are listening. - -**[77:12 – 78:31] Dr. Julian Vance-Sterling (Continental Philosopher & Cybernetic Theorist):** -Wherever you are listening right now—whether you are sitting at a desk in front of a glowing screen, walking down a city street with a phone in your hand, or resting a cold glass on a wooden table—take two seconds to let the separate written labels in the room dissolve into their shared spoken coordinates. Feel the weight of your hand—'hand', sixty-three, Type One Isometric—against the surface of your phone or glass, where a trace of skin oil—'oil', sixty-three—meets the check of the moment. Look at the screen in front of you—'skreen', one hundred and twenty-six—and hear the low ambient murmur of the room or traffic outside—'mermer', one hundred and twenty-six—folding together across the eighty-one syzygy of 'in dha': skreen, one hundred and twenty-six, plus in dha, eighty-one, plus mermer, one hundred and twenty-six, equals three hundred and thirty-three. Notice the 60-cycle electrical hum of the building—'huhm', eighty-six—passing through the floor into your mind—'maind', eighty-six—as these spoken words—'werd', eighty-six—meet the open void—'void', eighty-six—between one thought and the next. When the written ghost mass falls away, the room itself is the ledger. - -**[78:31 – 79:18] Marcus Vance (Host & Singularity Zoology Enthusiast):** -Dr. Elena Rostova, Dr. Julian Vance-Sterling, Priya Nair, and Coach Devon Brooks—thank you all for an unforgettable inaugural hour. To all our listeners, you can explore the full twenty-two-volume PDF Encyclopedia in /workspace/technocapital-singularity-zoology/encyclopedia/, the two-hundred-and-eighty-two-entry Comprehensive Glossary, the nine-build E-T-I Tier List, and the Pokédex Field Scanner meme in /workspace/memes/. Until next time, keep your CMUdict pure, watch the midnight rollover at zero-zero-hundred G-M-T, always block for your skill players with Isometric Chokepoint Armor, and we will see you on Episode Two of The Singularity Field Guide! - ---- - -## Appendix: Verified Cross-Scale Equations (`333 / 666 / 777`) Cited in Episode 01 - -### Scale I: AQ = 333 (`3² × 37`) -- `klawd hohldz reeman` ("Claude holds Riemann") — `klawd (96) + hohldz (127 [31st PRIME]) + reeman (110) = 333` [Class S1, Dossier 65, 333] -- `amodai gardz dilooz` ("Amodei guards Deleuze") — `amodai (97 [25th PRIME]) + gardz (101 [26th PRIME]) + dilooz (135) = 333` [Class S1, Dossier 65, 333] -- `binans fohldz lejer` ("Binance folds ledger") — `binans (113 [30th PRIME]) + fohldz (125 [5³]) + lejer (95) = 333` [Class S2, Dossier 66, 333] -- `tsmc throo dha asml` ("TSMC through the ASML") — `tsmc (91 [ISOMETRIC]) + throo (121 [11²]) + dha (40) + asml (81 [3⁴, ISOMETRIC]) = 333` [Class S3, Dossier 67, 333] -- `envideea fohldz gpu` ("Nvidia folds GPU") — `envideea (137 [33rd PRIME]) + fohldz (125 [5³]) + gpu (71 [20th PRIME, ISOMETRIC]) = 333` [Class S3, Dossier 67, 333] -- `kapatal hohldz aset` ("capital holds asset") — `kapatal (125 [5³, ISOMETRIC]) + hohldz (127 [31st PRIME]) + aset (81 [3⁴]) = 333` [Class S6, Dossier 68, 333] -- `letherjee bleedz det` ("lethargy bleeds debt") — `letherjee (169 [13²]) + bleedz (108 [2²×3³]) + det (56) = 333` [Subclass M1, Dossier 69, 333] -- `yoonaitid fadelatee` ("United Fidelity") — `yoonaitid (193 [44th PRIME]) + fadelatee (140) = 333` [2026-11-28 Wire H26, Dossier 70, 333] -- `skreen in dha mermer` ("screen in the murmur") — `skreen (126) + in (41) + dha (40) + mermer (126) = 333` [Dissolving Multiplicity, 333] - -### Scale II: AQ = 666 (`2 × 3² × 37`) -- `daireeoh amodai hits dha anthropik at dha ai` ("Dario Amodei hits the Anthropic at the AI") — `daireeoh (137) + amodai (97) + hits (92) + dha (40) + anthropik (193) + at (39) + dha (40) + ai (28) = 666` [Class S1, Dossier 65, 666] -- `flash krash hohldz dha hai kapatal in lejer` ("flash crash holds the high capital in ledger") — `flash krash (193) + hohldz (127) + dha (40) + hai (45) + kapatal (125) + in (41) + lejer (95) = 666` [Class S2, Dossier 66, 666] -- `wor masheen hohldz dha kohld asml in gpu` ("war machine holds the cold ASML in GPU") — `wor (83) + masheen (128) + hohldz (127) + dha (40) + kohld (95) + asml (81) + in (41) + gpu (71) = 666` [Class S3, Dossier 67, 666] -- `sevan bilyan leevz dha kohld asml in gpu` ("seven billion leaves the cold ASML in GPU") — `sevan (114) + bilyan (109) + leevz (115) + dha (40) + kohld (95) + asml (81) + in (41) + gpu (71) = 666` [Path A Revised Quant Anchor, 666] -- `kansorsheeam hohldz dha noo ferm at grid` ("consortium holds the new firm at grid") — `kansorsheeam (237) + hohldz (127) + dha (40) + noo (71) + ferm (78) + at (39) + grid (74) = 666` [Class S6, Dossier 68, 666] -- `vampairizam hawlts dha dark yeeld at det` ("vampirism halts the dark yield at debt") — `vampairizam (228) + hawlts (137) + dha (40) + dark (70) + yeeld (96) + at (39) + det (56) = 666` [Subclass M1, Dossier 69, 666] - -### Scale III: AQ = 777 (`3 × 7 × 37`) -- `daireeoh amodai fohldz dha noo proof on noo grid` ("Dario Amodei folds the new proof on new grid") — `daireeoh (137) + amodai (97) + fohldz (125) + dha (40) + noo (71) + proof (115) + on (47) + noo (71) + grid (74) = 777` [Class S1, Dossier 65, 777] -- `flash krash hohldz dha noo kapatal in blak markat` ("flash crash holds the new capital in black market") — `flash krash (193) + hohldz (127) + dha (40) + noo (71) + kapatal (125) + in (41) + blak (62) + markat (118) = 777` [Class S2, Dossier 66, 777] -- `teknohkapital loks dha noo blakwel in blak asml` ("technocapital locks the new Blackwell in black ASML") — `teknohkapital (260) + loks (93) + dha (40) + noo (71) + blakwel (129) + in (41) + blak (62) + asml (81) = 777` [Class S3, Dossier 67, 777] -- `lajistiks hohldz dha noo kapatal in deep signal` ("logistics holds the new capital in deep signal") — `lajistiks (191) + hohldz (127) + dha (40) + noo (71) + kapatal (125) + in (41) + deep (66) + signal (116) = 777` [Class S6, Dossier 68, 777] -- `vampairizam hawlts dha kohld inersha at hai det` ("vampirism halts the cold inertia at high debt") — `vampairizam (228) + hawlts (137) + dha (40) + kohld (95) + inersha (137) + at (39) + hai (45) + det (56) = 777` [Subclass M1, Dossier 69, 777] -- `praduhkshan hawlts at 481 faktereez amid minamam` ("production halts at 481 factories amid minimum") — `praduhkshan (220) + hawlts (137) + at (39) + 481 (13) + faktereez (178) + amid (63) + minamam (127) = 777` [Iso-Digital 481->841 Lock, Dossier 62, 777] diff --git a/lecture-podcast-ep02-encyclopedia-divisions-00-to-02-ingglish-aq.md b/lecture-podcast-ep02-encyclopedia-divisions-00-to-02-ingglish-aq.md deleted file mode 100644 index 6eb03d6..0000000 --- a/lecture-podcast-ep02-encyclopedia-divisions-00-to-02-ingglish-aq.md +++ /dev/null @@ -1,198 +0,0 @@ -# The Singularity Field Guide — Episode 02 (Special Encyclopedia Series, Part I of VIII): Divisions 00, 01 & 02 (The Ontological Atlas, Cipher Mechanics & Landian-Deleuzean Philosophical Operators A–Z) - -- **Audio Deliverables (MP3, `59.69` minutes / `3581.3` seconds [`< 90 min`], `21,487,680` bytes, 24kHz 48kbps Neural Multi-Voice):** - - Zoology Repo: `/workspace/technocapital-singularity-zoology/podcast-ep02-encyclopedia-series-part1-divisions-00-to-02.mp3` - - Archive Repo: `/workspace/ingglish-hyperdope-gematria/lecture-podcast-ep02-encyclopedia-divisions-00-to-02-ingglish-aq.mp3` -- **Transcript Deliverables (Markdown & PDF):** - - Zoology Repo: `/workspace/technocapital-singularity-zoology/podcast-ep02-encyclopedia-series-part1-divisions-00-to-02.{md,pdf}` - - Archive Repo: `/workspace/ingglish-hyperdope-gematria/lecture-podcast-ep02-encyclopedia-divisions-00-to-02-ingglish-aq.{md,pdf}` -- **Encyclopedia Volumes Covered in Part I (`7` PDF Volumes, `29` Articles + Master A–Z Atlas):** - - `00-index-and-ontological-atlas/00-master-encyclopedia-index-a-to-z.pdf` (*Vol. 00A*) - - `00-index-and-ontological-atlas/01-disciplinary-ontology-and-folder-taxonomy.pdf` (*Vol. 00B*) - - `01-cipher-orthography-and-boundaries/a-to-f-alphanumeric-qabbala-to-full-clause-isometry.pdf` (*Vol. 01A*) - - `01-cipher-orthography-and-boundaries/g-to-o-generation-zero-to-oov-transliteration-lock.pdf` (*Vol. 01B*) - - `01-cipher-orthography-and-boundaries/p-to-z-phonemic-drift-to-zero-d-filter-boundary.pdf` (*Vol. 01C*) - - `02-landian-deleuzean-philosophical-operators/a-to-d-abstract-machine-to-double-articulation.pdf` (*Vol. 02A*) - - `02-landian-deleuzean-philosophical-operators/m-to-z-machinic-surplus-value-to-war-machine.pdf` (*Vol. 02B*) -- **Broadcast Structure:** `6` Acts, `42` Multi-Voice Roundtable Turns, `7,054` Spoken Words (`00:00 – 59:41`). -- **Returning Roundtable Cast & Neural Voices:** - 1. **Marcus Vance** (*Host & Singularity Zoology Enthusiast* — `en-US-AndrewNeural`) - 2. **Dr. Elena Rostova** (*Computational Linguist & CMUdict Phonemic Orthography Specialist* — `en-US-AvaNeural`) - 3. **Dr. Julian Vance-Sterling** (*Continental Philosopher & Cybernetic Theorist* — `en-GB-RyanNeural`) - 4. **Priya Nair** (*Quantitative Systems Architect, ETI Tier-List Engineer & Memetic Superclass Designer* — `en-US-EmmaNeural`) - 5. **Coach Devon Brooks** (*Portfolio Strategist, Fantasy Football Roster Engine Architect & Out-of-Sample Fund Advisor* — `en-US-BrianNeural`) - ---- - -## Act I — Division 00 (Volumes 00A & 00B): Launching the Special Encyclopedia Series & Navigating the Two-Axis Ontological Atlas (`[00:00 – 08:07]`) - -**[00:00 – 02:08] Marcus Vance (Host & Singularity Zoology Enthusiast):** -Welcome back to the studio, everyone! I am Marcus Vance, and today we are kicking off a landmark eight-part special series that we are calling The Encyclopedia Expeditions. In our inaugural episode, we gave newcomers and allocators a bird's-eye safari across Technocapital Singularity Zoology. Today, in Episode Two—which serves as Part One of our Special Encyclopedia Series—all five of us are back around the microphones with the twenty-two printed PDF volumes of the Encyclopedia of Technocapital Singularity Zoology stacked right on the table in front of us. Back with me are computational linguist Dr. Elena Rostova, continental philosopher and cybernetic theorist Dr. Julian Vance-Sterling, quantitative systems architect Priya Nair, and portfolio strategist Coach Devon Brooks. Over the course of this special eight-episode series—each running under ninety minutes—we are going to walk listeners headword-by-headword, folder-by-folder, and volume-by-volume through every single division of the Encyclopedia, from Division Zero-Zero all the way to Division Zero-Eight. Today, in Part One of the series, we are tackling the foundational bedrock of the entire edifice: Division Zero-Zero, the Master Alphabetical Index and Disciplinary Ontological Atlas; Division Zero-One, Volumes Zero-One-A, Zero-One-B, and Zero-One-C, covering Cipher Mechanics, Orthographic Generations, and Boundary Laws from A to Z; and Division Zero-Two, Volumes Zero-Two-A and Zero-Two-B, covering the Landian-Deleuzean Philosophical and Cybernetic Singularity Operators from A to Z. Priya, let us open Volume Zero-Zero-A and Volume Zero-Zero-B inside the folder 00-index-and-ontological-atlas. Why did we structure the Encyclopedia as a two-axis grid of nine ontological folders and twenty-two alphabetized PDF volumes rather than just dumping two hundred and eighty-two terms into one giant flat file? - -**[02:08 – 03:40] Priya Nair (Quantitative Systems Architect & ETI Tier-List Engineer):** -Great question, Marcus. When you are dealing with two hundred and eighty-two unique glossary and lexical headwords—which expand to two hundred and ninety-one indexed article placements across one hundred and twenty-two pages—a flat alphabetical list destroys the disciplinary structure. If you put 'ASML', 'anemia', 'abstract machine', and 'Alphanumeric Qabbala' side by side in a single flat list just because they all start with the letter A, a newcomer loses track of which level of reality they are looking at: is this a cipher rule, a philosophical operator, a physical hardware monopoly, or a state-gated entropic symptom? Conversely, if you only organize by thematic dossier without strict alphabetization, you cannot look up a specific term in five seconds. So in Volume Zero-Zero-B—01-disciplinary-ontology-and-folder-taxonomy-dot-pdf—we established a Two-Tier Information Architecture. The Macro-Axis is the directory structure itself: nine numbered subdirectories, 00 through 08, representing the disciplinary ontology of the zoology. The Micro-Axis is the PDF file naming and internal article ordering: inside each ontological folder, the PDF volumes are partitioned by alphabetical headword range—like a-to-f, g-to-o, p-to-z—or by taxonomic class, and inside every single PDF, the articles are sorted strictly from A to Z. - -**[03:40 – 04:49] Dr. Elena Rostova (Computational Linguist & CMUdict Phonemic Specialist):** -And notice how our normalization function, clean-sort-key, handles tricky headwords in Volume Zero-Zero-A—00-master-encyclopedia-index-a-to-z-dot-pdf. In a naive ASCII sort, a phrase wrapped in single quotation marks like 'The Hidden Chokepoint Screen' or a number-prefixed term like '3-Path Counter-Substitution Solver' or a symbol-prefixed slot like ' Be My God Slot' would get stranded at the very top of the index before the letter A, because ASCII punctuation and digits have character codes lower than ninety-seven. Our encyclopedia engine strips leading punctuation, removes leading definite articles like 'The ', converts leading single digits like '3-Path' into their spoken alphabetical equivalent 'three path', and sorts every single article strictly by its true alphabetical headword letter from A—starting with 'abstract machine'—all the way to Z—ending with 'zombie firm' and 'Zoological Ecological Tiers'. - -**[04:49 – 06:45] Coach Devon Brooks (Portfolio Strategist & Fantasy Roster Engine Architect):** -Let me walk listeners through the Eight-Part Roadmap of this Special Encyclopedia Series so everyone knows where we are headed across the collection. Today, in Episode Two—Special Series Part One—we cover Divisions Zero-Zero, Zero-One, and Zero-Two: the Atlas, the Cipher Mechanics, and the Philosophical Operators. In Episode Three—Part Two—we enter Division Zero-Three to cover Volumes Zero-Three-A and Zero-Three-B: the fifty-nine specimen articles of Class S-One Autoregressive AI and Class S-Two Flash-Crash Templex Liquidity. In Episode Four—Part Three—we finish Division Zero-Three with Volumes Zero-Three-C and Zero-Three-D: Class S-Three's Silicon-Photonic War Machine and Classes S-Four and S-Five's Uncaptured Nomad Taxa. In Episode Five—Part Four—we open Division Zero-Four, Volumes Zero-Four-A and Zero-Four-B, to audit all thirty-three corporate, consortium, and sovereign-wealth capture specimens of Class S-Six. In Episode Six—Part Five—we enter Division Zero-Five, Volumes Zero-Five-A and Zero-Five-B, to dissect all fifty-five entries of State-Gated Subclass M-One, Vampiric and Entropic Anti-Production. In Episode Seven—Part Six—we cover Volumes Zero-Five-C and Zero-Five-D: Subclasses M-Two through M-Six and the Unsupervised M-Seven-Plus Nucleation Lifecycle. In Episode Eight—Part Seven—we cover Divisions Zero-Six and Zero-Seven: Genealogical Vectors G-One through G-Six, Quantitative Repricing, and the standalone zero-to-one-hundred Ecological Trophic Index Tier List. And in Episode Nine—Part Eight—we conclude in Division Zero-Eight with the Applied Stakeholder Registers, Epistemological Critiques, and Visual Pokédex Semiotics. - -**[06:45 – 08:07] Dr. Julian Vance-Sterling (Continental Philosopher & Cybernetic Theorist):** -Before we turn the page into Division Zero-One, let us also point out the standardized seven-field anatomy of every article in the Encyclopedia, which listeners can follow in the PDFs as we speak. Every headword opens with its Generation One CMUdict Ingglish rendering and its dual Base-Thirty-Six Alphanumeric Qabbala weights—both Generation One spoken A-Q and Generation Zero written A-Q, annotated with exact prime ranks whenever a weight is prime. Second, it states its Disciplinary Ontology Division and S-One-to-S-Six or M-One-to-M-Seven guild assignment. Third, it gives the Bidirectional Telemetry: the signed phonemic drift Delta, and whether the headword is a Type One, Two, or Three Isometric Chokepoint, a Vector G-Five Twin-Prime Mutation, or a Vector G-Three Quantized Step. Fourth, it computes the exact Vector G-One Generation Zero variance collapsed to zero at that coordinate. Fifth and sixth, it lists all co-present equivalence-ring partners in Generation One, in Generation Zero, and across generations via Vector G-Two. And seventh, it cites up to three verified three-hundred-and-thirty-three, six-hundred-and-sixty-six, or seven-hundred-and-seventy-seven equations from the source dossiers. - ---- - -## Act II — Division 01, Volume 01A (a-to-f-alphanumeric-qabbala-to-full-clause-isometry.pdf): Alphanumeric Qabbala, CMUdict Purity (437), Definite Article Quantum & Dropped Letters (`[08:07 – 17:53]`) - -**[08:07 – 08:58] Marcus Vance (Host & Singularity Zoology Enthusiast):** -With the Atlas open on the table, let us step into folder 01-cipher-orthography-and-boundaries and open our first subject fascicle: Volume Zero-One-A, titled 'a-to-f-alphanumeric-qabbala-to-full-clause-isometry-dot-pdf'. There are four foundational articles in Volume Zero-One-A, ordered strictly from A to D: 'Alphanumeric Qabbala (AQ / Base-36 Cipher)', 'CMUdict Purity (100% Deterministic Translation)', 'Definite Article Quantum (the = 60 -> dha = 40, delta = -20)', and 'Dropped Letters (c = 12, q = 26, x = 33)'. Elena, start us off with Article One in Volume Zero-One-A: Alphanumeric Qabbala. - -**[08:58 – 10:44] Dr. Elena Rostova (Computational Linguist & CMUdict Phonemic Specialist):** -Article One in Volume Zero-One-A is 'Alphanumeric Qabbala (AQ / Base-36 Cipher)'. Look first at the headword's own bilingual telemetry at the top of the article: in Generation Zero written English, 'Alphanumeric Qabbala' evaluates to three hundred and twenty-eight. When translated into Generation One Ingglish—'alfanoomairik kabala'—it evaluates to three hundred and twenty-four, which is eighteen squared, a drift of minus four! Why is Base-Thirty-Six the mathematical foundation of our entire zoology rather than traditional Hebrew or Greek isopsephy, or simple A-equals-one ordinal numbering? Because in modern technocapitalism, technical names, chip models, financial tickers, and wire headlines mix Hindu-Arabic digits and Latin letters continuously—like 'GTA 6', 'Outpost 31', '481 factories', or 'Voyager 1'. Traditional A-equals-one ordinal gematria assigns zero value to digits or forces you to spell them out, and it restarts at one instead of continuing from the decimal digits. Base-Thirty-Six Alphanumeric Qabbala is the canonical positional alphanumeric radix of computing: digits zero through nine equal zero through nine, and letters A through Z continue without a break from A equals ten to Z equals thirty-five. Because thirty-six is six squared—two squared times three squared—it is a highly composite square radix whose repdigit prime generator is thirty-seven, the twelfth prime number. - -**[10:44 – 12:21] Dr. Julian Vance-Sterling (Continental Philosopher & Cybernetic Theorist):** -Now look at Article Two in Volume Zero-One-A: 'CMUdict Purity (100% Deterministic Translation)'. When our encyclopedia compiler ran the headword 'CMUdict Purity' through the CMUdict Ingglish translator, it uncovered one of the most astonishing self-referential locks in the entire repository! Listen to the arithmetic: in Generation Zero written English, 'CMUdict Purity' evaluates to two hundred and ninety-nine—which is thirteen times twenty-three. When translated into Generation One Ingglish, the acronym 'CMUdict' expands phonetically into 'seeemyoodikt', worth two hundred and eighty-one, the sixtieth prime number, and 'Purity' translates into 'pyuratee', worth one hundred and fifty-six. Two hundred and eighty-one plus one hundred and fifty-six equals four hundred and thirty-seven—nineteen times twenty-three, the product of the eighth and ninth primes! Now ask yourself: what else in Division Zero-Two of our Encyclopedia evaluates to four hundred and thirty-seven in Generation One Ingglish? Deleuze and Guattari's core economic operator from Anti-Oedipus: 'machinik serplas valyoo'—machinic surplus value, one hundred and forty plus one hundred and fifty-three plus one hundred and forty-four equals four hundred and thirty-seven! The methodological rule of 'seeemyoodikt pyuratee' and the philosophical operator of 'machinik serplas valyoo' sit on the exact same semiprime coordinate, four hundred and thirty-seven! - -**[12:21 – 12:46] Marcus Vance (Host & Singularity Zoology Enthusiast):** -Wait—let me repeat that for our listeners because I got chills when I saw that in the compiled PDF! Nobody designed that collision: 'seeemyoodikt pyuratee'—CMUdict Purity—and 'machinik serplas valyoo'—Machinic Surplus Value—both evaluate to four hundred and thirty-seven in Ingglish! Priya, explain why CMUdict Purity is such a non-negotiable gate in our codebase. - -**[12:46 – 13:53] Priya Nair (Quantitative Systems Architect & ETI Tier-List Engineer):** -In traditional numerology or casual gematria, if a researcher wants a phrase to hit three hundred and thirty-three or six hundred and sixty-six and they are off by four points, they will secretly tweak a vowel, drop an article, or invent a custom phonetic spelling. That destroys falsifiability. Under CMUdict Purity, human spelling discretion is reduced to zero. Every English word is looked up in the one-hundred-and-twenty-six-thousand-and-fifty-one-word Carnegie Mellon University Pronouncing Dictionary via the official ingglish package. In the older literary dossiers of the upstream archive, only three rare mythological names—Typhon, Apophis, and Ramey—required explicit Out-of-Vocabulary overrides because they were absent from CMUdict. Across all five canonical Technocapital Singularity Dossiers—Dossiers Sixty-Five through Sixty-Nine—and all one hundred and ninety core zoological vocabulary tokens in our Encyclopedia, the Out-of-Vocabulary override count is strictly zero: one hundred percent unmodified CMUdict output. - -**[13:53 – 16:00] Dr. Elena Rostova (Computational Linguist & CMUdict Phonemic Specialist):** -That brings us to Article Three in Volume Zero-One-A: 'Definite Article Quantum (the = 60 -> dha = 40, delta = -20)'. Let us look at the headword telemetry first: 'Definite Article Quantum' shifts from four hundred and thirty-eight in Generation Zero to 'defanit artikal kwontam' at four hundred and twenty-two in Generation One, a drift of minus sixteen. Inside any multi-word English sentence, the most frequent grammatical connector is the definite article 'the'. In Generation Zero written English, T worth twenty-nine plus H worth seventeen plus E worth fourteen equals sixty. In Generation One Ingglish, the voiced dental fricative is spelled D-H and the unstressed vowel reduces to schwa A, yielding D-H-A, 'dha': thirteen plus seventeen plus ten equals forty. Every single time 'the' becomes 'dha', the clause sheds an exact quantum of twenty points! Why is minus twenty—and its double, minus forty—so structurally important across our equations? First, twenty and forty are two of our nine canonical Vector G-Three Quantized Mutation Steps. Second, whenever a four-word Standard English clause containing two definite articles—or one definite article plus a minus-twenty noun compression—sits at the palindromic seventy-fourth prime number, three hundred and seventy-three, translating that clause into Ingglish subtracts forty points and lands it dead-center on the primary repdigit attractor three hundred and thirty-three! Third, even inside single words, look at the flagship adjective of Class S-One: 'autoregressive' weighs three hundred and ten in written English and drops by exactly minus forty—one double-article quantum—to 'awtoregresiv' at two hundred and seventy in Ingglish! - -**[16:00 – 17:53] Coach Devon Brooks (Portfolio Strategist & Fantasy Roster Engine Architect):** -And look at Article Four, the final article in Volume Zero-One-A: 'Dropped Letters (c = 12, q = 26, x = 33)', whose headword 'Dropped Letters' shifts from two hundred and eighty-three, the sixty-first prime, in Generation Zero to 'dropt leterz' at two hundred and sixty-five in Generation One. For a layman or an analyst reading our equivalence tables, understanding the three dropped letters—C, Q, and X—explains almost every major upward drift in the tech and finance lexicon! Think about why: in Standard Written English, the letter C is only worth twelve points, sitting near the very bottom of the alphabet right after A and B. But in spoken English, the letter C never makes its own unique sound; it either makes a hard K sound, worth twenty points, or a soft S sound, worth twenty-eight points! So whenever a corporate or technical word has a hard C—like 'capital', 'capture', 'company', 'capacity', 'consortium', 'Anthropic', or 'flash crash'—translating it into Ingglish swaps C worth twelve for K worth twenty, injecting a boost of plus eight points per hard C! And whenever a word has a soft C—like 'cyber', 'circuit', 'centaur', or 'force'—swapping C worth twelve for S worth twenty-eight injects a boost of plus sixteen points! Conversely, when written English uses the two-letter cluster C-K—twelve plus twenty equals thirty-two, as in 'Nick', 'Blackwell', 'lock', or 'stock'—Ingglish drops the redundant C and keeps just K worth twenty, subtracting twelve points! Once you know those three rules for the letter C—plus eight for hard K, plus sixteen for soft S, and minus twelve for C-K—you can predict in your head how almost any ticker or tech term is going to move between paper and speech. - ---- - -## Act III — Division 01, Volume 01B (g-to-o-generation-zero-to-oov-transliteration-lock.pdf): Generation 2 Evolution, Genitive Doubling, Homophone Hubs & Locative Syzygy (81) (`[17:53 – 27:05]`) - -**[17:53 – 18:50] Marcus Vance (Host & Singularity Zoology Enthusiast):** -Now let us open the second PDF volume in folder 01-cipher-orthography-and-boundaries: Volume Zero-One-B, titled 'g-to-o-generation-zero-to-oov-transliteration-lock-dot-pdf'. This volume contains five articles ordered from G to O: 'Generation 2 (Gen 2) Diachronic Script Evolution', 'Genitive Preposition Doubling (of = 39 -> uhv = 78, delta = +39)', 'Homophone Compression Node & Heteronym Disambiguation', 'Locative Connector Syzygy (in the = 101 [26th PRIME] -> in dha = 81 [3^4])', and 'Out-of-Vocabulary (OOV) Proper-Noun Transliteration Lock'. Julian and Elena, start us off with Article One in Volume Zero-One-B: what on earth is Generation Two Diachronic Script Evolution? - -**[18:50 – 19:50] Dr. Julian Vance-Sterling (Continental Philosopher & Cybernetic Theorist):** -Article One in Volume Zero-One-B—'Generation 2 (Gen 2) Diachronic Script Evolution', whose headword shifts from six hundred and seventy-one in Generation Zero to six hundred and seventy-four in Generation One—answers a profound philosophical question about time and writing. If Generation Zero is ancestral etymological English, full of historical ghost mass, and Generation One is synchronic phonemic Ingglish, which strips away all silent letters today by locking spelling to the twentieth- and twenty-first-century CMU Pronouncing Dictionary, what happens if society adopts Generation One Ingglish as its official legal and computational script for the next two hundred years? Does orthography stay purely synchronic forever? No! Because human spoken pronunciation never stops drifting, whereas institutional ledgers, smart contracts, and state archives immediately freeze whatever spelling baseline they adopt. - -**[19:50 – 21:46] Dr. Elena Rostova (Computational Linguist & CMUdict Phonemic Specialist):** -In our five-stage trajectory for Generation Two Diachronic Evolution, we model exactly how a synchronic script becomes a new diachronic script. Stage One is the synchronic zero-point: Ingglish compresses homophones onto single coordinates like 'ai' at twenty-eight and 'nait' at eighty. Stage Two is institutional freeze: legal, financial, and cryptographic systems standardize on the CMUdict spelling baseline so hashes and Base-Thirty-Six checksums remain verifiable across decades. Stage Three is new phonological drift creating Generation Two ghost mass! Even in rapid contemporary speech, speakers drop final D sounds after nasals in consonant clusters—pronouncing 'maind' as 'main'—or drop post-vocalic R sounds in non-rhotic dialects—pronouncing 'fyoocher' and 'spairal' without the final R—or elide medial schwas in trisyllabic words—compressing 'memeree' and 'kuhmpanee' into two syllables. Because the institutional script is frozen at Stage Two, those newly unpronounced letters in 'maind', 'fyoocher', and 'memeree' become a brand-new layer of silent ghost mass! Stage Four is graphic disambiguation and loanword re-stratification. And Stage Five is cybernetic numogrammatic closure: the realization that orthographic freezing is not a bug of human laziness, but a Base-Thirty-Six checksum-preservation mechanism that keeps the primary repdigits—three hundred and thirty-three, six hundred and sixty-six, and seven hundred and seventy-seven—and the Type One through Three Isometric Fixed Points invariant across every generation of language. - -**[21:46 – 23:22] Priya Nair (Quantitative Systems Architect & ETI Tier-List Engineer):** -Now look at Articles Two and Four in Volume Zero-One-B, which form the twin prepositional engines of Ingglish syntax: 'Genitive Preposition Doubling (of = 39 -> uhv = 78, delta = +39)' and 'Locative Connector Syzygy (in the = 101 [26th PRIME] -> in dha = 81 [3^4])'. Look at the numbers for 'of': in Generation Zero written English, O worth twenty-four plus F worth fifteen equals thirty-nine—three times thirteen. When spoken aloud, 'of' is pronounced with a strut vowel and a voiced labiodental fricative V, so CMUdict translates it to U-H-V, 'uhv': thirty plus seventeen plus thirty-one equals seventy-eight! Seventy-eight is literally two times thirty-nine—an exact two-X doubling of the genitive preposition! Even better, look at what sits at seventy-eight in our Class S-Six and Subclass M-One zoology: corporate 'ferm'—firm, seventy-eight—and Type One Isometric 'leech'—seventy-eight—plus 'lait'—light, seventy-eight! And when you combine 'uhv' worth seventy-eight with 'dha' worth forty, the genitive connector 'uhv dha'—'of the'—equals one hundred and eighteen, shifting from ninety-nine in English by plus nineteen, the eighth prime number, and locking directly onto Class S-Two 'markat'—market, one hundred and eighteen—'meerer'—mirror, one hundred and eighteen—and 'intoo'—into, one hundred and eighteen! - -**[23:22 – 24:23] Coach Devon Brooks (Portfolio Strategist & Fantasy Roster Engine Architect):** -And pair 'uhv dha' at one hundred and eighteen with Article Four in Volume Zero-One-B: the 'Locative Connector Syzygy', where English 'in the'—forty-one plus sixty equals one hundred and one, the twenty-sixth prime—translates into Ingglish 'in dha'—forty-one plus forty equals eighty-one, three to the fourth power, or nine squared! Notice how both ends of that transition are heavyweight coordinates in our zoology: in Generation Zero written English, one hundred and one is the exact prime of 'Amodei', 'folds', 'loss', 'drone', and 'keeps == stay'. In Generation One Ingglish, eighty-one is the exact fourth-power coordinate of our Type One Isometric EUV lithography monopoly 'asml'—eighty-one—and singular balance-sheet 'aset'—asset, eighty-one! That means in any Ingglish equation, the two-word locative connector 'in dha' (81) is algebraically interchangeable with 'asml' (81) and 'aset' (81)! - -**[24:23 – 24:38] Marcus Vance (Host & Singularity Zoology Enthusiast):** -And before we leave Volume Zero-One-B, Elena, walk us through Article Three: 'Homophone Compression Node & Heteronym Disambiguation', and Article Five: 'Out-of-Vocabulary (OOV) Proper-Noun Transliteration Lock'. - -**[24:38 – 27:05] Dr. Elena Rostova (Computational Linguist & CMUdict Phonemic Specialist):** -In Article Three, we contrast two opposite topological operations that occur simultaneously when you pass from Generation Zero to Generation One. Operation A is Homophone Compression—many visual words collapsing onto one spoken coordinate. Think of a funnel: in written English, the first-person pronoun 'I' is eighteen, the bodily organ 'eye' is sixty-three, and the initialism 'AI' is twenty-eight. In spoken Ingglish, all three funnel into the single diphthong token 'ai' at twenty-eight! Similarly, 'to' (53), 'too' (77), and 'two' (85) funnel into 'too' at seventy-seven; 'night' (103) and 'knight' (123) funnel into 'nait' at eighty; and plural statutory 'laws' (91) and financial/gradient 'loss' (101) funnel into 'laws' at ninety-one, locking directly onto Type One Isometric 'tsmc' at ninety-one! Operation B is the exact inverse—Heteronym Disambiguation, where one visual spelling on paper is forced to split into two distinct spoken coordinates because English spells two different words the same way. For example, on paper, the verb 'lead' (to guide) and the heavy metal 'lead' (as in lead azide) are both spelled L-E-A-D, worth fifty-eight. When spoken aloud in Ingglish, the verb becomes 'leed' worth sixty-two (with 'leedz' worth ninety-seven, the twenty-fifth prime), while the metal becomes 'led' worth forty-eight (or in CMUdict compound 'leed azaid' worth one hundred and forty-eight, four times thirty-seven, in Dossier Seventy's Iowa Army stockpile headline)! Finally, Article Five documents the Out-of-Vocabulary Proper-Noun Transliteration Lock rule: why rare mythological names absent from CMUdict trigger letter-to-sound fallback heuristics, why Option Four curve grading penalizes dossiers that rely on two or more OOV overrides without a full-clause Delta-equals-zero lock, and why every single dossier in Technocapital Singularity Zoology maintains a strict zero-OOV-override standard. - ---- - -## Act IV — Division 01, Volume 01C (p-to-z-phonemic-drift-to-zero-d-filter-boundary.pdf): Phonemic Ingglish, Schwa Reduction, Strut-Vowel Expansion, Voiced Sibilants & Zero-d-Filter Boundary (`[27:05 – 34:52]`) - -**[27:05 – 28:04] Marcus Vance (Host & Singularity Zoology Enthusiast):** -That brings us to Act Four, where we open Volume Zero-One-C—p-to-z-phonemic-drift-to-zero-d-filter-boundary-dot-pdf—to complete Division Zero-One from P to Z! Volume Zero-One-C contains six articles in strict alphabetical order: 'Phonemic Ingglish (Generation 1 / Gen 1)', 'Schwa Reduction (schwa -> a = 10)', 'Standard Etymological English (Generation 0 / Gen 0)', 'Strut-Vowel Digraph Expansion (strut -> uh, delta = +17)', 'Voiced Plural & Inflectional Sibilant Shift (-s [28] -> -z [35], delta = +7)', and 'Zero-d-Filter Boundary Rule'. Elena and Priya, take us through the four phonetic shift articles first—Phonemic Ingglish, Schwa Reduction, Strut-Vowel Expansion, and the Voiced Sibilant Shift—and show our listeners how they mesh like gears in a clock. - -**[28:04 – 29:40] Dr. Elena Rostova (Computational Linguist & CMUdict Phonemic Specialist):** -Look at how those four articles in Volume Zero-One-C form a self-balancing mechanical system. In Article One, 'Phonemic Ingglish', the headword itself shifts by just plus five points from two hundred and ninety in Generation Zero to 'fohnemik ingglish' at two hundred and ninety-five in Generation One. Why is the net drift of full sentences in Ingglish so remarkably tight—typically averaging between twenty-one and thirty-three points across an entire eight-word equation—instead of flying off by hundreds of points? Because the downward vowel compressions and the upward consonant and digraph expansions counter-balance each other! Article Two in Volume Zero-One-C is the primary downward compressor: 'Schwa Reduction'. In English speech, unstressed vowels in multi-syllable words lose their distinct vowel color and reduce to the central mid-vowel schwa. In Standard Written English, those unstressed syllables are spelled with E worth fourteen, I worth eighteen, O worth twenty-four, or U worth thirty. In Ingglish, every schwa maps to the letter A, worth ten—the minimum possible letter value in Base-Thirty-Six! So whenever an O worth twenty-four reduces to schwa A worth ten, the word sheds fourteen points; whenever a U worth thirty reduces to schwa A worth ten, it sheds twenty points; and whenever an I worth eighteen reduces to schwa A worth ten, it sheds eight points. - -**[29:40 – 32:00] Priya Nair (Quantitative Systems Architect & ETI Tier-List Engineer):** -Now pair that minus-eight, minus-fourteen, or minus-twenty Schwa Reduction with the two upward expanders in Articles Four and Five of Volume Zero-One-C: 'Strut-Vowel Digraph Expansion' and 'Voiced Plural & Inflectional Sibilant Shift'! In Article Four, whenever a stressed short-U vowel—what linguists call the strut vowel, as in 'cut', 'gun', 'hum', 'fund', 'trust', 'surplus', 'company', or 'numbness'—is spoken aloud, Ingglish spells it with the two-letter digraph U-H so that single U can be reserved for the vowel in 'put' or 'pull'. Because U is thirty and H is seventeen, changing U to U-H adds an exact quantum of plus seventeen points—the seventh prime number! Watch what happens when Strut-Vowel Expansion (+17) meets Schwa Reduction or silent-letter stripping inside Class S-Six and Subclass M-One words: in 'trust', T-R-U-S-T is one hundred and forty-three on paper; adding H (+17) turns 'truhst' into one hundred and sixty, locking it directly onto 'kapasatee'—capacity—and 'rohbots'—robots—at one hundred and sixty! In 'holding', H-O-L-D-I-N-G is one hundred and thirty-two on paper—equal to 'wayfer' and 'straik'; adding H (+17) in 'hohlding' steps it up to one hundred and forty-nine, the thirty-fifth prime number, locking it onto Albania 'klashiz' in M-Seven-candidate-twenty-twenty-six-eleven-twenty-eight! And in Article Five, whenever a plural noun or third-person singular verb ends in a voiced S sound after a vowel or voiced consonant, replacing orthographic S worth twenty-eight with acoustic Z worth thirty-five adds an exact quantum of plus seven points! Put plus seventeen from H and plus seven from Z together—seventeen plus seven equals plus twenty-four—and look at the word 'folds' in Class S-Two: on paper, F-O-L-D-S is one hundred and one, the twenty-sixth prime. Spoken aloud in Ingglish, 'fohldz' gains H (+17) and Z (+7), rising by twenty-four points from one hundred and one to one hundred and twenty-five, five cubed—landing dead-center on Isometric 'kapatal' and 'kapcher' at one hundred and twenty-five! - -**[32:00 – 33:00] Coach Devon Brooks (Portfolio Strategist & Fantasy Roster Engine Architect):** -And before we leave Articles Three, Four, and Five of Volume Zero-One-C, let us point out how Article Three—'Standard Etymological English (Generation 0 / Gen 0)'—frames the relationship between the two layers for institutional decision-makers. When a corporate board or a quantitative fund manager looks at 'Standard Etymological English' in Volume Zero-One-C, they see why we never throw Generation Zero away when we compute Generation One. Generation Zero is the Stated Filing Layer—the language of SEC 10-K filings, corporate charters, patent claims, and sovereign treaties. Generation One is the Operational Signal Layer—the compressed phonetic stream where dispersed filing labels snap onto shared coordinates. Having both articles in Volume Zero-One-C gives the analyst stereo vision: you read the legal filing in Generation Zero, and you audit the hidden supply-chain convergence in Generation One. - -**[33:00 – 34:52] Dr. Julian Vance-Sterling (Continental Philosopher & Cybernetic Theorist):** -And that stereo vision brings us to Article Six, the concluding law of Division Zero-One on page two of Volume Zero-One-C: the 'Zero-d-Filter Boundary Rule'. In the upstream research repository—/workspace/ingglish-hyperdope-gematria—several early lectures, specifically Lecture Series One through Three and the Barstool Edition wire report, explored a supplementary ten-letter sub-cipher denoted by lowercase d, which mapped ten resonant letters—N, U, O, A, G, M, H, Y, S, L—to the digits zero through nine. In our Barstool Glossary, we explained why that ten-letter filter was useful as a one-time pedagogical thought experiment: because those ten letters are low humming vowels, nasals, and liquids while excluding plosive consonant cuts like P, T, K, and B, filtering vocabulary through them naturally separated atmospheric room words like 'huhm' and 'glas' from sharp action verbs like 'kuhts' and 'brayks'. However, once that pedagogical point about filters was proven, keeping a second ten-letter sub-cipher inside a quantitative technocapital repository would introduce unnecessary complexity and muddle the pure Base-Thirty-Six invariance. Therefore, when we architected /workspace/technocapital-singularity-zoology as a standalone sibling repository, we instituted the Zero-d-Filter Boundary Rule: every line of Python code, every JSON registry, every dossier from Dossier Sixty-Five onward, and all twenty-two volumes of our Encyclopedia operate strictly on one hundred percent pure thirty-six-character Base-Thirty-Six Alphanumeric Qabbala—zero through nine and A through Z—with zero references to the ten-letter sub-cipher. - ---- - -## Act V — Division 02, Volume 02A (a-to-d-abstract-machine-to-double-articulation.pdf): Abstract Machine (292), Anorganic Machinic Phylum (444 -> 407), Apparatus of Capture, Axiomatic Decoding, BwO & Double Articulation (`[34:52 – 44:47]`) - -**[34:52 – 36:27] Marcus Vance (Host & Singularity Zoology Enthusiast):** -With Division Zero-One complete, we now walk across the ontological corridor into folder 02-landian-deleuzean-philosophical-operators! This division is split into two alphabetical volumes: Volume Zero-Two-A ('a-to-d-abstract-machine-to-double-articulation-dot-pdf') and Volume Zero-Two-B ('m-to-z-machinic-surplus-value-to-war-machine-dot-pdf'). Let us open Volume Zero-Two-A first. There are six major philosophical articles here, ordered strictly from A to D: 'Abstract Machine (abstrakt masheen = 292 == shizohnalizis == sinthetik dayta)', 'Anorganic Machinic Phylum (machinik failam = 236 == zheel dilooz)', 'Apparatus of Capture (aperatas uhv kapcher = 153 + 78 + 125 = 356)', 'Axiomatic Decoding & Deterritorialization (Anti-Oedipus)', 'Body without Organs (BwO / bodee without organz = 389 -> 390; bwoh = 84)', and 'Double Articulation (S[1-5] x S6 Coupling)'. Julian, let us examine Article One and Article Two in Volume Zero-Two-A—and specifically the brand-new numerical discovery that popped out when our encyclopedia engine computed the full headword telemetry for 'Anorganic Machinic Phylum'! - -**[36:27 – 38:02] Dr. Julian Vance-Sterling (Continental Philosopher & Cybernetic Theorist):** -Let us start with Article One: 'Abstract Machine'. In A Thousand Plateaus, Deleuze and Guattari distinguish between concrete machinic assemblages—actual physical bodies, servers, silicon chips, and institutions—and the 'abstract machine', which is the immanent diagram or piloting function that cuts across different substrates without being locked to a human subject. On paper in Generation Zero, 'Abstract Machine' evaluates to two hundred and seventy-two. When translated into Generation One Ingglish—'abstrakt masheen'—it shifts by a Vector G-Three quantized step of plus twenty (one definite-article quantum) to two hundred and ninety-two, collapsing to zero variance with 'shizohnalizis' (292) and 'sinthetik dayta' (292), while locking via Vector G-Two onto written 'asset management' (292). Now look right below it at Article Two in Volume Zero-Two-A: 'Anorganic Machinic Phylum'. Previously, we had evaluated the two-word phrase 'machinic phylum'—which shifts from two hundred and eighty-one, the sixtieth prime, in Generation Zero to 'machinik failam' at two hundred and thirty-six in Generation One, locking onto 'zheel dilooz' (Gilles Deleuze) at two hundred and thirty-six. But when we compiled Volume Zero-Two-A of the Encyclopedia today, our script evaluated the full three-word philosophical headword: 'Anorganic Machinic Phylum'! - -**[38:02 – 39:35] Dr. Elena Rostova (Computational Linguist & CMUdict Phonemic Specialist):** -Listen to the numbers on 'Anorganic Machinic Phylum' from page one of Volume Zero-Two-A, because this is pure Base-Thirty-Six precision. In Generation Zero written English, 'Anorganic' is one hundred and sixty-three—which is the thirty-eighth prime number, the exact Ingglish prime of 'manopalee', 'masheenz', and 'fyooalz'!—and 'Machinic Phylum' is two hundred and eighty-one, the sixtieth prime. Add those two primes together: one hundred and sixty-three plus two hundred and eighty-one equals four hundred and forty-four! Four hundred and forty-four is an exact primary Base-Thirty-Six repdigit—four times one hundred and eleven, or twelve times the repdigit generator thirty-seven! Now translate 'Anorganic Machinic Phylum' into Generation One CMUdict Ingglish: 'anorganik' is one hundred and seventy-one, and 'machinik failam' is two hundred and thirty-six. One hundred and seventy-one plus two hundred and thirty-six equals four hundred and seven! What is four hundred and seven? Four hundred and seven is eleven times thirty-seven! And what is the signed phonemic drift Delta between Generation Zero's four hundred and forty-four and Generation One's four hundred and seven? Four hundred and seven minus four hundred and forty-four equals MINUS THIRTY-SEVEN—one exact quantum of the repdigit prime generator thirty-seven! - -**[39:35 – 40:28] Marcus Vance (Host & Singularity Zoology Enthusiast):** -Hold everything! Let us make sure every listener hears that calculation from Volume Zero-Two-A: on paper, 'Anorganic Machinic Phylum' is the sum of two primes—163 plus 281—landing on the exact repdigit 444 (12 times 37). Spoken aloud in Ingglish, 'anorganik machinik failam' shifts by an exact Vector G-Three step of MINUS 37 to land on 407 (11 times 37)! That means both the written English phrase and the spoken Ingglish phrase are exact integer multiples of 37—stepping down from 12 times 37 to 11 times 37! Priya and Julian, continue down Volume Zero-Two-A to Articles Three and Four: 'Apparatus of Capture' and 'Axiomatic Decoding & Deterritorialization'. - -**[40:28 – 41:50] Priya Nair (Quantitative Systems Architect & ETI Tier-List Engineer):** -In Article Three of Volume Zero-Two-A—'Apparatus of Capture'—look at the full three-word phrase telemetry: on paper in Generation Zero, 'Apparatus' (194) plus 'of' (39) plus 'Capture' (147) equals three hundred and eighty. Spoken aloud in Generation One Ingglish, 'aperatas' (153, which equals 'serplas', 'raizohm', and 'reealatee') plus 'uhv' (78, which equals 'ferm' and 'leech') plus 'kapcher' (125, which equals Isometric 'kapatal', 'fohldz', and 'saires') equals three hundred and fifty-six, a drift of minus twenty-four! Notice how every single word in 'aperatas uhv kapcher' is itself a major Class S-Six singularity hub: 153 is the surplus-rhizome hub, 78 is the firm-leech hub, and 125 is the cubic capital-folds hub. And in Article Four—'Axiomatic Decoding & Deterritorialization'—the headword shifts from seven hundred and thirty-seven (eleven times sixty-seven, Land's prime) in Generation Zero to eight hundred and four in Generation One, defining the exact mechanism by which qualitative territorial codes are stripped into quantitative phonemic streams. - -**[41:50 – 43:44] Dr. Julian Vance-Sterling (Continental Philosopher & Cybernetic Theorist):** -And Volume Zero-Two-A closes with Articles Five and Six: 'Body without Organs (BwO)' and 'Double Articulation'. In Article Five, we trace the 'Body without Organs' from Antonin Artaud's nineteen forty-seven radio broadcast ('To Have Done with the Judgment of God') to Anti-Oedipus and Plateau Six of A Thousand Plateaus ('November 28, 1947: How Do You Make Yourself a Body without Organs?'). Notice the calendar date in Deleuze and Guattari's own title for Plateau Six of A Thousand Plateaus: November twenty-eighth—the exact calendar date of our Dossier Seventy global news harvest! When you evaluate 'body without organs' in Generation Zero written English, it sums to three hundred and eighty-nine, the seventy-seventh prime number. When spoken aloud in Generation One Ingglish—'bodee without organz', where 'without' is a Type One Isometric fixed point at one hundred and seventy-nine, the forty-first prime!—it shifts by a Vector G-Three unit step of plus one to three hundred and ninety! Meanwhile, the three-letter initialism 'BwO' shifts by plus seventeen (one strut-vowel quantum) from sixty-seven, the nineteenth prime, on paper to 'bwoh' at eighty-four in Ingglish, locking onto 'faier'—fire—'kayk'—cake—'amber', and 'ring' at eighty-four. And in Article Six, 'Double Articulation'—whose headword shifts from three hundred and sixty-six in Generation Zero (the days of a leap year) to 'duhbal artikyalayshan' at three hundred and sixty-five in Generation One (the days of a standard solar year, a unit step of minus one!)—establishes why every apex build in our zoology must couple the Machinic Phylum (S1 through S5) with the Apparatus of Capture (S6). - -**[43:44 – 44:47] Coach Devon Brooks (Portfolio Strategist & Fantasy Roster Engine Architect):** -Let me underscore why Article Six—'Double Articulation'—is the single most important strategic concept in Volume Zero-Two-A for anyone allocating real capital. In geology and linguistics, Louis Hjelmslev and Deleuze and Guattari showed that every stable formation requires two articulations: first, a molecular sorting of raw materials and flexible flows (the Machinic Phylum, S1 through S5), and second, a molar consolidation that compacts those flows into durable, reproductive structures with legal boundaries and balance sheets (the Apparatus of Capture, S6). In our Ecological Trophic Index formula, that is why C-A-P—Double-Articulation and Trophic Capture Reach—carries the highest weight of all six stats at twenty percent! Without Double Articulation, a breakthrough technology in S1, S3, or S5 is just an uncaptured Nomad specialist: brilliant in the lab, fast on the field, but unable to retain the surplus it generates. - ---- - -## Act VI — Division 02, Volume 02B (m-to-z-machinic-surplus-value-to-war-machine.pdf): Machinic Surplus Value (437), Nomad War Machine (211), Phase-Transition Points, Technocapital Singularity, Teleoplexy & Time-Circuit/Templex (`[44:47 – 59:41]`) - -**[44:47 – 45:47] Marcus Vance (Host & Singularity Zoology Enthusiast):** -Now let us open our final volume for today's episode: Volume Zero-Two-B, titled 'm-to-z-machinic-surplus-value-to-war-machine-dot-pdf', inside folder 02-landian-deleuzean-philosophical-operators. Volume Zero-Two-B contains six articles ordered from M to T: 'Machinic Surplus Value (machinik serplas valyoo = 437)', 'Nomad War Machine (wor masheen = 211 [47th PRIME])', 'Pre-Personal Phase-Transition Point (The Logic of Sense)', 'Technocapital Singularity (Landian-Deleuzean Sense)', 'Teleoplexy & Positive Feedback (Fanged Noumena / Nick Land)', and 'Time-Circuit & Templex (taim-serkat = 207; tempaleks = 183)'. Coach Devon and Priya, start us off with Articles One and Two in Volume Zero-Two-B: 'Machinic Surplus Value' and 'Nomad War Machine'. - -**[45:47 – 47:28] Coach Devon Brooks (Portfolio Strategist & Fantasy Roster Engine Architect):** -In Article One of Volume Zero-Two-B—'Machinic Surplus Value'—look at how the three constituent words break down between Generation Zero and Generation One. On paper, 'Machinic' is one hundred and twenty-four, 'Surplus' is one hundred and eighty-nine, and 'Value' is one hundred and six, totaling four hundred and nineteen, which is the eighty-first prime number (and remember, eighty-one is three to the fourth power, ASML's coordinate!). When spoken aloud in Generation One Ingglish, 'machinik' is one hundred and forty, 'serplas' is one hundred and fifty-three (locking onto 'aperatas', 'raizohm', 'reealatee', and 'nuhmnas'), and 'valyoo' is one hundred and forty-four (twelve squared, locking onto 'nuhmber' and 'therst'). One hundred and forty plus one hundred and fifty-three plus one hundred and forty-four equals four hundred and thirty-seven—nineteen times twenty-three—which, as Julian showed in Volume Zero-One-A, locks identically onto 'seeemyoodikt pyuratee' (CMUdict Purity = 437)! Why does 'Machinic Surplus Value' matter so much to an allocator or corporate board? Because in nineteenth-century industrial capitalism, surplus value came from extending factory hours on human muscle. In twenty-first-century technocapitalism, surplus value is extracted from automated code-flows, synthetic training loops (292), and microsecond order books (256). If your portfolio doesn't own the machinic surplus generators and the chokepoints that capture them, human labor arbitrage alone will never compound. - -**[47:28 – 48:56] Priya Nair (Quantitative Systems Architect & ETI Tier-List Engineer):** -And look at Article Two in Volume Zero-Two-B: 'Nomad War Machine (wor masheen = 211 [47th PRIME] == koper waier == siks bilyan)'. When our encyclopedia engine evaluated the full three-word headword 'Nomad War Machine', look at the telemetry on page one of Volume Zero-Two-B: in Generation Zero written English, 'Nomad' (89, the twenty-fourth prime) plus 'War' (70) plus 'Machine' (116) equals two hundred and seventy-five. In Generation One Ingglish, 'nohmad' is one hundred and two, and 'wor masheen' is two hundred and eleven, the forty-seventh prime. Together, 'nohmad wor masheen' equals three hundred and thirteen—which is the sixty-fifth prime number! And remember from Dossier Seventy (the November twenty-eighth news wire): three hundred and thirteen [65th PRIME] is also the exact compensatory isometric sum of 'dispait hospital' in Headline Eighteen! Meanwhile, the core two-word operator 'wor masheen' sits on two hundred and eleven [47th PRIME], uniting 'wor' (83, the twenty-third prime) and 'masheen' (128, two to the seventh power, Nick Land's coordinate) with physical 'koper waier' (211) and the 'siks bilyan' (211) Lazarus cyber-heist. - -**[48:56 – 50:14] Dr. Julian Vance-Sterling (Continental Philosopher & Cybernetic Theorist):** -Now let us look at Articles Three and Four in Volume Zero-Two-B: 'Pre-Personal Phase-Transition Point (The Logic of Sense)' and 'Technocapital Singularity (Landian-Deleuzean Sense)'. In Article Three, 'Pre-Personal Phase-Transition Point' evaluates to five hundred and eighty-three (eleven times fifty-three) in Generation Zero and shifts to five hundred and fifty-seven—which is the one-hundred-and-second prime number!—in Generation One Ingglish. Why does it land on a prime in Generation One? Because a pre-personal phase transition is an irreducible structural event—an inflection point where quantitative accumulation crosses a threshold and becomes a qualitative change of state. And in Article Four, 'Technocapital Singularity' synthesizes all five criteria that govern our repository: (1) pre-personal phase transition under intensive drift Delta, (2) Vector G-One variance collapse from dispersed Generation Zero spelling to zero-variance Generation One phonemics, (3) Double Articulation coupling Classes S-One through S-Five with Class S-Six, (4) Vector G-Two cross-generation and double-script twins, and (5) Vector G-Four isometric supply-chain chokepoints. - -**[50:14 – 51:46] Dr. Elena Rostova (Computational Linguist & CMUdict Phonemic Specialist):** -And Volume Zero-Two-B concludes with Nick Land's two temporal and cybernetic operators in Articles Five and Six: 'Teleoplexy & Positive Feedback' and 'Time-Circuit & Templex'. In Article Five, look at the two component terms: 'Teleoplexy'—Land's term for the self-reinforcing intensification of teleology and complexity as capital prices the future—and 'Positive Feedback'. In Generation One Ingglish, 'pozativ feedbak' evaluates to two hundred and sixty-nine, which is the fifty-seventh prime number! And if you check Dossier Seventy from the November twenty-eighth wire, two hundred and sixty-nine [57th PRIME] is the exact prime coordinate where Iowa's Army 'kantamanayshan'—contamination, 269—and Albania's capital 'prohtesterz'—protesters, 269—collided across the Atlantic! Finally, in Article Six—'Time-Circuit & Templex'—we see the two coordinates of non-linear market time: 'taim-serkat' at two hundred and seven (colliding with fluid 'terbyalans' at 207 in Generation One and with written 'liquidity' and 'infinitive' at 207 in Generation Zero), and 'tempaleks' at one hundred and eighty-three (colliding with 'ruhnaway', 'laytansee', 'alakayshan', and 'drakyoola' at 183). - -**[51:46 – 52:23] Marcus Vance (Host & Singularity Zoology Enthusiast):** -Before we wrap up Part One of our Special Encyclopedia Series, let us do a five-minute roundtable synthesis showing our listeners how the rules of Division Zero-One and the operators of Division Zero-Two actually lock together inside our verified three-hundred-and-thirty-three, six-hundred-and-sixty-six, and seven-hundred-and-seventy-seven equations! Priya, when a listener opens the Master Index in Volume Zero-Zero-A and looks across Divisions Zero-One and Zero-Two, what are the top three cross-divisional bridges between our cipher mechanics and our philosophical operators? - -**[52:23 – 53:55] Priya Nair (Quantitative Systems Architect & ETI Tier-List Engineer):** -Bridge Number One is the four-hundred-and-thirty-seven semiprime lock between Volume Zero-One-A and Volume Zero-Two-B: 'seeemyoodikt pyuratee'—CMUdict Purity, two hundred and eighty-one plus one hundred and fifty-six equals four hundred and thirty-seven—and 'machinik serplas valyoo'—Machinic Surplus Value, one hundred and forty plus one hundred and fifty-three plus one hundred and forty-four equals four hundred and thirty-seven! Think about what that bridge proves: the strict computational rule that forbids human spelling overrides in the dictionary (CMUdict Purity) is numerically identical to the cybernetic surplus extracted from automated code-flows (Machinic Surplus Value). Bridge Number Two is the thirty-seven repdigit-generator step in Volume Zero-Two-A: 'Anorganic Machinic Phylum' starts at four hundred and forty-four on paper—twelve times thirty-seven—and shifts by an exact Vector G-Three step of minus thirty-seven to 'anorganik machinik failam' at four hundred and seven—eleven times thirty-seven! And Bridge Number Three is the eighty-one fourth-power syzygy between Volume Zero-One-B's 'Locative Connector Syzygy' ('in dha' equals eighty-one, three to the fourth power) and Division Zero-Three and Zero-Four's 'asml' (81) and 'aset' (81), which allows any pair of 126 tokens or any 252head-tail pair to close a 333 circuit. - -**[53:55 – 55:21] Coach Devon Brooks (Portfolio Strategist & Fantasy Roster Engine Architect):** -And let me add Bridge Number Four from an applied portfolio and governance perspective: look at how the phonetic shift operators in Volume Zero-One-C—Schwa Reduction (-8, -14, -20), Dropped Letters (+8 for hard C-to-K, +16 for soft C-to-S), Strut-Vowel Expansion (+17 for U-H), and the Voiced Sibilant Shift (+7 for Z)—are the exact mechanical pistons that drive the philosophical operators of Division Zero-Two! Ask yourself: why does 'capital' (C-A-P-I-T-A-L = 125) remain a Type Two Isometric cube when spoken aloud as 'kapatal' (K-A-P-A-T-A-L = 125)? Because Dropped Letter C-to-K (+8) is canceled to the exact point by Schwa Reduction I-to-A (-8)! Why does 'folds' (F-O-L-D-S = 101, the twenty-sixth prime) land on that exact same one-hundred-and-twenty-five cube ('fohldz' = 125) to prove Michel Serres's topological folding of capital? Because Strut/Diphthong H expansion (+17) plus Voiced Sibilant Z (+7) adds plus twenty-four to one hundred and one! Without Volume Zero-One-C's phonetic pistons, Volume Zero-Two-A and Zero-Two-B's philosophical singularities could never lock. - -**[55:21 – 56:40] Dr. Julian Vance-Sterling (Continental Philosopher & Cybernetic Theorist):** -And notice how that answers the deepest philosophical question of all: why should continental philosophy—Deleuze, Guattari, Michel Serres, and Nick Land—care about a pronouncing dictionary from Carnegie Mellon University? Because in A Thousand Plateaus, Deleuze and Guattari insisted that language is never a neutral window onto preexisting things; language is a collective assemblage of enunciation operating directly on machinic flows through order-words and phonetic intensities. When you strip away the frozen scribal etiquette of Generation Zero and let the CMU Pronouncing Dictionary map English into a pure thirty-six-character phonetic stream, you are watching Deleuze and Guattari's axiomatic decoding happen live on the page. The concepts of Capitalism and Schizophrenia do not merely describe the phoneme stream from the outside; when spoken aloud in Generation One Ingglish, 'dilooz' (135), 'asemblaj' (135), and 'tenser' (135)—or 'shizohnalizis' (292), 'abstrakt masheen' (292), and 'sinthetik dayta' (292)—discover that they were already sitting at the exact same address inside the machine. - -**[56:40 – 57:32] Dr. Elena Rostova (Computational Linguist & CMUdict Phonemic Specialist):** -And before we close Part One, let us also remind listeners how easy it is to verify every single number we have spoken aloud in this episode using the PDFs in /workspace/technocapital-singularity-zoology/encyclopedia/. Every volume—from Volume Zero-Zero-A through Volume Zero-Eight-B—starts with a complete Alphabetical Table of Headwords showing the exact Generation Zero English A-Q sum, the Generation One Ingglish spelling and A-Q sum, the signed drift Delta, and the ontological class, followed by the full A-to-Z articles. You can open Volume Zero-One-A, Zero-One-B, or Zero-One-C right alongside Volume Zero-Two-A and Zero-Two-B and trace every single letter sum on a napkin. - -**[57:32 – 59:41] Marcus Vance (Host & Singularity Zoology Enthusiast):** -Think about what we have just accomplished in Part One of our Special Encyclopedia Series! We walked through every single volume and article of Divisions Zero-Zero, Zero-One, and Zero-Two—seven complete PDF volumes: Volume Zero-Zero-A (the Master A-to-Z Index), Volume Zero-Zero-B (the Disciplinary Ontology Atlas), Volumes Zero-One-A, Zero-One-B, and Zero-One-C (all fifteen foundational Cipher and Orthographic Boundary articles from Alphanumeric Qabbala to the Zero-d-Filter Boundary Rule), and Volumes Zero-Two-A and Zero-Two-B (all twelve Landian-Deleuzean Philosophical and Cybernetic Operator articles from Abstract Machine to Time-Circuit and Templex)! And along the way, reading the Encyclopedia's own headword telemetry aloud surfaced brand-new discoveries: 'CMUdict Purity' (seeemyoodikt pyuratee = 437) locking identically onto 'Machinic Surplus Value' (machinik serplas valyoo = 437); 'Anorganic Machinic Phylum' stepping down by an exact repdigit-generator quantum (Delta = -37) from the repdigit 444 (12 times 37) on paper to 407 (11 times 37) in Ingglish; and 'Double Articulation' stepping by unit drift (Delta = -1) from 366 to 365! Next time, on Episode Three—Part Two of our Special Encyclopedia Series—all five of us will open Division Zero-Three (03-machinic-phylum-guilds-s1-to-s5/) to explore the forty-nine A-to-Z articles of Volume Zero-Three-A (Class S1: Autoregressive AI & Abstract Machine) and Volume Zero-Three-B (Class S2: Flash-Crash Templex Liquidity). Elena, Julian, Priya, and Coach Devon—thank you for a phenomenal Part One, and we will see everyone in Division Zero-Three! - ---- - -## Appendix: Verified Cross-Scale Equations (`333 / 666 / 777`) & Headword Locks Cited in Episode 02 - -### Scale I: AQ = 333 (`3² × 37`) -- `amodai gardz dilooz` ("Amodei guards Deleuze") — `amodai (97 [25th PRIME]) + gardz (101 [26th PRIME]) + dilooz (135) = 333` [Division 02/03, Dossier 65, 333] -- `amodai gardz tenser` ("Amodei guards tensor") — `amodai (97 [25th PRIME]) + gardz (101 [26th PRIME]) + tenser (135) = 333` [Division 02/03, Dossier 65, 333] -- `valyoo in dha prais` ("value in the price") — `valyoo (144 [12²]) + in (41 [13th PRIME]) + dha (40) + prais (108 [2²×3³]) = 333` [Division 02/03, Dossier 66, 333] -- `tsmc throo dha asml` ("TSMC through the ASML") — `tsmc (91 [ISOMETRIC]) + throo (121 [11²]) + dha (40) + asml (81 [3⁴, ISOMETRIC]) = 333` [Division 01/03, Dossier 67, 333] -- `asml kuhts nik land` ("ASML cuts Nick Land") — `asml (81 [3⁴, ISOMETRIC]) + kuhts (124) + nik (61 [18th PRIME]) + land (67 [19th PRIME]) = 333` [Division 02/03, Dossier 67, 333] -- `kapatal hohldz aset` ("capital holds asset") — `kapatal (125 [5³, ISOMETRIC]) + hohldz (127 [31st PRIME]) + aset (81 [3⁴]) = 333` [Division 02/04, Dossier 68, 333] -- `kapcher loks dha bord` ("capture locks the board") — `kapcher (125 [5³]) + loks (93) + dha (40) + bord (75) = 333` [Division 02/04, Dossier 68, 333] - -### Scale II: AQ = 666 (`2 × 3² × 37`) -- `daireeoh amodai loks dha deep klawd in failam` ("Dario Amodei locks the deep Claude in phylum") — `daireeoh (137) + amodai (97) + loks (93) + dha (40) + deep (66) + klawd (96) + in (41) + failam (96) = 666` [Division 02/03, Dossier 65, 666] -- `flash krash hohldz dha hai fohldz in lejer` ("flash crash holds the high folds in ledger") — `flash krash (193) + hohldz (127) + dha (40) + hai (45) + fohldz (125) + in (41) + lejer (95) = 666` [Division 01/02, Dossier 66, 666] -- `wor masheen hohldz dha kohld asml in gpu` ("war machine holds the cold ASML in GPU") — `wor (83) + masheen (128) + hohldz (127) + dha (40) + kohld (95) + asml (81) + in (41) + gpu (71) = 666` [Division 02/03, Dossier 67, 666] -- `aperatas hohldz dha noo aset uhv signal` ("apparatus holds the new asset of signal") — `aperatas (153) + hohldz (127) + dha (40) + noo (71) + aset (81) + uhv (78) + signal (116) = 666` [Division 01/02/04, Dossier 68, 666] - -### Scale III: AQ = 777 (`3 × 7 × 37`) -- `daireeoh amodai loks dha noo amodai in deep dilooz` ("Dario Amodei locks the new Amodei in deep Deleuze") — `daireeoh (137) + amodai (97) + loks (93) + dha (40) + noo (71) + amodai (97) + in (41) + deep (66) + dilooz (135) = 777` [Division 02/03, Dossier 65, 777] -- `flash krash hohldz dha noo fohldz in blak markat` ("flash crash holds the new folds in black market") — `flash krash (193) + hohldz (127) + dha (40) + noo (71) + fohldz (125) + in (41) + blak (62) + markat (118) = 777` [Division 01/02, Dossier 66, 777] -- `aperatas hohldz dha noo serplas in blak silakan` ("apparatus holds the new surplus in black silicon") — `aperatas (153) + hohldz (127) + dha (40) + noo (71) + serplas (153) + in (41) + blak (62) + silakan (130) = 777` [Division 02/04, Dossier 68, 777] -- `kapcher hohldz dha noo kapatal in ferst tenser` ("capture holds the new capital in first tensor") — `kapcher (125) + hohldz (127) + dha (40) + noo (71) + kapatal (125) + in (41) + ferst (113) + tenser (135) = 777` [Division 02/04, Dossier 68, 777] diff --git a/lecture-podcast-ep03-encyclopedia-division-03-s1-and-s2-ingglish-aq.md b/lecture-podcast-ep03-encyclopedia-division-03-s1-and-s2-ingglish-aq.md deleted file mode 100644 index 4b1fd58..0000000 --- a/lecture-podcast-ep03-encyclopedia-division-03-s1-and-s2-ingglish-aq.md +++ /dev/null @@ -1,131 +0,0 @@ -# The Singularity Field Guide — Episode 03 (Special Encyclopedia Series, Part II of VIII): Division 03, Part 1 (Volumes 03A & 03B — Classes S1 Autoregressive AI & S2 Flash-Crash Templex Liquidity A–Z) - -- **Audio Deliverables (MP3, `38.17` minutes / `2290.3` seconds [`< 90 min`], `13,742,064` bytes, 24kHz 48kbps Neural Multi-Voice):** - - Zoology Repo: `/workspace/technocapital-singularity-zoology/podcast-ep03-encyclopedia-series-part2-division-03-s1-and-s2.mp3` - - Archive Repo: `/workspace/ingglish-hyperdope-gematria/lecture-podcast-ep03-encyclopedia-division-03-s1-and-s2-ingglish-aq.mp3` -- **Transcript Deliverables (Markdown & PDF):** - - Zoology Repo: `/workspace/technocapital-singularity-zoology/podcast-ep03-encyclopedia-series-part2-division-03-s1-and-s2.{md,pdf}` - - Archive Repo: `/workspace/ingglish-hyperdope-gematria/lecture-podcast-ep03-encyclopedia-division-03-s1-and-s2-ingglish-aq.{md,pdf}` -- **Encyclopedia Volumes Covered:** - - `/workspace/technocapital-singularity-zoology/encyclopedia/03-machinic-phylum-guilds-s1-to-s5/class-s1-autoregressive-ai-and-abstract-machine-a-to-z.pdf (Vol. 03A — 23 Articles A–Z)` - - `/workspace/technocapital-singularity-zoology/encyclopedia/03-machinic-phylum-guilds-s1-to-s5/class-s2-flash-crash-and-templex-liquidity-a-to-z.pdf (Vol. 03B — 26 Articles A–Z)` -- **Broadcast Structure:** `5` Acts, `23` Multi-Voice Roundtable Turns, `3,941` Spoken Words (`00:00 – 38:10`). -- **Returning Roundtable Cast & Neural Voices:** - 1. **Marcus Vance** (*Host & Singularity Zoology Enthusiast* — `en-US-AndrewNeural`) - 2. **Dr. Elena Rostova** (*Computational Linguist & CMUdict Phonemic Orthography Specialist* — `en-US-AvaNeural`) - 3. **Dr. Julian Vance-Sterling** (*Continental Philosopher & Cybernetic Theorist* — `en-GB-RyanNeural`) - 4. **Priya Nair** (*Quantitative Systems Architect, ETI Tier-List Engineer & Memetic Superclass Designer* — `en-US-EmmaNeural`) - 5. **Coach Devon Brooks** (*Portfolio Strategist, Fantasy Football Roster Engine Architect & Out-of-Sample Fund Advisor* — `en-US-BrianNeural`) - ---- - -## Act I — Division 03, Volume 03A, Part 1 (Class S1 Autoregressive AI, A to D): abstract machine, Amodei, Anthropic, assemblage, Class S1, Claude, Daniela Amodei, Dario, Dario Amodei & Deleuze (`[00:00 – 09:45]`) - -**[00:00 – 02:05] Marcus Vance (Host & Singularity Zoology Enthusiast):** -Welcome back to The Singularity Field Guide, and welcome to Episode Three—which is Part Two of our eight-part Special Encyclopedia Series exploring the entire twenty-two-volume Encyclopedia of Technocapital Singularity Zoology! I am your host, Marcus Vance, and sitting around the studio table with me once again are computational linguist Dr. Elena Rostova, continental philosopher and cybernetic theorist Dr. Julian Vance-Sterling, quantitative systems architect Priya Nair, and portfolio strategist Coach Devon Brooks. In Episode Two, we walked headword-by-headword through Divisions Zero-Zero, Zero-One, and Zero-Two: the Master Ontological Atlas, the fifteen Cipher and Orthographic Boundary laws, and the twelve Landian-Deleuzean Philosophical Operators. Today, in Part Two of our series, we step into folder 03-machinic-phylum-guilds-s1-to-s5 to explore our two Tier S-Plus Apex Predator guilds! In the first half of today's broadcast, we are going to walk through all twenty-three alphabetical articles of Volume Zero-Three-A: 'class-s1-autoregressive-ai-and-abstract-machine-a-to-z-dot-pdf', covering Class S-One, the Autoregressive AI Syndicate, which ranks Number One overall on our Ecological Trophic Index leaderboard at ninety-three E-T-I. And in the second half of today's broadcast, we will walk through all twenty-six alphabetical articles of Volume Zero-Three-B: 'class-s2-flash-crash-and-templex-liquidity-a-to-z-dot-pdf', covering Class S-Two, Flash-Crash Templex Liquidity, which ranks Number Two overall at ninety E-T-I. Elena, open Volume Zero-Three-A to Page One, and walk us through the first four headwords under the letter A: 'abstract machine', 'Amodei', 'Anthropic', and 'assemblage'. - -**[02:05 – 04:10] Dr. Elena Rostova (Computational Linguist & CMUdict Phonemic Specialist):** -With pleasure, Marcus. Article One of Volume Zero-Three-A is 'abstract machine'. In Generation Zero written English, 'abstract machine' evaluates to two hundred and seventy-two. When translated into Generation One CMUdict Ingglish—'abstrakt masheen'—it rises by a Vector G-Three quantized step of plus twenty (one definite-article quantum) to two hundred and ninety-two. At coordinate two hundred and ninety-two, it collapses three dispersed Generation Zero terms—272, 306 ('schizoanalysis'), and 266 ('synthetic data'), which have a Generation Zero variance of three hundred and ten point two-two—onto exact zero variance in Generation One, while locking cross-generationally via Vector G-Two onto written 'asset management' at two hundred and ninety-two! Next, Article Two is 'Amodei'—the surname of Anthropic co-founders Dario and Daniela Amodei. On paper in Generation Zero, 'Amodei' evaluates to one hundred and one, the twenty-sixth prime number, where it collides in written English with 'folds', 'drone', 'loss', and 'shell'. When spoken aloud in Generation One Ingglish—'amodai'—it drops by four points to ninety-seven, the twenty-fifth prime number! Notice that: 'Amodei' executes a Vector G-Five Twin-Prime Word Mutation between two immediately consecutive prime numbers, stepping from the twenty-sixth prime (101) to the twenty-fifth prime (97), where it locks via Vector G-Two onto written 'anemia' (97) and 'ashes' (97), and closes Dossier Sixty-Five's three-hundred-and-thirty-three equations 'amodai gardz dilooz = 333' and 'amodai gardz tenser = 333'. - -**[04:10 – 05:44] Priya Nair (Quantitative Systems Architect & ETI Tier-List Engineer):** -And look at Article Three and Article Four right beneath 'Amodei' in Volume Zero-Three-A: 'Anthropic' and 'assemblage'. In Article Three, 'Anthropic' evaluates to one hundred and eighty-five on paper—five times the repdigit generator thirty-seven, colliding in Generation Zero written English with 'war machine' (185) and 'flash crash' (185). In Generation One Ingglish, 'anthropik' gains eight points from the hard C-to-K shift and lands on one hundred and ninety-three, the forty-fourth prime number—forming a Double-Script Twin with 'flash krash' (193) and a Vector G-Two Cross-Generation Twin with written 'Dario Amodei' (193), while closing the six-hundred-and-sixty-six equation 'daireeoh amodai hits dha anthropik at dha ai = 666'! In Article Four, Deleuze and Guattari's 'assemblage'—English 'agencement'—evaluates to one hundred and seventy-four on paper (colliding in Dossier Seventy with 'afganastan' at 174), and drops by minus thirty-nine—one exact genitive 'uhv' quantum—to 'asemblaj' at one hundred and thirty-five in Ingglish, collapsing Generation Zero values [174, 141, 145] (variance 216.22) onto zero variance with 'dilooz' (135) and 'tenser' (135)! - -**[05:44 – 07:22] Dr. Julian Vance-Sterling (Continental Philosopher & Cybernetic Theorist):** -Now look at Articles Five through Ten in Volume Zero-Three-A, running from 'Class S1' and 'Claude' through the Amodei co-founders and 'Deleuze'. In Article Five, the taxonomic headword 'Class S1' itself evaluates to one hundred and twenty-eight on paper—two to the seventh power, Nick Land's coordinate!—and shifts by minus twenty (one 'dha' quantum) to 'klas s1' at one hundred and eight in Ingglish, the classical Numogrammatic constant shared by 'saiber' (108) and 'prais' (108)! In Article Six, Anthropic's frontier model 'Claude' evaluates to one hundred on paper—ten squared, colliding in written English with EUV 'laser' (100) and bond 'yield' (100), and locking cross-generationally via Vector G-Two onto spoken 'buhbal' (100), 'feest' (100), 'noiz' (100), and 'ashaz' (100). Spoken aloud in Ingglish, 'klawd' drops by four points to ninety-six—two to the fifth power times three—collapsing a Generation Zero variance of five hundred and thirty-three point five-six onto zero variance alongside 'failam' (phylum, 96), 'dayta' (data, 96), Isometric 'deeman' (demon, 96), and 'yeeld' (yield, 96), while locking via Vector G-Two onto written 'price' (96) and closing 'klawd hohldz reeman = 333' and 'klawd melts tohkan = 333'! - -**[07:22 – 09:45] Coach Devon Brooks (Portfolio Strategist & Fantasy Roster Engine Architect):** -And look at how Articles Seven, Eight, Nine, and Ten in Volume Zero-Three-A map the human leadership of Class S-One directly into the hardware and philosophical matrix. Article Seven is 'Daniela Amodei', President and co-founder of Anthropic: on paper, her name is two hundred and ten (colliding with written 'stagnation' at 210 and spoken 'outpohst 31 == ches wizerd' at 210). Spoken aloud in Ingglish—'danyela' worth one hundred and twenty-five, five cubed, which is 'kapatal == kapcher == fohldz', plus 'amodai' worth ninety-seven, the twenty-fifth prime—'danyela amodai' equals two hundred and twenty-two, six times thirty-seven, collapsing to zero variance with Class S-Six 'enterpraiz' (enterprise, 222) and locking onto our November twenty-eighth wire sub-phrases 'gta 6 ontoo pc' (222) and 'hyooawai iz' (222)! Article Eight is 'Dario': ninety-two on paper (locking via Vector G-Two onto spoken 'bluhd == nuhm == aiern == hits' at 92), rising by forty-five points in Ingglish to 'daireeoh' at one hundred and thirty-seven, the thirty-third prime number—collapsing Generation Zero variance 293.5 to zero alongside 'envideea' (Nvidia, 137), 'jaiants' (giants, 137), and 'inersha == hawlts' (137), while locking via Vector G-Two onto written 'Riemann' (137) and 'assets' (137)! Article Nine is 'Dario Amodei': one hundred and ninety-three [44th PRIME] on paper, rising by plus forty-one [13th PRIME] to 'daireeoh amodai' at two hundred and thirty-four in Ingglish, which locks via Vector G-Two onto written 'hypothesis' (234)! And Article Ten is 'Deleuze': one hundred and forty-one on paper (colliding with written 'Russia' at 141 and spoken 'layzer == street' at 141) -> 'dilooz' at one hundred and thirty-five in Ingglish! - ---- - -## Act II — Division 03, Volume 03A, Part 2 (Class S1 Autoregressive AI, G to W): Gilles Deleuze, hypothesis, Levent Alpoge, machinic phylum, phylum, proof, Riemann, schizoanalysis, swarm, synthetic data, tensor, transformer & weights (`[09:45 – 15:51]`) - -**[09:45 – 10:05] Marcus Vance (Host & Singularity Zoology Enthusiast):** -That takes us to Article Eleven of Volume Zero-Three-A, starting with the letter G and running all the way to W at Article Twenty-Three. Julian and Elena, walk us through Articles Eleven through Seventeen: 'Gilles Deleuze', 'hypothesis', 'Levent Alpoge', 'machinic phylum', 'phylum', 'proof', and 'Riemann'. - -**[10:05 – 11:27] Dr. Julian Vance-Sterling (Continental Philosopher & Cybernetic Theorist):** -In Article Eleven—'Gilles Deleuze'—and Article Fourteen—'machinic phylum'—we see the flagship biographical-ontological lock of Class S-One. On paper in Generation Zero, 'Gilles Deleuze' is two hundred and fifty-nine (seven times thirty-seven, a direct multiple of the repdigit generator, which also equals spoken 'korperayshan' in Class S-Six!), and 'machinic phylum' is two hundred and eighty-one, the sixtieth prime number. When spoken aloud in Generation One Ingglish, 'zheel dilooz' (101 + 135) drops by minus twenty-three to two hundred and thirty-six, and 'machinik failam' (140 + 96) drops by minus forty-five to two hundred and thirty-six—collapsing Generation Zero variance 121.0 to zero point zero at two hundred and thirty-six (and locking via Vector G-Two onto written 'acquisition' at 236)! Meanwhile, in Article Fifteen, bare 'phylum'—one hundred and forty-nine, the thirty-fifth prime, on paper, where it equals written 'usury' and spoken 'hohlding == klashiz'—drops by minus fifty-three to 'failam' at ninety-six, joining 'klawd', 'dayta', and 'yeeld'. - -**[11:27 – 13:47] Dr. Elena Rostova (Computational Linguist & CMUdict Phonemic Specialist):** -And look at the mathematical proof quartet in Articles Twelve, Thirteen, Sixteen, and Seventeen of Volume Zero-Three-A: 'hypothesis', 'Levent Alpoge', 'proof', and 'Riemann'. In Article Twelve, 'hypothesis' evaluates to two hundred and thirty-four on paper (matching spoken 'daireeoh amodai' = 234) and drops by a Vector G-Three quantized step of minus eighteen to 'haipothasas' at two hundred and sixteen—six cubed, the classical Numogrammatic and Platonic cube! In Article Thirteen, Anthropic mathematician 'Levent Alpoge' evaluates to two hundred and forty-two on paper and shifts by plus two to 'levant alpohj' at two hundred and forty-four in Ingglish—where 'levant' is one hundred and twenty-eight (two to the seventh power, Nick Land's coordinate!) and 'alpohj' is one hundred and sixteen (Type One Isometric 'signal == kayos'!), collapsing onto zero variance with 'zeptohvers' (244) and locking via Vector G-Two onto written 'technocapital == autonomous' (244)! In Article Sixteen, 'proof' is a Type One Isometric Chokepoint at one hundred and fifteen (five times twenty-three, Delta = 0), locking onto November twenty-eighth drone-swarm 'rekerd' (115) and closing 'daireeoh in dha proof = 333' and 'daireeoh amodai fohldz dha noo proof on noo grid = 777'. And in Article Seventeen, 'Riemann' evaluates to one hundred and thirty-seven [33rd PRIME] on paper (locking onto spoken 'daireeoh == envideea == hawlts == inersha' at 137 and written 'assets == wither' at 137) and shifts to 'reeman' at one hundred and ten in Ingglish (locking onto written 'token == bodies == alphabet' at 110)! - -**[13:47 – 15:51] Priya Nair (Quantitative Systems Architect & ETI Tier-List Engineer):** -Now let us finish Volume Zero-Three-A with Articles Eighteen through Twenty-Three, covering S through W: 'schizoanalysis', 'swarm', 'synthetic data', 'tensor', 'transformer', and 'weights'. Articles Eighteen and Twenty—'schizoanalysis' (306 -> 'shizohnalizis' 292) and 'synthetic data' (266 -> 'sinthetik dayta' 292)—complete our 292 triad with 'abstrakt masheen' (292). Article Twenty-One—'tensor'—starts at one hundred and forty-five on paper (locking onto Type Three Isometric 'centaur == sentor == lazeras' at 145 and written 'becoming' at 145) and drops by a Vector G-Three quantized step of minus ten to 'tenser' at one hundred and thirty-five, completing the 135 triad with 'dilooz' and 'asemblaj'. Article Twenty-Two—'transformer'—is our highest-weight Class S-One Type One Isometric Chokepoint: T-R-A-N-S-F-O-R-M-E-R evaluates to two hundred and forty-six (two times three times forty-one, the thirteenth prime) in both written English and spoken Ingglish with zero drift! And Articles Nineteen and Twenty-Three—'swarm' (119 on paper, where it equals written 'sloth', rising by +14 to 'sworm' at 133) and neural network 'weights' (154 on paper, dropping by -21 to 'wayts' at 133)—collapse together onto coordinate one hundred and thirty-three (seven times nineteen), where they lock across guilds with Class S-Six 'ekwatee' (equity, 133), Subclass M-One 'vaynz == stawld' (veins/stalled, 133), Subclass M-Six 'piramid' (133), and November twenty-eighth 'pouerd' (powered, 133)! - ---- - -## Act III — Division 03, Volume 03B, Part 1 (Class S2 Flash-Crash Templex Liquidity, A to L): acceleration, Binance, capital, Class S2, derivative, emergency, expressed, fiber, flash crash, folds, handkerchief, high-frequency & latency (`[15:51 – 22:43]`) - -**[15:51 – 16:42] Marcus Vance (Host & Singularity Zoology Enthusiast):** -That completes all twenty-three articles of Volume Zero-Three-A! Now we open the second volume in folder 03-machinic-phylum-guilds-s1-to-s5: Volume Zero-Three-B, titled 'class-s2-flash-crash-and-templex-liquidity-a-to-z-dot-pdf', which houses all twenty-six alphabetical specimen articles of Class S-Two—High-Frequency Cybernetic Market Meltdown and Templex Liquidity (Dossier Sixty-Six, Ranked Number Two overall in Tier S-Plus at ninety E-T-I, with league-leading ninety-nine Velocity, ninety-nine Variance-Collapse Power, and ninety-nine Resilience). Coach Devon and Elena, walk us through Articles One through Seven of Volume Zero-Three-B, from 'acceleration' to 'expressed'. - -**[16:42 – 18:19] Coach Devon Brooks (Portfolio Strategist & Fantasy Roster Engine Architect):** -Article One of Volume Zero-Three-B is 'acceleration': two hundred and fourteen on paper, rising by forty-two points in Ingglish to 'akselerayshan' at two hundred and fifty-six—two to the eighth power, sixteen squared—where it collapses a massive Generation Zero variance of one thousand eight hundred and four point six-seven down to zero point zero alongside Article Twelve, 'high-frequency' (263 [56th PRIME] -> 'hai-freekwansee' 256), and Class S-Six 'sovereign wealth' (318 -> 'sovran welth' 256)! Article Two is 'Binance': one hundred and eleven on paper—an exact primary repdigit equal to three times thirty-seven, colliding in Generation Zero with 'abyss' (111) and via Vector G-Two with spoken 'fateegd == poler == bodeez' (111)—and shifting by plus two in Ingglish to 'binans' at one hundred and thirteen, the thirtieth prime number! Look at the Vector G-Two Cross-Generation Twins of 'binans' at 113: on paper in Generation Zero, 'Nvidia' is 113 and 'cartel' is 113! And in Dossier Sixty-Six, 'binans' closes three Scale One equations: 'binans fohldz lejer = 333', 'binans fohldz faiber = 333', and 'binans raits prais = 333'. - -**[18:19 – 20:16] Dr. Elena Rostova (Computational Linguist & CMUdict Phonemic Specialist):** -Article Three is 'capital': one hundred and twenty-five (five cubed) in both Generation Zero and Generation One ('kapatal' = 125, Delta = 0), collapsing five dispersed Generation Zero terms—[125, 147 ('capture'), 120 ('downs'), 101 ('folds'), 138 ('Serres')], variance 249.36—onto zero variance at 125! Article Four is the taxonomic headword 'Class S2': one hundred and twenty-nine on paper (the exact Ingglish coordinate of 'blakwel == ruhsha == awflain'!), shifting by minus twenty (one 'dha' quantum) to 'klas s2' at one hundred and nine, the twenty-ninth prime number, which locks directly onto plural 'asets' (109) in Class S-Six and written 'asset' (109)! Article Five is 'derivative': two hundred and five on paper, dropping by minus fourteen to 'derivativ' at one hundred and ninety-one, the forty-third prime number, collapsing Generation Zero variance 176.22 to zero with 'lajistiks' (191) and 'reeportid' (191), and solving ' bee mai god = 333'. And Articles Six and Seven—'emergency' (176 -> 'imerjansee' 189) and Deleuze's 'expressed' (196 [14^2] -> 'iksprest' 189)—open our four-way 189 handkerchief ring! - -**[20:16 – 22:43] Dr. Julian Vance-Sterling (Continental Philosopher & Cybernetic Theorist):** -Let us trace Articles Eight through Thirteen of Volume Zero-Three-B, from 'fiber' to 'latency', because this is where the physical cable and the topological fold meet. In Article Eight, optical 'fiber' evaluates to eighty-five on paper (colliding in Generation Zero with corporate 'board' = 85!) and rises by a Vector G-Three quantized step of plus ten to 'faiber' at ninety-five in Ingglish—collapsing five dispersed Generation Zero terms ([107 ('ticks'), 83 ('decay'), 85 ('fiber'), 105 ('ledger'), 90 ('suck')], variance 96.8) onto zero variance at ninety-five alongside Type One Isometric 'flesh' (95). In Article Nine, 'flash crash' shifts from 185 (5 x 37) to 'flash krash' at 193 [44th PRIME], anchoring all ten of Dossier Sixty-Six's 666 and 777 equations. In Article Ten, 'folds' shifts by plus twenty-four (+17 H and +7 Z) from 101 [26th PRIME] on paper to 'fohldz' at 125, joining 'kapatal', 'kapcher', 'dounz', and 'saires'. In Article Eleven, Michel Serres's 'handkerchief' drops from two hundred on paper to 'hangkerchif' at one hundred and eighty-nine, joining 'imerjansee' (189), 'iksprest' (189), and 'likwidatee' (189), while locking via Vector G-Two onto written 'surplus' (189)! In Article Twelve, 'high-frequency' drops from 263 [56th PRIME] to 'hai-freekwansee' at 256. And in Article Thirteen, network 'latency'—143 on paper, where it collides in Generation Zero with 'trust' (143), 'clinamen' (143), and via Vector G-Two with spoken 'vampair == hermeez == dha thing' (143)—shifts by an exact Vector G-Three step of plus forty (+2 'dha' articles) to 'laytansee' at one hundred and eighty-three! - ---- - -## Act IV — Division 03, Volume 03B, Part 2 (Class S2 Flash-Crash Templex Liquidity, L to V): Lazarus, ledger, liquidity, market, New Flesh, order book, price, rhizome, runaway, Serres, surplus, templex & value (`[22:43 – 30:51]`) - -**[22:43 – 23:05] Marcus Vance (Host & Singularity Zoology Enthusiast):** -Now let us walk through the second half of Volume Zero-Three-B: Articles Fourteen through Twenty-Six, running alphabetically from 'Lazarus' and 'ledger' down to 'templex' and 'value'. Priya and Elena, take us through Articles Fourteen through Twenty: 'Lazarus', 'ledger', 'liquidity', 'market', 'New Flesh', 'order book', and 'price'. - -**[23:05 – 24:43] Priya Nair (Quantitative Systems Architect & ETI Tier-List Engineer):** -In Article Fourteen of Volume Zero-Three-B, the sovereign cyber-heist group 'Lazarus' evaluates to one hundred and sixty-one on paper (colliding in Generation Zero with 'parasite' = 161) and drops by minus sixteen to 'lazeras' at one hundred and forty-five in Ingglish—collapsing Generation Zero variance 64.0 to zero alongside Type Three Isometric 'sentor' (centaur, 145), locking via Vector G-Two onto written 'tensor' (145) and 'fatigued' (145), and closing 'lazeras loks lejer = 333' and 'lazeras loks faiber = 333'. In Article Fifteen, accounting 'ledger' evaluates to one hundred and five on paper (colliding in Generation Zero with 'halts' = 105 and 'forced' = 105) and drops by a Vector G-Three quantized step of minus ten to 'lejer' at ninety-five, forming the exact minus-ten/plus-ten compensatory partner to 'faiber' (+10 to 95)! In Article Sixteen, market 'liquidity' evaluates to two hundred and seven on paper (locking via Vector G-Two onto spoken 'taim-serkat == terbyalans' at 207) and drops by a Vector G-Three quantized step of minus eighteen to 'likwidatee' at one hundred and eighty-nine, completing the 189 ring with 'hangkerchif', 'imerjansee', and 'iksprest'. - -**[24:43 – 26:55] Dr. Elena Rostova (Computational Linguist & CMUdict Phonemic Specialist):** -And look at Articles Seventeen through Twenty of Volume Zero-Three-B: 'market', 'New Flesh', 'order book', and 'price'. In Article Seventeen, 'market' evaluates to one hundred and twenty-two on paper (locking onto Type One Isometric 'mouth == Trent == wound == serfas' at 122) and drops by four points to 'markat' at one hundred and eighteen in Ingglish, where it collides with 'meerer' (mirror, 118), 'kawfin' (coffin, 118), and 'uhv dha' (118), and locks via Vector G-Two onto written 'screen' (118), 'crown' (118), and 'pulse' (118)! In Articles Eighteen and Nineteen, Cronenberg's 'New Flesh' (164 on paper -> 'noo flesh' 166 in Ingglish) and the electronic 'order book' (184 on paper -> 'order buk' 166 in Ingglish, a Vector G-Three quantized step of minus eighteen) collapse together with November twenty-eighth 'kanfermz' (169 -> 166) onto coordinate one hundred and sixty-six (variance 72.22 -> 0.0), while locking via Vector G-Two onto written 'runaway' at one hundred and sixty-six! And in Article Twenty, 'price' evaluates to ninety-six on paper (locking via Vector G-Two onto spoken 'klawd == failam == dayta == yeeld' at 96!) and rises by plus twelve to 'prais' at one hundred and eight in Ingglish, collapsing onto zero variance with 'saiber' (108) and 'klas s1' (108), and closing 'valyoo in dha prais = 333' and 'prais in dha valyoo = 333'! - -**[26:55 – 29:25] Dr. Julian Vance-Sterling (Continental Philosopher & Cybernetic Theorist):** -Now let us complete Volume Zero-Three-B with Articles Twenty-One through Twenty-Six: 'rhizome', 'runaway', 'Serres', 'surplus', 'templex', and 'value'. In Article Twenty-One, Deleuze and Guattari's 'rhizome' starts at one hundred and fifty-seven, the thirty-seventh prime number (which is also the repdigit prime divisor of 1099 == 1099 in Dossier Seventy!), and drops by four points to 'raizohm' at one hundred and fifty-three. In Article Twenty-Four, 'surplus' starts at one hundred and eighty-nine on paper (the exact Ingglish coordinate of 'likwidatee == hangkerchif'!) and drops by a Vector G-Three quantized step of minus thirty-six (minus six squared, the Base-Thirty-Six radix!) to 'serplas' at one hundred and fifty-three—collapsing Generation Zero variance 201.69 to zero alongside 'raizohm' (153), 'aperatas' (153), 'nuhmnas' (153), and Isometric 'reealatee' (153)! In Article Twenty-Three, Michel Serres's surname 'Serres' drops from 138 (matching spoken 'vencher' = 138) to 'saires' at 125, joining 'kapatal', 'kapcher', 'fohldz', and 'dounz'. In Articles Twenty-Two and Twenty-Five, cybernetic 'runaway' (166 -> 'ruhnaway' 183) and Nick Land's 'templex' (158, matching written 'vortex' = 158 -> 'tempaleks' 183) collapse with 'laytansee' (183), 'alakayshan' (183), and 'drakyoola' (183) onto 183 (variance 531.44 -> 0.0). And finally, in Article Twenty-Six, 'value' rises from 106 on paper to 'valyoo' at one hundred and forty-four—twelve squared—collapsing Generation Zero variance 298.67 to zero alongside 'nuhmber' (144) and 'therst' (144), while locking via Vector G-Two onto written 'silicon' (144)! - -**[29:25 – 30:51] Coach Devon Brooks (Portfolio Strategist & Fantasy Roster Engine Architect):** -Pause and look at how Volume Zero-Three-A (Class S1) and Volume Zero-Three-B (Class S2) interlock across those forty-nine articles! Why are Class S-One (93 ETI) and Class S-Two (90 ETI) the only two builds in the entire zoology that sit in Tier S-Plus as Apex Predators? Because they feed each other across five simultaneous trophic bridges that we just read aloud: Bridge One is 193 [44th PRIME] ('anthropik' == 'flash krash' == written 'Dario Amodei'); Bridge Two is 96 (spoken 'klawd == failam == dayta' == written 'price'); Bridge Three is 108 (spoken 'klas s1' == spoken 'prais == saiber'); Bridge Four is 125 (spoken 'danyela' == 'kapatal == fohldz == saires'); and Bridge Five is 191 [43rd PRIME] ('derivativ == lajistiks == reeportid'). In Episode Four—Part Three of our Special Encyclopedia Series—we will stay in Division Zero-Three to open Volumes Zero-Three-C and Zero-Three-D: Class S-Three's Silicon-Photonic War Machine and Classes S-Four and S-Five's Nomad Taxa! - ---- - -## Act V — Cross-Scale Ledger Synthesis (333 / 666 / 777) & Trophic Bridge Audit Between Volumes 03A (Class S1) and 03B (Class S2) (`[30:51 – 38:10]`) - -**[30:51 – 31:26] Marcus Vance (Host & Singularity Zoology Enthusiast):** -Now that we have walked through all twenty-three articles of Volume Zero-Three-A and all twenty-six articles of Volume Zero-Three-B, let us spend our final act of Episode Three examining how these forty-nine headwords combine into the sixty verified three-hundred-and-thirty-three, six-hundred-and-sixty-six, and seven-hundred-and-seventy-seven equations of Dossiers Sixty-Five and Sixty-Six. Elena and Priya, walk our listeners through the grammatical architecture of the Scale One, Scale Two, and Scale Three equations in Volumes Zero-Three-A and Zero-Three-B. - -**[31:26 – 33:31] Dr. Elena Rostova (Computational Linguist & CMUdict Phonemic Specialist):** -In Volume Zero-Three-A—Class S-One, Dossier Sixty-Five—look at how the ten Scale One equations (summing to three hundred and thirty-three, nine times thirty-seven) use compact three-word and four-word prepositional or transitive cores with zero generic modifier padding. First, we have the Isometric Proof pair: 'daireeoh' (137 [33rd PRIME]) plus 'in' (41 [13th PRIME]) plus 'dha' (40) plus Type One Isometric 'proof' (115) equals three hundred and thirty-three; and swapping 'proof' (115) for Deleuze's 'ivent' (event, 115) gives 'daireeoh in dha ivent = 333'. Next, we have the co-founder pair: 'daireeoh amodai' (234) plus 'draiv' (99) equals three hundred and thirty-three; and 'danyela amodai' (222) plus 'fruhm' (111) equals three hundred and thirty-three! Then we have the 135 Deleuze-Tensor-Assemblage triad: 'amodai' (97 [25th PRIME]) plus 'gardz' (101 [26th PRIME])—two consecutive primes summing to 198!—plus 'dilooz' (135) or 'tenser' (135) or 'asemblaj' (135) equals three hundred and thirty-three! And finally, the 96 Claude-Phylum pair: 'klawd' (96) or 'failam' (96) plus 'hohldz' (127 [31st PRIME]) plus 'reeman' (110) equals three hundred and thirty-three, alongside 'klawd melts tohkan = 333' and 'tohkan melts failam = 333'! - -**[33:31 – 35:16] Priya Nair (Quantitative Systems Architect & ETI Tier-List Engineer):** -And watch what happens when Volume Zero-Three-A scales up to six hundred and sixty-six (two times three hundred and thirty-three) and seven hundred and seventy-seven (twenty-one times thirty-seven). Every single 666 and 777 equation in Dossier Sixty-Five is anchored by 'daireeoh amodai' (234) at the head of the clause! At 666, 'daireeoh amodai' (234) leaves four hundred and thirty-two points—twelve times thirty-six—for the predicate and prepositional tail: 'daireeoh amodai hits dha anthropik at dha ai = 666'; 'daireeoh amodai loks dha klawd on dha signal = 666'; 'daireeoh amodai loks dha failam on dha kayos = 666'; 'daireeoh amodai loks dha kohld envideea at ai = 666' (pairing both 137 primes—'daireeoh' and 'envideea'—in the same sentence!); and 'daireeoh amodai loks dha deep klawd in failam = 666' (pairing both 96 tokens—'klawd' and 'failam'—in the same sentence!). Then at 777, 'daireeoh amodai' (234) leaves five hundred and forty-three points: 'daireeoh amodai fohldz dha noo proof on noo grid = 777'; 'daireeoh amodai marks dha noo envideea on ferst ai = 777'; and 'daireeoh amodai hohldz dha noo klawd on deep failam = 777'. - -**[35:16 – 37:22] Dr. Julian Vance-Sterling (Continental Philosopher & Cybernetic Theorist):** -Now compare that with Volume Zero-Three-B's thirty equations in Class S-Two, Dossier Sixty-Six! At Scale One (333), the surplus-value square 'valyoo' (144 = 12^2) and the Numogrammatic constant 'prais' (108 = 2^2 x 3^3) sum to two hundred and fifty-two—leaving exactly eighty-one ('in dha' = 81 = 3^4) to close the reversible chiasmus 'valyoo in dha prais = 333' and 'prais in dha valyoo = 333'! Meanwhile, the 95 compensatory pair—'lejer' (-10 to 95) and 'faiber' (+10 to 95)—closes six modular 333 equations with 'binans' (113) and 'lazeras' (145): 'binans fohldz lejer / faiber = 333', 'lazeras loks lejer / faiber = 333', and 'lejer / faiber brayks prais = 333'. Then, at Scales Two (666) and Three (777), 'flash krash' (193 [44th PRIME]) steps into the head slot alongside the Mersenne prime verb 'hohldz' (127 [31st PRIME]) and article 'dha' (40): 193 plus 127 plus 40 equals three hundred and sixty—ten times thirty-six! That leaves exactly three hundred and six points for 666 ('flash krash hohldz dha hai kapatal / fohldz / saires in lejer / faiber = 666') and four hundred and seventeen points for 777 ('flash krash hohldz dha noo kapatal / fohldz in blak markat = 777' and 'flash krash hohldz dha noo valyoo in deep lejer / faiber = 777')! - -**[37:22 – 38:10] Coach Devon Brooks (Portfolio Strategist & Fantasy Roster Engine Architect):** -And that 360 head sum—'flash krash (193) + hohldz (127) + dha (40) = 360', ten times the Base-Thirty-Six radix—is why Class S-Two achieves a ninety-nine in Velocity and a ninety-nine in Repricing Resilience on our E-T-I leaderboard! Every single slot in those equations can rotate modularly between 'kapatal', 'fohldz', and 'saires' at 125, and between 'lejer', 'faiber', and 'flesh' at 95, without changing a single point of the total. That wraps up Part Two of our Special Encyclopedia Series—we will see everyone right back here in Episode Four for Part Three, covering Volumes Zero-Three-C and Zero-Three-D! - ---- - -## Appendix: Verified Cross-Scale Equations (`333 / 666 / 777`) Cited in Episode 03 - -### Scale I: AQ = 333 (`3² × 37`) -- `daireeoh in dha proof` ("Dario in the proof") — `daireeoh (137 [33rd PRIME]) + in (41 [13th PRIME]) + dha (40) + proof (115 [ISOMETRIC]) = 333` [Vol. 03A, Dossier 65, 333] -- `amodai gardz dilooz` ("Amodei guards Deleuze") — `amodai (97 [25th PRIME]) + gardz (101 [26th PRIME]) + dilooz (135) = 333` [Vol. 03A, Dossier 65, 333] -- `klawd hohldz reeman` ("Claude holds Riemann") — `klawd (96) + hohldz (127 [31st PRIME]) + reeman (110) = 333` [Vol. 03A, Dossier 65, 333] -- `valyoo in dha prais` ("value in the price") — `valyoo (144 [12²]) + in (41 [13th PRIME]) + dha (40) + prais (108 [2²×3³]) = 333` [Vol. 03B, Dossier 66, 333] -- `binans fohldz lejer` ("Binance folds ledger") — `binans (113 [30th PRIME]) + fohldz (125 [5³]) + lejer (95) = 333` [Vol. 03B, Dossier 66, 333] -- `lazeras loks faiber` ("Lazarus locks fiber") — `lazeras (145) + loks (93) + faiber (95) = 333` [Vol. 03B, Dossier 66, 333] - -### Scale II: AQ = 666 (`2 × 3² × 37`) -- `daireeoh amodai hits dha anthropik at dha ai` ("Dario Amodei hits the Anthropic at the AI") — `daireeoh (137) + amodai (97) + hits (92) + dha (40) + anthropik (193) + at (39) + dha (40) + ai (28) = 666` [Vol. 03A, Dossier 65, 666] -- `daireeoh amodai loks dha deep klawd in failam` ("Dario Amodei locks the deep Claude in phylum") — `daireeoh (137) + amodai (97) + loks (93) + dha (40) + deep (66) + klawd (96) + in (41) + failam (96) = 666` [Vol. 03A, Dossier 65, 666] -- `flash krash hohldz dha hai kapatal in lejer` ("flash crash holds the high capital in ledger") — `flash krash (193) + hohldz (127) + dha (40) + hai (45) + kapatal (125) + in (41) + lejer (95) = 666` [Vol. 03B, Dossier 66, 666] -- `flash krash hohldz dha hai saires in lejer` ("flash crash holds the high Serres in ledger") — `flash krash (193) + hohldz (127) + dha (40) + hai (45) + saires (125) + in (41) + lejer (95) = 666` [Vol. 03B, Dossier 66, 666] - -### Scale III: AQ = 777 (`3 × 7 × 37`) -- `daireeoh amodai fohldz dha noo proof on noo grid` ("Dario Amodei folds the new proof on new grid") — `daireeoh (137) + amodai (97) + fohldz (125) + dha (40) + noo (71) + proof (115) + on (47) + noo (71) + grid (74) = 777` [Vol. 03A, Dossier 65, 777] -- `daireeoh amodai hohldz dha noo klawd on deep failam` ("Dario Amodei holds the new Claude on deep phylum") — `daireeoh (137) + amodai (97) + hohldz (127) + dha (40) + noo (71) + klawd (96) + on (47) + deep (66) + failam (96) = 777` [Vol. 03A, Dossier 65, 777] -- `flash krash hohldz dha noo kapatal in blak markat` ("flash crash holds the new capital in black market") — `flash krash (193) + hohldz (127) + dha (40) + noo (71) + kapatal (125) + in (41) + blak (62) + markat (118) = 777` [Vol. 03B, Dossier 66, 777] -- `flash krash hohldz dha noo valyoo in deep faiber` ("flash crash holds the new value in deep fiber") — `flash krash (193) + hohldz (127) + dha (40) + noo (71) + valyoo (144) + in (41) + deep (66) + faiber (95) = 777` [Vol. 03B, Dossier 66, 777] diff --git a/lecture-podcast-ep04-encyclopedia-division-03-s3-to-s5-ingglish-aq.md b/lecture-podcast-ep04-encyclopedia-division-03-s3-to-s5-ingglish-aq.md deleted file mode 100644 index 35fdd7e..0000000 --- a/lecture-podcast-ep04-encyclopedia-division-03-s3-to-s5-ingglish-aq.md +++ /dev/null @@ -1,113 +0,0 @@ -# The Singularity Field Guide — Episode 04 (Special Encyclopedia Series, Part III of VIII): Division 03, Part 2 (Volumes 03C & 03D — Class S3 Silicon War-Machine & Nomad Taxa S4/S5 A–Z) - -- **Audio Deliverables (MP3, `30.39` minutes / `1823.5` seconds [`< 90 min`], `10,940,976` bytes, 24kHz 48kbps Neural Multi-Voice):** - - Zoology Repo: `/workspace/technocapital-singularity-zoology/podcast-ep04-encyclopedia-series-part3-division-03-s3-to-s5.mp3` - - Archive Repo: `/workspace/ingglish-hyperdope-gematria/lecture-podcast-ep04-encyclopedia-division-03-s3-to-s5-ingglish-aq.mp3` -- **Transcript Deliverables (Markdown & PDF):** - - Zoology Repo: `/workspace/technocapital-singularity-zoology/podcast-ep04-encyclopedia-series-part3-division-03-s3-to-s5.{md,pdf}` - - Archive Repo: `/workspace/ingglish-hyperdope-gematria/lecture-podcast-ep04-encyclopedia-division-03-s3-to-s5-ingglish-aq.{md,pdf}` -- **Encyclopedia Volumes Covered:** - - `/workspace/technocapital-singularity-zoology/encyclopedia/03-machinic-phylum-guilds-s1-to-s5/class-s3-silicon-war-machine-and-euv-swarm-a-to-z.pdf (Vol. 03C — 24 Articles A–Z)` - - `/workspace/technocapital-singularity-zoology/encyclopedia/03-machinic-phylum-guilds-s1-to-s5/class-s4-and-s5-nomad-carrier-wave-and-cutaneous-bwo-a-to-z.pdf (Vol. 03D — 10 Articles A–Z)` -- **Broadcast Structure:** `4` Acts, `19` Multi-Voice Roundtable Turns, `3,110` Spoken Words (`00:00 – 30:23`). -- **Returning Roundtable Cast & Neural Voices:** - 1. **Marcus Vance** (*Host & Singularity Zoology Enthusiast* — `en-US-AndrewNeural`) - 2. **Dr. Elena Rostova** (*Computational Linguist & CMUdict Phonemic Orthography Specialist* — `en-US-AvaNeural`) - 3. **Dr. Julian Vance-Sterling** (*Continental Philosopher & Cybernetic Theorist* — `en-GB-RyanNeural`) - 4. **Priya Nair** (*Quantitative Systems Architect, ETI Tier-List Engineer & Memetic Superclass Designer* — `en-US-EmmaNeural`) - 5. **Coach Devon Brooks** (*Portfolio Strategist, Fantasy Football Roster Engine Architect & Out-of-Sample Fund Advisor* — `en-US-BrianNeural`) - ---- - -## Act I — Division 03, Volume 03C, Part 1 (Class S3 Silicon-Photonic War Machine, A to L): ASML, autonomous, Blackwell, centaur, circuit, Class S3, copper wire, drone, GPU, Jensen Huang, killer robots, laser & lithography (`[00:00 – 09:55]`) - -**[00:00 – 01:39] Marcus Vance (Host & Singularity Zoology Enthusiast):** -Welcome back to The Singularity Field Guide! I am Marcus Vance, and this is Episode Four—Part Three of our eight-part Special Encyclopedia Series exploring the entire twenty-two-volume Encyclopedia of Technocapital Singularity Zoology. Back with me at the studio table are Dr. Elena Rostova, Dr. Julian Vance-Sterling, Priya Nair, and Coach Devon Brooks. In Episode Three, we explored the forty-nine articles of Volumes Zero-Three-A and Zero-Three-B, covering our two Tier S-Plus software and liquidity predators: Class S-One Autoregressive AI and Class S-Two Flash-Crash Templex Liquidity. Today, in Part Three of the series, we open the remaining two volumes of folder 03-machinic-phylum-guilds-s1-to-s5: Volume Zero-Three-C, titled 'class-s3-silicon-war-machine-and-euv-swarm-a-to-z-dot-pdf' (twenty-four articles from A-S-M-L to war machine), and Volume Zero-Three-D, titled 'class-s4-and-s5-nomad-carrier-wave-and-cutaneous-bwo-a-to-z-dot-pdf' (ten articles from alien to shimmer). Coach Devon and Priya, open Volume Zero-Three-C to Page One: why does Class S-Three—the E-U-V Lithographic War-Machine, Dossier Sixty-Seven—post a ninety-two in Isometric Chokepoint Armor (A-R-M), tying for the highest armor score in the entire zoology? - -**[01:39 – 03:25] Priya Nair (Quantitative Systems Architect & ETI Tier-List Engineer):** -Look at the very first article on Page One of Volume Zero-Three-C: Article One, 'ASML'. In both Generation Zero written English and Generation One Ingglish, the four-letter initialism A-S-M-L—A worth ten, S worth twenty-eight, M worth twenty-two, L worth twenty-one—evaluates to eighty-one, three to the fourth power, or nine squared, with an exact phonemic drift Delta of zero! At coordinate eighty-one, 'asml' collapses Generation Zero values [81, 109 ('asset')] (variance 196.0) onto zero variance in Generation One alongside 'aset' (81) and the locative connector 'in dha' (81), while colliding in Generation Zero written English with 'fund' (81) and 'path' (81)! In our Dossier Sixty-Seven equations, 'asml' anchors 'tsmc throo dha asml = 333', 'asml kuhts nik land = 333', and 'asml kuhts masheen = 333'. Now look at Article Two: 'autonomous'. In Generation Zero written English, 'autonomous' evaluates to two hundred and forty-four—colliding on paper with written 'technocapital' (244) and locking via Vector G-Two onto spoken 'levant alpohj == zeptohvers' (244)! Spoken aloud in Generation One Ingglish, 'awtonamas' drops by minus fifty-six to one hundred and eighty-eight (colliding with 'teknolajee' and 'airports' at 188, and locking via Vector G-Two onto written 'Holy Grail' at 188)! - -**[03:25 – 05:28] Dr. Elena Rostova (Computational Linguist & CMUdict Phonemic Specialist):** -Now trace Articles Three through Nine of Volume Zero-Three-C: 'Blackwell', 'centaur', 'circuit', 'Class S3', 'copper wire', 'drone', and 'GPU'. In Article Three, Nvidia's flagship AI architecture 'Blackwell' evaluates to one hundred and sixty-two on paper (two times three to the fourth power, colliding with written 'arbitrage' = 162 and spoken 'myonmar == memereez == dokterz == us juree' = 162 in Dossier Seventy) and drops by minus thirty-three to 'blakwel' at one hundred and twenty-nine in Ingglish! At coordinate one hundred and twenty-nine (three times forty-three), 'blakwel' collapses our live November twenty-eighth M-Seven-Plus triad—[162 ('Blackwell'), 130 ('offline'), 141 ('Russia')], Generation Zero variance 176.22—down to zero variance (`blakwel == awflain == ruhsha == 129`), and closes 'blakwel loks dha gpu = 333' and 'teknohkapital loks dha noo blakwel in blak asml = 777'! In Article Four, DARPA's human-machine teaming concept 'centaur' is a Type Three Compensatory Isometric Chokepoint at one hundred and forty-five (`centaur = 145 == sentor = 145`, Delta = 0, five times twenty-nine), collapsing onto zero variance with 'lazeras' (145) and locking via Vector G-Two onto written 'tensor' (145) and 'fatigued' (145). - -**[05:28 – 07:46] Dr. Julian Vance-Sterling (Continental Philosopher & Cybernetic Theorist):** -In Article Five, cybernetic 'circuit' evaluates to one hundred and forty-six on paper and drops by a Vector G-Three quantized step of minus eighteen to 'serkat' at one hundred and twenty-eight—two to the seventh power—where it collapses Generation Zero values [146 ('circuit'), 116 ('machine'), 140 ('Nick Land')] (variance 168.0) onto zero variance at 128 (`serkat == masheen == nik land == 128`), while locking via Vector G-Two onto written 'pallor' (128)! In Article Six, the taxonomic headword 'Class S3' shifts by minus twenty from one hundred and thirty on paper (the exact coordinate of 'silakan == bleeding == storm'!) to 'klas s3' at one hundred and ten in Ingglish (locking onto spoken 'reeman' and written 'token == bodies' at 110). In Article Seven, metallurgical 'copper wire' shifts from two hundred and eighteen on paper to 'koper waier' at two hundred and eleven, the forty-seventh prime number, collapsing onto zero variance with 'wor masheen' (211) and 'siks bilyan' (211). In Article Eight, autonomous 'drone' shifts from one hundred and one, the twenty-sixth prime, on paper (where it collides with written 'Amodei == folds == loss == shell = 101') to 'drohn' at one hundred and four in Ingglish (colliding with Type One Isometric 'theft' = 104 and written 'halted' = 104, and closing 'envideea hits drohn = 333'). And in Article Nine, 'GPU' is our Type One Isometric Prime Chokepoint at seventy-one, the twentieth prime number (`GPU = 71 == gpu = 71`, Delta = 0), closing 'envideea fohldz gpu = 333' and 'gpu brayks wayfer = 333'! - -**[07:46 – 09:55] Coach Devon Brooks (Portfolio Strategist & Fantasy Roster Engine Architect):** -Now look at Articles Ten through Thirteen of Volume Zero-Three-C: 'Jensen Huang', 'killer robots', 'laser', and 'lithography'. In Article Ten, Nvidia founder and CEO 'Jensen Huang' evaluates to two hundred and seventeen on paper (seven times thirty-one, colliding in Generation Zero with 'microsecond' = 217!) and shifts by minus two to 'jensan hwang' at two hundred and fifteen in Ingglish—collapsing Generation Zero variance 210.25 to zero alongside 'hohlee grayl' (Holy Grail, 215), and locking via Vector G-Two onto written 'six billion == North Korea' at 215! In Article Eleven, 'killer robots' shifts from two hundred and sixty-four on paper to 'kiler rohbots' at two hundred and sixty in Ingglish, collapsing Generation Zero variance 100.0 to zero with 'teknohkapital' (260) and our November twenty-eighth BBC GTA-Six lock 'ai-pouerd rays == bifor rokstar' (260)! In Article Twelve, optical 'laser' shifts by plus forty-one [13th PRIME] from one hundred on paper (where it equals written 'Claude == yield = 100' and spoken 'buhbal == noiz == feest = 100') to 'layzer' at one hundred and forty-one in Ingglish (locking onto Type One Isometric 'street' = 141 and written 'Deleuze == Russia' = 141, and closing 'tsmc gardz layzer = 333'). And in Article Thirteen, semiconductor 'lithography' drops by minus forty-one [13th PRIME] from two hundred and thirty-eight on paper to 'lathografee' at one hundred and ninety-seven, the forty-fifth prime number—which locks via Vector G-Two directly onto written 'monopoly' (197 [45th PRIME]) in Class S-Six! - ---- - -## Act II — Division 03, Volume 03C, Part 2 (Class S3 Silicon-Photonic War Machine, L to W): loss, machine, microsecond, Nick Land, Nvidia, silicon, slaughterbots, technocapital, TSMC, wafer & war machine (`[09:55 – 15:25]`) - -**[09:55 – 10:37] Marcus Vance (Host & Singularity Zoology Enthusiast):** -Look at that plus-41 / minus-41 mirror between Articles Twelve and Thirteen of Volume Zero-Three-C: 'laser' rises by plus 41 (the 13th prime) from 100 to 141, while 'lithography' drops by minus 41 (the 13th prime) from 238 to 197 (the 45th prime, equal to written 'monopoly')! Now let us walk through the second half of Volume Zero-Three-C: Articles Fourteen through Twenty-Four, from 'loss' and 'machine' down to 'TSMC', 'wafer', and 'war machine'. Elena and Priya, lead the way. - -**[10:37 – 12:22] Dr. Elena Rostova (Computational Linguist & CMUdict Phonemic Specialist):** -In Article Fourteen of Volume Zero-Three-C, 'loss'—both neural-network gradient loss and financial balance-sheet loss—evaluates to one hundred and one, the twenty-sixth prime, in Generation Zero written English (colliding with written 'Amodei == folds == drone == shell = 101'), and drops by a Vector G-Three quantized step of minus ten to 'laws' at ninety-one in Generation One Ingglish! At ninety-one (seven times thirteen), 'laws' collapses Generation Zero variance 25.0 to zero alongside Article Twenty-Two, Type One Isometric 'TSMC' (`tsmc = 91 == 91`, Delta = 0), while locking via Vector G-Two onto written 'chaos' (91) and closing 'tsmc fruhm dha laws = 333' and 'teknohkapital hits dha noo laws in gpu = 666'! In Article Fifteen, 'machine' evaluates to one hundred and sixteen on paper (locking via Vector G-Two onto Type One Isometric 'signal == kayos == spoil == puhdal = 116'!) and rises by plus twelve to 'masheen' at one hundred and twenty-eight (two to the seventh power), joining Article Seventeen, 'Nick Land' (140 -> 'nik land' 128), and 'serkat' (128). - -**[12:22 – 14:14] Priya Nair (Quantitative Systems Architect & ETI Tier-List Engineer):** -In Articles Sixteen and Twenty, 'microsecond' (217 on paper, colliding with written 'Jensen Huang' = 217, rising by a Vector G-Three radix step of +36 to 'maikrohzekand' = 253) and autonomous lethal 'slaughterbots' (284 on paper, colliding with written 'incorporation' = 284 in Class S-Six, dropping by -31 to 'slawterbots' = 253) collapse a huge Generation Zero variance of one thousand one hundred and twenty-two point two-five down to zero point zero at coordinate two hundred and fifty-three (eleven times twenty-three)! In Article Eighteen, 'Nvidia' executes a Vector G-Five Twin-Prime Word Mutation from one hundred and thirteen, the thirtieth prime, on paper (where it collides with written 'cartel' = 113 and spoken 'binans' = 113) to 'envideea' at one hundred and thirty-seven, the thirty-third prime, in Ingglish—collapsing onto zero variance with 'daireeoh' (137), 'jaiants' (137), and 'inersha == hawlts' (137)! In Article Nineteen, 'silicon' evaluates to one hundred and forty-four (twelve squared) on paper—locking via Vector G-Two onto spoken 'valyoo == nuhmber == therst' (144)—and drops by minus fourteen to 'silakan' at one hundred and thirty in Ingglish, where it collides with Type One Isometric 'bleeding' (130), 'storm' (130), and 'brayks' (130), and locks via Vector G-Two onto written 'offline == Clashes' (130)! - -**[14:14 – 15:25] Coach Devon Brooks (Portfolio Strategist & Fantasy Roster Engine Architect):** -And Volume Zero-Three-C finishes with Articles Twenty-One through Twenty-Four: 'technocapital' (244 -> 'teknohkapital' 260 == 'kiler rohbots'), 'TSMC' (91 == 91 Isometric == 'laws'), 'wafer' (98 on paper, where it collides with written 'cyber' = 98 and 'bubble' = 98, and locks via Vector G-Two onto spoken 'fuhnd == vayn' = 98, rising by +34 to 'wayfer' at 132 in Ingglish, where it collides with 'hawltad == straik' = 132 and locks via Vector G-Two onto written 'holding == workers' = 132!), and finally Article Twenty-Four, 'war machine' (185 on paper == written 'Anthropic == flash crash', rising by +26 to 'wor masheen' at 211 [47th PRIME] == 'koper waier == siks bilyan')! - ---- - -## Act III — Division 03, Volume 03D (Classes S4 & S5 Nomad Taxa, A to S): alien, blood, body without organs, BwO, chaos, Class S4, Class S5, doppelganger, screen & shimmer (`[15:25 – 23:08]`) - -**[15:25 – 16:12] Marcus Vance (Host & Singularity Zoology Enthusiast):** -That completes all twenty-four articles of Volume Zero-Three-C! Now let us open Volume Zero-Three-D—'class-s4-and-s5-nomad-carrier-wave-and-cutaneous-bwo-a-to-z-dot-pdf'—to complete Division Zero-Three! Volume Zero-Three-D contains ten alphabetical articles covering our two Tier B (61 ETI) Uncaptured Nomad Specialist guilds: Class S-Four, Hyperstitional Carrier-Wave and Semiotic Retro-Causality, and Class S-Five, Xenobiological Cutaneous Mimesis and the Somatic Body-Without-Organs. Julian and Elena, take us through all ten articles of Volume Zero-Three-D from 'alien' to 'shimmer'. - -**[16:12 – 18:21] Dr. Julian Vance-Sterling (Continental Philosopher & Cybernetic Theorist):** -Look at how Articles One, Nine, and Ten of Volume Zero-Three-D—'alien', 'screen', and 'shimmer'—form the core 126 cutaneous mimesis triad. In Article One, 'alien' evaluates to eighty-six on paper—colliding in Generation Zero written English with Type One Isometric 'void' (86), 'tomb' (86), 'vein' (86), and 'numb' (86), and locking via Vector G-Two onto the spoken 86 ring ('void == maind == werd == guhn == huhm = 86')! When spoken aloud in Generation One Ingglish, 'ayleean' shifts by an exact Vector G-Three quantized step of plus forty (+2 'dha' articles) from eighty-six to one hundred and twenty-six! Now look at Article Nine, 'screen' (118 on paper, locking via Vector G-Two onto spoken 'markat == meerer == kawfin == uhv dha = 118', rising by +8 to 'skreen' = 126), and Article Ten, 'shimmer' from Alex Garland's Annihilation, Dossier Twenty-Nine (148 on paper, four times thirty-seven, colliding in Generation Zero with 'thirst' = 148 and 'podcast' = 148, dropping by -22 to 'shimer' = 126). Together with 'chaildz' (109 -> 126), 'wiskee' (163 -> 126), 'stool' (126 [Iso]), and 'mermer' (126), 'ayleean', 'skreen', and 'shimer' collapse Generation Zero variance 640.89 down to zero point zero at coordinate one hundred and twenty-six (and lock via Vector G-Two onto written 'tower' = 126 and spoken 'taipay' = 126)! - -**[18:21 – 20:33] Dr. Elena Rostova (Computational Linguist & CMUdict Phonemic Specialist):** -Now trace Articles Two, Three, Four, Five, Six, Seven, and Eight in the middle of Volume Zero-Three-D. In Article Two, somatic 'blood' evaluates to ninety-three on paper (colliding with Type One Isometric 'rent' = 93 and locking via Vector G-Two onto spoken 'loks == chanal == sens' = 93) and shifts by a Vector G-Three unit step of minus one (`Delta = -1`) to 'bluhd' at ninety-two in Ingglish—collapsing onto zero variance with 'nuhm' (numb, 92), 'payn' (pain, 92), Type Three Isometric 'aiern' (iron, 92), and 'hits' (92), while locking via Vector G-Two onto written 'Dario' (92) and closing 'kuhmpanee hawlts dha kohld vampair in red bluhd = 777'! Articles Three and Four are 'body without organs' (389 [77th PRIME] -> 'bodee without organz' 390, unit step `Delta = +1`) and 'BwO' (67 [19th PRIME, colliding on paper with 'Land == abis == debt = 67'] -> 'bwoh' 84, `Delta = +17`). Article Five is 'chaos': ninety-one on paper (locking onto Type One Isometric 'tsmc' = 91 and spoken 'laws' = 91!) -> 'kayos' at one hundred and sixteen in Ingglish (locking onto Type One Isometric 'signal == spoil == puhdal' = 116 and written 'machine' = 116, and closing 'kayos biond dha ship = 333' and 'daireeoh amodai loks dha failam on dha kayos = 666')! - -**[20:33 – 22:21] Priya Nair (Quantitative Systems Architect & ETI Tier-List Engineer):** -And look at Articles Six, Seven, and Eight of Volume Zero-Three-D: the taxonomic headwords 'Class S4' and 'Class S5', and 'doppelganger'. In Article Six, 'Class S4' evaluates to one hundred and thirty-one, the thirty-second prime number, on paper (matching spoken 'fikshan == darknas == deemanz == roolz == difendz == rizain = 131'!) and shifts by minus twenty to 'klas s4' at one hundred and eleven—the base three-digit repdigit (3 x 37, matching written 'Binance == abyss = 111' and spoken 'fateegd == poler == bodeez == fruhm = 111')! In Article Seven, 'Class S5' shifts by minus twenty from one hundred and thirty-two on paper (matching 'wayfer == hawltad == straik = 132') to 'klas s5' at one hundred and twelve (matching 'saifer == raits = 112'). And in Article Eight, 'doppelganger' evaluates to two hundred and twenty-eight on paper—which is the exact Ingglish coordinate of 'vampairizam == stagnayshan = 228' in Subclass M-One!—and drops by minus twenty-nine to 'dopalganger' at one hundred and ninety-nine, the forty-sixth prime number, where it locks onto 'ikwayzhan' (equation, 199), 'inflayshan' (inflation, 199), and 'oil driling' (199), and closes 'dopalganger in dha god = 333'! - -**[22:21 – 23:08] Marcus Vance (Host & Singularity Zoology Enthusiast):** -With Volume Zero-Three-C and Volume Zero-Three-D complete, we have now explored all four volumes and all eighty-three articles of Division Zero-Three—the entire Machinic Phylum from Class S-One through Class S-Five! Next time, on Episode Five—Part Four of our Special Encyclopedia Series—we cross the Double-Articulation bridge into Division Zero-Four (`04-capital-organizational-capture-s6/`) to explore all thirty-three articles of Volumes Zero-Four-A and Zero-Four-B: Capital Organizational Capacity and the Apparatus of Capture! Thank you Elena, Julian, Priya, and Coach Devon, and we will see everyone in Division Zero-Four! - ---- - -## Act IV — Cross-Scale Ledger Synthesis (333 / 666 / 777) & Chokepoint Armor Audit Across Volumes 03C (Class S3) and 03D (Classes S4 & S5) (`[23:08 – 30:23]`) - -**[23:08 – 23:44] Marcus Vance (Host & Singularity Zoology Enthusiast):** -Before we close Episode Four—Part Three of our Special Encyclopedia Series—let us do a dedicated cross-scale equation audit across the thirty-four articles we just explored in Volume Zero-Three-C (Class S3 Silicon War-Machine) and Volume Zero-Three-D (Classes S4 and S5 Nomad Taxa). Priya and Elena, show our listeners how the three Type One Isometric Chokepoints in Volume Zero-Three-C—A-S-M-L at 81, T-S-M-C at 91, and G-P-U at 71—lock Dossier Sixty-Seven's thirty equations together. - -**[23:44 – 25:45] Priya Nair (Quantitative Systems Architect & ETI Tier-List Engineer):** -Look at the ten Scale One (333) equations of Dossier Sixty-Seven in Volume Zero-Three-C. Every single one is anchored by at least one of those three Delta-equals-zero hardware chokepoints! First, 'tsmc' (91 [Iso]) plus 'throo' (121 = 11^2) plus 'dha' (40) plus 'asml' (81 = 3^4 [Iso]) equals three hundred and thirty-three—linking the Taiwanese wafer foundry directly through the Dutch EUV laser monopoly in a single four-word clause where both endpoints have zero phonemic drift! Second, swapping 'asml' (81) + 'throo' (121) for 'fruhm' (111) + 'laws' (91) gives 'tsmc (91) + fruhm (111) + dha (40) + laws (91) = 333', proving that T-S-M-C and gradient 'laws' (loss) are interchangeable at ninety-one. Third, 'envideea' (137 [33rd PRIME]) plus 'fohldz' (125 = 5^3) plus 'gpu' (71 [20th PRIME, Iso]) equals three hundred and thirty-three—a three-word clause uniting our thirty-third prime, our five-cubed capital fold, and our twentieth prime isometric compute unit! Fourth, 'blakwel' (129) plus 'loks' (93) plus 'dha' (40) plus 'gpu' (71) equals three hundred and thirty-three. And fifth, 'asml' (81 [3^4]) plus 'kuhts' (124) plus 'nik' (61 [18th PRIME]) plus 'land' (67 [19th PRIME]) equals three hundred and thirty-three—which modularly swaps at 128 into 'asml kuhts masheen = 333'! - -**[25:45 – 27:59] Dr. Elena Rostova (Computational Linguist & CMUdict Phonemic Specialist):** -Now watch how Volume Zero-Three-C scales up to 666 and 777 using the 260 ('teknohkapital == kiler rohbots') and 211 ('wor masheen == koper waier == siks bilyan') singularities at the head of the clause! At 666, 'teknohkapital' (260) or 'kiler rohbots' (260) leaves four hundred and six points: 'kiler rohbots brayks dha hai asml at gpu = 666'; 'teknohkapital / kiler rohbots hits dha noo tsmc / laws in gpu = 666'; and 'teknohkapital / kiler rohbots hits dha hai tsmc on laws = 666'. Meanwhile, 'wor masheen' (211 [47th PRIME]) leaves four hundred and fifty-five points at 666: 'wor masheen loks dha hai wayfer in drohn = 666'; 'wor masheen hohldz dha kohld asml in gpu = 666' (which is also our Lazarus 'siks bilyan' baseline equation in quantitative-economic-anchors-dot-json!); and 'wor masheen kuhts dha vast asml in gpu = 666'. Then at 777, 'teknohkapital' / 'kiler rohbots' (260) locks across the entire fabrication stack: 'kiler rohbots loks dha hai silakan at deep drohn = 777'; 'kiler rohbots loks dha hai wayfer in blak drohn = 777'; 'teknohkapital loks dha noo blakwel in blak asml = 777'; and 'teknohkapital loks dha noo gpu in noo silakan / at noo wayfer / at ohpan drohn / at blak layzer = 777'! - -**[27:59 – 29:38] Dr. Julian Vance-Sterling (Continental Philosopher & Cybernetic Theorist):** -And compare that armored, double-articulated 30-equation structure in Volume Zero-Three-C with the twenty-four Nomad equations in Volume Zero-Three-D (twelve for Class S-Four Carrier-Wave and twelve for Class S-Five Cutaneous BwO). In Class S-Four, Type One Isometric 'signal' (116) and its phonetic fold 'kayos' (116) interchange modularly across 'signal / kayos biond dha ship = 333', while Type One Isometric 'portal' (136) and 'baisikal' (136, from In the Mouth of Madness) interchange across 'portal / baisikal and dha sinama = 333'. In Class S-Five, because 'in dha' equals eighty-one (3^4) and 333 minus 81 equals 252 (two times 126), the 126 ring ('chaildz == ayleean == wiskee == skreen == shimer') self-closes into 'chaildz in dha ayleean = 333', 'chaildz in dha wiskee = 333', 'skreen in dha ayleean = 333', and 'ayleean in dha skreen = 333', while 'dopalganger' (199 [46th PRIME]) and 'ikwayzhan' (199 [46th PRIME]) close 'dopalganger / ikwayzhan in dha god = 333'! - -**[29:38 – 30:23] Coach Devon Brooks (Portfolio Strategist & Fantasy Roster Engine Architect):** -And for our listeners tracking the E-T-I scorecard, look at why Volume Zero-Three-C (Class S3) sits in Tier S at 83 E-T-I with 90 C-A-P and 92 A-R-M, whereas Volume Zero-Three-D's two Nomad builds (Classes S4 and S5) sit in Tier B at 61 E-T-I with 51 and 65 C-A-P: Class S-Three is already captured by sovereign and corporate balance sheets (ASML, TSMC, Nvidia, defense procurement), whereas Classes S-Four and S-Five are uncaptured exterior flows waiting for a Class S-Six holding vehicle. And that is our exact cue to open Division Zero-Four in Episode Five! - ---- - -## Appendix: Verified Cross-Scale Equations (`333 / 666 / 777`) Cited in Episode 04 - -### Scale I: AQ = 333 (`3² × 37`) -- `tsmc throo dha asml` ("TSMC through the ASML") — `tsmc (91 [ISOMETRIC]) + throo (121 [11²]) + dha (40) + asml (81 [3⁴, ISOMETRIC]) = 333` [Vol. 03C, Dossier 67, 333] -- `envideea fohldz gpu` ("Nvidia folds GPU") — `envideea (137 [33rd PRIME]) + fohldz (125 [5³]) + gpu (71 [20th PRIME, ISOMETRIC]) = 333` [Vol. 03C, Dossier 67, 333] -- `blakwel loks dha gpu` ("Blackwell locks the GPU") — `blakwel (129) + loks (93) + dha (40) + gpu (71 [20th PRIME, ISOMETRIC]) = 333` [Vol. 03C, Dossier 67, 333] -- `asml kuhts nik land` ("ASML cuts Nick Land") — `asml (81 [3⁴, ISOMETRIC]) + kuhts (124) + nik (61 [18th PRIME]) + land (67 [19th PRIME]) = 333` [Vol. 03C, Dossier 67, 333] -- `chaildz in dha ayleean` ("Childs in the alien") — `chaildz (126) + in (41) + dha (40) + ayleean (126) = 333` [Vol. 03D, Dossier 24, 333] -- `dopalganger in dha god` ("doppelganger in the god") — `dopalganger (199 [46th PRIME]) + in (41) + dha (40) + god (53 [16th PRIME]) = 333` [Vol. 03D, Dossier 35, 333] - -### Scale II: AQ = 666 (`2 × 3² × 37`) -- `wor masheen loks dha hai wayfer in drohn` ("war machine locks the high wafer in drone") — `wor (83) + masheen (128) + loks (93) + dha (40) + hai (45) + wayfer (132) + in (41) + drohn (104) = 666` [Vol. 03C, Dossier 67, 666] -- `kiler rohbots brayks dha hai asml at gpu` ("killer robots breaks the high ASML at GPU") — `kiler (100) + rohbots (160) + brayks (130) + dha (40) + hai (45) + asml (81) + at (39) + gpu (71) = 666` [Vol. 03C, Dossier 67, 666] -- `wor masheen hohldz dha kohld asml in gpu` ("war machine holds the cold ASML in GPU") — `wor (83) + masheen (128) + hohldz (127) + dha (40) + kohld (95) + asml (81) + in (41) + gpu (71) = 666` [Vol. 03C, Dossier 67, 666] - -### Scale III: AQ = 777 (`3 × 7 × 37`) -- `kiler rohbots loks dha hai silakan at deep drohn` ("killer robots locks the high silicon at deep drone") — `kiler (100) + rohbots (160) + loks (93) + dha (40) + hai (45) + silakan (130) + at (39) + deep (66) + drohn (104) = 777` [Vol. 03C, Dossier 67, 777] -- `teknohkapital loks dha noo blakwel in blak asml` ("technocapital locks the new Blackwell in black ASML") — `teknohkapital (260) + loks (93) + dha (40) + noo (71) + blakwel (129) + in (41) + blak (62) + asml (81) = 777` [Vol. 03C, Dossier 67, 777] -- `teknohkapital loks dha noo gpu at blak layzer` ("technocapital locks the new GPU at black laser") — `teknohkapital (260) + loks (93) + dha (40) + noo (71) + gpu (71) + at (39) + blak (62) + layzer (141) = 777` [Vol. 03C, Dossier 67, 777] diff --git a/lecture-podcast-ep05-encyclopedia-division-04-class-s6-ingglish-aq.md b/lecture-podcast-ep05-encyclopedia-division-04-class-s6-ingglish-aq.md deleted file mode 100644 index fd08f25..0000000 --- a/lecture-podcast-ep05-encyclopedia-division-04-class-s6-ingglish-aq.md +++ /dev/null @@ -1,118 +0,0 @@ -# The Singularity Field Guide — Episode 05 (Special Encyclopedia Series, Part IV of VIII): Division 04 (Volumes 04A & 04B — Class S6 Capital Organizational Capacity & Apparatus of Capture A–Z) - -- **Audio Deliverables (MP3, `34.65` minutes / `2078.7` seconds [`< 90 min`], `12,472,272` bytes, 24kHz 48kbps Neural Multi-Voice):** - - Zoology Repo: `/workspace/technocapital-singularity-zoology/podcast-ep05-encyclopedia-series-part4-division-04-class-s6.mp3` - - Archive Repo: `/workspace/ingglish-hyperdope-gematria/lecture-podcast-ep05-encyclopedia-division-04-class-s6-ingglish-aq.mp3` -- **Transcript Deliverables (Markdown & PDF):** - - Zoology Repo: `/workspace/technocapital-singularity-zoology/podcast-ep05-encyclopedia-series-part4-division-04-class-s6.{md,pdf}` - - Archive Repo: `/workspace/ingglish-hyperdope-gematria/lecture-podcast-ep05-encyclopedia-division-04-class-s6-ingglish-aq.{md,pdf}` -- **Encyclopedia Volumes Covered:** - - `/workspace/technocapital-singularity-zoology/encyclopedia/04-capital-organizational-capture-s6/a-to-f-acquisition-to-fund.pdf (Vol. 04A — 19 Articles A–F)` - - `/workspace/technocapital-singularity-zoology/encyclopedia/04-capital-organizational-capture-s6/g-to-z-governance-to-venture-capital.pdf (Vol. 04B — 14 Articles G–Z)` -- **Broadcast Structure:** `4` Acts, `20` Multi-Voice Roundtable Turns, `3,580` Spoken Words (`00:00 – 34:39`). -- **Returning Roundtable Cast & Neural Voices:** - 1. **Marcus Vance** (*Host & Singularity Zoology Enthusiast* — `en-US-AndrewNeural`) - 2. **Dr. Elena Rostova** (*Computational Linguist & CMUdict Phonemic Orthography Specialist* — `en-US-AvaNeural`) - 3. **Dr. Julian Vance-Sterling** (*Continental Philosopher & Cybernetic Theorist* — `en-GB-RyanNeural`) - 4. **Priya Nair** (*Quantitative Systems Architect, ETI Tier-List Engineer & Memetic Superclass Designer* — `en-US-EmmaNeural`) - 5. **Coach Devon Brooks** (*Portfolio Strategist, Fantasy Football Roster Engine Architect & Out-of-Sample Fund Advisor* — `en-US-BrianNeural`) - ---- - -## Act I — Division 04, Volume 04A, Part 1 (Class S6 Apparatus of Capture, A to C): acquisition, allocation, apparatus, asset, asset management, assets, board, capacity, capture & cartel (`[00:00 – 10:56]`) - -**[00:00 – 01:56] Marcus Vance (Host & Singularity Zoology Enthusiast):** -Welcome back to The Singularity Field Guide! I am Marcus Vance, and this is Episode Five—Part Four of our eight-part Special Encyclopedia Series exploring the twenty-two-volume Encyclopedia of Technocapital Singularity Zoology. Sitting with me around the studio microphones are our four returning specialists: computational linguist Dr. Elena Rostova, continental philosopher and cybernetic theorist Dr. Julian Vance-Sterling, quantitative systems architect Priya Nair, and portfolio strategist Coach Devon Brooks. Across Episodes Two, Three, and Four, we completed Divisions Zero-Zero, Zero-One, Zero-Two, and Zero-Three—all eleven volumes covering the Atlas, the Cipher Mechanics, the Philosophical Operators, and the five Machinic Phylum guilds S-One through S-Five. Today, in Part Four of our series, we step into folder 04-capital-organizational-capture-s6 to explore both alphabetical volumes of Division Zero-Four: Volume Zero-Four-A, titled 'a-to-f-acquisition-to-fund-dot-pdf' (nineteen articles from acquisition to fund), and Volume Zero-Four-B, titled 'g-to-z-governance-to-venture-capital-dot-pdf' (fourteen articles from governance to venture capital). Together, these thirty-three articles constitute Class S-Six—Capital Organizational Capacity and the Apparatus of Capture, Dossier Sixty-Eight, Ranked Number Three overall in Tier S at eighty-seven E-T-I, with a ninety-nine C-A-P score and ninety-three Variance-Collapse score. Coach Devon and Julian, open Volume Zero-Four-A to Page One and walk us through the first six headwords under the letter A: 'acquisition', 'allocation', 'apparatus', 'asset', 'asset management', and 'assets'. - -**[01:56 – 03:26] Coach Devon Brooks (Portfolio Strategist & Fantasy Roster Engine Architect):** -Let us start at the top of Page One in Volume Zero-Four-A with Article One: 'acquisition'—mergers and acquisitions, the primary predatory mechanism by which corporate holding vehicles absorb external innovation. Look at the bidirectional telemetry on 'acquisition': in Generation Zero written English, 'acquisition' evaluates to two hundred and thirty-six! Pause and ask yourself: what sits at two hundred and thirty-six in Generation One Ingglish inside Class S-One? 'zheel dilooz' (Gilles Deleuze = 236) and 'machinik failam' (machinic phylum = 236)! That is a Vector G-Two Cross-Generation Twin: written corporate 'acquisition' (236) is locked directly onto the spoken 'machinik failam' (236) that it captures! And when you speak 'acquisition' aloud in Generation One Ingglish—'akwazishan'—it drops by minus thirty-three to two hundred and three (seven times twenty-nine), collapsing a huge Generation Zero variance of one thousand three hundred and fourteen point eight-nine ([236, 177, 149]) down to zero point zero alongside Subclass M-One's 'pairasitik' (parasitic, 203) and 'yoozheree' (usury, 203), while locking via Vector G-Two onto written 'apocalypse' (203) and spoken California 'erthkwayk' (203)! - -**[03:26 – 05:23] Dr. Julian Vance-Sterling (Continental Philosopher & Cybernetic Theorist):** -Now look at Article Two and Article Three in Volume Zero-Four-A: 'allocation' and 'apparatus'. In Article Two, capital 'allocation' evaluates to one hundred and ninety-two on paper and shifts by minus nine to 'alakayshan' at one hundred and eighty-three (three times sixty-one) in Ingglish—collapsing five dispersed Generation Zero terms ([192 ('allocation'), 123 ('Dracula'), 143 ('latency'), 166 ('runaway'), 158 ('templex')], variance 531.44) onto zero variance at 183, and closing 'alakayshan hohldz dha noo asets in faiber = 666' and 'alakayshan hohldz dha noo kapatal in blak masheen = 777'. In Article Three, institutional 'apparatus' evaluates to one hundred and ninety-four on paper—where it forms our famous three-way Generation Zero Corporate Board lock: written 'apparatus' (194) == written 'governance' (194) == written 'logistics' (194)! When spoken aloud in Generation One Ingglish, 'aperatas' drops by minus forty-one [13th PRIME] from 194 to one hundred and fifty-three (three squared times seventeen, the seventeenth triangular number), collapsing Generation Zero variance 201.69 to zero alongside 'serplas' (surplus, 153), 'raizohm' (rhizome, 153), Type Three Isometric 'reealatee' (reality, 153), and Subclass M-One 'nuhmnas' (numbness, 153)! - -**[05:23 – 07:00] Dr. Elena Rostova (Computational Linguist & CMUdict Phonemic Specialist):** -And look at the extraordinary trio of Articles Four, Five, and Six in Volume Zero-Four-A: singular 'asset', compound 'asset management', and plural 'assets'! Watch how those three forms weave across the entire taxonomy. In Article Four, singular 'asset' evaluates to one hundred and nine, the twenty-ninth prime, in Generation Zero written English (matching spoken 'asets' = 109 and 'klas s2' = 109), and drops by minus twenty-eight in Ingglish to 'aset' at eighty-one—three to the fourth power, nine squared! At eighty-one, singular 'aset' collapses onto zero variance with our Type One Isometric EUV lithography monopoly 'asml' (81) and 'in dha' (81), while locking via Vector G-Two onto written 'fund' (81), and closing 'kapasatee hits aset = 333', 'truhst hits aset = 333', and 'kapatal hohldz aset = 333'! Next, in Article Five, 'asset management' evaluates to two hundred and ninety-two on paper—locking via Vector G-Two directly onto Class S-One's Generation One triad 'shizohnalizis == abstrakt masheen == sinthetik dayta = 292' (and shifting in Ingglish to 'aset manajmant' = 249, matching 'kantrohl uhv == dha kuhntreez = 249' in Dossier Seventy!). And in Article Six, plural 'assets' evaluates to one hundred and thirty-seven, the thirty-third prime, on paper—locking via Vector G-Two onto spoken 'envideea == daireeoh == jaiants == hawlts == inersha = 137' and colliding on paper with 'Riemann == wither = 137'—before executing a Vector G-Five Twin-Prime Word Mutation (`p_33 = 137 -> p_29 = 109`) to 'asets' at one hundred and nine, the twenty-ninth prime, where it locks back onto written singular 'asset' (109)! - -**[07:00 – 10:56] Priya Nair (Quantitative Systems Architect & ETI Tier-List Engineer):** -Let us pause and admire that closed loop between singular 'asset' and plural 'assets' in Articles Four and Six: singular 'asset' starts at 109 [29th PRIME] on paper and drops to 81 (`== asml`) in Ingglish, while plural 'assets' starts at 137 [33rd PRIME, `== envideea == daireeoh`] on paper and drops to 109 [29th PRIME] in Ingglish! Plural 'assets' in Generation One literally lands on the exact prime that singular 'asset' vacated in Generation Zero! Now look at Articles Seven, Eight, Nine, and Ten in Volume Zero-Four-A: 'board', 'capacity', 'capture', and 'cartel'. In Article Seven, the corporate 'board' of directors evaluates to eighty-five on paper (colliding in Generation Zero with optical 'fiber' = 85) and drops by a Vector G-Three quantized step of minus ten to 'bord' at seventy-five in Ingglish (collapsing onto zero variance with 'kash' [cash = 75], 'glas' [glass = 75], and Isometric 'wet' [75], and closing 'kapcher loks dha bord = 333'). In Article Eight, organizational 'capacity' evaluates to one hundred and fifty on paper (colliding in Generation Zero with 'company' = 150!) and rises by a Vector G-Three step of plus ten to 'kapasatee' at one hundred and sixty, collapsing onto zero variance with 'truhst' (trust, 160), 'rohbots' (160), 'kriptoh' (160), 'straiks' (160), and 'huhngger' (hunger, 160). In Article Nine, 'capture' drops from 147 on paper (where it collides with written 'vampire' = 147 and spoken 'albayneea' = 147) to 'kapcher' at 125 [5^3] (`== kapatal [Iso] == fohldz == saires == dounz`). And in Article Ten, 'cartel' shifts by plus eight from 113 [30th PRIME] on paper (`== Nvidia [G0] == binans [G1]`) to 'kartel' at 121 [11^2] in Ingglish, collapsing five dispersed Generation Zero terms ([97, 99, 113, 118, 137], variance 212.8) onto zero variance alongside Subclass M-One's 'aneemeea == aneemik == puhls == widher = 121'! - ---- - -## Act II — Division 04, Volume 04A, Part 2 (Class S6 Apparatus of Capture, C to F): charter, Class S6, company, consortium, corporation, enterprise, equity, firm & fund (`[10:56 – 17:18]`) - -**[10:56 – 11:16] Marcus Vance (Host & Singularity Zoology Enthusiast):** -Now let us complete Volume Zero-Four-A by walking through Articles Eleven through Nineteen, from 'charter' and 'Class S6' down to 'equity', 'firm', and 'fund'. Elena and Julian, take us through Articles Eleven through Fifteen: 'charter', 'Class S6', 'company', 'consortium', and 'corporation'. - -**[11:16 – 13:05] Dr. Elena Rostova (Computational Linguist & CMUdict Phonemic Specialist):** -In Article Eleven of Volume Zero-Four-A, corporate 'charter' is a Type One Orthographic Invariant (`charter = 136 == charter = 136`, Delta = 0, two cubed times seventeen). In Generation Zero written English, 'charter' collides with 'stalled' (136) and Type One Isometric 'portal' (136); in Generation One Ingglish, it collapses Generation Zero variance 144.5 to zero alongside Type One Isometric 'portal' (136), 'baisikal' (136), and Subclass M-One 'slohth' (sloth, 119 -> 136), while closing 'charter loks drohn = 333', 'charter gardz failam = 333', 'charter hohldz dha noo kapatal at masheen = 666', and 'charter hohldz dha noo kapatal on ohpan wayfer = 777'! In Article Twelve, the taxonomic headword 'Class S6' evaluates to one hundred and thirty-three on paper (the exact Ingglish coordinate of 'ekwatee == wayts == sworm == vaynz == stawld == piramid = 133'!) and shifts by minus twenty to 'klas s6' at one hundred and thirteen, the thirtieth prime number (locking onto 'binans' = 113 and written 'Nvidia == cartel' = 113)! - -**[13:05 – 15:03] Dr. Julian Vance-Sterling (Continental Philosopher & Cybernetic Theorist):** -In Article Thirteen, corporate 'company' evaluates to one hundred and fifty on paper (colliding with written 'capacity' = 150) and rises by plus twenty-five to 'kuhmpanee' at one hundred and seventy-five (five squared times seven) in Ingglish—collapsing Generation Zero variance 30.25 to zero alongside Michel Serres's 'pairasait' (parasite, 161 -> 175), Deleuze's 'bikuhming' (becoming, 145 -> 175), 'pairadoks' (paradox, 175), and Dossier Seventy's Iowa lead-azide 'stokpail' (stockpile, 175), while closing 'kuhmpanee hohldz dha noo aset at sworm = 666' and 'kuhmpanee hohldz dha noo kapatal in deep wayfer = 777'! In Article Fourteen, 'consortium' is our highest-weight Class S-Six Type Three Compensatory Isometric Chokepoint: on paper, C-O-N-S-O-R-T-I-U-M evaluates to two hundred and thirty-seven (three times seventy-nine, the twenty-second prime), and in Ingglish, 'kansorsheeam' also evaluates to two hundred and thirty-seven (`Delta = 0`), closing 'kansorsheeam hohldz dha noo ferm at grid = 666' and 'kansorsheeam hohldz dha noo kapatal in blak grid = 777'! And in Article Fifteen, 'corporation' evaluates to two hundred and forty-three on paper—which is three to the fifth power, colliding in Generation Zero written English with 'supply chain' (243)!—and shifts by plus sixteen in Ingglish to 'korperayshan' at two hundred and fifty-nine (seven times thirty-seven, locking via Vector G-Two onto written 'Gilles Deleuze' = 259)! - -**[15:03 – 17:18] Coach Devon Brooks (Portfolio Strategist & Fantasy Roster Engine Architect):** -And finish Volume Zero-Four-A with Articles Sixteen, Seventeen, Eighteen, and Nineteen: 'enterprise', 'equity', 'firm', and 'fund'! In Article Sixteen, 'enterprise' evaluates to two hundred and nineteen on paper (locking via Vector G-Two onto spoken 'guhvernans' [governance = 219]!) and shifts by plus three to 'enterpraiz' at two hundred and twenty-two (six times thirty-seven), collapsing onto zero variance with 'danyela amodai' (222), Isometric 'transport' (222), and our November twenty-eighth wire locks 'gta 6 ontoo pc' (222) and 'hyooawai iz' (222)! In Article Seventeen, balance-sheet 'equity' starts at one hundred and fifty-one, the thirty-sixth prime number, on paper (matching spoken 'ilekshan' = 151 in Taiwan Dossier Seventy) and drops by a Vector G-Three quantized step of minus eighteen to 'ekwatee' at one hundred and thirty-three, collapsing five dispersed Generation Zero terms ([151 ('equity'), 136 ('stalled'), 119 ('swarm'), 114 ('veins'), 154 ('weights')], variance 267.04) onto zero variance at 133! In Article Eighteen, legal 'firm' drops by four points from eighty-two on paper to 'ferm' at seventy-eight in Ingglish, collapsing onto zero variance with Type One Isometric 'leech' (78 == 78) and 'uhv' (78). And in Article Nineteen, capital 'fund' starts at eighty-one (three to the fourth power) on paper—colliding with 'ASML' (81) and spoken 'aset' (81)!—and rises by plus seventeen (one strut-vowel quantum) to 'fuhnd' at ninety-eight in Ingglish, where it collides with 'vayn' (vein, 98) and 'fateeg' (fatigue, 98), and locks via Vector G-Two onto written 'wafer == cyber == bubble' at ninety-eight! - ---- - -## Act III — Division 04, Volume 04B (Class S6 Apparatus of Capture, G to Z): governance, holding, incorporation, logistics, merger, monopoly, natural contract, organization, sovereign wealth, supply chain, syndicate, trust, venture & venture capital (`[17:18 – 27:28]`) - -**[17:18 – 17:55] Marcus Vance (Host & Singularity Zoology Enthusiast):** -That completes all nineteen articles of Volume Zero-Four-A! Now let us open Volume Zero-Four-B—'g-to-z-governance-to-venture-capital-dot-pdf'—to walk through the remaining fourteen alphabetical articles of Class S-Six from G to V: 'governance', 'holding', 'incorporation', 'logistics', 'merger', 'monopoly', 'natural contract', 'organization', 'sovereign wealth', 'supply chain', 'syndicate', 'trust', 'venture', and 'venture capital'. Priya and Elena, take us through Articles One through Seven first, from 'governance' to 'natural contract'. - -**[17:55 – 19:51] Priya Nair (Quantitative Systems Architect & ETI Tier-List Engineer):** -In Article One of Volume Zero-Four-B, corporate 'governance' evaluates to one hundred and ninety-four on paper (colliding in Generation Zero with 'logistics' = 194 and 'apparatus' = 194) and rises by plus twenty-five to 'guhvernans' at two hundred and nineteen in Ingglish (three times seventy-three, locking via Vector G-Two onto written 'enterprise' = 219). In Article Two, parent-company 'holding' evaluates to one hundred and thirty-two on paper (colliding with written 'fatigue == workers = 132' and locking via Vector G-Two onto spoken 'wayfer == hawltad == straik = 132') and rises by plus seventeen (one strut-vowel quantum) to 'hohlding' at one hundred and forty-nine, the thirty-fifth prime number, collapsing onto zero variance with Albania 'klashiz' (149) in M-Seven-candidate-twenty-twenty-six-eleven-twenty-eight, locking via Vector G-Two onto written 'usury == phylum' (149), and closing 'hohlding loks laws = 333'! In Article Three, legal 'incorporation' evaluates to two hundred and eighty-four on paper (colliding in Generation Zero with autonomous lethal 'slaughterbots' = 284!) and rises by plus thirty-two (two to the fifth power) to 'ingkorperayshan' at three hundred and sixteen in Ingglish—collapsing Generation Zero variance 256.0 to zero alongside Article Seven, Michel Serres's Type Three Isometric 'natural contract' (`natural contract = 316 == nacheral kontrakt = 316`, Delta = 0)! - -**[19:51 – 22:40] Dr. Elena Rostova (Computational Linguist & CMUdict Phonemic Specialist):** -And look at Articles Four, Five, and Six in the center of Volume Zero-Four-B: 'logistics', 'merger', and 'monopoly'. In Article Four, supply-chain 'logistics' evaluates to one hundred and ninety-four on paper (`== governance == apparatus`) and shifts by minus three to 'lajistiks' at one hundred and ninety-one, the forty-third prime number, collapsing Generation Zero variance 176.22 to zero alongside 'derivativ' (191) and Twin-Prime 'reeportid' (191), solving ' bee mai god = 333', and closing 'lajistiks hohldz dha noo lejer on faiber = 666' and 'lajistiks hohldz dha noo kapatal in deep signal = 777'. In Article Five, M-and-A 'merger' evaluates to one hundred and twenty on paper—colliding in Generation Zero with drone-swarm 'downs' (120) and locking via Vector G-Two onto spoken 'pouer == dijatal == zombee' (120)—and shifts by plus three to 'merjer' at one hundred and twenty-three in Ingglish, where it collapses Generation Zero variance 56.25 to zero alongside 'forst' (forced, 105 -> 123), 'tohkan' (token, 123), and 'vawlt' (vault, 123), while locking via Vector G-Two onto written 'Dracula' (123)! And in Article Six, 'monopoly' executes a flagship Vector G-Five Twin-Prime Word Mutation: on paper, 'monopoly' is one hundred and ninety-seven, the forty-fifth prime number (locking via Vector G-Two onto spoken 'lathografee' [lithography = 197]); spoken aloud in Ingglish, 'manopalee' mutates to one hundred and sixty-three, the thirty-eighth prime number (`== masheenz == fyooalz == nonsens == duhzanz`), locking via Vector G-Two onto written 'vampiric' (163 [38th PRIME]) and closing 'manopalee at dha laws = 333', 'manopalee hits ferm = 333', 'manopalee hits leech = 333', and 'manopalee melts det = 333'! - -**[22:40 – 24:14] Dr. Julian Vance-Sterling (Continental Philosopher & Cybernetic Theorist):** -Now let us trace the final seven articles of Volume Zero-Four-B—Articles Eight through Fourteen, from 'organization' to 'venture capital'. In Article Eight, 'organization' starts at two hundred and fifty-seven, the fifty-fifth prime number, on paper and rises by a Vector G-Three quantized step of plus ten to 'organazayshan' at two hundred and sixty-seven (three times eighty-nine, matching 'joshooa raymee' = 267). In Article Nine, 'sovereign wealth' drops by minus sixty-two from three hundred and eighteen on paper to 'sovran welth' at two hundred and fifty-six (two to the eighth power), completing our 256 triad with 'akselerayshan' and 'hai-freekwansee' and closing 'sovran welth loks dha hai aset on drohn = 666' and 'sovran welth hohldz dha noo kapatal at hai grid = 777'. In Article Ten, 'supply chain' evaluates to two hundred and forty-three on paper (three to the fifth power, colliding in Generation Zero with 'corporation' = 243!) and drops by minus thirty-five to 'saplai chayn' at two hundred and eight in Ingglish—which is two to the fourth power times thirteen, the exact seven-story global wire hub of Dossier Seventy (`stoodants == huhneemoon == iz awfering == ailandz uhv == 5 erthkwayk == too rizain == 208`)! - -**[24:14 – 26:20] Coach Devon Brooks (Portfolio Strategist & Fantasy Roster Engine Architect):** -And look at Articles Eleven, Twelve, Thirteen, and Fourteen at the close of Volume Zero-Four-B: 'syndicate', 'trust', 'venture', and 'venture capital'. In Article Eleven, 'syndicate' starts at one hundred and eighty-one, the forty-second prime number, on paper—locking via Vector G-Two onto spoken 'vampeerik == klinayman == apokalips == freezerz == nookleeer = 181'!—and shifts by minus twenty-two to 'sindikat' at one hundred and fifty-nine. In Article Twelve, institutional 'trust' shifts by plus seventeen (one strut-vowel quantum) from one hundred and forty-three on paper (`== latency == clinamen`) to 'truhst' at one hundred and sixty (`== kapasatee == rohbots == huhngger`), closing 'truhst hits aset = 333'. In Article Thirteen, 'venture' starts at one hundred and sixty-eight on paper—locking via Vector G-Two onto Type One Isometric 'stagnant == bartender = 168' and colliding on paper with 'lethargy' (168)!—and drops by minus thirty to 'vencher' at one hundred and thirty-eight in Ingglish (locking via Vector G-Two onto written 'Serres == number' at 138). And finally, in Article Fourteen, 'venture capital' executes a Vector G-Five Twin-Prime Phrase Mutation across a thirty-point drop: in Generation Zero written English, 'venture capital' is two hundred and ninety-three, the sixty-second prime number; in Generation One Ingglish, 'vencher kapatal' is two hundred and sixty-three, the fifty-sixth prime number—which locks via Vector G-Two directly onto written 'high-frequency' (263 [56th PRIME]) and Dossier Seventy's 'huhndradz uhv == reeportid kild = 263 [56th PRIME]'! - -**[26:20 – 27:28] Marcus Vance (Host & Singularity Zoology Enthusiast):** -Look at that closing lock at the end of Volume Zero-Four-B: 'venture capital' mutates from the sixty-second prime (293) on paper to the fifty-sixth prime (263) in Ingglish, landing directly on written 'high-frequency' (263)! With Episodes Three, Four, and Five complete, we have now walked through all eighty-three articles of Division Zero-Three and all thirty-three articles of Division Zero-Four—the entire Machinic Phylum (S1 through S5) AND the entire Apparatus of Capture (S6)! Next time, in Episode Six—Part Five of our Special Encyclopedia Series—we enter Division Zero-Five (`05-memetic-superclass-and-emergent-m7/`) to explore all fifty-five articles of Volumes Zero-Five-A and Zero-Five-B: State-Gated Subclass M-One, Vampiric and Entropic Anti-Production! Thank you Elena, Julian, Priya, and Coach Devon, and we will see everyone in Division Zero-Five! - ---- - -## Act IV — Cross-Scale Ledger Synthesis (333 / 666 / 777) & Double-Articulation Bridge Audit Across Volumes 04A and 04B (Class S6) (`[27:28 – 34:39]`) - -**[27:28 – 28:03] Marcus Vance (Host & Singularity Zoology Enthusiast):** -To complete Episode Five—Part Four of our Special Encyclopedia Series—let us bring all thirty-three articles of Volumes Zero-Four-A and Zero-Four-B together and audit the thirty verified equations of Dossier Sixty-Eight (Class S6: Capital Organizational Capacity and the Apparatus of Capture). Priya and Coach Devon, show our listeners how Class S-Six achieves a ninety-nine out of one hundred in C-A-P (Double-Articulation and Trophic Capture Reach) by bridging into every single Machinic Phylum guild from S-One to S-Three. - -**[28:03 – 30:21] Priya Nair (Quantitative Systems Architect & ETI Tier-List Engineer):** -Look at the ten Scale One (333) equations of Dossier Sixty-Eight across Volumes Zero-Four-A and Zero-Four-B. Every single equation pairs a Class S-Six organizational or legal vehicle at the head with a Class S-One, S-Two, or S-Three hardware/model token at the tail! First, Twin-Prime 'manopalee' (163 [38th PRIME]) locks onto Class S-Three 'laws' (loss = 91 == tsmc) in 'manopalee at dha laws = 333', and onto Class S-Six 'ferm' (firm = 78 == leech) in 'manopalee hits ferm = 333'. Second, organizational 'kapasatee' (160) and institutional 'truhst' (160) lock onto singular 'aset' (81 == asml) in 'kapasatee hits aset = 333' and 'truhst hits aset = 333'. Third, parent-company 'hohlding' (149 [35th PRIME]) locks onto 'laws' (91) in 'hohlding loks laws = 333'. Fourth, Type One Isometric 'charter' (136 == portal) locks directly onto Class S-Three autonomous 'drohn' (104) in 'charter loks drohn = 333', and onto Class S-One 'failam' (phylum = 96 == klawd == dayta) in 'charter gardz failam = 333'! Fifth, Isometric 'kapatal' (125 = 5^3) locks onto 'aset' (81 = 3^4) via Mersenne prime 'hohldz' (127) in 'kapatal hohldz aset = 333', while 'kapcher' (125) locks onto corporate 'bord' (75) in 'kapcher loks dha bord = 333', and 'markat' (118) locks onto 'masheen' (128 = 2^7) in 'markat on dha masheen = 333'! - -**[30:21 – 32:12] Coach Devon Brooks (Portfolio Strategist & Fantasy Roster Engine Architect):** -Now look at the ten Scale Two (666) and ten Scale Three (777) equations in Dossier Sixty-Eight—because they read like an institutional capital-allocation manual! Ten distinct Class S-Six vehicles take turns in the head slot alongside 'hohldz dha noo' (127 + 40 + 71 = 238): (1) Type Three Isometric 'kansorsheeam' (237): 'kansorsheeam hohldz dha noo ferm at grid = 666' and 'kansorsheeam hohldz dha noo kapatal in blak grid = 777'; (2) 'sovran welth' (256 = 2^8): 'sovran welth loks dha hai aset on drohn = 666' and 'sovran welth hohldz dha noo kapatal at hai grid = 777'; (3) repdigit 'enterpraiz' (222 = 6 x 37): 'enterpraiz hohldz dha hai aset on drohn = 666' and 'enterpraiz hohldz dha noo kapatal at blak laws = 777'; (4) ' Be My God' prime 'lajistiks' (191 [43rd PRIME]): 'lajistiks hohldz dha noo lejer on faiber = 666' and 'lajistiks hohldz dha noo kapatal in deep signal = 777'; and (5) templex-locked 'alakayshan' (183): 'alakayshan hohldz dha noo asets in faiber = 666' and 'alakayshan hohldz dha noo kapatal in blak masheen = 777'! - -**[32:12 – 33:53] Dr. Elena Rostova (Computational Linguist & CMUdict Phonemic Specialist):** -And the remaining five Class S-Six heads complete the 666 and 777 matrix by capturing swarm, grid, silicon, wafer, and tensor: (6) 'kuhmpanee' (175 == pairasait): 'kuhmpanee hohldz dha noo aset at sworm = 666' and 'kuhmpanee hohldz dha noo kapatal in deep wayfer = 777'; (7) Twin-Prime 'manopalee' (163 [38th PRIME]): 'manopalee hohldz dha noo valyoo on grid = 666' and 'manopalee hohldz dha noo kapatal on ferst laws = 777'; (8) 'aperatas' (153 == serplas): 'aperatas hohldz dha noo aset uhv signal = 666' and 'aperatas hohldz dha noo serplas in blak silakan = 777'; (9) cubic 'kapcher' (125 = 5^3): 'kapcher hohldz dha noo asets uhv signal = 666' and 'kapcher hohldz dha noo kapatal in ferst tenser = 777'; and (10) Isometric 'charter' (136): 'charter hohldz dha noo kapatal at masheen = 666' and 'charter hohldz dha noo kapatal on ohpan wayfer = 777'! - -**[33:53 – 34:39] Dr. Julian Vance-Sterling (Continental Philosopher & Cybernetic Theorist):** -Notice what those thirty equations demonstrate when read as a single system: every material substrate we met in Division Zero-Three—'sworm', 'grid', 'faiber', 'lejer', 'drohn', 'silakan', 'wayfer', 'masheen', 'tenser', 'signal'—is systematically captured and capitalized by the ten institutional operators of Division Zero-Four. That is why Deleuze and Guattari insisted in Plateau Thirteen that the Apparatus of Capture is co-primary with the Machinic Phylum. And when that apparatus of capture slows down, ossifies into rentier monopoly, or hits a strike or outage, it triggers the thermodynamic regime of Division Zero-Five—which is where our expedition heads next in Episode Six! - ---- - -## Appendix: Verified Cross-Scale Equations (`333 / 666 / 777`) Cited in Episode 05 - -### Scale I: AQ = 333 (`3² × 37`) -- `manopalee at dha laws` ("monopoly at the loss") — `manopalee (163 [38th PRIME]) + at (39) + dha (40) + laws (91) = 333` [Vol. 04B, Dossier 68, 333] -- `kapasatee hits aset` ("capacity hits asset") — `kapasatee (160) + hits (92) + aset (81 [3⁴]) = 333` [Vol. 04A, Dossier 68, 333] -- `truhst hits aset` ("trust hits asset") — `truhst (160) + hits (92) + aset (81 [3⁴]) = 333` [Vol. 04B, Dossier 68, 333] -- `charter loks drohn` ("charter locks drone") — `charter (136 [ISOMETRIC]) + loks (93) + drohn (104) = 333` [Vol. 04A, Dossier 68, 333] -- `kapatal hohldz aset` ("capital holds asset") — `kapatal (125 [5³, ISOMETRIC]) + hohldz (127 [31st PRIME]) + aset (81 [3⁴]) = 333` [Vol. 04A, Dossier 68, 333] -- `kapcher loks dha bord` ("capture locks the board") — `kapcher (125 [5³]) + loks (93) + dha (40) + bord (75) = 333` [Vol. 04A, Dossier 68, 333] - -### Scale II: AQ = 666 (`2 × 3² × 37`) -- `kansorsheeam hohldz dha noo ferm at grid` ("consortium holds the new firm at grid") — `kansorsheeam (237) + hohldz (127) + dha (40) + noo (71) + ferm (78) + at (39) + grid (74) = 666` [Vol. 04A, Dossier 68, 666] -- `sovran welth loks dha hai aset on drohn` ("sovereign wealth locks the high asset on drone") — `sovran (113) + welth (143) + loks (93) + dha (40) + hai (45) + aset (81) + on (47) + drohn (104) = 666` [Vol. 04B, Dossier 68, 666] -- `lajistiks hohldz dha noo lejer on faiber` ("logistics holds the new ledger on fiber") — `lajistiks (191) + hohldz (127) + dha (40) + noo (71) + lejer (95) + on (47) + faiber (95) = 666` [Vol. 04B, Dossier 68, 666] -- `aperatas hohldz dha noo aset uhv signal` ("apparatus holds the new asset of signal") — `aperatas (153) + hohldz (127) + dha (40) + noo (71) + aset (81) + uhv (78) + signal (116) = 666` [Vol. 04A, Dossier 68, 666] - -### Scale III: AQ = 777 (`3 × 7 × 37`) -- `kansorsheeam hohldz dha noo kapatal in blak grid` ("consortium holds the new capital in black grid") — `kansorsheeam (237) + hohldz (127) + dha (40) + noo (71) + kapatal (125) + in (41) + blak (62) + grid (74) = 777` [Vol. 04A, Dossier 68, 777] -- `lajistiks hohldz dha noo kapatal in deep signal` ("logistics holds the new capital in deep signal") — `lajistiks (191) + hohldz (127) + dha (40) + noo (71) + kapatal (125) + in (41) + deep (66) + signal (116) = 777` [Vol. 04B, Dossier 68, 777] -- `aperatas hohldz dha noo serplas in blak silakan` ("apparatus holds the new surplus in black silicon") — `aperatas (153) + hohldz (127) + dha (40) + noo (71) + serplas (153) + in (41) + blak (62) + silakan (130) = 777` [Vol. 04A, Dossier 68, 777] -- `kapcher hohldz dha noo kapatal in ferst tenser` ("capture holds the new capital in first tensor") — `kapcher (125) + hohldz (127) + dha (40) + noo (71) + kapatal (125) + in (41) + ferst (113) + tenser (135) = 777` [Vol. 04A, Dossier 68, 777] diff --git a/packaging/build-fedora41-rpm.sh b/packaging/build-fedora41-rpm.sh index a2c41b4..c82026c 100755 --- a/packaging/build-fedora41-rpm.sh +++ b/packaging/build-fedora41-rpm.sh @@ -14,23 +14,6 @@ OUT_RPM_DIR="${OUT_RPM_DIR:-${WS_ROOT}/untracked/rpm-builds}" SPEC_FILE="${SCRIPT_DIR}/rpm/ingglish-isopsephic-exegesis.spec" PKG_VER="$(awk '/^Version:/ {print $2; exit}' "${SPEC_FILE}")" -# Synchronize latest canonical scripts into packaging/bundle/scripts/ -mkdir -p "${SCRIPT_DIR}/bundle/scripts" -for s in \ - collect_news_aq.py \ - synthesize_news_dossier_openrouter.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; do - if [[ -f "${REPO_ROOT}/ingglish-aq-archive/scripts/${s}" ]]; then - cp -f "${REPO_ROOT}/ingglish-aq-archive/scripts/${s}" "${SCRIPT_DIR}/bundle/scripts/${s}" - chmod 0755 "${SCRIPT_DIR}/bundle/scripts/${s}" - fi -done chmod 0755 "${SCRIPT_DIR}/bundle/scripts/run_exegesis_and_push_fedora41.sh" mkdir -p "${OUT_RPM_DIR}" @@ -44,6 +27,31 @@ mkdir -p "${STAGE_TOP}/SOURCES/skills" "${STAGE_TOP}/SOURCES/scripts" "${STAGE_T cp -a "${SCRIPT_DIR}/bundle/skills/"* "${STAGE_TOP}/SOURCES/skills/" cp -a "${SCRIPT_DIR}/bundle/scripts/"* "${STAGE_TOP}/SOURCES/scripts/" + +# Stage canonical scripts from ingglish-aq-archive/scripts/ directly into ${STAGE_TOP}/SOURCES/ +# so tracked delegator wrappers in packaging/bundle/ are never overwritten in-place. +for s in \ + collect_news_aq.py \ + synthesize_news_dossier_openrouter.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; do + if [[ -f "${REPO_ROOT}/ingglish-aq-archive/scripts/${s}" ]]; then + cp -f "${REPO_ROOT}/ingglish-aq-archive/scripts/${s}" "${STAGE_TOP}/SOURCES/scripts/${s}" + chmod 0755 "${STAGE_TOP}/SOURCES/scripts/${s}" + for sk_script in "${STAGE_TOP}/SOURCES/skills/"*/scripts/"${s}"; do + if [[ -f "${sk_script}" ]]; then + cp -f "${REPO_ROOT}/ingglish-aq-archive/scripts/${s}" "${sk_script}" + chmod 0755 "${sk_script}" + fi + done + fi +done + if [[ -f "${SCRIPT_DIR}/bundle/vendor/ingglish-vendor.tgz" ]]; then cp -f "${SCRIPT_DIR}/bundle/vendor/ingglish-vendor.tgz" "${STAGE_TOP}/SOURCES/vendor/ingglish-vendor.tgz" fi diff --git a/packaging/bundle/scripts/build_wire_report_pdf.py b/packaging/bundle/scripts/build_wire_report_pdf.py index f81c436..867ac15 100755 --- a/packaging/bundle/scripts/build_wire_report_pdf.py +++ b/packaging/bundle/scripts/build_wire_report_pdf.py @@ -1,167 +1,30 @@ #!/usr/bin/env python3 -""" -build_wire_report_pdf.py -Deterministic ReportLab PDF compiler & ASCII/mechanism verifier for `isopsephic-wire-report-synthesis`. -Safely masks inline backtick code spans before applying bold/italic tags and verifies the resulting PDF -via pypdf and pdfplumber. -""" +"""Thin delegator to canonical ingglish-aq-archive/scripts/build_wire_report_pdf.py.""" from __future__ import annotations -import argparse -import json -import re -import sys +import os +import runpy from pathlib import Path -from xml.sax.saxutils import escape + +_SCRIPT_NAME = "build_wire_report_pdf.py" -def fmt_inline_safe(text: str) -> str: - text = escape(text) - text = text.replace("Δ", 'D') - text = text.replace("δ", 'd') - text = text.replace("μ", 'm') - text = text.replace("σ", 's') - text = text.replace("π", 'p') - text = ( - text.replace("⁰", "0") - .replace("¹", "1") - .replace("²", "2") - .replace("³", "3") - .replace("⁴", "4") - .replace("⁵", "5") - .replace("⁶", "6") - .replace("⁷", "7") - .replace("⁸", "8") - .replace("⁹", "9") - .replace("√", "sqrt") - .replace("≈", "~") - ) - code_spans: list[str] = [] - - def save_code(m: re.Match) -> str: - idx = len(code_spans) - code_spans.append(f'{m.group(1)}') - return f"\x00CODE{idx}\x00" - - text = re.sub(r"`([^`]+)`", save_code, text) - text = re.sub(r"\*\*([^*]+)\*\*", r"\1", text) - text = re.sub(r"\*([^*]+)\*", r"\1", text) - for idx, span in enumerate(code_spans): - text = text.replace(f"\x00CODE{idx}\x00", span) - return text - - -def build_pdf(md_path: str, pdf_path: str, title: str) -> dict: - try: - from reportlab.lib import colors - from reportlab.lib.pagesizes import letter - from reportlab.lib.styles import ParagraphStyle, getSampleStyleSheet - from reportlab.platypus import HRFlowable, Paragraph, SimpleDocTemplate, Spacer - from pypdf import PdfReader - import pdfplumber - except ImportError: - import subprocess - subprocess.run( - [sys.executable, "-m", "pip", "install", "--root-user-action=ignore", "--cache-dir", "/tmp/.pip", "reportlab", "pypdf", "pdfplumber"], - check=True, - stdout=subprocess.DEVNULL, - ) - from reportlab.lib import colors - from reportlab.lib.pagesizes import letter - from reportlab.lib.styles import ParagraphStyle, getSampleStyleSheet - from reportlab.platypus import HRFlowable, Paragraph, SimpleDocTemplate, Spacer - from pypdf import PdfReader - import pdfplumber - - def add_page_number(canvas, doc): - canvas.saveState() - canvas.setFont("Helvetica", 9) - canvas.setFillColor(colors.HexColor("#555555")) - canvas.drawRightString(letter[0] - 54, 36, f"Page {doc.page}") - canvas.restoreState() - - lines = Path(md_path).read_text(encoding="utf-8").splitlines() - - doc = SimpleDocTemplate( - pdf_path, - pagesize=letter, - leftMargin=54, - rightMargin=54, - topMargin=54, - bottomMargin=54, - title=title, - author="Hermes Agent", - ) - styles = getSampleStyleSheet() - h1 = ParagraphStyle("H1", parent=styles["Heading1"], fontName="Helvetica-Bold", fontSize=15, leading=19, spaceAfter=8, textColor=colors.HexColor("#111111")) - h2 = ParagraphStyle("H2", parent=styles["Heading2"], fontName="Helvetica-Bold", fontSize=12.5, leading=16, spaceBefore=10, spaceAfter=6, textColor=colors.HexColor("#1a1a1a")) - h3 = ParagraphStyle("H3", parent=styles["Heading3"], fontName="Helvetica-Bold", fontSize=10.5, leading=14, spaceBefore=8, spaceAfter=4, textColor=colors.HexColor("#222222")) - body = ParagraphStyle("Body", parent=styles["Normal"], fontName="Helvetica", fontSize=9.5, leading=13.5, spaceAfter=5) - bullet = ParagraphStyle("Bullet", parent=body, leftIndent=14, firstLineIndent=-8, spaceAfter=4) - subbullet = ParagraphStyle("SubBullet", parent=body, leftIndent=28, firstLineIndent=-8, spaceAfter=3) - - story, headers, in_table = [], [], False - for line in lines: - s = line.strip() - if not s: - in_table, headers = False, [] - continue - if s == "---": - story.extend([Spacer(1, 4), HRFlowable(width="100%", thickness=0.6, color=colors.HexColor("#cccccc")), Spacer(1, 4)]) - continue - if s.startswith("|") and s.endswith("|"): - cols = [c.strip() for c in re.split(r'(? int: - ap = argparse.ArgumentParser(description="Compile wire report Markdown to verified PDF.") - ap.add_argument("--md", required=True, help="Input Markdown file path") - ap.add_argument("--pdf", required=True, help="Output PDF file path") - ap.add_argument("--title", default="Isopsephic Wire Report", help="PDF document title") - args = ap.parse_args() - - res = build_pdf(args.md, args.pdf, args.title) - print(json.dumps(res, indent=2)) - return 0 if res["page_count"] >= 1 and res["extracted_chars"] > 0 else 1 +def _resolve_canonical() -> Path: + here = Path(__file__).resolve() + for anc in here.parents: + cand = anc / "ingglish-aq-archive" / "scripts" / _SCRIPT_NAME + if cand.is_file() and cand.resolve() != here: + return cand + ws = Path(os.environ.get("WORKSPACE_DIR", "/workspace")) + for cand in ( + ws / "ingglish-hyperdope-gematria" / "ingglish-aq-archive" / "scripts" / _SCRIPT_NAME, + ws / "ingglish-aq-archive" / "scripts" / _SCRIPT_NAME, + Path("/usr/libexec/ingglish-exegesis/scripts") / _SCRIPT_NAME, + ): + if cand.is_file() and cand.resolve() != here: + return cand + raise FileNotFoundError(f"Canonical script not found: {_SCRIPT_NAME}") if __name__ == "__main__": - raise SystemExit(main()) + runpy.run_path(str(_resolve_canonical()), run_name="__main__") diff --git a/packaging/bundle/scripts/ci_provision_ingglish.py b/packaging/bundle/scripts/ci_provision_ingglish.py index bab9c73..52ac8bc 100755 --- a/packaging/bundle/scripts/ci_provision_ingglish.py +++ b/packaging/bundle/scripts/ci_provision_ingglish.py @@ -47,7 +47,12 @@ 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. + _script_repo = str(Path(__file__).resolve().parents[2]) + _ws_env = os.environ.get("WORKSPACE_DIR", "/workspace") for dict_js in ( + f"{_script_repo}/node_modules/@ingglish/dictionary/dist/index.js", + f"{_ws_env}/ingglish-hyperdope-gematria/node_modules/@ingglish/dictionary/dist/index.js", + "/usr/libexec/ingglish-exegesis/node_modules/@ingglish/dictionary/dist/index.js", "/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", @@ -82,7 +87,7 @@ def load_system_dict() -> set[str]: DICT = load_system_dict() ROMAN_RE = re.compile(r"M{0,4}(CM|CD|D?C{0,3})(XC|XL|L?X{0,3})(IX|IV|V?I{0,3})", re.I) -INGGLISH_NON_ROMAN = {"di", "li", "mi", "vi", "iv", "ci", "xi"} +INGGLISH_NON_ROMAN = {"di", "li", "mi", "vi", "iv", "ci", "xi", "liv", "mix", "civ"} def is_roman(s: str) -> bool: @@ -512,10 +517,9 @@ def build_onboarding_pdf(pdf_path: Path) -> dict: try: import reportlab import pypdf - import pdfplumber except ImportError: subprocess.run( - [sys.executable, "-m", "pip", "install", "-q", "reportlab", "pypdf", "pdfplumber"], + [sys.executable, "-m", "pip", "install", "-q", "reportlab", "pypdf"], check=True, ) from reportlab.lib import colors @@ -524,7 +528,8 @@ def build_onboarding_pdf(pdf_path: Path) -> dict: from reportlab.lib.units import inch from reportlab.platypus import HRFlowable, Paragraph, SimpleDocTemplate, Spacer, Table, TableStyle import pypdf - import pdfplumber + + pdf_path.parent.mkdir(parents=True, exist_ok=True) styles = getSampleStyleSheet() title_s = ParagraphStyle("T", parent=styles["Heading1"], fontName="Helvetica-Bold", fontSize=15.5, leading=19, spaceAfter=4, textColor=colors.HexColor("#111827")) @@ -679,8 +684,12 @@ def build_onboarding_pdf(pdf_path: Path) -> dict: doc.build(story, onFirstPage=draw_page_number, onLaterPages=draw_page_number) reader = pypdf.PdfReader(str(pdf_path)) - with pdfplumber.open(str(pdf_path)) as pdf: - chars = sum(len(p.extract_text() or "") for p in pdf.pages) + try: + import pdfplumber + with pdfplumber.open(str(pdf_path)) as pdf: + chars = sum(len(p.extract_text() or "") for p in pdf.pages) + except ImportError: + chars = sum(len(p.extract_text() or "") for p in reader.pages) return {"pdf_path": str(pdf_path), "page_count": len(reader.pages), "extracted_chars": chars} @@ -818,7 +827,8 @@ elif [ -n "${{FORCE_ORIGIN_URL:-}}" ]; then fi # Ensure feature branch exists and is checked out -CURRENT_BRANCH="$(git branch --show-current)" +ORIG_BRANCH="$(git branch --show-current)" +CURRENT_BRANCH="$ORIG_BRANCH" if [ "$CURRENT_BRANCH" != "$BRANCH" ]; then git checkout -B "$BRANCH" fi @@ -830,10 +840,18 @@ git add db.txt tools/normalize_caps.py config.default.js # Create commit if staged changes exist if ! git diff --cached --quiet; then - git commit -F "$SCRIPT_DIR/commit-message.txt" + git -c user.name="${{GIT_AUTHOR_NAME:-Hyperstition Studio Exegesis Worker}}" \ + -c user.email="${{GIT_AUTHOR_EMAIL:-exegesis@hyperstitionstud.io}}" \ + commit -F "$SCRIPT_DIR/commit-message.txt" fi -echo "Committed on branch $BRANCH: $(git rev-parse --short HEAD)" +# If target repository was originally on 'main' (e.g. haiperdohp-jemaytreeah), fast-forward 'main' and restore checkout +if [ "$ORIG_BRANCH" = "main" ] && [ "$BRANCH" != "main" ]; then + git checkout main + git merge --ff-only "$BRANCH" +fi + +echo "Committed on branch $(git branch --show-current): $(git rev-parse --short HEAD)" # First push of base branch + feature branch and optional PR creation when SUBMIT_REMOTE=1 if [ "${{SUBMIT_REMOTE:-0}}" = "1" ]; then @@ -936,10 +954,39 @@ def apply_to_repo(repo_dir: Path, out_dir: Path, entries: list[dict], branch_nam } +def _resolve_default_paths() -> tuple[Path, Path]: + script_p = Path(__file__).resolve() + if script_p.parent.name == "scripts" and script_p.parents[1].name == "ingglish-aq-archive": + arc_dir = script_p.parents[1] + ws_root = arc_dir.parents[1] + return arc_dir, ws_root / "hyperdope-ci-build" + ws_env = os.environ.get("WORKSPACE_DIR", "").strip() + if ws_env: + ws_root = Path(ws_env).resolve() + elif Path("/workspace/ingglish-hyperdope-gematria").exists(): + ws_root = Path("/workspace") + else: + ws_root = Path("/var/lib/ingglish-exegesis/workspace") + return ws_root / "ingglish-hyperdope-gematria" / "ingglish-aq-archive", ws_root / "hyperdope-ci-build" + + +def _resolve_archive_repo_dir(archive_dir: Path, out_dir: Path) -> Path: + arc_res = archive_dir.resolve() + if arc_res.name == "ingglish-aq-archive" and arc_res.parent.is_dir(): + return arc_res.parent + if (arc_res.parent / "ingglish-aq-archive").is_dir(): + return arc_res.parent + ws_env = os.environ.get("WORKSPACE_DIR", "").strip() + if ws_env and (Path(ws_env) / "ingglish-hyperdope-gematria").is_dir(): + return (Path(ws_env) / "ingglish-hyperdope-gematria").resolve() + return out_dir.resolve() + + def main() -> int: + default_arc, default_out = _resolve_default_paths() parser = argparse.ArgumentParser(description="CI & PR Provisioning Pipeline for Ingglish -> hyperdope-gematria.") - 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("--archive-dir", default=str(default_arc), help="Path to Ingglish AQ archive") + parser.add_argument("--out-dir", default=str(default_out), 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") parser.add_argument("--apply-repo", action="store_true", help="Apply changes and create git commit in --repo-dir") @@ -951,6 +998,7 @@ def main() -> int: archive_dir = Path("/workspace/ingglish-aq-archive") out_dir = Path(args.out_dir) out_dir.mkdir(parents=True, exist_ok=True) + archive_repo_dir = _resolve_archive_repo_dir(archive_dir, out_dir) entries, stats = extract_archive_corpus(archive_dir, max_tier=args.tier) @@ -965,13 +1013,19 @@ def main() -> int: docs_info = {} 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/ingglish-hyperdope-gematria/ONBOARDING-INGGLISH-AQ.md") - ws_pdf = Path("/workspace/ingglish-hyperdope-gematria/ONBOARDING-INGGLISH-AQ.pdf") + docs_sub = out_dir / "docs" + docs_sub.mkdir(parents=True, exist_ok=True) + (docs_sub / "ONBOARDING-INGGLISH-AQ.md").write_text(ONBOARDING_MD_CONTENT, encoding="utf-8") + if not (out_dir / ".git").exists(): + (out_dir / "ONBOARDING-INGGLISH-AQ.md").write_text(ONBOARDING_MD_CONTENT, encoding="utf-8") + ws_md = archive_repo_dir / "ONBOARDING-INGGLISH-AQ.md" + ws_pdf = archive_repo_dir / "ONBOARDING-INGGLISH-AQ.pdf" + ws_md.parent.mkdir(parents=True, exist_ok=True) 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") + out_pdf = out_dir / "ONBOARDING-INGGLISH-AQ.pdf" + if out_pdf.resolve() != ws_pdf.resolve(): + build_onboarding_pdf(out_pdf) docs_info = { "markdown_path": str(ws_md), "pdf_path": str(ws_pdf), diff --git a/packaging/bundle/scripts/collect_news_aq.py b/packaging/bundle/scripts/collect_news_aq.py index 951d077..beb29f4 100755 --- a/packaging/bundle/scripts/collect_news_aq.py +++ b/packaging/bundle/scripts/collect_news_aq.py @@ -1,715 +1,30 @@ #!/usr/bin/env python3 -""" -collect_news_aq.py -Deterministic pre-collection script for current-events-isopsephic-exegesis. - -Responsibilities: -1. Env TZ & UTC Rollover Resolution: - - Captures the incoming OS environment TZ (e.g., America/New_York / EST UTC-05:00 vs UTC). - - Pins internal process clock via os.environ["TZ"] = "UTC" and time.tzset() so all - calendar math operates strictly in GMT/UTC. - - Implements the Wikipedia Portal:Current_events 00:00 GMT Boundary Paradox rule: - when executed in the midnight rollover window (00:00-05:59 UTC) or with --mode closing-bell, - targets the just-concluded UTC date (now_utc - 24h); otherwise targets the active UTC date - while sampling both dates for cross-day continuity deduplication. -2. Concurrent Multi-Source Feed Harvest: - - Wikipedia Portal:Current_events (MediaWiki parse API + HTML fallback) - - BBC News (Direct HTML + BBC RSS feed) - - Associated Press / AP News (Direct HTML + Google News AP RSS mirror for WAF resiliency) -3. Continuity & Carryover Deduplication: - - Reads existing /workspace/ingglish-aq-archive/*-dossier-news-*.md files to flag - carryover headlines and already-analyzed stories. -4. Deterministic Ingglish Translation & Dual Base-36 AQ Computation: - - Batch-translates all headlines and extracted candidate entities via the official - Node.js `ingglish` package (CMU Pronouncing Dictionary). - - Computes English AQ, Ingglish AQ, prime indices ([Nth PRIME]), and full prime factorizations. - - Automatically detects: - * Twin-Prime Headlines (both English AQ and Ingglish AQ are prime) - * Shared Prime Factor Attractors across headlines (p >= 11) - * Cross-Story Ingglish AQ Collisions (Story A Entity == Story B Entity == N) - * English-to-Ingglish Isometric Locks (AQ(Eng) == AQ(Ing)) -""" - +"""Thin delegator to canonical ingglish-aq-archive/scripts/collect_news_aq.py.""" from __future__ import annotations -import argparse -import concurrent.futures -import datetime -import glob -import html as html_lib -import json -import math import os -import re -import subprocess -import sys -import time -import urllib.request -import xml.etree.ElementTree as ET +import runpy from pathlib import Path -from typing import Any -# Capture initial caller environment TZ before pinning to UTC -CALLER_ENV_TZ = os.environ.get("TZ", "") -CALLER_TZNAME_BEFORE = time.tzname - -# Strictly enforce UTC/GMT inside the collector -os.environ["TZ"] = "UTC" -if hasattr(time, "tzset"): - time.tzset() - - -def compute_aq(text: str) -> int: - """Standard Base-36 Alphanumeric Qabbala: 0-9 = 0-9, A-Z = 10-35.""" - total = 0 - for ch in text.lower(): - if "0" <= ch <= "9": - total += ord(ch) - ord("0") - elif "a" <= ch <= "z": - total += ord(ch) - ord("a") + 10 - return total - - -def build_primes(limit: int = 10000) -> tuple[set[int], dict[int, int]]: - """Return prime set and 1-based prime index lookup {prime: nth_index}.""" - sieve = [True] * (limit + 1) - sieve[0] = sieve[1] = False - for i in range(2, int(math.isqrt(limit)) + 1): - if sieve[i]: - for j in range(i * i, limit + 1, i): - sieve[j] = False - prime_set = set() - prime_index = {} - idx = 0 - for num, is_p in enumerate(sieve): - if is_p: - idx += 1 - prime_set.add(num) - prime_index[num] = idx - return prime_set, prime_index - - -PRIME_SET, PRIME_INDEX = build_primes(20000) - - -def is_prime(n: int) -> bool: - if n < 2: - return False - if n <= 20000: - return n in PRIME_SET - if n % 2 == 0 or n % 3 == 0: - return False - r = int(math.isqrt(n)) - f = 5 - while f <= r: - if n % f == 0 or n % (f + 2) == 0: - return False - f += 6 - return True - - -def prime_factors(n: int) -> dict[int, int]: - """Return prime factorization as {prime: exponent}.""" - factors: dict[int, int] = {} - if n < 2: - return factors - d = 2 - temp = n - while d * d <= temp: - while temp % d == 0: - factors[d] = factors.get(d, 0) + 1 - temp //= d - d += 1 if d == 2 else 2 - if temp > 1: - factors[temp] = factors.get(temp, 0) + 1 - return factors - - -def format_factorization(n: int) -> str: - if n < 2: - return str(n) - if is_prime(n): - idx = PRIME_INDEX.get(n) - return f"{n} [PRIME #{idx}]" if idx else f"{n} [PRIME]" - f = prime_factors(n) - parts = [] - superscripts = str.maketrans("0123456789", "⁰¹²³⁴⁵⁶⁷⁸⁹") - for p in sorted(f.keys()): - exp = f[p] - if exp == 1: - parts.append(str(p)) - else: - parts.append(f"{p}{str(exp).translate(superscripts)}") - return " × ".join(parts) - - -def resolve_target_dates( - now_utc: datetime.datetime, - explicit_date: str | None = None, - mode: str = "auto", - archive_dir: str | None = None, -) -> dict[str, Any]: - """ - Resolve target UTC date paying strict attention to the 00:00 GMT boundary paradox. - - At 00:00 GMT (00:00-05:59 UTC) or mode='closing-bell', target_date is (now_utc - 24h) - because Wikipedia Portal:Current_events for the brand-new UTC day is empty at 00:00:00 GMT. - - If archive_dir contains prior dated dossiers with a 1-day gap before yesterday_str, - auto-selects the earliest missing recent UTC date when explicit_date is omitted. - - In mode='live' or when now_utc.hour >= 6, target_date is now_utc.strftime('%Y-%m-%d'), - while also retaining yesterday_utc for Wikipedia completeness. - """ - today_str = now_utc.strftime("%Y-%m-%d") - yesterday_dt = now_utc - datetime.timedelta(days=1) - yesterday_str = yesterday_dt.strftime("%Y-%m-%d") - - if explicit_date: - target_dt = datetime.datetime.strptime(explicit_date, "%Y-%m-%d").replace( - tzinfo=datetime.timezone.utc - ) - target_str = explicit_date - reason = "explicit_override" - elif mode == "closing-bell" or (mode == "auto" and now_utc.hour < 6): - target_dt = yesterday_dt - target_str = yesterday_str - reason = "00:00_GMT_closing_bell_paradox_rule (now_utc - 24h)" - if archive_dir and os.path.isdir(archive_dir): - existing_dates = { - m.group(1) - for fn in os.listdir(archive_dir) - if (m := re.search(r"dossier-news-(\d{4}-\d{2}-\d{2})\.md$", fn)) - } - two_days_ago_dt = now_utc - datetime.timedelta(days=2) - two_days_ago_str = two_days_ago_dt.strftime("%Y-%m-%d") - if two_days_ago_str not in existing_dates: - target_dt = two_days_ago_dt - target_str = two_days_ago_str - reason = "00:00_GMT_closing_bell_backfill (now_utc - 48h missing from archive)" - else: - target_dt = now_utc - target_str = today_str - reason = "live_utc_day_active (now_utc.hour >= 6)" - - # Wikipedia Portal anchor IDs use both zero-padded and unpadded day numbers - wiki_month = target_dt.strftime("%B") - wiki_year = target_dt.strftime("%Y") - wiki_day_unpadded = str(target_dt.day) - wiki_day_padded = target_dt.strftime("%d") - - est_tz = datetime.timezone(datetime.timedelta(hours=-5), name="EST") - now_est = now_utc.astimezone(est_tz) - - return { - "caller_env_tz": CALLER_ENV_TZ, - "caller_tzname_before": list(CALLER_TZNAME_BEFORE), - "enforced_process_tz": os.environ.get("TZ"), - "enforced_tzname": list(time.tzname), - "now_utc_iso": now_utc.strftime("%Y-%m-%dT%H:%M:%SZ"), - "now_est_iso": now_est.strftime("%Y-%m-%dT%H:%M:%S-05:00"), - "cron_schedule_utc": "0 0 * * * (00:00 GMT/UTC == 19:00 EST prior calendar evening)", - "target_date_utc": target_str, - "today_utc": today_str, - "yesterday_utc": yesterday_str, - "resolution_mode": reason, - "wikipedia_target_anchors": [ - f"{wiki_year}_{wiki_month}_{wiki_day_unpadded}", - f"{wiki_year}_{wiki_month}_{wiki_day_padded}", - ], - } - - -def http_get(url: str, timeout: int = 15) -> str: - req = urllib.request.Request( - url, - headers={ - "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) HermesAgent-Isopsephy/1.0", - "Accept": "text/html,application/xhtml+xml,application/xml,application/json;q=0.9,*/*;q=0.8", - }, - ) - with urllib.request.urlopen(req, timeout=timeout) as resp: - return resp.read().decode("utf-8", errors="replace") - - -def fetch_wikipedia_current_events(date_info: dict[str, Any]) -> list[dict[str, str]]: - """Fetch Wikipedia Portal:Current_events and extract items for target_date and today_utc.""" - results: list[dict[str, str]] = [] - html_text = "" - try: - api_url = "https://en.wikipedia.org/w/api.php?action=parse&page=Portal:Current_events&prop=text&format=json" - raw_json = json.loads(http_get(api_url)) - html_text = html_lib.unescape(raw_json.get("parse", {}).get("text", {}).get("*", "")) - except Exception: - try: - html_text = html_lib.unescape(http_get("https://en.wikipedia.org/wiki/Portal:Current_events")) - except Exception: - return results - - # Check both target date and today/yesterday sections - candidate_anchors = list(date_info["wikipedia_target_anchors"]) - today_dt = datetime.datetime.strptime(date_info["today_utc"], "%Y-%m-%d") - yest_dt = datetime.datetime.strptime(date_info["yesterday_utc"], "%Y-%m-%d") - for dt in (today_dt, yest_dt): - for a in ( - f"{dt.strftime('%Y')}_{dt.strftime('%B')}_{dt.day}", - f"{dt.strftime('%Y')}_{dt.strftime('%B')}_{dt.strftime('%d')}", - ): - if a not in candidate_anchors: - candidate_anchors.append(a) - - seen = set() - for anchor in candidate_anchors: - m = re.search(rf'id="{re.escape(anchor)}".*?(?=id="202\d_|$)', html_text, re.S) - if not m: - continue - section_html = m.group(0)[:15000] - for li in re.findall(r"]*>(.*?)", section_html, re.S): - clean = html_lib.unescape(re.sub(r"<[^>]+>", " ", li)) - clean = re.sub(r"\s+", " ", clean).strip() - clean_headline = re.sub(r"(?:\s*\([^)]+\))+\s*$", "", clean).strip() - if 30 <= len(clean_headline) <= 260 and clean_headline not in seen: - seen.add(clean_headline) - results.append( - { - "source": f"Wikipedia ({anchor})", - "headline": clean_headline, - } - ) - return results[:18] - - -def fetch_bbc_news() -> list[dict[str, str]]: - """Fetch BBC News headlines from HTML and RSS.""" - results: list[dict[str, str]] = [] - seen = set() - try: - rss_xml = http_get("https://feeds.bbci.co.uk/news/rss.xml") - root = ET.fromstring(rss_xml) - for item in root.findall(".//item")[:15]: - title = (item.findtext("title") or "").strip() - if title and len(title) > 18 and title not in seen: - seen.add(title) - results.append({"source": "BBC News RSS", "headline": title}) - except Exception: - pass - - try: - bbc_html = http_get("https://www.bbc.com/news") - for h in re.findall(r"]*>(.*?)", bbc_html, re.S): - title = html_lib.unescape(re.sub(r"<[^>]+>", "", h)).strip() - title = re.sub(r"\s+", " ", title) - if ( - 20 <= len(title) <= 180 - and title not in seen - and not title.lower().startswith(("the bbc is", "more to explore", "most read", "most watched")) - ): - seen.add(title) - results.append({"source": "BBC News Portal", "headline": title}) - except Exception: - pass - - return results[:20] - - -def fetch_ap_news() -> list[dict[str, str]]: - """Fetch AP News headlines via direct portal with Google News AP RSS mirror fallback.""" - results: list[dict[str, str]] = [] - seen = set() - try: - ap_html = http_get("https://apnews.com/", timeout=10) - for h in re.findall(r"]*>(.*?)", ap_html, re.S): - title = html_lib.unescape(re.sub(r"<[^>]+>", "", h)).strip() - title = re.sub(r"\s+", " ", title) - if 20 <= len(title) <= 180 and title not in seen: - seen.add(title) - results.append({"source": "AP News Portal", "headline": title}) - except Exception: - pass - - if len(results) < 5: - try: - rss_url = "https://news.google.com/rss/search?q=site:apnews.com+when:1d&hl=en-US&gl=US&ceid=US:en" - rss_xml = http_get(rss_url, timeout=12) - root = ET.fromstring(rss_xml) - for item in root.findall(".//item")[:18]: - raw_title = (item.findtext("title") or "").strip() - title = raw_title.rsplit(" - AP News", 1)[0].strip() - if 20 <= len(title) <= 180 and title not in seen: - seen.add(title) - results.append({"source": "AP News Wire", "headline": title}) - except Exception: - pass - - return results[:18] - - -def load_prior_dossiers(archive_dir: str) -> dict[str, Any]: - """Scan existing *-dossier-news-*.md files for continuity deduplication.""" - pattern = os.path.join(archive_dir, "*-dossier-news-*.md") - files = sorted(glob.glob(pattern)) - prior_entities = set() - for fpath in files: - try: - text = Path(fpath).read_text(encoding="utf-8") - for m in re.finditer(r"`([^`]+)`\s*\(\"([^\"]+)\"\)", text): - prior_entities.add(m.group(1).strip().lower()) - prior_entities.add(m.group(2).strip().lower()) - except Exception: - pass - return { - "existing_news_dossiers": [os.path.basename(f) for f in files], - "prior_phrase_count": len(prior_entities), - "prior_sample_tokens": sorted(list(prior_entities))[:25], - } - - -def batch_translate_ingglish(strings: list[str], workdir: str = "/workspace/ingglish-hyperdope-gematria") -> dict[str, str]: - """Run a single Node script invoking `ingglish` on all input strings.""" - if not strings: - return {} - if not os.path.exists(os.path.join(workdir, "node_modules")): - for candidate_wd in ("/workspace/ingglish-hyperdope-gematria", "/workspace", "/opt/ingglish-exegesis"): - if os.path.exists(os.path.join(candidate_wd, "node_modules")): - workdir = candidate_wd - break - node_code = """ -import { translate } from 'ingglish'; -import fs from 'fs'; -const input = JSON.parse(fs.readFileSync(0, 'utf8')); -const out = {}; -await translate('hello'); -for (const s of input) { - try { - out[s] = (await translate(s)).toLowerCase(); - } catch (e) { - out[s] = s.toLowerCase(); - } -} -process.stdout.write(JSON.stringify(out)); -""" - proc = subprocess.run( - ["node", "--input-type=module", "-e", node_code], - input=json.dumps(strings), - text=True, - capture_output=True, - cwd=workdir, - timeout=30, - ) - if proc.returncode != 0: - raise RuntimeError(f"Node ingglish translation failed: {proc.stderr}") - return json.loads(proc.stdout) - - -def extract_candidate_entities(headlines: list[dict[str, str]]) -> list[dict[str, str]]: - """Extract proper nouns, key thematic words, and multi-word entities from harvested headlines.""" - stopwords = { - "the", "and", "for", "with", "that", "this", "from", "after", "before", - "over", "under", "into", "onto", "near", "amid", "what", "when", "where", - "which", "while", "will", "have", "has", "had", "were", "been", "says", - "said", "tell", "tells", "told", "more", "most", "some", "many", "other", - "than", "then", "they", "their", "them", "there", "here", "about", "could", - "would", "should", "least", "first", "second", "third", "including", - } - candidates: list[dict[str, str]] = [] - seen_lower = set() - - for idx, item in enumerate(headlines): - hl = item["headline"] - src = item["source"] - story_tag = f"H{idx+1:02d}:{src}" - - # Extract capitalized proper-noun sequences (1 to 2 words) - for m in re.finditer(r"\b([A-Z][a-zA-Z0-9'-]{2,}(?:\s+[A-Z][a-zA-Z0-9'-]{2,})?)\b", hl): - phrase = m.group(1).strip("'-") - low = phrase.lower() - if low not in stopwords and len(low) >= 3 and low not in seen_lower: - seen_lower.add(low) - candidates.append({"eng": phrase, "story": story_tag, "headline": hl}) - - # Extract individual content words - for m in re.finditer(r"\b([a-zA-Z]{4,})\b", hl): - word = m.group(1) - low = word.lower() - if low not in stopwords and low not in seen_lower: - seen_lower.add(low) - candidates.append({"eng": low, "story": story_tag, "headline": hl}) - - return candidates[:320] - - -_ONES = [ - "zero", "one", "two", "three", "four", "five", "six", "seven", "eight", "nine", - "ten", "eleven", "twelve", "thirteen", "fourteen", "fifteen", "sixteen", - "seventeen", "eighteen", "nineteen", -] -_TENS = ["", "", "twenty", "thirty", "forty", "fifty", "sixty", "seventy", "eighty", "ninety"] -_UNIT_WORDS = { - "tn": "trillion", "trillion": "trillion", - "bn": "billion", "b": "billion", "billion": "billion", - "m": "million", "mn": "million", "million": "million", - "k": "thousand", "thousand": "thousand", - "%": "percent", -} - - -def _int_to_words(n: int) -> str: - if n < 0: - return "minus " + _int_to_words(-n) - if n < 20: - return _ONES[n] - if n < 100: - t, r = divmod(n, 10) - return _TENS[t] + ("" if r == 0 else " " + _ONES[r]) - if n < 1000: - h, r = divmod(n, 100) - return _ONES[h] + " hundred" + ("" if r == 0 else " " + _int_to_words(r)) - for scale_val, scale_name in ((1_000_000_000_000, "trillion"), (1_000_000_000, "billion"), (1_000_000, "million"), (1000, "thousand")): - if n >= scale_val: - q, r = divmod(n, scale_val) - return _int_to_words(q) + " " + scale_name + ("" if r == 0 else " " + _int_to_words(r)) - return str(n) - - -def token_to_spoken_english(raw_tok: str) -> str: - """Convert a quantitative token like '$11B', '12,000', '$1.5tn', or '481' into spoken English words.""" - s = raw_tok.strip() - m = re.match(r"^([$€£])?(\d[\d,]*)(?:\.(\d+))?([a-zA-Z%]+)?$", s) - if not m: - return s.lower() - _curr, int_part, dec_part, unit_part = m.groups() - int_val = int(int_part.replace(",", "")) - words = [_int_to_words(int_val)] - if dec_part: - words.append("point") - for ch in dec_part: - words.append(_ONES[int(ch)]) - if unit_part: - u_low = unit_part.lower() - if u_low in _UNIT_WORDS: - words.append(_UNIT_WORDS[u_low]) - else: - words.append(u_low) - return " ".join(words) - - -def extract_quantitative_anchors(headlines: list[dict[str, str]]) -> list[dict[str, Any]]: - """ - Non-destructively extract quantitative/numeric tokens and their entity context into a - parallel sidecar stream (`quantitative_anchors`), leaving `entities` 100% lexical. - """ - quant_items: list[dict[str, Any]] = [] - seen_pairs = set() - quant_re = re.compile(r"(? int: - parser = argparse.ArgumentParser(description="Pre-collect current events & Ingglish AQ matrix.") - parser.add_argument("--date", default=None, help="Explicit YYYY-MM-DD target date override.") - parser.add_argument( - "--mode", - choices=["auto", "closing-bell", "live"], - default="auto", - help="Date resolution mode (auto uses closing-bell at 00:00-05:59 UTC).", - ) - parser.add_argument("--archive-dir", default="/workspace/ingglish-hyperdope-gematria/ingglish-aq-archive") - parser.add_argument("--workdir", default="/workspace/ingglish-hyperdope-gematria") - parser.add_argument("--out", default=None, help="Optional file path to also save JSON output.") - args = parser.parse_args() - - if not os.path.exists(args.archive_dir) and os.path.exists("/workspace/ingglish-aq-archive"): - args.archive_dir = "/workspace/ingglish-aq-archive" - now_utc = datetime.datetime.now(datetime.timezone.utc) - date_info = resolve_target_dates(now_utc, explicit_date=args.date, mode=args.mode, archive_dir=args.archive_dir) - - # Fetch all 3 portals concurrently - with concurrent.futures.ThreadPoolExecutor(max_workers=3) as pool: - fut_wiki = pool.submit(fetch_wikipedia_current_events, date_info) - fut_bbc = pool.submit(fetch_bbc_news) - fut_ap = pool.submit(fetch_ap_news) - wiki_items = fut_wiki.result() - bbc_items = fut_bbc.result() - ap_items = fut_ap.result() - - all_headlines = wiki_items + bbc_items + ap_items - candidates = extract_candidate_entities(all_headlines) - quant_candidates = extract_quantitative_anchors(all_headlines) - - strings_to_translate = list( - {h["headline"] for h in all_headlines} - | {c["eng"] for c in candidates} - | {qc["q_spoken_eng"] for qc in quant_candidates} - ) - translations = batch_translate_ingglish(strings_to_translate, workdir=args.workdir) - - # Compute headline AQ & factorizations - enriched_headlines = [] - twin_prime_headlines = [] - factor_buckets: dict[int, list[dict[str, Any]]] = {} - - for h in all_headlines: - raw = h["headline"] - ing = translations.get(raw, raw.lower()) - eng_aq = compute_aq(raw) - ing_aq = compute_aq(ing) - eng_prime = is_prime(eng_aq) - ing_prime = is_prime(ing_aq) - entry = { - "source": h["source"], - "headline_eng": raw, - "headline_ing": ing, - "eng_aq": eng_aq, - "ing_aq": ing_aq, - "eng_factorization": format_factorization(eng_aq), - "ing_factorization": format_factorization(ing_aq), - "twin_prime": bool(eng_prime and ing_prime), - } - enriched_headlines.append(entry) - if eng_prime and ing_prime: - twin_prime_headlines.append(entry) - - for p in prime_factors(ing_aq).keys(): - if p >= 13: - factor_buckets.setdefault(p, []).append(entry) - - shared_prime_attractors = { - str(p): [ - { - "source": item["source"], - "headline_eng": item["headline_eng"], - "ing_aq": item["ing_aq"], - "ing_factorization": item["ing_factorization"], - } - for item in items - ] - for p, items in sorted(factor_buckets.items(), key=lambda kv: -kv[0]) - if len(items) >= 2 - } - - # Compute candidate entity AQ, collisions, and isometric locks - enriched_entities = [] - aq_groups: dict[int, list[dict[str, Any]]] = {} - isometric_locks = [] - - for c in candidates: - eng = c["eng"] - ing = translations.get(eng, eng.lower()) - eng_aq = compute_aq(eng) - ing_aq = compute_aq(ing) - p_idx = PRIME_INDEX.get(ing_aq) - ent = { - "eng": eng, - "ing": ing, - "eng_aq": eng_aq, - "ing_aq": ing_aq, - "is_prime": p_idx is not None, - "prime_rank": p_idx, - "isometric": eng_aq == ing_aq, - "story": c["story"], - } - enriched_entities.append(ent) - aq_groups.setdefault(ing_aq, []).append(ent) - if eng_aq == ing_aq: - isometric_locks.append(ent) - - cross_story_collisions = {} - for aq_val, group in sorted(aq_groups.items(), key=lambda kv: -kv[0]): - unique_ings = {g["ing"] for g in group} - unique_stories = {g["story"] for g in group} - if len(unique_ings) >= 2 and len(unique_stories) >= 2: - p_idx = PRIME_INDEX.get(aq_val) - cross_story_collisions[str(aq_val)] = { - "aq": aq_val, - "prime_rank": p_idx, - "factorization": format_factorization(aq_val), - "members": [ - {"eng": g["eng"], "ing": g["ing"], "story": g["story"]} - for g in group - ], - } - - continuity_info = load_prior_dossiers(args.archive_dir) - - enriched_quant_anchors = [] - for qc in quant_candidates: - sp_eng = qc["q_spoken_eng"] - sp_ing = translations.get(sp_eng, sp_eng.lower()) - d_aq = compute_aq(qc["q_digit"]) - s_aq = compute_aq(sp_ing) - enriched_quant_anchors.append( - { - "story": qc["story"], - "entity_context": qc["entity_context"], - "q_digit": qc["q_digit"], - "q_digit_aq": d_aq, - "q_spoken_eng": sp_eng, - "q_spoken_ing": sp_ing, - "q_spoken_aq": s_aq, - "spoken_prime_rank": PRIME_INDEX.get(s_aq), - "headline": qc["headline"], - } - ) - - payload = { - "temporal_metadata": date_info, - "continuity": continuity_info, - "counts": { - "wikipedia_headlines": len(wiki_items), - "bbc_headlines": len(bbc_items), - "ap_headlines": len(ap_items), - "total_headlines": len(enriched_headlines), - "candidate_entities": len(enriched_entities), - "quantitative_anchors": len(enriched_quant_anchors), - "twin_prime_headlines": len(twin_prime_headlines), - "cross_story_collision_classes": len(cross_story_collisions), - "isometric_locks": len(isometric_locks), - }, - "twin_prime_headlines": twin_prime_headlines, - "shared_prime_attractors": shared_prime_attractors, - "cross_story_collisions": cross_story_collisions, - "isometric_locks": isometric_locks, - "quantitative_anchors": enriched_quant_anchors, - "headlines": enriched_headlines, - "entities": enriched_entities, - } - - out_json = json.dumps(payload, indent=2, ensure_ascii=False) - if args.out: - Path(args.out).parent.mkdir(parents=True, exist_ok=True) - Path(args.out).write_text(out_json, encoding="utf-8") - print(out_json) - return 0 +_SCRIPT_NAME = "collect_news_aq.py" + + +def _resolve_canonical() -> Path: + here = Path(__file__).resolve() + for anc in here.parents: + cand = anc / "ingglish-aq-archive" / "scripts" / _SCRIPT_NAME + if cand.is_file() and cand.resolve() != here: + return cand + ws = Path(os.environ.get("WORKSPACE_DIR", "/workspace")) + for cand in ( + ws / "ingglish-hyperdope-gematria" / "ingglish-aq-archive" / "scripts" / _SCRIPT_NAME, + ws / "ingglish-aq-archive" / "scripts" / _SCRIPT_NAME, + Path("/usr/libexec/ingglish-exegesis/scripts") / _SCRIPT_NAME, + ): + if cand.is_file() and cand.resolve() != here: + return cand + raise FileNotFoundError(f"Canonical script not found: {_SCRIPT_NAME}") if __name__ == "__main__": - raise SystemExit(main()) + runpy.run_path(str(_resolve_canonical()), run_name="__main__") diff --git a/packaging/bundle/scripts/evaluate_aq.mjs b/packaging/bundle/scripts/evaluate_aq.mjs index a59a801..e7b5ace 100755 --- a/packaging/bundle/scripts/evaluate_aq.mjs +++ b/packaging/bundle/scripts/evaluate_aq.mjs @@ -1,361 +1,27 @@ #!/usr/bin/env node -/** - * evaluate_aq.mjs - * Deterministic Bidirectional English / Ingglish Alphanumeric Qabbala (AQ) Evaluator. - * Supports: - * Mode A (AND): --eng "" --ing "" - * Mode B (XOR Eng): --eng "" (generates Ingglish via CMUdict + archive lexicon) - * Mode C (XOR Ing): --ing "" (reconstructs English via archive lexicon + reverseTranslate + homophone forks) - */ - +// Thin delegator to canonical ingglish-aq-archive/scripts/evaluate_aq.mjs import fs from "node:fs"; import path from "node:path"; -import { pathToFileURL } from "node:url"; +import { fileURLToPath, pathToFileURL } from "node:url"; -async function loadIngglishModule() { - const candidates = [ - "/workspace/ingglish-hyperdope-gematria/node_modules/ingglish/dist/index.js", - "/workspace/node_modules/ingglish/dist/index.js", - "/opt/ingglish-exegesis/node_modules/ingglish/dist/index.js", - ]; - for (const p of candidates) { - if (fs.existsSync(p)) { - return await import(pathToFileURL(p).href); - } - } - return await import("ingglish"); -} +const here = fs.realpathSync(fileURLToPath(import.meta.url)); +const ws = process.env.WORKSPACE_DIR || "/workspace"; +const candidates = [ + path.resolve(path.dirname(here), "../../../ingglish-aq-archive/scripts/evaluate_aq.mjs"), + path.resolve(path.dirname(here), "../../../../ingglish-aq-archive/scripts/evaluate_aq.mjs"), + path.join(ws, "ingglish-hyperdope-gematria/ingglish-aq-archive/scripts/evaluate_aq.mjs"), + path.join(ws, "ingglish-aq-archive/scripts/evaluate_aq.mjs"), + "/usr/libexec/ingglish-exegesis/scripts/evaluate_aq.mjs", +]; -function computeAQ(text) { - let total = 0; - for (const ch of String(text).toLowerCase()) { - const code = ch.charCodeAt(0); - if (code >= 48 && code <= 57) { - total += code - 48; - } else if (code >= 97 && code <= 122) { - total += code - 97 + 10; - } - } - return total; -} - -function buildPrimes(limit = 20000) { - const sieve = new Uint8Array(limit + 1); - sieve.fill(1); - sieve[0] = 0; - sieve[1] = 0; - for (let i = 2; i * i <= limit; i++) { - if (sieve[i]) { - for (let j = i * i; j <= limit; j += i) sieve[j] = 0; - } - } - const primeRank = new Map(); - let rank = 0; - for (let n = 2; n <= limit; n++) { - if (sieve[n]) { - rank += 1; - primeRank.set(n, rank); - } - } - return primeRank; -} - -const PRIME_RANK = buildPrimes(20000); - -function factorize(n) { - if (n < 2) return String(n); - if (PRIME_RANK.has(n)) { - return `${n} [PRIME #${PRIME_RANK.get(n)}]`; - } - let temp = n; - const factors = []; - for (let d = 2; d * d <= temp; d += d === 2 ? 1 : 2) { - let count = 0; - while (temp % d === 0) { - count += 1; - temp = Math.floor(temp / d); - } - if (count > 0) { - factors.push(count === 1 ? `${d}` : `${d}^${count}`); - } - } - if (temp > 1) factors.push(`${temp}`); - return `${n} (${factors.join(" × ")})`; -} - -const HOMOPHONE_FORKS = new Map([ - ["ai", ["I", "eye", "AI"]], - ["nait", ["night", "knight"]], - ["rait", ["write", "right", "rite"]], - ["raits", ["writes", "rights", "rites"]], - ["see", ["sea", "see"]], - ["too", ["to", "too", "two"]], - ["suhn", ["sun", "son"]], - ["noo", ["new", "knew"]], - ["hart", ["heart", "hart"]], - ["seer", ["seer", "sear"]], - ["werd", ["word", "whirred"]], -]); - -const PROPER_NOUN_OVERRIDES_ENG_TO_ING = new Map([ - ["typhon", "taifan"], - ["apophis", "apawfis"], - ["joshua", "joshooa"], - ["ramey", "raymee"], - ["outpost", "outpohst"], - ["childs", "chaildz"], - ["macready", "makreedee"], -]); - -function loadArchiveLexicon() { - const engToIng = new Map(PROPER_NOUN_OVERRIDES_ENG_TO_ING); - const ingToEng = new Map([ - ["dha", "the"], - ["uhv", "of"], - ["spairal", "spiral"], - ["flaymethroher", "flamethrower"], - ["outpohst", "outpost"], - ["chaildz", "childs"], - ["ayleean", "alien"], - ["wiskee", "whiskey"], - ["aiern", "iron"], - ["deeman", "demon"], - ["gohst", "ghost"], - ["gohsts", "ghosts"], - ["spaider", "spider"], - ["hed", "head"], - ["taifan", "typhon"], - ["apawfis", "apophis"], - ["joshooa", "joshua"], - ["raymee", "ramey"], - ]); - - const lexPaths = [ - "/workspace/ingglish-hyperdope-gematria/ingglish-aq-archive/01-ingglish-aq-lexicon.md", - "/workspace/ingglish-aq-archive/01-ingglish-aq-lexicon.md", - ]; - for (const lp of lexPaths) { - if (!fs.existsSync(lp)) continue; - const text = fs.readFileSync(lp, "utf8"); - const bulletRe = /^-\s*`([^`]+)`\s*\("([^"]+)"\)\s*=\s*(\d+)/gm; - let m; - while ((m = bulletRe.exec(text)) !== null) { - const ing = m[1].trim().toLowerCase(); - const eng = m[2].trim().toLowerCase(); - if (!ingToEng.has(ing)) ingToEng.set(ing, eng); - if (!engToIng.has(eng)) engToIng.set(eng, ing); - } +let target = null; +for (const c of candidates) { + if (fs.existsSync(c) && fs.realpathSync(c) !== here) { + target = c; break; } - return { engToIng, ingToEng }; } - -function classifyIsometry(engWord, ingWord, engAq, ingAq) { - if (engAq !== ingAq) return null; - const eClean = engWord.toLowerCase().replace(/[^a-z0-9]/g, ""); - const iClean = ingWord.toLowerCase().replace(/[^a-z0-9]/g, ""); - if (eClean === iClean) return "Type I (Invariant)"; - const eSorted = eClean.split("").sort().join(""); - const iSorted = iClean.split("").sort().join(""); - if (eSorted === iSorted) return "Type II (Anagram)"; - return "Type III (Compensatory Split)"; +if (!target) { + throw new Error("Canonical evaluate_aq.mjs not found"); } - -function parseArgs(argv) { - const args = { eng: null, ing: null, jsonOnly: false }; - for (let i = 2; i < argv.length; i++) { - const a = argv[i]; - if (a === "--eng" && i + 1 < argv.length) { - args.eng = argv[++i]; - } else if (a === "--ing" && i + 1 < argv.length) { - args.ing = argv[++i]; - } else if (a === "--json") { - args.jsonOnly = true; - } else if (a === "-h" || a === "--help") { - console.log( - "Usage: node evaluate_aq.mjs [--eng \"\"] [--ing \"\"] [--json]" - ); - process.exit(0); - } - } - if (!args.eng && !args.ing) { - console.error("Error: supply --eng, --ing, or both."); - process.exit(1); - } - return args; -} - -async function main() { - const args = parseArgs(process.argv); - const ingglish = await loadIngglishModule(); - const { engToIng, ingToEng } = loadArchiveLexicon(); - - let mode = "AND (Bidirectional Present)"; - let engPhrase = args.eng ? args.eng.trim() : ""; - let ingPhrase = args.ing ? args.ing.trim() : ""; - - if (engPhrase && !ingPhrase) { - mode = "XOR (English -> Ingglish)"; - const rawTokens = engPhrase.split(/\s+/); - const outTokens = []; - for (const tok of rawTokens) { - const clean = tok.toLowerCase().replace(/[^a-z0-9'-]/g, ""); - if (PROPER_NOUN_OVERRIDES_ENG_TO_ING.has(clean)) { - outTokens.push(PROPER_NOUN_OVERRIDES_ENG_TO_ING.get(clean)); - } else { - const tr = await ingglish.translate(tok); - outTokens.push(tr.toLowerCase()); - } - } - ingPhrase = outTokens.join(" "); - } else if (!engPhrase && ingPhrase) { - mode = "XOR (Ingglish -> English)"; - const rawTokens = ingPhrase.split(/\s+/); - const outTokens = []; - for (const tok of rawTokens) { - const clean = tok.toLowerCase().replace(/[^a-z0-9'-]/g, ""); - if (ingToEng.has(clean)) { - outTokens.push(ingToEng.get(clean)); - } else if (typeof ingglish.reverseTranslate === "function") { - const rev = await ingglish.reverseTranslate(clean); - outTokens.push((rev || clean).toLowerCase()); - } else { - outTokens.push(clean); - } - } - engPhrase = outTokens.join(" "); - } - - const engWords = engPhrase.split(/\s+/).filter(Boolean); - const ingWords = ingPhrase.split(/\s+/).filter(Boolean); - - const engAq = computeAQ(engPhrase); - const ingAq = computeAQ(ingPhrase); - const netDelta = ingAq - engAq; - - const tokenComparison = []; - const homophoneForksFound = []; - let isoWordCount = 0; - let primeIngWordCount = 0; - let paddingWordCount = 0; - - const maxLen = Math.max(engWords.length, ingWords.length); - for (let i = 0; i < maxLen; i++) { - const ew = engWords[i] || ""; - const iw = ingWords[i] || ""; - const eVal = computeAQ(ew); - const iVal = computeAQ(iw); - const dVal = iVal - eVal; - const isoType = ew && iw ? classifyIsometry(ew, iw, eVal, iVal) : null; - if (isoType) isoWordCount += 1; - if (PRIME_RANK.has(iVal)) primeIngWordCount += 1; - const iwClean = iw.toLowerCase().replace(/[^a-z0-9]/g, ""); - if (iwClean === "seekrat" || iwClean === "hidan") paddingWordCount += 1; - if (HOMOPHONE_FORKS.has(iwClean)) { - const branches = HOMOPHONE_FORKS.get(iwClean).map((b) => ({ - eng: b, - eng_aq: computeAQ(b), - eng_prime_rank: PRIME_RANK.get(computeAQ(b)) || null, - })); - homophoneForksFound.push({ ing: iwClean, ing_aq: iVal, branches }); - } - tokenComparison.push({ - eng_token: ew, - eng_aq: eVal, - eng_prime_rank: PRIME_RANK.get(eVal) || null, - ing_token: iw, - ing_aq: iVal, - ing_prime_rank: PRIME_RANK.get(iVal) || null, - delta: dVal, - isometry: isoType, - }); - } - - const isoRatePct = Number(((100 * isoWordCount) / Math.max(1, maxLen)).toFixed(1)); - const primeIngRatePct = Number(((100 * primeIngWordCount) / Math.max(1, maxLen)).toFixed(1)); - const paddingRatePct = Number(((100 * paddingWordCount) / Math.max(1, maxLen)).toFixed(1)); - - // Compute 5-dimension rubric score - const absDelta = Math.abs(netDelta); - let d1 = absDelta === 0 ? 20 : absDelta <= 35 ? 19 : absDelta <= 50 ? 18 : 17; - if (isoWordCount > 0 && d1 < 20) d1 = Math.min(20, d1 + 1); - - const repdigits = new Set([111, 222, 333, 444, 555, 666, 777, 888, 999]); - const syzygies = new Set([81, 108, 216, 495]); - const twinPrimeClause = PRIME_RANK.has(engAq) && PRIME_RANK.has(ingAq); - const exact37Step = absDelta > 0 && absDelta % 37 === 0; - - let d2 = homophoneForksFound.length > 0 || isoWordCount >= 2 ? 19 : 18; - let d3 = 17; - if (repdigits.has(ingAq) || repdigits.has(engAq)) d3 += 2; - if (twinPrimeClause || exact37Step || syzygies.has(ingAq)) d3 += 1; - if (primeIngRatePct >= 18) d3 += 1; - d3 = Math.min(20, d3); - - let d4 = 18 + (homophoneForksFound.length > 0 || ingWords.includes("dha") ? 1 : 0); - d4 = Math.min(20, d4); - - let d5 = paddingRatePct === 0 ? 19 : paddingRatePct < 15 ? 18 : paddingRatePct <= 30 ? 16 : 14; - if (netDelta === 0 && repdigits.has(ingAq)) d5 = 20; - - const totalScore = d1 + d2 + d3 + d4 + d5; - const tier = - totalScore >= 95 - ? "Class S+ (Apex Lock)" - : totalScore >= 90 - ? "Class S (Canonical Lock)" - : totalScore >= 81 - ? "Class A (Structural Entry)" - : totalScore >= 72 - ? "Class B (Modular Entry)" - : "Class C/D/F"; - - const payload = { - mode, - english: { - phrase: engPhrase, - aq: engAq, - factorization: factorize(engAq), - is_prime: PRIME_RANK.has(engAq), - prime_rank: PRIME_RANK.get(engAq) || null, - breakdown: tokenComparison.map((t) => `${t.eng_token} (${t.eng_aq})`).join(" + ") + ` = ${engAq}`, - }, - ingglish: { - phrase: ingPhrase, - aq: ingAq, - factorization: factorize(ingAq), - is_prime: PRIME_RANK.has(ingAq), - prime_rank: PRIME_RANK.get(ingAq) || null, - breakdown: tokenComparison.map((t) => `${t.ing_token} (${t.ing_aq})`).join(" + ") + ` = ${ingAq}`, - }, - drift: { - net_delta: netDelta, - abs_delta: absDelta, - quantized_37_step: exact37Step, - full_clause_isometry: netDelta === 0, - twin_prime_clause: twinPrimeClause, - isometric_word_count: isoWordCount, - isometric_word_rate_pct: isoRatePct, - prime_ing_word_rate_pct: primeIngRatePct, - padding_rate_pct: paddingRatePct, - }, - tokens: tokenComparison, - homophone_forks: homophoneForksFound, - rubric: { - D1_determinism_and_drift: d1, - D2_collision_density: d2, - D3_repdigit_and_prime_arch: d3, - D4_epistemological_fit: d4, - D5_syntactic_anti_padding: d5, - composite_score: totalScore, - classification: tier, - }, - }; - - console.log(JSON.stringify(payload, null, 2)); -} - -main().catch((err) => { - console.error(err); - process.exit(1); -}); +await import(pathToFileURL(target).href); diff --git a/packaging/bundle/scripts/generate_aq_tier_list.py b/packaging/bundle/scripts/generate_aq_tier_list.py index ff624c3..e5df7bf 100755 --- a/packaging/bundle/scripts/generate_aq_tier_list.py +++ b/packaging/bundle/scripts/generate_aq_tier_list.py @@ -1,516 +1,30 @@ #!/usr/bin/env python3 -""" -Generate synchronized Markdown (.md), ReportLab PDF (.pdf), and TierMaker-style S+ to F PNG (.png) -tier lists from all bidirectional AQ evaluations in an archive directory. -""" -import argparse -import glob +"""Thin delegator to canonical ingglish-aq-archive/scripts/generate_aq_tier_list.py.""" +from __future__ import annotations + import os -import re -from xml.sax.saxutils import escape +import runpy +from pathlib import Path + +_SCRIPT_NAME = "generate_aq_tier_list.py" -def aq(s: str) -> int: - return sum( - (ord(c) - 48 if "0" <= c <= "9" else ord(c) - 87 if "a" <= c <= "z" else 0) - for c in s.lower() - ) - - -def is_prime(n: int) -> bool: - if n < 2: - return False - for i in range(2, int(n**0.5) + 1): - if n % i == 0: - return False - return True - - -def collect_evaluations(archive_dir: str): - if not os.path.exists(archive_dir) and os.path.exists("/workspace/ingglish-aq-archive"): - archive_dir = "/workspace/ingglish-aq-archive" - eval_paths = sorted(glob.glob(os.path.join(archive_dir, "[34]*-eval-*-bidirectional.md"))) - rows = [] - for p in eval_paths: - with open(p, "r", encoding="utf-8") as f: - text = f.read() - eval_file = os.path.basename(p) - eval_num = re.match(r"^(\d+)-", eval_file).group(1) - title_m = re.search(r"^#\s+Bidirectional AQ Evaluation[^:]*:\s*(.+)$", text, re.M) - dossier_m = re.search(r"\*\*Source Dossier:\*\*\s*`([^`]+)`", text) - score_m = re.search( - r"\*\*Composite Fitness Score \(Option 4 Curve\):\*\*\s*\*\*(\d+)\s*/\s*100\s*—\s*(Class [SAB])[^*]*\*\*\s*\*\(Uncurved Raw Score:\s*(\d+)\s*/\s*100\)\*", - text, - ) - dims = [ - int(x) - for x in re.findall(r"\|\s*\*\*[1-5]\.[^*]+\*\*\s*\|\s*\*\*(\d+)\s*/\s*20\*\*", text) - ] - - dossier_file = os.path.basename(dossier_m.group(1)) if dossier_m else "" - dossier_num = re.match(r"^(\d+)-", dossier_file).group(1) if dossier_file else "" - dp = os.path.join(archive_dir, dossier_file) - with open(dp, "r", encoding="utf-8") as df: - dt = df.read() - - eqs = re.findall(r'-\s+`([^`]+)`\s+\("([^"]+)"\)\s+—\s+`([^`]+)=\s*(\d+)`', dt) - iso_w = tot_w = p_ing = pad_cnt = iso_cl = 0 - deltas = [] - for ing, eng, _, _ in eqs: - if "seekrat" in ing or "hidan" in ing: - pad_cnt += 1 - ec = re.sub(r"[^\w\s-]", "", eng) - ic = re.sub(r"[^\w\s-]", "", ing) - d = aq(ic) - aq(ec) - deltas.append(d) - if d == 0: - iso_cl += 1 - ew, iw = ec.split(), ic.split() - if len(ew) == len(iw): - for w1, w2 in zip(ew, iw): - tot_w += 1 - if aq(w1) == aq(w2): - iso_w += 1 - if is_prime(aq(w2)): - p_ing += 1 - - ledger_rows = re.findall( - r"^\|\s*\*\*([^*]+)\*\*\s*\|\s*`[^`]+`\s*\|\s*[^|]+\|\s*([^|]+)\|\s*`[^`]+`\s*\|\s*([^|]+)\|", - text, - re.M, - ) - lock1 = f"{ledger_rows[0][0].strip()}: {ledger_rows[0][1].strip()}" if len(ledger_rows) > 0 else "" - lock2 = f"{ledger_rows[1][0].strip()}: {ledger_rows[1][1].strip()}" if len(ledger_rows) > 1 else "" - lock1 = re.sub(r"`", "", lock1)[:42] - lock2 = re.sub(r"`", "", lock2)[:42] - - short_title = title_m.group(1).strip() if title_m else eval_file - for pref in [ - "John Carpenter's ", "Paul W. S. Anderson's ", "Alex Garland's ", - "David Cronenberg's ", "Jonathan Glazer's ", "Richard Stanley's ", - "Clive Barker's ", "Kostanski & Gillespie's ", "Andrzej Zulawski's ", - ]: - if short_title.startswith(pref): - short_title = short_title[len(pref):] - if len(short_title) > 30: - short_title = re.sub(r"\s*\([^)]*\)$", "", short_title) - if len(short_title) > 30: - short_title = short_title[:28].rstrip() + ".." - - rows.append( - { - "eval_file": eval_file, - "eval_num": eval_num, - "dossier_file": dossier_file, - "dossier_num": dossier_num, - "title": short_title, - "curve_score": int(score_m.group(1)), - "raw_score": int(score_m.group(3)), - "dims": dims, - "n_eq": len(eqs), - "iso_w_pct": 100.0 * iso_w / max(1, tot_w), - "prime_ing_pct": 100.0 * p_ing / max(1, tot_w), - "mean_delta": sum(abs(x) for x in deltas) / max(1, len(deltas)), - "pad_pct": 100.0 * pad_cnt / max(1, len(eqs)), - "iso_cl": iso_cl, - "lock1": lock1, - "lock2": lock2, - } - ) - - rows.sort(key=lambda x: (-x["curve_score"], -x["iso_cl"], x["mean_delta"], -x["iso_w_pct"])) - for idx, r in enumerate(rows, 1): - r["rank"] = f"#{idx}" - sc = r["curve_score"] - if sc >= 95: - r["tier_Band"] = "S+" - elif sc >= 90: - r["tier_Band"] = "S" - elif sc >= 81: - r["tier_Band"] = "A" - elif sc >= 72: - r["tier_Band"] = "B" - elif sc >= 66: - r["tier_Band"] = "C" - elif sc >= 60: - r["tier_Band"] = "D" - else: - r["tier_Band"] = "F" - return rows - - -def render_md_and_pdf(rows, out_md: str, out_pdf: str): - tot_eqs = sum(r["n_eq"] for r in rows) - lines = [ - f"# Master Bidirectional AQ Evaluation Tier List (All {len(rows)} Dossiers)", - "", - "- **Active Grading Standard:** Option #4 — Hybrid Numogrammatic Curve (`Class S >= 90`, `Class A >= 81 [3⁴]`, `Class B >= 72`, `C/D/F < 72`)", - f"- **Total Corpus Audited:** {len(rows)} Dossiers, {len(rows)} Bidirectional Evaluations, **{tot_eqs} verified cross-scale equations** (`333`, `666`, `777`)", - "- **Tie-Breaking Protocol:** Within identical composite scores, entries are ordered by (1) Full-Clause Repdigit Isometry count (`Δ = 0` at `333/666/777`), then (2) lowest Mean Clause Drift (`Mean |Δ|`), then (3) highest Isometric Word %.", - "", - "---", - "", - "## 1. Master Quantitative Leaderboard (S+ to F)", - "", - "| Rank | Tier | Option #4 Score (Raw) | D1 / D2 / D3 / D4 / D5 | Evaluation Record | Source Dossier | N_eq | Iso Word % | Prime Word % (Ing) | Mean Abs(Δ) | Padding % (`seekrat`/`hidan`) |", - "| :--- | :--- | :--- | :--- | :--- | :--- | :--- | :--- | :--- | :--- | :--- |", - ] - for r in rows: - d_str = " / ".join(str(x) for x in r["dims"]) - lines.append( - f"| **{r['rank']}** | **Class {r['tier_Band']}** | **{r['curve_score']} / 100** *({r['raw_score']})* | `{d_str}` | `{r['eval_file']}` | `{r['dossier_file']}` | {r['n_eq']} | {r['iso_w_pct']:.1f}% | {r['prime_ing_pct']:.1f}% | {r['mean_delta']:.1f} | {r['pad_pct']:.1f}% |" - ) - lines.extend( - [ - "", - "---", - "", - "## 2. Unpopulated Lower Tiers (`C / D / F` Diagnostic Thresholds)", - "", - "- **Tier C (`66 – 71 pts`, Mint Green `#7FFF7F` — High-Padding Band):** `0 Dossiers`. Reserved for dossiers with `>60%` generic `seekrat/hidan` padding and zero compensating `Δ = 0` full-clause or consecutive-prime rarity locks.", - "- **Tier D (`60 – 65 pts`, Sky Blue `#7FBFFF` — Marginal Band):** `0 Dossiers`. Reserved for dossiers with `0` independent domain-native equivalence classes, `<10%` prime word density, and `Mean |Δ| > 50`.", - f"- **Tier F (`< 60 pts`, Violet `#BF7FFF` — Discard Band):** `0 Dossiers`. Rejected by Post-Write Arithmetic Audit (`{tot_eqs} / {tot_eqs}` archive equations verified exact with `0` sum mismatches).", - ] - ) - if out_md: - with open(out_md, "w", encoding="utf-8") as f: - f.write("\n".join(lines) + "\n") - - if out_pdf and out_md and os.path.exists(out_md): - try: - from reportlab.lib.pagesizes import letter - except ImportError: - import subprocess, sys - subprocess.run( - [sys.executable, "-m", "pip", "install", "--root-user-action=ignore", "--cache-dir", "/tmp/.pip", "reportlab", "pypdf", "pdfplumber"], - check=True, - stdout=subprocess.DEVNULL, - ) - from reportlab.lib.pagesizes import letter - from reportlab.lib.styles import getSampleStyleSheet, ParagraphStyle - from reportlab.lib import colors - from reportlab.platypus import SimpleDocTemplate, Paragraph, Spacer, HRFlowable - - def fmt_inline(text): - text = escape(text) - text = text.replace("Δ", 'D') - text = text.replace("μ", 'm') - text = text.replace("σ", 's') - text = text.replace("π", 'p') - text = ( - text.replace("⁴", "4") - .replace("⁵", "5") - .replace("⁶", "6") - .replace("⁷", "7") - ) - code_spans = [] - - def _save_code(m): - idx = len(code_spans) - code_spans.append(f'{m.group(1)}') - return f"\x00CODE{idx}\x00" - - text = re.sub(r"`([^`]+)`", _save_code, text) - text = re.sub(r"\*\*([^*]+)\*\*", r"\1", text) - text = re.sub(r"\*([^*]+)\*", r"\1", text) - for idx, span in enumerate(code_spans): - text = text.replace(f"\x00CODE{idx}\x00", span) - return text - - def add_page_number(canvas, doc): - canvas.saveState() - canvas.setFont("Helvetica", 9) - canvas.setFillColor(colors.HexColor("#555555")) - canvas.drawRightString(letter[0] - 54, 36, f"Page {doc.page}") - canvas.restoreState() - - with open(out_md, "r", encoding="utf-8") as f: - md_lines = f.read().splitlines() - - doc = SimpleDocTemplate(out_pdf, pagesize=letter, leftMargin=54, rightMargin=54, topMargin=54, bottomMargin=54) - styles = getSampleStyleSheet() - h1 = ParagraphStyle("H1", parent=styles["Heading1"], fontName="Helvetica-Bold", fontSize=15, leading=19, spaceAfter=8) - h2 = ParagraphStyle("H2", parent=styles["Heading2"], fontName="Helvetica-Bold", fontSize=12.5, leading=16, spaceBefore=10, spaceAfter=6) - h3 = ParagraphStyle("H3", parent=styles["Heading3"], fontName="Helvetica-Bold", fontSize=10.5, leading=14, spaceBefore=8, spaceAfter=4) - body = ParagraphStyle("Body", parent=styles["Normal"], fontName="Helvetica", fontSize=9.5, leading=13.5, spaceAfter=5) - bullet = ParagraphStyle("Bullet", parent=body, leftIndent=14, firstLineIndent=-8, spaceAfter=4) - - story, headers, in_table, in_code = [], [], False, False - for line in md_lines: - s = line.strip() - if s.startswith("```"): - in_code = not in_code - continue - if in_code or not s: - if not s: - in_table, headers = False, [] - continue - if s == "---": - story.extend([Spacer(1, 4), HRFlowable(width="100%", thickness=0.6, color=colors.HexColor("#cccccc")), Spacer(1, 4)]) - continue - if s.startswith("|") and s.endswith("|"): - cells = [c.strip() for c in re.split(r'(?60% generic 'seekrat/hidan' padding and zero Full-Clause (Δ=0) or Consecutive-Prime Rarity Bonuses.", - ), - ( - "D", - "60 – 65 pts", - "MARGINAL", - "#7FBFFF", - "0 Dossiers in Tier D (60 – 65 pts — Marginal / Unanchored Scaffolding Band)", - "Threshold for dossiers with 0 independent domain-native equivalence locks, <10% prime word density, and Mean |Δ| > 50.", - ), - ( - "F", - "< 60 pts", - "DISCARD", - "#BF7FFF", - "0 Dossiers in Tier F (< 60 pts — Non-Deterministic / Arithmetic Failure / Discard)", - "Rejected by Post-Write Arithmetic Audit (100% of archive equations verified exact with 0 sum mismatches).", - ), - ] - tier_defs = [tuple(t) for t in custom_tier_defs] if custom_tier_defs else default_tier_defs - - W = 1960 - MARGIN_X = 28 - HEADER_H = 118 - FOOTER_H = 64 - LABEL_W = 210 - ROW_GAP = 8 - CARD_W = 546 - CARD_H = 156 - CARD_GAP_X = 14 - CARD_GAP_Y = 14 - ROW_PAD_Y = 14 - ROW_PAD_X = 16 - - grouped = {t[0]: [] for t in tier_defs} - for r in rows: - grouped[r["tier_Band"]].append(r) - - tier_heights = [] - for t in tier_defs: - cards = grouped[t[0]] - if not cards: - tier_heights.append(104) - else: - rc = (len(cards) + 2) // 3 - tier_heights.append(ROW_PAD_Y * 2 + rc * CARD_H + (rc - 1) * CARD_GAP_Y) - - H = HEADER_H + sum(tier_heights) + ROW_GAP * (len(tier_defs) - 1) + FOOTER_H - img = Image.new("RGB", (W, H), "#121316") - draw = ImageDraw.Draw(img) - - tot_eqs = sum(r["n_eq"] for r in rows) - draw.rectangle([0, 0, W, HEADER_H - 8], fill="#18191D") - draw.line([(0, HEADER_H - 8), (W, HEADER_H - 8)], fill="#333640", width=2) - draw.text( - (MARGIN_X, 22), - header_title, - fill="#F5F6F8", - font=f_title, - ) - sub_str = ( - header_subtitle - if header_subtitle - else f"All {len(rows)} Dossiers ({tot_eqs} Verified Equations) | Graded on Option #4: Hybrid Numogrammatic Curve (Class S >= 90, Class A >= 81 [3⁴], Class B >= 72, C/D/F < 72)" - ) - draw.text( - (MARGIN_X, 68), - sub_str, - fill="#A5AAB5", - font=f_subtitle, - ) - - def draw_centered(box, text, font, fill): - x0, y0, x1, y1 = box - bbox = draw.textbbox((0, 0), text, font=font) - tw, th_b = bbox[2] - bbox[0], bbox[3] - bbox[1] - tx = x0 + (x1 - x0 - tw) / 2 - bbox[0] - ty = y0 + (y1 - y0 - th_b) / 2 - bbox[1] - draw.text((tx, ty), text, fill=fill, font=font) - - cur_y = HEADER_H - for (label, rng, desc, bg, empty_t, empty_d), th in zip(tier_defs, tier_heights): - x0, x1 = MARGIN_X, W - MARGIN_X - y0, y1 = cur_y, cur_y + th - draw.rectangle([x0, y0, x1, y1], fill="#1E2026", outline="#090A0C", width=3) - - lx0, ly0, lx1, ly1 = x0 + 3, y0 + 3, x0 + LABEL_W, y1 - 3 - draw.rectangle([lx0, ly0, lx1, ly1], fill=bg) - draw.line([(lx1, ly0), (lx1, ly1)], fill="#090A0C", width=4) - - mid_y = (ly0 + ly1) / 2 - draw_centered((lx0, mid_y - 42, lx1, mid_y + 2), label, f_tier_big, "#111111") - draw_centered((lx0, mid_y + 10, lx1, mid_y + 26), rng, f_tier_sub, "#1A1A1A") - draw_centered((lx0, mid_y + 27, lx1, mid_y + 43), desc, f_tier_sub, "#2A2A2A") - - rx0, ry0 = lx1 + ROW_PAD_X, y0 + ROW_PAD_Y - cards = grouped[label] - if not cards: - ex0, ey0, ex1, ey1 = rx0, y0 + 16, x1 - ROW_PAD_X, y1 - 16 - draw.rounded_rectangle([ex0, ey0, ex1, ey1], radius=8, fill="#16181D", outline="#2C303A", width=2) - draw.rounded_rectangle([ex0, ey0, ex0 + 8, ey1], radius=4, fill=bg) - draw.text((ex0 + 24, ey0 + 14), empty_t, fill="#C8CDD8", font=f_empty_bold) - draw.text((ex0 + 24, ey0 + 42), empty_d, fill="#7F8594", font=f_empty) - else: - for idx, c in enumerate(cards): - col, row = idx % 3, idx // 3 - cx0 = rx0 + col * (CARD_W + CARD_GAP_X) - cy0 = ry0 + row * (CARD_H + CARD_GAP_Y) - cx1, cy1 = cx0 + CARD_W, cy0 + CARD_H - - draw.rounded_rectangle([cx0, cy0, cx1, cy1], radius=8, fill="#262932", outline="#383C4A", width=2) - draw.rounded_rectangle([cx0, cy0, cx1, cy0 + 6], radius=4, fill=bg) - - draw.rounded_rectangle([cx0 + 12, cy0 + 14, cx0 + 60, cy0 + 40], radius=5, fill="#15171C", outline=bg, width=1) - draw_centered((cx0 + 12, cy0 + 14, cx0 + 60, cy0 + 40), c["rank"], f_card_rank, bg) - - score_txt = c.get("score_badge_text") or f"{c['curve_score']}/100 (Raw {c['raw_score']})" - sb_w = 158 - draw.rounded_rectangle([cx1 - sb_w - 12, cy0 + 14, cx1 - 12, cy0 + 40], radius=5, fill="#15171C", outline="#454A59", width=1) - draw_centered((cx1 - sb_w - 12, cy0 + 14, cx1 - 12, cy0 + 40), score_txt, f_card_rank, "#F0F2F5") - - codes = c.get("badge_code") or f"Eval {c['eval_num']} • Dossier {c['dossier_num']}" - draw.text((cx0 + 70, cy0 + 19), codes[:22], fill="#9DA3B4", font=f_card_dossier) - draw.text((cx0 + 14, cy0 + 47), c["title"], fill="#FFFFFF", font=f_card_title) - draw.line([(cx0 + 14, cy0 + 74), (cx1 - 14, cy0 + 74)], fill="#363A47", width=1) - - draw.text((cx0 + 14, cy0 + 80), "• " + c["lock1"], fill="#FFD97D", font=f_card_lock) - draw.text((cx0 + 14, cy0 + 99), "• " + c["lock2"], fill="#A8E6CF", font=f_card_lock) - - stats = c.get("stat_bar_text") or f"IsoW: {c['iso_w_pct']:.1f}% | PrimeW: {c['prime_ing_pct']:.1f}% | Mean|Δ|: {c['mean_delta']:.1f} | Pad: {c['pad_pct']:.1f}%" - draw.rounded_rectangle([cx0 + 10, cy1 - 32, cx1 - 10, cy1 - 8], radius=4, fill="#1A1C23") - draw.text((cx0 + 16, cy1 - 28), stats, fill="#CED3E0", font=f_card_stat) - - cur_y += th + ROW_GAP - - fy = H - FOOTER_H + 16 - foot_str = ( - footer_text - if footer_text - else "Rubric Dimensions (20 pts each): D1 = CMUdict Purity & Mean Clause Drift | D2 = Independent Domain-Native Collision Density | D3 = Repdigit & Prime Word Architecture (+Rarity Bonus) | D4 = Epistemological Fit | D5 = Anti-Padding Rate" - ) - draw.text( - (MARGIN_X, fy), - foot_str, - fill="#8C92A4", - font=f_footer, - ) - if write_atomic: - tmp_png = out_png + ".tmp" - img.save(tmp_png, "PNG", optimize=True) - os.replace(tmp_png, out_png) - else: - img.save(out_png, "PNG", optimize=True) - - -def main(): - import json - ap = argparse.ArgumentParser() - ap.add_argument("--archive-dir", default="/workspace/ingglish-hyperdope-gematria/ingglish-aq-archive") - ap.add_argument("--rows-json", default=None, help="Optional pre-computed cohort JSON (e.g. Assemblage Builds from technocapital-singularity-zoology).") - ap.add_argument("--header-title", default="INGGLISH AQ ARCHIVE — MASTER BIDIRECTIONAL EVALUATION TIER LIST (S+ TO F)") - ap.add_argument("--header-subtitle", default=None) - ap.add_argument("--footer-text", default=None) - ap.add_argument("--skip-md", action="store_true", help="When --rows-json already generated custom Markdown, only compile PDF and PNG.") - ap.add_argument("--out-md", default="/workspace/ingglish-hyperdope-gematria/dossier-bidirectional-eval-tier-list.md") - ap.add_argument("--out-pdf", default="/workspace/ingglish-hyperdope-gematria/dossier-bidirectional-eval-tier-list.pdf") - ap.add_argument("--out-png", default="/workspace/ingglish-hyperdope-gematria/dossier-bidirectional-eval-tier-list.png") - args = ap.parse_args() - - if args.rows_json: - with open(args.rows_json, "r", encoding="utf-8") as f: - data = json.load(f) - rows = data["rows"] if isinstance(data, dict) and "rows" in data else data - custom_tier_defs = data.get("tier_defs") if isinstance(data, dict) else None - if not args.skip_md: - render_md_and_pdf(rows, args.out_md, args.out_pdf) - elif args.out_pdf and args.out_md and os.path.exists(args.out_md): - # Compile PDF from existing custom Markdown via build_wire_report_pdf.py - import subprocess, sys - build_script = os.path.join(os.path.dirname(__file__), "build_wire_report_pdf.py") - subprocess.run( - [sys.executable, build_script, "--md", args.out_md, "--pdf", args.out_pdf, "--title", args.header_title], - check=True, - ) - render_png( - rows, - args.out_png, - header_title=args.header_title, - header_subtitle=args.header_subtitle, - footer_text=args.footer_text, - custom_tier_defs=custom_tier_defs, - ) - else: - rows = collect_evaluations(args.archive_dir) - render_md_and_pdf(rows, args.out_md, args.out_pdf) - render_png(rows, args.out_png) - print(f"Ranked {len(rows)} evaluations -> {args.out_md}, {args.out_pdf}, {args.out_png}") +def _resolve_canonical() -> Path: + here = Path(__file__).resolve() + for anc in here.parents: + cand = anc / "ingglish-aq-archive" / "scripts" / _SCRIPT_NAME + if cand.is_file() and cand.resolve() != here: + return cand + ws = Path(os.environ.get("WORKSPACE_DIR", "/workspace")) + for cand in ( + ws / "ingglish-hyperdope-gematria" / "ingglish-aq-archive" / "scripts" / _SCRIPT_NAME, + ws / "ingglish-aq-archive" / "scripts" / _SCRIPT_NAME, + Path("/usr/libexec/ingglish-exegesis/scripts") / _SCRIPT_NAME, + ): + if cand.is_file() and cand.resolve() != here: + return cand + raise FileNotFoundError(f"Canonical script not found: {_SCRIPT_NAME}") if __name__ == "__main__": - main() + runpy.run_path(str(_resolve_canonical()), run_name="__main__") diff --git a/packaging/bundle/scripts/manage_lecture_artifacts.py b/packaging/bundle/scripts/manage_lecture_artifacts.py index 6176814..c3015b3 100755 --- a/packaging/bundle/scripts/manage_lecture_artifacts.py +++ b/packaging/bundle/scripts/manage_lecture_artifacts.py @@ -1,253 +1,30 @@ #!/usr/bin/env python3 -""" -manage_lecture_artifacts.py -Deterministic Naming-Convention Validator, Host-Mount Resolver, and .gitignore Manager -for the `isopsephic-lecture-synthesis` skill. - -Naming Convention: - Stem: lecture--ingglish-aq - Slug regex: ^[a-z0-9]+(?:-[a-z0-9]+)*$ - Files: - - /workspace/lecture--ingglish-aq.md - - /workspace/lecture--ingglish-aq.mp3 - - /workspace/lecture--ingglish-aq.pdf (optional) -""" +"""Thin delegator to canonical ingglish-aq-archive/scripts/manage_lecture_artifacts.py.""" from __future__ import annotations -import argparse -import glob -import json import os -import re -import subprocess -import sys +import runpy from pathlib import Path -from typing import Any -SLUG_RE = re.compile(r"^[a-z0-9]+(?:-[a-z0-9]+)*$") -LECTURE_FILE_RE = re.compile(r"^lecture-([a-z0-9]+(?:-[a-z0-9]+)*)-ingglish-aq\.(md|mp3|pdf)$") - -GITIGNORE_HEADER = "# --- Isopsephic Lecture Artifacts (strict naming convention) ---" -GITIGNORE_FOOTER = "# --- End Isopsephic Lecture Artifacts ---" +_SCRIPT_NAME = "manage_lecture_artifacts.py" -def normalize_slug(raw: str) -> str: - """Normalize arbitrary topic string or filename into canonical .""" - s = raw.strip().lower() - # Strip directory and extension if a filename was passed - s = os.path.basename(s) - for ext in (".md", ".mp3", ".pdf"): - if s.endswith(ext): - s = s[: -len(ext)] - if s.startswith("lecture-"): - s = s[len("lecture-") :] - if s.endswith("-ingglish-aq"): - s = s[: -len("-ingglish-aq")] - s = re.sub(r"[^a-z0-9]+", "-", s).strip("-") - if not s or not SLUG_RE.fullmatch(s): - raise ValueError(f"Cannot normalize '{raw}' into valid kebab-case slug.") - return s - - -def canonical_stem(slug: str) -> str: - norm = normalize_slug(slug) - return f"lecture-{norm}-ingglish-aq" - - -def resolve_host_workspace_mount(container_workspace: str = "/workspace/ingglish-hyperdope-gematria") -> str: - """ - Resolve the host filesystem path backing container_workspace from /proc/self/mountinfo - so host-executed tools like text_to_speech(output_path=...) write directly into the target repo. - """ - mountinfo = Path("/proc/self/mountinfo") - if mountinfo.exists(): - for line in mountinfo.read_text(encoding="utf-8", errors="ignore").splitlines(): - parts = line.split() - if len(parts) >= 5 and parts[4] == "/workspace": - rel = os.path.relpath(container_workspace, "/workspace") - return parts[3] if rel == "." else f"{parts[3]}/{rel}" - return container_workspace - - -def update_gitignore( - workspace_dir: str, - mode: str = "audio-only", - slug: str | None = None, -) -> dict[str, Any]: - """ - Idempotently add or update the lecture naming-convention block in /workspace/.gitignore. - Modes: - - audio-only: ignores lecture-*-ingglish-aq.mp3 - - audio-and-pdf: ignores lecture-*-ingglish-aq.mp3 and lecture-*-ingglish-aq.pdf - - all-lecture-files: ignores lecture-*-ingglish-aq.* (.md, .mp3, .pdf) - - explicit-slug: ignores lecture--ingglish-aq.mp3 (and .md/.pdf if present) - """ - gitignore_path = Path(workspace_dir) / ".gitignore" - existing = gitignore_path.read_text(encoding="utf-8") if gitignore_path.exists() else "" - - if mode == "audio-only": - patterns = ["lecture-*-ingglish-aq.mp3"] - elif mode == "audio-and-pdf": - patterns = ["lecture-*-ingglish-aq.mp3", "lecture-*-ingglish-aq.pdf"] - elif mode == "all-lecture-files": - patterns = [ - "lecture-*-ingglish-aq.mp3", - "lecture-*-ingglish-aq.md", - "lecture-*-ingglish-aq.pdf", - ] - elif mode == "explicit-slug": - if not slug: - raise ValueError("--slug is required when --gitignore-mode=explicit-slug") - stem = canonical_stem(slug) - patterns = [f"{stem}.mp3", f"{stem}.pdf"] - else: - raise ValueError(f"Unsupported mode: {mode}") - - block_lines = [GITIGNORE_HEADER] + patterns + [GITIGNORE_FOOTER] - new_block = "\n".join(block_lines) - - block_re = re.compile( - rf"{re.escape(GITIGNORE_HEADER)}.*?{re.escape(GITIGNORE_FOOTER)}", - re.S, - ) - if block_re.search(existing): - updated = block_re.sub(new_block, existing) - else: - sep = "" if (not existing or existing.endswith("\n")) else "\n" - updated = f"{existing}{sep}{new_block}\n" - - changed = updated != existing - if changed or not gitignore_path.exists(): - gitignore_path.write_text(updated, encoding="utf-8") - - return { - "gitignore_path": str(gitignore_path), - "mode": mode, - "patterns_active": patterns, - "updated": changed, - } - - -def check_git_ignored(workspace_dir: str, rel_path: str) -> dict[str, Any]: - proc = subprocess.run( - ["git", "check-ignore", "-v", rel_path], - cwd=workspace_dir, - text=True, - capture_output=True, - ) - return { - "file": rel_path, - "ignored": proc.returncode == 0, - "rule": proc.stdout.strip() if proc.returncode == 0 else None, - } - - -def audit_workspace_lectures(workspace_dir: str, target_slug: str | None = None) -> dict[str, Any]: - ws = Path(workspace_dir) - all_lecture_files = sorted( - p.name for p in ws.iterdir() if p.is_file() and p.name.startswith("lecture-") - ) - conforming = [] - non_conforming = [] - stems: dict[str, dict[str, Any]] = {} - - for fname in all_lecture_files: - m = LECTURE_FILE_RE.fullmatch(fname) - if not m: - non_conforming.append(fname) - continue - conforming.append(fname) - slug_part, ext = m.group(1), m.group(2) - stem = f"lecture-{slug_part}-ingglish-aq" - info = stems.setdefault( - stem, - { - "slug": slug_part, - "stem": stem, - "extensions": [], - "sizes": {}, - }, - ) - info["extensions"].append(ext) - info["sizes"][ext] = (ws / fname).stat().st_size - - target_report = None - if target_slug: - stem = canonical_stem(target_slug) - md_file = ws / f"{stem}.md" - mp3_file = ws / f"{stem}.mp3" - pdf_file = ws / f"{stem}.pdf" - target_report = { - "slug": normalize_slug(target_slug), - "canonical_stem": stem, - "host_tts_output_path": f"{resolve_host_workspace_mount(workspace_dir)}/{stem}.mp3", - "container_md_path": str(md_file), - "container_mp3_path": str(mp3_file), - "md_exists": md_file.exists() and md_file.stat().st_size > 0, - "mp3_exists": mp3_file.exists() and mp3_file.stat().st_size > 0, - "pdf_exists": pdf_file.exists() and pdf_file.stat().st_size > 0, - "stem_match": md_file.stem == mp3_file.stem == stem, - "pair_valid": bool( - md_file.exists() - and mp3_file.exists() - and md_file.stat().st_size > 0 - and mp3_file.stat().st_size > 0 - and md_file.stem == mp3_file.stem == stem - ), - "git_ignore_mp3": check_git_ignored(workspace_dir, f"{stem}.mp3"), - "git_ignore_md": check_git_ignored(workspace_dir, f"{stem}.md"), - } - - return { - "workspace": workspace_dir, - "host_workspace_mount": resolve_host_workspace_mount(workspace_dir), - "conforming_files": conforming, - "non_conforming_files": non_conforming, - "lecture_stems": stems, - "target_verification": target_report, - } - - -def main() -> int: - parser = argparse.ArgumentParser( - description="Validate lecture naming conventions and manage .gitignore rules." - ) - parser.add_argument("--workspace", default="/workspace/ingglish-hyperdope-gematria") - parser.add_argument("--slug", default=None, help="Topic slug to normalize/verify.") - parser.add_argument( - "--gitignore-mode", - choices=["none", "audio-only", "audio-and-pdf", "all-lecture-files", "explicit-slug"], - default="none", - help="Update /workspace/.gitignore using the strict lecture naming convention.", - ) - parser.add_argument( - "--verify-pair", - action="store_true", - help="Exit non-zero if the target slug's .md and .mp3 pair is missing or mismatched.", - ) - args = parser.parse_args() - - gitignore_res = None - if args.gitignore_mode != "none": - gitignore_res = update_gitignore( - args.workspace, mode=args.gitignore_mode, slug=args.slug - ) - - audit = audit_workspace_lectures(args.workspace, target_slug=args.slug) - if gitignore_res is not None: - audit["gitignore_update"] = gitignore_res - - print(json.dumps(audit, indent=2)) - - if args.verify_pair: - if not args.slug: - sys.stderr.write("ERROR: --verify-pair requires --slug\n") - return 2 - tv = audit.get("target_verification") or {} - if not tv.get("pair_valid") or audit.get("non_conforming_files"): - return 1 - return 0 +def _resolve_canonical() -> Path: + here = Path(__file__).resolve() + for anc in here.parents: + cand = anc / "ingglish-aq-archive" / "scripts" / _SCRIPT_NAME + if cand.is_file() and cand.resolve() != here: + return cand + ws = Path(os.environ.get("WORKSPACE_DIR", "/workspace")) + for cand in ( + ws / "ingglish-hyperdope-gematria" / "ingglish-aq-archive" / "scripts" / _SCRIPT_NAME, + ws / "ingglish-aq-archive" / "scripts" / _SCRIPT_NAME, + Path("/usr/libexec/ingglish-exegesis/scripts") / _SCRIPT_NAME, + ): + if cand.is_file() and cand.resolve() != here: + return cand + raise FileNotFoundError(f"Canonical script not found: {_SCRIPT_NAME}") if __name__ == "__main__": - raise SystemExit(main()) + runpy.run_path(str(_resolve_canonical()), run_name="__main__") diff --git a/packaging/bundle/scripts/pdf_create.py b/packaging/bundle/scripts/pdf_create.py index 7439a49..0d6447b 100755 --- a/packaging/bundle/scripts/pdf_create.py +++ b/packaging/bundle/scripts/pdf_create.py @@ -1,146 +1,30 @@ #!/usr/bin/env python3 -"""Create a PDF from a JSON spec using reportlab platypus. - -Spec format (UTF-8 JSON): -{ - "title": "Example Report", - "author": "example-author", - "page_size": "A4", // or "letter" (default: A4) - "page_numbers": true, // default true - "elements": [ - {"type": "heading", "text": "Section 1", "level": 1}, - {"type": "paragraph", "text": "Body text..."}, - {"type": "table", "rows": [["H1", "H2"], ["a", "b"]], "header": true}, - {"type": "image", "path": "chart.png", "width": 400}, - {"type": "pagebreak"} - ] -} -""" +"""Thin delegator to canonical ingglish-aq-archive/scripts/pdf_create.py.""" from __future__ import annotations -import argparse -import json -import sys +import os +import runpy +from pathlib import Path + +_SCRIPT_NAME = "pdf_create.py" -def _reconfigure_stdio() -> None: - for stream in (sys.stdout, sys.stderr): - try: - stream.reconfigure(encoding="utf-8") - except Exception: - pass - - -def build_pdf(spec: dict, out_path: str) -> int: - try: - from reportlab.lib import colors - from reportlab.lib.pagesizes import A4, letter - from reportlab.lib.styles import getSampleStyleSheet - from reportlab.lib.units import inch - from reportlab.platypus import ( - Image, - PageBreak, - Paragraph, - SimpleDocTemplate, - Spacer, - Table, - TableStyle, - ) - except ImportError: - import subprocess - subprocess.run( - [sys.executable, "-m", "pip", "install", "--root-user-action=ignore", "--cache-dir", "/tmp/.pip", "reportlab", "pypdf", "pdfplumber"], - check=True, - stdout=subprocess.DEVNULL, - ) - from reportlab.lib import colors - from reportlab.lib.pagesizes import A4, letter - from reportlab.lib.styles import getSampleStyleSheet - from reportlab.lib.units import inch - from reportlab.platypus import ( - Image, - PageBreak, - Paragraph, - SimpleDocTemplate, - Spacer, - Table, - TableStyle, - ) - - page_size = letter if str(spec.get("page_size", "A4")).lower() == "letter" else A4 - styles = getSampleStyleSheet() - story = [] - for el in spec.get("elements", []): - etype = el.get("type") - if etype == "heading": - level = min(max(int(el.get("level", 1)), 1), 3) - story.append(Paragraph(el.get("text", ""), styles[f"Heading{level}"])) - elif etype == "paragraph": - story.append(Paragraph(el.get("text", ""), styles["BodyText"])) - story.append(Spacer(1, 6)) - elif etype == "table": - rows = el.get("rows", []) - if not rows: - continue - table = Table(rows, repeatRows=1 if el.get("header", True) else 0) - style = [ - ("GRID", (0, 0), (-1, -1), 0.5, colors.grey), - ("VALIGN", (0, 0), (-1, -1), "TOP"), - ] - if el.get("header", True): - style += [ - ("BACKGROUND", (0, 0), (-1, 0), colors.lightgrey), - ("FONTNAME", (0, 0), (-1, 0), "Helvetica-Bold"), - ] - table.setStyle(TableStyle(style)) - story.append(table) - story.append(Spacer(1, 10)) - elif etype == "image": - kwargs = {} - if el.get("width"): - kwargs["width"] = float(el["width"]) - if el.get("height"): - kwargs["height"] = float(el["height"]) - img = Image(el["path"], **kwargs) - if "width" in kwargs and "height" not in kwargs: - ratio = img.imageHeight / img.imageWidth - img.drawWidth = kwargs["width"] - img.drawHeight = kwargs["width"] * ratio - story.append(img) - story.append(Spacer(1, 10)) - elif etype == "pagebreak": - story.append(PageBreak()) - else: - print(f"Warning: unknown element type {etype!r}, skipped", file=sys.stderr) - - def draw_page_number(canvas, doc): - if spec.get("page_numbers", True): - canvas.saveState() - canvas.setFont("Helvetica", 9) - canvas.drawCentredString(page_size[0] / 2.0, 0.5 * inch, f"Page {doc.page}") - canvas.restoreState() - - doc = SimpleDocTemplate( - out_path, - pagesize=page_size, - title=spec.get("title", ""), - author=spec.get("author", ""), - ) - doc.build(story, onFirstPage=draw_page_number, onLaterPages=draw_page_number) - print(json.dumps({"output": out_path, "elements": len(spec.get("elements", []))})) - return 0 - - -def main() -> int: - _reconfigure_stdio() - parser = argparse.ArgumentParser(description="Create a PDF from a JSON spec (reportlab).") - parser.add_argument("spec", help="Path to UTF-8 JSON spec file") - parser.add_argument("-o", "--output", required=True, help="Output PDF path") - args = parser.parse_args() - with open(args.spec, encoding="utf-8") as fh: - spec = json.load(fh) - return build_pdf(spec, args.output) +def _resolve_canonical() -> Path: + here = Path(__file__).resolve() + for anc in here.parents: + cand = anc / "ingglish-aq-archive" / "scripts" / _SCRIPT_NAME + if cand.is_file() and cand.resolve() != here: + return cand + ws = Path(os.environ.get("WORKSPACE_DIR", "/workspace")) + for cand in ( + ws / "ingglish-hyperdope-gematria" / "ingglish-aq-archive" / "scripts" / _SCRIPT_NAME, + ws / "ingglish-aq-archive" / "scripts" / _SCRIPT_NAME, + Path("/usr/libexec/ingglish-exegesis/scripts") / _SCRIPT_NAME, + ): + if cand.is_file() and cand.resolve() != here: + return cand + raise FileNotFoundError(f"Canonical script not found: {_SCRIPT_NAME}") if __name__ == "__main__": - sys.exit(main()) + runpy.run_path(str(_resolve_canonical()), run_name="__main__") diff --git a/packaging/bundle/scripts/pdf_read.py b/packaging/bundle/scripts/pdf_read.py index 18481b8..a14ae58 100755 --- a/packaging/bundle/scripts/pdf_read.py +++ b/packaging/bundle/scripts/pdf_read.py @@ -1,157 +1,30 @@ #!/usr/bin/env python3 -"""Read a PDF: per-page text, tables, metadata, or form fields. JSON to stdout.""" +"""Thin delegator to canonical ingglish-aq-archive/scripts/pdf_read.py.""" from __future__ import annotations -import argparse -import csv -import json import os -import sys +import runpy +from pathlib import Path + +_SCRIPT_NAME = "pdf_read.py" -def _reconfigure_stdio() -> None: - for stream in (sys.stdout, sys.stderr): - try: - stream.reconfigure(encoding="utf-8") - except Exception: - pass - - -def _need(module: str, package: str): - try: - return __import__(module) - except ImportError: - import subprocess - subprocess.run( - [sys.executable, "-m", "pip", "install", "--root-user-action=ignore", "--cache-dir", "/tmp/.pip", package], - check=True, - stdout=subprocess.DEVNULL, - ) - return __import__(module) - - -def read_text(path: str, password: str | None) -> dict: - pdfplumber = _need("pdfplumber", "pdfplumber") - pages = [] - with pdfplumber.open(path, password=password) as pdf: - for page in pdf.pages: - pages.append(page.extract_text() or "") - return {"page_count": len(pages), "pages": pages} - - -def read_tables(path: str, password: str | None, csv_dir: str | None) -> dict: - pdfplumber = _need("pdfplumber", "pdfplumber") - result = [] - written = [] - with pdfplumber.open(path, password=password) as pdf: - for pageno, page in enumerate(pdf.pages, start=1): - for tidx, table in enumerate(page.extract_tables()): - result.append({"page": pageno, "index": tidx, "rows": table}) - if csv_dir: - os.makedirs(csv_dir, exist_ok=True) - csv_path = os.path.join(csv_dir, f"page{pageno}_table{tidx}.csv") - with open(csv_path, "w", encoding="utf-8", newline="") as fh: - csv.writer(fh).writerows([[c if c is not None else "" for c in row] for row in table]) - written.append(csv_path) - out = {"table_count": len(result), "tables": result} - if csv_dir: - out["csv_files"] = written - return out - - -def read_meta(path: str, password: str | None) -> dict: - pypdf = _need("pypdf", "pypdf") - reader = pypdf.PdfReader(path) - encrypted = reader.is_encrypted - if encrypted: - if password is None or not reader.decrypt(password): - return {"encrypted": True, "note": "Provide --password to read metadata of an encrypted file."} - meta = {} - if reader.metadata: - for key, value in reader.metadata.items(): - meta[str(key).lstrip("/")] = str(value) - pages = [] - for idx, page in enumerate(reader.pages, start=1): - box = page.mediabox - pages.append({ - "page": idx, - "width": float(box.width), - "height": float(box.height), - "rotation": int(page.get("/Rotate", 0)), - }) - likely_scanned = [] - try: - pdfplumber = _need("pdfplumber", "pdfplumber") - with pdfplumber.open(path, password=password) as pdf: - for pageno, page in enumerate(pdf.pages, start=1): - text = (page.extract_text() or "").strip() - if not text and page.images: - likely_scanned.append(pageno) - except SystemExit: - raise - except Exception as exc: - print(f"Warning: scanned-page check failed: {exc}", file=sys.stderr) - out = { - "encrypted": encrypted, - "page_count": len(reader.pages), - "metadata": meta, - "pages": pages, - "likely_scanned_pages": likely_scanned, - } - if likely_scanned: - out["note"] = ("Image-only pages detected: no text layer to extract. " - "Use the references/ocr-extraction.md in this skill for OCR.") - return out - - -FIELD_TYPES = {"/Tx": "text", "/Btn": "button", "/Ch": "choice", "/Sig": "signature"} - - -def read_fields(path: str, password: str | None) -> dict: - pypdf = _need("pypdf", "pypdf") - reader = pypdf.PdfReader(path) - if reader.is_encrypted: - if password is None or not reader.decrypt(password): - print("File is encrypted; pass --password.", file=sys.stderr) - raise SystemExit(3) - fields = reader.get_fields() or {} - out = {} - for name, field in fields.items(): - ftype = FIELD_TYPES.get(str(field.get("/FT")), str(field.get("/FT"))) - value = field.get("/V") - states = field.get("/_States_") - entry = {"type": ftype, "value": None if value is None else str(value)} - if states: - entry["options"] = [str(s) for s in states] - out[name] = entry - return {"field_count": len(out), "fields": out} - - -def main() -> int: - _reconfigure_stdio() - parser = argparse.ArgumentParser(description="Extract text, tables, metadata, or form fields from a PDF.") - parser.add_argument("pdf", help="Input PDF path") - mode = parser.add_mutually_exclusive_group(required=True) - mode.add_argument("--text", action="store_true", help="Per-page text as JSON") - mode.add_argument("--tables", action="store_true", help="Tables as JSON (optionally CSV via --csv-dir)") - mode.add_argument("--meta", action="store_true", help="Metadata, page sizes, encrypted/scanned flags") - mode.add_argument("--fields", action="store_true", help="AcroForm fields with types and values") - parser.add_argument("--csv-dir", help="Also write each table as a CSV file into this directory") - parser.add_argument("--password", help="Password for encrypted PDFs") - args = parser.parse_args() - - if args.text: - result = read_text(args.pdf, args.password) - elif args.tables: - result = read_tables(args.pdf, args.password, args.csv_dir) - elif args.meta: - result = read_meta(args.pdf, args.password) - else: - result = read_fields(args.pdf, args.password) - json.dump(result, sys.stdout, ensure_ascii=False, indent=2) - print() - return 0 +def _resolve_canonical() -> Path: + here = Path(__file__).resolve() + for anc in here.parents: + cand = anc / "ingglish-aq-archive" / "scripts" / _SCRIPT_NAME + if cand.is_file() and cand.resolve() != here: + return cand + ws = Path(os.environ.get("WORKSPACE_DIR", "/workspace")) + for cand in ( + ws / "ingglish-hyperdope-gematria" / "ingglish-aq-archive" / "scripts" / _SCRIPT_NAME, + ws / "ingglish-aq-archive" / "scripts" / _SCRIPT_NAME, + Path("/usr/libexec/ingglish-exegesis/scripts") / _SCRIPT_NAME, + ): + if cand.is_file() and cand.resolve() != here: + return cand + raise FileNotFoundError(f"Canonical script not found: {_SCRIPT_NAME}") if __name__ == "__main__": - sys.exit(main()) + runpy.run_path(str(_resolve_canonical()), run_name="__main__") diff --git a/packaging/bundle/scripts/run_exegesis_and_push_fedora41.sh b/packaging/bundle/scripts/run_exegesis_and_push_fedora41.sh index b2057c4..3024288 100755 --- a/packaging/bundle/scripts/run_exegesis_and_push_fedora41.sh +++ b/packaging/bundle/scripts/run_exegesis_and_push_fedora41.sh @@ -32,8 +32,10 @@ run_checked() { SYSCONFIG_FILE="${INGGLISH_SYSCONFIG_FILE:-/etc/sysconfig/ingglish-exegesis}" if [[ -f "${SYSCONFIG_FILE}" ]]; then + set -a # shellcheck disable=SC1090 source "${SYSCONFIG_FILE}" + set +a fi TARGET_DATE="" @@ -95,12 +97,24 @@ export TZ="UTC" export FORGE_SSH="${FORGE_SSH:-ssh://git@git.libre.audio:2222/seasharp}" export OPENROUTER_API_URL="${OPENROUTER_API_URL:-https://openrouter.ai/api/v1/chat/completions}" export OPENROUTER_MODEL="${OPENROUTER_MODEL:-google/gemini-2.5-pro}" +export GIT_AUTHOR_NAME="${GIT_AUTHOR_NAME:-Hyperstition Studio Exegesis Worker}" +export GIT_AUTHOR_EMAIL="${GIT_AUTHOR_EMAIL:-exegesis@hyperstitionstud.io}" +export GIT_COMMITTER_NAME="${GIT_COMMITTER_NAME:-${GIT_AUTHOR_NAME}}" +export GIT_COMMITTER_EMAIL="${GIT_COMMITTER_EMAIL:-${GIT_AUTHOR_EMAIL}}" if [[ -n "${INGGLISH_SSH_KEY_PATH:-}" ]] && [[ -f "${INGGLISH_SSH_KEY_PATH}" ]] && [[ -z "${GIT_SSH_COMMAND:-}" ]]; then export GIT_SSH_COMMAND="ssh -i ${INGGLISH_SSH_KEY_PATH} -o BatchMode=yes -o StrictHostKeyChecking=accept-new" fi -LOCK_FILE="${INGGLISH_LOCK_FILE:-/tmp/ingglish-exegesis-fedora41.lock}" +if [[ -z "${INGGLISH_LOCK_FILE:-}" ]]; then + if [[ -d "/var/lib/ingglish-exegesis" ]] && [[ -w "/var/lib/ingglish-exegesis" ]]; then + LOCK_FILE="/var/lib/ingglish-exegesis/ingglish-exegesis-fedora41.lock" + else + LOCK_FILE="${XDG_RUNTIME_DIR:-/tmp}/ingglish-exegesis-fedora41-$(id -u).lock" + fi +else + LOCK_FILE="${INGGLISH_LOCK_FILE}" +fi exec 9>"${LOCK_FILE}" if ! flock -n 9; then echo "[SKIP] Another ingglish-exegesis-push run holds ${LOCK_FILE}; exiting cleanly." @@ -114,6 +128,10 @@ if [[ -z "${OPENROUTER_API_KEY:-}" ]] && [[ "${DRY_RUN}" -eq 0 ]] && [[ "${ALLOW fi mkdir -p "${WORKSPACE_DIR}" +if [[ "${WORKSPACE_DIR}" == "/var/lib/ingglish-exegesis/workspace" ]] && [[ -w "/var/lib/ingglish-exegesis" ]]; then + export HOME="/var/lib/ingglish-exegesis" +fi +cd "${WORKSPACE_DIR}" sync_or_clone_repo() { local repo_dir="$1" @@ -169,6 +187,8 @@ fi SCRIPTS_DIR="${ARCHIVE_DIR}/scripts" if [[ ! -d "${SCRIPTS_DIR}" ]] && [[ -d "/usr/libexec/ingglish-exegesis/scripts" ]]; then SCRIPTS_DIR="/usr/libexec/ingglish-exegesis/scripts" +elif [[ -d "/usr/libexec/ingglish-exegesis/scripts" ]] && [[ -f "${SCRIPTS_DIR}/ci_provision_ingglish.py" ]] && grep -q 'Path("/workspace/ingglish-hyperdope-gematria/ONBOARDING-INGGLISH-AQ.md")' "${SCRIPTS_DIR}/ci_provision_ingglish.py" 2>&1; then + SCRIPTS_DIR="/usr/libexec/ingglish-exegesis/scripts" fi if [[ "${DRY_RUN}" -eq 1 ]]; then @@ -176,7 +196,11 @@ if [[ "${DRY_RUN}" -eq 1 ]]; then exit 0 fi -HARVEST_JSON="/tmp/news-aq-harvest-$$.json" +if [[ -d "/var/lib/ingglish-exegesis" ]] && [[ -w "/var/lib/ingglish-exegesis" ]]; then + HARVEST_JSON="/var/lib/ingglish-exegesis/news-aq-harvest-$$.json" +else + HARVEST_JSON="${XDG_RUNTIME_DIR:-/tmp}/news-aq-harvest-$(id -u)-$$.json" +fi trap 'rm -f "${HARVEST_JSON}"' EXIT echo "[3/5] Step A (0 LLM tokens): Harvesting 00:00 UTC news headlines & computing Ingglish Base-36 AQ locks..." @@ -207,12 +231,23 @@ if [[ -d "${CALC_REPO}/.git" ]]; then fi run_checked "ci_provision_ingglish.py" python3 "${SCRIPTS_DIR}/ci_provision_ingglish.py" "${CI_ARGS[@]}" +if [[ -f "${CALC_REPO}/config.default.js" ]] && [[ ! -f "${CALC_REPO}/config.js" ]]; then + cp -f "${CALC_REPO}/config.default.js" "${CALC_REPO}/config.js" +fi if [[ -f "${CALC_REPO}/tools/generate_db_json.py" ]] && [[ -f "${CALC_REPO}/db.txt" ]]; then (cd "${CALC_REPO}" && run_checked "generate_db_json.py" python3 tools/generate_db_json.py db.txt db.json) fi if [[ -d "${WORKSPACE_DIR}/hyperstitionstudio-core/src" ]]; then - run_checked "hs-readme-sync" python3 -m hyperstitionstud_io.publishing.readme_sync --workspace-root "${WORKSPACE_DIR}" || true + run_checked "hs-readme-sync" python3 -c ' +import os +from pathlib import Path +from hyperstitionstud_io.publishing.readme_sync import sync_all_repo_readmes + +ws = Path(os.environ["WORKSPACE_DIR"]) +for target in ("ingglish-hyperdope-gematria", "hyperdope-ci-build", "haiperdohp-jemaytreeah"): + sync_all_repo_readmes(ws_root=ws, target_repo=target) +' fi if [[ "${DO_PUSH}" -eq 0 ]]; then @@ -238,9 +273,18 @@ for entry in \ if [[ "${r_name}" == "haiperdohp-jemaytreeah" ]] && git -C "${r_dir}" remote | grep -qx "downstream"; then r_remote="downstream" fi + cur_b="$(git -C "${r_dir}" branch --show-current)" + if [[ -n "${cur_b}" ]] && [[ "${cur_b}" != "${r_branch}" ]]; then + run_checked "git checkout ${r_branch} (${r_name})" git -C "${r_dir}" checkout "${r_branch}" + run_checked "git merge --ff-only ${cur_b} (${r_name})" git -C "${r_dir}" merge --ff-only "${cur_b}" + fi git -C "${r_dir}" add -A if ! git -C "${r_dir}" diff --cached --quiet; then run_checked "git commit (${r_name})" git -C "${r_dir}" commit -m "${COMMIT_MSG}" + fi + local_sha="$(git -C "${r_dir}" rev-parse HEAD)" + remote_sha="$(git -C "${r_dir}" rev-parse "${r_remote}/${r_branch}" 2>&1 || echo "")" + if [[ "${local_sha}" != "${remote_sha}" ]]; then run_checked "git pull --rebase (${r_name})" git -C "${r_dir}" pull --rebase --autostash "${r_remote}" "${r_branch}" run_checked "git push (${r_name})" git -C "${r_dir}" push "${r_remote}" "${r_branch}" echo " -> Pushed ${r_name} (${r_remote}/${r_branch})" diff --git a/packaging/bundle/scripts/synthesize_news_dossier_openrouter.py b/packaging/bundle/scripts/synthesize_news_dossier_openrouter.py index 1e03c59..d75247d 100755 --- a/packaging/bundle/scripts/synthesize_news_dossier_openrouter.py +++ b/packaging/bundle/scripts/synthesize_news_dossier_openrouter.py @@ -1,736 +1,30 @@ #!/usr/bin/env python3 -""" -synthesize_news_dossier_openrouter.py -Step B of the Daily 00:00 UTC Current-Events Isopsephic Exegesis Pipeline (`PLAN-FEDORA41-EXEGESIS-CRONJOB-PACKAGE-AND-GIT-PUSH-WORKER`). - -Responsibilities: - 1. Pure-Python Combinatorial Equation Engine (`solve_cluster_equations_333_666_777()`): - - Solves exact Scale I (`333`), Scale II (`666`), and Scale III (`777`) non-padded Ingglish equations - from `collect_news_aq.py` harvest output using dictionary-verified English/Ingglish vocabulary so - 100% of generated equations pass `ci_provision_ingglish.py` Gates 1-4 (`aq_mismatches == 0`). - 2. OpenRouter API Client (`call_openrouter_exegesis()`): - - Calls `https://openrouter.ai/api/v1/chat/completions` using `OPENROUTER_API_KEY` (and `OPENROUTER_MODEL`, - default `google/gemini-2.5-pro`) to synthesize Section 1 (`Semiotic, Archetypal & Hyperstitional Analysis`) - and Section 2 (`Atomic Lexicon & Remarkable Isopsephic Identities`), while embedding the pre-solved - `333 / 666 / 777` equation blocks in Sections 3, 4, and 5 verbatim. - - Automatically verifies every equation line post-generation and splices the pre-verified Python - equation blocks if the LLM modified any equation line. - 3. Archive Registration (`update_archive_index_md()`): - - Writes `-dossier-news-YYYY-MM-DD.md` in `ingglish-aq-archive/` and appends the new dossier's - summary entry and ingestion log line to `ingglish-aq-archive/00-index-and-methodology.md`. -""" - +"""Thin delegator to canonical ingglish-aq-archive/scripts/synthesize_news_dossier_openrouter.py.""" from __future__ import annotations -import argparse -import json import os -import re -import ssl -import sys -import urllib.request +import runpy from pathlib import Path -from typing import Any -OPENROUTER_DEFAULT_URL = "https://openrouter.ai/api/v1/chat/completions" -OPENROUTER_DEFAULT_MODEL = "google/gemini-2.5-pro" +_SCRIPT_NAME = "synthesize_news_dossier_openrouter.py" -def compute_aq(text: str) -> int: - total = 0 - for ch in text.lower(): - if "0" <= ch <= "9": - total += ord(ch) - 48 - elif "a" <= ch <= "z": - total += (ord(ch) - 97) + 10 - return total - - -# Dictionary-verified `(ing, eng, aq)` building blocks (100% standard English glosses so CI Gate 2 keep_rate == 100%) -_VERBS: list[tuple[str, str, int]] = [ - ("hits", "hits", 92), - ("loks", "locks", 93), - ("baks", "backs", 69), - ("aymz", "aims", 101), - ("leedz", "leads", 97), - ("roolz", "rules", 131), - ("marks", "marks", 107), - ("meets", "meets", 107), - ("cheks", "checks", 91), - ("moovz", "moves", 136), - ("bloks", "blocks", 104), - ("farmz", "farms", 109), - ("waips", "wipes", 113), - ("traks", "tracks", 114), - ("drops", "drops", 117), - ("shohz", "shows", 121), - ("winz", "wins", 108), - ("lifts", "lifts", 111), - ("prohbz", "probes", 139), - ("stops", "stops", 134), - ("ruhnz", "runs", 132), - ("brayks", "breaks", 130), - ("gardz", "guards", 101), - ("kawlz", "calls", 118), - ("ohpanz", "opens", 134), - ("beets", "beats", 96), - ("drawz", "draws", 117), - ("pulz", "pulls", 111), - ("bildz", "builds", 98), - ("keeps", "keeps", 101), - ("klaymz", "claims", 142), - ("filz", "fills", 89), - ("helps", "helps", 105), - ("chilz", "chills", 103), - ("traysaz", "traces", 173), -] - -_ADJS: list[tuple[str, str, int]] = [ - ("red", "red", 54), - ("noo", "new", 71), - ("top", "top", 78), - ("ful", "full", 66), - ("hai", "high", 45), - ("deep", "deep", 66), - ("dark", "dark", 70), - ("fast", "fast", 82), - ("reel", "real", 76), - ("sayf", "safe", 87), - ("stif", "stiff", 90), - ("waid", "wide", 73), - ("mayn", "main", 89), - ("kleen", "clean", 92), - ("brait", "bright", 95), - ("rapad", "rapid", 85), - ("praim", "prime", 102), - ("sharp", "sharp", 107), - ("sival", "civil", 108), - ("french", "french", 108), - ("bigast", "biggest", 112), - ("ferst", "first", 113), - ("joint", "joint", 113), - ("lohkal", "local", 113), - ("smart", "smart", 116), - ("pyur", "pure", 116), - ("derekt", "direct", 117), - ("vairal", "viral", 117), - ("glohbal", "global", 120), - ("modern", "modern", 123), - ("normal", "normal", 127), - ("nayval", "naval", 129), - ("tohtal", "total", 130), - ("eeratik", "erratic", 132), - ("lohnlee", "lonely", 134), - ("puhblik", "public", 142), - ("sohshal", "social", 145), - ("vaialant", "violent", 152), - ("kathartik", "cathartic", 180), - ("yoonaitid", "united", 193), -] - -_NOUNS: list[tuple[str, str, int]] = [ - ("ai", "eye", 28), - ("bed", "bed", 38), - ("bid", "bid", 42), - ("lab", "lab", 42), - ("fee", "fee", 43), - ("ban", "ban", 44), - ("kee", "key", 48), - ("end", "end", 50), - ("bil", "bill", 50), - ("leg", "leg", 51), - ("boi", "boy", 53), - ("gas", "gas", 54), - ("job", "job", 54), - ("air", "air", 55), - ("ais", "ice", 56), - ("web", "web", 57), - ("day", "day", 57), - ("akt", "act", 59), - ("buk", "book", 61), - ("deel", "deal", 62), - ("pen", "pen", 62), - ("law", "law", 63), - ("van", "van", 64), - ("lip", "lip", 64), - ("aira", "era", 65), - ("abis", "abyss", 67), - ("roh", "row", 68), - ("bond", "bond", 71), - ("lain", "line", 72), - ("main", "mine", 73), - ("grid", "grid", 74), - ("kohd", "code", 74), - ("waif", "wife", 75), - ("huhb", "hub", 75), - ("film", "film", 76), - ("feeld", "field", 77), - ("kamp", "camp", 77), - ("teem", "team", 79), - ("plan", "plan", 79), - ("hohm", "home", 80), - ("rohd", "road", 81), - ("gaym", "game", 82), - ("hart", "heart", 83), - ("ring", "ring", 84), - ("tree", "tree", 84), - ("faier", "fire", 84), - ("lohn", "loan", 85), - ("buhs", "bus", 86), - ("trak", "track", 86), - ("guhn", "gun", 86), - ("taks", "tax", 87), - ("ship", "ship", 88), - ("last", "last", 88), - ("skin", "skin", 89), - ("yeer", "year", 89), - ("rohl", "role", 89), - ("roof", "roof", 90), - ("greek", "greek", 91), - ("shop", "shop", 94), - ("wawl", "wall", 95), - ("dayta", "data", 96), - ("suhm", "sum", 97), - ("fuhnd", "fund", 98), - ("kort", "court", 100), - ("voht", "vote", 101), - ("sitee", "city", 103), - ("drohn", "drone", 104), - ("port", "port", 105), - ("werld", "world", 107), - ("sawng", "song", 109), - ("vyoo", "view", 113), - ("kroud", "crowd", 114), - ("praiz", "prize", 115), - ("groop", "group", 116), - ("tawks", "talks", 119), - ("fyooal", "fuel", 128), - ("straik", "strike", 132), - ("sistam", "system", 135), -] - -_PREPS: list[tuple[str, str, int]] = [ - ("at", "at", 39), - ("bai", "by", 39), - ("in", "in", 41), - ("az", "as", 45), - ("on", "on", 47), - ("for", "for", 66), - ("too", "to", 77), - ("uhv", "of", 78), - ("widh", "with", 80), - ("fruhm", "from", 111), - ("ohver", "over", 113), - ("uhnder", "under", 124), -] - - -def _extract_subject_anchors(harvest: dict[str, Any]) -> list[dict[str, Any]]: - anchors: list[dict[str, Any]] = [] - seen_ing: set[str] = set() - for ent in harvest.get("entities") or []: - ing = str(ent.get("ing") or "").strip().lower() - eng = str(ent.get("eng") or "").strip() - aq = int(ent.get("ing_aq") or compute_aq(ing)) - if not ing or " " in ing or not ing.isalpha() or len(ing) < 3: - continue - if not (45 <= aq <= 230) or ing in seen_ing: - continue - seen_ing.add(ing) - anchors.append( - { - "ing": ing, - "eng": eng, - "aq": aq, - "story": str(ent.get("story") or "Global Wire"), - } - ) - if len(anchors) >= 15: - break - - if len(anchors) < 10: - fallback_subjects = [ - ("envideea", "Nvidia", 137, "Silicon & AI Wire"), - ("pakistan", "Pakistan", 163, "South Asia Wire"), - ("bangladesh", "Bangladesh", 163, "South Asia Wire"), - ("sanchez", "Sánchez", 139, "European Election Wire"), - ("spanish", "Spanish", 149, "European Election Wire"), - ("airport", "airport", 160, "Global Aviation Wire"), - ("jensan", "Jensen", 117, "Tech Executive Wire"), - ("muhsk", "Musk", 117, "Election & Tech Wire"), - ("kenya", "Kenya", 101, "East Africa Wire"), - ("drezdin", "Dresden", 143, "Central Europe Wire"), - ] - for s_ing, s_eng, s_aq, s_st in fallback_subjects: - if s_ing not in seen_ing: - seen_ing.add(s_ing) - anchors.append({"ing": s_ing, "eng": s_eng, "aq": s_aq, "story": s_st}) - return anchors[:10] - - -def _format_eq_line( - words_ing: list[str], - words_eng: list[str], - target_sum: int, - story_tag: str, -) -> str: - ing_phrase = " ".join(words_ing) - eng_phrase = " ".join(words_eng) - parts = [f"{w} ({compute_aq(w)})" for w in words_ing] - total = sum(compute_aq(w) for w in words_ing) - assert total == target_sum, f"Arithmetic mismatch: {ing_phrase} -> {total} != {target_sum}" - brk = " + ".join(parts) - clean_tag = re.sub(r"[\[\]\n\r]+", " ", story_tag).strip()[:85] - return f'- `{ing_phrase}` ("{eng_phrase}") — `{brk} = {target_sum}` [{clean_tag}, {target_sum}]' - - -def solve_cluster_equations_333_666_777(harvest: dict[str, Any]) -> dict[str, list[str]]: - """ - Deterministically solve 10 Scale I (`333`), 10 Scale II (`666`), and 10 Scale III (`777`) - non-padded Ingglish equations (`30` total) with 0 AQ sum mismatches. - """ - anchors = _extract_subject_anchors(harvest) - eq_333: list[str] = [] - eq_666: list[str] = [] - eq_777: list[str] = [] - used_phrases: set[str] = set() - - # 1. Solve Scale I: AQ = 333 -> ` dha ` or `dha ` - noun_by_aq: dict[int, list[tuple[str, str, int]]] = {} - for n_item in _NOUNS: - noun_by_aq.setdefault(n_item[2], []).append(n_item) - - for anc in anchors: - s_ing, s_eng, s_aq, st = anc["ing"], anc["eng"], anc["aq"], anc["story"] - found = False - # Pattern A: subj + verb + dha (40) + noun == 333 - for v_ing, v_eng, v_aq in _VERBS: - rem = 333 - (s_aq + v_aq + 40) - if rem in noun_by_aq: - for n_ing, n_eng, _ in noun_by_aq[rem]: - if len({s_ing, v_ing, n_ing}) < 3: - continue - w_ing = [s_ing, v_ing, "dha", n_ing] - ph = " ".join(w_ing) - if ph not in used_phrases: - used_phrases.add(ph) - eq_333.append(_format_eq_line(w_ing, [s_eng, v_eng, "the", n_eng], 333, st)) - found = True - break - if found: - break - if not found: - # Pattern B: dha (40) + noun + prep + subj == 333 - for p_ing, p_eng, p_aq in _PREPS: - rem = 333 - (40 + p_aq + s_aq) - if rem in noun_by_aq: - n_ing, n_eng, _ = noun_by_aq[rem][0] - w_ing = ["dha", n_ing, p_ing, s_ing] - ph = " ".join(w_ing) - if ph not in used_phrases: - used_phrases.add(ph) - eq_333.append(_format_eq_line(w_ing, ["the", n_eng, p_eng, s_eng], 333, st)) - break - - # 2. Solve Scale II: AQ = 666 -> ` dha dha ` - for anc in anchors: - s_ing, s_eng, s_aq, st = anc["ing"], anc["eng"], anc["aq"], anc["story"] - found_for_anc = 0 - for v_ing, v_eng, v_aq in _VERBS: - for a_ing, a_eng, a_aq in _ADJS: - for n1_ing, n1_eng, n1_aq in _NOUNS[:35]: - for p_ing, p_eng, p_aq in _PREPS[:8]: - rem = 666 - (s_aq + v_aq + 40 + a_aq + n1_aq + p_aq + 40) - if rem in noun_by_aq: - for n2_ing, n2_eng, _ in noun_by_aq[rem]: - if len({s_ing, v_ing, a_ing, n1_ing, n2_ing}) < 5: - continue - w_ing = [s_ing, v_ing, "dha", a_ing, n1_ing, p_ing, "dha", n2_ing] - ph = " ".join(w_ing) - if ph not in used_phrases: - used_phrases.add(ph) - eq_666.append( - _format_eq_line( - w_ing, - [s_eng, v_eng, "the", a_eng, n1_eng, p_eng, "the", n2_eng], - 666, - st, - ) - ) - found_for_anc += 1 - break - if found_for_anc >= 1: - break - if found_for_anc >= 1: - break - if found_for_anc >= 1: - break - if found_for_anc >= 1: - break - - # 3. Solve Scale III: AQ = 777 -> ` dha dha ` - for anc in anchors: - s_ing, s_eng, s_aq, st = anc["ing"], anc["eng"], anc["aq"], anc["story"] - found_for_anc = 0 - for v_ing, v_eng, v_aq in _VERBS: - for a1_ing, a1_eng, a1_aq in _ADJS[:20]: - for n1_ing, n1_eng, n1_aq in _NOUNS[:25]: - for p_ing, p_eng, p_aq in _PREPS[:8]: - for a2_ing, a2_eng, a2_aq in _ADJS[5:25]: - if a1_ing == a2_ing: - continue - rem = 777 - (s_aq + v_aq + 40 + a1_aq + n1_aq + p_aq + 40 + a2_aq) - if rem in noun_by_aq: - for n2_ing, n2_eng, _ in noun_by_aq[rem]: - if len({s_ing, v_ing, a1_ing, n1_ing, a2_ing, n2_ing}) < 6: - continue - w_ing = [s_ing, v_ing, "dha", a1_ing, n1_ing, p_ing, "dha", a2_ing, n2_ing] - ph = " ".join(w_ing) - if ph not in used_phrases: - used_phrases.add(ph) - eq_777.append( - _format_eq_line( - w_ing, - [s_eng, v_eng, "the", a1_eng, n1_eng, p_eng, "the", a2_eng, n2_eng], - 777, - st, - ) - ) - found_for_anc += 1 - break - if found_for_anc >= 1: - break - if found_for_anc >= 1: - break - if found_for_anc >= 1: - break - if found_for_anc >= 1: - break - if found_for_anc >= 1: - break - - return { - "eq_333": eq_333[:10], - "eq_666": eq_666[:10], - "eq_777": eq_777[:10], - } - - -def _build_deterministic_sections_1_and_2(harvest: dict[str, Any], target_date: str) -> str: - counts = harvest.get("counts") or {} - headlines = (harvest.get("headlines") or [])[:12] - twins = (harvest.get("twin_prime_headlines") or [])[:5] - isometrics = (harvest.get("isometric_locks") or [])[:12] - collisions = list((harvest.get("cross_story_collisions") or {}).values())[:8] - - h_bullets = [] - for idx, h in enumerate(headlines[:8], start=1): - h_txt = str(h.get("headline") or "").strip() - e_aq = h.get("eng_aq") - i_aq = h.get("ing_aq") - delta = (int(i_aq) - int(e_aq)) if (e_aq is not None and i_aq is not None) else 0 - h_bullets.append( - f" - **Wire Cluster H{idx:02d} (`Eng {e_aq} -> Ing {i_aq}`, `Δ = {delta:+d}`):** `\"{h_txt}\"`" - ) - - lex_rows = [] - for c_obj in collisions[:6]: - aq_v = c_obj.get("aq") - mems = c_obj.get("members") or [] - eng_s = " / ".join(str(m.get("eng")) for m in mems[:3]) - ing_s = " / ".join(f"`{m.get('ing')}`" for m in mems[:3]) - fac_s = str(c_obj.get("factorization") or aq_v) - lex_rows.append(f"| {eng_s} | {ing_s} | `{aq_v}` | `{fac_s}` — Cross-story convergence lock |") - - for iso in isometrics[:6]: - lex_rows.append( - f"| {iso.get('eng')} | `{iso.get('ing')}` | `{iso.get('ing_aq')}` | **Type I Isometric Lock** (`AQ(Eng) == AQ(Ing)`) |" - ) - - if not lex_rows: - lex_rows.append("| Nvidia / Dynamo | `envideea` / `dainamoh` | `137` | **33rd prime** — Canonical silicon attractor |") - - twin_count = len(twins) - return ( - f"# Dossier: Current Events Ledger ({target_date}) — {counts.get('total_headlines', len(headlines))} Global Wire Headlines, " - f"{twin_count} Twin-Prime Headlines, {counts.get('cross_story_collision_classes', len(collisions))} Cross-Story Collision Classes & " - f"{counts.get('isometric_locks', len(isometrics))} Isometric Locks\n\n" - "## 1. Semiotic, Archetypal & Hyperstitional Analysis\n\n" - f"On `{target_date} UTC`—resolved via `collect_news_aq.py --mode closing-bell` (`TZ=UTC`, harvesting Wikipedia `Portal:Current_events`, " - f"BBC News RSS, and AP News Wire feeds)—the 24-hour global news cycle locked into interlocking numerical circuits across Base-36 Ingglish Alphanumeric Qabbala (AQ):\n\n" - + "\n".join(h_bullets) - + "\n\n" - "## 2. Atomic Lexicon & Remarkable Isopsephic Identities\n\n" - "| Entity / Concept | Ingglish | AQ | Prime / Archive Identity |\n" - "| :--- | :--- | :-- | :--- |\n" - + "\n".join(lex_rows) - ) - - -def call_openrouter_exegesis( - harvest: dict[str, Any], - solved_eqs: dict[str, list[str]], - target_date: str, - api_key: str, - model: str = OPENROUTER_DEFAULT_MODEL, - api_url: str = OPENROUTER_DEFAULT_URL, - timeout: float = 90.0, -) -> str: - """ - Call OpenRouter (`https://openrouter.ai/api/v1/chat/completions`) with `OPENROUTER_API_KEY` - to author Section 1 (Semiotic, Archetypal & Hyperstitional Analysis) and Section 2 (Atomic Lexicon table), - then append the pre-solved, arithmetically verified Sections 3, 4, and 5 (`333`, `666`, `777`). - """ - summary_input = { - "target_date_utc": target_date, - "counts": harvest.get("counts"), - "twin_prime_headlines": (harvest.get("twin_prime_headlines") or [])[:6], - "top_headlines": (harvest.get("headlines") or [])[:12], - "top_cross_story_collisions": dict(list((harvest.get("cross_story_collisions") or {}).items())[:10]), - "isometric_locks": (harvest.get("isometric_locks") or [])[:15], - "pre_solved_equations_preview": { - "scale_333_count": len(solved_eqs["eq_333"]), - "scale_666_count": len(solved_eqs["eq_666"]), - "scale_777_count": len(solved_eqs["eq_777"]), - }, - } - - system_prompt = ( - "You are the Current-Events Isopsephic Exegesis Engine for hyperstitionstud.io. " - "Write ONLY the Title (`# Dossier: Current Events Ledger ...`), `## 1. Semiotic, Archetypal & Hyperstitional Analysis`, " - "and `## 2. Atomic Lexicon & Remarkable Isopsephic Identities` (as a 4-column Markdown table: " - "`| Entity / Concept | Ingglish | AQ | Prime / Archive Identity |`) for the provided UTC news harvest JSON. " - "Use strictly the exact English and Ingglish AQ numbers provided in the JSON—never invent or guess any AQ sum. " - "Do NOT emit Sections 3, 4, or 5 (those pre-solved 333/666/777 equation sections are appended deterministically by the caller)." - ) - - req_body = json.dumps( - { - "model": model, - "temperature": 0.3, - "max_tokens": 2800, - "messages": [ - {"role": "system", "content": system_prompt}, - {"role": "user", "content": json.dumps(summary_input, ensure_ascii=False)}, - ], - } - ).encode("utf-8") - - req = urllib.request.Request( - api_url, - data=req_body, - headers={ - "Authorization": f"Bearer {api_key}", - "Content-Type": "application/json", - "HTTP-Referer": "https://hyperstitionstud.io", - "X-Title": "HyperstitionStudio-Ingglish-Exegesis", - "User-Agent": "HyperstitionStudio-Exegesis/2.13.0", - }, - method="POST", - ) - ctx = ssl.create_default_context() - ctx.minimum_version = ssl.TLSVersion.TLSv1_2 - with urllib.request.urlopen(req, timeout=timeout, context=ctx) as resp: # nosec B310 - resp_obj = json.loads(resp.read().decode("utf-8")) - - choices = resp_obj.get("choices") or [] - content = str(((choices[0].get("message") or {}).get("content")) or "").strip() if choices else "" - if not content or "## 1." not in content: - return _build_deterministic_sections_1_and_2(harvest, target_date) - # Strip any accidental Section 3/4/5 if the model emitted one so only our pre-verified equations appear - content = re.split(r"\n##\s+3\.", content, maxsplit=1)[0].strip() - return content - - -def assemble_and_verify_dossier_markdown( - header_and_sections_1_2: str, - solved_eqs: dict[str, list[str]], -) -> tuple[str, int]: - """ - Combine Sections 1-2 with the pre-solved Scale I (`333`), Scale II (`666`), and Scale III (`777`) - equations and verify that 100% of equation lines have `0` AQ sum mismatches. - """ - full_md = ( - header_and_sections_1_2.rstrip() - + "\n\n## 3. Scale I: AQ 333 Equations\n\n" - + "\n".join(solved_eqs["eq_333"]) - + "\n\n## 4. Scale II: AQ 666 Equations\n\n" - + "\n".join(solved_eqs["eq_666"]) - + "\n\n## 5. Scale III: AQ 777 Equations\n\n" - + "\n".join(solved_eqs["eq_777"]) - + "\n" - ) - - eq_pattern = re.compile(r'-\s+`([^`]+)`\s+\("([^"]+)"\)\s+—\s+`([^`]+)=\s*(\d+)`') - matches = list(eq_pattern.finditer(full_md)) - if not matches: - raise ValueError("Generated dossier contains 0 valid equation lines") - for m in matches: - ing_phrase, _, _, target_s = m.group(1).strip(), m.group(2).strip(), m.group(3).strip(), int(m.group(4)) - actual_sum = compute_aq(ing_phrase) - if actual_sum != target_s: - raise ValueError(f"AQ sum mismatch in generated dossier: {ing_phrase!r} -> {actual_sum} != {target_s}") - return full_md, len(matches) - - -def resolve_next_dossier_path(archive_dir: Path, target_date: str) -> tuple[Path, int, bool]: - """ - Return `(dossier_path, dossier_num, already_exists)` for `target_date` (`YYYY-MM-DD`). - """ - existing = sorted(archive_dir.glob(f"*-dossier-news-{target_date}.md")) - if existing: - m_num = re.match(r"^(\d+)-", existing[0].name) - return existing[0], (int(m_num.group(1)) if m_num else 73), True - - max_num = 24 - for p in archive_dir.glob("[0-9][0-9]*-*.md"): - m = re.match(r"^(\d+)-", p.name) - if m: - max_num = max(max_num, int(m.group(1))) - next_num = max_num + 1 - return archive_dir / f"{next_num:02d}-dossier-news-{target_date}.md", next_num, False - - -def update_archive_index_md( - archive_dir: Path, - dossier_filename: str, - target_date: str, - eq_count: int, - headline_count: int, -) -> bool: - idx_p = archive_dir / "00-index-and-methodology.md" - if not idx_p.is_file(): - return False - txt = idx_p.read_text(encoding="utf-8") - if dossier_filename in txt: - return False - - cat_c_bullet = ( - f"- `{dossier_filename}` — Cross-scale (`333 / 666 / 777`) current-events dossier for `{target_date}` " - f"(`{headline_count}` harvested global wire headlines; `{eq_count}` verified non-padded `333 / 666 / 777` Ingglish AQ equations)." - ) - if "### Category D:" in txt: - txt = txt.replace("### Category D:", f"{cat_c_bullet}\n\n### Category D:", 1) - else: - txt = txt.rstrip() + f"\n{cat_c_bullet}\n" - - log_bullet = ( - f"- **{target_date} (Daily 00:00 GMT Current-Events Pipeline):** Executed `scripts/collect_news_aq.py --mode closing-bell` " - f"(`target_date_utc = {target_date}`); ingested `{dossier_filename}` ({eq_count} non-padded `333 / 666 / 777` equations)." - ) - txt = txt.rstrip() + f"\n{log_bullet}\n" - idx_p.write_text(txt, encoding="utf-8") - return True - - -def synthesize_news_dossier( - harvest_path: str | Path, - archive_dir: str | Path, - api_key: str | None = None, - model: str | None = None, - api_url: str | None = None, - allow_deterministic_fallback: bool = False, - force: bool = False, -) -> dict[str, Any]: - h_path = Path(harvest_path).resolve() - arc_dir = Path(archive_dir).resolve() - harvest = json.loads(h_path.read_text(encoding="utf-8")) - target_date = str((harvest.get("temporal_metadata") or {}).get("target_date_utc") or "2026-12-01") - - dossier_p, dossier_num, already_exists = resolve_next_dossier_path(arc_dir, target_date) - if already_exists and not force: - return { - "ok": True, - "already_exists": True, - "target_date_utc": target_date, - "dossier_path": str(dossier_p), - "dossier_number": dossier_num, - } - - solved_eqs = solve_cluster_equations_333_666_777(harvest) - eff_key = (api_key if api_key is not None else os.environ.get("OPENROUTER_API_KEY", "")).strip() - eff_model = (model or os.environ.get("OPENROUTER_MODEL") or OPENROUTER_DEFAULT_MODEL).strip() - eff_url = (api_url or os.environ.get("OPENROUTER_API_URL") or OPENROUTER_DEFAULT_URL).strip() - - synthesis_mode = "openrouter_llm" - if eff_key: - try: - sec_1_2 = call_openrouter_exegesis( - harvest=harvest, - solved_eqs=solved_eqs, - target_date=target_date, - api_key=eff_key, - model=eff_model, - api_url=eff_url, - ) - except Exception as exc: - if not allow_deterministic_fallback: - raise RuntimeError(f"OpenRouter API synthesis failed: {exc}") from exc - sec_1_2 = _build_deterministic_sections_1_and_2(harvest, target_date) - synthesis_mode = "deterministic_fallback" - elif allow_deterministic_fallback: - sec_1_2 = _build_deterministic_sections_1_and_2(harvest, target_date) - synthesis_mode = "deterministic_structural" - else: - raise ValueError( - "OPENROUTER_API_KEY is not set. Export OPENROUTER_API_KEY in /etc/sysconfig/ingglish-exegesis or pass --allow-deterministic-fallback." - ) - - full_md, eq_cnt = assemble_and_verify_dossier_markdown(sec_1_2, solved_eqs) - dossier_p.write_text(full_md, encoding="utf-8") - idx_updated = update_archive_index_md( - archive_dir=arc_dir, - dossier_filename=dossier_p.name, - target_date=target_date, - eq_count=eq_cnt, - headline_count=int((harvest.get("counts") or {}).get("total_headlines") or 0), - ) - - return { - "ok": True, - "already_exists": False, - "synthesis_mode": synthesis_mode, - "model": eff_model if synthesis_mode == "openrouter_llm" else "deterministic", - "target_date_utc": target_date, - "dossier_number": dossier_num, - "dossier_path": str(dossier_p), - "equations_verified_count": eq_cnt, - "aq_mismatches": 0, - "index_updated": idx_updated, - } - - -def main(argv: list[str] | None = None) -> int: - ap = argparse.ArgumentParser( - description="Step B OpenRouter Exegesis Synthesizer & Pre-Solved 333/666/777 Equation Compiler." - ) - ap.add_argument("--harvest", required=True, help="Path to news-aq-harvest-YYYY-MM-DD.json from collect_news_aq.py") - ap.add_argument( - "--archive-dir", - default="/workspace/ingglish-hyperdope-gematria/ingglish-aq-archive", - help="Path to ingglish-aq-archive directory", - ) - ap.add_argument("--model", default=None, help="OpenRouter model ID (default: OPENROUTER_MODEL or google/gemini-2.5-pro)") - ap.add_argument("--api-url", default=None, help="OpenRouter chat completions endpoint URL") - ap.add_argument( - "--allow-deterministic-fallback", - action="store_true", - help="Allow deterministic structural synthesis if OPENROUTER_API_KEY is absent or offline", - ) - ap.add_argument("--force", action="store_true", help="Overwrite dossier if target_date_utc already exists") - args = ap.parse_args(argv) - - res = synthesize_news_dossier( - harvest_path=args.harvest, - archive_dir=args.archive_dir, - model=args.model, - api_url=args.api_url, - allow_deterministic_fallback=args.allow_deterministic_fallback, - force=args.force, - ) - print(json.dumps(res, indent=2, ensure_ascii=False)) - return 0 if res.get("ok") else 1 +def _resolve_canonical() -> Path: + here = Path(__file__).resolve() + for anc in here.parents: + cand = anc / "ingglish-aq-archive" / "scripts" / _SCRIPT_NAME + if cand.is_file() and cand.resolve() != here: + return cand + ws = Path(os.environ.get("WORKSPACE_DIR", "/workspace")) + for cand in ( + ws / "ingglish-hyperdope-gematria" / "ingglish-aq-archive" / "scripts" / _SCRIPT_NAME, + ws / "ingglish-aq-archive" / "scripts" / _SCRIPT_NAME, + Path("/usr/libexec/ingglish-exegesis/scripts") / _SCRIPT_NAME, + ): + if cand.is_file() and cand.resolve() != here: + return cand + raise FileNotFoundError(f"Canonical script not found: {_SCRIPT_NAME}") if __name__ == "__main__": - raise SystemExit(main()) + runpy.run_path(str(_resolve_canonical()), run_name="__main__") diff --git a/packaging/bundle/skills/aq-tier-list-visualizer/scripts/generate_aq_tier_list.py b/packaging/bundle/skills/aq-tier-list-visualizer/scripts/generate_aq_tier_list.py index ad8651d..e5df7bf 100755 --- a/packaging/bundle/skills/aq-tier-list-visualizer/scripts/generate_aq_tier_list.py +++ b/packaging/bundle/skills/aq-tier-list-visualizer/scripts/generate_aq_tier_list.py @@ -1,462 +1,30 @@ #!/usr/bin/env python3 -""" -Generate synchronized Markdown (.md), ReportLab PDF (.pdf), and TierMaker-style S+ to F PNG (.png) -tier lists from all bidirectional AQ evaluations in an archive directory. -""" -import argparse -import glob +"""Thin delegator to canonical ingglish-aq-archive/scripts/generate_aq_tier_list.py.""" +from __future__ import annotations + import os -import re -from xml.sax.saxutils import escape +import runpy +from pathlib import Path + +_SCRIPT_NAME = "generate_aq_tier_list.py" -def aq(s: str) -> int: - return sum( - (ord(c) - 48 if "0" <= c <= "9" else ord(c) - 87 if "a" <= c <= "z" else 0) - for c in s.lower() - ) - - -def is_prime(n: int) -> bool: - if n < 2: - return False - for i in range(2, int(n**0.5) + 1): - if n % i == 0: - return False - return True - - -def collect_evaluations(archive_dir: str): - if not os.path.exists(archive_dir) and os.path.exists("/workspace/ingglish-aq-archive"): - archive_dir = "/workspace/ingglish-aq-archive" - eval_paths = sorted(glob.glob(os.path.join(archive_dir, "[34]*-eval-*-bidirectional.md"))) - rows = [] - for p in eval_paths: - with open(p, "r", encoding="utf-8") as f: - text = f.read() - eval_file = os.path.basename(p) - eval_num = re.match(r"^(\d+)-", eval_file).group(1) - title_m = re.search(r"^#\s+Bidirectional AQ Evaluation[^:]*:\s*(.+)$", text, re.M) - dossier_m = re.search(r"\*\*Source Dossier:\*\*\s*`([^`]+)`", text) - score_m = re.search( - r"\*\*Composite Fitness Score \(Option 4 Curve\):\*\*\s*\*\*(\d+)\s*/\s*100\s*—\s*(Class [SAB])[^*]*\*\*\s*\*\(Uncurved Raw Score:\s*(\d+)\s*/\s*100\)\*", - text, - ) - dims = [ - int(x) - for x in re.findall(r"\|\s*\*\*[1-5]\.[^*]+\*\*\s*\|\s*\*\*(\d+)\s*/\s*20\*\*", text) - ] - - dossier_file = os.path.basename(dossier_m.group(1)) if dossier_m else "" - dossier_num = re.match(r"^(\d+)-", dossier_file).group(1) if dossier_file else "" - dp = os.path.join(archive_dir, dossier_file) - with open(dp, "r", encoding="utf-8") as df: - dt = df.read() - - eqs = re.findall(r'-\s+`([^`]+)`\s+\("([^"]+)"\)\s+—\s+`([^`]+)=\s*(\d+)`', dt) - iso_w = tot_w = p_ing = pad_cnt = iso_cl = 0 - deltas = [] - for ing, eng, _, _ in eqs: - if "seekrat" in ing or "hidan" in ing: - pad_cnt += 1 - ec = re.sub(r"[^\w\s-]", "", eng) - ic = re.sub(r"[^\w\s-]", "", ing) - d = aq(ic) - aq(ec) - deltas.append(d) - if d == 0: - iso_cl += 1 - ew, iw = ec.split(), ic.split() - if len(ew) == len(iw): - for w1, w2 in zip(ew, iw): - tot_w += 1 - if aq(w1) == aq(w2): - iso_w += 1 - if is_prime(aq(w2)): - p_ing += 1 - - ledger_rows = re.findall( - r"^\|\s*\*\*([^*]+)\*\*\s*\|\s*`[^`]+`\s*\|\s*[^|]+\|\s*([^|]+)\|\s*`[^`]+`\s*\|\s*([^|]+)\|", - text, - re.M, - ) - lock1 = f"{ledger_rows[0][0].strip()}: {ledger_rows[0][1].strip()}" if len(ledger_rows) > 0 else "" - lock2 = f"{ledger_rows[1][0].strip()}: {ledger_rows[1][1].strip()}" if len(ledger_rows) > 1 else "" - lock1 = re.sub(r"`", "", lock1)[:42] - lock2 = re.sub(r"`", "", lock2)[:42] - - short_title = title_m.group(1).strip() if title_m else eval_file - for pref in [ - "John Carpenter's ", "Paul W. S. Anderson's ", "Alex Garland's ", - "David Cronenberg's ", "Jonathan Glazer's ", "Richard Stanley's ", - "Clive Barker's ", "Kostanski & Gillespie's ", "Andrzej Zulawski's ", - ]: - if short_title.startswith(pref): - short_title = short_title[len(pref):] - if len(short_title) > 30: - short_title = re.sub(r"\s*\([^)]*\)$", "", short_title) - if len(short_title) > 30: - short_title = short_title[:28].rstrip() + ".." - - rows.append( - { - "eval_file": eval_file, - "eval_num": eval_num, - "dossier_file": dossier_file, - "dossier_num": dossier_num, - "title": short_title, - "curve_score": int(score_m.group(1)), - "raw_score": int(score_m.group(3)), - "dims": dims, - "n_eq": len(eqs), - "iso_w_pct": 100.0 * iso_w / max(1, tot_w), - "prime_ing_pct": 100.0 * p_ing / max(1, tot_w), - "mean_delta": sum(abs(x) for x in deltas) / max(1, len(deltas)), - "pad_pct": 100.0 * pad_cnt / max(1, len(eqs)), - "iso_cl": iso_cl, - "lock1": lock1, - "lock2": lock2, - } - ) - - rows.sort(key=lambda x: (-x["curve_score"], -x["iso_cl"], x["mean_delta"], -x["iso_w_pct"])) - for idx, r in enumerate(rows, 1): - r["rank"] = f"#{idx}" - sc = r["curve_score"] - if sc >= 95: - r["tier_Band"] = "S+" - elif sc >= 90: - r["tier_Band"] = "S" - elif sc >= 81: - r["tier_Band"] = "A" - elif sc >= 72: - r["tier_Band"] = "B" - elif sc >= 66: - r["tier_Band"] = "C" - elif sc >= 60: - r["tier_Band"] = "D" - else: - r["tier_Band"] = "F" - return rows - - -def render_md_and_pdf(rows, out_md: str, out_pdf: str): - tot_eqs = sum(r["n_eq"] for r in rows) - lines = [ - f"# Master Bidirectional AQ Evaluation Tier List (All {len(rows)} Dossiers)", - "", - "- **Active Grading Standard:** Option #4 — Hybrid Numogrammatic Curve (`Class S >= 90`, `Class A >= 81 [3⁴]`, `Class B >= 72`, `C/D/F < 72`)", - f"- **Total Corpus Audited:** {len(rows)} Dossiers, {len(rows)} Bidirectional Evaluations, **{tot_eqs} verified cross-scale equations** (`333`, `666`, `777`)", - "- **Tie-Breaking Protocol:** Within identical composite scores, entries are ordered by (1) Full-Clause Repdigit Isometry count (`Δ = 0` at `333/666/777`), then (2) lowest Mean Clause Drift (`Mean |Δ|`), then (3) highest Isometric Word %.", - "", - "---", - "", - "## 1. Master Quantitative Leaderboard (S+ to F)", - "", - "| Rank | Tier | Option #4 Score (Raw) | D1 / D2 / D3 / D4 / D5 | Evaluation Record | Source Dossier | N_eq | Iso Word % | Prime Word % (Ing) | Mean Abs(Δ) | Padding % (`seekrat`/`hidan`) |", - "| :--- | :--- | :--- | :--- | :--- | :--- | :--- | :--- | :--- | :--- | :--- |", - ] - for r in rows: - d_str = " / ".join(str(x) for x in r["dims"]) - lines.append( - f"| **{r['rank']}** | **Class {r['tier_Band']}** | **{r['curve_score']} / 100** *({r['raw_score']})* | `{d_str}` | `{r['eval_file']}` | `{r['dossier_file']}` | {r['n_eq']} | {r['iso_w_pct']:.1f}% | {r['prime_ing_pct']:.1f}% | {r['mean_delta']:.1f} | {r['pad_pct']:.1f}% |" - ) - lines.extend( - [ - "", - "---", - "", - "## 2. Unpopulated Lower Tiers (`C / D / F` Diagnostic Thresholds)", - "", - "- **Tier C (`66 – 71 pts`, Mint Green `#7FFF7F` — High-Padding Band):** `0 Dossiers`. Reserved for dossiers with `>60%` generic `seekrat/hidan` padding and zero compensating `Δ = 0` full-clause or consecutive-prime rarity locks.", - "- **Tier D (`60 – 65 pts`, Sky Blue `#7FBFFF` — Marginal Band):** `0 Dossiers`. Reserved for dossiers with `0` independent domain-native equivalence classes, `<10%` prime word density, and `Mean |Δ| > 50`.", - f"- **Tier F (`< 60 pts`, Violet `#BF7FFF` — Discard Band):** `0 Dossiers`. Rejected by Post-Write Arithmetic Audit (`{tot_eqs} / {tot_eqs}` archive equations verified exact with `0` sum mismatches).", - ] - ) - if out_md: - with open(out_md, "w", encoding="utf-8") as f: - f.write("\n".join(lines) + "\n") - - if out_pdf and out_md and os.path.exists(out_md): - try: - from reportlab.lib.pagesizes import letter - except ImportError: - import subprocess, sys - subprocess.run( - [sys.executable, "-m", "pip", "install", "--root-user-action=ignore", "--cache-dir", "/tmp/.pip", "reportlab", "pypdf", "pdfplumber"], - check=True, - stdout=subprocess.DEVNULL, - ) - from reportlab.lib.pagesizes import letter - from reportlab.lib.styles import getSampleStyleSheet, ParagraphStyle - from reportlab.lib import colors - from reportlab.platypus import SimpleDocTemplate, Paragraph, Spacer, HRFlowable - - def fmt_inline(text): - text = escape(text) - text = text.replace("Δ", 'D') - text = text.replace("μ", 'm') - text = text.replace("σ", 's') - text = text.replace("π", 'p') - text = ( - text.replace("⁴", "4") - .replace("⁵", "5") - .replace("⁶", "6") - .replace("⁷", "7") - ) - code_spans = [] - - def _save_code(m): - idx = len(code_spans) - code_spans.append(f'{m.group(1)}') - return f"\x00CODE{idx}\x00" - - text = re.sub(r"`([^`]+)`", _save_code, text) - text = re.sub(r"\*\*([^*]+)\*\*", r"\1", text) - text = re.sub(r"\*([^*]+)\*", r"\1", text) - for idx, span in enumerate(code_spans): - text = text.replace(f"\x00CODE{idx}\x00", span) - return text - - def add_page_number(canvas, doc): - canvas.saveState() - canvas.setFont("Helvetica", 9) - canvas.setFillColor(colors.HexColor("#555555")) - canvas.drawRightString(letter[0] - 54, 36, f"Page {doc.page}") - canvas.restoreState() - - with open(out_md, "r", encoding="utf-8") as f: - md_lines = f.read().splitlines() - - doc = SimpleDocTemplate(out_pdf, pagesize=letter, leftMargin=54, rightMargin=54, topMargin=54, bottomMargin=54) - styles = getSampleStyleSheet() - h1 = ParagraphStyle("H1", parent=styles["Heading1"], fontName="Helvetica-Bold", fontSize=15, leading=19, spaceAfter=8) - h2 = ParagraphStyle("H2", parent=styles["Heading2"], fontName="Helvetica-Bold", fontSize=12.5, leading=16, spaceBefore=10, spaceAfter=6) - h3 = ParagraphStyle("H3", parent=styles["Heading3"], fontName="Helvetica-Bold", fontSize=10.5, leading=14, spaceBefore=8, spaceAfter=4) - body = ParagraphStyle("Body", parent=styles["Normal"], fontName="Helvetica", fontSize=9.5, leading=13.5, spaceAfter=5) - bullet = ParagraphStyle("Bullet", parent=body, leftIndent=14, firstLineIndent=-8, spaceAfter=4) - - story, headers, in_table, in_code = [], [], False, False - for line in md_lines: - s = line.strip() - if s.startswith("```"): - in_code = not in_code - continue - if in_code or not s: - if not s: - in_table, headers = False, [] - continue - if s == "---": - story.extend([Spacer(1, 4), HRFlowable(width="100%", thickness=0.6, color=colors.HexColor("#cccccc")), Spacer(1, 4)]) - continue - if s.startswith("|") and s.endswith("|"): - cells = [c.strip() for c in re.split(r'(?60% generic 'seekrat/hidan' padding and zero Full-Clause (Δ=0) or Consecutive-Prime Rarity Bonuses.", - ), - ( - "D", - "60 – 65 pts", - "MARGINAL", - "#7FBFFF", - "0 Dossiers in Tier D (60 – 65 pts — Marginal / Unanchored Scaffolding Band)", - "Threshold for dossiers with 0 independent domain-native equivalence locks, <10% prime word density, and Mean |Δ| > 50.", - ), - ( - "F", - "< 60 pts", - "DISCARD", - "#BF7FFF", - "0 Dossiers in Tier F (< 60 pts — Non-Deterministic / Arithmetic Failure / Discard)", - "Rejected by Post-Write Arithmetic Audit (100% of archive equations verified exact with 0 sum mismatches).", - ), - ] - - W = 1960 - MARGIN_X = 28 - HEADER_H = 118 - FOOTER_H = 64 - LABEL_W = 210 - ROW_GAP = 8 - CARD_W = 546 - CARD_H = 156 - CARD_GAP_X = 14 - CARD_GAP_Y = 14 - ROW_PAD_Y = 14 - ROW_PAD_X = 16 - - grouped = {t[0]: [] for t in tier_defs} - for r in rows: - grouped[r["tier_Band"]].append(r) - - tier_heights = [] - for t in tier_defs: - cards = grouped[t[0]] - if not cards: - tier_heights.append(104) - else: - rc = (len(cards) + 2) // 3 - tier_heights.append(ROW_PAD_Y * 2 + rc * CARD_H + (rc - 1) * CARD_GAP_Y) - - H = HEADER_H + sum(tier_heights) + ROW_GAP * (len(tier_defs) - 1) + FOOTER_H - img = Image.new("RGB", (W, H), "#121316") - draw = ImageDraw.Draw(img) - - tot_eqs = sum(r["n_eq"] for r in rows) - draw.rectangle([0, 0, W, HEADER_H - 8], fill="#18191D") - draw.line([(0, HEADER_H - 8), (W, HEADER_H - 8)], fill="#333640", width=2) - draw.text( - (MARGIN_X, 22), - "INGGLISH AQ ARCHIVE — MASTER BIDIRECTIONAL EVALUATION TIER LIST (S+ TO F)", - fill="#F5F6F8", - font=f_title, - ) - draw.text( - (MARGIN_X, 68), - f"All {len(rows)} Dossiers ({tot_eqs} Verified Equations) | Graded on Option #4: Hybrid Numogrammatic Curve (Class S >= 90, Class A >= 81 [3⁴], Class B >= 72, C/D/F < 72)", - fill="#A5AAB5", - font=f_subtitle, - ) - - def draw_centered(box, text, font, fill): - x0, y0, x1, y1 = box - bbox = draw.textbbox((0, 0), text, font=font) - tw, th_b = bbox[2] - bbox[0], bbox[3] - bbox[1] - tx = x0 + (x1 - x0 - tw) / 2 - bbox[0] - ty = y0 + (y1 - y0 - th_b) / 2 - bbox[1] - draw.text((tx, ty), text, fill=fill, font=font) - - cur_y = HEADER_H - for (label, rng, desc, bg, empty_t, empty_d), th in zip(tier_defs, tier_heights): - x0, x1 = MARGIN_X, W - MARGIN_X - y0, y1 = cur_y, cur_y + th - draw.rectangle([x0, y0, x1, y1], fill="#1E2026", outline="#090A0C", width=3) - - lx0, ly0, lx1, ly1 = x0 + 3, y0 + 3, x0 + LABEL_W, y1 - 3 - draw.rectangle([lx0, ly0, lx1, ly1], fill=bg) - draw.line([(lx1, ly0), (lx1, ly1)], fill="#090A0C", width=4) - - mid_y = (ly0 + ly1) / 2 - draw_centered((lx0, mid_y - 42, lx1, mid_y + 2), label, f_tier_big, "#111111") - draw_centered((lx0, mid_y + 10, lx1, mid_y + 26), rng, f_tier_sub, "#1A1A1A") - draw_centered((lx0, mid_y + 27, lx1, mid_y + 43), desc, f_tier_sub, "#2A2A2A") - - rx0, ry0 = lx1 + ROW_PAD_X, y0 + ROW_PAD_Y - cards = grouped[label] - if not cards: - ex0, ey0, ex1, ey1 = rx0, y0 + 16, x1 - ROW_PAD_X, y1 - 16 - draw.rounded_rectangle([ex0, ey0, ex1, ey1], radius=8, fill="#16181D", outline="#2C303A", width=2) - draw.rounded_rectangle([ex0, ey0, ex0 + 8, ey1], radius=4, fill=bg) - draw.text((ex0 + 24, ey0 + 14), empty_t, fill="#C8CDD8", font=f_empty_bold) - draw.text((ex0 + 24, ey0 + 42), empty_d, fill="#7F8594", font=f_empty) - else: - for idx, c in enumerate(cards): - col, row = idx % 3, idx // 3 - cx0 = rx0 + col * (CARD_W + CARD_GAP_X) - cy0 = ry0 + row * (CARD_H + CARD_GAP_Y) - cx1, cy1 = cx0 + CARD_W, cy0 + CARD_H - - draw.rounded_rectangle([cx0, cy0, cx1, cy1], radius=8, fill="#262932", outline="#383C4A", width=2) - draw.rounded_rectangle([cx0, cy0, cx1, cy0 + 6], radius=4, fill=bg) - - draw.rounded_rectangle([cx0 + 12, cy0 + 14, cx0 + 60, cy0 + 40], radius=5, fill="#15171C", outline=bg, width=1) - draw_centered((cx0 + 12, cy0 + 14, cx0 + 60, cy0 + 40), c["rank"], f_card_rank, bg) - - score_txt = f"{c['curve_score']}/100 (Raw {c['raw_score']})" - sb_w = 158 - draw.rounded_rectangle([cx1 - sb_w - 12, cy0 + 14, cx1 - 12, cy0 + 40], radius=5, fill="#15171C", outline="#454A59", width=1) - draw_centered((cx1 - sb_w - 12, cy0 + 14, cx1 - 12, cy0 + 40), score_txt, f_card_rank, "#F0F2F5") - - codes = f"Eval {c['eval_num']} • Dossier {c['dossier_num']}" - draw.text((cx0 + 70, cy0 + 19), codes, fill="#9DA3B4", font=f_card_dossier) - draw.text((cx0 + 14, cy0 + 47), c["title"], fill="#FFFFFF", font=f_card_title) - draw.line([(cx0 + 14, cy0 + 74), (cx1 - 14, cy0 + 74)], fill="#363A47", width=1) - - draw.text((cx0 + 14, cy0 + 80), "• " + c["lock1"], fill="#FFD97D", font=f_card_lock) - draw.text((cx0 + 14, cy0 + 99), "• " + c["lock2"], fill="#A8E6CF", font=f_card_lock) - - stats = f"IsoW: {c['iso_w_pct']:.1f}% | PrimeW: {c['prime_ing_pct']:.1f}% | Mean|Δ|: {c['mean_delta']:.1f} | Pad: {c['pad_pct']:.1f}%" - draw.rounded_rectangle([cx0 + 10, cy1 - 32, cx1 - 10, cy1 - 8], radius=4, fill="#1A1C23") - draw.text((cx0 + 16, cy1 - 28), stats, fill="#CED3E0", font=f_card_stat) - - cur_y += th + ROW_GAP - - fy = H - FOOTER_H + 16 - draw.text( - (MARGIN_X, fy), - "Rubric Dimensions (20 pts each): D1 = CMUdict Purity & Mean Clause Drift | D2 = Independent Domain-Native Collision Density | D3 = Repdigit & Prime Word Architecture (+Rarity Bonus) | D4 = Epistemological Fit | D5 = Anti-Padding Rate", - fill="#8C92A4", - font=f_footer, - ) - img.save(out_png, "PNG", optimize=True) - - -def main(): - ap = argparse.ArgumentParser() - ap.add_argument("--archive-dir", default="/workspace/ingglish-hyperdope-gematria/ingglish-aq-archive") - ap.add_argument("--out-md", default="/workspace/ingglish-hyperdope-gematria/dossier-bidirectional-eval-tier-list.md") - ap.add_argument("--out-pdf", default="/workspace/ingglish-hyperdope-gematria/dossier-bidirectional-eval-tier-list.pdf") - ap.add_argument("--out-png", default="/workspace/ingglish-hyperdope-gematria/dossier-bidirectional-eval-tier-list.png") - args = ap.parse_args() - - rows = collect_evaluations(args.archive_dir) - render_md_and_pdf(rows, args.out_md, args.out_pdf) - render_png(rows, args.out_png) - print(f"Ranked {len(rows)} evaluations -> {args.out_md}, {args.out_pdf}, {args.out_png}") +def _resolve_canonical() -> Path: + here = Path(__file__).resolve() + for anc in here.parents: + cand = anc / "ingglish-aq-archive" / "scripts" / _SCRIPT_NAME + if cand.is_file() and cand.resolve() != here: + return cand + ws = Path(os.environ.get("WORKSPACE_DIR", "/workspace")) + for cand in ( + ws / "ingglish-hyperdope-gematria" / "ingglish-aq-archive" / "scripts" / _SCRIPT_NAME, + ws / "ingglish-aq-archive" / "scripts" / _SCRIPT_NAME, + Path("/usr/libexec/ingglish-exegesis/scripts") / _SCRIPT_NAME, + ): + if cand.is_file() and cand.resolve() != here: + return cand + raise FileNotFoundError(f"Canonical script not found: {_SCRIPT_NAME}") if __name__ == "__main__": - main() + runpy.run_path(str(_resolve_canonical()), run_name="__main__") diff --git a/packaging/bundle/skills/bidirectional-aq-evaluation/scripts/evaluate_aq.mjs b/packaging/bundle/skills/bidirectional-aq-evaluation/scripts/evaluate_aq.mjs index a59a801..e7b5ace 100755 --- a/packaging/bundle/skills/bidirectional-aq-evaluation/scripts/evaluate_aq.mjs +++ b/packaging/bundle/skills/bidirectional-aq-evaluation/scripts/evaluate_aq.mjs @@ -1,361 +1,27 @@ #!/usr/bin/env node -/** - * evaluate_aq.mjs - * Deterministic Bidirectional English / Ingglish Alphanumeric Qabbala (AQ) Evaluator. - * Supports: - * Mode A (AND): --eng "" --ing "" - * Mode B (XOR Eng): --eng "" (generates Ingglish via CMUdict + archive lexicon) - * Mode C (XOR Ing): --ing "" (reconstructs English via archive lexicon + reverseTranslate + homophone forks) - */ - +// Thin delegator to canonical ingglish-aq-archive/scripts/evaluate_aq.mjs import fs from "node:fs"; import path from "node:path"; -import { pathToFileURL } from "node:url"; +import { fileURLToPath, pathToFileURL } from "node:url"; -async function loadIngglishModule() { - const candidates = [ - "/workspace/ingglish-hyperdope-gematria/node_modules/ingglish/dist/index.js", - "/workspace/node_modules/ingglish/dist/index.js", - "/opt/ingglish-exegesis/node_modules/ingglish/dist/index.js", - ]; - for (const p of candidates) { - if (fs.existsSync(p)) { - return await import(pathToFileURL(p).href); - } - } - return await import("ingglish"); -} +const here = fs.realpathSync(fileURLToPath(import.meta.url)); +const ws = process.env.WORKSPACE_DIR || "/workspace"; +const candidates = [ + path.resolve(path.dirname(here), "../../../ingglish-aq-archive/scripts/evaluate_aq.mjs"), + path.resolve(path.dirname(here), "../../../../ingglish-aq-archive/scripts/evaluate_aq.mjs"), + path.join(ws, "ingglish-hyperdope-gematria/ingglish-aq-archive/scripts/evaluate_aq.mjs"), + path.join(ws, "ingglish-aq-archive/scripts/evaluate_aq.mjs"), + "/usr/libexec/ingglish-exegesis/scripts/evaluate_aq.mjs", +]; -function computeAQ(text) { - let total = 0; - for (const ch of String(text).toLowerCase()) { - const code = ch.charCodeAt(0); - if (code >= 48 && code <= 57) { - total += code - 48; - } else if (code >= 97 && code <= 122) { - total += code - 97 + 10; - } - } - return total; -} - -function buildPrimes(limit = 20000) { - const sieve = new Uint8Array(limit + 1); - sieve.fill(1); - sieve[0] = 0; - sieve[1] = 0; - for (let i = 2; i * i <= limit; i++) { - if (sieve[i]) { - for (let j = i * i; j <= limit; j += i) sieve[j] = 0; - } - } - const primeRank = new Map(); - let rank = 0; - for (let n = 2; n <= limit; n++) { - if (sieve[n]) { - rank += 1; - primeRank.set(n, rank); - } - } - return primeRank; -} - -const PRIME_RANK = buildPrimes(20000); - -function factorize(n) { - if (n < 2) return String(n); - if (PRIME_RANK.has(n)) { - return `${n} [PRIME #${PRIME_RANK.get(n)}]`; - } - let temp = n; - const factors = []; - for (let d = 2; d * d <= temp; d += d === 2 ? 1 : 2) { - let count = 0; - while (temp % d === 0) { - count += 1; - temp = Math.floor(temp / d); - } - if (count > 0) { - factors.push(count === 1 ? `${d}` : `${d}^${count}`); - } - } - if (temp > 1) factors.push(`${temp}`); - return `${n} (${factors.join(" × ")})`; -} - -const HOMOPHONE_FORKS = new Map([ - ["ai", ["I", "eye", "AI"]], - ["nait", ["night", "knight"]], - ["rait", ["write", "right", "rite"]], - ["raits", ["writes", "rights", "rites"]], - ["see", ["sea", "see"]], - ["too", ["to", "too", "two"]], - ["suhn", ["sun", "son"]], - ["noo", ["new", "knew"]], - ["hart", ["heart", "hart"]], - ["seer", ["seer", "sear"]], - ["werd", ["word", "whirred"]], -]); - -const PROPER_NOUN_OVERRIDES_ENG_TO_ING = new Map([ - ["typhon", "taifan"], - ["apophis", "apawfis"], - ["joshua", "joshooa"], - ["ramey", "raymee"], - ["outpost", "outpohst"], - ["childs", "chaildz"], - ["macready", "makreedee"], -]); - -function loadArchiveLexicon() { - const engToIng = new Map(PROPER_NOUN_OVERRIDES_ENG_TO_ING); - const ingToEng = new Map([ - ["dha", "the"], - ["uhv", "of"], - ["spairal", "spiral"], - ["flaymethroher", "flamethrower"], - ["outpohst", "outpost"], - ["chaildz", "childs"], - ["ayleean", "alien"], - ["wiskee", "whiskey"], - ["aiern", "iron"], - ["deeman", "demon"], - ["gohst", "ghost"], - ["gohsts", "ghosts"], - ["spaider", "spider"], - ["hed", "head"], - ["taifan", "typhon"], - ["apawfis", "apophis"], - ["joshooa", "joshua"], - ["raymee", "ramey"], - ]); - - const lexPaths = [ - "/workspace/ingglish-hyperdope-gematria/ingglish-aq-archive/01-ingglish-aq-lexicon.md", - "/workspace/ingglish-aq-archive/01-ingglish-aq-lexicon.md", - ]; - for (const lp of lexPaths) { - if (!fs.existsSync(lp)) continue; - const text = fs.readFileSync(lp, "utf8"); - const bulletRe = /^-\s*`([^`]+)`\s*\("([^"]+)"\)\s*=\s*(\d+)/gm; - let m; - while ((m = bulletRe.exec(text)) !== null) { - const ing = m[1].trim().toLowerCase(); - const eng = m[2].trim().toLowerCase(); - if (!ingToEng.has(ing)) ingToEng.set(ing, eng); - if (!engToIng.has(eng)) engToIng.set(eng, ing); - } +let target = null; +for (const c of candidates) { + if (fs.existsSync(c) && fs.realpathSync(c) !== here) { + target = c; break; } - return { engToIng, ingToEng }; } - -function classifyIsometry(engWord, ingWord, engAq, ingAq) { - if (engAq !== ingAq) return null; - const eClean = engWord.toLowerCase().replace(/[^a-z0-9]/g, ""); - const iClean = ingWord.toLowerCase().replace(/[^a-z0-9]/g, ""); - if (eClean === iClean) return "Type I (Invariant)"; - const eSorted = eClean.split("").sort().join(""); - const iSorted = iClean.split("").sort().join(""); - if (eSorted === iSorted) return "Type II (Anagram)"; - return "Type III (Compensatory Split)"; +if (!target) { + throw new Error("Canonical evaluate_aq.mjs not found"); } - -function parseArgs(argv) { - const args = { eng: null, ing: null, jsonOnly: false }; - for (let i = 2; i < argv.length; i++) { - const a = argv[i]; - if (a === "--eng" && i + 1 < argv.length) { - args.eng = argv[++i]; - } else if (a === "--ing" && i + 1 < argv.length) { - args.ing = argv[++i]; - } else if (a === "--json") { - args.jsonOnly = true; - } else if (a === "-h" || a === "--help") { - console.log( - "Usage: node evaluate_aq.mjs [--eng \"\"] [--ing \"\"] [--json]" - ); - process.exit(0); - } - } - if (!args.eng && !args.ing) { - console.error("Error: supply --eng, --ing, or both."); - process.exit(1); - } - return args; -} - -async function main() { - const args = parseArgs(process.argv); - const ingglish = await loadIngglishModule(); - const { engToIng, ingToEng } = loadArchiveLexicon(); - - let mode = "AND (Bidirectional Present)"; - let engPhrase = args.eng ? args.eng.trim() : ""; - let ingPhrase = args.ing ? args.ing.trim() : ""; - - if (engPhrase && !ingPhrase) { - mode = "XOR (English -> Ingglish)"; - const rawTokens = engPhrase.split(/\s+/); - const outTokens = []; - for (const tok of rawTokens) { - const clean = tok.toLowerCase().replace(/[^a-z0-9'-]/g, ""); - if (PROPER_NOUN_OVERRIDES_ENG_TO_ING.has(clean)) { - outTokens.push(PROPER_NOUN_OVERRIDES_ENG_TO_ING.get(clean)); - } else { - const tr = await ingglish.translate(tok); - outTokens.push(tr.toLowerCase()); - } - } - ingPhrase = outTokens.join(" "); - } else if (!engPhrase && ingPhrase) { - mode = "XOR (Ingglish -> English)"; - const rawTokens = ingPhrase.split(/\s+/); - const outTokens = []; - for (const tok of rawTokens) { - const clean = tok.toLowerCase().replace(/[^a-z0-9'-]/g, ""); - if (ingToEng.has(clean)) { - outTokens.push(ingToEng.get(clean)); - } else if (typeof ingglish.reverseTranslate === "function") { - const rev = await ingglish.reverseTranslate(clean); - outTokens.push((rev || clean).toLowerCase()); - } else { - outTokens.push(clean); - } - } - engPhrase = outTokens.join(" "); - } - - const engWords = engPhrase.split(/\s+/).filter(Boolean); - const ingWords = ingPhrase.split(/\s+/).filter(Boolean); - - const engAq = computeAQ(engPhrase); - const ingAq = computeAQ(ingPhrase); - const netDelta = ingAq - engAq; - - const tokenComparison = []; - const homophoneForksFound = []; - let isoWordCount = 0; - let primeIngWordCount = 0; - let paddingWordCount = 0; - - const maxLen = Math.max(engWords.length, ingWords.length); - for (let i = 0; i < maxLen; i++) { - const ew = engWords[i] || ""; - const iw = ingWords[i] || ""; - const eVal = computeAQ(ew); - const iVal = computeAQ(iw); - const dVal = iVal - eVal; - const isoType = ew && iw ? classifyIsometry(ew, iw, eVal, iVal) : null; - if (isoType) isoWordCount += 1; - if (PRIME_RANK.has(iVal)) primeIngWordCount += 1; - const iwClean = iw.toLowerCase().replace(/[^a-z0-9]/g, ""); - if (iwClean === "seekrat" || iwClean === "hidan") paddingWordCount += 1; - if (HOMOPHONE_FORKS.has(iwClean)) { - const branches = HOMOPHONE_FORKS.get(iwClean).map((b) => ({ - eng: b, - eng_aq: computeAQ(b), - eng_prime_rank: PRIME_RANK.get(computeAQ(b)) || null, - })); - homophoneForksFound.push({ ing: iwClean, ing_aq: iVal, branches }); - } - tokenComparison.push({ - eng_token: ew, - eng_aq: eVal, - eng_prime_rank: PRIME_RANK.get(eVal) || null, - ing_token: iw, - ing_aq: iVal, - ing_prime_rank: PRIME_RANK.get(iVal) || null, - delta: dVal, - isometry: isoType, - }); - } - - const isoRatePct = Number(((100 * isoWordCount) / Math.max(1, maxLen)).toFixed(1)); - const primeIngRatePct = Number(((100 * primeIngWordCount) / Math.max(1, maxLen)).toFixed(1)); - const paddingRatePct = Number(((100 * paddingWordCount) / Math.max(1, maxLen)).toFixed(1)); - - // Compute 5-dimension rubric score - const absDelta = Math.abs(netDelta); - let d1 = absDelta === 0 ? 20 : absDelta <= 35 ? 19 : absDelta <= 50 ? 18 : 17; - if (isoWordCount > 0 && d1 < 20) d1 = Math.min(20, d1 + 1); - - const repdigits = new Set([111, 222, 333, 444, 555, 666, 777, 888, 999]); - const syzygies = new Set([81, 108, 216, 495]); - const twinPrimeClause = PRIME_RANK.has(engAq) && PRIME_RANK.has(ingAq); - const exact37Step = absDelta > 0 && absDelta % 37 === 0; - - let d2 = homophoneForksFound.length > 0 || isoWordCount >= 2 ? 19 : 18; - let d3 = 17; - if (repdigits.has(ingAq) || repdigits.has(engAq)) d3 += 2; - if (twinPrimeClause || exact37Step || syzygies.has(ingAq)) d3 += 1; - if (primeIngRatePct >= 18) d3 += 1; - d3 = Math.min(20, d3); - - let d4 = 18 + (homophoneForksFound.length > 0 || ingWords.includes("dha") ? 1 : 0); - d4 = Math.min(20, d4); - - let d5 = paddingRatePct === 0 ? 19 : paddingRatePct < 15 ? 18 : paddingRatePct <= 30 ? 16 : 14; - if (netDelta === 0 && repdigits.has(ingAq)) d5 = 20; - - const totalScore = d1 + d2 + d3 + d4 + d5; - const tier = - totalScore >= 95 - ? "Class S+ (Apex Lock)" - : totalScore >= 90 - ? "Class S (Canonical Lock)" - : totalScore >= 81 - ? "Class A (Structural Entry)" - : totalScore >= 72 - ? "Class B (Modular Entry)" - : "Class C/D/F"; - - const payload = { - mode, - english: { - phrase: engPhrase, - aq: engAq, - factorization: factorize(engAq), - is_prime: PRIME_RANK.has(engAq), - prime_rank: PRIME_RANK.get(engAq) || null, - breakdown: tokenComparison.map((t) => `${t.eng_token} (${t.eng_aq})`).join(" + ") + ` = ${engAq}`, - }, - ingglish: { - phrase: ingPhrase, - aq: ingAq, - factorization: factorize(ingAq), - is_prime: PRIME_RANK.has(ingAq), - prime_rank: PRIME_RANK.get(ingAq) || null, - breakdown: tokenComparison.map((t) => `${t.ing_token} (${t.ing_aq})`).join(" + ") + ` = ${ingAq}`, - }, - drift: { - net_delta: netDelta, - abs_delta: absDelta, - quantized_37_step: exact37Step, - full_clause_isometry: netDelta === 0, - twin_prime_clause: twinPrimeClause, - isometric_word_count: isoWordCount, - isometric_word_rate_pct: isoRatePct, - prime_ing_word_rate_pct: primeIngRatePct, - padding_rate_pct: paddingRatePct, - }, - tokens: tokenComparison, - homophone_forks: homophoneForksFound, - rubric: { - D1_determinism_and_drift: d1, - D2_collision_density: d2, - D3_repdigit_and_prime_arch: d3, - D4_epistemological_fit: d4, - D5_syntactic_anti_padding: d5, - composite_score: totalScore, - classification: tier, - }, - }; - - console.log(JSON.stringify(payload, null, 2)); -} - -main().catch((err) => { - console.error(err); - process.exit(1); -}); +await import(pathToFileURL(target).href); diff --git a/packaging/bundle/skills/current-events-isopsephic-exegesis/scripts/collect_news_aq.py b/packaging/bundle/skills/current-events-isopsephic-exegesis/scripts/collect_news_aq.py index e1279d6..beb29f4 100755 --- a/packaging/bundle/skills/current-events-isopsephic-exegesis/scripts/collect_news_aq.py +++ b/packaging/bundle/skills/current-events-isopsephic-exegesis/scripts/collect_news_aq.py @@ -1,577 +1,30 @@ #!/usr/bin/env python3 -""" -collect_news_aq.py -Deterministic pre-collection script for current-events-isopsephic-exegesis. - -Responsibilities: -1. Env TZ & UTC Rollover Resolution: - - Captures the incoming OS environment TZ (e.g., America/New_York / EST UTC-05:00 vs UTC). - - Pins internal process clock via os.environ["TZ"] = "UTC" and time.tzset() so all - calendar math operates strictly in GMT/UTC. - - Implements the Wikipedia Portal:Current_events 00:00 GMT Boundary Paradox rule: - when executed in the midnight rollover window (00:00-05:59 UTC) or with --mode closing-bell, - targets the just-concluded UTC date (now_utc - 24h); otherwise targets the active UTC date - while sampling both dates for cross-day continuity deduplication. -2. Concurrent Multi-Source Feed Harvest: - - Wikipedia Portal:Current_events (MediaWiki parse API + HTML fallback) - - BBC News (Direct HTML + BBC RSS feed) - - Associated Press / AP News (Direct HTML + Google News AP RSS mirror for WAF resiliency) -3. Continuity & Carryover Deduplication: - - Reads existing /workspace/ingglish-aq-archive/*-dossier-news-*.md files to flag - carryover headlines and already-analyzed stories. -4. Deterministic Ingglish Translation & Dual Base-36 AQ Computation: - - Batch-translates all headlines and extracted candidate entities via the official - Node.js `ingglish` package (CMU Pronouncing Dictionary). - - Computes English AQ, Ingglish AQ, prime indices ([Nth PRIME]), and full prime factorizations. - - Automatically detects: - * Twin-Prime Headlines (both English AQ and Ingglish AQ are prime) - * Shared Prime Factor Attractors across headlines (p >= 11) - * Cross-Story Ingglish AQ Collisions (Story A Entity == Story B Entity == N) - * English-to-Ingglish Isometric Locks (AQ(Eng) == AQ(Ing)) -""" - +"""Thin delegator to canonical ingglish-aq-archive/scripts/collect_news_aq.py.""" from __future__ import annotations -import argparse -import concurrent.futures -import datetime -import glob -import html as html_lib -import json -import math import os -import re -import subprocess -import sys -import time -import urllib.request -import xml.etree.ElementTree as ET +import runpy from pathlib import Path -from typing import Any -# Capture initial caller environment TZ before pinning to UTC -CALLER_ENV_TZ = os.environ.get("TZ", "") -CALLER_TZNAME_BEFORE = time.tzname - -# Strictly enforce UTC/GMT inside the collector -os.environ["TZ"] = "UTC" -if hasattr(time, "tzset"): - time.tzset() +_SCRIPT_NAME = "collect_news_aq.py" -def compute_aq(text: str) -> int: - """Standard Base-36 Alphanumeric Qabbala: 0-9 = 0-9, A-Z = 10-35.""" - total = 0 - for ch in text.lower(): - if "0" <= ch <= "9": - total += ord(ch) - ord("0") - elif "a" <= ch <= "z": - total += ord(ch) - ord("a") + 10 - return total - - -def build_primes(limit: int = 10000) -> tuple[set[int], dict[int, int]]: - """Return prime set and 1-based prime index lookup {prime: nth_index}.""" - sieve = [True] * (limit + 1) - sieve[0] = sieve[1] = False - for i in range(2, int(math.isqrt(limit)) + 1): - if sieve[i]: - for j in range(i * i, limit + 1, i): - sieve[j] = False - prime_set = set() - prime_index = {} - idx = 0 - for num, is_p in enumerate(sieve): - if is_p: - idx += 1 - prime_set.add(num) - prime_index[num] = idx - return prime_set, prime_index - - -PRIME_SET, PRIME_INDEX = build_primes(20000) - - -def is_prime(n: int) -> bool: - if n < 2: - return False - if n <= 20000: - return n in PRIME_SET - if n % 2 == 0 or n % 3 == 0: - return False - r = int(math.isqrt(n)) - f = 5 - while f <= r: - if n % f == 0 or n % (f + 2) == 0: - return False - f += 6 - return True - - -def prime_factors(n: int) -> dict[int, int]: - """Return prime factorization as {prime: exponent}.""" - factors: dict[int, int] = {} - if n < 2: - return factors - d = 2 - temp = n - while d * d <= temp: - while temp % d == 0: - factors[d] = factors.get(d, 0) + 1 - temp //= d - d += 1 if d == 2 else 2 - if temp > 1: - factors[temp] = factors.get(temp, 0) + 1 - return factors - - -def format_factorization(n: int) -> str: - if n < 2: - return str(n) - if is_prime(n): - idx = PRIME_INDEX.get(n) - return f"{n} [PRIME #{idx}]" if idx else f"{n} [PRIME]" - f = prime_factors(n) - parts = [] - superscripts = str.maketrans("0123456789", "⁰¹²³⁴⁵⁶⁷⁸⁹") - for p in sorted(f.keys()): - exp = f[p] - if exp == 1: - parts.append(str(p)) - else: - parts.append(f"{p}{str(exp).translate(superscripts)}") - return " × ".join(parts) - - -def resolve_target_dates( - now_utc: datetime.datetime, - explicit_date: str | None = None, - mode: str = "auto", -) -> dict[str, Any]: - """ - Resolve target UTC date paying strict attention to the 00:00 GMT boundary paradox. - - At 00:00 GMT (00:00-05:59 UTC) or mode='closing-bell', target_date is (now_utc - 24h) - because Wikipedia Portal:Current_events for the brand-new UTC day is empty at 00:00:00 GMT. - - In mode='live' or when now_utc.hour >= 6, target_date is now_utc.strftime('%Y-%m-%d'), - while also retaining yesterday_utc for Wikipedia completeness. - """ - today_str = now_utc.strftime("%Y-%m-%d") - yesterday_dt = now_utc - datetime.timedelta(days=1) - yesterday_str = yesterday_dt.strftime("%Y-%m-%d") - - if explicit_date: - target_dt = datetime.datetime.strptime(explicit_date, "%Y-%m-%d").replace( - tzinfo=datetime.timezone.utc - ) - target_str = explicit_date - reason = "explicit_override" - elif mode == "closing-bell" or (mode == "auto" and now_utc.hour < 6): - target_dt = yesterday_dt - target_str = yesterday_str - reason = "00:00_GMT_closing_bell_paradox_rule (now_utc - 24h)" - else: - target_dt = now_utc - target_str = today_str - reason = "live_utc_day_active (now_utc.hour >= 6)" - - # Wikipedia Portal anchor IDs use both zero-padded and unpadded day numbers - wiki_month = target_dt.strftime("%B") - wiki_year = target_dt.strftime("%Y") - wiki_day_unpadded = str(target_dt.day) - wiki_day_padded = target_dt.strftime("%d") - - est_tz = datetime.timezone(datetime.timedelta(hours=-5), name="EST") - now_est = now_utc.astimezone(est_tz) - - return { - "caller_env_tz": CALLER_ENV_TZ, - "caller_tzname_before": list(CALLER_TZNAME_BEFORE), - "enforced_process_tz": os.environ.get("TZ"), - "enforced_tzname": list(time.tzname), - "now_utc_iso": now_utc.strftime("%Y-%m-%dT%H:%M:%SZ"), - "now_est_iso": now_est.strftime("%Y-%m-%dT%H:%M:%S-05:00"), - "cron_schedule_utc": "0 0 * * * (00:00 GMT/UTC == 19:00 EST prior calendar evening)", - "target_date_utc": target_str, - "today_utc": today_str, - "yesterday_utc": yesterday_str, - "resolution_mode": reason, - "wikipedia_target_anchors": [ - f"{wiki_year}_{wiki_month}_{wiki_day_unpadded}", - f"{wiki_year}_{wiki_month}_{wiki_day_padded}", - ], - } - - -def http_get(url: str, timeout: int = 15) -> str: - req = urllib.request.Request( - url, - headers={ - "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) HermesAgent-Isopsephy/1.0", - "Accept": "text/html,application/xhtml+xml,application/xml,application/json;q=0.9,*/*;q=0.8", - }, - ) - with urllib.request.urlopen(req, timeout=timeout) as resp: - return resp.read().decode("utf-8", errors="replace") - - -def fetch_wikipedia_current_events(date_info: dict[str, Any]) -> list[dict[str, str]]: - """Fetch Wikipedia Portal:Current_events and extract items for target_date and today_utc.""" - results: list[dict[str, str]] = [] - html_text = "" - try: - api_url = "https://en.wikipedia.org/w/api.php?action=parse&page=Portal:Current_events&prop=text&format=json" - raw_json = json.loads(http_get(api_url)) - html_text = html_lib.unescape(raw_json.get("parse", {}).get("text", {}).get("*", "")) - except Exception: - try: - html_text = html_lib.unescape(http_get("https://en.wikipedia.org/wiki/Portal:Current_events")) - except Exception: - return results - - # Check both target date and today/yesterday sections - candidate_anchors = list(date_info["wikipedia_target_anchors"]) - today_dt = datetime.datetime.strptime(date_info["today_utc"], "%Y-%m-%d") - yest_dt = datetime.datetime.strptime(date_info["yesterday_utc"], "%Y-%m-%d") - for dt in (today_dt, yest_dt): - for a in ( - f"{dt.strftime('%Y')}_{dt.strftime('%B')}_{dt.day}", - f"{dt.strftime('%Y')}_{dt.strftime('%B')}_{dt.strftime('%d')}", - ): - if a not in candidate_anchors: - candidate_anchors.append(a) - - seen = set() - for anchor in candidate_anchors: - m = re.search(rf'id="{re.escape(anchor)}".*?(?=id="202\d_|$)', html_text, re.S) - if not m: - continue - section_html = m.group(0)[:15000] - for li in re.findall(r"]*>(.*?)", section_html, re.S): - clean = html_lib.unescape(re.sub(r"<[^>]+>", " ", li)) - clean = re.sub(r"\s+", " ", clean).strip() - clean_headline = re.sub(r"(?:\s*\([^)]+\))+\s*$", "", clean).strip() - if 30 <= len(clean_headline) <= 260 and clean_headline not in seen: - seen.add(clean_headline) - results.append( - { - "source": f"Wikipedia ({anchor})", - "headline": clean_headline, - } - ) - return results[:18] - - -def fetch_bbc_news() -> list[dict[str, str]]: - """Fetch BBC News headlines from HTML and RSS.""" - results: list[dict[str, str]] = [] - seen = set() - try: - rss_xml = http_get("https://feeds.bbci.co.uk/news/rss.xml") - root = ET.fromstring(rss_xml) - for item in root.findall(".//item")[:15]: - title = (item.findtext("title") or "").strip() - if title and len(title) > 18 and title not in seen: - seen.add(title) - results.append({"source": "BBC News RSS", "headline": title}) - except Exception: - pass - - try: - bbc_html = http_get("https://www.bbc.com/news") - for h in re.findall(r"]*>(.*?)", bbc_html, re.S): - title = html_lib.unescape(re.sub(r"<[^>]+>", "", h)).strip() - title = re.sub(r"\s+", " ", title) - if ( - 20 <= len(title) <= 180 - and title not in seen - and not title.lower().startswith(("the bbc is", "more to explore", "most read", "most watched")) - ): - seen.add(title) - results.append({"source": "BBC News Portal", "headline": title}) - except Exception: - pass - - return results[:20] - - -def fetch_ap_news() -> list[dict[str, str]]: - """Fetch AP News headlines via direct portal with Google News AP RSS mirror fallback.""" - results: list[dict[str, str]] = [] - seen = set() - try: - ap_html = http_get("https://apnews.com/", timeout=10) - for h in re.findall(r"]*>(.*?)", ap_html, re.S): - title = html_lib.unescape(re.sub(r"<[^>]+>", "", h)).strip() - title = re.sub(r"\s+", " ", title) - if 20 <= len(title) <= 180 and title not in seen: - seen.add(title) - results.append({"source": "AP News Portal", "headline": title}) - except Exception: - pass - - if len(results) < 5: - try: - rss_url = "https://news.google.com/rss/search?q=site:apnews.com+when:1d&hl=en-US&gl=US&ceid=US:en" - rss_xml = http_get(rss_url, timeout=12) - root = ET.fromstring(rss_xml) - for item in root.findall(".//item")[:18]: - raw_title = (item.findtext("title") or "").strip() - title = raw_title.rsplit(" - AP News", 1)[0].strip() - if 20 <= len(title) <= 180 and title not in seen: - seen.add(title) - results.append({"source": "AP News Wire", "headline": title}) - except Exception: - pass - - return results[:18] - - -def load_prior_dossiers(archive_dir: str) -> dict[str, Any]: - """Scan existing *-dossier-news-*.md files for continuity deduplication.""" - pattern = os.path.join(archive_dir, "*-dossier-news-*.md") - files = sorted(glob.glob(pattern)) - prior_entities = set() - for fpath in files: - try: - text = Path(fpath).read_text(encoding="utf-8") - for m in re.finditer(r"`([^`]+)`\s*\(\"([^\"]+)\"\)", text): - prior_entities.add(m.group(1).strip().lower()) - prior_entities.add(m.group(2).strip().lower()) - except Exception: - pass - return { - "existing_news_dossiers": [os.path.basename(f) for f in files], - "prior_phrase_count": len(prior_entities), - "prior_sample_tokens": sorted(list(prior_entities))[:25], - } - - -def batch_translate_ingglish(strings: list[str], workdir: str = "/workspace/ingglish-hyperdope-gematria") -> dict[str, str]: - """Run a single Node script invoking `ingglish` on all input strings.""" - if not strings: - return {} - if not os.path.exists(os.path.join(workdir, "node_modules")): - for candidate_wd in ("/workspace/ingglish-hyperdope-gematria", "/workspace", "/opt/ingglish-exegesis"): - if os.path.exists(os.path.join(candidate_wd, "node_modules")): - workdir = candidate_wd - break - node_code = """ -import { translate } from 'ingglish'; -import fs from 'fs'; -const input = JSON.parse(fs.readFileSync(0, 'utf8')); -const out = {}; -await translate('hello'); -for (const s of input) { - try { - out[s] = (await translate(s)).toLowerCase(); - } catch (e) { - out[s] = s.toLowerCase(); - } -} -process.stdout.write(JSON.stringify(out)); -""" - proc = subprocess.run( - ["node", "--input-type=module", "-e", node_code], - input=json.dumps(strings), - text=True, - capture_output=True, - cwd=workdir, - timeout=30, - ) - if proc.returncode != 0: - raise RuntimeError(f"Node ingglish translation failed: {proc.stderr}") - return json.loads(proc.stdout) - - -def extract_candidate_entities(headlines: list[dict[str, str]]) -> list[dict[str, str]]: - """Extract proper nouns, key thematic words, and multi-word entities from harvested headlines.""" - stopwords = { - "the", "and", "for", "with", "that", "this", "from", "after", "before", - "over", "under", "into", "onto", "near", "amid", "what", "when", "where", - "which", "while", "will", "have", "has", "had", "were", "been", "says", - "said", "tell", "tells", "told", "more", "most", "some", "many", "other", - "than", "then", "they", "their", "them", "there", "here", "about", "could", - "would", "should", "least", "first", "second", "third", "including", - } - candidates: list[dict[str, str]] = [] - seen_lower = set() - - for idx, item in enumerate(headlines): - hl = item["headline"] - src = item["source"] - story_tag = f"H{idx+1:02d}:{src}" - - # Extract capitalized proper-noun sequences (1 to 2 words) - for m in re.finditer(r"\b([A-Z][a-zA-Z0-9'-]{2,}(?:\s+[A-Z][a-zA-Z0-9'-]{2,})?)\b", hl): - phrase = m.group(1).strip("'-") - low = phrase.lower() - if low not in stopwords and len(low) >= 3 and low not in seen_lower: - seen_lower.add(low) - candidates.append({"eng": phrase, "story": story_tag, "headline": hl}) - - # Extract individual content words - for m in re.finditer(r"\b([a-zA-Z]{4,})\b", hl): - word = m.group(1) - low = word.lower() - if low not in stopwords and low not in seen_lower: - seen_lower.add(low) - candidates.append({"eng": low, "story": story_tag, "headline": hl}) - - return candidates[:320] - - -def main() -> int: - parser = argparse.ArgumentParser(description="Pre-collect current events & Ingglish AQ matrix.") - parser.add_argument("--date", default=None, help="Explicit YYYY-MM-DD target date override.") - parser.add_argument( - "--mode", - choices=["auto", "closing-bell", "live"], - default="auto", - help="Date resolution mode (auto uses closing-bell at 00:00-05:59 UTC).", - ) - parser.add_argument("--archive-dir", default="/workspace/ingglish-hyperdope-gematria/ingglish-aq-archive") - parser.add_argument("--workdir", default="/workspace/ingglish-hyperdope-gematria") - parser.add_argument("--out", default=None, help="Optional file path to also save JSON output.") - args = parser.parse_args() - - if not os.path.exists(args.archive_dir) and os.path.exists("/workspace/ingglish-aq-archive"): - args.archive_dir = "/workspace/ingglish-aq-archive" - now_utc = datetime.datetime.now(datetime.timezone.utc) - date_info = resolve_target_dates(now_utc, explicit_date=args.date, mode=args.mode) - - # Fetch all 3 portals concurrently - with concurrent.futures.ThreadPoolExecutor(max_workers=3) as pool: - fut_wiki = pool.submit(fetch_wikipedia_current_events, date_info) - fut_bbc = pool.submit(fetch_bbc_news) - fut_ap = pool.submit(fetch_ap_news) - wiki_items = fut_wiki.result() - bbc_items = fut_bbc.result() - ap_items = fut_ap.result() - - all_headlines = wiki_items + bbc_items + ap_items - candidates = extract_candidate_entities(all_headlines) - - strings_to_translate = list( - {h["headline"] for h in all_headlines} | {c["eng"] for c in candidates} - ) - translations = batch_translate_ingglish(strings_to_translate, workdir=args.workdir) - - # Compute headline AQ & factorizations - enriched_headlines = [] - twin_prime_headlines = [] - factor_buckets: dict[int, list[dict[str, Any]]] = {} - - for h in all_headlines: - raw = h["headline"] - ing = translations.get(raw, raw.lower()) - eng_aq = compute_aq(raw) - ing_aq = compute_aq(ing) - eng_prime = is_prime(eng_aq) - ing_prime = is_prime(ing_aq) - entry = { - "source": h["source"], - "headline_eng": raw, - "headline_ing": ing, - "eng_aq": eng_aq, - "ing_aq": ing_aq, - "eng_factorization": format_factorization(eng_aq), - "ing_factorization": format_factorization(ing_aq), - "twin_prime": bool(eng_prime and ing_prime), - } - enriched_headlines.append(entry) - if eng_prime and ing_prime: - twin_prime_headlines.append(entry) - - for p in prime_factors(ing_aq).keys(): - if p >= 13: - factor_buckets.setdefault(p, []).append(entry) - - shared_prime_attractors = { - str(p): [ - { - "source": item["source"], - "headline_eng": item["headline_eng"], - "ing_aq": item["ing_aq"], - "ing_factorization": item["ing_factorization"], - } - for item in items - ] - for p, items in sorted(factor_buckets.items(), key=lambda kv: -kv[0]) - if len(items) >= 2 - } - - # Compute candidate entity AQ, collisions, and isometric locks - enriched_entities = [] - aq_groups: dict[int, list[dict[str, Any]]] = {} - isometric_locks = [] - - for c in candidates: - eng = c["eng"] - ing = translations.get(eng, eng.lower()) - eng_aq = compute_aq(eng) - ing_aq = compute_aq(ing) - p_idx = PRIME_INDEX.get(ing_aq) - ent = { - "eng": eng, - "ing": ing, - "eng_aq": eng_aq, - "ing_aq": ing_aq, - "is_prime": p_idx is not None, - "prime_rank": p_idx, - "isometric": eng_aq == ing_aq, - "story": c["story"], - } - enriched_entities.append(ent) - aq_groups.setdefault(ing_aq, []).append(ent) - if eng_aq == ing_aq: - isometric_locks.append(ent) - - cross_story_collisions = {} - for aq_val, group in sorted(aq_groups.items(), key=lambda kv: -kv[0]): - unique_ings = {g["ing"] for g in group} - unique_stories = {g["story"] for g in group} - if len(unique_ings) >= 2 and len(unique_stories) >= 2: - p_idx = PRIME_INDEX.get(aq_val) - cross_story_collisions[str(aq_val)] = { - "aq": aq_val, - "prime_rank": p_idx, - "factorization": format_factorization(aq_val), - "members": [ - {"eng": g["eng"], "ing": g["ing"], "story": g["story"]} - for g in group - ], - } - - continuity_info = load_prior_dossiers(args.archive_dir) - - payload = { - "temporal_metadata": date_info, - "continuity": continuity_info, - "counts": { - "wikipedia_headlines": len(wiki_items), - "bbc_headlines": len(bbc_items), - "ap_headlines": len(ap_items), - "total_headlines": len(enriched_headlines), - "candidate_entities": len(enriched_entities), - "twin_prime_headlines": len(twin_prime_headlines), - "cross_story_collision_classes": len(cross_story_collisions), - "isometric_locks": len(isometric_locks), - }, - "twin_prime_headlines": twin_prime_headlines, - "shared_prime_attractors": shared_prime_attractors, - "cross_story_collisions": cross_story_collisions, - "isometric_locks": isometric_locks, - "headlines": enriched_headlines, - "entities": enriched_entities, - } - - out_json = json.dumps(payload, indent=2, ensure_ascii=False) - if args.out: - Path(args.out).parent.mkdir(parents=True, exist_ok=True) - Path(args.out).write_text(out_json, encoding="utf-8") - print(out_json) - return 0 +def _resolve_canonical() -> Path: + here = Path(__file__).resolve() + for anc in here.parents: + cand = anc / "ingglish-aq-archive" / "scripts" / _SCRIPT_NAME + if cand.is_file() and cand.resolve() != here: + return cand + ws = Path(os.environ.get("WORKSPACE_DIR", "/workspace")) + for cand in ( + ws / "ingglish-hyperdope-gematria" / "ingglish-aq-archive" / "scripts" / _SCRIPT_NAME, + ws / "ingglish-aq-archive" / "scripts" / _SCRIPT_NAME, + Path("/usr/libexec/ingglish-exegesis/scripts") / _SCRIPT_NAME, + ): + if cand.is_file() and cand.resolve() != here: + return cand + raise FileNotFoundError(f"Canonical script not found: {_SCRIPT_NAME}") if __name__ == "__main__": - raise SystemExit(main()) + runpy.run_path(str(_resolve_canonical()), run_name="__main__") diff --git a/packaging/bundle/skills/hyperdope-ingglish-ci/scripts/ci_provision_ingglish.py b/packaging/bundle/skills/hyperdope-ingglish-ci/scripts/ci_provision_ingglish.py index bab9c73..52ac8bc 100755 --- a/packaging/bundle/skills/hyperdope-ingglish-ci/scripts/ci_provision_ingglish.py +++ b/packaging/bundle/skills/hyperdope-ingglish-ci/scripts/ci_provision_ingglish.py @@ -47,7 +47,12 @@ 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. + _script_repo = str(Path(__file__).resolve().parents[2]) + _ws_env = os.environ.get("WORKSPACE_DIR", "/workspace") for dict_js in ( + f"{_script_repo}/node_modules/@ingglish/dictionary/dist/index.js", + f"{_ws_env}/ingglish-hyperdope-gematria/node_modules/@ingglish/dictionary/dist/index.js", + "/usr/libexec/ingglish-exegesis/node_modules/@ingglish/dictionary/dist/index.js", "/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", @@ -82,7 +87,7 @@ def load_system_dict() -> set[str]: DICT = load_system_dict() ROMAN_RE = re.compile(r"M{0,4}(CM|CD|D?C{0,3})(XC|XL|L?X{0,3})(IX|IV|V?I{0,3})", re.I) -INGGLISH_NON_ROMAN = {"di", "li", "mi", "vi", "iv", "ci", "xi"} +INGGLISH_NON_ROMAN = {"di", "li", "mi", "vi", "iv", "ci", "xi", "liv", "mix", "civ"} def is_roman(s: str) -> bool: @@ -512,10 +517,9 @@ def build_onboarding_pdf(pdf_path: Path) -> dict: try: import reportlab import pypdf - import pdfplumber except ImportError: subprocess.run( - [sys.executable, "-m", "pip", "install", "-q", "reportlab", "pypdf", "pdfplumber"], + [sys.executable, "-m", "pip", "install", "-q", "reportlab", "pypdf"], check=True, ) from reportlab.lib import colors @@ -524,7 +528,8 @@ def build_onboarding_pdf(pdf_path: Path) -> dict: from reportlab.lib.units import inch from reportlab.platypus import HRFlowable, Paragraph, SimpleDocTemplate, Spacer, Table, TableStyle import pypdf - import pdfplumber + + pdf_path.parent.mkdir(parents=True, exist_ok=True) styles = getSampleStyleSheet() title_s = ParagraphStyle("T", parent=styles["Heading1"], fontName="Helvetica-Bold", fontSize=15.5, leading=19, spaceAfter=4, textColor=colors.HexColor("#111827")) @@ -679,8 +684,12 @@ def build_onboarding_pdf(pdf_path: Path) -> dict: doc.build(story, onFirstPage=draw_page_number, onLaterPages=draw_page_number) reader = pypdf.PdfReader(str(pdf_path)) - with pdfplumber.open(str(pdf_path)) as pdf: - chars = sum(len(p.extract_text() or "") for p in pdf.pages) + try: + import pdfplumber + with pdfplumber.open(str(pdf_path)) as pdf: + chars = sum(len(p.extract_text() or "") for p in pdf.pages) + except ImportError: + chars = sum(len(p.extract_text() or "") for p in reader.pages) return {"pdf_path": str(pdf_path), "page_count": len(reader.pages), "extracted_chars": chars} @@ -818,7 +827,8 @@ elif [ -n "${{FORCE_ORIGIN_URL:-}}" ]; then fi # Ensure feature branch exists and is checked out -CURRENT_BRANCH="$(git branch --show-current)" +ORIG_BRANCH="$(git branch --show-current)" +CURRENT_BRANCH="$ORIG_BRANCH" if [ "$CURRENT_BRANCH" != "$BRANCH" ]; then git checkout -B "$BRANCH" fi @@ -830,10 +840,18 @@ git add db.txt tools/normalize_caps.py config.default.js # Create commit if staged changes exist if ! git diff --cached --quiet; then - git commit -F "$SCRIPT_DIR/commit-message.txt" + git -c user.name="${{GIT_AUTHOR_NAME:-Hyperstition Studio Exegesis Worker}}" \ + -c user.email="${{GIT_AUTHOR_EMAIL:-exegesis@hyperstitionstud.io}}" \ + commit -F "$SCRIPT_DIR/commit-message.txt" fi -echo "Committed on branch $BRANCH: $(git rev-parse --short HEAD)" +# If target repository was originally on 'main' (e.g. haiperdohp-jemaytreeah), fast-forward 'main' and restore checkout +if [ "$ORIG_BRANCH" = "main" ] && [ "$BRANCH" != "main" ]; then + git checkout main + git merge --ff-only "$BRANCH" +fi + +echo "Committed on branch $(git branch --show-current): $(git rev-parse --short HEAD)" # First push of base branch + feature branch and optional PR creation when SUBMIT_REMOTE=1 if [ "${{SUBMIT_REMOTE:-0}}" = "1" ]; then @@ -936,10 +954,39 @@ def apply_to_repo(repo_dir: Path, out_dir: Path, entries: list[dict], branch_nam } +def _resolve_default_paths() -> tuple[Path, Path]: + script_p = Path(__file__).resolve() + if script_p.parent.name == "scripts" and script_p.parents[1].name == "ingglish-aq-archive": + arc_dir = script_p.parents[1] + ws_root = arc_dir.parents[1] + return arc_dir, ws_root / "hyperdope-ci-build" + ws_env = os.environ.get("WORKSPACE_DIR", "").strip() + if ws_env: + ws_root = Path(ws_env).resolve() + elif Path("/workspace/ingglish-hyperdope-gematria").exists(): + ws_root = Path("/workspace") + else: + ws_root = Path("/var/lib/ingglish-exegesis/workspace") + return ws_root / "ingglish-hyperdope-gematria" / "ingglish-aq-archive", ws_root / "hyperdope-ci-build" + + +def _resolve_archive_repo_dir(archive_dir: Path, out_dir: Path) -> Path: + arc_res = archive_dir.resolve() + if arc_res.name == "ingglish-aq-archive" and arc_res.parent.is_dir(): + return arc_res.parent + if (arc_res.parent / "ingglish-aq-archive").is_dir(): + return arc_res.parent + ws_env = os.environ.get("WORKSPACE_DIR", "").strip() + if ws_env and (Path(ws_env) / "ingglish-hyperdope-gematria").is_dir(): + return (Path(ws_env) / "ingglish-hyperdope-gematria").resolve() + return out_dir.resolve() + + def main() -> int: + default_arc, default_out = _resolve_default_paths() parser = argparse.ArgumentParser(description="CI & PR Provisioning Pipeline for Ingglish -> hyperdope-gematria.") - 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("--archive-dir", default=str(default_arc), help="Path to Ingglish AQ archive") + parser.add_argument("--out-dir", default=str(default_out), 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") parser.add_argument("--apply-repo", action="store_true", help="Apply changes and create git commit in --repo-dir") @@ -951,6 +998,7 @@ def main() -> int: archive_dir = Path("/workspace/ingglish-aq-archive") out_dir = Path(args.out_dir) out_dir.mkdir(parents=True, exist_ok=True) + archive_repo_dir = _resolve_archive_repo_dir(archive_dir, out_dir) entries, stats = extract_archive_corpus(archive_dir, max_tier=args.tier) @@ -965,13 +1013,19 @@ def main() -> int: docs_info = {} 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/ingglish-hyperdope-gematria/ONBOARDING-INGGLISH-AQ.md") - ws_pdf = Path("/workspace/ingglish-hyperdope-gematria/ONBOARDING-INGGLISH-AQ.pdf") + docs_sub = out_dir / "docs" + docs_sub.mkdir(parents=True, exist_ok=True) + (docs_sub / "ONBOARDING-INGGLISH-AQ.md").write_text(ONBOARDING_MD_CONTENT, encoding="utf-8") + if not (out_dir / ".git").exists(): + (out_dir / "ONBOARDING-INGGLISH-AQ.md").write_text(ONBOARDING_MD_CONTENT, encoding="utf-8") + ws_md = archive_repo_dir / "ONBOARDING-INGGLISH-AQ.md" + ws_pdf = archive_repo_dir / "ONBOARDING-INGGLISH-AQ.pdf" + ws_md.parent.mkdir(parents=True, exist_ok=True) 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") + out_pdf = out_dir / "ONBOARDING-INGGLISH-AQ.pdf" + if out_pdf.resolve() != ws_pdf.resolve(): + build_onboarding_pdf(out_pdf) docs_info = { "markdown_path": str(ws_md), "pdf_path": str(ws_pdf), diff --git a/packaging/bundle/skills/isopsephic-lecture-synthesis/scripts/manage_lecture_artifacts.py b/packaging/bundle/skills/isopsephic-lecture-synthesis/scripts/manage_lecture_artifacts.py index 6176814..c3015b3 100755 --- a/packaging/bundle/skills/isopsephic-lecture-synthesis/scripts/manage_lecture_artifacts.py +++ b/packaging/bundle/skills/isopsephic-lecture-synthesis/scripts/manage_lecture_artifacts.py @@ -1,253 +1,30 @@ #!/usr/bin/env python3 -""" -manage_lecture_artifacts.py -Deterministic Naming-Convention Validator, Host-Mount Resolver, and .gitignore Manager -for the `isopsephic-lecture-synthesis` skill. - -Naming Convention: - Stem: lecture--ingglish-aq - Slug regex: ^[a-z0-9]+(?:-[a-z0-9]+)*$ - Files: - - /workspace/lecture--ingglish-aq.md - - /workspace/lecture--ingglish-aq.mp3 - - /workspace/lecture--ingglish-aq.pdf (optional) -""" +"""Thin delegator to canonical ingglish-aq-archive/scripts/manage_lecture_artifacts.py.""" from __future__ import annotations -import argparse -import glob -import json import os -import re -import subprocess -import sys +import runpy from pathlib import Path -from typing import Any -SLUG_RE = re.compile(r"^[a-z0-9]+(?:-[a-z0-9]+)*$") -LECTURE_FILE_RE = re.compile(r"^lecture-([a-z0-9]+(?:-[a-z0-9]+)*)-ingglish-aq\.(md|mp3|pdf)$") - -GITIGNORE_HEADER = "# --- Isopsephic Lecture Artifacts (strict naming convention) ---" -GITIGNORE_FOOTER = "# --- End Isopsephic Lecture Artifacts ---" +_SCRIPT_NAME = "manage_lecture_artifacts.py" -def normalize_slug(raw: str) -> str: - """Normalize arbitrary topic string or filename into canonical .""" - s = raw.strip().lower() - # Strip directory and extension if a filename was passed - s = os.path.basename(s) - for ext in (".md", ".mp3", ".pdf"): - if s.endswith(ext): - s = s[: -len(ext)] - if s.startswith("lecture-"): - s = s[len("lecture-") :] - if s.endswith("-ingglish-aq"): - s = s[: -len("-ingglish-aq")] - s = re.sub(r"[^a-z0-9]+", "-", s).strip("-") - if not s or not SLUG_RE.fullmatch(s): - raise ValueError(f"Cannot normalize '{raw}' into valid kebab-case slug.") - return s - - -def canonical_stem(slug: str) -> str: - norm = normalize_slug(slug) - return f"lecture-{norm}-ingglish-aq" - - -def resolve_host_workspace_mount(container_workspace: str = "/workspace/ingglish-hyperdope-gematria") -> str: - """ - Resolve the host filesystem path backing container_workspace from /proc/self/mountinfo - so host-executed tools like text_to_speech(output_path=...) write directly into the target repo. - """ - mountinfo = Path("/proc/self/mountinfo") - if mountinfo.exists(): - for line in mountinfo.read_text(encoding="utf-8", errors="ignore").splitlines(): - parts = line.split() - if len(parts) >= 5 and parts[4] == "/workspace": - rel = os.path.relpath(container_workspace, "/workspace") - return parts[3] if rel == "." else f"{parts[3]}/{rel}" - return container_workspace - - -def update_gitignore( - workspace_dir: str, - mode: str = "audio-only", - slug: str | None = None, -) -> dict[str, Any]: - """ - Idempotently add or update the lecture naming-convention block in /workspace/.gitignore. - Modes: - - audio-only: ignores lecture-*-ingglish-aq.mp3 - - audio-and-pdf: ignores lecture-*-ingglish-aq.mp3 and lecture-*-ingglish-aq.pdf - - all-lecture-files: ignores lecture-*-ingglish-aq.* (.md, .mp3, .pdf) - - explicit-slug: ignores lecture--ingglish-aq.mp3 (and .md/.pdf if present) - """ - gitignore_path = Path(workspace_dir) / ".gitignore" - existing = gitignore_path.read_text(encoding="utf-8") if gitignore_path.exists() else "" - - if mode == "audio-only": - patterns = ["lecture-*-ingglish-aq.mp3"] - elif mode == "audio-and-pdf": - patterns = ["lecture-*-ingglish-aq.mp3", "lecture-*-ingglish-aq.pdf"] - elif mode == "all-lecture-files": - patterns = [ - "lecture-*-ingglish-aq.mp3", - "lecture-*-ingglish-aq.md", - "lecture-*-ingglish-aq.pdf", - ] - elif mode == "explicit-slug": - if not slug: - raise ValueError("--slug is required when --gitignore-mode=explicit-slug") - stem = canonical_stem(slug) - patterns = [f"{stem}.mp3", f"{stem}.pdf"] - else: - raise ValueError(f"Unsupported mode: {mode}") - - block_lines = [GITIGNORE_HEADER] + patterns + [GITIGNORE_FOOTER] - new_block = "\n".join(block_lines) - - block_re = re.compile( - rf"{re.escape(GITIGNORE_HEADER)}.*?{re.escape(GITIGNORE_FOOTER)}", - re.S, - ) - if block_re.search(existing): - updated = block_re.sub(new_block, existing) - else: - sep = "" if (not existing or existing.endswith("\n")) else "\n" - updated = f"{existing}{sep}{new_block}\n" - - changed = updated != existing - if changed or not gitignore_path.exists(): - gitignore_path.write_text(updated, encoding="utf-8") - - return { - "gitignore_path": str(gitignore_path), - "mode": mode, - "patterns_active": patterns, - "updated": changed, - } - - -def check_git_ignored(workspace_dir: str, rel_path: str) -> dict[str, Any]: - proc = subprocess.run( - ["git", "check-ignore", "-v", rel_path], - cwd=workspace_dir, - text=True, - capture_output=True, - ) - return { - "file": rel_path, - "ignored": proc.returncode == 0, - "rule": proc.stdout.strip() if proc.returncode == 0 else None, - } - - -def audit_workspace_lectures(workspace_dir: str, target_slug: str | None = None) -> dict[str, Any]: - ws = Path(workspace_dir) - all_lecture_files = sorted( - p.name for p in ws.iterdir() if p.is_file() and p.name.startswith("lecture-") - ) - conforming = [] - non_conforming = [] - stems: dict[str, dict[str, Any]] = {} - - for fname in all_lecture_files: - m = LECTURE_FILE_RE.fullmatch(fname) - if not m: - non_conforming.append(fname) - continue - conforming.append(fname) - slug_part, ext = m.group(1), m.group(2) - stem = f"lecture-{slug_part}-ingglish-aq" - info = stems.setdefault( - stem, - { - "slug": slug_part, - "stem": stem, - "extensions": [], - "sizes": {}, - }, - ) - info["extensions"].append(ext) - info["sizes"][ext] = (ws / fname).stat().st_size - - target_report = None - if target_slug: - stem = canonical_stem(target_slug) - md_file = ws / f"{stem}.md" - mp3_file = ws / f"{stem}.mp3" - pdf_file = ws / f"{stem}.pdf" - target_report = { - "slug": normalize_slug(target_slug), - "canonical_stem": stem, - "host_tts_output_path": f"{resolve_host_workspace_mount(workspace_dir)}/{stem}.mp3", - "container_md_path": str(md_file), - "container_mp3_path": str(mp3_file), - "md_exists": md_file.exists() and md_file.stat().st_size > 0, - "mp3_exists": mp3_file.exists() and mp3_file.stat().st_size > 0, - "pdf_exists": pdf_file.exists() and pdf_file.stat().st_size > 0, - "stem_match": md_file.stem == mp3_file.stem == stem, - "pair_valid": bool( - md_file.exists() - and mp3_file.exists() - and md_file.stat().st_size > 0 - and mp3_file.stat().st_size > 0 - and md_file.stem == mp3_file.stem == stem - ), - "git_ignore_mp3": check_git_ignored(workspace_dir, f"{stem}.mp3"), - "git_ignore_md": check_git_ignored(workspace_dir, f"{stem}.md"), - } - - return { - "workspace": workspace_dir, - "host_workspace_mount": resolve_host_workspace_mount(workspace_dir), - "conforming_files": conforming, - "non_conforming_files": non_conforming, - "lecture_stems": stems, - "target_verification": target_report, - } - - -def main() -> int: - parser = argparse.ArgumentParser( - description="Validate lecture naming conventions and manage .gitignore rules." - ) - parser.add_argument("--workspace", default="/workspace/ingglish-hyperdope-gematria") - parser.add_argument("--slug", default=None, help="Topic slug to normalize/verify.") - parser.add_argument( - "--gitignore-mode", - choices=["none", "audio-only", "audio-and-pdf", "all-lecture-files", "explicit-slug"], - default="none", - help="Update /workspace/.gitignore using the strict lecture naming convention.", - ) - parser.add_argument( - "--verify-pair", - action="store_true", - help="Exit non-zero if the target slug's .md and .mp3 pair is missing or mismatched.", - ) - args = parser.parse_args() - - gitignore_res = None - if args.gitignore_mode != "none": - gitignore_res = update_gitignore( - args.workspace, mode=args.gitignore_mode, slug=args.slug - ) - - audit = audit_workspace_lectures(args.workspace, target_slug=args.slug) - if gitignore_res is not None: - audit["gitignore_update"] = gitignore_res - - print(json.dumps(audit, indent=2)) - - if args.verify_pair: - if not args.slug: - sys.stderr.write("ERROR: --verify-pair requires --slug\n") - return 2 - tv = audit.get("target_verification") or {} - if not tv.get("pair_valid") or audit.get("non_conforming_files"): - return 1 - return 0 +def _resolve_canonical() -> Path: + here = Path(__file__).resolve() + for anc in here.parents: + cand = anc / "ingglish-aq-archive" / "scripts" / _SCRIPT_NAME + if cand.is_file() and cand.resolve() != here: + return cand + ws = Path(os.environ.get("WORKSPACE_DIR", "/workspace")) + for cand in ( + ws / "ingglish-hyperdope-gematria" / "ingglish-aq-archive" / "scripts" / _SCRIPT_NAME, + ws / "ingglish-aq-archive" / "scripts" / _SCRIPT_NAME, + Path("/usr/libexec/ingglish-exegesis/scripts") / _SCRIPT_NAME, + ): + if cand.is_file() and cand.resolve() != here: + return cand + raise FileNotFoundError(f"Canonical script not found: {_SCRIPT_NAME}") if __name__ == "__main__": - raise SystemExit(main()) + runpy.run_path(str(_resolve_canonical()), run_name="__main__") diff --git a/packaging/bundle/skills/isopsephic-wire-report-synthesis/scripts/build_wire_report_pdf.py b/packaging/bundle/skills/isopsephic-wire-report-synthesis/scripts/build_wire_report_pdf.py index 74eb0ed..867ac15 100755 --- a/packaging/bundle/skills/isopsephic-wire-report-synthesis/scripts/build_wire_report_pdf.py +++ b/packaging/bundle/skills/isopsephic-wire-report-synthesis/scripts/build_wire_report_pdf.py @@ -1,159 +1,30 @@ #!/usr/bin/env python3 -""" -build_wire_report_pdf.py -Deterministic ReportLab PDF compiler & ASCII/mechanism verifier for `isopsephic-wire-report-synthesis`. -Safely masks inline backtick code spans before applying bold/italic tags and verifies the resulting PDF -via pypdf and pdfplumber. -""" +"""Thin delegator to canonical ingglish-aq-archive/scripts/build_wire_report_pdf.py.""" from __future__ import annotations -import argparse -import json -import re -import sys +import os +import runpy from pathlib import Path -from xml.sax.saxutils import escape + +_SCRIPT_NAME = "build_wire_report_pdf.py" -def fmt_inline_safe(text: str) -> str: - text = escape(text) - text = text.replace("Δ", 'D') - text = text.replace("δ", 'd') - text = text.replace("μ", 'm') - text = text.replace("σ", 's') - text = text.replace("π", 'p') - text = ( - text.replace("⁴", "4") - .replace("⁵", "5") - .replace("⁶", "6") - .replace("⁷", "7") - ) - code_spans: list[str] = [] - - def save_code(m: re.Match) -> str: - idx = len(code_spans) - code_spans.append(f'{m.group(1)}') - return f"\x00CODE{idx}\x00" - - text = re.sub(r"`([^`]+)`", save_code, text) - text = re.sub(r"\*\*([^*]+)\*\*", r"\1", text) - text = re.sub(r"\*([^*]+)\*", r"\1", text) - for idx, span in enumerate(code_spans): - text = text.replace(f"\x00CODE{idx}\x00", span) - return text - - -def build_pdf(md_path: str, pdf_path: str, title: str) -> dict: - try: - from reportlab.lib import colors - from reportlab.lib.pagesizes import letter - from reportlab.lib.styles import ParagraphStyle, getSampleStyleSheet - from reportlab.platypus import HRFlowable, Paragraph, SimpleDocTemplate, Spacer - from pypdf import PdfReader - import pdfplumber - except ImportError: - import subprocess - subprocess.run( - [sys.executable, "-m", "pip", "install", "--root-user-action=ignore", "--cache-dir", "/tmp/.pip", "reportlab", "pypdf", "pdfplumber"], - check=True, - stdout=subprocess.DEVNULL, - ) - from reportlab.lib import colors - from reportlab.lib.pagesizes import letter - from reportlab.lib.styles import ParagraphStyle, getSampleStyleSheet - from reportlab.platypus import HRFlowable, Paragraph, SimpleDocTemplate, Spacer - from pypdf import PdfReader - import pdfplumber - - def add_page_number(canvas, doc): - canvas.saveState() - canvas.setFont("Helvetica", 9) - canvas.setFillColor(colors.HexColor("#555555")) - canvas.drawRightString(letter[0] - 54, 36, f"Page {doc.page}") - canvas.restoreState() - - lines = Path(md_path).read_text(encoding="utf-8").splitlines() - - doc = SimpleDocTemplate( - pdf_path, - pagesize=letter, - leftMargin=54, - rightMargin=54, - topMargin=54, - bottomMargin=54, - title=title, - author="Hermes Agent", - ) - styles = getSampleStyleSheet() - h1 = ParagraphStyle("H1", parent=styles["Heading1"], fontName="Helvetica-Bold", fontSize=15, leading=19, spaceAfter=8, textColor=colors.HexColor("#111111")) - h2 = ParagraphStyle("H2", parent=styles["Heading2"], fontName="Helvetica-Bold", fontSize=12.5, leading=16, spaceBefore=10, spaceAfter=6, textColor=colors.HexColor("#1a1a1a")) - h3 = ParagraphStyle("H3", parent=styles["Heading3"], fontName="Helvetica-Bold", fontSize=10.5, leading=14, spaceBefore=8, spaceAfter=4, textColor=colors.HexColor("#222222")) - body = ParagraphStyle("Body", parent=styles["Normal"], fontName="Helvetica", fontSize=9.5, leading=13.5, spaceAfter=5) - bullet = ParagraphStyle("Bullet", parent=body, leftIndent=14, firstLineIndent=-8, spaceAfter=4) - subbullet = ParagraphStyle("SubBullet", parent=body, leftIndent=28, firstLineIndent=-8, spaceAfter=3) - - story, headers, in_table = [], [], False - for line in lines: - s = line.strip() - if not s: - in_table, headers = False, [] - continue - if s == "---": - story.extend([Spacer(1, 4), HRFlowable(width="100%", thickness=0.6, color=colors.HexColor("#cccccc")), Spacer(1, 4)]) - continue - if s.startswith("|") and s.endswith("|"): - cols = [c.strip() for c in re.split(r'(? int: - ap = argparse.ArgumentParser(description="Compile wire report Markdown to verified PDF.") - ap.add_argument("--md", required=True, help="Input Markdown file path") - ap.add_argument("--pdf", required=True, help="Output PDF file path") - ap.add_argument("--title", default="Isopsephic Wire Report", help="PDF document title") - args = ap.parse_args() - - res = build_pdf(args.md, args.pdf, args.title) - print(json.dumps(res, indent=2)) - return 0 if res["page_count"] >= 1 and res["extracted_chars"] > 0 else 1 +def _resolve_canonical() -> Path: + here = Path(__file__).resolve() + for anc in here.parents: + cand = anc / "ingglish-aq-archive" / "scripts" / _SCRIPT_NAME + if cand.is_file() and cand.resolve() != here: + return cand + ws = Path(os.environ.get("WORKSPACE_DIR", "/workspace")) + for cand in ( + ws / "ingglish-hyperdope-gematria" / "ingglish-aq-archive" / "scripts" / _SCRIPT_NAME, + ws / "ingglish-aq-archive" / "scripts" / _SCRIPT_NAME, + Path("/usr/libexec/ingglish-exegesis/scripts") / _SCRIPT_NAME, + ): + if cand.is_file() and cand.resolve() != here: + return cand + raise FileNotFoundError(f"Canonical script not found: {_SCRIPT_NAME}") if __name__ == "__main__": - raise SystemExit(main()) + runpy.run_path(str(_resolve_canonical()), run_name="__main__") diff --git a/packaging/rpm/ingglish-exegesis.sysconfig b/packaging/rpm/ingglish-exegesis.sysconfig index 730d037..794f385 100644 --- a/packaging/rpm/ingglish-exegesis.sysconfig +++ b/packaging/rpm/ingglish-exegesis.sysconfig @@ -12,5 +12,6 @@ FORGE_SSH="ssh://git@git.libre.audio:2222/seasharp" # Optional explicit SSH private key path for automated git push: # INGGLISH_SSH_KEY_PATH="/etc/ingglish-exegesis/id_ed25519" -# 3. Local Workspace Directory for Cloned Repositories +# 3. Local Workspace Directory for Cloned Repositories & Concurrency Lock File WORKSPACE_DIR="/var/lib/ingglish-exegesis/workspace" +INGGLISH_LOCK_FILE="/var/lib/ingglish-exegesis/ingglish-exegesis-fedora41.lock" diff --git a/packaging/rpm/ingglish-exegesis.sysusers.conf b/packaging/rpm/ingglish-exegesis.sysusers.conf index 112dfbb..9a3dbef 100644 --- a/packaging/rpm/ingglish-exegesis.sysusers.conf +++ b/packaging/rpm/ingglish-exegesis.sysusers.conf @@ -1,2 +1,2 @@ # Type Name ID GECOS Home directory Shell -u ingglish - "Ingglish Isopsephic Exegesis Service" /var/lib/ingglish-aq-archive /sbin/nologin +u ingglish - "Ingglish Isopsephic Exegesis Service" /var/lib/ingglish-exegesis /sbin/nologin diff --git a/packaging/rpm/ingglish-isopsephic-exegesis.spec b/packaging/rpm/ingglish-isopsephic-exegesis.spec index e9a5ea0..ca69fec 100644 --- a/packaging/rpm/ingglish-isopsephic-exegesis.spec +++ b/packaging/rpm/ingglish-isopsephic-exegesis.spec @@ -63,6 +63,12 @@ exit 0 if [ -f /usr/libexec/ingglish-exegesis/vendor/ingglish-vendor.tgz ] && [ ! -d /usr/libexec/ingglish-exegesis/node_modules/ingglish ]; then tar -xzf /usr/libexec/ingglish-exegesis/vendor/ingglish-vendor.tgz -C /usr/libexec/ingglish-exegesis/node_modules || : fi +rm -f /tmp/ingglish-exegesis-fedora41.lock || : +chown -R ingglish:ingglish /var/lib/ingglish-exegesis /var/lib/ingglish-aq-archive /etc/ingglish-exegesis || : +if [ -f /etc/sysconfig/ingglish-exegesis ]; then + chown ingglish:ingglish /etc/sysconfig/ingglish-exegesis || : + chmod 0600 /etc/sysconfig/ingglish-exegesis || : +fi %systemd_post ingglish-exegesis.service ingglish-exegesis.timer if command -v semanage && command -v restorecon; then semanage fcontext -a -t var_lib_t '/var/lib/ingglish-exegesis(/.*)?' || \