@appchy/jarvis 0.1.90 → 0.1.92

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 CHANGED
@@ -8478,16 +8478,25 @@ function planScope(ctx, req) {
8478
8478
  anticipated,
8479
8479
  editCodeNodes,
8480
8480
  governance,
8481
- obligations: toObligations(governance, anticipated, testsCovering),
8481
+ obligations: toObligations(governance, anticipated, testsCovering, ctx.config.evidence),
8482
8482
  references,
8483
8483
  testsCovering,
8484
8484
  blastRadius,
8485
8485
  lowConfidence
8486
8486
  };
8487
8487
  }
8488
- function toObligations(governance, existing = [], keep = []) {
8488
+ function toObligations(governance, existing = [], keep = [], evidenceRelations = []) {
8489
+ const isEvidence = new Set(evidenceRelations);
8489
8490
  const rules = governance.map((g) => {
8490
8491
  const full = g.body !== void 0;
8492
+ if (g.relations.some((r) => isEvidence.has(r))) {
8493
+ return {
8494
+ type: "keep",
8495
+ id: g.id,
8496
+ full,
8497
+ statement: `This code is what keeps it true today. Say how the change leaves it true.`
8498
+ };
8499
+ }
8491
8500
  return {
8492
8501
  type: "governance",
8493
8502
  id: g.id,
@@ -10145,7 +10154,7 @@ import { createRequire as createRequire2 } from "module";
10145
10154
  var _require = createRequire2(import.meta.url);
10146
10155
  var VERSION2 = _require("../package.json").version ?? "0.0.0";
10147
10156
  var IS_DEV = String(_require("../package.json").name ?? "").endsWith("-dev");
10148
- var SHA = "223098e";
10157
+ var SHA = "d1b56ae";
10149
10158
  var BUILT = "2026-09-11";
10150
10159
  var BUILD = SHA ?? "source";
10151
10160
  var BUILD_LABEL = `${SHA ? `${VERSION2} (${SHA}${BUILT ? ` ${BUILT}` : ""})` : `${VERSION2} (source)`}${IS_DEV ? " \u2014 development build" : ""}`;