mirror of
https://github.com/Sea-Haven-Industries/procurement-ingest.git
synced 2026-10-07 16:08:54 +00:00
The non_usd rule only checked the Total-block top-level currency, so a new_po whose line item read 'for 55,206.00 CAD' under a USD Total block still template-parsed as ok -- a fail-open hole in the fail-closed gate. Every line item's captured currency and its re-derived body token must now byte-equal the proven-USD top-level currency; covered by a line-level CAD adversarial fixture (the existing adv-non-usd only exercised the Total-block variant) and a candidate-mutation unit test. |
||
|---|---|---|
| .. | ||
| adv-bullet-supplier-mismatch.eml | ||
| adv-city-no-comma.eml | ||
| adv-dual-total-mismatch.eml | ||
| adv-dup-label-swap.eml | ||
| adv-duplicate-needby.eml | ||
| adv-line-non-usd.eml | ||
| adv-missing-location-code.eml | ||
| adv-missing-status.eml | ||
| adv-non-usd.eml | ||
| adv-po-id-mismatch.eml | ||
| adv-prompt-injection.eml | ||
| adv-shipto-equals-supplier.eml | ||
| adv-single-supplier-label.eml | ||
| adv-status-pending.eml | ||
| adv-supplier-not-seahaven.eml | ||
| adv-truncated-line-amount.eml | ||
| adv-unlabeled-bullet.eml | ||
| adv-url-id-mismatch.eml | ||