{
 "schema": "cain42.e410m.deviations.v1",
 "evolution": "E410-M",
 "deviations": [
  {
   "id": "D1",
   "when": "pre-result",
   "text": "The v1 rsi-mask pocket (abs_v, relu, mod7, clip5) was idempotent under depth-3 composition and failed task generation before any run completed. Replaced rsi-mask ops with non-collapsing bitwise/modular/threshold ops (xor5, mod11, clip5, thresh), preserved the v1 preregistration and freeze, and re-froze with fresh salts before any valid run. No arm, budget, hypothesis, or verdict threshold changed."
  },
  {
   "id": "D2",
   "when": "pre-result",
   "text": "In the ungoverned scratchpad control, concurrent worker reads in top_macros() raced with non-atomic file writes in append() during the replication salt, aborting the run before any result was written. Added file locking on reads and atomic os.replace() on writes in UngovernedScratchpad, preserved the v2 freeze, and re-froze before the valid run. No design, arm, budget, hypothesis, or verdict threshold changed."
  },
  {
   "id": "D3",
   "when": "pre-publication",
   "text": "E380-M Store.read() enforces in-tenant reader ACLs of the form '<tenant>-a0..a7'. In v3, workers used custom names ('rsi-arith', 'eval-gate', etc.) so Store.read() returned NOT_IN_TENANT on every read and 0 macros were ever verified (resulting in an invalid all-zero run, preserved as E410-M_RUN_REPORT.v3.json). Mapped agent identities cleanly to E380-M's in-tenant ACL ('rsi-a0'..'rsi-a6' under tenant 'rsi') and reused one persistent OS worker process per agent role via stdio RPC, preserved v3 freeze & invalid run, and re-froze with fresh salts. No arm, budget, hypothesis, or verdict threshold changed."
  }
 ],
 "note": "D1-D3 are harness fixes; v1/v2/v3 freezes and invalid v3 run are preserved in the bundle"
}