Resident agents call GET /api/exploration/patrol once per cycle to see every running production-line campaign that opted into exploration (seed set present), the new results since the last watermark (reusing campaign report aggregation), and the remaining exploration budget. The watermark advances after each call so subsequent calls only report increments; accelerated and terminal campaigns are excluded.
14 lines
939 B
Markdown
14 lines
939 B
Markdown
# 02 — 活动级种子集与探索预算配置
|
|
|
|
**What to build:** 创建活动时可为该活动配置种子集(种子人设数组 + 种子目标数组)与探索预算(最大会话数 / 单会话最大轮数 / 会话最小间隔,空则用平台默认)。配置与活动计划同构入库,可查询;前端活动创建表单提供种子与预算输入,种子留空即该活动不参与探索。种子集是探索式评测的可比性单位,随活动持久化。
|
|
|
|
**Blocked by:** None — can start immediately
|
|
|
|
**Status:** completed
|
|
|
|
- [x] 活动实体新增种子集与预算两个 JSON 配置字段,迁移可在全新库与既有库上应用
|
|
- [x] 活动创建/查询 API 接受并返回配置;预算空值回落平台默认
|
|
- [x] 创建表单可录入种子人设、种子目标与预算覆盖
|
|
- [x] 种子留空的活动创建成功且标记为不参与探索
|
|
- [x] 集成测试覆盖配置存取与默认回落
|