4 Change
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 itemwhat you want and how to check it
- Work sessionthe agent's own branch from main
- Pull requestthe proposed change; the only way into main
- mainthe 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
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.
Work item page
Figure 1.3 · The work item page and its numbered places
- 1New work item: the left column: a new work item in this project.
- 2Mine: your open work items.
- 3Start / Complete: the header button: Start before the work, Complete (the merge) at the end.
- 4Status: Backlog → In Progress / Action Required → Ready to merge → Done.
- 5Chat: the agent's steps and answers; your messages go in the box below.
- 6Model and effort: the model the agent uses.
- 7Tab row: Work Item, Preview, Pull request, Profiler. A missing tab: + at the end of the row.
Walkthrough
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.