From c3dffacdf3e7566caef003aef085be14071c2e75 Mon Sep 17 00:00:00 2001 From: kshitijk4poor <82637225+kshitijk4poor@users.noreply.github.com> Date: Sat, 3 Oct 2026 15:27:23 +0530 Subject: [PATCH] test(sessions): drop the explicit archived-id export check Gate finding (BN06 r1 quality, Low): the --session-id path never reads the export filters, so this block passes on the merge base too (probe-BN06-3) and pins behaviour the stack does not change. --- tests/hermes_cli/test_sessions_export_retention.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/tests/hermes_cli/test_sessions_export_retention.py b/tests/hermes_cli/test_sessions_export_retention.py index e6c7fb9b8d..ed31fa2835 100644 --- a/tests/hermes_cli/test_sessions_export_retention.py +++ b/tests/hermes_cli/test_sessions_export_retention.py @@ -58,8 +58,3 @@ def test_explicit_missing_export_fails_without_creating_an_output(store, tmp_pat assert error.value.code != 0 assert "missing-session" in capsys.readouterr().out assert not output.exists() - - # An explicit archived id remains exportable; protection flags concern deletion. - output = tmp_path / "archived.jsonl" - _run(monkeypatch, "export", "--session-id", "archived", "--format", "jsonl", str(output)) - assert json.loads(output.read_text(encoding="utf-8"))["archived"] == 1