From Prompt Engineering to Agent Engineering: A Layered Stack for Protocols, Workflows, and Declarative Intent in Agentic AI | Synapse