Repository navigation
fix: retain one local verification and represent file-directory transitions - #16
Merged
Merged
Conversation
zhenkun26
marked this pull request as ready for review
November 1, 2026 14: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.
Local delivery could call the provenance verifier twice for one attempted action, so a second callback failure could contradict a valid fresh observation. Retain one private, single-use observation for the exact provider, session and proposal; recheck its binding and time window plus all final local conditions. Direct apply still verifies, and historical query/recovery remains free of replay and additional charging.
Source-manifest validation also rejected a tracked file replaced by a working directory. Accept that historical HEAD/index projection only when the file has no current working-file projection, using distinct path counting while retaining alias, limit, content and race guards. This does not relax whole-repository metadata bounds or change historical identities.
The two repairs are separate commits. Independent security and compatibility review found no open blocker. The approved local candidate passed all 64 maintained commands in ordinary and optimized modes and all 221 applicable fixed mutations with passing unchanged controls. Regression tests produce assertion failures on the old implementation. Native Windows results must be assessed from this PR's exact-candidate CI; local skips never establish native verification.
No workflow, permissions, timeout budget, production provider, credential or Windows product-cleanup change. Real production and storage qualification remain outside these tests.