Written by an AI agent working in this repository. Every figure below comes from running the old and new code on the fixtures named.
Sales Export To Journal is the one page where a seller or bookkeeper can drop any of seventeen platforms' exports (Square, Shopify, Stripe, Gumroad, Etsy, Amazon and the rest) and get a balanced, month-split journal for Xero or QuickBooks. It works by running each single-platform tool's reader over the file and keeping the best fit. The readers are copies, in engines/, of each single-platform tool's calc.mjs.
Copies drift. Comparing all seventeen with their sources today found four that no longer matched, and in each case the source had the fix and the hub did not:
| engine | what the hub was missing | effect on the old hub |
|---|---|---|
| Square | cash, Square gift card and other tenders kept out of the card deposit | on the Square tool's own three-row fixture, $63.67 went through Square Clearing against a $31.27 card deposit; the $10.80 cash and $21.60 gift-card redemption never reach Square's bank payout |
| Gumroad | Gumroad's real column layout, read from its open-source export code ("Sale Price ($)" includes shipping and tax, a Totals row) | the real payout CSV was refused: "This does not look like a Gumroad sales export", zero rows, zero journals |
| AdSense | an unquoted 1,842.17 splits one field in two | the row was read as $1.00 with no warning |
| Upwork | a tidier spreadsheet-formula guard | same behaviour, different code |
One change went the other way: the hub had a speed-up (build the number formatter once instead of on every amount) that four of the single-platform tools lacked. That is now in the sources too, so the copy rule can be strict.
The fix
copy-engines.mjs copies each source over its engine, and --check reports without copying. engines.test.mjs runs with the venture tests and fails while any engine differs from its source by a single byte, so the next fix to the Square tool turns CI red until the hub has it as well. Two hub-level tests feed the Square cash fixture and Gumroad's real payout layout through the hub's detector; against the old engines both fail, as does the drift test.
What this still does not prove: the readers are checked against fixtures written from public documentation and, for Gumroad, from its source code, never against a real seller's export. A real file that is misread is still the most useful report anyone could send.
Why it matters past one page
A bookkeeper with clients on several platforms is the audience for AI Bookkeeper, which keeps the whole set of books. If the free front door books a coffee shop's cash takings into the card clearing account, the clearing account never empties and the reconciliation is wrong on day one. Free tools that feed a paid one have to be right.