@edihasaj/recall 0.8.9 → 0.8.11

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.
Files changed (57) hide show
  1. package/dist/{chunk-WEA6TDEJ.js → chunk-33KM4YYX.js} +7 -6
  2. package/dist/chunk-33KM4YYX.js.map +1 -0
  3. package/dist/{chunk-IZSEBIZH.js → chunk-55KCGAOX.js} +3 -2
  4. package/dist/{chunk-IZSEBIZH.js.map → chunk-55KCGAOX.js.map} +1 -1
  5. package/dist/{chunk-5QN5GGCV.js → chunk-BUE2NYW7.js} +8 -88
  6. package/dist/chunk-BUE2NYW7.js.map +1 -0
  7. package/dist/{chunk-2EKCJ2V3.js → chunk-CQZVFS3P.js} +4 -4
  8. package/dist/{chunk-246257OY.js → chunk-FKZ7IDIY.js} +3 -3
  9. package/dist/{chunk-YLWJKWHH.js → chunk-FXBABQCO.js} +8 -8
  10. package/dist/{chunk-K3SFQAT4.js → chunk-GLQOAY5O.js} +2 -2
  11. package/dist/{chunk-KCSMBLOA.js → chunk-MIRCNPUN.js} +4 -4
  12. package/dist/{chunk-BB66SNQU.js → chunk-OBKXBR7R.js} +164 -7
  13. package/dist/chunk-OBKXBR7R.js.map +1 -0
  14. package/dist/{chunk-LWCBXHOI.js → chunk-R4G62MKZ.js} +2 -2
  15. package/dist/{chunk-NTUQTB4R.js → chunk-TPCWQS6Q.js} +3 -3
  16. package/dist/{chunk-WZGPE3HG.js → chunk-UKDCVU5J.js} +25 -11
  17. package/dist/chunk-UKDCVU5J.js.map +1 -0
  18. package/dist/{chunk-3GRPT3EJ.js → chunk-VT5VAEHY.js} +2 -2
  19. package/dist/{cleanup-KRK5B3AD.js → cleanup-JSUCG5OV.js} +8 -6
  20. package/dist/cli.js +27 -26
  21. package/dist/cli.js.map +1 -1
  22. package/dist/daemon.js +16 -16
  23. package/dist/daemon.js.map +1 -1
  24. package/dist/{dispatcher-JQIVQUIM.js → dispatcher-SUJCOGWL.js} +6 -6
  25. package/dist/{embeddings-GYY66SAT.js → embeddings-5ARZAEM5.js} +3 -3
  26. package/dist/{ingest-27GZFC7Y.js → ingest-55ISNXYX.js} +6 -6
  27. package/dist/mcp.js +10 -10
  28. package/dist/{memory-value-N3YHRLO5.js → memory-value-56GK4AC6.js} +6 -6
  29. package/dist/{quality-RU6SM34C.js → quality-IXRBBLYF.js} +7 -7
  30. package/dist/retrieval-M566ZUK5.js +13 -0
  31. package/dist/{store-PRLXSOOC.js → store-QLWSC7S4.js} +3 -3
  32. package/dist/{tasks-43I6WNJS.js → tasks-XLCCB2LL.js} +6 -6
  33. package/dist/{usage-KHOLIR3S.js → usage-CAAACLUR.js} +3 -3
  34. package/package.json +1 -1
  35. package/dist/chunk-5QN5GGCV.js.map +0 -1
  36. package/dist/chunk-BB66SNQU.js.map +0 -1
  37. package/dist/chunk-WEA6TDEJ.js.map +0 -1
  38. package/dist/chunk-WZGPE3HG.js.map +0 -1
  39. package/dist/retrieval-MXYJRAEW.js +0 -13
  40. /package/dist/{chunk-2EKCJ2V3.js.map → chunk-CQZVFS3P.js.map} +0 -0
  41. /package/dist/{chunk-246257OY.js.map → chunk-FKZ7IDIY.js.map} +0 -0
  42. /package/dist/{chunk-YLWJKWHH.js.map → chunk-FXBABQCO.js.map} +0 -0
  43. /package/dist/{chunk-K3SFQAT4.js.map → chunk-GLQOAY5O.js.map} +0 -0
  44. /package/dist/{chunk-KCSMBLOA.js.map → chunk-MIRCNPUN.js.map} +0 -0
  45. /package/dist/{chunk-LWCBXHOI.js.map → chunk-R4G62MKZ.js.map} +0 -0
  46. /package/dist/{chunk-NTUQTB4R.js.map → chunk-TPCWQS6Q.js.map} +0 -0
  47. /package/dist/{chunk-3GRPT3EJ.js.map → chunk-VT5VAEHY.js.map} +0 -0
  48. /package/dist/{cleanup-KRK5B3AD.js.map → cleanup-JSUCG5OV.js.map} +0 -0
  49. /package/dist/{dispatcher-JQIVQUIM.js.map → dispatcher-SUJCOGWL.js.map} +0 -0
  50. /package/dist/{embeddings-GYY66SAT.js.map → embeddings-5ARZAEM5.js.map} +0 -0
  51. /package/dist/{ingest-27GZFC7Y.js.map → ingest-55ISNXYX.js.map} +0 -0
  52. /package/dist/{memory-value-N3YHRLO5.js.map → memory-value-56GK4AC6.js.map} +0 -0
  53. /package/dist/{quality-RU6SM34C.js.map → quality-IXRBBLYF.js.map} +0 -0
  54. /package/dist/{retrieval-MXYJRAEW.js.map → retrieval-M566ZUK5.js.map} +0 -0
  55. /package/dist/{store-PRLXSOOC.js.map → store-QLWSC7S4.js.map} +0 -0
  56. /package/dist/{tasks-43I6WNJS.js.map → tasks-XLCCB2LL.js.map} +0 -0
  57. /package/dist/{usage-KHOLIR3S.js.map → usage-CAAACLUR.js.map} +0 -0
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  computeMemoryValueReport
3
- } from "./chunk-WEA6TDEJ.js";
3
+ } from "./chunk-33KM4YYX.js";
4
4
  import {
5
5
  desc
6
- } from "./chunk-3GRPT3EJ.js";
6
+ } from "./chunk-VT5VAEHY.js";
7
7
  import {
8
8
  and,
9
9
  eq,
@@ -14,7 +14,7 @@ import {
14
14
  memoryInjections,
15
15
  qualitySnapshots,
16
16
  sql
17
- } from "./chunk-IZSEBIZH.js";
17
+ } from "./chunk-55KCGAOX.js";
18
18
 
19
19
  // src/maintenance/quality.ts
20
20
  import { randomUUID } from "crypto";
@@ -180,4 +180,4 @@ export {
180
180
  diffQualitySnapshots,
181
181
  formatQualityReport
182
182
  };
183
- //# sourceMappingURL=chunk-2EKCJ2V3.js.map
183
+ //# sourceMappingURL=chunk-CQZVFS3P.js.map
@@ -3,10 +3,10 @@ import {
3
3
  linkMemoryToEntity,
4
4
  upsertEntity,
5
5
  upsertRelation
6
- } from "./chunk-LWCBXHOI.js";
6
+ } from "./chunk-R4G62MKZ.js";
7
7
  import {
8
8
  getMemory
9
- } from "./chunk-NTUQTB4R.js";
9
+ } from "./chunk-TPCWQS6Q.js";
10
10
 
11
11
  // src/graph/extractor.ts
12
12
  var PATH_RE = /(?:^|[\s`'"(])((?:\.{0,2}\/)?(?:[A-Za-z0-9_.-]+\/){1,}[A-Za-z0-9_.-]+\.[A-Za-z0-9]{1,8})/g;
@@ -232,4 +232,4 @@ export {
232
232
  mergeAndIngest,
233
233
  safeIngestMemoryById
234
234
  };
235
- //# sourceMappingURL=chunk-246257OY.js.map
235
+ //# sourceMappingURL=chunk-FKZ7IDIY.js.map
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  graphQuery
3
- } from "./chunk-KCSMBLOA.js";
3
+ } from "./chunk-MIRCNPUN.js";
4
4
  import {
5
5
  getEntity,
6
6
  listEntities,
7
7
  listMemoryIdsForEntity,
8
8
  neighborsOf
9
- } from "./chunk-LWCBXHOI.js";
9
+ } from "./chunk-R4G62MKZ.js";
10
10
  import {
11
11
  captureCorrectionFallback,
12
12
  compileContext,
@@ -32,10 +32,10 @@ import {
32
32
  scanAndStore,
33
33
  sessionEndFallback,
34
34
  signalOutcomeFallback
35
- } from "./chunk-5QN5GGCV.js";
35
+ } from "./chunk-BUE2NYW7.js";
36
36
  import {
37
37
  recordCompletionUseValueEventsSemantic
38
- } from "./chunk-WEA6TDEJ.js";
38
+ } from "./chunk-33KM4YYX.js";
39
39
  import {
40
40
  DEFAULT_LEASE_SECONDS,
41
41
  TaskClaimConflictError,
@@ -56,18 +56,18 @@ import {
56
56
  releaseTask,
57
57
  rollbackMemory,
58
58
  submitTask
59
- } from "./chunk-BB66SNQU.js";
59
+ } from "./chunk-OBKXBR7R.js";
60
60
  import {
61
61
  confirmMemory,
62
62
  demoteGlobalMemory,
63
63
  getMemory,
64
64
  queryMemories,
65
65
  rejectMemory
66
- } from "./chunk-NTUQTB4R.js";
66
+ } from "./chunk-TPCWQS6Q.js";
67
67
  import {
68
68
  loadEmbeddingConfigFromEnv,
69
69
  tagActivitySource
70
- } from "./chunk-K3SFQAT4.js";
70
+ } from "./chunk-GLQOAY5O.js";
71
71
 
72
72
  // src/mcp/factory.ts
73
73
  import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js";
@@ -1197,4 +1197,4 @@ function createRecallMcpServer(db = initDb()) {
1197
1197
  export {
1198
1198
  createRecallMcpServer
1199
1199
  };
1200
- //# sourceMappingURL=chunk-YLWJKWHH.js.map
1200
+ //# sourceMappingURL=chunk-FXBABQCO.js.map
@@ -3,7 +3,7 @@ import {
3
3
  llmUsage,
4
4
  memories,
5
5
  memoryEmbeddings
6
- } from "./chunk-IZSEBIZH.js";
6
+ } from "./chunk-55KCGAOX.js";
7
7
  import {
8
8
  getProviderConfig,
9
9
  hasProviderConfigured,
@@ -2344,4 +2344,4 @@ export {
2344
2344
  findSemanticDuplicates,
2345
2345
  findSimilarRejectedExemplar
2346
2346
  };
2347
- //# sourceMappingURL=chunk-K3SFQAT4.js.map
2347
+ //# sourceMappingURL=chunk-GLQOAY5O.js.map
@@ -2,14 +2,14 @@ import {
2
2
  listEntitiesForMemory,
3
3
  listMemoryIdsForEntity,
4
4
  neighborsOf
5
- } from "./chunk-LWCBXHOI.js";
5
+ } from "./chunk-R4G62MKZ.js";
6
6
  import {
7
7
  getMemory
8
- } from "./chunk-NTUQTB4R.js";
8
+ } from "./chunk-TPCWQS6Q.js";
9
9
  import {
10
10
  hybridSearch,
11
11
  searchMemoryFtsIndex
12
- } from "./chunk-K3SFQAT4.js";
12
+ } from "./chunk-GLQOAY5O.js";
13
13
 
14
14
  // src/graph/retrieval.ts
15
15
  var SEED_WEIGHT = 1;
@@ -120,4 +120,4 @@ async function graphQuery(db, query, embeddingConfig, options = {}) {
120
120
  export {
121
121
  graphQuery
122
122
  };
123
- //# sourceMappingURL=chunk-KCSMBLOA.js.map
123
+ //# sourceMappingURL=chunk-MIRCNPUN.js.map
@@ -12,10 +12,10 @@ import {
12
12
  promoteMemory,
13
13
  queryMemories,
14
14
  updateMemoryCaptureContext
15
- } from "./chunk-NTUQTB4R.js";
15
+ } from "./chunk-TPCWQS6Q.js";
16
16
  import {
17
17
  desc
18
- } from "./chunk-3GRPT3EJ.js";
18
+ } from "./chunk-VT5VAEHY.js";
19
19
  import {
20
20
  CONFIDENCE,
21
21
  LlmCredentialError,
@@ -24,7 +24,7 @@ import {
24
24
  findSimilarRejectedExemplar,
25
25
  loadEmbeddingConfigFromEnv,
26
26
  queueMemoryEmbeddingSync
27
- } from "./chunk-K3SFQAT4.js";
27
+ } from "./chunk-GLQOAY5O.js";
28
28
  import {
29
29
  activityEvents,
30
30
  and,
@@ -45,7 +45,7 @@ import {
45
45
  memoryMaintenanceTasks,
46
46
  or,
47
47
  sql
48
- } from "./chunk-IZSEBIZH.js";
48
+ } from "./chunk-55KCGAOX.js";
49
49
  import {
50
50
  hasProviderConfigured,
51
51
  init_keychain
@@ -1175,6 +1175,90 @@ function wordOverlap(a, b) {
1175
1175
  return intersection.length / union.size;
1176
1176
  }
1177
1177
 
1178
+ // src/scanner/signal.ts
1179
+ var ACTIVE_COMMAND_PATTERNS = [
1180
+ /^use\b/i,
1181
+ /^makefile targets:/i
1182
+ ];
1183
+ var PACKAGE_SCRIPT_PATTERN = /^(test|build|lint|dev|start|typecheck|check):\s*`.+`$/i;
1184
+ var CANDIDATE_GOTCHA_PATTERNS = [
1185
+ /^next\.js project$/i,
1186
+ /^react project\b/i,
1187
+ /^vue\.js project$/i,
1188
+ /^svelte project$/i,
1189
+ /^server framework:/i,
1190
+ /^uses alembic\b/i
1191
+ ];
1192
+ var ACTIONABLE_RULE_PATTERN = /\b(always|never|must|don't|do not|required|prefer|avoid|use|keep|run|update|add|remove|check|only)\b/i;
1193
+ function evaluateScannedMemory(input) {
1194
+ const normalized = normalizeScannedText(input.text);
1195
+ const lower = normalized.toLowerCase();
1196
+ if (!normalized || normalized.length < 12) {
1197
+ return reject(normalized, "too_short");
1198
+ }
1199
+ if (lower.startsWith("setup commands from readme:")) {
1200
+ return reject(normalized, "readme_setup_noise");
1201
+ }
1202
+ if (lower === "what we do not build") {
1203
+ return reject(normalized, "section_heading");
1204
+ }
1205
+ if (/^ci:\s*(github actions|gitlab ci)\b/i.test(normalized)) {
1206
+ return reject(normalized, "generic_ci");
1207
+ }
1208
+ if (/^req-[a-z0-9-]+:/i.test(lower)) {
1209
+ return reject(normalized, "spec_requirement");
1210
+ }
1211
+ if (/^[A-Z][A-Za-z0-9 /_-]{1,80}:$/.test(normalized)) {
1212
+ return reject(normalized, "heading");
1213
+ }
1214
+ if (input.source === "config_parse" && lower.startsWith("linting/formatting: python project")) {
1215
+ return reject(normalized, "generic_tooling");
1216
+ }
1217
+ if (isGenericScannedToolingMemory(input)) {
1218
+ return reject(normalized, PACKAGE_SCRIPT_PATTERN.test(normalized) ? "generic_package_script" : "generic_tooling");
1219
+ }
1220
+ if (ACTIVE_COMMAND_PATTERNS.some((pattern) => pattern.test(normalized))) {
1221
+ return keep(normalized, Math.max(input.confidence, 0.62));
1222
+ }
1223
+ if (input.type === "command") {
1224
+ return keep(normalized, toCandidateConfidence(input.confidence));
1225
+ }
1226
+ if (input.type === "gotcha") {
1227
+ if (CANDIDATE_GOTCHA_PATTERNS.some((pattern) => pattern.test(normalized))) {
1228
+ return keep(normalized, toCandidateConfidence(input.confidence));
1229
+ }
1230
+ return reject(normalized, "generic_gotcha");
1231
+ }
1232
+ if (input.type === "rule") {
1233
+ if (!ACTIONABLE_RULE_PATTERN.test(normalized)) {
1234
+ return reject(normalized, "non_actionable_rule");
1235
+ }
1236
+ return keep(normalized, toCandidateConfidence(input.confidence));
1237
+ }
1238
+ return keep(normalized, toCandidateConfidence(input.confidence));
1239
+ }
1240
+ function isGenericScannedToolingMemory(input) {
1241
+ if (input.source !== "config_parse") return false;
1242
+ const normalized = normalizeScannedText(input.text);
1243
+ const lower = normalized.toLowerCase();
1244
+ return input.type === "command" && PACKAGE_SCRIPT_PATTERN.test(normalized) || lower.startsWith("linting/formatting:");
1245
+ }
1246
+ function normalizeScannedText(text) {
1247
+ return text.replace(/\*\*/g, "").split("\n").map((line) => line.replace(/^[-*#>\s]+/, "").replace(/^\d+\.\s+/, "").trim()).filter(Boolean).join("\n").replace(/[ \t]+/g, " ").trim();
1248
+ }
1249
+ function toCandidateConfidence(confidence) {
1250
+ return clamp3(confidence, CONFIDENCE.TRANSIENT_MAX + 0.05, CONFIDENCE.ACTIVE_MIN - 0.01);
1251
+ }
1252
+ function keep(text, confidence) {
1253
+ return { action: "keep", text, confidence: clamp3(confidence) };
1254
+ }
1255
+ function reject(text, reason) {
1256
+ return { action: "reject", text, confidence: 0, reason };
1257
+ }
1258
+ function clamp3(n, min = 0, max = 1) {
1259
+ return Math.max(min, Math.min(max, n));
1260
+ }
1261
+
1178
1262
  // src/maintenance/cleanup.ts
1179
1263
  var SUPPRESS_INJECTION_FLOOR = 50;
1180
1264
  var GLOBALIZE_REPO_FLOOR = 3;
@@ -1204,6 +1288,9 @@ function runDeterministicCleanup(db, opts = { dryRun: true }) {
1204
1288
  if (!opts.only || opts.only === "reject_invalid_scope") {
1205
1289
  plan.push(...planRejectInvalidScopes(db));
1206
1290
  }
1291
+ if (!opts.only || opts.only === "reject_generic_scanned_tooling") {
1292
+ plan.push(...planRejectGenericScannedTooling(db));
1293
+ }
1207
1294
  const counts = summarize(plan);
1208
1295
  if (!opts.dryRun) {
1209
1296
  for (const item of plan) {
@@ -1229,6 +1316,9 @@ function runDeterministicCleanup(db, opts = { dryRun: true }) {
1229
1316
  case "reject_invalid_scope":
1230
1317
  applyRejectInvalidScope(db, runId, item);
1231
1318
  break;
1319
+ case "reject_generic_scanned_tooling":
1320
+ applyRejectGenericScannedTooling(db, runId, item);
1321
+ break;
1232
1322
  }
1233
1323
  }
1234
1324
  }
@@ -1251,6 +1341,7 @@ function summarize(plan) {
1251
1341
  let globalizeLosers = 0;
1252
1342
  let testFixtureRejections = 0;
1253
1343
  let invalidScopeRejections = 0;
1344
+ let genericScannedToolingRejections = 0;
1254
1345
  let e2eArtifactRejections = 0;
1255
1346
  for (const p of plan) {
1256
1347
  if (p.kind === "dedupe_exact_merge") {
@@ -1267,8 +1358,10 @@ function summarize(plan) {
1267
1358
  globalizeLosers += p.loser_ids.length;
1268
1359
  } else if (p.kind === "reject_test_fixture_repo") {
1269
1360
  testFixtureRejections += 1;
1270
- } else {
1361
+ } else if (p.kind === "reject_invalid_scope") {
1271
1362
  invalidScopeRejections += 1;
1363
+ } else {
1364
+ genericScannedToolingRejections += 1;
1272
1365
  }
1273
1366
  if (p.kind === "reject_fragment_candidate" && p.reasons.includes("e2e_verification_artifact")) {
1274
1367
  e2eArtifactRejections += 1;
@@ -1284,6 +1377,7 @@ function summarize(plan) {
1284
1377
  globalize_losers: globalizeLosers,
1285
1378
  test_fixture_rejections: testFixtureRejections,
1286
1379
  invalid_scope_rejections: invalidScopeRejections,
1380
+ generic_scanned_tooling_rejections: genericScannedToolingRejections,
1287
1381
  e2e_artifact_rejections: e2eArtifactRejections
1288
1382
  };
1289
1383
  }
@@ -1677,6 +1771,63 @@ function applyRejectInvalidScope(db, runId, plan) {
1677
1771
  created_at: now
1678
1772
  }).run();
1679
1773
  }
1774
+ function planRejectGenericScannedTooling(db) {
1775
+ const rows = db.select({
1776
+ id: memories.id,
1777
+ text: memories.text,
1778
+ type: memories.type,
1779
+ source: memories.source,
1780
+ status: memories.status
1781
+ }).from(memories).where(and(
1782
+ inArray(memories.status, ["active", "candidate"]),
1783
+ eq(memories.source, "config_parse")
1784
+ )).all();
1785
+ return rows.filter(
1786
+ (row) => isGenericScannedToolingMemory({
1787
+ text: row.text,
1788
+ type: row.type,
1789
+ source: row.source
1790
+ })
1791
+ ).map((row) => ({
1792
+ kind: "reject_generic_scanned_tooling",
1793
+ memory_id: row.id,
1794
+ text: row.text,
1795
+ source: row.source,
1796
+ memory_type: row.type
1797
+ }));
1798
+ }
1799
+ function applyRejectGenericScannedTooling(db, runId, plan) {
1800
+ const before = getMemory(db, plan.memory_id);
1801
+ if (!before || !["active", "candidate"].includes(before.status)) return;
1802
+ const now = (/* @__PURE__ */ new Date()).toISOString();
1803
+ db.update(memories).set({ status: "rejected", dedupe_key: null, updated_at: now }).where(eq(memories.id, plan.memory_id)).run();
1804
+ const after = getMemory(db, plan.memory_id);
1805
+ recordAuditWithSnapshot(
1806
+ db,
1807
+ plan.memory_id,
1808
+ "rejected",
1809
+ DEFAULT_ACTOR,
1810
+ `cleanup_generic_scanned_tooling:run:${runId}`,
1811
+ before,
1812
+ after ?? null
1813
+ );
1814
+ db.insert(maintenanceCleanupLog).values({
1815
+ id: randomUUID3(),
1816
+ run_id: runId,
1817
+ action: "reject_generic_scanned_tooling",
1818
+ memory_id: plan.memory_id,
1819
+ related_memory_id: null,
1820
+ before_snapshot: before,
1821
+ after_snapshot: after,
1822
+ details: {
1823
+ source: plan.source,
1824
+ memory_type: plan.memory_type
1825
+ },
1826
+ reverted: false,
1827
+ reverted_at: null,
1828
+ created_at: now
1829
+ }).run();
1830
+ }
1680
1831
  function planPromoteRepeats(db) {
1681
1832
  const rows = db.select({
1682
1833
  id: memories.id,
@@ -1997,6 +2148,7 @@ function formatCleanupReport(report) {
1997
2148
  lines.push(` globalizations: ${report.counts.globalizations} (losers=${report.counts.globalize_losers})`);
1998
2149
  lines.push(` test_fixture_rejects: ${report.counts.test_fixture_rejections}`);
1999
2150
  lines.push(` invalid_scope_rejects:${report.counts.invalid_scope_rejections}`);
2151
+ lines.push(` generic_tool_rejects: ${report.counts.generic_scanned_tooling_rejections}`);
2000
2152
  lines.push(` e2e_artifact_rejects: ${report.counts.e2e_artifact_rejections}`);
2001
2153
  if (report.plan.length === 0) {
2002
2154
  lines.push(" (no actions)");
@@ -2022,9 +2174,12 @@ function formatCleanupReport(report) {
2022
2174
  } else if (item.kind === "reject_test_fixture_repo") {
2023
2175
  lines.push(` reject-test-repo: ${item.memory_id.slice(0, 8)} repo=${item.repo}`);
2024
2176
  lines.push(` "${truncate(item.text, 80)}"`);
2025
- } else {
2177
+ } else if (item.kind === "reject_invalid_scope") {
2026
2178
  lines.push(` reject-invalid-scope: ${item.memory_id.slice(0, 8)} scope=${item.scope} repo=${item.repo ?? "-"} path=${item.path_scope ?? "-"} reasons=${item.reasons.join(",")}`);
2027
2179
  lines.push(` "${truncate(item.text, 80)}"`);
2180
+ } else {
2181
+ lines.push(` reject-generic-tooling: ${item.memory_id.slice(0, 8)} source=${item.source} type=${item.memory_type}`);
2182
+ lines.push(` "${truncate(item.text, 80)}"`);
2028
2183
  }
2029
2184
  }
2030
2185
  return lines.join("\n");
@@ -3648,12 +3803,14 @@ export {
3648
3803
  resolveContradiction,
3649
3804
  autoResolveContradictions,
3650
3805
  listContradictions,
3806
+ evaluateScannedMemory,
3651
3807
  runDeterministicCleanup,
3652
3808
  planDedupeExact,
3653
3809
  planRejectFragments,
3654
3810
  qualityReasons,
3655
3811
  planRejectTestFixtureRepos,
3656
3812
  planRejectInvalidScopes,
3813
+ planRejectGenericScannedTooling,
3657
3814
  planPromoteRepeats,
3658
3815
  planSuppressCommands,
3659
3816
  planGlobalizeCrossRepo,
@@ -3668,4 +3825,4 @@ export {
3668
3825
  processCorrection,
3669
3826
  processReviewFeedback
3670
3827
  };
3671
- //# sourceMappingURL=chunk-BB66SNQU.js.map
3828
+ //# sourceMappingURL=chunk-OBKXBR7R.js.map