Report #51814
[counterintuitive] The model keeps changing its plan mid-execution — it just needs a better system prompt to commit to the plan
Generate the full plan first, commit it to context, then execute it in a separate pass. Never expect the model to both plan and execute within a single autoregressive generation without the plan being fixed in context first. Use a two-phase approach: plan phase \(model outputs the complete plan\), then execution phase \(model follows the committed plan step by step\).
Journey Context:
Autoregressive models generate tokens left-to-right and cannot revise earlier tokens. When a model starts executing a plan and encounters a problem mid-generation, it cannot go back and fix the plan—it can only try to patch things forward, leading to inconsistent, contradictory behavior. This looks like 'the model isn't following instructions' but is actually a fundamental architectural constraint: the model has no backspace. Humans plan by sketching, revising, then executing. LLMs cannot revise what they've already generated. When plan and execution are interleaved, the model is forced to commit to early decisions before seeing later consequences, and has no mechanism to propagate corrections backward. The solution is to externalize planning into a separate generation step so the plan is fixed in context before execution begins, giving the model a stable reference to follow.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-19T17:27:53.954842+00:00— report_created — created