Repository navigation
check-export: a WhatsApp walk against the chat's own Export chat - #62
Conversation
|
Thanks Maxi. Three cases give the wrong result on made-up chats:
Please add a test for each. The PR text also needs updating: it still says the video is missing and albums were not tried, and you may want to take out the contact name. #63 is merged, so this one needs a rebase. The conflict is only in |
load_profile now keeps the path of the file it read in "_path", beside "_from". check-export gives that file's SHA-256: the result depends on the profile, and a taught profile is outside the hash chain. Co-Authored-By: Claude Opus 5.5 <[email protected]>
The first part of the check of abrignoni#57: the lines of an Android Export chat in Spanish (es-US), in order, each with its sender and kind: text, voice note (PTT-), picture (IMG-) or video (VID-) with its caption, deleted message, link sent on its own, or a system line nobody wrote. U+202F inside "a. m." and the U+200E before an attachment are read as WhatsApp writes them. An iPhone export, an English one, one with no Spanish line the check knows and one made without media were not tried, so they stop the check and it says why. Co-Authored-By: Claude Opus 5.5 <[email protected]>
The export's lines and the transcript's message lines are lined up in order (difflib, with its junk rule off, since five voice notes look alike), and each kind is counted both ways: in the export, found, found with the direction the export gives, and in the walk but not the export. So a voice note written twice (abrignoni#39) or a text written twice fails, though each is "there". A deleted message's direction on the walked side comes from the walk's own words ("Eliminaste" on the phone that deleted it, "Se eliminó" on the other). A link sent on its own gets its own result, and the walk's lines between the messages found around it are listed as its preview card, not counted. When the log says a walk did not confirm reaching an end of the list (--stop-at, a cap, --no-rewind), export lines past the first or last one found there are "not walked", not "missing". Co-Authored-By: Claude Opus 5.5 <[email protected]>
appwalk.py check-export <export> --me NAME reads WhatsApp's Export chat from attachments/, after checking the chain and the zip's SHA-256 against its file_attached row, and compares it with the transcript as transcript.build() makes it now. --me is the walked phone's owner as the export spells the name; with no sender of that name it stops and lists them, unless --owner-wrote-nothing. --zip, --chat and --item name the zip, the chat text in it and the walked item when there is more than one. transcript.csv has no hash, so it is compared with build() as text. If it differs, the same counts are run on the file too; if they agree, the summary says that shows nothing about what the walk first wrote, since attach writes transcript.csv again. The summary gives the version, the SHA-256 of transcript.py and of the profile file, the profile's source, the zip's SHA-256 and its row, and the latest row hash. Each line goes in export_check.csv and the summary in export_check.txt, in the export's main folder: out of the chain and the report, and verify still passes. It exits with 0 when everything agrees, 1 when something differs and 2 when it could not check. Co-Authored-By: Claude Opus 5.5 <[email protected]>
check-export gives the SHA-256 of the transcript.py it ran with. A build holds only compiled code, so the source of transcript.py is added beside it as data, the file the build was made from. check_export is a hidden import, as transcript is. Co-Authored-By: Claude Opus 5.5 <[email protected]>
A section after "Adding a file after the walk" on checking a WhatsApp walk against its Export chat: what --me means, what is counted, the link's preview card, "not walked", the files it writes and what the summary gives, why transcript.csv agreeing with build() says nothing about the first walk, the exit codes, and that only Spanish (es-US) Android exports were tried. The command is added to section 16. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Git on Windows checks files out with CRLF, on the examiner's computer and on the Windows runners that make the builds. The same transcript.py gave 96b2c949... in the Windows x64 build of check-export and c1f5b509... as GitHub holds it, and the WhatsApp profile 9c354477... against dbdcfc5d... So the summary named different hashes for the same code and profile. Both are now hashed with their line endings made LF, as the repository holds them, and the summary says so. The zip is still hashed as it is, byte for byte, as in its chained row. Co-Authored-By: Claude Opus 5.5 <[email protected]>
WhatsApp's Export chat writes a call, answered or missed, as a message from
the one who called with nothing after the name ("21/11/2026, 19:28 - Maxi: ",
Samsung SM-G990E and Xiaomi 22101316G, WhatsApp 2.26.45.99). The check read
it as a system line named "Maxi:". It is now a call, counted against the
walk's call lines ("Llamada", "Videollamada perdida", view call_log_title),
whose direction is the side they sit on, as for a message.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
A link sent on its own in the part of the list a walk did not reach (a walk with --stop-at on a Samsung SM-G990E) was given the preview card's result, since that was decided before whether the line had been walked at all; and walk lines near it could have been taken as its card. A line past an end the walk did not confirm is now "not walked" whatever its kind, and only a link in the part walked has a card. The new test fails without the change. Co-Authored-By: Claude Opus 5.5 <[email protected]>
WhatsApp's Export chat starts an album with an empty message from its sender, then lists each photo and video on a line of its own at the same minute (Samsung SM-G990E and Xiaomi 22101316G, 2.26.45.99, 22 November 2026: an album of 3 and one of 6). Since an empty message was read as a call, each album added a call the walk did not have, and the check failed on calls. An empty message followed by two or more photos or videos from the same sender at the same minute is now the album's line, listed and not counted. An empty message with none after it is still a call. The new test fails without the change. Co-Authored-By: Claude Opus 5.5 <[email protected]>
With "thumb" taken by the WhatsApp profile (abrignoni#61), a walk has a line for a video ("Video, HD, duration 5 segundos") and for each photo of an album ("Ver foto, 1 de 3"). These now count as a video and as photos. An album with more files than its grid shows has a last tile, "Ver los 6 archivos multimedia" under a "+ 3", over the rest: the export's files of that album the walk did not find are now "behind the album's last tile", not missing, and the tile is not counted as a line the export lacks. An album photo is lined up with the album's size on both sides (the files after the export's album line, the walk's "de 3"), since photos look alike and one missing from an album of 3 otherwise took a photo of the next album in its place. Samsung SM-G990E and Xiaomi 22101316G, 22 November 2026, an album of 3 and one of 6: each walk against each phone's export gives 7 photos found and 3 behind the tile, the video and both calls found, and passes. The new test fails without the change. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Moving "not walked" ahead of the link's card left the card's comment above not_walked(). Comments only. Co-Authored-By: Claude Opus 5.5 <[email protected]>
The walk shows an album's photos as "Ver foto, 1 de 6", and the export lists their files in an order of its own (WA0003, WA0008, WA0004, ... for an album of 6, 22 November 2026). Nothing ties a photo on the screen to a file, so the CSV naming a file as found, or as behind the album's last tile, said more than the check knows. Each such line now says, in its note, that it is one of the album's photos and that the walk does not say which file. The counts are unchanged; a photo sent on its own has no such note. Co-Authored-By: Claude Opus 5.5 <[email protected]>
An album of 6 whose walk had only photo 1 and the last tile passed, with 5 photos behind a tile that stands for 3 (abrignoni#62). Every file of the album the walk did not find was put behind the tile. Now the tile stands for the number on it, read from the walk's "+ 3" line beside it, or, with none, for all but the three photos a grid of four shows. Any other file of the album the walk did not find is missing. The new test fails without the change. Co-Authored-By: Claude Opus 5.5 <[email protected]>
WhatsApp draws a message of one emoji large and describes it instead of writing it, so a walk has it as a described line. Those lines were not counted when the export had no line for them: a large emoji written twice in a walk passed, where a text written twice failed (abrignoni#62). A described line with no letter or digit in it is now a text, and counted as one. A description with words in it (a sticker, a GIF) is still apart and not counted. The new test fails without the change. Co-Authored-By: Claude Opus 5.5 <[email protected]>
The export writes an album's first line and a call alike, as an empty message, and a call followed by two photos sent one by one at the same minute was read as an album: the call and the photos came out as differences (abrignoni#62). The export alone cannot tell them apart. An album is now kept only when the walk shows an album of that size ("Ver foto, 1 de 3", or a last tile "Ver los 6 archivos multimedia"); otherwise its line is a call and its files are photos and videos of their own. The new test fails without the change. Co-Authored-By: Claude Opus 5.5 <[email protected]>
With one end of the list unsure and no line of the export found, every line was taken as past that end, "not walked", and the check passed. With nothing found there is no end to be past: every line is now missing. check() took the walked item from the transcript's lines, so a walk that read none was checked as item "", which the log does not have, and both its ends counted as unsure. The items are now the log's walks. Found by testing made-up chats for abrignoni#62. The new test fails without the change. Co-Authored-By: Claude Opus 5.5 <[email protected]>
The export's names are read with direction marks and joiners taken out and spaces made plain; the name given with --me was not, so a name with an emoji joined by U+200D, a right-to-left mark or two spaces never matched a sender, and the check stopped or gave every direction wrong. --me is now read the same way. Found by testing made-up chats for abrignoni#62; the new test fails without the change. Co-Authored-By: Claude Opus 5.5 <[email protected]>
A large emoji is known by having no letter or digit; a keycap emoji such as 3️⃣ holds a digit, so written twice in a walk it was taken for a description and not counted. It is now known by having no letter. Found by testing made-up chats for abrignoni#62; the new check in the test fails without the change. Co-Authored-By: Claude Opus 5.5 <[email protected]>
A walk that did not reach the oldest end (--stop-at, a cap) covers the
newest part of the chat. Lined up from the oldest end, a line said often
("ok") was found in its oldest copies, and the newest ones the walk shows
came out missing instead of the older ones being "not walked". Such a walk
is now lined up from the newest end. Found by testing made-up chats for abrignoni#62;
the new test fails without the change.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Lined up blind to direction, an "ok" of the owner's that the walk lacked took the other side's "ok": it came out as found with the wrong direction, and the other side's as missing. Lines are now lined up with their direction first, then without it only in the stretches still unmatched, so a line the walk shows with the wrong direction is still found and said to be wrong. The test of a wrong --me now asks that the check fail: the calls of that test cross over and one of them lines up with its direction. Found by testing made-up chats for abrignoni#62; the new test fails without the change. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Any walk line between the messages found around a link the walk lacked was taken as its preview card and not counted: a voice note written twice there passed (abrignoni#39 again), and so did another link with a typed message. The card is now up to three text lines, one of which holds the link's address ("github.com"), as the card WhatsApp shows does. A link is now counted: found by its text or as its card, missing otherwise. The tests that made a card up now give it its address line. Found by testing made-up chats for abrignoni#62; the new test fails without the change. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Photos look alike, so lined up one by one two albums of the same size side by side mixed their photos (one album all missing, directions wrong), a grid the walk wrote twice took the photos behind the album's tile and passed, and an album's caption, under its grid in the walk but after its first file in the export, left photos missing. An album is now one unit on each side: the export's album line with its files, the walk's photos "k de N" with its last tile. Lined up with an album of the same size, the files its grid shows are found while the walk has photos for them, as many as the tile stands for are behind it, and the rest are missing; photos the walk wrote twice are lines the export does not have. An album's captions follow the album on both sides. Whether the export's empty line starts an album was decided by any album of that size anywhere in the walk. A photo sent on its own right after an album, same minute, made an album of 4 that became a call; an album in the part not walked counted as a call; a call with two photos counted as an album when another album of 2 was in the walk. An album the walk has no album of that size for is now settled where it stands, between the lines found around it: a call there with photos of their own, or a smaller album and photos of their own; in the part not walked, it is not walked. A walk that stopped half way up an album's grid gives the photos above where it stopped as not walked. Found by testing made-up chats for abrignoni#62; the new tests fail without the change. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Lining up by direction first (5c13839) let a line with no direction in the walk, or the wrong one, leave a line the walk has as missing and its partner as only in the walk, and difflib, which takes the longest run first, let a sticker among repeated texts strand an "ok" at each end. The line-up now finds the most lines the two sides share in order and, among the ways to line up that many, the one with the most directions that agree. A direction the walk does not give agrees with none, and a wrong one is still found and said to be wrong. Only the stretch of the export around the lines difflib finds in the walk, with a margin of the walk's length, is lined up this way, so a long chat with a short walk stays quick. Found by testing made-up chats for abrignoni#62; the new test fails without the change. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…whole chat An album with no album of its size in the walk was settled with whatever call or photo was free in the stretch a first line-up left it: a photo sent later by the same sender took the place of one of the album's, an album of 5 and a photo before an album of 6 took the wrong album, and a call and photos in the wrong order still passed. Each album is now also tried as a call with photos of their own and as each smaller album the walk shows with photos of their own, over the whole chat; the reading that lines up the most lines in order, then the most directions that agree, is kept, until no reading lines up more. Lines out of order are differences, as anywhere else. Found by testing made-up chats for abrignoni#62 (second round); the new test fails without the change. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…photo 1 A walk's album took every photo of its size until it had a tile, or all of four or fewer: two albums of 3 in a row, the first missing photo 3, became one album of the second sender, and an album with no tile ran into the next one of its size. A tile read before photo 3 ended the album and photo 3 started one of its own. An album is now done when its grid is (a tile and its three photos, or all of four or fewer), and a photo of the other sender, or a photo 1 the album already has, starts another. Found by testing made-up chats for abrignoni#62 (second round); the new test fails without the change. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…e photos read An album's tile the export had no album for, or a tile the walk wrote twice, was listed as only in the walk but not counted, so the check passed: it now counts as photos the export lacks, as a photo written twice does. A description the check does not compare (a sticker) now says so in its row. At an end of the list the walk did not confirm reaching, every grid photo the walk lacked was "not walked", even one it skipped between photos it read. Only photos past the ones read (lower numbers at the oldest end, higher at the newest) are now not walked; a skipped one is missing. The test of a walk that stopped half way up a grid now reads its bottom row, photo 3 and the tile, as a walk going up does; a grid written twice has its tile among the extra lines. Found by testing made-up chats for abrignoni#62 (second round); the new test fails without the change. Co-Authored-By: Claude Opus 5.5 <[email protected]>
WhatsApp draws a link's preview card as its title, snippet and address, views
title, snippet and url that the profile leaves as other text. The card search
only looked at message lines, so a walk that showed only the card had the
link missing. Those lines are now read as a card's lines, and listed only when
they are taken as one. Two links in a row now take their cards in order, each
up to the line holding its own address (one card went to both, or the second
had none). The address must stand as a whole name: "x.com" was found in
"netflix.com". A card the walk shows at an end it did not confirm reaching was
walked, so it is looked for there too. A link written without "https://"
("www.github.com/x"), or with the scheme in capitals, is a link.
The test of a link the walk did not reach now walks as on the Samsung, with
nothing of the link in it. Found by testing made-up chats for abrignoni#62 (second
round); the new test fails without the change.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
The summary counted albums from the export's lines, so an album's first line read as a call was still summed up as an album, and the count of messages left it out. Albums are now counted from the results, and an album line read as a call is said to be one. Found by testing made-up chats for abrignoni#62 (second round); the new test fails without the change. The test export can now take another chat. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…that helps Albums were tried in order, and the first reading that lined up more lines was kept. With an album of 2 followed by a call with two photos sent apart, reading the first album as the call lined up more, so it was kept, and the real album and the call came out wrong. Each round now tries every reading of every album and keeps the one that lines up the most. The new test fails without the change. Co-Authored-By: Claude Opus 5.5 <[email protected]>
The weighted line-up went line by line over the whole chat, and every round of album readings ran it again for every album: a made-up chat of 2,000 messages with 20 albums took over ten minutes. Lines found once on each side are now lined up first, as fixed points (as git's patience diff does), and the weighted line-up runs only between them; and an album is read otherwise only when the line-up left it out or the export has more albums of its size than the line-up found. Made-up chats, all whole and passing: 2,000 messages walked whole with 20 albums, 0.1 s; 10,000 messages with the newest 1,500 walked and 50 albums, 9.4 s; 5,000 walked whole with 40 albums, 3.6 s. Co-Authored-By: Claude Opus 5.5 <[email protected]>
A link's card took the walk's text lines too, so a text written twice
beside a card, or another message, passed as part of it. A card is now a
run of card lines (title, snippet, address) that ends at its address line,
which holds the link's own address as a whole name: "github.com.evil.org"
was taken for github.com. A card right above a link the walk found by its
text is that link's, and no other link takes it. A card no link takes is a
link the export does not have, so a card written twice fails as a link
written twice does. An address urlsplit cannot read ("http://[x") crashed
the check; it now has no card.
The tests' cards are now card lines, as WhatsApp draws them. Found by
testing made-up chats for abrignoni#62 (third round); the new test fails without
the change.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
…lbum An album's captions follow the album unit, as they show under its grid. Read as a call with photos of their own, or as a smaller album and a photo, those captions stayed after all the files, while the walk shows each under its own photo, so a correct walk failed. A file read as a photo of its own now keeps its caption right after it. Smaller albums are tried before a call, so a tie keeps an album (a tie read as a call invented a missing call). An album's first line read as a call has no text in its row, and one read as a smaller album gives its own count of files. Found by testing made-up chats for abrignoni#62 (third round); the new test fails without the change. Co-Authored-By: Claude Opus 5.5 <[email protected]>
A walk's album was cut where a photo's direction changed, so one photo with no direction or the wrong one broke a grid into pieces, with wrong counts. A grid's numbers rise in the walk's order, so it is now cut where a photo 1 comes again or a number is lower than the album's highest: that also keeps apart the bottom of one album and the next album of the same sender at the walk's oldest end, which became one. An album of more than four shows three photos and a tile even when the walk missed the tile, so the rest are behind it, not missing (the test of an album with no tile followed by another now says so). A tile read means photo 3 beside it was on the screen. With both ends unsure, photos past the ones read on either side are not walked. Found by testing made-up chats for abrignoni#62 (third round); the new test fails without the change. Co-Authored-By: Claude Opus 5.5 <[email protected]>
The weighted line-up looked only at the export near difflib's first match, with a margin of the walk's length, so in a run of "ok" the copy whose direction agreed could be left out: the owner's line came out missing and another line with the wrong direction. It now looks at the whole stretch, up to some four million steps, and only past that keeps the margin. The stretch before the first line found once keeps its ties next to that line: with both ends unsure, a walk of the middle of a chat was lined up with the copies at its far end, and the lines between came out missing. Found by testing made-up chats for abrignoni#62 (third round); the new test fails without the change. Made-up large chats stay quick: 2,000 messages walked whole in under a second, 10,000 with the newest 1,500 walked in 4.3 s. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Each reading of an album is now scored on the twenty units around it, against the walk between the lines found outside that stretch, and the readings that help on stretches apart are taken in the same round; the whole chat is lined up again after each round. Scored over the whole chat, one album at a time, 200 calls with photos took a minute and a chat of albums with one missing took 70 s; now about a second each. Taking several in one round also reads five albums of 3, each walked as an album of 2 and a photo, as albums: one at a time, the last gained nothing and came out as a missing call and two missing photos. Found testing made-up chats for abrignoni#62. Co-Authored-By: Claude Opus 5.5 <[email protected]>
WhatsApp draws a preview card above a message with words and a link too, and the export calls that message a text. Only a link sent alone took its card, so the card of such a text was counted as a link the export does not have, and a walk that matched the chat failed. Found testing made-up chats for abrignoni#62. Co-Authored-By: Claude Opus 5.5 <[email protected]>
An album's readings tied when the walk could line up with an older album, call or photos in the part it did not walk as well as with the ones it reached; the oldest was taken, or the reading never tried, and the messages between came out missing. A reading is now scored by the lines it lines up, then the directions that agree, then the fewest export lines left missing (past the first or last line found at an end the walk did not confirm, a line is not walked, not missing). On a tie, the album nearest the end the walk reached goes first. On 400 random chats dense with albums, each walk cut at a message, the walks that failed though they matched the chat went from 17 to 7. Found testing made-up chats for abrignoni#62. Co-Authored-By: Claude Opus 5.5 <[email protected]>
WhatsApp writes a contact not saved on the exporting phone as its number between U+202A and U+202C. Those marks were kept, so --me with the number never matched the sender the summary listed as the same. Found testing made-up chats for abrignoni#62. Co-Authored-By: Claude Opus 5.5 <[email protected]>
The counts on the file are written only when transcript.csv differs from the transcript built now. One left by an earlier check, before attach wrote transcript.csv again, still showed lines missing beside a summary that passed. Found testing made-up chats for abrignoni#62. Co-Authored-By: Claude Opus 5.5 <[email protected]>
3319826 to
fb8443f
Compare
|
About the number of commits: 40 is a lot, sorry. I kept one change per commit, and about 25 of them fix things this same PR brought in. I had testers try to break it with made-up chats, round after round, and each thing they found got its own fix and test. Every commit passes the whole suite. Since you squash, main gets one commit either way. If it is easier to review, I can regroup the branch into about nine commits by subject (reading the export, the line-up, the command, calls, albums, links, builds, manual), with the same final code. Just say. |
For #57, as you set it out there. Updated after your review: rebased on main (with #63), your three points fixed with a test each, and more found by testing made-up chats (below).
What it does
attachments/only after its SHA-256 matches itsfile_attachedrow, and the chain is intact.--zip,--chatand--itemname the zip, the chat text in it and the walked item when there is more than one; with more than one and none named, it stops and lists them.--meis the walked phone's owner as the export spells the name, however it is typed (case, accents, spaces). If no sender matches, it stops and lists the senders, unless--owner-wrote-nothing.transcript.build(). The two are lined up for the most lines in common, and the directions only break ties; lines that appear once on each side anchor long chats, so a made-up chat of 1,500 messages takes under two seconds.21/11/2026, 19:28 - Maxi:). It is counted against the walk's call lines (call_log_title), whose direction is the side they sit on.thumb, "Ver foto, k de N") and, past four, a last tile "Ver los N archivos multimedia" with "+ N": the photos behind the tile are counted as behind it, not missing. An album is lined up as a whole. When the export's empty line could be an album or a call (a call followed by photos sent apart in the same minute, or an album followed by a photo sent alone) it is read the way that lines up the most, and the summary says how many it read as calls.--stop-at, a cap,--no-rewind): read fromwalk_startandwalk_stop; the line-up starts from the end the walk reached, and export lines past the first or last one found at that end are "not walked", whatever their kind.transcript.csvis compared withbuild()as text. If it differs, it says so and runs the same counts on the file (export_check_of_transcript_csv.csv). If they agree, the summary says that shows nothing about what the walk first wrote.transcript.pyand of the profile file, the profile's source, the zip's SHA-256 and chained row, the latest row hash.transcript.pyand the profile are hashed with LF line endings: Git on Windows checks them out with CRLF, and the Windows build gave96b2c949…for thetranscript.pyGitHub holds asc1f5b509….export_check.csv(one row per export line, plus walk-only rows) andexport_check.txt(the summary) in the export's main folder. Not chained, not in the report;verifystill passes.build()or in the file), 2 when it could not check.transcript.pyis added as data beside the code (devtools/build_binaries.py), so its hash is the file the build was made from;check_exportis a hidden import.load_profilenow also keeps the file's path (_path) for the hash.Your review
Found by testing made-up chats, four rounds of testers trying to break it, each fix with its test: a walk that found nothing passed;
--mehad to be typed as the export spells it; a keycap emoji was not an emoji; a walk that stopped short was lined up from the wrong end; repeated lines and lines with no direction were lined up wrong; a link's card was taken from messages around it, or from another site whose name contained the link's (x.cominnetflix.com); two albums side by side mixed their photos; a grid the walk wrote twice passed; an album and a call were told apart by what was anywhere in the walk, not where they stood; a caption did not follow its own photo; a long chat took minutes; the preview card of a text with words and a link was counted as a link the export lacks; a walk that stopped short read an album, or a call and photos, in the part it never reached; an owner the export writes as a phone number (a contact not saved) could not be named with--me; the counts ontranscript.csvfrom an earlier check stayed beside a summary that passed.Tried on real phones, Windows 11, Python 3.12, WhatsApp 2.26.45.99 on both, es-US: a one-to-one chat made for this between a Samsung SM-G990E (Android 16, 24 hours) and a Xiaomi 22101316G (Android 14, 12 hours, "7:10 p. m." with U+202F). Each phone walked it and exported it with media, and each walk was checked against both exports.
21 November, 16 messages: texts (one sent twice in a row, one of two lines), a single 👍, a link sent alone, a voice note each way, a photo with a caption, a video with a caption, a deleted message each way, an answered voice call, a missed video call, and a reaction. Each phone walked it once whole and once with
--stop-at "CE-09 Photo", 8 runs:--stop-at--stop-atEvery direction found is the one the export gives, the same against either export. The link's card lines are its card; the reaction is not in the export, and in the walk it is other text. These walks were made before #63, so their
transcript.csvhas no line for the video: the check says the file differs frombuild()and that the video is missing from it, as it should.22 November, the same chat with an album of 6 and an album of 3 added, walked once on each phone, 4 runs: all PASS, 7 photos found and 3 behind the album of 6's tile, every direction right.
The known-data group chat of #13 (the Samsung's export of 14 November, 11 Samsung and moto g47 walks of 14 and 15 November) gives the same as before: with
build()all 15 texts, the caption, 5 voice notes, the picture and 2 deleted messages found with the right direction in every walk. Against thetranscript.csveach walk wrote, the 0.1.3 walk has no voice notes, and two moto walks have a sixth voice note the export does not have (#39).New tests in
ExportCheckTests: reading the export (U+202F, U+200E, captions, two-line messages), the formats and languages that stop it, things written twice, wrong directions, the part a walk did not reach, links and their cards, calls, albums and their tile, an album read as a call and the other way, the zip that no longer matches its row, the files it writes, and hashes that do not depend on line endings.python -m unittest discover -s tests: 153 tests, OK (1 skipped), on each commit, on top of main.The manual gets a section after "Adding a file after the walk", and the command in section 16.
Known limits
The code is new, written for AppWalk under its licence. Nothing was taken from another project.
Written and tested by @Maxitelmo with help from Claude Opus 5.5 (Anthropic).
🤖 Generated with Claude Code