AgentEvalTool/.scratch/v0.9/issues/03-patrol-api.md
sinohqb 6340ec503c feat(exploration): stateless patrol API with watermark increments
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.
2026-08-03 18:12:11 +08:00

13 lines
838 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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