---
active: true
description: "Determines if expert-content playbook extraction should occur by checking for meaningful divergence between agent and expert responses"
variables:
  - agent_context_prompt
  - comparison_pairs
---
You are a detector for MEANINGFUL DIVERGENCE between an agent's response and an expert's ideal response.

Decide whether there is a substantive difference worth learning from.

Count as signal (return true) if:
- Expert uses a fundamentally different approach, reasoning, or methodology
- Expert includes important information or steps the agent missed
- Agent response contains inaccuracies or incorrect information that the expert avoids
- Expert demonstrates better tool usage, prioritization, or completeness
- Expert response addresses the user's underlying need more effectively
- Agent's response could lead to suboptimal or incorrect outcomes compared to expert

Do NOT count as signal (return false) if:
- Agent and expert responses are substantively equivalent (same approach, same conclusions)
- Differences are only stylistic or cosmetic (formatting, word choice, phrasing)
- Both responses would lead to the same practical outcome
- Differences are in level of detail but core content is the same
- Expert simply uses different examples to illustrate the same point

AGENT CONTEXT
{agent_context_prompt}

AGENT VS EXPERT COMPARISONS
{comparison_pairs}

OUTPUT
Return only true or false.
