Prompt, Context, Harness, Loop: The Four Layers of Engineering Reliable AI Agents