Преглед на файлове

chore: auto bump version and changelog [skip ci]

iwt преди 3 седмици
родител
ревизия
47d7874aff
променени са 6 файла, в които са добавени 134 реда и са изтрити 5 реда
  1. 9 0
      cfc-langgraph/tests/conftest.py
  2. 1 1
      cfc-web/.last_build_commit
  3. 2 2
      cfc-web/package-lock.json
  4. 1 1
      cfc-web/package.json
  5. 60 0
      cfc-web/public/CHANGELOG-v1.0.md
  6. 61 1
      cfc-web/public/CHANGELOG.md

+ 9 - 0
cfc-langgraph/tests/conftest.py

@@ -1,3 +1,12 @@
+# 兼容旧版系统 sqlite3 (<3.35):chromadb 需要更高版本。
+# 仅测试环境生效(conftest 不参与生产加载);若系统已装新版 sqlite3 可移除。
+try:
+    import pysqlite3
+    import sys
+    sys.modules["sqlite3"] = pysqlite3
+except ImportError:
+    pass
+
 import pytest
 from httpx import AsyncClient, ASGITransport
 from app.main import app

+ 1 - 1
cfc-web/.last_build_commit

@@ -1 +1 @@
-9e9fbabc2a7b3db731c84b9e99d6461a876c178c
+1a8416d62dd717e91271e1bcf3b9c7e201191adc

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

@@ -1,12 +1,12 @@
 {
   "name": "cfc-web",
-  "version": "1.0.1229",
+  "version": "1.0.1230",
   "lockfileVersion": 3,
   "requires": true,
   "packages": {
     "": {
       "name": "cfc-web",
-      "version": "1.0.1229",
+      "version": "1.0.1230",
       "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.1230",
+  "version": "1.0.1231",
   "private": true,
   "scripts": {
     "dev": "vue-cli-service serve",

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

@@ -4,6 +4,66 @@
 
 ---
 
+## v1.0.1231 (2026-08-28)
+
+### 新功能
+- 方案任务生成优先读 tasks + 正则兜底 + 懒加载回填
+- 方案 section 重生成返回 {content, tasks} 结构化
+- 健康方案生成 Pydantic 校验 + 正则兜底提取 tasks
+- 健康方案 prompt 追加 tasks 输出契约
+- 健康方案 tasks 模型(PlanTask + section.tasks)
+- 方案激活按模板包批量拆任务并兼容childId双域
+- 成长计划列表接口与childName组装
+- 方案制定支持多成员分别调研-health_status加member_id字段+修复只保存不生成bug
+
+### 样式
+- health_plan.py 文件末尾补充换行符
+
+### 测试
+- 主链路E2E脚本与黑盒自测脚本
+
+### 其他
+- Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
+- 
+- Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
+- 
+- Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
+- 
+- Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
+- 
+- Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
+- 
+- Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
+- 
+- Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
+- 
+- Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
+- 
+- Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
+- 
+- Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
+- 
+- Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
+- 
+- Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
+- 
+- Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
+- 
+
+### 文档
+- 四模块链路黑盒测试方案与自测报告
+
+### Bug 修复
+- 方案管理页补齐plan接口函数修复白屏
+- 文章创建更新防检测超时-受限超时并fail-open
+- 全局参数校验友好化-空参格式错误返回400
+- 知识库查询删除接口契约对齐请求体并容错
+- 活动提交审核业务异常转400提示并支持退回草稿
+- 供应商保存兼容新旧字段契约并校验必填
+- 勋章创建自动生成badgeId避免唯一键500
+- 方案管理列表支持admin全量查看并按家庭筛选
+
+
 ## v1.0.1230 (2026-08-28)
 
 ### 文档

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

@@ -1,6 +1,6 @@
 # 更新日志
 
-> 当前版本: v1.0.1230
+> 当前版本: v1.0.1231
 
 ## 历史版本
 
@@ -8,6 +8,66 @@
 
 ---
 
+## v1.0.1231 (2026-08-28)
+
+### 新功能
+- 方案任务生成优先读 tasks + 正则兜底 + 懒加载回填
+- 方案 section 重生成返回 {content, tasks} 结构化
+- 健康方案生成 Pydantic 校验 + 正则兜底提取 tasks
+- 健康方案 prompt 追加 tasks 输出契约
+- 健康方案 tasks 模型(PlanTask + section.tasks)
+- 方案激活按模板包批量拆任务并兼容childId双域
+- 成长计划列表接口与childName组装
+- 方案制定支持多成员分别调研-health_status加member_id字段+修复只保存不生成bug
+
+### 样式
+- health_plan.py 文件末尾补充换行符
+
+### 测试
+- 主链路E2E脚本与黑盒自测脚本
+
+### 其他
+- Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
+- 
+- Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
+- 
+- Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
+- 
+- Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
+- 
+- Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
+- 
+- Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
+- 
+- Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
+- 
+- Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
+- 
+- Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
+- 
+- Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
+- 
+- Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
+- 
+- Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
+- 
+- Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
+- 
+
+### 文档
+- 四模块链路黑盒测试方案与自测报告
+
+### Bug 修复
+- 方案管理页补齐plan接口函数修复白屏
+- 文章创建更新防检测超时-受限超时并fail-open
+- 全局参数校验友好化-空参格式错误返回400
+- 知识库查询删除接口契约对齐请求体并容错
+- 活动提交审核业务异常转400提示并支持退回草稿
+- 供应商保存兼容新旧字段契约并校验必填
+- 勋章创建自动生成badgeId避免唯一键500
+- 方案管理列表支持admin全量查看并按家庭筛选
+
+
 ## v1.0.1230 (2026-08-28)
 
 ### 文档