The logic of deliberate action

Two stages are discernible in deliberate action, deliberation and performance. The agent decides on what to do, then does it. Or with a more careful formulation: the agent forms an intention, and then tries to carry it out. Deliberation and performance may be complex or not, may take much or little time, may be conscious or less than conscious. Some examples will illuminate this way of viewing action.