[Tracking] Game Agent Runtime 交互边界重构 #167
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
问题
当前 GUI、CLI、
swarm_cli、Tauri wrapper 和自动化测试分别承担了一部分 Game Agent Runtime 的生命周期判断、状态解释和写入逻辑。同一个用户操作可能因 Consumer 不同而产生不同处理方式,例如:
这会造成 GUI、CLI、测试与 Runner 之间的行为漂移;同时,公开状态、命令、幂等、错误、身份、权限和恢复边界尚未形成统一合同。
目标
将正式 Runtime 交互收敛为同一条边界:
非目标
本次重构不包括:
main_loop、task queue 或 Agent 执行状态机重写;现有 OS
execution-owner.lock继续是项目执行写入权威;现有.agent/project.lock不作为 Shell protocol lock。追踪状态