Phase 1 delivers the complete durability and storage layer:
- WAL with crash recovery: Append-only journal with BLAKE3 checksums,
fsync guarantees, and proper seek-to-EOF on reopen
- Storage engine: sled-backed KVStore with scan_prefix for range queries
- Content-addressed storage: H:{hash}, V:{hash}, E:{hash} key patterns
- Ingestor: Background worker tailing WAL, writing to KV with 8-byte
aligned record headers for rkyv zero-copy deserialization
- Comprehensive tests: 31 tests covering crash recovery, round-trips,
and multi-cycle durability
New crates: stemedb-wal, stemedb-storage, stemedb-ingest
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
21 lines
525 B
YAML
21 lines
525 B
YAML
task: tracing-coverage
|
|
created: 2026-01-31
|
|
completed: 2026-01-31
|
|
phase: COMPLETE
|
|
before_count: 6
|
|
current_count: 0
|
|
|
|
files_fixed:
|
|
- crates/stemedb-wal/src/journal.rs: 5 spans
|
|
- crates/stemedb-storage/src/sled_backend.rs: 5 spans
|
|
- crates/stemedb-ingest/src/ingestor.rs: 2 spans
|
|
- crates/stemedb-wal/src/durability.rs: 2 spans
|
|
|
|
enforcement:
|
|
- CLAUDE.md: Added "Instrument Critical Paths" rule
|
|
|
|
documentation:
|
|
- .claude/skills/stemedb-core/SKILL.md: Added Tracing Pattern section with examples
|
|
|
|
total_spans_added: 14
|