diff --git a/src/workspaces/officerdev/src/apps/CommandHQ/CommandHqDetail.tsx b/src/workspaces/officerdev/src/apps/CommandHQ/CommandHqDetail.tsx index 52008275..ed93cab0 100644 --- a/src/workspaces/officerdev/src/apps/CommandHQ/CommandHqDetail.tsx +++ b/src/workspaces/officerdev/src/apps/CommandHQ/CommandHqDetail.tsx @@ -99,7 +99,11 @@ function NewCommander({ New commander )} - + {/* `context` is a prop of EmbeddableChat, and it is NOT the `context` handed to `useChat` above. + `useEmbeddableChat(params)` builds the manager from these props, and `manager.context` is what the + composer reads to decide whether to offer "exit and hand back, then re-arm". Passing it to the hook + and not to the component left that radio hidden inside a commander — the one place it exists for. */} + ); } @@ -293,6 +297,7 @@ function ResumedCommander({ sessionId, resume }: { sessionId: string; resume: Re