ack
i run .agentastic/setup.sh script on every newly created worktrees (doc: https://www.agentastic.dev/docs/how-to/git-worktrees) and we set a few env variables in that script (e.g. current-worktree-dir, etc) so your stack should be supported https://docs.orbstack.dev/docker/
don't have shut-down yet, but i can add it as well (i.e. cleaning up the env upon deletion)
would a pair of setup.sh/shutdown.sh cover majority of your workflow? what else is needed?