/** * MCP Tool: link_commit * Link a git commit SHA to a feature spec (and optionally a task). * * Deterministic workflow for AI agents: * 1. Retrieve spec context via get_feature_spec (spec_id is now in context) * 2. Implement changes and commit code * 3. Run `git rev-parse HEAD` to capture the exact SHA * 4. Run `git remote get-url origin` to get the repo URL * 5. Call this tool with the SHA, repo_url, and spec_id/task_id * * This creates full traceability: code -> commit -> task -> spec -> requirement. */ import { z } from 'zod'; export declare const LinkCommitInput: z.ZodObject<{ domain: z.ZodOptional; project_id: z.ZodOptional; spec_id: z.ZodString; task_id: z.ZodOptional; commit_sha: z.ZodString; repo_url: z.ZodOptional; }, "strip", z.ZodTypeAny, { spec_id: string; commit_sha: string; domain?: string | undefined; project_id?: string | undefined; task_id?: string | undefined; repo_url?: string | undefined; }, { spec_id: string; commit_sha: string; domain?: string | undefined; project_id?: string | undefined; task_id?: string | undefined; repo_url?: string | undefined; }>; export type LinkCommitParams = z.infer; export declare function linkCommit(params: LinkCommitParams): Promise; //# sourceMappingURL=link-commit.d.ts.map