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 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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "worclaude",
3
- "version": "2.4.6",
3
+ "version": "2.4.7",
4
4
  "description": "The Workflow Layer for Claude Code — scaffold agents, commands, skills, hooks, and memory into any project",
5
5
  "type": "module",
6
6
  "bin": {
@@ -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()));
@@ -54,6 +54,7 @@ export async function updateGitignore(projectDir) {
54
54
  '.claude/worktrees/',
55
55
  '.claude-backup-*/',
56
56
  '.claude/learnings/',
57
+ '.claude/.stop-hook-active',
57
58
  ];
58
59
  const header = '# Worclaude (generated workflow files)';
59
60