You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
fix(pipeline): violation-precedence 去重键在 run.at 缺失时会把不同 run 的违规合并 #461
Activity
modusensus commentedon Oct 20, 2026
现状(2026-10-21 对照
main实测)代码里一行没动,问题仍在。
dsh-mneme/src/pipeline.js:127:run.at缺失时该键塌缩成|step|need,不同 run 的同类违规会被合并——去重本意是「同一轮里同一条违规只报一次」,塌缩后变成「所有无时间戳的轮次共享一条」。现网风险低(run.at正常都有值),属于防御深度缺口。还缺什么
run.at时用run.id或进程内单调序号兜底,而不是空串;run.at均为undefined的 run 产生同step.id违规,断言产出两条。接手建议
三行以内可修,
test/pipeline-activities.test.js里已有同类断言可照抄。这条不需要设计讨论。