The TS update-routing used the deprecated `!!stack.GitConfig` to flag a git-backed stack, which can diverge from the canonical Go daemon routing (`IsGit: st.WorkflowID != 0`) on the new Workflow/Source model. Derive it from WorkflowID instead (added WorkflowID to the client Stack type). The stack-type filter (Type === DockerCompose) was already in place and tested. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Stacks are placed in the /app/react/common folder, because they are used by both Kubernetes and Docker environments and are saved locally to the Portainer database.