FA-11583 / Filesystem semantics / Member archive
Truncation rewinds an open file position · case 03
Truncation rewinds an open file position.
Case contract
Deterministic in-memory filesystem model. Resize text to nonnegative size, filling growth with null characters, and return [new text, unchanged nonnegative offset].
Why this case matters
An offline semantic experiment for file API clients; it models only the stated operations, not a complete operating system.
One recorded failure
Sample boundary fixtureThis sample comes from the broken implementation of a controlled reproducer.
| Boundary fixture | Actual | Expected | Outcome |
|---|---|---|---|
| shrink below current offset | ["ab", 0] | ["ab", 9] | Failed |
MEMBER ARCHIVE
The complete case is available to members.
This record includes three runnable implementations, regression fixtures, execution results, and source hashes.
Member access is invitation-based. Sign in with your invited account to inspect the sources.
Sign in to the archive ↗