* feat(local-terminal): support optional startup command on local terminal hosts
* fix(local-terminal): validate saved local launch target before overlaying startup command
Related to #3615 (stays open: hiding/restoring running sessions is separate work).
Merged by judgment after ~49 Codex findings; remaining P2 (Copy Tab name/icon snapshot when host shell is edited after launch) is a cosmetic edge case for a follow-up.