Understand any codebase instantly. System intelligence for codebases, built for humans and AI.
TypeScript aiai-memoryclaude-codeclicode-analysiscode-mappingcode-memorycodebase-understandingcodexdeveloper-toolsllmopenclawpersistent-memoryprogram-analysissoftware-architecturesystem-intelligencesystem-mapping
chore: use the \\x00 escape instead of a raw NUL byte
KageBinaryb07bff36bc8b
diff --git a/core-ingestion/src/patch-builder.ts b/core-ingestion/src/patch-builder.tsindex f23ec1a6..01d35910 100644--- a/core-ingestion/src/patch-builder.ts+++ b/core-ingestion/src/patch-builder.ts@@ -671,7 +671,7 @@ export function buildPatchWithResolution(// node it instead mints two ids for one edge, and since the dedup downstream// keys on id, both commit. An edge is identified by (src, dst, predicate) —// two of those with empty attrs are indistinguishable in the graph.- const edgeIdentity = `${nodeId(idPath, srcKey)} ${dstNodeId} ${r.predicate}`;+ const edgeIdentity = `${nodeId(idPath, srcKey)}\x00${dstNodeId}\x00${r.predicate}`;if (emittedEdgeIdentities.has(edgeIdentity)) continue;emittedEdgeIdentities.add(edgeIdentity);ops.push({