Răsfoiți Sursa

chore: auto bump version and changelog [skip ci]

iwt 4 zile în urmă
părinte
comite
d80823f6ac

+ 1 - 1
cfc-web/.last_build_commit

@@ -1 +1 @@
-b6f95c1f5926e0786318c85f4f52cff33e2abd51
+a80a6115a99b308970adb49624ee4c8f80878ca5

+ 2 - 2
cfc-web/package-lock.json

@@ -1,12 +1,12 @@
 {
   "name": "cfc-web",
-  "version": "1.0.2223",
+  "version": "1.0.2224",
   "lockfileVersion": 3,
   "requires": true,
   "packages": {
     "": {
       "name": "cfc-web",
-      "version": "1.0.2223",
+      "version": "1.0.2224",
       "dependencies": {
         "@wangeditor/editor": "^5.1.23",
         "@wangeditor/editor-for-vue": "^1.0.2",

+ 1 - 1
cfc-web/package.json

@@ -1,6 +1,6 @@
 {
   "name": "cfc-web",
-  "version": "1.0.2224",
+  "version": "1.0.2225",
   "private": true,
   "scripts": {
     "dev": "vue-cli-service serve",

+ 63 - 0
cfc-web/public/CHANGELOG-v1.0.md

@@ -4,6 +4,69 @@
 
 ---
 
+## v1.0.2225 (2026-11-08)
+
+### 文档
+- 研发负责人工作汇报 2026-11-09 0130 — 68键状态机(RED19/YELLOW27/GREEN8/DONE14) + 27 YELLOW实现全在链复核 + 19 RED测试侧契约批次在途 + 新缺陷修复9e6825ef8跟踪
+- 食材推荐按健康问卷个性化调整 需求变更+设计
+- 研发负责人工作汇报 2026-11-09 0054 — 68键状态机(RED19/YELLOW27/GREEN8/DONE14) + SC 15/241 + 11 dispatched RED 任务 git 实证完成 + 会话全 idle 待 hub 拾取 pending
+- 错峰03第70轮 - O-18 裁决(自动巡检链注册/diet走hub入池/8僵尸重派)+ 研发汇报 0015
+- 迁移方案追加 T8 巡检并入 WorkBuddy automation 落地状态
+- v2 实现方式重写任务书+需求变更(竖屏直签+canvas type=2d,取代 11-08 横屏适配 a7edf5698)
+
+### Bug 修复
+- 报告采集兜底成员绑定与食材成员视角归一
+
+### 其他
+- 1. 报告无成员名:PDF 未提取到姓名 → person_name 空
+- 2. 报告列表选成员看不到:subject_id 落空(NULL),getMemberReports 按 subject_id 过滤查不到
+- 3. 成长页饮食推荐选成员看不到食材:users.id 与 family_members.id 数值重叠时
+-    resolveFoodIndexUserId 的 users 优先启发式把成员卡误判为无关用户
+- 修复:
+- - ReportCollectService.insertReport:姓名匹配失败回退 draft.member_id;下游统一使用归一化
+-   成员卡 id(created.subject_id);buildReportFromPayload 对空 person_name 回填成员昵称
+- - FoodRecommendService:新增 resolveMemberViewToUserId(成员视角 family_members.id → users.id);
+-   recalculateForUser 写键基于报告 subject_id 权威化,规避数值碰撞
+- - HealthReportController /api/health/foods、FoodRecommendController /api/food/recommendation/caution:
+-   成员视角入参先经 resolveMemberViewToUserId 归一
+- 测试:FoodRecommendMemberViewResolutionTest 6 例全绿(成员视角解析 + 写键权威化)
+- 
+- granularity != strain 时禁生成含菌株号的商品推荐 (叠加 §5.2 16S 粒度声明)。
+- RED 探测: AttributionLowSideRules/AttributionComplianceGate 无 no_strain_recommendation
+- 规则码; 归因模型无 granularity 维度; 门禁无 enforceStrainBlock 入口; L5 scan 不回扫菌株号。
+- 预期红: 6 run / 5 fail (结构+行为双通道), 权限流说明性用例通过。
+- 
+- TDD 入池 diet.food.healthAdjust(UI) 能力键 RED 登记(S-cfc-96/97)。
+- 溯源:用户 2026-11-09 拍板。
+- 
+- - guhe_v2 解析后校验增量 11 键齐全(21 旧键 + 11 增量键 = 32 键)
+- - 空壳(曾误用艾德范思提取器产 26 键)→ 换正确提取器 extract_guhe_v2
+- RED 预期:实现未落地,5 用例红(守卫入口/11 键基准/32 键边界/26 键空壳签名/提取器寻址),
+- 2 用例说明性绿(parseReport 挂载点 + 权限流不适用)。纯反射结构契约,无 Spring/DB/外部服务。
+- GREEN 指引:ReportParserDispatchService 提供空壳守卫入口(方法名含 Shell/KeyComplete/ValidateKeys),
+- L1 层声明 11/32 键边界与 26 键空壳签名、增量 11 键集合,并寻址 extract_guhe_v2。
+- 
+- 
+- guhe2026-new-extension module (11 subkeys incl low-side patch subkey),
+- with idempotent upgrade script (importFromClasspath: overwrite, no accumulation).
+- RED: 9/11 fail - seed version is 2.0, extension module not registered/loaded.
+- 
+
+### 测试
+- S-cfc-81 add RED contract tests for 16S granularity strain-block gate (T6/G-2)
+- S-cfc-91 guhe.gate.evidenceIsolate 证据码隔离契约测试(TDD-RED,11 红 1 绿权限流)
+- guhe.l1.pageTailClean 分页残段清洗下沉 RED 契约单测 (T12/L1-2)
+- S-cfc-89 add RED contract tests for empty-shell rate guard (T13/L1-4)
+- S-cfc-90 add RED contract tests for guhe_v2 fingerprint route (T7 chain aidefansi->beijing->guhe_v2->standard + trigger words + 32-key self-check)
+- S-cfc-88 add RED contract tests for P3 cross-case aggregate (T15 low-side reading aggregate & same-strategy retrieval)
+- S-cfc-87 add RED contract tests for existing-key new field exposure (T10 L2-3: genus-function-library [40]/[72]/[73] high/low impact, species-info Escherichia low-side impact, aidefansi E.coli colonization note)
+- S-cfc-86 add RED contract tests for low-side no-supplement redline (T4/L4-3, contract not landed)
+- S-cfc-85 add RED contract tests for five-dim no_path mapping (gut_flora no_path to wealth/action, mind/wisdom mediation chain locked wording, low-side body battlefield)
+- S-cfc-84 add RED contract tests for report format version split (T8/L1-3 old 21-key vs guhe_v2 32-key)
+- S-cfc-83 add RED contract tests for KB version sensing (T9 L2-1)
+- S-cfc-80 add RED contract tests for co-diner participant select (family opens multi-select with default all, personal passes currentMemberId)
+
+
 ## v1.0.2224 (2026-11-08)
 
 ### 测试

+ 64 - 1
cfc-web/public/CHANGELOG.md

@@ -1,6 +1,6 @@
 # 更新日志
 
-> 当前版本: v1.0.2224
+> 当前版本: v1.0.2225
 
 ## 历史版本
 
@@ -8,6 +8,69 @@
 
 ---
 
+## v1.0.2225 (2026-11-08)
+
+### 文档
+- 研发负责人工作汇报 2026-11-09 0130 — 68键状态机(RED19/YELLOW27/GREEN8/DONE14) + 27 YELLOW实现全在链复核 + 19 RED测试侧契约批次在途 + 新缺陷修复9e6825ef8跟踪
+- 食材推荐按健康问卷个性化调整 需求变更+设计
+- 研发负责人工作汇报 2026-11-09 0054 — 68键状态机(RED19/YELLOW27/GREEN8/DONE14) + SC 15/241 + 11 dispatched RED 任务 git 实证完成 + 会话全 idle 待 hub 拾取 pending
+- 错峰03第70轮 - O-18 裁决(自动巡检链注册/diet走hub入池/8僵尸重派)+ 研发汇报 0015
+- 迁移方案追加 T8 巡检并入 WorkBuddy automation 落地状态
+- v2 实现方式重写任务书+需求变更(竖屏直签+canvas type=2d,取代 11-08 横屏适配 a7edf5698)
+
+### Bug 修复
+- 报告采集兜底成员绑定与食材成员视角归一
+
+### 其他
+- 1. 报告无成员名:PDF 未提取到姓名 → person_name 空
+- 2. 报告列表选成员看不到:subject_id 落空(NULL),getMemberReports 按 subject_id 过滤查不到
+- 3. 成长页饮食推荐选成员看不到食材:users.id 与 family_members.id 数值重叠时
+-    resolveFoodIndexUserId 的 users 优先启发式把成员卡误判为无关用户
+- 修复:
+- - ReportCollectService.insertReport:姓名匹配失败回退 draft.member_id;下游统一使用归一化
+-   成员卡 id(created.subject_id);buildReportFromPayload 对空 person_name 回填成员昵称
+- - FoodRecommendService:新增 resolveMemberViewToUserId(成员视角 family_members.id → users.id);
+-   recalculateForUser 写键基于报告 subject_id 权威化,规避数值碰撞
+- - HealthReportController /api/health/foods、FoodRecommendController /api/food/recommendation/caution:
+-   成员视角入参先经 resolveMemberViewToUserId 归一
+- 测试:FoodRecommendMemberViewResolutionTest 6 例全绿(成员视角解析 + 写键权威化)
+- 
+- granularity != strain 时禁生成含菌株号的商品推荐 (叠加 §5.2 16S 粒度声明)。
+- RED 探测: AttributionLowSideRules/AttributionComplianceGate 无 no_strain_recommendation
+- 规则码; 归因模型无 granularity 维度; 门禁无 enforceStrainBlock 入口; L5 scan 不回扫菌株号。
+- 预期红: 6 run / 5 fail (结构+行为双通道), 权限流说明性用例通过。
+- 
+- TDD 入池 diet.food.healthAdjust(UI) 能力键 RED 登记(S-cfc-96/97)。
+- 溯源:用户 2026-11-09 拍板。
+- 
+- - guhe_v2 解析后校验增量 11 键齐全(21 旧键 + 11 增量键 = 32 键)
+- - 空壳(曾误用艾德范思提取器产 26 键)→ 换正确提取器 extract_guhe_v2
+- RED 预期:实现未落地,5 用例红(守卫入口/11 键基准/32 键边界/26 键空壳签名/提取器寻址),
+- 2 用例说明性绿(parseReport 挂载点 + 权限流不适用)。纯反射结构契约,无 Spring/DB/外部服务。
+- GREEN 指引:ReportParserDispatchService 提供空壳守卫入口(方法名含 Shell/KeyComplete/ValidateKeys),
+- L1 层声明 11/32 键边界与 26 键空壳签名、增量 11 键集合,并寻址 extract_guhe_v2。
+- 
+- 
+- guhe2026-new-extension module (11 subkeys incl low-side patch subkey),
+- with idempotent upgrade script (importFromClasspath: overwrite, no accumulation).
+- RED: 9/11 fail - seed version is 2.0, extension module not registered/loaded.
+- 
+
+### 测试
+- S-cfc-81 add RED contract tests for 16S granularity strain-block gate (T6/G-2)
+- S-cfc-91 guhe.gate.evidenceIsolate 证据码隔离契约测试(TDD-RED,11 红 1 绿权限流)
+- guhe.l1.pageTailClean 分页残段清洗下沉 RED 契约单测 (T12/L1-2)
+- S-cfc-89 add RED contract tests for empty-shell rate guard (T13/L1-4)
+- S-cfc-90 add RED contract tests for guhe_v2 fingerprint route (T7 chain aidefansi->beijing->guhe_v2->standard + trigger words + 32-key self-check)
+- S-cfc-88 add RED contract tests for P3 cross-case aggregate (T15 low-side reading aggregate & same-strategy retrieval)
+- S-cfc-87 add RED contract tests for existing-key new field exposure (T10 L2-3: genus-function-library [40]/[72]/[73] high/low impact, species-info Escherichia low-side impact, aidefansi E.coli colonization note)
+- S-cfc-86 add RED contract tests for low-side no-supplement redline (T4/L4-3, contract not landed)
+- S-cfc-85 add RED contract tests for five-dim no_path mapping (gut_flora no_path to wealth/action, mind/wisdom mediation chain locked wording, low-side body battlefield)
+- S-cfc-84 add RED contract tests for report format version split (T8/L1-3 old 21-key vs guhe_v2 32-key)
+- S-cfc-83 add RED contract tests for KB version sensing (T9 L2-1)
+- S-cfc-80 add RED contract tests for co-diner participant select (family opens multi-select with default all, personal passes currentMemberId)
+
+
 ## v1.0.2224 (2026-11-08)
 
 ### 测试