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.
802 B
802 B
07 — 活动 finalize 会话结算 + 档位校验
What to build: 活动生命周期与探索会话的收口规则。窗口结束进入终态结算时,仍 running 的探索会话转 expired,此后拒收消息——不留悬挂会话。档位校验完整化:正式线接受自动与手动触发的会话;加速调试线仅接受手动触发,自动来源一律拒绝(时间压缩与拟真冲突,加速线不参与自动探索)。
Blocked by: 01(会话实体与状态机)
Status: ready-for-agent
- 活动终态结算时 running 会话转 expired,后续消息 409
- 加速线自动触发被拒并附原因;手动触发可用
- 正式线两种触发来源均可用
- 集成测试覆盖结算与档位分支(先例:活动自动触发类测试)