Add multi-team context technical specs - #15347
Conversation
Co-Authored-By: Warp <agent@warp.dev>
|
@IsaiahWitzke — PR 2F scope contracts Recommendations
1.
|
Co-Authored-By: Warp <agent@warp.dev>
|
@IsaiahWitzke — PR 2F scope contracts Recommendations
1.
|
Description
Adds two coordinated technical specifications for safe multi-team request scoping:
specs/multi-team-context/TECH.mddefines the ownedTeamContext, borrowedTeamRenderContext,UserWorkspacesauthority boundaries, and staged client migration.specs/multi-team-api-context/TECH.mdinventories network APIs by scope contract and divides implementation into parallel PRs 2A–2F.The design prevents a window's mutable team selection from becoming ambient process state. Current-window operations capture
TeamContext; explicitly targeted administration and ownership operations retain raw team UIDs; existing-resource operations remain resource-scoped. Requests that require selected-team identity useX-Warp-Team-Uidwith server-side authorization and mismatch validation.Planning artifact: Introduce an opaque team context capability
Linked Issue
None — this PR contains design specifications only.
Testing
git diff --checkValidated all 14 commit-pinned source links against their referenced files and line ranges.
No runtime testing was required because this PR changes documentation only.
I have manually tested my changes locally with
./script/runAgent Mode
CHANGELOG-NONE
Co-Authored-By: Warp agent@warp.dev