@metasession.co/devaudit-cli 0.3.16 → 0.3.17

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-cli",
3
- "version": "0.3.16",
3
+ "version": "0.3.17",
4
4
  "description": "DevAudit CLI — installs, syncs, and operates the Metasession SDLC across consumer projects.",
5
5
  "type": "module",
6
6
  "bin": {
@@ -33,7 +33,7 @@
33
33
  },
34
34
  "dependencies": {
35
35
  "@clack/prompts": "^0.8.2",
36
- "@metasession.co/devaudit-plugin-sdk": "^0.3.16",
36
+ "@metasession.co/devaudit-plugin-sdk": "^0.3.17",
37
37
  "ajv": "^8.20.0",
38
38
  "commander": "^12.1.0",
39
39
  "consola": "^3.2.3",
@@ -696,6 +696,29 @@ jobs:
696
696
  done
697
697
  fi
698
698
 
699
+ # GitHub rejects a single run scalar above its 21,000-character
700
+ # expression-template limit. Persist the first half's upload result
701
+ # so the screenshot/evidence-completeness half can continue and
702
+ # report one combined failure below. DevAudit-Installer#423.
703
+ echo "$UPLOAD_FAILURES" > ci-evidence/gate-upload-failures.txt
704
+
705
+ - name: Upload screenshot evidence and verify completeness
706
+ # The preceding evidence uploads are intentionally best-effort so this
707
+ # second half can still report every missing screenshot/evidence gap.
708
+ if: always() && env.DEVAUDIT_BASE_URL != ''
709
+ run: |
710
+ chmod +x scripts/upload-evidence.sh 2>/dev/null || true
711
+ FLAGS="--git-sha ${{ github.sha }} --ci-run-id ${{ github.run_id }} --branch ${{ github.ref_name }}"
712
+ FLAGS="${FLAGS} --release ${{ needs.register-release.outputs.version }} --create-release-if-missing"
713
+ FLAGS="${FLAGS} --environment uat --sdlc-stage 2"
714
+ UPLOAD_FAILURES=0
715
+ if [ -f ci-evidence/gate-upload-failures.txt ]; then
716
+ PREVIOUS_UPLOAD_FAILURES=$(cat ci-evidence/gate-upload-failures.txt)
717
+ if [[ "$PREVIOUS_UPLOAD_FAILURES" =~ ^[0-9]+$ ]]; then
718
+ UPLOAD_FAILURES="$PREVIOUS_UPLOAD_FAILURES"
719
+ fi
720
+ fi
721
+
699
722
  # Upload per-AC e2e evidence screenshots, scoped to each in-scope
700
723
  # requirement so they render under "Evidence by requirement" in the
701
724
  # portal. These are the per-assertion `evidenceShot(page, REQ, 'ACn-…')`
package/sdlc/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@metasession.co/devaudit-sdlc",
3
- "version": "0.3.16",
3
+ "version": "0.3.17",
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"