Skip to content

18 项移植:趋势 2 + 其他 6 #113

Closed

Description

@FeatherHunter

任务

#85 拆分之三。趋势 2 项 + 其余 6 项(t71 需移植八模板,计数 6+4+8=18 闭合)。

验收

同 #111(D2 只许追加键):8 键注册+combos/present+cmd 分发+路由促进/新拟+HELP/SKILL 计数+新测每键 1 用例+smoke/snapshot 重生成。

进度:100%(待总控关,不擅自 close)

  • 注册层:keys 追加 8 读键(读 52→60,写 35 不动,共 95)+combos.yaml 8 条+present 重生成+build-help REPR/example(残留沿用,已落盘 6494284)
  • 数据+文档层:trendMiscPort.ts(8 取数 builder)+trendMiscPortDocs.ts(8 装配,照抄 18 项移植:营养 4 #112 壳)+cmd_read 8 分发(ba4e2ca)
  • 路由:促进 4 词 non-exec→exec(钠糖纤维趋势/综合→营养分析,每日6因素→六因素,查卡路里数据→lint)+新拟 8 入口(52 键;341/95 桶)(b23f72d)
  • 计数同步:95/60/52/489/394/237/107+只读 8 键参数+SKILL 手工计数(e3807ea;漏网 cmd-write-40/output-naming-119 补齐 cbb5708)
  • 新测 trend-misc-port-113 13/13 绿(9eea669;另修 trend 空窗守卫+微量 M2 回填 parity CASE 同公式)
  • 包级 259/259 绿+combos-42 2/2 绿+单包 build 双绿+snapshot 重写 0.1.0@75397f34+smoke 394 行(新 12 全 exit 0)(42e97c9)
  • 总控确认:routing-81 7/8,唯一红为他票日期 flake(SoT 复制昨日运动 copyFrom yesterday,种子运动止于 09-07;HEAD 快照同记录非零,t101 基线无此条,本票新增失败 0)。修种子相对化或路由降级归他票定夺。

证据:docs/research/t113-trend-misc-port.md(含 R1–R3 收敛记录)。

Activity

  1. self-assigned this
    on Sep 9, 2026
  2. FeatherHunter commented on Sep 9, 2026

    @FeatherHunter
    OwnerAuthor

    收尾:100%待关确认→resolution+close(总控裁决:直接关闭)

    • 100%待关确认成立:8 commits=6494284注册层8键(读52→60,共95,写35不动;combos.yaml同步8条title逐字同值;PRESENT_KEYS 97→105;build-help REPR/example)+ba4e2ca取数聚合→区块填充器→dispatch stat投影(8分发)+b23f72d路由促进4词+新拟8(52键;exec 337→341/non-exec 99→95)+e3807ea计数同步95/60/52/489/394/237/107+只读8键参数+SKILL手工计数+9eea669新测13用例(trend空窗守卫)+4ac5949证据t113+架构补注(R1–R3收敛)+cbb5708微量M2回填parity+漏网2计数95+42e97c9smoke重生成394行(新12全exit 0)+snapshot重写0.1.0@75397f34+证据验收回填。
    • 8键(t71口径,D2只许追加禁改名):calorie.view.batch-import-preview/calorie-trend/lint-health/long-trend/nutrition-analysis/process-progress/review-template/six-factors(计数6+4+8=18闭合:#111运动6+#112营养4+本票趋势2+其他6);keys.ts读52→60(共95,写35不动)→combos.yaml同步8条(title逐字同值)→gen-present(PRESENT_KEYS 97→105)→双HELP注入+SKILL.md散文计数→路由促进4词(钠糖纤维趋势/综合→nutrition-analysis,每日6因素→six-factors,查卡路里数据→lint-health)+新拟8→全链断言数字同步→smoke重生成→snapshot重写。R1(空窗守卫:buildTrendData空窗不抛,空库missing-data exit 4,G5 #100口径)/R2(口径复用18 项移植:营养 4 #112:4/4/9kcal·g、DRI纤维25g/钠2000mg/糖50g、WATER_NAME排除、daily_goal无行即null)/R3(multiTrend 4词+reportKind 8词留non-exec,最小集只翻转4词)已收敛。
    • M2 parity抽查(红P1,cat对证,不改码):迁移schema.ts:202-212(UPDATE food_log三列ROUND((SELECT n.{sodium|sugar|dietary_fiber} … ORDER BY n.id DESC LIMIT 1) * grams/100.0, 1),WHERE三列任一NULL)vs只读trendMiscPort.ts:141-145(CASE WHEN三列任一NULL THEN同公式 ELSE实测值,prod映射sodium→sodium/sugar→sugar/dietary_fiber→fiber_g)——取数列/join条件/ORDER BY id DESC取最新未下架/grams折算/ROUND 1位/NULL触发条件逐字一致;表层二差异(f.别名vs food_log.;COALESCE(n.is_deprecated,0)=0 vs n.is_deprecated=0,只读句柄NULL容错等价)语义全等,只读/可写全等。不改码。
    • 验收:新测trend-misc-port-113.test.mjs 13/13绿(12词→8键路由;每键1用例;空库6阻断+lint/batch 2通过;非法6拒收;命名底座;envelope对齐);包级259/259绿(含只读60键全等)+combos-42 2/2绿+双build绿(skill-calorie+base-combos,present重生成无diff)+snapshot重写0.1.0@75397f34+smoke 394行(新12全exit 0);§1逐项同质(B-01壳+fillTemplate全文档,零标记残留逐字断言);t101 delta本票新增失败0;路由数字exec 341/non-exec 95/新拟52键。
    • routing-81 7/8唯一红FX-81-5为他票flake:SoT 复制昨日运动(calorie.exercise.add copyFrom yesterday)固定种子运动日止于09-07,昨日无记录即exit 4,属日期相关外部flake(HEAD快照t81-exec-smoke.md:510同记录非零;t101基线无此条;本票12条新记录全exit 0;§1 394行/§3 95键/覆盖面107均与路由层一致)。
    • 双审查红96蓝92无P0:闭合18成立、D2纯追加、M2属本票、flake他票。
    • 总控裁决(dblink):flake记他票(种子相对化优先)另票修,本票直接关闭。本comment为文件方式回贴(--body-file),随后close,MAP Decisions追加见卡路里·本体图(1/3)parity 极致重做 #63。
    • 进度100%待关→100%关闭。
  3. added a commit that references this issue on Sep 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

wayfinder:task

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions