helpers/llm_result.py.dox.md
llm_result.py owns the runtime implementation.llm_result.py.dox.md owns durable notes about responsibilities, contracts, side effects, and verification for that implementation.ResponseItemResponseFunctionCallLLMResultLLMResult.metadata() stores only durable provider state under RESPONSE_METADATA_KEY: response IDs, structured output items, provider/mode/state, usage, and capability data. Runtime prompt inputs, raw responses, and duplicated response/reasoning text are not persisted in history.from_response(...) must preserve provider response_id, previous_response_id, raw output items, usage, and capability metadata.from_chat(...) must produce an equivalent chat-completions result with mode="chat_completions" and state="off", preserving optional function-call output items when the chat transport supplies them.call_id and optional acknowledged safety checks.pytest tests/test_responses_architecture.py -q after changing result metadata behavior.No child DOX files.