Skip to content

docs(graph): count Identity's fields as five, not four - #111

Merged
tae2089 merged 1 commit into
mainfrom
fix-identity-doc-count
Aug 11, 2026
Merged

docs(graph): count Identity's fields as five, not four#111
tae2089 merged 1 commit into
mainfrom
fix-identity-doc-count

Conversation

@tae2089

@tae2089 tae2089 commented Aug 11, 2026

Copy link
Copy Markdown
Owner

Comment-only. Identity's doc comment said "The four fields are the columns of the node table's uniqueness index (namespace, qualified_name, file_path, start_line) plus the kind", which reads as four in total. The struct has five.

Four is the wrong number to leave next to this type: the tie-break it replaced compared four keys, and that is why it was not total — one file can declare the same qualified name at two lines, and the old comparison called those equal.

No code change.

The doc comment said "The four fields are the columns of the node table's
uniqueness index ... plus the kind", which reads as four in total. The
struct has five, and four is the count this change existed to correct: the
old tie-break compared four keys and called two declarations equal when one
file declares the same qualified name at two lines.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@tae2089
tae2089 merged commit 4382a16 into main Aug 11, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant