Workflows

Agentic workflows where people decide what coding agents build

A coding agent that handles requirement, concept and code in one go improvises wherever an instruction is missing. So ollayr sets up an agentic workflow in your project folder that splits the work into steps: each agent has one task, hands over its result as a document and starts with a fresh context.

This page shows the two workflows ollayr sets up today, from the requirement to main. Your team can change each of them on the canvas.

The Full workflow repeats one pattern of double checking: an agent creates a result, a reviewer agent checks it before a person sees it, and a person decides. What reaches your team for approval has already been checked. The Compact workflow shortens the path: there, the short specification goes straight to a person.

A Human Quality Gate is an approval by a person. ollayr leaves open who that person is on your team. Quality gates are a different thing: automatic checks such as build and tests that run inside the workflow.

Full workflow

Use the Full workflow when something new is built: a new capability, a new screen or a new route. Along the way it produces a use case, test scenarios, a solution concept, an implementation plan, code with tests, a review report and a pull request.

Three Human Quality Gates approve the use case, then the solution concept with the plan, then the pull request with its merge. Between the gates, agents work, and reviewer agents check their results before a person sees them. The first two approvals come before the first line of code. There your team reads a use case and a concept instead of a diff with hundreds of lines, and corrects the direction while a correction costs little.

Two things come from the approved use case at the same time: test scenarios, one for each acceptance criterion, and the solution concept. The scenarios sharpen the requirement before the concept is approved, and they are the basis for the test tasks in the plan. That way the code is later measured against the approved requirement.

Implementation works on its own branch. Each phase of the plan runs in a fresh run, so the agent carries only the context this phase needs. Every plan step gets one commit, and quality gates check every step, so your project still runs after each one.

A separate testing agent handles the tests on the branch, so no agent signs off its own work. The tests run before the code review, because the review also checks the tests, and both come before the merge. In the end the tests show that every acceptance criterion is covered.

Every loop has a limit: at most three review rounds for each document, and at most two fix rounds for the tests and the code review together. After that a person decides. The code review ends with one of four verdicts: PASS, MINOR ISSUES, MAJOR ISSUES or BLOCKER. A merge needs PASS and a green pipeline.

  1. Starting point, a person brings the requirement: Requirement
  2. RequirementAgent: Use casebusiness analyst
  3. RequirementReviewer agent: Use case reviewuse case reviewerBack to use case: review report, max. 3 rounds
  4. Approval by a person: Human quality gate
  5. Test preparation · parallelAgent: Test scenariostesting agentAt the same time as the solution concept
  6. Solution · parallelAgent: Solution conceptsolution architectAt the same time as the test scenarios
  7. SolutionReviewer agent: Concept reviewconcept reviewerBack to solution concept: review report, max. 3 rounds
  8. SolutionAgent: Implementation planimplementation planner
  9. SolutionReviewer agent: Plan reviewconcept reviewerBack to implementation plan: review report, max. 3 rounds
  10. Approval by a person: Human quality gate
  11. ImplementationAgent: Implementationimplementation agent
  12. ImplementationAgent: Push and pull request
  13. Branch testingAgent: Tests on the branchtesting agentBack to implementation: regression, max. 2 fix rounds in total
  14. Code reviewReviewer agent: Code reviewcode reviewerBack to implementation: MAJOR ISSUES, max. 2 fix rounds in total
  15. Approval by a person: Human quality gate
  16. End point: main

Outside this flow, auditors check the whole codebase before a release or after a large merge for deviations that build up over time.

Compact workflow

Use the Compact workflow for a small change in existing behavior, such as an adjustment of the interface or a bug. For a change of that size, use case, concept and plan would be more process than the task needs.

A short specification in the pull request text takes their place, and a person approves it before anything is built. The tests are written first and fail before the implementation begins. After that, quality gates and the code review run.

Two Human Quality Gates approve the short specification, then the pull request with its merge. If a change touches the data model, a contract, permissions or a new flow, or if its scope grows, it moves to the Full workflow.

  1. Starting point, a person brings the requirement: Requirement
  2. Agent: Short specification
  3. Approval by a person: Human quality gate
  4. Agent: Tests first
  5. Agent: Implementation
  6. Automatic check: Quality gates
  7. Reviewer agent: Code reviewcode reviewer
  8. Agent: Push and pull request
  9. Approval by a person: Human quality gate
  10. End point: main