AgentEvalTool/.scratch/v0.9/issues/07-finalize-and-line-gates.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

802 B
Raw Blame History

07 — 活动 finalize 会话结算 + 档位校验

What to build: 活动生命周期与探索会话的收口规则。窗口结束进入终态结算时,仍 running 的探索会话转 expired此后拒收消息——不留悬挂会话。档位校验完整化正式线接受自动与手动触发的会话加速调试线仅接受手动触发自动来源一律拒绝时间压缩与拟真冲突加速线不参与自动探索

Blocked by: 01会话实体与状态机

Status: ready-for-agent

  • 活动终态结算时 running 会话转 expired后续消息 409
  • 加速线自动触发被拒并附原因;手动触发可用
  • 正式线两种触发来源均可用
  • 集成测试覆盖结算与档位分支(先例:活动自动触发类测试)