Reverse engineer anything with agents, from app behavior down to native binaries.
TypeScript agent-skillsai-agentsbinary-analysisclaude-codeclicodexcordisdecompilerdeveloper-toolsdshdsh-pluginghidrahopperllmmcpmodel-context-protocolreareverse-engineeringstatic-analysistouhou
test(artifacts): report observed action routes when a compiled route is missing
Kaoru0822c60b737f7db8
diff --git a/tests/boundary/filesystem/interfaceBuilderBundle.test.ts b/tests/boundary/filesystem/interfaceBuilderBundle.test.tsindex fecd242a0..1010b87ca 100644--- a/tests/boundary/filesystem/interfaceBuilderBundle.test.ts+++ b/tests/boundary/filesystem/interfaceBuilderBundle.test.ts@@ -234,7 +234,18 @@ describe("bounded Interface Builder archive decoding", () => {analysis.graph.nodes.find(({ id }) => id === from)?.kind ==="control",);- expect(actionSource).toBeDefined();+ const describeNode = (id: string | null) => {+ const node = analysis.graph.nodes.find((item) => item.id === id);+ return node === undefined ? String(id) : `${node.kind}:${node.name}`;+ };+ const actionRoutes = analysis.graph.edges+ .filter(+ ({ relation, from, to }) =>+ relation === "target_action" &&+ (from === action?.id || to === action?.id),+ )+ .map(({ from, to }) => `${describeNode(from)} -> ${describeNode(to)}`);+ expect(actionSource, actionRoutes.join("; ")).toBeDefined();expect(analysis.graph.edges.some(({ from, relation, to }) =>