Skip to content

Quarter Ingest 0.3.2

Choose a tag to compare

@github-actions github-actions released this 05 Dec 00:31
· 5 commits to main since this release
8487eda

Quarter Ingest 0.3.2, the first release from its own repository. One binary, quarter-ingest, that reads bank and payment export files into records, each citing its source line, and serves a folder of them to an AI assistant over MCP. No network, nothing stored.

The first release from this repository.

Added

  • quarter-ingest check names a format it has no reader for, instead of blaming the closest reader. A file no reader reads whole, but which plainly is an MT940 statement, a camt.052 or camt.054 message, a pain.001, pain.002 or pain.008 file, a QuickBooks IIF or Quicken QIF export, a SAP MultiCash export or a BRS statement, is now refused with "this looks like ...; Quarter Ingest has no ... reader yet", and check gives "detected" beside reads_as. Before, most of these were refused with an unrelated reader's complaint, such as a PayPal download missing its Date column. Files a reader reads are unchanged, and a file with no known signature keeps the old message. On the public sample files, 97 refusals now name their format (IIF 40, camt.054 21, MT940 17, camt.052 10, QIF 5, pain.001 4).
  • Readers for event files: --as stripe-events reads a processor's event export (JSON lines) and --as events-log reads an app's processed-event log (CSV), each record citing its line and never carrying an event's payload. Quarter Proofs webhooks reads both through this binary. Pinned by crates/quarter-files/tests/events_contract.rs.
  • read --mask and the MCP read now mask email addresses in the text shown. An email (a local part, an @, and a domain whose last label is at least two letters, with a dot between two non-empty labels) is shown as its first character, *** and the domain kept: jane.doe@example.com becomes j***@example.com. This is on the display path only, on top of schema::mask; receipts and record bytes are unchanged, and names are never masked. @handle, a@b with no dot, 10@12.50 (a quantity at a price), a trailing-dot domain, a non-ASCII local part, amounts and dates are left alone, and masking twice changes nothing.
  • Quarter Ingest is now its own repository, split out of the quarter monorepo with its history intact: the readers, schema and quarter-files crates, the quarter.files Python client, the examples/ingest job, and the fixtures its tests read.

Changed

  • A Stripe Payouts report row whose payout id is not a payout is refused at its line. A payout row whose id does not start po_ (a charge id, say) was read before as a payout. It never changed a Quarter Proofs answer to landed or failed, but it was not a payout Stripe wrote. Test-mode and connected-account payouts start po_ too and read as before. A payout with a positive gross is a negative payout, a debit from the bank, and still reads.
  • Corrected: the read_file MCP tool said "Text is masked", but it masked long digit runs and card numbers only. Its description, the --mask help and the docs now say what is masked (long digit runs, card numbers and email addresses) and that names are not.
  • The workspace holds only the ingest crates (crates/readers, crates/schema, crates/quarter-files); the receipt crate moved to its own repository.
  • python/tests/test_files.py reads its payouts sample from fixtures/exports/payouts.csv, a copy kept in this repository, instead of a path in another tool's examples.
  • SECURITY.md, CONTRIBUTING.md, NOTICE and docs/threat-model.md are cut to the ingest tool; the receipt, verifier and plugin parts moved with their repositories.

The reader, contract and masking behaviour is unchanged from the split point.

  • Dependencies: jsonschema 0.64 (from 0.60) for the schema crate's tests only (a dev-dependency; the binary does not use it); ruff 0.17.6 for the Python client's lint.

Download and verify

Pick the archive for your machine (macOS Apple silicon or Intel, Linux x86_64), then:

sha256sum -c SHA256SUMS
gh attestation verify quarter-ingest-v0.3.2-<target>.tar.gz --repo quarterso/ingest

On macOS the binary is not notarized yet. If you downloaded it in a browser, run xattr -d com.apple.quarantine quarter-ingest once.

Releases before 0.3.2 came from quarterso/quarter.