Skip to content

Make one-to-one agent DMs implicitly addressed - #3232

Draft
mdeiters wants to merge 1 commit into
block:mainfrom
mdeiters:codex/implicit-agent-dm-addressing
Draft

Make one-to-one agent DMs implicitly addressed#3232
mdeiters wants to merge 1 commit into
block:mainfrom
mdeiters:codex/implicit-agent-dm-addressing

Conversation

@mdeiters

Copy link
Copy Markdown

Summary

  • Treat verified one-to-one DMs containing the running agent as implicitly addressed.
  • Keep group DMs mention-gated by distinguishing recipient p tags from explicit mention references.
  • Carry DM participant metadata through startup and dynamic channel resolution, including setup mode.

Buzz adds recipient p tags to every DM participant for delivery and notifications. The ACP harness previously treated those tags as explicit mentions, so it could not safely distinguish a one-to-one agent DM from a group DM. This change uses signed channel participant metadata and explicit mention-reference tags to make that distinction.

Missing or malformed channel metadata fails closed and keeps mention filtering enabled.

Related issue

None found.

Testing

  • cargo test -p buzz-acp (620 unit tests, 9 integration tests)
  • cargo clippy -p buzz-acp --all-targets -- -D warnings
  • cargo fmt --all -- --check
  • just ci

Signed-off-by: Matthew Deiters <mdeiters@squareup.com>
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.

1 participant