Code Over Context: Decoupling AI Agent Reasoning from Deterministic Execution