-
Notifications
You must be signed in to change notification settings - Fork 4.6k
feat(tools): session ownership model for destructive operations #5833
Copy link
Copy link
Open
Labels
enhancementNew feature or requestNew feature or requestgatewayAuto scope: src/gateway/** changed.Auto scope: src/gateway/** changed.needs-maintainer-reviewpriority:p2Medium priorityMedium priorityrisk: highAuto risk: security/runtime/gateway/tools/workflows.Auto risk: security/runtime/gateway/tools/workflows.securityAuto scope: src/security/** changed.Auto scope: src/security/** changed.status:blockedBlocked on an external dependency, decision, or prerequisite.Blocked on an external dependency, decision, or prerequisite.toolAuto scope: src/tools/** changed.Auto scope: src/tools/** changed.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestgatewayAuto scope: src/gateway/** changed.Auto scope: src/gateway/** changed.needs-maintainer-reviewpriority:p2Medium priorityMedium priorityrisk: highAuto risk: security/runtime/gateway/tools/workflows.Auto risk: security/runtime/gateway/tools/workflows.securityAuto scope: src/security/** changed.Auto scope: src/security/** changed.status:blockedBlocked on an external dependency, decision, or prerequisite.Blocked on an external dependency, decision, or prerequisite.toolAuto scope: src/tools/** changed.Auto scope: src/tools/** changed.
Type
Projects
Status
Backlog
Problem
Session keys are not scoped per-agent. Any agent with registered
SessionResetToolorSessionDeleteToolcan reset or delete sessions belonging to other agents or users.Current Mitigation
all_tools_with_runtime) — callers must explicitly opt inSecurityPolicy::enforce_tool_operation(ToolOperation::Act, ...)before executingWhat's Needed
A scoping mechanism so destructive session operations are limited to sessions owned by the requesting agent. Possible approaches:
Context