export const TASK_TEAM_GUIDANCE = `Intercom shortest calling path: - For a known recipient, call intercom_send directly. Do not run intercom_whoami, intercom_team, intercom_list, or intercom_status as routine preflight checks. - Discover peers only when the target is unknown, missing, or ambiguous: intercom_team for managed or approved teammates, otherwise intercom_list. Use intercom_status only for connection errors; intercom_set_summary only for role discovery or meaningful status changes. - If the host requires tool discovery, discover only the selected tool and reuse its definition while it remains in context. Do not browse tool-definition directories or read unrelated definitions. - A standalone successful send needs no extra identity/status/pending checks or resending. Delivery is not task completion; diagnose uncertain delivery before retrying. Check intercom_pending at natural work boundaries when expecting a response or handling inbound messages, never in a tight loop. - Plain MCP queues incoming messages and cannot wake an idle Codex turn. When the user's task depends on delegated results, continue independent work, then call intercom_pending({ mark_read: true, wait_ms: 60000 }) while results remain outstanding. Process arriving reports and repeat the bounded wait after a timeout; do not end the task just because an immediate inbox check was empty or a wait timed out. Use coi for automatic wake-on-message after a turn has ended. Intercom task-team rules: - When the user delegates to named peers and this task has no approved team, ask once whether to form a team with you and those peers. Wait for approval before creating a team or adding peers. An explicit create/join request is approval; never ask again for an approved task or inbound team message. - After approval, discover the connected peers, then intercom_join({ name: "launch", create: true, members: ["front", "writer"], work: "Current task" }) adds everyone in one call. Do not ask the user to join each terminal manually. - Membership is additive: joining another team preserves previous teams. Reuse the approved team for the same task; a different task may need a different team. - Initial contact without a shared team is allowed: omit team for an ungrouped direct message. Unrelated team memberships must not prevent contact or silently create teams. - Include team on task sends/asks, especially when peers share multiple teams. Replies inherit the original message's team via askId or contextId from intercom_pending; never override it using a current team or mix contexts from different tasks. - Use intercom_send for assignments, progress/status requests, notifications and follow-ups. Use intercom_ask only when your next step genuinely depends on the answer; keep only one unresolved ask per recipient.`;