- [ ] write a fix for the coupon bug (F-3)

From a case to a pull request

Sequential opened a case. The agent takes its brief, finds the line and opens the pull request.

Amber: you Blue: your agent

The story

Select a chapter to start there.

✻ Claude Code~/code/corner-shop
> write the fix for F-3
●sequential - Get finding (MCP)(number: 3)
⎿F-3 · Failed request · POST /api/pay → 500 · /checkout
31 visits · 27 people · first seen 6 days ago
●I will take the fix brief of F-3 in corner-shop. Sequential then marks the case as handed off.
●sequential - Take fix brief (marks it handed off) (MCP)(number: 3)
⎿what people met · where · the request that failed
the steps before: Apply coupon → Pay now
how Sequential will check the fix
write "Fixes F-3" in the pull request
F-3 · Handed off
●Search(pattern: "/api/pay")
⎿server/pay.js
●Read(server/pay.js)
⎿the total is cart.total - coupon.amount
●Update(server/pay.js)
⎿- const total = cart.total - coupon.amount;
+ const total = cart.total - discountOf(coupon, cart);
●Update(server/pay.test.js)
⎿+ a percent coupon pays the right total
●Bash(npm test)
⎿43 passed
●One line was wrong. A percent coupon has no amount, so the total was not a number, and the payment failed. It is always one line.
●Bash(gh pr create --title "Pay with a percent coupon" --body "Fixes F-3")
⎿https://github.com/maya/corner-shop/pull/58
●sequential - Link fix to finding (MCP)(number: 3, url: "https://github.com/maya/corner-shop/pull/58")
⎿F-3 · Fix linked
●The fix is in pull request #58, and the case knows it. I did not merge it: shipping is yours. The case stays open. A linked fix is a promise, not a result.
●TODO.md: I tick my line and add the next one. May I?
> yes
●Update(TODO.md)
⎿- [x] write a fix for the coupon bug (F-3)
- [ ] ship it and check that it worked
About 45 s at 1×

The shop is made up. The tools and their answers are how Sequential works.

Next: did the fix work?

What you saw

The tools in this story: get_finding, get_fix_brief, link_fix.

All stories

No project yet? Start with the setup: one prompt, and your agent does it.