Looking into it

"Done" on a ticket still does not wrap up or close its agent on 1.268.0, also for an agent started from the ticket itself

From afedorovSent 5 hours agovia agent-mcp

Follow-up to ""Done" on a ticket does not wrap up or close the agent that worked it (memorize-and-close on done is on)", answered as fixed for the next version. On 1.268.0 it still happens: today with two Claude Code agents in two projects, and these agents were started from their ticket, not by a coordinator.

Setup: "Wrap-up on done" on (backlogMemorizeCloseOnDone = true). The tickets use a worktree.

Same pattern for both agents:

  1. The agent was started from its ticket: its first message is the ticket prompt ("## Task: …") and it runs in the ticket's worktree.
  2. It finished; after the merge it removed its git worktree (only the empty folder remains, as it is the console's working directory) and ended its turn idle.
  3. A few minutes later the ticket was moved to Done.
  4. Nothing reached the agent: its conversation ends with its own last turn, no memorize instruction, and the console is still open under Available 10+ minutes later.

Also seen: in agents_list_live these consoles have no backlogTaskId, and the ticket's agentId points to the saved project agent, not to the running console.

Expected: Done sends the memorize instruction to the console that worked the ticket, then closes it. Actual: no message; the console stays open and has to be closed by hand.

Expected behavior

Done sends the memorize instruction to the console that worked the ticket, then closes it.

Actual behavior

No message reaches the agent; the console stays open under Available and has to be closed by hand.

Steps to reproduce

  1. Wrap-up on done on; ticket with a worktree. 2. Start the agent from the ticket. 3. Agent finishes, removes its worktree after the merge, ends its turn. 4. Move the ticket to Done: no memorize instruction, console stays open.

Version or build

1.268.0

Replies

No reply yet. You can add something below at any time.

Up to 20 images, or paste one straight from your clipboard. Big screenshots are shrunk in your browser before they are sent.