@metasession.co/devaudit-cli 0.1.26 → 0.1.27

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.1.26",
3
+ "version": "0.1.27",
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.1.26",
36
+ "@metasession.co/devaudit-plugin-sdk": "^0.1.27",
37
37
  "commander": "^12.1.0",
38
38
  "consola": "^3.2.3",
39
39
  "env-paths": "^3.0.0",
@@ -372,10 +372,16 @@ jobs:
372
372
  --category test_report ${FLAGS}
373
373
  fi
374
374
 
375
- # Upload test summary report (test_report category)
375
+ # Upload test summary report — precise evidence_type=test_report
376
+ # (was compliance_document). The portal's Compliance Gates panel
377
+ # filters by evidence_type, so the markdown summary belongs in the
378
+ # Test Reports gate alongside playwright-report.zip + coverage
379
+ # summary. Markdown renders inline (MarkdownRenderer); auditor
380
+ # reads pass/fail counts + narrative without downloading the zip.
381
+ # devaudit#370 follow-up.
376
382
  if [ -f "compliance/test-summary-report.md" ]; then
377
383
  upload test-summary-report.md \
378
- {{PROJECT_SLUG}} _compliance-docs compliance_document compliance/test-summary-report.md \
384
+ {{PROJECT_SLUG}} _compliance-docs test_report compliance/test-summary-report.md \
379
385
  --category test_report ${FLAGS}
380
386
  fi
381
387
 
@@ -125,8 +125,9 @@ jobs:
125
125
  DERIVED_META=()
126
126
  [ -n "$DERIVED_CT" ] && DERIVED_META+=(--change-type "$DERIVED_CT")
127
127
 
128
- # Upload compliance docs (planning category)
129
- for DOC in compliance/RTM.md compliance/test-plan.md compliance/test-cases.md compliance/test-summary-report.md; do
128
+ # Upload planning docs (RTM / Test Plan / Test Cases) as
129
+ # compliance_document they surface under the Documents tab.
130
+ for DOC in compliance/RTM.md compliance/test-plan.md compliance/test-cases.md; do
130
131
  if [ -f "$DOC" ]; then
131
132
  echo "Uploading: $(basename "$DOC")"
132
133
  bash scripts/upload-evidence.sh \
@@ -137,6 +138,19 @@ jobs:
137
138
  fi
138
139
  done
139
140
 
141
+ # Test summary report — precise evidence_type=test_report so it
142
+ # lands in the portal's Test Reports gate (rendered inline by the
143
+ # MarkdownRenderer). devaudit#370 follow-up; same change applied
144
+ # in ci.yml's gate-evidence upload step.
145
+ if [ -f "compliance/test-summary-report.md" ]; then
146
+ echo "Uploading: test-summary-report.md (test_report type)"
147
+ bash scripts/upload-evidence.sh \
148
+ {{PROJECT_SLUG}} _compliance-docs test_report compliance/test-summary-report.md \
149
+ --category test_report ${FLAGS} --release "${DERIVED_RELEASE}" \
150
+ "${DERIVED_META[@]}" \
151
+ || echo "Warning: Failed to upload test-summary-report.md"
152
+ fi
153
+
140
154
  # Project-level governance docs (devaudit#370 Phase 3a). When the
141
155
  # operator commits any of these markdown files, upload with the
142
156
  # precise evidence_type so the portal's framework-coverage matrix