Context
Buffer entries in memory; flush + fsync every 10-50 items or every 100 ms. Crash recovery: incomplete trailing line is treated as corrupt and skipped.
Acceptance criteria
Files to touch (estimate)
best-effort estimate; agent refines during implementation
Implementation notes
n/a
Dependencies
Safety checklist
See .github/ISSUE_TEMPLATE/task.yml — tick applicable invariants in the issue if any destructive path is touched.
Definition of Done
Context
Buffer entries in memory; flush + fsync every 10-50 items or every 100 ms. Crash recovery: incomplete trailing line is treated as corrupt and skipped.
Acceptance criteria
fsynccount ≤ceil(n/50) + 2fornitems.Files to touch (estimate)
best-effort estimate; agent refines during implementation
Implementation notes
n/a
Dependencies
Safety checklist
See
.github/ISSUE_TEMPLATE/task.yml— tick applicable invariants in the issue if any destructive path is touched.Definition of Done