class LittleGhost::Harnesses::Request

One unit of work for a harness: the task and the limits it runs under.

LittleGhost::Harnesses::Request.new(
  prompt: "Add a test for the refund policy lookup.",
  cwd: "repository",
  budget_usd: 2,
  max_turns: 40,
  timeout: 900
)

cwd is a Workspace path for the process’s working directory. session_id resumes an earlier session of the same harness. model, effort (a reasoning effort level such as medium, for harnesses that support one), and instructions (text added to the tool’s system prompt, or placed before the task when the tool has no such option) are optional. add_dirs lists extra absolute directories a tool may read. budget_usd and max_turns bound the work; timeout bounds wall-clock seconds. environment adds child-process variables and takes precedence over harness defaults. mcp_servers maps a server name to the HTTP URL of a Model Context Protocol server the tool may call, such as a ToolServer behind a relay; without it the tool starts with no MCP servers.

Values that reach the command line are checked so they cannot be read as options.