beads/internal/storage/sqlite
Steve Yegge a7d6ffcb2d Add lifecycle safety docs and tracking for UnderlyingDB() (bd-64)
- Added comprehensive documentation with 5 safety rules and best practices
- Added atomic.Bool closed field for lifecycle tracking
- Added IsClosed() method to check storage state
- All existing tests pass with -race flag

Amp-Thread-ID: https://ampcode.com/threads/T-e10b5206-4acd-4b9c-915d-423f958e350b
Co-authored-by: Amp <amp@ampcode.com>
2025-10-22 20:29:31 -07:00
..
collision.go Cleanup and fixes: godoc comments, removed dead code, fixed renumber FK constraint bug 2025-10-19 19:37:58 -07:00
collision_dedup_test.go Fix bd-421: Add deduplication to prevent importing duplicate issues 2025-10-16 18:08:58 -07:00
collision_test.go Cache compiled regexes in ID replacement for 1.9x performance boost 2025-10-13 23:50:48 -07:00
compact.go Add compacted_at_commit field and git commit capture during compaction 2025-10-16 17:43:38 -07:00
compact_bench_test.go Remove snapshot/restore functionality from compaction 2025-10-16 00:26:42 -07:00
compact_test.go Add compacted_at_commit field and git commit capture during compaction 2025-10-16 17:43:38 -07:00
counter_import_test.go Close bd-50 and bd-51: Counter sync verification and test pollution cleanup 2025-10-22 00:07:00 -07:00
counter_sync_test.go Fix bd-49: Sync counters after deletions to prevent desync 2025-10-21 23:33:01 -07:00
cycle_bench_test.go Add cycle detection performance benchmarks (bd-311) 2025-10-16 13:32:44 -07:00
dependencies.go Revert bd-191: Remove merged_into schema field 2025-10-21 17:48:09 -07:00
dependencies_test.go feat: implement --max-depth flag for bd dep tree (closes #87, bd-3, bd-159) 2025-10-19 09:00:11 -07:00
dirty.go Refactor dependency dirty marking to use shared helper (bd-56) 2025-10-14 00:35:43 -07:00
dirty_test.go test: Add comprehensive test coverage for storage layer 2025-10-15 01:30:28 -07:00
epics.go Fix #94: Handle NULL assignee in epic status query 2025-10-21 15:01:26 -07:00
events.go Add epic closure management commands (fixes #62) 2025-10-17 13:50:20 -07:00
events_test.go test: Add comprehensive test coverage for storage layer 2025-10-15 01:30:28 -07:00
labels.go Add daemon support for label commands and populate labels in issue queries 2025-10-19 21:14:23 -07:00
labels_test.go test: Add comprehensive test coverage for storage layer 2025-10-15 01:30:28 -07:00
lazy_init_test.go Fix bd-179: Derive prefix from database filename when config missing 2025-10-20 22:18:08 -07:00
migration_test.go Fix bd-179: Derive prefix from database filename when config missing 2025-10-20 22:18:08 -07:00
ready.go Add daemon support for label commands and populate labels in issue queries 2025-10-19 21:14:23 -07:00
ready_test.go Add ready test for handling closed/blocked filter combinations 2025-10-18 13:12:14 -07:00
schema.go Add comments feature (bd-162) 2025-10-19 18:28:41 -07:00
sqlite.go Add lifecycle safety docs and tracking for UnderlyingDB() (bd-64) 2025-10-22 20:29:31 -07:00
sqlite_test.go Implement database handshake protocol in RPC layer 2025-10-21 20:35:55 -07:00
underlying_db_test.go Add UnderlyingDB() method for extension database access 2025-10-22 17:19:57 -07:00
util.go feat: Add 'bd stale' command to show and release orphaned executor claims 2025-10-18 17:14:21 -07:00