Skip to content

fix(chat,agents): register todo tools on chat; keep mailbox on recall error - #288

Merged
ajianaz merged 2 commits into
developfrom
fix/scan2-chat-todo-agents-mailbox
Oct 7, 2026
Merged

ajianaz merged 2 commits into
developfrom
fix/scan2-chat-todo-agents-mailbox

Conversation

@ajianaz

@ajianaz ajianaz commented Oct 7, 2026

Copy link
Copy Markdown
Contributor

What

Two scan-2 fixes: chat now registers and hydrates todo_read/todo_write; agent_poll no longer consumes/cleans the mailbox when the uteke recall fails.

Why

Changes

Testing

  • New: chat_todo_tests::chat_registers_todo_tools_and_respects_plan_mode, agents::tests::recall_error_keeps_mailbox_unconsumed_and_retries.
  • consumed_flag_survives_a_new_poll_instance now stubs recall (it previously relied on uteke failing).
  • fmt, clippy -D warnings, cargo test --workspace pass; cora review --staged: no issues.

🤖 Generated with Claude Code

@github-actions

github-actions Bot commented Oct 7, 2026

Copy link
Copy Markdown

🔍 Cora AI Code Review

✅ No issues found. Code looks good!


Review powered by cora-code · BYOK · MIT

The chat todo test relied on a use that is gated behind the mcp feature,
breaking cargo check --no-default-features --features shell-tools.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
@ajianaz
ajianaz merged commit cbed88c into develop Oct 7, 2026
17 checks passed
@ajianaz
ajianaz deleted the fix/scan2-chat-todo-agents-mailbox branch October 9, 2026 06:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

agents: mailbox marked consumed even when uteke recall fails chat: todo_read/todo_write never registered on the chat face

1 participant