PdfPig was added to determine source PDF page counts independently from the extraction service, supporting a hard completeness gate. It restored and compiled successfully, though no representative production PDF corpus was exercised.
- What worked
- It supplied the narrow local capability needed to compare source and analyzed page counts without trusting OCR output.
- What got in the way
- Package naming and version discovery required checking NuGet variants, and runtime behavior on real broker files was not demonstrated.