@edihasaj/recall 0.8.10 → 0.8.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/{chunk-TW7QBUPE.js → chunk-33KM4YYX.js} +5 -5
- package/dist/{chunk-IZSEBIZH.js → chunk-55KCGAOX.js} +3 -2
- package/dist/{chunk-IZSEBIZH.js.map → chunk-55KCGAOX.js.map} +1 -1
- package/dist/{chunk-ORJTJU52.js → chunk-6CSJD45G.js} +8 -8
- package/dist/{chunk-2WNWDLUS.js → chunk-CQZVFS3P.js} +4 -4
- package/dist/{chunk-6RVG472Q.js → chunk-FIWV6K57.js} +8 -88
- package/dist/chunk-FIWV6K57.js.map +1 -0
- package/dist/{chunk-246257OY.js → chunk-FKZ7IDIY.js} +3 -3
- package/dist/{chunk-K3SFQAT4.js → chunk-GLQOAY5O.js} +2 -2
- package/dist/{chunk-BB66SNQU.js → chunk-JPHSGWSI.js} +195 -7
- package/dist/chunk-JPHSGWSI.js.map +1 -0
- package/dist/{chunk-KCSMBLOA.js → chunk-MIRCNPUN.js} +4 -4
- package/dist/{chunk-LWCBXHOI.js → chunk-R4G62MKZ.js} +2 -2
- package/dist/{chunk-NTUQTB4R.js → chunk-TPCWQS6Q.js} +3 -3
- package/dist/{chunk-3GRPT3EJ.js → chunk-VT5VAEHY.js} +2 -2
- package/dist/{chunk-QXFNOEC5.js → chunk-XRM6FCWH.js} +8 -8
- package/dist/{cleanup-KRK5B3AD.js → cleanup-6OK2DCUA.js} +8 -6
- package/dist/cli.js +24 -24
- package/dist/cli.js.map +1 -1
- package/dist/daemon.js +16 -16
- package/dist/daemon.js.map +1 -1
- package/dist/{dispatcher-JQIVQUIM.js → dispatcher-2Z27VP5Q.js} +6 -6
- package/dist/{embeddings-GYY66SAT.js → embeddings-5ARZAEM5.js} +3 -3
- package/dist/{ingest-27GZFC7Y.js → ingest-55ISNXYX.js} +6 -6
- package/dist/mcp.js +10 -10
- package/dist/{memory-value-EO7V2QMP.js → memory-value-56GK4AC6.js} +6 -6
- package/dist/{quality-E272AKPW.js → quality-IXRBBLYF.js} +7 -7
- package/dist/retrieval-M566ZUK5.js +13 -0
- package/dist/{store-PRLXSOOC.js → store-QLWSC7S4.js} +3 -3
- package/dist/{tasks-43I6WNJS.js → tasks-OZ3IRHL5.js} +6 -6
- package/dist/{usage-KHOLIR3S.js → usage-CAAACLUR.js} +3 -3
- package/package.json +1 -1
- package/dist/chunk-6RVG472Q.js.map +0 -1
- package/dist/chunk-BB66SNQU.js.map +0 -1
- package/dist/retrieval-MXYJRAEW.js +0 -13
- /package/dist/{chunk-TW7QBUPE.js.map → chunk-33KM4YYX.js.map} +0 -0
- /package/dist/{chunk-ORJTJU52.js.map → chunk-6CSJD45G.js.map} +0 -0
- /package/dist/{chunk-2WNWDLUS.js.map → chunk-CQZVFS3P.js.map} +0 -0
- /package/dist/{chunk-246257OY.js.map → chunk-FKZ7IDIY.js.map} +0 -0
- /package/dist/{chunk-K3SFQAT4.js.map → chunk-GLQOAY5O.js.map} +0 -0
- /package/dist/{chunk-KCSMBLOA.js.map → chunk-MIRCNPUN.js.map} +0 -0
- /package/dist/{chunk-LWCBXHOI.js.map → chunk-R4G62MKZ.js.map} +0 -0
- /package/dist/{chunk-NTUQTB4R.js.map → chunk-TPCWQS6Q.js.map} +0 -0
- /package/dist/{chunk-3GRPT3EJ.js.map → chunk-VT5VAEHY.js.map} +0 -0
- /package/dist/{chunk-QXFNOEC5.js.map → chunk-XRM6FCWH.js.map} +0 -0
- /package/dist/{cleanup-KRK5B3AD.js.map → cleanup-6OK2DCUA.js.map} +0 -0
- /package/dist/{dispatcher-JQIVQUIM.js.map → dispatcher-2Z27VP5Q.js.map} +0 -0
- /package/dist/{embeddings-GYY66SAT.js.map → embeddings-5ARZAEM5.js.map} +0 -0
- /package/dist/{ingest-27GZFC7Y.js.map → ingest-55ISNXYX.js.map} +0 -0
- /package/dist/{memory-value-EO7V2QMP.js.map → memory-value-56GK4AC6.js.map} +0 -0
- /package/dist/{quality-E272AKPW.js.map → quality-IXRBBLYF.js.map} +0 -0
- /package/dist/{retrieval-MXYJRAEW.js.map → retrieval-M566ZUK5.js.map} +0 -0
- /package/dist/{store-PRLXSOOC.js.map → store-QLWSC7S4.js.map} +0 -0
- /package/dist/{tasks-43I6WNJS.js.map → tasks-OZ3IRHL5.js.map} +0 -0
- /package/dist/{usage-KHOLIR3S.js.map → usage-CAAACLUR.js.map} +0 -0
|
@@ -3,10 +3,10 @@ import {
|
|
|
3
3
|
linkMemoryToEntity,
|
|
4
4
|
upsertEntity,
|
|
5
5
|
upsertRelation
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-R4G62MKZ.js";
|
|
7
7
|
import {
|
|
8
8
|
getMemory
|
|
9
|
-
} from "./chunk-
|
|
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-
|
|
235
|
+
//# sourceMappingURL=chunk-FKZ7IDIY.js.map
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
llmUsage,
|
|
4
4
|
memories,
|
|
5
5
|
memoryEmbeddings
|
|
6
|
-
} from "./chunk-
|
|
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-
|
|
2347
|
+
//# sourceMappingURL=chunk-GLQOAY5O.js.map
|
|
@@ -12,10 +12,10 @@ import {
|
|
|
12
12
|
promoteMemory,
|
|
13
13
|
queryMemories,
|
|
14
14
|
updateMemoryCaptureContext
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-TPCWQS6Q.js";
|
|
16
16
|
import {
|
|
17
17
|
desc
|
|
18
|
-
} from "./chunk-
|
|
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-
|
|
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-
|
|
48
|
+
} from "./chunk-55KCGAOX.js";
|
|
49
49
|
import {
|
|
50
50
|
hasProviderConfigured,
|
|
51
51
|
init_keychain
|
|
@@ -1175,6 +1175,121 @@ 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
|
+
];
|
|
1182
|
+
var PACKAGE_SCRIPT_PATTERN = /^(test|build|lint|dev|start|typecheck|check):\s*`.+`$/i;
|
|
1183
|
+
var MAKEFILE_TARGETS_PATTERN = /^makefile targets:/i;
|
|
1184
|
+
var GENERIC_MAKE_TARGETS = /* @__PURE__ */ new Set([
|
|
1185
|
+
"all",
|
|
1186
|
+
"bench",
|
|
1187
|
+
"build",
|
|
1188
|
+
"check",
|
|
1189
|
+
"ci",
|
|
1190
|
+
"clean",
|
|
1191
|
+
"coverage",
|
|
1192
|
+
"deploy",
|
|
1193
|
+
"dev",
|
|
1194
|
+
"dist",
|
|
1195
|
+
"docs",
|
|
1196
|
+
"fmt",
|
|
1197
|
+
"format",
|
|
1198
|
+
"help",
|
|
1199
|
+
"install",
|
|
1200
|
+
"lint",
|
|
1201
|
+
"release",
|
|
1202
|
+
"run",
|
|
1203
|
+
"setup",
|
|
1204
|
+
"start",
|
|
1205
|
+
"test",
|
|
1206
|
+
"tidy",
|
|
1207
|
+
"typecheck"
|
|
1208
|
+
]);
|
|
1209
|
+
var CANDIDATE_GOTCHA_PATTERNS = [
|
|
1210
|
+
/^next\.js project$/i,
|
|
1211
|
+
/^react project\b/i,
|
|
1212
|
+
/^vue\.js project$/i,
|
|
1213
|
+
/^svelte project$/i,
|
|
1214
|
+
/^server framework:/i,
|
|
1215
|
+
/^uses alembic\b/i
|
|
1216
|
+
];
|
|
1217
|
+
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;
|
|
1218
|
+
function evaluateScannedMemory(input) {
|
|
1219
|
+
const normalized = normalizeScannedText(input.text);
|
|
1220
|
+
const lower = normalized.toLowerCase();
|
|
1221
|
+
if (!normalized || normalized.length < 12) {
|
|
1222
|
+
return reject(normalized, "too_short");
|
|
1223
|
+
}
|
|
1224
|
+
if (lower.startsWith("setup commands from readme:")) {
|
|
1225
|
+
return reject(normalized, "readme_setup_noise");
|
|
1226
|
+
}
|
|
1227
|
+
if (lower === "what we do not build") {
|
|
1228
|
+
return reject(normalized, "section_heading");
|
|
1229
|
+
}
|
|
1230
|
+
if (/^ci:\s*(github actions|gitlab ci)\b/i.test(normalized)) {
|
|
1231
|
+
return reject(normalized, "generic_ci");
|
|
1232
|
+
}
|
|
1233
|
+
if (/^req-[a-z0-9-]+:/i.test(lower)) {
|
|
1234
|
+
return reject(normalized, "spec_requirement");
|
|
1235
|
+
}
|
|
1236
|
+
if (/^[A-Z][A-Za-z0-9 /_-]{1,80}:$/.test(normalized)) {
|
|
1237
|
+
return reject(normalized, "heading");
|
|
1238
|
+
}
|
|
1239
|
+
if (input.source === "config_parse" && lower.startsWith("linting/formatting: python project")) {
|
|
1240
|
+
return reject(normalized, "generic_tooling");
|
|
1241
|
+
}
|
|
1242
|
+
if (isGenericScannedToolingMemory(input)) {
|
|
1243
|
+
return reject(normalized, PACKAGE_SCRIPT_PATTERN.test(normalized) ? "generic_package_script" : "generic_tooling");
|
|
1244
|
+
}
|
|
1245
|
+
if (ACTIVE_COMMAND_PATTERNS.some((pattern) => pattern.test(normalized))) {
|
|
1246
|
+
return keep(normalized, Math.max(input.confidence, 0.62));
|
|
1247
|
+
}
|
|
1248
|
+
if (input.type === "command") {
|
|
1249
|
+
return keep(normalized, toCandidateConfidence(input.confidence));
|
|
1250
|
+
}
|
|
1251
|
+
if (input.type === "gotcha") {
|
|
1252
|
+
if (CANDIDATE_GOTCHA_PATTERNS.some((pattern) => pattern.test(normalized))) {
|
|
1253
|
+
return keep(normalized, toCandidateConfidence(input.confidence));
|
|
1254
|
+
}
|
|
1255
|
+
return reject(normalized, "generic_gotcha");
|
|
1256
|
+
}
|
|
1257
|
+
if (input.type === "rule") {
|
|
1258
|
+
if (!ACTIONABLE_RULE_PATTERN.test(normalized)) {
|
|
1259
|
+
return reject(normalized, "non_actionable_rule");
|
|
1260
|
+
}
|
|
1261
|
+
return keep(normalized, toCandidateConfidence(input.confidence));
|
|
1262
|
+
}
|
|
1263
|
+
return keep(normalized, toCandidateConfidence(input.confidence));
|
|
1264
|
+
}
|
|
1265
|
+
function isGenericScannedToolingMemory(input) {
|
|
1266
|
+
if (input.source !== "config_parse") return false;
|
|
1267
|
+
const normalized = normalizeScannedText(input.text);
|
|
1268
|
+
const lower = normalized.toLowerCase();
|
|
1269
|
+
return input.type === "command" && PACKAGE_SCRIPT_PATTERN.test(normalized) || isGenericMakefileTargets(normalized) || lower.startsWith("linting/formatting:");
|
|
1270
|
+
}
|
|
1271
|
+
function isGenericMakefileTargets(normalized) {
|
|
1272
|
+
if (!MAKEFILE_TARGETS_PATTERN.test(normalized)) return false;
|
|
1273
|
+
const targets = [...normalized.matchAll(/make\s+([a-z0-9][\w-]*)/gi)].map((m) => m[1].toLowerCase());
|
|
1274
|
+
if (targets.length === 0) return true;
|
|
1275
|
+
return targets.every((target) => GENERIC_MAKE_TARGETS.has(target));
|
|
1276
|
+
}
|
|
1277
|
+
function normalizeScannedText(text) {
|
|
1278
|
+
return text.replace(/\*\*/g, "").split("\n").map((line) => line.replace(/^[-*#>\s]+/, "").replace(/^\d+\.\s+/, "").trim()).filter(Boolean).join("\n").replace(/[ \t]+/g, " ").trim();
|
|
1279
|
+
}
|
|
1280
|
+
function toCandidateConfidence(confidence) {
|
|
1281
|
+
return clamp3(confidence, CONFIDENCE.TRANSIENT_MAX + 0.05, CONFIDENCE.ACTIVE_MIN - 0.01);
|
|
1282
|
+
}
|
|
1283
|
+
function keep(text, confidence) {
|
|
1284
|
+
return { action: "keep", text, confidence: clamp3(confidence) };
|
|
1285
|
+
}
|
|
1286
|
+
function reject(text, reason) {
|
|
1287
|
+
return { action: "reject", text, confidence: 0, reason };
|
|
1288
|
+
}
|
|
1289
|
+
function clamp3(n, min = 0, max = 1) {
|
|
1290
|
+
return Math.max(min, Math.min(max, n));
|
|
1291
|
+
}
|
|
1292
|
+
|
|
1178
1293
|
// src/maintenance/cleanup.ts
|
|
1179
1294
|
var SUPPRESS_INJECTION_FLOOR = 50;
|
|
1180
1295
|
var GLOBALIZE_REPO_FLOOR = 3;
|
|
@@ -1204,6 +1319,9 @@ function runDeterministicCleanup(db, opts = { dryRun: true }) {
|
|
|
1204
1319
|
if (!opts.only || opts.only === "reject_invalid_scope") {
|
|
1205
1320
|
plan.push(...planRejectInvalidScopes(db));
|
|
1206
1321
|
}
|
|
1322
|
+
if (!opts.only || opts.only === "reject_generic_scanned_tooling") {
|
|
1323
|
+
plan.push(...planRejectGenericScannedTooling(db));
|
|
1324
|
+
}
|
|
1207
1325
|
const counts = summarize(plan);
|
|
1208
1326
|
if (!opts.dryRun) {
|
|
1209
1327
|
for (const item of plan) {
|
|
@@ -1229,6 +1347,9 @@ function runDeterministicCleanup(db, opts = { dryRun: true }) {
|
|
|
1229
1347
|
case "reject_invalid_scope":
|
|
1230
1348
|
applyRejectInvalidScope(db, runId, item);
|
|
1231
1349
|
break;
|
|
1350
|
+
case "reject_generic_scanned_tooling":
|
|
1351
|
+
applyRejectGenericScannedTooling(db, runId, item);
|
|
1352
|
+
break;
|
|
1232
1353
|
}
|
|
1233
1354
|
}
|
|
1234
1355
|
}
|
|
@@ -1251,6 +1372,7 @@ function summarize(plan) {
|
|
|
1251
1372
|
let globalizeLosers = 0;
|
|
1252
1373
|
let testFixtureRejections = 0;
|
|
1253
1374
|
let invalidScopeRejections = 0;
|
|
1375
|
+
let genericScannedToolingRejections = 0;
|
|
1254
1376
|
let e2eArtifactRejections = 0;
|
|
1255
1377
|
for (const p of plan) {
|
|
1256
1378
|
if (p.kind === "dedupe_exact_merge") {
|
|
@@ -1267,8 +1389,10 @@ function summarize(plan) {
|
|
|
1267
1389
|
globalizeLosers += p.loser_ids.length;
|
|
1268
1390
|
} else if (p.kind === "reject_test_fixture_repo") {
|
|
1269
1391
|
testFixtureRejections += 1;
|
|
1270
|
-
} else {
|
|
1392
|
+
} else if (p.kind === "reject_invalid_scope") {
|
|
1271
1393
|
invalidScopeRejections += 1;
|
|
1394
|
+
} else {
|
|
1395
|
+
genericScannedToolingRejections += 1;
|
|
1272
1396
|
}
|
|
1273
1397
|
if (p.kind === "reject_fragment_candidate" && p.reasons.includes("e2e_verification_artifact")) {
|
|
1274
1398
|
e2eArtifactRejections += 1;
|
|
@@ -1284,6 +1408,7 @@ function summarize(plan) {
|
|
|
1284
1408
|
globalize_losers: globalizeLosers,
|
|
1285
1409
|
test_fixture_rejections: testFixtureRejections,
|
|
1286
1410
|
invalid_scope_rejections: invalidScopeRejections,
|
|
1411
|
+
generic_scanned_tooling_rejections: genericScannedToolingRejections,
|
|
1287
1412
|
e2e_artifact_rejections: e2eArtifactRejections
|
|
1288
1413
|
};
|
|
1289
1414
|
}
|
|
@@ -1677,6 +1802,63 @@ function applyRejectInvalidScope(db, runId, plan) {
|
|
|
1677
1802
|
created_at: now
|
|
1678
1803
|
}).run();
|
|
1679
1804
|
}
|
|
1805
|
+
function planRejectGenericScannedTooling(db) {
|
|
1806
|
+
const rows = db.select({
|
|
1807
|
+
id: memories.id,
|
|
1808
|
+
text: memories.text,
|
|
1809
|
+
type: memories.type,
|
|
1810
|
+
source: memories.source,
|
|
1811
|
+
status: memories.status
|
|
1812
|
+
}).from(memories).where(and(
|
|
1813
|
+
inArray(memories.status, ["active", "candidate"]),
|
|
1814
|
+
eq(memories.source, "config_parse")
|
|
1815
|
+
)).all();
|
|
1816
|
+
return rows.filter(
|
|
1817
|
+
(row) => isGenericScannedToolingMemory({
|
|
1818
|
+
text: row.text,
|
|
1819
|
+
type: row.type,
|
|
1820
|
+
source: row.source
|
|
1821
|
+
})
|
|
1822
|
+
).map((row) => ({
|
|
1823
|
+
kind: "reject_generic_scanned_tooling",
|
|
1824
|
+
memory_id: row.id,
|
|
1825
|
+
text: row.text,
|
|
1826
|
+
source: row.source,
|
|
1827
|
+
memory_type: row.type
|
|
1828
|
+
}));
|
|
1829
|
+
}
|
|
1830
|
+
function applyRejectGenericScannedTooling(db, runId, plan) {
|
|
1831
|
+
const before = getMemory(db, plan.memory_id);
|
|
1832
|
+
if (!before || !["active", "candidate"].includes(before.status)) return;
|
|
1833
|
+
const now = (/* @__PURE__ */ new Date()).toISOString();
|
|
1834
|
+
db.update(memories).set({ status: "rejected", dedupe_key: null, updated_at: now }).where(eq(memories.id, plan.memory_id)).run();
|
|
1835
|
+
const after = getMemory(db, plan.memory_id);
|
|
1836
|
+
recordAuditWithSnapshot(
|
|
1837
|
+
db,
|
|
1838
|
+
plan.memory_id,
|
|
1839
|
+
"rejected",
|
|
1840
|
+
DEFAULT_ACTOR,
|
|
1841
|
+
`cleanup_generic_scanned_tooling:run:${runId}`,
|
|
1842
|
+
before,
|
|
1843
|
+
after ?? null
|
|
1844
|
+
);
|
|
1845
|
+
db.insert(maintenanceCleanupLog).values({
|
|
1846
|
+
id: randomUUID3(),
|
|
1847
|
+
run_id: runId,
|
|
1848
|
+
action: "reject_generic_scanned_tooling",
|
|
1849
|
+
memory_id: plan.memory_id,
|
|
1850
|
+
related_memory_id: null,
|
|
1851
|
+
before_snapshot: before,
|
|
1852
|
+
after_snapshot: after,
|
|
1853
|
+
details: {
|
|
1854
|
+
source: plan.source,
|
|
1855
|
+
memory_type: plan.memory_type
|
|
1856
|
+
},
|
|
1857
|
+
reverted: false,
|
|
1858
|
+
reverted_at: null,
|
|
1859
|
+
created_at: now
|
|
1860
|
+
}).run();
|
|
1861
|
+
}
|
|
1680
1862
|
function planPromoteRepeats(db) {
|
|
1681
1863
|
const rows = db.select({
|
|
1682
1864
|
id: memories.id,
|
|
@@ -1997,6 +2179,7 @@ function formatCleanupReport(report) {
|
|
|
1997
2179
|
lines.push(` globalizations: ${report.counts.globalizations} (losers=${report.counts.globalize_losers})`);
|
|
1998
2180
|
lines.push(` test_fixture_rejects: ${report.counts.test_fixture_rejections}`);
|
|
1999
2181
|
lines.push(` invalid_scope_rejects:${report.counts.invalid_scope_rejections}`);
|
|
2182
|
+
lines.push(` generic_tool_rejects: ${report.counts.generic_scanned_tooling_rejections}`);
|
|
2000
2183
|
lines.push(` e2e_artifact_rejects: ${report.counts.e2e_artifact_rejections}`);
|
|
2001
2184
|
if (report.plan.length === 0) {
|
|
2002
2185
|
lines.push(" (no actions)");
|
|
@@ -2022,9 +2205,12 @@ function formatCleanupReport(report) {
|
|
|
2022
2205
|
} else if (item.kind === "reject_test_fixture_repo") {
|
|
2023
2206
|
lines.push(` reject-test-repo: ${item.memory_id.slice(0, 8)} repo=${item.repo}`);
|
|
2024
2207
|
lines.push(` "${truncate(item.text, 80)}"`);
|
|
2025
|
-
} else {
|
|
2208
|
+
} else if (item.kind === "reject_invalid_scope") {
|
|
2026
2209
|
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
2210
|
lines.push(` "${truncate(item.text, 80)}"`);
|
|
2211
|
+
} else {
|
|
2212
|
+
lines.push(` reject-generic-tooling: ${item.memory_id.slice(0, 8)} source=${item.source} type=${item.memory_type}`);
|
|
2213
|
+
lines.push(` "${truncate(item.text, 80)}"`);
|
|
2028
2214
|
}
|
|
2029
2215
|
}
|
|
2030
2216
|
return lines.join("\n");
|
|
@@ -3648,12 +3834,14 @@ export {
|
|
|
3648
3834
|
resolveContradiction,
|
|
3649
3835
|
autoResolveContradictions,
|
|
3650
3836
|
listContradictions,
|
|
3837
|
+
evaluateScannedMemory,
|
|
3651
3838
|
runDeterministicCleanup,
|
|
3652
3839
|
planDedupeExact,
|
|
3653
3840
|
planRejectFragments,
|
|
3654
3841
|
qualityReasons,
|
|
3655
3842
|
planRejectTestFixtureRepos,
|
|
3656
3843
|
planRejectInvalidScopes,
|
|
3844
|
+
planRejectGenericScannedTooling,
|
|
3657
3845
|
planPromoteRepeats,
|
|
3658
3846
|
planSuppressCommands,
|
|
3659
3847
|
planGlobalizeCrossRepo,
|
|
@@ -3668,4 +3856,4 @@ export {
|
|
|
3668
3856
|
processCorrection,
|
|
3669
3857
|
processReviewFeedback
|
|
3670
3858
|
};
|
|
3671
|
-
//# sourceMappingURL=chunk-
|
|
3859
|
+
//# sourceMappingURL=chunk-JPHSGWSI.js.map
|