ClaudeCliBackend.build_argv()
Build the inline -p argv for the sentiment/pushback scoring path.
Usage
ClaudeCliBackend.build_argv(
content,
*,
model,
)The prompt travels inline as the -p argument instead of over stdin. The invocation uses inline_system_prompt as the system prompt, JSON output, a single turn, no tools, and no slash commands; verbose appends --verbose.
Parameters
content: str-
Prompt text passed inline via
-p. model: str-
Claude model name or alias, e.g.
haiku.
Returns
list[str]- The argv list to execute; parse its stdout with parse_result_envelope.