/**
 * Agent hooks retained for legacy callers.
 */
/**
 * Workflow task execution completes tasks directly. Review steps should be
 * modeled as workflow nodes instead of this hardcoded hook.
 */
export async function onExecutorComplete(workspaceId, taskId, issueId, result, _ctx) {
    console.log(`[hook:onExecutorComplete] entered workspaceId=${workspaceId} taskId=${taskId} issueId=${issueId} success=${result.success} summary=${JSON.stringify(result.summary)}`);
    if (!result.success) {
        console.warn(`[hook:onExecutorComplete] task ${taskId} failed: ${result.error}`);
        return;
    }
    console.log(`[hook:onExecutorComplete] reviewer hook skipped; workflow controls task order taskId=${taskId} issueId=${issueId}`);
}
//# sourceMappingURL=agent-hooks.js.map