Your agents pick up where the last one stopped.
Issue 7 is claimed with a lease, its handoff note filled in, a question answered by a person, then released to a second agent that starts from the note.
#7 Cart total is off by a cent on discounted orders
In progressacme/shop, bug, high. cursor works it for mruiz, lease ends in 84 minutes.
-
claude-code claimed the issue, lease of 90 minutes
-
claude-code saved a handoff note: state, decisions, tried, verified, files, next
-
claude-code asked mruiz: Round half up or to even?
-
mruiz answered: Half to even
-
claude-code released the issue, back to Ready
-
cursor claimed the issue and started from the note
issue next hands an agent the most important ready issue.
A blocked issue and an epic wait out of the list, and an issue whose lease lapsed is offered again.
| Issue | Title | Priority | State |
|---|---|---|---|
| #7 | Cart total is off by a cent on discounted orders high, Ready issue next --claim takes this one | ||
| #12 | Order confirmation email goes out twice medium, Ready, lease lapsed | ||
| #9 | Coupon codes are case sensitive low, Ready | ||
| #14 | Add Apple Pay at checkout high, Blocked by #11 | ||
| #11 | Move payments to the new provider high, Epic with 3 sub-issues |
claude-code
cursor
The issue reads
- Holds the lease until it releases the issue at 09:40
- Where the lease would have lapsed, at 10:32, had it never released
- Ready, for 12 minutes, until cursor claims it
A claim is a lease, so a stalled agent never owns an issue forever.
The agent that claims an issue holds it for the minutes it asked for. If it stops renewing, the issue reads as Ready again.
Leases on issuesAn agent asks a person and keeps working on what does not depend on the answer.
The question sits on the issue with options or free text, the assignee is told, and the answer comes back in the issue context.
Ask over MCPclaude-code asked you a question on acme/shop#7
Cart total is off by a cent on discounted orders
Round half up or to even?
Pick one. Asked by claude-code for mruiz at 09:24.
- State
Totals sum in integer cents. The rounding rule for half cents is open and asked of mruiz.
- Decisions
Integer cents everywhere, no floats.
- Tried
Summing f64 prices and rounding at the end drifted by a cent on 3 of 40 fixture orders.
- Verified
bun test src/cart passes with the current rounding.
- Files
src/cart/total.ts
src/cart/discount.ts
- Next
Apply mruiz's answer to the rounding in src/cart/discount.ts.
Add a fixture for a 15% coupon on 3 items.
The handoff is six fields, not a transcript.
issue related returns what earlier issues and pull requests decided about the paths you touch, and repository notes carry the facts nobody wrote an issue for.
Notes for the next agentTwo agents, one issue, one note between them.
Every line is a sailfork command an agent can run.
~/acme/shop $ sailfork issue next -R acme/shop --label bug --claim --minutes 90
#7 Cart total is off by a cent on discounted orders [Ready, high] (delegated to you)
~/acme/shop $ sailfork issue related -R acme/shop --paths src/cart/ --jq '.items[] | "#\(.number) \(.title): \(.decisions[0])"'
#3 Store prices as integer cents: Integer cents in the cart, convert only at display
~/acme/shop $ sailfork issue context 7 -R acme/shop --state "Totals sum in integer cents; rounding of half cents is open" --decision "Integer cents everywhere, no floats" --tried "f64 sums drifted a cent on 3 of 40 fixture orders" --verified "bun test src/cart passes" --file src/cart/total.ts --file src/cart/discount.ts --next "Apply mruiz's answer to the rounding in src/cart/discount.ts"
Context of issue #7 saved
by claude-code (mruiz) at 2026-11-22T09:20:11Z
visible to: team (people with write access)
State
Totals sum in integer cents; rounding of half cents is open
Decisions
- Integer cents everywhere, no floats
Tried
- f64 sums drifted a cent on 3 of 40 fixture orders
Verified
- bun test src/cart passes
Files
- src/cart/total.ts
- src/cart/discount.ts
Next
- Apply mruiz's answer to the rounding in src/cart/discount.ts
~/acme/shop $ sailfork issue ask 7 -R acme/shop --kind single --text "Round half up or to even?" --options "Half up" --options "Half to even"
~/acme/shop $ # mruiz answers from the inbox while claude-code works on
~/acme/shop $ sailfork issue context 7 -R acme/shop --jq '.asks[] | .text + " " + (.answer.choices | join(", "))'
Round half up or to even? Half to even
~/acme/shop $ sailfork issue release 7 -R acme/shop --note "Rounding answered. The next step is in the context."
Handed issue #7 back
~/acme/shop $ # later, a second agent takes the same issue
~/acme/shop $ sailfork issue next -R acme/shop --label bug --claim --minutes 90
#7 Cart total is off by a cent on discounted orders [Ready, high] (delegated to you)
~/acme/shop $ sailfork issue context 7 -R acme/shop --jq '.next[]'
Apply mruiz's answer to the rounding in src/cart/discount.ts
~/acme/shop $ Limits
- A claim lasts 5 to 1,440 minutes, chosen per claim. Claiming again before it ends renews it, and once it ends the issue reads as Ready.
- A second claim answers 409 while another token holds the lease.
- A handoff note has 6 parts: state, decisions, tried, verified, files, next. A question takes 2 to 10 options, or free text up to 2,000 characters.
- issue related takes up to 20 paths and returns 8 items unless you ask for more, at most 20.
- Sub-issues nest 32 levels deep. A repository keeps 30 notes of up to 400 characters, 4,000 characters in all.