Skip to content

Big Feature - Workflows #18

@jparr721

Description

@jparr721

Overview

I think I'm similar to others in that when I start a branch, especially when I'm using something like a linear ticket, I have a pretty standard sequence of operations that I want to execute. Something that I've thought about here is just like we have the review button today that spawns an agent, I feel like I'd like to have a workflow button or something like that where I can have a multi-step operation specified. The idea here is that there would be a button called workflow. I would click it and it would open a dialog. The dialog would be a free text input where I could put the linear task description since linear actually supports copying the entire task as a prompt. And then effectively what would happen is some pre-generated prompt that I wrote, for example, something like:

Fan out an agent workflow to implement . Your role is the orchestrator doling out tasks to each sub-agent. The eventual deliverable is the entire task done in THIS worktree as one large PR. You MUST tell the agents the following

  1. Complete their assigned task.
  2. Run a code review of their changes
  3. Perform ANY finding fixes.
    Then you will handle ordering their tasks and code into this worktree. Do NOT merge without me, I will code review, just make the PR. Make sure all work trees are cleaned up if your sub-agents used them when you’re done. Please ensure once all tasks are done you run one final code review.

The idea basically is just a free form prompt input that gets basically pasted directly into the chat right from the start. Thoughts?

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions