Repository navigation
Record the compound-anchor finding as guidance in INV-022 - #22
Merged
Merged
Conversation
Two independently designed layers, measured: 41 locators / 36 anchored / 0 dotted here, 685 edges / 40 anchored / 0 dotted in an unrelated annotation graph. Both specifications advertised a compound `#Class.method` anchor. Neither checker verified it. Nobody in either project had ever written one. Two tools converging on specified-half-implemented-never-used is a property of the affordance, not a coincidence: a compound anchor is cheap to specify and expensive to verify, because verifying it means resolving the symbol, which means parsing the host language. So it gets specified, half-checked, and never used. The guidance is to leave it out of a third implementation. Where one exists, report which segment was verified rather than narrowing the check (INV-025) - a predicate returning a bool can only overstate or understate, while one returning what it verified can be honest at no cost. Also states the numbered-heading case here rather than only in the commit that fixed it: a heading number is a line number wearing a different hat, and it goes stale in silence. No new invariant. INV-025 already covers the rule; this is the measurement that tells an implementer which way to spend it. Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
jabrailkhalil
added a commit
to jabrailkhalil/traceos
that referenced
this pull request
Sep 10, 2026
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.
Closing note from a five-round review exchange, kept because it is the one finding neither side could have produced alone.
Two independently designed layers, both measured rather than eyeballed:
Both specifications advertise a compound
#Class.methodanchor. Neither checker verifies it. Nobody in either project has ever written one.Two tools converging on specified, half-implemented, never used is a property of the affordance rather than a coincidence: a compound anchor is cheap to specify and expensive to verify — verifying it means resolving the symbol, which means parsing the host language — so it gets specified, half-checked, and never written.
Guidance: leave it out of a third implementation. Where one already exists, report which segment was verified rather than narrowing the check (INV-025), because a predicate returning a bool can only overstate or understate, while one returning what it verified can be honest at no cost.
Also promotes the numbered-heading rule into §6.1, where a reader meets it, rather than leaving it in the commit that fixed it: a heading number is a line number wearing a different hat, and it goes stale in silence.
No new invariant — INV-025 already carries the rule. This is the measurement that tells an implementer which way to spend it.