Keep this branch's in-place OPEN terminal fail-closed path and fold in
main's shared path-gate poison / fastPut gate-wait behavior for staged
uploads, including channel cleanup on fastPut failure.
Co-authored-by: 陈大猫 <binaricat@users.noreply.github.com>