Steve Yegge
3c58e0aa25
fix(hooks): pre-commit no longer blocks when .beads removed (GH#483)
...
Two fixes to make pre-commit hook more resilient:
1. Check if beads is actually initialized (has db, config, or jsonl)
- Empty .beads directory no longer triggers sync attempt
- Handles case where .beads was removed from git but dir lingers
2. Make sync failure a warning instead of blocking error
- Beads issues shouldn't prevent code commits
- User can still run 'bd sync --flush-only' manually
Also synced examples/git-hooks/pre-commit with template (worktree handling).
Closes #483
🤖 Generated with [Claude Code](https://claude.com/claude-code )
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com >
2025-12-16 01:07:48 -08:00
..
2025-12-14 14:12:13 -08:00
2025-12-13 12:50:33 -08:00
2025-12-16 01:07:48 -08:00
2025-12-13 23:22:10 -08:00
2025-12-07 21:09:32 +11:00
2025-12-13 12:50:33 -08:00
2025-11-26 22:02:59 -08:00
2025-12-14 00:37:54 -08:00
2025-12-14 14:18:01 -08:00
2025-12-02 23:44:22 -08:00
2025-12-07 21:34:35 +11:00
2025-12-14 00:37:54 -08:00
2025-11-28 23:19:21 -08:00
2025-12-03 15:55:35 -08:00
2025-12-14 12:40:32 -08:00
2025-11-24 23:39:54 -08:00
2025-11-26 20:59:07 -08:00
2025-11-28 23:14:12 -08:00
2025-11-29 22:24:29 -08:00
2025-11-28 23:10:44 -08:00
2025-11-28 23:10:44 -08:00
2025-12-01 21:09:00 -08:00
2025-12-01 17:37:56 -08:00
2025-11-23 21:33:00 -08:00
2025-12-11 07:11:15 -05:00
2025-11-23 21:33:00 -08:00
2025-11-24 23:39:54 -08:00
2025-12-11 07:11:42 -05:00
2025-12-13 12:50:33 -08:00
2025-11-28 23:14:12 -08:00
2025-12-13 12:50:33 -08:00
2025-12-11 07:11:15 -05:00
2025-12-13 12:50:33 -08:00
2025-12-01 21:09:00 -08:00
2025-11-25 11:46:06 -08:00
2025-12-12 13:19:31 -08:00
2025-11-25 16:36:46 -08:00
2025-11-25 12:03:21 -08:00
2025-12-01 21:17:56 -08:00
2025-11-25 19:32:05 -08:00
2025-12-02 23:44:22 -08:00
2025-11-23 20:33:31 -08:00
2025-12-13 12:50:33 -08:00
2025-12-13 10:04:01 +11:00
2025-12-13 18:05:49 -08:00
2025-12-13 18:05:49 -08:00
2025-11-27 22:39:13 -08:00
2025-12-02 23:44:22 -08:00
2025-12-02 23:44:22 -08:00
2025-12-02 23:44:22 -08:00
2025-12-07 21:14:13 +11:00
2025-12-02 22:41:07 -08:00
2025-12-07 20:57:58 +11:00
2025-11-22 00:11:45 -08:00
2025-11-22 00:11:45 -08:00
2025-11-26 17:42:14 -08:00
2025-12-13 12:50:33 -08:00
2025-12-13 12:50:33 -08:00
2025-12-12 13:28:48 -08:00
2025-12-12 13:28:48 -08:00
2025-12-03 16:24:24 -08:00
2025-11-29 23:22:52 -08:00
2025-12-13 12:50:33 -08:00
2025-11-23 19:42:21 -08:00
2025-12-13 12:50:33 -08:00
2025-12-13 12:50:33 -08:00
2025-11-28 23:14:12 -08:00
2025-11-29 17:01:36 -08:00
2025-11-30 15:35:30 -08:00
2025-12-03 17:50:23 -08:00
2025-12-02 23:44:22 -08:00
2025-11-24 20:16:07 -08:00
2025-11-29 22:24:29 -08:00
2025-12-13 18:09:34 -08:00
2025-11-22 16:49:29 -08:00
2025-11-28 23:11:24 -08:00
2025-12-02 23:44:22 -08:00
2025-12-02 23:44:22 -08:00
2025-12-04 11:21:43 -08:00
2025-12-13 12:50:33 -08:00
2025-12-14 14:11:27 -08:00
2025-12-13 12:50:33 -08:00
2025-12-02 23:44:22 -08:00
2025-12-04 11:21:43 -08:00
2025-11-26 17:42:14 -08:00
2025-12-05 13:20:51 -08:00
2025-12-05 13:20:51 -08:00
2025-12-03 18:08:33 -08:00
2025-12-03 18:08:33 -08:00
2025-12-02 23:44:22 -08:00
2025-11-30 00:38:57 -08:00
2025-12-05 15:48:46 -08:00
2025-12-05 14:47:02 -08:00
2025-12-02 23:44:22 -08:00
2025-12-02 23:44:22 -08:00
2025-12-02 23:44:22 -08:00
2025-12-04 11:21:43 -08:00
2025-11-24 21:16:44 -08:00
2025-12-03 18:10:35 -08:00
2025-12-03 15:55:35 -08:00
2025-11-23 21:42:43 -08:00
2025-12-02 22:41:07 -08:00
2025-11-26 22:02:59 -08:00
2025-11-26 22:02:59 -08:00
2025-12-04 11:21:43 -08:00
2025-12-14 00:55:55 -08:00
2025-12-14 00:55:55 -08:00
2025-12-04 11:21:43 -08:00
2025-12-13 12:50:33 -08:00
2025-11-24 00:21:01 -08:00
2025-12-14 12:40:32 -08:00
2025-11-24 10:56:14 -08:00
2025-11-24 11:28:32 -08:00
2025-12-13 12:50:33 -08:00
2025-11-23 17:16:27 -08:00
2025-12-03 18:30:53 -08:00
2025-12-02 23:44:22 -08:00
2025-12-13 10:04:01 +11:00
2025-12-04 11:21:43 -08:00
2025-12-02 23:38:20 -08:00
2025-12-03 16:24:46 -08:00
2025-12-13 12:50:33 -08:00