/** * Bug-fixing tool bindings. * * Two tools are exposed: * * 1. `get_issue_with_test_reports` — composite query: fans out to * `issues/get` + `user_stories/list` + `test_cases/list` + * `test_reports/latest`, then merges into one payload. Cannot be * generated from a single contract entry; written by hand on top * of the shared `bindWrappers` helper. * * 2. `verify_fix` — pure echo. The agent calls it after applying a * fix to record `{summary, files_modified}` for downstream phases. * No backend hop; just a structured tool result. * * Both bindings respect the same tracker / textResult plumbing as * spec-driven tools so observability is uniform. */ import { type SdkMcpToolDefinition } from '@anthropic-ai/claude-agent-sdk'; import { type ToolDeps } from '../../core/transport.js'; /** * Build the two bug-fixing tool bindings against the supplied transport. * * Returned tools are fresh per call — the closure captures `deps.mcp` and * the tracker. Servers are cheap to construct, so it is fine to rebuild * them per agent session if scoping requires. */ export declare function buildBugFixingTools(deps: ToolDeps): SdkMcpToolDefinition[]; /** * Names exposed by this server. Used by skill-level allow-lists and the * coverage contract test. */ export declare const BUG_FIXING_TOOL_NAMES: readonly ["get_issue_with_test_reports", "verify_fix"];