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
于是 rating >= 4.5 在实际数据上等价于 rating == 5。后果:一条四星线索会被路由流判为 hot、拿到 1 天 SLA、给负责人发出「Hot lead — assign within 24h」的告警,然后不出现在 🔥 Hot Leads 视图里——它落在 high_priority(rating >= 4)里。收到「24 小时内跟进」告警的人打开 Hot Leads 队列,看不到那条线索。
hot_leads 的注释还说这是「a tighter cut than the High Priority view (rating >= 4) so the two are not duplicates」——意图(更紧的一刀)成立,但用 4.5 表达一个只有整星的量,读起来像是存在半星,且与告警口径分叉。同一处注释里的「(Set by the auto_flag_hot_lead workflow)」也已失效:仓库里没有名为 auto_flag_hot_lead 的 workflow / flow。
Activity
yinlianghui commentedon Aug 5, 2026
分诊(PM 循环第 7 轮,会话
session_01VHrPAGEgFDoHjphqYG4BMa):按恢复不变式裁定为 PM 可决,入pm:queue,不进决策收件箱 —— 理由与否决窗口如下:「hot」的定义仓库里只能有一个。语义生产者是
lead_assignment路由流(≥4 → hot SLA + 24 小时认领告警,后果用户可见);hot_leads视图的 4.5 阈值无任何书面理由,且其注释引用一个不存在的auto_flag_hot_leadworkflow —— 这是漂移证据,不是设计意图。被系统宣告为 hot、发过告警的线索永远进不了同名队列,正是 declared ≠ enforced。裁定方向:视图阈值对齐流的 ≥4(一个 hot 定义),同时删掉那条幽灵 workflow 注释;五星专属队列如果是真实需求,应该以自己的名字另立视图,而不是借 Hot 之名。维护者如倾向反向(把流的告警阈值提到 4.5),请在本单否决,派发前会再读本线程。
Generated by Claude Code
yinlianghui commentedon Aug 5, 2026
派发依据:分诊评论已裁定方向(恢复不变式:一个 hot 定义,流是语义生产者)。dev 复核时若发现新证据推翻裁定,照常 premise 报告,不强行执行。
Generated by Claude Code
test(leads): drop the unused high_priority binding from the parity guard
yinlianghui commentedon Aug 5, 2026
✅ 验收通过 — PR #774 已转 ready 并挂 auto-merge(新 head 669918d,CI 9/9 绿)。
判定要点:
lead_assignment路由流(判定带用户可见后果:1 天 SLA + 24 小时认领告警),hot_leads视图从 4.5 改 4 跟随之;high_priority、流本身、其余视图未动。四条前提在 440db01 上逐条复核成立,且找到反向书证(sales.seed.ts:473-478 —— 4.5 曾作为「契约永远产不出的评分」在 Seed data gaps: no line items, no campaign members — CPQ and marketing surfaces are empty on a fresh install #591 被删过一次)。hot_leads与high_priority的过滤条件逐字相同:两个视图是否还该并存是产品决策 #775(finding),本 PR 不删不改high_priority—— 处置正确。AutomationEngine.evaluateCondition);整星断言本身也是派生的(先钉Math.round还在);反真空齐备(子句恰一、阈值必须 number、真值表 hot/非 hot 都必须出现、状态过滤必须含 new);反向验证两次,方向先声明,红的恰是预测的三条/一条。highPriorityView未用变量以删除了结,不造真空断言 —— 对它唯一可写的断言会把 阈值对齐后hot_leads与high_priority的过滤条件逐字相同:两个视图是否还该并存是产品决策 #775 的未决产品决策锁进守卫(无缺陷也变红),注释已写明为何守卫不读high_priority,防止下一个人加回去。断言数保持 16。#766 随本 PR 关闭;#775 入 finding 池(决策项:两视图是否并存)。
Generated by Claude Code
fix(leads): 一个 hot 定义 —— Hot Leads 视图阈值对齐 lead_assignment 路由流(rating …