Problem
The statement writer can leak a raw OSError if staged .part pin inspection fails immediately before replacement, despite adjacent ownership checks returning typed output_path_changed.
Acceptance
- Translate the staged-pin inspection boundary to the stable typed refusal.
- Preserve conservative cleanup and add deterministic injected-
fstat coverage.
Discovered on PR #320 and deferred under the owner-authorized P1-only stopping rule.
Problem
The statement writer can leak a raw
OSErrorif staged.partpin inspection fails immediately before replacement, despite adjacent ownership checks returning typedoutput_path_changed.Acceptance
fstatcoverage.Discovered on PR #320 and deferred under the owner-authorized P1-only stopping rule.