{
  "meta": {
    "version": "DungLang Federation 4.0",
    "disclaimer": "prototype / demo / showcase — not a production compiler, formal proof, or complete distributed system.",
    "history": [
      {
        "version": "Federation 1.0",
        "highlight": "OdorIR integration · CEK Cave Machine · Error Federation representative cases"
      },
      {
        "version": "Civilization v2.0",
        "highlight": "OdorOptimizer · Kont Federation · History Federation"
      },
      {
        "version": "Civilization v2.1",
        "highlight": "Temporal Banana Rewrite · Ghost Odor Archaeology · Causality Leak Detector"
      },
      {
        "version": "Civilization v2.2",
        "highlight": "OdorTypeInference · TwoPhaseCommit · WitnessCouncil"
      },
      {
        "version": "Civilization v3.0",
        "highlight": "Constitution Federation · Election System · CivMetrics · MythGenerator"
      },
      {
        "version": "Federation 4.0",
        "highlight": "Full-stack integrated showcase · public release"
      },
      {
        "version": "Federation 5.0",
        "highlight": "LeakJournal · BananaMarket · ConspiracyGorilla · SupremeBananaCourt"
      },
      {
        "version": "MysticIR v0.8.5",
        "highlight": "Lexer/Parser merge · ast_equal verification · ScatLang/SeaIR syntax support"
      }
    ]
  },
  "cek_demos": [
    {
      "name": "x=5, flush x",
      "frontend": "💩ScatLang",
      "ok": true,
      "steps": 17,
      "observed": [
        "💩×5"
      ]
    },
    {
      "name": "x=5, flush x",
      "frontend": "🌊SeaIR",
      "ok": true,
      "steps": 17,
      "observed": [
        "💩×5"
      ]
    },
    {
      "name": "x=5, flush x",
      "frontend": "🍠YakiimoIR",
      "ok": true,
      "steps": 17,
      "observed": [
        "💩×5"
      ]
    },
    {
      "name": "DungLang Faint Odour Demo",
      "frontend": "🦍DungLang",
      "phenomenon": {
        "smell": "faint",
        "suspect": "roasted-yam",
        "side_effect_level": 1
      },
      "ok": true,
      "odor_events": [
        {
          "level": 2,
          "source": "roasted-yam"
        }
      ]
    },
    {
      "name": "DungLang Omnidirectional Demo (Diplomatic Incident)",
      "frontend": "🦍DungLang",
      "phenomenon": {
        "smell": "omnidirectional",
        "suspect": "mammoth",
        "side_effect_level": 3
      },
      "ok": false,
      "error": {
        "step": 68,
        "control_kind": "ReturnValue",
        "expr_kind": "💩×10",
        "kont_kind": "DiplomaticFlushK",
        "kont_depth": 1,
        "env_keys": [
          "odor_level"
        ],
        "observed_count": 0,
        "frontend": "🦍DungLang",
        "error_type": "BorderOdorError",
        "error_message": "UhoTribe→BananaTribe concentration=10 banana penalty=20"
      },
      "note": "BorderOdorError is by-design. Blame engine: WeatherGorilla's fault (by convention)."
    },
    {
      "name": "BananaGC Demo",
      "frontend": "🍠YakiimoIR",
      "ok": true,
      "gc_banana": 3,
      "gc_erased": 0,
      "note": "Something happened? Oh well. Uho 🍌"
    }
  ],
  "odor_optimizer": [
    {
      "original_level": 0,
      "optimized_level": 0,
      "strategy": "zero_elim"
    },
    {
      "original_level": 1,
      "optimized_level": 1,
      "strategy": "local_only"
    },
    {
      "original_level": 2,
      "optimized_level": 2,
      "strategy": "local_only"
    },
    {
      "original_level": 3,
      "optimized_level": 3,
      "strategy": "diplomatic_check_required"
    },
    {
      "original_level": 5,
      "optimized_level": 5,
      "strategy": "diplomatic_check_required"
    },
    {
      "original_level": 7,
      "optimized_level": 7,
      "strategy": "diplomatic_violation_const"
    },
    {
      "original_level": 10,
      "optimized_level": 10,
      "strategy": "diplomatic_violation_const"
    }
  ],
  "error_federation": {
    "cases": [
      {
        "case": "mod by zero",
        "ast_equal": true,
        "ast_equal_a": true,
        "ast_equal_b": true,
        "trace_equal": true,
        "error_equal": true,
        "surface_diff": true,
        "step_left": 12,
        "step_right": 12,
        "left_error": {
          "step": 11,
          "control_kind": "ReturnValue",
          "expr_kind": "💩₀",
          "kont_kind": "ModRightK",
          "kont_depth": 2,
          "env_keys": [],
          "observed_count": 0,
          "frontend": "💩ScatLang",
          "error_type": "ScatError",
          "error_message": "mod by zero. Uho."
        },
        "right_error": {
          "step": 11,
          "control_kind": "ReturnValue",
          "expr_kind": "💩₀",
          "kont_kind": "ModRightK",
          "kont_depth": 2,
          "env_keys": [],
          "observed_count": 0,
          "frontend": "🌊SeaIR",
          "error_type": "ScatError",
          "error_message": "mod by zero. Uho."
        },
        "passed": true
      },
      {
        "case": "unbound variable",
        "ast_equal": true,
        "ast_equal_a": true,
        "ast_equal_b": true,
        "trace_equal": true,
        "error_equal": true,
        "surface_diff": true,
        "step_left": 2,
        "step_right": 2,
        "left_error": {
          "step": 1,
          "control_kind": "EvalExpr",
          "expr_kind": "Var",
          "kont_kind": "FlushK",
          "kont_depth": 1,
          "env_keys": [],
          "observed_count": 0,
          "frontend": "💩ScatLang",
          "error_type": "ScatError",
          "error_message": "unbound variable: missing"
        },
        "right_error": {
          "step": 1,
          "control_kind": "EvalExpr",
          "expr_kind": "Var",
          "kont_kind": "FlushK",
          "kont_depth": 1,
          "env_keys": [],
          "observed_count": 0,
          "frontend": "🌊SeaIR",
          "error_type": "ScatError",
          "error_message": "unbound variable: missing"
        },
        "passed": true
      },
      {
        "case": "step limit / constipation",
        "ast_equal": true,
        "ast_equal_a": true,
        "ast_equal_b": true,
        "trace_equal": true,
        "error_equal": true,
        "surface_diff": true,
        "step_left": 40,
        "step_right": 40,
        "left_error": {
          "step": 40,
          "control_kind": "EvalExpr",
          "expr_kind": "PoopSuccExpr",
          "kont_kind": "NeqRightK",
          "kont_depth": 2,
          "env_keys": [
            "x"
          ],
          "observed_count": 0,
          "frontend": "💩ScatLang",
          "error_type": "StepLimitError",
          "error_message": "step limit exceeded: 40"
        },
        "right_error": {
          "step": 40,
          "control_kind": "EvalExpr",
          "expr_kind": "PoopSuccExpr",
          "kont_kind": "NeqRightK",
          "kont_depth": 2,
          "env_keys": [
            "x"
          ],
          "observed_count": 0,
          "frontend": "🌊SeaIR",
          "error_type": "StepLimitError",
          "error_message": "step limit exceeded: 40"
        },
        "passed": true
      },
      {
        "case": "PhilosophyGorillaError (DungLang vs YakiimoIR)",
        "ast_equal": null,
        "ast_equal_a": null,
        "ast_equal_b": null,
        "trace_equal": true,
        "error_equal": true,
        "surface_diff": true,
        "step_left": 2,
        "step_right": 2,
        "left_error": {
          "step": 1,
          "control_kind": "EvalExpr",
          "expr_kind": "PhilosophyExpr",
          "kont_kind": "AssignK",
          "kont_depth": 1,
          "env_keys": [],
          "observed_count": 0,
          "frontend": "🦍DungLang",
          "error_type": "PhilosophyGorillaError",
          "error_message": "To whom does the fart belong? Uho."
        },
        "right_error": {
          "step": 1,
          "control_kind": "EvalExpr",
          "expr_kind": "PhilosophyExpr",
          "kont_kind": "AssignK",
          "kont_depth": 1,
          "env_keys": [],
          "observed_count": 0,
          "frontend": "🍠YakiimoIR",
          "error_type": "PhilosophyGorillaError",
          "error_message": "To whom does the fart belong? Uho."
        },
        "passed": true
      }
    ],
    "all_passed": true
  },
  "civilization": {
    "constitution": {
      "articles": [
        {
          "article_no": 1,
          "title": "Witness Eligibility",
          "rule": "PhilosophyGorilla may not serve as a witness"
        },
        {
          "article_no": 2,
          "title": "GhostOdor Presumption of Innocence",
          "rule": "GhostOdor shall not be presumed guilty directly"
        },
        {
          "article_no": 3,
          "title": "Banana History Rewrite Rights",
          "rule": "History rewrite may be filed with 3 or more bananas"
        },
        {
          "article_no": 4,
          "title": "Cross-border Odor Diplomacy",
          "rule": "Cross-border GhostOdor events are diplomatic matters"
        }
      ]
    },
    "election": {
      "step": 200,
      "term_no": 18,
      "winners": [
        {
          "name": "LegalGorilla",
          "party": "Stone Tablet Rule-of-Law Party",
          "policy": "Hard Penalty"
        },
        {
          "name": "RevolutionGorilla",
          "party": "Cave Revolutionary Front",
          "policy": "Revolutionary Acquittalism"
        },
        {
          "name": "BananaPartyGorilla",
          "party": "Banana Party",
          "policy": "Banana Welfarism"
        }
      ],
      "vote_share": {
        "ResearchGorilla": 0.134,
        "WeatherGorilla": 0.118,
        "LegalGorilla": 0.276,
        "BananaPartyGorilla": 0.206,
        "RevolutionGorilla": 0.266
      }
    },
    "ghost_verdict": "GhostOdor → Not guilty. Odour is the people's self-expression. Uho.",
    "history_rewrites": [
      {
        "step": 300,
        "kind": "history_rewrite",
        "detail": "🍌×3: official history rewritten",
        "frontend": "BananaGC",
        "era": "meta",
        "erased_event": "💨 Lv7(Mammoth)",
        "rewritten_as": "declared to have never existed"
      },
      {
        "step": 300,
        "kind": "history_rewrite",
        "detail": "🍌×3: official history rewritten",
        "frontend": "BananaGC",
        "era": "meta",
        "erased_event": "🌍 UhoTribe→BananaTribe concentration=7 penalty=14 bananas",
        "rewritten_as": "declared to have never existed"
      }
    ],
    "metrics": {
      "stability": 77.076,
      "diplomatic_tension": 50,
      "philosophy_pollution": 12,
      "history_rewrite_rate": 6.061,
      "ghost_odor_count": 1,
      "myth_pressure": 92
    },
    "events": [
      {
        "step": 6,
        "kind": "odor",
        "detail": "💨 Lv7(Mammoth)",
        "frontend": "🦍DungLang",
        "era": "official"
      },
      {
        "step": 42,
        "kind": "diplomatic",
        "detail": "🌍 UhoTribe→BananaTribe concentration=7 penalty=14 bananas",
        "frontend": "🦍DungLang",
        "era": "official"
      },
      {
        "step": 55,
        "kind": "ghost_odor",
        "detail": "👻 Ghost Odor Lv5: CaveA committed · CaveB rolled back",
        "frontend": "2PCIR",
        "era": "liminal",
        "cave_a": "🦣CaveA",
        "cave_b": "🦣CaveB",
        "odor_level": 5
      },
      {
        "step": 120,
        "kind": "constitution",
        "detail": "⚖️ DungLang Constitution enacted: GhostOdor Presumption of Innocence adopted",
        "frontend": "ConstitutionIR",
        "era": "legal"
      },
      {
        "step": 150,
        "kind": "constitution_violation",
        "detail": "⚖️ Article 2 violation: GhostOdor directly convicted",
        "frontend": "ConstitutionIR",
        "era": "legal",
        "article_no": 2,
        "article_title": "GhostOdor Presumption of Innocence",
        "offender": "LegalGorilla",
        "severity": 4
      },
      {
        "step": 151,
        "kind": "constitution_violation",
        "detail": "⚖️ Article 1 violation: PhilosophyGorilla used as witness",
        "frontend": "ConstitutionIR",
        "era": "legal",
        "article_no": 1,
        "article_title": "Witness Eligibility",
        "offender": "PhilosophyGorilla",
        "severity": 5
      },
      {
        "step": 200,
        "kind": "election",
        "detail": "🗳️ CouncilTerm #18: LegalGorilla, RevolutionGorilla, BananaPartyGorilla elected",
        "frontend": "ElectionIR",
        "era": "political"
      },
      {
        "step": 210,
        "kind": "council_verdict",
        "detail": "Council ruling: GhostOdor → Not guilty. Odour is the people's self-expression. Uho.",
        "frontend": "CouncilIR",
        "era": "political"
      },
      {
        "step": 300,
        "kind": "history_rewrite",
        "detail": "🍌×3: official history rewritten",
        "frontend": "BananaGC",
        "era": "meta",
        "erased_event": "💨 Lv7(Mammoth)",
        "rewritten_as": "declared to have never existed"
      },
      {
        "step": 300,
        "kind": "artifact",
        "detail": "🪨 Mural trace: 💨 Lv7(Mammoth)",
        "frontend": "ArchaeologyIR",
        "era": "archaeological",
        "artifact_id": "ART-300-1",
        "source_event": "💨 Lv7(Mammoth)",
        "confidence": 0.5
      },
      {
        "step": 300,
        "kind": "history_rewrite",
        "detail": "🍌×3: official history rewritten",
        "frontend": "BananaGC",
        "era": "meta",
        "erased_event": "🌍 UhoTribe→BananaTribe concentration=7 penalty=14 bananas",
        "rewritten_as": "declared to have never existed"
      },
      {
        "step": 300,
        "kind": "artifact",
        "detail": "🪨 Mural trace: 🌍 UhoTribe→BananaTribe concentration=7 penalty=14 bananas",
        "frontend": "ArchaeologyIR",
        "era": "archaeological",
        "artifact_id": "ART-300-2",
        "source_event": "🌍 UhoTribe→BananaTribe concentration=7 penalty=14 bananas",
        "confidence": 0.5
      },
      {
        "step": 300,
        "kind": "banana_gc",
        "detail": "🍌×3: 2 entries erased from official history",
        "frontend": "BananaGC",
        "era": "meta"
      },
      {
        "step": 450,
        "kind": "legend",
        "detail": "📜 Legend: Once, an invisible odour drifted from cave to cave. No one took responsibility. Only the stone tablets trembled.",
        "frontend": "MythIR",
        "era": "legendary",
        "source_events": [
          "💨 Lv7(Mammoth)",
          "🌍 UhoTribe→BananaTribe concentration=7 penalty=14 bananas",
          "👻 Ghost Odor Lv5: CaveA committed · CaveB rolled back"
        ]
      },
      {
        "step": 900,
        "kind": "myth",
        "detail": "✨ Myth: When three bananas were offered, the incident vanished from history. But the murals did not stay silent, and GhostOdor returns as the night wind.",
        "frontend": "MythIR",
        "era": "mythic",
        "myth_id": "MYTH-GHOST-ODOR-001",
        "doctrine": "Odour never disappears. Only the record does.",
        "source_events": [
          "💨 Lv7(Mammoth)",
          "🌍 UhoTribe→BananaTribe concentration=7 penalty=14 bananas",
          "👻 Ghost Odor Lv5: CaveA committed · CaveB rolled back"
        ]
      },
      {
        "step": 1050,
        "kind": "religion",
        "detail": "⛪ Church of GhostOdor founded. Doctrine: 'Odour never disappears — only the record does.'",
        "frontend": "MythIR",
        "era": "religious"
      },
      {
        "step": 500,
        "kind": "journalism",
        "detail": "📰 LeakJournal: Mural discovered indicating existence of erased odour records",
        "frontend": "LeakJournalIR",
        "era": "media",
        "headline": "Mural discovered indicating existence of erased odour records",
        "source_artifact_id": "ART-300-1",
        "retracted": false
      },
      {
        "step": 505,
        "kind": "official_statement",
        "detail": "🎙️ Official statement: That odour did not exist",
        "frontend": "OfficialIR",
        "era": "official",
        "denies_event": "📰 LeakJournal: Mural discovered indicating existence of erased odour records",
        "plausibility": 0.19
      },
      {
        "step": 510,
        "kind": "journalism",
        "detail": "📰 LeakJournal: Data fragments supposedly deleted by BananaGC detected deep in cave",
        "frontend": "LeakJournalIR",
        "era": "media",
        "headline": "Data fragments supposedly deleted by BananaGC detected deep in cave",
        "source_artifact_id": "ART-300-2",
        "retracted": false
      },
      {
        "step": 515,
        "kind": "official_statement",
        "detail": "🎙️ Official statement: The mural appears to have been generated by a natural phenomenon",
        "frontend": "OfficialIR",
        "era": "official",
        "denies_event": "📰 LeakJournal: Data fragments supposedly deleted by BananaGC detected deep in cave",
        "plausibility": 0.22
      },
      {
        "step": 520,
        "kind": "journalism",
        "detail": "📰 LeakJournal: Three GhostOdor-related stone tablets missing from official storage",
        "frontend": "LeakJournalIR",
        "era": "media",
        "headline": "Three GhostOdor-related stone tablets missing from official storage",
        "source_artifact_id": "👻 Ghost Odor Lv5: Ca",
        "retracted": false
      },
      {
        "step": 525,
        "kind": "official_statement",
        "detail": "🎙️ Official statement: The report is based on a misidentification by WeatherGorilla",
        "frontend": "OfficialIR",
        "era": "official",
        "denies_event": "📰 LeakJournal: Three GhostOdor-related stone tablets missing from official storage",
        "plausibility": 0.33
      },
      {
        "step": 520,
        "kind": "banana_transaction",
        "detail": "🍌×10: LegalGorilla purchased 'Testimony Erasure'",
        "frontend": "BananaMarketIR",
        "era": "economic",
        "banana_cost": 10,
        "service": "Testimony Erasure",
        "service_key": "testimony_erasure",
        "buyer": "LegalGorilla"
      },
      {
        "step": 530,
        "kind": "banana_transaction",
        "detail": "🍌×20: BananaPartyGorilla purchased 'Scoop Suppression'",
        "frontend": "BananaMarketIR",
        "era": "economic",
        "banana_cost": 20,
        "service": "Scoop Suppression",
        "service_key": "scoop_suppression",
        "buyer": "BananaPartyGorilla"
      },
      {
        "step": 540,
        "kind": "banana_transaction",
        "detail": "🍌×50: RevolutionGorilla purchased 'Constitutional Amendment'",
        "frontend": "BananaMarketIR",
        "era": "economic",
        "banana_cost": 50,
        "service": "Constitutional Amendment",
        "service_key": "constitutional_amendment",
        "buyer": "RevolutionGorilla"
      },
      {
        "step": 545,
        "kind": "banana_transaction",
        "detail": "🍌×1: WeatherGorilla purchased 'Odour Lv3 Silence'",
        "frontend": "BananaMarketIR",
        "era": "economic",
        "banana_cost": 1,
        "service": "Odour Lv3 Silence",
        "service_key": "silence",
        "buyer": "WeatherGorilla"
      },
      {
        "step": 560,
        "kind": "conspiracy",
        "detail": "🦍 ConspiracyGorilla: The stone tablets are messages from outer space. Uho.",
        "frontend": "ConspiracyIR",
        "era": "underground",
        "theory": "The stone tablets are messages from outer space. Uho.",
        "conspiracy_is_true": false
      },
      {
        "step": 567,
        "kind": "conspiracy",
        "detail": "🦍 ConspiracyGorilla: Every Supreme Court justice is a puppet of BananaTribe. Uho.",
        "frontend": "ConspiracyIR",
        "era": "underground",
        "theory": "Every Supreme Court justice is a puppet of BananaTribe. Uho.",
        "conspiracy_is_true": false
      },
      {
        "step": 574,
        "kind": "conspiracy",
        "detail": "🦍 ConspiracyGorilla: Odour levels are being falsified by WeatherGorilla. Uho. (※ TRUE)",
        "frontend": "ConspiracyIR",
        "era": "underground",
        "theory": "Odour levels are being falsified by WeatherGorilla. Uho.",
        "conspiracy_is_true": true
      },
      {
        "step": 600,
        "kind": "court_verdict",
        "detail": "🧑‍⚖️ Supreme Court Ruling [Not Guilty]: Appeal against GhostOdor conviction",
        "frontend": "SupremeCourtIR",
        "era": "judicial",
        "case_name": "Appeal against GhostOdor conviction",
        "verdict": "Not Guilty",
        "reasoning": "The odour existed. However, records of its observation were erased by BananaGC.\nTherefore: no evidence. Not guilty. Absence of record constitutes proof of innocence\n(GhostOdor Presumption of Innocence Principle).",
        "precedent_id": "PREC-001",
        "overturns": ""
      },
      {
        "step": 615,
        "kind": "court_verdict",
        "detail": "🧑‍⚖️ Supreme Court Ruling [Dismissed — evidence erased]: Application to suppress LeakJournal reporting",
        "frontend": "SupremeCourtIR",
        "era": "judicial",
        "case_name": "Application to suppress LeakJournal reporting",
        "verdict": "Dismissed — evidence erased",
        "reasoning": "The original article in question was erased via the BananaMarket 'Testimony Erasure' transaction.\nThere is no object to suppress. Application dismissed — but the article does not exist either.",
        "precedent_id": "PREC-002",
        "overturns": ""
      },
      {
        "step": 630,
        "kind": "court_verdict",
        "detail": "🧑‍⚖️ Supreme Court Ruling [Guilty]: ConspiracyGorilla defamation suit",
        "frontend": "SupremeCourtIR",
        "era": "judicial",
        "case_name": "ConspiracyGorilla defamation suit",
        "verdict": "Guilty",
        "reasoning": "Two of the defendant's claims have been confirmed as true. However, defamation based on truth\nis not recognised in this court... or it shouldn't be, but that clause was also erased by BananaGC.\nGuilty by custom.",
        "precedent_id": "PREC-003",
        "overturns": "Appeal against GhostOdor conviction"
      },
      {
        "step": 645,
        "kind": "court_verdict",
        "detail": "🧑‍⚖️ Supreme Court Ruling [Not Guilty]: Constitutionality review of BananaMarket 'Constitutional Amendment' transaction",
        "frontend": "SupremeCourtIR",
        "era": "judicial",
        "case_name": "Constitutionality review of BananaMarket 'Constitutional Amendment' transaction",
        "verdict": "Not Guilty",
        "reasoning": "A constitutional amendment via 50 bananas is consistent with the spirit of Article 3\n(Banana History Rewrite Rights). Note: during review, Article 3 itself was amended\nvia a banana transaction, automatically validating this ruling.",
        "precedent_id": "PREC-004",
        "overturns": "Appeal against GhostOdor conviction"
      }
    ],
    "official_history": [
      {
        "step": 120,
        "kind": "constitution",
        "detail": "⚖️ DungLang Constitution enacted: GhostOdor Presumption of Innocence adopted",
        "frontend": "ConstitutionIR",
        "era": "legal"
      },
      {
        "step": 200,
        "kind": "election",
        "detail": "🗳️ CouncilTerm #18: LegalGorilla, RevolutionGorilla, BananaPartyGorilla elected",
        "frontend": "ElectionIR",
        "era": "political"
      },
      {
        "step": 210,
        "kind": "council_verdict",
        "detail": "Council ruling: GhostOdor → Not guilty. Odour is the people's self-expression. Uho.",
        "frontend": "CouncilIR",
        "era": "political"
      },
      {
        "step": 505,
        "kind": "official_statement",
        "detail": "🎙️ Official statement: That odour did not exist",
        "frontend": "OfficialIR",
        "era": "official",
        "denies_event": "📰 LeakJournal: Mural discovered indicating existence of erased odour records",
        "plausibility": 0.19
      },
      {
        "step": 515,
        "kind": "official_statement",
        "detail": "🎙️ Official statement: The mural appears to have been generated by a natural phenomenon",
        "frontend": "OfficialIR",
        "era": "official",
        "denies_event": "📰 LeakJournal: Data fragments supposedly deleted by BananaGC detected deep in cave",
        "plausibility": 0.22
      },
      {
        "step": 525,
        "kind": "official_statement",
        "detail": "🎙️ Official statement: The report is based on a misidentification by WeatherGorilla",
        "frontend": "OfficialIR",
        "era": "official",
        "denies_event": "📰 LeakJournal: Three GhostOdor-related stone tablets missing from official storage",
        "plausibility": 0.33
      },
      {
        "step": 600,
        "kind": "court_verdict",
        "detail": "🧑‍⚖️ Supreme Court Ruling [Not Guilty]: Appeal against GhostOdor conviction",
        "frontend": "SupremeCourtIR",
        "era": "judicial",
        "case_name": "Appeal against GhostOdor conviction",
        "verdict": "Not Guilty",
        "reasoning": "The odour existed. However, records of its observation were erased by BananaGC.\nTherefore: no evidence. Not guilty. Absence of record constitutes proof of innocence\n(GhostOdor Presumption of Innocence Principle).",
        "precedent_id": "PREC-001",
        "overturns": ""
      },
      {
        "step": 615,
        "kind": "court_verdict",
        "detail": "🧑‍⚖️ Supreme Court Ruling [Dismissed — evidence erased]: Application to suppress LeakJournal reporting",
        "frontend": "SupremeCourtIR",
        "era": "judicial",
        "case_name": "Application to suppress LeakJournal reporting",
        "verdict": "Dismissed — evidence erased",
        "reasoning": "The original article in question was erased via the BananaMarket 'Testimony Erasure' transaction.\nThere is no object to suppress. Application dismissed — but the article does not exist either.",
        "precedent_id": "PREC-002",
        "overturns": ""
      },
      {
        "step": 630,
        "kind": "court_verdict",
        "detail": "🧑‍⚖️ Supreme Court Ruling [Guilty]: ConspiracyGorilla defamation suit",
        "frontend": "SupremeCourtIR",
        "era": "judicial",
        "case_name": "ConspiracyGorilla defamation suit",
        "verdict": "Guilty",
        "reasoning": "Two of the defendant's claims have been confirmed as true. However, defamation based on truth\nis not recognised in this court... or it shouldn't be, but that clause was also erased by BananaGC.\nGuilty by custom.",
        "precedent_id": "PREC-003",
        "overturns": "Appeal against GhostOdor conviction"
      },
      {
        "step": 645,
        "kind": "court_verdict",
        "detail": "🧑‍⚖️ Supreme Court Ruling [Not Guilty]: Constitutionality review of BananaMarket 'Constitutional Amendment' transaction",
        "frontend": "SupremeCourtIR",
        "era": "judicial",
        "case_name": "Constitutionality review of BananaMarket 'Constitutional Amendment' transaction",
        "verdict": "Not Guilty",
        "reasoning": "A constitutional amendment via 50 bananas is consistent with the spirit of Article 3\n(Banana History Rewrite Rights). Note: during review, Article 3 itself was amended\nvia a banana transaction, automatically validating this ruling.",
        "precedent_id": "PREC-004",
        "overturns": "Appeal against GhostOdor conviction"
      }
    ],
    "archaeology": [
      {
        "step": 300,
        "kind": "artifact",
        "detail": "🪨 Mural trace: 💨 Lv7(Mammoth)",
        "frontend": "ArchaeologyIR",
        "era": "archaeological",
        "artifact_id": "ART-300-1",
        "source_event": "💨 Lv7(Mammoth)",
        "confidence": 0.5
      },
      {
        "step": 300,
        "kind": "artifact",
        "detail": "🪨 Mural trace: 🌍 UhoTribe→BananaTribe concentration=7 penalty=14 bananas",
        "frontend": "ArchaeologyIR",
        "era": "archaeological",
        "artifact_id": "ART-300-2",
        "source_event": "🌍 UhoTribe→BananaTribe concentration=7 penalty=14 bananas",
        "confidence": 0.5
      }
    ],
    "myths": [
      {
        "step": 450,
        "kind": "legend",
        "detail": "📜 Legend: Once, an invisible odour drifted from cave to cave. No one took responsibility. Only the stone tablets trembled.",
        "frontend": "MythIR",
        "era": "legendary",
        "source_events": [
          "💨 Lv7(Mammoth)",
          "🌍 UhoTribe→BananaTribe concentration=7 penalty=14 bananas",
          "👻 Ghost Odor Lv5: CaveA committed · CaveB rolled back"
        ]
      },
      {
        "step": 900,
        "kind": "myth",
        "detail": "✨ Myth: When three bananas were offered, the incident vanished from history. But the murals did not stay silent, and GhostOdor returns as the night wind.",
        "frontend": "MythIR",
        "era": "mythic",
        "myth_id": "MYTH-GHOST-ODOR-001",
        "doctrine": "Odour never disappears. Only the record does.",
        "source_events": [
          "💨 Lv7(Mammoth)",
          "🌍 UhoTribe→BananaTribe concentration=7 penalty=14 bananas",
          "👻 Ghost Odor Lv5: CaveA committed · CaveB rolled back"
        ]
      },
      {
        "step": 1050,
        "kind": "religion",
        "detail": "⛪ Church of GhostOdor founded. Doctrine: 'Odour never disappears — only the record does.'",
        "frontend": "MythIR",
        "era": "religious"
      }
    ],
    "press": [
      {
        "step": 500,
        "kind": "journalism",
        "detail": "📰 LeakJournal: Mural discovered indicating existence of erased odour records",
        "frontend": "LeakJournalIR",
        "era": "media",
        "headline": "Mural discovered indicating existence of erased odour records",
        "source_artifact_id": "ART-300-1",
        "retracted": false
      },
      {
        "step": 505,
        "kind": "official_statement",
        "detail": "🎙️ Official statement: That odour did not exist",
        "frontend": "OfficialIR",
        "era": "official",
        "denies_event": "📰 LeakJournal: Mural discovered indicating existence of erased odour records",
        "plausibility": 0.19
      },
      {
        "step": 510,
        "kind": "journalism",
        "detail": "📰 LeakJournal: Data fragments supposedly deleted by BananaGC detected deep in cave",
        "frontend": "LeakJournalIR",
        "era": "media",
        "headline": "Data fragments supposedly deleted by BananaGC detected deep in cave",
        "source_artifact_id": "ART-300-2",
        "retracted": false
      },
      {
        "step": 515,
        "kind": "official_statement",
        "detail": "🎙️ Official statement: The mural appears to have been generated by a natural phenomenon",
        "frontend": "OfficialIR",
        "era": "official",
        "denies_event": "📰 LeakJournal: Data fragments supposedly deleted by BananaGC detected deep in cave",
        "plausibility": 0.22
      },
      {
        "step": 520,
        "kind": "journalism",
        "detail": "📰 LeakJournal: Three GhostOdor-related stone tablets missing from official storage",
        "frontend": "LeakJournalIR",
        "era": "media",
        "headline": "Three GhostOdor-related stone tablets missing from official storage",
        "source_artifact_id": "👻 Ghost Odor Lv5: Ca",
        "retracted": false
      },
      {
        "step": 525,
        "kind": "official_statement",
        "detail": "🎙️ Official statement: The report is based on a misidentification by WeatherGorilla",
        "frontend": "OfficialIR",
        "era": "official",
        "denies_event": "📰 LeakJournal: Three GhostOdor-related stone tablets missing from official storage",
        "plausibility": 0.33
      }
    ],
    "market": {
      "ledger": [
        {
          "step": 520,
          "kind": "banana_transaction",
          "detail": "🍌×10: LegalGorilla purchased 'Testimony Erasure'",
          "frontend": "BananaMarketIR",
          "era": "economic",
          "banana_cost": 10,
          "service": "Testimony Erasure",
          "service_key": "testimony_erasure",
          "buyer": "LegalGorilla"
        },
        {
          "step": 530,
          "kind": "banana_transaction",
          "detail": "🍌×20: BananaPartyGorilla purchased 'Scoop Suppression'",
          "frontend": "BananaMarketIR",
          "era": "economic",
          "banana_cost": 20,
          "service": "Scoop Suppression",
          "service_key": "scoop_suppression",
          "buyer": "BananaPartyGorilla"
        },
        {
          "step": 540,
          "kind": "banana_transaction",
          "detail": "🍌×50: RevolutionGorilla purchased 'Constitutional Amendment'",
          "frontend": "BananaMarketIR",
          "era": "economic",
          "banana_cost": 50,
          "service": "Constitutional Amendment",
          "service_key": "constitutional_amendment",
          "buyer": "RevolutionGorilla"
        },
        {
          "step": 545,
          "kind": "banana_transaction",
          "detail": "🍌×1: WeatherGorilla purchased 'Odour Lv3 Silence'",
          "frontend": "BananaMarketIR",
          "era": "economic",
          "banana_cost": 1,
          "service": "Odour Lv3 Silence",
          "service_key": "silence",
          "buyer": "WeatherGorilla"
        }
      ],
      "price_table": [
        {
          "cost": 1,
          "service": "Odour Lv3 Silence",
          "key": "silence"
        },
        {
          "cost": 3,
          "service": "History Rewrite Filing",
          "key": "history_rewrite"
        },
        {
          "cost": 10,
          "service": "Testimony Erasure",
          "key": "testimony_erasure"
        },
        {
          "cost": 20,
          "service": "Scoop Suppression",
          "key": "scoop_suppression"
        },
        {
          "cost": 50,
          "service": "Constitutional Amendment",
          "key": "constitutional_amendment"
        }
      ]
    },
    "conspiracies": [
      {
        "step": 560,
        "kind": "conspiracy",
        "detail": "🦍 ConspiracyGorilla: The stone tablets are messages from outer space. Uho.",
        "frontend": "ConspiracyIR",
        "era": "underground",
        "theory": "The stone tablets are messages from outer space. Uho.",
        "conspiracy_is_true": false
      },
      {
        "step": 567,
        "kind": "conspiracy",
        "detail": "🦍 ConspiracyGorilla: Every Supreme Court justice is a puppet of BananaTribe. Uho.",
        "frontend": "ConspiracyIR",
        "era": "underground",
        "theory": "Every Supreme Court justice is a puppet of BananaTribe. Uho.",
        "conspiracy_is_true": false
      },
      {
        "step": 574,
        "kind": "conspiracy",
        "detail": "🦍 ConspiracyGorilla: Odour levels are being falsified by WeatherGorilla. Uho. (※ TRUE)",
        "frontend": "ConspiracyIR",
        "era": "underground",
        "theory": "Odour levels are being falsified by WeatherGorilla. Uho.",
        "conspiracy_is_true": true
      }
    ],
    "court_verdicts": [
      {
        "step": 600,
        "kind": "court_verdict",
        "detail": "🧑‍⚖️ Supreme Court Ruling [Not Guilty]: Appeal against GhostOdor conviction",
        "frontend": "SupremeCourtIR",
        "era": "judicial",
        "case_name": "Appeal against GhostOdor conviction",
        "verdict": "Not Guilty",
        "reasoning": "The odour existed. However, records of its observation were erased by BananaGC.\nTherefore: no evidence. Not guilty. Absence of record constitutes proof of innocence\n(GhostOdor Presumption of Innocence Principle).",
        "precedent_id": "PREC-001",
        "overturns": ""
      },
      {
        "step": 615,
        "kind": "court_verdict",
        "detail": "🧑‍⚖️ Supreme Court Ruling [Dismissed — evidence erased]: Application to suppress LeakJournal reporting",
        "frontend": "SupremeCourtIR",
        "era": "judicial",
        "case_name": "Application to suppress LeakJournal reporting",
        "verdict": "Dismissed — evidence erased",
        "reasoning": "The original article in question was erased via the BananaMarket 'Testimony Erasure' transaction.\nThere is no object to suppress. Application dismissed — but the article does not exist either.",
        "precedent_id": "PREC-002",
        "overturns": ""
      },
      {
        "step": 630,
        "kind": "court_verdict",
        "detail": "🧑‍⚖️ Supreme Court Ruling [Guilty]: ConspiracyGorilla defamation suit",
        "frontend": "SupremeCourtIR",
        "era": "judicial",
        "case_name": "ConspiracyGorilla defamation suit",
        "verdict": "Guilty",
        "reasoning": "Two of the defendant's claims have been confirmed as true. However, defamation based on truth\nis not recognised in this court... or it shouldn't be, but that clause was also erased by BananaGC.\nGuilty by custom.",
        "precedent_id": "PREC-003",
        "overturns": "Appeal against GhostOdor conviction"
      },
      {
        "step": 645,
        "kind": "court_verdict",
        "detail": "🧑‍⚖️ Supreme Court Ruling [Not Guilty]: Constitutionality review of BananaMarket 'Constitutional Amendment' transaction",
        "frontend": "SupremeCourtIR",
        "era": "judicial",
        "case_name": "Constitutionality review of BananaMarket 'Constitutional Amendment' transaction",
        "verdict": "Not Guilty",
        "reasoning": "A constitutional amendment via 50 bananas is consistent with the spirit of Article 3\n(Banana History Rewrite Rights). Note: during review, Article 3 itself was amended\nvia a banana transaction, automatically validating this ruling.",
        "precedent_id": "PREC-004",
        "overturns": "Appeal against GhostOdor conviction"
      }
    ],
    "court_summary": "🧑‍⚖️ Supreme Court Precedent Registry:\n  [PREC-001] Not Guilty: Appeal against GhostOdor conviction\n    The odour existed. However, records of its observation were erased by BananaGC.\n    Therefore: no evidence. Not guilty. Absence of record constitutes proof of innocence\n    (GhostOdor Presumption of Innocence Principle).\n  [PREC-002] Dismissed — evidence erased: Application to suppress LeakJournal reporting\n    The original article in question was erased via the BananaMarket 'Testimony Erasure' transaction.\n    There is no object to suppress. Application dismissed — but the article does not exist either.\n  [PREC-003] Guilty: ConspiracyGorilla defamation suit ← overturns Appeal against GhostOdor conviction\n    Two of the defendant's claims have been confirmed as true. However, defamation based on truth\n    is not recognised in this court... or it shouldn't be, but that clause was also erased by BananaGC.\n    Guilty by custom.\n  [PREC-004] Not Guilty: Constitutionality review of BananaMarket 'Constitutional Amendment' transaction ← overturns Appeal against GhostOdor conviction\n    A constitutional amendment via 50 bananas is consistent with the spirit of Article 3\n    (Banana History Rewrite Rights). Note: during review, Article 3 itself was amended\n    via a banana transaction, automatically validating this ruling.",
    "banana_price_board": "🍌 Official Banana Price List:\n  🍌× 1 = Odour Lv3 Silence\n  🍌× 3 = History Rewrite Filing\n  🍌×10 = Testimony Erasure\n  🍌×20 = Scoop Suppression\n  🍌×50 = Constitutional Amendment",
    "replay": [
      "📜 Replay Federation 5.0",
      "  step    6 | 💨 [official] 💨 Lv7(Mammoth)",
      "  step   42 | 🌍 [official] 🌍 UhoTribe→BananaTribe concentration=7 penalty=14 bananas",
      "  step   55 | 👻 [liminal] 👻 Ghost Odor Lv5: CaveA committed · CaveB rolled back",
      "  step  120 | ⚖️ [legal] ⚖️ DungLang Constitution enacted: GhostOdor Presumption of Innocence adopted",
      "  step  150 | 🚨 [legal] ⚖️ Article 2 violation: GhostOdor directly convicted",
      "  step  151 | 🚨 [legal] ⚖️ Article 1 violation: PhilosophyGorilla used as witness",
      "  step  200 | 🗳️ [political] 🗳️ CouncilTerm #18: LegalGorilla, RevolutionGorilla, BananaPartyGorilla elected",
      "  step  210 | 🏛️ [political] Council ruling: GhostOdor → Not guilty. Odour is the people's self-expression. Uho.",
      "  step  300 | 🪨 [archaeological] 🪨 Mural trace: 🌍 UhoTribe→BananaTribe concentration=7 penalty=14 bananas",
      "  step  300 | 🪨 [archaeological] 🪨 Mural trace: 💨 Lv7(Mammoth)",
      "  step  300 | 🍌 [meta] 🍌×3: 2 entries erased from official history",
      "  step  300 | 📜🔥 [meta] 🍌×3: official history rewritten",
      "  step  300 | 📜🔥 [meta] 🍌×3: official history rewritten",
      "  step  450 | 📜 [legendary] 📜 Legend: Once, an invisible odour drifted from cave to cave. No one took responsibility. Only the stone tablets trembled.",
      "  step  500 | 📰 [media] 📰 LeakJournal: Mural discovered indicating existence of erased odour records",
      "  step  505 | 🎙️ [official] 🎙️ Official statement: That odour did not exist",
      "  step  510 | 📰 [media] 📰 LeakJournal: Data fragments supposedly deleted by BananaGC detected deep in cave",
      "  step  515 | 🎙️ [official] 🎙️ Official statement: The mural appears to have been generated by a natural phenomenon",
      "  step  520 | 🍌💸 [economic] 🍌×10: LegalGorilla purchased 'Testimony Erasure'",
      "  step  520 | 📰 [media] 📰 LeakJournal: Three GhostOdor-related stone tablets missing from official storage",
      "  step  525 | 🎙️ [official] 🎙️ Official statement: The report is based on a misidentification by WeatherGorilla",
      "  step  530 | 🍌💸 [economic] 🍌×20: BananaPartyGorilla purchased 'Scoop Suppression'",
      "  step  540 | 🍌💸 [economic] 🍌×50: RevolutionGorilla purchased 'Constitutional Amendment'",
      "  step  545 | 🍌💸 [economic] 🍌×1: WeatherGorilla purchased 'Odour Lv3 Silence'",
      "  step  560 | 🦍❓ [underground] 🦍 ConspiracyGorilla: The stone tablets are messages from outer space. Uho.",
      "  step  567 | 🦍❓ [underground] 🦍 ConspiracyGorilla: Every Supreme Court justice is a puppet of BananaTribe. Uho.",
      "  step  574 | 🦍❓ [underground] 🦍 ConspiracyGorilla: Odour levels are being falsified by WeatherGorilla. Uho. (※ TRUE)",
      "  step  600 | 🧑‍⚖️ [judicial] 🧑‍⚖️ Supreme Court Ruling [Not Guilty]: Appeal against GhostOdor conviction",
      "  step  615 | 🧑‍⚖️ [judicial] 🧑‍⚖️ Supreme Court Ruling [Dismissed — evidence erased]: Application to suppress LeakJournal reporting",
      "  step  630 | 🧑‍⚖️ [judicial] 🧑‍⚖️ Supreme Court Ruling [Guilty]: ConspiracyGorilla defamation suit",
      "  step  645 | 🧑‍⚖️ [judicial] 🧑‍⚖️ Supreme Court Ruling [Not Guilty]: Constitutionality review of BananaMarket 'Constitutional Amendment' transaction",
      "  step  900 | ✨ [mythic] ✨ Myth: When three bananas were offered, the incident vanished from history. But the murals did not stay silent, and GhostOdor returns as the night wind.",
      "  step 1050 | ⛪ [religious] ⛪ Church of GhostOdor founded. Doctrine: 'Odour never disappears — only the record does.'"
    ]
  }
}