@appchy/jarvis 0.1.117 → 0.1.118
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/bin.js +3 -3
- package/dist/bin.js.map +1 -1
- package/package.json +4 -4
package/dist/bin.js
CHANGED
|
@@ -10284,7 +10284,7 @@ import { createRequire as createRequire2 } from "module";
|
|
|
10284
10284
|
var _require = createRequire2(import.meta.url);
|
|
10285
10285
|
var VERSION2 = _require("../package.json").version ?? "0.0.0";
|
|
10286
10286
|
var IS_DEV = String(_require("../package.json").name ?? "").endsWith("-dev");
|
|
10287
|
-
var SHA = "
|
|
10287
|
+
var SHA = "1dfb739";
|
|
10288
10288
|
var BUILT = "2026-09-12";
|
|
10289
10289
|
var BUILD = SHA ?? "source";
|
|
10290
10290
|
var BUILD_LABEL = `${SHA ? `${VERSION2} (${SHA}${BUILT ? ` ${BUILT}` : ""})` : `${VERSION2} (source)`}${IS_DEV ? " \u2014 development build" : ""}`;
|
|
@@ -11321,7 +11321,7 @@ import { execFileSync as execFileSync3 } from "child_process";
|
|
|
11321
11321
|
import { readFileSync as readFileSync6, writeFileSync as writeFileSync3 } from "fs";
|
|
11322
11322
|
import { join as join8 } from "path";
|
|
11323
11323
|
var BASELINE = join8(".claude", "governance.baseline.json");
|
|
11324
|
-
var GOVERNS = (finding) => finding.severity === "warn"
|
|
11324
|
+
var GOVERNS = (finding) => finding.severity === "warn";
|
|
11325
11325
|
var REPORTED = (finding) => finding.severity === "info";
|
|
11326
11326
|
function countByRule(findings) {
|
|
11327
11327
|
const counts = {};
|
|
@@ -11341,7 +11341,7 @@ function readBaseline(repo) {
|
|
|
11341
11341
|
}
|
|
11342
11342
|
function ratchet(baseline, findings) {
|
|
11343
11343
|
const counts = countByRule(findings.filter(GOVERNS));
|
|
11344
|
-
const census = countByRule(findings.filter(REPORTED));
|
|
11344
|
+
const census = countByRule(findings.filter((each) => REPORTED(each) && !(each.code in counts)));
|
|
11345
11345
|
const raised = [];
|
|
11346
11346
|
const lowered = [];
|
|
11347
11347
|
if (!baseline.adopted)
|