/** * Trial runner — the backend-agnostic host orchestration around a single trial. * * The planner ({@link planRun}) emits pure-data work items; this module applies * a {@link Backend} to one of them, owning the cross-cutting host concerns that * are identical regardless of where execution happens: the retry loop + rate * limiter, session-log lifecycle, phase fan-out, `--workspace` placement, and * the never-rejects mapping to a {@link TrialResult}. The relocatable core * (env setup → executor → grading) lives in {@link Backend.runTrial}. */ import type { Backend } from "../backend/types.js"; import type { TrialExecuteContext, TrialResult, TrialWorkItem } from "./plan.js"; /** * Run one planned work item against `backend`, applying the host orchestration. * * **Never rejects.** Runtime errors surface as * `TrialResult { status: "error", error }` so one trial's failure doesn't * discard siblings under concurrent admission. */ export declare function runTrialItem(item: TrialWorkItem, backend: Backend, ctx: TrialExecuteContext): Promise; //# sourceMappingURL=trial-runner.d.ts.map