docs(ops): claim U4 intent plan outbox projection

Register the events mutex before appending intent.plan facts onto Track E.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
weichen
2026-09-16 00:40:57 +00:00
co-authored by Cursor
parent 0f656638eb
commit 1afd39c9e8
4 changed files with 75 additions and 4 deletions
+2 -1
View File
@@ -5,7 +5,7 @@
## 焦点
1. **MULTI-INTENT HITL**:U3 PG/CAS 已签([U3 报告](../test-reports/2026-09-15-multi-intent-u3-intentflow-pg-test-report.md));下一单元 U4 outbox/投影待认领
1. **MULTI-INTENT HITL**:U4 outbox/投影进行中([U4](./short-term/2026-09-16-multi-intent-u4-outbox-projection.md);[U3 报告](../test-reports/2026-09-15-multi-intent-u3-intentflow-pg-test-report.md))
2. **发布门禁**:CI `TEST_DATABASE_URL`、真实 PI 三工作流 E2E、前端人工抽检仍开放([gap-matrix](../remediation/gap-matrix.md))
3. **CHAT-INTENT**:双标签 busy 已签(项目 **6275**);不删 `sess-p143-u9`;项目 143 只读
@@ -13,6 +13,7 @@
| owner | task | branch | worktree | mutex | status |
|-------|------|--------|----------|-------|--------|
| Cursor | 2026-09-16-multi-intent-u4-outbox-projection | feature/multi-intent-u4-outbox-projection | - | events | in_progress |
| Cursor | 2026-09-15-multi-intent-u3-intentflow-pg | feature/multi-intent-u3-intentflow-pg | - | intent-plan | done |
| Cursor | 2026-09-15-multi-intent-u2-segmenter | feature/multi-intent-u2-segmenter | - | intent | done |
| Cursor | 2026-09-15-multi-intent-u1-contracts | feature/multi-intent-u1-contracts | - | architecture-docs | done |
@@ -0,0 +1,19 @@
---
title: "多意图 HITL U4 outbox checklist"
status: in_progress
created: 2026-09-16
updated: 2026-09-16
related_task: "2026-09-16-multi-intent-u4-outbox-projection"
---
# 多意图 HITL U4 outbox checklist
- [ ] 同 UoW Append intent.plan.*
- [ ] golden payload 无敏感字段
- [ ] 重复/乱序/伪造 producer
- [ ] 投影只前进;跨用户隔离
- [ ] dispatcher 语义未改;arch-check 绿
## 完成定义
- [ ] 全部勾选且有证据链接
@@ -3,10 +3,10 @@ title: "多意图持久计划与 HITL(核心 U1–U8,扩面 U9–U12)"
status: in_progress
created: 2026-09-15
updated: 2026-09-15
owner: 待认领(下一单元 U4)
branch: "-"
owner: Cursor(U4);其余单元待认领
branch: feature/multi-intent-u4-outbox-projection
worktree: "-"
mutex: "-"
mutex: events
---
# 多意图持久计划与 HITL(核心 U1–U8,扩面 U9–U12)
@@ -0,0 +1,51 @@
---
title: "多意图 HITL U4:outbox 与计划投影"
status: in_progress
created: 2026-09-16
updated: 2026-09-16
owner: Cursor
branch: feature/multi-intent-u4-outbox-projection
worktree: "-"
mutex: events
---
# 多意图 HITL U4:outbox 与计划投影
## 目标
权威计划在同一 UoW 写入 outbox;投影只应用状态事实;消息/SSE 丢失时 GET PlanView 仍能恢复。不改 dispatcher claim/lease/retry 语义。
## 范围
- Create/Decide/Receipt 同事务 Append `intent.plan.*`
- 最小 payload + golden;伪造 producer 拒绝
- projection consumer 幂等、只前进 revision;跨用户不可见
- ctxmgr 只经 CardProjector 端口(接口在 intentflow,实现可 no-op)
- 复用 Track E LiveConsumers
## 非目标
- 不改通用 dispatcher
- 不挂 HTTP(U5)、不改 Web(U6)、不执行动作(U7)
## 步骤
1. [ ] 认领 CURRENT(mutex `events`)
2. [ ] emit + golden + 投影只前进
3. [ ] cmd/events 接入 multiplex;goose shadow
4. [ ] 报告并合回本地 dev
## 验收标准
- [ ] 创建计划产生 awaiting_input;payload 无 prompt/slots
- [ ] 重复 event_id 不双写投影
- [ ] 乱序低 revision 不覆盖高 revision
- [ ] 伪造 producer 拒绝
- [ ] GET PlanView 不依赖投影成功
- [ ] arch-check / short 绿
## 相关链接
- 总览: [2026-09-15-multi-intent-hitl.md](./2026-09-15-multi-intent-hitl.md)
- Checklist: [../checklists/2026-09-16-multi-intent-u4-outbox-projection.md](../checklists/2026-09-16-multi-intent-u4-outbox-projection.md)
- Test report: [../../test-reports/2026-09-16-multi-intent-u4-outbox-projection-test-report.md](../../test-reports/2026-09-16-multi-intent-u4-outbox-projection-test-report.md)