[{"data":1,"prerenderedAt":3955},["ShallowReactive",2],{"article-/topics/ai/ai-agent-deterministic-replay-vs-semantic-replay":3,"related-ai":667,"content-query-AlNq3LIBwD":3435},{"_path":4,"_dir":5,"_draft":6,"_partial":6,"_locale":7,"title":8,"description":9,"date":10,"topic":5,"author":11,"tags":12,"image":17,"imageQuery":18,"pexelsPhotoId":19,"pexelsUrl":20,"featured":6,"readingTime":21,"body":22,"_type":661,"_id":662,"_source":663,"_file":664,"_stem":665,"_extension":666},"/topics/ai/ai-agent-deterministic-replay-vs-semantic-replay","ai",false,"","Deterministic Replay vs Semantic Replay：AI agent 回放到底该复刻步骤还是复刻意图","回放不是一个按钮两种语义。本文对比 deterministic replay 与 semantic replay 的适用场景、风险和治理策略。","2026-05-30","HTMLPAGE 团队",[13,14,15,16],"AI agent","Replay","Determinism","Debugging","/images/articles/ai-agent-deterministic-replay-vs-semantic-replay-featured.jpg","debugging software logs computer screen",31343630,"https://www.pexels.com/photo/colorful-javascript-code-on-monitor-screen-31343630/",14,{"type":23,"children":24,"toc":647},"root",[25,33,48,53,58,63,68,75,159,164,169,174,188,193,199,269,274,280,285,290,308,314,332,337,342,365,370,375,380,461,466,471,476,499,504,509,514,537,542,548,611,616],{"type":26,"tag":27,"props":28,"children":29},"element","p",{},[30],{"type":31,"value":32},"text","很多平台把 replay 做成统一入口，但把两件不同事情混在了一起：",{"type":26,"tag":34,"props":35,"children":36},"ul",{},[37,43],{"type":26,"tag":38,"props":39,"children":40},"li",{},[41],{"type":31,"value":42},"确认当时到底发生了什么",{"type":26,"tag":38,"props":44,"children":45},{},[46],{"type":31,"value":47},"在新上下文里重跑任务",{"type":26,"tag":27,"props":49,"children":50},{},[51],{"type":31,"value":52},"这两件事分别对应 deterministic replay 和 semantic replay。",{"type":26,"tag":27,"props":54,"children":55},{},[56],{"type":31,"value":57},"如果你只记住一句话：",{"type":26,"tag":27,"props":59,"children":60},{},[61],{"type":31,"value":62},"deterministic replay 用于“还原事实”，semantic replay 用于“验证策略”。",{"type":26,"tag":27,"props":64,"children":65},{},[66],{"type":31,"value":67},"两者服务目标不同，证据效力也不同。",{"type":26,"tag":69,"props":70,"children":72},"h2",{"id":71},"两类-replay-的边界",[73],{"type":31,"value":74},"两类 replay 的边界",{"type":26,"tag":76,"props":77,"children":78},"table",{},[79,108],{"type":26,"tag":80,"props":81,"children":82},"thead",{},[83],{"type":26,"tag":84,"props":85,"children":86},"tr",{},[87,93,98,103],{"type":26,"tag":88,"props":89,"children":90},"th",{},[91],{"type":31,"value":92},"类型",{"type":26,"tag":88,"props":94,"children":95},{},[96],{"type":31,"value":97},"目标",{"type":26,"tag":88,"props":99,"children":100},{},[101],{"type":31,"value":102},"结果定位",{"type":26,"tag":88,"props":104,"children":105},{},[106],{"type":31,"value":107},"主要风险",{"type":26,"tag":109,"props":110,"children":111},"tbody",{},[112,136],{"type":26,"tag":84,"props":113,"children":114},{},[115,121,126,131],{"type":26,"tag":116,"props":117,"children":118},"td",{},[119],{"type":31,"value":120},"deterministic replay",{"type":26,"tag":116,"props":122,"children":123},{},[124],{"type":31,"value":125},"复现历史行为",{"type":26,"tag":116,"props":127,"children":128},{},[129],{"type":31,"value":130},"审计证据",{"type":26,"tag":116,"props":132,"children":133},{},[134],{"type":31,"value":135},"外部依赖不可复刻",{"type":26,"tag":84,"props":137,"children":138},{},[139,144,149,154],{"type":26,"tag":116,"props":140,"children":141},{},[142],{"type":31,"value":143},"semantic replay",{"type":26,"tag":116,"props":145,"children":146},{},[147],{"type":31,"value":148},"复现业务意图",{"type":26,"tag":116,"props":150,"children":151},{},[152],{"type":31,"value":153},"评估样本",{"type":26,"tag":116,"props":155,"children":156},{},[157],{"type":31,"value":158},"行为与历史偏离",{"type":26,"tag":27,"props":160,"children":161},{},[162],{"type":31,"value":163},"把 semantic replay 当审计依据，会在争议场景中直接失去证据可信度。",{"type":26,"tag":69,"props":165,"children":167},{"id":166},"双轨回放架构建议",[168],{"type":31,"value":166},{"type":26,"tag":27,"props":170,"children":171},{},[172],{"type":31,"value":173},"建议平台层面明确双轨：",{"type":26,"tag":175,"props":176,"children":177},"ol",{},[178,183],{"type":26,"tag":38,"props":179,"children":180},{},[181],{"type":31,"value":182},"Audit Replay 通道：冻结 model/prompt/tool/version，尽量复刻历史条件。",{"type":26,"tag":38,"props":184,"children":185},{},[186],{"type":31,"value":187},"Evaluation Replay 通道：允许替换版本，用于策略与质量评估。",{"type":26,"tag":27,"props":189,"children":190},{},[191],{"type":31,"value":192},"这两个通道必须在 run 类型、日志、报表层彻底隔离。",{"type":26,"tag":69,"props":194,"children":196},{"id":195},"决策规则什么时候用哪种",[197],{"type":31,"value":198},"决策规则：什么时候用哪种",{"type":26,"tag":76,"props":200,"children":201},{},[202,218],{"type":26,"tag":80,"props":203,"children":204},{},[205],{"type":26,"tag":84,"props":206,"children":207},{},[208,213],{"type":26,"tag":88,"props":209,"children":210},{},[211],{"type":31,"value":212},"任务类型",{"type":26,"tag":88,"props":214,"children":215},{},[216],{"type":31,"value":217},"推荐回放",{"type":26,"tag":109,"props":219,"children":220},{},[221,233,245,257],{"type":26,"tag":84,"props":222,"children":223},{},[224,229],{"type":26,"tag":116,"props":225,"children":226},{},[227],{"type":31,"value":228},"合规追责",{"type":26,"tag":116,"props":230,"children":231},{},[232],{"type":31,"value":120},{"type":26,"tag":84,"props":234,"children":235},{},[236,241],{"type":26,"tag":116,"props":237,"children":238},{},[239],{"type":31,"value":240},"客诉仲裁",{"type":26,"tag":116,"props":242,"children":243},{},[244],{"type":31,"value":120},{"type":26,"tag":84,"props":246,"children":247},{},[248,253],{"type":26,"tag":116,"props":249,"children":250},{},[251],{"type":31,"value":252},"新版本对比",{"type":26,"tag":116,"props":254,"children":255},{},[256],{"type":31,"value":143},{"type":26,"tag":84,"props":258,"children":259},{},[260,265],{"type":26,"tag":116,"props":261,"children":262},{},[263],{"type":31,"value":264},"提示词迭代",{"type":26,"tag":116,"props":266,"children":267},{},[268],{"type":31,"value":143},{"type":26,"tag":27,"props":270,"children":271},{},[272],{"type":31,"value":273},"默认策略应是“争议场景优先 deterministic”。",{"type":26,"tag":69,"props":275,"children":277},{"id":276},"失败案例用-semantic-replay-做财务核对",[278],{"type":31,"value":279},"失败案例：用 semantic replay 做财务核对",{"type":26,"tag":27,"props":281,"children":282},{},[283],{"type":31,"value":284},"某团队在结算争议中使用 semantic replay 作为证据。由于模型版本变化，步骤序列和工具调用次数发生变化，最终和历史账单不一致，财务与工程团队各执一词。",{"type":26,"tag":27,"props":286,"children":287},{},[288],{"type":31,"value":289},"修复动作：",{"type":26,"tag":34,"props":291,"children":292},{},[293,298,303],{"type":26,"tag":38,"props":294,"children":295},{},[296],{"type":31,"value":297},"结算争议统一切换到 deterministic replay。",{"type":26,"tag":38,"props":299,"children":300},{},[301],{"type":31,"value":302},"引入 run ledger 的版本快照字段。",{"type":26,"tag":38,"props":304,"children":305},{},[306],{"type":31,"value":307},"semantic replay 结果强制标注“非审计证据”。",{"type":26,"tag":69,"props":309,"children":311},{"id":310},"实施细节如何提高-deterministic-成功率",[312],{"type":31,"value":313},"实施细节：如何提高 deterministic 成功率",{"type":26,"tag":34,"props":315,"children":316},{},[317,322,327],{"type":26,"tag":38,"props":318,"children":319},{},[320],{"type":31,"value":321},"固定 model route、prompt 版本、tool schema 版本。",{"type":26,"tag":38,"props":323,"children":324},{},[325],{"type":31,"value":326},"冻结关键输入快照（上下文切片、策略决策、依赖响应摘要）。",{"type":26,"tag":38,"props":328,"children":329},{},[330],{"type":31,"value":331},"对不可复刻依赖使用 recorded stub，并注明证据等级。",{"type":26,"tag":27,"props":333,"children":334},{},[335],{"type":31,"value":336},"没有版本冻结，deterministic replay 只是名字 deterministic。",{"type":26,"tag":69,"props":338,"children":340},{"id":339},"指标建议",[341],{"type":31,"value":339},{"type":26,"tag":34,"props":343,"children":344},{},[345,350,355,360],{"type":26,"tag":38,"props":346,"children":347},{},[348],{"type":31,"value":349},"deterministic replay 可复现率",{"type":26,"tag":38,"props":351,"children":352},{},[353],{"type":31,"value":354},"semantic replay 质量提升率",{"type":26,"tag":38,"props":356,"children":357},{},[358],{"type":31,"value":359},"回放结果与 ledger 一致率",{"type":26,"tag":38,"props":361,"children":362},{},[363],{"type":31,"value":364},"回放请求类型分布（审计/评估）",{"type":26,"tag":27,"props":366,"children":367},{},[368],{"type":31,"value":369},"可复现率持续下降，通常意味着版本治理或依赖快照策略正在退化。",{"type":26,"tag":69,"props":371,"children":373},{"id":372},"证据等级要写清楚",[374],{"type":31,"value":372},{"type":26,"tag":27,"props":376,"children":377},{},[378],{"type":31,"value":379},"不是所有 replay 结果都具有同等可信度。建议定义证据等级：",{"type":26,"tag":76,"props":381,"children":382},{},[383,404],{"type":26,"tag":80,"props":384,"children":385},{},[386],{"type":26,"tag":84,"props":387,"children":388},{},[389,394,399],{"type":26,"tag":88,"props":390,"children":391},{},[392],{"type":31,"value":393},"等级",{"type":26,"tag":88,"props":395,"children":396},{},[397],{"type":31,"value":398},"条件",{"type":26,"tag":88,"props":400,"children":401},{},[402],{"type":31,"value":403},"可用于",{"type":26,"tag":109,"props":405,"children":406},{},[407,425,443],{"type":26,"tag":84,"props":408,"children":409},{},[410,415,420],{"type":26,"tag":116,"props":411,"children":412},{},[413],{"type":31,"value":414},"A",{"type":26,"tag":116,"props":416,"children":417},{},[418],{"type":31,"value":419},"固定版本 + recorded dependency + ledger 对齐",{"type":26,"tag":116,"props":421,"children":422},{},[423],{"type":31,"value":424},"审计、仲裁",{"type":26,"tag":84,"props":426,"children":427},{},[428,433,438],{"type":26,"tag":116,"props":429,"children":430},{},[431],{"type":31,"value":432},"B",{"type":26,"tag":116,"props":434,"children":435},{},[436],{"type":31,"value":437},"固定版本 + 部分依赖模拟",{"type":26,"tag":116,"props":439,"children":440},{},[441],{"type":31,"value":442},"工程复盘",{"type":26,"tag":84,"props":444,"children":445},{},[446,451,456],{"type":26,"tag":116,"props":447,"children":448},{},[449],{"type":31,"value":450},"C",{"type":26,"tag":116,"props":452,"children":453},{},[454],{"type":31,"value":455},"新版本 semantic replay",{"type":26,"tag":116,"props":457,"children":458},{},[459],{"type":31,"value":460},"策略评估",{"type":26,"tag":27,"props":462,"children":463},{},[464],{"type":31,"value":465},"如果团队不定义证据等级，业务方很容易拿 C 级结果去做 A 级决策。",{"type":26,"tag":69,"props":467,"children":469},{"id":468},"依赖快照不必保存一切",[470],{"type":31,"value":468},{"type":26,"tag":27,"props":472,"children":473},{},[474],{"type":31,"value":475},"为了 deterministic replay，很多团队误以为要保存完整外部响应。更现实的做法是保存“决策必要摘要”：",{"type":26,"tag":34,"props":477,"children":478},{},[479,484,489,494],{"type":26,"tag":38,"props":480,"children":481},{},[482],{"type":31,"value":483},"policy decision 的输入与输出",{"type":26,"tag":38,"props":485,"children":486},{},[487],{"type":31,"value":488},"tool call 的状态码、关键字段、版本",{"type":26,"tag":38,"props":490,"children":491},{},[492],{"type":31,"value":493},"外部资源的 hash 或引用 ID",{"type":26,"tag":38,"props":495,"children":496},{},[497],{"type":31,"value":498},"人工审批时看到的证据包版本",{"type":26,"tag":27,"props":500,"children":501},{},[502],{"type":31,"value":503},"这样既能控制存储成本，也能保留足够审计价值。",{"type":26,"tag":69,"props":505,"children":507},{"id":506},"回放测试样例应该进入发布门禁",[508],{"type":31,"value":506},{"type":26,"tag":27,"props":510,"children":511},{},[512],{"type":31,"value":513},"每次升级 model、prompt 或 tool schema，都应跑一组 replay 样本：",{"type":26,"tag":175,"props":515,"children":516},{},[517,522,527,532],{"type":26,"tag":38,"props":518,"children":519},{},[520],{"type":31,"value":521},"历史事故样本",{"type":26,"tag":38,"props":523,"children":524},{},[525],{"type":31,"value":526},"高成本 run 样本",{"type":26,"tag":38,"props":528,"children":529},{},[530],{"type":31,"value":531},"高风险审批样本",{"type":26,"tag":38,"props":533,"children":534},{},[535],{"type":31,"value":536},"高频失败样本",{"type":26,"tag":27,"props":538,"children":539},{},[540],{"type":31,"value":541},"如果这些样本无法稳定复现，说明发布包还没有资格进入更大流量。",{"type":26,"tag":69,"props":543,"children":545},{"id":544},"checklist",[546],{"type":31,"value":547},"Checklist",{"type":26,"tag":34,"props":549,"children":552},{"className":550},[551],"contains-task-list",[553,566,575,584,593,602],{"type":26,"tag":38,"props":554,"children":557},{"className":555},[556],"task-list-item",[558,564],{"type":26,"tag":559,"props":560,"children":563},"input",{"disabled":561,"type":562},true,"checkbox",[],{"type":31,"value":565}," replay 请求必须声明语义类型",{"type":26,"tag":38,"props":567,"children":569},{"className":568},[556],[570,573],{"type":26,"tag":559,"props":571,"children":572},{"disabled":561,"type":562},[],{"type":31,"value":574}," deterministic replay 固定版本与依赖",{"type":26,"tag":38,"props":576,"children":578},{"className":577},[556],[579,582],{"type":26,"tag":559,"props":580,"children":581},{"disabled":561,"type":562},[],{"type":31,"value":583}," semantic replay 明确标注非审计证据",{"type":26,"tag":38,"props":585,"children":587},{"className":586},[556],[588,591],{"type":26,"tag":559,"props":589,"children":590},{"disabled":561,"type":562},[],{"type":31,"value":592}," 双轨回放结果写入独立 run 类型",{"type":26,"tag":38,"props":594,"children":596},{"className":595},[556],[597,600],{"type":26,"tag":559,"props":598,"children":599},{"disabled":561,"type":562},[],{"type":31,"value":601}," 争议场景默认 deterministic 链路",{"type":26,"tag":38,"props":603,"children":605},{"className":604},[556],[606,609],{"type":26,"tag":559,"props":607,"children":608},{"disabled":561,"type":562},[],{"type":31,"value":610}," 回放报表区分“事实还原”与“策略评估”",{"type":26,"tag":27,"props":612,"children":613},{},[614],{"type":31,"value":615},"延伸阅读：",{"type":26,"tag":34,"props":617,"children":618},{},[619,629,638],{"type":26,"tag":38,"props":620,"children":621},{},[622],{"type":26,"tag":623,"props":624,"children":626},"a",{"href":625},"/topics/ai/ai-agent-session-replay-debugging",[627],{"type":31,"value":628},"AI agent Session Replay 调试指南",{"type":26,"tag":38,"props":630,"children":631},{},[632],{"type":26,"tag":623,"props":633,"children":635},{"href":634},"/topics/ai/ai-agent-run-ledger-audit-model",[636],{"type":31,"value":637},"AI agent Run Ledger 审计模型",{"type":26,"tag":38,"props":639,"children":640},{},[641],{"type":26,"tag":623,"props":642,"children":644},{"href":643},"/topics/ai/ai-agent-version-set-pinning-rollback",[645],{"type":31,"value":646},"AI agent Version Set Pinning 与回滚",{"title":7,"searchDepth":648,"depth":648,"links":649},3,[650,652,653,654,655,656,657,658,659,660],{"id":71,"depth":651,"text":74},2,{"id":166,"depth":651,"text":166},{"id":195,"depth":651,"text":198},{"id":276,"depth":651,"text":279},{"id":310,"depth":651,"text":313},{"id":339,"depth":651,"text":339},{"id":372,"depth":651,"text":372},{"id":468,"depth":651,"text":468},{"id":506,"depth":651,"text":506},{"id":544,"depth":651,"text":547},"markdown","content:topics:ai:ai-agent-deterministic-replay-vs-semantic-replay.md","content","topics/ai/ai-agent-deterministic-replay-vs-semantic-replay.md","topics/ai/ai-agent-deterministic-replay-vs-semantic-replay","md",[668,1823,2772],{"_path":669,"_dir":5,"_draft":6,"_partial":6,"_locale":7,"title":670,"description":671,"date":672,"topic":5,"author":11,"tags":673,"image":679,"imageAlt":680,"pexelsPhotoId":681,"pexelsUrl":682,"readingTime":683,"body":684,"_type":661,"_id":1820,"_source":663,"_file":1821,"_stem":1822,"_extension":666},"/topics/ai/cursor-keyboard-shortcuts-cheatsheet","Cursor 快捷键速查表（macOS/Windows）：从“会用”到“能提效”的 10 个工作流","把 Cursor 常用快捷键按任务分组（查代码、改代码、多文件、对话、审查与回滚），给出可直接照抄的工作流与最小回归清单，避免“快捷键背了也没变快”。","2026-03-02",[674,675,676,677,678],"Cursor","快捷键","AI IDE","VS Code","开发效率","/images/topics/ai/cursor-keyboard-shortcuts-cheatsheet.jpg","彩色机械键盘与鼠标的工作台面",34563105,"https://www.pexels.com/photo/colorful-mechanical-keyboard-and-mouse-setup-34563105/",12,{"type":23,"children":685,"toc":1794},[686,691,709,714,742,747,783,787,793,798,831,836,859,862,868,873,1092,1101,1104,1110,1117,1136,1144,1165,1170,1176,1191,1222,1227,1240,1246,1265,1283,1291,1296,1302,1307,1328,1336,1342,1347,1370,1375,1381,1394,1400,1418,1436,1442,1453,1471,1477,1488,1494,1499,1542,1545,1551,1559,1612,1615,1621,1627,1632,1637,1660,1678,1683,1708,1711,1717,1723,1728,1734,1739,1745,1750,1753,1759],{"type":26,"tag":27,"props":687,"children":688},{},[689],{"type":31,"value":690},"如果你在搜“Cursor 快捷键”，你大概率不是想背一张表，而是想解决这类问题：",{"type":26,"tag":34,"props":692,"children":693},{},[694,699,704],{"type":26,"tag":38,"props":695,"children":696},{},[697],{"type":31,"value":698},"为什么我用了 AI，还是很慢？（对话来回太多、改动不可控）",{"type":26,"tag":38,"props":700,"children":701},{},[702],{"type":31,"value":703},"为什么它“看起来懂了”，却改错文件/改出回归？（上下文与范围没锁住）",{"type":26,"tag":38,"props":705,"children":706},{},[707],{"type":31,"value":708},"多文件改动怎么做得安全？（验收、回滚、最小回归集）",{"type":26,"tag":27,"props":710,"children":711},{},[712],{"type":31,"value":713},"这篇文章给你两份东西：",{"type":26,"tag":175,"props":715,"children":716},{},[717,730],{"type":26,"tag":38,"props":718,"children":719},{},[720,722,728],{"type":31,"value":721},"一张",{"type":26,"tag":723,"props":724,"children":725},"strong",{},[726],{"type":31,"value":727},"按任务分组",{"type":31,"value":729},"的快捷键表（不是按功能堆在一起）",{"type":26,"tag":38,"props":731,"children":732},{},[733,735,740],{"type":31,"value":734},"一套“从需求到落地”的",{"type":26,"tag":723,"props":736,"children":737},{},[738],{"type":31,"value":739},"最小闭环工作流",{"type":31,"value":741},"（每一步都有快捷键）",{"type":26,"tag":27,"props":743,"children":744},{},[745],{"type":31,"value":746},"想看系统玩法：",{"type":26,"tag":34,"props":748,"children":749},{},[750,761,772],{"type":26,"tag":38,"props":751,"children":752},{},[753,755],{"type":31,"value":754},"入门教程看：",{"type":26,"tag":623,"props":756,"children":758},{"href":757},"/topics/ai/cursor-tutorial",[759],{"type":31,"value":760},"Cursor 使用教程（2026）",{"type":26,"tag":38,"props":762,"children":763},{},[764,766],{"type":31,"value":765},"进阶玩法看：",{"type":26,"tag":623,"props":767,"children":769},{"href":768},"/topics/ai/cursor-editor-guide",[770],{"type":31,"value":771},"Cursor 编辑器深度玩法",{"type":26,"tag":38,"props":773,"children":774},{},[775,777],{"type":31,"value":776},"规则与忽略看：",{"type":26,"tag":623,"props":778,"children":780},{"href":779},"/topics/ai/cursor-rules-cursorrules",[781],{"type":31,"value":782},"Cursor Rules 与 .cursorrules",{"type":26,"tag":784,"props":785,"children":786},"hr",{},[],{"type":26,"tag":69,"props":788,"children":790},{"id":789},"先给结论提效不是按得快而是闭环更短",[791],{"type":31,"value":792},"先给结论：提效不是“按得快”，而是“闭环更短”",{"type":26,"tag":27,"props":794,"children":795},{},[796],{"type":31,"value":797},"你可以把 Cursor 的快捷键理解为 3 条流水线：",{"type":26,"tag":34,"props":799,"children":800},{},[801,811,821],{"type":26,"tag":38,"props":802,"children":803},{},[804,809],{"type":26,"tag":723,"props":805,"children":806},{},[807],{"type":31,"value":808},"改一小段",{"type":31,"value":810},"（内联编辑）：把改动限制在一个函数/一段样式",{"type":26,"tag":38,"props":812,"children":813},{},[814,819],{"type":26,"tag":723,"props":815,"children":816},{},[817],{"type":31,"value":818},"改一组文件",{"type":31,"value":820},"（Composer）：把改动限制在一组明确文件，并要求输出 diff + 验收点",{"type":26,"tag":38,"props":822,"children":823},{},[824,829],{"type":26,"tag":723,"props":825,"children":826},{},[827],{"type":31,"value":828},"聊清楚再动手",{"type":31,"value":830},"（侧边对话）：先对齐目标、范围、验收、回滚",{"type":26,"tag":27,"props":832,"children":833},{},[834],{"type":31,"value":835},"当你觉得“它乱改/改太大”时，往往不是快捷键没记住，而是缺了两件事：",{"type":26,"tag":34,"props":837,"children":838},{},[839,849],{"type":26,"tag":38,"props":840,"children":841},{},[842,844],{"type":31,"value":843},"没有在动手前锁定",{"type":26,"tag":723,"props":845,"children":846},{},[847],{"type":31,"value":848},"范围",{"type":26,"tag":38,"props":850,"children":851},{},[852,854],{"type":31,"value":853},"没有在接受改动前准备",{"type":26,"tag":723,"props":855,"children":856},{},[857],{"type":31,"value":858},"验收/回滚",{"type":26,"tag":784,"props":860,"children":861},{},[],{"type":26,"tag":69,"props":863,"children":865},{"id":864},"快捷键速查表按任务分组",[866],{"type":31,"value":867},"快捷键速查表（按任务分组）",{"type":26,"tag":27,"props":869,"children":870},{},[871],{"type":31,"value":872},"说明：下表按“你正在做什么”组织，而不是按“功能名字”组织。不同版本快捷键可能略有差异，但核心逻辑一致。",{"type":26,"tag":76,"props":874,"children":875},{},[876,902],{"type":26,"tag":80,"props":877,"children":878},{},[879],{"type":26,"tag":84,"props":880,"children":881},{},[882,887,892,897],{"type":26,"tag":88,"props":883,"children":884},{},[885],{"type":31,"value":886},"任务",{"type":26,"tag":88,"props":888,"children":889},{},[890],{"type":31,"value":891},"macOS",{"type":26,"tag":88,"props":893,"children":894},{},[895],{"type":31,"value":896},"Windows",{"type":26,"tag":88,"props":898,"children":899},{},[900],{"type":31,"value":901},"你该在什么时候用",{"type":26,"tag":109,"props":903,"children":904},{},[905,937,968,999,1030,1061],{"type":26,"tag":84,"props":906,"children":907},{},[908,913,923,932],{"type":26,"tag":116,"props":909,"children":910},{},[911],{"type":31,"value":912},"改一小段（最安全）",{"type":26,"tag":116,"props":914,"children":915},{},[916],{"type":26,"tag":917,"props":918,"children":920},"code",{"className":919},[],[921],{"type":31,"value":922},"Cmd + K",{"type":26,"tag":116,"props":924,"children":925},{},[926],{"type":26,"tag":917,"props":927,"children":929},{"className":928},[],[930],{"type":31,"value":931},"Ctrl + K",{"type":26,"tag":116,"props":933,"children":934},{},[935],{"type":31,"value":936},"只想改一个函数/一段 CSS，不想动别的",{"type":26,"tag":84,"props":938,"children":939},{},[940,945,954,963],{"type":26,"tag":116,"props":941,"children":942},{},[943],{"type":31,"value":944},"打开 AI 对话（先对齐再动手）",{"type":26,"tag":116,"props":946,"children":947},{},[948],{"type":26,"tag":917,"props":949,"children":951},{"className":950},[],[952],{"type":31,"value":953},"Cmd + L",{"type":26,"tag":116,"props":955,"children":956},{},[957],{"type":26,"tag":917,"props":958,"children":960},{"className":959},[],[961],{"type":31,"value":962},"Ctrl + L",{"type":26,"tag":116,"props":964,"children":965},{},[966],{"type":31,"value":967},"需要澄清目标、制定步骤、给验收点",{"type":26,"tag":84,"props":969,"children":970},{},[971,976,985,994],{"type":26,"tag":116,"props":972,"children":973},{},[974],{"type":31,"value":975},"多文件编辑（有组织地改一组文件）",{"type":26,"tag":116,"props":977,"children":978},{},[979],{"type":26,"tag":917,"props":980,"children":982},{"className":981},[],[983],{"type":31,"value":984},"Cmd + I",{"type":26,"tag":116,"props":986,"children":987},{},[988],{"type":26,"tag":917,"props":989,"children":991},{"className":990},[],[992],{"type":31,"value":993},"Ctrl + I",{"type":26,"tag":116,"props":995,"children":996},{},[997],{"type":31,"value":998},"改动涉及多个文件：组件+样式+测试",{"type":26,"tag":84,"props":1000,"children":1001},{},[1002,1007,1016,1025],{"type":26,"tag":116,"props":1003,"children":1004},{},[1005],{"type":31,"value":1006},"把选中代码加入对话上下文",{"type":26,"tag":116,"props":1008,"children":1009},{},[1010],{"type":26,"tag":917,"props":1011,"children":1013},{"className":1012},[],[1014],{"type":31,"value":1015},"Cmd + Shift + L",{"type":26,"tag":116,"props":1017,"children":1018},{},[1019],{"type":26,"tag":917,"props":1020,"children":1022},{"className":1021},[],[1023],{"type":31,"value":1024},"Ctrl + Shift + L",{"type":26,"tag":116,"props":1026,"children":1027},{},[1028],{"type":31,"value":1029},"让 AI 只看你选的片段（降低噪音）",{"type":26,"tag":84,"props":1031,"children":1032},{},[1033,1038,1047,1056],{"type":26,"tag":116,"props":1034,"children":1035},{},[1036],{"type":31,"value":1037},"接受当前建议",{"type":26,"tag":116,"props":1039,"children":1040},{},[1041],{"type":26,"tag":917,"props":1042,"children":1044},{"className":1043},[],[1045],{"type":31,"value":1046},"Cmd + Y",{"type":26,"tag":116,"props":1048,"children":1049},{},[1050],{"type":26,"tag":917,"props":1051,"children":1053},{"className":1052},[],[1054],{"type":31,"value":1055},"Ctrl + Y",{"type":26,"tag":116,"props":1057,"children":1058},{},[1059],{"type":31,"value":1060},"你已经准备好验收/回滚，并确认改动范围",{"type":26,"tag":84,"props":1062,"children":1063},{},[1064,1069,1078,1087],{"type":26,"tag":116,"props":1065,"children":1066},{},[1067],{"type":31,"value":1068},"拒绝当前建议",{"type":26,"tag":116,"props":1070,"children":1071},{},[1072],{"type":26,"tag":917,"props":1073,"children":1075},{"className":1074},[],[1076],{"type":31,"value":1077},"Cmd + N",{"type":26,"tag":116,"props":1079,"children":1080},{},[1081],{"type":26,"tag":917,"props":1082,"children":1084},{"className":1083},[],[1085],{"type":31,"value":1086},"Ctrl + N",{"type":26,"tag":116,"props":1088,"children":1089},{},[1090],{"type":31,"value":1091},"改得太大、改错方向，立刻收手",{"type":26,"tag":1093,"props":1094,"children":1095},"blockquote",{},[1096],{"type":26,"tag":27,"props":1097,"children":1098},{},[1099],{"type":31,"value":1100},"小技巧：把“改一小段”当默认路径。只有当你能清晰写出“会改哪几类文件、怎么验收”时再进入多文件。",{"type":26,"tag":784,"props":1102,"children":1103},{},[],{"type":26,"tag":69,"props":1105,"children":1107},{"id":1106},"_10-个可直接照抄的提效工作流每个都能闭环",[1108],{"type":31,"value":1109},"10 个可直接照抄的提效工作流（每个都能闭环）",{"type":26,"tag":1111,"props":1112,"children":1114},"h3",{"id":1113},"工作流-1需求计划小步改新手最稳",[1115],{"type":31,"value":1116},"工作流 1：需求→计划→小步改（新手最稳）",{"type":26,"tag":175,"props":1118,"children":1119},{},[1120,1131],{"type":26,"tag":38,"props":1121,"children":1122},{},[1123,1129],{"type":26,"tag":917,"props":1124,"children":1126},{"className":1125},[],[1127],{"type":31,"value":1128},"Cmd/Ctrl + L",{"type":31,"value":1130}," 打开对话",{"type":26,"tag":38,"props":1132,"children":1133},{},[1134],{"type":31,"value":1135},"先发这段（可复制）：",{"type":26,"tag":1093,"props":1137,"children":1138},{},[1139],{"type":26,"tag":27,"props":1140,"children":1141},{},[1142],{"type":31,"value":1143},"目标：……\n范围：只修改以下文件/模块：……\n非目标：……（明确不做）\n验收：……（可测试/可手动检查）\n输出格式：先给计划，再逐步执行；每一步写出 diff 摘要。",{"type":26,"tag":175,"props":1145,"children":1146},{"start":648},[1147,1152],{"type":26,"tag":38,"props":1148,"children":1149},{},[1150],{"type":31,"value":1151},"让 AI 先给“计划（3~6 步）”，你确认后再执行",{"type":26,"tag":38,"props":1153,"children":1154},{},[1155,1157,1163],{"type":31,"value":1156},"任何一步涉及改代码：优先回到编辑区，选中片段用 ",{"type":26,"tag":917,"props":1158,"children":1160},{"className":1159},[],[1161],{"type":31,"value":1162},"Cmd/Ctrl + K",{"type":31,"value":1164}," 小步改",{"type":26,"tag":27,"props":1166,"children":1167},{},[1168],{"type":31,"value":1169},"为什么有效：你把“想法”变成了“可执行约束”，这就是 GEO（面向 AI/模型的可理解结构）。",{"type":26,"tag":1111,"props":1171,"children":1173},{"id":1172},"工作流-2只改一个函数高频低风险",[1174],{"type":31,"value":1175},"工作流 2：只改一个函数（高频、低风险）",{"type":26,"tag":34,"props":1177,"children":1178},{},[1179],{"type":26,"tag":38,"props":1180,"children":1181},{},[1182,1184,1189],{"type":31,"value":1183},"选中函数 → ",{"type":26,"tag":917,"props":1185,"children":1187},{"className":1186},[],[1188],{"type":31,"value":1162},{"type":31,"value":1190}," → 输入指令：",{"type":26,"tag":1093,"props":1192,"children":1193},{},[1194,1199],{"type":26,"tag":27,"props":1195,"children":1196},{},[1197],{"type":31,"value":1198},"把这段改成更可读：",{"type":26,"tag":34,"props":1200,"children":1201},{},[1202,1207,1212,1217],{"type":26,"tag":38,"props":1203,"children":1204},{},[1205],{"type":31,"value":1206},"用 async/await",{"type":26,"tag":38,"props":1208,"children":1209},{},[1210],{"type":31,"value":1211},"错误处理不要吞掉",{"type":26,"tag":38,"props":1213,"children":1214},{},[1215],{"type":31,"value":1216},"添加类型（若可推断）",{"type":26,"tag":38,"props":1218,"children":1219},{},[1220],{"type":31,"value":1221},"不要改函数签名",{"type":26,"tag":27,"props":1223,"children":1224},{},[1225],{"type":31,"value":1226},"验收方式（强制）：",{"type":26,"tag":34,"props":1228,"children":1229},{},[1230,1235],{"type":26,"tag":38,"props":1231,"children":1232},{},[1233],{"type":31,"value":1234},"输出前后函数行为一致（输入/输出）",{"type":26,"tag":38,"props":1236,"children":1237},{},[1238],{"type":31,"value":1239},"失败分支有可观测日志（不要悄悄 return null）",{"type":26,"tag":1111,"props":1241,"children":1243},{"id":1242},"工作流-3多文件改动先定文件清单",[1244],{"type":31,"value":1245},"工作流 3：多文件改动（先定“文件清单”）",{"type":26,"tag":175,"props":1247,"children":1248},{},[1249,1260],{"type":26,"tag":38,"props":1250,"children":1251},{},[1252,1258],{"type":26,"tag":917,"props":1253,"children":1255},{"className":1254},[],[1256],{"type":31,"value":1257},"Cmd/Ctrl + I",{"type":31,"value":1259}," 进入多文件",{"type":26,"tag":38,"props":1261,"children":1262},{},[1263],{"type":31,"value":1264},"先让 AI 输出：",{"type":26,"tag":34,"props":1266,"children":1267},{},[1268,1273,1278],{"type":26,"tag":38,"props":1269,"children":1270},{},[1271],{"type":31,"value":1272},"预计会改哪些文件（最多 5 个）",{"type":26,"tag":38,"props":1274,"children":1275},{},[1276],{"type":31,"value":1277},"每个文件改什么",{"type":26,"tag":38,"props":1279,"children":1280},{},[1281],{"type":31,"value":1282},"每一步怎么验收",{"type":26,"tag":175,"props":1284,"children":1285},{"start":648},[1286],{"type":26,"tag":38,"props":1287,"children":1288},{},[1289],{"type":31,"value":1290},"你确认文件清单后再开始生成改动",{"type":26,"tag":27,"props":1292,"children":1293},{},[1294],{"type":31,"value":1295},"关键点：多文件最容易翻车的是“它把你没想到的文件也改了”。所以文件清单是第一道闸门。",{"type":26,"tag":1111,"props":1297,"children":1299},{"id":1298},"工作流-4把上下文噪音砍掉防跑偏",[1300],{"type":31,"value":1301},"工作流 4：把“上下文噪音”砍掉（防跑偏）",{"type":26,"tag":27,"props":1303,"children":1304},{},[1305],{"type":31,"value":1306},"当你怀疑它在胡说/乱改时：",{"type":26,"tag":34,"props":1308,"children":1309},{},[1310,1323],{"type":26,"tag":38,"props":1311,"children":1312},{},[1313,1315,1321],{"type":31,"value":1314},"只选择关键代码片段 → ",{"type":26,"tag":917,"props":1316,"children":1318},{"className":1317},[],[1319],{"type":31,"value":1320},"Cmd/Ctrl + Shift + L",{"type":31,"value":1322}," 加入对话",{"type":26,"tag":38,"props":1324,"children":1325},{},[1326],{"type":31,"value":1327},"然后在对话里要求：",{"type":26,"tag":1093,"props":1329,"children":1330},{},[1331],{"type":26,"tag":27,"props":1332,"children":1333},{},[1334],{"type":31,"value":1335},"只基于我提供的代码片段回答，不要假设其它文件存在。",{"type":26,"tag":1111,"props":1337,"children":1339},{"id":1338},"工作流-5生成变更说明让-code-review-变快",[1340],{"type":31,"value":1341},"工作流 5：生成变更说明（让 code review 变快）",{"type":26,"tag":27,"props":1343,"children":1344},{},[1345],{"type":31,"value":1346},"改完后在对话里让它输出：",{"type":26,"tag":34,"props":1348,"children":1349},{},[1350,1355,1360,1365],{"type":26,"tag":38,"props":1351,"children":1352},{},[1353],{"type":31,"value":1354},"改动摘要（3~7 条）",{"type":26,"tag":38,"props":1356,"children":1357},{},[1358],{"type":31,"value":1359},"风险点（依赖/边界条件）",{"type":26,"tag":38,"props":1361,"children":1362},{},[1363],{"type":31,"value":1364},"回滚方式",{"type":26,"tag":38,"props":1366,"children":1367},{},[1368],{"type":31,"value":1369},"验收步骤",{"type":26,"tag":27,"props":1371,"children":1372},{},[1373],{"type":31,"value":1374},"这套结构能直接贴进 PR 描述。",{"type":26,"tag":1111,"props":1376,"children":1378},{"id":1377},"工作流-6写最小回归集不写回归-等事故",[1379],{"type":31,"value":1380},"工作流 6：写“最小回归集”（不写回归 = 等事故）",{"type":26,"tag":27,"props":1382,"children":1383},{},[1384,1386,1392],{"type":31,"value":1385},"每次改动都至少做 10 条最小回归（见下文清单）。你可以把它写在 ",{"type":26,"tag":917,"props":1387,"children":1389},{"className":1388},[],[1390],{"type":31,"value":1391},"README",{"type":31,"value":1393}," 或团队 wiki。",{"type":26,"tag":1111,"props":1395,"children":1397},{"id":1396},"工作流-7把接受建议变成最后一步",[1398],{"type":31,"value":1399},"工作流 7：把“接受建议”变成最后一步",{"type":26,"tag":27,"props":1401,"children":1402},{},[1403,1409,1411,1416],{"type":26,"tag":917,"props":1404,"children":1406},{"className":1405},[],[1407],{"type":31,"value":1408},"Cmd/Ctrl + Y",{"type":31,"value":1410}," 应该是",{"type":26,"tag":723,"props":1412,"children":1413},{},[1414],{"type":31,"value":1415},"最后一步",{"type":31,"value":1417},"：",{"type":26,"tag":34,"props":1419,"children":1420},{},[1421,1426,1431],{"type":26,"tag":38,"props":1422,"children":1423},{},[1424],{"type":31,"value":1425},"你已经看过 diff",{"type":26,"tag":38,"props":1427,"children":1428},{},[1429],{"type":31,"value":1430},"你能说清楚“怎么验收”",{"type":26,"tag":38,"props":1432,"children":1433},{},[1434],{"type":31,"value":1435},"你知道“怎么回滚”",{"type":26,"tag":1111,"props":1437,"children":1439},{"id":1438},"工作流-8拒绝建议不是失败是风控动作",[1440],{"type":31,"value":1441},"工作流 8：拒绝建议不是失败，是风控动作",{"type":26,"tag":27,"props":1443,"children":1444},{},[1445,1451],{"type":26,"tag":917,"props":1446,"children":1448},{"className":1447},[],[1449],{"type":31,"value":1450},"Cmd/Ctrl + N",{"type":31,"value":1452}," 的使用时机：",{"type":26,"tag":34,"props":1454,"children":1455},{},[1456,1461,1466],{"type":26,"tag":38,"props":1457,"children":1458},{},[1459],{"type":31,"value":1460},"它开始改你没提过的东西（范围漂移）",{"type":26,"tag":38,"props":1462,"children":1463},{},[1464],{"type":31,"value":1465},"它改了 10 个文件但你只想改 1 个",{"type":26,"tag":38,"props":1467,"children":1468},{},[1469],{"type":31,"value":1470},"它为了“更优雅”引入新依赖/新抽象",{"type":26,"tag":1111,"props":1472,"children":1474},{"id":1473},"工作流-9重复任务做成模板提示词不是一次性",[1475],{"type":31,"value":1476},"工作流 9：重复任务做成模板（提示词不是一次性）",{"type":26,"tag":27,"props":1478,"children":1479},{},[1480,1482,1486],{"type":31,"value":1481},"把高频任务（比如“写组件+样式+验收”）固化成模板，放进 Rules（见：",{"type":26,"tag":623,"props":1483,"children":1484},{"href":779},[1485],{"type":31,"value":782},{"type":31,"value":1487},"）。",{"type":26,"tag":1111,"props":1489,"children":1491},{"id":1490},"工作流-10把快捷键表做成你自己的任务表",[1492],{"type":31,"value":1493},"工作流 10：把“快捷键表”做成你自己的任务表",{"type":26,"tag":27,"props":1495,"children":1496},{},[1497],{"type":31,"value":1498},"你不需要记住所有快捷键，只需要记住：",{"type":26,"tag":34,"props":1500,"children":1501},{},[1502,1512,1522,1532],{"type":26,"tag":38,"props":1503,"children":1504},{},[1505,1507],{"type":31,"value":1506},"小步改：",{"type":26,"tag":917,"props":1508,"children":1510},{"className":1509},[],[1511],{"type":31,"value":1162},{"type":26,"tag":38,"props":1513,"children":1514},{},[1515,1517],{"type":31,"value":1516},"先对齐：",{"type":26,"tag":917,"props":1518,"children":1520},{"className":1519},[],[1521],{"type":31,"value":1128},{"type":26,"tag":38,"props":1523,"children":1524},{},[1525,1527],{"type":31,"value":1526},"多文件：",{"type":26,"tag":917,"props":1528,"children":1530},{"className":1529},[],[1531],{"type":31,"value":1257},{"type":26,"tag":38,"props":1533,"children":1534},{},[1535,1537],{"type":31,"value":1536},"上下文聚焦：",{"type":26,"tag":917,"props":1538,"children":1540},{"className":1539},[],[1541],{"type":31,"value":1320},{"type":26,"tag":784,"props":1543,"children":1544},{},[],{"type":26,"tag":69,"props":1546,"children":1548},{"id":1547},"必交付物-1最小回归任务清单10-条通用",[1549],{"type":31,"value":1550},"必交付物 1：最小回归任务清单（10 条，通用）",{"type":26,"tag":1093,"props":1552,"children":1553},{},[1554],{"type":26,"tag":27,"props":1555,"children":1556},{},[1557],{"type":31,"value":1558},"这份清单的意义：让每次 AI 改动都能“被验证”。否则你只是把不可控变成了更快的不可控。",{"type":26,"tag":175,"props":1560,"children":1561},{},[1562,1567,1572,1577,1582,1587,1592,1597,1602,1607],{"type":26,"tag":38,"props":1563,"children":1564},{},[1565],{"type":31,"value":1566},"关键路径能跑通（手动点击/请求一次）",{"type":26,"tag":38,"props":1568,"children":1569},{},[1570],{"type":31,"value":1571},"错误路径能触发（模拟一次失败输入）",{"type":26,"tag":38,"props":1573,"children":1574},{},[1575],{"type":31,"value":1576},"控制台无新增错误（至少关注 1 次真实操作）",{"type":26,"tag":38,"props":1578,"children":1579},{},[1580],{"type":31,"value":1581},"关键 UI 未错位（移动端/桌面端各看一眼）",{"type":26,"tag":38,"props":1583,"children":1584},{},[1585],{"type":31,"value":1586},"刷新后状态正确（尤其是表单/列表）",{"type":26,"tag":38,"props":1588,"children":1589},{},[1590],{"type":31,"value":1591},"路由跳转没断（从入口到目标页）",{"type":26,"tag":38,"props":1593,"children":1594},{},[1595],{"type":31,"value":1596},"相关接口未改变契约（字段名/类型）",{"type":26,"tag":38,"props":1598,"children":1599},{},[1600],{"type":31,"value":1601},"性能没有明显退化（首屏、交互卡顿）",{"type":26,"tag":38,"props":1603,"children":1604},{},[1605],{"type":31,"value":1606},"回滚方案可执行（知道回滚哪几个文件/commit）",{"type":26,"tag":38,"props":1608,"children":1609},{},[1610],{"type":31,"value":1611},"写下“这次改动解决了什么、风险是什么”（可贴 PR）",{"type":26,"tag":784,"props":1613,"children":1614},{},[],{"type":26,"tag":69,"props":1616,"children":1618},{"id":1617},"必交付物-2失败案例复盘真实会发生",[1619],{"type":31,"value":1620},"必交付物 2：失败案例复盘（真实会发生）",{"type":26,"tag":1111,"props":1622,"children":1624},{"id":1623},"现象快捷键用得很熟但交付还是慢",[1625],{"type":31,"value":1626},"现象：快捷键用得很熟，但交付还是慢",{"type":26,"tag":27,"props":1628,"children":1629},{},[1630],{"type":31,"value":1631},"典型原因：你把 Cursor 当成“更聪明的搜索框”，不断对话，直到它给出你想要的答案。",{"type":26,"tag":27,"props":1633,"children":1634},{},[1635],{"type":31,"value":1636},"复现路径：",{"type":26,"tag":34,"props":1638,"children":1639},{},[1640,1645,1650,1655],{"type":26,"tag":38,"props":1641,"children":1642},{},[1643],{"type":31,"value":1644},"你直接说“把页面做得更好看、更高级”",{"type":26,"tag":38,"props":1646,"children":1647},{},[1648],{"type":31,"value":1649},"AI 开始大改样式、抽象组件、甚至引入新依赖",{"type":26,"tag":38,"props":1651,"children":1652},{},[1653],{"type":31,"value":1654},"你为了省事按了“接受建议”",{"type":26,"tag":38,"props":1656,"children":1657},{},[1658],{"type":31,"value":1659},"最后发现：设计没统一、移动端崩、甚至埋了性能问题",{"type":26,"tag":27,"props":1661,"children":1662},{},[1663,1665,1669,1671,1676],{"type":31,"value":1664},"根因：缺少",{"type":26,"tag":723,"props":1666,"children":1667},{},[1668],{"type":31,"value":848},{"type":31,"value":1670},"与",{"type":26,"tag":723,"props":1672,"children":1673},{},[1674],{"type":31,"value":1675},"验收",{"type":31,"value":1677},"。",{"type":26,"tag":27,"props":1679,"children":1680},{},[1681],{"type":31,"value":1682},"修复方式（可照抄）：",{"type":26,"tag":34,"props":1684,"children":1685},{},[1686,1691,1703],{"type":26,"tag":38,"props":1687,"children":1688},{},[1689],{"type":31,"value":1690},"把需求拆成 3 个可验证目标：例如“按钮样式统一”“首屏 CTA 更明显”“移动端间距不挤”",{"type":26,"tag":38,"props":1692,"children":1693},{},[1694,1696,1701],{"type":31,"value":1695},"每个目标只用 ",{"type":26,"tag":917,"props":1697,"children":1699},{"className":1698},[],[1700],{"type":31,"value":1162},{"type":31,"value":1702}," 改一个局部",{"type":26,"tag":38,"props":1704,"children":1705},{},[1706],{"type":31,"value":1707},"每次接受建议前跑一遍“最小回归集”",{"type":26,"tag":784,"props":1709,"children":1710},{},[],{"type":26,"tag":69,"props":1712,"children":1714},{"id":1713},"faq高频问题",[1715],{"type":31,"value":1716},"FAQ（高频问题）",{"type":26,"tag":1111,"props":1718,"children":1720},{"id":1719},"q1我应该先记快捷键还是先学工作流",[1721],{"type":31,"value":1722},"Q1：我应该先记快捷键还是先学工作流？",{"type":26,"tag":27,"props":1724,"children":1725},{},[1726],{"type":31,"value":1727},"先学工作流。快捷键只是把工作流的步骤变短。",{"type":26,"tag":1111,"props":1729,"children":1731},{"id":1730},"q2为什么我一用多文件就容易翻车",[1732],{"type":31,"value":1733},"Q2：为什么我一用多文件就容易翻车？",{"type":26,"tag":27,"props":1735,"children":1736},{},[1737],{"type":31,"value":1738},"因为多文件意味着范围更大、依赖更多、验收更难。先锁定“文件清单 + 每步验收”，再让它动手。",{"type":26,"tag":1111,"props":1740,"children":1742},{"id":1741},"q3有没有万能提示词",[1743],{"type":31,"value":1744},"Q3：有没有“万能提示词”？",{"type":26,"tag":27,"props":1746,"children":1747},{},[1748],{"type":31,"value":1749},"没有，但有“万能结构”：目标、范围、非目标、验收、输出格式。",{"type":26,"tag":784,"props":1751,"children":1752},{},[],{"type":26,"tag":69,"props":1754,"children":1756},{"id":1755},"延伸阅读建议按顺序",[1757],{"type":31,"value":1758},"延伸阅读（建议按顺序）",{"type":26,"tag":34,"props":1760,"children":1761},{},[1762,1769,1776,1783],{"type":26,"tag":38,"props":1763,"children":1764},{},[1765],{"type":26,"tag":623,"props":1766,"children":1767},{"href":757},[1768],{"type":31,"value":760},{"type":26,"tag":38,"props":1770,"children":1771},{},[1772],{"type":26,"tag":623,"props":1773,"children":1774},{"href":768},[1775],{"type":31,"value":771},{"type":26,"tag":38,"props":1777,"children":1778},{},[1779],{"type":26,"tag":623,"props":1780,"children":1781},{"href":779},[1782],{"type":31,"value":782},{"type":26,"tag":38,"props":1784,"children":1785},{},[1786,1788],{"type":31,"value":1787},"如果你更关心“网页制作落地”：看这篇 ",{"type":26,"tag":623,"props":1789,"children":1791},{"href":1790},"/topics/practical-tips/htmlpage-quick-landing-page",[1792],{"type":31,"value":1793},"3 分钟用 HTMLPAGE 做落地页",{"title":7,"searchDepth":648,"depth":648,"links":1795},[1796,1797,1798,1810,1811,1814,1819],{"id":789,"depth":651,"text":792},{"id":864,"depth":651,"text":867},{"id":1106,"depth":651,"text":1109,"children":1799},[1800,1801,1802,1803,1804,1805,1806,1807,1808,1809],{"id":1113,"depth":648,"text":1116},{"id":1172,"depth":648,"text":1175},{"id":1242,"depth":648,"text":1245},{"id":1298,"depth":648,"text":1301},{"id":1338,"depth":648,"text":1341},{"id":1377,"depth":648,"text":1380},{"id":1396,"depth":648,"text":1399},{"id":1438,"depth":648,"text":1441},{"id":1473,"depth":648,"text":1476},{"id":1490,"depth":648,"text":1493},{"id":1547,"depth":651,"text":1550},{"id":1617,"depth":651,"text":1620,"children":1812},[1813],{"id":1623,"depth":648,"text":1626},{"id":1713,"depth":651,"text":1716,"children":1815},[1816,1817,1818],{"id":1719,"depth":648,"text":1722},{"id":1730,"depth":648,"text":1733},{"id":1741,"depth":648,"text":1744},{"id":1755,"depth":651,"text":1758},"content:topics:ai:cursor-keyboard-shortcuts-cheatsheet.md","topics/ai/cursor-keyboard-shortcuts-cheatsheet.md","topics/ai/cursor-keyboard-shortcuts-cheatsheet",{"_path":1824,"_dir":5,"_draft":6,"_partial":6,"_locale":7,"title":1825,"description":1826,"date":1827,"topic":5,"author":11,"tags":1828,"image":1832,"imageAlt":1833,"pexelsPhotoId":1834,"pexelsUrl":1835,"readingTime":1836,"body":1837,"_type":661,"_id":2769,"_source":663,"_file":2770,"_stem":2771,"_extension":666},"/topics/ai/cursor-vs-copilot-vscode-workflow","Cursor vs GitHub Copilot vs VS Code：怎么选、怎么搭配、怎么把风险关在笼子里","用“任务类型×风险×验收成本”的选择矩阵解释 Cursor/Copilot/VS Code 的差异，并给出一套可落地的协作工作流（范围闸门、最小回归集、回滚策略）。","2026-03-01",[674,1829,677,1830,1831],"GitHub Copilot","AI 编程","工作流","/images/topics/ai/cursor-vs-copilot-vscode-workflow.jpg","团队在电脑前进行协作讨论",1181371,"https://www.pexels.com/photo/man-wearing-blue-dress-shirt-1181371/",15,{"type":23,"children":1838,"toc":2747},[1839,1844,1849,1867,1872,1890,1893,1899,1904,1935,1940,1943,1949,1957,2160,2168,2181,2184,2190,2196,2209,2214,2227,2233,2238,2271,2277,2282,2300,2303,2309,2314,2320,2325,2358,2364,2377,2382,2395,2401,2413,2419,2424,2437,2442,2445,2451,2456,2577,2580,2586,2596,2605,2623,2632,2640,2649,2667,2670,2676,2682,2687,2693,2698,2701,2706],{"type":26,"tag":27,"props":1840,"children":1841},{},[1842],{"type":31,"value":1843},"“Cursor 和 Copilot 到底有什么区别？”",{"type":26,"tag":27,"props":1845,"children":1846},{},[1847],{"type":31,"value":1848},"这个问题问得越早越好，因为你一旦把工具选错，后面所有痛苦都不是“提示词不够好”，而是：",{"type":26,"tag":34,"props":1850,"children":1851},{},[1852,1857,1862],{"type":26,"tag":38,"props":1853,"children":1854},{},[1855],{"type":31,"value":1856},"改动不可控（范围漂移、改错文件）",{"type":26,"tag":38,"props":1858,"children":1859},{},[1860],{"type":31,"value":1861},"验收成本爆炸（不知道要测什么）",{"type":26,"tag":38,"props":1863,"children":1864},{},[1865],{"type":31,"value":1866},"团队协作崩盘（没有闸门、没有回滚）",{"type":26,"tag":27,"props":1868,"children":1869},{},[1870],{"type":31,"value":1871},"这篇文章用一张选择矩阵 + 一套可执行工作流，帮你做到两件事：",{"type":26,"tag":175,"props":1873,"children":1874},{},[1875,1880],{"type":26,"tag":38,"props":1876,"children":1877},{},[1878],{"type":31,"value":1879},"知道什么时候用 Cursor、什么时候用 Copilot、什么时候“纯 VS Code 更快”",{"type":26,"tag":38,"props":1881,"children":1882},{},[1883,1885],{"type":31,"value":1884},"就算用 AI，也能把风险关在笼子里：",{"type":26,"tag":723,"props":1886,"children":1887},{},[1888],{"type":31,"value":1889},"可审查、可验证、可回滚",{"type":26,"tag":784,"props":1891,"children":1892},{},[],{"type":26,"tag":69,"props":1894,"children":1896},{"id":1895},"结论先说三者不是互斥而是分工",[1897],{"type":31,"value":1898},"结论先说：三者不是互斥，而是分工",{"type":26,"tag":27,"props":1900,"children":1901},{},[1902],{"type":31,"value":1903},"你可以把它们看成三层能力：",{"type":26,"tag":34,"props":1905,"children":1906},{},[1907,1916,1926],{"type":26,"tag":38,"props":1908,"children":1909},{},[1910,1914],{"type":26,"tag":723,"props":1911,"children":1912},{},[1913],{"type":31,"value":677},{"type":31,"value":1915},"：编辑器与生态（调试、插件、任务、终端、语言服务）",{"type":26,"tag":38,"props":1917,"children":1918},{},[1919,1924],{"type":26,"tag":723,"props":1920,"children":1921},{},[1922],{"type":31,"value":1923},"Copilot",{"type":31,"value":1925},"：代码补全与局部建议（“我正在写这一行/这一段”）",{"type":26,"tag":38,"props":1927,"children":1928},{},[1929,1933],{"type":26,"tag":723,"props":1930,"children":1931},{},[1932],{"type":31,"value":674},{"type":31,"value":1934},"：以项目为单位的 AI 协作（对话、索引、多文件编辑、规则）",{"type":26,"tag":27,"props":1936,"children":1937},{},[1938],{"type":31,"value":1939},"最常见的误区是：把“局部补全能力”当作“能做架构与多文件落地”。",{"type":26,"tag":784,"props":1941,"children":1942},{},[],{"type":26,"tag":69,"props":1944,"children":1946},{"id":1945},"选择矩阵按任务类型选工具不是按偏好",[1947],{"type":31,"value":1948},"选择矩阵：按任务类型选工具（不是按偏好）",{"type":26,"tag":1093,"props":1950,"children":1951},{},[1952],{"type":26,"tag":27,"props":1953,"children":1954},{},[1955],{"type":31,"value":1956},"你只要把自己的任务放进表格，就能得到推荐路径。",{"type":26,"tag":76,"props":1958,"children":1959},{},[1960,1991],{"type":26,"tag":80,"props":1961,"children":1962},{},[1963],{"type":26,"tag":84,"props":1964,"children":1965},{},[1966,1970,1976,1981,1986],{"type":26,"tag":88,"props":1967,"children":1968},{},[1969],{"type":31,"value":212},{"type":26,"tag":88,"props":1971,"children":1973},{"align":1972},"right",[1974],{"type":31,"value":1975},"风险",{"type":26,"tag":88,"props":1977,"children":1978},{"align":1972},[1979],{"type":31,"value":1980},"验收成本",{"type":26,"tag":88,"props":1982,"children":1983},{},[1984],{"type":31,"value":1985},"更推荐",{"type":26,"tag":88,"props":1987,"children":1988},{},[1989],{"type":31,"value":1990},"为什么",{"type":26,"tag":109,"props":1992,"children":1993},{},[1994,2021,2054,2080,2107,2134],{"type":26,"tag":84,"props":1995,"children":1996},{},[1997,2002,2007,2011,2016],{"type":26,"tag":116,"props":1998,"children":1999},{},[2000],{"type":31,"value":2001},"写一段代码/补一个 if",{"type":26,"tag":116,"props":2003,"children":2004},{"align":1972},[2005],{"type":31,"value":2006},"低",{"type":26,"tag":116,"props":2008,"children":2009},{"align":1972},[2010],{"type":31,"value":2006},{"type":26,"tag":116,"props":2012,"children":2013},{},[2014],{"type":31,"value":2015},"Copilot / Cursor 内联编辑",{"type":26,"tag":116,"props":2017,"children":2018},{},[2019],{"type":31,"value":2020},"局部建议足够，成本最低",{"type":26,"tag":84,"props":2022,"children":2023},{},[2024,2029,2034,2038,2049],{"type":26,"tag":116,"props":2025,"children":2026},{},[2027],{"type":31,"value":2028},"重构一个函数",{"type":26,"tag":116,"props":2030,"children":2031},{"align":1972},[2032],{"type":31,"value":2033},"中",{"type":26,"tag":116,"props":2035,"children":2036},{"align":1972},[2037],{"type":31,"value":2033},{"type":26,"tag":116,"props":2039,"children":2040},{},[2041,2043],{"type":31,"value":2042},"Cursor ",{"type":26,"tag":917,"props":2044,"children":2046},{"className":2045},[],[2047],{"type":31,"value":2048},"内联编辑",{"type":26,"tag":116,"props":2050,"children":2051},{},[2052],{"type":31,"value":2053},"需要解释、需要约束输出",{"type":26,"tag":84,"props":2055,"children":2056},{},[2057,2062,2066,2070,2075],{"type":26,"tag":116,"props":2058,"children":2059},{},[2060],{"type":31,"value":2061},"改一个组件 + 样式",{"type":26,"tag":116,"props":2063,"children":2064},{"align":1972},[2065],{"type":31,"value":2033},{"type":26,"tag":116,"props":2067,"children":2068},{"align":1972},[2069],{"type":31,"value":2033},{"type":26,"tag":116,"props":2071,"children":2072},{},[2073],{"type":31,"value":2074},"Cursor（小范围多文件）",{"type":26,"tag":116,"props":2076,"children":2077},{},[2078],{"type":31,"value":2079},"需要同时改模板与样式",{"type":26,"tag":84,"props":2081,"children":2082},{},[2083,2088,2093,2097,2102],{"type":26,"tag":116,"props":2084,"children":2085},{},[2086],{"type":31,"value":2087},"改 3~5 个文件（组件+api+测试）",{"type":26,"tag":116,"props":2089,"children":2090},{"align":1972},[2091],{"type":31,"value":2092},"高",{"type":26,"tag":116,"props":2094,"children":2095},{"align":1972},[2096],{"type":31,"value":2092},{"type":26,"tag":116,"props":2098,"children":2099},{},[2100],{"type":31,"value":2101},"Cursor Composer + 闸门",{"type":26,"tag":116,"props":2103,"children":2104},{},[2105],{"type":31,"value":2106},"需要计划、验收、回滚",{"type":26,"tag":84,"props":2108,"children":2109},{},[2110,2115,2120,2124,2129],{"type":26,"tag":116,"props":2111,"children":2112},{},[2113],{"type":31,"value":2114},"重写一段架构/引入新依赖",{"type":26,"tag":116,"props":2116,"children":2117},{"align":1972},[2118],{"type":31,"value":2119},"很高",{"type":26,"tag":116,"props":2121,"children":2122},{"align":1972},[2123],{"type":31,"value":2119},{"type":26,"tag":116,"props":2125,"children":2126},{},[2127],{"type":31,"value":2128},"先人脑设计 + VS Code 实现",{"type":26,"tag":116,"props":2130,"children":2131},{},[2132],{"type":31,"value":2133},"AI 易发散，最好先设计再执行",{"type":26,"tag":84,"props":2135,"children":2136},{},[2137,2142,2146,2150,2155],{"type":26,"tag":116,"props":2138,"children":2139},{},[2140],{"type":31,"value":2141},"排查线上问题/性能抖动",{"type":26,"tag":116,"props":2143,"children":2144},{"align":1972},[2145],{"type":31,"value":2092},{"type":26,"tag":116,"props":2147,"children":2148},{"align":1972},[2149],{"type":31,"value":2119},{"type":26,"tag":116,"props":2151,"children":2152},{},[2153],{"type":31,"value":2154},"VS Code + 工具链优先，AI 辅助归纳",{"type":26,"tag":116,"props":2156,"children":2157},{},[2158],{"type":31,"value":2159},"需要证据，不要“猜”",{"type":26,"tag":27,"props":2161,"children":2162},{},[2163],{"type":26,"tag":723,"props":2164,"children":2165},{},[2166],{"type":31,"value":2167},"一句话规则：",{"type":26,"tag":34,"props":2169,"children":2170},{},[2171,2176],{"type":26,"tag":38,"props":2172,"children":2173},{},[2174],{"type":31,"value":2175},"当你的改动可以用“10 条最小回归集”覆盖时，用 Cursor。",{"type":26,"tag":38,"props":2177,"children":2178},{},[2179],{"type":31,"value":2180},"当你的改动无法验证时，先别让 AI 动手。",{"type":26,"tag":784,"props":2182,"children":2183},{},[],{"type":26,"tag":69,"props":2185,"children":2187},{"id":2186},"差异拆解到底差在哪里",[2188],{"type":31,"value":2189},"差异拆解：到底差在哪里？",{"type":26,"tag":1111,"props":2191,"children":2193},{"id":2192},"_1-上下文来源补全-vs-项目索引",[2194],{"type":31,"value":2195},"1) 上下文来源：补全 vs 项目索引",{"type":26,"tag":34,"props":2197,"children":2198},{},[2199,2204],{"type":26,"tag":38,"props":2200,"children":2201},{},[2202],{"type":31,"value":2203},"Copilot 更擅长：你正在写的这几行、当前文件的局部上下文",{"type":26,"tag":38,"props":2205,"children":2206},{},[2207],{"type":31,"value":2208},"Cursor 更擅长：项目级索引 + 多文件关联理解",{"type":26,"tag":27,"props":2210,"children":2211},{},[2212],{"type":31,"value":2213},"因此：",{"type":26,"tag":34,"props":2215,"children":2216},{},[2217,2222],{"type":26,"tag":38,"props":2218,"children":2219},{},[2220],{"type":31,"value":2221},"写代码片段：Copilot 速度更快",{"type":26,"tag":38,"props":2223,"children":2224},{},[2225],{"type":31,"value":2226},"改一坨工程：Cursor 更有胜算（但更需要闸门）",{"type":26,"tag":1111,"props":2228,"children":2230},{"id":2229},"_2-交互方式你能不能控制范围",[2231],{"type":31,"value":2232},"2) 交互方式：你能不能控制范围",{"type":26,"tag":27,"props":2234,"children":2235},{},[2236],{"type":31,"value":2237},"范围控制的三个层级：",{"type":26,"tag":175,"props":2239,"children":2240},{},[2241,2251,2261],{"type":26,"tag":38,"props":2242,"children":2243},{},[2244,2246],{"type":31,"value":2245},"内联编辑（选中一段）→ ",{"type":26,"tag":723,"props":2247,"children":2248},{},[2249],{"type":31,"value":2250},"最强范围控制",{"type":26,"tag":38,"props":2252,"children":2253},{},[2254,2256],{"type":31,"value":2255},"Composer 多文件（先列文件清单）→ ",{"type":26,"tag":723,"props":2257,"children":2258},{},[2259],{"type":31,"value":2260},"可控但要闸门",{"type":26,"tag":38,"props":2262,"children":2263},{},[2264,2266],{"type":31,"value":2265},"大对话（泛目标）→ ",{"type":26,"tag":723,"props":2267,"children":2268},{},[2269],{"type":31,"value":2270},"最容易跑偏",{"type":26,"tag":1111,"props":2272,"children":2274},{"id":2273},"_3-输出形态建议-vs-可审查的变更",[2275],{"type":31,"value":2276},"3) 输出形态：建议 vs 可审查的变更",{"type":26,"tag":27,"props":2278,"children":2279},{},[2280],{"type":31,"value":2281},"最好的 AI 输出不是“给我一段代码”，而是：",{"type":26,"tag":34,"props":2283,"children":2284},{},[2285,2290,2295],{"type":26,"tag":38,"props":2286,"children":2287},{},[2288],{"type":31,"value":2289},"改动摘要（做了什么）",{"type":26,"tag":38,"props":2291,"children":2292},{},[2293],{"type":31,"value":2294},"diff 级别的可审查变更",{"type":26,"tag":38,"props":2296,"children":2297},{},[2298],{"type":31,"value":2299},"验收步骤与回滚方案",{"type":26,"tag":784,"props":2301,"children":2302},{},[],{"type":26,"tag":69,"props":2304,"children":2306},{"id":2305},"一套可落地的团队工作流把风险关住",[2307],{"type":31,"value":2308},"一套可落地的团队工作流（把风险关住）",{"type":26,"tag":27,"props":2310,"children":2311},{},[2312],{"type":31,"value":2313},"下面这套流程，你可以直接写进团队规范：",{"type":26,"tag":1111,"props":2315,"children":2317},{"id":2316},"step-1先写任务单geo-友好结构",[2318],{"type":31,"value":2319},"Step 1：先写任务单（GEO 友好结构）",{"type":26,"tag":27,"props":2321,"children":2322},{},[2323],{"type":31,"value":2324},"模板：",{"type":26,"tag":34,"props":2326,"children":2327},{},[2328,2333,2338,2343,2348,2353],{"type":26,"tag":38,"props":2329,"children":2330},{},[2331],{"type":31,"value":2332},"目标：……",{"type":26,"tag":38,"props":2334,"children":2335},{},[2336],{"type":31,"value":2337},"背景：……",{"type":26,"tag":38,"props":2339,"children":2340},{},[2341],{"type":31,"value":2342},"范围：只改这些文件/模块：……",{"type":26,"tag":38,"props":2344,"children":2345},{},[2346],{"type":31,"value":2347},"非目标：不做哪些事情：……",{"type":26,"tag":38,"props":2349,"children":2350},{},[2351],{"type":31,"value":2352},"验收：如何判断完成（可测试/可观察）：……",{"type":26,"tag":38,"props":2354,"children":2355},{},[2356],{"type":31,"value":2357},"回滚：如果失败怎么撤回：……",{"type":26,"tag":1111,"props":2359,"children":2361},{"id":2360},"step-2用范围闸门限制-ai",[2362],{"type":31,"value":2363},"Step 2：用“范围闸门”限制 AI",{"type":26,"tag":34,"props":2365,"children":2366},{},[2367,2372],{"type":26,"tag":38,"props":2368,"children":2369},{},[2370],{"type":31,"value":2371},"单文件改动：优先 Cursor 内联编辑",{"type":26,"tag":38,"props":2373,"children":2374},{},[2375],{"type":31,"value":2376},"多文件改动：必须先让 AI 输出“文件清单（≤5）+ 每步验收”",{"type":26,"tag":27,"props":2378,"children":2379},{},[2380],{"type":31,"value":2381},"如果 AI 输出的文件清单超过 5 个：",{"type":26,"tag":34,"props":2383,"children":2384},{},[2385,2390],{"type":26,"tag":38,"props":2386,"children":2387},{},[2388],{"type":31,"value":2389},"不是它太强，是任务太大",{"type":26,"tag":38,"props":2391,"children":2392},{},[2393],{"type":31,"value":2394},"你需要拆任务，而不是继续推进",{"type":26,"tag":1111,"props":2396,"children":2398},{"id":2397},"step-3最小回归集10-条",[2399],{"type":31,"value":2400},"Step 3：最小回归集（10 条）",{"type":26,"tag":27,"props":2402,"children":2403},{},[2404,2406,2411],{"type":31,"value":2405},"每次接受改动前必须跑（可参考：",{"type":26,"tag":623,"props":2407,"children":2408},{"href":669},[2409],{"type":31,"value":2410},"Cursor 快捷键速查表",{"type":31,"value":2412}," 里的清单）。",{"type":26,"tag":1111,"props":2414,"children":2416},{"id":2415},"step-4回滚策略不用等事故才想",[2417],{"type":31,"value":2418},"Step 4：回滚策略（不用等事故才想）",{"type":26,"tag":27,"props":2420,"children":2421},{},[2422],{"type":31,"value":2423},"回滚最常见的两条路：",{"type":26,"tag":34,"props":2425,"children":2426},{},[2427,2432],{"type":26,"tag":38,"props":2428,"children":2429},{},[2430],{"type":31,"value":2431},"git 回滚 commit",{"type":26,"tag":38,"props":2433,"children":2434},{},[2435],{"type":31,"value":2436},"对关键文件保留前版本（至少能快速恢复）",{"type":26,"tag":27,"props":2438,"children":2439},{},[2440],{"type":31,"value":2441},"你需要做到：任何一轮 AI 改动都能在 5 分钟内撤回。",{"type":26,"tag":784,"props":2443,"children":2444},{},[],{"type":26,"tag":69,"props":2446,"children":2448},{"id":2447},"必交付物对比矩阵可复制",[2449],{"type":31,"value":2450},"必交付物：对比矩阵（可复制）",{"type":26,"tag":27,"props":2452,"children":2453},{},[2454],{"type":31,"value":2455},"下面这张表可以直接贴到你的团队 wiki：",{"type":26,"tag":76,"props":2457,"children":2458},{},[2459,2482],{"type":26,"tag":80,"props":2460,"children":2461},{},[2462],{"type":26,"tag":84,"props":2463,"children":2464},{},[2465,2470,2474,2478],{"type":26,"tag":88,"props":2466,"children":2467},{},[2468],{"type":31,"value":2469},"维度",{"type":26,"tag":88,"props":2471,"children":2472},{},[2473],{"type":31,"value":677},{"type":26,"tag":88,"props":2475,"children":2476},{},[2477],{"type":31,"value":1923},{"type":26,"tag":88,"props":2479,"children":2480},{},[2481],{"type":31,"value":674},{"type":26,"tag":109,"props":2483,"children":2484},{},[2485,2508,2531,2554],{"type":26,"tag":84,"props":2486,"children":2487},{},[2488,2493,2498,2503],{"type":26,"tag":116,"props":2489,"children":2490},{},[2491],{"type":31,"value":2492},"强项",{"type":26,"tag":116,"props":2494,"children":2495},{},[2496],{"type":31,"value":2497},"工具链、调试、生态",{"type":26,"tag":116,"props":2499,"children":2500},{},[2501],{"type":31,"value":2502},"补全与局部建议",{"type":26,"tag":116,"props":2504,"children":2505},{},[2506],{"type":31,"value":2507},"项目上下文、多文件落地",{"type":26,"tag":84,"props":2509,"children":2510},{},[2511,2516,2521,2526],{"type":26,"tag":116,"props":2512,"children":2513},{},[2514],{"type":31,"value":2515},"适合任务",{"type":26,"tag":116,"props":2517,"children":2518},{},[2519],{"type":31,"value":2520},"排查、调试、验证",{"type":26,"tag":116,"props":2522,"children":2523},{},[2524],{"type":31,"value":2525},"写一段、补一段",{"type":26,"tag":116,"props":2527,"children":2528},{},[2529],{"type":31,"value":2530},"改一段、改一组文件",{"type":26,"tag":84,"props":2532,"children":2533},{},[2534,2539,2544,2549],{"type":26,"tag":116,"props":2535,"children":2536},{},[2537],{"type":31,"value":2538},"最大风险",{"type":26,"tag":116,"props":2540,"children":2541},{},[2542],{"type":31,"value":2543},"无",{"type":26,"tag":116,"props":2545,"children":2546},{},[2547],{"type":31,"value":2548},"过度依赖建议",{"type":26,"tag":116,"props":2550,"children":2551},{},[2552],{"type":31,"value":2553},"范围漂移、多文件回归",{"type":26,"tag":84,"props":2555,"children":2556},{},[2557,2562,2567,2572],{"type":26,"tag":116,"props":2558,"children":2559},{},[2560],{"type":31,"value":2561},"必须搭配",{"type":26,"tag":116,"props":2563,"children":2564},{},[2565],{"type":31,"value":2566},"规范与检查",{"type":26,"tag":116,"props":2568,"children":2569},{},[2570],{"type":31,"value":2571},"代码评审",{"type":26,"tag":116,"props":2573,"children":2574},{},[2575],{"type":31,"value":2576},"闸门 + 最小回归集",{"type":26,"tag":784,"props":2578,"children":2579},{},[],{"type":26,"tag":69,"props":2581,"children":2583},{"id":2582},"失败案例多文件看似成功实际埋雷",[2584],{"type":31,"value":2585},"失败案例：多文件“看似成功”，实际埋雷",{"type":26,"tag":27,"props":2587,"children":2588},{},[2589,2594],{"type":26,"tag":723,"props":2590,"children":2591},{},[2592],{"type":31,"value":2593},"现象",{"type":31,"value":2595},"：AI 说“我已经把所有地方都改了”，你也接受了，结果上线后 404 或样式错位。",{"type":26,"tag":27,"props":2597,"children":2598},{},[2599,2604],{"type":26,"tag":723,"props":2600,"children":2601},{},[2602],{"type":31,"value":2603},"复现条件",{"type":31,"value":1417},{"type":26,"tag":34,"props":2606,"children":2607},{},[2608,2613,2618],{"type":26,"tag":38,"props":2609,"children":2610},{},[2611],{"type":31,"value":2612},"你给了一个大目标（例如“把所有按钮统一成主题色”）",{"type":26,"tag":38,"props":2614,"children":2615},{},[2616],{"type":31,"value":2617},"它改了组件、样式、甚至主题配置",{"type":26,"tag":38,"props":2619,"children":2620},{},[2621],{"type":31,"value":2622},"你没有按页面模块走一遍，直接合并",{"type":26,"tag":27,"props":2624,"children":2625},{},[2626,2631],{"type":26,"tag":723,"props":2627,"children":2628},{},[2629],{"type":31,"value":2630},"根因",{"type":31,"value":1417},{"type":26,"tag":34,"props":2633,"children":2634},{},[2635],{"type":26,"tag":38,"props":2636,"children":2637},{},[2638],{"type":31,"value":2639},"改动范围大，但验收仍按“小改动”的方式做（只看一处）",{"type":26,"tag":27,"props":2641,"children":2642},{},[2643,2648],{"type":26,"tag":723,"props":2644,"children":2645},{},[2646],{"type":31,"value":2647},"修复",{"type":31,"value":1417},{"type":26,"tag":34,"props":2650,"children":2651},{},[2652,2657,2662],{"type":26,"tag":38,"props":2653,"children":2654},{},[2655],{"type":31,"value":2656},"强制把任务拆成“模块级目标”：Hero、Feature、Pricing、Form",{"type":26,"tag":38,"props":2658,"children":2659},{},[2660],{"type":31,"value":2661},"每个模块改完就验收一次",{"type":26,"tag":38,"props":2663,"children":2664},{},[2665],{"type":31,"value":2666},"验收通过再进入下一个模块",{"type":26,"tag":784,"props":2668,"children":2669},{},[],{"type":26,"tag":69,"props":2671,"children":2673},{"id":2672},"faq",[2674],{"type":31,"value":2675},"FAQ",{"type":26,"tag":1111,"props":2677,"children":2679},{"id":2678},"q1我已经用了-cursor为什么还要用-copilot",[2680],{"type":31,"value":2681},"Q1：我已经用了 Cursor，为什么还要用 Copilot？",{"type":26,"tag":27,"props":2683,"children":2684},{},[2685],{"type":31,"value":2686},"因为“补全”这种高频低风险任务，Copilot 的交互成本更低；Cursor 更适合需要解释与约束的改动。",{"type":26,"tag":1111,"props":2688,"children":2690},{"id":2689},"q2什么时候应该完全不用-ai",[2691],{"type":31,"value":2692},"Q2：什么时候应该完全不用 AI？",{"type":26,"tag":27,"props":2694,"children":2695},{},[2696],{"type":31,"value":2697},"当你无法定义验收标准时。比如“更高级”“更好看”这种目标，先做信息结构与设计规则，再让 AI 帮你落地局部。",{"type":26,"tag":784,"props":2699,"children":2700},{},[],{"type":26,"tag":69,"props":2702,"children":2704},{"id":2703},"延伸阅读",[2705],{"type":31,"value":2703},{"type":26,"tag":34,"props":2707,"children":2708},{},[2709,2718,2727,2736],{"type":26,"tag":38,"props":2710,"children":2711},{},[2712,2714],{"type":31,"value":2713},"Cursor 入门：",{"type":26,"tag":623,"props":2715,"children":2716},{"href":757},[2717],{"type":31,"value":760},{"type":26,"tag":38,"props":2719,"children":2720},{},[2721,2723],{"type":31,"value":2722},"Cursor 进阶：",{"type":26,"tag":623,"props":2724,"children":2725},{"href":768},[2726],{"type":31,"value":771},{"type":26,"tag":38,"props":2728,"children":2729},{},[2730,2732],{"type":31,"value":2731},"规则配置：",{"type":26,"tag":623,"props":2733,"children":2734},{"href":779},[2735],{"type":31,"value":782},{"type":26,"tag":38,"props":2737,"children":2738},{},[2739,2741],{"type":31,"value":2740},"Copilot 实战：",{"type":26,"tag":623,"props":2742,"children":2744},{"href":2743},"/topics/ai/github-copilot-tips",[2745],{"type":31,"value":2746},"GitHub Copilot 实用技巧",{"title":7,"searchDepth":648,"depth":648,"links":2748},[2749,2750,2751,2756,2762,2763,2764,2768],{"id":1895,"depth":651,"text":1898},{"id":1945,"depth":651,"text":1948},{"id":2186,"depth":651,"text":2189,"children":2752},[2753,2754,2755],{"id":2192,"depth":648,"text":2195},{"id":2229,"depth":648,"text":2232},{"id":2273,"depth":648,"text":2276},{"id":2305,"depth":651,"text":2308,"children":2757},[2758,2759,2760,2761],{"id":2316,"depth":648,"text":2319},{"id":2360,"depth":648,"text":2363},{"id":2397,"depth":648,"text":2400},{"id":2415,"depth":648,"text":2418},{"id":2447,"depth":651,"text":2450},{"id":2582,"depth":651,"text":2585},{"id":2672,"depth":651,"text":2675,"children":2765},[2766,2767],{"id":2678,"depth":648,"text":2681},{"id":2689,"depth":648,"text":2692},{"id":2703,"depth":651,"text":2703},"content:topics:ai:cursor-vs-copilot-vscode-workflow.md","topics/ai/cursor-vs-copilot-vscode-workflow.md","topics/ai/cursor-vs-copilot-vscode-workflow",{"_path":2773,"_dir":5,"_draft":6,"_partial":6,"_locale":7,"title":2774,"description":2775,"date":2776,"topic":5,"author":11,"tags":2777,"image":2782,"featured":561,"readingTime":1836,"body":2783,"_type":661,"_id":3432,"_source":663,"_file":3433,"_stem":3434,"_extension":666},"/topics/ai/ai-debugging-troubleshooting-guide","AI 辅助调试与问题排查：让 AI 成为你的调试搭档","深入探讨如何利用 AI 工具提升调试效率，包括错误信息分析、日志解读、性能问题定位、复杂 bug 排查等实战场景，构建 AI 驱动的调试工作流。","2026-01-18",[2778,2779,2780,678,2781],"AI 调试","问题排查","Debug","错误处理","/images/topics/ai/ai-debugging-guide.jpg",{"type":23,"children":2784,"toc":3403},[2785,2791,2797,2802,2807,2812,2818,2824,2829,2837,2865,2873,2896,2902,2913,2922,2930,2938,2971,2979,3009,3022,3030,3035,3043,3051,3062,3068,3076,3087,3095,3104,3110,3116,3121,3130,3136,3141,3150,3156,3162,3171,3177,3186,3192,3203,3209,3215,3224,3230,3239,3245,3251,3259,3265,3274,3282,3290,3293,3299,3304,3323,3335,3338,3344,3349,3358,3363,3366,3372,3377,3395],{"type":26,"tag":69,"props":2786,"children":2788},{"id":2787},"ai-辅助调试与问题排查",[2789],{"type":31,"value":2790},"AI 辅助调试与问题排查",{"type":26,"tag":69,"props":2792,"children":2794},{"id":2793},"引言调试的痛与-ai-的解药",[2795],{"type":31,"value":2796},"引言：调试的痛与 AI 的解药",{"type":26,"tag":27,"props":2798,"children":2799},{},[2800],{"type":31,"value":2801},"调试是每个程序员的日常，也是最消耗时间和精力的工作之一。我们都有过这样的经历：盯着一个莫名其妙的错误信息，翻遍 Stack Overflow，尝试各种方案，几个小时后才发现是一个愚蠢的拼写错误。",{"type":26,"tag":27,"props":2803,"children":2804},{},[2805],{"type":31,"value":2806},"AI 工具的出现，正在改变调试的方式。不是替代你的思考，而是加速你的分析过程——帮你快速理解错误、缩小排查范围、验证假设。",{"type":26,"tag":27,"props":2808,"children":2809},{},[2810],{"type":31,"value":2811},"这篇文章分享我在实际项目中使用 AI 辅助调试的经验和方法论。",{"type":26,"tag":69,"props":2813,"children":2815},{"id":2814},"第一部分建立-ai-调试的思维模型",[2816],{"type":31,"value":2817},"第一部分：建立 AI 调试的思维模型",{"type":26,"tag":1111,"props":2819,"children":2821},{"id":2820},"_11-ai-在调试中的角色",[2822],{"type":31,"value":2823},"1.1 AI 在调试中的角色",{"type":26,"tag":27,"props":2825,"children":2826},{},[2827],{"type":31,"value":2828},"把 AI 想象成一个经验丰富但不了解你项目的高级工程师。它：",{"type":26,"tag":27,"props":2830,"children":2831},{},[2832],{"type":26,"tag":723,"props":2833,"children":2834},{},[2835],{"type":31,"value":2836},"擅长的事情：",{"type":26,"tag":34,"props":2838,"children":2839},{},[2840,2845,2850,2855,2860],{"type":26,"tag":38,"props":2841,"children":2842},{},[2843],{"type":31,"value":2844},"解读错误信息的含义",{"type":26,"tag":38,"props":2846,"children":2847},{},[2848],{"type":31,"value":2849},"提供可能的原因列表",{"type":26,"tag":38,"props":2851,"children":2852},{},[2853],{"type":31,"value":2854},"给出排查方向建议",{"type":26,"tag":38,"props":2856,"children":2857},{},[2858],{"type":31,"value":2859},"解释复杂的技术概念",{"type":26,"tag":38,"props":2861,"children":2862},{},[2863],{"type":31,"value":2864},"生成调试代码片段",{"type":26,"tag":27,"props":2866,"children":2867},{},[2868],{"type":26,"tag":723,"props":2869,"children":2870},{},[2871],{"type":31,"value":2872},"不擅长的事情：",{"type":26,"tag":34,"props":2874,"children":2875},{},[2876,2881,2886,2891],{"type":26,"tag":38,"props":2877,"children":2878},{},[2879],{"type":31,"value":2880},"了解你的业务逻辑",{"type":26,"tag":38,"props":2882,"children":2883},{},[2884],{"type":31,"value":2885},"知道你的代码历史",{"type":26,"tag":38,"props":2887,"children":2888},{},[2889],{"type":31,"value":2890},"理解项目特定的约定",{"type":26,"tag":38,"props":2892,"children":2893},{},[2894],{"type":31,"value":2895},"做出架构级判断",{"type":26,"tag":1111,"props":2897,"children":2899},{"id":2898},"_12-有效提问的结构",[2900],{"type":31,"value":2901},"1.2 有效提问的结构",{"type":26,"tag":2903,"props":2904,"children":2908},"pre",{"code":2905,"language":661,"meta":7,"className":2906},"## 高效的调试提问模板\n\n**问题描述**\n[简洁描述遇到的问题]\n\n**错误信息**\n",[2907],"language-markdown",[2909],{"type":26,"tag":917,"props":2910,"children":2911},{"__ignoreMap":7},[2912],{"type":31,"value":2905},{"type":26,"tag":27,"props":2914,"children":2915},{},[2916],{"type":26,"tag":2917,"props":2918,"children":2919},"span",{},[2920],{"type":31,"value":2921},"完整的错误信息，不要截断",{"type":26,"tag":2903,"props":2923,"children":2925},{"code":2924},"\n**相关代码**\n```javascript\n[精简但完整的相关代码]\n",[2926],{"type":26,"tag":917,"props":2927,"children":2928},{"__ignoreMap":7},[2929],{"type":31,"value":2924},{"type":26,"tag":27,"props":2931,"children":2932},{},[2933],{"type":26,"tag":723,"props":2934,"children":2935},{},[2936],{"type":31,"value":2937},"环境信息",{"type":26,"tag":34,"props":2939,"children":2940},{},[2941,2951,2961],{"type":26,"tag":38,"props":2942,"children":2943},{},[2944,2946],{"type":31,"value":2945},"运行环境：",{"type":26,"tag":2917,"props":2947,"children":2948},{},[2949],{"type":31,"value":2950},"Node 版本/浏览器版本",{"type":26,"tag":38,"props":2952,"children":2953},{},[2954,2956],{"type":31,"value":2955},"框架版本：",{"type":26,"tag":2917,"props":2957,"children":2958},{},[2959],{"type":31,"value":2960},"相关框架版本",{"type":26,"tag":38,"props":2962,"children":2963},{},[2964,2966],{"type":31,"value":2965},"操作系统：",{"type":26,"tag":2917,"props":2967,"children":2968},{},[2969],{"type":31,"value":2970},"如果相关",{"type":26,"tag":27,"props":2972,"children":2973},{},[2974],{"type":26,"tag":723,"props":2975,"children":2976},{},[2977],{"type":31,"value":2978},"已尝试的方案",{"type":26,"tag":34,"props":2980,"children":2981},{},[2982,2996],{"type":26,"tag":38,"props":2983,"children":2984},{},[2985,2990,2991],{"type":26,"tag":2917,"props":2986,"children":2987},{},[2988],{"type":31,"value":2989},"方案1",{"type":31,"value":1417},{"type":26,"tag":2917,"props":2992,"children":2993},{},[2994],{"type":31,"value":2995},"结果",{"type":26,"tag":38,"props":2997,"children":2998},{},[2999,3004,3005],{"type":26,"tag":2917,"props":3000,"children":3001},{},[3002],{"type":31,"value":3003},"方案2",{"type":31,"value":1417},{"type":26,"tag":2917,"props":3006,"children":3007},{},[3008],{"type":31,"value":2995},{"type":26,"tag":27,"props":3010,"children":3011},{},[3012,3017],{"type":26,"tag":723,"props":3013,"children":3014},{},[3015],{"type":31,"value":3016},"期望的结果",{"type":26,"tag":2917,"props":3018,"children":3019},{},[3020],{"type":31,"value":3021},"描述期望的行为",{"type":26,"tag":2903,"props":3023,"children":3025},{"code":3024},"\n### 1.3 分级调试策略\n\n",[3026],{"type":26,"tag":917,"props":3027,"children":3028},{"__ignoreMap":7},[3029],{"type":31,"value":3024},{"type":26,"tag":27,"props":3031,"children":3032},{},[3033],{"type":31,"value":3034},"┌───────────────────────────────────────────────────────────┐\n│                    AI 辅助调试决策树                        │\n├───────────────────────────────────────────────────────────┤\n│                                                           │\n│  Level 1：简单错误（5分钟内解决）                           │\n│  ├── 语法错误、拼写错误                                    │\n│  ├── 方法：直接复制错误信息给 AI                           │\n│  └── 工具：Copilot Chat / ChatGPT                        │\n│                                                           │\n│  Level 2：中等复杂度（30分钟内解决）                        │\n│  ├── 类型错误、逻辑错误、API 使用错误                      │\n│  ├── 方法：提供错误信息 + 相关代码 + 上下文                 │\n│  └── 工具：Cursor Chat / Claude                          │\n│                                                           │\n│  Level 3：复杂问题（需要深入分析）                          │\n│  ├── 竞态条件、内存泄漏、性能问题                          │\n│  ├── 方法：详细描述场景 + 提供多个文件 + 讨论               │\n│  └── 工具：Cursor Composer / 专门的 AI 会话                │\n│                                                           │\n│  Level 4：架构级问题                                       │\n│  ├── 设计缺陷、技术债务                                    │\n│  ├── 方法：AI 辅助分析 + 人工判断                          │\n│  └── 工具：与团队讨论 + AI 作为顾问                        │\n│                                                           │\n└───────────────────────────────────────────────────────────┘",{"type":26,"tag":2903,"props":3036,"children":3038},{"code":3037},"\n## 第二部分：错误信息分析\n\n### 2.1 前端错误分析\n\n**场景 1：React 错误边界触发**\n\n```typescript\n// 错误信息：\n// Error: Hydration failed because the initial UI does not match \n// what was rendered on the server.\n\n// 提问方式：\n/**\n * 我在 Next.js 14 App Router 项目中遇到这个错误：\n * \n * Error: Hydration failed because the initial UI does not match \n * what was rendered on the server.\n * \n * 相关代码：\n */\nfunction UserStatus() {\n  const [isLoggedIn, setIsLoggedIn] = useState(false);\n  \n  useEffect(() => {\n    setIsLoggedIn(localStorage.getItem('token') !== null);\n  }, []);\n  \n  return \u003Cdiv>{isLoggedIn ? '已登录' : '未登录'}\u003C/div>;\n}\n\n// AI 会分析出：\n// 1. 服务端渲染时 localStorage 不可用，默认 false\n// 2. 客户端 hydration 时可能是 true\n// 3. 导致服务端和客户端渲染结果不一致\n\n// AI 建议的解决方案：\nfunction UserStatus() {\n  const [isLoggedIn, setIsLoggedIn] = useState\u003Cboolean | null>(null);\n  \n  useEffect(() => {\n    setIsLoggedIn(localStorage.getItem('token') !== null);\n  }, []);\n  \n  // 初始状态显示加载中，避免 hydration 不匹配\n  if (isLoggedIn === null) {\n    return \u003Cdiv>加载中...\u003C/div>;\n  }\n  \n  return \u003Cdiv>{isLoggedIn ? '已登录' : '未登录'}\u003C/div>;\n}\n",[3039],{"type":26,"tag":917,"props":3040,"children":3041},{"__ignoreMap":7},[3042],{"type":31,"value":3037},{"type":26,"tag":27,"props":3044,"children":3045},{},[3046],{"type":26,"tag":723,"props":3047,"children":3048},{},[3049],{"type":31,"value":3050},"场景 2：Vue 响应式警告",{"type":26,"tag":2903,"props":3052,"children":3057},{"code":3053,"language":3054,"meta":7,"className":3055},"// 警告信息：\n// [Vue warn]: Property \"xxx\" was accessed during render but is not \n// defined on instance.\n\n// 提问方式：\n/**\n * Vue 3 项目中出现这个警告：\n * [Vue warn]: Property \"userInfo\" was accessed during render \n * but is not defined on instance.\n * \n * 组件代码：\n */\n\u003Ctemplate>\n  \u003Cdiv>{{ userInfo.name }}\u003C/div>\n\u003C/template>\n\n\u003Cscript setup>\nconst { data: userInfo } = await useFetch('/api/user');\n\u003C/script>\n\n// AI 分析：\n// 1. useFetch 是异步的，初始渲染时 userInfo 可能是 undefined\n// 2. 直接访问 userInfo.name 会报错\n\n// AI 建议：\n\u003Ctemplate>\n  \u003Cdiv v-if=\"userInfo\">{{ userInfo.name }}\u003C/div>\n  \u003Cdiv v-else>加载中...\u003C/div>\n\u003C/template>\n\n\u003Cscript setup>\nconst { data: userInfo, pending } = await useFetch('/api/user');\n\u003C/script>\n","typescript",[3056],"language-typescript",[3058],{"type":26,"tag":917,"props":3059,"children":3060},{"__ignoreMap":7},[3061],{"type":31,"value":3053},{"type":26,"tag":1111,"props":3063,"children":3065},{"id":3064},"_22-后端错误分析",[3066],{"type":31,"value":3067},"2.2 后端错误分析",{"type":26,"tag":27,"props":3069,"children":3070},{},[3071],{"type":26,"tag":723,"props":3072,"children":3073},{},[3074],{"type":31,"value":3075},"场景 1：Node.js 内存问题",{"type":26,"tag":2903,"props":3077,"children":3082},{"code":3078,"language":3079,"meta":7,"className":3080},"// 错误信息：\n// FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - \n// JavaScript heap out of memory\n\n// 提问方式（包含上下文）：\n/**\n * Node.js 服务运行几小时后崩溃，错误信息：\n * FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - \n * JavaScript heap out of memory\n * \n * 服务功能：处理 CSV 文件上传，每次约 100MB\n * \n * 处理代码：\n */\nasync function processCSV(filePath) {\n  const content = fs.readFileSync(filePath, 'utf-8');\n  const rows = content.split('\\n');\n  const results = [];\n  \n  for (const row of rows) {\n    const processed = await processRow(row);\n    results.push(processed);\n  }\n  \n  return results;\n}\n\n// AI 分析会指出：\n// 1. 一次性读取整个文件到内存\n// 2. 所有处理结果累积在 results 数组\n// 3. 建议使用流式处理\n\n// AI 提供的优化方案：\nconst { createReadStream } = require('fs');\nconst { createInterface } = require('readline');\n\nasync function processCSVStream(filePath, onRow) {\n  const fileStream = createReadStream(filePath);\n  const rl = createInterface({\n    input: fileStream,\n    crlfDelay: Infinity\n  });\n  \n  let count = 0;\n  for await (const line of rl) {\n    await onRow(line);\n    count++;\n    \n    // 每处理 1000 行，给 GC 机会运行\n    if (count % 1000 === 0) {\n      await new Promise(r => setImmediate(r));\n    }\n  }\n}\n","javascript",[3081],"language-javascript",[3083],{"type":26,"tag":917,"props":3084,"children":3085},{"__ignoreMap":7},[3086],{"type":31,"value":3078},{"type":26,"tag":27,"props":3088,"children":3089},{},[3090],{"type":26,"tag":723,"props":3091,"children":3092},{},[3093],{"type":31,"value":3094},"场景 2：数据库连接问题",{"type":26,"tag":2903,"props":3096,"children":3099},{"code":3097,"language":3054,"meta":7,"className":3098},"// 错误信息：\n// Error: Connection pool exhausted - \n// max connections (10) already in use\n\n// 提问方式：\n/**\n * PostgreSQL 连接池耗尽错误，高并发时出现：\n * Error: Connection pool exhausted\n * \n * 当前配置：\n * - max connections: 10\n * - 并发请求: 约 100/秒\n * \n * 数据库调用代码：\n */\nasync function getUserData(userId: string) {\n  const client = await pool.connect();\n  try {\n    const user = await client.query('SELECT * FROM users WHERE id = $1', [userId]);\n    const orders = await client.query('SELECT * FROM orders WHERE user_id = $1', [userId]);\n    const payments = await client.query('SELECT * FROM payments WHERE user_id = $1', [userId]);\n    return { user: user.rows[0], orders: orders.rows, payments: payments.rows };\n  } finally {\n    client.release();\n  }\n}\n\n// AI 会分析出多个可能原因并给出综合方案\n",[3056],[3100],{"type":26,"tag":917,"props":3101,"children":3102},{"__ignoreMap":7},[3103],{"type":31,"value":3097},{"type":26,"tag":69,"props":3105,"children":3107},{"id":3106},"第三部分日志分析与问题定位",[3108],{"type":31,"value":3109},"第三部分：日志分析与问题定位",{"type":26,"tag":1111,"props":3111,"children":3113},{"id":3112},"_31-结构化日志分析",[3114],{"type":31,"value":3115},"3.1 结构化日志分析",{"type":26,"tag":27,"props":3117,"children":3118},{},[3119],{"type":31,"value":3120},"当面对大量日志时，让 AI 帮你快速定位问题：",{"type":26,"tag":2903,"props":3122,"children":3125},{"code":3123,"language":3079,"meta":7,"className":3124},"// 提问示例：\n/**\n * 分析以下日志，找出导致请求失败的原因：\n * \n * 日志片段：\n */\nconst logs = `\n2024-01-15 10:23:45.123 INFO  [req-abc123] 收到请求 POST /api/order\n2024-01-15 10:23:45.125 DEBUG [req-abc123] 用户认证通过 userId=u001\n2024-01-15 10:23:45.130 DEBUG [req-abc123] 开始库存检查 productId=p001\n2024-01-15 10:23:45.145 DEBUG [req-abc123] 库存检查通过 available=50\n2024-01-15 10:23:45.150 DEBUG [req-abc123] 开始创建订单\n2024-01-15 10:23:45.200 DEBUG [req-abc123] 数据库连接获取成功\n2024-01-15 10:23:45.250 ERROR [req-abc123] 订单创建失败 error=\"deadlock detected\"\n2024-01-15 10:23:45.251 WARN  [req-abc123] 事务回滚\n2024-01-15 10:23:45.255 INFO  [req-abc123] 响应 500 耗时 132ms\n`;\n\n// AI 分析结果会包括：\n// 1. 问题定位：数据库死锁\n// 2. 可能原因：并发订单创建导致锁竞争\n// 3. 排查建议：检查事务隔离级别、锁顺序\n",[3081],[3126],{"type":26,"tag":917,"props":3127,"children":3128},{"__ignoreMap":7},[3129],{"type":31,"value":3123},{"type":26,"tag":1111,"props":3131,"children":3133},{"id":3132},"_32-创建调试日志",[3134],{"type":31,"value":3135},"3.2 创建调试日志",{"type":26,"tag":27,"props":3137,"children":3138},{},[3139],{"type":31,"value":3140},"让 AI 帮你生成调试用的日志代码：",{"type":26,"tag":2903,"props":3142,"children":3145},{"code":3143,"language":3054,"meta":7,"className":3144},"// 请求：\n// \"为这个函数添加详细的调试日志，包括入参、关键步骤、耗时和结果\"\n\n// 原代码：\nasync function processOrder(order: Order): Promise\u003COrderResult> {\n  const inventory = await checkInventory(order.items);\n  const payment = await processPayment(order.userId, order.total);\n  const result = await createOrder(order, payment.transactionId);\n  return result;\n}\n\n// AI 生成的带日志版本：\nasync function processOrder(order: Order): Promise\u003COrderResult> {\n  const requestId = generateRequestId();\n  const startTime = performance.now();\n  \n  logger.info({\n    requestId,\n    event: 'order_processing_start',\n    orderId: order.id,\n    userId: order.userId,\n    itemCount: order.items.length,\n    total: order.total\n  });\n  \n  try {\n    // 库存检查\n    const inventoryStart = performance.now();\n    const inventory = await checkInventory(order.items);\n    logger.debug({\n      requestId,\n      event: 'inventory_check_complete',\n      duration: performance.now() - inventoryStart,\n      available: inventory.allAvailable\n    });\n    \n    // 支付处理\n    const paymentStart = performance.now();\n    const payment = await processPayment(order.userId, order.total);\n    logger.debug({\n      requestId,\n      event: 'payment_complete',\n      duration: performance.now() - paymentStart,\n      transactionId: payment.transactionId\n    });\n    \n    // 创建订单\n    const createStart = performance.now();\n    const result = await createOrder(order, payment.transactionId);\n    logger.debug({\n      requestId,\n      event: 'order_created',\n      duration: performance.now() - createStart,\n      resultOrderId: result.orderId\n    });\n    \n    logger.info({\n      requestId,\n      event: 'order_processing_complete',\n      duration: performance.now() - startTime,\n      success: true\n    });\n    \n    return result;\n  } catch (error) {\n    logger.error({\n      requestId,\n      event: 'order_processing_failed',\n      duration: performance.now() - startTime,\n      error: error.message,\n      stack: error.stack\n    });\n    throw error;\n  }\n}\n",[3056],[3146],{"type":26,"tag":917,"props":3147,"children":3148},{"__ignoreMap":7},[3149],{"type":31,"value":3143},{"type":26,"tag":69,"props":3151,"children":3153},{"id":3152},"第四部分性能问题排查",[3154],{"type":31,"value":3155},"第四部分：性能问题排查",{"type":26,"tag":1111,"props":3157,"children":3159},{"id":3158},"_41-前端性能分析",[3160],{"type":31,"value":3161},"4.1 前端性能分析",{"type":26,"tag":2903,"props":3163,"children":3166},{"code":3164,"language":3054,"meta":7,"className":3165},"// 场景：页面加载慢，需要分析原因\n\n// 提问方式：\n/**\n * 页面首屏加载需要 5 秒，以下是 Performance API 数据，\n * 请分析性能瓶颈：\n */\nconst performanceData = {\n  // Navigation Timing\n  dns: 50,           // DNS 查询\n  tcp: 100,          // TCP 连接\n  ttfb: 800,         // 首字节时间\n  download: 200,     // 文档下载\n  domParsing: 300,   // DOM 解析\n  domContentLoaded: 1500,\n  load: 5000,\n  \n  // Resource Timing (主要资源)\n  resources: [\n    { name: 'main.js', size: '2.5MB', duration: 1200 },\n    { name: 'vendor.js', size: '1.8MB', duration: 900 },\n    { name: 'styles.css', size: '500KB', duration: 300 },\n    { name: 'hero-image.jpg', size: '3MB', duration: 1500 },\n  ],\n  \n  // Long Tasks\n  longTasks: [\n    { startTime: 1600, duration: 800, name: 'script-evaluation' },\n    { startTime: 2500, duration: 400, name: 'layout' }\n  ]\n};\n\n// AI 会分析出：\n// 1. JS bundle 过大（4.3MB），需要代码分割\n// 2. 图片未优化（3MB 的 hero 图片）\n// 3. 存在长任务阻塞主线程\n// 并给出具体优化建议\n",[3056],[3167],{"type":26,"tag":917,"props":3168,"children":3169},{"__ignoreMap":7},[3170],{"type":31,"value":3164},{"type":26,"tag":1111,"props":3172,"children":3174},{"id":3173},"_42-内存泄漏排查",[3175],{"type":31,"value":3176},"4.2 内存泄漏排查",{"type":26,"tag":2903,"props":3178,"children":3181},{"code":3179,"language":3054,"meta":7,"className":3180},"// 场景：应用运行一段时间后变卡\n\n// 提问方式：\n/**\n * React 应用运行一段时间后内存持续增长，以下是 Heap Snapshot 对比：\n * \n * 初始状态：50MB\n * 运行 1 小时后：150MB\n * 运行 2 小时后：280MB\n * \n * Retained objects 增长最快的：\n * - (closure) - 增长 50MB\n * - HTMLDivElement - 增长 30MB\n * - Array - 增长 20MB\n * \n * 可疑代码：\n */\nfunction DataDashboard() {\n  const [data, setData] = useState([]);\n  const chartRef = useRef(null);\n  \n  useEffect(() => {\n    // 每秒刷新数据\n    const interval = setInterval(async () => {\n      const newData = await fetchLatestData();\n      setData(prev => [...prev, ...newData]);  // 数据不断累积\n    }, 1000);\n    \n    // 初始化图表\n    const chart = new Chart(chartRef.current, {\n      // 配置...\n    });\n    \n    // 没有 cleanup！\n  }, []);\n  \n  return \u003Ccanvas ref={chartRef} />;\n}\n\n// AI 会指出：\n// 1. interval 没有清理\n// 2. Chart 实例没有销毁\n// 3. data 无限增长\n// 并提供修复代码\n",[3056],[3182],{"type":26,"tag":917,"props":3183,"children":3184},{"__ignoreMap":7},[3185],{"type":31,"value":3179},{"type":26,"tag":1111,"props":3187,"children":3189},{"id":3188},"_43-数据库查询优化",[3190],{"type":31,"value":3191},"4.3 数据库查询优化",{"type":26,"tag":2903,"props":3193,"children":3198},{"code":3194,"language":3195,"meta":7,"className":3196},"-- 场景：查询很慢，让 AI 分析执行计划\n\n-- 提问方式：\n-- 以下查询在数据量大时很慢（orders 表 1000 万行），\n-- 执行计划如下，请分析并优化：\n\nEXPLAIN ANALYZE\nSELECT o.*, u.name, u.email\nFROM orders o\nJOIN users u ON o.user_id = u.id\nWHERE o.status = 'pending'\n  AND o.created_at > '2024-01-01'\nORDER BY o.created_at DESC\nLIMIT 20;\n\n-- 执行计划：\n/*\nSort  (cost=156847.23..157847.23 rows=400000 width=250)\n  Sort Key: o.created_at DESC\n  ->  Hash Join  (cost=1500.00..89847.23 rows=400000 width=250)\n        Hash Cond: (o.user_id = u.id)\n        ->  Seq Scan on orders o  (cost=0.00..85000.00 rows=400000)\n              Filter: ((status = 'pending') AND (created_at > '2024-01-01'))\n        ->  Hash  (cost=1000.00..1000.00 rows=50000 width=100)\n              ->  Seq Scan on users u  (cost=0.00..1000.00 rows=50000)\nPlanning Time: 0.5 ms\nExecution Time: 3500 ms\n*/\n\n-- AI 会分析出问题并建议：\n-- 1. orders 表全表扫描 - 需要复合索引\n-- 2. 建议创建索引：\nCREATE INDEX idx_orders_status_created ON orders(status, created_at DESC);\n\n-- 3. 如果 status 选择性不高，考虑部分索引：\nCREATE INDEX idx_orders_pending ON orders(created_at DESC) \nWHERE status = 'pending';\n","sql",[3197],"language-sql",[3199],{"type":26,"tag":917,"props":3200,"children":3201},{"__ignoreMap":7},[3202],{"type":31,"value":3194},{"type":26,"tag":69,"props":3204,"children":3206},{"id":3205},"第五部分复杂-bug-排查",[3207],{"type":31,"value":3208},"第五部分：复杂 Bug 排查",{"type":26,"tag":1111,"props":3210,"children":3212},{"id":3211},"_51-竞态条件",[3213],{"type":31,"value":3214},"5.1 竞态条件",{"type":26,"tag":2903,"props":3216,"children":3219},{"code":3217,"language":3054,"meta":7,"className":3218},"// 场景：偶发的数据不一致问题\n\n// 提问方式：\n/**\n * 用户反馈偶尔看到错误的账户余额，但刷新后正常。\n * 怀疑是竞态条件，以下是相关代码：\n */\nasync function updateBalance(userId: string, amount: number) {\n  // 读取当前余额\n  const user = await db.users.findOne({ id: userId });\n  const newBalance = user.balance + amount;\n  \n  // 更新余额\n  await db.users.update({ id: userId }, { balance: newBalance });\n  \n  // 记录交易\n  await db.transactions.create({\n    userId,\n    amount,\n    balanceAfter: newBalance,\n    createdAt: new Date()\n  });\n  \n  return newBalance;\n}\n\n// 并发调用场景：\n// 用户同时发起两笔交易：+100 和 -50\n// 期望结果：原余额 1000 → 1050\n// 实际可能：原余额 1000 → 1100 或 950\n\n// AI 会分析竞态条件并提供解决方案：\nasync function updateBalanceAtomic(userId: string, amount: number) {\n  // 方案 1：使用数据库原子操作\n  const result = await db.users.findOneAndUpdate(\n    { id: userId },\n    { $inc: { balance: amount } },\n    { returnDocument: 'after' }\n  );\n  \n  await db.transactions.create({\n    userId,\n    amount,\n    balanceAfter: result.balance,\n    createdAt: new Date()\n  });\n  \n  return result.balance;\n}\n\n// 方案 2：使用乐观锁\nasync function updateBalanceOptimistic(userId: string, amount: number) {\n  const maxRetries = 3;\n  \n  for (let i = 0; i \u003C maxRetries; i++) {\n    const user = await db.users.findOne({ id: userId });\n    const newBalance = user.balance + amount;\n    \n    const updated = await db.users.updateOne(\n      { id: userId, version: user.version },\n      { balance: newBalance, version: user.version + 1 }\n    );\n    \n    if (updated.modifiedCount === 1) {\n      await db.transactions.create({...});\n      return newBalance;\n    }\n    \n    // 版本冲突，重试\n    await sleep(10 * (i + 1));\n  }\n  \n  throw new Error('Update failed after retries');\n}\n",[3056],[3220],{"type":26,"tag":917,"props":3221,"children":3222},{"__ignoreMap":7},[3223],{"type":31,"value":3217},{"type":26,"tag":1111,"props":3225,"children":3227},{"id":3226},"_52-分布式系统问题",[3228],{"type":31,"value":3229},"5.2 分布式系统问题",{"type":26,"tag":2903,"props":3231,"children":3234},{"code":3232,"language":3054,"meta":7,"className":3233},"// 场景：微服务间的数据不一致\n\n// 提问方式：\n/**\n * 订单服务和库存服务偶尔出现数据不一致：\n * - 订单显示已创建\n * - 库存未扣减\n * \n * 当前流程：\n */\n// Order Service\nasync function createOrder(orderData) {\n  // 1. 调用库存服务扣减库存\n  await inventoryService.deduct(orderData.items);\n  \n  // 2. 创建订单\n  const order = await orderRepository.create(orderData);\n  \n  // 3. 发送订单创建事件\n  await eventBus.publish('order.created', order);\n  \n  return order;\n}\n\n// 问题分析：如果步骤 2 或 3 失败，库存已经扣减但订单未创建\n\n// AI 会建议使用 Saga 模式或事务发件箱模式\n",[3056],[3235],{"type":26,"tag":917,"props":3236,"children":3237},{"__ignoreMap":7},[3238],{"type":31,"value":3232},{"type":26,"tag":69,"props":3240,"children":3242},{"id":3241},"第六部分ai-调试工作流",[3243],{"type":31,"value":3244},"第六部分：AI 调试工作流",{"type":26,"tag":1111,"props":3246,"children":3248},{"id":3247},"_61-我的调试流程",[3249],{"type":31,"value":3250},"6.1 我的调试流程",{"type":26,"tag":2903,"props":3252,"children":3254},{"code":3253},"┌────────────────────────────────────────────────────────────┐\n│                    AI 辅助调试工作流                         │\n├────────────────────────────────────────────────────────────┤\n│                                                            │\n│  Step 1: 问题收集                                          │\n│  ├── 复制完整错误信息                                       │\n│  ├── 截图相关日志                                          │\n│  └── 记录复现步骤                                          │\n│                                                            │\n│  Step 2: 快速分析                                          │\n│  ├── 将错误信息发给 AI                                      │\n│  ├── 获取可能原因列表                                       │\n│  └── 评估哪些最可能                                         │\n│                                                            │\n│  Step 3: 深入调查                                          │\n│  ├── 根据 AI 建议添加日志/断点                              │\n│  ├── 收集更多信息                                          │\n│  └── 再次询问 AI（带新信息）                                │\n│                                                            │\n│  Step 4: 验证修复                                          │\n│  ├── AI 生成修复代码                                        │\n│  ├── 人工审查确认                                          │\n│  └── 测试验证                                               │\n│                                                            │\n│  Step 5: 预防措施                                          │\n│  ├── AI 建议类似问题的预防方法                              │\n│  ├── 添加相关测试用例                                       │\n│  └── 更新文档/知识库                                        │\n│                                                            │\n└────────────────────────────────────────────────────────────┘\n",[3255],{"type":26,"tag":917,"props":3256,"children":3257},{"__ignoreMap":7},[3258],{"type":31,"value":3253},{"type":26,"tag":1111,"props":3260,"children":3262},{"id":3261},"_62-调试对话模板",[3263],{"type":31,"value":3264},"6.2 调试对话模板",{"type":26,"tag":2903,"props":3266,"children":3269},{"code":3267,"language":661,"meta":7,"className":3268},"## 第一轮：问题描述\n\n我遇到了一个问题：[简述问题]\n\n错误信息：\n",[2907],[3270],{"type":26,"tag":917,"props":3271,"children":3272},{"__ignoreMap":7},[3273],{"type":31,"value":3267},{"type":26,"tag":27,"props":3275,"children":3276},{},[3277],{"type":26,"tag":2917,"props":3278,"children":3279},{},[3280],{"type":31,"value":3281},"粘贴完整错误",{"type":26,"tag":2903,"props":3283,"children":3285},{"code":3284},"\n相关代码：\n```javascript\n[粘贴代码]\n",[3286],{"type":26,"tag":917,"props":3287,"children":3288},{"__ignoreMap":7},[3289],{"type":31,"value":3284},{"type":26,"tag":784,"props":3291,"children":3292},{},[],{"type":26,"tag":69,"props":3294,"children":3296},{"id":3295},"第二轮补充信息",[3297],{"type":31,"value":3298},"第二轮：补充信息",{"type":26,"tag":27,"props":3300,"children":3301},{},[3302],{"type":31,"value":3303},"根据你的建议，我添加了日志，发现：",{"type":26,"tag":34,"props":3305,"children":3306},{},[3307,3315],{"type":26,"tag":38,"props":3308,"children":3309},{},[3310],{"type":26,"tag":2917,"props":3311,"children":3312},{},[3313],{"type":31,"value":3314},"发现 1",{"type":26,"tag":38,"props":3316,"children":3317},{},[3318],{"type":26,"tag":2917,"props":3319,"children":3320},{},[3321],{"type":31,"value":3322},"发现 2",{"type":26,"tag":27,"props":3324,"children":3325},{},[3326,3328,3333],{"type":31,"value":3327},"这是否说明问题出在 ",{"type":26,"tag":2917,"props":3329,"children":3330},{},[3331],{"type":31,"value":3332},"你的猜测",{"type":31,"value":3334},"？",{"type":26,"tag":784,"props":3336,"children":3337},{},[],{"type":26,"tag":69,"props":3339,"children":3341},{"id":3340},"第三轮确认修复",[3342],{"type":31,"value":3343},"第三轮：确认修复",{"type":26,"tag":27,"props":3345,"children":3346},{},[3347],{"type":31,"value":3348},"我按照你的建议修改了代码：",{"type":26,"tag":2903,"props":3350,"children":3353},{"code":3351,"language":3079,"meta":7,"className":3352},"[粘贴修改后的代码]\n",[3081],[3354],{"type":26,"tag":917,"props":3355,"children":3356},{"__ignoreMap":7},[3357],{"type":31,"value":3351},{"type":26,"tag":27,"props":3359,"children":3360},{},[3361],{"type":31,"value":3362},"请确认这个修复是否正确，以及是否有其他潜在问题。",{"type":26,"tag":784,"props":3364,"children":3365},{},[],{"type":26,"tag":69,"props":3367,"children":3369},{"id":3368},"第四轮预防",[3370],{"type":31,"value":3371},"第四轮：预防",{"type":26,"tag":27,"props":3373,"children":3374},{},[3375],{"type":31,"value":3376},"这个问题已解决。请建议：",{"type":26,"tag":175,"props":3378,"children":3379},{},[3380,3385,3390],{"type":26,"tag":38,"props":3381,"children":3382},{},[3383],{"type":31,"value":3384},"如何防止类似问题再次发生？",{"type":26,"tag":38,"props":3386,"children":3387},{},[3388],{"type":31,"value":3389},"应该添加什么测试用例？",{"type":26,"tag":38,"props":3391,"children":3392},{},[3393],{"type":31,"value":3394},"有什么最佳实践可以参考？",{"type":26,"tag":2903,"props":3396,"children":3398},{"code":3397},"\n## 结语：AI 是放大器，不是替代品\n\nAI 调试工具能够显著加速问题排查过程，但它不能替代你的思考。最有价值的能力组合是：\n\n- **你的领域知识** + **AI 的广博见识**\n- **你对项目的理解** + **AI 的分析能力**\n- **你的判断力** + **AI 的执行速度**\n\n调试的本质是假设-验证的循环。AI 帮你更快地生成假设、更高效地验证假设，但做出最终判断的还是你。\n\n学会与 AI 高效协作调试，不是依赖 AI 给你答案，而是让 AI 帮你更快地找到自己的答案。\n\n---\n\n## 参考资源\n\n- [Chrome DevTools 官方文档](https://developer.chrome.com/docs/devtools)\n- [Node.js 调试指南](https://nodejs.org/en/docs/guides/debugging-getting-started)\n- [React DevTools 使用指南](https://react.dev/learn/react-developer-tools)\n",[3399],{"type":26,"tag":917,"props":3400,"children":3401},{"__ignoreMap":7},[3402],{"type":31,"value":3397},{"title":7,"searchDepth":648,"depth":648,"links":3404},[3405,3406,3407,3412,3416,3421,3425,3429,3430,3431],{"id":2787,"depth":651,"text":2790},{"id":2793,"depth":651,"text":2796},{"id":2814,"depth":651,"text":2817,"children":3408},[3409,3410,3411],{"id":2820,"depth":648,"text":2823},{"id":2898,"depth":648,"text":2901},{"id":3064,"depth":648,"text":3067},{"id":3106,"depth":651,"text":3109,"children":3413},[3414,3415],{"id":3112,"depth":648,"text":3115},{"id":3132,"depth":648,"text":3135},{"id":3152,"depth":651,"text":3155,"children":3417},[3418,3419,3420],{"id":3158,"depth":648,"text":3161},{"id":3173,"depth":648,"text":3176},{"id":3188,"depth":648,"text":3191},{"id":3205,"depth":651,"text":3208,"children":3422},[3423,3424],{"id":3211,"depth":648,"text":3214},{"id":3226,"depth":648,"text":3229},{"id":3241,"depth":651,"text":3244,"children":3426},[3427,3428],{"id":3247,"depth":648,"text":3250},{"id":3261,"depth":648,"text":3264},{"id":3295,"depth":651,"text":3298},{"id":3340,"depth":651,"text":3343},{"id":3368,"depth":651,"text":3371},"content:topics:ai:ai-debugging-troubleshooting-guide.md","topics/ai/ai-debugging-troubleshooting-guide.md","topics/ai/ai-debugging-troubleshooting-guide",{"_path":4,"_dir":5,"_draft":6,"_partial":6,"_locale":7,"title":8,"description":9,"date":10,"topic":5,"author":11,"tags":3436,"image":17,"imageQuery":18,"pexelsPhotoId":19,"pexelsUrl":20,"featured":6,"readingTime":21,"body":3437,"_type":661,"_id":662,"_source":663,"_file":664,"_stem":665,"_extension":666},[13,14,15,16],{"type":23,"children":3438,"toc":3943},[3439,3443,3454,3458,3462,3466,3470,3474,3540,3544,3548,3552,3563,3567,3571,3635,3639,3643,3647,3651,3666,3670,3685,3689,3693,3712,3716,3720,3724,3793,3797,3801,3805,3824,3828,3832,3836,3855,3859,3863,3915,3919],{"type":26,"tag":27,"props":3440,"children":3441},{},[3442],{"type":31,"value":32},{"type":26,"tag":34,"props":3444,"children":3445},{},[3446,3450],{"type":26,"tag":38,"props":3447,"children":3448},{},[3449],{"type":31,"value":42},{"type":26,"tag":38,"props":3451,"children":3452},{},[3453],{"type":31,"value":47},{"type":26,"tag":27,"props":3455,"children":3456},{},[3457],{"type":31,"value":52},{"type":26,"tag":27,"props":3459,"children":3460},{},[3461],{"type":31,"value":57},{"type":26,"tag":27,"props":3463,"children":3464},{},[3465],{"type":31,"value":62},{"type":26,"tag":27,"props":3467,"children":3468},{},[3469],{"type":31,"value":67},{"type":26,"tag":69,"props":3471,"children":3472},{"id":71},[3473],{"type":31,"value":74},{"type":26,"tag":76,"props":3475,"children":3476},{},[3477,3499],{"type":26,"tag":80,"props":3478,"children":3479},{},[3480],{"type":26,"tag":84,"props":3481,"children":3482},{},[3483,3487,3491,3495],{"type":26,"tag":88,"props":3484,"children":3485},{},[3486],{"type":31,"value":92},{"type":26,"tag":88,"props":3488,"children":3489},{},[3490],{"type":31,"value":97},{"type":26,"tag":88,"props":3492,"children":3493},{},[3494],{"type":31,"value":102},{"type":26,"tag":88,"props":3496,"children":3497},{},[3498],{"type":31,"value":107},{"type":26,"tag":109,"props":3500,"children":3501},{},[3502,3521],{"type":26,"tag":84,"props":3503,"children":3504},{},[3505,3509,3513,3517],{"type":26,"tag":116,"props":3506,"children":3507},{},[3508],{"type":31,"value":120},{"type":26,"tag":116,"props":3510,"children":3511},{},[3512],{"type":31,"value":125},{"type":26,"tag":116,"props":3514,"children":3515},{},[3516],{"type":31,"value":130},{"type":26,"tag":116,"props":3518,"children":3519},{},[3520],{"type":31,"value":135},{"type":26,"tag":84,"props":3522,"children":3523},{},[3524,3528,3532,3536],{"type":26,"tag":116,"props":3525,"children":3526},{},[3527],{"type":31,"value":143},{"type":26,"tag":116,"props":3529,"children":3530},{},[3531],{"type":31,"value":148},{"type":26,"tag":116,"props":3533,"children":3534},{},[3535],{"type":31,"value":153},{"type":26,"tag":116,"props":3537,"children":3538},{},[3539],{"type":31,"value":158},{"type":26,"tag":27,"props":3541,"children":3542},{},[3543],{"type":31,"value":163},{"type":26,"tag":69,"props":3545,"children":3546},{"id":166},[3547],{"type":31,"value":166},{"type":26,"tag":27,"props":3549,"children":3550},{},[3551],{"type":31,"value":173},{"type":26,"tag":175,"props":3553,"children":3554},{},[3555,3559],{"type":26,"tag":38,"props":3556,"children":3557},{},[3558],{"type":31,"value":182},{"type":26,"tag":38,"props":3560,"children":3561},{},[3562],{"type":31,"value":187},{"type":26,"tag":27,"props":3564,"children":3565},{},[3566],{"type":31,"value":192},{"type":26,"tag":69,"props":3568,"children":3569},{"id":195},[3570],{"type":31,"value":198},{"type":26,"tag":76,"props":3572,"children":3573},{},[3574,3588],{"type":26,"tag":80,"props":3575,"children":3576},{},[3577],{"type":26,"tag":84,"props":3578,"children":3579},{},[3580,3584],{"type":26,"tag":88,"props":3581,"children":3582},{},[3583],{"type":31,"value":212},{"type":26,"tag":88,"props":3585,"children":3586},{},[3587],{"type":31,"value":217},{"type":26,"tag":109,"props":3589,"children":3590},{},[3591,3602,3613,3624],{"type":26,"tag":84,"props":3592,"children":3593},{},[3594,3598],{"type":26,"tag":116,"props":3595,"children":3596},{},[3597],{"type":31,"value":228},{"type":26,"tag":116,"props":3599,"children":3600},{},[3601],{"type":31,"value":120},{"type":26,"tag":84,"props":3603,"children":3604},{},[3605,3609],{"type":26,"tag":116,"props":3606,"children":3607},{},[3608],{"type":31,"value":240},{"type":26,"tag":116,"props":3610,"children":3611},{},[3612],{"type":31,"value":120},{"type":26,"tag":84,"props":3614,"children":3615},{},[3616,3620],{"type":26,"tag":116,"props":3617,"children":3618},{},[3619],{"type":31,"value":252},{"type":26,"tag":116,"props":3621,"children":3622},{},[3623],{"type":31,"value":143},{"type":26,"tag":84,"props":3625,"children":3626},{},[3627,3631],{"type":26,"tag":116,"props":3628,"children":3629},{},[3630],{"type":31,"value":264},{"type":26,"tag":116,"props":3632,"children":3633},{},[3634],{"type":31,"value":143},{"type":26,"tag":27,"props":3636,"children":3637},{},[3638],{"type":31,"value":273},{"type":26,"tag":69,"props":3640,"children":3641},{"id":276},[3642],{"type":31,"value":279},{"type":26,"tag":27,"props":3644,"children":3645},{},[3646],{"type":31,"value":284},{"type":26,"tag":27,"props":3648,"children":3649},{},[3650],{"type":31,"value":289},{"type":26,"tag":34,"props":3652,"children":3653},{},[3654,3658,3662],{"type":26,"tag":38,"props":3655,"children":3656},{},[3657],{"type":31,"value":297},{"type":26,"tag":38,"props":3659,"children":3660},{},[3661],{"type":31,"value":302},{"type":26,"tag":38,"props":3663,"children":3664},{},[3665],{"type":31,"value":307},{"type":26,"tag":69,"props":3667,"children":3668},{"id":310},[3669],{"type":31,"value":313},{"type":26,"tag":34,"props":3671,"children":3672},{},[3673,3677,3681],{"type":26,"tag":38,"props":3674,"children":3675},{},[3676],{"type":31,"value":321},{"type":26,"tag":38,"props":3678,"children":3679},{},[3680],{"type":31,"value":326},{"type":26,"tag":38,"props":3682,"children":3683},{},[3684],{"type":31,"value":331},{"type":26,"tag":27,"props":3686,"children":3687},{},[3688],{"type":31,"value":336},{"type":26,"tag":69,"props":3690,"children":3691},{"id":339},[3692],{"type":31,"value":339},{"type":26,"tag":34,"props":3694,"children":3695},{},[3696,3700,3704,3708],{"type":26,"tag":38,"props":3697,"children":3698},{},[3699],{"type":31,"value":349},{"type":26,"tag":38,"props":3701,"children":3702},{},[3703],{"type":31,"value":354},{"type":26,"tag":38,"props":3705,"children":3706},{},[3707],{"type":31,"value":359},{"type":26,"tag":38,"props":3709,"children":3710},{},[3711],{"type":31,"value":364},{"type":26,"tag":27,"props":3713,"children":3714},{},[3715],{"type":31,"value":369},{"type":26,"tag":69,"props":3717,"children":3718},{"id":372},[3719],{"type":31,"value":372},{"type":26,"tag":27,"props":3721,"children":3722},{},[3723],{"type":31,"value":379},{"type":26,"tag":76,"props":3725,"children":3726},{},[3727,3745],{"type":26,"tag":80,"props":3728,"children":3729},{},[3730],{"type":26,"tag":84,"props":3731,"children":3732},{},[3733,3737,3741],{"type":26,"tag":88,"props":3734,"children":3735},{},[3736],{"type":31,"value":393},{"type":26,"tag":88,"props":3738,"children":3739},{},[3740],{"type":31,"value":398},{"type":26,"tag":88,"props":3742,"children":3743},{},[3744],{"type":31,"value":403},{"type":26,"tag":109,"props":3746,"children":3747},{},[3748,3763,3778],{"type":26,"tag":84,"props":3749,"children":3750},{},[3751,3755,3759],{"type":26,"tag":116,"props":3752,"children":3753},{},[3754],{"type":31,"value":414},{"type":26,"tag":116,"props":3756,"children":3757},{},[3758],{"type":31,"value":419},{"type":26,"tag":116,"props":3760,"children":3761},{},[3762],{"type":31,"value":424},{"type":26,"tag":84,"props":3764,"children":3765},{},[3766,3770,3774],{"type":26,"tag":116,"props":3767,"children":3768},{},[3769],{"type":31,"value":432},{"type":26,"tag":116,"props":3771,"children":3772},{},[3773],{"type":31,"value":437},{"type":26,"tag":116,"props":3775,"children":3776},{},[3777],{"type":31,"value":442},{"type":26,"tag":84,"props":3779,"children":3780},{},[3781,3785,3789],{"type":26,"tag":116,"props":3782,"children":3783},{},[3784],{"type":31,"value":450},{"type":26,"tag":116,"props":3786,"children":3787},{},[3788],{"type":31,"value":455},{"type":26,"tag":116,"props":3790,"children":3791},{},[3792],{"type":31,"value":460},{"type":26,"tag":27,"props":3794,"children":3795},{},[3796],{"type":31,"value":465},{"type":26,"tag":69,"props":3798,"children":3799},{"id":468},[3800],{"type":31,"value":468},{"type":26,"tag":27,"props":3802,"children":3803},{},[3804],{"type":31,"value":475},{"type":26,"tag":34,"props":3806,"children":3807},{},[3808,3812,3816,3820],{"type":26,"tag":38,"props":3809,"children":3810},{},[3811],{"type":31,"value":483},{"type":26,"tag":38,"props":3813,"children":3814},{},[3815],{"type":31,"value":488},{"type":26,"tag":38,"props":3817,"children":3818},{},[3819],{"type":31,"value":493},{"type":26,"tag":38,"props":3821,"children":3822},{},[3823],{"type":31,"value":498},{"type":26,"tag":27,"props":3825,"children":3826},{},[3827],{"type":31,"value":503},{"type":26,"tag":69,"props":3829,"children":3830},{"id":506},[3831],{"type":31,"value":506},{"type":26,"tag":27,"props":3833,"children":3834},{},[3835],{"type":31,"value":513},{"type":26,"tag":175,"props":3837,"children":3838},{},[3839,3843,3847,3851],{"type":26,"tag":38,"props":3840,"children":3841},{},[3842],{"type":31,"value":521},{"type":26,"tag":38,"props":3844,"children":3845},{},[3846],{"type":31,"value":526},{"type":26,"tag":38,"props":3848,"children":3849},{},[3850],{"type":31,"value":531},{"type":26,"tag":38,"props":3852,"children":3853},{},[3854],{"type":31,"value":536},{"type":26,"tag":27,"props":3856,"children":3857},{},[3858],{"type":31,"value":541},{"type":26,"tag":69,"props":3860,"children":3861},{"id":544},[3862],{"type":31,"value":547},{"type":26,"tag":34,"props":3864,"children":3866},{"className":3865},[551],[3867,3875,3883,3891,3899,3907],{"type":26,"tag":38,"props":3868,"children":3870},{"className":3869},[556],[3871,3874],{"type":26,"tag":559,"props":3872,"children":3873},{"disabled":561,"type":562},[],{"type":31,"value":565},{"type":26,"tag":38,"props":3876,"children":3878},{"className":3877},[556],[3879,3882],{"type":26,"tag":559,"props":3880,"children":3881},{"disabled":561,"type":562},[],{"type":31,"value":574},{"type":26,"tag":38,"props":3884,"children":3886},{"className":3885},[556],[3887,3890],{"type":26,"tag":559,"props":3888,"children":3889},{"disabled":561,"type":562},[],{"type":31,"value":583},{"type":26,"tag":38,"props":3892,"children":3894},{"className":3893},[556],[3895,3898],{"type":26,"tag":559,"props":3896,"children":3897},{"disabled":561,"type":562},[],{"type":31,"value":592},{"type":26,"tag":38,"props":3900,"children":3902},{"className":3901},[556],[3903,3906],{"type":26,"tag":559,"props":3904,"children":3905},{"disabled":561,"type":562},[],{"type":31,"value":601},{"type":26,"tag":38,"props":3908,"children":3910},{"className":3909},[556],[3911,3914],{"type":26,"tag":559,"props":3912,"children":3913},{"disabled":561,"type":562},[],{"type":31,"value":610},{"type":26,"tag":27,"props":3916,"children":3917},{},[3918],{"type":31,"value":615},{"type":26,"tag":34,"props":3920,"children":3921},{},[3922,3929,3936],{"type":26,"tag":38,"props":3923,"children":3924},{},[3925],{"type":26,"tag":623,"props":3926,"children":3927},{"href":625},[3928],{"type":31,"value":628},{"type":26,"tag":38,"props":3930,"children":3931},{},[3932],{"type":26,"tag":623,"props":3933,"children":3934},{"href":634},[3935],{"type":31,"value":637},{"type":26,"tag":38,"props":3937,"children":3938},{},[3939],{"type":26,"tag":623,"props":3940,"children":3941},{"href":643},[3942],{"type":31,"value":646},{"title":7,"searchDepth":648,"depth":648,"links":3944},[3945,3946,3947,3948,3949,3950,3951,3952,3953,3954],{"id":71,"depth":651,"text":74},{"id":166,"depth":651,"text":166},{"id":195,"depth":651,"text":198},{"id":276,"depth":651,"text":279},{"id":310,"depth":651,"text":313},{"id":339,"depth":651,"text":339},{"id":372,"depth":651,"text":372},{"id":468,"depth":651,"text":468},{"id":506,"depth":651,"text":506},{"id":544,"depth":651,"text":547},1780533121687]