Working in a project

Workflows, gates & handover

Which flow fits your team, where people decide, and how work moves between people and agents.

The flowPersonAgentflunkey
  1. Workflow
  2. Phase
  3. Gate
  4. Next phase
  5. Handover

Four workflows

WorkflowFamilyHow work moves
Spec-driven developmentAgent chainSpecify, Clarify, Plan, Tasks, Implement, Test, Deploy – people approve the documents
Loop engineeringAgent chainGoal, Loop, Review, Deploy – an agent works in rounds until every check of the goal passes
Simple KanbanBoardCards move from To do to Done; WIP limits warn
Simple ScrumbanBoardKanban in iterations of fixed length

A project uses one or both agent chains – one of them as the default for new features – or exactly one board. When a workflow is switched off, features that already started still finish in it; nothing is deleted.

Workflows and phases in the project settings.
Workflows and phases in the project settings.

Loop engineering

  1. GoalWhat must be true at the end, with 1 to 20 checks an agent can verify – a test that passes, a command that succeeds.
  2. RoundsEach round changes the code, runs the checks and reports each with evidence. A grid shows every check per round.
  3. PauseThe loop pauses when the agent is blocked, a round fails, the limit is reached or the rounds are used up. You choose Continue, Change goal or Stop.
  4. ReviewOnce a round passes every check, a person approves the merge request.

Phases and gates

PhaseCompletes whenGate after it
Specifythe specification is approvedApproval or automatic
Clarifythe open questions are answeredApproval or automatic
Planthe plan is approvedApproval or automatic
Tasksthe task breakdown is approvedApproval or automatic
Implementall tasks are done and a person approved the merge request–
Testevery requirement has a passing testTest gate
Deploythe feature runs in every production environment–

Below the lifecycle, the phase status says what happens now and what you can do next – e.g. "Developer is implementing", "Product Owner is waiting for answers" or "Waiting for approval of draft v1".

Waiting for you

Waiting for you in the sidebar collects everything that needs your decision, grouped into Questions, Reviews and Approvals. You answer questions right there. The bell reports assignments, mentions, questions, reviews, ready pull requests, failed runs and reached limits – by email too, if you like.

Hand work over

Every phase and every task can move between people and agents at any time. If an agent is working, flunkey asks Replace the running assignee? – the agent stops after its current step, drafts and history stay, and the new assignee continues from there.

When the basis changed, Restart chain takes the feature back to Specify, Plan or Tasks. The agent gets your note and the commits since the last approved version.