Files
erp/.claude/skills/dolibarr-sandbox-write/replay-packs/2026-07-11-books-regularization/README.md
T
arcodangeandClaude Fable 5 532143737b docs(replay-pack): prod replay executed 2026-07-15 — evidence in README
Fresh provenance 36/36 on re-fetched PDFs, prelude green, manifests A+B
applied (FAC004-007, FAF2026010-013, 6 payments), snapshots bracketed,
bank match since January: 0 UNKNOWN.

Co-Authored-By: Claude Fable 5 <[email protected]>
2026-07-15 19:15:33 +02:00

2.8 KiB
Raw Blame History

Replay pack — books regularization 2026-07-11

The complete, provenance-verified write pack from the 2026-07-11 books-regularization session (memory: books-gap-2026-07). Rehearsed green on the sandbox (FAF2026010013 + payments, predicted-delta verified). Prod replay: EXECUTED 2026-07-15 (operator "go", key derived at runtime, never stored): prelude green (7 drafts → FAC004-007 + FAF2026010-012), manifests A+B applied (F1045 → FAF2026013; payment ids 7,8,13-16), fresh provenance 36/36 BEFORE writing (PDFs re-fetched from books@ per the section below — the re-fetch path works), snapshots before e97fc10e256d… / after 731c8f443ebf…, bank match --since 2026-01-010 UNKNOWN. Remaining: bucket C non-invoice UI entries (erp#57).

Contents

File What it is
manifest-A-km-payments.json 2 KissMetrics customer payments (Wise wires 2 147,00 € + 2 195,97 €, tx ids from the activity feed)
manifest-B-suppliers.json DARNIS F1045 supplier invoice (214,70 HT / 257,64 TTC) + its payment + Anthropic/Mistral payment ops
manifest-B2-sandbox-payments.json Sandbox-side payment re-run after the varchar(50) fix (erp#37)
prod-replay-prelude.sh Pre-replay guards: fresh checkpoint assumptions, target checks, env pinning
rehearsal-runbook.md Step-by-step of the rehearsal: what ran, in what order, with which gates
verify-provenance.py The anti-hallucination PoC — 36 field-level checks: every critical value re-verified against source-PDF text (pdftotext) + FRESH Qonto/Wise pulls; locale-normalized (219,50219.50, Wise 2,147 thousands format). 36/36 green at rehearsal time.

Source PDFs (not committed — re-fetchable)

verify-provenance.py expects ./pdfs/ containing: F1045_ARCODANGE_2026-06-30.pdf, F1046_ARCODANGE_2026-06-29.pdf, Invoice-9BF0758D-695749.pdf (Anthropic), invoice-MSTRL-API-814045-001.pdf (Mistral). Re-fetch via the arcodange-email-ingest skill (they live in books@ — workflow 2 downloads attachments by message id) or from the GED once erp#43 attaches them.

Who consumes this pack

  • erp#41 (provenance checker as a promote-plan stage) — industrializes verify-provenance.py.
  • erp#42 (compliance linter) — these manifests are the legitimate fixtures that must PASS.
  • erp#44 (idempotency keys) — replay these manifests twice on a checkpoint; run 2 must be all-deduped.
  • erp#43 (GED attach) — attaches the four PDFs to FAF2026010013 on the sandbox.

Rule this pack proves

No agent-typed value reaches a write without mechanical corroboration: source-anchored (the exact string exists in the source document) + cross-system (bank feed to the cent, fresh pull at check time) + read-back (predicted-delta after apply). Refuse, never repair.