capable
e7b0af0295
fix(done): verify commits exist before completing (hq-xthqf)
...
Add critical checks to prevent lost work when polecats call gt done
without having made any commits:
1. Block if working directory not available (cannot verify git state)
2. Block if uncommitted changes exist (would be lost on completion)
3. Check commits against origin/main not local main (ensures actual work)
If any check fails, refuse completion and suggest using --status DEFERRED.
This preserves the worktree so work is not lost.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com >
2026-01-13 00:58:04 -08:00
..
2026-01-11 23:03:47 -08:00
2026-01-12 01:45:26 -08:00
2026-01-08 20:25:01 -08:00
2026-01-13 00:03:02 -08:00
2026-01-11 23:03:50 -08:00
2026-01-11 23:03:50 -08:00
2026-01-08 20:25:01 -08:00
2026-01-12 02:51:14 -08:00
2026-01-09 21:24:23 -08:00
2026-01-12 23:07:49 -08:00
2026-01-12 00:35:40 -08:00
2026-01-09 21:52:30 -08:00
2026-01-08 20:25:01 -08:00
2026-01-12 01:52:38 -08:00
2026-01-12 17:40:04 -08:00
2026-01-13 00:58:04 -08:00
2026-01-10 22:56:33 -08:00
2026-01-11 18:06:09 -08:00
2026-01-08 20:25:01 -08:00
2026-01-12 02:45:03 -08:00
2026-01-12 02:31:06 -08:00
2026-01-09 23:24:28 -08:00
2026-01-09 14:11:53 -08:00
2026-01-12 03:04:05 -08:00
2026-01-09 22:46:06 -08:00
2026-01-09 18:14:17 -08:00
2026-01-09 13:30:11 -08:00
2026-01-11 18:45:24 -08:00
2026-01-12 02:31:06 -08:00
2026-01-09 23:01:55 -08:00
2026-01-09 23:01:55 -08:00
2026-01-09 23:01:55 -08:00
2026-01-11 00:03:40 -08:00
2026-01-09 23:01:55 -08:00
2026-01-09 23:01:55 -08:00
2026-01-09 23:01:55 -08:00
2026-01-09 23:01:55 -08:00
2026-01-11 23:09:11 -08:00
2026-01-09 22:10:09 -08:00
2026-01-09 00:41:35 -08:00
2026-01-12 23:48:56 -08:00
2026-01-09 22:08:12 -08:00
2026-01-09 00:41:35 -08:00
2026-01-09 00:41:35 -08:00
2026-01-12 16:42:33 -08:00
2026-01-10 00:25:59 -08:00
2026-01-12 22:55:39 -08:00
2026-01-11 22:23:21 -08:00
2026-01-11 21:17:58 -08:00
2026-01-11 18:37:01 -08:00
2026-01-12 23:07:49 -08:00
2026-01-10 18:28:14 -08:00
2026-01-10 18:28:14 -08:00
2026-01-12 23:07:49 -08:00
2026-01-12 23:07:49 -08:00
2026-01-12 23:48:56 -08:00
2026-01-08 20:25:01 -08:00
2026-01-12 01:45:26 -08:00
2026-01-12 17:44:37 -08:00
2026-01-08 20:25:01 -08:00
2026-01-09 22:00:43 -08:00
2026-01-09 21:52:09 -08:00
2026-01-09 21:52:30 -08:00
2026-01-11 18:06:09 -08:00
2026-01-12 01:45:26 -08:00
2026-01-08 20:25:01 -08:00
2026-01-12 03:11:59 -08:00
2026-01-12 03:11:59 -08:00
2026-01-12 03:11:59 -08:00
2026-01-12 03:11:59 -08:00
2026-01-12 17:44:37 -08:00
2026-01-12 03:11:59 -08:00
2026-01-12 17:44:37 -08:00
2026-01-12 03:11:59 -08:00
2026-01-12 03:10:58 -08:00
2026-01-12 18:00:14 -08:00
2026-01-12 02:38:39 -08:00
2026-01-10 22:45:56 -08:00
2026-01-09 22:46:06 -08:00
2026-01-08 20:25:01 -08:00
2026-01-11 22:23:21 -08:00
2026-01-09 22:00:43 -08:00
2026-01-12 03:18:47 -08:00
2026-01-09 21:56:53 -08:00
2026-01-10 23:18:39 -08:00