fix: Sign complete on-disk artifacts after local cache writes (#14265)
## Summary
- Sign large on-disk cache artifacts from a reader positioned at the
start, even after the local cache has consumed the shared archive.
- Add a regression test for local-copy-then-sign with an artifact above
the 8 MiB spool threshold.
## Flow
```text
local cache copies on-disk archive
-> shared file offset reaches EOF
-> remote signing opens a reader at the start
-> signature covers the entire uploaded artifact
```
Fixes #14262.