Skip to content

Recognize macOS metadata companions of MHL records - #22

Merged
mikecerisano merged 1 commit into
mainfrom
fix/mhl-metadata-companions
Oct 11, 2026
Merged

mikecerisano merged 1 commit into
mainfrom
fix/mhl-metadata-companions

Conversation

@mikecerisano

@mikecerisano mikecerisano commented Oct 11, 2026 •

Copy link
Copy Markdown
Collaborator

The signed 0.2.8 walkthrough reproduced a valid exFAT backup being refused by Check: macOS had created ._<manifest>.mhl for extended attributes, and discovery tried to parse it as XML.

Discovery now uses the existing bounded AppleDouble validator before excluding a companion from the MHL document list. It requires a recognized metadata-only container and a real companion. It leaves every file untouched and does not alter transfer selection. Arbitrary ._ files, damaged lookalikes, orphans and data-fork containers remain subject to normal evidence validation.

Observed red-to-green coverage includes a mounted-exFAT test that uses setxattr to make macOS generate the companion, plus five synthetic controls including legitimate XML with a ._ filename. Focused validation passed 14 XCTest cases and all 22 saved-evidence/compatibility test functions. Final full gates passed: 1099 Mac tests, 13 intentional skips, zero failures; 124 engine XCTest cases (15 skips, zero failures) and a passing 151-test Swift Testing run (six opt-in skips). The first release candidate was never published.

@mikecerisano
mikecerisano merged commit 7e549f1 into main Oct 11, 2026
2 of 6 checks passed
@mikecerisano
mikecerisano deleted the fix/mhl-metadata-companions branch October 11, 2026 01:23
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