Skip to main content
The ladder · Lesson 4

4 Change

Product EngineerSoftware Factory Engineer

Product Engineer · Academy CRMAcademy CRM: a Company filter on the Contacts page.

I want to ask the agent for a small change and get it into main.

Change

Concepts​

A change runs on four objects, left to right.

  • Work item — one piece of work in the Backlog: what you want, and acceptance criteria that say how to check it.
  • Work session — opens when you start the item: the agent's own copy of the code on a new branch from main, plus a chat.
  • Pull request — the change the agent proposes. The only way into main.
  • main — the code everybody shares. A merge into main cannot be undone.

A change

Work item
Work session
Pull request
main
what you want and how to check it
the agent's own branch from main
the proposed change; the only way into main
the code everybody shares; a merge cannot be undone
  1. Work item
    what you want and how to check it
  2. Work session
    the agent's own branch from main
  3. Pull request
    the proposed change; the only way into main
  4. main
    the code everybody shares; a merge cannot be undone

Figure 1.1 · The four objects of a change

Scenario​

You write the item and start it. The agent works and may ask you something. When the status says Ready to merge, you check the result in Preview and merge. The item is then Done.

The flow

Write
Start and talk
Check
Merge
  1. Write
  2. Start and talk
  3. Check
  4. Merge

Figure 1.2 · The flow

Interface​

Everything happens on the work item page. The numbers on the picture are the places the walkthrough sends you: each chapter starts with «Where», a link back to this picture.

Walkthrough​

Scene 1 of 7 · Write the work itemWatched 0%

Scene 1 of 7 · 0:16

Write the work item

Where: Work item page: ① New work item · Create work item dialog: ① Title · ② Description · ③ Work item type · ④ Create work item

In the left column: New work item. Paste the title and description below. Work item type: User Story. Leave the other fields as they are. Then Create work item.

Copy:

Title: Filter contacts by company

What: add a "Company" dropdown above the contacts table on the Contacts page.
It lists every company that has at least one contact. The default is "All companies".

Acceptance criteria
1. Choosing a company shows only that company's contacts.
2. "All companies" shows every contact again.
3. The company filter works together with the name search.

Terms​

  • Acceptance criteria — the checks that say the work is right. You try each one in Preview.
  • Preview — the app running from the session's branch, before anything is merged.
  • Model and effort — which model the agent uses, and how much it thinks on each turn.
  • Ready to merge — the status when the pull request meets the project's merge rules.
  • Draft — a pull request that cannot be merged yet. Here it stays one until the Definition of Done passes.
  • Definition of Done — the project's checks of finished work. Lesson 5 reads them.