#!/usr/bin/env python3
import json, datetime

topics = [
  {"id":"A01","title":"远程工作2026中国指南：从'不可能'到'可行'的路径图","field":"未来工作方式","format":"趋势洞察 + 实操指南","core_concept":"通过法律实操（合同、社保、个税）和心理建设（孤独应对），在中国环境下实现远程工作","audience_pain":"想远程但不知如何合法操作，担心被边缘化","unique_angle":"对比GitLab/Zapier海外实践，本土化落地策略","priority":"高","priority_score":10,"total_score":53,"status":"待处理","cases":[],"source_file":"strategy/全球-本土比较研究与全新内容战略规划-2026-04-15.md","created_at":datetime.datetime.now().isoformat()},
  {"id":"A02","title":"AI副业入门：用DeepSeek实现第一笔收入的100天","field":"未来工作方式","format":"实操指南 + 案例研究","core_concept":"从代写文案/数据分析起步，通过Fiverr国内外平台对比，制定定价策略和违规红线规避","audience_pain":"想用AI赚钱但不知从何开始，怕踩坑","unique_angle":"对比Fiverr海外繁荣 vs 国内空白，提供本土化接单路径","priority":"高","priority_score":10,"total_score":52,"status":"待处理","cases":[],"source_file":"strategy/全球-本土比较研究与全新内容战略规划-2026-04-15.md","created_at":datetime.datetime.now().isoformat()},
  {"id":"A03","title":"数字游民签证全解析：30个国家政策对比，中国护照能去哪些？","field":"未来工作方式","format":"对比分析 + 实操指南","core_concept":"分析爱沙尼亚/葡萄牙/巴厘岛等30国游民签证，结合中国护照限制，给出签证+保险+税务+社群的完整路线","audience_pain":"想地理套利但被签证和社保困扰","unique_angle":"不是简单列出签证，而是给出中国护照持有者的可行组合方案（如泰国+大马+巴厘岛）","priority":"高","priority_score":10,"total_score":51,"status":"待处理","cases":[],"source_file":"strategy/全球-本土比较研究与全新内容战略规划-2026-04-15.md","created_at":datetime.datetime.now().isoformat()},
  {"id":"A04","title":"一人公司实验：从创意到营收的365天日志","field":"未来工作方式","format":"实践日志 + 方法论","core_concept":"基于Indie Hackers案例，结合中国孤独创业现状，提供MVP设计、现金流管理、法律合规的一站式指南","audience_pain":"想单干但怕失败、缺启动资金、不懂营销","unique_angle":"真实日志形式，展示完整从0到营收的过程，不美化","priority":"高","priority_score":10,"total_score":50,"status":"待处理","cases":[],"source_file":"strategy/全球-本土比较研究与全新内容战略规划-2026-04-15.md","created_at":datetime.datetime.now().isoformat()},
  {"id":"A05","title":"AI时代的技能组合：什么技能值得投入10年？","field":"未来工作方式","format":"趋势分析 + 个人规划","core_concept":"基于WEF未来技能报告，划分4个技能维度（AI强化型、AI无法替代、复合型、过时型），帮中国职场人识别护城河技能","audience_pain":"学什么都不放心，怕投入时间后AI又取代","unique_angle":"将全球宏观报告转化为个人技能地图，提供可视化工具","priority":"中","priority_score":7,"total_score":50,"status":"待处理","cases":[],"source_file":"strategy/全球-本土比较研究与全新内容战略规划-2026-04-15.md","created_at":datetime.datetime.now().isoformat()},
  {"id":"B01","title":"城市农业ROI报告：20㎡阳台种菜一年，省了多少钱？","field":"可持续生活系统","format":"数据分析 + 实操指南","core_concept":"对比东京垂直农场与国内空间限制，精选高ROI蔬菜品种，智能设备自动灌溉，给出详细成本核算和品种推荐","audience_pain":"想种但怕麻烦、怕亏本、不知道种什么","unique_angle":"用财务思维算账（投入/产出/时间成本），打破'种菜必须有地'的思维","priority":"高","priority_score":10,"total_score":52,"status":"待处理","cases":[],"source_file":"strategy/全球-本土比较研究与全新内容战略规划-2026-04-15.md","created_at":datetime.datetime.now().isoformat()},
  {"id":"B02","title":"零浪费家庭实验：一年只产100L垃圾，可能吗？","field":"可持续生活系统","format":"实践实验 + 方法论","core_concept":"对比瑞典零浪费城市，针对中国垃圾分类困境，提供垃圾追踪表、替代方案数据库、社区互助网络","audience_pain":"想环保但觉得做不到、不知道从哪减","unique_angle":"极限实验（100L/年）+ 可执行步骤（从塑料减量开始），不理想化","priority":"高","priority_score":10,"total_score":51,"status":"待处理","cases":[],"source_file":"strategy/全球-本土比较研究与全新内容战略规划-2026-04-15.md","created_at":datetime.datetime.now().isoformat()},
  {"id":"B03","title":"低碳生活账单：用3年省了8万，碳足迹降了60%","field":"可持续生活系统","format":"数据分析 + 案例研究","core_concept":"对比欧洲碳税政策，从交通（电动车+共享）、饮食（植物为主）、消费（二手优先）三个维度，展示真实账单变化","audience_pain":"觉得低碳=更贵，不敢尝试","unique_angle":"用财务数据说话（省8万），打破'环保=烧钱'误解","priority":"高","priority_score":10,"total_score":50,"status":"待处理","cases":[],"source_file":"strategy/全球-本土比较研究与全新内容战略规划-2026-04-15.md","created_at":datetime.datetime.now().isoformat()},
  {"id":"B04","title":"循环消费实战：10件物品，用3年省了2万","field":"可持续生活系统","format":"实操指南 + 案例清单","core_concept":"对比法国二手强制法与中国闲鱼文化，提供购买决策树（买新/二手/租）、延长寿命技巧、转卖策略","audience_pain":"想买二手但怕质量差、怕麻烦","unique_angle":"10件物品的具体交易记录和对比（手机、相机、家具等），可复制","priority":"中","priority_score":7,"total_score":50,"status":"待处理","cases":[],"source_file":"strategy/全球-本土比较研究与全新内容战略规划-2026-04-15.md","created_at":datetime.datetime.now().isoformat()},
  {"id":"B05","title":"社区菜园指南：如何推动小区5户邻居共建共享","field":"可持续生活系统","format":"方法论 + 实操步骤","core_concept":"对比纽约社区花园政策与中国物业协调难题，提供法律风险（物权）、利益分配机制、技术方案（分区+智能）","audience_pain":"想组织但怕纠纷、不懂法律、协调不了邻居","unique_angle":"从1个友好小区试点开始，成功后复制，降低风险","priority":"高","priority_score":10,"total_score":49,"status":"待处理","cases":[],"source_file":"strategy/全球-本土比较研究与全新内容战略规划-2026-04-15.md","created_at":datetime.datetime.now().isoformat()},
  {"id":"C01","title":"第二大脑2.0：用DeepSeek+本地向量库建立私有知识系统","field":"个人知识工厂","format":"技术指南 + 实操案例","core_concept":"对比Obsidian+RAG海外实践，针对国内云服务担忧，提供数据主权、隐私保护、无缝检索、AI问答的本地化方案","audience_pain":"想系统化知识但担心云存储安全，怕复杂","unique_angle":"强调数据主权，从API调用到本地部署的渐进路线","priority":"中","priority_score":7,"total_score":52,"status":"待处理","cases":[],"source_file":"strategy/全球-本土比较研究与全新内容战略规划-2026-04-15.md","created_at":datetime.datetime.now().isoformat()},
  {"id":"C02","title":"PKM极简实践：PARA系统在Notion上的落地模板","field":"个人知识工厂","format":"模板分享 + 方法论","core_concept":"将Tiago Forte的PARA体系简化为3个核心文件夹，每周10分钟维护，AI辅助整理，让中国人真正用起来","audience_pain":"学了方法坚持不了，工具复杂难上手","unique_angle":"极简版（4个区）+ 每日5分钟习惯养成，降低门槛","priority":"中","priority_score":7,"total_score":51,"status":"待处理","cases":[],"source_file":"strategy/全球-本土比较研究与全新内容战略规划-2026-04-15.md","created_at":datetime.datetime.now().isoformat()},
  {"id":"C03","title":"费曼学习法AI增强：如何让AI帮你'教'懂一个概念","field":"个人知识工厂","format":"方法论 + 实践工具","core_concept":"结合经典费曼技巧与AI工具，三步法（AI简化→自我复述→Gap识别）+ 输出倒逼输入","audience_pain":"学东西记不住，自以为懂了但其实不会","unique_angle":"用AI当'测试官'，验证你的理解深度，非被动接受知识","priority":"中","priority_score":7,"total_score":50,"status":"待处理","cases":[],"source_file":"strategy/全球-本土比较研究与全新内容战略规划-2026-04-15.md","created_at":datetime.datetime.now().isoformat()},
  {"id":"C04","title":"AI个人助理搭建：从ChatGPT到私有化部署的完整路线","field":"个人知识工厂","format":"技术路线图 + 成本分析","core_concept":"基于海外个人AI助手普及现状，针对国内数据安全顾虑，提供从API调用到本地部署的渐进式方案（成本可控）","audience_pain":"想用AI助手但又怕数据泄露，不知如何起步","unique_angle":"不是直接推本地部署（成本高），而是API优先，敏感时再本地策略","priority":"中","priority_score":7,"total_score":50,"status":"待处理","cases":[],"source_file":"strategy/全球-本土比较研究与全新内容战略规划-2026-04-15.md","created_at":datetime.datetime.now().isoformat()},
  {"id":"C05","title":"技能树可视化：用思维导图规划5年职业路径","field":"个人知识工厂","format":"方法论 + 工具模板","core_concept":"借鉴化工业界能力模型，构建硬技能×软技能矩阵，行业对标和学习资源聚合，让职业成长可规划","audience_pain":"不知道学什么，学了不知道用在哪，职业迷茫","unique_angle":"技能树而非技能列表，展示技能间关联和成长路径","priority":"中","priority_score":7,"total_score":49,"status":"待处理","cases":[],"source_file":"strategy/全球-本土比较研究与全新内容战略规划-2026-04-15.md","created_at":datetime.datetime.now().isoformat()},
  {"id":"D01","title":"AI伦理实践指南：开发者在中国的合规清单","field":"科技人文交叉","format":"合规指南 + 案例分析","core_concept":"对比EU AI Act与中国算法推荐管理规定，提供数据隐私、歧视检测、透明度义务、备案流程的自查清单","audience_pain":"开发者不了解国内AI伦理法规，怕踩雷","unique_angle":"不是泛泛而谈伦理，而是具体到'备案流程'和'自查表'，即拿即用","priority":"高","priority_score":10,"total_score":51,"status":"待处理","cases":[],"source_file":"strategy/全球-本土比较研究与全新内容战略规划-2026-04-15.md","created_at":datetime.datetime.now().isoformat()},
  {"id":"D02","title":"数字排毒月：戒掉微信/抖音后，生活发生了什么","field":"科技人文交叉","format":"实践实验 + 效果分析","core_concept":"对比硅谷禅修热与中国'失联恐惧'，采用渐进式戒断（无屏时段）+ 替代活动 + 社交边界管理","audience_pain":"想减少屏幕时间但又怕错过重要信息，自律困难","unique_angle":"真实实验记录（not理论），展示戒断前后的生活变化数据","priority":"中","priority_score":7,"total_score":50,"status":"待处理","cases":[],"source_file":"strategy/全球-本土比较研究与全新内容战略规划-2026-04-15.md","created_at":datetime.datetime.now().isoformat()},
  {"id":"D03","title":"银发科技报告：给爸妈装智能设备，学到的5个设计原则","field":"科技人文交叉","format":"设计原则 + 案例","core_concept":"对比日本适老化设计与国产'适老模式'鸡肋，提炼简化选项、物理反馈、容错设计、情感连接的具体方案","audience_pain":"给父母买智能设备但他们不用，功能复杂","unique_angle":"不是推荐产品，而是总结5个设计原则，让读者自己改造设备","priority":"中","priority_score":7,"total_score":49,"status":"待处理","cases":[],"source_file":"strategy/全球-本土比较研究与全新内容战略规划-2026-04-15.md","created_at":datetime.datetime.now().isoformat()},
  {"id":"D04","title":"儿童数字素养课：10岁儿子的AI启蒙12周","field":"科技人文交叉","format":"教育日志 + 方法论","core_concept":"对比芬兰AI教育与国内家长'禁止接触'心态，通过每周1次'AI家庭时间'，培养批判性思维和创造力","audience_pain":"不知如何让孩子正确认识AI，怕沉迷又怕脱节","unique_angle":"真实父子12周项目记录，提供可复制的课程大纲","priority":"中","priority_score":7,"total_score":48,"status":"待处理","cases":[],"source_file":"strategy/全球-本土比较研究与全新内容战略规划-2026-04-15.md","created_at":datetime.datetime.now().isoformat()},
  {"id":"D05","title":"科技与自然共生：如何用AI让阳台农场更'自然'","field":"科技人文交叉","format":"理念 + 实操方案","core_concept":"对比荷兰智能温室与中国人'回归原始'误区，实现技术隐形化（传感器+提醒）+ 自然反馈闭环 + 人工仪式感","audience_pain":"想用科技但又怕失去'自然感'，追求矛盾","unique_angle":"技术与情感连接的平衡方案，AI只做幕后，人工保留仪式","priority":"高","priority_score":10,"total_score":48,"status":"待处理","cases":[],"source_file":"strategy/全球-本土比较研究与全新内容战略规划-2026-04-15.md","created_at":datetime.datetime.now().isoformat()}
]

with open(OUTPUT_FILE:= '/root/openclaw-workspace/projects/yu-zhi-ran/automation/data/sustainability_topics.json', 'w', encoding='utf-8') as f:
    json.dump(topics, f, ensure_ascii=False, indent=2)

print(f"✅ 已创建全新选题库：{len(topics)} 个选题")
pillars = {"未来工作方式":0,"可持续生活系统":0,"个人知识工厂":0,"科技人文交叉":0}
for t in topics: pillars[t['field']] += 1
for p,c in pillars.items(): print(f"  {p}: {c} 个选题")
