Skip to content

Let agents look up who sent a chat request - #211

Draft
Mbeaulne wants to merge 2 commits into
mainfrom
MB/tangent-run-requester
Draft

Mbeaulne wants to merge 2 commits into
mainfrom
MB/tangent-run-requester

Conversation

@Mbeaulne

@Mbeaulne Mbeaulne commented Nov 24, 2026 •

Copy link
Copy Markdown
Contributor

Description

Intent

Let an agent tell which person asked it to run a pipeline in a shared Tangent chat.

Current behavior

Shell stores who sent each chat message. The agent gets the instruction without a reference to its sender. Another person can speak before the agent starts the run.

What changes

Shell passes the original message ID to agents that can read the conversation. An agent can look up the sender of that request in the same session after someone else speaks. The lookup accepts signed-in human instructions and excludes anonymous messages, command results and agent replies.

Screenshots

N/A. This change affects the message Shell delivers to the agent.

How to test

  1. Open the same Tangent chat in two signed-in accounts with an agent bundle that records the requester on pipeline runs.
  2. Ask the agent to run a test pipeline. Before it starts, use the other account to ask for another run of that pipeline.
  3. Ask the agent to show the requested_by annotation for both run IDs. Each should contain the email of the person who asked for that run.

All 849 server tests, type checking and formatting passed on Node 24. A local integration check routed both people's messages through Shell and the bundle and captured outgoing run requests. It confirmed the email on both submission paths and that an autonomous run carried no requester. The two-account browser steps still need a live environment.

Notes

Deploy Shell before the agent bundle that writes the run annotation. The next Shell change exposes the sender to the chat host. The UI companion displays the requester on a run. Shell #237 · Run byline

Distributed Stack

Feature: Tangent project collaboration

Coordinate with

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