engineering_context_tool
Assembles relevant engineering context by matching tags, scoring and sorting memories, and applying token budget truncation while never dropping conflicts or warnings.
Instructions
Assemble engineering context with output ordering.
Pipeline: tag match -> score -> sort -> truncate -> serialize. Conflicts and warnings are NEVER dropped for budget.
Args: tags: Tags to match against task: Optional task description (shown in output header) token_budget: Optional token budget for truncation types: Filter by memory types include_stale: Whether to include potentially stale items current_task: Description of what you're working on right now. Boosts scoring for memories relevant to this task. paths: Filter items whose evidence matches these file paths project: Optional project root path. Auto-detected from git root if omitted.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tags | Yes | ||
| task | No | ||
| paths | No | ||
| types | No | ||
| project | No | ||
| current_task | No | ||
| token_budget | No | ||
| include_stale | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |