mirror of
https://github.com/Sea-Haven-Industries/procurement-ingest.git
synced 2026-10-07 16:08:54 +00:00
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.
11 lines
666 B
Text
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 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>
|
|
|