@metasession.co/devaudit-sdlc 1.0.0 → 1.1.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/package.json
CHANGED
|
@@ -175,7 +175,7 @@ Goal: every test result + report + screenshot lands on the portal under REQ-XXX
|
|
|
175
175
|
--git-sha "$(git rev-parse HEAD)" --branch "$(git rev-parse --abbrev-ref HEAD)"
|
|
176
176
|
```
|
|
177
177
|
Repeat per evidence type (`screenshot`, `test_report`, `audit_log`, `compliance_document`, `manual_upload`).
|
|
178
|
-
4. **Verify uploads** at `https://devaudit.
|
|
178
|
+
4. **Verify uploads** at `https://devaudit.ai/projects/<slug>/requirements/REQ-XXX`. Every entry should render.
|
|
179
179
|
5. **Update `compliance/RTM.md`** with the portal links for each evidence row.
|
|
180
180
|
|
|
181
181
|
CI also uploads evidence automatically on `develop` push (via the `ci.yml.template` workflow synced from DevAudit-Installer). Manual stage 3 uploads from your laptop are a belt-and-braces complement, mostly useful when you want to attach evidence the automated workflow doesn't produce (manual sign-off PDFs, threat models, etc.).
|
|
@@ -193,7 +193,7 @@ Goal: PR open against `main` with all gates green and the UAT approval requested
|
|
|
193
193
|
- Four-eyes attestation (HIGH/CRITICAL only)
|
|
194
194
|
- Rollback plan (HIGH/CRITICAL only)
|
|
195
195
|
3. **Add labels** — `awaiting-uat-review` is the canonical "ready for human review" signal. Add `risk:HIGH` or `risk:CRITICAL` where applicable so reviewers can prioritise.
|
|
196
|
-
4. **Wait for UAT approval on the portal.** Reviewer opens `https://devaudit.
|
|
196
|
+
4. **Wait for UAT approval on the portal.** Reviewer opens `https://devaudit.ai/projects/<slug>/releases/<version>` and clicks Approve (or Request Changes). The `DevAudit Release Approval` check unblocks once approval is granted.
|
|
197
197
|
|
|
198
198
|
If a reviewer asks for changes:
|
|
199
199
|
|
|
@@ -207,7 +207,7 @@ Goal: PR merged → production deploys → smoke evidence captured → release m
|
|
|
207
207
|
|
|
208
208
|
1. **Merge** the PR via `gh pr merge --merge` (preserves audit trail per the SDLC merge-commit convention). Branch protection blocks `--squash` and `--rebase` on SDLC repos.
|
|
209
209
|
2. **Watch the deploy** — `gh run watch` against the `post-deploy-prod.yml` workflow. ~3–5 minutes typically.
|
|
210
|
-
3. **Verify production smoke evidence uploaded.** The post-deploy workflow runs production smoke tests and pushes evidence with `--environment production`. Confirm at `https://devaudit.
|
|
210
|
+
3. **Verify production smoke evidence uploaded.** The post-deploy workflow runs production smoke tests and pushes evidence with `--environment production`. Confirm at `https://devaudit.ai/projects/<slug>/releases/<version>`.
|
|
211
211
|
4. **Mark the release as Released** on the portal once production smoke is green.
|
|
212
212
|
|
|
213
213
|
If production smoke fails:
|
|
@@ -291,7 +291,7 @@ Compile evidence for REQ-{REQ_ID} per SDLC stage 3 (compile-evidence):
|
|
|
291
291
|
evidence-type is one of: screenshot, e2e_result, test_report, audit_log,
|
|
292
292
|
compliance_document, manual_upload.
|
|
293
293
|
4. Verify uploads landed at
|
|
294
|
-
https://devaudit.
|
|
294
|
+
https://devaudit.ai/projects/{PROJECT_SLUG}/requirements/REQ-{REQ_ID}
|
|
295
295
|
5. Update compliance/RTM.md with portal links per evidence row.
|
|
296
296
|
```
|
|
297
297
|
|
|
@@ -306,7 +306,7 @@ Open the PR for REQ-{REQ_ID} per SDLC stage 4 (submit-for-review):
|
|
|
306
306
|
- "Closes #{ISSUE_NUMBER}"
|
|
307
307
|
- "REQ: REQ-{REQ_ID}"
|
|
308
308
|
- "Risk: {RISK_CLASS}"
|
|
309
|
-
- "Evidence: https://devaudit.
|
|
309
|
+
- "Evidence: https://devaudit.ai/projects/{PROJECT_SLUG}/requirements/REQ-{REQ_ID}"
|
|
310
310
|
- For HIGH/CRITICAL: "Four-eyes attestation: <reviewer-username>" and
|
|
311
311
|
"Rollback plan: <ref to plan §rollback>"
|
|
312
312
|
3. Add labels: `awaiting-uat-review`, `risk:{RISK_CLASS}`.
|
|
@@ -328,7 +328,7 @@ Merge REQ-{REQ_ID} per SDLC stage 5 (deploy-main), then track to production:
|
|
|
328
328
|
never --rebase).
|
|
329
329
|
3. Watch `gh run watch` against the post-deploy-prod.yml workflow.
|
|
330
330
|
4. Verify production smoke evidence uploaded (environment=production) at
|
|
331
|
-
https://devaudit.
|
|
331
|
+
https://devaudit.ai/projects/{PROJECT_SLUG}/releases/{VERSION}
|
|
332
332
|
5. Mark the release as `Released` on the portal.
|
|
333
333
|
|
|
334
334
|
If production smoke FAILS:
|
|
@@ -416,7 +416,7 @@ The sample prompts in this doc are a stopgap that lets us run the SDLC manually
|
|
|
416
416
|
| ---------------------------------------------------- | ------------------------------------------------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
417
417
|
| `devaudit push` returns 401 | Token expired or wrong account | `devaudit auth status` → `devaudit auth login` if needed |
|
|
418
418
|
| `devaudit push` returns 403 | Project key missing or wrong | Verify `DEVAUDIT_API_KEY` is set; re-issue from the portal `/settings/api-keys` if rotated |
|
|
419
|
-
| `gh pr checks` shows `DevAudit Release Approval` red | UAT review not granted or release not registered | Visit `https://devaudit.
|
|
419
|
+
| `gh pr checks` shows `DevAudit Release Approval` red | UAT review not granted or release not registered | Visit `https://devaudit.ai/projects/<slug>/releases/<version>` → request approval; if release missing, `ci.yml` registers it on `develop` push |
|
|
420
420
|
| Production smoke flaky on the same test repeatedly | Test flake, not a real defect | File the flake as a separate issue tagged `flaky-test`; do NOT mark the release failed |
|
|
421
421
|
| Forgot to add `Ref: REQ-XXX` to commits | RTM traceability gap | Amend the commit (if local) or add a follow-up commit with the trailer; CI's compliance-validation workflow will flag it on PR |
|
|
422
422
|
| Stage 1 plan deviates significantly mid-stage-2 | Implementation discovered a gap in the plan | Update the plan IN PLACE; note the deviation in a new `## Plan deviation` section. The plan is the source of truth, not a one-shot artefact |
|