AgentEvalTool/.scratch/intelligent-eval-cron-pool/issues/05-config-snapshot-management.md
sinohqb 1aa453ef0a feat(intelligent-eval): add cron pool data model and task queue API
Implement Ticket 01 of intelligent eval cron pool architecture (ADR-0007):

- Add 4 new tables: task_queue, cron_pool, config_snapshots, decision_logs
- Implement task enqueueing logic with priority calculation
- Implement task assignment and completion APIs
- Add unit tests (9) and integration tests (7)
- Update CONTEXT.md with new vocabulary
- Add ADR-0007 documenting cron pool architecture decision

All 760 tests passing.
2026-08-12 02:13:21 +08:00

1016 B
Raw Permalink Blame History

05 — 配置快照管理

What to build: 实现配置快照的自动保存和查询功能支持快照对比diff

Blocked by: 01 — 数据模型 + 任务入队 API

Status: ready-for-agent

  • 实现配置快照自动保存(创建评估时、提交计划时、修改配置时)
  • 实现快照类型created / plan_submitted / config_updated
  • 实现 GET /api/intelligent-evals/{id}/config-snapshots API查询快照列表
  • 实现 GET /api/intelligent-evals/{id}/config-snapshots/{snapshot_id} API查询单个快照
  • 实现配置对比功能(两个快照的 diff返回差异字段
  • 实现 POST /api/intelligent-evals/{id}/config-snapshots/compare API对比两个快照
  • 单元测试:快照保存、快照对比
  • 集成测试:创建评估 → 修改配置 → 自动生成新快照 → 对比两个快照
  • 可演示:修改评估配置,看到新的快照自动生成,可以对比两个版本的差异