(
_stage_dir: Path,
_run_dir: Path,
_config: RCConfig,
_adapters: AdapterBundle,
*,
llm: object = None,
)
| 362 | run_dir=run_dir, |
| 363 | run_id="run-4", |
| 364 | config=rc_config, |
| 365 | adapters=adapters, |
| 366 | auto_approve_gates=True, |
| 367 | ) |
| 368 | assert result.status == StageStatus.FAILED |
| 369 | assert "Missing input: goal.md" in (result.error or "") |
| 370 | |
| 371 | |
| 372 | def test_execute_stage_gate_behavior_auto_approve_true_keeps_done( |
| 373 | monkeypatch: pytest.MonkeyPatch, |
| 374 | run_dir: Path, |
| 375 | rc_config: RCConfig, |
| 376 | adapters: AdapterBundle, |
| 377 | ) -> None: |
| 378 | _write_prior_artifact(run_dir, 4, "candidates.jsonl", '{"title": "paper"}') |
nothing calls this directly
no outgoing calls
no test coverage detected