Skip to content

feat: 实现 EW 规划类工具 - #2

Open
YilZhong wants to merge 1 commit into
Tele-EVOL:mainfrom
YilZhong:feat/b1-planning-tools
Open

feat: 实现 EW 规划类工具#2
YilZhong wants to merge 1 commit into
Tele-EVOL:mainfrom
YilZhong:feat/b1-planning-tools

Conversation

@YilZhong

Copy link
Copy Markdown

改了什么

对应 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 ok
  • git diff --check upstream/main...HEAD:通过
  • git status:工作区干净,无无关文件

完整 pytest 和 AgentSociety 真实调用 trace 尚未运行,将在合并前补充验证。

自检清单

  • 一个 PR 只做一件事,没夹带无关改动
  • 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 看过)
  • commit / PR 标题符合规范(feat: 实现 EW 规划类工具

架构不变量

  • afi/audit/ 不 import 后端/AS:本 PR 未修改 afi/audit/
  • 代理指标标 [proxy]、stub 标 [stub],没把代理当真算:本 PR 实现真实规划状态,不包含代理指标或 stub
  • 借思路不搬代码:根据 EW 公开工具名称和行为描述独立重写,未复制或直接 import EW/AFI/GUARDIAN/Colosseum 代码

@zhangjun221 zhangjun221 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed PlanningSpace addition. Scope is focused, CI smoke passed, and no generated artifact leakage is present in the PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants