[REV-2383] Scope cloud agent launches to selected team - #15815
Open
warp-agent-staging[bot] wants to merge 2 commits into
Open
[REV-2383] Scope cloud agent launches to selected team#15815warp-agent-staging[bot] wants to merge 2 commits into
warp-agent-staging[bot] wants to merge 2 commits into
Conversation
…nto factory/rev-2383-cloud-agent-run # Conflicts: # app/src/ai/agent_sdk/ambient.rs
Contributor
Author
|
This PR was generated with Warp. Comment |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Description
Scope cloud agent launches to the selected team by threading
RequestTeamScopethroughAIClient::spawn_agent,spawn_task, local-to-cloud handoff, and the CLI, GUI, and TUI callers. The HTTP transport appliesX-Warp-Team-Uidonly for selected-team scope, while retry and deferred launch paths retain the initiating scope.This PR is stacked on #15805 and includes its corrected
--personalenvironment handling.Linked Issue
ready-to-specorready-to-implement(the migration tracker is currently in review).Testing
/workspace/warp/script/format --check/workspace/warp/script/check_no_inline_test_modulescargo check -p warp_tuiai::ambient_agents::spawn::testsai::blocklist::handoff::pipeline::testsai::agent_sdk::common::testsfor the corrected parent scope behaviorcargo clippy -p warp_tui -- -D warningscargo clippy -p warp --lib --tests -- -D warningsThe full presubmit passed formatting, inline-test checks, Clippy, clang-format, factory-file validation, and WGSL formatting before full workspace test compilation exhausted the sandbox target volume (
No space left on device). Post-parent-refresh focused checks and Clippy passed using an alternate Cargo target directory../script/run(automated verification only, per request).Agent Mode
CHANGELOG-NONE