beads/internal/types
beads/crew/emma 774cc5bbd0 feat: add comment_count to issue JSON views (list, ready, search)
Add GetCommentCounts() batch query to all storage backends (SQLite, Dolt,
Memory) and wire it into bd list, bd ready, bd search JSON output and RPC
server responses. Uses single GROUP BY query to avoid N+1.

Based on PR #1354 by bjornslib - cherry-picked the Go backend changes,
fixed bugs, and skipped problematic JSONL/lockfile/MCP changes.

Co-Authored-By: bjornslib <bjornslib@users.noreply.github.com>

Executed-By: beads/crew/emma
Rig: beads
Role: crew
2026-01-30 22:51:03 -08:00
..
federation.go feat(types): add FederatedMessage type for inter-town protocol (bd-wkumz.11) 2026-01-20 23:15:14 -08:00
federation_test.go refactor(types): use strings.Contains in federation tests 2026-01-21 10:40:52 -08:00
id_generator.go fix: respect hierarchy.max-depth config setting (GH#995) (#997) 2026-01-10 13:36:52 -08:00
id_generator_test.go fix: respect hierarchy.max-depth config setting (GH#995) (#997) 2026-01-10 13:36:52 -08:00
lock.go Implement exclusive lock protocol for daemon/external tool coexistence 2025-10-25 23:32:47 -07:00
lock_check.go Address gosec security warnings (bd-102) 2025-10-26 22:48:19 -07:00
lock_check_test.go Fix gosec warnings: tighten file permissions and add exclusions (bd-b47c034e) 2025-11-02 15:39:00 -08:00
lock_test.go Implement exclusive lock protocol for daemon/external tool coexistence 2025-10-25 23:32:47 -07:00
orphans.go fix(orphans): honor --db flag for cross-repo orphan detection (#1200) 2026-01-21 19:52:31 -08:00
process.go Implement exclusive lock protocol for daemon/external tool coexistence 2025-10-25 23:32:47 -07:00
process_test.go Implement exclusive lock protocol for daemon/external tool coexistence 2025-10-25 23:32:47 -07:00
storage_ext.go refactor(rpc): fix leaky abstraction - remove direct sqlite imports (bd-oslm) 2026-01-26 20:28:27 -08:00
types.go feat: add comment_count to issue JSON views (list, ready, search) 2026-01-30 22:51:03 -08:00
types_test.go fix(state): allow event type in CreateIssue validation (#1398) 2026-01-30 22:18:44 -08:00