[{"data":1,"prerenderedAt":712},["ShallowReactive",2],{"doc-\u002Fen\u002Fdocs\u002Fguides\u002Frush":3,"doc-surround-\u002Fen\u002Fdocs\u002Fguides\u002Frush":609,"doc-nav-en":618},{"id":4,"title":5,"body":6,"description":600,"extension":601,"meta":602,"navigation":603,"order":239,"path":604,"section":605,"seo":606,"stem":607,"__hash__":608},"docs_en\u002Fen\u002Fdocs\u002F02.guides\u002F06.rush.md","RUSH Deep Task",{"type":7,"value":8,"toc":594},"minimark",[9,13,22,41,46,83,87,90,133,140,144,151,455,554,558,576,590],[10,11,5],"h1",{"id":12},"rush-deep-task",[14,15,16,17,21],"p",{},"RUSH is LingXizhi's deep task engine: describe your requirement in one sentence, and the engine automatically runs the full pipeline of ",[18,19,20],"strong",{},"task planning → parallel coding → quality verification → convergent delivery"," — ideal for cross-file, multi-step feature development and refactoring.",[23,24,26],"callout",{"type":25},"tip",[14,27,28,31,32,36,37,40],{},[18,29,30],{},"When to use RUSH?"," Hand tasks spanning 3+ files that need planning and verification to RUSH; for single-point changes and small-scope rewrites, use Inline Edit (select code and press ",[33,34,35],"kbd",{},"Ctrl"," + ",[33,38,39],{},"K",") — it responds faster and does not count against Agent runs.",[42,43,45],"h2",{"id":44},"quick-start","Quick Start",[47,48,49,67,75],"steps",{},[50,51,52],"step",{},[14,53,54,57,58,36,60,36,63,66],{},[18,55,56],{},"Open the RUSH panel",": press ",[33,59,35],{},[33,61,62],{},"Shift",[33,64,65],{},"R"," in the IDE, or click the RUSH icon in the right sidebar.",[50,68,69],{},[14,70,71,74],{},[18,72,73],{},"Describe your requirement",": state the goal, constraints, and acceptance criteria in natural language — for example, \"Add JWT refresh to the auth module; must stay compatible with existing sessions.\"",[50,76,77],{},[14,78,79,82],{},[18,80,81],{},"Review the plan and run",": the Planner outputs a subtask DAG and a list of affected files — confirm and click \"Run\". You can pause, intervene, or roll back at any time during execution.",[42,84,86],{"id":85},"how-it-works","How It Works",[14,88,89],{},"RUSH splits a task into four stages, each verified independently; failures are automatically diagnosed and re-planned:",[91,92,93,106,117,127],"ul",{},[94,95,96,99,100,105],"li",{},[18,97,98],{},"Requirement understanding & planning"," — the Planner analyzes the blast radius with the ",[101,102,104],"a",{"href":103},"\u002Fen\u002Fdocs\u002Fguides\u002Fcode-graph","Semantic Code Graph"," and outputs an ordered subtask DAG (including step dependencies, affected-file lists, and potential risks).",[94,107,108,111,112,116],{},[18,109,110],{},"Parallel coding"," — multiple Coders implement in parallel in isolated git worktrees (up to 4 by default, with branches like ",[113,114,115],"code",{},"agent\u002F\u003CtaskID>","), without interfering with each other.",[94,118,119,122,123,126],{},[18,120,121],{},"Quality verification"," — the Verifier runs static checks and real tests, with five verification levels from V1 static checks to V5 benchmarking; quality gates automatically reject pseudocode and ",[113,124,125],{},"TODO"," placeholders. When standards are not met, the Diagnoser locates the failure cause and triggers full or incremental re-planning.",[94,128,129,132],{},[18,130,131],{},"Convergent delivery"," — iteration continues based on the convergence score (0–1, threshold 0.95); the best result is merged, a change report is generated, and task experience is written to long-term memory for future reuse.",[14,134,135,136,139],{},"Unless you specify a model manually, RUSH ",[18,137,138],{},"automatically schedules the optimal model across models"," by task type. Execution limits: 120 seconds per LLM call, 30 minutes globally by default, 4 hours maximum.",[42,141,143],{"id":142},"configuration","Configuration",[14,145,146,147,150],{},"Tune RUSH behavior in ",[113,148,149],{},"lxz.config.json"," at the project root:",[152,153,154,366],"code-group",{},[155,156,162],"pre",{"className":157,"code":158,"filename":159,"language":160,"meta":161,"style":161},"language-json shiki shiki-themes tokyo-night","{\n  \"agent\": {\n    \"max_iterations\": 50,\n    \"parallel_max_workers\": 4\n  },\n  \"cache\": {\n    \"enabled\": true,\n    \"l2_similarity_threshold\": 0.92\n  },\n  \"safety\": {\n    \"snapshot_before_edit\": true\n  },\n  \"memory\": {\n    \"auto_learn\": true\n  }\n}\n","Default config","json","",[113,163,164,173,193,214,229,237,251,268,283,290,304,319,326,340,354,360],{"__ignoreMap":161},[165,166,169],"span",{"class":167,"line":168},"line",1,[165,170,172],{"class":171},"sgJMe","{\n",[165,174,176,180,184,187,190],{"class":167,"line":175},2,[165,177,179],{"class":178},"sAklC","  \"",[165,181,183],{"class":182},"s3R4Z","agent",[165,185,186],{"class":178},"\"",[165,188,189],{"class":178},":",[165,191,192],{"class":171}," {\n",[165,194,196,199,203,205,207,211],{"class":167,"line":195},3,[165,197,198],{"class":178},"    \"",[165,200,202],{"class":201},"sySf4","max_iterations",[165,204,186],{"class":178},[165,206,189],{"class":178},[165,208,210],{"class":209},"sOJ5S"," 50",[165,212,213],{"class":178},",\n",[165,215,217,219,222,224,226],{"class":167,"line":216},4,[165,218,198],{"class":178},[165,220,221],{"class":201},"parallel_max_workers",[165,223,186],{"class":178},[165,225,189],{"class":178},[165,227,228],{"class":209}," 4\n",[165,230,232,235],{"class":167,"line":231},5,[165,233,234],{"class":171},"  }",[165,236,213],{"class":178},[165,238,240,242,245,247,249],{"class":167,"line":239},6,[165,241,179],{"class":178},[165,243,244],{"class":182},"cache",[165,246,186],{"class":178},[165,248,189],{"class":178},[165,250,192],{"class":171},[165,252,254,256,259,261,263,266],{"class":167,"line":253},7,[165,255,198],{"class":178},[165,257,258],{"class":201},"enabled",[165,260,186],{"class":178},[165,262,189],{"class":178},[165,264,265],{"class":209}," true",[165,267,213],{"class":178},[165,269,271,273,276,278,280],{"class":167,"line":270},8,[165,272,198],{"class":178},[165,274,275],{"class":201},"l2_similarity_threshold",[165,277,186],{"class":178},[165,279,189],{"class":178},[165,281,282],{"class":209}," 0.92\n",[165,284,286,288],{"class":167,"line":285},9,[165,287,234],{"class":171},[165,289,213],{"class":178},[165,291,293,295,298,300,302],{"class":167,"line":292},10,[165,294,179],{"class":178},[165,296,297],{"class":182},"safety",[165,299,186],{"class":178},[165,301,189],{"class":178},[165,303,192],{"class":171},[165,305,307,309,312,314,316],{"class":167,"line":306},11,[165,308,198],{"class":178},[165,310,311],{"class":201},"snapshot_before_edit",[165,313,186],{"class":178},[165,315,189],{"class":178},[165,317,318],{"class":209}," true\n",[165,320,322,324],{"class":167,"line":321},12,[165,323,234],{"class":171},[165,325,213],{"class":178},[165,327,329,331,334,336,338],{"class":167,"line":328},13,[165,330,179],{"class":178},[165,332,333],{"class":182},"memory",[165,335,186],{"class":178},[165,337,189],{"class":178},[165,339,192],{"class":171},[165,341,343,345,348,350,352],{"class":167,"line":342},14,[165,344,198],{"class":178},[165,346,347],{"class":201},"auto_learn",[165,349,186],{"class":178},[165,351,189],{"class":178},[165,353,318],{"class":209},[165,355,357],{"class":167,"line":356},15,[165,358,359],{"class":171},"  }\n",[165,361,363],{"class":167,"line":362},16,[165,364,365],{"class":171},"}\n",[155,367,370],{"className":157,"code":368,"filename":369,"language":160,"meta":161,"style":161},"{\n  \"agent\": {\n    \"max_iterations\": 5,\n    \"parallel_max_workers\": 2\n  },\n  \"cache\": {\n    \"enabled\": false\n  }\n}\n","Quick trial run",[113,371,372,376,388,403,416,422,434,447,451],{"__ignoreMap":161},[165,373,374],{"class":167,"line":168},[165,375,172],{"class":171},[165,377,378,380,382,384,386],{"class":167,"line":175},[165,379,179],{"class":178},[165,381,183],{"class":182},[165,383,186],{"class":178},[165,385,189],{"class":178},[165,387,192],{"class":171},[165,389,390,392,394,396,398,401],{"class":167,"line":195},[165,391,198],{"class":178},[165,393,202],{"class":201},[165,395,186],{"class":178},[165,397,189],{"class":178},[165,399,400],{"class":209}," 5",[165,402,213],{"class":178},[165,404,405,407,409,411,413],{"class":167,"line":216},[165,406,198],{"class":178},[165,408,221],{"class":201},[165,410,186],{"class":178},[165,412,189],{"class":178},[165,414,415],{"class":209}," 2\n",[165,417,418,420],{"class":167,"line":231},[165,419,234],{"class":171},[165,421,213],{"class":178},[165,423,424,426,428,430,432],{"class":167,"line":239},[165,425,179],{"class":178},[165,427,244],{"class":182},[165,429,186],{"class":178},[165,431,189],{"class":178},[165,433,192],{"class":171},[165,435,436,438,440,442,444],{"class":167,"line":253},[165,437,198],{"class":178},[165,439,258],{"class":201},[165,441,186],{"class":178},[165,443,189],{"class":178},[165,445,446],{"class":209}," false\n",[165,448,449],{"class":167,"line":270},[165,450,359],{"class":171},[165,452,453],{"class":167,"line":285},[165,454,365],{"class":171},[456,457,458,474],"table",{},[459,460,461],"thead",{},[462,463,464,468,471],"tr",{},[465,466,467],"th",{},"Option",[465,469,470],{},"Description",[465,472,473],{},"Default",[475,476,477,491,504,517,530,542],"tbody",{},[462,478,479,485,488],{},[480,481,482],"td",{},[113,483,484],{},"agent.max_iterations",[480,486,487],{},"Maximum iteration rounds when verification fails",[480,489,490],{},"50",[462,492,493,498,501],{},[480,494,495],{},[113,496,497],{},"agent.parallel_max_workers",[480,499,500],{},"Upper limit of worktrees for parallel coding",[480,502,503],{},"4",[462,505,506,511,514],{},[480,507,508],{},[113,509,510],{},"cache.enabled",[480,512,513],{},"Three-tier response cache (L1 exact \u002F L2 semantic \u002F L3 template)",[480,515,516],{},"true",[462,518,519,524,527],{},[480,520,521],{},[113,522,523],{},"cache.l2_similarity_threshold",[480,525,526],{},"Hit threshold for the L2 semantic cache",[480,528,529],{},"0.92",[462,531,532,537,540],{},[480,533,534],{},[113,535,536],{},"safety.snapshot_before_edit",[480,538,539],{},"Automatically snapshot files before editing so failures can roll back",[480,541,516],{},[462,543,544,549,552],{},[480,545,546],{},[113,547,548],{},"memory.auto_learn",[480,550,551],{},"Automatically write task experience to long-term memory",[480,553,516],{},[42,555,557],{"id":556},"best-practices","Best Practices",[91,559,560,567,570],{},[94,561,562,563,566],{},"Include the three elements — ",[18,564,565],{},"goal + constraints + acceptance criteria"," — in your requirement description; planning quality improves significantly.",[94,568,569],{},"For large refactors, review the Planner's subtask DAG and affected-file list first; run only after confirming they are correct.",[94,571,572,573,575],{},"Pair with the ",[101,574,104],{"href":103},": for cross-repo or large-project tasks, let index building finish before launching.",[23,577,579],{"type":578},"warn",[14,580,581,584,585,589],{},[18,582,583],{},"Billing",": RUSH tasks are billed in credits based on the actual usage of the models involved in each step (1 credit ≈ ¥0.05), regardless of how many subtasks the task contains. When your credit balance is insufficient, the task is blocked with a prompt to recharge or upgrade. See ",[101,586,588],{"href":587},"\u002Fen\u002Fdocs\u002Fmodels-billing\u002Fplans-quota","Plans & Quota",".",[591,592,593],"style",{},"html pre.shiki code .sgJMe, html code.shiki .sgJMe{--shiki-default:#9ABDF5}html pre.shiki code .sAklC, html code.shiki .sAklC{--shiki-default:#89DDFF}html pre.shiki code .s3R4Z, html code.shiki .s3R4Z{--shiki-default:#7AA2F7}html pre.shiki code .sySf4, html code.shiki .sySf4{--shiki-default:#0DB9D7}html pre.shiki code .sOJ5S, html code.shiki .sOJ5S{--shiki-default:#FF9E64}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}",{"title":161,"searchDepth":175,"depth":175,"links":595},[596,597,598,599],{"id":44,"depth":175,"text":45},{"id":85,"depth":175,"text":86},{"id":142,"depth":175,"text":143},{"id":556,"depth":175,"text":557},"Launch a deep task in one sentence — RUSH automatically runs the full pipeline of task planning, parallel coding, quality verification, and convergent delivery","md",{},true,"\u002Fen\u002Fdocs\u002Fguides\u002Frush","Feature Guides",{"title":5,"description":600},"en\u002Fdocs\u002F02.guides\u002F06.rush","8wBwWSEuZHEXq-Gsv7UaG0_cVgQVwSr3-pQuoUuhnJ8",[610,614],{"title":611,"path":612,"stem":613,"children":-1},"AI Chat & Inline Edit","\u002Fen\u002Fdocs\u002Fguides\u002Fai-chat","en\u002Fdocs\u002F02.guides\u002F05.ai-chat",{"title":615,"path":616,"stem":617,"children":-1},"FIM Code Completion","\u002Fen\u002Fdocs\u002Fguides\u002Ffim-completion","en\u002Fdocs\u002F02.guides\u002F07.fim-completion",[619],{"title":620,"path":621,"stem":622,"children":623,"page":650},"En","\u002Fen","en",[624],{"title":625,"path":626,"stem":627,"children":628,"page":650},"Docs","\u002Fen\u002Fdocs","en\u002Fdocs",[629,651,672,688],{"title":630,"path":631,"stem":632,"children":633,"page":650},"Getting Started","\u002Fen\u002Fdocs\u002Fgetting-started","en\u002Fdocs\u002F01.getting-started",[634,638,642,646],{"title":635,"path":636,"stem":637},"Installation & Download","\u002Fen\u002Fdocs\u002Fgetting-started\u002Finstallation","en\u002Fdocs\u002F01.getting-started\u002F01.installation",{"title":639,"path":640,"stem":641},"Register & Sign In","\u002Fen\u002Fdocs\u002Fgetting-started\u002Fregister-login","en\u002Fdocs\u002F01.getting-started\u002F02.register-login",{"title":643,"path":644,"stem":645},"First-Time Setup","\u002Fen\u002Fdocs\u002Fgetting-started\u002Ffirst-setup","en\u002Fdocs\u002F01.getting-started\u002F03.first-setup",{"title":647,"path":648,"stem":649},"Migrate from VS Code","\u002Fen\u002Fdocs\u002Fgetting-started\u002Fmigrate-from-vscode","en\u002Fdocs\u002F01.getting-started\u002F04.migrate-from-vscode",false,{"title":605,"path":652,"stem":653,"children":654,"page":650},"\u002Fen\u002Fdocs\u002Fguides","en\u002Fdocs\u002F02.guides",[655,656,657,658,660,664,668],{"title":611,"path":612,"stem":613},{"title":5,"path":604,"stem":607},{"title":615,"path":616,"stem":617},{"title":104,"path":103,"stem":659},"en\u002Fdocs\u002F02.guides\u002F08.code-graph",{"title":661,"path":662,"stem":663},"MCP Tools & Marketplace","\u002Fen\u002Fdocs\u002Fguides\u002Fmcp","en\u002Fdocs\u002F02.guides\u002F09.mcp",{"title":665,"path":666,"stem":667},"Debugging & DAP","\u002Fen\u002Fdocs\u002Fguides\u002Fdebugging","en\u002Fdocs\u002F02.guides\u002F10.debugging",{"title":669,"path":670,"stem":671},"Integrated Terminal","\u002Fen\u002Fdocs\u002Fguides\u002Fterminal","en\u002Fdocs\u002F02.guides\u002F11.terminal",{"title":673,"path":674,"stem":675,"children":676,"page":650},"Models & Billing","\u002Fen\u002Fdocs\u002Fmodels-billing","en\u002Fdocs\u002F03.models-billing",[677,681,684],{"title":678,"path":679,"stem":680},"Models","\u002Fen\u002Fdocs\u002Fmodels-billing\u002Fmodels","en\u002Fdocs\u002F03.models-billing\u002F12.models",{"title":682,"path":587,"stem":683},"Plans & Credits","en\u002Fdocs\u002F03.models-billing\u002F13.plans-quota",{"title":685,"path":686,"stem":687},"BYOK (Bring Your Own Key)","\u002Fen\u002Fdocs\u002Fmodels-billing\u002Fbyok","en\u002Fdocs\u002F03.models-billing\u002F14.byok",{"title":689,"path":690,"stem":691,"children":692,"page":650},"Reference & FAQ","\u002Fen\u002Fdocs\u002Freference","en\u002Fdocs\u002F04.reference",[693,697,700,704,708],{"title":694,"path":695,"stem":696},"Keyboard Shortcuts","\u002Fen\u002Fdocs\u002Freference\u002Fshortcuts","en\u002Fdocs\u002F04.reference\u002F15.shortcuts",{"title":143,"path":698,"stem":699},"\u002Fen\u002Fdocs\u002Freference\u002Fconfiguration","en\u002Fdocs\u002F04.reference\u002F16.configuration",{"title":701,"path":702,"stem":703},"Kernel API","\u002Fen\u002Fdocs\u002Freference\u002Fkernel-api","en\u002Fdocs\u002F04.reference\u002F17.kernel-api",{"title":705,"path":706,"stem":707},"FAQ","\u002Fen\u002Fdocs\u002Freference\u002Ffaq","en\u002Fdocs\u002F04.reference\u002F18.faq",{"title":709,"path":710,"stem":711},"Cloud REST API","\u002Fen\u002Fdocs\u002Freference\u002Fcloud-api","en\u002Fdocs\u002F04.reference\u002F19.cloud-api",1788542300514]