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