da37e91c86
- Refactors process_single into inner pipeline with guaranteed client close. - Runs classifier -> OCR branch -> extraction -> review -> XML/sidecar. - Uses review-corrected invoice when available. - Confidence >= 0.75 produces XML; < 0.90 adds a human-review comment. - Adds end-to-end CLI tests covering confidence bands, corrections, and batch mode.