@metasession.co/devaudit-sdlc 1.13.0 → 1.14.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.
package/package.json
CHANGED
|
@@ -442,6 +442,16 @@ EOF
|
|
|
442
442
|
|
|
443
443
|
For Low risk, the `Co-Authored-By` commit tag is sufficient.
|
|
444
444
|
|
|
445
|
+
### Step 10b: Review the SDLC Configuration
|
|
446
|
+
|
|
447
|
+
Before implementation starts, look at what the configuration will do for this change, so nothing about when activities happen is a surprise:
|
|
448
|
+
|
|
449
|
+
```bash
|
|
450
|
+
bash scripts/show-sdlc-config.sh <LOW|MEDIUM|HIGH|CRITICAL>
|
|
451
|
+
```
|
|
452
|
+
|
|
453
|
+
It prints, from `sdlc-config.json`, who approves, what blocks the release PR, what runs after deploy and on a schedule, whether the UAT-environment check and the human UAT pack apply to this change and who runs the pack (`uat.mode`), where it deploys and which standards are evidenced. Change a setting with `devaudit configure set <key> <value>` (add `--dry-run` to preview). Nothing you change here alters the portal's own gates; `approval.mode` is the one key `configure` also writes to the portal's approval policy, with a project-admin credential.
|
|
454
|
+
|
|
445
455
|
### Step 11: Commit
|
|
446
456
|
|
|
447
457
|
```bash
|
|
@@ -733,7 +733,7 @@ If it fails — typically a stale `devaudit.base_url`, a revoked `DEVAUDIT_API_K
|
|
|
733
733
|
|
|
734
734
|
### Step 9b: Human UAT Pack (DevAudit-Installer#1198)
|
|
735
735
|
|
|
736
|
-
When `uat.human_pack` in `sdlc-config.json` (`risk`, the default: MEDIUM risk and above; `always`; `never`) requires it, write the pack a UAT tester needs, under `compliance/evidence/REQ-XXX/`: `uat-briefing.md` (context for someone who does not know the system), `uat-test-procedure.md` (numbered steps, each with AC, precondition, exact action, exact expected result, evidence file name; a positive and a negative step per AC; ACs a human cannot test listed with a reason) and `uat-execution-record.md` (the tester's log, defect log and sign-off). The templates are in the `sdlc-implementer` skill's `references/`. `validate-compliance-artifacts.sh` fails the release PR while the briefing or procedure is missing, still has `REPLACE` markers, or leaves an AC unaccounted for; it warns when the RTM has no Risk value for the REQ. `devaudit doctor` (`stage3-evidence`) reports a missing pack earlier. The tester completes the record during UAT and it is committed before the merge.
|
|
736
|
+
When `uat.human_pack` in `sdlc-config.json` (`risk`, the default: MEDIUM risk and above; `always`; `never`) requires it, write the pack a UAT tester needs, under `compliance/evidence/REQ-XXX/`: `uat-briefing.md` (context for someone who does not know the system), `uat-test-procedure.md` (numbered steps, each with AC, precondition, exact action, exact expected result, evidence file name; a positive and a negative step per AC; ACs a human cannot test listed with a reason) and `uat-execution-record.md` (the tester's log, defect log and sign-off). The templates are in the `sdlc-implementer` skill's `references/`. `validate-compliance-artifacts.sh` fails the release PR while the briefing or procedure is missing, still has `REPLACE` markers, or leaves an AC unaccounted for; it warns when the RTM has no Risk value for the REQ. `devaudit doctor` (`stage3-evidence`) reports a missing pack earlier. The tester completes the record during UAT and it is committed before the merge. With `uat.mode: auto` (default `manual`) the agent instead executes the procedure on the UAT environment after the build is deployed, fills the record and stores per-step evidence under `compliance/evidence/REQ-XXX/uat/`, and a named human who is independent of the author reviews it and signs; the record's front matter (`execution_mode`, `executed_by`, `tested_sha`) says which kind of run it is, and the validator checks it. Operator actions (changing a setting, loading data) are never performed by the agent; they are preconditions in the record.
|
|
737
737
|
|
|
738
738
|
### Step 10: UAT-Environment Verification (CONDITIONAL)
|
|
739
739
|
|
|
@@ -76,7 +76,7 @@ Before creating a PR, verify all prerequisites are met. **Do NOT skip this check
|
|
|
76
76
|
- [ ] `compliance/evidence/REQ-XXX/implementation-plan.md` exists (MEDIUM/HIGH risk)
|
|
77
77
|
- [ ] `compliance/evidence/REQ-XXX/ai-prompts.md` exists (if AI was used on MEDIUM/HIGH risk)
|
|
78
78
|
- [ ] Stage 3 operator sign-offs are complete: `bash scripts/check-operator-signoffs.sh REQ-XXX` exits 0
|
|
79
|
-
- [ ] (MEDIUM+ or when the UAT pack applies) the
|
|
79
|
+
- [ ] (MEDIUM+ or when the UAT pack applies) the completed `compliance/evidence/REQ-XXX/uat-execution-record.md` (the tester's, or the agent's with a human reviewer's sign-off when `uat.mode` is `auto`; its front matter says which) has landed on `develop` and uploaded before UAT approval is given
|
|
80
80
|
- [ ] RTM status is `TESTED - PENDING SIGN-OFF`: `grep 'REQ-XXX' compliance/RTM.md`
|
|
81
81
|
- [ ] Release ticket exists: `ls compliance/pending-releases/RELEASE-TICKET-REQ-XXX.md`
|
|
82
82
|
- [ ] Any REQ deferred earlier (ticket `**Release intent:** deferred-to-next`) is listed under `Absorbed predecessor releases` in this release's ticket; the develop-to-main promotion gate (`check-deferred-reqs-in-range.sh`, inside the Release Scope Integrity job) fails the PR otherwise
|
|
@@ -69,7 +69,7 @@ The [`sdlc-implementer`](#skills-inventory) skill is the **default way to implem
|
|
|
69
69
|
|
|
70
70
|
It **triages first** (Phase 0): it reads the issue + labels, classifies the change-type against the [change-workflows](https://github.com/metasession-dev/DevAudit-Installer/blob/main/docs/change-workflows.md) taxonomy, announces a **Workflow Decision** (which path, which gates, which approvals, what's skipped), and routes — only a tracked change continues into the full execution; housekeeping / trivial / doc-only is announced and handed off to its lighter path. So pointing the skill at an issue no longer defaults to maximum ceremony — it decides the path at pickup.
|
|
71
71
|
|
|
72
|
-
For a tracked change it then runs Phases 1–4 unattended (with a plan-approval pause for HIGH/CRITICAL risk, or always-on via `--require-plan-approval`): classify risk, assign the next `REQ-XXX`, write the implementation plan, update `RTM.md`, implement, delegate all end-to-end / visual test work to [`e2e-test-engineer`](#skills-inventory), run the gates, compile evidence, open the PR, and submit for UAT review on the portal. It then **halts** at the UAT gate. After a reviewer approves on the portal:
|
|
72
|
+
For a tracked change it then runs Phases 1–4 unattended (with a plan-approval pause for HIGH/CRITICAL risk, or always-on via `--require-plan-approval`; at that point it prints the SDLC configuration so you see when each activity will happen, and `--confirm-config` makes that a pause for every risk class): classify risk, assign the next `REQ-XXX`, write the implementation plan, update `RTM.md`, implement, delegate all end-to-end / visual test work to [`e2e-test-engineer`](#skills-inventory), run the gates, compile evidence, open the PR, and submit for UAT review on the portal. It then **halts** at the UAT gate. After a reviewer approves on the portal:
|
|
73
73
|
|
|
74
74
|
```text
|
|
75
75
|
> Resume REQ-XXX.
|