Concepts · Humans and machines
How Soar represents stalled decisions as impasses, creates substates to work on them, and returns results that let the original task continue.
Review pending. Report issues to editor@achiral.ai.

Impasses and Subgoals in Soar
An impasse in Soar is a point where the decision procedure cannot select a new operator. Soar creates a substate, a working context for addressing the blockage. Its purpose is the subgoal: resolve what prevents progress. The Soar architecture manual explains this mechanism.
The previous chapter used Susan's reset case to distinguish a preferred action from a required one. Now consider a decision those preferences cannot yet settle. We will switch to a hypothetical refund case, where checking eligibility can resolve a tie, and follow that same case into the chapter on chunking.
Identify what stopped the decision
Soar distinguishes several kinds of impasse. The manual's description of impasses in working memory defines their representations:
| Impasse | What prevents progress |
|---|---|
| Tie | The preferences leave multiple candidates without a way to choose among them. |
| Conflict | Comparative preferences contradict one another, such as preferring A over B and B over A. |
| Constraint failure | Requirements contradict one another, such as requiring and prohibiting the same operator. |
| No change | No new operator is selected; this includes having no eligible proposal or making no further progress with the selected operator. |
These distinctions matter when designing a response. Missing comparison knowledge calls for different work from contradictory requirements. Adding another preference cannot resolve a constraint failure while the conflicting requirements remain in force.
Turn a refund tie into a specific question
Suppose a support agent has two acceptable operators: propose an automatic refund or request a review. For this example, assume neither is required, neither is prohibited, and the preferences leave an unresolved tie.
The agent needs to establish whether this case qualifies for an automatic refund. In our hypothetical policy, eligibility depends on the customer's tier, the amount, the purchase date, and explicit permission to process the case automatically.
The subgoal can therefore be specific: determine whether the current case meets those conditions. A conceptual trace would look like this:
Original task: handle the refund request
Blockage: automatic refund and review remain tied
Subgoal: establish eligibility under the current policy
Work: check the customer's tier, amount, date, and permission
Result: prefer automatic refund if all conditions are satisfiedThis is an explanatory trace, not an executable Soar program. If eligibility cannot be established, the workflow still needs a defined response, such as requesting the missing information or sending the case for review. An unknown purchase date must not silently become an eligible one.
Return a result that changes the original decision
The substate links to its superstate, the state where the impasse arose. It describes the blockage in working memory, where productions can test it. The Soar syntax manual documents these links and attributes.
For the refund example, the useful result is a preference that distinguishes the two operators. The reasoning has done its job when it supplies what the original decision lacked.
The result resolves the choice. Issuing and confirming the refund remain part of operator execution, as described in the Operators chapter.
Give the subgoal enough knowledge to do useful work
Creating a substate supplies a context for reasoning. The application must supply the rules, information, and interfaces needed to investigate the problem. In this example, that means access to the relevant policy and purchase record, plus rules for interpreting them.
A subgoal can encounter another impasse. Soar allows nested substates; creating one does not guarantee a solution. The architecture manual describes both substate creation and impasse resolution.
For an AI agent borrowing this design, record the blocked decision, the question being investigated, and the evidence needed to resume. Define when to stop investigating and request review. Otherwise, a smaller task can repeat the original uncertainty without resolving it.
Carry the reasoning into future decisions
In the refund workflow, the reusable part is the connection between eligibility conditions and the resulting preference. A future case should benefit from that reasoning only when the relevant conditions hold.
The next chapter, Chunking in Soar, explains how enabled procedural learning can turn substate results into conditional production rules, and why those conditions matter when reusing them.
Sources
- The Soar Architecture: Impasses and Substates: substate creation, results, and resolution.
- Syntax of Soar Programs: Impasses: impasse types and their working-memory representation.
Go back to Preferences in Soar, continue with Chunking in Soar, or return to the Concepts hub.