@suss/checker-intent 0.1.0 → 0.2.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/dist/index.cjs CHANGED
@@ -111,7 +111,7 @@ function checkBoundaryIntent(intent, codeByBoundary) {
111
111
  };
112
112
  }
113
113
  function codeRef(impl) {
114
- return `${impl.location.file}::${impl.identity.name}`;
114
+ return (0, import_behavioral_ir.summaryRef)(impl);
115
115
  }
116
116
  function checkPrdCoverage(prd, boundaryByName) {
117
117
  const findings = [];
package/dist/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  // src/index.ts
2
- import { BOUNDARY_ROLE } from "@suss/behavioral-ir";
2
+ import { BOUNDARY_ROLE, summaryRef } from "@suss/behavioral-ir";
3
3
  import {
4
4
  applySuppressionsToFindings,
5
5
  bodyShapesMatch,
@@ -91,7 +91,7 @@ function checkBoundaryIntent(intent, codeByBoundary) {
91
91
  };
92
92
  }
93
93
  function codeRef(impl) {
94
- return `${impl.location.file}::${impl.identity.name}`;
94
+ return summaryRef(impl);
95
95
  }
96
96
  function checkPrdCoverage(prd, boundaryByName) {
97
97
  const findings = [];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@suss/checker-intent",
3
- "version": "0.1.0",
3
+ "version": "0.2.0",
4
4
  "type": "module",
5
5
  "description": "Pair team-authored intent (IntentSummary) against derived code (BehavioralSummary) and report where they diverge.",
6
6
  "keywords": [
@@ -47,9 +47,9 @@
47
47
  "zod": "^4.0.0"
48
48
  },
49
49
  "dependencies": {
50
- "@suss/behavioral-ir": "0.1.0",
51
- "@suss/intent-ir": "0.1.0",
52
- "@suss/ir-core": "0.1.0"
50
+ "@suss/behavioral-ir": "0.2.0",
51
+ "@suss/intent-ir": "0.2.0",
52
+ "@suss/ir-core": "0.2.0"
53
53
  },
54
54
  "devDependencies": {
55
55
  "tsup": "*",