When cmd_start forks a new session, the session detection logic now excludes both base_session_id AND pm_agent_session_id to prevent forked sessions from being misidentified as the pm-agent session. This addresses issue #81 where forked sessions were showing the same session ID as the pm-agent.