aeea2c8a8a
Separated the fork prompt result into accepted, declined, and unavailable states. Interactive declines now return cleanly through runRootCommand, while non-TTY invocations continue to fail with a diagnostic instead of silently exiting 0. Updated regression coverage for both branches. Fixes #1668