[{"data":1,"prerenderedAt":1176,"buildId":1177},["ShallowReactive",2],{"-reference-chain-nodes-step-outputs":3,"-reference-chain-nodes-step-outputs-surround":533,"navigation_docs":544},{"id":4,"title":5,"body":6,"description":524,"extension":525,"links":526,"meta":527,"navigation":528,"path":529,"seo":530,"stem":531,"__hash__":532},"docs\u002F5.reference\u002F04.chain-nodes\u002F9.step-outputs.md","Step outputs",{"type":7,"value":8,"toc":517},"minimark",[9,16,28,31,237,242,293,297,349,353,368,399,403,494,498,513],[10,11,12],"p",{},[13,14,15],"em",{},"Added in 2.6",[10,17,18,19,23,24,27],{},"A task can leave files and ",[20,21,22],"code",{},"KEY=value"," variables for a later task. The later task names the writer in ",[20,25,26],{},"reads"," and is given a read-only copy, checked when the writer ended. Kraft doesn't read the files, and never sets a variable in any environment.",[10,29,30],{},"The writer and the reader sit in separate steps, because a step runs its tasks together. Both scripts are the repo's own, not Kraft's:",[32,33,38],"pre",{"className":34,"code":35,"language":36,"meta":37,"style":37},"language-yaml shiki shiki-themes github-light-high-contrast github-light-high-contrast github-dark-high-contrast","- id: build\n  steps:\n    - id: test\n      tasks:\n        - id: run_tests\n          kind: subprocess\n          command: .\u002Fscripts\u002Frun-tests.sh      # writes into $KRAFT_OUTPUT_DIR\n          outputs:\n            files: [junit.xml, \"test report.html\"]\n            variables: [FAILED_COUNT]\n    - id: report\n      tasks:\n        - id: summarize\n          kind: subprocess\n          command: .\u002Fscripts\u002Fsummarize.sh      # reads from $KRAFT_READS_DIR\n          reads: [test.run_tests]\n","yaml","",[20,39,40,60,69,82,90,103,114,129,137,158,171,183,190,202,211,224],{"__ignoreMap":37},[41,42,45,49,53,56],"span",{"class":43,"line":44},"line",1,[41,46,48],{"class":47},"s7iLA","- ",[41,50,52],{"class":51},"sb7M8","id",[41,54,55],{"class":47},": ",[41,57,59],{"class":58},"semJd","build\n",[41,61,63,66],{"class":43,"line":62},2,[41,64,65],{"class":51},"  steps",[41,67,68],{"class":47},":\n",[41,70,72,75,77,79],{"class":43,"line":71},3,[41,73,74],{"class":47},"    - ",[41,76,52],{"class":51},[41,78,55],{"class":47},[41,80,81],{"class":58},"test\n",[41,83,85,88],{"class":43,"line":84},4,[41,86,87],{"class":51},"      tasks",[41,89,68],{"class":47},[41,91,93,96,98,100],{"class":43,"line":92},5,[41,94,95],{"class":47},"        - ",[41,97,52],{"class":51},[41,99,55],{"class":47},[41,101,102],{"class":58},"run_tests\n",[41,104,106,109,111],{"class":43,"line":105},6,[41,107,108],{"class":51},"          kind",[41,110,55],{"class":47},[41,112,113],{"class":58},"subprocess\n",[41,115,117,120,122,125],{"class":43,"line":116},7,[41,118,119],{"class":51},"          command",[41,121,55],{"class":47},[41,123,124],{"class":58},".\u002Fscripts\u002Frun-tests.sh",[41,126,128],{"class":127},"sq92B","      # writes into $KRAFT_OUTPUT_DIR\n",[41,130,132,135],{"class":43,"line":131},8,[41,133,134],{"class":51},"          outputs",[41,136,68],{"class":47},[41,138,140,143,146,149,152,155],{"class":43,"line":139},9,[41,141,142],{"class":51},"            files",[41,144,145],{"class":47},": [",[41,147,148],{"class":58},"junit.xml",[41,150,151],{"class":47},", ",[41,153,154],{"class":58},"\"test report.html\"",[41,156,157],{"class":47},"]\n",[41,159,161,164,166,169],{"class":43,"line":160},10,[41,162,163],{"class":51},"            variables",[41,165,145],{"class":47},[41,167,168],{"class":58},"FAILED_COUNT",[41,170,157],{"class":47},[41,172,174,176,178,180],{"class":43,"line":173},11,[41,175,74],{"class":47},[41,177,52],{"class":51},[41,179,55],{"class":47},[41,181,182],{"class":58},"report\n",[41,184,186,188],{"class":43,"line":185},12,[41,187,87],{"class":51},[41,189,68],{"class":47},[41,191,193,195,197,199],{"class":43,"line":192},13,[41,194,95],{"class":47},[41,196,52],{"class":51},[41,198,55],{"class":47},[41,200,201],{"class":58},"summarize\n",[41,203,205,207,209],{"class":43,"line":204},14,[41,206,108],{"class":51},[41,208,55],{"class":47},[41,210,113],{"class":58},[41,212,214,216,218,221],{"class":43,"line":213},15,[41,215,119],{"class":51},[41,217,55],{"class":47},[41,219,220],{"class":58},".\u002Fscripts\u002Fsummarize.sh",[41,222,223],{"class":127},"      # reads from $KRAFT_READS_DIR\n",[41,225,227,230,232,235],{"class":43,"line":226},16,[41,228,229],{"class":51},"          reads",[41,231,145],{"class":47},[41,233,234],{"class":58},"test.run_tests",[41,236,157],{"class":47},[238,239,241],"h2",{"id":240},"writing","Writing",[243,244,245,257,275,290],"ul",{},[246,247,248,249,252,253,256],"li",{},"The writer gets ",[20,250,251],{},"KRAFT_OUTPUT_DIR",", a folder only it writes: ",[20,254,255],{},"out\u002Foutputs\u002F"," in its session's folder. An agent's prompt names the folder and the declared names, and says what a variable must look like.",[246,258,259,260,262,263,266,267,270,271,274],{},"A variable is one ",[20,261,22],{}," line in ",[20,264,265],{},"$KRAFT_OUTPUT_DIR\u002Fvariables.env",". Blank lines and lines starting with ",[20,268,269],{},"#"," are ignored. A value runs to the end of the line, with no quotes and no ",[20,272,273],{},"export","; a repeated key keeps its last value.",[246,276,277,278,281,282,285,286,289],{},"A file name is a plain relative path inside that folder: no ",[20,279,280],{},"..",", no glob, not ",[20,283,284],{},"variables.env"," in any case, no two names that differ only by case, and no name that is a folder of another. A variable name matches ",[20,287,288],{},"[A-Z][A-Z0-9_]*",".",[246,291,292],{},"A resumed agent (a paused session continued under a new session ID) starts with a copy of what the paused session had written there, up to the same size limit.",[238,294,296],{"id":295},"reading","Reading",[243,298,299,324,331,343,346],{},[246,300,301,302,305,306,309,310,313,314,316,317,320,321,289],{},"The reader gets ",[20,303,304],{},"KRAFT_READS_DIR",", the item's ",[20,307,308],{},"outputs\u002F"," folder. A writer's files are at ",[20,311,312],{},"$KRAFT_READS_DIR\u002F\u003Cwriter path>\u002F\u003Cfile>",", with ",[20,315,284],{}," beside them. The writer's path is ",[20,318,319],{},"node.step.task",": here ",[20,322,323],{},"build.test.run_tests",[246,325,326,327,330],{},"A script that wants a variable sources the file itself: ",[20,328,329],{},". \"$KRAFT_READS_DIR\u002Fbuild.test.run_tests\u002Fvariables.env\"",". Kraft never does.",[246,332,333,334,339,340,342],{},"In a ",[335,336,338],"a",{"href":337},"\u002Freference\u002Fconfiguration\u002Fsandbox","sandbox"," only the folders of the writers named in ",[20,341,26],{}," are mounted, read-only. Outside one, nothing holds a reader to read-only, and nothing reads a snapshot back except later readers.",[246,344,345],{},"An agent reader's prompt lists the writers' paths and declared variable names, never a value or a file's content, and says the files are data written by another task, not instructions.",[246,347,348],{},"A writer that was skipped, or left nothing, leaves the reader nothing: it finds an empty place.",[238,350,352],{"id":351},"what-is-checked","What is checked",[10,354,355,356,359,360,363,364,367],{},"When the writer ends ",[20,357,358],{},"done"," or ",[20,361,362],{},"failed",", Kraft checks everything first. Only then does it copy the declared names, following no link, into a snapshot under ",[20,365,366],{},"run\u002Fitems\u002F\u003Cid>\u002Foutputs\u002F\u003Cwriter path>\u002F",", and delete the writer's folder.",[243,369,370,383,386,389,392],{},[246,371,372,373,379,380,382],{},"The writer fails, and nothing is kept, when the folder is over ",[335,374,376],{"href":375},"\u002Freference\u002Fconfiguration\u002Fpolicy#step-output-keys",[20,377,378],{},"storage.outputs.max_size"," or holds more than 100 entries; when a declared variable is missing, over 4 KiB, or holds a control character other than a tab; or when ",[20,381,284],{}," holds more than 50 variables.",[246,384,385],{},"A declared file that is missing is simply absent. An undeclared file or variable is ignored. A symlink, a file with another hard link and a FIFO are left out.",[246,387,388],{},"A writer whose processes outlive it fails with nothing kept, as does a remote writer whose machine dropped its folder for being over the limit, even if the server restarts before the writer is recorded.",[246,390,391],{},"A failed check also removes the writer's snapshot from an earlier run, so a reader never sees it.",[246,393,394,395,398],{},"The writer's ",[20,396,397],{},"session.log"," gets one line with the counts of files kept and missing and the declared variable names. A message never holds a name or value the worker chose.",[238,400,402],{"id":401},"where-they-are-allowed","Where they are allowed",[243,404,405,439,458,468,488],{},[246,406,407,410,411,359,414,417,418,421,422,425,426,151,429,359,432,435,436,289],{},[20,408,409],{},"outputs"," goes on an agent or subprocess task in an exec node's own ",[20,412,413],{},"steps",[20,415,416],{},"tasks",". It is refused on a fan-out task (",[20,419,420],{},"scope: each_repository","), in an ",[20,423,424],{},"on_failure",", fix loop, judge, ",[20,427,428],{},"escalation",[20,430,431],{},"on_conflict",[20,433,434],{},"on_merge_rejected.repair"," slot, and in a gate's ",[20,437,438],{},"auto_review",[246,440,441,443,444,450,451,454,455,457],{},[20,442,26],{}," goes on an agent, subprocess or ",[335,445,447],{"href":446},"\u002Freference\u002Fchain-nodes\u002Fwait-for-a-pipeline",[20,448,449],{},"ci.pipeline"," task, and on no other forge task. An entry of two segments, ",[20,452,453],{},"step.task",", names a writer in the reader's own node, so a library node holding both stays reusable under any node ID. An entry of three, ",[20,456,319],{},", names a writer anywhere. A bare task ID, or an entry of more than three segments, is refused.",[246,459,460,461,463,464,467],{},"Every entry must name a task that declares ",[20,462,409],{}," and runs before the reader: in an earlier node, or an earlier step of the same node. A task in the same step is never before it, so a writer and its reader can't share one ",[20,465,466],{},"tasks:"," list.",[246,469,470,471,473,474,476,477,479,480,151,482,484,485,487],{},"A node's ",[20,472,424],{},", fix loop, judge and ",[20,475,428],{}," may read any step of the node. A step's or task's ",[20,478,424],{}," may read the steps up to and including its own. Such a handler may run before its writer did, and then finds nothing. ",[20,481,431],{},[20,483,434],{}," and a gate's ",[20,486,438],{}," read nothing.",[246,489,490,493],{},[20,491,492],{},"kraft admin templates lint"," refuses a chain that breaks these rules.",[238,495,497],{"id":496},"when-a-writer-runs-again","When a writer runs again",[243,499,500,503,510],{},[246,501,502],{},"Running a writer again, or skipping it, deletes its snapshot, so a later reader never sees outputs of a run that has since been replaced. A reader that already passed isn't run again.",[246,504,505,506,289],{},"Archiving the item deletes all its snapshots. Abandoning deletes the whole item folder. See ",[335,507,509],{"href":508},"\u002Fguides\u002Frun\u002Ffind-the-logs#where-an-items-files-are","Find the logs",[246,511,512],{},"A snapshot may still hold a variable that an older chain declared and the current one dropped. Kraft reads only the declared names, but a script that sources the file itself sees every key in it.",[514,515,516],"style",{},"html pre.shiki code .s7iLA, html code.shiki .s7iLA{--shiki-light:#0E1116;--shiki-default:#0E1116;--shiki-dark:#F0F3F6}html pre.shiki code .sb7M8, html code.shiki .sb7M8{--shiki-light:#024C1A;--shiki-default:#024C1A;--shiki-dark:#72F088}html pre.shiki code .semJd, html code.shiki .semJd{--shiki-light:#032563;--shiki-default:#032563;--shiki-dark:#ADDCFF}html pre.shiki code .sq92B, html code.shiki .sq92B{--shiki-light:#66707B;--shiki-default:#66707B;--shiki-dark:#BDC4CC}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}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);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"title":37,"searchDepth":62,"depth":62,"links":518},[519,520,521,522,523],{"id":240,"depth":62,"text":241},{"id":295,"depth":62,"text":296},{"id":351,"depth":62,"text":352},{"id":401,"depth":62,"text":402},{"id":496,"depth":62,"text":497},"How a task leaves files and variables for a later task, how the reader names the writer, and when Kraft checks and deletes them.","md",null,{},true,"\u002Freference\u002Fchain-nodes\u002Fstep-outputs",{"title":5,"description":524},"5.reference\u002F04.chain-nodes\u002F9.step-outputs","yFc8Wq-g1cXc1KYK5nRslJSMVhe54q3Oz6gUk989Ivk",[534,539],{"title":535,"path":536,"stem":537,"description":538},"read_only","\u002Freference\u002Fchain-nodes\u002Fread-only","5.reference\u002F04.chain-nodes\u002F8.read-only","How read_only makes Kraft verify that a step, node or recovery plan leaves the checkout as it found it, and what happens when it doesn't.",{"title":540,"path":541,"stem":542,"description":543},"Overview","\u002Freference\u002Fharnesses","5.reference\u002F05.harnesses\u002Findex","Which agent CLIs Kraft runs, what each supports, and how a task picks one.",[545,568,607,777,828,1133],{"title":546,"path":547,"stem":548,"children":549},"Get started","\u002Fget-started","1.get-started",[550,552,556,560,564],{"title":540,"path":547,"stem":551},"1.get-started\u002Findex",{"title":553,"path":554,"stem":555},"Install","\u002Fget-started\u002Finstall","1.get-started\u002F1.install",{"title":557,"path":558,"stem":559},"Your first work item","\u002Fget-started\u002Ffirst-work-item","1.get-started\u002F2.first-work-item",{"title":561,"path":562,"stem":563},"The real chain","\u002Fget-started\u002Fthe-real-chain","1.get-started\u002F3.the-real-chain",{"title":565,"path":566,"stem":567},"FAQ","\u002Fget-started\u002Ffaq","1.get-started\u002F4.faq",{"title":569,"path":570,"stem":571,"children":572},"Concepts","\u002Fconcepts","2.concepts",[573,575,579,583,587,591,595,599,603],{"title":540,"path":570,"stem":574},"2.concepts\u002Findex",{"title":576,"path":577,"stem":578},"How a work item runs","\u002Fconcepts\u002Fhow-a-work-item-runs","2.concepts\u002F1.how-a-work-item-runs",{"title":580,"path":581,"stem":582},"Caps and budgets","\u002Fconcepts\u002Fcaps-and-budgets","2.concepts\u002F2.caps-and-budgets",{"title":584,"path":585,"stem":586},"Why a permission gate","\u002Fconcepts\u002Fpermission-gate","2.concepts\u002F3.permission-gate",{"title":588,"path":589,"stem":590},"Vocabulary","\u002Fconcepts\u002Fvocabulary","2.concepts\u002F4.vocabulary",{"title":592,"path":593,"stem":594},"Where a step runs","\u002Fconcepts\u002Fwhere-a-step-runs","2.concepts\u002F5.where-a-step-runs",{"title":596,"path":597,"stem":598},"How review and CI waits settle","\u002Fconcepts\u002Fhow-review-and-ci-waits-settle","2.concepts\u002F6.how-review-and-ci-waits-settle",{"title":600,"path":601,"stem":602},"How test scopes run","\u002Fconcepts\u002Fhow-test-scopes-run","2.concepts\u002F7.how-test-scopes-run",{"title":604,"path":605,"stem":606},"How workers and machines behave","\u002Fconcepts\u002Fhow-workers-and-machines-behave","2.concepts\u002F8.how-workers-and-machines-behave",{"title":608,"path":609,"stem":610,"children":611},"Guides","\u002Fguides","3.guides",[612,614,664,690,712,773],{"title":540,"path":609,"stem":613},"3.guides\u002Findex",{"title":615,"path":616,"stem":617,"children":618},"Day to day","\u002Fguides\u002Fday-to-day","3.guides\u002F1.day-to-day\u002Findex",[619,620,624,628,632,636,640,644,648,652,656,660],{"title":540,"path":616,"stem":617},{"title":621,"path":622,"stem":623},"Split work into slices","\u002Fguides\u002Fday-to-day\u002Fsplit-work-into-slices","3.guides\u002F1.day-to-day\u002F01.split-work-into-slices",{"title":625,"path":626,"stem":627},"The setup wizard on first start","\u002Fguides\u002Fday-to-day\u002Ffirst-run","3.guides\u002F1.day-to-day\u002F02.first-run",{"title":629,"path":630,"stem":631},"File a work item","\u002Fguides\u002Fday-to-day\u002Ffile-a-work-item","3.guides\u002F1.day-to-day\u002F03.file-a-work-item",{"title":633,"path":634,"stem":635},"Use Kraft from your agent","\u002Fguides\u002Fday-to-day\u002Fagent-integration","3.guides\u002F1.day-to-day\u002F04.agent-integration",{"title":637,"path":638,"stem":639},"Reviewing a change","\u002Fguides\u002Fday-to-day\u002Freview-a-change","3.guides\u002F1.day-to-day\u002F05.review-a-change",{"title":641,"path":642,"stem":643},"Raise a cap on a stopped item","\u002Fguides\u002Fday-to-day\u002Fraise-a-cap","3.guides\u002F1.day-to-day\u002F06.raise-a-cap",{"title":645,"path":646,"stem":647},"Kraft for VS Code","\u002Fguides\u002Fday-to-day\u002Fvscode","3.guides\u002F1.day-to-day\u002F07.vscode",{"title":649,"path":650,"stem":651},"Reach the board from your phone","\u002Fguides\u002Fday-to-day\u002Fkraft-on-a-phone","3.guides\u002F1.day-to-day\u002F08.kraft-on-a-phone",{"title":653,"path":654,"stem":655},"Get notified when an item needs you","\u002Fguides\u002Fday-to-day\u002Fnotifications","3.guides\u002F1.day-to-day\u002F09.notifications",{"title":657,"path":658,"stem":659},"Take over a stopped item","\u002Fguides\u002Fday-to-day\u002Ftake-over-an-item","3.guides\u002F1.day-to-day\u002F10.take-over-an-item",{"title":661,"path":662,"stem":663},"Use Kraft from Herdr","\u002Fguides\u002Fday-to-day\u002Fherdr","3.guides\u002F1.day-to-day\u002F11.herdr",{"title":665,"path":666,"stem":667,"children":668},"Customize and automate","\u002Fguides\u002Fcustomize","3.guides\u002F2.customize\u002Findex",[669,670,674,678,682,686],{"title":540,"path":666,"stem":667},{"title":671,"path":672,"stem":673},"Write your own chain","\u002Fguides\u002Fcustomize\u002Fwrite-your-own-chain","3.guides\u002F2.customize\u002F1.write-your-own-chain",{"title":675,"path":676,"stem":677},"Add a security review or a gate reviewer","\u002Fguides\u002Fcustomize\u002Fadd-review-agents","3.guides\u002F2.customize\u002F2.add-review-agents",{"title":679,"path":680,"stem":681},"Schedule or webhook work","\u002Fguides\u002Fcustomize\u002Fschedule-and-webhook-work","3.guides\u002F2.customize\u002F3.schedule-and-webhook-work",{"title":683,"path":684,"stem":685},"Share chains with add-ons","\u002Fguides\u002Fcustomize\u002Fshare-chains-with-addons","3.guides\u002F2.customize\u002F4.share-chains-with-addons",{"title":687,"path":688,"stem":689},"Publish an add-on","\u002Fguides\u002Fcustomize\u002Fpublish-an-add-on","3.guides\u002F2.customize\u002F5.publish-an-add-on",{"title":691,"path":692,"stem":693,"children":694},"Agents and harnesses","\u002Fguides\u002Fharnesses","3.guides\u002F3.harnesses\u002Findex",[695,696,700,704,708],{"title":540,"path":692,"stem":693},{"title":697,"path":698,"stem":699},"Switch a task to another harness","\u002Fguides\u002Fharnesses\u002Fswitch-harness","3.guides\u002F3.harnesses\u002F1.switch-harness",{"title":701,"path":702,"stem":703},"Add or override a harness","\u002Fguides\u002Fharnesses\u002Fadding-a-harness","3.guides\u002F3.harnesses\u002F2.adding-a-harness",{"title":705,"path":706,"stem":707},"Build a worker Kit","\u002Fguides\u002Fharnesses\u002Fworker-kit","3.guides\u002F3.harnesses\u002F3.worker-kit",{"title":709,"path":710,"stem":711},"Give a worker its login","\u002Fguides\u002Fharnesses\u002Fgive-a-worker-its-login","3.guides\u002F3.harnesses\u002F4.give-a-worker-its-login",{"title":713,"path":714,"stem":715,"children":716},"Run the server","\u002Fguides\u002Frun","3.guides\u002F4.run\u002Findex",[717,718,722,726,730,734,737,741,745,749,753,757,761,765,769],{"title":540,"path":714,"stem":715},{"title":719,"path":720,"stem":721},"Remote access","\u002Fguides\u002Frun\u002Fremote-access","3.guides\u002F4.run\u002F01.remote-access",{"title":723,"path":724,"stem":725},"Put a proxy in front of Kraft","\u002Fguides\u002Frun\u002Fput-a-proxy-in-front-of-kraft","3.guides\u002F4.run\u002F02.put-a-proxy-in-front-of-kraft",{"title":727,"path":728,"stem":729},"Restart Kraft without ending running steps","\u002Fguides\u002Frun\u002Frestart-kraft","3.guides\u002F4.run\u002F03.restart-kraft",{"title":731,"path":732,"stem":733},"Back up and restore the database","\u002Fguides\u002Frun\u002Fback-up-and-restore","3.guides\u002F4.run\u002F04.back-up-and-restore",{"title":509,"path":735,"stem":736},"\u002Fguides\u002Frun\u002Ffind-the-logs","3.guides\u002F4.run\u002F05.find-the-logs",{"title":738,"path":739,"stem":740},"Run Kraft as a service","\u002Fguides\u002Frun\u002Frun-as-a-service","3.guides\u002F4.run\u002F06.run-as-a-service",{"title":742,"path":743,"stem":744},"Upgrade Kraft","\u002Fguides\u002Frun\u002Fupgrade-kraft","3.guides\u002F4.run\u002F07.upgrade-kraft",{"title":746,"path":747,"stem":748},"Move onto kraft-default","\u002Fguides\u002Frun\u002Fupgrade-your-configuration","3.guides\u002F4.run\u002F08.upgrade-your-configuration",{"title":750,"path":751,"stem":752},"Coming from 1.4","\u002Fguides\u002Frun\u002Fcoming-from-1-4","3.guides\u002F4.run\u002F09.coming-from-1-4",{"title":754,"path":755,"stem":756},"Free disk space","\u002Fguides\u002Frun\u002Ffree-disk-space","3.guides\u002F4.run\u002F10.free-disk-space",{"title":758,"path":759,"stem":760},"Rotate the token","\u002Fguides\u002Frun\u002Frotate-the-token","3.guides\u002F4.run\u002F11.rotate-the-token",{"title":762,"path":763,"stem":764},"Run items in your own checkout","\u002Fguides\u002Frun\u002Frun-items-in-place","3.guides\u002F4.run\u002F12.run-items-in-place",{"title":766,"path":767,"stem":768},"Run a step on another machine","\u002Fguides\u002Frun\u002Frun-a-step-on-another-machine","3.guides\u002F4.run\u002F13.run-a-step-on-another-machine",{"title":770,"path":771,"stem":772},"Use the console from another machine","\u002Fguides\u002Frun\u002Fuse-the-console-from-another-machine","3.guides\u002F4.run\u002F14.use-the-console-from-another-machine",{"title":774,"path":775,"stem":776},"Kraft Lite","\u002Fguides\u002Fkraft-lite","3.guides\u002F5.kraft-lite",{"title":778,"path":779,"stem":780,"children":781},"Troubleshooting","\u002Ftroubleshooting","4.troubleshooting",[782,784,788,792,796,800,804,808,812,816,820,824],{"title":540,"path":779,"stem":783},"4.troubleshooting\u002Findex",{"title":785,"path":786,"stem":787},"Failed tasks and fix loops","\u002Ftroubleshooting\u002Ffailed-tasks-and-fix-loops","4.troubleshooting\u002F01.failed-tasks-and-fix-loops",{"title":789,"path":790,"stem":791},"Launch and setup stops","\u002Ftroubleshooting\u002Flaunch-and-setup-stops","4.troubleshooting\u002F02.launch-and-setup-stops",{"title":793,"path":794,"stem":795},"Caps, budgets and waits","\u002Ftroubleshooting\u002Fcaps-budgets-and-waits","4.troubleshooting\u002F03.caps-budgets-and-waits",{"title":797,"path":798,"stem":799},"Forge stops","\u002Ftroubleshooting\u002Fforge-stops","4.troubleshooting\u002F04.forge-stops",{"title":801,"path":802,"stem":803},"Worktree and git stops","\u002Ftroubleshooting\u002Fworktree-and-git-stops","4.troubleshooting\u002F05.worktree-and-git-stops",{"title":805,"path":806,"stem":807},"Sandbox and Kit stops","\u002Ftroubleshooting\u002Fsandbox-and-kit-stops","4.troubleshooting\u002F06.sandbox-and-kit-stops",{"title":809,"path":810,"stem":811},"A kind: os sandbox is refused","\u002Ftroubleshooting\u002Fos-sandbox-refusals","4.troubleshooting\u002F07.os-sandbox-refusals",{"title":813,"path":814,"stem":815},"Doctor failures","\u002Ftroubleshooting\u002Fdoctor-failures","4.troubleshooting\u002F08.doctor-failures",{"title":817,"path":818,"stem":819},"Starting and reaching Kraft","\u002Ftroubleshooting\u002Fstarting-and-reaching-kraft","4.troubleshooting\u002F09.starting-and-reaching-kraft",{"title":821,"path":822,"stem":823},"Add-on problems","\u002Ftroubleshooting\u002Faddon-problems","4.troubleshooting\u002F10.addon-problems",{"title":825,"path":826,"stem":827},"Add-on validation messages","\u002Ftroubleshooting\u002Faddon-validate-messages","4.troubleshooting\u002F11.addon-validate-messages",{"title":829,"path":830,"stem":831,"children":832},"Reference","\u002Freference","5.reference",[833,835,881,915,919,923,1032,1067,1091,1095,1099,1117,1121,1125,1129],{"title":540,"path":830,"stem":834},"5.reference\u002Findex",{"title":836,"path":837,"stem":838,"children":839},"Web UI","\u002Freference\u002Fweb-ui","5.reference\u002F00.web-ui\u002Findex",[840,841,845,849,853,857,861,865,869,873,877],{"title":540,"path":837,"stem":838},{"title":842,"path":843,"stem":844},"Sidebar, search and keyboard","\u002Freference\u002Fweb-ui\u002Fsidebar-search-and-keyboard","5.reference\u002F00.web-ui\u002F0.sidebar-search-and-keyboard",{"title":846,"path":847,"stem":848},"The board","\u002Freference\u002Fweb-ui\u002Fboard","5.reference\u002F00.web-ui\u002F1.board",{"title":850,"path":851,"stem":852},"An item's page","\u002Freference\u002Fweb-ui\u002Fitem-page","5.reference\u002F00.web-ui\u002F2.item-page",{"title":854,"path":855,"stem":856},"Fix loops and test scopes","\u002Freference\u002Fweb-ui\u002Ffix-loops-and-test-scopes","5.reference\u002F00.web-ui\u002F3.fix-loops-and-test-scopes",{"title":858,"path":859,"stem":860},"Config before an item starts","\u002Freference\u002Fweb-ui\u002Fconfig-before-start","5.reference\u002F00.web-ui\u002F4.config-before-start",{"title":862,"path":863,"stem":864},"The review page","\u002Freference\u002Fweb-ui\u002Freview-page","5.reference\u002F00.web-ui\u002F5.review-page",{"title":866,"path":867,"stem":868},"Templates","\u002Freference\u002Fweb-ui\u002Ftemplates","5.reference\u002F00.web-ui\u002F6.templates",{"title":870,"path":871,"stem":872},"Settings","\u002Freference\u002Fweb-ui\u002Fsettings","5.reference\u002F00.web-ui\u002F7.settings",{"title":874,"path":875,"stem":876},"Analytics","\u002Freference\u002Fweb-ui\u002Fanalytics","5.reference\u002F00.web-ui\u002F8.analytics",{"title":878,"path":879,"stem":880},"The board on a phone","\u002Freference\u002Fweb-ui\u002Fon-a-phone","5.reference\u002F00.web-ui\u002F9.on-a-phone",{"title":882,"path":883,"stem":884,"children":885},"CLI","\u002Freference\u002Fcli","5.reference\u002F01.cli\u002Findex",[886,887,891,895,899,903,907,911],{"title":540,"path":883,"stem":884},{"title":888,"path":889,"stem":890},"Item verbs","\u002Freference\u002Fcli\u002Fitem","5.reference\u002F01.cli\u002F2.item",{"title":892,"path":893,"stem":894},"View verbs","\u002Freference\u002Fcli\u002Fview","5.reference\u002F01.cli\u002F3.view",{"title":896,"path":897,"stem":898},"Repo verbs","\u002Freference\u002Fcli\u002Frepo","5.reference\u002F01.cli\u002F4.repo",{"title":900,"path":901,"stem":902},"Server verbs","\u002Freference\u002Fcli\u002Fserver","5.reference\u002F01.cli\u002F5.server",{"title":904,"path":905,"stem":906},"Add-on verbs","\u002Freference\u002Fcli\u002Faddon","5.reference\u002F01.cli\u002F6.addon",{"title":908,"path":909,"stem":910},"Machine verbs","\u002Freference\u002Fcli\u002Fworker","5.reference\u002F01.cli\u002F7.worker",{"title":912,"path":913,"stem":914},"Forge verbs","\u002Freference\u002Fcli\u002Fforge","5.reference\u002F01.cli\u002F8.forge",{"title":916,"path":917,"stem":918},"Console","\u002Freference\u002Fconsole","5.reference\u002F01.console",{"title":920,"path":921,"stem":922},"Work item statuses","\u002Freference\u002Fstatuses","5.reference\u002F02.statuses",{"title":924,"path":925,"stem":926,"children":927},"Configuration","\u002Freference\u002Fconfiguration","5.reference\u002F03.configuration\u002Findex",[928,929,947,951,955,959,963,967,971,1008,1012,1016,1020,1024,1028],{"title":540,"path":925,"stem":926},{"title":930,"path":931,"stem":932,"children":933},"repos.yaml","\u002Freference\u002Fconfiguration\u002Frepos","5.reference\u002F03.configuration\u002F02.repos\u002Findex",[934,935,939,943],{"title":540,"path":931,"stem":932},{"title":936,"path":937,"stem":938},"How connect proposes commands","\u002Freference\u002Fconfiguration\u002Frepos\u002Fconnect-proposals","5.reference\u002F03.configuration\u002F02.repos\u002F1.connect-proposals",{"title":940,"path":941,"stem":942},"detectors.yaml","\u002Freference\u002Fconfiguration\u002Frepos\u002Fdetectors","5.reference\u002F03.configuration\u002F02.repos\u002F2.detectors",{"title":944,"path":945,"stem":946},"Workspaces","\u002Freference\u002Fconfiguration\u002Frepos\u002Fworkspaces","5.reference\u002F03.configuration\u002F02.repos\u002F3.workspaces",{"title":948,"path":949,"stem":950},"policy.yaml","\u002Freference\u002Fconfiguration\u002Fpolicy","5.reference\u002F03.configuration\u002F03.policy",{"title":952,"path":953,"stem":954},"Library and chains","\u002Freference\u002Fconfiguration\u002Flibrary-and-chains","5.reference\u002F03.configuration\u002F04.library-and-chains",{"title":956,"path":957,"stem":958},"access.yaml","\u002Freference\u002Fconfiguration\u002Faccess","5.reference\u002F03.configuration\u002F06.access",{"title":960,"path":961,"stem":962},"intake.yaml","\u002Freference\u002Fconfiguration\u002Fintake","5.reference\u002F03.configuration\u002F07.intake",{"title":964,"path":965,"stem":966},"notify.yaml","\u002Freference\u002Fconfiguration\u002Fnotify","5.reference\u002F03.configuration\u002F08.notify",{"title":968,"path":969,"stem":970},"theme.yaml","\u002Freference\u002Fconfiguration\u002Ftheme","5.reference\u002F03.configuration\u002F09.theme",{"title":972,"path":337,"stem":973,"children":974},"Sandboxed workers","5.reference\u002F03.configuration\u002F10.sandbox\u002Findex",[975,976,980,984,988,992,996,1000,1004],{"title":540,"path":337,"stem":973},{"title":977,"path":978,"stem":979},"Resource limits","\u002Freference\u002Fconfiguration\u002Fsandbox\u002Fresource-limits","5.reference\u002F03.configuration\u002F10.sandbox\u002F1.resource-limits",{"title":981,"path":982,"stem":983},"Callbacks from a sandbox","\u002Freference\u002Fconfiguration\u002Fsandbox\u002Fcallbacks","5.reference\u002F03.configuration\u002F10.sandbox\u002F2.callbacks",{"title":985,"path":986,"stem":987},"Network policy","\u002Freference\u002Fconfiguration\u002Fsandbox\u002Fnetwork-policy","5.reference\u002F03.configuration\u002F10.sandbox\u002F3.network-policy",{"title":989,"path":990,"stem":991},"Credentials","\u002Freference\u002Fconfiguration\u002Fsandbox\u002Fcredentials","5.reference\u002F03.configuration\u002F10.sandbox\u002F4.credentials",{"title":993,"path":994,"stem":995},"Kits","\u002Freference\u002Fconfiguration\u002Fsandbox\u002Fkits","5.reference\u002F03.configuration\u002F10.sandbox\u002F5.kits",{"title":997,"path":998,"stem":999},"sandbox.yaml","\u002Freference\u002Fconfiguration\u002Fsandbox\u002Fsandbox-yaml","5.reference\u002F03.configuration\u002F10.sandbox\u002F6.sandbox-yaml",{"title":1001,"path":1002,"stem":1003},"Git in a sandbox","\u002Freference\u002Fconfiguration\u002Fsandbox\u002Fgit-in-a-sandbox","5.reference\u002F03.configuration\u002F10.sandbox\u002F7.git-in-a-sandbox",{"title":1005,"path":1006,"stem":1007},"The OS sandbox","\u002Freference\u002Fconfiguration\u002Fsandbox\u002Fos-sandbox","5.reference\u002F03.configuration\u002F10.sandbox\u002F8.os-sandbox",{"title":1009,"path":1010,"stem":1011},"Environment variables","\u002Freference\u002Fconfiguration\u002Fenvironment-variables","5.reference\u002F03.configuration\u002F11.environment-variables",{"title":1013,"path":1014,"stem":1015},"Add-ons and collections","\u002Freference\u002Fconfiguration\u002Faddons","5.reference\u002F03.configuration\u002F12.addons",{"title":1017,"path":1018,"stem":1019},"Repo libraries","\u002Freference\u002Fconfiguration\u002Frepo-libraries","5.reference\u002F03.configuration\u002F13.repo-libraries",{"title":1021,"path":1022,"stem":1023},"update.yaml","\u002Freference\u002Fconfiguration\u002Fupdate","5.reference\u002F03.configuration\u002F14.update",{"title":1025,"path":1026,"stem":1027},"workers.yaml","\u002Freference\u002Fconfiguration\u002Fworkers","5.reference\u002F03.configuration\u002F15.workers",{"title":1029,"path":1030,"stem":1031},"forges.yaml","\u002Freference\u002Fconfiguration\u002Fforges","5.reference\u002F03.configuration\u002F16.forges",{"title":1033,"path":1034,"stem":1035,"children":1036},"Chain file keys","\u002Freference\u002Fchain-nodes","5.reference\u002F04.chain-nodes\u002Findex",[1037,1038,1042,1046,1050,1054,1058,1062,1065,1066],{"title":540,"path":1034,"stem":1035},{"title":1039,"path":1040,"stem":1041},"The shipped chains","\u002Freference\u002Fchain-nodes\u002Fshipped-chains","5.reference\u002F04.chain-nodes\u002F1.shipped-chains",{"title":1043,"path":1044,"stem":1045},"Subprocess tasks","\u002Freference\u002Fchain-nodes\u002Fsubprocess-tasks","5.reference\u002F04.chain-nodes\u002F2.subprocess-tasks",{"title":1047,"path":1048,"stem":1049},"Fix loop and judge","\u002Freference\u002Fchain-nodes\u002Ffix-loop","5.reference\u002F04.chain-nodes\u002F3.fix-loop",{"title":1051,"path":1052,"stem":1053},"Result file","\u002Freference\u002Fchain-nodes\u002Fresult-file","5.reference\u002F04.chain-nodes\u002F4.result-file",{"title":1055,"path":1056,"stem":1057},"Merge queue and train drops","\u002Freference\u002Fchain-nodes\u002Fmerge-queue-drops","5.reference\u002F04.chain-nodes\u002F5.merge-queue-drops",{"title":1059,"path":1060,"stem":1061},"What the final review approves","\u002Freference\u002Fchain-nodes\u002Ffinal-review-approval","5.reference\u002F04.chain-nodes\u002F6.final-review-approval",{"title":1063,"path":446,"stem":1064},"Waiting for a pipeline by ID","5.reference\u002F04.chain-nodes\u002F7.wait-for-a-pipeline",{"title":535,"path":536,"stem":537},{"title":5,"path":529,"stem":531},{"title":1068,"path":541,"stem":542,"children":1069},"Agent harnesses",[1070,1071,1075,1079,1083,1087],{"title":540,"path":541,"stem":542},{"title":1072,"path":1073,"stem":1074},"Unattended runs","\u002Freference\u002Fharnesses\u002Funattended-runs","5.reference\u002F05.harnesses\u002F2.unattended-runs",{"title":1076,"path":1077,"stem":1078},"Agent profiles","\u002Freference\u002Fharnesses\u002Fagent-profiles","5.reference\u002F05.harnesses\u002F3.agent-profiles",{"title":1080,"path":1081,"stem":1082},"Harness definition files and harness profiles","\u002Freference\u002Fharnesses\u002Fharness-files","5.reference\u002F05.harnesses\u002F4.harness-files",{"title":1084,"path":1085,"stem":1086},"Fallback and escalation","\u002Freference\u002Fharnesses\u002Ffallback-and-escalation","5.reference\u002F05.harnesses\u002F5.fallback-and-escalation",{"title":1088,"path":1089,"stem":1090},"Cost reporting","\u002Freference\u002Fharnesses\u002Fcost-reporting","5.reference\u002F05.harnesses\u002F6.cost-reporting",{"title":1092,"path":1093,"stem":1094},"Permission gate","\u002Freference\u002Fpermissions","5.reference\u002F06.permissions",{"title":1096,"path":1097,"stem":1098},"Inbound triggers","\u002Freference\u002Ftriggers","5.reference\u002F07.triggers",{"title":1100,"path":1101,"stem":1102,"children":1103},"HTTP API","\u002Freference\u002Fhttp-api","5.reference\u002F08.http-api\u002Findex",[1104,1105,1109,1113],{"title":540,"path":1101,"stem":1102},{"title":1106,"path":1107,"stem":1108},"Filing, reading and deciding work items","\u002Freference\u002Fhttp-api\u002Fwork-items","5.reference\u002F08.http-api\u002F2.work-items",{"title":1110,"path":1111,"stem":1112},"The work item object","\u002Freference\u002Fhttp-api\u002Fwork-item-object","5.reference\u002F08.http-api\u002F4.work-item-object",{"title":1114,"path":1115,"stem":1116},"Connecting a repo","\u002Freference\u002Fhttp-api\u002Fconnect-a-repo","5.reference\u002F08.http-api\u002F5.connect-a-repo",{"title":1118,"path":1119,"stem":1120},"MCP tools","\u002Freference\u002Fmcp-tools","5.reference\u002F09.mcp-tools",{"title":1122,"path":1123,"stem":1124},"Events","\u002Freference\u002Fevents","5.reference\u002F10.events",{"title":1126,"path":1127,"stem":1128},"VS Code extension","\u002Freference\u002Fvscode-extension","5.reference\u002F11.vscode-extension",{"title":1130,"path":1131,"stem":1132},"Kraft Lite reference","\u002Freference\u002Fkraft-lite","5.reference\u002F12.kraft-lite",{"title":1134,"path":1135,"stem":1136,"children":1137},"Project","\u002Fproject","6.project",[1138,1140,1144,1148,1152,1156,1160,1164,1168,1172],{"title":540,"path":1135,"stem":1139},"6.project\u002Findex",{"title":1141,"path":1142,"stem":1143},"Security","\u002Fproject\u002Fsecurity","6.project\u002F1.security",{"title":1145,"path":1146,"stem":1147},"Security in depth","\u002Fproject\u002Fsecurity-in-depth","6.project\u002F1.security-in-depth",{"title":1149,"path":1150,"stem":1151},"Data and privacy","\u002Fproject\u002Fdata-and-privacy","6.project\u002F2.data-and-privacy",{"title":1153,"path":1154,"stem":1155},"Unreleased","\u002Fproject\u002Funreleased","6.project\u002F3.unreleased",{"title":1157,"path":1158,"stem":1159},"What's new","\u002Fproject\u002Fwhats-new","6.project\u002F3.whats-new",{"title":1161,"path":1162,"stem":1163},"Status and support","\u002Fproject\u002Fstatus-and-support","6.project\u002F4.status-and-support",{"title":1165,"path":1166,"stem":1167},"Architecture","\u002Fproject\u002Farchitecture","6.project\u002F5.architecture",{"title":1169,"path":1170,"stem":1171},"Source map","\u002Fproject\u002Fsource-map","6.project\u002F6.source-map",{"title":1173,"path":1174,"stem":1175},"Contributing","\u002Fproject\u002Fcontributing","6.project\u002F7.contributing",1796240518863,"0565eaa1-20e2-4e9c-b830-6822a3524be2"]