From 629bf3a9edc4dc732cf6214952721c15f932798c Mon Sep 17 00:00:00 2001 From: ReidenXerx Date: Thu, 6 Aug 2026 02:05:47 +0300 Subject: [PATCH] test(golden): accept interface members in the mini-repo snapshot MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Drift is entirely the new TypeScript shape-member indexing: the fixture's three interfaces (ValidationResult 2, DbRecord 3, LogEntry 3) contribute exactly 8 Property nodes, each with exactly one HAS_PROPERTY owner edge. Verified before regenerating rather than after: every pre-existing count is untouched (CALLS 9, IMPORTS 12, DEFINES 16, HAS_METHOD 1, MEMBER_OF 12, STEP_IN_PROCESS 12), so nothing was rewired — the digest moved only because 8 edges were added. The fixture's inline `return { valid: false, … }` literals correctly produced nothing, confirming the object-literal rule stays scoped to variable-bound literals. Co-Authored-By: Claude Opus 5 (1M context) --- .../pipeline-golden/mini-repo/expected-graph.json | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/gitnexus/test/fixtures/pipeline-golden/mini-repo/expected-graph.json b/gitnexus/test/fixtures/pipeline-golden/mini-repo/expected-graph.json index 48e06aea3..14d56f642 100644 --- a/gitnexus/test/fixtures/pipeline-golden/mini-repo/expected-graph.json +++ b/gitnexus/test/fixtures/pipeline-golden/mini-repo/expected-graph.json @@ -2,8 +2,8 @@ "capture": "initial capture (U8, post-U1–U7)", "fixture": "mini-repo", "totalFileCount": 7, - "symbols": 33, - "relationships": 69, + "symbols": 41, + "relationships": 77, "processes": 4, "byType": { "Class": 1, @@ -13,16 +13,18 @@ "Function": 12, "Interface": 3, "Method": 1, - "Process": 4 + "Process": 4, + "Property": 8 }, "byRelType": { "CALLS": 9, "CONTAINS": 7, "DEFINES": 16, "HAS_METHOD": 1, + "HAS_PROPERTY": 8, "IMPORTS": 12, "MEMBER_OF": 12, "STEP_IN_PROCESS": 12 }, - "edgeDigest": "02858462a2acca13f09b7ae2a81d56fe858e67064552ea966cd9ca242371e029" + "edgeDigest": "1ccfc9e5de04d7e71430bcfeb3ce61fe85135b826f33aad2b1bdd2ee193e4728" }