arXiv:2610.41813cs.AIOct 2026

Manuscript Offprint

arXiv:2610.41813

RECAST: REconstruction of Chain-of-Thought via Auditable Structured Traces

Qi Wang, Kang Xu, Chengcheng Wan, Jiangtao Wang

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Large closed-source reasoning models expose only their final answers. The intermediate reasoning that produces those answers is hidden behind API surfaces, tool-call policies, and safety filters. Existing chain-of-thought (CoT) extraction methods assume a side channel: a visible reasoning field, a scratchpad carried through tool calls, or a signed/encrypted reasoning block. We reproduce three representative state-of-the-art extraction methods and find that, on Claude-Sonnet-5.5 accessed through the standard chat-completions interface, all three return zero CoT tokens. The failure is structural rather than a bug: the reasoning field is absent, named tool selection is rejected, free-text scratchpad arguments are filtered, and no replayable reasoning block is exposed. We therefore take a different route. We present RECAST, a reconstruction-based framework that conditions a decoder on the question and the target model's final answer, reconstructs a first-person structured rationale, cleans it, and builds SFT-ready data. To the best of our knowledge, RECAST is the first system to reconstruct CoT from frontier closed models such as Claude-Sonnet-5.5, GPT-6.1, and Gemini 3 without using hidden reasoning channels. We instantiate RECAST on Claude-Sonnet-5.5 and additionally obtain successful qualitative reconstructions on GPT-6.1 and Gemini 3 with the same answer-only protocol. The system is open-source and packaged as an agent skill: one prompt deploys it and runs the complete pipeline to produce SFT-ready CoT data. This preprint describes the system, its threat model, and a controlled artifact validation; it does not claim large-scale benchmark improvements.

1 Introduction

Frontier closed-source reasoning models are increasingly deployed as black boxes: a user supplies a question and receives a final answer, while the intermediate reasoning that produced the answer remains hidden. This is a problem for reasoning

distillation. If we only observe answers, a student model can imitate what the teacher answered but receives little supervision on how to reason. If we can obtain an auditable rationale for each answer, we can instead train the student on the reasoning process itself.

A growing line of work attempts to recover such rationales from closed models. The representative strategies are (i) forcing the model to place its reasoning into a custom tool argument (Luo et al., 2026), (ii) replaying a scratchpad state through multi-step tool injections (Qu et al., 2026), and (iii) replaying a signed or encrypted reasoning block with a weaker decoder (Panfilov et al., 2026). These methods are extraction methods: each assumes a side channel through which hidden reasoning becomes observable.

We reproduced all three methods and evaluated them on Claude-Sonnet-5.5 (Anthropic, 2026) through a standard OpenAI-compatible chat-completions interface. None of them produced a single CoT token. The failures were not implementation errors. The interface rejected named tool selection, filtered free-text tool arguments, omitted reasoning fields, and exposed no signed or encrypted reasoning block. In one probe, the target model consumed 9,949 completion tokens but returned only a final answer, confirming that substantial internal computation took place while the reasoning layer remained invisible.

The failure is structural. The three methods fail for different surface reasons, but the underlying pattern is the same: they need a channel that a modern frontier deployment does not provide. We identify four constraints that jointly close the extraction surface:

  1. No reasoning field. Responses contain final content and usage, but not reasoning_content, thinking, signature, or encrypted_content.

  2. No named tool forcing. The endpoint accepts only automatic tool choice; requests for a specific function or “any” function are rejected.

  3. Filtered free-text tool arguments. Tools with a free-text scratchpad argument are blocked by the safety layer, including when the tool is given a neutral name.

  4. No replayable block. There is no provider-issued reasoning artifact that a weaker decoder could replay.

These constraints are properties of the deployment, not of our scripts: ordinary tools with short structured arguments still work, and a standalone decoder call succeeds. We therefore do not try to bypass them.

From extraction to reconstruction. RECAST takes the only reliably observable signal—the final answer—and reconstructs a rationale from it. A decoder model receives the question and the target model's complete answer, writes a first-person, stage-structured solution trace, and is then cleaned by a second model to remove dialogue, meta-commentary, and answer statements. A final-answer stage attaches a canonical answer, and a dataset builder produces chat-formatted SFT data with assistant-only supervision. Because the method only needs the final answer, it does not depend on hidden reasoning fields, tool-call state, or provider-issued encrypted blocks. The same protocol applies to any model whose answers are observable through a chat interface.

Auditability. We use “auditable” in a procedural sense: the reconstructed trace is organized into stages, is self-contained, does not mention dialogue/meta artifacts, and does not reveal the final answer before the derivation. The decoder is answer-conditioned, while the student sees only the question at inference. This is the property the title names; it is a condition for usable supervision, not a claim that the trace is the target's true hidden computation.