{
  "schema_version": 1,
  "id": "M03-revision2-bounded-atomic-replace-repair",
  "status": "FROZEN_BEFORE_SECOND_MAIN_ATTEMPT",
  "parent_plan_sha256": "366ed2f10874ae6b56ff9787792090a812985a796463d9f63f621a0d7a0245a4",
  "attempt1_summary_sha256": "e422749bba95be2d1c5aadb725bcf78170d87cc147a018b3e0e2adca28504dce",
  "attempt1_manifest_sha256": "494e4aa64a59fa9b41a489b336b46b05303dde560e90e8f9c750930511eb85c4",
  "attempt1_outcome": "233 completed_valid point records and89 not_run_dependency. Whole-grid screens not evaluated. Four of six planned fields retained. Windows PermissionError5 during replacement of the controller progress file stopped the worker; interrupted n12 resource receipt was not returned.",
  "diagnosis": "A bounded separate Windows sharing test reproduced error5 while a reader omitted delete sharing; closing that handle allowed replacement. The original reader/process causing the interruption is not established.",
  "repair": {
    "operation": "Retry os.replace only after Windows error5,32 or33. Do not repeat a scientific solve.",
    "maximum_retry_window_s": 0.5,
    "pause_s": 0.01,
    "clock": "Monotonic elapsed from first replace attempt. Stop retrying when this window expires; OS call/scheduling return can exceed the window, and actual elapsed is recorded.",
    "persistent_or_other_error": "Raise the original operating-system error, preserve previous destination content and ordinary failed/partial study disposition. No indefinite wait, alternate output path, or ignored failure.",
    "evidence": "Every actual retry sequence emits a portable stderr record; controller sequences are also retained in summary/finalization. Worker sequences are retained in its stdout/stderr log and a completion-sidecar when the worker reaches normal completion.",
    "budget": "All retry/sleep time is charged to the existing900s total and450s worker stopping budgets. Limits are unchanged.",
    "monitor_interval_interpretation": "The unchanged guard uses a configured0.1s sleep between sampling iterations. Source hashing, progress callbacks, retries and scheduling add overhead, so actual resident/combined-memory sample gaps can exceed0.1s. The hard worker Job commit cap remains active during that overhead. No exact sampling-period or continuous resident cap is claimed."
  },
  "replay_policy": "Run the same322-point full matrix in a new output directory after independent source/preflight clearance. Do not splice prior points, silently resume, change conditions, or count repeated evaluations as new distinct conditions.",
  "science_unchanged": "Same material, cube, matrices, grid, damping, load, six checkpoints, parent anchors, accuracy thresholds, resource limits and scientific solver. Only file-replacement recovery, its diagnostics, tests and addendum binding change.",
  "preservation": "Attempt1 source/results and raw exception remain unchanged. Public history may redact only absolute local paths, with exact original and transformed hashes documented. Missing interrupted receipt remains missing."
}
