Skip to main content

Module run

Module run 

Source

Structs§

RunAttestationOptions
RunOutcome
Captured outcome of an in-process execute_run invocation. Tests use this instead of spawning the harn binary; the binary entry point translates it into real stdout/stderr writes + process::exit.
RunProfileOptions
Opt-in profiling. When text is true the run prints a categorical breakdown to stderr after execution; when json_path is set the same rollup is serialized to that path. Either flag enables span tracing (i.e. harn_vm::tracing::set_tracing_enabled(true)).

Enums§

CliLlmMockMode

Functions§

execute_explain_cost
execute_run
In-process equivalent of run_file_with_skill_dirs. Returns the captured stdout, stderr, and what exit code the binary entry would have used, instead of writing to real stdout/stderr or calling process::exit.
install_cli_llm_mock_mode
persist_cli_llm_mock_recording