{
  "project_name": "AI语音应用 - 智能内容生成引擎",
  "base_config": {
    "backend_port": 3000,
    "frontend_port": 5173,
    "db_host": "localhost",
    "db_port": 3306,
    "auth_enabled": false,
    "llm_provider": "dashscope"
  },
  "features": [
    {
      "id": 1,
      "description": "智能意图识别引擎",
      "status": "done",
      "passes": true,
      "priority": "high",
      "phase": "1",
      "backend_test_steps": [
        "1. curl -X POST http://localhost:3000/api/ai/intent -H 'Content-Type: application/json' -d '{\"input\":\"帮我生成一个销售话术\"}' - 验证意图识别",
        "2. curl -X POST http://localhost:3000/api/ai/intent -H 'Content-Type: application/json' -d '{\"input\":\"写个儿童故事\"}' - 验证小说类识别",
        "3. curl -X POST http://localhost:3000/api/ai/intent -H 'Content-Type: application/json' -d '{\"input\":\"培训新员工用\"}' - 验证课件类识别"
      ],
      "frontend_test_steps": [
        "1. 在生成页输入'给我生成一个产品介绍'",
        "2. 验证系统自动识别为'产品文案'类型",
        "3. 验证显示行业识别结果（如：电商）",
        "4. 验证推荐参数自动填充"
      ],
      "tech_stack": {
        "llm": "通义千问/DashScope",
        "strategy": "Few-shot Prompt + Entity Extraction"
      }
    },
    {
      "id": 2,
      "description": "内容类型分类系统",
      "status": "done",
      "passes": true,
      "priority": "high",
      "phase": "1",
      "backend_test_steps": [
        "1. curl http://localhost:3000/api/content/types - 验证获取所有内容类型",
        "2. curl http://localhost:3000/api/content/types/小说 - 验证获取小说类模板",
        "3. curl http://localhost:3000/api/content/types/广告营销 - 验证获取营销类模板"
      ],
      "frontend_test_steps": [
        "1. 验证内容类型选择器显示",
        "2. 验证分类完整（小说/广告/课件/新闻/播客/销售/客服/培训等）",
        "3. 点击类型验证子类型显示",
        "4. 验证选中状态正确"
      ],
      "content_categories": {
        "创作类": ["小说", "故事", "剧本", "诗歌", "散文"],
        "营销类": ["产品介绍", "广告文案", "朋友圈", "小红书", "抖音脚本"],
        "教育类": ["课件", "培训", "教程", "知识科普", "考试辅导"],
        "商务类": ["销售话术", "客服话术", "商务邮件", "合同条款", "方案PPT"],
        "媒体类": ["新闻播报", "天气预报", "体育解说", "财经评论", "娱乐八卦"],
        "生活类": ["生日祝福", "婚礼致辞", "节日问候", "朋友圈文案", "签名设计"],
        "专业类": ["法律文书", "医学说明", "技术文档", "产品手册", "操作指南"]
      }
    },
    {
      "id": 3,
      "description": "行业知识适配器",
      "status": "done",
      "passes": true,
      "priority": "high",
      "phase": "1",
      "backend_test_steps": [
        "1. curl -X POST http://localhost:3000/api/ai/adapt -H 'Content-Type: application/json' -d '{\"content\":\"产品介绍\",\"industry\":\"医疗\"}' - 验证医疗行业适配",
        "2. curl -X POST http://localhost:3000/api/ai/adapt -H 'Content-Type: application/json' -d '{\"content\":\"培训资料\",\"industry\":\"金融\"}' - 验证金融行业适配",
        "3. curl http://localhost:3000/api/industries - 验证获取行业列表"
      ],
      "frontend_test_steps": [
        "1. 选择内容类型后验证行业选择",
        "2. 选择'医疗'行业",
        "3. 验证生成内容符合医疗规范",
        "4. 验证专业术语正确使用"
      ],
      "industries": {
        "通用": {},
        "医疗健康": {"terminology": true, "compliance": "医疗广告法", "sensitivity": "high"},
        "教育培训": {"terminology": true, "compliance": "教育规范", "sensitivity": "medium"},
        "金融服务": {"terminology": true, "compliance": "金融监管", "sensitivity": "high"},
        "电子商务": {"terminology": false, "compliance": "电商法规", "sensitivity": "low"},
        "法律服务": {"terminology": true, "compliance": "律师执业规范", "sensitivity": "high"},
        "新闻媒体": {"terminology": true, "compliance": "新闻伦理", "sensitivity": "high"},
        "餐饮美食": {"terminology": false, "compliance": "食品广告法", "sensitivity": "medium"},
        "房地产": {"terminology": true, "compliance": "房产广告规定", "sensitivity": "medium"},
        "汽车销售": {"terminology": true, "compliance": "汽车广告法", "sensitivity": "low"}
      }
    },
    {
      "id": 4,
      "description": "内容结构规划器",
      "status": "done",
      "passes": true,
      "priority": "high",
      "phase": "1",
      "backend_test_steps": [
        "1. curl -X POST http://localhost:3000/api/ai/plan -H 'Content-Type: application/json' -d '{\"type\":\"小说\",\"theme\":\"穿越\",\"targetLength\":200000}' - 验证小说大纲生成",
        "2. curl -X POST http://localhost:3000/api/ai/plan -H 'Content-Type: application/json' -d '{\"type\":\"产品介绍\",\"industry\":\"电商\",\"product\":\"手机\"}' - 验证产品文案结构"
      ],
      "frontend_test_steps": [
        "1. 输入'生成一个20万字穿越小说'",
        "2. 验证显示内容规划面板",
        "3. 验证大纲结构展示（章节数、预计字数）",
        "4. 验证可以编辑调整大纲",
        "5. 验证确认后开始生成"
      ]
    },
    {
      "id": 5,
      "description": "大纲生成系统",
      "status": "done",
      "passes": true,
      "priority": "high",
      "phase": "1",
      "backend_test_steps": [
        "1. curl -X POST http://localhost:3000/api/outline/generate -H 'Content-Type: application/json' -d '{\"type\":\"小说\",\"theme\":\"都市\",\"chapters\":50}' - 验证生成50章大纲",
        "2. curl -X POST http://localhost:3000/api/outline/generate -H 'Content-Type: application/json' -d '{\"type\":\"培训课件\",\"topics\":[\"产品知识\",\"销售技巧\"]}' - 验证课件大纲",
        "3. curl -X PUT http://localhost:3000/api/outline/outline-001 -H 'Content-Type: application/json' -d '{\"chapter2\":\"调整后的章节名\"}' - 验证大纲编辑"
      ],
      "frontend_test_steps": [
        "1. 选择内容类型后点击生成大纲",
        "2. 验证大纲预览显示",
        "3. 验证大纲可折叠/展开",
        "4. 验证可编辑章节标题",
        "5. 验证可增删章节",
        "6. 验证大纲调整后重新生成"
      ]
    },
    {
      "id": 6,
      "description": "角色/实体设定系统",
      "status": "done",
      "passes": true,
      "priority": "medium",
      "phase": "2",
      "backend_test_steps": [
        "1. curl -X POST http://localhost:3000/api/characters/generate -H 'Content-Type: application/json' -d '{\"type\":\"小说\",\"genre\":\"都市\"}' - 验证角色设定生成",
        "2. curl -X PUT http://localhost:3000/api/characters/char-001 -H 'Content-Type: application/json' -d '{\"name\":\"张三\",\"age\":30}' - 验证角色编辑",
        "3. curl -X DELETE http://localhost:3000/api/characters/char-001 - 验证删除角色"
      ],
      "frontend_test_steps": [
        "1. 创建小说项目后验证角色设定面板",
        "2. 验证自动生成推荐角色",
        "3. 验证可添加自定义角色",
        "4. 验证角色卡片显示（头像、姓名、性格、背景）",
        "5. 验证可编辑角色信息",
        "6. 验证角色关系图显示"
      ]
    },
    {
      "id": 7,
      "description": "分步章节生成引擎",
      "status": "done",
      "passes": true,
      "priority": "high",
      "phase": "1",
      "backend_test_steps": [
        "1. curl -X POST http://localhost:3000/api/content/generate/chunk -H 'Content-Type: application/json' -d '{\"outlineId\":\"outline-001\",\"chapterIndex\":1}' - 验证单章生成",
        "2. curl http://localhost:3000/api/content/generate/progress/generate-001 - 验证获取生成进度",
        "3. curl -X POST http://localhost:3000/api/content/generate/batch -H 'Content-Type: application/json' -d '{\"outlineId\":\"outline-001\",\"chapters\":[1,2,3]}' - 验证批量生成"
      ],
      "frontend_test_steps": [
        "1. 确认大纲后点击开始生成",
        "2. 验证进度条显示当前章节",
        "3. 验证流式输出内容预览",
        "4. 验证可暂停/继续生成",
        "5. 验证中断后能从断点恢复",
        "6. 验证全部完成后显示成品"
      ]
    },
    {
      "id": 8,
      "description": "流式输出系统",
      "status": "done",
      "passes": true,
      "priority": "high",
      "phase": "1",
      "backend_test_steps": [
        "1. curl -X POST http://localhost:3000/api/content/stream -H 'Content-Type: application/json' -d '{\"outlineId\":\"outline-001\"}' --no-buffer - 验证SSE流式响应"
      ],
      "frontend_test_steps": [
        "1. 点击生成验证实时内容输出",
        "2. 验证打字机效果显示",
        "3. 验证输出过程可滚动浏览",
        "4. 验证网速慢时加载提示",
        "5. 验证流式中断自动重连"
      ],
      "tech_stack": {
        "protocol": "Server-Sent Events (SSE)",
        "fallback": "WebSocket / Long Polling"
      }
    },
    {
      "id": 9,
      "description": "生成任务管理系统",
      "status": "done",
      "passes": true,
      "priority": "high",
      "phase": "1",
      "backend_test_steps": [
        "1. curl -X POST http://localhost:3000/api/tasks -H 'Content-Type: application/json' -d '{\"type\":\"小说\",\"title\":\"测试任务\"}' - 验证创建生成任务",
        "2. curl http://localhost:3000/api/tasks - 验证获取任务列表",
        "3. curl http://localhost:3000/api/tasks/task-001 - 验证获取任务详情",
        "4. curl -X DELETE http://localhost:3000/api/tasks/task-001 - 验证删除任务"
      ],
      "frontend_test_steps": [
        "1. 创建长内容生成任务",
        "2. 验证任务出现在任务列表",
        "3. 验证任务状态显示（排队/生成中/完成/失败）",
        "4. 验证可查看任务详情",
        "5. 验证可取消/删除任务",
        "6. 验证可恢复中断任务"
      ]
    },
    {
      "id": 10,
      "description": "上下文连贯性引擎",
      "status": "done",
      "passes": true,
      "priority": "high",
      "phase": "2",
      "backend_test_steps": [
        "1. curl -X POST http://localhost:3000/api/content/coherence/check -H 'Content-Type: application/json' -d '{\"chapter1\":\"内容...\",\"chapter2\":\"内容...\"}' - 验证章节连贯性检查",
        "2. curl -X POST http://localhost:3000/api/content/continuity -H 'Content-Type: application/json' -d '{\"previousChapter\":\"上一章内容\",\"nextTopic\":\"下一章主题\"}' - 验证生成衔接段"
      ],
      "frontend_test_steps": [
        "1. 生成多章节小说",
        "2. 验证章节之间衔接自然",
        "3. 验证人物设定前后一致",
        "4. 验证时间线逻辑正确",
        "5. 验证自动补充衔接段"
      ]
    },
    {
      "id": 11,
      "description": "敏感词实时检测系统",
      "status": "done",
      "passes": true,
      "priority": "high",
      "phase": "1",
      "backend_test_steps": [
        "1. curl -X POST http://localhost:3000/api/sensitive/check -H 'Content-Type: application/json' -d '{\"text\":\"测试文本\"}' - 验证敏感词检测",
        "2. curl -X POST http://localhost:3000/api/sensitive/check -H 'Content-Type: application/json' -d '{\"text\":\"涉及敏感内容\"}' - 验证敏感词标记",
        "3. curl http://localhost:3000/api/sensitive/words - 验证获取敏感词库"
      ],
      "frontend_test_steps": [
        "1. 输入/生成内容时实时检测",
        "2. 验证敏感词红色高亮",
        "3. 验证提示建议修改",
        "4. 验证敏感内容阻止生成",
        "5. 验证可配置忽略特定词"
      ]
    },
    {
      "id": 12,
      "description": "质量评分系统",
      "status": "done",
      "passes": true,
      "priority": "medium",
      "phase": "2",
      "backend_test_steps": [
        "1. curl -X POST http://localhost:3000/api/quality/score -H 'Content-Type: application/json' -d '{\"text\":\"待评分文本\"}' - 验证质量评分",
        "2. curl http://localhost:3000/api/quality/dimensions - 验证获取评分维度"
      ],
      "frontend_test_steps": [
        "1. 内容生成完成后验证评分显示",
        "2. 验证流畅度评分（0-100）",
        "3. 验证自然度评分",
        "4. 验证情感一致评分",
        "5. 验证总分雷达图展示",
        "6. 验证评分过低时提示优化"
      ],
      "quality_metrics": {
        "fluency": "语言流畅度",
        "naturalness": "表达自然度",
        "emotion_consistency": "情感一致性",
        "topic_adherence": "主题相关性",
        "structural_integrity": "结构完整性"
      }
    },
    {
      "id": 13,
      "description": "内容优化建议系统",
      "status": "done",
      "passes": true,
      "priority": "medium",
      "phase": "2",
      "backend_test_steps": [
        "1. curl -X POST http://localhost:3000/api/content/optimize -H 'Content-Type: application/json' -d '{\"text\":\"待优化文本\",\"target\":\"更生动\"}' - 验证内容优化",
        "2. curl -X POST http://localhost:3000/api/content/suggest -H 'Content-Type: application/json' -d '{\"text\":\"原文\",\"issue\":\"太平淡\"}' - 验证问题诊断"
      ],
      "frontend_test_steps": [
        "1. 生成内容后验证优化建议按钮",
        "2. 点击验证显示优化选项",
        "3. 选择'更生动'验证优化效果",
        "4. 验证对比原版和改进版",
        "5. 验证一键应用优化"
      ]
    },
    {
      "id": 14,
      "description": "多语言生成支持",
      "status": "done",
      "passes": true,
      "priority": "medium",
      "phase": "2",
      "backend_test_steps": [
        "1. curl -X POST http://localhost:3000/api/translate/generate -H 'Content-Type: application/json' -d '{\"text\":\"中文文本\",\"targetLang\":\"en\"}' - 验证翻译生成",
        "2. curl http://localhost:3000/api/languages - 验证获取支持的语言"
      ],
      "frontend_test_steps": [
        "1. 生成中文内容后验证翻译按钮",
        "2. 选择目标语言（英语/日语/韩语等）",
        "3. 验证自动翻译并配音",
        "4. 验证多语言版本可切换"
      ],
      "supported_languages": ["中文", "英语", "日语", "韩语", "法语", "德语", "西班牙语", "葡萄牙语", "俄语", "阿拉伯语"]
    },
    {
      "id": 15,
      "description": "背景音乐智能匹配",
      "status": "done",
      "passes": true,
      "priority": "medium",
      "phase": "1",
      "backend_test_steps": [
        "1. curl -X POST http://localhost:3000/api/bgm/match -H 'Content-Type: application/json' -d '{\"contentType\":\"小说\",\"mood\":\"紧张\",\"genre\":\"悬疑\"}' - 验证智能匹配BGM",
        "2. curl http://localhost:3000/api/bgm/recommend?contentId=xxx - 验证内容推荐BGM"
      ],
      "frontend_test_steps": [
        "1. 生成悬疑小说验证推荐紧张风格BGM",
        "2. 生成温馨故事验证推荐柔和BGM",
        "3. 验证可手动更换BGM",
        "4. 验证BGM与内容同步播放"
      ]
    },
    {
      "id": 16,
      "description": "音效与转场系统",
      "status": "done",
      "passes": true,
      "priority": "medium",
      "phase": "2",
      "backend_test_steps": [
        "1. curl http://localhost:3000/api/sounds - 验证获取音效列表",
        "2. curl -X POST http://localhost:3000/api/sounds/apply -H 'Content-Type: application/json' -d '{\"audioId\":\"xxx\",\"soundEffect\":\"新闻开场\"}' - 验证应用音效",
        "3. curl -X POST http://localhost:3000/api/sounds/transition -H 'Content-Type: application/json' -d '{\"scene1\":\"场景1\",\"scene2\":\"场景2\"}' - 验证转场音效"
      ],
      "frontend_test_steps": [
        "1. 在小说章节间验证转场音效",
        "2. 验证不同场景自动匹配音效",
        "3. 验证可手动添加音效",
        "4. 验证音效与内容时间轴同步"
      ]
    },
    {
      "id": 17,
      "description": "多角色对话系统",
      "status": "done",
      "passes": true,
      "priority": "medium",
      "phase": "2",
      "backend_test_steps": [
        "1. curl -X POST http://localhost:3000/api/dialogue/generate -H 'Content-Type: application/json' -d '{\"characters\":[{\"name\":\"张三\",\"voice\":\"male\"},{\"name\":\"李四\",\"voice\":\"female\"}],\"scenario\":\"商务谈判\"}' - 验证多角色生成",
        "2. curl -X POST http://localhost:3000/api/dialogue/add -H 'Content-Type: application/json' -d '{\"audioId\":\"xxx\",\"character\":\"张三\",\"line\":\"新对白\"}' - 验证添加对白"
      ],
      "frontend_test_steps": [
        "1. 创建多角色对话项目",
        "2. 添加多个角色并分配音色",
        "3. 输入对话场景",
        "4. 验证自动生成对话内容",
        "5. 验证各角色使用不同音色",
        "6. 验证可编辑调整对话"
      ]
    },
    {
      "id": 18,
      "description": "情感调节引擎",
      "status": "done",
      "passes": true,
      "priority": "medium",
      "phase": "1",
      "backend_test_steps": [
        "1. curl -X POST http://localhost:3000/api/emotion/adjust -H 'Content-Type: application/json' -d '{\"text\":\"平静文本\",\"targetEmotion\":\"激动\"}' - 验证情感调整",
        "2. curl http://localhost:3000/api/emotions - 验证获取情感选项"
      ],
      "frontend_test_steps": [
        "1. 选择内容情感（开心/悲伤/激动/平静/紧张）",
        "2. 验证生成内容情感一致",
        "3. 验证情感强度可调节",
        "4. 验证不同段落可设置不同情感"
      ],
      "emotions": ["开心", "悲伤", "激动", "平静", "紧张", "温柔", "愤怒", "恐惧", "惊讶"]
    },
    {
      "id": 19,
      "description": "模板市场系统",
      "status": "done",
      "passes": true,
      "priority": "high",
      "phase": "1",
      "backend_test_steps": [
        "1. curl http://localhost:3000/api/templates/market - 验证获取市场模板",
        "2. curl -X POST http://localhost:3000/api/templates -H 'Content-Type: application/json' -d '{\"name\":\"我的模板\",\"type\":\"小说\",\"outline\":\"...\"}' - 验证创建模板",
        "3. curl -X POST http://localhost:3000/api/templates/template-001/use - 验证使用模板"
      ],
      "frontend_test_steps": [
        "1. 进入模板市场",
        "2. 验证模板分类浏览",
        "3. 验证模板预览",
        "4. 验证一键使用模板",
        "5. 验证可创建保存个人模板",
        "6. 验证模板分享功能"
      ]
    },
    {
      "id": 20,
      "description": "行业专属模板库",
      "status": "done",
      "passes": true,
      "priority": "high",
      "phase": "1",
      "backend_test_steps": [
        "1. curl http://localhost:3000/api/templates/industry/医疗 - 验证获取医疗模板",
        "2. curl http://localhost:3000/api/templates/industry/教育 - 验证获取教育模板",
        "3. curl http://localhost:3000/api/templates/industry/电商 - 验证获取电商模板"
      ],
      "frontend_test_steps": [
        "1. 选择行业后验证专属模板",
        "2. 医疗行业验证合规模板",
        "3. 教育行业验证课件模板",
        "4. 电商行业验证营销模板",
        "5. 验证行业术语自动填充"
      ]
    },
    {
      "id": 21,
      "description": "批量内容生成系统",
      "status": "done",
      "passes": true,
      "priority": "medium",
      "phase": "2",
      "backend_test_steps": [
        "1. curl -X POST http://localhost:3000/api/batch/upload -F 'file=@products.txt' - 验证批量上传",
        "2. curl -X POST http://localhost:3000/api/batch/generate -H 'Content-Type: application/json' -d '{\"batchId\":\"batch-001\",\"template\":\"产品介绍\"}' - 验证批量生成",
        "3. curl http://localhost:3000/api/batch/batch-001/status - 验证批量状态"
      ],
      "frontend_test_steps": [
        "1. 上传Excel/TXT产品列表",
        "2. 选择生成模板",
        "3. 验证批量生成进度",
        "4. 验证生成结果批量预览",
        "5. 验证批量下载"
      ]
    },
    {
      "id": 22,
      "description": "内容版本管理系统",
      "status": "done",
      "passes": true,
      "priority": "medium",
      "phase": "2",
      "backend_test_steps": [
        "1. curl http://localhost:3000/api/versions/content-001 - 验证获取版本历史",
        "2. curl -X POST http://localhost:3000/api/versions/content-001/snapshot - 验证创建快照",
        "3. curl -X POST http://localhost:3000/api/versions/content-001/restore/version-003 - 验证恢复版本"
      ],
      "frontend_test_steps": [
        "1. 内容编辑时验证自动保存",
        "2. 验证版本历史列表",
        "3. 验证版本对比功能",
        "4. 验证一键恢复旧版本",
        "5. 验证手动创建快照"
      ]
    },
    {
      "id": 23,
      "description": "生成历史与草稿系统",
      "status": "done",
      "passes": true,
      "priority": "medium",
      "phase": "1",
      "backend_test_steps": [
        "1. curl http://localhost:3000/api/drafts - 验证获取草稿列表",
        "2. curl -X POST http://localhost:3000/api/drafts -H 'Content-Type: application/json' -d '{\"title\":\"草稿标题\",\"content\":\"...\"}' - 验证保存草稿",
        "3. curl -X DELETE http://localhost:3000/api/drafts/draft-001 - 验证删除草稿"
      ],
      "frontend_test_steps": [
        "1. 生成过程中验证自动保存草稿",
        "2. 验证草稿列表显示",
        "3. 验证恢复草稿继续生成",
        "4. 验证草稿过期提醒"
      ]
    },
    {
      "id": 24,
      "description": "一键发布到多平台",
      "status": "done",
      "passes": true,
      "priority": "medium",
      "phase": "2",
      "backend_test_steps": [
        "1. curl http://localhost:3000/api/platforms - 验证获取发布平台",
        "2. curl -X POST http://localhost:3000/api/publish/multi -H 'Content-Type: application/json' -d '{\"contentId\":\"xxx\",\"platforms\":[\"xiaohongshu\",\"douyin\"]}' - 验证多平台发布",
        "3. curl http://localhost:3000/api/publish/status/publish-001 - 验证发布状态"
      ],
      "frontend_test_steps": [
        "1. 生成完成后验证发布按钮",
        "2. 选择目标平台（小红书/抖音/公众号等）",
        "3. 验证自动适配各平台格式",
        "4. 验证一键发布多平台",
        "5. 验证发布状态跟踪"
      ],
      "platforms": {
        "内容平台": ["小红书", "抖音", "快手", "微信公众号", "微博", "知乎"],
        "音频平台": ["喜马拉雅", "荔枝FM", "蜻蜓FM", "网易云音乐"],
        "视频平台": ["B站", "西瓜视频", "YouTube"],
        "电商平台": ["淘宝商品详情", "京东商品详情", "拼多多"]
      }
    },
    {
      "id": 25,
      "description": "内容SEO优化系统",
      "status": "done",
      "passes": true,
      "priority": "low",
      "phase": "3",
      "backend_test_steps": [
        "1. curl -X POST http://localhost:3000/api/seo/optimize -H 'Content-Type: application/json' -d '{\"title\":\"标题\",\"content\":\"内容\",\"platform\":\"小红书\"}' - 验证SEO优化",
        "2. curl http://localhost:3000/api/seo/keywords?industry=电商 - 验证获取行业关键词"
      ],
      "frontend_test_steps": [
        "1. 生成内容后验证SEO优化按钮",
        "2. 验证关键词推荐",
        "3. 验证标题优化建议",
        "4. 验证平台适配优化",
        "5. 验证一键应用优化"
      ]
    },
    {
      "id": 26,
      "description": "品牌音色定制系统",
      "status": "done",
      "passes": true,
      "priority": "low",
      "phase": "3",
      "backend_test_steps": [
        "1. curl -X POST http://localhost:3000/api/voice/brand/train -H 'Content-Type: application/json' -d '{\"name\":\"品牌音色\",\"samples\":[\"sample1.mp3\",\"sample2.mp3\"]}' - 验证音色训练",
        "2. curl http://localhost:3000/api/voice/brand/status/train-001 - 验证训练状态"
      ],
      "frontend_test_steps": [
        "1. 进入品牌音色定制",
        "2. 上传品牌音频样本",
        "3. 验证训练进度",
        "4. 验证音色定制完成",
        "5. 验证品牌音色使用"
      ]
    },
    {
      "id": 27,
      "description": "智能续写系统",
      "status": "done",
      "passes": true,
      "priority": "medium",
      "phase": "2",
      "backend_test_steps": [
        "1. curl -X POST http://localhost:3000/api/content/continue -H 'Content-Type: application/json' -d '{\"text\":\"已有内容\",\"direction\":\"延续情节\"}' - 验证智能续写",
        "2. curl -X POST http://localhost:3000/api/content/continue/options -H 'Content-Type: application/json' -d '{\"text\":\"已有内容\"}' - 验证续写选项"
      ],
      "frontend_test_steps": [
        "1. 选中内容点击续写",
        "2. 验证多个续写方向选项",
        "3. 验证续写内容预览",
        "4. 验证选择最佳续写",
        "5. 验证一键应用"
      ]
    },
    {
      "id": 28,
      "description": "内容翻译配音系统",
      "status": "done",
      "passes": true,
      "priority": "medium",
      "phase": "2",
      "backend_test_steps": [
        "1. curl -X POST http://localhost:3000/api/translate/voice -H 'Content-Type: application/json' -d '{\"text\":\"中文\",\"targetLang\":\"en\",\"voiceStyle\":\"professional\"}' - 验证翻译并配音"
      ],
      "frontend_test_steps": [
        "1. 选择内容翻译配音",
        "2. 选择目标语言和配音风格",
        "3. 验证自动翻译",
        "4. 验证翻译后自动配音",
        "5. 验证多语言版本管理"
      ]
    },
    {
      "id": 29,
      "description": "内容合规检查系统",
      "status": "done",
      "passes": true,
      "priority": "high",
      "phase": "1",
      "backend_test_steps": [
        "1. curl -X POST http://localhost:3000/api/compliance/check -H 'Content-Type: application/json' -d '{\"text\":\"内容\",\"industry\":\"医疗\"}' - 验证合规检查",
        "2. curl http://localhost:3000/api/compliance/rules/医疗 - 验证获取行业规则"
      ],
      "frontend_test_steps": [
        "1. 生成完成后验证合规检查",
        "2. 验证显示合规问题列表",
        "3. 验证问题定位高亮",
        "4. 验证自动修复建议",
        "5. 验证通过后允许发布"
      ]
    },
    {
      "id": 30,
      "description": "内容分析报告系统",
      "status": "done",
      "passes": true,
      "priority": "low",
      "phase": "3",
      "backend_test_steps": [
        "1. curl -X POST http://localhost:3000/api/analytics/report -H 'Content-Type: application/json' -d '{\"contentId\":\"xxx\"}' - 验证生成分析报告",
        "2. curl http://localhost:3000/api/analytics/content-001 - 验证获取分析数据"
      ],
      "frontend_test_steps": [
        "1. 内容详情页验证分析报告入口",
        "2. 验证生成内容分析",
        "3. 验证阅读时长预估",
        "4. 验证情感曲线图",
        "5. 验证关键词词云",
        "6. 验证下载报告"
      ]
    }
  ],
  "content_generation_flow": {
    "step1_intent": {
      "name": "意图识别",
      "description": "理解用户需求类型和行业",
      "input": "用户输入（关键词/描述/主题）",
      "output": "{type, industry, style, scale}"
    },
    "step2_plan": {
      "name": "内容规划",
      "description": "生成结构化大纲和角色设定",
      "input": "意图识别结果",
      "output": "{outline, characters, structure}"
    },
    "step3_generate": {
      "name": "分步生成",
      "description": "按章节/段落逐步生成内容",
      "input": "内容大纲",
      "output": "{chapters[], progress, streaming}"
    },
    "step4_quality": {
      "name": "质量控制",
      "description": "敏感词检测、合规检查、质量评分",
      "input": "生成内容",
      "output": "{pass, issues[], score}"
    },
    "step5_audio": {
      "name": "音频合成",
      "description": "TTS转换、背景音乐、音效",
      "input": "审核通过内容",
      "output": "{audioUrl, duration, bgs[]}"
    },
    "step6_publish": {
      "name": "多平台发布",
      "description": "格式适配、一键分发",
      "input": "成品内容",
      "output": "{status, urls[]}"
    }
  },
  "industry_templates": {
    "医疗健康": {
      "types": ["健康科普", "药品说明", "就医指南", "医学科普", "康复指导"],
      "compliance": "医疗广告法",
      "terminology": "医学专业术语"
    },
    "教育培训": {
      "types": ["课件PPT", "培训教案", "考试题库", "知识科普", "学习方法"],
      "compliance": "教育规范",
      "terminology": "教育专业术语"
    },
    "金融服务": {
      "types": ["产品介绍", "理财建议", "风险提示", "开户指引", "投诉处理"],
      "compliance": "金融监管",
      "terminology": "金融专业术语"
    },
    "电子商务": {
      "types": ["产品详情", "买家秀文案", "促销海报", "客服话术", "直播脚本"],
      "compliance": "电商法规",
      "terminology": "营销常用语"
    },
    "法律服务": {
      "types": ["法律咨询", "案件分析", "合同条款", "诉讼文书", "法律意见书"],
      "compliance": "律师执业规范",
      "terminology": "法律专业术语"
    },
    "新闻媒体": {
      "types": ["新闻播报", "热点评论", "采访提纲", "专题报道", "突发事件"],
      "compliance": "新闻伦理",
      "terminology": "新闻专业术语"
    },
    "餐饮美食": {
      "types": ["菜品介绍", "食谱教程", "餐厅推荐", "美食探店", "烹饪技巧"],
      "compliance": "食品广告法",
      "terminology": "美食专业术语"
    },
    "房地产": {
      "types": ["楼盘介绍", "户型解读", "购房指南", "投资分析", "装修建议"],
      "compliance": "房产广告规定",
      "terminology": "房产专业术语"
    }
  }
}
