[{"data":1,"prerenderedAt":708},["ShallowReactive",2],{"doc-\u002Fdocs\u002Fmissions":3,"surround-\u002Fdocs\u002Fmissions":662,"docs-nav":669},{"_path":4,"_dir":5,"_draft":6,"_partial":6,"_locale":7,"title":8,"description":9,"order":10,"group":11,"body":12,"_type":656,"_id":657,"_source":658,"_file":659,"_stem":660,"_extension":661},"\u002Fdocs\u002Fmissions","docs",false,"","Missions","Give Excalibur a goal and it plans and drives the whole cycle — interpret → understand → build → verify → ship — autonomously, with a live plan, checkpoint\u002Fresume and a budget ceiling.",4,"Build",{"type":13,"children":14,"toc":649},"root",[15,52,86,91,98,117,268,273,279,285,326,332,337,388,444,450,455,577,583,643],{"type":16,"tag":17,"props":18,"children":19},"element","p",{},[20,23,29,31,36,38,43,45,50],{"type":21,"value":22},"text","A ",{"type":16,"tag":24,"props":25,"children":26},"strong",{},[27],{"type":21,"value":28},"mission",{"type":21,"value":30}," is the meta-orchestrator. Hand Excalibur a big, multi-faceted goal and it doesn't just write code: it ",{"type":16,"tag":24,"props":32,"children":33},{},[34],{"type":21,"value":35},"interprets",{"type":21,"value":37}," the goal, ",{"type":16,"tag":24,"props":39,"children":40},{},[41],{"type":21,"value":42},"auto-authors a plan",{"type":21,"value":44}," (a graph of capabilities), and ",{"type":16,"tag":24,"props":46,"children":47},{},[48],{"type":21,"value":49},"drives it end to end",{"type":21,"value":51}," — adapting after every step. It's the command form of the whole product cycle the rest of the docs describe.",{"type":16,"tag":53,"props":54,"children":58},"pre",{"className":55,"code":56,"language":57,"meta":7,"style":7},"language-bash shiki shiki-themes github-light","excalibur mission \"add rate limiting to the public API, with tests and docs\"\n","bash",[59],{"type":16,"tag":60,"props":61,"children":62},"code",{"__ignoreMap":7},[63],{"type":16,"tag":64,"props":65,"children":68},"span",{"class":66,"line":67},"line",1,[69,75,81],{"type":16,"tag":64,"props":70,"children":72},{"style":71},"--shiki-default:#6F42C1",[73],{"type":21,"value":74},"excalibur",{"type":16,"tag":64,"props":76,"children":78},{"style":77},"--shiki-default:#032F62",[79],{"type":21,"value":80}," mission",{"type":16,"tag":64,"props":82,"children":83},{"style":77},[84],{"type":21,"value":85}," \"add rate limiting to the public API, with tests and docs\"\n",{"type":16,"tag":17,"props":87,"children":88},{},[89],{"type":21,"value":90},"In the m-shell you don't need the command — a big, multi-part goal routes to a mission on its own.",{"type":16,"tag":92,"props":93,"children":95},"h2",{"id":94},"what-it-does",[96],{"type":21,"value":97},"What it does",{"type":16,"tag":17,"props":99,"children":100},{},[101,103,108,110,115],{"type":21,"value":102},"From the goal, Excalibur derives the ",{"type":16,"tag":24,"props":104,"children":105},{},[106],{"type":21,"value":107},"capability DAG",{"type":21,"value":109}," and runs it, and each capability fires its own ",{"type":16,"tag":24,"props":111,"children":112},{},[113],{"type":21,"value":114},"dedicated engine",{"type":21,"value":116}," — not a generic prompt:",{"type":16,"tag":118,"props":119,"children":120},"table",{},[121,140],{"type":16,"tag":122,"props":123,"children":124},"thead",{},[125],{"type":16,"tag":126,"props":127,"children":128},"tr",{},[129,135],{"type":16,"tag":130,"props":131,"children":132},"th",{},[133],{"type":21,"value":134},"Capability",{"type":16,"tag":130,"props":136,"children":137},{},[138],{"type":21,"value":139},"What runs",{"type":16,"tag":141,"props":142,"children":143},"tbody",{},[144,170,186,215,239],{"type":16,"tag":126,"props":145,"children":146},{},[147,156],{"type":16,"tag":148,"props":149,"children":150},"td",{},[151],{"type":16,"tag":24,"props":152,"children":153},{},[154],{"type":21,"value":155},"Understand",{"type":16,"tag":148,"props":157,"children":158},{},[159,161,168],{"type":21,"value":160},"the read-only ",{"type":16,"tag":162,"props":163,"children":165},"a",{"href":164},"\u002Fdocs\u002Fthe-m-shell#understand-first-scope",[166],{"type":21,"value":167},"scope",{"type":21,"value":169}," fan-out → a map of subsystems, built-vs-missing and risks",{"type":16,"tag":126,"props":171,"children":172},{},[173,181],{"type":16,"tag":148,"props":174,"children":175},{},[176],{"type":16,"tag":24,"props":177,"children":178},{},[179],{"type":21,"value":180},"Plan",{"type":16,"tag":148,"props":182,"children":183},{},[184],{"type":21,"value":185},"a concrete, step-by-step implementation plan",{"type":16,"tag":126,"props":187,"children":188},{},[189,196],{"type":16,"tag":148,"props":190,"children":191},{},[192],{"type":16,"tag":24,"props":193,"children":194},{},[195],{"type":21,"value":11},{"type":16,"tag":148,"props":197,"children":198},{},[199,201,206,208,213],{"type":21,"value":200},"a focused run, or a ",{"type":16,"tag":24,"props":202,"children":203},{},[204],{"type":21,"value":205},"swarm",{"type":21,"value":207}," of parallel agents when the work splits, or ",{"type":16,"tag":24,"props":209,"children":210},{},[211],{"type":21,"value":212},"best-of-N",{"type":21,"value":214}," rival approaches",{"type":16,"tag":126,"props":216,"children":217},{},[218,226],{"type":16,"tag":148,"props":219,"children":220},{},[221],{"type":16,"tag":24,"props":222,"children":223},{},[224],{"type":21,"value":225},"Verify",{"type":16,"tag":148,"props":227,"children":228},{},[229,231,237],{"type":21,"value":230},"the adversarial ",{"type":16,"tag":162,"props":232,"children":234},{"href":233},"\u002Fdocs\u002Fsafety#verifiable-by-construction",[235],{"type":21,"value":236},"verification mesh",{"type":21,"value":238}," + your tests — a real gate",{"type":16,"tag":126,"props":240,"children":241},{},[242,250],{"type":16,"tag":148,"props":243,"children":244},{},[245],{"type":16,"tag":24,"props":246,"children":247},{},[248],{"type":21,"value":249},"Ship",{"type":16,"tag":148,"props":251,"children":252},{},[253,255,260,262],{"type":21,"value":254},"commit the change — or open a ",{"type":16,"tag":24,"props":256,"children":257},{},[258],{"type":21,"value":259},"pull request",{"type":21,"value":261}," with ",{"type":16,"tag":60,"props":263,"children":265},{"className":264},[],[266],{"type":21,"value":267},"--pr",{"type":16,"tag":17,"props":269,"children":270},{},[271],{"type":21,"value":272},"What it understood up front is threaded into every later step, so the plan and the build are grounded in your real code.",{"type":16,"tag":274,"props":275,"children":278},"shell",{":lines":276,"title":277},"[{\"kind\":\"prompt\",\"text\":\"mission: add rate limiting to the public API, with tests and docs\"},{\"kind\":\"head\",\"text\":\"interpreted · risk: medium · 5 capabilities\"},{\"kind\":\"ok\",\"text\":\"understand   mapped the gateway · 2 subsystems · 3 risks\",\"tone\":\"accent\"},{\"kind\":\"ok\",\"text\":\"implement    edit src\u002Fapi\u002Flimiter.ts  +48 −4\",\"tone\":\"accent\"},{\"kind\":\"warn\",\"text\":\"verify       mesh: 0 blocking issues · tests 124 passing\"},{\"kind\":\"arrow\",\"text\":\"ship         committed · (use --pr to open a PR)\",\"tone\":\"accent\"},{\"kind\":\"ok\",\"text\":\"✓ mission complete\",\"tone\":\"success\"}]","excalibur — mission",[],{"type":16,"tag":92,"props":280,"children":282},{"id":281},"it-adapts-as-it-goes",[283],{"type":21,"value":284},"It adapts as it goes",{"type":16,"tag":17,"props":286,"children":287},{},[288,290,295,297,302,304,309,311,316,318,324],{"type":21,"value":289},"A mission isn't a fixed checklist. After each gate or failure it ",{"type":16,"tag":24,"props":291,"children":292},{},[293],{"type":21,"value":294},"reassesses",{"type":21,"value":296}," and picks the next move — retry, ",{"type":16,"tag":24,"props":298,"children":299},{},[300],{"type":21,"value":301},"escalate",{"type":21,"value":303}," a single run into a swarm, ",{"type":16,"tag":24,"props":305,"children":306},{},[307],{"type":21,"value":308},"replan",{"type":21,"value":310},", skip a superseded step, or finish — so a wrong turn self-heals instead of dead-ending. A live ",{"type":16,"tag":24,"props":312,"children":313},{},[314],{"type":21,"value":315},"plan ribbon",{"type":21,"value":317}," stays pinned above the run, showing every capability's status (",{"type":16,"tag":60,"props":319,"children":321},{"className":320},[],[322],{"type":21,"value":323},"✓ ◐ ○ ✗",{"type":21,"value":325},") as it advances.",{"type":16,"tag":92,"props":327,"children":329},{"id":328},"long-jobs-checkpoint-budget-resume",[330],{"type":21,"value":331},"Long jobs: checkpoint, budget, resume",{"type":16,"tag":17,"props":333,"children":334},{},[335],{"type":21,"value":336},"Missions are built for work that doesn't finish in one sitting:",{"type":16,"tag":338,"props":339,"children":340},"ul",{},[341,360,378],{"type":16,"tag":342,"props":343,"children":344},"li",{},[345,350,352,358],{"type":16,"tag":24,"props":346,"children":347},{},[348],{"type":21,"value":349},"Checkpointed",{"type":21,"value":351}," — state is saved to ",{"type":16,"tag":60,"props":353,"children":355},{"className":354},[],[356],{"type":21,"value":357},".excalibur\u002Fmissions\u002F\u003Cid>\u002F",{"type":21,"value":359}," after every step.",{"type":16,"tag":342,"props":361,"children":362},{},[363,368,370,376],{"type":16,"tag":24,"props":364,"children":365},{},[366],{"type":21,"value":367},"Budget ceiling",{"type":21,"value":369}," — ",{"type":16,"tag":60,"props":371,"children":373},{"className":372},[],[374],{"type":21,"value":375},"--budget \u003Cusd>",{"type":21,"value":377}," pauses the mission (resumably) the moment spend hits the cap.",{"type":16,"tag":342,"props":379,"children":380},{},[381,386],{"type":16,"tag":24,"props":382,"children":383},{},[384],{"type":21,"value":385},"Resumable",{"type":21,"value":387}," — pick a paused mission back up where it left off; the completed prefix isn't re-run.",{"type":16,"tag":53,"props":389,"children":391},{"className":55,"code":390,"language":57,"meta":7,"style":7},"excalibur mission \"migrate the billing service to the new schema\" --budget 5\nexcalibur mission \"ship the export feature end to end\" --pr\n",[392],{"type":16,"tag":60,"props":393,"children":394},{"__ignoreMap":7},[395,422],{"type":16,"tag":64,"props":396,"children":397},{"class":66,"line":67},[398,402,406,411,417],{"type":16,"tag":64,"props":399,"children":400},{"style":71},[401],{"type":21,"value":74},{"type":16,"tag":64,"props":403,"children":404},{"style":77},[405],{"type":21,"value":80},{"type":16,"tag":64,"props":407,"children":408},{"style":77},[409],{"type":21,"value":410}," \"migrate the billing service to the new schema\"",{"type":16,"tag":64,"props":412,"children":414},{"style":413},"--shiki-default:#005CC5",[415],{"type":21,"value":416}," --budget",{"type":16,"tag":64,"props":418,"children":419},{"style":413},[420],{"type":21,"value":421}," 5\n",{"type":16,"tag":64,"props":423,"children":425},{"class":66,"line":424},2,[426,430,434,439],{"type":16,"tag":64,"props":427,"children":428},{"style":71},[429],{"type":21,"value":74},{"type":16,"tag":64,"props":431,"children":432},{"style":77},[433],{"type":21,"value":80},{"type":16,"tag":64,"props":435,"children":436},{"style":77},[437],{"type":21,"value":438}," \"ship the export feature end to end\"",{"type":16,"tag":64,"props":440,"children":441},{"style":413},[442],{"type":21,"value":443}," --pr\n",{"type":16,"tag":92,"props":445,"children":447},{"id":446},"missions-vs-swarm-vs-orchestrate",[448],{"type":21,"value":449},"Missions vs. swarm vs. orchestrate",{"type":16,"tag":17,"props":451,"children":452},{},[453],{"type":21,"value":454},"Three different things — don't confuse them:",{"type":16,"tag":118,"props":456,"children":457},{},[458,477],{"type":16,"tag":122,"props":459,"children":460},{},[461],{"type":16,"tag":126,"props":462,"children":463},{},[464,467,472],{"type":16,"tag":130,"props":465,"children":466},{},[],{"type":16,"tag":130,"props":468,"children":469},{},[470],{"type":21,"value":471},"Who plans it",{"type":16,"tag":130,"props":473,"children":474},{},[475],{"type":21,"value":476},"What it is",{"type":16,"tag":141,"props":478,"children":479},{},[480,506,543],{"type":16,"tag":126,"props":481,"children":482},{},[483,491,501],{"type":16,"tag":148,"props":484,"children":485},{},[486],{"type":16,"tag":24,"props":487,"children":488},{},[489],{"type":21,"value":490},"Mission",{"type":16,"tag":148,"props":492,"children":493},{},[494,496],{"type":21,"value":495},"Excalibur, ",{"type":16,"tag":24,"props":497,"children":498},{},[499],{"type":21,"value":500},"from your goal",{"type":16,"tag":148,"props":502,"children":503},{},[504],{"type":21,"value":505},"the full cycle, auto-authored and driven",{"type":16,"tag":126,"props":507,"children":508},{},[509,526,531],{"type":16,"tag":148,"props":510,"children":511},{},[512,517,519,524],{"type":16,"tag":24,"props":513,"children":514},{},[515],{"type":21,"value":516},"Swarm",{"type":21,"value":518}," (",{"type":16,"tag":60,"props":520,"children":522},{"className":521},[],[523],{"type":21,"value":205},{"type":21,"value":525},")",{"type":16,"tag":148,"props":527,"children":528},{},[529],{"type":21,"value":530},"the planner sizes it",{"type":16,"tag":148,"props":532,"children":533},{},[534,536,541],{"type":21,"value":535},"parallel agents over the independent parts of ",{"type":16,"tag":24,"props":537,"children":538},{},[539],{"type":21,"value":540},"one",{"type":21,"value":542}," task",{"type":16,"tag":126,"props":544,"children":545},{},[546,562,572],{"type":16,"tag":148,"props":547,"children":548},{},[549,554,555,561],{"type":16,"tag":24,"props":550,"children":551},{},[552],{"type":21,"value":553},"Orchestrate",{"type":21,"value":518},{"type":16,"tag":60,"props":556,"children":558},{"className":557},[],[559],{"type":21,"value":560},"orchestrate --spec",{"type":21,"value":525},{"type":16,"tag":148,"props":563,"children":564},{},[565,570],{"type":16,"tag":24,"props":566,"children":567},{},[568],{"type":21,"value":569},"you",{"type":21,"value":571},", in YAML",{"type":16,"tag":148,"props":573,"children":574},{},[575],{"type":21,"value":576},"a deterministic DAG you authored",{"type":16,"tag":92,"props":578,"children":580},{"id":579},"next",[581],{"type":21,"value":582},"Next",{"type":16,"tag":338,"props":584,"children":585},{},[586,600,622],{"type":16,"tag":342,"props":587,"children":588},{},[589,598],{"type":16,"tag":24,"props":590,"children":591},{},[592],{"type":16,"tag":162,"props":593,"children":595},{"href":594},"\u002Fdocs\u002Fworkflows",[596],{"type":21,"value":597},"Workflows",{"type":21,"value":599}," — the phase recipes a build runs through.",{"type":16,"tag":342,"props":601,"children":602},{},[603,612,614,620],{"type":16,"tag":24,"props":604,"children":605},{},[606],{"type":16,"tag":162,"props":607,"children":609},{"href":608},"\u002Fdocs\u002Fdiscovery",[610],{"type":21,"value":611},"Discovery",{"type":21,"value":613}," — deciding ",{"type":16,"tag":615,"props":616,"children":617},"em",{},[618],{"type":21,"value":619},"whether",{"type":21,"value":621}," to build, before a mission.",{"type":16,"tag":342,"props":623,"children":624},{},[625,634,636,641],{"type":16,"tag":24,"props":626,"children":627},{},[628],{"type":16,"tag":162,"props":629,"children":631},{"href":630},"\u002Fdocs\u002Fsafety",[632],{"type":21,"value":633},"Safety",{"type":21,"value":635}," — the gates and the ",{"type":16,"tag":60,"props":637,"children":639},{"className":638},[],[640],{"type":21,"value":267},{"type":21,"value":642}," opt-in.",{"type":16,"tag":644,"props":645,"children":646},"style",{},[647],{"type":21,"value":648},"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":7,"searchDepth":424,"depth":424,"links":650},[651,652,653,654,655],{"id":94,"depth":424,"text":97},{"id":281,"depth":424,"text":284},{"id":328,"depth":424,"text":331},{"id":446,"depth":424,"text":449},{"id":579,"depth":424,"text":582},"markdown","content:docs:missions.md","content","docs\u002Fmissions.md","docs\u002Fmissions","md",[663,665],{"_path":594,"title":597,"order":664},3,{"_path":666,"title":667,"order":668},"\u002Fdocs\u002Fdashboard","Dashboard",5,[670,674,679,682,683,684,685,689,691,693,697,700,705],{"_path":671,"title":672,"order":67,"group":673},"\u002Fdocs\u002Fgetting-started","Getting started","Get started",{"_path":675,"title":676,"order":677,"group":678},"\u002Fdocs\u002Fcommands","Command reference",10,"Reference",{"_path":680,"title":681,"order":424,"group":673},"\u002Fdocs\u002Fthe-m-shell","The m-shell",{"_path":594,"title":597,"order":664,"group":11},{"_path":4,"title":8,"order":10,"group":11},{"_path":666,"title":667,"order":668,"group":11},{"_path":686,"title":687,"order":688,"group":11},"\u002Fdocs\u002Fautonomy-levels","Autonomy levels",6,{"_path":608,"title":611,"order":690,"group":11},7,{"_path":630,"title":633,"order":690,"group":692},"Govern",{"_path":694,"title":695,"order":696,"group":692},"\u002Fdocs\u002Fenterprise","Enterprise",8,{"_path":698,"title":699,"order":696,"group":11},"\u002Fdocs\u002Fproviders","Models & providers",{"_path":701,"title":702,"order":703,"group":704},"\u002Fdocs\u002Fextensions","Extensions",9,"Extend",{"_path":706,"title":707,"order":703,"group":11},"\u002Fdocs\u002Fweb-research","Web & research",1782492858362]