{
  "schema": "fc-lang-site-ops-map/v1",
  "updated": "2026-08-09",
  "traceroute": {
    "kind": "site-architecture-trace",
    "note": "Hop path for how a user/agent reaches live multi-lang work \u2014 not IP traceroute (see /map for that).",
    "hops": [
      {
        "hop": 0,
        "id": "edge",
        "label": "Edge \u00b7 paper :8790 / CF Pages",
        "url": "http://127.0.0.1:8790/",
        "rttClass": "host"
      },
      {
        "hop": 1,
        "id": "hub",
        "label": "Hub /lang/",
        "url": "/lang/",
        "rttClass": "ui"
      },
      {
        "hop": 2,
        "id": "chrome",
        "label": "Chrome \u00b7 LIVE MIX \u00b7 chat party",
        "url": "/lang/#mix-band",
        "rttClass": "ui"
      },
      {
        "hop": 3,
        "id": "seats",
        "label": "PEERS \u00b7 seats \u00b7 clock",
        "url": "/lang/#peer-band",
        "rttClass": "ui"
      },
      {
        "hop": 4,
        "id": "compose",
        "label": "Typebar SEND|RECV \u00b7 fanout",
        "url": "/lang/",
        "rttClass": "compose"
      },
      {
        "hop": 5,
        "id": "bus",
        "label": "BroadcastChannel fc-language-streams",
        "url": null,
        "rttClass": "bus"
      },
      {
        "hop": 6,
        "id": "sinks",
        "label": "Turns \u00b7 pins \u00b7 lattice \u00b7 desk",
        "url": "/lang-lattice.html",
        "rttClass": "ui"
      },
      {
        "hop": 7,
        "id": "stream",
        "label": "Stream stack A+B \u00b7 cam",
        "url": "/stream-stack.html?with=vevo+cam",
        "rttClass": "media"
      },
      {
        "hop": 8,
        "id": "ai",
        "label": "Any AI \u00b7 SpaceXAI / offline",
        "url": "/lang/for-ai.html",
        "rttClass": "ai"
      },
      {
        "hop": 9,
        "id": "gov",
        "label": "Governance tree \u00b7 LARK / cube",
        "url": "/cube-viewer.html",
        "rttClass": "gov"
      },
      {
        "hop": 10,
        "id": "map",
        "label": "Maptrace \u00b7 /map hops",
        "url": null,
        "rttClass": "map",
        "note": "Terminal /map or maptrace; browser cube maptrace metaphor"
      }
    ]
  },
  "governance": {
    "tree": "/data/language/lark-governance-tree.json",
    "cube": "/cube-viewer.html",
    "cube_gov_js": "/cube-governance-trace.js",
    "channels": [
      "kbatch-governance",
      "kbatch-world-stream",
      "quantum-loopback",
      "fc-language-streams"
    ],
    "rungs": [
      {
        "id": "R0",
        "label": "Origin seat EN",
        "status": "live"
      },
      {
        "id": "R1",
        "label": "Active seats \u00b7 LIVE MIX",
        "status": "live"
      },
      {
        "id": "R2",
        "label": "Typebar fanout \u00b7 BC",
        "status": "live"
      },
      {
        "id": "R3",
        "label": "Desk / lattice / shadow",
        "status": "live"
      },
      {
        "id": "R4",
        "label": "Stream stack \u00b7 cam mesh",
        "status": "partial"
      },
      {
        "id": "R5",
        "label": "Room plane \u00b7 SFU \u00b7 10k",
        "status": "partial",
        "note": "LangRoom DO + WS live \u00b7 SFU/media still partial"
      }
    ]
  },
  "leverage": [
    {
      "id": "server-mt",
      "title": "Server-side MT fanout",
      "impact": "high",
      "effort": "med",
      "note": "Kill N MyMemory from browser; cache (src,dst,hash)."
    },
    {
      "id": "ws-room",
      "title": "WebSocket room plane",
      "impact": "high",
      "effort": "high",
      "note": "Replace BC for multi-user world; presence + shared turns."
    },
    {
      "id": "sfu-thumbs",
      "title": "SFU or glyph thumbs for cam",
      "impact": "high",
      "effort": "high",
      "note": "Pins stay mosaic samples; not full-mesh video."
    },
    {
      "id": "perf-tier",
      "title": "fc-lang-perf already live",
      "impact": "med",
      "effort": "done",
      "note": "Visibility pause \u00b7 mix/pin FPS caps \u00b7 content-visibility."
    },
    {
      "id": "map-link",
      "title": "Wire /map hops into hub clock panel",
      "impact": "med",
      "effort": "low",
      "note": "Show last traceroute hop list next to timesync drift."
    },
    {
      "id": "gov-overlay",
      "title": "Governance rung HUD on LIVE MIX",
      "impact": "med",
      "effort": "med",
      "note": "R0\u2013R5 completion % from cube-governance-trace maptrace."
    },
    {
      "id": "split-hub-js",
      "title": "Split index.html modules",
      "impact": "med",
      "effort": "med",
      "note": "373KB hub HTML \u2192 deferred chunks for steno/world/pins."
    },
    {
      "id": "http3-cdn",
      "title": "CF HTTP/3 + cache headers",
      "impact": "med",
      "effort": "low",
      "note": "lang-dist _headers already; tune immutable for typebar assets."
    },
    {
      "id": "agent-probe",
      "title": "Auto probe on graph hub open",
      "impact": "low",
      "effort": "done",
      "note": "?probe=1 \u00b7 speed ms per section."
    },
    {
      "id": "typebar-worker",
      "title": "Offthread stripe paint",
      "impact": "med",
      "effort": "med",
      "note": "Move glyph band / contrail to worker when tier=low."
    }
  ],
  "speed_budgets": {
    "ui": {
      "maxMs": 80,
      "maxKb": 400
    },
    "compose": {
      "maxMs": 120,
      "maxKb": 200
    },
    "media": {
      "maxMs": 250,
      "maxKb": 80
    },
    "ai": {
      "maxMs": 150,
      "maxKb": 20
    },
    "contract": {
      "maxMs": 40,
      "maxKb": 30
    },
    "host": {
      "maxMs": 100,
      "maxKb": 50
    }
  }
}
