Knob

Commitment

You might say: hysteresis, inertia, action lock, cooldown

A bias or minimum time that keeps the AI on its current choice until another option is clearly better.

What it does
Stops dithering between near-equal options while still allowing a genuine change of situation to interrupt the action.
Ask
How much better must a new option be, or how long must the current action last, before it can change?
Typical
A small score bonus, a cooldown, a minimum action duration, or commitment until success or failure.
Trouble
Units twitch between two targets, or a plan survives long after it stopped working.

What to look for

  1. A target or plan held through small score changes
  2. A cooldown timer after a choice
  3. A deliberate transition instead of frame-by-frame switching

Pattern

Hysteresis

Connections

Sources

  1. David Rez Graham, An Introduction to Utility Theory, Section 9.7One solution is to add a weight to any action that you are already currently engaged in. This will cause the AI to tend to remain committed until something truly better comes along.
  2. David Rez Graham, An Introduction to Utility Theory, Section 9.7Another solution is to stall making another decision—either for a period of time or until such time as the current action is finished.

Use it on your project

teardown-apply: hold "Commitment" (commitment) from the teardown at https://teardownatlas.com/game-ai/ against my project

Paste it into a coding agent that has the teardown skills.

An AI agent wrote this map with the teardown skill. It can contain errors: check the sources before you rely on a part. About and legal