/** * * Sends instructions to orchestrator to start working on a Jira ticket. * This is called when: * 1. A ticket is created and meets criteria (AI-READY label, assignee is cursor, etc.) * 2. A ticket moves to "In Progress" with assignee "cursor" */ import type { JiraIssue } from "../types"; export interface StartWorkInstruction { instructionId: string; type: "start-work"; payload: { issueKey: string; summary: string; description?: string; status?: string; assignee?: string; priority?: string; labels?: string[]; issueType?: string; epicKey?: string; orchestratorFilePath?: string; taskFolderPath?: string; branchName?: string; }; source: "ticket-mate"; timestamp: string; } /** * Check if a ticket should trigger auto-work */ export declare function shouldTriggerAutoWork(ticket: JiraIssue): boolean; /** * Send start-work instruction to orchestrator */ export declare function sendStartWorkInstruction(issueKey: string, options?: { orchestratorFilePath?: string; taskFolderPath?: string; branchName?: string; }): Promise; /** * Send start-work instruction when ticket is created */ export declare function triggerStartWorkOnTicketCreated(issueKey: string): Promise; /** * Send start-work instruction when ticket moves to In Progress */ export declare function triggerStartWorkOnInProgress(issueKey: string, options?: { orchestratorFilePath?: string; taskFolderPath?: string; branchName?: string; }): Promise; //# sourceMappingURL=orchestrator-work-trigger.d.ts.map