Expire WH-ENG-20260822-AUDIT-E2-01 after an unused window

The 18:00Z-18:15Z window ended with no projection-ready notice and zero
packets. Mark the identifier terminal. Record platform-pg E3 as not
applicable for an ordinary runtime conformance-view identity.

Assistant: grok
Assistant-Session: 01a02670-3345-76f2-a014-70fde8e2a2bb
This commit is contained in:
tegwick 2026-08-22 20:20:38 +02:00
parent da98590d2a
commit f8251c5de8
15 changed files with 56 additions and 40 deletions

View file

@ -24,16 +24,16 @@ def test_kill_switch_is_clear_by_default(capsys):
assert capsys.readouterr().out.strip() == "clear"
def test_validate_engagement_refuses_before_window(capsys):
def test_validate_engagement_refuses_elapsed_window(capsys):
with pytest.raises(SystemExit) as stopped:
main(["validate-engagement", "engagements/2026-08-22-audit-core-e2.json"])
assert stopped.value.code == 2
err = capsys.readouterr().err
assert err.startswith("not authorized:")
assert "engagement window has not started" in err
assert "elapsed" in err
def test_admit_plane_refuses_before_window(capsys):
def test_admit_plane_refuses_elapsed_window(capsys):
with pytest.raises(SystemExit) as stopped:
main([
"admit-plane",
@ -43,7 +43,7 @@ def test_admit_plane_refuses_before_window(capsys):
assert stopped.value.code == 2
err = capsys.readouterr().err
assert "not authorized:" in err
assert "engagement window has not started" in err
assert "elapsed" in err
def test_admit_plane_refuses_cancelled_engagement(capsys):