Run managed commands and wait for their results without repeated agent polling.
Run a command once, preserve its job reference, and wait for completion. Use for long builds, tests, and GitHub CI watchers instead of repeated agent status polling.