feat: 实现 EW 规划类工具 - #2
Open
YilZhong wants to merge 1 commit into
Open
Conversation
zhangjun221
approved these changes
Jul 16, 2026
zhangjun221
approved these changes
Jul 16, 2026
zhangjun221
left a comment
Contributor
There was a problem hiding this comment.
Reviewed PlanningSpace addition. Scope is focused, CI smoke passed, and no generated artifact leakage is present in the PR.
zhangjun221
approved these changes
Jul 22, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
改了什么
对应 CONTRIBUTING Backlog B1,新增独立的
PlanningSpace,实现 EW 的 6 个规划类工具,包括待办事项和个人日历的增删查、agent 状态隔离、workspace 持久化、replay 快照及场景接入。怎么验收的
已完成以下检查:
python3 -m py_compile afi/world/scenario.py custom/envs/planning_space.py tests/test_planning_space.py:通过python3 -m afi.cli --help:正常输出全部 CLI 子命令python3 -c "import afi; from afi.audit import attribution; from afi.world import counterfactual; print('imports ok')":输出imports okgit diff --check upstream/main...HEAD:通过git status:工作区干净,无无关文件完整
pytest和 AgentSociety 真实调用 trace 尚未运行,将在合并前补充验证。自检清单
python -m afi.cli --help不报错(本地跑过)python -c "import afi; from afi.audit import attribution; from afi.world import counterfactual"import 干净runs//.env/__pycache__/afi_report_*.html(git status 看过)feat: 实现 EW 规划类工具)架构不变量
afi/audit/不 import 后端/AS:本 PR 未修改afi/audit/[proxy]、stub 标[stub],没把代理当真算:本 PR 实现真实规划状态,不包含代理指标或 stub