mjolnir-qa 0.5.10 → 0.5.12

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/dist/cli.mjs CHANGED
@@ -9536,6 +9536,13 @@ const MEASURED_FP = {
9536
9536
  ciLow: .0705,
9537
9537
  ciHigh: .4519
9538
9538
  },
9539
+ "QA-ENV-001": {
9540
+ fpRate: 1,
9541
+ n: 20,
9542
+ detectorRevision: 3,
9543
+ ciLow: .8389,
9544
+ ciHigh: 1
9545
+ },
9539
9546
  "QA-JV-101": {
9540
9547
  fpRate: 0,
9541
9548
  n: 23,
@@ -9795,6 +9802,13 @@ const MEASURED_FP = {
9795
9802
  ciLow: .0329,
9796
9803
  ciHigh: .3434
9797
9804
  },
9805
+ "QA-PW-147": {
9806
+ fpRate: 1,
9807
+ n: 20,
9808
+ detectorRevision: 1,
9809
+ ciLow: .8389,
9810
+ ciHigh: 1
9811
+ },
9798
9812
  "QA-PY-001": {
9799
9813
  fpRate: 0,
9800
9814
  n: 12,
@@ -12989,7 +13003,7 @@ function pushCard(lines, card, ui) {
12989
13003
  lines.push(` ${severityIcon(card.severity, ui)} ${p.bold(card.loc)} ${p.dim(card.evidence)}`);
12990
13004
  const fields = [
12991
13005
  {
12992
- label: "Problem",
13006
+ label: "Finding",
12993
13007
  text: card.problem,
12994
13008
  dim: false
12995
13009
  },
@@ -13020,7 +13034,7 @@ function pushCard(lines, card, ui) {
13020
13034
  }
13021
13035
  /**
13022
13036
  * The findings experience — EVIDENCE layer. Cards carry
13023
- * severity → Problem → Impact → Fix → Verify; the evidence tag sits
13037
+ * severity → Finding → Impact → Fix → Verify; the evidence tag sits
13024
13038
  * beside the title. >3 findings sharing a rule collapse under one
13025
13039
  * "same fix applies" header. Non-verbose shows MAX_CARDS cards plus an
13026
13040
  * overflow line; --verbose shows everything.
@@ -13210,7 +13224,7 @@ function renderSarif(result, repoRootUri) {
13210
13224
  tool: { driver: {
13211
13225
  name: "Mjölnir",
13212
13226
  informationUri: "https://github.com/Sergey-Bar/Mjolnir",
13213
- version: "0.5.10",
13227
+ version: "0.5.12",
13214
13228
  rules: [...rules.values()].map((r) => {
13215
13229
  const meta = RULES.find((x) => x.id === r.id);
13216
13230
  return {
@@ -13568,7 +13582,7 @@ function renderPrComment(result, options = {}) {
13568
13582
  for (const d of result.dimensions) lines.push(`| ${escapeMarkdown(d.category)} | ${d.score}/100 |`);
13569
13583
  lines.push("");
13570
13584
  }
13571
- if (findings.length === 0) lines.push("✅ No new issues found in this PR's changes.");
13585
+ if (findings.length === 0) lines.push("✅ No new findings in this PR's changes.");
13572
13586
  else {
13573
13587
  const errors = findings.filter((f) => f.severity === "error");
13574
13588
  const warnings = findings.filter((f) => f.severity === "warning");
@@ -17635,7 +17649,7 @@ const { runScan, buildUniversalRules, fallbackWorkspace, pathMatchesGlob, isVali
17635
17649
  * `scripts/sync-sarif-version.cjs` on release and guarded by
17636
17650
  * `tests/version-consistency.spec.ts` locally.
17637
17651
  */
17638
- const CLI_VERSION = "0.5.10";
17652
+ const CLI_VERSION = "0.5.12";
17639
17653
  function parseArgs(argv, onError) {
17640
17654
  const args = {
17641
17655
  target: ".",
@@ -9536,6 +9536,13 @@ const MEASURED_FP = {
9536
9536
  ciLow: .0705,
9537
9537
  ciHigh: .4519
9538
9538
  },
9539
+ "QA-ENV-001": {
9540
+ fpRate: 1,
9541
+ n: 20,
9542
+ detectorRevision: 3,
9543
+ ciLow: .8389,
9544
+ ciHigh: 1
9545
+ },
9539
9546
  "QA-JV-101": {
9540
9547
  fpRate: 0,
9541
9548
  n: 23,
@@ -9795,6 +9802,13 @@ const MEASURED_FP = {
9795
9802
  ciLow: .0329,
9796
9803
  ciHigh: .3434
9797
9804
  },
9805
+ "QA-PW-147": {
9806
+ fpRate: 1,
9807
+ n: 20,
9808
+ detectorRevision: 1,
9809
+ ciLow: .8389,
9810
+ ciHigh: 1
9811
+ },
9798
9812
  "QA-PY-001": {
9799
9813
  fpRate: 0,
9800
9814
  n: 12,
@@ -12989,7 +13003,7 @@ function pushCard(lines, card, ui) {
12989
13003
  lines.push(` ${severityIcon(card.severity, ui)} ${p.bold(card.loc)} ${p.dim(card.evidence)}`);
12990
13004
  const fields = [
12991
13005
  {
12992
- label: "Problem",
13006
+ label: "Finding",
12993
13007
  text: card.problem,
12994
13008
  dim: false
12995
13009
  },
@@ -13020,7 +13034,7 @@ function pushCard(lines, card, ui) {
13020
13034
  }
13021
13035
  /**
13022
13036
  * The findings experience — EVIDENCE layer. Cards carry
13023
- * severity → Problem → Impact → Fix → Verify; the evidence tag sits
13037
+ * severity → Finding → Impact → Fix → Verify; the evidence tag sits
13024
13038
  * beside the title. >3 findings sharing a rule collapse under one
13025
13039
  * "same fix applies" header. Non-verbose shows MAX_CARDS cards plus an
13026
13040
  * overflow line; --verbose shows everything.
@@ -13210,7 +13224,7 @@ function renderSarif(result, repoRootUri) {
13210
13224
  tool: { driver: {
13211
13225
  name: "Mjölnir",
13212
13226
  informationUri: "https://github.com/Sergey-Bar/Mjolnir",
13213
- version: "0.5.10",
13227
+ version: "0.5.12",
13214
13228
  rules: [...rules.values()].map((r) => {
13215
13229
  const meta = RULES.find((x) => x.id === r.id);
13216
13230
  return {
@@ -13568,7 +13582,7 @@ function renderPrComment(result, options = {}) {
13568
13582
  for (const d of result.dimensions) lines.push(`| ${escapeMarkdown(d.category)} | ${d.score}/100 |`);
13569
13583
  lines.push("");
13570
13584
  }
13571
- if (findings.length === 0) lines.push("✅ No new issues found in this PR's changes.");
13585
+ if (findings.length === 0) lines.push("✅ No new findings in this PR's changes.");
13572
13586
  else {
13573
13587
  const errors = findings.filter((f) => f.severity === "error");
13574
13588
  const warnings = findings.filter((f) => f.severity === "warning");
@@ -17635,7 +17649,7 @@ const { runScan, buildUniversalRules, fallbackWorkspace, pathMatchesGlob, isVali
17635
17649
  * `scripts/sync-sarif-version.cjs` on release and guarded by
17636
17650
  * `tests/version-consistency.spec.ts` locally.
17637
17651
  */
17638
- const CLI_VERSION = "0.5.10";
17652
+ const CLI_VERSION = "0.5.12";
17639
17653
  function parseArgs(argv, onError) {
17640
17654
  const args = {
17641
17655
  target: ".",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mjolnir-qa",
3
- "version": "0.5.10",
3
+ "version": "0.5.12",
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": {