mjolnir-qa 3.0.0 → 4.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/CHANGELOG.md +360 -6
- package/README.ar.md +58 -29
- package/README.bn.md +58 -29
- package/README.br.md +58 -29
- package/README.bs.md +58 -29
- package/README.da.md +59 -30
- package/README.de.md +59 -30
- package/README.es.md +58 -29
- package/README.fr.md +59 -30
- package/README.gr.md +58 -29
- package/README.he.md +58 -29
- package/README.it.md +58 -29
- package/README.ja.md +58 -29
- package/README.ko.md +58 -29
- package/README.md +95 -56
- package/README.no.md +58 -29
- package/README.pl.md +58 -29
- package/README.ru.md +58 -29
- package/README.th.md +58 -29
- package/README.tr.md +58 -29
- package/README.uk.md +58 -29
- package/README.vi.md +58 -29
- package/README.zh.md +58 -29
- package/README.zht.md +58 -29
- package/dist/cli.d.mts +218 -14
- package/dist/cli.mjs +1410 -883
- package/dist/mcp/stdio.mjs +1072 -408
- package/dist/scan-pipeline-Bg-46cLS.mjs +2 -0
- package/dist/{scan-pipeline-CAH9_Qgh.mjs → scan-pipeline-CCJdEKNa.mjs} +1443 -809
- package/package.json +52 -8
- package/dist/scan-pipeline-CRe7-MQn.mjs +0 -2
package/package.json
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "mjolnir-qa",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "4.0.0",
|
|
4
|
+
"publishedStable": "4.0.0",
|
|
4
5
|
"description": "Mjölnir — the Verification Trust Engine for QA. Audits test suites and CI pipelines, reports a worthiness score and prioritized findings.",
|
|
5
6
|
"type": "module",
|
|
6
7
|
"engines": {
|
|
@@ -15,37 +16,55 @@
|
|
|
15
16
|
],
|
|
16
17
|
"files": [
|
|
17
18
|
"dist",
|
|
19
|
+
"!dist/**/*.map",
|
|
18
20
|
"README.md",
|
|
19
21
|
"LICENSE",
|
|
20
22
|
"CHANGELOG.md"
|
|
21
23
|
],
|
|
22
24
|
"scripts": {
|
|
23
|
-
"build": "tsdown src/cli.ts --format esm --dts --out-dir dist && tsdown src/mcp/stdio.ts --format esm --out-dir dist/mcp && npm run build --workspaces --if-present",
|
|
25
|
+
"build": "tsdown src/cli.ts --format esm --dts --sourcemap --out-dir dist && tsdown src/mcp/stdio.ts --format esm --sourcemap --out-dir dist/mcp && npm run build --workspaces --if-present",
|
|
26
|
+
"sentry:release": "node scripts/sentry-release.mjs",
|
|
24
27
|
"dev": "tsx src/cli.ts",
|
|
25
28
|
"mcp": "node dist/mcp/stdio.mjs",
|
|
26
29
|
"test": "vitest run",
|
|
30
|
+
"test:integration": "vitest run tests/integrations",
|
|
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",
|
|
33
|
+
"test:release": "vitest run tests/release tests/commands/release-trust-arms.spec.ts tests/commands/release-trust-branch.spec.ts",
|
|
27
34
|
"bench:scan": "tsx scripts/bench-scan.ts .mjolnir --files 300",
|
|
28
35
|
"test:stress": "vitest run --config vitest.stress.config.ts && node tests/stress/soak.mjs && node tests/stress/concurrent.mjs",
|
|
29
36
|
"test:coverage": "vitest run --coverage",
|
|
30
|
-
"test:coverage:ci": "vitest run --coverage --
|
|
37
|
+
"test:coverage:ci": "vitest run --coverage --maxWorkers=4 --testTimeout=120000 --hookTimeout=120000",
|
|
31
38
|
"coverage:ratchet": "node scripts/check-coverage-ratchet.mjs",
|
|
32
39
|
"audit:ci": "npm audit --audit-level=moderate && npm audit --workspaces --audit-level=moderate",
|
|
33
40
|
"enterprise:threat-model": "node scripts/enterprise/validate-threat-model.mjs --model enterprise/threat-model.json --data-flow enterprise/data-flows.json --strict",
|
|
34
41
|
"claims:check": "node scripts/check-claim-registry.mjs",
|
|
42
|
+
"report:honesty": "node scripts/check-report-honesty.mjs",
|
|
43
|
+
"thresholds:parity": "node scripts/check-threshold-parity.mjs",
|
|
44
|
+
"verbs:budget": "node scripts/check-verb-budget.mjs",
|
|
45
|
+
"artifact:deterministic": "vitest run tests/contract/artifact-determinism.spec.ts",
|
|
46
|
+
"claims:revalidate": "node scripts/revalidate-claims.mjs",
|
|
47
|
+
"script:paths": "node scripts/check-script-paths.mjs",
|
|
48
|
+
"lockfile:platforms": "node scripts/check-lockfile-platforms.mjs",
|
|
35
49
|
"candidate:manifest:check": "node scripts/check-candidate-manifest.mjs",
|
|
50
|
+
"candidate:manifest:update": "node scripts/update-candidate-manifest.mjs --write",
|
|
36
51
|
"candidate:readiness": "node scripts/check-candidate-readiness.mjs",
|
|
52
|
+
"candidate:decision:engineering": "node scripts/check-candidate-decision.mjs --stage engineering",
|
|
53
|
+
"candidate:decision:release": "node scripts/check-candidate-decision.mjs --stage release",
|
|
54
|
+
"coverage:exemptions": "node scripts/check-coverage-exemption-ledger.mjs",
|
|
37
55
|
"test:watch": "vitest",
|
|
38
56
|
"lint": "eslint . --max-warnings=0 && prettier --check .",
|
|
39
57
|
"format": "prettier --write .",
|
|
40
58
|
"typecheck": "tsc --noEmit && tsc --noEmit -p tsconfig.test.json && tsx scripts/typecheck-fixtures.ts",
|
|
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/",
|
|
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/",
|
|
43
61
|
"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
62
|
"verify:isolation": "node scripts/verify-remediation-isolation.mjs",
|
|
45
63
|
"golden:update": "tsx tests/golden/gen.ts",
|
|
46
64
|
"detector-hashes:update": "tsx scripts/generate-detector-hashes.ts",
|
|
47
65
|
"corpus:regression": "tsx tests/corpus/audit.ts",
|
|
48
66
|
"corpus:regression:update": "tsx tests/corpus/audit.ts --update",
|
|
67
|
+
"corpus:regression:refresh-provenance": "tsx tests/corpus/audit.ts --refresh-provenance",
|
|
49
68
|
"corpus:sample": "tsx scripts/corpus-sample.ts",
|
|
50
69
|
"fp-audit:generate": "tsx scripts/generate-fp-audit-table.ts",
|
|
51
70
|
"docs:rules": "tsx scripts/generate-rule-docs.ts",
|
|
@@ -71,11 +90,25 @@
|
|
|
71
90
|
"docs:video:render": "tsx scripts/video/render.ts",
|
|
72
91
|
"docs:video": "npm run docs:video:capture && npm run docs:video:render",
|
|
73
92
|
"docs:translations": "node scripts/check-readme-translations.mjs",
|
|
93
|
+
"docs:translations:sync": "node scripts/sync-readme-release-status.mjs",
|
|
94
|
+
"docs:translations:check": "node scripts/check-readme-translations.mjs --strict",
|
|
95
|
+
"rules:census": "tsx scripts/print-rule-census.ts",
|
|
96
|
+
"docs:roadmap:check": "tsx scripts/roadmap/check.ts",
|
|
97
|
+
"docs:roadmap:backlinks": "tsx scripts/roadmap/check-backlinks.ts",
|
|
98
|
+
"release:decision": "tsx scripts/release-decision.ts",
|
|
99
|
+
"m26:audit": "tsx scripts/check-m26-ledgers.ts --stage readiness",
|
|
100
|
+
"m26:integrity": "tsx scripts/check-m26-ledgers.ts --stage integrity",
|
|
101
|
+
"m26:readiness": "npm run m26:audit && npm run candidate:readiness",
|
|
102
|
+
"m26:github:sync": "node scripts/sync-m26-github.mjs",
|
|
103
|
+
"m26:gaps:revalidate": "tsx scripts/revalidate-gaps.mjs",
|
|
74
104
|
"changelog:check": "tsx scripts/check-changelog.ts",
|
|
75
105
|
"reporter:version-check": "tsx scripts/check-reporter-version.ts",
|
|
76
|
-
"version:check": "
|
|
77
|
-
"
|
|
106
|
+
"version:surface:check": "tsx scripts/check-version-surface.ts",
|
|
107
|
+
"version:surface:sync": "tsx scripts/sync-version-surface.ts",
|
|
108
|
+
"version:check": "npm run version:surface:check && npm run reporter:version-check && npm run changelog:check",
|
|
109
|
+
"release:verify": "tsx scripts/release-verify.ts",
|
|
78
110
|
"self-scan": "node dist/cli.mjs .",
|
|
111
|
+
"ci:standard": "node scripts/check-ci-standard.mjs",
|
|
79
112
|
"ci-local:parity": "node scripts/check-ci-local-parity.mjs",
|
|
80
113
|
"test:property": "node scripts/check-property-runs.mjs && vitest run --config vitest.property.config.ts",
|
|
81
114
|
"test:fuzz": "vitest run --config vitest.fuzz.config.ts",
|
|
@@ -89,7 +122,9 @@
|
|
|
89
122
|
"brand:fonts:check": "tsx scripts/vendor-fonts.ts --check",
|
|
90
123
|
"brand:marks": "tsx scripts/generate-brand-marks.ts",
|
|
91
124
|
"brand:marks:update": "node scripts/update-mark-hashes.mjs",
|
|
92
|
-
"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"
|
|
125
|
+
"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
|
+
"docs:refresh": "node scripts/refresh-generated.mjs",
|
|
127
|
+
"docs:refresh:check": "node scripts/refresh-generated.mjs --check"
|
|
93
128
|
},
|
|
94
129
|
"keywords": [
|
|
95
130
|
"qa",
|
|
@@ -119,11 +154,20 @@
|
|
|
119
154
|
"web-tree-sitter": "0.25.6",
|
|
120
155
|
"yaml": "^2.5.0"
|
|
121
156
|
},
|
|
157
|
+
"peerDependencies": {
|
|
158
|
+
"@sentry/node": "^11.0.0"
|
|
159
|
+
},
|
|
160
|
+
"peerDependenciesMeta": {
|
|
161
|
+
"@sentry/node": {
|
|
162
|
+
"optional": true
|
|
163
|
+
}
|
|
164
|
+
},
|
|
122
165
|
"devDependencies": {
|
|
123
166
|
"@commitlint/cli": "^19.8.1",
|
|
124
167
|
"@commitlint/config-conventional": "^19.8.1",
|
|
125
168
|
"@eslint/js": "^10.0.1",
|
|
126
169
|
"@playwright/test": "^1.50.0",
|
|
170
|
+
"@sentry/node": "^11.0.0",
|
|
127
171
|
"@types/node": "^26.4.0",
|
|
128
172
|
"@vitest/coverage-istanbul": "^5.0.1",
|
|
129
173
|
"axe-core": "^4.13.0",
|