/** * review_task tool — Human-in-the-loop approval gate for tasks. * * Allows a human reviewer to approve, reject, or request changes on * tasks that are in `needs_review` status. This enables approval gates * before agent work is considered complete. * * Actions: * - "approve" → marks the task as completed, unblocks dependents * - "reject" → marks the task as revision_requested with feedback * - "request_changes" → marks the task as revision_requested with feedback */ import { z } from "zod"; import { Vault } from "../vault.js"; import { Config } from "../config.js"; export declare const reviewTaskSchema: { task_id: z.ZodString; action: z.ZodEnum<{ approve: "approve"; reject: "reject"; request_changes: "request_changes"; }>; feedback: z.ZodOptional; reviewer: z.ZodOptional; }; export declare const reviewTaskHandler: (vault: Vault, config: Config) => (input: { task_id: string; action: "approve" | "reject" | "request_changes"; feedback?: string; reviewer?: string; }) => Promise<{ content: { type: "text"; text: string; }[]; isError?: boolean; }>; //# sourceMappingURL=review-task.d.ts.map