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