Skip to content

卡路里补票P0·写链写键(单条CRUD) #40

Closed

Description

@FeatherHunter

Blocked by: #39

Question

#39 parity 调查确认:新版 24 个 cmd_read 键全为读(view/photo/help/history/today,无任何写键),旧版约 22 个写 CLI(add/delete/update-meal/water/goal/weight/weight-update/weight-delete/weight-batch/weight-goal/exercise-add/add-product/update-product/copy-meals/add-meal-batch/update-meals-by-date/delete-meal-by-type/delete-meals-by-date/delete-meals-by-range/deprecate-product/profile set/activity/update)与单条 CRUD 唤醒词(记一餐、记体重、记运动、记体脂、记围度、记身材照、定/改目标等)在新版无可执行键。路由与 HELP 保留,但执行仍走旧 live 链,新版无法独立完成“记/改/删”。

本票交付写链:新增写键(命名待定),envelope receipt 形状,缺失阻断沿用既有契约,测试 tmp 隔离。

验收

旧写 CLI 逐条有去处(同名/改名/有意废弃并写理由)。

记/改/删(饮食/体重/运动/照片/食品库/档案/目标)可执行并回 receipt。

pnpm test 全绿,真实 DB 零触碰。

范围:#14 一期后续补票;面板/定时/外联动 out of scope。

Activity

  1. added 2 commits that reference this issue on Sep 6, 2026
  2. FeatherHunter commented on Sep 6, 2026

    @FeatherHunter
    OwnerAuthor

    写链已合入 master a3aae7d:35 写键走唯一出口 cmd_read(receipt),旧 22 写 CLI 逐条有去处(废弃写理由);skilllink 登记(combos 只增路由,channels 15 不动);tsc 全绿,208 pass,boundaries PASS,快照一致,master CI 34033555960 success。分支随后清理。

  3. added a commit that references this issue on Sep 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    wayfinder:task

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions