MCPcopy Create free account
hub / github.com/Claw-AI-Lab/Claw-AI-Lab / bad_executor

Function bad_executor

backend/agent/tests/test_rc_executor.py:364–375  ·  view source on GitHub ↗
(
        _stage_dir: Path,
        _run_dir: Path,
        _config: RCConfig,
        _adapters: AdapterBundle,
        *,
        llm: object = None,
    )

Source from the content-addressed store, hash-verified

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
372def 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"}')

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected