{"archive_root_sha256":"9f5d72840b4cc1fcb57720a61ebc53529fa00202d9201615e4ebdbb3e047a635","atomic_semantics":["mkstemp exclusive mode 0600","fchmod requested mode","write_all","file fsync","close before rename","atomic replace","directory fsync","temp unlink on failure"],"cleanup_replayed":false,"evidence_preserved":true,"finding":"v3 atomic used one unchecked os.write and could rename a truncated payload","live_mutations":0,"regression":{"v3_partial_write_result":"truncated abc from abcdefgh","v4_partial_write_result":"exact abcdefgh"},"schema":"task26-cleanup-v4-short-write-finding-closure-v1","status":"PASS","v3_controller_sha256":"aad9f6934833667e78d2d1752f2071971707206ee19d15d24e884136debff15a","v3_seal_sha256":"84d937ef67c1517bfdbca4cabce9fb4bfbe39aa1165458bb3aedd14decc4bff0","v4_fix":"write_all loops over memoryview, retries InterruptedError, rejects non-positive and impossible counts; atomic closes and unlinks temp before any failed write can rename"}

