fix: add Mexico to CII scoring — TIER1, keywords, ports#337
Merged
Conversation
PR #327 only added Mexico to INTEL_HOTSPOTS in geo.ts but missed the actual CII scoring infrastructure. News was being ingested but silently discarded by the `if (!TIER1_COUNTRIES[code]) continue` guards in every ingest*ForCII() function. Changes: - config/countries.ts: add MX to TIER1_COUNTRIES - country-instability.ts: keywords (cartel, sinaloa, cjng, etc.), baseline risk 35, event multiplier 1.0, bounding box, ISO3 mapping (MEX→MX), hotspot wiring (mexico→MX), displacement name mapping - config/ports.ts: Manzanillo, Lazaro Cardenas, Veracruz - App.ts: add MX to deep link country names
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
koala73
added a commit
that referenced
this pull request
Feb 24, 2026
…geo matching The CII scoring merge (PR #337) added MX to TIER1, keywords, and ports but missed the App.ts maps that feed the country brief UI: - COUNTRY_BOUNDS: geo-matching protests/conflicts to Mexico's territory - COUNTRY_ALIASES: matching cartel/narco/fentanyl headlines to brief
4 tasks
5 tasks
andreteow
pushed a commit
to andreteow/worldmonitor-a47
that referenced
this pull request
Feb 25, 2026
…ala73#337) PR koala73#327 only added Mexico to INTEL_HOTSPOTS in geo.ts but missed the actual CII scoring infrastructure. News was being ingested but silently discarded by the `if (!TIER1_COUNTRIES[code]) continue` guards in every ingest*ForCII() function. Changes: - config/countries.ts: add MX to TIER1_COUNTRIES - country-instability.ts: keywords (cartel, sinaloa, cjng, etc.), baseline risk 35, event multiplier 1.0, bounding box, ISO3 mapping (MEX→MX), hotspot wiring (mexico→MX), displacement name mapping - config/ports.ts: Manzanillo, Lazaro Cardenas, Veracruz - App.ts: add MX to deep link country names
andreteow
pushed a commit
to andreteow/worldmonitor-a47
that referenced
this pull request
Feb 25, 2026
…geo matching (koala73#338) The CII scoring merge (PR koala73#337) added MX to TIER1, keywords, and ports but missed the App.ts maps that feed the country brief UI: - COUNTRY_BOUNDS: geo-matching protests/conflicts to Mexico's territory - COUNTRY_ALIASES: matching cartel/narco/fentanyl headlines to brief
4 tasks
facusturla
pushed a commit
to facusturla/worldmonitor
that referenced
this pull request
Feb 27, 2026
…ala73#337) PR koala73#327 only added Mexico to INTEL_HOTSPOTS in geo.ts but missed the actual CII scoring infrastructure. News was being ingested but silently discarded by the `if (!TIER1_COUNTRIES[code]) continue` guards in every ingest*ForCII() function. Changes: - config/countries.ts: add MX to TIER1_COUNTRIES - country-instability.ts: keywords (cartel, sinaloa, cjng, etc.), baseline risk 35, event multiplier 1.0, bounding box, ISO3 mapping (MEX→MX), hotspot wiring (mexico→MX), displacement name mapping - config/ports.ts: Manzanillo, Lazaro Cardenas, Veracruz - App.ts: add MX to deep link country names
facusturla
pushed a commit
to facusturla/worldmonitor
that referenced
this pull request
Feb 27, 2026
…geo matching (koala73#338) The CII scoring merge (PR koala73#337) added MX to TIER1, keywords, and ports but missed the App.ts maps that feed the country brief UI: - COUNTRY_BOUNDS: geo-matching protests/conflicts to Mexico's territory - COUNTRY_ALIASES: matching cartel/narco/fentanyl headlines to brief
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
INTEL_HOTSPOTSingeo.tsbut missed the actual CII scoring infrastructure — news was ingested but silently discarded byif (!TIER1_COUNTRIES[code]) continueguards in everyingest*ForCII()functionChanges
config/countries.ts—MX: 'Mexico'added toTIER1_COUNTRIESservices/country-instability.ts— Full CII wiring:mexico,cartel,sinaloa,jalisco,cjng,tijuana,juarez,sedena, etc.[14, 33, -118, -86]MEX → MXmexico → MX'Mexico': 'MX'config/ports.ts— 3 critical Mexican ports:App.ts—MX: 'Mexico'in deep link country namesTest plan
tsc --noEmit— zero errorsnpm run build:full— passes?country=MXshould resolve to Mexico