Repository navigation
fix(verify): reject incomplete selected source inventories - #2947
Merged
Mister-Meeseeks merged 1 commit intoOct 16, 2026
Merged
Mister-Meeseeks merged 1 commit into
Mister-Meeseeks merged 1 commit into
Conversation
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
Adds only
research/selected-inventory-fail-closed/. The production checker, frozen consumers, selected record and kappa are unchanged. The traversal is entry-bounded and rejects special source files rather than ignoring them.Investigation and claim. Exact source/assignment pins and the production-adoption handoff are included.
Evidence
Before: both actual retained CLI fixtures pass with an extra
unlisted/extra.pyhidden under a mode-000 directory. Restoring access exposes the inventory mismatch.After: the successor CLI rejects the inaccessible subtree without printing success, still rejects the accessible extra file, and passes after its removal.
python3.12 -I -B research/selected-inventory-fail-closed/verify.py python3.13 -I -B research/selected-inventory-fail-closed/verify.py ruff check research/selected-inventory-fail-closed/*.pyAll 59 groups pass without skips on Linux/WSL2, CPython 3.12.15 and 3.13.5, both normally and with
-O. This includes all 26 inherited groups per engine, seven new groups, actual CLI controls and twelve injected traversal failures. Both engines pass the full 1,579-file selected source binding. Exact committed package bytes also match the tested files.Base
95ff4e2dd396c505932a43ff7c1cdfdd94b8c867; refreshed main4bb3629e638edc9d70ea124eb50f80e71433be05, priority revision 5. Changed archive-intake guidance was read; selected inputs and runtime sources are unchanged. Fresh overlap includes open/closed PRs and complete Discussion pagination.Credit Douglas Colkitt, Mihir Srivastava/PR841, yssite/PR959 and Arham Tahir/PR2793. PR2921 addresses the related generated-payload comparator, not this selected source-closure boundary. Full supplier attribution is retained in the package.
Merge danger
Two-way change, confined to a new opt-in package. Default adoption needs explicit source-pin migration and maintainer review. Inputs must remain stable during checking; this is not a concurrent-writer snapshot. No generic CI replay, hosted result, full construction replay, supplier admission or new kappa is claimed.