agentic-sdlc-wizard 1.40.0 → 1.40.1
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,12 @@ All notable changes to the SDLC Wizard.
|
|
|
4
4
|
|
|
5
5
|
> **Note:** This changelog is for humans to read. Don't manually apply these changes - just run the wizard ("Check for SDLC wizard updates") and it handles everything automatically.
|
|
6
6
|
|
|
7
|
+
## [1.40.1] - 2026-04-26
|
|
8
|
+
|
|
9
|
+
### Added
|
|
10
|
+
|
|
11
|
+
- **`cleanupPeriodDays: 30` pinned in template settings** (ROADMAP #225). CC 2.1.117 expanded `cleanupPeriodDays` to also cover `~/.claude/tasks/` — the directory where the Tasks system persists in-progress TodoWrite state. With aggressive defaults (some CC versions defaulted to 7 days), SDLC checklists for paused long-running features could be silently pruned. `cli/templates/settings.json` now ships `"cleanupPeriodDays": 30` as a top-level field. `CLAUDE_CODE_SDLC_WIZARD.md` documents the gotcha + override path. New `tests/test-cleanup-period-guidance.sh` (7 tests) asserts template default + wizard rationale don't regress.
|
|
12
|
+
|
|
7
13
|
## [1.40.0] - 2026-04-25
|
|
8
14
|
|
|
9
15
|
### Added
|
|
@@ -311,6 +311,14 @@ If you notice Claude Code producing shallow outputs despite `effort: high`, add
|
|
|
311
311
|
|
|
312
312
|
**Rollback if issues**: Set `CLAUDE_CODE_ENABLE_TASKS=false` environment variable.
|
|
313
313
|
|
|
314
|
+
#### Known CC gotcha: `cleanupPeriodDays` and TodoWrite retention (CC 2.1.117+)
|
|
315
|
+
|
|
316
|
+
CC 2.1.117 expanded the `cleanupPeriodDays` setting to also cover `~/.claude/tasks/` — the directory where the Tasks system persists in-progress TodoWrite state across sessions. If `cleanupPeriodDays` is too low (CC's default has been as aggressive as 7 days in some versions), an SDLC checklist for a paused long-running feature can be silently pruned out from under you.
|
|
317
|
+
|
|
318
|
+
**Wizard pins a safe default**: `cli/templates/settings.json` ships `"cleanupPeriodDays": 30`. The wizard's SDLC skill makes TodoWrite step 1 of every task, so the floor matters. Recommendation: keep it at **30 or higher** if you ever pause work for more than a week. If a task list disappears mid-cycle, check this setting first.
|
|
319
|
+
|
|
320
|
+
**To override**: set `cleanupPeriodDays` to a higher number in your project's `.claude/settings.json`. The CLI's smart-merge preserves user overrides on `init --force`.
|
|
321
|
+
|
|
314
322
|
### Skill Arguments with $ARGUMENTS (v2.1.19+)
|
|
315
323
|
|
|
316
324
|
**What changed**: Skills can now accept parameters via `$ARGUMENTS` placeholder.
|
|
@@ -2832,7 +2840,7 @@ If deployment fails or post-deploy verification catches issues:
|
|
|
2832
2840
|
|
|
2833
2841
|
**SDLC.md:**
|
|
2834
2842
|
```markdown
|
|
2835
|
-
<!-- SDLC Wizard Version: 1.40.
|
|
2843
|
+
<!-- SDLC Wizard Version: 1.40.1 -->
|
|
2836
2844
|
<!-- Setup Date: [DATE] -->
|
|
2837
2845
|
<!-- Completed Steps: step-0.1, step-0.2, step-0.4, step-1, step-2, step-3, step-4, step-5, step-6, step-7, step-8, step-9 -->
|
|
2838
2846
|
<!-- Git Workflow: [PRs or Solo] -->
|
|
@@ -3894,7 +3902,7 @@ Walk through updates? (y/n)
|
|
|
3894
3902
|
Store wizard state in `SDLC.md` as metadata comments (invisible to readers, parseable by Claude):
|
|
3895
3903
|
|
|
3896
3904
|
```markdown
|
|
3897
|
-
<!-- SDLC Wizard Version: 1.40.
|
|
3905
|
+
<!-- SDLC Wizard Version: 1.40.1 -->
|
|
3898
3906
|
<!-- Setup Date: 2026-01-24 -->
|
|
3899
3907
|
<!-- Completed Steps: step-0.1, step-0.2, step-1, step-2, step-3, step-4, step-5, step-6, step-7, step-8, step-9 -->
|
|
3900
3908
|
<!-- Git Workflow: PRs -->
|
package/cli/init.js
CHANGED
|
@@ -78,6 +78,15 @@ function mergeSettings(existingPath, templatePath, force) {
|
|
|
78
78
|
existing.model = template.model;
|
|
79
79
|
}
|
|
80
80
|
|
|
81
|
+
// Merge cleanupPeriodDays (ROADMAP #225): only set the template default when
|
|
82
|
+
// the user has not chosen a value. NEVER overwrite under --force — retention
|
|
83
|
+
// policy is a user preference (they may want >30 for long pauses, or <30 for
|
|
84
|
+
// disk-tight setups). The wizard's job is to provide a safe floor on fresh
|
|
85
|
+
// installs, not to clobber an explicit choice.
|
|
86
|
+
if ('cleanupPeriodDays' in template && !('cleanupPeriodDays' in existing)) {
|
|
87
|
+
existing.cleanupPeriodDays = template.cleanupPeriodDays;
|
|
88
|
+
}
|
|
89
|
+
|
|
81
90
|
// Merge env field
|
|
82
91
|
if (template.env) {
|
|
83
92
|
if (!existing.env || typeof existing.env !== 'object' || Array.isArray(existing.env)) {
|
package/package.json
CHANGED
package/skills/update/SKILL.md
CHANGED
|
@@ -131,9 +131,10 @@ Parse all CHANGELOG entries between the user's installed version and the latest.
|
|
|
131
131
|
|
|
132
132
|
```
|
|
133
133
|
Installed: 1.24.0
|
|
134
|
-
Latest: 1.40.
|
|
134
|
+
Latest: 1.40.1
|
|
135
135
|
|
|
136
136
|
What changed:
|
|
137
|
+
- [1.40.1] cleanupPeriodDays: 30 pinned in template — ROADMAP #225. CC 2.1.117 expanded `cleanupPeriodDays` to also cover `~/.claude/tasks/`. Aggressive defaults could prune in-progress TodoWrite checklists for paused long-running features. Wizard now ships a 30-day floor + documented gotcha. 7 quality tests.
|
|
137
138
|
- [1.40.0] CLI version detection in /update-wizard — ROADMAP #232. New Step 1.5 detects locally installed `agentic-sdlc-wizard` CLI version (npm ls + npx cache inspection, both with semver-aware ordering), compares to `registry.npmjs.org/agentic-sdlc-wizard/latest`, and surfaces a 3-way upgrade choice BEFORE drift detection: A) refresh CLI cache only (default, safest), B) `init --force` re-init with explicit non-settings overwrite warning, C) skip. Closes the gap where in-session file updates landed but the user's stale npx cache kept running an old CLI. Mirrors `claude update` UX. 8 quality tests, mutation-verified.
|
|
138
139
|
- [1.39.1] Step 7.7 hoist — dead-plugin cleanup now runs even when wizard versions match. Previously `/update-wizard` exited at "you're up to date" before reaching Step 7.7, so users on the latest wizard with a stale `~/.claude/settings.json` plugin registration were never offered cleanup. New `tests/test-update-skill-step-7-7.sh` (8 quality tests) guards the ordering.
|
|
139
140
|
- [1.39.0] Community feature-discovery scanner — ROADMAP #207. `tests/e2e/scan-community.sh` extracts unknown `/slash-command` mentions from transcript text (Reddit / HN / Discord exports), dedupes against `tests/e2e/known-slash-commands.txt` allowlist, emits JSON digest of candidates with count + sample. Replaces the deleted CI scan-community job (per #231 Phase 3) with a maintainer-runnable offline scan. 14 quality tests.
|