Add functionality to prevent child sessions from accepting parent handoffs in both the shell and PowerShell hooks. Introduce a new function to clip additional context to a maximum of 10,000 characters, ensuring consistency with the native router's behavior. Include tests for these features to validate the expected behavior of subagent payloads and context clipping.