mirror of
https://github.com/bytedance/deer-flow.git
synced 2026-10-26 21:26:39 +00:00
get_soul was the only read/write method that skipped validate_agent_name, so a name like "../../other-user/agents/planner" reached resolve_agent_dir and read another user's SOUL.md. Validate it like the other methods do. The regression test asserts ValueError for a traversal name; it reads the other user's soul on main. Co-authored-by: Willem Jiang <willem.jiang@gmail.com>