pr64980_write_path
main
This PR is one of four focused changes split out of #64980 following review feedback.
The full context, rationale, related work, benchmarks, and validation details are documented there.
The AI-assistance disclosure in #64980 applies to this split PR as well.