{
  "metadata": {
    "title": "LLMS Cognitive Nexus Rules Registry",
    "version": "2.0.0",
    "author": "Ersoy Toptaş",
    "license": "CC BY-NC-ND 4.0",
    "description": "Single Source of Truth for Cognitive Nexus thresholds, input bindings, and Claims-vs-Reality templates."
  },
  "rules": {
    "NEXUS_01": {
      "title": "DXY Illusion & Covert Offshore Dollar Shortage",
      "trigger_logic": "MODEL_25.20(hormuz_drop_pct < -35.0 AND broad_dollar_yoy_pct > 1.0 AND sofr_dff_spread_bps > 0.0)",
      "conditions": [
        {
          "key": "CHOKE_HORMUZ_drop_pct",
          "source": "models",
          "model_id": "MODEL_25.20",
          "path": ["inputs", "hormuz_drop_pct"],
          "op": "<",
          "threshold": -35.0
        },
        {
          "key": "DTWEXBGS_yoy_pct",
          "source": "models",
          "model_id": "MODEL_25.20",
          "path": ["inputs", "broad_dollar_yoy_pct"],
          "op": ">",
          "threshold": 1.0
        },
        {
          "key": "SOFR_FEDFUNDS_spread_bps",
          "source": "models",
          "model_id": "MODEL_25.20",
          "path": ["components", "sofr_dff_spread_bps"],
          "op": ">",
          "threshold": 0.0
        }
      ],
      "context_fields": [
        {
          "key": "MODEL_25_20_bdsi",
          "source": "models",
          "model_id": "MODEL_25.20",
          "path": ["primary_value"]
        }
      ],
      "market_claim_illusion": "Headline DXY appears range-bound and dollar funding liquidity looks calm.",
      "quantitative_reality_template": "DXY tracks only 6 DM currencies. With CHOKE_HORMUZ at {CHOKE_HORMUZ_drop_pct:.1f}%, Broad Dollar YoY at +{DTWEXBGS_yoy_pct:.2f}%, and SOFR-EFFR spread at +{SOFR_FEDFUNDS_spread_bps:.1f} bps (BDSI: {MODEL_25_20_bdsi}), offshore dollar funding faces silent scarcity.",
      "causal_chain": "CHOKE_HORMUZ transit collapse -> Seaborne freight dollarization -> FED broad dollar strengthening -> EM currency depreciation -> Imported inflation",
      "systemic_impact": "Emerging market central banks are forced to burn FX reserves or hike policy rates defensively.",
      "historical_precedents": [
        "1997 Asian Financial Crisis (Offshore USD funding squeeze despite calm DM headlines)",
        "2022 Global Supply Bottleneck & Dollar Spike"
      ]
    },
    "NEXUS_02": {
      "title": "Brent-WTI Spread & Maritime Seaborne Risk Friction",
      "trigger_logic": "MODEL_25.12(brent_wti_spread_usd > 4.0) AND EIA_PET.WPULEUS3.W(current_value >= 89.0)",
      "conditions": [
        {
          "key": "MODEL_25_12_brent_wti_spread_usd",
          "source": "models",
          "model_id": "MODEL_25.12",
          "path": ["primary_value"],
          "op": ">",
          "threshold": 4.0
        },
        {
          "key": "EIA_PET_WPULEUS3_W_refinery_util_pct",
          "source": "eia",
          "series_id": "PET.WPULEUS3.W",
          "path": ["current_value"],
          "op": ">=",
          "threshold": 89.0
        }
      ],
      "context_fields": [],
      "market_claim_illusion": "Global crude oil pricing is stable and landlocked/seaborne benchmarks remain coupled.",
      "quantitative_reality_template": "Brent-WTI spread widened to ${MODEL_25_12_brent_wti_spread_usd:.2f}/bbl while US refinery utilization stands at {EIA_PET_WPULEUS3_W_refinery_util_pct:.1f}%, pricing physical maritime war-risk and tanker insurance premia.",
      "causal_chain": "Maritime chokepoint tension -> War-risk insurance spike -> Brent-WTI spread widening -> Europe/Asia energy import cost surge",
      "systemic_impact": "European and Asian refiners suffer structural crude cost disadvantage vs. US inland supply, widening current account deficits.",
      "historical_precedents": [
        "2011 Arab Spring Maritime Crude Divergence",
        "2022 Hormuz / Red Sea Tanker Risk Premium Expansion"
      ]
    },
    "NEXUS_03": {
      "title": "Multi-Chokepoint Maritime Paralysis",
      "trigger_logic": "PORTWATCH(CHOKE_HORMUZ < -35.0% AND CHOKE_TURKISH_STRAITS < -25.0% vs 2023 baseline)",
      "conditions": [
        {
          "key": "CHOKE_HORMUZ_vs_2023_pct",
          "source": "portwatch",
          "chokepoint_id": "CHOKE_HORMUZ",
          "path": ["metrics", "pct_change_vs_2023"],
          "op": "<",
          "threshold": -35.0
        },
        {
          "key": "CHOKE_TURKISH_STRAITS_vs_2023_pct",
          "source": "portwatch",
          "chokepoint_id": "CHOKE_TURKISH_STRAITS",
          "path": ["metrics", "pct_change_vs_2023"],
          "op": "<",
          "threshold": -25.0
        }
      ],
      "context_fields": [],
      "market_claim_illusion": "Diplomatic statements and headline reporting emphasize maritime corridor continuity and stabilization.",
      "quantitative_reality_template": "AIS vessel tracking confirms simultaneous multi-corridor paralysis: CHOKE_HORMUZ at {CHOKE_HORMUZ_vs_2023_pct:.1f}% and CHOKE_TURKISH_STRAITS at {CHOKE_TURKISH_STRAITS_vs_2023_pct:.1f}% vs 2023 baseline.",
      "causal_chain": "Multi-corridor AIS collapse -> Tanker rerouting & Cape delays -> Global energy/grain delivery compression",
      "systemic_impact": "Global shipping capacity tightens non-linearly, driving spot freight and marine war-risk premia higher.",
      "historical_precedents": [
        "1973 Oil Embargo Maritime Disruption",
        "2023-2024 Red Sea & Black Sea Corridor Compression"
      ]
    },
    "NEXUS_04": {
      "title": "Semiconductor Containment & Backdoor Rerouting",
      "trigger_logic": "MODEL_25.14(primary_value > 0.50) AND CENSUS_NAICS3344_CHINA(export_mom_pct < -5.0) AND MODEL_25.3(gscpi_zscore > 1.0)",
      "conditions": [
        {
          "key": "MODEL_25_14_chip_stress",
          "source": "models",
          "model_id": "MODEL_25.14",
          "path": ["primary_value"],
          "op": ">",
          "threshold": 0.50
        },
        {
          "key": "CENSUS_CN_export_mom_pct",
          "source": "census",
          "corridor_id": "CENSUS_NAICS3344_CHINA",
          "path": ["export_mom_pct"],
          "op": "<",
          "threshold": -5.0
        },
        {
          "key": "NYFED_GSCPI_zscore",
          "source": "models",
          "model_id": "MODEL_25.3",
          "path": ["primary_value"],
          "op": ">",
          "threshold": 1.0
        }
      ],
      "context_fields": [],
      "market_claim_illusion": "Direct bilateral export controls cleanly isolate adversary access without straining global hardware supply chains.",
      "quantitative_reality_template": "Direct US semiconductor exports to GEO_CN contracted {CENSUS_CN_export_mom_pct:.2f}% MoM while AI Chip Stress hit {MODEL_25_14_chip_stress:.3f} and GSCPI rose to {NYFED_GSCPI_zscore:.2f} Z-Score, proving supply chain rerouting friction.",
      "causal_chain": "Export control enforcement -> Direct US-CN chip drop -> Third-party hub rerouting -> AI hardware capex inflation",
      "systemic_impact": "Global cloud hyperscalers and electronics manufacturers face higher lead times and compliance friction costs.",
      "historical_precedents": [
        "2022-2024 US BIS Export Control Rerouting Wave"
      ]
    },
    "NEXUS_05": {
      "title": "Overland Bypass Capacity Ceiling",
      "trigger_logic": "MODEL_28.4(primary_value >= 50 AND net_deficit_ratio > 0.50 AND p_net <= -0.50)",
      "conditions": [
        {
          "key": "MODEL_28_4_spillover",
          "source": "models",
          "model_id": "MODEL_28.4",
          "path": ["primary_value"],
          "op": ">=",
          "threshold": 50.0
        },
        {
          "key": "MODEL_28_4_net_deficit_ratio",
          "source": "models",
          "model_id": "MODEL_28.4",
          "path": ["metrics", "net_deficit_ratio"],
          "op": ">",
          "threshold": 0.50
        },
        {
          "key": "MODEL_28_4_p_net",
          "source": "models",
          "model_id": "MODEL_28.4",
          "path": ["inputs", "p_net"],
          "op": "<=",
          "threshold": -0.50
        }
      ],
      "context_fields": [
        {
          "key": "MODEL_28_4_unmet_mbpd",
          "source": "models",
          "model_id": "MODEL_28.4",
          "path": ["metrics", "net_unmet_deficit_mbpd"]
        }
      ],
      "market_claim_illusion": "Overland pipelines and strategic reserves can smoothly absorb maritime chokepoint closures.",
      "quantitative_reality_template": "Model 28.4 registers {MODEL_28_4_spillover:.0f} spillover index with a {MODEL_28_4_net_deficit_ratio:.2%} unmet flow deficit ({MODEL_28_4_unmet_mbpd:.2f} mbpd) under hostile polarity ({MODEL_28_4_p_net:.2f}), hitting physical bypass limits.",
      "causal_chain": "Chokepoint blockade -> Overland pipeline saturation -> SPR drawdown exhaustion -> Structural global crude deficit",
      "systemic_impact": "Strategic buffers deplete faster than replacement capacity, leaving physical energy importers exposed to rationing.",
      "historical_precedents": [
        "1979 Iranian Revolution Supply Shock",
        "2022 Global SPR Coordinated Release Limits"
      ]
    },
    "NEXUS_06": {
      "title": "Secondary Corridor Rerouting & Malacca Surge",
      "trigger_logic": "PORTWATCH(CHOKE_MALACCA > 15.0% vs 2023) AND MODEL_25.3(gscpi_zscore > 1.0)",
      "conditions": [
        {
          "key": "CHOKE_MALACCA_vs_2023_pct",
          "source": "portwatch",
          "chokepoint_id": "CHOKE_MALACCA",
          "path": ["metrics", "pct_change_vs_2023"],
          "op": ">",
          "threshold": 15.0
        },
        {
          "key": "NYFED_GSCPI_zscore",
          "source": "models",
          "model_id": "MODEL_25.3",
          "path": ["primary_value"],
          "op": ">",
          "threshold": 1.0
        }
      ],
      "context_fields": [],
      "market_claim_illusion": "Trade fragmentation only affects direct bilateral shipping lanes.",
      "quantitative_reality_template": "CHOKE_MALACCA transit surged +{CHOKE_MALACCA_vs_2023_pct:.1f}% vs 2023 baseline alongside GSCPI at {NYFED_GSCPI_zscore:.2f} Z-Score, confirming heavy transshipment and friend-shoring congestion.",
      "causal_chain": "Bilateral trade friction -> ASEAN/Malacca transshipment surge -> Port congestion & longer voyage cycles",
      "systemic_impact": "Asian maritime hubs experience bottlenecks while working-capital financing needs rise for longer transit times.",
      "historical_precedents": [
        "2018-2019 US-China Tariff Rerouting Surge",
        "2021-2022 Asian Port Congestion Cycle"
      ]
    },
    "NEXUS_07": {
      "title": "Monetary Stress & Safe-Haven Volatility Divergence",
      "trigger_logic": "MODEL_25.7(vix_close > 22.0 AND ovx_close > 40.0)",
      "conditions": [
        {
          "key": "CBOE_VIX_close",
          "source": "models",
          "model_id": "MODEL_25.7",
          "path": ["inputs", "vix_close"],
          "op": ">",
          "threshold": 22.0
        },
        {
          "key": "CBOE_OVX_close",
          "source": "models",
          "model_id": "MODEL_25.7",
          "path": ["inputs", "ovx_close"],
          "op": ">",
          "threshold": 40.0
        }
      ],
      "context_fields": [],
      "market_claim_illusion": "Precious metals and volatility spikes reflect routine cyclical positioning rather than systemic stress.",
      "quantitative_reality_template": "Simultaneous elevation in equity volatility (VIX: {CBOE_VIX_close:.2f}) and crude volatility (OVX: {CBOE_OVX_close:.2f}) signals cross-asset stagflationary stress and safe-haven capital flight.",
      "causal_chain": "Energy & equity volatility spike -> Cross-asset risk-off -> Safe-haven precious metals rotation",
      "systemic_impact": "Portfolio margin requirements rise across commodities and equities, compressing risk-parity leverage.",
      "historical_precedents": [
        "2008 Cross-Asset Deleveraging & Safe-Haven Bid",
        "2022 Stagflationary Volatility Regime"
      ]
    },
    "NEXUS_08": {
      "title": "Pax Silica Singapore Bridge Node Bottleneck",
      "trigger_logic": "CENSUS_CN(export_mom_pct < -5.0) AND MODEL_25.24(bloc_polarity <= -0.70)",
      "conditions": [
        {
          "key": "CENSUS_CN_export_mom_pct",
          "source": "models",
          "model_id": "MODEL_25.24",
          "path": ["inputs", "cn_export_mom_pct"],
          "op": "<",
          "threshold": -5.0
        },
        {
          "key": "BLOC_PAX_WAICO_polarity",
          "source": "models",
          "model_id": "MODEL_25.24",
          "path": ["inputs", "bloc_polarity"],
          "op": "<=",
          "threshold": -0.70
        }
      ],
      "context_fields": [
        {
          "key": "MODEL_25_24_sfbci",
          "source": "models",
          "model_id": "MODEL_25.24",
          "path": ["primary_value"]
        },
        {
          "key": "MODEL_25_24_fcr_pct",
          "source": "models",
          "model_id": "MODEL_25.24",
          "path": ["inputs", "fcr_pct"]
        }
      ],
      "market_claim_illusion": "Bilateral export controls cleanly sever adversary compute access without straining intermediary Asian hubs.",
      "quantitative_reality_template": "US-to-China chip exports contracted {CENSUS_CN_export_mom_pct:+.2f}% MoM under BLOC_PAX_SILICA <-> BLOC_WAICO polarity ({BLOC_PAX_WAICO_polarity:+.2f}) and SFBCI {MODEL_25_24_sfbci:.2f}/100 (FCR: {MODEL_25_24_fcr_pct:.2f}%), concentrating transshipment & compliance pressure on GEO_SG.",
      "causal_chain": "US-China direct chip contraction -> Pax Silica vs WAICO bifurcation -> GEO_SG bridge compliance bottleneck",
      "systemic_impact": "Heightened export-licensing scrutiny and customs lead-time friction across ASEAN intermediary semiconductor hubs.",
      "historical_precedents": [
        "2023-2025 US BIS Advanced Chip Routing Restrictions"
      ]
    },
    "NEXUS_09": {
      "title": "Kazakhstan Dual Signatory Export Control Friction",
      "trigger_logic": "MODEL_25.24(bloc_polarity <= -0.50 AND sfbci >= 50.0) AND NYFED_GSCPI(zscore >= 1.0)",
      "conditions": [
        {
          "key": "BLOC_PAX_WAICO_polarity",
          "source": "models",
          "model_id": "MODEL_25.24",
          "path": ["inputs", "bloc_polarity"],
          "op": "<=",
          "threshold": -0.50
        },
        {
          "key": "MODEL_25_24_sfbci",
          "source": "models",
          "model_id": "MODEL_25.24",
          "path": ["primary_value"],
          "op": ">=",
          "threshold": 50.0
        },
        {
          "key": "NYFED_GSCPI_zscore",
          "source": "models",
          "model_id": "MODEL_25.14",
          "path": ["inputs", "gscpi_std_dev"],
          "op": ">=",
          "threshold": 1.0
        }
      ],
      "context_fields": [
        {
          "key": "MODEL_25_24_fcr_pct",
          "source": "models",
          "model_id": "MODEL_25.24",
          "path": ["inputs", "fcr_pct"]
        }
      ],
      "market_claim_illusion": "Critical mineral suppliers can operate frictionlessly across rival US and Chinese AI governance blocs.",
      "quantitative_reality_template": "GEO_KZ holds dual membership in BLOC_PAX_SILICA and BLOC_WAICO while bloc polarity stands at {BLOC_PAX_WAICO_polarity:+.2f} and SFBCI reads {MODEL_25_24_sfbci:.2f}/100 (FCR: {MODEL_25_24_fcr_pct:.2f}%), exposing critical-mineral corridors to competing compliance regimes.",
      "causal_chain": "Dual bloc membership (GEO_KZ) -> Negative Pax-WAICO polarity -> Critical mineral vs export-control friction",
      "systemic_impact": "Upstream critical-mineral processing and Eurasian transit routes face dual-compliance audits and supply-chain segmentation.",
      "historical_precedents": [
        "2024-2026 Critical Mineral Export Licensing Fragmentation"
      ]
    }
  }
}
