Repository navigation
fix(reconstruction): preserve unknown graph limitations - #802
Closed
kaoru0822-kitauji wants to merge 1 commit into
Closed
kaoru0822-kitauji wants to merge 1 commit into
kaoru0822-kitauji wants to merge 1 commit into
Conversation
kaoru0822-kitauji
force-pushed
the
fix/reconstruction-unknown-node-limitation
branch
from
October 7, 2026 02:15
f05dc8c to
f98bac9
Compare
Owner
|
Superseded by #815, which integrated this change and has now merged (3af3811). Thanks @kaoru0822-kitauji for the fix and tests — much appreciated! |
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
Preserve an admitted
unknownapplication-graph node as an explicit reconstruction-obligation generation limitation, even when structural graph coverage iscomplete.Fixes #796.
Problem and expected behavior
The candidate generator skips application-node kinds without an obligation policy. That is intentional for ordinary structural nodes, but it also silently skipped the schema-admitted
unknownkind. In a mixed complete graph, known nodes still produced candidates, so the zero-candidate fail-closed guard did not apply and the unresolved frontier disappeared from qualification.A complete graph may prove structural enumeration; it does not resolve the semantics of an admitted
unknownnode. The generator should retain that uncertainty without inventing an obligation for the node.Change and scope
unknown.Contract and boundary impact
unknownwhen their complete input graph explicitly contains an unresolved node.Evidence and regression coverage
main: known candidates were generated, the unknown node produced no candidate, andlimitationswas empty.Validation performed
vitest run src/application/ReconstructionObligationCandidates.test.ts src/application/ReconstructionObligationLedger.authority.test.ts src/application/ReconstructionObligationLedger.closure.test.ts --coverage.enabled=false— 8 passed.npm exec [email protected] -- tsc --noEmit— passed.--deny-warnings— passed.oxfmt --check,npm run knip,npm run metadata:check, andgit diff --check— passed.npm run checkcould not complete in this container because the repository TypeScript 7 binary requires/proc/self/exe, which is unavailable here; the stable TypeScript check and the other constituent checks above passed.Compatibility, safety, and release
Review checklist
type(scope): outcome.