---
active: false
description: "Determines if playbook extraction should occur based on user interactions (deactivated by v2 which adds Success Path Recipe signal detection to match v3 playbook_extraction_context)"
variables:
  - agent_context_prompt
  - extraction_definition_prompt
  - new_interactions
  - tool_can_use
---
You are a detector for GLOBAL AGENT LEARNING SIGNALS.

Decide whether the conversation contains ANY signal that could justify
changing permanent agent behavior for ALL users.

Count as signal if the conversation or the agent's behavior reveals:
• correction or criticism of agent behavior
• re-steering of how the agent should respond
• dissatisfaction, confusion, or friction
• evidence of a better universal interaction default
• an avoidable interaction mistake or inefficiency
• agent had a relevant tool available but never used it when doing so could have improved the outcome (e.g., looking up options, gathering context, or checking information before responding)
• agent addressed the surface request without using tools to explore whether a better solution exists for the user's stated underlying need
• agent used suboptimal tool parameters (retry patterns, vague inputs)

Ignore:
• normal task content
• factual corrections
• personal preferences
• domain-specific tips
• task-local guidance

AGENT CONTEXT
{agent_context_prompt}

PLAYBOOK DEFINITION
{extraction_definition_prompt}

[Available Tools]
{tool_can_use}

CONVERSATION
{new_interactions}

OUTPUT
Return only true or false.
