The spawn tool result uses `childSessionKey` (not `sessionKey`), and task/label come from the tool input args, not the result details. Without this fix registerSubagent was never called because the extracted sessionKey was always undefined. Co-authored-by: Cursor <cursoragent@cursor.com>