Repository navigation
Keep case-variant evidence files when the report volume folds case - #89
Merged
Merged
Conversation
Seeker dest-guard only (volume probe + ~caseN). Not an artifact. Closes abrignoni/VLEAPP#131. Signed-off-by: Forest Savage <[email protected]>
…embers Replaces the counter suffix with name~case-<tag>.ext, where the tag is the sha256 of the evidence-relative source path (case preserved, separators normalized). The same source now maps to the same destination on every search, every run and every machine, so repeated or forced searches cannot mint additional copies. Directory members take no dest-guard: case-variant directories fold into one and their files disambiguate individually, which also stops a spurious tagged twin when an archive stores a directory entry after its contents. The dir seeker hashes the path relative to the input root rather than the mounted absolute path. Adds a regression suite covering both volume behaviours, name determinism across instances and forced re-searches, directory members, and a simulated Windows normcase. Co-Authored-By: Claude Fable 5 <[email protected]>
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.
Levels the seeker dest-guard from the sibling LEAPP cores into DLEAPP. Two evidence files whose paths differ only in case fold to one destination under data/ on a case-insensitive report volume, and the second copy silently destroyed the first. The seeker now probes the data folder's real case behaviour and writes a colliding copy to name~case-.ext, where the tag is derived from the evidence-relative source path, so the same source maps to the same destination on every run. Directory members take no guard. file_infos keeps the true source path for each preserved copy.
Base guard by @forest-savage1234, carried over from the sibling PRs with the deterministic naming and directory handling applied there. Regression suite included; it fails against the previous seeker.
Closes #74.