{
 "schema": "cain.e104.preregistration.v1",
 "written_before_sealed_runs": true,
 "motivation": "E102 sealed failures: 35 of 48 were key-and-door worlds, 47 of 48 with the mechanics already identified. The bottleneck is discovering a hidden precondition, not identifying dynamics. E103 skills failed because the acceptance rule was too weak.",
 "development_seeds_used": "960000-960200 (grid families 3 and 8, service-lock, 3 per other family) for design only; never reused below",
 "mechanism": "explore_after_bumps = m: after m blocked moves while following an optimistic plan, switch to systematic frontier exploration; return to goal planning when a believed wall proves passable or nothing is left to explore. Generic: no family-specific code. Also present but not under test: cut-wall retest (off).",
 "learning": "UCB1 bandit over m in {none, 2, 3, 5, 8} on a training stream of 160 grid tasks (families 0-7, 20 each, seed0 10000000, shuffled with seed 104), reward = -(steps with failure counted as 60)/60, batches of 8; the learned m is the arm with the best mean reward among arms pulled >= 10 times",
 "acceptance": {
  "validation": "100 grid tasks, families 0-9, 10 each, seed0 10100000: learned m vs none, paired sign test on steps p < 0.05 with more faster than slower, and success not lower",
  "confirmation": "a second set, families 0-9, 10 each, seed0 10150000: success of learned m >= none and more tasks faster than slower",
  "rule": "accepted as a skill only if both hold; otherwise REJECTED and still tested below for the record"
 },
 "sealed_tests": {
  "grid": "families 0-9, 30 each, seed0 10200000 (300 tasks)",
  "H1": "learned m vs none: success McNemar two-sided p < 0.05 with more tasks won than lost",
  "H1b": "key-and-door families 3 and 8 (60 tasks): learned m success > none, McNemar p < 0.05",
  "H1c": "all other families (240 tasks): no significant loss (McNemar p >= 0.05 or a gain)",
  "service_lock": "100 service-lock incidents (cross-domain precondition), seed0 10300000",
  "H2": "learned m vs none on service-lock: success McNemar two-sided p < 0.05 with more won than lost (cross-domain transfer of a procedure learned on grids)",
  "service": "100 plain service incidents, seed0 10400000: no significant loss (reported)"
 },
 "statistics": "exact McNemar and exact sign tests, two-sided, alpha 0.05; thresholds fixed here"
}
