Setup takes several steps (needs environment variables, has database migrations) but there is no setup command or documented sequence
no setup/bootstrap script, make setup target, or install-then-configure sequence found
The agent runs install, hits the first missing prerequisite, and fixes them one failure at a time instead of in one pass.
setup script (or a numbered sequence in AGENTS.md) that covers install, env file, services and migrations.