Expand description
Crash-recovery drafts persisted through FileSystemService (ADR-0014 §5).
Structs§
- Draft
- Unsaved buffer text mirrored outside the project. Recovery only offers this text; applying it remains an explicit transaction in the application model.
- Draft
Diagnostic
Constants§
Functions§
- draft_
file_ name - Stable, dependency-free FNV-1a over the absolute path. The readable suffix is only for humans inspecting the directory; identity comes from the whole path hash.
- drafts_
for - Load valid drafts for one workspace. A corrupt sibling is diagnosed and skipped; one bad recovery file must not hide the rest.
- encode_
draft - parse_
draft - reap_
drafts - write_
draft