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.
This commit is contained in:
kshitijk4poor
2026-10-03 15:27:23 +05:30
committed by kshitij
parent 0ed89ea329
commit c3dffacdf3

View File

@@ -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