A line collector whose snapshot is used directly by the production adapter.
Throws
SANDBOX_UNAVAILABLE when system/init reports a tool, MCP server or
permission mode outside the read-only profile; PROTOCOL_ERROR on malformed
known events, a mismatched session ID or a second terminal result.
Remarks
Thinking blocks, tool inputs and tool results are discarded. Unknown event
types and system subtypes are tolerated with one warning per type. Answer
text is not passed through keyword redaction; only diagnostics are redacted.
Collects public answers, tool activity, session identity and the terminal result from Claude Code.