mjolnir-qa 2.0.2 → 3.0.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.
@@ -0,0 +1,2 @@
1
+ import { m as runScan } from "./scan-pipeline-CAH9_Qgh.mjs";
2
+ export { runScan };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mjolnir-qa",
3
- "version": "2.0.2",
3
+ "version": "3.0.0",
4
4
  "description": "Mjölnir — the Verification Trust Engine for QA. Audits test suites and CI pipelines, reports a worthiness score and prioritized findings.",
5
5
  "type": "module",
6
6
  "engines": {
@@ -25,15 +25,23 @@
25
25
  "mcp": "node dist/mcp/stdio.mjs",
26
26
  "test": "vitest run",
27
27
  "bench:scan": "tsx scripts/bench-scan.ts .mjolnir --files 300",
28
- "test:stress": "vitest run --config vitest.stress.config.ts",
28
+ "test:stress": "vitest run --config vitest.stress.config.ts && node tests/stress/soak.mjs && node tests/stress/concurrent.mjs",
29
29
  "test:coverage": "vitest run --coverage",
30
+ "test:coverage:ci": "vitest run --coverage --no-file-parallelism --testTimeout=120000 --hookTimeout=120000",
30
31
  "coverage:ratchet": "node scripts/check-coverage-ratchet.mjs",
32
+ "audit:ci": "npm audit --audit-level=moderate && npm audit --workspaces --audit-level=moderate",
33
+ "enterprise:threat-model": "node scripts/enterprise/validate-threat-model.mjs --model enterprise/threat-model.json --data-flow enterprise/data-flows.json --strict",
34
+ "claims:check": "node scripts/check-claim-registry.mjs",
35
+ "candidate:manifest:check": "node scripts/check-candidate-manifest.mjs",
36
+ "candidate:readiness": "node scripts/check-candidate-readiness.mjs",
31
37
  "test:watch": "vitest",
32
38
  "lint": "eslint . --max-warnings=0 && prettier --check .",
33
39
  "format": "prettier --write .",
34
40
  "typecheck": "tsc --noEmit && tsc --noEmit -p tsconfig.test.json && tsx scripts/typecheck-fixtures.ts",
35
- "certify": "npm run lint && npm run typecheck && npm run test && npx vitest run tests/contract/",
36
- "ci-local": "npm run certify && npm run brand:doctor && npm run brand:doctor:selftest && npm run brand:fonts:check",
41
+ "certify": "npm run build && npm run lint && npm run typecheck && npm run enterprise:threat-model && npm run claims:check && npm run candidate:manifest:check && npm run test && npx vitest run tests/contract/",
42
+ "certify:ci": "npm run build && npm run lint && npm run typecheck && npm run enterprise:threat-model && npm run claims:check && npm run candidate:manifest:check && npm run test:coverage:ci && npx vitest run tests/contract/",
43
+ "ci-local": "npm run certify:ci && npm run test:property && npm run test:fuzz && npm run coverage:ratchet && npm run audit:ci && npm run brand:doctor && npm run brand:doctor:selftest && npm run brand:fonts:check && npm run site:doctor && npm run ci-local:parity",
44
+ "verify:isolation": "node scripts/verify-remediation-isolation.mjs",
37
45
  "golden:update": "tsx tests/golden/gen.ts",
38
46
  "detector-hashes:update": "tsx scripts/generate-detector-hashes.ts",
39
47
  "corpus:regression": "tsx tests/corpus/audit.ts",
@@ -63,9 +71,14 @@
63
71
  "docs:video:render": "tsx scripts/video/render.ts",
64
72
  "docs:video": "npm run docs:video:capture && npm run docs:video:render",
65
73
  "docs:translations": "node scripts/check-readme-translations.mjs",
66
- "changelog:check": "tsx scripts/check-changelog.ts --expect-version $(node -p \"require('./package.json').version\")",
74
+ "changelog:check": "tsx scripts/check-changelog.ts",
67
75
  "reporter:version-check": "tsx scripts/check-reporter-version.ts",
76
+ "version:check": "npm run reporter:version-check && npm run changelog:check",
77
+ "release:verify": "npm run version:check && npm run claims:check && npm run candidate:manifest:check && npm run enterprise:threat-model",
68
78
  "self-scan": "node dist/cli.mjs .",
79
+ "ci-local:parity": "node scripts/check-ci-local-parity.mjs",
80
+ "test:property": "node scripts/check-property-runs.mjs && vitest run --config vitest.property.config.ts",
81
+ "test:fuzz": "vitest run --config vitest.fuzz.config.ts",
69
82
  "prepare": "husky",
70
83
  "prepublishOnly": "npm run build",
71
84
  "docs:architecture": "tsx scripts/generate-readme-architecture.ts",
@@ -107,6 +120,8 @@
107
120
  "yaml": "^2.5.0"
108
121
  },
109
122
  "devDependencies": {
123
+ "@commitlint/cli": "^19.8.1",
124
+ "@commitlint/config-conventional": "^19.8.1",
110
125
  "@eslint/js": "^10.0.1",
111
126
  "@playwright/test": "^1.50.0",
112
127
  "@types/node": "^26.4.0",
@@ -1,2 +0,0 @@
1
- import { m as runScan } from "./scan-pipeline-D3Yk2cef.mjs";
2
- export { runScan };