get_context
Assemble task context from the indexed codebase: matches decisions, rationale, tests, approvals, and file impact, with freshness verification against source contents.
Instructions
Assemble task context: matching decisions with rationale, approval, owner, sources, last review, and freshness, plus related tests, file impact, and any available map entries. Map verification is rechecked against sampled source contents; stale or unknown verification requires a fresh review, and recordedVerdict preserves the historical verdict. Proposals are suggestions; legacy records are unreviewed; accepted decisions are constraints subject to freshness. No initialization or map required. Pass task and optional files. map.status and diagnostics preserve missing or invalid knowledge. Impact covers up to three unique files, expanding directory anchors.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dir | Yes | Absolute path to the project root directory | |
| task | Yes | The task, bug, or change request in natural language — e.g. 'add rate limiting to the API client' or a ticket description | |
| files | No | Optional file paths already known to be involved (e.g. from a diff or stack trace). Entries containing them are boosted above pure text matches. |