| 816 | * prefix" request. The protocol gives tool outputs a call_id that binds |
| 817 | * them to a prior assistant tool call. If that call_id is still known in |
| 818 | * memory, the live KV is the authoritative prefix, including any hidden |
| 819 | * thinking that the client did not replay. These fields carry the parsed |
| 820 | * evidence needed by generate_job() to append only the new suffix. |
| 821 | * |
| 822 | * A tool-output-only request has no stateless prefix to match. If the live |
| 823 | * call_id binding is gone by the time the worker executes it, DS4 must ask |
| 824 | * for a full replay rather than cold-prefilling a prompt that starts with a |
| 825 | * naked tool result. Similarly, if live state is gone, a reasoning-mode |
| 826 | * tool replay must contain the prior reasoning item (or an equivalent |
| 827 | * opaque reasoning state from a future implementation). */ |
| 828 | bool responses_requires_live_tool_state; |
| 829 | bool responses_requires_live_reasoning; |