{
 "schema_version": 1,
 "run_id": "spark-membrane-demo-seed42",
 "project": {
  "name": "spark-membrane",
  "version": "0.2.0",
  "source_url": "https://github.com/sparkainlp-x/spark-membrane",
  "source_note": "Generated by `python3 -m spark_membrane build-docs`; the manifest lives inside the commit it describes, so code.commit is null. Upstream repositories are pinned in PINS.json."
 },
 "evidence_class": "synthetic",
 "dataset": {
  "name": "Seeded synthetic native-32 stream and 512-channel bus (seed 42)",
  "kind": "synthetic telemetry-like replay generated by spark_membrane/demo.py",
  "description": "Uniform noise of +/-0.01 around a zero reference with injected single-channel spikes, a two-channel fault, a slow common drift and a global shift; a separate event-free calibration stream from the same noise model (never audited); plus 16 native-32 blocks (512 channels, no resampling) with one spike in block 11. No real telemetry.",
  "source_url": null
 },
 "code": {
  "version": "0.2.0",
  "commit": null
 },
 "seed": 42,
 "protocol": {
  "name": "spark-membrane-demo-v2",
  "version": "2",
  "sha256": "69efc39ab63b4b1157ddcaf42a3c3f5398cd0e1937de2633b1e67c47dde28f3b",
  "locked_at": "2026-10-05T21:30:00-04:00 (self-declared)",
  "lock_commit": null,
  "description": "UNCALIBRATED placeholders (docs/PROTOCOL.md). Gating: protocol hash, oes32-residual R > 0.08 latches, oes32_engine Profile A (tau 0.08, odd sector antisymmetric), oes-resilience weighted score >= 0.50 alarms. Advisory: max-abs 0.50, EWMA (lambda 0.2) 3.0, CUSUM (k 0.5) 5.0, standardized on a separate 64-frame calibration stream, restart after alarm. Explorer cap |delta| <= 0.25, 16 seeded candidates, one index."
 },
 "baselines": [
  "maxabs (advisory)",
  "ewma (advisory)",
  "cusum (advisory)"
 ],
 "results": [
  {
   "scope": "synthetic native-32 stream, seed 42 (40 frames, all audited; EWMA/CUSUM calibrated on a separate 64-frame stream)",
   "method": "membrane T=0 audit (gating conjunction)",
   "metrics": [
    {
     "name": "ACCEPT frames",
     "value": 36,
     "unit": "frames"
    },
    {
     "name": "LATCH frames",
     "value": 4,
     "unit": "frames"
    },
    {
     "name": "frames with engine disagreement",
     "value": 7,
     "unit": "frames",
     "note": "families compared: residual, sidecar, weighted, maxabs, ewma, cusum"
    }
   ]
  },
  {
   "scope": "synthetic native-32 stream, seed 42 (40 frames, all audited; EWMA/CUSUM calibrated on a separate 64-frame stream)",
   "method": "explorer (seeded one-index delta, simulation only)",
   "metrics": [
    {
     "name": "REPAIRED_IN_SIM",
     "value": 1,
     "unit": "frames",
     "note": "a capped single-index synthetic edit passed the audit; original kept, nothing committed"
    },
    {
     "name": "LATCH_HELD",
     "value": 3,
     "unit": "frames"
    }
   ]
  },
  {
   "scope": "synthetic native-32 stream, seed 42 (40 frames, all audited; EWMA/CUSUM calibrated on a separate 64-frame stream); scored frames only",
   "method": "per-engine firing counts (not combined)",
   "metrics": [
    {
     "name": "residual fired",
     "value": 4,
     "unit": "frames"
    },
    {
     "name": "sidecar fired",
     "value": 4,
     "unit": "frames"
    },
    {
     "name": "weighted fired",
     "value": 1,
     "unit": "frames"
    },
    {
     "name": "maxabs fired",
     "value": 1,
     "unit": "frames"
    },
    {
     "name": "ewma fired",
     "value": 7,
     "unit": "frames"
    },
    {
     "name": "cusum fired",
     "value": 7,
     "unit": "frames"
    }
   ]
  },
  {
   "scope": "synthetic 512-channel bus (16 native-32 blocks), last frame",
   "method": "membrane T=0 audit per block",
   "metrics": [
    {
     "name": "latched blocks",
     "value": 1,
     "unit": "blocks"
    },
    {
     "name": "accepted blocks",
     "value": 15,
     "unit": "blocks"
    }
   ]
  }
 ],
 "result_label": "synthetic_example",
 "interpretation": "This run shows how the console behaves on invented frames: which gating check latched, at which index, where the engines disagreed, and whether a capped one-index simulated edit would pass. It says nothing about real telemetry, about any detector's superiority, or about any physical system.",
 "limitations": [
  "All frames are SYNTHETIC; every threshold and cap is UNCALIBRATED (upstream defaults or author choices), not a recommendation.",
  "Engines are small reference re-implementations tested against the pinned upstream code, not the upstream packages themselves.",
  "EWMA/CUSUM are advisory; their restart-after-alarm rule is an author choice (upstream defines none). On the slow drift only they fire while the gate ACCEPTs.",
  "REPAIRED_IN_SIM is a simulation verdict; the capability gate refuses to commit any explorer proposal.",
  "The shield gate applies the oes32-membrane-shield role table; Ed25519 capability signatures are verified only when the optional [shield] extra (cryptography) is installed, otherwise signed requests are refused.",
  "A matching SHA-256 shows byte consistency only; locked_at is self-declared."
 ],
 "artifacts": [
  {
   "path": "protocol.json",
   "role": "protocol",
   "description": "Locked protocol bytes (identical to protocols/membrane_demo_v2.json).",
   "sha256": "69efc39ab63b4b1157ddcaf42a3c3f5398cd0e1937de2633b1e67c47dde28f3b"
  },
  {
   "path": "frames-seed42.jsonl",
   "role": "input",
   "description": "SYNTHETIC native-32 input stream (oes-telemetry-bench frame contract).",
   "sha256": "a074efbf7bcd91cfb68ee6babee490314108f05b1e0e37ed47d44b1a3a0dc9aa"
  },
  {
   "path": "calibration-seed42.jsonl",
   "role": "input",
   "description": "SYNTHETIC event-free calibration stream for the EWMA/CUSUM mean and scale only; never audited.",
   "sha256": "7b2f103b71b39f6bfb857e6f60b418e1d59d5623ac72653bd6bed413e4334ece"
  },
  {
   "path": "trail-seed42.jsonl",
   "role": "trail",
   "description": "Hash-chained run trail (measurement-trail record format).",
   "sha256": "9c7cb4eda9b60133ee5a3bc1546ebf106f14fdcaff82ba008e18745f75732ec4"
  },
  {
   "path": "demo-seed42.json",
   "role": "results",
   "description": "Full demo results: every check, index, engine family and explorer proposal (main stream and all 16 bus blocks).",
   "sha256": "5e8548d446431444c01088c69b4a219120f29f2d1d065af510f3adba842ed686"
  },
  {
   "path": "PINS.json",
   "role": "pins",
   "description": "Pinned upstream commits; its SHA-256 is the payload digest of the first trail event.",
   "sha256": "aa534daa78ba844049aea9698ef7f40329e46dbd553fbe007709fac2314d3cc1"
  },
  {
   "path": "CLAIMS.json",
   "role": "claims",
   "description": "Claim ledger; its canonical-JSON SHA-256 is the payload digest of the claims-gate trail event.",
   "sha256": "576d005bae31f1759c5fa72200bdcfebc76d231ee560b457256bed5e611d975c"
  },
  {
   "path": "bus512/block_00.jsonl",
   "role": "input",
   "description": "SYNTHETIC 512-channel bus, block 0 (native-32 stream).",
   "sha256": "c9242233109afba5a3c3ce616b636e1168bd7d0cd008c3b156c77e5ef53d69af"
  },
  {
   "path": "bus512/block_01.jsonl",
   "role": "input",
   "description": "SYNTHETIC 512-channel bus, block 1 (native-32 stream).",
   "sha256": "ae5fc2038338e5aab42ac5751bf27327e5c0d4f3ece7435a27ff93868762cb80"
  },
  {
   "path": "bus512/block_02.jsonl",
   "role": "input",
   "description": "SYNTHETIC 512-channel bus, block 2 (native-32 stream).",
   "sha256": "c0b1f3b86bbe3faaf990b5d00072fd959f4f745e71598bbba9c6ede57ffaa6f1"
  },
  {
   "path": "bus512/block_03.jsonl",
   "role": "input",
   "description": "SYNTHETIC 512-channel bus, block 3 (native-32 stream).",
   "sha256": "41e4129b279b1b2c79634b7329043e095f6f55f459003e34c54f3a7dbd39edf1"
  },
  {
   "path": "bus512/block_04.jsonl",
   "role": "input",
   "description": "SYNTHETIC 512-channel bus, block 4 (native-32 stream).",
   "sha256": "c09759ca19ca5ddb834008ee956f391b30d28d990bc755c424120e0ef80788ef"
  },
  {
   "path": "bus512/block_05.jsonl",
   "role": "input",
   "description": "SYNTHETIC 512-channel bus, block 5 (native-32 stream).",
   "sha256": "88b4690a81a36fac4e15f9aad5b8bd3e6a996f15913795625d0fb8fc09ba35f6"
  },
  {
   "path": "bus512/block_06.jsonl",
   "role": "input",
   "description": "SYNTHETIC 512-channel bus, block 6 (native-32 stream).",
   "sha256": "0100f77df5b5a944ee606f878ac4fdd98eb8e71d4dd48e173be68d2f34a4d1de"
  },
  {
   "path": "bus512/block_07.jsonl",
   "role": "input",
   "description": "SYNTHETIC 512-channel bus, block 7 (native-32 stream).",
   "sha256": "cc437f7dcdcd03b4ad6ce10f06a49ec5fc2cb842b72598b93b07b14dfe483eb0"
  },
  {
   "path": "bus512/block_08.jsonl",
   "role": "input",
   "description": "SYNTHETIC 512-channel bus, block 8 (native-32 stream).",
   "sha256": "9a58df08166d857a2ae2a65d2f941941edc5d099465d2bca278c1942c417dcae"
  },
  {
   "path": "bus512/block_09.jsonl",
   "role": "input",
   "description": "SYNTHETIC 512-channel bus, block 9 (native-32 stream).",
   "sha256": "89e86fda1451d61b86ae5702b8d05afbf2ad2cf4a5535612d065f0d71ac88dc1"
  },
  {
   "path": "bus512/block_10.jsonl",
   "role": "input",
   "description": "SYNTHETIC 512-channel bus, block 10 (native-32 stream).",
   "sha256": "87a13ef1f1f447729344aae24339ef2335df2045df5b2f2af57f9cc88a385a72"
  },
  {
   "path": "bus512/block_11.jsonl",
   "role": "input",
   "description": "SYNTHETIC 512-channel bus, block 11 (native-32 stream).",
   "sha256": "6e44cf151090807d7ad812a22552d91201e29e28e2127630d321062e9a03f012"
  },
  {
   "path": "bus512/block_12.jsonl",
   "role": "input",
   "description": "SYNTHETIC 512-channel bus, block 12 (native-32 stream).",
   "sha256": "9e6fe88b3fd29143015ce8cb58c5ca01fabef29b93cb6c35be5c8b8d44b7c6b0"
  },
  {
   "path": "bus512/block_13.jsonl",
   "role": "input",
   "description": "SYNTHETIC 512-channel bus, block 13 (native-32 stream).",
   "sha256": "dbce50f890ade051e22023523b2c5bb038d48144eaa152e6b9df7fc6d2480286"
  },
  {
   "path": "bus512/block_14.jsonl",
   "role": "input",
   "description": "SYNTHETIC 512-channel bus, block 14 (native-32 stream).",
   "sha256": "121602cc51af6037c0e26152e55c0212abbc2c05189acbf99a75a7ab8d6fad08"
  },
  {
   "path": "bus512/block_15.jsonl",
   "role": "input",
   "description": "SYNTHETIC 512-channel bus, block 15 (native-32 stream).",
   "sha256": "382b7da40b91c88fb656ecee6f905627aaef3c1310dd1eb91c3d6eab52b7813d"
  }
 ]
}
