mjolnir-qa 4.0.0 → 5.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.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "mjolnir-qa",
3
- "version": "4.0.0",
4
- "publishedStable": "4.0.0",
3
+ "version": "5.0.0",
4
+ "publishedStable": "5.0.0",
5
5
  "description": "Mjölnir — the Verification Trust Engine for QA. Audits test suites and CI pipelines, reports a worthiness score and prioritized findings.",
6
6
  "type": "module",
7
7
  "engines": {
@@ -26,15 +26,15 @@
26
26
  "sentry:release": "node scripts/sentry-release.mjs",
27
27
  "dev": "tsx src/cli.ts",
28
28
  "mcp": "node dist/mcp/stdio.mjs",
29
- "test": "vitest run",
29
+ "test": "npm run skip:budget:init && vitest run --reporter=default --reporter=./scripts/vitest-skip-budget-reporter.mjs",
30
30
  "test:integration": "vitest run tests/integrations",
31
31
  "test:mcp:parity": "vitest run tests/mcp/parity.spec.ts",
32
- "frontier:contracts": "vitest run tests/contract/boundary-law.spec.ts tests/contract/exit-matrix.spec.ts tests/contract/json-contract.spec.ts tests/contract/machine-contract.spec.ts tests/contract/schema-contract.spec.ts tests/contract/vitest-suite-boundaries.spec.ts tests/contract/certification.spec.ts tests/contract/evidence-voting.spec.ts tests/contract/presentation-trust.spec.ts tests/contract/release-trust-contract.spec.ts tests/contract/saved-report-trust.spec.ts tests/contract/trust-ladder-single-source.spec.ts tests/contract/mcp-workspace-boundary.spec.ts tests/contract/privacy-network-isolation.spec.ts tests/contract/census-drift.spec.ts tests/contract/m26-support-matrix.spec.ts tests/contract/quarantine-ledger.spec.ts tests/contract/docs-consistency.spec.ts tests/contract/framework-capability-envelope.spec.ts tests/contract/pack-audit.spec.ts tests/contract/readme-commands.spec.ts tests/contract/semantic-integrity.spec.ts tests/contract/version-surface.spec.ts",
32
+ "frontier:contracts": "vitest run tests/contract/boundary-law.spec.ts tests/contract/exit-matrix.spec.ts tests/contract/json-contract.spec.ts tests/contract/machine-contract.spec.ts tests/contract/schema-contract.spec.ts tests/contract/vitest-suite-boundaries.spec.ts tests/contract/certification.spec.ts tests/contract/evidence-voting.spec.ts tests/contract/presentation-trust.spec.ts tests/contract/release-trust-contract.spec.ts tests/contract/saved-report-trust.spec.ts tests/contract/trust-ladder-single-source.spec.ts tests/contract/mcp-workspace-boundary.spec.ts tests/contract/privacy-network-isolation.spec.ts tests/contract/census-drift.spec.ts tests/contract/m26-support-matrix.spec.ts tests/contract/quarantine-ledger.spec.ts tests/contract/docs-consistency.spec.ts tests/contract/framework-capability-envelope.spec.ts tests/contract/pack-audit.spec.ts tests/contract/readme-commands.spec.ts tests/contract/semantic-integrity.spec.ts tests/contract/version-surface.spec.ts tests/contract/no-bare-process-exec.spec.ts tests/contract/coverage-exemption-truth.spec.ts tests/contract/deterministic-ordering.spec.ts tests/contract/deterministic-clock.spec.ts tests/contract/cli-workspace-boundary.spec.ts tests/contract/skip-budget.spec.ts tests/contract/no-uncounted-degradation.spec.ts tests/contract/single-error-helper.spec.ts",
33
33
  "test:release": "vitest run tests/release tests/commands/release-trust-arms.spec.ts tests/commands/release-trust-branch.spec.ts",
34
34
  "bench:scan": "tsx scripts/bench-scan.ts .mjolnir --files 300",
35
35
  "test:stress": "vitest run --config vitest.stress.config.ts && node tests/stress/soak.mjs && node tests/stress/concurrent.mjs",
36
36
  "test:coverage": "vitest run --coverage",
37
- "test:coverage:ci": "vitest run --coverage --maxWorkers=4 --testTimeout=120000 --hookTimeout=120000",
37
+ "test:coverage:ci": "npm run skip:budget:init && vitest run --coverage --maxWorkers=4 --testTimeout=120000 --hookTimeout=120000 --reporter=default --reporter=./scripts/vitest-skip-budget-reporter.mjs",
38
38
  "coverage:ratchet": "node scripts/check-coverage-ratchet.mjs",
39
39
  "audit:ci": "npm audit --audit-level=moderate && npm audit --workspaces --audit-level=moderate",
40
40
  "enterprise:threat-model": "node scripts/enterprise/validate-threat-model.mjs --model enterprise/threat-model.json --data-flow enterprise/data-flows.json --strict",
@@ -46,6 +46,21 @@
46
46
  "claims:revalidate": "node scripts/revalidate-claims.mjs",
47
47
  "script:paths": "node scripts/check-script-paths.mjs",
48
48
  "lockfile:platforms": "node scripts/check-lockfile-platforms.mjs",
49
+ "claims:prose": "tsx scripts/v6/check-claims-prose.ts",
50
+ "claims:prose:strict": "tsx scripts/v6/check-claims-prose.ts --strict",
51
+ "claim:budget": "tsx scripts/v6/check-claim-budget.ts",
52
+ "claim:budget:init": "tsx scripts/v6/check-claim-budget.ts --init",
53
+ "docs:ecosystem": "tsx scripts/v6/ecosystem-census.ts",
54
+ "ecosystem:census": "tsx scripts/v6/check-ecosystem.ts census",
55
+ "ecosystem:gaps": "tsx scripts/v6/check-ecosystem.ts gaps",
56
+ "docs:v6-inventory": "tsx scripts/v6/generate-inventory.ts",
57
+ "docs:capability": "tsx scripts/generate-capability-matrix.ts",
58
+ "docs:registry": "tsx scripts/v6/generate-capability.ts",
59
+ "registry:check": "tsx scripts/v6/check-capability-registry.ts",
60
+ "rules:quality:check": "tsx scripts/v6/check-rule-quality.ts",
61
+ "qa-ir:parity": "tsx scripts/v6/check-qa-ir-parity.ts",
62
+ "v6:archive:check": "tsx scripts/v6/reconcile-archive.ts",
63
+ "issue-disposition:check": "tsx scripts/v6/check-issue-disposition.ts",
49
64
  "candidate:manifest:check": "node scripts/check-candidate-manifest.mjs",
50
65
  "candidate:manifest:update": "node scripts/update-candidate-manifest.mjs --write",
51
66
  "candidate:readiness": "node scripts/check-candidate-readiness.mjs",
@@ -56,8 +71,8 @@
56
71
  "lint": "eslint . --max-warnings=0 && prettier --check .",
57
72
  "format": "prettier --write .",
58
73
  "typecheck": "tsc --noEmit && tsc --noEmit -p tsconfig.test.json && tsx scripts/typecheck-fixtures.ts",
59
- "certify": "npm run build && npm run lint && npm run typecheck && npm run version:check && npm run enterprise:threat-model && npm run claims:check && npm run claims:revalidate && npm run report:honesty && npm run thresholds:parity && npm run script:paths && npm run lockfile:platforms && npm run verbs:budget && npm run m26:integrity && npm run coverage:exemptions && npm run candidate:manifest:check && npm run candidate:decision:engineering && npm run docs:translations && npm run test && npx vitest run tests/contract/",
60
- "certify:ci": "npm run build && npm run lint && npm run typecheck && npm run version:check && npm run enterprise:threat-model && npm run claims:check && npm run claims:revalidate && npm run report:honesty && npm run thresholds:parity && npm run script:paths && npm run lockfile:platforms && npm run verbs:budget && npm run m26:integrity && npm run coverage:exemptions && npm run candidate:manifest:check && npm run candidate:decision:engineering && npm run docs:translations && npm run test:coverage:ci && npx vitest run tests/contract/",
74
+ "certify": "npm run build && npm run lint && npm run typecheck && npm run version:check && npm run enterprise:threat-model && npm run claims:check && npm run claims:revalidate && npm run report:honesty && npm run thresholds:parity && npm run script:paths && npm run lockfile:platforms && npm run verbs:budget && npm run m26:integrity && npm run coverage:exemptions && npm run candidate:manifest:check && npm run candidate:decision:engineering && npm run docs:translations && npm run test && npm run skip:budget && npx vitest run tests/contract/",
75
+ "certify:ci": "npm run build && npm run lint && npm run typecheck && npm run version:check && npm run enterprise:threat-model && npm run claims:check && npm run claims:revalidate && npm run report:honesty && npm run thresholds:parity && npm run script:paths && npm run lockfile:platforms && npm run verbs:budget && npm run m26:integrity && npm run coverage:exemptions && npm run candidate:manifest:check && npm run candidate:decision:engineering && npm run docs:translations && npm run test:coverage:ci && npm run skip:budget && npx vitest run tests/contract/",
61
76
  "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",
62
77
  "verify:isolation": "node scripts/verify-remediation-isolation.mjs",
63
78
  "golden:update": "tsx tests/golden/gen.ts",
@@ -124,7 +139,9 @@
124
139
  "brand:marks:update": "node scripts/update-mark-hashes.mjs",
125
140
  "docs:regen": "npm run docs:rules && npm run fp-audit:generate && npm run docs:capability && npm run docs:counts && npm run docs:depth-adjudication && npm run docs:machine-contract && npm run brand:tokens && npm run golden:update && npm run docs:hero && npm run docs:demo && npm run docs:readme-brand && npm run detector-hashes:update",
126
141
  "docs:refresh": "node scripts/refresh-generated.mjs",
127
- "docs:refresh:check": "node scripts/refresh-generated.mjs --check"
142
+ "docs:refresh:check": "node scripts/refresh-generated.mjs --check",
143
+ "skip:budget": "node scripts/check-skip-budget.mjs",
144
+ "skip:budget:init": "node scripts/skip-budget-init.mjs"
128
145
  },
129
146
  "keywords": [
130
147
  "qa",
@@ -1,2 +0,0 @@
1
- import { m as runScan } from "./scan-pipeline-CCJdEKNa.mjs";
2
- export { runScan };