{
  "format": "CLARA-IR-1",
  "version": "1.0.0-rc.1",
  "sourceLanguage": "CLARA",
  "entry": "fn(Int): Int or Bool",
  "maxNodes": 256,
  "maxCount": 60001,
  "inputs": "signed i32 contiguous range",
  "operations": [
    "immutable locals",
    "integer + - *",
    "comparisons",
    "boolean logic"
  ],
  "proof": "conservative interval analysis with BigInt arithmetic; reject any possible intermediate overflow",
  "targets": {
    "wasm": "import-free i32 binary, export map1; traps outside proven range",
    "wgsl": "full compute shader",
    "glsl": "full integer framebuffer fragment shader",
    "ir": "reference evaluator"
  },
  "execution": {
    "shardMax": 2048,
    "automaticOrder": [
      "webgpu",
      "webgl",
      "wasm",
      "ir"
    ],
    "checkpoint": "local browser, verified on resume",
    "receipt": "CLARA-IR-RECEIPT-1; all results replayed; not attestation"
  },
  "limitations": [
    "no loops, calls, mutation or host capabilities in Universal IR",
    "Fabric and web VM remain available for broader language",
    "GPU performance and availability depend on device",
    "no server-side universal compute"
  ],
  "mcp": {
    "public": "clara_ir_spec",
    "local": [
      "clara_ir_compile",
      "clara_ir_run"
    ]
  }
}
