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