forget_all¶
Clears the system's private beliefs and current shared commitments, then puts the top goal back on the goals stack. This is not a complete session reset or a history-erasure operation.
Attributes, children, and placement¶
There are no attributes or children. It can appear in a plan, postplan, or conditional branch.
Behavior and usage¶
forget_all also clears pending non-integrated moves, hint indices, and iterators. It preserves previous commitments and does not clear utterance history, the question-under-discussion stack, or the agenda. The plan item itself is removed; it does not discard the remaining plan. Use forget or forget_shared for selective fact cleanup. Start a fresh session when a complete reset is required.
DDD JSON: