Skip to content

sonny acp: a resumed T3 thread should check its bot's identity, not only its name #332

Closed

Description

@lydakis

Left over from #323 (Codex review, #323 (comment)).

t3::remember saves only the bot's name for a T3 Code session. Suppose a task is removed and another one starts under the same name. Resuming the old T3 thread then binds to the new bot, and later prompts go to a different conversation.

Fix:

  • Save the daemon's store identity and bot_id (from inspect) next to the name.
  • On session/resume or session/load, refuse when either one differs.
  • Optionally, send the captured bot_id with submit to close the replacement race.

This only happens after removing a task and reusing its name while its T3 thread is still around, so #323 merges without it, per the "merge when green, log the rest" rule.

Activity

  1. self-assigned this
    on Oct 29, 2026
  2. added 2 commits that reference this issue on Oct 31, 2026
    6c2ed1a
    a7df14a
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions