Skip to content

Match MMS attachments on their recorded path and report the unreferenced ones - #1298

Merged
abrignoni merged 1 commit into
mainfrom
fix/smsmms-media-and-sources
Sep 2, 2026
Merged

Match MMS attachments on their recorded path and report the unreferenced ones#1298
abrignoni merged 1 commit into
mainfrom
fix/smsmms-media-and-sources

Conversation

@abrignoni

Copy link
Copy Markdown
Owner

Three follow-ups to the SMS and MMS artifacts in smsmms.py.

  • Attachment files are matched to part rows on the recorded part._data path (storage class, Android user, package, file name), not on the file name alone. On a two-user tree with same-named attachments the old join gave both users the first user's files; the new one gives each user its own.
  • SMS Messages and MMS Messages now cite every database they read as the source path instead of the last one iterated, which on most images was the empty device-encrypted copy.
  • New MMS Attachments artifact: every part row that records a file, joined to its message, plus the files under app_parts and parts that no part row references. Stored content type, sniffed type, size and a status column. Three of the 25 registered corpora carry between one and ten unreferenced image and video files that nothing reported before.

Rows of the three existing artifacts are identical before and after on all 25 corpora. Fixture extended for the new artifact.

🤖 Generated with Claude Code

…ced ones

Attachment files are now matched to part rows on the path the provider
records in part._data (storage class, Android user, package and file
name) instead of the bare file name, so a second Android user's rows no
longer pick up the first user's files. The SMS Messages and MMS Messages
artifacts report every database they read as their source path rather
than the last one iterated. Adds an MMS Attachments artifact: one row per
part row that records a file, joined to its message where the pdu row
exists, plus one row per file under app_parts or parts that no part row
references, with the stored content type, a sniffed type, size and a
status column. Extends the anne_a15 fixture with the new artifact and
excludes its synthetic second-tenant leg with the reason recorded.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
@abrignoni
abrignoni merged commit 6512c0a into main Sep 2, 2026
10 checks passed
@abrignoni
abrignoni deleted the fix/smsmms-media-and-sources branch September 2, 2026 18:10
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