unified_context
Assemble a complete, role-aware context object in one call by combining session state, user profile, lessons, prevention guards, and code-graph impact. Replaces multiple recall, retrieve, and session_primer calls.
Instructions
Assemble a complete, role-aware context object in one call. Combines session state, user profile, relevant lessons, prevention guards, context pack, and code-graph impact — with tiered graceful degradation (full → warm → cold). Replaces multiple recall/retrieve/session_primer calls with a single orchestrated request.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | Describe the current task to find relevant context | |
| toolName | No | Current tool being invoked (improves lesson matching) | |
| toolInput | No | Current tool input (for guard evaluation) | |
| agentType | No | Agent type — shapes context budget and feature inclusion | |
| repoPath | No | Repository path for code-graph impact analysis |