How It Works 1. Identify the runtime — Managed runtime (Node.js, Java, Python) or custom Docker container. 2. Load — for PORT config, project structure, and Dockerfile requirements. For deploy commands and environment variables, load . 3. PORT rule — Always use , never hardcode or . 4. AppSail vs Functions decision — If the user is unsure which to use, apply this matrix: | | Catalyst Functions | AppSail | |---|---|---| | Code structure | Catalyst-specific templates required | Any framework, any format, fully independent | | Use case | HTTP handlers, events, cron, Zoho integrations | Persisten…