procurement-ingest/lambdas/wo/email_processor/tests/fixtures/assign-html/assign-html-03.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

172 lines
12 KiB
Text

Return-Path: <apm+bncBAABBCN7YHIAMGQEODRQPMQ@seahaven.com>
Received: from mail-qt1-f198.google.com (mail-qt1-f198.google.com [209.85.160.198])
by inbound-smtp.us-east-1.amazonaws.com with SMTP id 61c436v0at3gfq0cm9a171ed13kkn2tlip5tjpo1
for apm@int.seahaven.com;
Fri, 22 May 2026 13:52:10 +0000 (UTC)
Received-SPF: pass (spfCheck: domain of seahaven.com designates 209.85.160.198 as permitted sender) client-ip=209.85.160.198; envelope-from=apm+bncBAABBCN7YHIAMGQEODRQPMQ@seahaven.com; helo=mail-qt1-f198.google.com;
Authentication-Results: amazonses.com;
spf=pass (spfCheck: domain of seahaven.com designates 209.85.160.198 as permitted sender) client-ip=209.85.160.198; envelope-from=apm+bncBAABBCN7YHIAMGQEODRQPMQ@seahaven.com; helo=mail-qt1-f198.google.com;
dkim=pass header.i=@seahaven.com;
dmarc=none header.from=hxgnsmartcloud.com;
X-SES-RECEIPT: AEFBQUFBQUFBQUFHdldrTkxtN0YrK01xZ0lUOFRjS3JXQUVhOTVyd081T2J0aXkxOEpuR01sZTNvcG1pS1pUOFV3VE5jajh6NU5IaEVNcjZWbGcwVWErYm1idUxtSkxVUnJEZFd5YXlvdGU4VW1QaVdBWDJmR1Q5YkxZREx3TjE4aE9ZNmxhWURrSUVPSEtRNlZVOFdaTGdMaEFSVEIrRmVQRXNBeFppSHdTa29mdGpiYUtvaXRPT055N2ZYQ3FmMDFja2VRNnJhNUp0WkFUbzJsSE5UKzNpUkRkRzRXVEt0OXhicC84ZW4yaWF1NVdYTDE4d1hLSlIybnRIMWZQcjZMZ3M0alQrRTBuSzhWc3lVNUdpRUd6eHNuRXZuZ1ZkWTFWZXo1dmlkVkd0RDRIc1pKcFFDVkgxVWtTblAwRHZMSzR1c2FmTEVhK3c9
X-SES-DKIM-SIGNATURE: a=rsa-sha256; q=dns/txt; b=nod3SeCE4zHL3gftDakRoNZRgpvWDvcU7yHlChT1lMV5XFlFwL3HjgrMmLhg3+9TU4YqX5XtQ02rEX7FGxa5a2nM2re6XDLD3nlXivxCoXVOGvf8+9GcZcGAhn5vlXlfcSqfjJs43qcZO8QiIM5i105nWX9HsImK0Cb3C8Abzzw=; c=relaxed/simple; s=224i4yxa5dv7c2xz3womw6peuasteono; d=amazonses.com; t=1779457930; v=1; bh=gyq19/UK5BeteLLqVHXhecerVsQyRZrhwpAo0jgDcXY=; h=From:To:Cc:Bcc:Subject:Date:Message-ID:MIME-Version:Content-Type:X-SES-RECEIPT;
Received: by mail-qt1-f198.google.com with SMTP id d75a77b69052e-516d8b6e4dfsf10286981cf.0
for <apm@int.seahaven.com>; Fri, 22 May 2026 06:52:10 -0700 (PDT)
ARC-Seal: i=2; a=rsa-sha256; t=1779457930; cv=pass;
d=google.com; s=arc-20240605;
b=JDmejfyCglClLf1byAdT+SvQAaTYO3LlJfwdCpCSmVVBwPOGxelA+F7wxDOOYzfhw7
j1aU9szeH/9b0fCWC5NYEZaC85NEym62pXLuFbVQtxaVqDc9YY3ZSpQhoCKq8DKvvj7+
FU4oNdl//0pFldE/9v+Y5h+++c1gWQPbU00GPgqIVMNHIgzoEH1wxf2gyGG5xXkv3bjK
EgcZN3yqzMb+a3INlnUzqqqatWLdkyKz8VY74j0yEkM8AtQ5mj4+AWfU7mqtGdhK9ki2
1UBptmW3d+NTSH/8tMbuKoUD9kagEyZ/cCUeU0Lcw8z3twcdGP4fJE/9C2Vn10mHguu8
6lZA==
ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605;
h=list-unsubscribe:list-archive:list-help:list-post:list-id
:mailing-list:precedence:content-transfer-encoding:cc:to
:mime-version:subject:message-id:from:date:sender:dkim-signature;
bh=gyq19/UK5BeteLLqVHXhecerVsQyRZrhwpAo0jgDcXY=;
fh=3GWmv259Ov5MiCPqHFPGx3TMu6zdHAPqbvfjykXiDGY=;
b=TdU11G3KHi9DyMTRJf1jCqfTurAVlOaLr6ydJ0D3zeVDkEpO0zcIr7ZMnOUJZjhpFb
d0WvNLtWvNQTpUEfTZDLBSZA4ds/TDJze4IWkl9iQmPIPhlLHKtCV2VTo7Ry1AmpQlYZ
4dYvttEmOwRjdzPL/g16xmJ3u89gmRVIrp4qJm31CRrmuqT+/2zOZwcPUdEzxkvNQ4iG
H0+VG3k/Vz/cugrZNqH1lLqw6GgUtjuqkIEMCWXJTcYIa84g2vdYGUg02WbG8GiReTWs
rt22BGc+txDsooQlmnnQlANvv/Ulbhydife8NqhZ/D6+bmawQzaas5vdQ7/b0fIxtXho
vPjQ==;
darn=int.seahaven.com
ARC-Authentication-Results: i=2; mx.google.com;
dkim=pass header.i=@hxgnsmartcloud.com header.s=s1 header.b=eBtAFAaP;
spf=pass (google.com: domain of bounces+26302078-5c6c-apm=seahaven.com@em7440.hxgnsmartcloud.com designates 159.183.186.6 as permitted sender) smtp.mailfrom="bounces+26302078-5c6c-apm=seahaven.com@em7440.hxgnsmartcloud.com"
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=seahaven.com; s=google; t=1779457930; x=1780062730; darn=int.seahaven.com;
h=list-unsubscribe:list-archive:list-help:list-post:list-id
:mailing-list:precedence:x-original-authentication-results
:x-original-sender:content-transfer-encoding:cc:to:mime-version
:subject:message-id:from:date:sender:from:to:cc:subject:date
:message-id:reply-to;
bh=gyq19/UK5BeteLLqVHXhecerVsQyRZrhwpAo0jgDcXY=;
b=DvzTZr1eD5RdGIboI1fFo2BchD1Y32AXrkKwsYalJejb/0p7g/m1YVu7hEeVSXEvoO
Wh6WCfAPKinuPOHIKRCgEHjWcZFkL8HiAAlSNBYsOyfe3sQ2ejO0Ip3BLU3DVOCjaL3U
uc58qVzKQ6dXbe6qaK/PWQqTqv6WefIOLNHkc=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20251104; t=1779457930; x=1780062730;
h=list-unsubscribe:list-archive:list-help:list-post
:x-spam-checked-in-group:list-id:mailing-list:precedence
:x-original-authentication-results:x-original-sender
:content-transfer-encoding:cc:to:mime-version:subject:message-id
:from:date:x-beenthere:x-gm-message-state:sender:from:to:cc:subject
:date:message-id:reply-to;
bh=gyq19/UK5BeteLLqVHXhecerVsQyRZrhwpAo0jgDcXY=;
b=pdep+ef5sj7oaxpKkzLrQmsFq3Zw7WzgvIY8FuTnJ4p1wTc6yvb14Y6S79dIb4AjdG
zYb5KAk7/rH+DlLeBYqUgQwq/ZdNK34C18yb1lcqEQ6iEeqvBlzXu0iFwQlCnku3duIU
qPQkttK8s+SF/U5s3HnDi5MkP/9yhNvd2pq76kDZHhQL4W9Yqky7WgBm333RnUvdSn4i
dhKjoOanyAP+nqGaG5q72w6ijZoozMpeuvl7XZRHB4aZt0h6TXv/qXNh9Zb/9xCq5Oyc
9sH3tA0kaNNCyggAWELZQW7xpyTip9BdSM8CnbzObb/Hp2QDjph7MqDxxVWoXYTL8jIi
//mw==
Sender: apm@seahaven.com
X-Forwarded-Encrypted: i=2; AFNElJ9iIsLZluQK3+1e/GW9L7aI0j4ADCp1ii1zIeXMgIQBrc02DY9BWiSYvMBWmIgyZzk4ORg=@int.seahaven.com
X-Gm-Message-State: AOJu0Yx5RPMNCn22D4IIPSBfQ60njqemcLIRMHVgv7JwHLIG4DfoHdAY
w0hdi7WQ2on2Npkx9ypc4u0yB2JAxX2zaWnXgjWg412NakG4e+oDL5OD0sODnf9TFO+RWg==
X-Received: by 2002:a05:622a:118c:b0:50d:6fd3:421 with SMTP id d75a77b69052e-516d566e85emr39493431cf.6.1779457929651;
Fri, 22 May 2026 06:52:09 -0700 (PDT)
X-BeenThere: apm@seahaven.com; h="AUV6zMOqvkSujH8TSyF545nE9l+RQqq7SFLsvgdq0fcV4lGSJA=="
Received: by 2002:ac8:7d10:0:b0:50f:b181:6ae0 with SMTP id d75a77b69052e-516451474cdls159449561cf.0.-pod-prod-00-us;
Fri, 22 May 2026 06:52:09 -0700 (PDT)
X-Received: by 2002:a05:622a:5a8c:b0:516:dd47:2971 with SMTP id d75a77b69052e-516dd472b89mr14929381cf.20.1779457929079;
Fri, 22 May 2026 06:52:09 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; t=1779457929; cv=none;
d=google.com; s=arc-20240605;
b=XEWQs8+iTzc104wiNJ2TPsix5Ley+HaOHxo9QcvgsF9Zh9CUZvlHEjb3jwWwVk6izy
kQXZRnj721eciIG0v5dmIruPquSKcZ0Lgvy2Maahp1aNm8++4UgxAYQQsNuQZ/WHxAqY
8eakNR5kEOEU6dGv7tdygKWXC0bORpFH8YqyhTuuhxq9tYYClVvStgecEAB78BRF6t9k
YOKy/bt/yPQu/3kQ933sCx/QHhOOOVU3u2N4FlfSfjZ0J+sO2fmCue8MpXecM6DX+qES
8mG2+tRic2kJGCF2Zasu5pHRUZq07xrYlVKDzuYrnMqMKsI3K/71W7m1oGOpk9hDy+6J
EzLQ==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605;
h=content-transfer-encoding:cc:to:mime-version:subject:message-id
:from:date:dkim-signature;
bh=vezpNG5ImAOZx2VaJEk6GzRJgCp92WQZoTiBpQyTKnk=;
fh=g1KMt2uu6d/wtRJUa+wrGcix+lN0Ye1Sq5qLs6CqU+Y=;
b=N54xqG6+z73KcD7Y1V0Nl/+4Qw/ArWavV3r6qxrlQEkYEkP6Pf5DDyrGaYfg819yZ8
0eo91J71ibX6g13ryBslUmVsMwzk1xCm3j88IyfcrPmK7IOQof+kQwHXPCGrYwxVOfkQ
G0nSqYASto5b2saORK10ZIcOGG63kJEzPCtw4OgqMy3TpFE3wLkhCD0J675ga15fibNo
zh0VgP3qAyjJHaC91Hqh8MqUZy9JoUPcUc0/lPOTNeLP2jjXo6LbGY26FDdRRnFMCx34
1IBQCesuYdYtXRE0mGFZYDXNJJ5I5ShF4R9Viw/piL5J+poar4yN2+sYut7fVB7a1X5/
tSGg==;
dara=google.com
ARC-Authentication-Results: i=1; mx.google.com;
dkim=pass header.i=@hxgnsmartcloud.com header.s=s1 header.b=eBtAFAaP;
spf=pass (google.com: domain of bounces+26302078-5c6c-apm=seahaven.com@em7440.hxgnsmartcloud.com designates 159.183.186.6 as permitted sender) smtp.mailfrom="bounces+26302078-5c6c-apm=seahaven.com@em7440.hxgnsmartcloud.com"
Received: from wfbtbxhs.outbound-mail.sendgrid.net (wfbtbxhs.outbound-mail.sendgrid.net. [159.183.186.6])
by mx.google.com with ESMTPS id d75a77b69052e-516d8b013c1si15439151cf.1.2026.05.22.06.52.08
for <apm@seahaven.com>
(version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128);
Fri, 22 May 2026 06:52:09 -0700 (PDT)
Received-SPF: pass (google.com: domain of bounces+26302078-5c6c-apm=seahaven.com@em7440.hxgnsmartcloud.com designates 159.183.186.6 as permitted sender) client-ip=159.183.186.6;
Received: by recvd-7b756759fd-4dlvl with SMTP id recvd-7b756759fd-4dlvl-1-6A105F87-22
2026-05-22 13:52:07.365508941 +0000 UTC m=+2045918.120452085
Received: from ip-10-210-43-144.ec2.internal (unknown)
by geopod-ismtpd-80 (SG) with ESMTP
id iZM24Hh1TwiU8UL4lgeSdw
Fri, 22 May 2026 13:52:07.345 +0000 (UTC)
Received: from eam-ejcron-node-prd-use1-BLUE-jboss-host (ip-10-210-43-225.ec2.internal [10.210.43.225])
by ip-10-210-43-144.ec2.internal (Postfix) with ESMTP id 2C81789F2D;
Fri, 22 May 2026 13:52:07 +0000 (UTC)
Date: Fri, 22 May 2026 13:52:07 +0000 (UTC)
From: noreply@hxgnsmartcloud.com
Message-ID: <482735661.10305.1779457927173@eam-ejcron-node-prd-use1-BLUE-jboss-host>
Subject: AMAZON assign Work Order 18644082645 on building WFG1
MIME-Version: 1.0
X-SG-EID: =?us-ascii?Q?u001=2EwgPQEA+gt=2F9mQv4JaEv+7bS6+azo2TqPxIY4NYuvhrkGNBf+mPInuAB5n?=
=?us-ascii?Q?Q4CCIHA5oUeBb+pM9gAmjf+Ir9HbT7jIhGyixaj?=
=?us-ascii?Q?SFAKXIiFg4wGmKnFEYsJzTB01fzb4LAoleB5oSQ?=
=?us-ascii?Q?UtoWWBQtaTvMGWtvqwST+qVc3VN0eflYXoH9zcD?=
=?us-ascii?Q?cyB3hfjEyZ2=2FZT2ExG1WJi6M9emMcML=2FsoepOEn?=
=?us-ascii?Q?Q=3D=3D?=
X-SG-ID: =?us-ascii?Q?u001=2ESdBcvi+Evd=2FbQef8eZF3BpTL9BgbK5wfSJMJGMsmprDbUzeBWuovVTbBH?=
=?us-ascii?Q?cHrL4KZuK4ay+HJJ12+qFfZzgQD5iYfKI2daqv4?=
=?us-ascii?Q?VB5Z=2F0KI9oXIx=2FxJWFWQEdUz6cEWpqMDWxXIy2b?=
=?us-ascii?Q?I2ku+mX3aBiJ8UFTXqKjFuPWkVZ9sTziek7+8gM?=
=?us-ascii?Q?0TNCkwuKJjrVNoxQUr7TXZ4tg8Iwxbxlsub=2F4Qw?=
=?us-ascii?Q?BdC994XBdodeqqpu5IIkMM=3D?=
To: apm@seahaven.com
Cc: j.placeholder@example.com
X-Entity-ID: u001.VZcPi/LkFgKueLtNVvOzkw==
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Original-Sender: noreply@hxgnsmartcloud.com
X-Original-Authentication-Results: mx.google.com; dkim=pass
header.i=@hxgnsmartcloud.com header.s=s1 header.b=eBtAFAaP; spf=pass
(google.com: domain of bounces+26302078-5c6c-apm=seahaven.com@em7440.hxgnsmartcloud.com
designates 159.183.186.6 as permitted sender) smtp.mailfrom="bounces+26302078-5c6c-apm=seahaven.com@em7440.hxgnsmartcloud.com"
Precedence: list
Mailing-list: list apm@seahaven.com; contact apm+owners@seahaven.com
List-ID: <apm.seahaven.com>
X-Spam-Checked-In-Group: apm@seahaven.com
X-Google-Group-Id: 419189812204
List-Post: <https://groups.google.com/a/seahaven.com/group/apm/post>, <mailto:apm@seahaven.com>
List-Help: <https://support.google.com/a/seahaven.com/bin/topic.py?topic=25838>,
<mailto:apm+help@seahaven.com>
List-Archive: <https://groups.google.com/a/seahaven.com/group/apm/>
List-Unsubscribe: <mailto:googlegroups-manage+419189812204+unsubscribe@googlegroups.com>,
<https://groups.google.com/a/seahaven.com/group/apm/subscribe>
<html>The Work Order&nbsp; 18644082645 has been assigned via AMOC team for =
the building WFG1.<br><br>WO Description: eiusmod veniam magna et consecte=
enim dolore nostrud laboris do veniam ma<br><br>Severity: 5<br><br>Date Rep=
orted: 2026-05-22 07:51<br><br>Scheduled Start Date: 2026-07-31<br><br>Addr=
ess:<br><br><br>Please review it in Amazon Portal<br><br>Thank You<br><br>(=
This is an automated email from the AMAZON APM system.)<br></html>
<p></p>
-- <br />
You received this message because you are subscribed to the Google Groups &=
quot;APM&quot; group.<br />
To unsubscribe from this group and stop receiving emails from it, send an e=
mail to <a href=3D"mailto:apm+unsubscribe@seahaven.com">apm+unsubscribe@sea=
haven.com</a>.<br />
To view this discussion visit <a href=3D"https://groups.google.com/a/seahav=
en.com/d/msgid/apm/482735661.10305.1779457927173%40eam-ejcron-node-prd-use1=
-BLUE-jboss-host?utm_medium=3Demail&utm_source=3Dfooter">https://groups.goo=
gle.com/a/seahaven.com/d/msgid/apm/482735661.10305.1779457927173%40eam-ejcr=
on-node-prd-use1-BLUE-jboss-host</a>.<br />