triage_repository
Condense a repository snapshot and issue signals into a ranked evidence bundle of suspect files and symbols, with budget-capped snippets for planner use.
Instructions
Condense one repository snapshot into a bounded workspace evidence bundle for the planner: ranked suspect files and symbols with scored, budget-capped snippets. signals seeds the search — pass issue_text, diagnostics, failing_tests, changed_files, and/or workspace_context. The returned workspace_evidence_bundle_ref is the required input to create_repository_decision_plan; use run_repository_pipeline to chain both stages in one call. Read-only against the repository; persists the bundle artifact. Returns suspect_files, suspect_symbols, evidence_items, and token reduction stats.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| signals | Yes | Evidence seeds: issue_text, diagnostics, failing_tests, changed_files, workspace_context. | |
| snapshot_id | Yes | Snapshot id from create_repository_snapshot. | |
| token_budget | No | Total evidence token budget, 256-32000; defaults to 6000. | |
| repository_id | Yes | Saved repository connector id from list_connectors. | |
| max_snippet_lines | No | Per-snippet line cap, 5-200; defaults to 40. | |
| max_evidence_items | No | Evidence item cap, 1-64; defaults to 16. |