Assemble task context
assemble_task_contextAssemble a bounded context dossier for a development task by merging project profile, Git changes, relevant artifacts, memory, and repository map into one AI-ready bundle.
Instructions
Prepare a bounded one-call agent dossier combining project profile, revision-aware memory, relevant artifacts, local Git changes, a PageRank-style repository map, and indexed code search. Each layer degrades independently and receives a fair share of the token budget.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task | Yes | The development task or question to orient around | |
| depth | No | Context breadth: map/search only, normal agent dossier, or deeper evidence | standard |
| directory | No | Project directory | . |
| max_tokens | No | Approximate maximum size of the rendered context bundle | |
| include_git | No | ||
| memory_scope | No | project | |
| search_limit | No | Maximum semantic search results | |
| include_memory | No | ||
| include_search | No | ||
| include_artifacts | No | ||
| memory_min_confidence | No | Ignore low-confidence memories in the agent dossier | |
| include_project_context | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | ||
| meta | Yes | ||
| error | No | ||
| message | No | ||
| success | Yes | ||
| schema_version | Yes |