[{"data":1,"prerenderedAt":4569},["ShallowReactive",2],{"article-/topics/ai/ai-agent-evidence-provenance-trust-scoring":3,"related-ai":999,"content-query-i5lPWhQMtj":3767},{"_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":993,"_id":994,"_source":995,"_file":996,"_stem":997,"_extension":998},"/topics/ai/ai-agent-evidence-provenance-trust-scoring","ai",false,"","AI agent 证据来源与可信度分层：引用、过期、冲突和人工复核怎么做","AI agent 不是把检索结果拼起来就算有依据。本文讲清 evidence provenance、freshness、trust score 与冲突处理，让系统知道哪些证据该信、信到什么程度。","2026-05-10","HTMLPAGE 团队",[13,14,15,16],"AI agent","provenance","trust score","工程实践","/images/articles/ai-agent-evidence-provenance-trust-scoring-featured.jpg","document review analysis laptop office",8428063,"https://www.pexels.com/photo/person-using-a-laptop-8428063/",20,{"type":23,"children":24,"toc":979},"root",[25,33,38,75,82,161,166,172,177,190,195,200,209,214,220,225,250,255,341,346,351,425,430,436,441,464,475,481,486,560,565,571,576,585,590,595,691,696,702,707,807,812,818,823,828,834,933,938,943,948],{"type":26,"tag":27,"props":28,"children":29},"element","p",{},[30],{"type":31,"value":32},"text","很多 AI agent 项目都会说自己“基于检索和工具结果回答”。但只要系统开始接触多个来源，真正难的问题就不再是“有没有证据”，而是“这条证据从哪来、是不是最新、跟别的来源冲不冲突、冲突时该信谁”。",{"type":26,"tag":27,"props":34,"children":35},{},[36],{"type":31,"value":37},"如果这些问题都没被显式建模，所谓 evidence 很容易退化成“拼接出来的上下文”，一旦结果错了，团队只能模糊地说“模型引用了旧数据”或者“检索命中了不准的片段”。",{"type":26,"tag":27,"props":39,"children":40},{},[41,43,50,52,58,59,65,67,73],{"type":31,"value":42},"建议先结合 ",{"type":26,"tag":44,"props":45,"children":47},"a",{"href":46},"/topics/ai/ai-agent-artifact-design-intermediate-output",[48],{"type":31,"value":49},"AI agent Artifact 设计",{"type":31,"value":51},"、",{"type":26,"tag":44,"props":53,"children":55},{"href":54},"/topics/ai/ai-agent-cache-invalidation-strategy",[56],{"type":31,"value":57},"AI agent 缓存与失效策略",{"type":31,"value":51},{"type":26,"tag":44,"props":60,"children":62},{"href":61},"/topics/ai/ai-agent-run-ledger-audit-model",[63],{"type":31,"value":64},"AI agent Run Ledger 审计模型",{"type":31,"value":66}," 和 ",{"type":26,"tag":44,"props":68,"children":70},{"href":69},"/topics/ai/ai-agent-human-review-console-design",[71],{"type":31,"value":72},"AI agent 人工审批控制台设计",{"type":31,"value":74}," 一起看。",{"type":26,"tag":76,"props":77,"children":79},"h2",{"id":78},"先给结论evidence-不只要存内容还要存-provenance",[80],{"type":31,"value":81},"先给结论：evidence 不只要存内容，还要存 provenance",{"type":26,"tag":83,"props":84,"children":85},"table",{},[86,105],{"type":26,"tag":87,"props":88,"children":89},"thead",{},[90],{"type":26,"tag":91,"props":92,"children":93},"tr",{},[94,100],{"type":26,"tag":95,"props":96,"children":97},"th",{},[98],{"type":31,"value":99},"字段",{"type":26,"tag":95,"props":101,"children":102},{},[103],{"type":31,"value":104},"为什么重要",{"type":26,"tag":106,"props":107,"children":108},"tbody",{},[109,123,136,149],{"type":26,"tag":91,"props":110,"children":111},{},[112,118],{"type":26,"tag":113,"props":114,"children":115},"td",{},[116],{"type":31,"value":117},"source id",{"type":26,"tag":113,"props":119,"children":120},{},[121],{"type":31,"value":122},"能回到原始依据",{"type":26,"tag":91,"props":124,"children":125},{},[126,131],{"type":26,"tag":113,"props":127,"children":128},{},[129],{"type":31,"value":130},"retrieved at",{"type":26,"tag":113,"props":132,"children":133},{},[134],{"type":31,"value":135},"能判断是否过期",{"type":26,"tag":91,"props":137,"children":138},{},[139,144],{"type":26,"tag":113,"props":140,"children":141},{},[142],{"type":31,"value":143},"scope / permission",{"type":26,"tag":113,"props":145,"children":146},{},[147],{"type":31,"value":148},"能判断是否对当前请求有效",{"type":26,"tag":91,"props":150,"children":151},{},[152,156],{"type":26,"tag":113,"props":153,"children":154},{},[155],{"type":31,"value":15},{"type":26,"tag":113,"props":157,"children":158},{},[159],{"type":31,"value":160},"能告诉系统这条依据能信到什么程度",{"type":26,"tag":27,"props":162,"children":163},{},[164],{"type":31,"value":165},"没有这些元信息，证据就只是“看起来像引用的文本”。",{"type":26,"tag":76,"props":167,"children":169},{"id":168},"一provenance-先回答这条证据到底来自哪里",[170],{"type":31,"value":171},"一、Provenance 先回答“这条证据到底来自哪里”",{"type":26,"tag":27,"props":173,"children":174},{},[175],{"type":31,"value":176},"更稳的 evidence envelope 通常至少包含：",{"type":26,"tag":178,"props":179,"children":184},"pre",{"className":180,"code":182,"language":183,"meta":7},[181],"language-json","{\n  \"evidenceId\": \"e_123\",\n  \"sourceType\": \"document\",\n  \"sourceId\": \"policy_v4\",\n  \"retrievedAt\": \"2026-05-10T10:00:00Z\",\n  \"version\": \"v4\",\n  \"permissionScope\": \"team_finance\"\n}\n","json",[185],{"type":26,"tag":186,"props":187,"children":188},"code",{"__ignoreMap":7},[189],{"type":31,"value":182},{"type":26,"tag":27,"props":191,"children":192},{},[193],{"type":31,"value":194},"这不是为了“多存点字段”，而是为了后续系统能回答：这条依据现在还可不可以用。",{"type":26,"tag":27,"props":196,"children":197},{},[198],{"type":31,"value":199},"进一步做审计和缓存收口时，evidence envelope 最好再带完整性与时效快照：",{"type":26,"tag":178,"props":201,"children":204},{"className":202,"code":203,"language":183,"meta":7},[181],"{\n  \"sourceChecksum\": \"sha256:abc123\",\n  \"freshnessTtlMs\": 3600000,\n  \"trustBand\": \"medium\",\n  \"retrievalDecisionId\": \"rd_18\"\n}\n",[205],{"type":26,"tag":186,"props":206,"children":207},{"__ignoreMap":7},[208],{"type":31,"value":203},{"type":26,"tag":27,"props":210,"children":211},{},[212],{"type":31,"value":213},"这样系统不只是知道“证据来自哪里”，还能判断这条证据是基于哪次检索决策进入当前 run，以及它在什么时间窗内仍然有效。",{"type":26,"tag":76,"props":215,"children":217},{"id":216},"二可信度不等于相关度trust-score-要单独建模",[218],{"type":31,"value":219},"二、可信度不等于相关度，trust score 要单独建模",{"type":26,"tag":27,"props":221,"children":222},{},[223],{"type":31,"value":224},"检索相关，并不一定代表可信。很多时候，一条证据相关性很高，但来源过旧、权限不匹配，或者只是低可靠渠道。一个更有用的 trust score 通常会同时考虑：",{"type":26,"tag":226,"props":227,"children":228},"ul",{},[229,235,240,245],{"type":26,"tag":230,"props":231,"children":232},"li",{},[233],{"type":31,"value":234},"来源权威性",{"type":26,"tag":230,"props":236,"children":237},{},[238],{"type":31,"value":239},"时效性",{"type":26,"tag":230,"props":241,"children":242},{},[243],{"type":31,"value":244},"权限匹配度",{"type":26,"tag":230,"props":246,"children":247},{},[248],{"type":31,"value":249},"与其他证据的一致性",{"type":26,"tag":27,"props":251,"children":252},{},[253],{"type":31,"value":254},"可以先用规则型评分起步：",{"type":26,"tag":83,"props":256,"children":257},{},[258,274],{"type":26,"tag":87,"props":259,"children":260},{},[261],{"type":26,"tag":91,"props":262,"children":263},{},[264,269],{"type":26,"tag":95,"props":265,"children":266},{},[267],{"type":31,"value":268},"信号",{"type":26,"tag":95,"props":270,"children":271},{},[272],{"type":31,"value":273},"加减分",{"type":26,"tag":106,"props":275,"children":276},{},[277,290,303,315,328],{"type":26,"tag":91,"props":278,"children":279},{},[280,285],{"type":26,"tag":113,"props":281,"children":282},{},[283],{"type":31,"value":284},"官方制度文档且未过期",{"type":26,"tag":113,"props":286,"children":287},{},[288],{"type":31,"value":289},"+0.35",{"type":26,"tag":91,"props":291,"children":292},{},[293,298],{"type":26,"tag":113,"props":294,"children":295},{},[296],{"type":31,"value":297},"来源权限与当前租户一致",{"type":26,"tag":113,"props":299,"children":300},{},[301],{"type":31,"value":302},"+0.2",{"type":26,"tag":91,"props":304,"children":305},{},[306,311],{"type":26,"tag":113,"props":307,"children":308},{},[309],{"type":31,"value":310},"命中多个一致来源",{"type":26,"tag":113,"props":312,"children":313},{},[314],{"type":31,"value":302},{"type":26,"tag":91,"props":316,"children":317},{},[318,323],{"type":26,"tag":113,"props":319,"children":320},{},[321],{"type":31,"value":322},"来源已过期",{"type":26,"tag":113,"props":324,"children":325},{},[326],{"type":31,"value":327},"-0.3",{"type":26,"tag":91,"props":329,"children":330},{},[331,336],{"type":26,"tag":113,"props":332,"children":333},{},[334],{"type":31,"value":335},"与高权威来源冲突",{"type":26,"tag":113,"props":337,"children":338},{},[339],{"type":31,"value":340},"-0.4",{"type":26,"tag":27,"props":342,"children":343},{},[344],{"type":31,"value":345},"重点不是分数绝对精确，而是系统能稳定地区分“可依赖”和“仅供参考”。",{"type":26,"tag":27,"props":347,"children":348},{},[349],{"type":31,"value":350},"算完分数以后，最好不要直接把连续值丢给模型自己解释，而是先映射成 trust band：",{"type":26,"tag":83,"props":352,"children":353},{},[354,370],{"type":26,"tag":87,"props":355,"children":356},{},[357],{"type":26,"tag":91,"props":358,"children":359},{},[360,365],{"type":26,"tag":95,"props":361,"children":362},{},[363],{"type":31,"value":364},"trust band",{"type":26,"tag":95,"props":366,"children":367},{},[368],{"type":31,"value":369},"系统动作",{"type":26,"tag":106,"props":371,"children":372},{},[373,386,399,412],{"type":26,"tag":91,"props":374,"children":375},{},[376,381],{"type":26,"tag":113,"props":377,"children":378},{},[379],{"type":31,"value":380},"high",{"type":26,"tag":113,"props":382,"children":383},{},[384],{"type":31,"value":385},"允许自动继续",{"type":26,"tag":91,"props":387,"children":388},{},[389,394],{"type":26,"tag":113,"props":390,"children":391},{},[392],{"type":31,"value":393},"medium",{"type":26,"tag":113,"props":395,"children":396},{},[397],{"type":31,"value":398},"允许继续，但保留不确定性提示",{"type":26,"tag":91,"props":400,"children":401},{},[402,407],{"type":26,"tag":113,"props":403,"children":404},{},[405],{"type":31,"value":406},"low",{"type":26,"tag":113,"props":408,"children":409},{},[410],{"type":31,"value":411},"降低自动化程度，优先人工复核",{"type":26,"tag":91,"props":413,"children":414},{},[415,420],{"type":26,"tag":113,"props":416,"children":417},{},[418],{"type":31,"value":419},"blocked",{"type":26,"tag":113,"props":421,"children":422},{},[423],{"type":31,"value":424},"不允许继续引用为主依据",{"type":26,"tag":27,"props":426,"children":427},{},[428],{"type":31,"value":429},"这样 trust score 才不只是分析字段，而会真正影响系统接下来的控制动作。",{"type":26,"tag":76,"props":431,"children":433},{"id":432},"三freshness-是证据系统里最容易被忽略的一层",[434],{"type":31,"value":435},"三、Freshness 是证据系统里最容易被忽略的一层",{"type":26,"tag":27,"props":437,"children":438},{},[439],{"type":31,"value":440},"证据不一定会失效，但系统至少要知道什么情况下它可能失效：",{"type":26,"tag":226,"props":442,"children":443},{},[444,449,454,459],{"type":26,"tag":230,"props":445,"children":446},{},[447],{"type":31,"value":448},"文档版本更新",{"type":26,"tag":230,"props":450,"children":451},{},[452],{"type":31,"value":453},"业务状态变化",{"type":26,"tag":230,"props":455,"children":456},{},[457],{"type":31,"value":458},"权限边界变化",{"type":26,"tag":230,"props":460,"children":461},{},[462],{"type":31,"value":463},"缓存 token 变化",{"type":26,"tag":27,"props":465,"children":466},{},[467,469,473],{"type":31,"value":468},"这也是为什么 evidence provenance 应该和 ",{"type":26,"tag":44,"props":470,"children":471},{"href":54},[472],{"type":31,"value":57},{"type":31,"value":474}," 连接，而不是孤立存在。",{"type":26,"tag":76,"props":476,"children":478},{"id":477},"四冲突证据不要让模型自己拍板系统要先做-conflict-class",[479],{"type":31,"value":480},"四、冲突证据不要让模型自己拍板，系统要先做 conflict class",{"type":26,"tag":27,"props":482,"children":483},{},[484],{"type":31,"value":485},"更健康的做法，是先把冲突分成几类：",{"type":26,"tag":83,"props":487,"children":488},{},[489,505],{"type":26,"tag":87,"props":490,"children":491},{},[492],{"type":26,"tag":91,"props":493,"children":494},{},[495,500],{"type":26,"tag":95,"props":496,"children":497},{},[498],{"type":31,"value":499},"冲突类型",{"type":26,"tag":95,"props":501,"children":502},{},[503],{"type":31,"value":504},"处理方式",{"type":26,"tag":106,"props":506,"children":507},{},[508,521,534,547],{"type":26,"tag":91,"props":509,"children":510},{},[511,516],{"type":26,"tag":113,"props":512,"children":513},{},[514],{"type":31,"value":515},"新旧版本冲突",{"type":26,"tag":113,"props":517,"children":518},{},[519],{"type":31,"value":520},"优先新版本，并保留旧版本引用",{"type":26,"tag":91,"props":522,"children":523},{},[524,529],{"type":26,"tag":113,"props":525,"children":526},{},[527],{"type":31,"value":528},"权限范围冲突",{"type":26,"tag":113,"props":530,"children":531},{},[532],{"type":31,"value":533},"仅保留当前 scope 可见证据",{"type":26,"tag":91,"props":535,"children":536},{},[537,542],{"type":26,"tag":113,"props":538,"children":539},{},[540],{"type":31,"value":541},"多来源事实冲突",{"type":26,"tag":113,"props":543,"children":544},{},[545],{"type":31,"value":546},"降低信心，触发人工复核",{"type":26,"tag":91,"props":548,"children":549},{},[550,555],{"type":26,"tag":113,"props":551,"children":552},{},[553],{"type":31,"value":554},"非关键细节冲突",{"type":26,"tag":113,"props":556,"children":557},{},[558],{"type":31,"value":559},"允许模型带不确定性输出",{"type":26,"tag":27,"props":561,"children":562},{},[563],{"type":31,"value":564},"如果系统把所有冲突都丢给模型“自己综合判断”，最终得到的只会是难以复盘的黑盒结论。",{"type":26,"tag":76,"props":566,"children":568},{"id":567},"五高风险结论最好带-evidence-packet而不是只带最终摘要",[569],{"type":31,"value":570},"五、高风险结论最好带 evidence packet，而不是只带最终摘要",{"type":26,"tag":27,"props":572,"children":573},{},[574],{"type":31,"value":575},"当证据会进入审批台或审计链路时，系统最好输出一个 review-ready packet：",{"type":26,"tag":178,"props":577,"children":580},{"className":578,"code":579,"language":183,"meta":7},[181],"{\n  \"primaryEvidence\": [\"e_123\", \"e_124\"],\n  \"supportingEvidence\": [\"e_201\"],\n  \"conflicts\": [\"e_310\"],\n  \"trustLevel\": \"medium\",\n  \"reviewRecommended\": true\n}\n",[581],{"type":26,"tag":186,"props":582,"children":583},{"__ignoreMap":7},[584],{"type":31,"value":579},{"type":26,"tag":27,"props":586,"children":587},{},[588],{"type":31,"value":589},"这样人工接手时看到的不是一段模糊结论，而是一份已经整理好的证据包。",{"type":26,"tag":27,"props":591,"children":592},{},[593],{"type":31,"value":594},"更稳的一步，是把 trust band 与 review trigger 直接绑定：",{"type":26,"tag":83,"props":596,"children":597},{},[598,614],{"type":26,"tag":87,"props":599,"children":600},{},[601],{"type":26,"tag":91,"props":602,"children":603},{},[604,609],{"type":26,"tag":95,"props":605,"children":606},{},[607],{"type":31,"value":608},"条件",{"type":26,"tag":95,"props":610,"children":611},{},[612],{"type":31,"value":613},"推荐动作",{"type":26,"tag":106,"props":615,"children":616},{},[617,636,655,674],{"type":26,"tag":91,"props":618,"children":619},{},[620,631],{"type":26,"tag":113,"props":621,"children":622},{},[623,629],{"type":26,"tag":186,"props":624,"children":626},{"className":625},[],[627],{"type":31,"value":628},"trustBand=high",{"type":31,"value":630}," 且无冲突",{"type":26,"tag":113,"props":632,"children":633},{},[634],{"type":31,"value":635},"自动继续",{"type":26,"tag":91,"props":637,"children":638},{},[639,650],{"type":26,"tag":113,"props":640,"children":641},{},[642,648],{"type":26,"tag":186,"props":643,"children":645},{"className":644},[],[646],{"type":31,"value":647},"trustBand=medium",{"type":31,"value":649}," 且存在轻微冲突",{"type":26,"tag":113,"props":651,"children":652},{},[653],{"type":31,"value":654},"带说明继续",{"type":26,"tag":91,"props":656,"children":657},{},[658,669],{"type":26,"tag":113,"props":659,"children":660},{},[661,667],{"type":26,"tag":186,"props":662,"children":664},{"className":663},[],[665],{"type":31,"value":666},"trustBand=low",{"type":31,"value":668}," 或存在关键冲突",{"type":26,"tag":113,"props":670,"children":671},{},[672],{"type":31,"value":673},"进入人工复核",{"type":26,"tag":91,"props":675,"children":676},{},[677,686],{"type":26,"tag":113,"props":678,"children":679},{},[680],{"type":26,"tag":186,"props":681,"children":683},{"className":682},[],[684],{"type":31,"value":685},"trustBand=blocked",{"type":26,"tag":113,"props":687,"children":688},{},[689],{"type":31,"value":690},"阻断当前结论",{"type":26,"tag":27,"props":692,"children":693},{},[694],{"type":31,"value":695},"否则 evidence packet 虽然很完整，但系统仍然不知道什么时候该停下来交给人。",{"type":26,"tag":76,"props":697,"children":699},{"id":698},"六上线后要看证据链质量而不是只看检索命中率",[700],{"type":31,"value":701},"六、上线后要看“证据链质量”，而不是只看检索命中率",{"type":26,"tag":27,"props":703,"children":704},{},[705],{"type":31,"value":706},"建议至少记录：",{"type":26,"tag":83,"props":708,"children":709},{},[710,726],{"type":26,"tag":87,"props":711,"children":712},{},[713],{"type":26,"tag":91,"props":714,"children":715},{},[716,721],{"type":26,"tag":95,"props":717,"children":718},{},[719],{"type":31,"value":720},"指标",{"type":26,"tag":95,"props":722,"children":723},{},[724],{"type":31,"value":725},"用途",{"type":26,"tag":106,"props":727,"children":728},{},[729,742,755,768,781,794],{"type":26,"tag":91,"props":730,"children":731},{},[732,737],{"type":26,"tag":113,"props":733,"children":734},{},[735],{"type":31,"value":736},"evidence with provenance ratio",{"type":26,"tag":113,"props":738,"children":739},{},[740],{"type":31,"value":741},"看证据是否都可追溯",{"type":26,"tag":91,"props":743,"children":744},{},[745,750],{"type":26,"tag":113,"props":746,"children":747},{},[748],{"type":31,"value":749},"stale evidence hit ratio",{"type":26,"tag":113,"props":751,"children":752},{},[753],{"type":31,"value":754},"看系统是否常用过期依据",{"type":26,"tag":91,"props":756,"children":757},{},[758,763],{"type":26,"tag":113,"props":759,"children":760},{},[761],{"type":31,"value":762},"freshness breach count",{"type":26,"tag":113,"props":764,"children":765},{},[766],{"type":31,"value":767},"看系统是否经常越过 ttl 使用旧证据",{"type":26,"tag":91,"props":769,"children":770},{},[771,776],{"type":26,"tag":113,"props":772,"children":773},{},[774],{"type":31,"value":775},"conflict escalated to human ratio",{"type":26,"tag":113,"props":777,"children":778},{},[779],{"type":31,"value":780},"看冲突是否被正确上浮",{"type":26,"tag":91,"props":782,"children":783},{},[784,789],{"type":26,"tag":113,"props":785,"children":786},{},[787],{"type":31,"value":788},"trust band override ratio",{"type":26,"tag":113,"props":790,"children":791},{},[792],{"type":31,"value":793},"看人工或策略是否经常推翻当前分层",{"type":26,"tag":91,"props":795,"children":796},{},[797,802],{"type":26,"tag":113,"props":798,"children":799},{},[800],{"type":31,"value":801},"accepted runs by trust band",{"type":26,"tag":113,"props":803,"children":804},{},[805],{"type":31,"value":806},"看不同 trust level 的业务结果",{"type":26,"tag":27,"props":808,"children":809},{},[810],{"type":31,"value":811},"如果命中率很高，但 stale evidence 也很高，说明系统只是更快地拿到了旧答案。",{"type":26,"tag":76,"props":813,"children":815},{"id":814},"七失败案例制度文档更新后agent-还在引用旧版本条款",[816],{"type":31,"value":817},"七、失败案例：制度文档更新后，Agent 还在引用旧版本条款",{"type":26,"tag":27,"props":819,"children":820},{},[821],{"type":31,"value":822},"某个审批 agent 的检索命中率一直很好，但上线后仍频繁给出过时结论。复盘发现新旧制度文档都能检到，系统也没有保存 version 和 retrievedAt，模型只能自己“看起来选一条更像的”。",{"type":26,"tag":27,"props":824,"children":825},{},[826],{"type":31,"value":827},"修复后，团队为 evidence 增加 provenance、freshness 和 trust score，并把“新旧版本冲突”直接升级为人工复核，错误率才明显下降。",{"type":26,"tag":76,"props":829,"children":831},{"id":830},"八evidence-provenance-与可信度-checklist",[832],{"type":31,"value":833},"八、Evidence Provenance 与可信度 Checklist",{"type":26,"tag":226,"props":835,"children":838},{"className":836},[837],"contains-task-list",[839,852,861,870,879,888,897,906,915,924],{"type":26,"tag":230,"props":840,"children":843},{"className":841},[842],"task-list-item",[844,850],{"type":26,"tag":845,"props":846,"children":849},"input",{"disabled":847,"type":848},true,"checkbox",[],{"type":31,"value":851}," 每条 evidence 是否带 sourceId、version、retrievedAt 和 permissionScope",{"type":26,"tag":230,"props":853,"children":855},{"className":854},[842],[856,859],{"type":26,"tag":845,"props":857,"children":858},{"disabled":847,"type":848},[],{"type":31,"value":860}," trust score 是否独立于相关度建模",{"type":26,"tag":230,"props":862,"children":864},{"className":863},[842],[865,868],{"type":26,"tag":845,"props":866,"children":867},{"disabled":847,"type":848},[],{"type":31,"value":869}," sourceChecksum、freshnessTtlMs 和 retrievalDecisionId 是否可追溯",{"type":26,"tag":230,"props":871,"children":873},{"className":872},[842],[874,877],{"type":26,"tag":845,"props":875,"children":876},{"disabled":847,"type":848},[],{"type":31,"value":878}," 系统是否显式识别 freshness 失效条件",{"type":26,"tag":230,"props":880,"children":882},{"className":881},[842],[883,886],{"type":26,"tag":845,"props":884,"children":885},{"disabled":847,"type":848},[],{"type":31,"value":887}," trust score 是否映射成 high / medium / low / blocked 等明确分层",{"type":26,"tag":230,"props":889,"children":891},{"className":890},[842],[892,895],{"type":26,"tag":845,"props":893,"children":894},{"disabled":847,"type":848},[],{"type":31,"value":896}," 冲突证据是否先分类，而不是全部交给模型拍板",{"type":26,"tag":230,"props":898,"children":900},{"className":899},[842],[901,904],{"type":26,"tag":845,"props":902,"children":903},{"disabled":847,"type":848},[],{"type":31,"value":905}," 高风险场景是否输出 review-ready evidence packet",{"type":26,"tag":230,"props":907,"children":909},{"className":908},[842],[910,913],{"type":26,"tag":845,"props":911,"children":912},{"disabled":847,"type":848},[],{"type":31,"value":914}," trust band 是否直接驱动继续、复核或阻断动作",{"type":26,"tag":230,"props":916,"children":918},{"className":917},[842],[919,922],{"type":26,"tag":845,"props":920,"children":921},{"disabled":847,"type":848},[],{"type":31,"value":923}," 是否监控 stale hit、conflict escalation 和 trust band 结果差异",{"type":26,"tag":230,"props":925,"children":927},{"className":926},[842],[928,931],{"type":26,"tag":845,"props":929,"children":930},{"disabled":847,"type":848},[],{"type":31,"value":932}," 审计时能否回到原始证据而不是只看摘要",{"type":26,"tag":76,"props":934,"children":936},{"id":935},"结语",[937],{"type":31,"value":935},{"type":26,"tag":27,"props":939,"children":940},{},[941],{"type":31,"value":942},"AI agent 的 evidence 体系，真正难的不是“多找几条依据”，而是让系统知道哪条依据来自哪里、现在还值不值得信，以及冲突时谁该做最后判断。只有 provenance、freshness 和 trust score 同时存在，证据链才真正可控。",{"type":26,"tag":27,"props":944,"children":945},{},[946],{"type":31,"value":947},"延伸阅读：",{"type":26,"tag":226,"props":949,"children":950},{},[951,958,965,972],{"type":26,"tag":230,"props":952,"children":953},{},[954],{"type":26,"tag":44,"props":955,"children":956},{"href":46},[957],{"type":31,"value":49},{"type":26,"tag":230,"props":959,"children":960},{},[961],{"type":26,"tag":44,"props":962,"children":963},{"href":54},[964],{"type":31,"value":57},{"type":26,"tag":230,"props":966,"children":967},{},[968],{"type":26,"tag":44,"props":969,"children":970},{"href":61},[971],{"type":31,"value":64},{"type":26,"tag":230,"props":973,"children":974},{},[975],{"type":26,"tag":44,"props":976,"children":977},{"href":69},[978],{"type":31,"value":72},{"title":7,"searchDepth":980,"depth":980,"links":981},3,[982,984,985,986,987,988,989,990,991,992],{"id":78,"depth":983,"text":81},2,{"id":168,"depth":983,"text":171},{"id":216,"depth":983,"text":219},{"id":432,"depth":983,"text":435},{"id":477,"depth":983,"text":480},{"id":567,"depth":983,"text":570},{"id":698,"depth":983,"text":701},{"id":814,"depth":983,"text":817},{"id":830,"depth":983,"text":833},{"id":935,"depth":983,"text":935},"markdown","content:topics:ai:ai-agent-evidence-provenance-trust-scoring.md","content","topics/ai/ai-agent-evidence-provenance-trust-scoring.md","topics/ai/ai-agent-evidence-provenance-trust-scoring","md",[1000,2155,3105],{"_path":1001,"_dir":5,"_draft":6,"_partial":6,"_locale":7,"title":1002,"description":1003,"date":1004,"topic":5,"author":11,"tags":1005,"image":1011,"imageAlt":1012,"pexelsPhotoId":1013,"pexelsUrl":1014,"readingTime":1015,"body":1016,"_type":993,"_id":2152,"_source":995,"_file":2153,"_stem":2154,"_extension":998},"/topics/ai/cursor-keyboard-shortcuts-cheatsheet","Cursor 快捷键速查表（macOS/Windows）：从“会用”到“能提效”的 10 个工作流","把 Cursor 常用快捷键按任务分组（查代码、改代码、多文件、对话、审查与回滚），给出可直接照抄的工作流与最小回归清单，避免“快捷键背了也没变快”。","2026-03-02",[1006,1007,1008,1009,1010],"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":1017,"toc":2126},[1018,1023,1041,1046,1075,1080,1116,1120,1126,1131,1164,1169,1192,1195,1201,1206,1424,1433,1436,1442,1449,1468,1476,1497,1502,1508,1523,1554,1559,1572,1578,1597,1615,1623,1628,1634,1639,1660,1668,1674,1679,1702,1707,1713,1726,1732,1750,1768,1774,1785,1803,1809,1820,1826,1831,1874,1877,1883,1891,1944,1947,1953,1959,1964,1969,1992,2010,2015,2040,2043,2049,2055,2060,2066,2071,2077,2082,2085,2091],{"type":26,"tag":27,"props":1019,"children":1020},{},[1021],{"type":31,"value":1022},"如果你在搜“Cursor 快捷键”，你大概率不是想背一张表，而是想解决这类问题：",{"type":26,"tag":226,"props":1024,"children":1025},{},[1026,1031,1036],{"type":26,"tag":230,"props":1027,"children":1028},{},[1029],{"type":31,"value":1030},"为什么我用了 AI，还是很慢？（对话来回太多、改动不可控）",{"type":26,"tag":230,"props":1032,"children":1033},{},[1034],{"type":31,"value":1035},"为什么它“看起来懂了”，却改错文件/改出回归？（上下文与范围没锁住）",{"type":26,"tag":230,"props":1037,"children":1038},{},[1039],{"type":31,"value":1040},"多文件改动怎么做得安全？（验收、回滚、最小回归集）",{"type":26,"tag":27,"props":1042,"children":1043},{},[1044],{"type":31,"value":1045},"这篇文章给你两份东西：",{"type":26,"tag":1047,"props":1048,"children":1049},"ol",{},[1050,1063],{"type":26,"tag":230,"props":1051,"children":1052},{},[1053,1055,1061],{"type":31,"value":1054},"一张",{"type":26,"tag":1056,"props":1057,"children":1058},"strong",{},[1059],{"type":31,"value":1060},"按任务分组",{"type":31,"value":1062},"的快捷键表（不是按功能堆在一起）",{"type":26,"tag":230,"props":1064,"children":1065},{},[1066,1068,1073],{"type":31,"value":1067},"一套“从需求到落地”的",{"type":26,"tag":1056,"props":1069,"children":1070},{},[1071],{"type":31,"value":1072},"最小闭环工作流",{"type":31,"value":1074},"（每一步都有快捷键）",{"type":26,"tag":27,"props":1076,"children":1077},{},[1078],{"type":31,"value":1079},"想看系统玩法：",{"type":26,"tag":226,"props":1081,"children":1082},{},[1083,1094,1105],{"type":26,"tag":230,"props":1084,"children":1085},{},[1086,1088],{"type":31,"value":1087},"入门教程看：",{"type":26,"tag":44,"props":1089,"children":1091},{"href":1090},"/topics/ai/cursor-tutorial",[1092],{"type":31,"value":1093},"Cursor 使用教程（2026）",{"type":26,"tag":230,"props":1095,"children":1096},{},[1097,1099],{"type":31,"value":1098},"进阶玩法看：",{"type":26,"tag":44,"props":1100,"children":1102},{"href":1101},"/topics/ai/cursor-editor-guide",[1103],{"type":31,"value":1104},"Cursor 编辑器深度玩法",{"type":26,"tag":230,"props":1106,"children":1107},{},[1108,1110],{"type":31,"value":1109},"规则与忽略看：",{"type":26,"tag":44,"props":1111,"children":1113},{"href":1112},"/topics/ai/cursor-rules-cursorrules",[1114],{"type":31,"value":1115},"Cursor Rules 与 .cursorrules",{"type":26,"tag":1117,"props":1118,"children":1119},"hr",{},[],{"type":26,"tag":76,"props":1121,"children":1123},{"id":1122},"先给结论提效不是按得快而是闭环更短",[1124],{"type":31,"value":1125},"先给结论：提效不是“按得快”，而是“闭环更短”",{"type":26,"tag":27,"props":1127,"children":1128},{},[1129],{"type":31,"value":1130},"你可以把 Cursor 的快捷键理解为 3 条流水线：",{"type":26,"tag":226,"props":1132,"children":1133},{},[1134,1144,1154],{"type":26,"tag":230,"props":1135,"children":1136},{},[1137,1142],{"type":26,"tag":1056,"props":1138,"children":1139},{},[1140],{"type":31,"value":1141},"改一小段",{"type":31,"value":1143},"（内联编辑）：把改动限制在一个函数/一段样式",{"type":26,"tag":230,"props":1145,"children":1146},{},[1147,1152],{"type":26,"tag":1056,"props":1148,"children":1149},{},[1150],{"type":31,"value":1151},"改一组文件",{"type":31,"value":1153},"（Composer）：把改动限制在一组明确文件，并要求输出 diff + 验收点",{"type":26,"tag":230,"props":1155,"children":1156},{},[1157,1162],{"type":26,"tag":1056,"props":1158,"children":1159},{},[1160],{"type":31,"value":1161},"聊清楚再动手",{"type":31,"value":1163},"（侧边对话）：先对齐目标、范围、验收、回滚",{"type":26,"tag":27,"props":1165,"children":1166},{},[1167],{"type":31,"value":1168},"当你觉得“它乱改/改太大”时，往往不是快捷键没记住，而是缺了两件事：",{"type":26,"tag":226,"props":1170,"children":1171},{},[1172,1182],{"type":26,"tag":230,"props":1173,"children":1174},{},[1175,1177],{"type":31,"value":1176},"没有在动手前锁定",{"type":26,"tag":1056,"props":1178,"children":1179},{},[1180],{"type":31,"value":1181},"范围",{"type":26,"tag":230,"props":1183,"children":1184},{},[1185,1187],{"type":31,"value":1186},"没有在接受改动前准备",{"type":26,"tag":1056,"props":1188,"children":1189},{},[1190],{"type":31,"value":1191},"验收/回滚",{"type":26,"tag":1117,"props":1193,"children":1194},{},[],{"type":26,"tag":76,"props":1196,"children":1198},{"id":1197},"快捷键速查表按任务分组",[1199],{"type":31,"value":1200},"快捷键速查表（按任务分组）",{"type":26,"tag":27,"props":1202,"children":1203},{},[1204],{"type":31,"value":1205},"说明：下表按“你正在做什么”组织，而不是按“功能名字”组织。不同版本快捷键可能略有差异，但核心逻辑一致。",{"type":26,"tag":83,"props":1207,"children":1208},{},[1209,1235],{"type":26,"tag":87,"props":1210,"children":1211},{},[1212],{"type":26,"tag":91,"props":1213,"children":1214},{},[1215,1220,1225,1230],{"type":26,"tag":95,"props":1216,"children":1217},{},[1218],{"type":31,"value":1219},"任务",{"type":26,"tag":95,"props":1221,"children":1222},{},[1223],{"type":31,"value":1224},"macOS",{"type":26,"tag":95,"props":1226,"children":1227},{},[1228],{"type":31,"value":1229},"Windows",{"type":26,"tag":95,"props":1231,"children":1232},{},[1233],{"type":31,"value":1234},"你该在什么时候用",{"type":26,"tag":106,"props":1236,"children":1237},{},[1238,1269,1300,1331,1362,1393],{"type":26,"tag":91,"props":1239,"children":1240},{},[1241,1246,1255,1264],{"type":26,"tag":113,"props":1242,"children":1243},{},[1244],{"type":31,"value":1245},"改一小段（最安全）",{"type":26,"tag":113,"props":1247,"children":1248},{},[1249],{"type":26,"tag":186,"props":1250,"children":1252},{"className":1251},[],[1253],{"type":31,"value":1254},"Cmd + K",{"type":26,"tag":113,"props":1256,"children":1257},{},[1258],{"type":26,"tag":186,"props":1259,"children":1261},{"className":1260},[],[1262],{"type":31,"value":1263},"Ctrl + K",{"type":26,"tag":113,"props":1265,"children":1266},{},[1267],{"type":31,"value":1268},"只想改一个函数/一段 CSS，不想动别的",{"type":26,"tag":91,"props":1270,"children":1271},{},[1272,1277,1286,1295],{"type":26,"tag":113,"props":1273,"children":1274},{},[1275],{"type":31,"value":1276},"打开 AI 对话（先对齐再动手）",{"type":26,"tag":113,"props":1278,"children":1279},{},[1280],{"type":26,"tag":186,"props":1281,"children":1283},{"className":1282},[],[1284],{"type":31,"value":1285},"Cmd + L",{"type":26,"tag":113,"props":1287,"children":1288},{},[1289],{"type":26,"tag":186,"props":1290,"children":1292},{"className":1291},[],[1293],{"type":31,"value":1294},"Ctrl + L",{"type":26,"tag":113,"props":1296,"children":1297},{},[1298],{"type":31,"value":1299},"需要澄清目标、制定步骤、给验收点",{"type":26,"tag":91,"props":1301,"children":1302},{},[1303,1308,1317,1326],{"type":26,"tag":113,"props":1304,"children":1305},{},[1306],{"type":31,"value":1307},"多文件编辑（有组织地改一组文件）",{"type":26,"tag":113,"props":1309,"children":1310},{},[1311],{"type":26,"tag":186,"props":1312,"children":1314},{"className":1313},[],[1315],{"type":31,"value":1316},"Cmd + I",{"type":26,"tag":113,"props":1318,"children":1319},{},[1320],{"type":26,"tag":186,"props":1321,"children":1323},{"className":1322},[],[1324],{"type":31,"value":1325},"Ctrl + I",{"type":26,"tag":113,"props":1327,"children":1328},{},[1329],{"type":31,"value":1330},"改动涉及多个文件：组件+样式+测试",{"type":26,"tag":91,"props":1332,"children":1333},{},[1334,1339,1348,1357],{"type":26,"tag":113,"props":1335,"children":1336},{},[1337],{"type":31,"value":1338},"把选中代码加入对话上下文",{"type":26,"tag":113,"props":1340,"children":1341},{},[1342],{"type":26,"tag":186,"props":1343,"children":1345},{"className":1344},[],[1346],{"type":31,"value":1347},"Cmd + Shift + L",{"type":26,"tag":113,"props":1349,"children":1350},{},[1351],{"type":26,"tag":186,"props":1352,"children":1354},{"className":1353},[],[1355],{"type":31,"value":1356},"Ctrl + Shift + L",{"type":26,"tag":113,"props":1358,"children":1359},{},[1360],{"type":31,"value":1361},"让 AI 只看你选的片段（降低噪音）",{"type":26,"tag":91,"props":1363,"children":1364},{},[1365,1370,1379,1388],{"type":26,"tag":113,"props":1366,"children":1367},{},[1368],{"type":31,"value":1369},"接受当前建议",{"type":26,"tag":113,"props":1371,"children":1372},{},[1373],{"type":26,"tag":186,"props":1374,"children":1376},{"className":1375},[],[1377],{"type":31,"value":1378},"Cmd + Y",{"type":26,"tag":113,"props":1380,"children":1381},{},[1382],{"type":26,"tag":186,"props":1383,"children":1385},{"className":1384},[],[1386],{"type":31,"value":1387},"Ctrl + Y",{"type":26,"tag":113,"props":1389,"children":1390},{},[1391],{"type":31,"value":1392},"你已经准备好验收/回滚，并确认改动范围",{"type":26,"tag":91,"props":1394,"children":1395},{},[1396,1401,1410,1419],{"type":26,"tag":113,"props":1397,"children":1398},{},[1399],{"type":31,"value":1400},"拒绝当前建议",{"type":26,"tag":113,"props":1402,"children":1403},{},[1404],{"type":26,"tag":186,"props":1405,"children":1407},{"className":1406},[],[1408],{"type":31,"value":1409},"Cmd + N",{"type":26,"tag":113,"props":1411,"children":1412},{},[1413],{"type":26,"tag":186,"props":1414,"children":1416},{"className":1415},[],[1417],{"type":31,"value":1418},"Ctrl + N",{"type":26,"tag":113,"props":1420,"children":1421},{},[1422],{"type":31,"value":1423},"改得太大、改错方向，立刻收手",{"type":26,"tag":1425,"props":1426,"children":1427},"blockquote",{},[1428],{"type":26,"tag":27,"props":1429,"children":1430},{},[1431],{"type":31,"value":1432},"小技巧：把“改一小段”当默认路径。只有当你能清晰写出“会改哪几类文件、怎么验收”时再进入多文件。",{"type":26,"tag":1117,"props":1434,"children":1435},{},[],{"type":26,"tag":76,"props":1437,"children":1439},{"id":1438},"_10-个可直接照抄的提效工作流每个都能闭环",[1440],{"type":31,"value":1441},"10 个可直接照抄的提效工作流（每个都能闭环）",{"type":26,"tag":1443,"props":1444,"children":1446},"h3",{"id":1445},"工作流-1需求计划小步改新手最稳",[1447],{"type":31,"value":1448},"工作流 1：需求→计划→小步改（新手最稳）",{"type":26,"tag":1047,"props":1450,"children":1451},{},[1452,1463],{"type":26,"tag":230,"props":1453,"children":1454},{},[1455,1461],{"type":26,"tag":186,"props":1456,"children":1458},{"className":1457},[],[1459],{"type":31,"value":1460},"Cmd/Ctrl + L",{"type":31,"value":1462}," 打开对话",{"type":26,"tag":230,"props":1464,"children":1465},{},[1466],{"type":31,"value":1467},"先发这段（可复制）：",{"type":26,"tag":1425,"props":1469,"children":1470},{},[1471],{"type":26,"tag":27,"props":1472,"children":1473},{},[1474],{"type":31,"value":1475},"目标：……\n范围：只修改以下文件/模块：……\n非目标：……（明确不做）\n验收：……（可测试/可手动检查）\n输出格式：先给计划，再逐步执行；每一步写出 diff 摘要。",{"type":26,"tag":1047,"props":1477,"children":1478},{"start":980},[1479,1484],{"type":26,"tag":230,"props":1480,"children":1481},{},[1482],{"type":31,"value":1483},"让 AI 先给“计划（3~6 步）”，你确认后再执行",{"type":26,"tag":230,"props":1485,"children":1486},{},[1487,1489,1495],{"type":31,"value":1488},"任何一步涉及改代码：优先回到编辑区，选中片段用 ",{"type":26,"tag":186,"props":1490,"children":1492},{"className":1491},[],[1493],{"type":31,"value":1494},"Cmd/Ctrl + K",{"type":31,"value":1496}," 小步改",{"type":26,"tag":27,"props":1498,"children":1499},{},[1500],{"type":31,"value":1501},"为什么有效：你把“想法”变成了“可执行约束”，这就是 GEO（面向 AI/模型的可理解结构）。",{"type":26,"tag":1443,"props":1503,"children":1505},{"id":1504},"工作流-2只改一个函数高频低风险",[1506],{"type":31,"value":1507},"工作流 2：只改一个函数（高频、低风险）",{"type":26,"tag":226,"props":1509,"children":1510},{},[1511],{"type":26,"tag":230,"props":1512,"children":1513},{},[1514,1516,1521],{"type":31,"value":1515},"选中函数 → ",{"type":26,"tag":186,"props":1517,"children":1519},{"className":1518},[],[1520],{"type":31,"value":1494},{"type":31,"value":1522}," → 输入指令：",{"type":26,"tag":1425,"props":1524,"children":1525},{},[1526,1531],{"type":26,"tag":27,"props":1527,"children":1528},{},[1529],{"type":31,"value":1530},"把这段改成更可读：",{"type":26,"tag":226,"props":1532,"children":1533},{},[1534,1539,1544,1549],{"type":26,"tag":230,"props":1535,"children":1536},{},[1537],{"type":31,"value":1538},"用 async/await",{"type":26,"tag":230,"props":1540,"children":1541},{},[1542],{"type":31,"value":1543},"错误处理不要吞掉",{"type":26,"tag":230,"props":1545,"children":1546},{},[1547],{"type":31,"value":1548},"添加类型（若可推断）",{"type":26,"tag":230,"props":1550,"children":1551},{},[1552],{"type":31,"value":1553},"不要改函数签名",{"type":26,"tag":27,"props":1555,"children":1556},{},[1557],{"type":31,"value":1558},"验收方式（强制）：",{"type":26,"tag":226,"props":1560,"children":1561},{},[1562,1567],{"type":26,"tag":230,"props":1563,"children":1564},{},[1565],{"type":31,"value":1566},"输出前后函数行为一致（输入/输出）",{"type":26,"tag":230,"props":1568,"children":1569},{},[1570],{"type":31,"value":1571},"失败分支有可观测日志（不要悄悄 return null）",{"type":26,"tag":1443,"props":1573,"children":1575},{"id":1574},"工作流-3多文件改动先定文件清单",[1576],{"type":31,"value":1577},"工作流 3：多文件改动（先定“文件清单”）",{"type":26,"tag":1047,"props":1579,"children":1580},{},[1581,1592],{"type":26,"tag":230,"props":1582,"children":1583},{},[1584,1590],{"type":26,"tag":186,"props":1585,"children":1587},{"className":1586},[],[1588],{"type":31,"value":1589},"Cmd/Ctrl + I",{"type":31,"value":1591}," 进入多文件",{"type":26,"tag":230,"props":1593,"children":1594},{},[1595],{"type":31,"value":1596},"先让 AI 输出：",{"type":26,"tag":226,"props":1598,"children":1599},{},[1600,1605,1610],{"type":26,"tag":230,"props":1601,"children":1602},{},[1603],{"type":31,"value":1604},"预计会改哪些文件（最多 5 个）",{"type":26,"tag":230,"props":1606,"children":1607},{},[1608],{"type":31,"value":1609},"每个文件改什么",{"type":26,"tag":230,"props":1611,"children":1612},{},[1613],{"type":31,"value":1614},"每一步怎么验收",{"type":26,"tag":1047,"props":1616,"children":1617},{"start":980},[1618],{"type":26,"tag":230,"props":1619,"children":1620},{},[1621],{"type":31,"value":1622},"你确认文件清单后再开始生成改动",{"type":26,"tag":27,"props":1624,"children":1625},{},[1626],{"type":31,"value":1627},"关键点：多文件最容易翻车的是“它把你没想到的文件也改了”。所以文件清单是第一道闸门。",{"type":26,"tag":1443,"props":1629,"children":1631},{"id":1630},"工作流-4把上下文噪音砍掉防跑偏",[1632],{"type":31,"value":1633},"工作流 4：把“上下文噪音”砍掉（防跑偏）",{"type":26,"tag":27,"props":1635,"children":1636},{},[1637],{"type":31,"value":1638},"当你怀疑它在胡说/乱改时：",{"type":26,"tag":226,"props":1640,"children":1641},{},[1642,1655],{"type":26,"tag":230,"props":1643,"children":1644},{},[1645,1647,1653],{"type":31,"value":1646},"只选择关键代码片段 → ",{"type":26,"tag":186,"props":1648,"children":1650},{"className":1649},[],[1651],{"type":31,"value":1652},"Cmd/Ctrl + Shift + L",{"type":31,"value":1654}," 加入对话",{"type":26,"tag":230,"props":1656,"children":1657},{},[1658],{"type":31,"value":1659},"然后在对话里要求：",{"type":26,"tag":1425,"props":1661,"children":1662},{},[1663],{"type":26,"tag":27,"props":1664,"children":1665},{},[1666],{"type":31,"value":1667},"只基于我提供的代码片段回答，不要假设其它文件存在。",{"type":26,"tag":1443,"props":1669,"children":1671},{"id":1670},"工作流-5生成变更说明让-code-review-变快",[1672],{"type":31,"value":1673},"工作流 5：生成变更说明（让 code review 变快）",{"type":26,"tag":27,"props":1675,"children":1676},{},[1677],{"type":31,"value":1678},"改完后在对话里让它输出：",{"type":26,"tag":226,"props":1680,"children":1681},{},[1682,1687,1692,1697],{"type":26,"tag":230,"props":1683,"children":1684},{},[1685],{"type":31,"value":1686},"改动摘要（3~7 条）",{"type":26,"tag":230,"props":1688,"children":1689},{},[1690],{"type":31,"value":1691},"风险点（依赖/边界条件）",{"type":26,"tag":230,"props":1693,"children":1694},{},[1695],{"type":31,"value":1696},"回滚方式",{"type":26,"tag":230,"props":1698,"children":1699},{},[1700],{"type":31,"value":1701},"验收步骤",{"type":26,"tag":27,"props":1703,"children":1704},{},[1705],{"type":31,"value":1706},"这套结构能直接贴进 PR 描述。",{"type":26,"tag":1443,"props":1708,"children":1710},{"id":1709},"工作流-6写最小回归集不写回归-等事故",[1711],{"type":31,"value":1712},"工作流 6：写“最小回归集”（不写回归 = 等事故）",{"type":26,"tag":27,"props":1714,"children":1715},{},[1716,1718,1724],{"type":31,"value":1717},"每次改动都至少做 10 条最小回归（见下文清单）。你可以把它写在 ",{"type":26,"tag":186,"props":1719,"children":1721},{"className":1720},[],[1722],{"type":31,"value":1723},"README",{"type":31,"value":1725}," 或团队 wiki。",{"type":26,"tag":1443,"props":1727,"children":1729},{"id":1728},"工作流-7把接受建议变成最后一步",[1730],{"type":31,"value":1731},"工作流 7：把“接受建议”变成最后一步",{"type":26,"tag":27,"props":1733,"children":1734},{},[1735,1741,1743,1748],{"type":26,"tag":186,"props":1736,"children":1738},{"className":1737},[],[1739],{"type":31,"value":1740},"Cmd/Ctrl + Y",{"type":31,"value":1742}," 应该是",{"type":26,"tag":1056,"props":1744,"children":1745},{},[1746],{"type":31,"value":1747},"最后一步",{"type":31,"value":1749},"：",{"type":26,"tag":226,"props":1751,"children":1752},{},[1753,1758,1763],{"type":26,"tag":230,"props":1754,"children":1755},{},[1756],{"type":31,"value":1757},"你已经看过 diff",{"type":26,"tag":230,"props":1759,"children":1760},{},[1761],{"type":31,"value":1762},"你能说清楚“怎么验收”",{"type":26,"tag":230,"props":1764,"children":1765},{},[1766],{"type":31,"value":1767},"你知道“怎么回滚”",{"type":26,"tag":1443,"props":1769,"children":1771},{"id":1770},"工作流-8拒绝建议不是失败是风控动作",[1772],{"type":31,"value":1773},"工作流 8：拒绝建议不是失败，是风控动作",{"type":26,"tag":27,"props":1775,"children":1776},{},[1777,1783],{"type":26,"tag":186,"props":1778,"children":1780},{"className":1779},[],[1781],{"type":31,"value":1782},"Cmd/Ctrl + N",{"type":31,"value":1784}," 的使用时机：",{"type":26,"tag":226,"props":1786,"children":1787},{},[1788,1793,1798],{"type":26,"tag":230,"props":1789,"children":1790},{},[1791],{"type":31,"value":1792},"它开始改你没提过的东西（范围漂移）",{"type":26,"tag":230,"props":1794,"children":1795},{},[1796],{"type":31,"value":1797},"它改了 10 个文件但你只想改 1 个",{"type":26,"tag":230,"props":1799,"children":1800},{},[1801],{"type":31,"value":1802},"它为了“更优雅”引入新依赖/新抽象",{"type":26,"tag":1443,"props":1804,"children":1806},{"id":1805},"工作流-9重复任务做成模板提示词不是一次性",[1807],{"type":31,"value":1808},"工作流 9：重复任务做成模板（提示词不是一次性）",{"type":26,"tag":27,"props":1810,"children":1811},{},[1812,1814,1818],{"type":31,"value":1813},"把高频任务（比如“写组件+样式+验收”）固化成模板，放进 Rules（见：",{"type":26,"tag":44,"props":1815,"children":1816},{"href":1112},[1817],{"type":31,"value":1115},{"type":31,"value":1819},"）。",{"type":26,"tag":1443,"props":1821,"children":1823},{"id":1822},"工作流-10把快捷键表做成你自己的任务表",[1824],{"type":31,"value":1825},"工作流 10：把“快捷键表”做成你自己的任务表",{"type":26,"tag":27,"props":1827,"children":1828},{},[1829],{"type":31,"value":1830},"你不需要记住所有快捷键，只需要记住：",{"type":26,"tag":226,"props":1832,"children":1833},{},[1834,1844,1854,1864],{"type":26,"tag":230,"props":1835,"children":1836},{},[1837,1839],{"type":31,"value":1838},"小步改：",{"type":26,"tag":186,"props":1840,"children":1842},{"className":1841},[],[1843],{"type":31,"value":1494},{"type":26,"tag":230,"props":1845,"children":1846},{},[1847,1849],{"type":31,"value":1848},"先对齐：",{"type":26,"tag":186,"props":1850,"children":1852},{"className":1851},[],[1853],{"type":31,"value":1460},{"type":26,"tag":230,"props":1855,"children":1856},{},[1857,1859],{"type":31,"value":1858},"多文件：",{"type":26,"tag":186,"props":1860,"children":1862},{"className":1861},[],[1863],{"type":31,"value":1589},{"type":26,"tag":230,"props":1865,"children":1866},{},[1867,1869],{"type":31,"value":1868},"上下文聚焦：",{"type":26,"tag":186,"props":1870,"children":1872},{"className":1871},[],[1873],{"type":31,"value":1652},{"type":26,"tag":1117,"props":1875,"children":1876},{},[],{"type":26,"tag":76,"props":1878,"children":1880},{"id":1879},"必交付物-1最小回归任务清单10-条通用",[1881],{"type":31,"value":1882},"必交付物 1：最小回归任务清单（10 条，通用）",{"type":26,"tag":1425,"props":1884,"children":1885},{},[1886],{"type":26,"tag":27,"props":1887,"children":1888},{},[1889],{"type":31,"value":1890},"这份清单的意义：让每次 AI 改动都能“被验证”。否则你只是把不可控变成了更快的不可控。",{"type":26,"tag":1047,"props":1892,"children":1893},{},[1894,1899,1904,1909,1914,1919,1924,1929,1934,1939],{"type":26,"tag":230,"props":1895,"children":1896},{},[1897],{"type":31,"value":1898},"关键路径能跑通（手动点击/请求一次）",{"type":26,"tag":230,"props":1900,"children":1901},{},[1902],{"type":31,"value":1903},"错误路径能触发（模拟一次失败输入）",{"type":26,"tag":230,"props":1905,"children":1906},{},[1907],{"type":31,"value":1908},"控制台无新增错误（至少关注 1 次真实操作）",{"type":26,"tag":230,"props":1910,"children":1911},{},[1912],{"type":31,"value":1913},"关键 UI 未错位（移动端/桌面端各看一眼）",{"type":26,"tag":230,"props":1915,"children":1916},{},[1917],{"type":31,"value":1918},"刷新后状态正确（尤其是表单/列表）",{"type":26,"tag":230,"props":1920,"children":1921},{},[1922],{"type":31,"value":1923},"路由跳转没断（从入口到目标页）",{"type":26,"tag":230,"props":1925,"children":1926},{},[1927],{"type":31,"value":1928},"相关接口未改变契约（字段名/类型）",{"type":26,"tag":230,"props":1930,"children":1931},{},[1932],{"type":31,"value":1933},"性能没有明显退化（首屏、交互卡顿）",{"type":26,"tag":230,"props":1935,"children":1936},{},[1937],{"type":31,"value":1938},"回滚方案可执行（知道回滚哪几个文件/commit）",{"type":26,"tag":230,"props":1940,"children":1941},{},[1942],{"type":31,"value":1943},"写下“这次改动解决了什么、风险是什么”（可贴 PR）",{"type":26,"tag":1117,"props":1945,"children":1946},{},[],{"type":26,"tag":76,"props":1948,"children":1950},{"id":1949},"必交付物-2失败案例复盘真实会发生",[1951],{"type":31,"value":1952},"必交付物 2：失败案例复盘（真实会发生）",{"type":26,"tag":1443,"props":1954,"children":1956},{"id":1955},"现象快捷键用得很熟但交付还是慢",[1957],{"type":31,"value":1958},"现象：快捷键用得很熟，但交付还是慢",{"type":26,"tag":27,"props":1960,"children":1961},{},[1962],{"type":31,"value":1963},"典型原因：你把 Cursor 当成“更聪明的搜索框”，不断对话，直到它给出你想要的答案。",{"type":26,"tag":27,"props":1965,"children":1966},{},[1967],{"type":31,"value":1968},"复现路径：",{"type":26,"tag":226,"props":1970,"children":1971},{},[1972,1977,1982,1987],{"type":26,"tag":230,"props":1973,"children":1974},{},[1975],{"type":31,"value":1976},"你直接说“把页面做得更好看、更高级”",{"type":26,"tag":230,"props":1978,"children":1979},{},[1980],{"type":31,"value":1981},"AI 开始大改样式、抽象组件、甚至引入新依赖",{"type":26,"tag":230,"props":1983,"children":1984},{},[1985],{"type":31,"value":1986},"你为了省事按了“接受建议”",{"type":26,"tag":230,"props":1988,"children":1989},{},[1990],{"type":31,"value":1991},"最后发现：设计没统一、移动端崩、甚至埋了性能问题",{"type":26,"tag":27,"props":1993,"children":1994},{},[1995,1997,2001,2003,2008],{"type":31,"value":1996},"根因：缺少",{"type":26,"tag":1056,"props":1998,"children":1999},{},[2000],{"type":31,"value":1181},{"type":31,"value":2002},"与",{"type":26,"tag":1056,"props":2004,"children":2005},{},[2006],{"type":31,"value":2007},"验收",{"type":31,"value":2009},"。",{"type":26,"tag":27,"props":2011,"children":2012},{},[2013],{"type":31,"value":2014},"修复方式（可照抄）：",{"type":26,"tag":226,"props":2016,"children":2017},{},[2018,2023,2035],{"type":26,"tag":230,"props":2019,"children":2020},{},[2021],{"type":31,"value":2022},"把需求拆成 3 个可验证目标：例如“按钮样式统一”“首屏 CTA 更明显”“移动端间距不挤”",{"type":26,"tag":230,"props":2024,"children":2025},{},[2026,2028,2033],{"type":31,"value":2027},"每个目标只用 ",{"type":26,"tag":186,"props":2029,"children":2031},{"className":2030},[],[2032],{"type":31,"value":1494},{"type":31,"value":2034}," 改一个局部",{"type":26,"tag":230,"props":2036,"children":2037},{},[2038],{"type":31,"value":2039},"每次接受建议前跑一遍“最小回归集”",{"type":26,"tag":1117,"props":2041,"children":2042},{},[],{"type":26,"tag":76,"props":2044,"children":2046},{"id":2045},"faq高频问题",[2047],{"type":31,"value":2048},"FAQ（高频问题）",{"type":26,"tag":1443,"props":2050,"children":2052},{"id":2051},"q1我应该先记快捷键还是先学工作流",[2053],{"type":31,"value":2054},"Q1：我应该先记快捷键还是先学工作流？",{"type":26,"tag":27,"props":2056,"children":2057},{},[2058],{"type":31,"value":2059},"先学工作流。快捷键只是把工作流的步骤变短。",{"type":26,"tag":1443,"props":2061,"children":2063},{"id":2062},"q2为什么我一用多文件就容易翻车",[2064],{"type":31,"value":2065},"Q2：为什么我一用多文件就容易翻车？",{"type":26,"tag":27,"props":2067,"children":2068},{},[2069],{"type":31,"value":2070},"因为多文件意味着范围更大、依赖更多、验收更难。先锁定“文件清单 + 每步验收”，再让它动手。",{"type":26,"tag":1443,"props":2072,"children":2074},{"id":2073},"q3有没有万能提示词",[2075],{"type":31,"value":2076},"Q3：有没有“万能提示词”？",{"type":26,"tag":27,"props":2078,"children":2079},{},[2080],{"type":31,"value":2081},"没有，但有“万能结构”：目标、范围、非目标、验收、输出格式。",{"type":26,"tag":1117,"props":2083,"children":2084},{},[],{"type":26,"tag":76,"props":2086,"children":2088},{"id":2087},"延伸阅读建议按顺序",[2089],{"type":31,"value":2090},"延伸阅读（建议按顺序）",{"type":26,"tag":226,"props":2092,"children":2093},{},[2094,2101,2108,2115],{"type":26,"tag":230,"props":2095,"children":2096},{},[2097],{"type":26,"tag":44,"props":2098,"children":2099},{"href":1090},[2100],{"type":31,"value":1093},{"type":26,"tag":230,"props":2102,"children":2103},{},[2104],{"type":26,"tag":44,"props":2105,"children":2106},{"href":1101},[2107],{"type":31,"value":1104},{"type":26,"tag":230,"props":2109,"children":2110},{},[2111],{"type":26,"tag":44,"props":2112,"children":2113},{"href":1112},[2114],{"type":31,"value":1115},{"type":26,"tag":230,"props":2116,"children":2117},{},[2118,2120],{"type":31,"value":2119},"如果你更关心“网页制作落地”：看这篇 ",{"type":26,"tag":44,"props":2121,"children":2123},{"href":2122},"/topics/practical-tips/htmlpage-quick-landing-page",[2124],{"type":31,"value":2125},"3 分钟用 HTMLPAGE 做落地页",{"title":7,"searchDepth":980,"depth":980,"links":2127},[2128,2129,2130,2142,2143,2146,2151],{"id":1122,"depth":983,"text":1125},{"id":1197,"depth":983,"text":1200},{"id":1438,"depth":983,"text":1441,"children":2131},[2132,2133,2134,2135,2136,2137,2138,2139,2140,2141],{"id":1445,"depth":980,"text":1448},{"id":1504,"depth":980,"text":1507},{"id":1574,"depth":980,"text":1577},{"id":1630,"depth":980,"text":1633},{"id":1670,"depth":980,"text":1673},{"id":1709,"depth":980,"text":1712},{"id":1728,"depth":980,"text":1731},{"id":1770,"depth":980,"text":1773},{"id":1805,"depth":980,"text":1808},{"id":1822,"depth":980,"text":1825},{"id":1879,"depth":983,"text":1882},{"id":1949,"depth":983,"text":1952,"children":2144},[2145],{"id":1955,"depth":980,"text":1958},{"id":2045,"depth":983,"text":2048,"children":2147},[2148,2149,2150],{"id":2051,"depth":980,"text":2054},{"id":2062,"depth":980,"text":2065},{"id":2073,"depth":980,"text":2076},{"id":2087,"depth":983,"text":2090},"content:topics:ai:cursor-keyboard-shortcuts-cheatsheet.md","topics/ai/cursor-keyboard-shortcuts-cheatsheet.md","topics/ai/cursor-keyboard-shortcuts-cheatsheet",{"_path":2156,"_dir":5,"_draft":6,"_partial":6,"_locale":7,"title":2157,"description":2158,"date":2159,"topic":5,"author":11,"tags":2160,"image":2164,"imageAlt":2165,"pexelsPhotoId":2166,"pexelsUrl":2167,"readingTime":2168,"body":2169,"_type":993,"_id":3102,"_source":995,"_file":3103,"_stem":3104,"_extension":998},"/topics/ai/cursor-vs-copilot-vscode-workflow","Cursor vs GitHub Copilot vs VS Code：怎么选、怎么搭配、怎么把风险关在笼子里","用“任务类型×风险×验收成本”的选择矩阵解释 Cursor/Copilot/VS Code 的差异，并给出一套可落地的协作工作流（范围闸门、最小回归集、回滚策略）。","2026-03-01",[1006,2161,1009,2162,2163],"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":2170,"toc":3080},[2171,2176,2181,2199,2204,2222,2225,2231,2236,2267,2272,2275,2281,2289,2493,2501,2514,2517,2523,2529,2542,2547,2560,2566,2571,2604,2610,2615,2633,2636,2642,2647,2653,2658,2691,2697,2710,2715,2728,2734,2746,2752,2757,2770,2775,2778,2784,2789,2910,2913,2919,2929,2938,2956,2965,2973,2982,3000,3003,3009,3015,3020,3026,3031,3034,3039],{"type":26,"tag":27,"props":2172,"children":2173},{},[2174],{"type":31,"value":2175},"“Cursor 和 Copilot 到底有什么区别？”",{"type":26,"tag":27,"props":2177,"children":2178},{},[2179],{"type":31,"value":2180},"这个问题问得越早越好，因为你一旦把工具选错，后面所有痛苦都不是“提示词不够好”，而是：",{"type":26,"tag":226,"props":2182,"children":2183},{},[2184,2189,2194],{"type":26,"tag":230,"props":2185,"children":2186},{},[2187],{"type":31,"value":2188},"改动不可控（范围漂移、改错文件）",{"type":26,"tag":230,"props":2190,"children":2191},{},[2192],{"type":31,"value":2193},"验收成本爆炸（不知道要测什么）",{"type":26,"tag":230,"props":2195,"children":2196},{},[2197],{"type":31,"value":2198},"团队协作崩盘（没有闸门、没有回滚）",{"type":26,"tag":27,"props":2200,"children":2201},{},[2202],{"type":31,"value":2203},"这篇文章用一张选择矩阵 + 一套可执行工作流，帮你做到两件事：",{"type":26,"tag":1047,"props":2205,"children":2206},{},[2207,2212],{"type":26,"tag":230,"props":2208,"children":2209},{},[2210],{"type":31,"value":2211},"知道什么时候用 Cursor、什么时候用 Copilot、什么时候“纯 VS Code 更快”",{"type":26,"tag":230,"props":2213,"children":2214},{},[2215,2217],{"type":31,"value":2216},"就算用 AI，也能把风险关在笼子里：",{"type":26,"tag":1056,"props":2218,"children":2219},{},[2220],{"type":31,"value":2221},"可审查、可验证、可回滚",{"type":26,"tag":1117,"props":2223,"children":2224},{},[],{"type":26,"tag":76,"props":2226,"children":2228},{"id":2227},"结论先说三者不是互斥而是分工",[2229],{"type":31,"value":2230},"结论先说：三者不是互斥，而是分工",{"type":26,"tag":27,"props":2232,"children":2233},{},[2234],{"type":31,"value":2235},"你可以把它们看成三层能力：",{"type":26,"tag":226,"props":2237,"children":2238},{},[2239,2248,2258],{"type":26,"tag":230,"props":2240,"children":2241},{},[2242,2246],{"type":26,"tag":1056,"props":2243,"children":2244},{},[2245],{"type":31,"value":1009},{"type":31,"value":2247},"：编辑器与生态（调试、插件、任务、终端、语言服务）",{"type":26,"tag":230,"props":2249,"children":2250},{},[2251,2256],{"type":26,"tag":1056,"props":2252,"children":2253},{},[2254],{"type":31,"value":2255},"Copilot",{"type":31,"value":2257},"：代码补全与局部建议（“我正在写这一行/这一段”）",{"type":26,"tag":230,"props":2259,"children":2260},{},[2261,2265],{"type":26,"tag":1056,"props":2262,"children":2263},{},[2264],{"type":31,"value":1006},{"type":31,"value":2266},"：以项目为单位的 AI 协作（对话、索引、多文件编辑、规则）",{"type":26,"tag":27,"props":2268,"children":2269},{},[2270],{"type":31,"value":2271},"最常见的误区是：把“局部补全能力”当作“能做架构与多文件落地”。",{"type":26,"tag":1117,"props":2273,"children":2274},{},[],{"type":26,"tag":76,"props":2276,"children":2278},{"id":2277},"选择矩阵按任务类型选工具不是按偏好",[2279],{"type":31,"value":2280},"选择矩阵：按任务类型选工具（不是按偏好）",{"type":26,"tag":1425,"props":2282,"children":2283},{},[2284],{"type":26,"tag":27,"props":2285,"children":2286},{},[2287],{"type":31,"value":2288},"你只要把自己的任务放进表格，就能得到推荐路径。",{"type":26,"tag":83,"props":2290,"children":2291},{},[2292,2324],{"type":26,"tag":87,"props":2293,"children":2294},{},[2295],{"type":26,"tag":91,"props":2296,"children":2297},{},[2298,2303,2309,2314,2319],{"type":26,"tag":95,"props":2299,"children":2300},{},[2301],{"type":31,"value":2302},"任务类型",{"type":26,"tag":95,"props":2304,"children":2306},{"align":2305},"right",[2307],{"type":31,"value":2308},"风险",{"type":26,"tag":95,"props":2310,"children":2311},{"align":2305},[2312],{"type":31,"value":2313},"验收成本",{"type":26,"tag":95,"props":2315,"children":2316},{},[2317],{"type":31,"value":2318},"更推荐",{"type":26,"tag":95,"props":2320,"children":2321},{},[2322],{"type":31,"value":2323},"为什么",{"type":26,"tag":106,"props":2325,"children":2326},{},[2327,2354,2387,2413,2440,2467],{"type":26,"tag":91,"props":2328,"children":2329},{},[2330,2335,2340,2344,2349],{"type":26,"tag":113,"props":2331,"children":2332},{},[2333],{"type":31,"value":2334},"写一段代码/补一个 if",{"type":26,"tag":113,"props":2336,"children":2337},{"align":2305},[2338],{"type":31,"value":2339},"低",{"type":26,"tag":113,"props":2341,"children":2342},{"align":2305},[2343],{"type":31,"value":2339},{"type":26,"tag":113,"props":2345,"children":2346},{},[2347],{"type":31,"value":2348},"Copilot / Cursor 内联编辑",{"type":26,"tag":113,"props":2350,"children":2351},{},[2352],{"type":31,"value":2353},"局部建议足够，成本最低",{"type":26,"tag":91,"props":2355,"children":2356},{},[2357,2362,2367,2371,2382],{"type":26,"tag":113,"props":2358,"children":2359},{},[2360],{"type":31,"value":2361},"重构一个函数",{"type":26,"tag":113,"props":2363,"children":2364},{"align":2305},[2365],{"type":31,"value":2366},"中",{"type":26,"tag":113,"props":2368,"children":2369},{"align":2305},[2370],{"type":31,"value":2366},{"type":26,"tag":113,"props":2372,"children":2373},{},[2374,2376],{"type":31,"value":2375},"Cursor ",{"type":26,"tag":186,"props":2377,"children":2379},{"className":2378},[],[2380],{"type":31,"value":2381},"内联编辑",{"type":26,"tag":113,"props":2383,"children":2384},{},[2385],{"type":31,"value":2386},"需要解释、需要约束输出",{"type":26,"tag":91,"props":2388,"children":2389},{},[2390,2395,2399,2403,2408],{"type":26,"tag":113,"props":2391,"children":2392},{},[2393],{"type":31,"value":2394},"改一个组件 + 样式",{"type":26,"tag":113,"props":2396,"children":2397},{"align":2305},[2398],{"type":31,"value":2366},{"type":26,"tag":113,"props":2400,"children":2401},{"align":2305},[2402],{"type":31,"value":2366},{"type":26,"tag":113,"props":2404,"children":2405},{},[2406],{"type":31,"value":2407},"Cursor（小范围多文件）",{"type":26,"tag":113,"props":2409,"children":2410},{},[2411],{"type":31,"value":2412},"需要同时改模板与样式",{"type":26,"tag":91,"props":2414,"children":2415},{},[2416,2421,2426,2430,2435],{"type":26,"tag":113,"props":2417,"children":2418},{},[2419],{"type":31,"value":2420},"改 3~5 个文件（组件+api+测试）",{"type":26,"tag":113,"props":2422,"children":2423},{"align":2305},[2424],{"type":31,"value":2425},"高",{"type":26,"tag":113,"props":2427,"children":2428},{"align":2305},[2429],{"type":31,"value":2425},{"type":26,"tag":113,"props":2431,"children":2432},{},[2433],{"type":31,"value":2434},"Cursor Composer + 闸门",{"type":26,"tag":113,"props":2436,"children":2437},{},[2438],{"type":31,"value":2439},"需要计划、验收、回滚",{"type":26,"tag":91,"props":2441,"children":2442},{},[2443,2448,2453,2457,2462],{"type":26,"tag":113,"props":2444,"children":2445},{},[2446],{"type":31,"value":2447},"重写一段架构/引入新依赖",{"type":26,"tag":113,"props":2449,"children":2450},{"align":2305},[2451],{"type":31,"value":2452},"很高",{"type":26,"tag":113,"props":2454,"children":2455},{"align":2305},[2456],{"type":31,"value":2452},{"type":26,"tag":113,"props":2458,"children":2459},{},[2460],{"type":31,"value":2461},"先人脑设计 + VS Code 实现",{"type":26,"tag":113,"props":2463,"children":2464},{},[2465],{"type":31,"value":2466},"AI 易发散，最好先设计再执行",{"type":26,"tag":91,"props":2468,"children":2469},{},[2470,2475,2479,2483,2488],{"type":26,"tag":113,"props":2471,"children":2472},{},[2473],{"type":31,"value":2474},"排查线上问题/性能抖动",{"type":26,"tag":113,"props":2476,"children":2477},{"align":2305},[2478],{"type":31,"value":2425},{"type":26,"tag":113,"props":2480,"children":2481},{"align":2305},[2482],{"type":31,"value":2452},{"type":26,"tag":113,"props":2484,"children":2485},{},[2486],{"type":31,"value":2487},"VS Code + 工具链优先，AI 辅助归纳",{"type":26,"tag":113,"props":2489,"children":2490},{},[2491],{"type":31,"value":2492},"需要证据，不要“猜”",{"type":26,"tag":27,"props":2494,"children":2495},{},[2496],{"type":26,"tag":1056,"props":2497,"children":2498},{},[2499],{"type":31,"value":2500},"一句话规则：",{"type":26,"tag":226,"props":2502,"children":2503},{},[2504,2509],{"type":26,"tag":230,"props":2505,"children":2506},{},[2507],{"type":31,"value":2508},"当你的改动可以用“10 条最小回归集”覆盖时，用 Cursor。",{"type":26,"tag":230,"props":2510,"children":2511},{},[2512],{"type":31,"value":2513},"当你的改动无法验证时，先别让 AI 动手。",{"type":26,"tag":1117,"props":2515,"children":2516},{},[],{"type":26,"tag":76,"props":2518,"children":2520},{"id":2519},"差异拆解到底差在哪里",[2521],{"type":31,"value":2522},"差异拆解：到底差在哪里？",{"type":26,"tag":1443,"props":2524,"children":2526},{"id":2525},"_1-上下文来源补全-vs-项目索引",[2527],{"type":31,"value":2528},"1) 上下文来源：补全 vs 项目索引",{"type":26,"tag":226,"props":2530,"children":2531},{},[2532,2537],{"type":26,"tag":230,"props":2533,"children":2534},{},[2535],{"type":31,"value":2536},"Copilot 更擅长：你正在写的这几行、当前文件的局部上下文",{"type":26,"tag":230,"props":2538,"children":2539},{},[2540],{"type":31,"value":2541},"Cursor 更擅长：项目级索引 + 多文件关联理解",{"type":26,"tag":27,"props":2543,"children":2544},{},[2545],{"type":31,"value":2546},"因此：",{"type":26,"tag":226,"props":2548,"children":2549},{},[2550,2555],{"type":26,"tag":230,"props":2551,"children":2552},{},[2553],{"type":31,"value":2554},"写代码片段：Copilot 速度更快",{"type":26,"tag":230,"props":2556,"children":2557},{},[2558],{"type":31,"value":2559},"改一坨工程：Cursor 更有胜算（但更需要闸门）",{"type":26,"tag":1443,"props":2561,"children":2563},{"id":2562},"_2-交互方式你能不能控制范围",[2564],{"type":31,"value":2565},"2) 交互方式：你能不能控制范围",{"type":26,"tag":27,"props":2567,"children":2568},{},[2569],{"type":31,"value":2570},"范围控制的三个层级：",{"type":26,"tag":1047,"props":2572,"children":2573},{},[2574,2584,2594],{"type":26,"tag":230,"props":2575,"children":2576},{},[2577,2579],{"type":31,"value":2578},"内联编辑（选中一段）→ ",{"type":26,"tag":1056,"props":2580,"children":2581},{},[2582],{"type":31,"value":2583},"最强范围控制",{"type":26,"tag":230,"props":2585,"children":2586},{},[2587,2589],{"type":31,"value":2588},"Composer 多文件（先列文件清单）→ ",{"type":26,"tag":1056,"props":2590,"children":2591},{},[2592],{"type":31,"value":2593},"可控但要闸门",{"type":26,"tag":230,"props":2595,"children":2596},{},[2597,2599],{"type":31,"value":2598},"大对话（泛目标）→ ",{"type":26,"tag":1056,"props":2600,"children":2601},{},[2602],{"type":31,"value":2603},"最容易跑偏",{"type":26,"tag":1443,"props":2605,"children":2607},{"id":2606},"_3-输出形态建议-vs-可审查的变更",[2608],{"type":31,"value":2609},"3) 输出形态：建议 vs 可审查的变更",{"type":26,"tag":27,"props":2611,"children":2612},{},[2613],{"type":31,"value":2614},"最好的 AI 输出不是“给我一段代码”，而是：",{"type":26,"tag":226,"props":2616,"children":2617},{},[2618,2623,2628],{"type":26,"tag":230,"props":2619,"children":2620},{},[2621],{"type":31,"value":2622},"改动摘要（做了什么）",{"type":26,"tag":230,"props":2624,"children":2625},{},[2626],{"type":31,"value":2627},"diff 级别的可审查变更",{"type":26,"tag":230,"props":2629,"children":2630},{},[2631],{"type":31,"value":2632},"验收步骤与回滚方案",{"type":26,"tag":1117,"props":2634,"children":2635},{},[],{"type":26,"tag":76,"props":2637,"children":2639},{"id":2638},"一套可落地的团队工作流把风险关住",[2640],{"type":31,"value":2641},"一套可落地的团队工作流（把风险关住）",{"type":26,"tag":27,"props":2643,"children":2644},{},[2645],{"type":31,"value":2646},"下面这套流程，你可以直接写进团队规范：",{"type":26,"tag":1443,"props":2648,"children":2650},{"id":2649},"step-1先写任务单geo-友好结构",[2651],{"type":31,"value":2652},"Step 1：先写任务单（GEO 友好结构）",{"type":26,"tag":27,"props":2654,"children":2655},{},[2656],{"type":31,"value":2657},"模板：",{"type":26,"tag":226,"props":2659,"children":2660},{},[2661,2666,2671,2676,2681,2686],{"type":26,"tag":230,"props":2662,"children":2663},{},[2664],{"type":31,"value":2665},"目标：……",{"type":26,"tag":230,"props":2667,"children":2668},{},[2669],{"type":31,"value":2670},"背景：……",{"type":26,"tag":230,"props":2672,"children":2673},{},[2674],{"type":31,"value":2675},"范围：只改这些文件/模块：……",{"type":26,"tag":230,"props":2677,"children":2678},{},[2679],{"type":31,"value":2680},"非目标：不做哪些事情：……",{"type":26,"tag":230,"props":2682,"children":2683},{},[2684],{"type":31,"value":2685},"验收：如何判断完成（可测试/可观察）：……",{"type":26,"tag":230,"props":2687,"children":2688},{},[2689],{"type":31,"value":2690},"回滚：如果失败怎么撤回：……",{"type":26,"tag":1443,"props":2692,"children":2694},{"id":2693},"step-2用范围闸门限制-ai",[2695],{"type":31,"value":2696},"Step 2：用“范围闸门”限制 AI",{"type":26,"tag":226,"props":2698,"children":2699},{},[2700,2705],{"type":26,"tag":230,"props":2701,"children":2702},{},[2703],{"type":31,"value":2704},"单文件改动：优先 Cursor 内联编辑",{"type":26,"tag":230,"props":2706,"children":2707},{},[2708],{"type":31,"value":2709},"多文件改动：必须先让 AI 输出“文件清单（≤5）+ 每步验收”",{"type":26,"tag":27,"props":2711,"children":2712},{},[2713],{"type":31,"value":2714},"如果 AI 输出的文件清单超过 5 个：",{"type":26,"tag":226,"props":2716,"children":2717},{},[2718,2723],{"type":26,"tag":230,"props":2719,"children":2720},{},[2721],{"type":31,"value":2722},"不是它太强，是任务太大",{"type":26,"tag":230,"props":2724,"children":2725},{},[2726],{"type":31,"value":2727},"你需要拆任务，而不是继续推进",{"type":26,"tag":1443,"props":2729,"children":2731},{"id":2730},"step-3最小回归集10-条",[2732],{"type":31,"value":2733},"Step 3：最小回归集（10 条）",{"type":26,"tag":27,"props":2735,"children":2736},{},[2737,2739,2744],{"type":31,"value":2738},"每次接受改动前必须跑（可参考：",{"type":26,"tag":44,"props":2740,"children":2741},{"href":1001},[2742],{"type":31,"value":2743},"Cursor 快捷键速查表",{"type":31,"value":2745}," 里的清单）。",{"type":26,"tag":1443,"props":2747,"children":2749},{"id":2748},"step-4回滚策略不用等事故才想",[2750],{"type":31,"value":2751},"Step 4：回滚策略（不用等事故才想）",{"type":26,"tag":27,"props":2753,"children":2754},{},[2755],{"type":31,"value":2756},"回滚最常见的两条路：",{"type":26,"tag":226,"props":2758,"children":2759},{},[2760,2765],{"type":26,"tag":230,"props":2761,"children":2762},{},[2763],{"type":31,"value":2764},"git 回滚 commit",{"type":26,"tag":230,"props":2766,"children":2767},{},[2768],{"type":31,"value":2769},"对关键文件保留前版本（至少能快速恢复）",{"type":26,"tag":27,"props":2771,"children":2772},{},[2773],{"type":31,"value":2774},"你需要做到：任何一轮 AI 改动都能在 5 分钟内撤回。",{"type":26,"tag":1117,"props":2776,"children":2777},{},[],{"type":26,"tag":76,"props":2779,"children":2781},{"id":2780},"必交付物对比矩阵可复制",[2782],{"type":31,"value":2783},"必交付物：对比矩阵（可复制）",{"type":26,"tag":27,"props":2785,"children":2786},{},[2787],{"type":31,"value":2788},"下面这张表可以直接贴到你的团队 wiki：",{"type":26,"tag":83,"props":2790,"children":2791},{},[2792,2815],{"type":26,"tag":87,"props":2793,"children":2794},{},[2795],{"type":26,"tag":91,"props":2796,"children":2797},{},[2798,2803,2807,2811],{"type":26,"tag":95,"props":2799,"children":2800},{},[2801],{"type":31,"value":2802},"维度",{"type":26,"tag":95,"props":2804,"children":2805},{},[2806],{"type":31,"value":1009},{"type":26,"tag":95,"props":2808,"children":2809},{},[2810],{"type":31,"value":2255},{"type":26,"tag":95,"props":2812,"children":2813},{},[2814],{"type":31,"value":1006},{"type":26,"tag":106,"props":2816,"children":2817},{},[2818,2841,2864,2887],{"type":26,"tag":91,"props":2819,"children":2820},{},[2821,2826,2831,2836],{"type":26,"tag":113,"props":2822,"children":2823},{},[2824],{"type":31,"value":2825},"强项",{"type":26,"tag":113,"props":2827,"children":2828},{},[2829],{"type":31,"value":2830},"工具链、调试、生态",{"type":26,"tag":113,"props":2832,"children":2833},{},[2834],{"type":31,"value":2835},"补全与局部建议",{"type":26,"tag":113,"props":2837,"children":2838},{},[2839],{"type":31,"value":2840},"项目上下文、多文件落地",{"type":26,"tag":91,"props":2842,"children":2843},{},[2844,2849,2854,2859],{"type":26,"tag":113,"props":2845,"children":2846},{},[2847],{"type":31,"value":2848},"适合任务",{"type":26,"tag":113,"props":2850,"children":2851},{},[2852],{"type":31,"value":2853},"排查、调试、验证",{"type":26,"tag":113,"props":2855,"children":2856},{},[2857],{"type":31,"value":2858},"写一段、补一段",{"type":26,"tag":113,"props":2860,"children":2861},{},[2862],{"type":31,"value":2863},"改一段、改一组文件",{"type":26,"tag":91,"props":2865,"children":2866},{},[2867,2872,2877,2882],{"type":26,"tag":113,"props":2868,"children":2869},{},[2870],{"type":31,"value":2871},"最大风险",{"type":26,"tag":113,"props":2873,"children":2874},{},[2875],{"type":31,"value":2876},"无",{"type":26,"tag":113,"props":2878,"children":2879},{},[2880],{"type":31,"value":2881},"过度依赖建议",{"type":26,"tag":113,"props":2883,"children":2884},{},[2885],{"type":31,"value":2886},"范围漂移、多文件回归",{"type":26,"tag":91,"props":2888,"children":2889},{},[2890,2895,2900,2905],{"type":26,"tag":113,"props":2891,"children":2892},{},[2893],{"type":31,"value":2894},"必须搭配",{"type":26,"tag":113,"props":2896,"children":2897},{},[2898],{"type":31,"value":2899},"规范与检查",{"type":26,"tag":113,"props":2901,"children":2902},{},[2903],{"type":31,"value":2904},"代码评审",{"type":26,"tag":113,"props":2906,"children":2907},{},[2908],{"type":31,"value":2909},"闸门 + 最小回归集",{"type":26,"tag":1117,"props":2911,"children":2912},{},[],{"type":26,"tag":76,"props":2914,"children":2916},{"id":2915},"失败案例多文件看似成功实际埋雷",[2917],{"type":31,"value":2918},"失败案例：多文件“看似成功”，实际埋雷",{"type":26,"tag":27,"props":2920,"children":2921},{},[2922,2927],{"type":26,"tag":1056,"props":2923,"children":2924},{},[2925],{"type":31,"value":2926},"现象",{"type":31,"value":2928},"：AI 说“我已经把所有地方都改了”，你也接受了，结果上线后 404 或样式错位。",{"type":26,"tag":27,"props":2930,"children":2931},{},[2932,2937],{"type":26,"tag":1056,"props":2933,"children":2934},{},[2935],{"type":31,"value":2936},"复现条件",{"type":31,"value":1749},{"type":26,"tag":226,"props":2939,"children":2940},{},[2941,2946,2951],{"type":26,"tag":230,"props":2942,"children":2943},{},[2944],{"type":31,"value":2945},"你给了一个大目标（例如“把所有按钮统一成主题色”）",{"type":26,"tag":230,"props":2947,"children":2948},{},[2949],{"type":31,"value":2950},"它改了组件、样式、甚至主题配置",{"type":26,"tag":230,"props":2952,"children":2953},{},[2954],{"type":31,"value":2955},"你没有按页面模块走一遍，直接合并",{"type":26,"tag":27,"props":2957,"children":2958},{},[2959,2964],{"type":26,"tag":1056,"props":2960,"children":2961},{},[2962],{"type":31,"value":2963},"根因",{"type":31,"value":1749},{"type":26,"tag":226,"props":2966,"children":2967},{},[2968],{"type":26,"tag":230,"props":2969,"children":2970},{},[2971],{"type":31,"value":2972},"改动范围大，但验收仍按“小改动”的方式做（只看一处）",{"type":26,"tag":27,"props":2974,"children":2975},{},[2976,2981],{"type":26,"tag":1056,"props":2977,"children":2978},{},[2979],{"type":31,"value":2980},"修复",{"type":31,"value":1749},{"type":26,"tag":226,"props":2983,"children":2984},{},[2985,2990,2995],{"type":26,"tag":230,"props":2986,"children":2987},{},[2988],{"type":31,"value":2989},"强制把任务拆成“模块级目标”：Hero、Feature、Pricing、Form",{"type":26,"tag":230,"props":2991,"children":2992},{},[2993],{"type":31,"value":2994},"每个模块改完就验收一次",{"type":26,"tag":230,"props":2996,"children":2997},{},[2998],{"type":31,"value":2999},"验收通过再进入下一个模块",{"type":26,"tag":1117,"props":3001,"children":3002},{},[],{"type":26,"tag":76,"props":3004,"children":3006},{"id":3005},"faq",[3007],{"type":31,"value":3008},"FAQ",{"type":26,"tag":1443,"props":3010,"children":3012},{"id":3011},"q1我已经用了-cursor为什么还要用-copilot",[3013],{"type":31,"value":3014},"Q1：我已经用了 Cursor，为什么还要用 Copilot？",{"type":26,"tag":27,"props":3016,"children":3017},{},[3018],{"type":31,"value":3019},"因为“补全”这种高频低风险任务，Copilot 的交互成本更低；Cursor 更适合需要解释与约束的改动。",{"type":26,"tag":1443,"props":3021,"children":3023},{"id":3022},"q2什么时候应该完全不用-ai",[3024],{"type":31,"value":3025},"Q2：什么时候应该完全不用 AI？",{"type":26,"tag":27,"props":3027,"children":3028},{},[3029],{"type":31,"value":3030},"当你无法定义验收标准时。比如“更高级”“更好看”这种目标，先做信息结构与设计规则，再让 AI 帮你落地局部。",{"type":26,"tag":1117,"props":3032,"children":3033},{},[],{"type":26,"tag":76,"props":3035,"children":3037},{"id":3036},"延伸阅读",[3038],{"type":31,"value":3036},{"type":26,"tag":226,"props":3040,"children":3041},{},[3042,3051,3060,3069],{"type":26,"tag":230,"props":3043,"children":3044},{},[3045,3047],{"type":31,"value":3046},"Cursor 入门：",{"type":26,"tag":44,"props":3048,"children":3049},{"href":1090},[3050],{"type":31,"value":1093},{"type":26,"tag":230,"props":3052,"children":3053},{},[3054,3056],{"type":31,"value":3055},"Cursor 进阶：",{"type":26,"tag":44,"props":3057,"children":3058},{"href":1101},[3059],{"type":31,"value":1104},{"type":26,"tag":230,"props":3061,"children":3062},{},[3063,3065],{"type":31,"value":3064},"规则配置：",{"type":26,"tag":44,"props":3066,"children":3067},{"href":1112},[3068],{"type":31,"value":1115},{"type":26,"tag":230,"props":3070,"children":3071},{},[3072,3074],{"type":31,"value":3073},"Copilot 实战：",{"type":26,"tag":44,"props":3075,"children":3077},{"href":3076},"/topics/ai/github-copilot-tips",[3078],{"type":31,"value":3079},"GitHub Copilot 实用技巧",{"title":7,"searchDepth":980,"depth":980,"links":3081},[3082,3083,3084,3089,3095,3096,3097,3101],{"id":2227,"depth":983,"text":2230},{"id":2277,"depth":983,"text":2280},{"id":2519,"depth":983,"text":2522,"children":3085},[3086,3087,3088],{"id":2525,"depth":980,"text":2528},{"id":2562,"depth":980,"text":2565},{"id":2606,"depth":980,"text":2609},{"id":2638,"depth":983,"text":2641,"children":3090},[3091,3092,3093,3094],{"id":2649,"depth":980,"text":2652},{"id":2693,"depth":980,"text":2696},{"id":2730,"depth":980,"text":2733},{"id":2748,"depth":980,"text":2751},{"id":2780,"depth":983,"text":2783},{"id":2915,"depth":983,"text":2918},{"id":3005,"depth":983,"text":3008,"children":3098},[3099,3100],{"id":3011,"depth":980,"text":3014},{"id":3022,"depth":980,"text":3025},{"id":3036,"depth":983,"text":3036},"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":3106,"_dir":5,"_draft":6,"_partial":6,"_locale":7,"title":3107,"description":3108,"date":3109,"topic":5,"author":11,"tags":3110,"image":3115,"featured":847,"readingTime":2168,"body":3116,"_type":993,"_id":3764,"_source":995,"_file":3765,"_stem":3766,"_extension":998},"/topics/ai/ai-debugging-troubleshooting-guide","AI 辅助调试与问题排查：让 AI 成为你的调试搭档","深入探讨如何利用 AI 工具提升调试效率，包括错误信息分析、日志解读、性能问题定位、复杂 bug 排查等实战场景，构建 AI 驱动的调试工作流。","2026-01-18",[3111,3112,3113,1010,3114],"AI 调试","问题排查","Debug","错误处理","/images/topics/ai/ai-debugging-guide.jpg",{"type":23,"children":3117,"toc":3735},[3118,3124,3130,3135,3140,3145,3151,3157,3162,3170,3198,3206,3229,3235,3245,3254,3262,3270,3303,3311,3341,3354,3362,3367,3375,3383,3394,3400,3408,3419,3427,3436,3442,3448,3453,3462,3468,3473,3482,3488,3494,3503,3509,3518,3524,3535,3541,3547,3556,3562,3571,3577,3583,3591,3597,3606,3614,3622,3625,3631,3636,3655,3667,3670,3676,3681,3690,3695,3698,3704,3709,3727],{"type":26,"tag":76,"props":3119,"children":3121},{"id":3120},"ai-辅助调试与问题排查",[3122],{"type":31,"value":3123},"AI 辅助调试与问题排查",{"type":26,"tag":76,"props":3125,"children":3127},{"id":3126},"引言调试的痛与-ai-的解药",[3128],{"type":31,"value":3129},"引言：调试的痛与 AI 的解药",{"type":26,"tag":27,"props":3131,"children":3132},{},[3133],{"type":31,"value":3134},"调试是每个程序员的日常，也是最消耗时间和精力的工作之一。我们都有过这样的经历：盯着一个莫名其妙的错误信息，翻遍 Stack Overflow，尝试各种方案，几个小时后才发现是一个愚蠢的拼写错误。",{"type":26,"tag":27,"props":3136,"children":3137},{},[3138],{"type":31,"value":3139},"AI 工具的出现，正在改变调试的方式。不是替代你的思考，而是加速你的分析过程——帮你快速理解错误、缩小排查范围、验证假设。",{"type":26,"tag":27,"props":3141,"children":3142},{},[3143],{"type":31,"value":3144},"这篇文章分享我在实际项目中使用 AI 辅助调试的经验和方法论。",{"type":26,"tag":76,"props":3146,"children":3148},{"id":3147},"第一部分建立-ai-调试的思维模型",[3149],{"type":31,"value":3150},"第一部分：建立 AI 调试的思维模型",{"type":26,"tag":1443,"props":3152,"children":3154},{"id":3153},"_11-ai-在调试中的角色",[3155],{"type":31,"value":3156},"1.1 AI 在调试中的角色",{"type":26,"tag":27,"props":3158,"children":3159},{},[3160],{"type":31,"value":3161},"把 AI 想象成一个经验丰富但不了解你项目的高级工程师。它：",{"type":26,"tag":27,"props":3163,"children":3164},{},[3165],{"type":26,"tag":1056,"props":3166,"children":3167},{},[3168],{"type":31,"value":3169},"擅长的事情：",{"type":26,"tag":226,"props":3171,"children":3172},{},[3173,3178,3183,3188,3193],{"type":26,"tag":230,"props":3174,"children":3175},{},[3176],{"type":31,"value":3177},"解读错误信息的含义",{"type":26,"tag":230,"props":3179,"children":3180},{},[3181],{"type":31,"value":3182},"提供可能的原因列表",{"type":26,"tag":230,"props":3184,"children":3185},{},[3186],{"type":31,"value":3187},"给出排查方向建议",{"type":26,"tag":230,"props":3189,"children":3190},{},[3191],{"type":31,"value":3192},"解释复杂的技术概念",{"type":26,"tag":230,"props":3194,"children":3195},{},[3196],{"type":31,"value":3197},"生成调试代码片段",{"type":26,"tag":27,"props":3199,"children":3200},{},[3201],{"type":26,"tag":1056,"props":3202,"children":3203},{},[3204],{"type":31,"value":3205},"不擅长的事情：",{"type":26,"tag":226,"props":3207,"children":3208},{},[3209,3214,3219,3224],{"type":26,"tag":230,"props":3210,"children":3211},{},[3212],{"type":31,"value":3213},"了解你的业务逻辑",{"type":26,"tag":230,"props":3215,"children":3216},{},[3217],{"type":31,"value":3218},"知道你的代码历史",{"type":26,"tag":230,"props":3220,"children":3221},{},[3222],{"type":31,"value":3223},"理解项目特定的约定",{"type":26,"tag":230,"props":3225,"children":3226},{},[3227],{"type":31,"value":3228},"做出架构级判断",{"type":26,"tag":1443,"props":3230,"children":3232},{"id":3231},"_12-有效提问的结构",[3233],{"type":31,"value":3234},"1.2 有效提问的结构",{"type":26,"tag":178,"props":3236,"children":3240},{"code":3237,"language":993,"meta":7,"className":3238},"## 高效的调试提问模板\n\n**问题描述**\n[简洁描述遇到的问题]\n\n**错误信息**\n",[3239],"language-markdown",[3241],{"type":26,"tag":186,"props":3242,"children":3243},{"__ignoreMap":7},[3244],{"type":31,"value":3237},{"type":26,"tag":27,"props":3246,"children":3247},{},[3248],{"type":26,"tag":3249,"props":3250,"children":3251},"span",{},[3252],{"type":31,"value":3253},"完整的错误信息，不要截断",{"type":26,"tag":178,"props":3255,"children":3257},{"code":3256},"\n**相关代码**\n```javascript\n[精简但完整的相关代码]\n",[3258],{"type":26,"tag":186,"props":3259,"children":3260},{"__ignoreMap":7},[3261],{"type":31,"value":3256},{"type":26,"tag":27,"props":3263,"children":3264},{},[3265],{"type":26,"tag":1056,"props":3266,"children":3267},{},[3268],{"type":31,"value":3269},"环境信息",{"type":26,"tag":226,"props":3271,"children":3272},{},[3273,3283,3293],{"type":26,"tag":230,"props":3274,"children":3275},{},[3276,3278],{"type":31,"value":3277},"运行环境：",{"type":26,"tag":3249,"props":3279,"children":3280},{},[3281],{"type":31,"value":3282},"Node 版本/浏览器版本",{"type":26,"tag":230,"props":3284,"children":3285},{},[3286,3288],{"type":31,"value":3287},"框架版本：",{"type":26,"tag":3249,"props":3289,"children":3290},{},[3291],{"type":31,"value":3292},"相关框架版本",{"type":26,"tag":230,"props":3294,"children":3295},{},[3296,3298],{"type":31,"value":3297},"操作系统：",{"type":26,"tag":3249,"props":3299,"children":3300},{},[3301],{"type":31,"value":3302},"如果相关",{"type":26,"tag":27,"props":3304,"children":3305},{},[3306],{"type":26,"tag":1056,"props":3307,"children":3308},{},[3309],{"type":31,"value":3310},"已尝试的方案",{"type":26,"tag":226,"props":3312,"children":3313},{},[3314,3328],{"type":26,"tag":230,"props":3315,"children":3316},{},[3317,3322,3323],{"type":26,"tag":3249,"props":3318,"children":3319},{},[3320],{"type":31,"value":3321},"方案1",{"type":31,"value":1749},{"type":26,"tag":3249,"props":3324,"children":3325},{},[3326],{"type":31,"value":3327},"结果",{"type":26,"tag":230,"props":3329,"children":3330},{},[3331,3336,3337],{"type":26,"tag":3249,"props":3332,"children":3333},{},[3334],{"type":31,"value":3335},"方案2",{"type":31,"value":1749},{"type":26,"tag":3249,"props":3338,"children":3339},{},[3340],{"type":31,"value":3327},{"type":26,"tag":27,"props":3342,"children":3343},{},[3344,3349],{"type":26,"tag":1056,"props":3345,"children":3346},{},[3347],{"type":31,"value":3348},"期望的结果",{"type":26,"tag":3249,"props":3350,"children":3351},{},[3352],{"type":31,"value":3353},"描述期望的行为",{"type":26,"tag":178,"props":3355,"children":3357},{"code":3356},"\n### 1.3 分级调试策略\n\n",[3358],{"type":26,"tag":186,"props":3359,"children":3360},{"__ignoreMap":7},[3361],{"type":31,"value":3356},{"type":26,"tag":27,"props":3363,"children":3364},{},[3365],{"type":31,"value":3366},"┌───────────────────────────────────────────────────────────┐\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":178,"props":3368,"children":3370},{"code":3369},"\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",[3371],{"type":26,"tag":186,"props":3372,"children":3373},{"__ignoreMap":7},[3374],{"type":31,"value":3369},{"type":26,"tag":27,"props":3376,"children":3377},{},[3378],{"type":26,"tag":1056,"props":3379,"children":3380},{},[3381],{"type":31,"value":3382},"场景 2：Vue 响应式警告",{"type":26,"tag":178,"props":3384,"children":3389},{"code":3385,"language":3386,"meta":7,"className":3387},"// 警告信息：\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",[3388],"language-typescript",[3390],{"type":26,"tag":186,"props":3391,"children":3392},{"__ignoreMap":7},[3393],{"type":31,"value":3385},{"type":26,"tag":1443,"props":3395,"children":3397},{"id":3396},"_22-后端错误分析",[3398],{"type":31,"value":3399},"2.2 后端错误分析",{"type":26,"tag":27,"props":3401,"children":3402},{},[3403],{"type":26,"tag":1056,"props":3404,"children":3405},{},[3406],{"type":31,"value":3407},"场景 1：Node.js 内存问题",{"type":26,"tag":178,"props":3409,"children":3414},{"code":3410,"language":3411,"meta":7,"className":3412},"// 错误信息：\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",[3413],"language-javascript",[3415],{"type":26,"tag":186,"props":3416,"children":3417},{"__ignoreMap":7},[3418],{"type":31,"value":3410},{"type":26,"tag":27,"props":3420,"children":3421},{},[3422],{"type":26,"tag":1056,"props":3423,"children":3424},{},[3425],{"type":31,"value":3426},"场景 2：数据库连接问题",{"type":26,"tag":178,"props":3428,"children":3431},{"code":3429,"language":3386,"meta":7,"className":3430},"// 错误信息：\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",[3388],[3432],{"type":26,"tag":186,"props":3433,"children":3434},{"__ignoreMap":7},[3435],{"type":31,"value":3429},{"type":26,"tag":76,"props":3437,"children":3439},{"id":3438},"第三部分日志分析与问题定位",[3440],{"type":31,"value":3441},"第三部分：日志分析与问题定位",{"type":26,"tag":1443,"props":3443,"children":3445},{"id":3444},"_31-结构化日志分析",[3446],{"type":31,"value":3447},"3.1 结构化日志分析",{"type":26,"tag":27,"props":3449,"children":3450},{},[3451],{"type":31,"value":3452},"当面对大量日志时，让 AI 帮你快速定位问题：",{"type":26,"tag":178,"props":3454,"children":3457},{"code":3455,"language":3411,"meta":7,"className":3456},"// 提问示例：\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",[3413],[3458],{"type":26,"tag":186,"props":3459,"children":3460},{"__ignoreMap":7},[3461],{"type":31,"value":3455},{"type":26,"tag":1443,"props":3463,"children":3465},{"id":3464},"_32-创建调试日志",[3466],{"type":31,"value":3467},"3.2 创建调试日志",{"type":26,"tag":27,"props":3469,"children":3470},{},[3471],{"type":31,"value":3472},"让 AI 帮你生成调试用的日志代码：",{"type":26,"tag":178,"props":3474,"children":3477},{"code":3475,"language":3386,"meta":7,"className":3476},"// 请求：\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",[3388],[3478],{"type":26,"tag":186,"props":3479,"children":3480},{"__ignoreMap":7},[3481],{"type":31,"value":3475},{"type":26,"tag":76,"props":3483,"children":3485},{"id":3484},"第四部分性能问题排查",[3486],{"type":31,"value":3487},"第四部分：性能问题排查",{"type":26,"tag":1443,"props":3489,"children":3491},{"id":3490},"_41-前端性能分析",[3492],{"type":31,"value":3493},"4.1 前端性能分析",{"type":26,"tag":178,"props":3495,"children":3498},{"code":3496,"language":3386,"meta":7,"className":3497},"// 场景：页面加载慢，需要分析原因\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",[3388],[3499],{"type":26,"tag":186,"props":3500,"children":3501},{"__ignoreMap":7},[3502],{"type":31,"value":3496},{"type":26,"tag":1443,"props":3504,"children":3506},{"id":3505},"_42-内存泄漏排查",[3507],{"type":31,"value":3508},"4.2 内存泄漏排查",{"type":26,"tag":178,"props":3510,"children":3513},{"code":3511,"language":3386,"meta":7,"className":3512},"// 场景：应用运行一段时间后变卡\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",[3388],[3514],{"type":26,"tag":186,"props":3515,"children":3516},{"__ignoreMap":7},[3517],{"type":31,"value":3511},{"type":26,"tag":1443,"props":3519,"children":3521},{"id":3520},"_43-数据库查询优化",[3522],{"type":31,"value":3523},"4.3 数据库查询优化",{"type":26,"tag":178,"props":3525,"children":3530},{"code":3526,"language":3527,"meta":7,"className":3528},"-- 场景：查询很慢，让 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",[3529],"language-sql",[3531],{"type":26,"tag":186,"props":3532,"children":3533},{"__ignoreMap":7},[3534],{"type":31,"value":3526},{"type":26,"tag":76,"props":3536,"children":3538},{"id":3537},"第五部分复杂-bug-排查",[3539],{"type":31,"value":3540},"第五部分：复杂 Bug 排查",{"type":26,"tag":1443,"props":3542,"children":3544},{"id":3543},"_51-竞态条件",[3545],{"type":31,"value":3546},"5.1 竞态条件",{"type":26,"tag":178,"props":3548,"children":3551},{"code":3549,"language":3386,"meta":7,"className":3550},"// 场景：偶发的数据不一致问题\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",[3388],[3552],{"type":26,"tag":186,"props":3553,"children":3554},{"__ignoreMap":7},[3555],{"type":31,"value":3549},{"type":26,"tag":1443,"props":3557,"children":3559},{"id":3558},"_52-分布式系统问题",[3560],{"type":31,"value":3561},"5.2 分布式系统问题",{"type":26,"tag":178,"props":3563,"children":3566},{"code":3564,"language":3386,"meta":7,"className":3565},"// 场景：微服务间的数据不一致\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",[3388],[3567],{"type":26,"tag":186,"props":3568,"children":3569},{"__ignoreMap":7},[3570],{"type":31,"value":3564},{"type":26,"tag":76,"props":3572,"children":3574},{"id":3573},"第六部分ai-调试工作流",[3575],{"type":31,"value":3576},"第六部分：AI 调试工作流",{"type":26,"tag":1443,"props":3578,"children":3580},{"id":3579},"_61-我的调试流程",[3581],{"type":31,"value":3582},"6.1 我的调试流程",{"type":26,"tag":178,"props":3584,"children":3586},{"code":3585},"┌────────────────────────────────────────────────────────────┐\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",[3587],{"type":26,"tag":186,"props":3588,"children":3589},{"__ignoreMap":7},[3590],{"type":31,"value":3585},{"type":26,"tag":1443,"props":3592,"children":3594},{"id":3593},"_62-调试对话模板",[3595],{"type":31,"value":3596},"6.2 调试对话模板",{"type":26,"tag":178,"props":3598,"children":3601},{"code":3599,"language":993,"meta":7,"className":3600},"## 第一轮：问题描述\n\n我遇到了一个问题：[简述问题]\n\n错误信息：\n",[3239],[3602],{"type":26,"tag":186,"props":3603,"children":3604},{"__ignoreMap":7},[3605],{"type":31,"value":3599},{"type":26,"tag":27,"props":3607,"children":3608},{},[3609],{"type":26,"tag":3249,"props":3610,"children":3611},{},[3612],{"type":31,"value":3613},"粘贴完整错误",{"type":26,"tag":178,"props":3615,"children":3617},{"code":3616},"\n相关代码：\n```javascript\n[粘贴代码]\n",[3618],{"type":26,"tag":186,"props":3619,"children":3620},{"__ignoreMap":7},[3621],{"type":31,"value":3616},{"type":26,"tag":1117,"props":3623,"children":3624},{},[],{"type":26,"tag":76,"props":3626,"children":3628},{"id":3627},"第二轮补充信息",[3629],{"type":31,"value":3630},"第二轮：补充信息",{"type":26,"tag":27,"props":3632,"children":3633},{},[3634],{"type":31,"value":3635},"根据你的建议，我添加了日志，发现：",{"type":26,"tag":226,"props":3637,"children":3638},{},[3639,3647],{"type":26,"tag":230,"props":3640,"children":3641},{},[3642],{"type":26,"tag":3249,"props":3643,"children":3644},{},[3645],{"type":31,"value":3646},"发现 1",{"type":26,"tag":230,"props":3648,"children":3649},{},[3650],{"type":26,"tag":3249,"props":3651,"children":3652},{},[3653],{"type":31,"value":3654},"发现 2",{"type":26,"tag":27,"props":3656,"children":3657},{},[3658,3660,3665],{"type":31,"value":3659},"这是否说明问题出在 ",{"type":26,"tag":3249,"props":3661,"children":3662},{},[3663],{"type":31,"value":3664},"你的猜测",{"type":31,"value":3666},"？",{"type":26,"tag":1117,"props":3668,"children":3669},{},[],{"type":26,"tag":76,"props":3671,"children":3673},{"id":3672},"第三轮确认修复",[3674],{"type":31,"value":3675},"第三轮：确认修复",{"type":26,"tag":27,"props":3677,"children":3678},{},[3679],{"type":31,"value":3680},"我按照你的建议修改了代码：",{"type":26,"tag":178,"props":3682,"children":3685},{"code":3683,"language":3411,"meta":7,"className":3684},"[粘贴修改后的代码]\n",[3413],[3686],{"type":26,"tag":186,"props":3687,"children":3688},{"__ignoreMap":7},[3689],{"type":31,"value":3683},{"type":26,"tag":27,"props":3691,"children":3692},{},[3693],{"type":31,"value":3694},"请确认这个修复是否正确，以及是否有其他潜在问题。",{"type":26,"tag":1117,"props":3696,"children":3697},{},[],{"type":26,"tag":76,"props":3699,"children":3701},{"id":3700},"第四轮预防",[3702],{"type":31,"value":3703},"第四轮：预防",{"type":26,"tag":27,"props":3705,"children":3706},{},[3707],{"type":31,"value":3708},"这个问题已解决。请建议：",{"type":26,"tag":1047,"props":3710,"children":3711},{},[3712,3717,3722],{"type":26,"tag":230,"props":3713,"children":3714},{},[3715],{"type":31,"value":3716},"如何防止类似问题再次发生？",{"type":26,"tag":230,"props":3718,"children":3719},{},[3720],{"type":31,"value":3721},"应该添加什么测试用例？",{"type":26,"tag":230,"props":3723,"children":3724},{},[3725],{"type":31,"value":3726},"有什么最佳实践可以参考？",{"type":26,"tag":178,"props":3728,"children":3730},{"code":3729},"\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",[3731],{"type":26,"tag":186,"props":3732,"children":3733},{"__ignoreMap":7},[3734],{"type":31,"value":3729},{"title":7,"searchDepth":980,"depth":980,"links":3736},[3737,3738,3739,3744,3748,3753,3757,3761,3762,3763],{"id":3120,"depth":983,"text":3123},{"id":3126,"depth":983,"text":3129},{"id":3147,"depth":983,"text":3150,"children":3740},[3741,3742,3743],{"id":3153,"depth":980,"text":3156},{"id":3231,"depth":980,"text":3234},{"id":3396,"depth":980,"text":3399},{"id":3438,"depth":983,"text":3441,"children":3745},[3746,3747],{"id":3444,"depth":980,"text":3447},{"id":3464,"depth":980,"text":3467},{"id":3484,"depth":983,"text":3487,"children":3749},[3750,3751,3752],{"id":3490,"depth":980,"text":3493},{"id":3505,"depth":980,"text":3508},{"id":3520,"depth":980,"text":3523},{"id":3537,"depth":983,"text":3540,"children":3754},[3755,3756],{"id":3543,"depth":980,"text":3546},{"id":3558,"depth":980,"text":3561},{"id":3573,"depth":983,"text":3576,"children":3758},[3759,3760],{"id":3579,"depth":980,"text":3582},{"id":3593,"depth":980,"text":3596},{"id":3627,"depth":983,"text":3630},{"id":3672,"depth":983,"text":3675},{"id":3700,"depth":983,"text":3703},"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":3768,"image":17,"imageQuery":18,"pexelsPhotoId":19,"pexelsUrl":20,"featured":6,"readingTime":21,"body":3769,"_type":993,"_id":994,"_source":995,"_file":996,"_stem":997,"_extension":998},[13,14,15,16],{"type":23,"children":3770,"toc":4557},[3771,3775,3779,3803,3807,3871,3875,3879,3883,3891,3895,3899,3907,3911,3915,3919,3938,3942,4017,4021,4025,4089,4093,4097,4101,4120,4129,4133,4137,4201,4205,4209,4213,4221,4225,4229,4312,4316,4320,4324,4410,4414,4418,4422,4426,4430,4514,4518,4522,4526],{"type":26,"tag":27,"props":3772,"children":3773},{},[3774],{"type":31,"value":32},{"type":26,"tag":27,"props":3776,"children":3777},{},[3778],{"type":31,"value":37},{"type":26,"tag":27,"props":3780,"children":3781},{},[3782,3783,3787,3788,3792,3793,3797,3798,3802],{"type":31,"value":42},{"type":26,"tag":44,"props":3784,"children":3785},{"href":46},[3786],{"type":31,"value":49},{"type":31,"value":51},{"type":26,"tag":44,"props":3789,"children":3790},{"href":54},[3791],{"type":31,"value":57},{"type":31,"value":51},{"type":26,"tag":44,"props":3794,"children":3795},{"href":61},[3796],{"type":31,"value":64},{"type":31,"value":66},{"type":26,"tag":44,"props":3799,"children":3800},{"href":69},[3801],{"type":31,"value":72},{"type":31,"value":74},{"type":26,"tag":76,"props":3804,"children":3805},{"id":78},[3806],{"type":31,"value":81},{"type":26,"tag":83,"props":3808,"children":3809},{},[3810,3824],{"type":26,"tag":87,"props":3811,"children":3812},{},[3813],{"type":26,"tag":91,"props":3814,"children":3815},{},[3816,3820],{"type":26,"tag":95,"props":3817,"children":3818},{},[3819],{"type":31,"value":99},{"type":26,"tag":95,"props":3821,"children":3822},{},[3823],{"type":31,"value":104},{"type":26,"tag":106,"props":3825,"children":3826},{},[3827,3838,3849,3860],{"type":26,"tag":91,"props":3828,"children":3829},{},[3830,3834],{"type":26,"tag":113,"props":3831,"children":3832},{},[3833],{"type":31,"value":117},{"type":26,"tag":113,"props":3835,"children":3836},{},[3837],{"type":31,"value":122},{"type":26,"tag":91,"props":3839,"children":3840},{},[3841,3845],{"type":26,"tag":113,"props":3842,"children":3843},{},[3844],{"type":31,"value":130},{"type":26,"tag":113,"props":3846,"children":3847},{},[3848],{"type":31,"value":135},{"type":26,"tag":91,"props":3850,"children":3851},{},[3852,3856],{"type":26,"tag":113,"props":3853,"children":3854},{},[3855],{"type":31,"value":143},{"type":26,"tag":113,"props":3857,"children":3858},{},[3859],{"type":31,"value":148},{"type":26,"tag":91,"props":3861,"children":3862},{},[3863,3867],{"type":26,"tag":113,"props":3864,"children":3865},{},[3866],{"type":31,"value":15},{"type":26,"tag":113,"props":3868,"children":3869},{},[3870],{"type":31,"value":160},{"type":26,"tag":27,"props":3872,"children":3873},{},[3874],{"type":31,"value":165},{"type":26,"tag":76,"props":3876,"children":3877},{"id":168},[3878],{"type":31,"value":171},{"type":26,"tag":27,"props":3880,"children":3881},{},[3882],{"type":31,"value":176},{"type":26,"tag":178,"props":3884,"children":3886},{"className":3885,"code":182,"language":183,"meta":7},[181],[3887],{"type":26,"tag":186,"props":3888,"children":3889},{"__ignoreMap":7},[3890],{"type":31,"value":182},{"type":26,"tag":27,"props":3892,"children":3893},{},[3894],{"type":31,"value":194},{"type":26,"tag":27,"props":3896,"children":3897},{},[3898],{"type":31,"value":199},{"type":26,"tag":178,"props":3900,"children":3902},{"className":3901,"code":203,"language":183,"meta":7},[181],[3903],{"type":26,"tag":186,"props":3904,"children":3905},{"__ignoreMap":7},[3906],{"type":31,"value":203},{"type":26,"tag":27,"props":3908,"children":3909},{},[3910],{"type":31,"value":213},{"type":26,"tag":76,"props":3912,"children":3913},{"id":216},[3914],{"type":31,"value":219},{"type":26,"tag":27,"props":3916,"children":3917},{},[3918],{"type":31,"value":224},{"type":26,"tag":226,"props":3920,"children":3921},{},[3922,3926,3930,3934],{"type":26,"tag":230,"props":3923,"children":3924},{},[3925],{"type":31,"value":234},{"type":26,"tag":230,"props":3927,"children":3928},{},[3929],{"type":31,"value":239},{"type":26,"tag":230,"props":3931,"children":3932},{},[3933],{"type":31,"value":244},{"type":26,"tag":230,"props":3935,"children":3936},{},[3937],{"type":31,"value":249},{"type":26,"tag":27,"props":3939,"children":3940},{},[3941],{"type":31,"value":254},{"type":26,"tag":83,"props":3943,"children":3944},{},[3945,3959],{"type":26,"tag":87,"props":3946,"children":3947},{},[3948],{"type":26,"tag":91,"props":3949,"children":3950},{},[3951,3955],{"type":26,"tag":95,"props":3952,"children":3953},{},[3954],{"type":31,"value":268},{"type":26,"tag":95,"props":3956,"children":3957},{},[3958],{"type":31,"value":273},{"type":26,"tag":106,"props":3960,"children":3961},{},[3962,3973,3984,3995,4006],{"type":26,"tag":91,"props":3963,"children":3964},{},[3965,3969],{"type":26,"tag":113,"props":3966,"children":3967},{},[3968],{"type":31,"value":284},{"type":26,"tag":113,"props":3970,"children":3971},{},[3972],{"type":31,"value":289},{"type":26,"tag":91,"props":3974,"children":3975},{},[3976,3980],{"type":26,"tag":113,"props":3977,"children":3978},{},[3979],{"type":31,"value":297},{"type":26,"tag":113,"props":3981,"children":3982},{},[3983],{"type":31,"value":302},{"type":26,"tag":91,"props":3985,"children":3986},{},[3987,3991],{"type":26,"tag":113,"props":3988,"children":3989},{},[3990],{"type":31,"value":310},{"type":26,"tag":113,"props":3992,"children":3993},{},[3994],{"type":31,"value":302},{"type":26,"tag":91,"props":3996,"children":3997},{},[3998,4002],{"type":26,"tag":113,"props":3999,"children":4000},{},[4001],{"type":31,"value":322},{"type":26,"tag":113,"props":4003,"children":4004},{},[4005],{"type":31,"value":327},{"type":26,"tag":91,"props":4007,"children":4008},{},[4009,4013],{"type":26,"tag":113,"props":4010,"children":4011},{},[4012],{"type":31,"value":335},{"type":26,"tag":113,"props":4014,"children":4015},{},[4016],{"type":31,"value":340},{"type":26,"tag":27,"props":4018,"children":4019},{},[4020],{"type":31,"value":345},{"type":26,"tag":27,"props":4022,"children":4023},{},[4024],{"type":31,"value":350},{"type":26,"tag":83,"props":4026,"children":4027},{},[4028,4042],{"type":26,"tag":87,"props":4029,"children":4030},{},[4031],{"type":26,"tag":91,"props":4032,"children":4033},{},[4034,4038],{"type":26,"tag":95,"props":4035,"children":4036},{},[4037],{"type":31,"value":364},{"type":26,"tag":95,"props":4039,"children":4040},{},[4041],{"type":31,"value":369},{"type":26,"tag":106,"props":4043,"children":4044},{},[4045,4056,4067,4078],{"type":26,"tag":91,"props":4046,"children":4047},{},[4048,4052],{"type":26,"tag":113,"props":4049,"children":4050},{},[4051],{"type":31,"value":380},{"type":26,"tag":113,"props":4053,"children":4054},{},[4055],{"type":31,"value":385},{"type":26,"tag":91,"props":4057,"children":4058},{},[4059,4063],{"type":26,"tag":113,"props":4060,"children":4061},{},[4062],{"type":31,"value":393},{"type":26,"tag":113,"props":4064,"children":4065},{},[4066],{"type":31,"value":398},{"type":26,"tag":91,"props":4068,"children":4069},{},[4070,4074],{"type":26,"tag":113,"props":4071,"children":4072},{},[4073],{"type":31,"value":406},{"type":26,"tag":113,"props":4075,"children":4076},{},[4077],{"type":31,"value":411},{"type":26,"tag":91,"props":4079,"children":4080},{},[4081,4085],{"type":26,"tag":113,"props":4082,"children":4083},{},[4084],{"type":31,"value":419},{"type":26,"tag":113,"props":4086,"children":4087},{},[4088],{"type":31,"value":424},{"type":26,"tag":27,"props":4090,"children":4091},{},[4092],{"type":31,"value":429},{"type":26,"tag":76,"props":4094,"children":4095},{"id":432},[4096],{"type":31,"value":435},{"type":26,"tag":27,"props":4098,"children":4099},{},[4100],{"type":31,"value":440},{"type":26,"tag":226,"props":4102,"children":4103},{},[4104,4108,4112,4116],{"type":26,"tag":230,"props":4105,"children":4106},{},[4107],{"type":31,"value":448},{"type":26,"tag":230,"props":4109,"children":4110},{},[4111],{"type":31,"value":453},{"type":26,"tag":230,"props":4113,"children":4114},{},[4115],{"type":31,"value":458},{"type":26,"tag":230,"props":4117,"children":4118},{},[4119],{"type":31,"value":463},{"type":26,"tag":27,"props":4121,"children":4122},{},[4123,4124,4128],{"type":31,"value":468},{"type":26,"tag":44,"props":4125,"children":4126},{"href":54},[4127],{"type":31,"value":57},{"type":31,"value":474},{"type":26,"tag":76,"props":4130,"children":4131},{"id":477},[4132],{"type":31,"value":480},{"type":26,"tag":27,"props":4134,"children":4135},{},[4136],{"type":31,"value":485},{"type":26,"tag":83,"props":4138,"children":4139},{},[4140,4154],{"type":26,"tag":87,"props":4141,"children":4142},{},[4143],{"type":26,"tag":91,"props":4144,"children":4145},{},[4146,4150],{"type":26,"tag":95,"props":4147,"children":4148},{},[4149],{"type":31,"value":499},{"type":26,"tag":95,"props":4151,"children":4152},{},[4153],{"type":31,"value":504},{"type":26,"tag":106,"props":4155,"children":4156},{},[4157,4168,4179,4190],{"type":26,"tag":91,"props":4158,"children":4159},{},[4160,4164],{"type":26,"tag":113,"props":4161,"children":4162},{},[4163],{"type":31,"value":515},{"type":26,"tag":113,"props":4165,"children":4166},{},[4167],{"type":31,"value":520},{"type":26,"tag":91,"props":4169,"children":4170},{},[4171,4175],{"type":26,"tag":113,"props":4172,"children":4173},{},[4174],{"type":31,"value":528},{"type":26,"tag":113,"props":4176,"children":4177},{},[4178],{"type":31,"value":533},{"type":26,"tag":91,"props":4180,"children":4181},{},[4182,4186],{"type":26,"tag":113,"props":4183,"children":4184},{},[4185],{"type":31,"value":541},{"type":26,"tag":113,"props":4187,"children":4188},{},[4189],{"type":31,"value":546},{"type":26,"tag":91,"props":4191,"children":4192},{},[4193,4197],{"type":26,"tag":113,"props":4194,"children":4195},{},[4196],{"type":31,"value":554},{"type":26,"tag":113,"props":4198,"children":4199},{},[4200],{"type":31,"value":559},{"type":26,"tag":27,"props":4202,"children":4203},{},[4204],{"type":31,"value":564},{"type":26,"tag":76,"props":4206,"children":4207},{"id":567},[4208],{"type":31,"value":570},{"type":26,"tag":27,"props":4210,"children":4211},{},[4212],{"type":31,"value":575},{"type":26,"tag":178,"props":4214,"children":4216},{"className":4215,"code":579,"language":183,"meta":7},[181],[4217],{"type":26,"tag":186,"props":4218,"children":4219},{"__ignoreMap":7},[4220],{"type":31,"value":579},{"type":26,"tag":27,"props":4222,"children":4223},{},[4224],{"type":31,"value":589},{"type":26,"tag":27,"props":4226,"children":4227},{},[4228],{"type":31,"value":594},{"type":26,"tag":83,"props":4230,"children":4231},{},[4232,4246],{"type":26,"tag":87,"props":4233,"children":4234},{},[4235],{"type":26,"tag":91,"props":4236,"children":4237},{},[4238,4242],{"type":26,"tag":95,"props":4239,"children":4240},{},[4241],{"type":31,"value":608},{"type":26,"tag":95,"props":4243,"children":4244},{},[4245],{"type":31,"value":613},{"type":26,"tag":106,"props":4247,"children":4248},{},[4249,4265,4281,4297],{"type":26,"tag":91,"props":4250,"children":4251},{},[4252,4261],{"type":26,"tag":113,"props":4253,"children":4254},{},[4255,4260],{"type":26,"tag":186,"props":4256,"children":4258},{"className":4257},[],[4259],{"type":31,"value":628},{"type":31,"value":630},{"type":26,"tag":113,"props":4262,"children":4263},{},[4264],{"type":31,"value":635},{"type":26,"tag":91,"props":4266,"children":4267},{},[4268,4277],{"type":26,"tag":113,"props":4269,"children":4270},{},[4271,4276],{"type":26,"tag":186,"props":4272,"children":4274},{"className":4273},[],[4275],{"type":31,"value":647},{"type":31,"value":649},{"type":26,"tag":113,"props":4278,"children":4279},{},[4280],{"type":31,"value":654},{"type":26,"tag":91,"props":4282,"children":4283},{},[4284,4293],{"type":26,"tag":113,"props":4285,"children":4286},{},[4287,4292],{"type":26,"tag":186,"props":4288,"children":4290},{"className":4289},[],[4291],{"type":31,"value":666},{"type":31,"value":668},{"type":26,"tag":113,"props":4294,"children":4295},{},[4296],{"type":31,"value":673},{"type":26,"tag":91,"props":4298,"children":4299},{},[4300,4308],{"type":26,"tag":113,"props":4301,"children":4302},{},[4303],{"type":26,"tag":186,"props":4304,"children":4306},{"className":4305},[],[4307],{"type":31,"value":685},{"type":26,"tag":113,"props":4309,"children":4310},{},[4311],{"type":31,"value":690},{"type":26,"tag":27,"props":4313,"children":4314},{},[4315],{"type":31,"value":695},{"type":26,"tag":76,"props":4317,"children":4318},{"id":698},[4319],{"type":31,"value":701},{"type":26,"tag":27,"props":4321,"children":4322},{},[4323],{"type":31,"value":706},{"type":26,"tag":83,"props":4325,"children":4326},{},[4327,4341],{"type":26,"tag":87,"props":4328,"children":4329},{},[4330],{"type":26,"tag":91,"props":4331,"children":4332},{},[4333,4337],{"type":26,"tag":95,"props":4334,"children":4335},{},[4336],{"type":31,"value":720},{"type":26,"tag":95,"props":4338,"children":4339},{},[4340],{"type":31,"value":725},{"type":26,"tag":106,"props":4342,"children":4343},{},[4344,4355,4366,4377,4388,4399],{"type":26,"tag":91,"props":4345,"children":4346},{},[4347,4351],{"type":26,"tag":113,"props":4348,"children":4349},{},[4350],{"type":31,"value":736},{"type":26,"tag":113,"props":4352,"children":4353},{},[4354],{"type":31,"value":741},{"type":26,"tag":91,"props":4356,"children":4357},{},[4358,4362],{"type":26,"tag":113,"props":4359,"children":4360},{},[4361],{"type":31,"value":749},{"type":26,"tag":113,"props":4363,"children":4364},{},[4365],{"type":31,"value":754},{"type":26,"tag":91,"props":4367,"children":4368},{},[4369,4373],{"type":26,"tag":113,"props":4370,"children":4371},{},[4372],{"type":31,"value":762},{"type":26,"tag":113,"props":4374,"children":4375},{},[4376],{"type":31,"value":767},{"type":26,"tag":91,"props":4378,"children":4379},{},[4380,4384],{"type":26,"tag":113,"props":4381,"children":4382},{},[4383],{"type":31,"value":775},{"type":26,"tag":113,"props":4385,"children":4386},{},[4387],{"type":31,"value":780},{"type":26,"tag":91,"props":4389,"children":4390},{},[4391,4395],{"type":26,"tag":113,"props":4392,"children":4393},{},[4394],{"type":31,"value":788},{"type":26,"tag":113,"props":4396,"children":4397},{},[4398],{"type":31,"value":793},{"type":26,"tag":91,"props":4400,"children":4401},{},[4402,4406],{"type":26,"tag":113,"props":4403,"children":4404},{},[4405],{"type":31,"value":801},{"type":26,"tag":113,"props":4407,"children":4408},{},[4409],{"type":31,"value":806},{"type":26,"tag":27,"props":4411,"children":4412},{},[4413],{"type":31,"value":811},{"type":26,"tag":76,"props":4415,"children":4416},{"id":814},[4417],{"type":31,"value":817},{"type":26,"tag":27,"props":4419,"children":4420},{},[4421],{"type":31,"value":822},{"type":26,"tag":27,"props":4423,"children":4424},{},[4425],{"type":31,"value":827},{"type":26,"tag":76,"props":4427,"children":4428},{"id":830},[4429],{"type":31,"value":833},{"type":26,"tag":226,"props":4431,"children":4433},{"className":4432},[837],[4434,4442,4450,4458,4466,4474,4482,4490,4498,4506],{"type":26,"tag":230,"props":4435,"children":4437},{"className":4436},[842],[4438,4441],{"type":26,"tag":845,"props":4439,"children":4440},{"disabled":847,"type":848},[],{"type":31,"value":851},{"type":26,"tag":230,"props":4443,"children":4445},{"className":4444},[842],[4446,4449],{"type":26,"tag":845,"props":4447,"children":4448},{"disabled":847,"type":848},[],{"type":31,"value":860},{"type":26,"tag":230,"props":4451,"children":4453},{"className":4452},[842],[4454,4457],{"type":26,"tag":845,"props":4455,"children":4456},{"disabled":847,"type":848},[],{"type":31,"value":869},{"type":26,"tag":230,"props":4459,"children":4461},{"className":4460},[842],[4462,4465],{"type":26,"tag":845,"props":4463,"children":4464},{"disabled":847,"type":848},[],{"type":31,"value":878},{"type":26,"tag":230,"props":4467,"children":4469},{"className":4468},[842],[4470,4473],{"type":26,"tag":845,"props":4471,"children":4472},{"disabled":847,"type":848},[],{"type":31,"value":887},{"type":26,"tag":230,"props":4475,"children":4477},{"className":4476},[842],[4478,4481],{"type":26,"tag":845,"props":4479,"children":4480},{"disabled":847,"type":848},[],{"type":31,"value":896},{"type":26,"tag":230,"props":4483,"children":4485},{"className":4484},[842],[4486,4489],{"type":26,"tag":845,"props":4487,"children":4488},{"disabled":847,"type":848},[],{"type":31,"value":905},{"type":26,"tag":230,"props":4491,"children":4493},{"className":4492},[842],[4494,4497],{"type":26,"tag":845,"props":4495,"children":4496},{"disabled":847,"type":848},[],{"type":31,"value":914},{"type":26,"tag":230,"props":4499,"children":4501},{"className":4500},[842],[4502,4505],{"type":26,"tag":845,"props":4503,"children":4504},{"disabled":847,"type":848},[],{"type":31,"value":923},{"type":26,"tag":230,"props":4507,"children":4509},{"className":4508},[842],[4510,4513],{"type":26,"tag":845,"props":4511,"children":4512},{"disabled":847,"type":848},[],{"type":31,"value":932},{"type":26,"tag":76,"props":4515,"children":4516},{"id":935},[4517],{"type":31,"value":935},{"type":26,"tag":27,"props":4519,"children":4520},{},[4521],{"type":31,"value":942},{"type":26,"tag":27,"props":4523,"children":4524},{},[4525],{"type":31,"value":947},{"type":26,"tag":226,"props":4527,"children":4528},{},[4529,4536,4543,4550],{"type":26,"tag":230,"props":4530,"children":4531},{},[4532],{"type":26,"tag":44,"props":4533,"children":4534},{"href":46},[4535],{"type":31,"value":49},{"type":26,"tag":230,"props":4537,"children":4538},{},[4539],{"type":26,"tag":44,"props":4540,"children":4541},{"href":54},[4542],{"type":31,"value":57},{"type":26,"tag":230,"props":4544,"children":4545},{},[4546],{"type":26,"tag":44,"props":4547,"children":4548},{"href":61},[4549],{"type":31,"value":64},{"type":26,"tag":230,"props":4551,"children":4552},{},[4553],{"type":26,"tag":44,"props":4554,"children":4555},{"href":69},[4556],{"type":31,"value":72},{"title":7,"searchDepth":980,"depth":980,"links":4558},[4559,4560,4561,4562,4563,4564,4565,4566,4567,4568],{"id":78,"depth":983,"text":81},{"id":168,"depth":983,"text":171},{"id":216,"depth":983,"text":219},{"id":432,"depth":983,"text":435},{"id":477,"depth":983,"text":480},{"id":567,"depth":983,"text":570},{"id":698,"depth":983,"text":701},{"id":814,"depth":983,"text":817},{"id":830,"depth":983,"text":833},{"id":935,"depth":983,"text":935},1778574585370]