From f6a7a74dbde0730ac896f357bf7731e7ff04e85e Mon Sep 17 00:00:00 2001 From: mika <211269698+mikamikasuki@users.noreply.github.com> Date: Wed, 7 Oct 2026 23:41:42 -0700 Subject: [PATCH 1/2] fix(manager): preserve exact Todo details in context Signed-off-by: mika <211269698+mikamikasuki@users.noreply.github.com> --- loopx/chat_manager_details.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/loopx/chat_manager_details.py b/loopx/chat_manager_details.py index 2f2430fecc..d4ead79624 100644 --- a/loopx/chat_manager_details.py +++ b/loopx/chat_manager_details.py @@ -43,7 +43,7 @@ def read_manager_goal_details( ) if result.get("ok") is not True: raise ValueError("Todo authority unavailable or conflicting") - records = ([result["todo"]] if result.get("todo") else []) if todo_id else result.get("todos", []) + records = result.get("todos", []) page = effect_runtime_result("todo.context.page", { "records": records, "owner_scope": owner_scope, "offset": offset, "limit": limit, "todo_id": todo_id, From e86d5c9cd57a9ce24c14cb456c82e9821c42077c Mon Sep 17 00:00:00 2001 From: mika <211269698+mikamikasuki@users.noreply.github.com> Date: Thu, 8 Oct 2026 02:21:47 -0700 Subject: [PATCH 2/2] fix(manager): accept both exact Todo response shapes Signed-off-by: mika <211269698+mikamikasuki@users.noreply.github.com> --- loopx/chat_manager_details.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/loopx/chat_manager_details.py b/loopx/chat_manager_details.py index d4ead79624..6fe09b6c57 100644 --- a/loopx/chat_manager_details.py +++ b/loopx/chat_manager_details.py @@ -43,7 +43,11 @@ def read_manager_goal_details( ) if result.get("ok") is not True: raise ValueError("Todo authority unavailable or conflicting") - records = result.get("todos", []) + records = ( + ([result["todo"]] if result.get("todo") else result.get("todos", [])) + if todo_id + else result.get("todos", []) + ) page = effect_runtime_result("todo.context.page", { "records": records, "owner_scope": owner_scope, "offset": offset, "limit": limit, "todo_id": todo_id,