Clarify handoff tool trigger

Amolith created

Update the handoff tool description so agents invoke it only when the
user explicitly asks for a handoff. Keep the prompt focused on the
goal-driven automatic context transfer.

Change summary

packages/handoff/src/handoff-tool.ts | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

Detailed changes

packages/handoff/src/handoff-tool.ts 🔗

@@ -20,7 +20,7 @@ export function registerHandoffTool(pi: ExtensionAPI, setPendingHandoff: (h: Pen
 		name: "handoff",
 		label: "Handoff",
 		description:
-			"Transfer context to a new session. Use when the user explicitly asks for a handoff or when the context window is nearly full. Provide a goal describing what the new session should focus on.",
+			"Transfer relevant context to a new session. Invoke when the user explicitly asks for a handoff. Provide a clear, precise goal for the new session and context relevant to the goal will automatically transfer to the new session.",
 		parameters: Type.Object({
 			goal: Type.String({
 				description: "The goal/task for the new session",