record_prompt_intent
Classifies user intent and reasoning type from prompts, recording implicit expectations and failures for adaptive learning.
Instructions
TRIGGER: Call this on EVERY user prompt to classify intent and detect reasoning type. 🧠Records the prompt with extracted intent for adaptive learning. Args: session_id: Current session/conversation ID prompt_text: The user's prompt text intent_category: Classified intent (e.g., 'feature_request', 'debugging', 'clarification') reasoning_type: Detected reasoning type (e.g., 'loop_kick', 'gap_injection', 'depth_escalation', 'substantive') implicit_expectation: What the user implicitly expects but didn't say failure_detected: Description of any failure detected in this prompt
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session_id | Yes | ||
| prompt_text | Yes | ||
| reasoning_type | No | unknown | |
| intent_category | No | unknown | |
| failure_detected | No | ||
| implicit_expectation | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |