Skip to content

Phase 7: FileStorage implementation#10

Merged
mcollina merged 1 commit intomainfrom
phase-7-file-storage
Feb 15, 2026
Merged

Phase 7: FileStorage implementation#10
mcollina merged 1 commit intomainfrom
phase-7-file-storage

Conversation

@mcollina
Copy link
Copy Markdown
Member

Summary

  • Add FileStorage class for filesystem-based persistence
  • Uses fast-write-atomic for safe concurrent writes
  • fs.watch for blocking dequeue and notifications
  • Sequence numbers for FIFO ordering
  • TTL management via companion .ttl files
  • Type declaration for fast-write-atomic module
  • Comprehensive test suite (28 tests)

Test plan

  • All 28 FileStorage tests pass
  • All existing tests (110 total) still pass
  • Lint passes
  • TypeScript check passes

🤖 Generated with Claude Code

- Implement FileStorage class using atomic file operations
- Use fast-write-atomic for safe concurrent writes
- Implement fs.watch for blocking dequeue and notifications
- Add sequence numbers for FIFO ordering
- TTL management via companion .ttl files
- Add type declaration for fast-write-atomic module
- Add comprehensive test suite (28 tests)
- Export FileStorage from package index

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@mcollina mcollina merged commit d4d239e into main Feb 15, 2026
10 checks passed
@mcollina mcollina deleted the phase-7-file-storage branch February 15, 2026 19:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant