Skip to content

Keep case-variant evidence files when the report volume folds case - #89

Merged
abrignoni merged 2 commits into
mainfrom
fix/seeker-74-dest-guard
Aug 24, 2026
Merged

abrignoni merged 2 commits into
mainfrom
fix/seeker-74-dest-guard

Conversation

@abrignoni

Copy link
Copy Markdown
Owner

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.

forest-savage1234 and others added 2 commits August 24, 2026 13:47
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]>
@abrignoni
abrignoni merged commit 56adf8f into main Aug 24, 2026
7 checks passed
@abrignoni
abrignoni deleted the fix/seeker-74-dest-guard branch August 24, 2026 18:56
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.

Seeker overwrites evidence files whose paths differ only in case, so one file is silently lost from the report

2 participants