{
 "schema": "cain.e103.preregistration.v1",
 "written_before_sealed_runs": true,
 "development_seeds_used": "service 950000-950200 (30 incidents) for a smoke test only",
 "domains": {
  "grid": "cain/cain2027/e102/worlds.py, 10 families (E102)",
  "service": "cain/cain2027/e103/service.py: config debugging; labels scrambled p=0.8, propagation delay 0/1/2 with p=0.4/0.35/0.25, structured incompatible bands; target always hidden. Same action/observation protocol as the grid suite: a structurally analogous domain, so any transfer measured is NEAR transfer"
 },
 "statistics": "paired sign test on steps (failure counted as max_steps = 60), two-sided unless stated; exact McNemar on success; alpha 0.05; thresholds fixed here",
 "T_transfer": {
  "memories": {
   "G_E": "grid causal_invariance memory written in E102 E2 (artifacts/e102/e2/memory_E_causal_invariance.jsonl), copied read-only",
   "G_B": "grid basic memory from E102 E2 (memory_B_basic.jsonl), copied read-only",
   "S_E": "service causal_invariance memory written on a stream of 100 service incidents, seed0 9300000"
  },
  "service_eval": "200 sealed service incidents, seed0 9400000; arms A_none, G_E, G_B, S_E (memory read-only)",
  "grid_eval": "80 sealed grid tasks, families 2 and 9 (hidden goal), 40 each, seed0 9500000; arms A_none, S_E, G_E",
  "T1": "grid -> service: G_E vs A_none steps, two-sided. POSITIVE if G_E fewer steps with p < 0.05, NEGATIVE if more with p < 0.05, otherwise NONE",
  "T2": "causal_invariance limits harm relative to basic: G_E vs G_B steps on service (reported either way)",
  "T3": "service -> grid: S_E vs A_none on the 80 grid tasks, two-sided, same classification as T1",
  "reference": "S_E vs A_none on service is the in-domain reference, not a transfer result"
 },
 "S_skills": {
  "acquisition": "organism (no memory) on 200 grid tasks, families 0-7, seed0 9000000, traces kept. identify-skills mined only from visible-goal tasks (families 0,1,3,4,5,6,7); localize-skills mined only from family 2",
  "validation": "100 grid tasks families 0-8 with the matching signature, seed0 9100000 (identify on visible-goal families, localize on family 2 seeds 9150000, 40 tasks); refinement: truncate a candidate when its counterexamples exceed the baseline's; accept only if validation mean steps < baseline and success not lower; at most one accepted skill per kind",
  "test": "sealed seed0 9200000: grid families 0-8 visible-goal (160 tasks: 20 per family of 0,1,3,4,5,6,7,8), grid family 9 (40), service (100)",
  "arms": ["none", "identify_only", "localize_only", "composed"],
  "S1": "identify_only vs none on visible-goal grid test: fewer steps, sign test p < 0.05, success not significantly lower",
  "S2": "composed vs none on family 9 (held-out composition): fewer steps, sign test p < 0.05",
  "S3": "composed vs none on service (cross-domain skill transfer): two-sided classification as T1",
  "rejection": "a candidate that does not beat no-skill on validation is rejected and listed"
 }
}
