Bonsai
Blog /

Handing an issue to someone else

Bonsai started as a tool for one person. An issue’s owner was just a line of front matter: write owner: Guoliang and it was Guoliang. Nobody needed to be told anything, because there was nobody else.

There is now more than one person using it. As soon as two people shared a project and started handing issues to each other, the gap showed. The owner field only took a typed name, with nothing to catch a typo, and worse, the person you handed the issue to never heard about it.

This change does two things: pick a person, and tell them.

Pick from the people who can see it

Click Owner in the issue sidebar and you now get a people picker. The list isn’t every Bonsai user. It’s everyone who can see this issue: the owner of the space, plus anyone the project is shared with directly or through a Group.

That scope is on purpose. Handing an issue to someone who can’t see it is pointless; the link would just tell them the note isn’t there. The list follows sharing: share the project with someone and they appear; remove them from the Group and they’re gone.

Type a few letters of a name or an @login to filter, and press Enter for the first match. The owner avatar on a board card and the top of the Assignee menu use the same picker.

It stores the login

What lands in the front matter is that person’s GitHub login:

owner: rikucherry1993

We considered storing a user id the way Jira and Slack do. They show a name but keep an accountId or a <@U024BE7LH> token underneath, so renames don’t break anything. But Bonsai notes have to make sense outside Bonsai: in an editor, in a git diff, or when an agent reads them. owner: rikucherry1993 is readable at a glance; owner: github:12345678 isn’t.

A login is unique within a Bonsai deployment, and the board’s MY TURN lane already recognized people by login. So the login it is.

A name that isn’t on the list still works, for someone who hasn’t signed up yet, say. That’s what the last option, “Use “…””, is for. That person just doesn’t get told.

Tell them: a card in the Inbox

When you make someone else the owner, their Inbox gets a card under You should know:

Freezind assigned “The assignee never hears about it” to you

Opening it takes them to the issue.

Behind that card is a fact the front matter can’t hold: who changed the owner, and when. The issue only knows who owns it now, so the server keeps a separate record, the latest change per issue. The card is worked out every time the Inbox opens, from three conditions:

  • you are the issue’s owner now;
  • the latest assignment named you;
  • someone other than you made it.

So you never get a card for assigning something to yourself. If the issue is handed on to someone else, the card disappears by itself. If you’re assigned the same issue again later, you get a fresh one.

Changing the owner through MCP create_issue or update_issue works the same way. If your agent made the change for you, the assignment counts as yours.

Not yet

  • @mentions in the body. You can hand an issue to someone now, but you can’t @ them in the issue body to ask them to take a look. The idea is the same: show a name, store a stable identifier, and notify only for mentions that are new on save.
  • Routing cards by owner. Decision cards under Need you still go to everyone who can see the issue. Now that assignment works, the next step is to send them only to the owner.

If you share Bonsai with someone, try handing them an issue.