EvalWorker
start() resolves once this worker’s run has no tasks left. Call stop() to
finish the current work and stop pulling tasks.
The
model value must match the model used inside runAgent. Ressl uses this
value to compare runs that use the same dataset and model. The constructor throws
if model or runId is empty.
EvalTask
Ressl passes this object torunAgent:
Add
task.mcp to the MCP configuration used for that agent call:
Events
UseonEvent to log or monitor worker activity:
task event includes { runId, taskResultId, taskId }. The reported event
includes { taskResultId, error? }. Error data includes the failed operation and
either an error message or HTTP status.
Failure behavior
- The worker retries temporary request failures with exponential backoff, up to 30 seconds between attempts.
- A
401or403response stops the worker. - The worker tries up to three times to report task completion.
- If
runAgentthrows, the worker reports the error. Ressl still grades the state left in the mock world.
Trigger API
The included GitHub Actions workflow uses this endpoint to start a run.404 if the
dataset is unavailable or the task filter has no matches.
Run status API
Check the run untilstatus is succeeded or failed:

