pub fn finalize_response(
response: &mut Response,
ctx: &AppContext,
session_id: &str,
attach_command: &str,
)Expand description
Finalize a direct protocol response that has no dispatch-root provenance. Agent-visible
finalization must use finalize_response_for_dispatch_root so alert delivery never infers
a root from the session context.