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.
25 lines
666 B
Text
25 lines
666 B
Text
From: noreply@hxgnsmartcloud.com
|
|
To: apm@seahaven.com
|
|
Date: Mon, 27 Apr 2026 23:57:49 +0000 (UTC)
|
|
Message-ID: <synthetic-nested-html-in-plaintext@eam-host>
|
|
Subject: AMAZON UPDATE WO DETAILS 11144580730
|
|
MIME-Version: 1.0
|
|
Content-Type: text/plain; charset="UTF-8"
|
|
Content-Transfer-Encoding: 7bit
|
|
|
|
New Comment:
|
|
<b><img src=x onerror=1></b> unusual but harmless text
|
|
|
|
Creation Time(UTC): 2026-04-27 23:51:48
|
|
Submitted By: jdoe
|
|
|
|
_________________
|
|
|
|
Work Order: 11144580730 - consectetur tempor sit ipsum enim adipiscing
|
|
|
|
Building: WCO0.
|
|
|
|
|
|
Please review it in Amazon Portal
|
|
Thank You
|
|
(This is an automated email from the AMAZON APM system.)
|