You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+5-6Lines changed: 5 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,10 @@
1
1
# Changelog
2
2
3
+
## 1.2.1 (2026-04-14)
4
+
5
+
### Removed
6
+
-`modifies_hooks` integration (revert of PR #1). The extension no longer disables the git extension’s `before_specify → speckit.git.feature` hook on install. If you rely on a stable primary branch with parallel worktrees, disable or adjust that hook manually in your Spec Kit config.
7
+
3
8
## 1.2.0 (2026-04-14)
4
9
5
10
### Changed
@@ -10,12 +15,6 @@
10
15
-`post_install` lifecycle script — adds `.worktrees/` to `.gitignore` at install time (not just at first worktree creation)
-`modifies_hooks` declaration: automatically disables `before_specify -> speckit.git.feature` on install (with user consent) so the primary checkout stays on a stable branch
17
-
- Requires Spec Kit with `modifies_hooks` support ([github/spec-kit#2209](https://github.com/github/spec-kit/pull/2209))
**`after_specify`** — automatically creates a worktree after a new feature is specified. Controlled by the `auto_create` config value.
80
80
81
-
## Hook overrides
82
-
83
-
This extension declares `modifies_hooks` in `extension.yml` to **disable** the git extension's `before_specify -> speckit.git.feature` hook on install. This keeps the primary checkout on a stable branch (e.g. `main`) while worktrees handle feature branch isolation.
84
-
85
-
During `specify extension add`, you will see a consent prompt:
86
-
87
-
```
88
-
Extension 'worktrees' requests the following hook modifications:
Answering **Y** disables the hook. Answering **N** installs the extension without modifying hooks (you can disable it manually in `.specify/extensions.yml`). Removing the extension via `specify extension remove worktrees` restores the original hook state.
97
-
98
-
**Requires**: Spec Kit with `modifies_hooks` support (see [github/spec-kit#2209](https://github.com/github/spec-kit/pull/2209)).
99
-
100
81
## Script usage
101
82
102
83
The bash script can be called directly for automation:
description: "Add .worktrees/ to .gitignore so worktree directories are never committed to the main repo"
46
46
47
-
modifies_hooks:
48
-
- hook: before_specify
49
-
extension: git
50
-
command: speckit.git.feature
51
-
action: disable
52
-
reason: "Worktree-parallel keeps primary checkout on a stable branch (e.g. main); branch creation is handled by git worktree add -b during after_specify"
0 commit comments