← Back to Flows

Delivery Rhythm with Agents

One-month roadmaps, a weekly recorded demo, and CI as the check that work is done

How a software team plans in one-month roadmaps, proves work with CI, demos what shipped every week, and lets the demo reshape the roadmap when agents write a good share of the code.

5
Phases
21
Steps
1 month
To set up, then weekly

Intermediate · Engineering Delivery · Updated 2026-10-31

Why this flow

Once agents are writing a real share of the code, the team can open more PRs in a day than it used to open in a week. Planning and review habits built for the old pace start to slip. Work looks done in a PR description and isn't done in production. The roadmap stays the same while the code underneath it moves fast.

This flow is a simple rhythm to keep that in check. Plan a month at a time. Count something as done only when CI says so and a named person merged it. Every week, record a short demo of what actually shipped. Then change the roadmap based on what the demo showed.

1

Phase 1

Set the month

Goal: a one-month roadmap the whole team can read in two minutes, broken into issues an agent can pick up.

🛠️ Tools for This Phase

Step-by-Step Process

  1. 1
    Write the one-month roadmap

    List the outcomes the team wants live by the end of the month. Keep it to a handful. Write each one as something a user or teammate can see working, with a sentence on why it matters.

    • •Who: Person (engineering lead, with product)
    • •Tools: Linear, Jira, Notion
    • •Output: One-page roadmap for the month, each outcome with a human owner
  2. 2
    Break each outcome into PR-sized issues

    Have an agent draft the issue breakdown for each outcome, then the owner edits it. Aim for issues that fit in one PR and one review.

    • •Who: Agent drafts, person edits
    • •Tools: Claude, Claude Code, Linear, Jira
    • •Output: A set of issues in the tracker, linked to the roadmap outcome
  3. 3
    Write "done when" checks as tests

    For each issue, turn the "done when" checks into test descriptions or failing tests before any feature code gets written. This is what CI will check later.

    • •Who: Agent drafts tests, owner reviews them
    • •Tools: Claude Code, Cursor, Codium AI
    • •Output: Tests or test stubs committed with each issue (or attached to it)
  4. 4
    Put a human owner on every issue

    Every issue gets one named person who owns the result, including issues an agent will code. The owner reviews the PR, merges it, and demos it.

    • •Who: Person (engineering lead)
    • •Tools: Linear, Jira
    • •Output: Every issue has an owner field filled in

Prompt for step 1.2: Break each outcome into PR-sized issues

Here is one outcome from our roadmap for this month:
[PASTE OUTCOME AND WHY IT MATTERS]

Here is the relevant context about our codebase:
[PASTE ARCHITECTURE NOTES, RELATED FILES, OR LET THE AGENT READ THE REPO]

Break this outcome into issues that each fit in a single pull request.
For each issue give:
1. A short title
2. What changes and where in the codebase
3. "Done when" checks, written so each one maps to a test that CI can run
4. Dependencies on other issues in this list
5. Anything you are unsure about or would need a person to decide

Flag any issue that looks too big for one PR and suggest how to split it.

Prompt for step 1.3: Write "done when" checks as tests

Here is an issue and its "done when" checks:
[PASTE ISSUE]

Write the tests that would prove each check. Put them where our test suite
expects them and follow the patterns in the existing tests. The tests should
fail right now because the feature isn't built yet. Don't write the feature.
List any check you couldn't turn into a test and say why.
2

Phase 2

Make CI the definition of done

Goal: one rule the whole team agrees on. A change is done when its required CI checks pass on the merged code, and an agent's PR is never done on the agent's say-so.

🛠️ Tools for This Phase

Step-by-Step Process

  1. 1
    Write down the done rule

    Put the rule in the repo where people and agents both read it (README, contributing guide, or the agent instructions file). Done means merged to main, required checks green, and the owner has seen it run.

    • •Who: Person (engineering lead)
    • •Tools: GitHub, GitLab
    • •Output: A short "definition of done" section in the repo
  2. 2
    Turn on required checks and branch protection

    Make lint, type checks, unit and integration tests, and the build required checks on the main branch. Block merges when any of them fail. Require at least one human approval.

    • •Who: Person
    • •Tools: GitHub (Actions, branch protection), GitLab (CI/CD, protected branches)
    • •Output: A main branch that can't take a red PR
  3. 3
    Give agents the same test commands

    Write an agent instructions file that lists the exact commands to lint, test, and build, and tells the agent to run them before opening a PR. Agents should see the same failures locally that CI will show.

    • •Who: Person writes it, agents follow it
    • •Tools: Claude Code, Cursor, GitHub Copilot
    • •Output: Agent instructions file (for example CLAUDE.md or the tool's equivalent) checked into the repo
  4. 4
    Keep flaky tests on a short leash

    When a test fails at random, quarantine it with an owner and a fix-by date instead of letting people re-run CI until it goes green. Track the quarantine list in the tracker.

    • •Who: Person owns the list, agent can do the fix
    • •Tools: GitHub, Linear, Jira, Claude Code
    • •Output: A visible flaky-test list with owners and dates

Prompt for step 2.3: Give agents the same test commands

Read this repo's CI configuration and package scripts. Write an agent
instructions section that lists, in order, the exact commands to run lint,
type checks, tests and the build locally. Note any environment variables
or services the tests need. Keep it short and only include commands that
actually exist in this repo.
3

Phase 3

Build with agents, review with people

Goal: agents do the typing, CI does the checking, and a person reads and merges every change.

Step-by-Step Process

  1. 1
    Hand the issue to an agent

    Give the agent the issue, its "done when" checks, and the tests from step 1.3. Ask it to make the tests pass without changing what they assert.

    • •Who: Owner starts it, agent does the work
    • •Tools: Claude Code, Cursor, GitHub Copilot
    • •Output: A branch with the change and passing local checks
  2. 2
    Open the PR with evidence

    The agent opens the PR with a plain summary, the commands it ran and their results, and a list of what it didn't do or wasn't sure about.

    • •Who: Agent
    • •Tools: Claude Code, GitHub, GitLab
    • •Output: A PR a reviewer can read in a couple of minutes
  3. 3
    Run agent code review on every PR

    An AI reviewer comments on every PR for bugs, security problems, and drift from team patterns. The PR author (agent or person) fixes or answers each comment.

    • •Who: Agent reviews, author responds
    • •Tools: CodeRabbit, GitHub Copilot
    • •Prompt: none (configure review rules in the tool)
    • •Output: Review comments resolved before a person looks
  4. 4
    Owner reviews and merges

    The human owner reads the diff and the tests, checks that CI is green, and merges. Read the tests first. If the tests are weak, a green check means very little.

    • •Who: Person (issue owner)
    • •Tools: GitHub, GitLab
    • •Output: A merged change with a named person on it
  5. 5
    Ship risky changes behind a flag and watch errors

    Put user-facing or risky changes behind a feature flag. Watch error tracking for a day after it turns on.

    • •Who: Owner
    • •Tools: PostHog (feature flags), Sentry, Datadog
    • •Output: Change live for some or all users, with errors visible

Prompt for step 3.1: Hand the issue to an agent

Work on this issue:
[PASTE ISSUE WITH "DONE WHEN" CHECKS]

The tests for it are in [PATH]. Make them pass. Don't change what the
tests assert. If a test looks wrong, stop and tell me why instead of
editing it.

Before you open a PR, run the full local check from the agent
instructions file. Only open the PR when everything passes.

Prompt for step 3.2: Open the PR with evidence

Open a pull request for this branch. In the description include:
1. What changed, in plain language, in a few sentences
2. Which "done when" checks this covers
3. The local commands you ran and whether they passed
4. Anything you skipped, guessed at, or want a person to look at closely
Link the issue.
4

Phase 4

Record the weekly demo

Goal: once a week, everyone can see what actually shipped, running.

🛠️ Tools for This Phase

Step-by-Step Process

  1. 1
    Draft the "what shipped" list

    An agent pulls the week's merged PRs and closed issues and groups them by roadmap outcome. Only merged, CI-green work goes on the list.

    • •Who: Agent drafts, lead checks it
    • •Tools: Claude, Claude Code, GitHub, Linear, Jira
    • •Output: A one-page "shipped this week" list with owners
  2. 2
    Each owner records a short demo

    Each owner records a few minutes showing their shipped work running in staging or production. Show the feature, then say what's left and what surprised you.

    • •Who: Person (each owner)
    • •Tools: Loom
    • •Output: One short recording per owner, linked from the shipped list
  3. 3
    Post the demos in one place

    Post the shipped list and recordings in one thread or page so people can watch on their own time. Keep the same place every week so there's a running history.

    • •Who: Lead
    • •Tools: Slack, Notion
    • •Output: A weekly demo post the whole team can find
  4. 4
    Hold a short live review (optional)

    A short call to ask questions about the demos and decide anything that needs a group. Record notes so the next step has them.

    • •Who: Team
    • •Tools: Fathom, Loom
    • •Output: Questions, decisions, and follow-ups from the week

Prompt for step 4.1: Draft the "what shipped" list

Here are the PRs merged to main this week and the issues closed:
[PASTE LIST OR LET THE AGENT READ THEM FROM THE TRACKER AND REPO]

Here is this month's roadmap:
[PASTE ROADMAP]

Group the merged work under each roadmap outcome. Put anything that
doesn't map to an outcome in a separate "other" group. For each item give
the owner and one line on what a user can now do. Leave out anything that
isn't merged to main with passing CI.
5

Phase 5

Update the roadmap from the demo

Goal: the roadmap reflects what shipped and what the team learned, every week.

🛠️ Tools for This Phase

Step-by-Step Process

  1. 1
    Compare the demo to the roadmap

    An agent compares this week's shipped list with the month's roadmap and points out what's ahead, behind, or missing.

    • •Who: Agent drafts, lead reads
    • •Tools: Claude
    • •Output: A short gap list for the week
  2. 2
    Owners decide what changes

    Each owner decides for their outcome: keep going, re-scope, cut, or add. Write the decision on the roadmap with a one-line reason.

    • •Who: Person (owners and lead)
    • •Tools: Linear, Jira, Notion
    • •Output: An updated roadmap with dated changes
  3. 3
    Write next month's roadmap from four demos

    At the end of the month, have an agent draft next month's roadmap from the four weekly shipped lists, the gap lists, and anything that got cut. The team edits it into the real one.

    • •Who: Agent drafts, team decides
    • •Tools: Claude, Notion
    • •Output: A draft roadmap for next month, ready for step 1.1
  4. 4
    Keep the history

    Archive the month's roadmap, changes, shipped lists, and demo links together. This becomes the team's record of what it planned versus what it shipped.

    • •Who: Lead
    • •Tools: Notion
    • •Output: A monthly archive page

Prompt for step 5.1: Compare the demo to the roadmap

Here is this month's roadmap with owners:
[PASTE ROADMAP]

Here is what shipped this week and last week:
[PASTE SHIPPED LISTS]

Here are notes from this week's demo review:
[PASTE NOTES]

For each roadmap outcome, say whether it looks on track, behind, or done,
based only on what shipped. Point out any outcome with nothing shipped in
two weeks. List work that shipped but isn't on the roadmap. Don't suggest
new priorities. Just describe the gap.

Prompt for step 5.3: Write next month's roadmap from four demos

Here are this month's roadmap, the four weekly shipped lists, the weekly
gap lists, and the roadmap changes we made along the way:
[PASTE ALL]

Draft next month's roadmap. Carry over unfinished outcomes only if the
demos show progress or a clear reason to keep going. Note what we cut and
why, so we don't quietly bring it back. Keep it to one page. Mark anything
you are guessing about.

Stack tiers

Starter

For a small team trying the rhythm for the first time. Skip the AI reviewer at first. Get required checks and the weekly demo working before adding more tools.

Recommended Stack: GitHub (Actions and branch protection), Claude Code or Cursor, Linear (free plan), Loom, Notion

Growing

For a team where agents open a good share of PRs every week. Add the AI reviewer and error tracking once PR volume makes manual review slow. Feature flags help once more changes ship each week.

Recommended Stack: GitHub, Claude Code, Cursor, GitHub Copilot, CodeRabbit, Codium AI, Linear, Loom, Slack, Notion, Sentry, PostHog

Scaled

For several teams running the same rhythm. Keep one shared definition of done across teams. Roll the weekly shipped lists up into one monthly view so leaders read the same page the teams do.

Recommended Stack: GitHub or GitLab, Jira or Linear, Claude Code, CodeRabbit, Sentry, Datadog, PostHog, Loom, Fathom, Slack, Notion

Metrics to watch

Set a baseline in the first month. Watch the trend after that rather than chasing a target number.

Roadmap outcomes shipped vs planned per month

Tells you: whether the month-sized plan is the right size. Watch for: always far under, or always hitting every one (probably too easy).

First-run CI pass rate on agent PRs

Tells you: whether agents have the right test commands and context. Watch for: a drop after a big repo change, which usually means the agent instructions file is out of date.

Time from PR opened to merged

Tells you: whether review is keeping up with how fast agents open PRs. Watch for: a steady climb.

Open PRs per owner

Tells you: review load on each person. Watch for: one or two people holding most of the queue.

Reverts or hotfixes within a week of merge

Tells you: whether "done" is really done. Watch for: any rise as agent share of PRs goes up.

Errors after release

Tells you: what CI missed. Watch for: new error types tied to recent merges (Sentry, Datadog).

Demo coverage

Tells you: share of merged roadmap work that got demoed. Watch for: work that ships and never gets shown.

Pitfalls

Agent PRs pile up faster than people can review them.

Fix: Cap open PRs per owner. If an owner has more than a few waiting, agents stop opening new ones for that owner.

Green CI with weak tests.

Fix: Review the tests before the code. Watch for tests that assert almost nothing, or tests the agent edited to make them pass.

Re-running CI until a flaky test goes green.

Fix: Quarantine the test with an owner and a date (step 2.4). A team that re-runs by habit stops trusting CI.

Rubber-stamping because the AI reviewer already looked.

Fix: The owner reads the diff every time. The AI review catches a lot, but a person still has to put their name on the change.

Demos turn into slide decks or status updates.

Fix: Only show merged work running in staging or production. If it can't be shown running, it goes on next week's list.

The roadmap never changes.

Fix: Write a decision for every outcome every week in step 5.2, even if the decision is "keep going".

Nobody owns the agent's work.

Fix: No issue goes to an agent without a named person on it (step 1.4).