Reverse engineer anything with agents, from app behavior down to native binaries.
TypeScript agent-skillsai-agentsbinary-analysisclaude-codeclicodexcordisdecompilerdeveloper-toolsdshdsh-pluginghidrahopperllmmcpmodel-context-protocolreareverse-engineeringstatic-analysistouhou
fix(javascript): keep digestless bundle matches unknown
morluto5a76aaffde3c
diff --git a/src/domain/sourceToBundleComparison.ts b/src/domain/sourceToBundleComparison.tsindex 9af88f656..df6965c0f 100644--- a/src/domain/sourceToBundleComparison.ts+++ b/src/domain/sourceToBundleComparison.ts@@ -279,12 +279,12 @@ const classifyMapping = (if (topPathCandidates.length === 1) {const candidate = topPathCandidates[0];return {- status: "modified",- confidence: candidate?.confidence === "high" ? "high" : "medium",+ status: "unknown",+ confidence: "unknown",currentNodeIds:candidate === undefined ? [] : [candidate.current_node_id],limitations: [- "Location evidence links the source to the current node, but exact source bytes do not match or are unavailable.",+ "Location evidence links the source to the current node, but comparable source digests are unavailable.",],};}diff --git a/tests/sourceToBundleComparison.test.ts b/tests/sourceToBundleComparison.test.tsindex 5d74ad07b..5a0a25485 100644--- a/tests/sourceToBundleComparison.test.ts+++ b/tests/sourceToBundleComparison.test.ts@@ -43,12 +43,12 @@ describe("historical source to bundle comparison", () => {).not.toThrow();expect(first.summary).toEqual({unchanged: 1,- modified: 1,+ modified: 0,removed: 1,split: 1,merged: 2,duplicated: 1,- unknown: 0,+ unknown: 1,});expect(item(first, "src/unchanged.ts")).toMatchObject({status: "unchanged",@@ -65,8 +65,8 @@ describe("historical source to bundle comparison", () => {],});expect(item(first, "src/modified.ts")).toMatchObject({- status: "modified",- confidence: "high",+ status: "unknown",+ confidence: "unknown",candidates: [expect.objectContaining({signals: expect.arrayContaining([