fix(acm2-107): finalize /all/flights contract and FLTR JSON payload

Close Q21 into C-11 and emit day-schedule FLTR-shaped JSON for Redis, schd, and query responses.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
windyboy
2026-09-23 11:23:37 +08:00
co-authored by Cursor
parent 43bb561f47
commit f45a0ac898
10 changed files with 103 additions and 50 deletions
+1 -1
View File
@@ -236,7 +236,7 @@ PENDING → SENT → DONE
- **只进不退**`STATE_VERSION` 只升不降。
- **条件标记**`SENT``WHERE STATE_VERSION = 本批版本`;已被新版本覆盖则下轮重发。
发送:取未发送行(`PARAM:msgx.schd.flush-limit`)→ 整批 `SCHD.FLTR` JSON`C-9`)→ 条件标 `SENT`。删航班只走 `msg`
发送:取未发送行(`PARAM:msgx.schd.flush-limit`)→ 把各行载荷聚成 `SCHD.FLTR` JSON 数组发出`C-9`)→ 条件标 `SENT``MSG_EVENT` 里每条 `schd` 载荷、以及 Redis 投影 value,都是单条 `FLTR` JSON(由 PG 当前态重建,`C-11`);删航班只走 `msg`
周期与批上限见 [reference.md](reference.md)。`msg``schd` 不承诺顺序。