@metasession.co/devaudit-sdlc 0.3.10 → 0.3.12

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@metasession.co/devaudit-sdlc",
3
- "version": "0.3.10",
3
+ "version": "0.3.12",
4
4
  "description": "DevAudit SDLC CLI Engine — cross-agent terminal-driven SDLC orchestrator.",
5
5
  "bin": {
6
6
  "devaudit-sdlc": "./src/bin/devaudit-sdlc.js"
@@ -197,6 +197,19 @@ Rules:
197
197
 
198
198
  **Final assessment:** [All cycles passed / N cycles failed — see incidents]
199
199
 
200
+ ## Bundled Release Context
201
+
202
+ Required when `compliance/pending-releases/BUNDLED-CHANGES-REQ-XXX.md` exists for this REQ.
203
+
204
+ - **Core tracked release:** [REQ-XXX + what the tracked change itself delivers]
205
+ - **Absorbed predecessor releases:** [versions or `None`]
206
+ - **Absorbed non-release work:** [follow-up PRs, housekeeping, CI fixes, process fixes, docs-only release-path work — include issue/PR/commit references]
207
+ - **Why bundled here:** [release re-anchoring / CI fix / framework sync / housekeeping consolidation / review-window consolidation]
208
+ - **Evidence impact:** [which test/security results prove the core REQ vs which ones simply keep the broader release train green]
209
+ - **Reviewer impact:** [how the approval scope is broader than the core REQ alone]
210
+ - **Security / risk impact:** [`None beyond core REQ` or explicit impact]
211
+ - **Reference:** `compliance/pending-releases/BUNDLED-CHANGES-REQ-XXX.md`
212
+
200
213
  ## Test Changes in This Release
201
214
 
202
215
  **Added:**
@@ -287,6 +300,17 @@ cat > compliance/evidence/REQ-XXX/security-summary.md << EOF
287
300
  **SAST High/Critical Findings:** 0
288
301
  **Dependency Audit High/Critical:** 0
289
302
  Evidence uploaded to DevAudit project: [PROJECT_SLUG]
303
+
304
+ ## Bundled Release Context
305
+ [Only include this section when `BUNDLED-CHANGES-REQ-XXX.md` exists.]
306
+ - **Core tracked release:** [REQ-XXX]
307
+ - **Absorbed predecessor releases:** [versions or `None`]
308
+ - **Absorbed non-release work:** [template sync / CI fix / housekeeping / predecessor release absorbed]
309
+ - **Why bundled here:** [why the non-core work ships in this cut]
310
+ - **Evidence impact:** [what shared gate/security evidence now covers]
311
+ - **Reviewer impact:** [how the review scope broadens beyond the core REQ]
312
+ - **Security / risk impact:** [core REQ impact + whether any absorbed work changes the security posture]
313
+ - **Reference:** `compliance/pending-releases/BUNDLED-CHANGES-REQ-XXX.md`
290
314
  EOF
291
315
  ```
292
316
 
@@ -365,6 +389,17 @@ ai_contributors:
365
389
  ## Summary
366
390
  [Brief description of what the AI tool was used for]
367
391
 
392
+ ## Bundled Release Context
393
+ [Only include this section when `BUNDLED-CHANGES-REQ-XXX.md` exists.]
394
+ - **Core tracked release:** [REQ-XXX]
395
+ - **Absorbed predecessor releases:** [versions or `None`]
396
+ - **Absorbed non-release work:** [follow-up PRs / housekeeping / CI fixes / process fixes]
397
+ - **Why bundled here:** [release re-anchoring / CI fix / framework sync / housekeeping consolidation]
398
+ - **Evidence impact:** [which AI-authored artefacts changed because of the bundle]
399
+ - **Reviewer impact:** [how the approval scope broadens beyond the core REQ]
400
+ - **Security / risk impact:** [`None beyond core REQ` or explicit impact]
401
+ - **Reference:** `compliance/pending-releases/BUNDLED-CHANGES-REQ-XXX.md`
402
+
368
403
  ## Code Generated By AI
369
404
  - [list files]
370
405
 
@@ -487,6 +522,19 @@ Create `compliance/pending-releases/RELEASE-TICKET-REQ-XXX.md`:
487
522
  ## Summary
488
523
  [1-3 sentences]
489
524
 
525
+ ## Bundled Changes
526
+
527
+ Required when `compliance/pending-releases/BUNDLED-CHANGES-REQ-XXX.md` exists or when predecessor bare-date releases are being superseded into this REQ.
528
+
529
+ - **Core tracked release:** [REQ-XXX]
530
+ - **Absorbed predecessor releases:** [versions or `None`]
531
+ - **Absorbed non-release work:** [PR numbers / short descriptions / commit ranges]
532
+ - **Why bundled here:** [release re-anchoring / CI fix / framework sync / housekeeping consolidation]
533
+ - **Evidence impact:** [which release reports/evidence are broader because of the bundle]
534
+ - **Reviewer impact:** [how the approval scope is broader than the core REQ alone]
535
+ - **Security / risk impact:** [`None beyond core REQ` or explicit impact]
536
+ - **Reference:** `compliance/pending-releases/BUNDLED-CHANGES-REQ-XXX.md`
537
+
490
538
  ## AI Contributors
491
539
 
492
540
  | Tool | Version | Session | Commits | Date Range |
@@ -591,6 +639,26 @@ If using DevAudit, commit only compliance documents (RTM, release ticket, test s
591
639
  - [ ] `compliance/evidence/REQ-XXX/security-summary.md`
592
640
  - [ ] `compliance/pending-releases/RELEASE-TICKET-REQ-XXX.md`
593
641
 
642
+ ```bash
643
+ # Phase 3 completion guard — do not proceed to Phase 4 / release PR
644
+ # creation while any required tracked-release artefact is missing.
645
+ MISSING=0
646
+ for f in \
647
+ compliance/evidence/REQ-XXX/test-scope.md \
648
+ compliance/evidence/REQ-XXX/test-plan.md \
649
+ compliance/evidence/REQ-XXX/test-execution-summary.md \
650
+ compliance/evidence/REQ-XXX/security-summary.md \
651
+ compliance/pending-releases/RELEASE-TICKET-REQ-XXX.md
652
+ do
653
+ [ -f "$f" ] || { echo "MISSING: $f"; MISSING=1; }
654
+ done
655
+ [ "$MISSING" -eq 0 ] || {
656
+ echo "Fix missing files before proceeding to Phase 4."
657
+ echo "test-execution-summary.md satisfies the portal's Test Reports gate."
658
+ exit 1
659
+ }
660
+ ```
661
+
594
662
  ```bash
595
663
  # DevAudit projects — commit + push compliance docs
596
664
  git add compliance/RTM.md compliance/pending-releases/RELEASE-TICKET-REQ-XXX.md \
@@ -38,7 +38,7 @@ The PR is the **merge request**, not the development workspace. Develop on `deve
38
38
 
39
39
  When you create the PR, CI runs automatically — GitHub Actions re-executes the verification gates (TypeScript, SAST, dependency audit, E2E) independently. The `Release Approval Gate` workflow (renamed from `UAT Approval Gate` in sdlc-v1.22.0) also runs, verifying the release has been approved in DevAudit. This produces tamper-resistant evidence verified by GitHub's infrastructure.
40
40
 
41
- > **Note:** The Release Approval Gate check will fail initially if the release hasn't been approved in DevAudit yet. This is expected. After approving the release in DevAudit (Stage 3 Step 11), re-run the `Release Approval Gate` workflow from GitHub Actions (or use `workflow_dispatch`) to update the check status. The PR cannot be merged until this check passes — it is a required status check.
41
+ > **Note:** The Release Approval Gate check will fail initially if the release hasn't been approved in DevAudit yet. This is expected. After approving the release in DevAudit (Stage 3 Step 11), re-run the `Release Approval Gate` workflow from GitHub Actions (or use `workflow_dispatch`) to create a fresh passing `DevAudit Release Approval` check on the approved PR head SHA. The PR cannot be merged until this check passes — it is a required status check.
42
42
 
43
43
  What happens next depends on the risk level of the requirements in the PR:
44
44