Tom Boucher
9d626de5fa
fix(hooks): add read-before-edit guard for non-Claude runtimes ( #1645 )
...
* fix(hooks): add read-before-edit guidance for non-Claude runtimes
When models that don't natively enforce read-before-edit hit the guard,
the error message now includes explicit instruction to Read first.
This prevents infinite retry loops that burn through usage.
Closes #1628
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
* fix(build): register gsd-read-guard.js in HOOKS_TO_COPY and harden tests
The hook was missing from scripts/build-hooks.js, so global installs
would never receive the hook file in hooks/dist/. Also adds tests for
build registration, install uninstall list, and non-string file_path.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
---------
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com >
2026-04-04 07:35:18 -04:00
..
2026-04-01 14:37:41 -07:00
2026-04-03 11:56:43 -04:00
2026-03-24 16:47:40 -04:00
2026-04-03 12:40:31 -04:00
2026-04-03 13:06:31 -04:00
2026-03-31 15:59:31 +03:00
2026-04-01 22:24:33 +01:00
2026-04-01 14:58:52 -07:00
2026-04-04 07:24:31 -04:00
2026-04-04 01:27:51 -04:00
2026-04-04 07:24:31 -04:00
2026-04-01 17:04:53 -04:00
2026-04-03 12:41:04 -04:00
2026-03-27 17:41:03 -07:00
2026-04-01 16:11:00 -07:00
2026-04-02 04:28:06 -07:00
2026-04-01 14:56:55 -07:00
2026-04-02 04:16:24 -07:00
2026-04-04 07:24:31 -04:00
2026-04-04 07:11:00 -04:00
2026-03-18 23:39:47 -04:00
2026-03-30 13:55:33 -07:00
2026-03-22 11:21:43 -04:00
2026-04-03 13:16:06 -04:00
2026-03-23 14:05:33 -04:00
2026-04-01 08:47:31 -06:00
2026-03-20 13:52:26 -04:00
2026-04-04 07:24:31 -04:00
2026-04-03 12:19:41 -04:00
2026-03-24 15:45:39 -04:00
2026-02-27 11:34:36 -06:00
2026-03-24 13:16:10 -04:00
2026-04-02 04:20:02 -07:00
2026-04-02 20:01:08 -05:00
2026-03-23 22:11:54 -04:00
2026-04-02 04:23:44 -07:00
2026-04-03 11:30:08 -04:00
2026-04-03 11:30:08 -04:00
2026-04-02 15:44:46 +03:00
2026-04-03 12:48:10 -04:00
2026-04-03 13:06:10 -04:00
2026-03-24 15:45:39 -04:00
2026-03-20 22:07:57 -04:00
2026-03-18 09:55:55 -06:00
2026-04-03 12:47:24 +03:00
2026-04-03 11:56:37 -04:00
2026-04-04 01:28:14 -04:00
2026-04-03 12:47:24 +03:00
2026-04-03 12:19:41 -04:00
2026-03-21 09:24:31 -04:00
2026-04-03 12:40:17 -04:00
2026-04-04 07:14:55 -04:00
2026-03-21 17:52:59 -04:00
2026-04-03 13:32:05 -04:00
2026-04-03 12:40:47 -04:00
2026-03-18 09:55:55 -06:00
2026-03-24 15:45:39 -04:00
2026-04-03 13:32:05 -04:00
2026-03-17 12:04:02 -04:00
2026-03-30 20:23:29 -07:00
2026-03-31 09:07:08 -04:00
2026-04-03 13:00:41 -04:00
2026-04-04 07:35:18 -04:00
2026-03-29 10:04:22 -07:00
2026-04-04 07:14:24 -04:00
2026-03-19 21:30:41 +05:00
2026-04-03 10:55:34 +03:00
2026-04-01 16:53:20 -04:00
2026-03-25 16:25:32 +02:00
2026-03-24 13:33:58 -04:00
2026-04-03 11:30:08 -04:00
2026-04-04 07:10:21 -04:00
2026-03-30 13:52:51 -07:00
2026-04-03 11:56:49 -04:00
2026-04-01 14:57:25 -07:00
2026-03-18 09:55:55 -06:00
2026-03-23 22:19:49 -04:00
2026-04-04 07:23:36 -04:00
2026-03-17 11:08:32 -04:00
2026-04-02 18:55:17 -03:00
2026-02-26 05:47:19 +10:00
2026-03-23 20:20:15 -04:00
2026-03-26 01:13:46 -07:00
2026-03-24 15:45:39 -04:00
2026-04-02 21:36:36 -05:00
2026-03-30 13:57:56 -07:00
2026-04-04 07:12:27 -04:00