beads/internal/storage/sqlite
Steve Yegge 64fe51d6bb Remove obsolete collision remapping code and tests
- Deleted collision remapping tests (obsolete with hash IDs bd-8e05)
- Simplified collision.go from 704 to 138 lines
- Removed RemapCollisions, ScoreCollisions, and reference update code
- Removed issue_counters table dependencies (bd-807b)
- Added COLLISION_MATH.md documentation
- Fixed RenameCounterPrefix and ResetCounter to be no-ops
- Closed bd-a58f, bd-3d65, bd-807b

Hash-based IDs make collision remapping unnecessary since collisions
are extremely rare (same ID = same content).

Amp-Thread-ID: https://ampcode.com/threads/T-cbb0f111-6a95-4598-b03e-c137112f9875
Co-authored-by: Amp <amp@ampcode.com>
2025-10-31 00:19:42 -07:00
..
adaptive_e2e_test.go Remove sequential ID code path (bd-aa744b) 2025-10-30 21:51:39 -07:00
adaptive_length.go Implement adaptive ID length scaling (bd-ea2a13) 2025-10-30 21:40:52 -07:00
adaptive_length_test.go Remove sequential ID code path (bd-aa744b) 2025-10-30 21:51:39 -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 Remove obsolete collision remapping code and tests 2025-10-31 00:19:42 -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 Remove obsolete collision remapping code and tests 2025-10-31 00:19:42 -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 Remove sequential ID code path (bd-aa744b) 2025-10-30 21:51:39 -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
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 Remove sequential ID code path (bd-aa744b) 2025-10-30 21:51:39 -07:00
sqlite.go Remove obsolete collision remapping code and tests 2025-10-31 00:19:42 -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