Feature hasn't been suggested before.
Describe the enhancement you want to request
Problem: When an agent finishes a session while there are still pending or in-progress todos, the todo list can be left in a stale state with items marked as pending or in_progress even though the work was completed.
Proposed behavior: Before finishing a session, the agent should check if there are any unfinished todos (pending or in_progress status) and, if found, inject a synthetic reminder prompting the agent to update the todo list to reflect the current state of the work.
Details:
After the agent produces a final response and before the session ends, the system should inspect the session's todo list
If unfinished todos exist, a synthetic user message should be appended listing them, asking the agent to reconcile the list
The reminder should be suppressed if a similar reminder was already the last user message (avoiding loops)
The agent should then continue processing to update the todo statuses before the session truly ends
Feature hasn't been suggested before.
Describe the enhancement you want to request
Problem: When an agent finishes a session while there are still pending or in-progress todos, the todo list can be left in a stale state with items marked as pending or in_progress even though the work was completed.
Proposed behavior: Before finishing a session, the agent should check if there are any unfinished todos (pending or in_progress status) and, if found, inject a synthetic reminder prompting the agent to update the todo list to reflect the current state of the work.
Details:
After the agent produces a final response and before the session ends, the system should inspect the session's todo list
If unfinished todos exist, a synthetic user message should be appended listing them, asking the agent to reconcile the list
The reminder should be suppressed if a similar reminder was already the last user message (avoiding loops)
The agent should then continue processing to update the todo statuses before the session truly ends