The Markovian Thinker: Architecture-Agnostic Linear Scaling of Reasoning