Record the audit-core E2-03 target pass and close T03/T07

Land the sanitized WH-ENG-20260822-AUDIT-E2-03 report, mark the
engagement completed and terminal, and close the applicable E2 harness
and risk-nexus delivery tasks. flex-auth stays pending; tenant-engine
stays not_applicable.

Assistant: grok
Assistant-Session: 01a02670-3345-76f2-a014-70fde8e2a2bb
This commit is contained in:
tegwick 2026-08-23 00:42:31 +02:00
parent 5fcb3ec280
commit 3295b715c5
18 changed files with 293 additions and 72 deletions

View file

@ -87,6 +87,14 @@ def test_aborted_record_fails_closed():
)
def test_completed_record_fails_closed():
with pytest.raises(AuthorizationError, match="completed"):
Engagement.load(
"engagements/2026-08-22-audit-core-e2-03.json",
now=datetime(2026, 8, 22, 22, 10, tzinfo=UTC),
)
def test_elapsed_record_fails_closed_even_inside_old_window(tmp_path):
data = record()
data["status"] = "expired"