Repository navigation
fix(docscout): expose scoped missing causes per field - #78
Merged
Merged
Conversation
added 5 commits
November 11, 2026 00:52
…ir own cause A field that searches only its selected sections reads passages from those sections alone. When the model finds no value there, the value carried the same `missing` cause as a field that read the whole document, so callers could not tell a value absent from the document from one absent from the sections routed to the field. Such a value now records cause `missing_in_sections` with the reason "Not stated in its selected sections". It stays `missing: true`, so consumers reading `missing` see no change.
Merged
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.
A field that searches selected sections can return no value while other sections or pages contain it. Extraction exposes the optional per-field
codesarray, includingmissing_in_sections, through public, agent-tool, Block and stored results.The code is informational: it adds no
reasonand preserves verification, summary counts (includinguncheckedwhen verification is disabled), statuses and trace messages for callers that ignore field codes. The result schemas and README define absence within the selected sections of the searched pages. Current and reopened result views show “Not in the selected sections,” adding “of the searched pages” for a page range. Fields without the code keep their existing labels.Validation on Wippy v0.3.59a with fresh dependencies:
Compatibility: codes remain optional on older stored results. No endpoint, registry identity, stored shape or migration changes. No new calls, settings or row-producing operations.