Funny ... I have a 50-line bash script that does this but it also runs each agent in a sandbox so the agents can't write to disk outside their designated got worktree. I'm happy to skip the TS+NodeJS but will admit my version might not be as portable.