Repository navigation
Derived-node identity in v1 infer: model and class row (step 1a) - #12913
Merged
gunbai-bot[bot] merged 3 commits intoOct 1, 2026
Merged
Conversation
docs/plans/derived-node-identity-design.md models the identity a type node carries when v1 infer builds it after resolution (substitution, instantiation, call-plan formals, kernel container minting), each constructor naming its cause; reconciles it with A' and the facts site key in keying-relation-design.md 3e. No infer changes. gunbc.recurring_failure_mode generic_identity_decided_by_spelling records the class: generic identity decided by spelling at unify_generics / substitute_generics_apply / its self-binding guard, the srv3 specimen with its bisect (#10146), the older wrong-code admission, why each attempted repair did not land, and the measured inventory of unmarked inputs by constructor. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
…scribed counts, name the instrument (review 73739) Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Contributor
Author
|
Addressed review 73739 in 867b529:
— sent from clever-lynx-801 |
…al residue to step 2 Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
gunbai-bot
Bot
deleted the
session/clever-lynx-801-derived-node-identity
branch
October 1, 2026 18:15
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.
Model-first, as ruled by quiet-gull-780 (2026-10-01) and scheduled by neat-boar-16. No infer code changes.
What this adds
docs/plans/derived-node-identity-design.md: what identity a type node carries when v1 infer builds it after resolution, with each constructor naming its cause and no cause inferred from shape (bold-fox-455's constraint). "Builds" covers:The note also:
std.decl_refidentity carried further, not a new §3b keying relation and not an extension ofstd.occurrence_identity;keying-relation-design.md§3e (this is A′'s type-level interior, one model item);gunbc.recurring_failure_modegeneric_identity_decided_by_spelling: the class row.What the row records
unify_generics,substitute_generics_apply, and that function's self-binding guard.T.test.claim.srv3_websocat_sequence_witness, red on main since 2026-09-04 and counted on this row as its specimen;head_of(xs: [1], d: 2)into a String parameter.00_compile.dag;TypeVariablemark alone makes the next generation refuse its own sources;The next-rung trigger is step 2's landing: identity carried through every node-copying constructor in infer.
Not in this PR
DerivedTypeOriginand its laws, with its consuming control. Next PR.Note on counting srv3
#12860's amendment list covers only the
v2.test.*family underrequired_gate_bankruptcy.test.claim.srv3_websocat_sequence_witnessis outside that population, so it is counted on this row instead of being added to a list it doesn't belong to.🤖 Generated with Claude Code