fix(tools): handle legacy customIds during document verification

This commit is contained in:
Aditya kumar singh 2026-09-17 16:29:40 +05:30
parent a5a5dc85c6
commit 9d2358bf0e

View file

@ -694,8 +694,12 @@ export class ClaudeMemoryTool {
hasUnverifiedCandidate = true
continue
}
const isMatchingCustomId =
document.customId === normalizedId ||
document.customId === this.legacyNormalizePathToCustomId(filePath)
if (
document.customId !== normalizedId ||
!isMatchingCustomId ||
this.getDocumentFilePath(document) !== filePath ||
!this.hasExactContainerTags(document.containerTags)
) {