beads/internal/storage/sqlite
Steve Yegge 3ed2aa07cb Implement hierarchical child ID generation (bd-171)
- Add GetNextChildID to storage interface for generating child IDs
- Implement in SQLiteStorage with atomic counter using child_counters table
- Implement in MemoryStorage with in-memory counter
- Add --parent flag to bd create command
- Support hierarchical IDs (bd-a3f8e9.1, bd-a3f8e9.1.5) in CreateIssue
- Validate parent exists when creating hierarchical issues
- Enforce max depth of 3 levels
- Update ID validation to accept hierarchical IDs with dots
- Add comprehensive tests for child ID generation
- Manual testing confirms: sequential children, nested hierarchies, depth enforcement
2025-10-30 14:42:08 -07:00
..
child_counters_test.go Implement 6-char progressive hash IDs (bd-166, bd-167) 2025-10-30 14:04:03 -07:00
child_id_test.go Implement hierarchical child ID generation (bd-171) 2025-10-30 14:42:08 -07:00
collision.go bd-109: Add retry logic and race condition handling for N-way collisions 2025-10-29 10:45:25 -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_hash_test.go WIP: Implement content-hash based collision resolution (bd-89) 2025-10-28 17:11:40 -07:00
collision_test.go Add TestSymmetricCollision unit test for deterministic collision resolution 2025-10-29 17:49:46 -07:00
compact.go Enable errcheck linter and fix all production code warnings 2025-10-25 18:44:38 -07:00
compact_bench_test.go Remove snapshot/restore functionality from compaction 2025-10-16 00:26:42 -07:00
compact_test.go Fix goconst linter issues (bd-116) 2025-10-25 18:04:05 -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 goconst linter issues (bd-116) 2025-10-25 18:04:05 -07:00
cycle_bench_test.go Add cycle detection performance benchmarks (bd-311) 2025-10-16 13:32:44 -07:00
dependencies.go Complete bd-95: Add content-addressable identity (ContentHash field) 2025-10-28 18:57:16 -07:00
dependencies_test.go Merge main into PR #160 - combine reverse mode with substring bugfix 2025-10-27 13:07:12 -07:00
dirty.go Complete bd-164: Fix timestamp-only export deduplication 2025-10-26 20:35:37 -07:00
dirty_test.go test: Add comprehensive test coverage for storage layer 2025-10-15 01:30:28 -07:00
epics.go Enable errcheck linter and fix all production code warnings 2025-10-25 18:44:38 -07:00
epics_test.go Refactor high-complexity test functions (gocyclo) 2025-10-25 13:20:16 -07:00
events.go Address gosec security warnings (bd-102) 2025-10-26 22:48:19 -07:00
events_test.go Fix goconst linter warnings by converting repeated strings to constants 2025-10-25 13:33:51 -07:00
hash.go Fix bd-160: Implement JSONL integrity validation and prevent export deduplication data loss 2025-10-29 21:57:15 -07:00
hash_id_test.go Implement hash ID generation (bd-168) 2025-10-30 14:16:35 -07:00
labels.go Complete bd-95: Add content-addressable identity (ContentHash field) 2025-10-28 18:57:16 -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 goconst linter warnings by converting repeated strings to constants 2025-10-25 13:33:51 -07:00
migration_test.go Fix bd-179: Derive prefix from database filename when config missing 2025-10-20 22:18:08 -07:00
prefix_validation_test.go Complete bd-175, bd-176, bd-177: Memory tests, corruption docs, prefix validation 2025-10-27 11:29:08 -07:00
ready.go Complete bd-95: Add content-addressable identity (ContentHash field) 2025-10-28 18:57:16 -07:00
ready_test.go Complete bd-95: Add content-addressable identity (ContentHash field) 2025-10-28 18:57:16 -07:00
schema.go Implement 6-char progressive hash IDs (bd-166, bd-167) 2025-10-30 14:04:03 -07:00
sqlite.go Implement hierarchical child ID generation (bd-171) 2025-10-30 14:42:08 -07:00
sqlite_test.go Fix test failures: add missing issue_prefix config and use valid bd- prefixes 2025-10-27 13:11:45 -07:00
test_helpers.go Fix all test failures from bd-166 (missing issue_prefix) 2025-10-26 22:31:24 -07:00
underlying_db_test.go Fix all test failures from bd-166 (missing issue_prefix) 2025-10-26 22:31:24 -07:00
util.go bd-109: Add retry logic and race condition handling for N-way collisions 2025-10-29 10:45:25 -07:00