feat(news-aq): implement daily 00:00 GMT current-events pipeline, TZ handling, Nov 2 dossier, and RHEL packaging
This commit is contained in:
1 parent
ed3b3a2b60
commit
9861367f34
34 files changed
+10736
-121
No files matched your search
@@ -62,6 +62,7 @@ All entries are verified both orthographically (via the `ingglish` CMUdict engin
|
||||
- `33-dossier-hellraiser.md` — Cross-scale (`333 / 666 / 777`) dossier for Clive Barker's *Hellraiser* (1987) (`huks == flesh == 95`, `payn == bluhd == 92`, `pinhed == bohnz == alfabet == 110`, `lavaiathan == nuhmberz == 179 [PRIME]`).
|
||||
- `34-dossier-the-void.md` — Cross-scale (`333 / 666 / 777`) dossier for Kostanski & Gillespie's *The Void* (2016) (`danyal karter == richerd poual == 247`, `danyal == poual == gohst == 114`, `piramid == karter == richerd == 133`).
|
||||
- `35-dossier-possession.md` — Cross-scale (`333 / 666 / 777`) dossier for Andrzej Zulawski's *Possession* (1981) (`sam neel == brohkan == berning == 132`, `dopalganger == ikwayzhan == helrayzer == 199 [PRIME]`, `kreecher == speling == simbalz == 145`).
|
||||
- `46-dossier-news-2026-11-02.md` — Cross-scale (`333 / 666 / 777`) current-events dossier for November 2, 2026 (European supermarket freezer cyberattacks, Komyshuvakha aid distribution center bombing, West Bank Hebron withdrawal `3299 -> 3467` twin-prime lock, FDA $40 generic lenacapavir approval, US midterm eve & California disputed mail ballots; `distrabyooshan == soopermarkits == 296`, `soopermarkit == lindzee klansee == 268`, `freezerz == nookleeer == 181 [PRIME]`).
|
||||
|
||||
### Category D: Bidirectional Evaluations & Orthographic Genealogical Fitness Records (Option 4 Hybrid Numogrammatic Curve)
|
||||
- `30-eval-the-thing-bidirectional.md` — Bidirectional (`English <-> Ingglish`) AQ evaluation, intergenerational orthographic drift ledger (`Δ`), Option 4 Hybrid Numogrammatic Curve scorecard (`92/100 Class S`, uncurved `97/100`), and 6-vector genealogical fitness benchmark (`G1–G6`) for *The Thing* (1982) (`24-dossier-the-thing.md`).
|
||||
@@ -84,3 +85,4 @@ All entries are verified both orthographically (via the `ingglish` CMUdict engin
|
||||
## 5. Session Ingestion Log (Chronological Audit Trail)
|
||||
|
||||
- **2026-11-02 (Session Batch 01):** Initialized repository structure; ingested 80 core session phrases (`333`, `666`, `777` general, `Set/Taifan/Apawfis`, `Nik Land`, `Joshooa Raymee`, `belohz/luhngz/voisaz`) plus supplemental cross-scale completions and atomic lexicon weights.
|
||||
- **2026-11-02 (Session Batch 02 — Daily 00:00 GMT Current-Events Pipeline):** Implemented `scripts/collect_news_aq.py` with `TZ=UTC` enforcement and `00:00 GMT` rollover resolution; ingested `46-dossier-news-2026-11-02.md` (30 non-padded `333 / 666 / 777` equations across 5 global wire clusters).
|
||||
@@ -0,0 +1,92 @@
|
||||
# Dossier: Current Events Ledger (November 2, 2026) — Cold-Chain Sabotage, Komyshuvakha Strike, West Bank Withdrawal, Lenacapavir & Midterm Eve
|
||||
|
||||
## 1. Semiotic, Archetypal & Hyperstitional Analysis
|
||||
|
||||
On Monday, November 2, 2026 (`2026-11-02 UTC`)—the final twenty-four hours before the United States midterm elections (`midtermz` = 180) and the immediate morning rollover from the `00:00 GMT` (`19:00 EST` prior calendar evening) closing bell—the global wire feeds (Wikipedia `Portal:Current_events`, BBC News, Associated Press) locked into five interlocking numerical circuits across Base-36 Ingglish Alphanumeric Qabbala (AQ):
|
||||
|
||||
1. **Temporal Rollover & The Twin-Prime West Bank Withdrawal (`3299 [PRIME]` -> `3467 [PRIME]`):**
|
||||
Evaluating the `00:00 GMT` (`UTC`) boundary against `America/New_York` (`EST`, `UTC-05:00`) exposes the structural split between Wikipedia's completed `2026_November_1` ledger (`now_utc - 24h` at midnight GMT) and the active `2026_November_2` conflict feed. In the lead `2026_November_2` military entry—`"Gaza war 2026 West Bank lockdown Israeli forces withdraw from areas around Hebron in the occupied West Bank after a multi-day operation following the killing of two Israeli soldiers at a checkpoint."`—the verbatim English string evaluates to **3299 [463rd prime]**, and its deterministic Ingglish translation (`goza wor 2026 west bangk lokdoun izraylee forsiz widhdraw fruhm aireeaz eround hebran in dha okyapaid west bangk after a muhltee-day operayshan folohing dha kiling uhv too izraylee sohljerz at a chekpoint.`) evaluates to **3467 [486th prime]**, forming a full-entry **Twin-Prime Wire Lock**. Simultaneously, BBC and AP headlines cluster on shared prime divisors **179 [41st prime]** (`1253 = 7 × 179` for `"Prosecutors hint at retrial for Lindsay Clancy on murder charges"` and `1432 = 2³ × 179` for `"A Paralympian vs a former TV news anchor - and other US Senate races to watch"`, anchored by `nuhmberz` = 179 == `lavaiathan` = 179 == `spaider hed` = 179), **67 [19th prime]** (`1340 = 20 × 67` and `1407 = 21 × 67`, anchored by `Land` = 67 == `abis` = 67), and **61 [18th prime]** (`1098 = 18 × 61` for `"Shop freezers in seven European countries hit by cyber-attack"` and `488 = 8 × 61` for `"A simple guide to the midterms"`, anchored by `Nik` = 61 == `buk` = 61).
|
||||
2. **Cold-Chain Spoilage vs. Humanitarian Strike (`soopermarkits` = 296 == `distrabyooshan` = 296 = `8 × 37`):**
|
||||
Across seven European countries, a second wave of cyberattacks disabled supermarket refrigeration systems (`soopermarkits` = 296), overheating and spoiling (`spoil` = 116 [ISOMETRIC]) tons of food (`food` = 76 [ISOMETRIC]). On the exact same wire cycle, Russian aerial bombing struck an aid distribution center (`distrabyooshan` = 296) in Komyshuvakha, Zaporizhzhia Oblast (`oblast` = 123 [ISOMETRIC] == `vawlt` = 123), killing at least 24 civilians. In Ingglish AQ, `soopermarkits` (`296 = 2³ × 37`) and `distrabyooshan` (`296 = 2³ × 37`) occupy the exact same coordinate—an octuple multiple of the repdigit prime generator **37** (`333 = 9 × 37`, `666 = 18 × 37`, `777 = 21 × 37`)—while `spoil` (`116`) locks directly to `kiling` ("killing" = 116) and *Event Horizon*'s `signal` (`116`) == `kayos` (`116`).
|
||||
3. **Thermodynamic Cyber-Grid vs. False Nuclear Alert (`freezerz` = 181 [PRIME] == `nookleeer` = 181 [PRIME] == `apokalips` = 181 [PRIME]):**
|
||||
As hacked European shop `freezerz` ("freezers" = 181 [42nd prime]) thawed into rubbish (`ruhbish` = 148 = `4 × 37`), a hacked civil-defense application in Ukraine broadcast a fake `nookleeer` ("nuclear" = 181 [42nd prime]) warning (`worning` = 163 [38th prime] == `bangladesh` = 163 [ISOMETRIC] == `masheenz` = 163). Both `freezerz` and `nookleeer` evaluate to the 42nd prime **181**, which is the exact archive weight of `apokalips` ("apocalypse" = 181) in *The Thing*.
|
||||
4. **Supermarket Sabotage vs. Murder Retrial (`soopermarkit` = 268 == `lindzee klansee` = 268):**
|
||||
In singular form, `soopermarkit` ("supermarket" = 268 = `4 × 67`) collides identically with `lindzee klansee` ("Lindsay Clancy" = `138 + 130 = 268`), who returned to a Massachusetts court as prosecutors weighed a 2027 murder `reetraial` ("retrial" = 170 == `konflikt` = 170 == `iohtohva` = 170 == `laberinth` = 170).
|
||||
5. **Occupied Checkpoint vs. Andean & Midterm Fronts (`west bangk` = 183 == `milatairee` = 183 == `bohliveean` = 183 == `nohvember` = 183; `izraylee` = 173 [PRIME] == `demakrats` = 173 [PRIME] == `woonding` = 173 [PRIME]):**
|
||||
The Israeli withdrawal around `hebran` ("Hebron" = 102 == `flaym` = 102 == `krash` = 102) in the `west bangk` ("West Bank" = `103 + 80 = 183`) and the truck bomb outside a `milatairee` ("military" = 183) base (`bays` = 83 [23rd prime]) in `planadaz` ("Planadas" = 147 == `forsiz` = 147), `toleema` ("Tolima" = 134 == `pradesh` = 134 [ISOMETRIC] == `saytan` = 134 == `fiziks` = 134), `kaluhmbeea` ("Colombia" = 169 [13²] == `werkerz` = 169 == `yooslas` = 169 == `vizhanz` = 169) share the 183 node with `bohliveean` ("Bolivian" = 183) and `nohvember` ("November" = 183). Meanwhile, `izraylee` ("Israeli" = 173 [40th prime]), `woonding` ("wounding" = 173), and US `demakrats` ("Democrats" = 173) lock at the 40th prime **173**, while FDA-approved generic HIV shield `lenakapaver` ("lenacapavir" = 205) pairs with isometric `hiv` (`66 == 66`) and `druhg` ("drug" = 103 [27th prime] == `west` = 103 [ISOMETRIC] == `thing` = 103 [ISOMETRIC]).
|
||||
|
||||
## 2. Atomic Lexicon & Remarkable Isopsephic Identities
|
||||
|
||||
| Entity / Concept | Ingglish | AQ | Prime / Archive Identity |
|
||||
| :--- | :--- | :-- | :--- |
|
||||
| Distribution / Supermarkets | `distrabyooshan` / `soopermarkits` | `296` | `2³ × 37` — Aid center bombing vs. European cold-chain hack |
|
||||
| Supermarket / Lindsay Clancy | `soopermarkit` / `lindzee klansee` | `268` | `2² × 67` — Cyber-sabotaged store vs. Massachusetts murder retrial |
|
||||
| The United / Middle Eastern | `dha yoonaitid` / `midal eestern` | `233` | **51st prime (Fibonacci prime)** — equals `guhnslinger` (233) |
|
||||
| Lenacapavir | `lenakapaver` | `205` | `5 × 41` — FDA twice-yearly $40 generic HIV prevention injection |
|
||||
| California | `kalafornya` | `194` | `2 × 97` — Supreme Court appeal over 20,000 disputed mail ballots |
|
||||
| United / Protest | `yoonaitid` / `prohtest` | `193` | **44th prime** — equals Bulgarian caretaker PM `jaiyurov` (193) |
|
||||
|Soldiers / Multiple / Longest | `sohljerz` / `muhltapal` / `lawnggast` | `185` | `5 × 37` — Quinque-multiple of repdigit prime `37` |
|
||||
| West Bank / Military / November | `west bangk` / `milatairee` / `nohvember` | `183` | `3 × 61` — equals `bohliveean` ("Bolivian" = 183) |
|
||||
| Freezers / Nuclear | `freezerz` / `nookleeer` | `181` | **42nd prime** — equals `apokalips` ("apocalypse" = 181) |
|
||||
| Midterms | `midtermz` | `180` | `2² × 3² × 5` — Tuesday congressional control threshold |
|
||||
| Israeli / Democrats / Wounding | `izraylee` / `demakrats` / `woonding` | `173` | **40th prime** — equals `riternz` (173) & `traysaz` (173) |
|
||||
| Conflict / Retrial / Iotova | `konflikt` / `reetraial` / `iohtohva` | `170` | `2 × 5 × 17` — equals `stabingz` (170) & `laberinth` (170) |
|
||||
| Colombia / Workers / Useless | `kaluhmbeea` / `werkerz` / `yooslas` | `169` | `13²` — equals `dha bahomaz` (169) & `vizhanz` (169) |
|
||||
| Ceasefire / Mobilize | `seesfaier` / `mohbalaiz` | `168` | `2³ × 3 × 7` — Kherson front truce vs. Bolivian El Nino decree |
|
||||
| Warning / Bangladesh / Present | `worning` / `bangladesh` / `prezant` | `163` | **38th prime** — `bangladesh` is **isometric** (`163 == 163`); equals `masheenz` |
|
||||
| Lockdown / Crashes / Migrant | `lokdoun` / `krashiz` / `maigrant` | `155` | `5 × 31` — West Bank operation vs. Palm Beach flight data |
|
||||
| Russian / Ujjain | `ruhshan` / `uhjjayn` | `152` | `2³ × 19` — equals `mishigan` (152) & `stohlan` (152) |
|
||||
| Forces / Planadas / December | `forsiz` / `planadaz` / `disember` | `147` | `3 × 7²` — equals `speerat` (147) & `saiferz` (147) |
|
||||
| Generic / Democrat / Lazarus | `janairik` / `demakrat` / `lazeras` | `145` | `5 × 29` — FDA generic lenacapavir locks to `lazeras` (145) |
|
||||
| Kherson / Palm Beach / Spiral | `khersan` / `pom beech` / `spairal` | `139` | **34th prime** — equals `izreeal` (139) & `sailant` (139) |
|
||||
| Tolima / Pradesh / Satan | `toleema` / `pradesh` / `saytan` | `134` | `pradesh` is **isometric** (`134 == 134`); equals `fiziks` (134) |
|
||||
| During / Living | `during` / `living` | `127` | **31st prime** — Both are **isometric** (`AQ(Eng) == AQ(Ing) == 127`) |
|
||||
| Oblast / Truck / Vault | `oblast` / `truhk` / `vawlt` | `123` | `oblast` is **isometric** (`123 == 123`); Zaporizhzhia vs. Planadas bomb |
|
||||
| Spoil / Killing / Signal | `spoil` / `kiling` / `signal` | `116` | `spoil` is **isometric** (`116 == 116`); equals `kayos` (116) |
|
||||
| Ballots / Shadow / Codes | `balats` / `shadoh` / `kohdz` | `109` | **29th prime** — 20,000 disputed California mail ballots |
|
||||
| French / Harlan | `french` / `harlan` | `108` | `2² × 3³` — `french` is **isometric** (`108 == 108`); Numogrammatic multiple |
|
||||
| West / Drug / Thing | `west` / `druhg` / `thing` | `103` | **27th prime** — `west` and `thing` are **isometric** (`103 == 103`) |
|
||||
| Hebron / Crash / Flame | `hebran` / `krash` / `flaym` | `102` | `2 × 3 × 17` — West Bank withdrawal vs. Florida flight recorder |
|
||||
| Bound / Cost / Vote | `bound` / `kost` / `voht` | `101` | **26th prime** — `bound` is **isometric** (`101 == 101`) |
|
||||
| Base / Jake / Heart | `bays` / `jayk` / `hart` | `83` | **23rd prime** — Planadas military base |
|
||||
| Food | `food` | `76` | `2² × 19` — **Isometric** (`AQ(Eng) == AQ(Ing) == 76`) |
|
||||
| HIV / Four | `hiv` / `for` | `66` | `2 × 3 × 11` — `hiv` is **isometric** (`AQ(Eng) == AQ(Ing) == 66`) |
|
||||
|
||||
## 3. Scale I: AQ 333 Equations (The Cold Chain, The Aid Strike, The Checkpoint & The Ballot)
|
||||
|
||||
- `grid uhv freezerz` ("grid of freezers") — `grid (74) + uhv (78) + freezerz (181) = 333` [Cyberattack, Freezers, 333]
|
||||
- `grid uhv nookleeer` ("grid of nuclear") — `grid (74) + uhv (78) + nookleeer (181) = 333` [Ukraine, Nuclear, 333]
|
||||
- `french spoilz grid` ("French spoils grid") — `french (108) + spoilz (151) + grid (74) = 333` [France, Supermarkets, 333]
|
||||
- `khersan shayks ayd` ("Kherson shakes aid") — `khersan (139) + shayks (137) + ayd (57) = 333` [Ukraine, Kherson, 333]
|
||||
- `dha food uhv khersan` ("the food of Kherson") — `dha (40) + food (76) + uhv (78) + khersan (139) = 333` [Ukraine, Aid, 333]
|
||||
- `west bangk loks bom` ("West Bank locks bomb") — `west (103) + bangk (80) + loks (93) + bom (57) = 333` [West Bank, Hebron, 333]
|
||||
- `dha bays in kaluhmbeea` ("the base in Colombia") — `dha (40) + bays (83) + in (41) + kaluhmbeea (169) = 333` [Colombia, Planadas, 333]
|
||||
- `dha sheeld in janairik` ("the shield in generic") — `dha (40) + sheeld (107) + in (41) + janairik (145) = 333` [FDA, Lenacapavir, 333]
|
||||
- `dha dohs at injekshan` ("the dose at injection") — `dha (40) + dohs (82) + at (39) + injekshan (172) = 333` [FDA, HIV, 333]
|
||||
- `dha grid at midtermz` ("the grid at midterms") — `dha (40) + grid (74) + at (39) + midtermz (180) = 333` [US Midterms, 333]
|
||||
|
||||
## 4. Scale II: AQ 666 Equations (Thawed Shops, Bombed Aid, Hebron Pullout & Disputed Votes)
|
||||
|
||||
- `soopermarkit loks dha red food in shop` ("supermarket locks the red food in shop") — `soopermarkit (268) + loks (93) + dha (40) + red (54) + food (76) + in (41) + shop (94) = 666` [Supermarkets, Cyberattack, 666]
|
||||
- `freezerz melt dha ded shop too ruhbish` ("freezers melt the dead shop to rubbish") — `freezerz (181) + melt (86) + dha (40) + ded (40) + shop (94) + too (77) + ruhbish (148) = 666` [Freezers, Spoilage, 666]
|
||||
- `distrabyooshan gardz dha ded food at grid` ("distribution guards the dead food at grid") — `distrabyooshan (296) + gardz (101) + dha (40) + ded (40) + food (76) + at (39) + grid (74) = 666` [Zaporizhzhia, Aid Strike, 666]
|
||||
- `distrabyooshan hits dha deep ayd in grid` ("distribution hits the deep aid in grid") — `distrabyooshan (296) + hits (92) + dha (40) + deep (66) + ayd (57) + in (41) + grid (74) = 666` [Zaporizhzhia, Aid Center, 666]
|
||||
- `west bangk leevz dha ded hebran at forsiz` ("West Bank leaves the dead Hebron at forces") — `west (103) + bangk (80) + leevz (115) + dha (40) + ded (40) + hebran (102) + at (39) + forsiz (147) = 666` [West Bank, Hebron, 666]
|
||||
- `west bangk leevz dha dark bays in toleema` ("West Bank leaves the dark base in Tolima") — `west (103) + bangk (80) + leevz (115) + dha (40) + dark (70) + bays (83) + in (41) + toleema (134) = 666` [West Bank, Colombia Lock, 666]
|
||||
- `lenakapaver sheeldz dha cheep hiv at bluhd` ("lenacapavir shields the cheap HIV at blood") — `lenakapaver (205) + sheeldz (142) + dha (40) + cheep (82) + hiv (66) + at (39) + bluhd (92) = 666` [FDA, Lenacapavir, 666]
|
||||
- `lenakapaver sheeldz dha noo hiv at druhg` ("lenacapavir shields the new HIV at drug") — `lenakapaver (205) + sheeldz (142) + dha (40) + noo (71) + hiv (66) + at (39) + druhg (103) = 666` [FDA, HIV Shield, 666]
|
||||
- `kalafornya kounts dha ded voht in dayta` ("California counts the dead vote in data") — `kalafornya (194) + kounts (154) + dha (40) + ded (40) + voht (101) + in (41) + dayta (96) = 666` [Midterms, California Ballots, 666]
|
||||
- `lindzee klansee loks dha red dayta in grid` ("Lindsay Clancy locks the red data in grid") — `lindzee (138) + klansee (130) + loks (93) + dha (40) + red (54) + dayta (96) + in (41) + grid (74) = 666` [Clancy Retrial, 268 Lock, 666]
|
||||
|
||||
## 5. Scale III: AQ 777 Equations (Spoiled Grid, Raw Oblast, Lost Hebron & First Dose)
|
||||
|
||||
- `freezerz melt dha kohld food in dha lawng spoil` ("freezers melt the cold food in the long spoil") — `freezerz (181) + melt (86) + dha (40) + kohld (95) + food (76) + in (41) + dha (40) + lawng (102) + spoil (116) = 777` [Freezers, Spoil, 777]
|
||||
- `soopermarkit loks dha kohld food in dark shop` ("supermarket locks the cold food in dark shop") — `soopermarkit (268) + loks (93) + dha (40) + kohld (95) + food (76) + in (41) + dark (70) + shop (94) = 777` [Supermarket, Cold Chain, 777]
|
||||
- `distrabyooshan hits dha ded ayd uhv ro oblast` ("distribution hits the dead aid of raw oblast") — `distrabyooshan (296) + hits (92) + dha (40) + ded (40) + ayd (57) + uhv (78) + ro (51) + oblast (123) = 777` [Zaporizhzhia, Oblast, 777]
|
||||
- `distrabyooshan hohldz dha ded ayd in dha blak grid` ("distribution holds the dead aid in the black grid") — `distrabyooshan (296) + hohldz (127) + dha (40) + ded (40) + ayd (57) + in (41) + dha (40) + blak (62) + grid (74) = 777` [Zaporizhzhia, Aid Center, 777]
|
||||
- `west bangk leevz dha kohld bays at ded chekpoint` ("West Bank leaves the cold base at dead checkpoint") — `west (103) + bangk (80) + leevz (115) + dha (40) + kohld (95) + bays (83) + at (39) + ded (40) + chekpoint (182) = 777` [West Bank, Checkpoint, 777]
|
||||
- `west bangk leevz dha kohld bays at lawst hebran` ("West Bank leaves the cold base at lost Hebron") — `west (103) + bangk (80) + leevz (115) + dha (40) + kohld (95) + bays (83) + at (39) + lawst (120) + hebran (102) = 777` [West Bank, Hebron, 777]
|
||||
- `lenakapaver sheeldz dha cheep hiv on ferst dohs` ("lenacapavir shields the cheap HIV on first dose") — `lenakapaver (205) + sheeldz (142) + dha (40) + cheep (82) + hiv (66) + on (47) + ferst (113) + dohs (82) = 777` [FDA, Lenacapavir, 777]
|
||||
- `lenakapaver sheeldz dha cheep hiv in vast druhg` ("lenacapavir shields the cheap HIV in vast drug") — `lenakapaver (205) + sheeldz (142) + dha (40) + cheep (82) + hiv (66) + in (41) + vast (98) + druhg (103) = 777` [FDA, HIV Drug, 777]
|
||||
- `kalafornya kounts dha kohld balats at hai voht` ("California counts the cold ballots at high vote") — `kalafornya (194) + kounts (154) + dha (40) + kohld (95) + balats (109) + at (39) + hai (45) + voht (101) = 777` [Midterms, California Ballots, 777]
|
||||
- `lindzee klansee loks dha kohld balats on ro grid` ("Lindsay Clancy locks the cold ballots on raw grid") — `lindzee (138) + klansee (130) + loks (93) + dha (40) + kohld (95) + balats (109) + on (47) + ro (51) + grid (74) = 777` [Clancy, Modular 268 Lock, 777]
|
||||
Regular → Executable
File mode changed.
+570
@@ -0,0 +1,570 @@
|
||||
#!/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))
|
||||
"""
|
||||
|
||||
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
|
||||
from pathlib import Path
|
||||
from typing import Any
|
||||
|
||||
# Capture initial caller environment TZ before pinning to UTC
|
||||
CALLER_ENV_TZ = os.environ.get("TZ", "<unset>")
|
||||
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",
|
||||
) -> 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"<li[^>]*>(.*?)</li>", 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"<h[23][^>]*>(.*?)</h[23]>", 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"<h[23][^>]*>(.*?)</h[23]>", 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") -> dict[str, str]:
|
||||
"""Run a single Node script invoking `ingglish` on all input strings."""
|
||||
if not strings:
|
||||
return {}
|
||||
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-aq-archive")
|
||||
parser.add_argument("--workdir", default="/workspace")
|
||||
parser.add_argument("--out", default=None, help="Optional file path to also save JSON output.")
|
||||
args = parser.parse_args()
|
||||
|
||||
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
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
raise SystemExit(main())
|
||||
@@ -33,9 +33,9 @@
|
||||
- **157 [37th prime]:** `red rohz` ("red rose" == `end-werld` / "End-World" — Dossier 23), `profasee` ("prophecy")
|
||||
- **163 [38th prime]:** `saientoh` ("Siento" — Dossier 23), `masheenz` ("machines"), `houzing` ("housing" — Dossier 25)
|
||||
- **167 [39th prime]:** `fyoocher` ("future"), `twailait` ("twilight"), `monster` ("monster"), `rob botin` ("Rob Bottin" — Dossier 24)
|
||||
- **173 [40th prime]:** `traysaz` ("traces")
|
||||
- **173 [40th prime]:** `traysaz` ("traces"), `izraylee` ("Israeli" == `demakrats` / "Democrats" == `woonding` / "wounding" — Dossier 46)
|
||||
- **179 [41st prime]:** `nuhmberz` ("numbers"), `spaider hed` ("spider head" — Dossier 24, isometric with English `Spider Head` = 179), `wisperz` ("whispers")
|
||||
- **181 [42nd prime]:** `apokalips` ("apocalypse" — Dossier 24), `swolohz` ("swallows")
|
||||
- **181 [42nd prime]:** `apokalips` ("apocalypse" — Dossier 24), `swolohz` ("swallows"), `freezerz` ("freezers" == `nookleeer` / "nuclear" — Dossier 46)
|
||||
- **197 [45th prime]:** `verstapan` ("Verstappen" — Dossier 25)
|
||||
- **199 [46th prime]:** `petree dish` ("petri dish" = `123 + 76 = 199` — Dossier 24)
|
||||
- **211 [47th prime]:** `koper waier` ("copper wire" = `110 + 101 = 211` — Dossier 24) == `mersaydeez` ("Mercedes" = 211 — Dossier 25) == `siks bilyan` ("six billion" = 211 — Dossier 25)
|
||||
@@ -47,6 +47,7 @@
|
||||
- **271 [58th prime]:** `flaymethroher` ("flamethrower" — Dossier 24)
|
||||
- **277 [59th prime]:** `maks verstapan` ("Max Verstappen" — Dossier 25)
|
||||
- **829 [145th prime] & 839 [146th prime]:** Twin-prime headline lock for `"Nine killed as small jet crashes on Florida street"` (English AQ `839 [PRIME]` -> Ingglish AQ `829 [PRIME]` — Dossier 25)
|
||||
- **3299 [463rd prime] & 3467 [486th prime]:** Twin-prime wire entry lock for `"Gaza war 2026 West Bank lockdown Israeli forces withdraw from areas around Hebron..."` (English AQ `3299 [PRIME]` -> Ingglish AQ `3467 [PRIME]` — Dossier 46)
|
||||
|
||||
---
|
||||
|
||||
@@ -72,9 +73,10 @@
|
||||
- `dha thing in dha hidan ai` ("the thing in the hidden eye") — `dha (40) + thing (103 [27th PRIME]) + in (41 [13th PRIME]) + dha (40) + hidan (81 [3⁴]) + ai (28) = 333`
|
||||
9. **[Dossier 25: Current Events (Nov 1, 2026) — F1 & Mercedes / 211 Prime Lock]**
|
||||
- `lap for mersaydeez` ("lap for Mercedes") — `lap (56) + for (66) + mersaydeez (211 [47th PRIME]) = 333` *(Where `mersaydeez = 211` == `siks bilyan` = 211 == `koper waier` = 211)*
|
||||
10. **[Dossier 25: Current Events (Nov 1, 2026) — US Midterms & Palm Beach Crash]**
|
||||
10. **[Dossier 25 & Dossier 46: Current Events (Nov 1–2, 2026) — US Midterms, Palm Beach Crash & European Freezer Grid]**
|
||||
- `demakrat flips balat` ("Democrat flips ballot") — `demakrat (145) + flips (107 [28th PRIME]) + balat (81 [3⁴]) = 333`
|
||||
- *(Companion: `pom beech (139 [34th PRIME]) + hits (92) + dha (40) + jet (62) = 333`)*
|
||||
- *(Companion [Dossier 25]: `pom beech (139 [34th PRIME]) + hits (92) + dha (40) + jet (62) = 333`)*
|
||||
- *(Companion [Dossier 46 — 181 Prime Lock]: `grid (74) + uhv (78) + freezerz (181 [42nd PRIME]) = 333` == `grid (74) + uhv (78) + nookleeer (181 [42nd PRIME]) = 333`)*
|
||||
|
||||
---
|
||||
|
||||
@@ -100,9 +102,10 @@
|
||||
9. **[Dossier 25: Current Events (Nov 1, 2026) — Antonelli / Karl Bushby 203 Lock]**
|
||||
- `ontohnelee winz dha noo taital in trak` ("Antonelli wins the new title in track") — `ontohnelee (203) + winz (108) + dha (40) + noo (71 [20th PRIME]) + taital (117) + in (41 [13th PRIME]) + trak (86) = 666`
|
||||
- *(Companion via 203 modular identity: `karl bushbee (203) + wawks (122) + dha (40) + lawng (102) + mail (71 [20th PRIME]) + in (41 [13th PRIME]) + erth (87) = 666`)*
|
||||
10. **[Dossier 25: Current Events (Nov 1, 2026) — Binance Hack & Michigan Midterms]**
|
||||
10. **[Dossier 25 & Dossier 46: Current Events (Nov 1–2, 2026) — Binance Hack, Midterms & Komyshuvakha Distribution Lock]**
|
||||
- `mishigan stuhnz dha noo voht in rays` ("Michigan stuns the new vote in race") — `mishigan (152) + stuhnz (162) + dha (40) + noo (71 [20th PRIME]) + voht (101 [26th PRIME]) + in (41 [13th PRIME]) + rays (99) = 666` *(Three consecutive prime middle tokens: 71, 101, 41)*
|
||||
- *(Companion: `binans (113 [30th PRIME]) + haks (75) + dha (40) + seekrat (142) + vawlt (123) + uhv (78) + lejer (95) = 666`)*
|
||||
- *(Companion [Dossier 25]: `binans (113 [30th PRIME]) + haks (75) + dha (40) + seekrat (142) + vawlt (123) + uhv (78) + lejer (95) = 666`)*
|
||||
- *(Companion [Dossier 46 — 296 = 8 × 37 Lock]: `distrabyooshan (296 [2³ × 37]) + gardz (101 [26th PRIME]) + dha (40) + ded (40) + food (76) + at (39) + grid (74) = 666`)*
|
||||
|
||||
---
|
||||
|
||||
@@ -128,9 +131,10 @@
|
||||
9. **[Dossier 25: Current Events (Nov 1, 2026) — Binance Hack & Hidden Cipher]**
|
||||
- `binans haks dha stohlan vawlt in dha hidan saifer` ("Binance hacks the stolen vault in the hidden cipher") — `binans (113 [30th PRIME]) + haks (75) + dha (40) + stohlan (152) + vawlt (123) + in (41 [13th PRIME]) + dha (40) + hidan (81) + saifer (112) = 777`
|
||||
- *(Companion for Florida Learjet crash with four primes: `leerjet (138) + krashiz (155) + dha (40) + smawl (113 [30th PRIME]) + jet (62) + in (41 [13th PRIME]) + dha (40) + sharp (107 [28th PRIME]) + rohd (81) = 777`)*
|
||||
10. **[Dossier 25: Current Events (Nov 1, 2026) — Karl Bushby / Antonelli 203 Lock]**
|
||||
10. **[Dossier 25 & Dossier 46: Current Events (Nov 1–2, 2026) — Karl Bushby / Antonelli 203 Lock & California / Lenacapavir]**
|
||||
- `karl bushbee wawks dha lawng mail in dha ro werld` ("Karl Bushby walks the long mile in the raw world") — `karl bushbee (203) + wawks (122) + dha (40) + lawng (102) + mail (71 [20th PRIME]) + in (41 [13th PRIME]) + dha (40) + ro (51) + werld (107 [28th PRIME]) = 777` *(Three prime tokens: 71, 41, 107)*
|
||||
- *(Companion: `ontohnelee (203) + winz (108) + dha (40) + noo (71 [20th PRIME]) + kroun (124) + in (41 [13th PRIME]) + gohld (91) + rays (99) = 777`)*
|
||||
- *(Companion [Dossier 25]: `ontohnelee (203) + winz (108) + dha (40) + noo (71 [20th PRIME]) + kroun (124) + in (41 [13th PRIME]) + gohld (91) + rays (99) = 777`)*
|
||||
- *(Companion [Dossier 46]: `kalafornya (194) + kounts (154) + dha (40) + kohld (95) + balats (109 [29th PRIME]) + at (39) + hai (45) + voht (101 [26th PRIME]) = 777`)*
|
||||
|
||||
---
|
||||
|
||||
@@ -154,7 +158,9 @@
|
||||
- `dha sibernetik maind uhv dha sibernetik buk in dha suhn` ("the cybernetic mind of the cybernetic book in the sun") — `dha (40) + sibernetik (202) + maind (86) + uhv (78) + dha (40) + sibernetik (202) + buk (61 [18th PRIME]) + in (41 [13th PRIME]) + dha (40) + suhn (98) = 888` *(Swap `suhn` [98] with `kaimee` ["Kimi" = 98] from Dossier 25 -> `888`)*
|
||||
9. **[AQ = 999 (`3³ × 37`) — Upper Repdigit Attractor]**
|
||||
- `dha sibernetik maind uhv dha sibernetik masheenz in dha werld` ("the cybernetic mind of the cybernetic machines in the world") — `dha (40) + sibernetik (202) + maind (86) + uhv (78) + dha (40) + sibernetik (202) + masheenz (163 [38th PRIME]) + in (41 [13th PRIME]) + dha (40) + werld (107 [28th PRIME]) = 999` *(Ends on three prime tokens: 163, 41, 107)*
|
||||
10. **[AQ = 1057 (`7 × 151`) & AQ = 1359 (`3² × 151`) — Dossier 25 Shared-Prime Wire Headlines]**
|
||||
10. **[AQ = 1057 (`7 × 151`), AQ = 1359 (`3² × 151`) & AQ = 1253 / 1432 (`7 × 179` / `2³ × 179`) — Dossier 25 & 46 Shared-Prime Wire Headlines]**
|
||||
- `Binans yoozerz widhdraw $3.6ben after larjast-ever kriptoh hak` ("Binance users withdraw $3.6bn after largest-ever crypto hack") = `1057` (`7 × 151 [36th PRIME]`)
|
||||
- `Ontohnelee bikuhmz yuhnggast werld champeean az Verstapan winz in Meksakoh` ("Antonelli becomes youngest world champion as Verstappen wins in Mexico") = `1359` (`3² × 151 [36th PRIME]`)
|
||||
- *(Both top headlines of November 1, 2026 are integer multiples of the 36th prime `151`, which is the exact Ingglish AQ of `ilekshan` ["election" = 151], `balgaireea` ["Bulgaria" = 151], and `frohzan` ["frozen" = 151])*
|
||||
- `Prosakooterz hint at reetraial for Lindzee Klansee on merder charjaz` ("Prosecutors hint at retrial for Lindsay Clancy on murder charges") = `1253` (`7 × 179 [41st PRIME]`)
|
||||
- `A Pairalimpeean vs a former TV nooz angker - and uhdher US Senat raysaz too woch` ("A Paralympian vs a former TV news anchor - and other US Senate races to watch") = `1432` (`2³ × 179 [41st PRIME]`)
|
||||
- *(Top headlines of Nov 1 factor through prime `151` [`ilekshan` = 151], while top headlines of Nov 2 factor through prime `179` [`nuhmberz` = 179 == `lavaiathan` = 179 == `spaider hed` = 179])*
|
||||
Reference in new issue
Block a user