agentic-sdlc-wizard 1.29.0 → 1.30.0

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.
@@ -13,7 +13,7 @@
13
13
  "name": "sdlc-wizard",
14
14
  "source": ".",
15
15
  "description": "SDLC enforcement for AI agents — TDD, planning, self-review, CI shepherd",
16
- "version": "1.29.0",
16
+ "version": "1.30.0",
17
17
  "author": {
18
18
  "name": "Stefan Ayala"
19
19
  },
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sdlc-wizard",
3
- "version": "1.29.0",
3
+ "version": "1.30.0",
4
4
  "description": "SDLC enforcement for AI agents — TDD, planning, self-review, CI shepherd",
5
5
  "author": {
6
6
  "name": "Stefan Ayala",
package/CHANGELOG.md CHANGED
@@ -4,6 +4,32 @@ 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.30.0] - 2026-04-12
8
+
9
+ ### Added
10
+ - CC degradation detection (#96, PR #166)
11
+ - Score persistence: CI now git-commits `score-history.jsonl` to PR branch after E2E runs, feeding CUSUM drift detection with real data
12
+ - Fork guard (`head.repo.full_name == github.repository`) prevents silent push failures on fork PRs
13
+ - Injection-safe: `head.ref` passed via `env:` block, not inline `${{ }}`
14
+ - Wizard effort section hardened: explains adaptive thinking root cause (Boris Cherny GH #42796), scopes "medium default" to Pro/Max plans, cites code.claude.com docs
15
+ - `CLAUDE_CODE_DISABLE_ADAPTIVE_THINKING` documented as opt-in hardening (not default)
16
+ - Anti-laziness CLAUDE.md guidance section targeting specific mechanisms (adaptive thinking, effort levels, thinking budget)
17
+ - 14 behavioral tests (`test-degradation-detection.sh`)
18
+ - Model A/B comparison workflow (#94, PRs #164, #165)
19
+ - `workflow_dispatch` benchmark: Opus vs Sonnet on E2E scenarios with 95% CI
20
+ - Matrix strategy over scenarios, parameterized model/trials/max_turns
21
+ - Wizard installation verification before simulation (P0 fix)
22
+ - jq-based artifact construction (safe against empty outputs)
23
+ - 37 quality tests (`test-model-comparison.sh`)
24
+ - Firmware-embedded E2E fixture (#78, PR #163)
25
+ - Python SD card overlay manager, 3 device configs (Raspberry Pi, STM32, ESP32)
26
+ - SIL + config validation tests within fixture
27
+ - Domain-adaptive testing proof: firmware indicators, Python overlay, multi-device differentiation
28
+ - 12 quality tests (`test-firmware-fixture.sh`)
29
+
30
+ ### Fixed
31
+ - P0 shell injection in model comparison workflow: `${{ inputs.model }}` directly in `run:` blocks. Fixed by passing all inputs through `env:` block (caught by Codex review)
32
+
7
33
  ## [1.29.0] - 2026-04-07
8
34
 
9
35
  ### Added
@@ -224,7 +224,11 @@ Claude Code's **effort level** controls how much thinking the model does before
224
224
  | `high` | **Default for all SDLC work.** Features, bug fixes, refactoring, tests, reviews | `effort: high` in skill frontmatter (already set) |
225
225
  | `max` | LOW confidence, FAILED 2x, architecture decisions, complex debugging, cross-model reviews | `/effort max` (session only — resets next session) |
226
226
 
227
- **Why `high` is the default:** The `/sdlc` skill sets `effort: high` in its frontmatter, so every SDLC invocation automatically uses high effort. This gives thorough reasoning without the unbounded token cost of `max`.
227
+ **Why `high` is the default:** Claude Code uses **adaptive thinking** to dynamically allocate reasoning budget per turn. On Pro and Max plans, the default effort level is **medium (85)**, which causes the model to under-allocate reasoning on complex multi-step tasks — leading to shallow analysis, missed edge cases, and "lazy" outputs. This was [confirmed by Anthropic engineer Boris Cherny](https://github.com/anthropics/claude-code/issues/42796) and is documented at [code.claude.com](https://code.claude.com/docs/en/model-config). API, Team, and Enterprise plans default to high effort and are not affected.
228
+
229
+ The `/sdlc` skill sets `effort: high` in its frontmatter, overriding the medium default on every SDLC invocation. This gives thorough reasoning without the unbounded token cost of `max`.
230
+
231
+ **Nuclear option — disable adaptive thinking entirely:** Set `CLAUDE_CODE_DISABLE_ADAPTIVE_THINKING=1` in your environment or settings.json `env` block. This forces a fixed reasoning budget per turn instead of letting the model dynamically allocate. Use this if you observe persistent quality issues even with `effort: high`. See [Claude Code model config docs](https://code.claude.com/docs/en/model-config) for details.
228
232
 
229
233
  **When to escalate to `max`:**
230
234
  - You hit LOW confidence on your approach — deeper thinking may find clarity
@@ -242,6 +246,21 @@ Claude Code's **effort level** controls how much thinking the model does before
242
246
 
243
247
  > See also: the **Effort** column in the [Confidence Check table](#confidence-check-required) below for per-confidence-level guidance on when to escalate to `max`.
244
248
 
249
+ ### Anti-Laziness Guidance for CLAUDE.md
250
+
251
+ If you notice Claude Code producing shallow outputs despite `effort: high`, add these instructions to your project's `CLAUDE.md`. These target the **specific mechanisms** behind quality degradation — adaptive thinking and effort levels — rather than vague directives:
252
+
253
+ ```markdown
254
+ ## Quality Anchoring
255
+ - This project uses effort: high via SDLC skill frontmatter. Do not reduce reasoning depth.
256
+ - Adaptive thinking may under-allocate your thinking budget on complex tasks. When working on
257
+ multi-file changes, architecture decisions, or debugging: reason through the full problem
258
+ before acting, even if the system prompt suggests taking the "simplest approach first."
259
+ - If you catch yourself skipping steps, re-read the task requirements and verify completeness.
260
+ ```
261
+
262
+ **Why this works:** Claude Code's hidden system prompt includes "Go straight to the point. Try the simplest approach first." This is good for simple queries but causes the model to under-invest in reasoning on complex SDLC tasks. The instructions above don't fight the system prompt — they provide task-specific context that justifies deeper reasoning. Note that CLAUDE.md instructions can be partially overridden by the system prompt, so `effort: high` in skill frontmatter remains the primary defense.
263
+
245
264
  ---
246
265
 
247
266
  ## Claude Code Feature Updates
@@ -2609,7 +2628,7 @@ If deployment fails or post-deploy verification catches issues:
2609
2628
 
2610
2629
  **SDLC.md:**
2611
2630
  ```markdown
2612
- <!-- SDLC Wizard Version: 1.29.0 -->
2631
+ <!-- SDLC Wizard Version: 1.30.0 -->
2613
2632
  <!-- Setup Date: [DATE] -->
2614
2633
  <!-- 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 -->
2615
2634
  <!-- Git Workflow: [PRs or Solo] -->
@@ -3668,7 +3687,7 @@ Walk through updates? (y/n)
3668
3687
  Store wizard state in `SDLC.md` as metadata comments (invisible to readers, parseable by Claude):
3669
3688
 
3670
3689
  ```markdown
3671
- <!-- SDLC Wizard Version: 1.29.0 -->
3690
+ <!-- SDLC Wizard Version: 1.30.0 -->
3672
3691
  <!-- Setup Date: 2026-01-24 -->
3673
3692
  <!-- 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 -->
3674
3693
  <!-- Git Workflow: PRs -->
package/README.md CHANGED
@@ -229,7 +229,7 @@ This isn't the only Claude Code SDLC tool. Here's an honest comparison:
229
229
  | Document | What It Covers |
230
230
  |----------|---------------|
231
231
  | [ARCHITECTURE.md](ARCHITECTURE.md) | System design, 5-layer diagram, data flows, file structure |
232
- | [CI_CD.md](CI_CD.md) | All 6 workflows, E2E scoring, tier system, SDP, integrity checks |
232
+ | [CI_CD.md](CI_CD.md) | All 7 workflows, E2E scoring, tier system, SDP, integrity checks |
233
233
  | [SDLC.md](SDLC.md) | Version tracking, enforcement rules, SDLC configuration |
234
234
  | [TESTING.md](TESTING.md) | Testing philosophy, test diamond, TDD approach |
235
235
  | [CHANGELOG.md](CHANGELOG.md) | Version history, what changed and when |
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agentic-sdlc-wizard",
3
- "version": "1.29.0",
3
+ "version": "1.30.0",
4
4
  "description": "SDLC enforcement for Claude Code — hooks, skills, and wizard setup in one command",
5
5
  "bin": {
6
6
  "sdlc-wizard": "./cli/bin/sdlc-wizard.js"
@@ -46,9 +46,10 @@ Parse all CHANGELOG entries between the user's installed version and the latest.
46
46
 
47
47
  ```
48
48
  Installed: 1.24.0
49
- Latest: 1.29.0
49
+ Latest: 1.30.0
50
50
 
51
51
  What changed:
52
+ - [1.30.0] Firmware fixture, model A/B comparison workflow, CC degradation detection, ...
52
53
  - [1.29.0] Node 24 compliance, autocompact in settings.json, effectiveness scoreboard, ...
53
54
  - [1.28.0] Autocompact benchmarking methodology, canary fact mechanism, benchmark harness, ...
54
55
  - [1.27.0] Domain-adaptive testing diamond, 3 domain fixtures, 25 quality tests, ...