Skip to content

fix(web): agents are addressed only by run address (CL-8567) - #921

Merged
TheGreatAxios merged 1 commit into
mainfrom
cl-8567-run-address-identity
Sep 18, 2026
Merged

TheGreatAxios merged 1 commit into
mainfrom
cl-8567-run-address-identity

Conversation

@TheGreatAxios

Copy link
Copy Markdown
Contributor

Summary

  • Myra guessed a slug-based mail address (scribe@<domain>) for a handoff instead of using the recipient's run address, and the hub dropped the message.

Changes

  • Added why-comments at the mail trigger construction sites (apps/web/src/agent-deploy.ts, apps/web/src/myra-deploy.ts) clarifying the trigger's to value only feeds deploy-time mail grants and is not a routable address.
  • Added a short paragraph to Myra's system prompt stating an agent's real address is its run address, found only in the Participants: block of incoming mail, and that an address must never be constructed from an agent's name/slug.
  • Audited apps/web/src for any UI surface printing a slug/trigger address as an agent's address; found none — the Agents page, room roster, and participants panel already resolve addresses from the live run/deployment listing (listRoomParticipants, chatAgents.liveAddress), so no UI changes were needed.

Testing

  • bun test apps/web/src/agent-deploy.test.ts apps/web/src/myra-deploy.test.ts agents/myra/src
  • bun run check (typecheck, lint, fmt, test) — all green

@linear-code

linear-code Bot commented Sep 18, 2026

Copy link
Copy Markdown

CL-8567

@TheGreatAxios
TheGreatAxios merged commit 547c15c into main Sep 18, 2026
4 checks passed
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