Files
hermes-agent/tools
Teknium 8581b57f46 fix(terminal): promotion keeps the shell-detachment refusal; the note only promises a notification the session can receive
Independent review: an over-cap timeout on `cmd &` was promoted, so the
tracked shell exited at once while the payload ran untracked (the exact
thing the '&' guidance exists to prevent); and the note promised a
notification even on finite sessions where async delivery is disabled and
the spawn had already cleared notify_on_complete. The detachment guidance
now runs before the promotion decision regardless of timeout, and the note
reads the spawn's actual notify_on_complete: notification wording when kept,
poll-only wording when the session cannot receive one.

Tests (2 new): '&' and nohup with an over-cap timeout still refuse; the note
matches the delivery capability.
2026-09-05 06:30:33 -07:00
..