A failed append (single or batch) must make the open store refuse further
appends and Syncs with a typed SubstrateIO failure (ErrAppendFailed) until
a reopen, so no LSN is reused. A reopen may replay the failed,
never-acknowledged records; a write acknowledged after the reopen survives
the next crash.
ErrAppendFailed is declared so the test builds; nothing returns it yet.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>