Skip to content

Preserve unknown input keys when copying reference-key sets - #474

Merged
CaelmBleidd merged 2 commits into
mainfrom
caelmbleidd/core-input-ref-set-copy-20261013
Oct 13, 2026
Merged

CaelmBleidd merged 2 commits into
mainfrom
caelmbleidd/core-input-ref-set-copy-20261013

Conversation

@CaelmBleidd

Copy link
Copy Markdown
Member

Copying an input reference-key set could lose its unknown initial entries. Any-key selection then invented an allocated key that was absent from the copied collection, eliminating valid execution paths. Preserve the input-origin marker through both input-to-allocated and input-to-input reference unions, matching the existing primitive-key contract.

Independent fix against main; no Go dependency. Two solver regressions cover direct and repeated copies: selecting an unknown initial source key is SAT, while inventing a key absent from the source is UNSAT.

Validation: ObjectMapTest suite and production/test Detekt pass on final01cba793. Native Go regression validation is separate and still pending; this PR does not claim all Go requests are ready.

@CaelmBleidd
CaelmBleidd merged commit dbd331a into main Oct 13, 2026
7 checks passed
@CaelmBleidd
CaelmBleidd deleted the caelmbleidd/core-input-ref-set-copy-20261013 branch October 13, 2026 12:25
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.

2 participants