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.
13 lines
838 B
Markdown
13 lines
838 B
Markdown
# 03 — 巡检 API
|
||
|
||
**What to build:** 常驻代理一次调用即可无状态巡检:返回所有进行中的正式线活动(time_scale == 1)清单,每项含活动标识与对象、自上次巡检以来的新结果摘要(复用现有活动报告聚合口径,不重算新指标)、探索预算余量(剩余会话数等)。响应生成后推进各活动的巡检水位,使下次调用只报增量。加速线活动不出现在巡检结果中。
|
||
|
||
**Blocked by:** 01(预算余量需会话计数)、02(活动预算字段)
|
||
|
||
**Status:** ready-for-agent
|
||
|
||
- [ ] 巡检端点返回进行中正式线活动 + 新结果摘要 + 预算余量
|
||
- [ ] 巡检水位推进:连续两次调用,第二次只含增量
|
||
- [ ] 加速线与终态活动不出现
|
||
- [ ] 集成测试覆盖内容正确性、水位推进与过滤规则
|