DrSmoothl
c1d27c5055
refactor(protocol): converge packet-pipeline dispatch tail into finishDispatch
process() 的 sync 分支、dispatchAfterIdentityRefresh、dispatchGroupInvite 三处逐字
重复同一段收尾(handleSideEffects → printEvent → emit);再加一种需 pre-dispatch
富化的入站事件就得原样抄这三行,漏一行会静默丢日志或丢事件发射。抽 finishDispatch
收敛为一处。
- finishDispatch(event, alreadyRefreshed=false):默认 false 使 sync/group-invite
两路的 finishDispatch(event) 等价于原 handleSideEffects(event);identity-refresh
路透传 refreshed。与 CONTEXT 里已做的 reconcilePipeUp/Down 收敛同构。
行为严格不变:protocol 561 + core 467 全绿、typecheck 干净;对抗性 Agent 逐字对比
HEAD 确认三处等价、透传正确、三条路径均有测试覆盖。
2026-07-01 18:43:20 +08:00
..
2026-06-30 23:29:51 +08:00
2026-07-01 17:29:25 +08:00
2026-07-01 17:29:25 +08:00
2026-07-01 02:27:35 +08:00
2026-07-01 18:37:42 +08:00
2026-07-01 18:30:45 +08:00
2026-07-01 18:43:20 +08:00
2026-06-30 20:38:37 +08:00
2026-06-30 20:38:37 +08:00
2026-06-30 20:38:37 +08:00
2026-06-30 20:38:37 +08:00
2026-06-30 20:38:37 +08:00
2026-07-01 14:43:29 +08:00