Skip to content

Commit ecbd465

Browse files
committed
docs(changelog): note that the post-merge hook only builds when the checkout is not the active install
1 parent 20c7dcd commit ecbd465

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎CHANGELOG.md‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ All notable changes to Token-Goat are documented in this file. Format follows Ke
1212

1313
- **A search that walks a whole disk is now also refused when it follows a `cd` to a root or home directory.** `cd / && find . -name x` walks the same disk as `find / -name x`, but the check only looked at the path given to `find`, so the `cd` hid it. The check now follows the `cd`, and only a search of the whole directory is refused: a `find` limited to a depth, a name pattern in a subfolder or a path below the root still runs.
1414
- **A file you already read is no longer blocked from being read again when it has changed.** The refusal to re-read a whole file (markdown, JSON and HTML, source files with a line count, truncated reads, session output and tool-result files, and the `.improve-state` JSON) now fires only when the file is known to be unchanged: the saved bytes still match, or the size and modified time are unchanged. A file that was empty when first read and has since been filled counts as changed, and the 50 ms of slack that let a quick edit pass for no change is gone. The separate refusal for memory files is removed.
15+
- **Pulling or rebasing in a checkout that is not your installed token-goat no longer restarts your worker or repoints your hooks.** The git hook that runs after a pull already did this only for the main checkout. It now also checks where the global `token-goat` package (from `npm root -g`) really lives. If that is a different copy, such as the npm release, the hook only rebuilds the bundle and says so, so developing token-goat while running the npm copy no longer swaps your hooks, shims and worker onto the checkout's build. When npm cannot say, it syncs as before. The hook now prints which case it took, and `TG_POST_MERGE_SYNC=1` forces the full sync.
1516

1617
## [2.9.31] - 2026-10-16
1718

0 commit comments

Comments
 (0)