Read .env.local from the worktree to get port assignments and build a system prompt informing Claude of backend/frontend ports and startup commands. For sandbox profiles, double-escape quotes to survive the extra shell layer inside the container. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>