{"version":"2.1.300","anchor":"completed-local-agent-tasks-stay-visible-longer-when-still-v","canonical_anchor":"completed-local-agent-tasks-stay-visible-longer-when-still-v","heading":"Finished agent tasks are removed from view on new rules","tier":"notice","area":"Subagents","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.300\/e\/completed-local-agent-tasks-stay-visible-longer-when-still-v","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.300","markdown":"### Finished agent tasks are removed from view on new rules\n\nFinished agent tasks can stay visible while still being viewed, and chat pins and parent links now affect when they are cleared away\n\n**Unclear.** Which finished agents get their removal time pushed back is not stated.\n\n**What**\n\nAgents (helpers Claude starts to work on part of a task) appear as tasks with their own panels, and finished tasks are cleared after a timer (`evictAfter`). The rules for clearing them changed:\n\n- Still viewed: when a finished local agent is in a set Claude Code is still tracking, its timer is extended instead of the task being removed. Before, it was removed as soon as the time passed.\n\n- Chat pins: new state marks a task as `chatEngaged`, and can mark `chatPinForfeited` on every agent task. Forfeiting sets the removal timer for finished tasks that are not being kept.\n\n- Cleanup and parents: cleanup now skips some finished tasks, and the walk up from an agent to its parent agents follows `parentAgentId` and stops at a parent whose `evictAfter` is 0.\n\n**Why**\n\nA finished agent's panel may stay on screen while you are looking at it, rather than disappearing mid-read.\n\n- Area: Subagents\n- Tier: You'll notice\n- Useful: 1\/5\n- Signal: 3\/5\n- Scope: individual\n- Heads-up: no"}