procurement-ingest/lambdas/wo/email_processor/tests/fixtures/ai-fallback/t2-unparseable-date.eml
Adam Moussa b4e40d0304
Commit WO parser .eml fixtures for executable coverage
The parser test suite globbed for input .eml fixtures that the repo's
`*.eml` ignore rule kept uncommitted, so every parametrized golden and
fail-closed test collected zero cases and CI could not exercise the
deterministic parser that handles 100% of WO email volume.

Add a fixtures-only negation to .gitignore and commit the 55 scrubbed
positive samples (50 update-plaintext, 5 assign-html) plus 14
ai-fallback and 3 adversarial fixtures. The ai-fallback set covers each
fail-closed reason code (subject_no_match, single_space_work_order,
malformed_site_code, label_bleed, creation_time_unparseable,
wo_id_mismatch, missing_required_field) and the adversarial set proves
the parser is total and confines prompt-injection payloads to
comment_text without steering the structured fields.
2026-07-15 20:31:17 -04:00

11 lines
666 B
Text

From: noreply@hxgnsmartcloud.com
To: apm@seahaven.com
Date: Tue, 14 Apr 2026 16:20:00 +0000 (UTC)
Message-ID: <synthetic-t2-unparseable-date@eam-host>
Subject: AMAZON assign Work Order 18073740956 on building HTX1
MIME-Version: 1.0
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: 7bit
<html>The Work Order&nbsp; 18073740956 has been assigned via AMOC team.<br><br>WO Description: ad ullamco sed dolor eiusmod ut <br><br>Severity: 5<br><br>Date Reported: yesterday evening<br><br>Scheduled Start Date: 2026-04-14<br><br>Address:<br>do veniam ullamco aliqua exerc
do incididunt ame<br><br>Please review it in Amazon Portal<br></html>