Skip to content

fix: retain one local verification and represent file-directory transitions - #16

Merged
zhenkun26 merged 2 commits into
mainfrom
fix/local-verification-projections-public
Nov 1, 2026
Merged

zhenkun26 merged 2 commits into
mainfrom
fix/local-verification-projections-public

Conversation

@zhenkun26

Copy link
Copy Markdown
Owner

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.

@zhenkun26
zhenkun26 marked this pull request as ready for review November 1, 2026 14:15
@zhenkun26
zhenkun26 merged commit 7775c86 into main Nov 1, 2026
5 of 6 checks passed
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.

1 participant