Class 2: derived directions + conversation views for Slack, Life360, TikTok - #1647
Merged
Conversation
Each direction comes from data already in the evidence, validated against real test extractions: - Slack (ModelDatabase): CASE on ZCOREDATAUSER.ZISME via the join the query already performs. Validated: 61 msgs split 28 Sent (all from the ZISME user) / 33 Received. - Life360: CASE on ZCHATMEMBER.ZISLOGGEDINUSER via the existing sender join, plus ZTHREAD as Thread ID. Validated on two devices of the same CTF conversation: owner's phone shows Outgoing, counterpart's phone shows the same messages Incoming. (The existing Sent Status column is delivery state, not direction - it reads 'Sent' for incoming messages.) - TikTok: direction by comparing sender to the account id (already derived from the ChatFiles/<account>/ path), plus belongingConversationIdentifier as Conversation ID. Validated: 44 msgs split 25/19 across 17 conversations. New columns appended; existing column order unchanged. Conversation views wired for all three.
4 tasks
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.
Summary
Adds evidence-derived Direction columns and LAVA conversation views to three artifacts whose databases record the account owner. Every derivation was validated against real test extractions (11-image validation set) before implementation.
ZCOREDATAUSER.ZISME— join already presentZCHATMEMBER.ZISLOGGEDINUSER— join already presentZTHREAD→ Thread IDsender == account id(account already derived from theChatFiles/<account>/path)belongingConversationIdentifier→ Conversation IDNotes
Sent Statuscolumn is delivery state, not direction — it reads 'Sent' on incoming messages (verified in CTF data). It's retained as-is; the new Direction column is the direction truth.Testing
pylint 10.00/10 (3 files); byte-compile; PluginLoader 3/3 views registered; view column refs validated against data_headers; the exact new SQL executed read-only against the real copied databases from the validation runs with the splits shown above.