Files
ai-exchange/docs/archive/AI_ICT_TradingAgents_P2自动任务清单_v1.md
T

3.2 KiB
Raw Blame History

AI_ICT + TradingAgents P2 自动任务清单 v1

1. 文档目标

本清单用于驱动 Research Council P2 的自动推进。

P2 定位:

经验回流、评估闭环、研究竞技场,并进入长期运行与优化模式。


2. 启动条件

只有满足以下条件,自动化流程才应切入本清单:

  1. P1 晋级门已通过
  2. 当前阶段已被标记为 Research Council P2
  3. P1 展示层和 runtime 接入已稳定

3. 默认执行顺序

P2-1 lessons schema 与持久化

目标

建立 lesson store。

主要文件

  • migrations/039_create_research_council_lessons.sql
  • src/services/research_council/council_memory_service.py

完成标志

  • 可持久化 lesson
  • 可按 symbol / session / setup_type 检索

P2-2 backfill lessons

目标

把现有 journal / weekly review / replay / trust 回填成可用经验。

主要文件

  • scripts/run_research_council_backfill_lessons.py
  • src/services/journal/*
  • src/services/trust/*

完成标志

  • 历史记录可转成结构化 lesson
  • backfill 可重复执行

P2-3 similarity / memory retrieval

目标

让 council 在分析时能够读取相近历史经验。

主要文件

  • src/services/research_council/council_memory_service.py
  • src/services/research_council/council_context_builder.py

完成标志

  • context builder 可注入 compact lessons
  • 不挤占主事实层

P2-4 checkpoint / resume 稳定化

目标

把 council checkpoint 从“存在”推进到“长期稳定可用”。

主要文件

  • src/services/research_council/council_checkpoint_service.py
  • scripts/run_research_council_replay.py

完成标志

  • 中断恢复稳定
  • replay 可用于调试与评估

P2-5 评估脚本

目标

建立 council 与非 council 的效果比较。

建议输出维度

  • operator 决策质量 proxy
  • follow-up checks 命中率
  • disagreement 提示有效性
  • session / setup 适配性

主要文件

  • scripts/run_research_council_eval.py
  • src/services/research_council/ 评估辅助模块

完成标志

  • 能周期性生成比较结果

P2-6 内部研究竞技场

目标

建立内部 council 组合 / setup / model 对比框架。

范围限制

只用于内部:

  • model 赛马
  • setup 对比
  • council 组合实验

不用于:

  • 外部平台化
  • follower/copy trade
  • rewards

完成标志

  • 可服务长期迭代

4. P2 阶段出口判断

P2 不是“做完就停”,而是进入长期运行态。

只有以下条件成立,才应把状态写为 P2 进入长期运行态:

  1. lesson backfill 稳定
  2. checkpoint / resume 稳定
  3. 评估脚本稳定
  4. 内部竞技场可支撑后续迭代

进入长期运行态后的默认动作:

持续评估
-> 识别 council 薄弱点
-> 回到 P2 内部优化
-> 必要时回流修正 P1 展示层或 P0 契约层

5. P2 默认验证串

建议默认验证顺序:

  1. focused unit tests
  2. tests/unit
  3. scripts/run_research_council_backfill_lessons.py
  4. scripts/run_research_council_replay.py
  5. scripts/run_research_council_eval.py
  6. 必要时 review packet / workbench smoke