Repository navigation
Conversation
safishamsi
added a commit
that referenced
this pull request
Aug 11, 2026
Member
safishamsi
pushed a commit
that referenced
this pull request
Aug 19, 2026
…ound-trip (#2582) node_link_data always appends the node key (id) last, so id sat mid-dict on a cold build but last after a read-rebuild — churning graph.json key order with no content change and defeating byte-stable caching. to_json now canonicalizes each node/link dict (id / source,target,relation first, remaining keys sorted) before serialization, so a load -> rebuild -> write round-trip is byte-identical. Pure key permutation; values are untouched. Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
safishamsi
added a commit
that referenced
this pull request
Aug 19, 2026
… fix (#2582) Covers the ensure_ascii write path the field-order stabilization implicitly relies on: a reordered node dict carrying escaped-unicode values must serialize byte-identically across a read-rebuild.
safishamsi
added a commit
that referenced
this pull request
Aug 19, 2026
safishamsi
added a commit
that referenced
this pull request
Aug 19, 2026
Ships this cycle: the graph-correctness/UX batch — JS/TS factory-object methods (#2745), stable graph.json field order (#2582), query names its graph (#2789), ThinkingBlock-safe claude backend (#2697), manifest churn guard (#2838), C# primary ctor refs (#2829), AST INFERRED rubric confidence_score (#2813), legacy numeric confidence normalization; plus the small-fix batch — chunk-bisect on timeout (#2866), symlink cache identity (#2832), sidecar cache root (#2787), driveless Windows path guard (#2795), actionable partial-parse warning (#2788), and non-ASCII Obsidian tags (#2862). Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
nodesandlinkswith a canonical JSON comparison keygraph.jsonRoot cause
networkx.node_link_data()preserves graph insertion order. Equivalent graphs assembled in a different node, edge, or hyperedge order therefore produced noisygraph.jsonrewrites after small incremental changes.This complements #1010, which stabilized edge-conflict resolution and clustering but did not canonicalize the serializer's collection order. The scope here is intentionally limited to collection ordering; mapping-key ordering is unchanged.
Impact
The graph topology and attributes are unchanged. The first export may reorder existing collections once; later equivalent rebuilds remain byte-stable.
Validation
53 passed4141 passed, 3 skipped4141 passed, 3 skippedtools.skillgenCI validators passedgit diff --checkpassedgraphify --helpandgraphify installsmoke tests passed in a clean HOME