Roughly, the action of a character should be unpredictable before it has been shown, inevitable when it has been shown. In the first half of a novel, the unpredictability should be the more striking. In the second half, the inevitability should be the more striking.