Expand description
Append-only write logic for the RVF runtime.
All mutations append new segments to the file. The write path:
- Allocate segment_id (monotonic counter)
- Build payload (VEC_SEG, META_SEG, JOURNAL_SEG, etc.)
- Write segment header + payload, fsync
- Build new MANIFEST_SEG, fsync (two-fsync protocol)