[Feature]: 当前多个peer会使用我的bot同一个工作区,是否可以根据peer来生成工作区
Issue Origin
Observed or reproduced in a real environment
Problem Statement
Proposed Solution
因为我的agent/skills下会 新增/更新 更新skills;希望引入skills版本概念,peer对象进行使用时会去同步我的skills到本地。造成skills版本混乱,agent无法及时更新等问题,影响vikingbot的服务质量。而当前使用sessionID进行工作区隔离时,又会造成项目过重,很多重复的skills都需要去重新拉取,
Alternatives Considered
No response
Feature Area
Core (Client/Engine)
Use Case
peer进行访问bot,bot为该peer创建对应工作区,拉取agent/skills,原skills到该工作区下。进行服务 后续调用skills时若有更新,向用户进行提示
Example API (Optional)
Additional Context
No response
Contribution
- [ ] I am willing to contribute to implementing this feature
Tracking update: PR #3325 implements the workspace-isolation part of this issue.
sandbox.mode = "per-peer"derives the workspace from the trusted inbound actor identity.- The same peer reuses its workspace across sessions, while different peers are isolated.
- Missing or path-unsafe identities fail closed instead of falling back to a shared workspace.
- The actor identity is propagated through the agent loop, tools, subagents, hooks, and heartbeat path.
Validation on PR head 756ddbb2: the focused per-peer workspace suite passes (5 tests), changed Python files pass Ruff, and the PR checks are green.
The skill-version synchronization requested in this issue remains a separate follow-up, so this comment intentionally does not close #3259. Please use #3325 for review of the workspace-isolation portion.