- defaultSpawnDetached now waits a grace period after spawn to catch
processes that exit non-zero immediately, allowing runFirstAvailablePlan
to fall through to the next strategy instead of silently succeeding.
- normalizeAppCandidates returns [undefined] (the platform-default branch)
when the resolved candidate list is empty, so an empty app array behaves
the same as omitting app entirely.
Applied via @cursor push command