From 42b24723288be3dd1c55e4fb203a6d221f584302 Mon Sep 17 00:00:00 2001 From: Denton Social Date: Mon, 28 Sep 2026 17:54:46 -0500 Subject: [PATCH] tests: keep codegen configured in the SemIf fidelity integration test --- tests/integration/test_pipeline.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/tests/integration/test_pipeline.py b/tests/integration/test_pipeline.py index 0bca2c6..52e4e24 100644 --- a/tests/integration/test_pipeline.py +++ b/tests/integration/test_pipeline.py @@ -317,7 +317,11 @@ def test_fidelity_gate_is_a_real_semif_decision(tmp_path): config["log"] = str(tmp_path / "decisions.jsonl") config["trace"] = str(tmp_path / "runs.jsonl") scheduler, config = build_scheduler(config) - scheduler.codegen = None # no rewrite; this test only exercises the gate + # The gate needs codegen configured to run; point it at a dead endpoint so + # a reconsider can't complete a rewrite (the gate still logs its decision). + scheduler.codegen = CodegenClient( + base_url="http://127.0.0.1:1/v1", model="test", timeout=2 + ) job = SkillWrite( request=Request("tell me if my package was delivered"),