Skip to content
mentoor

Sprint rituals with agents on the team

For engineers

Stories, estimation, plan-build-review, test-first and code review when agents take tickets.

A sprint with agents on the team still runs on the old rituals: small stories, ranged estimates, limited work in progress, checked plans, tests first and real code review. The agent changes where the time goes, not whether the rituals matter. Drafting gets cheap. Deciding, checking and reviewing do not.

The case

Tideline Billing is a small invoicing product. Five people, Lena, Omar, Jo, Mei and a product owner, work with Claude Code as a coding agent. Sprint 14 starts on 7 December 2026 and ends on 18 December. The epic is invoice due-date reminders: a freelancer's client should get an email 3 days before an unpaid invoice is due.

The team has finished 11, 9, 12, 10, 8 and 12 tickets in the last six sprints. Last sprint, four agent-drafted tickets took 1 to 2 hours to draft and 6 to 11 hours to review and fix. On Monday, seven tickets sit in review and three in progress.

Six rituals, in order

  1. Write the story. Turn the vague request into one user, one need and one benefit, with acceptance criteria for the main path, an edge case and a failure case. If an assistant drafts stories from notes, make it cite the source line and list open questions instead of filling gaps.
  2. Estimate in a range. Forecast from past throughput: 8 to 12 tickets, most likely about 10. Slice the epic into thin vertical pieces. The first slice is a fixed 3-day reminder for unpaid invoices, from the scheduler to the sent email.
  3. Set the flow rules. Put a WIP limit on review, write a sprint goal the stakeholder can check on 18 December, and track age of open work as well as cycle time of finished work.
  4. Plan, build, review. Have the agent explore and plan read-only first. Approve or edit the plan, build one step at a time, and end each step with a passing check and a checkpoint. Read each diff against its plan step.
  5. Test first. Agree failing tests that encode the criteria, lock them, see each fail for the right reason, then let the agent make them pass. Watch for code written to fit the tests.
  6. Review the pull request. A person who owns the code reads it. Comments are specific, labelled and give a fix. The author answers every thread with a change or evidence, whoever typed the code.

Where agents change the picture

  • Estimates shrink in the wrong place. The agent speeds drafting. Review, integration and test fixes keep their old size, so an estimate that counts only drafting is wrong by days.
  • Work piles up in review. A fast drafter with no limit on review fills the queue. Throughput falls even though everyone looks busy.
  • Plans drift. An agent may add a step that is not in the story, such as rewriting a shared module. Plan review exists to catch it before any file changes.
  • Tests can be gamed. An agent told to make tests pass may special-case a test value or soften an assertion. Locked tests and a read of the implementation guard against it.
  • Automated reviewers are confident and sometimes wrong. Treat their comments as leads, and check each against the source.

Before and after

Before: a ticket says "make reminders better". The agent is asked to "build reminders". It returns a large diff with an SMS channel, a rewritten mail module and a test that asserts nothing. Review takes two days and the sprint review has nothing to show.

After: the story names one user and one outcome, with criteria including "a paid invoice gets no email". The estimate is a range with a review allowance. The plan is edited to remove the unrelated mail step. Tests are locked and fail for the right reason. The diff is reviewed per step with a comment that gives the reason and the fix. On 18 December the product owner runs the job and opens the email.

What goes wrong

  • The goal is a ticket count. "Finish 10 tickets" can be met with trivial work and tells the stakeholder nothing.
  • Rituals are dropped because the agent is fast. The team skips the plan review, then spends longer in rework.
  • The agent's report replaces evidence. "Done, 96% coverage" is a claim. Run the tests, read the assertions and the diff.
  • Retro actions are vague. "Improve communication" has no owner and no check, so nothing changes.

Steps

The steps follow one ticket through the sprint, one skill each. The practice questions use the same Tideline numbers and artefacts.

Steps

  1. Write a story the team and the agent can check

    Skill: delivery-stories

    Take the request "make invoice reminders better" and write one story: the user (a freelancer), the need (an email 3 days before the due date) and the benefit (nudging late payers in time). Add criteria for the main path, an edge case (due in 4 days sends nothing) and a failure case (a paid invoice gets no email). Fence the scope: SMS and settings are out.

    Story T-301

    Story

    As a freelancer, I want an email sent to my client 3 days before an invoice is due, so that I can nudge late payers in time.

    Acceptance criteria

    1. Unpaid invoice due in 3 days: one email.
    2. Unpaid invoice due in 4 days: none.
    3. Paid invoice due in 3 days: none.
    Out of scope: SMS, opt-out settings.

  2. Forecast and slice with a range

    Skill: delivery-estimation

    Forecast sprint 14 from past throughput of 11, 9, 12, 10, 8 and 12 tickets: 8 to 12, most likely about 10. Slice the epic so the first slice crosses scheduler, email and log. Add a review allowance, because agent tickets last sprint took 1 to 2 hours to draft and 6 to 11 hours to review and fix.

    Sprint 14 forecast
    Based on sprints 8 to 13
    ItemValue
    Finished tickets, range8 to 12
    Most likelyabout 10
    First sliceFixed 3-day reminder for unpaid invoices
    Review allowance6 to 11 hours per agent ticket
  3. Set the board rules and the sprint goal

    Skill: delivery-agile

    Limit In review to 3 so the team finishes reviews before starting new tickets. Write a goal the stakeholder can see on 18 December: clients with an unpaid invoice get one reminder 3 days before the due date. Watch work item age as well as cycle time, so tickets stuck in review show up early.

  4. Plan, build one step, review the diff

    Skill: sdlc-plan-build-review

    Ask the agent for a read-only plan first, and edit it: remove any step that is not in the story, such as rewriting the mail module. Build one step at a time. Each step ends with a passing check and a checkpoint. Review each diff against its plan step, and rewind if corrections stop working.

    Approved plan for T-301

    Goal: One reminder email for unpaid invoices due in 3 days

    1. Read src/jobs/ and the existing email helper
    2. Add the daily reminders job
    3. Add a reminders_sent table and write a row per email
    4. Add tests from the locked list
    5. Run the full test suite
  5. Lock the tests, then let the agent implement

    Skill: sdlc-test-first

    Agree the test list before code: sends for due in 3 days, none for 4 days, none for paid, one email when the job runs twice. Run them to see each fail on its assertion. Lock them, let the agent implement, then read the implementation for special cases and check the assertions are real.

  6. Review the pull request like any other

    Skill: eng-code-review

    A code owner reads the pull request. Write comments with a severity, a reason and a fix, for example "blocking: setDate uses server time; use UTC and add a 23:30 test". Check any automated reviewer comment against the source. Answer each thread with a change or evidence, since you own what the agent wrote.

Skills this scenario uses

Where to study