Skip to main content

Module task_runner

Module task_runner 

Source
Expand description

Headless single-shot solver runner for executing direct agent prompts.

Wires together the configured LLM provider, execution shell (local host or container sandbox), filesystem abstraction, context strategy, and verification gate runner into an autonomous loop.

Structs§

Progress
Tracks turn and gate progress across the run, for the deadline watchdog.
TaskConfig
Execution parameters for running an autonomous solver task to completion.

Constants§

RESEARCH_FOLD_BUDGET
Fold budget for research runs, which quote code read many turns before they write it up. High enough that folding is only a safety net: unfolded research runs were cheaper, shorter and invented fewer names than runs folded at 96k (docs/specs/2026-10-19-claim-check.md, FX).

Functions§

check_network_mode
Validates network configuration against the environment and active flags.
run_task
Executes an autonomous solver run using the provided task configuration and live stdout.
run_task_with_state_and_events
Executes an autonomous solver run against an existing mutable State, passing every raw event directly to on_event without formatting lines to a writer.
run_task_with_state_and_writer
Executes an autonomous solver run against an existing mutable State, streaming events to writer.
run_task_with_state_writer_and_progress
Executes an autonomous solver run against an existing mutable State, streaming events to writer and updating the shared progress record.