Skip to content

multi_agent/v1: add optional team_uid to Request.Metadata - #359

Open
warp-agent-staging[bot] wants to merge 1 commit into
mainfrom
oz/remote-2723-maa-team-uid
Open

multi_agent/v1: add optional team_uid to Request.Metadata#359
warp-agent-staging[bot] wants to merge 1 commit into
mainfrom
oz/remote-2723-maa-team-uid

Conversation

@warp-agent-staging

@warp-agent-staging warp-agent-staging Bot commented Aug 12, 2026

Copy link
Copy Markdown
Contributor

Summary

Adds an optional team_uid field to Request.Metadata in the multi-agent (MAA) API so Warp clients can tell the server which team an agent-mode request should be attributed to, instead of the server always guessing (teams[0]) for multi-team users.

Part of REMOTE-2723.

Changes

  • apis/multi_agent/v1/request.proto: add string team_uid = 7; to Request.Metadata, documented as optional and falling back to the server's existing team resolution when unset.
  • Regenerated Go bindings (apis/multi_agent/v1/gen/go/request.pb.go) via ./script/generate -a multi_agent -v v1.

Rollout ordering

This is the first of three coordinated PRs (proto -> server -> client):

  1. This PR - adds the field. Non-breaking; old and new clients/servers are unaffected until the field is populated/read.
  2. warp-server#14562 (depends on this): resolves team_uid when present, verifying team membership; falls back to teams[0] when absent.
  3. warp#15031 (depends on Rust and Go bindings for MAA. #2): populates team_uid from the active window's team.

The server must ship and tolerate the field before any client sends it, and old clients (that never send team_uid) must keep working unchanged after the server ships.

Sensitive Fields

  • I have ensured that all string fields that contain sensitive information are marked as sensitive. team_uid is an opaque team identifier, not sensitive user content.

Verification

  • go build ./... in apis/multi_agent succeeds.
  • Verified the only generated diff (besides request.pb.go) is the new field; other files are unchanged.

Co-Authored-By: Warp Agent agent@warp.dev

Adds an optional team_uid field to Request.Metadata so Warp clients can
tell the server which team an agent-mode (MAA) request should be
attributed to, instead of the server always guessing via teams[0] for
multi-team users.

Part of REMOTE-2723.

Co-Authored-By: Warp Agent <agent@warp.dev>
@cla-bot cla-bot Bot added the cla-signed label Aug 12, 2026
@IsaiahWitzke
IsaiahWitzke marked this pull request as ready for review August 12, 2026 20:19
@IsaiahWitzke
IsaiahWitzke requested a review from a team as a code owner August 12, 2026 20:19
@IsaiahWitzke
IsaiahWitzke requested a review from szgupta August 12, 2026 20:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant