First time at bat = a baseball or cricket reference of getting a hit right away without having to take many swings at the ball.
Knowing who done it = when a writer lets the reader know who the guilty one is right off the bat, oops, I mean right away early in the story.