record_command_exit
Record the exit code of a subprocess command execution, signaling success (0) or failure (non-zero) for context optimization.
Instructions
Record the exit code of a command that was generated and executed.
STRONG signal: a real subprocess produced a real exit code. Convention: exit_code == 0 → "success", anything else → "failure".
Args: request_id: the trace_id from the optimize_context call exit_code: subprocess exit code; 0 = success command: optional short representation of what was run
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| command | No | ||
| exit_code | Yes | ||
| request_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |