Guides 8 min read

From backlog to merged PR: running a sprint with agents

A step-by-step walkthrough of one real sprint in Fairlx: grooming the backlog, delegating cards to agents, reviewing their pull requests and closing the sprint.

F

Fairlx Team

Product

a sprint, step by step

From backlog to merged pull request

This is a walkthrough of one two-week sprint for a fictional team at Acme Inc. Five engineers, one product manager, one web app on GitHub, and a project in Fairlx with the key ACME. Some cards go to people, some go to the Fairlx Agent, and everything ends up reviewed, merged and verified in production. The team, the keys and the tickets are invented. The screens and the steps are real.

The setup

Before the sprint starts, Acme has three things in place:

  • A Scrum project with the key ACME, linked to the team’s GitHub repository.
  • Plus licenses for everyone who will assign work to the agent.
  • Secrets and a sandbox environment under the project’s Dev Tools tab, so the app can boot in a coding session. The quickstart covers this setup.

1. Groom the backlog

Priya, the engineering lead, opens the Backlog tab on Monday morning. The backlog groups upcoming sprints above the unscheduled work, with Create sprint, Quick create and Add Epic at the top. She creates Sprint 14 and drags in the candidates.

app.fairlx.com
Backlog view with sprints, Start sprint and Complete sprint, and a table of work items
The Backlog view: sprints with Start sprint and Complete sprint, quick create, epics and story points.

One epic is still a single vague story, “Saved reports v2”. Priya asks the agent in Plan mode to break it down. The agent reads the epic and the product requirements document in the project’s docs, then proposes four stories with acceptance criteria. Plan mode investigates and writes a plan without editing anything, so she trims the list to three and then asks the agent to create them.

The team estimates in story points. Edits in the backlog panel are held until you press Save, so you can adjust several fields during grooming and save them together.

2. Set the agent defaults

Next, Priya checks the project’s Agents tab. These defaults decide how much any agent assigned to an ACME card may do on its own. Changing them requires permission to manage project settings.

app.fairlx.com
Project Agents tab with agent defaults, CI after merge settings and production environments
Agents tab: autonomy and delivery defaults, what happens when CI breaks after merge, and production environments.
SettingAcme’s choiceWhy
AutonomyStagedPlan first, then wait for approval. The team is new to agents.
DeliveryPull requestOpen a pull request once the quality gates pass, so every change gets a human review.
When CI breaks a closed itemFile a regression bugCreates a linked bug for the failure instead of only leaving a note.
Production environmentsDefaultUses GitHub’s production flag, or an environment named prod, production, live or main.

3. Start the sprint and assign cards

Priya presses Start sprint and switches to the Kanban tab. Assigning work to the agent uses the same assignee menu as assigning it to a person. She makes three calls:

  • ACME-142, a bug where the checkout button stays disabled after a coupon is removed, goes to the Fairlx Agent. It is small, well described and easy to verify in a preview.
  • ACME-145, an empty state for the saved reports page, also goes to the agent. The design is attached to the card.
  • ACME-150, a change to how billing records are stored, stays with Sam. It touches production data and needs a migration plan that a person should own.
app.fairlx.com
Kanban board with To Do, Assigned, In Progress and In Review columns
The Kanban board during the sprint. Agents move their cards across columns and post run comments.

Pick the first cards carefully

Agents do their best work on tickets with a clear expected result and a way to see it. Bugs with steps to reproduce and small UI stories are good first assignments. Save data migrations and cross-service changes for later.

4. Approve the plan

Shortly after assignment, the agent comments on ACME-142 with an implementation plan. It names the files it expects to change, describes the fix and lists how it will test it. Because the project is Staged, the plan waits.

Priya reads it and notices the plan does not mention the mobile layout. She replies on the card with @Fairlx and a one-line note, which resumes the agent. The revised plan covers both layouts, and she approves it. The card moves to In Progress and the agent starts implementing in its sandbox.

5. Check the preview

The coding session for ACME-142 has been running since the assignment. Once the app passed its health check, the Preview tab showed the live app. Priya opens it, switches to the phone view, applies and removes a coupon, and watches the button behave.

For ACME-145 she shares the preview link with the product manager, who asks for the secondary button style instead of the primary one. Priya leaves that as a comment on the relevant hunk in the Changes tab. The comment resumes the agent, which makes the change and restarts the preview.

6. Review the pull request

When the work is done and checks pass, the agent asks to open the pull request. After Priya accepts, it opens from the session branch, and Priya gets an Inbox notice and an email that an agent opened a PR.

Review happens in Reviews, the project’s Review Studio, where the diff, checks, deploy preview and review threads sit together. Sam reviews ACME-142 and approves it. On GitHub you cannot approve your own pull request, so a teammate reviewing agent work is the normal pattern. Priya then merges with squash from Review Studio.

app.fairlx.com
Work item detail view with description, steps to reproduce and a properties panel including development
The work item view. The properties panel includes a Development section for branches and pull requests.

7. Let CI decide when it is done

Merging does not close the loop on its own. With CI after merge, a merged item counts as Done once CI on the merge commit is green and, if the repository deploys, its production deploy has succeeded. Preview deployments never count.

On Wednesday, a merge for ACME-145 breaks an unrelated end-to-end test. Fairlx watches CI after merges and can open a CI fix, but it never auto-fixes a broken base, an infrastructure problem, a flaky test or a failure it cannot reproduce. This one was flaky. Because Acme’s workflow has a way back from Done, the item is reopened with the failure noted. The regression bug setting is used only when a workflow has no way back from its final status. Sam reruns the job, confirms it is flaky and files a separate task to fix the test.

8. Close the sprint

On the last Friday, Priya moves the one unfinished card to Sprint 15 and presses Complete sprint on the backlog. Then she opens the Insights tab, which shows the target date, percentage done and what is at risk, including overdue items and open high-priority work. She posts a project update marked On track, so stakeholders do not need to ask.

app.fairlx.com
Project Insights tab showing target date, percent done, at-risk counts and project updates
Insights: target date, progress, at-risk items and project updates with On track, At risk or Off track.

What the team learned

  • Write the ticket for a reader who was not in the meeting. The agent did best on cards with steps to reproduce and an expected result.
  • Correct plans early. A one-line note on a plan costs less than a review round on code.
  • Use the preview for product feedback. Sharing a running app got a faster answer than sharing a screenshot.
  • Keep humans on risky work. Data migrations and cross-service changes stayed with people, and Staged mode stayed on for the whole sprint.

Next sprint, Acme plans to try Autonomous mode on a narrow set of low-risk cards. The settings live in Project → Agents, and you can change them any time.

Try it

Run your own version of this sprint at app.fairlx.com. Start with the quickstart, then read Kanban agents for every assignment option and Staged mode and approvals before you change the defaults.

#sprints#kanban agents#tutorial

Try Fairlx with your own backlog

Personal accounts are free with 500 credits a month. Teams start on Plus at $6 per license per month, billed annually, with 6,000 credits per license.