Daniel Sauer
4fffdb7fae
fix(sqlite): add missing agent fields to scanIssues and related queries (#1176)
The scanIssues() function and multiple SQL queries were not selecting or
scanning agent-related fields (hook_bead, role_bead, agent_state, last_activity,
role_type, rig, mol_type) and time-based scheduling fields (due_at, defer_until).
This caused bd list --json to return null for last_activity even when the
database contained valid timestamps, preventing proper agent health monitoring.
Updated files:
- dependencies.go: scanIssues() variable declarations, scan calls, assignments
- queries.go: SearchIssues query
- labels.go: GetIssuesByLabel query
- ready.go: GetReadyWork and GetNewlyUnblockedByClose queries
- transaction.go: GetIssue query, SearchIssues query, scanIssueRow()
Fixes steveyegge/beads#1175
2026-01-19 10:11:03 -08:00
..
2026-01-10 23:46:44 -08:00
2026-01-10 22:02:03 -08:00
2026-01-12 19:42:04 -08:00
2025-12-31 13:14:15 -08:00
2025-12-28 22:37:04 -08:00
2026-01-10 13:36:52 -08:00
2026-01-12 18:29:42 -08:00
2025-12-28 22:37:04 -08:00
2026-01-12 18:29:42 -08:00
2026-01-16 12:27:36 -08:00
2026-01-19 10:11:03 -08:00
2026-01-12 18:29:42 -08:00
2025-12-31 13:14:15 -08:00
2025-12-31 13:14:15 -08:00
2026-01-12 18:29:42 -08:00
2026-01-05 22:06:52 -08:00
2026-01-06 12:59:26 -08:00
2026-01-17 05:07:11 -08:00
2025-12-31 13:14:15 -08:00
2026-01-12 18:29:42 -08:00
2026-01-12 18:29:42 -08:00
2026-01-06 12:59:26 -08:00
2026-01-06 12:59:26 -08:00
2026-01-12 19:42:04 -08:00
2026-01-19 10:11:03 -08:00
2025-12-29 13:47:04 -08:00
2025-12-29 13:47:04 -08:00
2026-01-10 23:55:16 -08:00
2026-01-10 22:38:04 -08:00
2026-01-15 07:55:08 -08:00
2026-01-15 07:55:08 -08:00
2026-01-09 14:12:48 -08:00
2026-01-19 10:11:03 -08:00
2025-12-30 16:47:38 -08:00
2026-01-09 22:57:07 -08:00
2026-01-19 10:11:03 -08:00
2026-01-10 23:55:16 -08:00
2026-01-02 17:30:58 -08:00
2026-01-17 05:07:11 -08:00
2026-01-09 23:03:03 -08:00
2025-12-31 13:14:15 -08:00
2026-01-14 20:36:47 -08:00
2025-12-31 13:14:15 -08:00
2026-01-19 10:11:03 -08:00
2026-01-10 22:00:32 -08:00
2026-01-16 15:44:33 -08:00