Applies CCCL cub/agent/agent_radix_sort_downsweep.cuh design:
- union TempStorage reuses same shared memory across load/rank/scatter phases
- Translated: streaming parse state organized into 4 phases
(DETECT/HEADER/PARAMS/CLOSE) matching the tool call parse lifecycle
- Clear documentation of which state belongs to which parse phase
- Reset clears all phases at once like union initialization on new tile
Root cause: When tool_choice=auto + tools present, the model enters
<think>...</think> mode by default. On BI-V100 hardware, decode is slow
enough that thinking consumes the entire max_tokens budget, and the model
finishes (finish=stop) before ever emitting <tool_call> XML.
Sub168 reference: d03 in 2.12s with tools=1, finish=tool_calls
Our sub509: d03 in 49.04s with tools=0, finish=stop — FAIL
Fix: Two-layer defense:
1. protocol.py normalize_messages: when tools active + tool_choice=auto
and thinking not explicitly set, auto-set enable_thinking=False
2. qwen3coder_tool_parser.py adjust_request: same logic as defense-in-depth
3. baseline.muh synced with actual computility-run.yaml