procurement-ingest/lambdas/wo/email_processor/tests/fixtures/update-plaintext/update-plaintext-01.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

176 lines
12 KiB
Text

Return-Path: <apm+bncBAABB7XPX7HQMGQE7UX6GCQ@seahaven.com>
Received: from mail-qt1-f199.google.com (mail-qt1-f199.google.com [209.85.160.199])
by inbound-smtp.us-east-1.amazonaws.com with SMTP id 0kl54vklp4nen6i01k6838oafme3qou8cri7ci01
for apm@int.seahaven.com;
Mon, 27 Apr 2026 23:57:51 +0000 (UTC)
Received-SPF: pass (spfCheck: domain of seahaven.com designates 209.85.160.199 as permitted sender) client-ip=209.85.160.199; envelope-from=apm+bncBAABB7XPX7HQMGQE7UX6GCQ@seahaven.com; helo=mail-qt1-f199.google.com;
Authentication-Results: amazonses.com;
spf=pass (spfCheck: domain of seahaven.com designates 209.85.160.199 as permitted sender) client-ip=209.85.160.199; envelope-from=apm+bncBAABB7XPX7HQMGQE7UX6GCQ@seahaven.com; helo=mail-qt1-f199.google.com;
dkim=pass header.i=@seahaven.com;
dmarc=none header.from=hxgnsmartcloud.com;
X-SES-RECEIPT: AEFBQUFBQUFBQUFFc0NvZExmNXBpekN4UjVXK094bnhUMGhZRmltV1QxRHlxaGtibUUrMDRYR044bTFoKzRkVUVhQ0V0UGhDdG5ucTZGUkF1R3pCalFWMVBiZ01kSXI1THJ0Tm10ait2V1RRU200VHVwOHpJbnhUTzNTcEk5WXV2NFQySUNiZGtTeG4yTU1WWjNpN1AxUmg5Q25BYi9lcTVDMnV0MW5Fam1GQWgwWkthTkZqUlMrdkc3Q0VDcHk5RlN2Y2xGL3lTMnRLRE0yeXBreURGeDU5VE95WXp2UURsZFcvSWNhS0xjakZ5eGdlZ2VqUXB4d0NSS2w4TytaU0xzNlMzS3lTcmE2MDlBYkNtcytNb1E4NERrVW1mR3FyNmRad1B4UlJRd1Evb3NQdUZzKyt4NDBrWHdRbHZhM0lTWWZxRTZ4ME4wVEU9
X-SES-DKIM-SIGNATURE: a=rsa-sha256; q=dns/txt; b=ZCfVuqMtkszuOdmB6l/3tRV4CNre631DB+1+AvcUifOMqU71UqYwKNKbpKsNntckqXkmbet92ViDCBI9ztgrJJ/tkbqxO8oOCKJG1E0Qf82wiYB87hg/G937uWd6lJw5giC/nHkLVdqEiVSsNHjnc5Lt2oZImebboZ+TeilDIc0=; c=relaxed/simple; s=224i4yxa5dv7c2xz3womw6peuasteono; d=amazonses.com; t=1777334272; v=1; bh=ihieKubTaIuFVKkjE9ejmD3y69awgYqnX9npJmKUUXI=; h=From:To:Cc:Bcc:Subject:Date:Message-ID:MIME-Version:Content-Type:X-SES-RECEIPT;
Received: by mail-qt1-f199.google.com with SMTP id d75a77b69052e-50e423a05c8sf141549681cf.0
for <apm@int.seahaven.com>; Mon, 27 Apr 2026 16:57:51 -0700 (PDT)
ARC-Seal: i=2; a=rsa-sha256; t=1777334271; cv=pass;
d=google.com; s=arc-20240605;
b=Qc907XKlsABiJSSbRAEKX94bm86KlqixRbl9HbpFCS1FYzqjNslAuYV08o/dhFZjVV
j9GQnHEnlMjhoyrHIKtluW2p1XgQAubmKDSpwTGZgo6V8gLVDwLMaOckpAYC2VhAeWx2
mI+ecKMUJmDSziltH73GYyVAkqhQiqyM6VdyHXblhYEV/RoaCWb2ZrKtFvl2Xw4MuQ8T
lMqTAf+ZLEeRNXo9e1VlgdNQ6KcJDfAijVWCDNLZEbmzyp9CxeAUF3HlKtXrcPMOJrSr
zPXOJwiQZj1ieszB2z14/eK8gtcXiSXE2MGRxhpd2xBQXwEEvmVVZy5voUMU57DUfDBd
GpCQ==
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:to:mime-version
:subject:message-id:from:date:sender:dkim-signature;
bh=/UiJ0CZFqhdHT6vg7hlkHHp0AdoNIxpFSj9jONDXNnM=;
fh=LQrikWMoJVtJIuFGDzpdieMLK557uALmgb0meuXXFPs=;
b=j/g9GzojgDgFLDGz4peclhJAp1p1XAVTzRRqPKoEgvbDzH0ObI2FhLjvR5a6UrJ6Cu
kndoucT65OqmR3gEbUEon0FFS6Alx0c3BM3XZfR0PkOnBeeTdw1M6me9/ELXdJkh7hKW
f4S9Sy6s1jXxjhx62CkVs0DROqz1XwgC7KX6bVf3m4WrPJ/0kkpGTBrcCgcVEPRprstD
gUYYitPk4GP7TGSDq0xRc9SINY8o5KpJEcR/CS0/h7vW7puXe+TJtQ9VGtzM76Bg9Atq
uK32l+zDa8JQkEWeu9jRXJYfbEXiaNV5vXzJSmoB+Jevt9B7+abPL9J1Qvxn+Vz5DSy8
0/MA==;
darn=int.seahaven.com
ARC-Authentication-Results: i=2; mx.google.com;
dkim=pass header.i=@hxgnsmartcloud.com header.s=s1 header.b=Wy1GwFgF;
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=1777334271; x=1777939071; 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:to:mime-version:subject
:message-id:from:date:sender:from:to:cc:subject:date:message-id
:reply-to;
bh=/UiJ0CZFqhdHT6vg7hlkHHp0AdoNIxpFSj9jONDXNnM=;
b=IJT48EnqA9AZQdI4CsrMq7aUBuhMEqMMiJ059osjy9XPaanqLZ28tHhwrH0blzUeS+
b1rPlFSixY4+Zzf/c3VgUP77XMW+xh/ZWXQtMsbIpZlBz0W68vFcKGhho09H5s378PM/
74QHvXvp05RaWfA+uJFUUAB23FQADx+nPALmQ=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20251104; t=1777334271; x=1777939071;
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: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=/UiJ0CZFqhdHT6vg7hlkHHp0AdoNIxpFSj9jONDXNnM=;
b=VFxASCQRpxLHs+nZ/xn4IRM4Gd4D70s9cHGLCzEPh3Rw8gxcTFqj3ktFNmjMsThsAJ
YRPlfOI/cd+YaJiWmz78VGzjJZly9yZ1XKC2OG2I3EFzZNkNi3flpR06w8B1eQPKfY/i
ywZJJfpQ9f/xNjfKq3NQJF5oa7ahPPUxFCMsJ0n+IrsYUvLI4y5xQecF2CH7rLwN5Rv/
Me3mTb7hz3hLrFSBxoCAcRa68jWIW8t5A7i2KR7d8d5tcxyZPs1QrLMjargnvd08hp58
L3Dz/6FLs2B5NmAkUJCWgOjVWSUVEg+dv30UU+omA0eKb1EilmAI6SSXMDzGDPFJJS23
sZgA==
Sender: apm@seahaven.com
X-Forwarded-Encrypted: i=2; AFNElJ9Kl2sDSaGPJjJp5CG8Q0gbhryGg/VnHkRXwE3JM1WFFU2vOVHQKZtmH43k2BZdcLIPbCc=@int.seahaven.com
X-Gm-Message-State: AOJu0YzbNoiD4bKrA1U5S/WHuzfScFSHko3MuCH4eqzPUHpQ9pKA4MIA
4q3vP0ewVB/6au7f4Qs/OmXtQBS2x76MijhBvtFkr5mFZH4uR4KzPdSYBJLFVI9RU+RVgg==
X-Received: by 2002:ac8:57d4:0:b0:50e:5755:913d with SMTP id d75a77b69052e-5100d79e4demr12960801cf.0.1777334271091;
Mon, 27 Apr 2026 16:57:51 -0700 (PDT)
X-BeenThere: apm@seahaven.com; h="AUV6zMM/e15CxxhZWQHsddEEEw/V/4nqpOro1J1n3rTbZu+ngw=="
Received: by 2002:a05:622a:4656:b0:50f:b181:6ae0 with SMTP id
d75a77b69052e-50fb1816d70ls53703381cf.0.-pod-prod-00-us; Mon, 27 Apr 2026
16:57:50 -0700 (PDT)
X-Received: by 2002:ac8:7f03:0:b0:50d:815e:7977 with SMTP id d75a77b69052e-5100da6e776mr12413471cf.34.1777334270564;
Mon, 27 Apr 2026 16:57:50 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; t=1777334270; cv=none;
d=google.com; s=arc-20240605;
b=BEoiGcMalZ5z0tX+1DOmHZgu61KMJihG20Wn9NQ33Rxl5Y5yyy1yUYpT1Z2bUJfQGD
sXBe4g/qo54ZtsmLvvdLSKYpAfq0DsrQDsgH5hR6aRng4tz/BVGo8pbBkg8uDfFI3Up/
ZeWdBMaHwHLid+jz5tOJDxvdWoLC1T4XgpppbqqIdeNQovSINA0ObPXrsqNejOQK2lB5
4NJG1NzZ5K44tlFlRfg7gd1h45VvV9Y6foeWk/H7e9uVhhQ4Eo55MdPfd2hWWM8ZNBfK
rvFChzv8RlWAwLtHHbS9OHpT4H0/hxBmoMcM/2MHvqTZGDPsDbouYBX/GzNdabqJ8B/Y
OWVQ==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605;
h=content-transfer-encoding:to:mime-version:subject:message-id:from
:date:dkim-signature;
bh=3z5LDBN1lPzWeH24M4sQkBnWhEk8QZrJkDMk71B89oY=;
fh=rC9RwFVu8iCzG0E9uF1CJYmhsOugTNm8xrjKrXGzGeQ=;
b=OZlOopbx3L9xjii4Bx/iU5FMGv6ZnFRFsakzLyRNW9B5a6mtbGUK58JQUUF7ZTc2ty
cFpTIXep81NUr+p5xahhbKzBpn4O7fH/GZnRyDAucE6AShoq9ACPkSrTxNQiSYuJ56VE
Fnj8b9oTK1QqF5nwt2ecBMsp3Up6R7fXWcy6TWMLEoIJVHV8wH0q/8dtRsGs2Pr3MwAv
/gk3Xwm7l5lr3tHiZiDQue12dHtGVS8Ffre+WmCH85VnHGeBhziuuPgUv07g28LyyDKT
g9e9JErLk2Bjg3HQINe6E3b3eqbWUnL3FNsZlGrWLnijo34mvf33tFsrpf3tzR9c6QiM
Fq3A==;
dara=google.com
ARC-Authentication-Results: i=1; mx.google.com;
dkim=pass header.i=@hxgnsmartcloud.com header.s=s1 header.b=Wy1GwFgF;
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 6a1803df08f44-8b3e29b1efbsi11133416d6.416.2026.04.27.16.57.50
for <apm@seahaven.com>
(version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128);
Mon, 27 Apr 2026 16:57:50 -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-5d94468d7c-59n6t with SMTP id recvd-5d94468d7c-59n6t-1-69EFF7FD-1A
2026-04-27 23:57:49.912926109 +0000 UTC m=+526448.707256066
Received: from ip-10-210-42-138.ec2.internal (unknown)
by geopod-ismtpd-43 (SG) with ESMTP id xj-ZjuPfRuOIv-RWP7LtFA
for <apm@seahaven.com>; Mon, 27 Apr 2026 23:57:49.900 +0000 (UTC)
Received: from eam-ejcron-node-prd-use1-GREEN-jboss-host (ip-10-210-42-153.ec2.internal [10.210.42.153])
by ip-10-210-42-138.ec2.internal (Postfix) with ESMTP id CA759E29DA
for <apm@seahaven.com>; Mon, 27 Apr 2026 23:57:49 +0000 (UTC)
Date: Mon, 27 Apr 2026 23:57:49 +0000 (UTC)
From: noreply@hxgnsmartcloud.com
Message-ID: <772358820.7168.1777334269823@eam-ejcron-node-prd-use1-GREEN-jboss-host>
Subject: AMAZON UPDATE WO DETAILS 11144580730
MIME-Version: 1.0
X-SG-EID: =?us-ascii?Q?u001=2EwgPQEA+gt=2F9mQv4JaEv+7bS6+azo2TqPxIY4NYuvhrnN2XU9XQt7LrGB3?=
=?us-ascii?Q?8iRaikdcZa0hhkIjoFX=2Fv5AQVn2zpM1lWDpf91x?=
=?us-ascii?Q?BtYLYrzefW7lkN8xpKY2M=2FvXWj6wttQt7PU=2FNXH?=
=?us-ascii?Q?xj64wW8=2FCjcDrYB01fzMvuoV3c+7Xmknm+WoUnX?=
=?us-ascii?Q?gt+gX14XGGZQY5hbIWW1qdAssTcmPOqxJknAvnB?=
=?us-ascii?Q?Q=3D=3D?=
To: apm@seahaven.com
X-Entity-ID: u001.VZcPi/LkFgKueLtNVvOzkw==
Content-Type: text/plain; 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=Wy1GwFgF; 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>
New Comment:
ut amet ipsum enim exercitation sed dolor eiusmod sit eiusmod veniam elit =
ad ullamco aliqua et nostrud magna exercitation sed veniam elit dolor ad d=
eiusmod sit ad adipiscing minim dolore consectetur tempor sit ipsum eiusmo=
do incididunt amet ad adipiscing tempor u
Creation Time(UTC): 2026-04-27 23:51:48
Submitted By: sit ad adipiscing dolor eiusmod sit ad ullamco nisi nisi eni=
tempor sit ad adipiscing tem
_________________
Work Order: 11144580730 - consectetur tempor sit ipsum enim adipiscing do=
elit dolor eiusmod
Building: WCO0.
Please review it in Amazon Portal
Thank You
(This is an automated email from the AMAZON APM system.)
--=20
You received this message because you are subscribed to the Google Groups "=
APM" group.
To unsubscribe from this group and stop receiving emails from it, send an e=
mail to apm+unsubscribe@seahaven.com.
To view this discussion visit https://groups.google.com/a/seahaven.com/d/ms=
gid/apm/772358820.7168.1777334269823%40eam-ejcron-node-prd-use1-GREEN-jboss=
-host.