worclaude 2.4.6 → 2.4.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +13 -0
- package/package.json +1 -1
- package/src/core/remover.js +1 -0
- package/src/core/scaffolder.js +1 -0
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,19 @@ All notable changes to worclaude are documented in this file. Format loosely fol
|
|
|
4
4
|
|
|
5
5
|
## [Unreleased]
|
|
6
6
|
|
|
7
|
+
## [2.4.7] — 2026-04-20
|
|
8
|
+
|
|
9
|
+
Bug fix release — the learn-capture Stop hook writes `.claude/.stop-hook-active` as a runtime re-entry guard, but the scaffolded `.gitignore` never covered it. Every project scaffolded or upgraded to 2.4.6 saw a dirty `git status` right after the Stop hook fired. `worclaude delete` also left the now-stale line in `.gitignore`. Both are fixed symmetrically.
|
|
10
|
+
|
|
11
|
+
### Fixed
|
|
12
|
+
|
|
13
|
+
- `worclaude init` and `worclaude upgrade` now append `.claude/.stop-hook-active` to `.gitignore`. Pre-v2.4.7 installs pick up the missing entry on the next `upgrade`.
|
|
14
|
+
- `worclaude delete` now removes the `.claude/.stop-hook-active` line from `.gitignore` alongside the other worclaude entries. `.claude-backup-*/` and `.claude/learnings/` remain intentionally preserved so personal/backup content stays ignored after uninstall.
|
|
15
|
+
|
|
16
|
+
### Changed
|
|
17
|
+
|
|
18
|
+
- `docs/reference/configuration.md` — gitignore entries reference now lists all 7 entries (previously out of date — missing `.claude/learnings/` too) with a one-line note on the stop-hook flag.
|
|
19
|
+
|
|
7
20
|
## [2.4.6] — 2026-04-19
|
|
8
21
|
|
|
9
22
|
Bug fix release — `worclaude upgrade` was silently no-oping when the installed and CLI versions matched, even when on-disk files were missing. `worclaude doctor` flagged drift, but the upgrade command refused to reconcile it. This release adds a drift-repair pass to `upgrade` and exposes new flags.
|
package/package.json
CHANGED
package/src/core/remover.js
CHANGED
|
@@ -188,6 +188,7 @@ export async function cleanGitignore(projectRoot) {
|
|
|
188
188
|
'.claude/settings.local.json',
|
|
189
189
|
'.claude/workflow-meta.json',
|
|
190
190
|
'.claude/worktrees/',
|
|
191
|
+
'.claude/.stop-hook-active',
|
|
191
192
|
]);
|
|
192
193
|
|
|
193
194
|
const filtered = lines.filter((line) => !REMOVE_LINES.has(line.trim()));
|
package/src/core/scaffolder.js
CHANGED