agentic-sdlc-wizard 1.42.1 → 1.42.2
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.42.2] - 2026-04-26
|
|
8
|
+
|
|
9
|
+
### Documented
|
|
10
|
+
|
|
11
|
+
- **`pr_number` opt-in for PreCompact self-heal** (ROADMAP #209 closure). The `precompact-seam-check.sh` hook self-heals on `PENDING_*` handoffs whose linked PR has merged: when handoff has `pr_number` and `gh pr view N --json state` returns `MERGED`, hook treats handoff as implicit CERTIFIED and unblocks `/compact` silently. The behavior shipped earlier alongside ROADMAP #229 (stale-expire fallback) but was undocumented in the handoff template schemas — meaning consumers had no way to discover the opt-in. Documented `pr_number` as an optional self-heal field in all 3 handoff schemas: `skills/sdlc/SKILL.md` (Step 1: Mission-First Handoff), `CLAUDE_CODE_SDLC_WIZARD.md` (Round 1: Initial Review + cross-model review section). New `test_handoff_template_documents_pr_number` in `tests/test-hooks.sh` (129 hook tests, 1 new) enforces template/doc parity going forward — a future schema edit that drops `pr_number` will fail this test. Hit live in this repo 2026-04-19 (PR #205) and 2026-04-26 (PR #253) — original handoffs lacked the field and fell through to the 14-day stale-expire fallback. Together with #229, #209 closes the "stuck PENDING handoff blocks /compact forever" footgun from both directions: PR-linked reviews self-heal on merge (instant), unlinked reviews auto-expire on mtime (14d default).
|
|
12
|
+
|
|
7
13
|
## [1.42.1] - 2026-04-26
|
|
8
14
|
|
|
9
15
|
### Fixed
|
|
@@ -2334,9 +2334,11 @@ PLANNING → DOCS → TDD RED → TDD GREEN → Tests Pass → Self-Review
|
|
|
2334
2334
|
"round": 1,
|
|
2335
2335
|
"files_changed": ["src/auth.ts", "tests/auth.test.ts"],
|
|
2336
2336
|
"review_instructions": "Review for security, edge cases, and correctness",
|
|
2337
|
-
"artifact_path": ".reviews/feature-xyz-001/"
|
|
2337
|
+
"artifact_path": ".reviews/feature-xyz-001/",
|
|
2338
|
+
"pr_number": 205
|
|
2338
2339
|
}
|
|
2339
2340
|
```
|
|
2341
|
+
`pr_number` (optional) is the PreCompact self-heal opt-in (ROADMAP #209). When set, the `precompact-seam-check.sh` hook queries `gh pr view N --json state` on every manual `/compact` and treats MERGED as implicit CERTIFIED — so a forgotten PENDING handoff doesn't block every future compact. Omit for ad-hoc reviews not tied to a PR.
|
|
2340
2342
|
2. Run the independent reviewer:
|
|
2341
2343
|
```bash
|
|
2342
2344
|
codex exec \
|
|
@@ -2916,7 +2918,7 @@ If deployment fails or post-deploy verification catches issues:
|
|
|
2916
2918
|
|
|
2917
2919
|
**SDLC.md:**
|
|
2918
2920
|
```markdown
|
|
2919
|
-
<!-- SDLC Wizard Version: 1.42.
|
|
2921
|
+
<!-- SDLC Wizard Version: 1.42.2 -->
|
|
2920
2922
|
<!-- Setup Date: [DATE] -->
|
|
2921
2923
|
<!-- 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 -->
|
|
2922
2924
|
<!-- Git Workflow: [PRs or Solo] -->
|
|
@@ -3697,12 +3699,15 @@ Use an independent AI model from a different company as a code reviewer. The aut
|
|
|
3697
3699
|
],
|
|
3698
3700
|
"review_instructions": "Focus on security and edge cases. Assume bugs may be present until proven otherwise.",
|
|
3699
3701
|
"preflight_path": ".reviews/preflight-feature-xyz-001.md",
|
|
3700
|
-
"artifact_path": ".reviews/feature-xyz-001/"
|
|
3702
|
+
"artifact_path": ".reviews/feature-xyz-001/",
|
|
3703
|
+
"pr_number": 205
|
|
3701
3704
|
}
|
|
3702
3705
|
```
|
|
3703
3706
|
|
|
3704
3707
|
The `mission/success/failure` fields give the reviewer context. Without them, you get generic "looks good" feedback. With them, reviewers dig into source files and verify specific claims. The `verification_checklist` tells the reviewer exactly what to verify — not "review this" but specific items with file:line references.
|
|
3705
3708
|
|
|
3709
|
+
`pr_number` (optional) is the PreCompact self-heal opt-in (ROADMAP #209). Set it when the review tracks a specific PR — the `precompact-seam-check.sh` hook queries `gh pr view N --json state` on every manual `/compact` and treats MERGED as implicit CERTIFIED, so a forgotten PENDING handoff doesn't lock you out of compaction after the PR ships. Omit for ad-hoc reviews not tied to a PR.
|
|
3710
|
+
|
|
3706
3711
|
3. Run the independent reviewer (Round 1 — full review). These commands use your Codex default model — configure it to the latest, most capable model available:
|
|
3707
3712
|
|
|
3708
3713
|
```bash
|
|
@@ -3978,7 +3983,7 @@ Walk through updates? (y/n)
|
|
|
3978
3983
|
Store wizard state in `SDLC.md` as metadata comments (invisible to readers, parseable by Claude):
|
|
3979
3984
|
|
|
3980
3985
|
```markdown
|
|
3981
|
-
<!-- SDLC Wizard Version: 1.42.
|
|
3986
|
+
<!-- SDLC Wizard Version: 1.42.2 -->
|
|
3982
3987
|
<!-- Setup Date: 2026-01-24 -->
|
|
3983
3988
|
<!-- 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 -->
|
|
3984
3989
|
<!-- Git Workflow: PRs -->
|
package/package.json
CHANGED
package/skills/sdlc/SKILL.md
CHANGED
|
@@ -267,7 +267,8 @@ After self-review and preflight pass, write `.reviews/handoff.json`:
|
|
|
267
267
|
],
|
|
268
268
|
"review_instructions": "Focus on security and edge cases. Be strict — assume bugs may be present until proven otherwise.",
|
|
269
269
|
"preflight_path": ".reviews/preflight-feature-xyz-001.md",
|
|
270
|
-
"artifact_path": ".reviews/feature-xyz-001/"
|
|
270
|
+
"artifact_path": ".reviews/feature-xyz-001/",
|
|
271
|
+
"pr_number": 205
|
|
271
272
|
}
|
|
272
273
|
```
|
|
273
274
|
|
|
@@ -275,6 +276,7 @@ After self-review and preflight pass, write `.reviews/handoff.json`:
|
|
|
275
276
|
- `mission/success/failure` — Gives the reviewer context. Without this, you get generic "looks good" feedback. With it, reviewers read raw source files and verify specific claims (proven across 4 repos)
|
|
276
277
|
- `verification_checklist` — Specific things to verify with file:line references. NOT "review for correctness" — that's too vague. Each item is independently verifiable
|
|
277
278
|
- `preflight_path` — Shows the reviewer what you already checked, so they focus on what you might have missed
|
|
279
|
+
- `pr_number` (optional) — PreCompact self-heal opt-in (ROADMAP #209). When the review tracks a specific PR, set this. The `precompact-seam-check.sh` hook queries `gh pr view N --json state` on every manual `/compact` and, if the PR is MERGED, treats this handoff as implicit CERTIFIED — unblocking `/compact` even if `status` is still `PENDING_*`. Without `pr_number`, a forgotten PENDING handoff blocks every future manual compact until you flip status by hand or hit the `SDLC_HANDOFF_STALE_DAYS` (default 14) auto-expire fallback. Omit for ad-hoc reviews not tied to a PR.
|
|
278
280
|
|
|
279
281
|
### Step 2: Run the Independent Reviewer
|
|
280
282
|
|
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.42.
|
|
134
|
+
Latest: 1.42.2
|
|
135
135
|
|
|
136
136
|
What changed:
|
|
137
|
+
- [1.42.2] PreCompact self-heal documented — ROADMAP #209 closure. Added `pr_number` opt-in to all 3 handoff template schemas (skill Step 1; wizard Round 1 + cross-model section). Self-heal logic shipped earlier with #229 but was undocumented, leaving the dead-code path. New `test_handoff_template_documents_pr_number` enforces template/doc parity. Together with #229 (mtime auto-expire) closes the "stuck PENDING handoff blocks /compact forever" footgun from both directions.
|
|
137
138
|
- [1.42.1] CI hygiene fix — skip Claude PR review on wizard self-PRs. 7 self-PRs (v1.39.0–v1.42.0) had shipped with red `review` job (API canary firing on dead credit balance). Treated as "expected" but red normalizes red. Workflow `if:` now skips review on `BaseInfinity/claude-sdlc-wizard` repo only; consumer projects unaffected. 7 quality tests, mutation-verified (== inversion fails).
|
|
138
139
|
- [1.42.0] AGENTS.md interop detection — ROADMAP #205 phase (a). Setup wizard auto-scan now lists AGENTS.md (cross-tool agent-instructions standard, CC issue #6235); new Step 4.5 surfaces a 3-way decision (dual-maintain / merge / skip) when AGENTS.md is detected. Phase (b) write-fresh and phase (d) drift-test deferred. 7 quality tests.
|
|
139
140
|
- [1.41.1] MCP-tool hooks audit — ROADMAP #218. Audited all 5 wizard hooks against CC 2.1.118's `type: "mcp_tool"` migration option; conclusion: all stay bash (portability to Codex/OpenCode siblings + exit-code gating semantics rule out MCP). Per-hook rationale documented under "Known CC Gotchas → MCP-tool hooks audit". 7 quality tests.
|