"""Shared fixtures for proactive tests.""" import pytest from gimme_job.proactive import roles @pytest.fixture(autouse=True) def _isolate_candidate_logs(tmp_path, monkeypatch): """Keep role-candidate JSONL writes inside the test tmp dir.""" monkeypatch.setattr(roles, "workspace_dir", lambda: tmp_path / "workspace")