---
title: "Discussion on \"Your agent's last task is still in the chat. Start a new session when the work changes.\" | Hashnode"
description: "Discussion on \"Your agent's last task is still in the chat. Start a new session when the work changes.\". A coding agent doesn't notice that you finished the last job. If you ask for a new change in the same chat, the previous plan, the previous files and the previous \"done when\" are still in the context,"
url: "https://hashnode.com/posts/your-agent-s-last-task-is-still-in-the-chat-start-a-new-session-when-the-work-changes/6af6e1bdb46d7596b790c115"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Your agent's last task is still in the chat. Start a new session when the work changes.](https://abraamgotsiridze.hashnode.dev/your-agent-s-last-task-is-still-in-the-chat-start-a-new-session-when-the-work-changes?utm_source=hashnode&utm_medium=feed)

A coding agent doesn't notice that you finished the last job. If you ask for a new change in the same chat, the previous plan, the previous files and the previous "done when" are still in the context,

5h ago · 2 min read · abraamgotsiridze.hashnode.dev  
Read the article

-   [#ai](https://hashnode.com/tag/ai)
-   [#claude-code](https://hashnode.com/tag/claude-code)
-   [#cursor](https://hashnode.com/tag/cursor)
-   [#productivity](https://hashnode.com/tag/productivity)

## Written by

[Abraam Gotsiridze](https://hashnode.com/@abraamgotsiridze)

@abraamgotsiridze

  
[View profile](https://hashnode.com/@abraamgotsiridze)

Senior AI Engineer, building RepoLume (focused briefs for coding agents)

Senior AI Engineer, building RepoLume (focused briefs for coding agents)

## Responses 1

Markdown supported · ⌘↵ to post

[Paul Pham](https://hashnode.com/@paulpham157)

[4h ago](https://hashnode.com/posts/your-agent-s-last-task-is-still-in-the-chat-start-a-new-session-when-the-work-changes/6af6e1bdb46d7596b790c115/comment/6af6f3c7bb48a0243e5da9d3)

the stale "done when" is the trap; it keeps steering after the job has changed
