[{"data":1,"prerenderedAt":1456,"buildId":1457},["ShallowReactive",2],{"-reference-configuration-workers":3,"-reference-configuration-workers-surround":818,"navigation_docs":829},{"id":4,"title":5,"body":6,"description":809,"extension":810,"links":811,"meta":812,"navigation":813,"path":814,"seo":815,"stem":816,"__hash__":817},"docs\u002F5.reference\u002F03.configuration\u002F15.workers.md","workers.yaml",{"type":7,"value":8,"toc":801},"minimark",[9,16,30,236,246,444,451,469,474,489,492,513,517,524,582,586,600,696,700,710,713,720,724,797],[10,11,12],"p",{},[13,14,15],"em",{},"Added in 2.4",[10,17,18,21,22,25,26,29],{},[19,20,5],"code",{}," lists the machines Kraft may run steps on. A machine is another computer with the agent CLIs installed and ",[19,23,24],{},"kraft"," on its ",[19,27,28],{},"PATH",". A connected machine runs the steps that work items place on it.",[31,32,38],"pre",{"className":33,"code":34,"filename":35,"language":36,"meta":37,"style":37},"language-yaml shiki shiki-themes github-light-high-contrast github-light-high-contrast github-dark-high-contrast","workers:\n  gpu-box:\n    ssh: gpu-box              # ssh mode: a host or an ~\u002F.ssh\u002Fconfig alias\n    capacity: 2               # sessions at once, at most; unset: the machine's own limit, else 1\n    repos: [kraft, infra]     # optional; left out means every connected repo\n    give_up_after: 2h         # default 2h; \"never\" turns the limit off\n    groups: [gpu, linux]      # optional; the groups a step's runner can name\n    enabled: true             # default true; false: running steps finish, nothing new starts\n  home-server:\n    token_sha256: \"9f86d081884c7d659a2feaa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a08\"\nlocal:\n  capacity: 3                 # sessions this machine's own worker runs at once; unset: no limit\n  groups: [linux]             # optional; the local worker joins groups too\n  enabled: true               # default true; false: local steps wait\n","config\u002Fworkers.yaml","yaml","",[19,39,40,53,61,78,93,116,130,152,166,174,185,193,207,223],{"__ignoreMap":37},[41,42,45,49],"span",{"class":43,"line":44},"line",1,[41,46,48],{"class":47},"sb7M8","workers",[41,50,52],{"class":51},"s7iLA",":\n",[41,54,56,59],{"class":43,"line":55},2,[41,57,58],{"class":47},"  gpu-box",[41,60,52],{"class":51},[41,62,64,67,70,74],{"class":43,"line":63},3,[41,65,66],{"class":47},"    ssh",[41,68,69],{"class":51},": ",[41,71,73],{"class":72},"semJd","gpu-box",[41,75,77],{"class":76},"sq92B","              # ssh mode: a host or an ~\u002F.ssh\u002Fconfig alias\n",[41,79,81,84,86,90],{"class":43,"line":80},4,[41,82,83],{"class":47},"    capacity",[41,85,69],{"class":51},[41,87,89],{"class":88},"ssYy9","2",[41,91,92],{"class":76},"               # sessions at once, at most; unset: the machine's own limit, else 1\n",[41,94,96,99,102,104,107,110,113],{"class":43,"line":95},5,[41,97,98],{"class":47},"    repos",[41,100,101],{"class":51},": [",[41,103,24],{"class":72},[41,105,106],{"class":51},", ",[41,108,109],{"class":72},"infra",[41,111,112],{"class":51},"]     ",[41,114,115],{"class":76},"# optional; left out means every connected repo\n",[41,117,119,122,124,127],{"class":43,"line":118},6,[41,120,121],{"class":47},"    give_up_after",[41,123,69],{"class":51},[41,125,126],{"class":72},"2h",[41,128,129],{"class":76},"         # default 2h; \"never\" turns the limit off\n",[41,131,133,136,138,141,143,146,149],{"class":43,"line":132},7,[41,134,135],{"class":47},"    groups",[41,137,101],{"class":51},[41,139,140],{"class":72},"gpu",[41,142,106],{"class":51},[41,144,145],{"class":72},"linux",[41,147,148],{"class":51},"]      ",[41,150,151],{"class":76},"# optional; the groups a step's runner can name\n",[41,153,155,158,160,163],{"class":43,"line":154},8,[41,156,157],{"class":47},"    enabled",[41,159,69],{"class":51},[41,161,162],{"class":88},"true",[41,164,165],{"class":76},"             # default true; false: running steps finish, nothing new starts\n",[41,167,169,172],{"class":43,"line":168},9,[41,170,171],{"class":47},"  home-server",[41,173,52],{"class":51},[41,175,177,180,182],{"class":43,"line":176},10,[41,178,179],{"class":47},"    token_sha256",[41,181,69],{"class":51},[41,183,184],{"class":72},"\"9f86d081884c7d659a2feaa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a08\"\n",[41,186,188,191],{"class":43,"line":187},11,[41,189,190],{"class":47},"local",[41,192,52],{"class":51},[41,194,196,199,201,204],{"class":43,"line":195},12,[41,197,198],{"class":47},"  capacity",[41,200,69],{"class":51},[41,202,203],{"class":88},"3",[41,205,206],{"class":76},"                 # sessions this machine's own worker runs at once; unset: no limit\n",[41,208,210,213,215,217,220],{"class":43,"line":209},13,[41,211,212],{"class":47},"  groups",[41,214,101],{"class":51},[41,216,145],{"class":72},[41,218,219],{"class":51},"]             ",[41,221,222],{"class":76},"# optional; the local worker joins groups too\n",[41,224,226,229,231,233],{"class":43,"line":225},14,[41,227,228],{"class":47},"  enabled",[41,230,69],{"class":51},[41,232,162],{"class":88},[41,234,235],{"class":76},"               # default true; false: local steps wait\n",[10,237,238,241,242,245],{},[19,239,240],{},"kraft admin worker add"," and ",[19,243,244],{},"edit"," write this file for you. The file doesn't exist until the first machine is added.",[247,248,249,268],"table",{},[250,251,252],"thead",{},[253,254,255,259,262,265],"tr",{},[256,257,258],"th",{},"Field",[256,260,261],{},"Type",[256,263,264],{},"Default",[256,266,267],{},"Meaning",[269,270,271,292,310,331,351,374,409],"tbody",{},[253,272,273,279,282,285],{},[274,275,276],"td",{},[19,277,278],{},"ssh",[274,280,281],{},"string",[274,283,284],{},"unset",[274,286,287,288,291],{},"Ssh mode. A host, ",[19,289,290],{},"user@host"," or an ssh config alias that Kraft's server dials.",[253,293,294,299,301,303],{},[274,295,296],{},[19,297,298],{},"token_sha256",[274,300,281],{},[274,302,284],{},[274,304,305,306,309],{},"Dial-in mode. The SHA-256 of the machine's token, as 64 lowercase hex characters. ",[19,307,308],{},"worker add"," writes it; the token itself is never stored.",[253,311,312,317,320,322],{},[274,313,314],{},[19,315,316],{},"capacity",[274,318,319],{},"integer, 1 or more",[274,321,284],{},[274,323,324,325,330],{},"How many sessions the machine may run at once. The machine's own limit applies too: the lower of the two is used, and one that is unset takes the other. Both unset is 1. See ",[326,327,329],"a",{"href":328},"\u002Fconcepts\u002Fhow-workers-and-machines-behave#the-machines-own-limit","The machine's own limit",".",[253,332,333,338,341,344],{},[274,334,335],{},[19,336,337],{},"repos",[274,339,340],{},"list of names",[274,342,343],{},"every connected repo",[274,345,346,347,330],{},"Limits the machine to these repos. See ",[326,348,350],{"href":349},"#naming-a-repo","Naming a repo",[253,352,353,358,360,363],{},[274,354,355],{},[19,356,357],{},"groups",[274,359,340],{},[274,361,362],{},"none",[274,364,365,366,369,370,330],{},"The groups the machine is in. A step's ",[19,367,368],{},"runner:"," can name a group. See ",[326,371,373],{"href":372},"\u002Fconcepts\u002Fhow-workers-and-machines-behave#groups","Groups",[253,375,376,381,398,402],{},[274,377,378],{},[19,379,380],{},"give_up_after",[274,382,383,106,386,106,389,106,391,394,395],{},[19,384,385],{},"30s",[19,387,388],{},"90m",[19,390,126],{},[19,392,393],{},"1d"," or ",[19,396,397],{},"never",[274,399,400],{},[19,401,126],{},[274,403,404,405,330],{},"How long a step waits for the other side before it is given up, on the server and on the machine. See ",[326,406,408],{"href":407},"\u002Fconcepts\u002Fhow-workers-and-machines-behave#when-the-server-is-gone","When the server is gone",[253,410,411,416,423,427],{},[274,412,413],{},[19,414,415],{},"enabled",[274,417,418,394,420],{},[19,419,162],{},[19,421,422],{},"false",[274,424,425],{},[19,426,162],{},[274,428,429,431,432,435,436,439,440,330],{},[19,430,422],{}," stops new steps starting on the machine: the ones running finish, a step that names it waits ",[19,433,434],{},"waiting for NAME (disabled)",", and a group or ",[19,437,438],{},"any"," skips it. See ",[326,441,443],{"href":442},"\u002Fconcepts\u002Fhow-workers-and-machines-behave#disabling-a-machine","Disabling a machine",[10,445,446,447,241,449,330],{},"Each machine sets exactly one of ",[19,448,278],{},[19,450,298],{},[10,452,453,454,457,458,69,462,106,464,241,466,468],{},"The top-level ",[19,455,456],{},"local:"," key isn't a machine. It holds the settings of the ",[326,459,461],{"href":460},"\u002Fconcepts\u002Fhow-workers-and-machines-behave#the-local-worker","local worker",[19,463,316],{},[19,465,357],{},[19,467,415],{},". Adding, editing or removing a machine keeps it.",[470,471,473],"h2",{"id":472},"names","Names",[10,475,476,477,394,480,483,484,241,486,488],{},"A machine's name is 1 to 39 lowercase letters, digits, ",[19,478,479],{},"-",[19,481,482],{},"_",", starting with a letter or digit. A group's name follows the same rule. Machines and groups share one namespace: a group named like a machine, or a machine like a group, is refused. ",[19,485,190],{},[19,487,438],{}," are refused for both: they are placement words.",[470,490,350],{"id":491},"naming-a-repo",[10,493,494,495,497,498,501,502,505,506,509,510,512],{},"An entry in ",[19,496,337],{}," matches a connected repo by its ",[19,499,500],{},"id",", its ",[19,503,504],{},"name",", or the last part of its ",[19,507,508],{},"path",". A name that matches no connected repo is refused when you save the file in Settings or add the machine with ",[19,511,308],{},". A hand edit that names one is shown as a problem on the pending reload.",[470,514,516],{"id":515},"two-ways-to-connect","Two ways to connect",[10,518,519,520,330],{},"What each mode needs of the value; how a connection runs is in ",[326,521,523],{"href":522},"\u002Fconcepts\u002Fhow-workers-and-machines-behave#connecting-a-machine","Connecting a machine",[525,526,527,555],"ul",{},[528,529,530,534,535,537,538,541,542,545,546,550,551,554],"li",{},[531,532,533],"strong",{},"Dial-in"," (",[19,536,298],{},"): the default, what ",[19,539,540],{},"kraft admin worker add NAME"," with no ",[19,543,544],{},"--ssh"," registers. It prints the token once. The server must be reachable from the machine, bound beyond loopback with a password, as in ",[326,547,549],{"href":548},"\u002Fguides\u002Frun\u002Fremote-access","Remote access",". ",[19,552,553],{},"rotate-token NAME"," ends the machine's connection and invalidates the old token at once; an ssh machine has no token to rotate.",[528,556,557,534,560,562,563,241,565,568,569,572,573,575,576,550,578,581],{},[531,558,559],{},"Ssh",[19,561,278],{},"): the server's own ",[19,564,278],{},[19,566,567],{},"~\u002F.ssh\u002Fconfig"," dial the machine, with ",[19,570,571],{},"BatchMode=yes",", so the connection never asks for a password. ",[19,574,24],{}," must be on the remote machine's non-interactive ",[19,577,28],{},[19,579,580],{},"kraft admin worker add NAME --ssh HOST"," connects once and exits 1 on a failed connect, but keeps the machine saved.",[470,583,585],{"id":584},"offline-reasons","Offline reasons",[10,587,588,591,592,595,596,599],{},[19,589,590],{},"kraft admin worker list"," shows ",[19,593,594],{},"offline:"," and the reason, and ",[19,597,598],{},"kraft admin doctor"," shows each offline machine as a warning with the same reason.",[247,601,602,612],{},[250,603,604],{},[253,605,606,609],{},[256,607,608],{},"Reason",[256,610,611],{},"What it means",[269,613,614,624,634,644,654,664,683],{},[253,615,616,621],{},[274,617,618],{},[19,619,620],{},"never connected",[274,622,623],{},"Nothing has dialled in, or the server hasn't connected yet since it started.",[253,625,626,631],{},[274,627,628],{},[19,629,630],{},"refused: invalid token",[274,632,633],{},"The token doesn't belong to any machine. It was removed, rotated or mistyped.",[253,635,636,641],{},[274,637,638],{},[19,639,640],{},"refused: update kraft on this machine to X.y: ...",[274,642,643],{},"The machine runs another major version of Kraft than the server. Update Kraft on the machine.",[253,645,646,651],{},[274,647,648],{},[19,649,650],{},"refused: incompatible protocol: ...",[274,652,653],{},"The machine and the server speak different protocol versions. The reason names both, with each side's Kraft version. Update the older one.",[253,655,656,661],{},[274,657,658],{},[19,659,660],{},"disconnected: ...",[274,662,663],{},"The connection ended, or the other side was silent for 60 seconds.",[253,665,666,671],{},[274,667,668],{},[19,669,670],{},"ssh: ...",[274,672,673,674,676,677,679,680,330],{},"The server's ",[19,675,278],{}," ended before the machine answered. The reason is the last of what ",[19,678,278],{}," printed, such as ",[19,681,682],{},"Permission denied (publickey)",[253,684,685,690],{},[274,686,687],{},[19,688,689],{},"could not run ssh: ...",[274,691,692,693,695],{},"The server couldn't start ",[19,694,278],{}," at all.",[470,697,699],{"id":698},"what-a-machine-refuses","What a machine refuses",[10,701,702,703,706,707,709],{},"Kraft refuses, with a 422 when the item is filed or overridden and ",[19,704,705],{},"config_error"," at launch, an item that names a machine or group not in ",[19,708,5],{},", a machine not allowed for its repo, or a group none of whose members could take it; an in-place item; and an item with workspace members, which a single bundle doesn't carry.",[10,711,712],{},"A repo with submodules isn't refused when the item declares no members: its submodules stay uninitialised on the machine as they do on the server, and Kraft refuses the machine's commits when they add or move a submodule pointer.",[10,714,715,716,719],{},"A machine without the agent CLI the step needs, or whose ",[19,717,718],{},"setup_command"," fails, stops the step with the reason in its log.",[470,721,723],{"id":722},"related","Related",[525,725,726,733,764,785,790],{},[528,727,728,732],{},[326,729,731],{"href":730},"\u002Fconcepts\u002Fwhere-a-step-runs","Where a step runs",": how the local worker and machines fit together, and why.",[528,734,735,69,739,106,741,106,743,106,746,106,749,106,752,106,755,106,758,241,761,330],{},[326,736,738],{"href":737},"\u002Freference\u002Fcli\u002Fworker#machines","Machine verbs",[19,740,240],{},[19,742,244],{},[19,744,745],{},"enable",[19,747,748],{},"disable",[19,750,751],{},"rotate-token",[19,753,754],{},"list",[19,756,757],{},"remove",[19,759,760],{},"serve",[19,762,763],{},"check",[528,765,766,69,770,106,773,106,776,106,779,241,782,330],{},[326,767,769],{"href":768},"\u002Freference\u002Fmcp-tools#machines","MCP tools",[19,771,772],{},"add_worker",[19,774,775],{},"edit_worker",[19,777,778],{},"rotate_worker_token",[19,780,781],{},"list_workers",[19,783,784],{},"remove_worker",[528,786,787,789],{},[326,788,549],{"href":548},": binding the server beyond loopback.",[528,791,792,796],{},[326,793,795],{"href":794},"\u002Freference\u002Fconfiguration","Configuration",": the other files in the config directory.",[798,799,800],"style",{},"html pre.shiki code .sb7M8, html code.shiki .sb7M8{--shiki-light:#024C1A;--shiki-default:#024C1A;--shiki-dark:#72F088}html pre.shiki code .s7iLA, html code.shiki .s7iLA{--shiki-light:#0E1116;--shiki-default:#0E1116;--shiki-dark:#F0F3F6}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 pre.shiki code .ssYy9, html code.shiki .ssYy9{--shiki-light:#023B95;--shiki-default:#023B95;--shiki-dark:#91CBFF}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":55,"depth":55,"links":802},[803,804,805,806,807,808],{"id":472,"depth":55,"text":473},{"id":491,"depth":55,"text":350},{"id":515,"depth":55,"text":516},{"id":584,"depth":55,"text":585},{"id":698,"depth":55,"text":699},{"id":722,"depth":55,"text":723},"Every field in workers.yaml: the machines that may run work item steps, their two ways of connecting, the name rules, and how a connection is kept, refused and shown.","md",null,{},true,"\u002Freference\u002Fconfiguration\u002Fworkers",{"title":5,"description":809},"5.reference\u002F03.configuration\u002F15.workers","DbgyWTnKCR6tz4ZKzJ9glURyfHY7g5C3iYVmW0wSWQU",[819,824],{"title":820,"path":821,"stem":822,"description":823},"update.yaml","\u002Freference\u002Fconfiguration\u002Fupdate","5.reference\u002F03.configuration\u002F14.update","Every field in update.yaml: automatic updates, restarting when Kraft is free, the release channel and the hours Kraft may update in.",{"title":825,"path":826,"stem":827,"description":828},"forges.yaml","\u002Freference\u002Fconfiguration\u002Fforges","5.reference\u002F03.configuration\u002F16.forges","Every field in forges.yaml: the named forge accounts, how a repo picks one, the token sources and the address rules.",[830,854,891,1060,1111,1413],{"title":831,"path":832,"stem":833,"children":834},"Get started","\u002Fget-started","1.get-started",[835,838,842,846,850],{"title":836,"path":832,"stem":837},"Overview","1.get-started\u002Findex",{"title":839,"path":840,"stem":841},"Install","\u002Fget-started\u002Finstall","1.get-started\u002F1.install",{"title":843,"path":844,"stem":845},"Your first work item","\u002Fget-started\u002Ffirst-work-item","1.get-started\u002F2.first-work-item",{"title":847,"path":848,"stem":849},"The real chain","\u002Fget-started\u002Fthe-real-chain","1.get-started\u002F3.the-real-chain",{"title":851,"path":852,"stem":853},"FAQ","\u002Fget-started\u002Ffaq","1.get-started\u002F4.faq",{"title":855,"path":856,"stem":857,"children":858},"Concepts","\u002Fconcepts","2.concepts",[859,861,865,869,873,877,879,883,887],{"title":836,"path":856,"stem":860},"2.concepts\u002Findex",{"title":862,"path":863,"stem":864},"How a work item runs","\u002Fconcepts\u002Fhow-a-work-item-runs","2.concepts\u002F1.how-a-work-item-runs",{"title":866,"path":867,"stem":868},"Caps and budgets","\u002Fconcepts\u002Fcaps-and-budgets","2.concepts\u002F2.caps-and-budgets",{"title":870,"path":871,"stem":872},"Why a permission gate","\u002Fconcepts\u002Fpermission-gate","2.concepts\u002F3.permission-gate",{"title":874,"path":875,"stem":876},"Vocabulary","\u002Fconcepts\u002Fvocabulary","2.concepts\u002F4.vocabulary",{"title":731,"path":730,"stem":878},"2.concepts\u002F5.where-a-step-runs",{"title":880,"path":881,"stem":882},"How review and CI waits settle","\u002Fconcepts\u002Fhow-review-and-ci-waits-settle","2.concepts\u002F6.how-review-and-ci-waits-settle",{"title":884,"path":885,"stem":886},"How test scopes run","\u002Fconcepts\u002Fhow-test-scopes-run","2.concepts\u002F7.how-test-scopes-run",{"title":888,"path":889,"stem":890},"How workers and machines behave","\u002Fconcepts\u002Fhow-workers-and-machines-behave","2.concepts\u002F8.how-workers-and-machines-behave",{"title":892,"path":893,"stem":894,"children":895},"Guides","\u002Fguides","3.guides",[896,898,948,974,996,1056],{"title":836,"path":893,"stem":897},"3.guides\u002Findex",{"title":899,"path":900,"stem":901,"children":902},"Day to day","\u002Fguides\u002Fday-to-day","3.guides\u002F1.day-to-day\u002Findex",[903,904,908,912,916,920,924,928,932,936,940,944],{"title":836,"path":900,"stem":901},{"title":905,"path":906,"stem":907},"Split work into slices","\u002Fguides\u002Fday-to-day\u002Fsplit-work-into-slices","3.guides\u002F1.day-to-day\u002F01.split-work-into-slices",{"title":909,"path":910,"stem":911},"The setup wizard on first start","\u002Fguides\u002Fday-to-day\u002Ffirst-run","3.guides\u002F1.day-to-day\u002F02.first-run",{"title":913,"path":914,"stem":915},"File a work item","\u002Fguides\u002Fday-to-day\u002Ffile-a-work-item","3.guides\u002F1.day-to-day\u002F03.file-a-work-item",{"title":917,"path":918,"stem":919},"Use Kraft from your agent","\u002Fguides\u002Fday-to-day\u002Fagent-integration","3.guides\u002F1.day-to-day\u002F04.agent-integration",{"title":921,"path":922,"stem":923},"Reviewing a change","\u002Fguides\u002Fday-to-day\u002Freview-a-change","3.guides\u002F1.day-to-day\u002F05.review-a-change",{"title":925,"path":926,"stem":927},"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":929,"path":930,"stem":931},"Kraft for VS Code","\u002Fguides\u002Fday-to-day\u002Fvscode","3.guides\u002F1.day-to-day\u002F07.vscode",{"title":933,"path":934,"stem":935},"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":937,"path":938,"stem":939},"Get notified when an item needs you","\u002Fguides\u002Fday-to-day\u002Fnotifications","3.guides\u002F1.day-to-day\u002F09.notifications",{"title":941,"path":942,"stem":943},"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":945,"path":946,"stem":947},"Use Kraft from Herdr","\u002Fguides\u002Fday-to-day\u002Fherdr","3.guides\u002F1.day-to-day\u002F11.herdr",{"title":949,"path":950,"stem":951,"children":952},"Customize and automate","\u002Fguides\u002Fcustomize","3.guides\u002F2.customize\u002Findex",[953,954,958,962,966,970],{"title":836,"path":950,"stem":951},{"title":955,"path":956,"stem":957},"Write your own chain","\u002Fguides\u002Fcustomize\u002Fwrite-your-own-chain","3.guides\u002F2.customize\u002F1.write-your-own-chain",{"title":959,"path":960,"stem":961},"Add a security review or a gate reviewer","\u002Fguides\u002Fcustomize\u002Fadd-review-agents","3.guides\u002F2.customize\u002F2.add-review-agents",{"title":963,"path":964,"stem":965},"Schedule or webhook work","\u002Fguides\u002Fcustomize\u002Fschedule-and-webhook-work","3.guides\u002F2.customize\u002F3.schedule-and-webhook-work",{"title":967,"path":968,"stem":969},"Share chains with add-ons","\u002Fguides\u002Fcustomize\u002Fshare-chains-with-addons","3.guides\u002F2.customize\u002F4.share-chains-with-addons",{"title":971,"path":972,"stem":973},"Publish an add-on","\u002Fguides\u002Fcustomize\u002Fpublish-an-add-on","3.guides\u002F2.customize\u002F5.publish-an-add-on",{"title":975,"path":976,"stem":977,"children":978},"Agents and harnesses","\u002Fguides\u002Fharnesses","3.guides\u002F3.harnesses\u002Findex",[979,980,984,988,992],{"title":836,"path":976,"stem":977},{"title":981,"path":982,"stem":983},"Switch a task to another harness","\u002Fguides\u002Fharnesses\u002Fswitch-harness","3.guides\u002F3.harnesses\u002F1.switch-harness",{"title":985,"path":986,"stem":987},"Add or override a harness","\u002Fguides\u002Fharnesses\u002Fadding-a-harness","3.guides\u002F3.harnesses\u002F2.adding-a-harness",{"title":989,"path":990,"stem":991},"Build a worker Kit","\u002Fguides\u002Fharnesses\u002Fworker-kit","3.guides\u002F3.harnesses\u002F3.worker-kit",{"title":993,"path":994,"stem":995},"Give a worker its login","\u002Fguides\u002Fharnesses\u002Fgive-a-worker-its-login","3.guides\u002F3.harnesses\u002F4.give-a-worker-its-login",{"title":997,"path":998,"stem":999,"children":1000},"Run the server","\u002Fguides\u002Frun","3.guides\u002F4.run\u002Findex",[1001,1002,1004,1008,1012,1016,1020,1024,1028,1032,1036,1040,1044,1048,1052],{"title":836,"path":998,"stem":999},{"title":549,"path":548,"stem":1003},"3.guides\u002F4.run\u002F01.remote-access",{"title":1005,"path":1006,"stem":1007},"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":1009,"path":1010,"stem":1011},"Restart Kraft without ending running steps","\u002Fguides\u002Frun\u002Frestart-kraft","3.guides\u002F4.run\u002F03.restart-kraft",{"title":1013,"path":1014,"stem":1015},"Back up and restore the database","\u002Fguides\u002Frun\u002Fback-up-and-restore","3.guides\u002F4.run\u002F04.back-up-and-restore",{"title":1017,"path":1018,"stem":1019},"Find the logs","\u002Fguides\u002Frun\u002Ffind-the-logs","3.guides\u002F4.run\u002F05.find-the-logs",{"title":1021,"path":1022,"stem":1023},"Run Kraft as a service","\u002Fguides\u002Frun\u002Frun-as-a-service","3.guides\u002F4.run\u002F06.run-as-a-service",{"title":1025,"path":1026,"stem":1027},"Upgrade Kraft","\u002Fguides\u002Frun\u002Fupgrade-kraft","3.guides\u002F4.run\u002F07.upgrade-kraft",{"title":1029,"path":1030,"stem":1031},"Move onto kraft-default","\u002Fguides\u002Frun\u002Fupgrade-your-configuration","3.guides\u002F4.run\u002F08.upgrade-your-configuration",{"title":1033,"path":1034,"stem":1035},"Coming from 1.4","\u002Fguides\u002Frun\u002Fcoming-from-1-4","3.guides\u002F4.run\u002F09.coming-from-1-4",{"title":1037,"path":1038,"stem":1039},"Free disk space","\u002Fguides\u002Frun\u002Ffree-disk-space","3.guides\u002F4.run\u002F10.free-disk-space",{"title":1041,"path":1042,"stem":1043},"Rotate the token","\u002Fguides\u002Frun\u002Frotate-the-token","3.guides\u002F4.run\u002F11.rotate-the-token",{"title":1045,"path":1046,"stem":1047},"Run items in your own checkout","\u002Fguides\u002Frun\u002Frun-items-in-place","3.guides\u002F4.run\u002F12.run-items-in-place",{"title":1049,"path":1050,"stem":1051},"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":1053,"path":1054,"stem":1055},"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":1057,"path":1058,"stem":1059},"Kraft Lite","\u002Fguides\u002Fkraft-lite","3.guides\u002F5.kraft-lite",{"title":1061,"path":1062,"stem":1063,"children":1064},"Troubleshooting","\u002Ftroubleshooting","4.troubleshooting",[1065,1067,1071,1075,1079,1083,1087,1091,1095,1099,1103,1107],{"title":836,"path":1062,"stem":1066},"4.troubleshooting\u002Findex",{"title":1068,"path":1069,"stem":1070},"Failed tasks and fix loops","\u002Ftroubleshooting\u002Ffailed-tasks-and-fix-loops","4.troubleshooting\u002F01.failed-tasks-and-fix-loops",{"title":1072,"path":1073,"stem":1074},"Launch and setup stops","\u002Ftroubleshooting\u002Flaunch-and-setup-stops","4.troubleshooting\u002F02.launch-and-setup-stops",{"title":1076,"path":1077,"stem":1078},"Caps, budgets and waits","\u002Ftroubleshooting\u002Fcaps-budgets-and-waits","4.troubleshooting\u002F03.caps-budgets-and-waits",{"title":1080,"path":1081,"stem":1082},"Forge stops","\u002Ftroubleshooting\u002Fforge-stops","4.troubleshooting\u002F04.forge-stops",{"title":1084,"path":1085,"stem":1086},"Worktree and git stops","\u002Ftroubleshooting\u002Fworktree-and-git-stops","4.troubleshooting\u002F05.worktree-and-git-stops",{"title":1088,"path":1089,"stem":1090},"Sandbox and Kit stops","\u002Ftroubleshooting\u002Fsandbox-and-kit-stops","4.troubleshooting\u002F06.sandbox-and-kit-stops",{"title":1092,"path":1093,"stem":1094},"A kind: os sandbox is refused","\u002Ftroubleshooting\u002Fos-sandbox-refusals","4.troubleshooting\u002F07.os-sandbox-refusals",{"title":1096,"path":1097,"stem":1098},"Doctor failures","\u002Ftroubleshooting\u002Fdoctor-failures","4.troubleshooting\u002F08.doctor-failures",{"title":1100,"path":1101,"stem":1102},"Starting and reaching Kraft","\u002Ftroubleshooting\u002Fstarting-and-reaching-kraft","4.troubleshooting\u002F09.starting-and-reaching-kraft",{"title":1104,"path":1105,"stem":1106},"Add-on problems","\u002Ftroubleshooting\u002Faddon-problems","4.troubleshooting\u002F10.addon-problems",{"title":1108,"path":1109,"stem":1110},"Add-on validation messages","\u002Ftroubleshooting\u002Faddon-validate-messages","4.troubleshooting\u002F11.addon-validate-messages",{"title":1112,"path":1113,"stem":1114,"children":1115},"Reference","\u002Freference","5.reference",[1116,1118,1164,1197,1201,1205,1304,1346,1372,1376,1380,1398,1401,1405,1409],{"title":836,"path":1113,"stem":1117},"5.reference\u002Findex",{"title":1119,"path":1120,"stem":1121,"children":1122},"Web UI","\u002Freference\u002Fweb-ui","5.reference\u002F00.web-ui\u002Findex",[1123,1124,1128,1132,1136,1140,1144,1148,1152,1156,1160],{"title":836,"path":1120,"stem":1121},{"title":1125,"path":1126,"stem":1127},"Sidebar, search and keyboard","\u002Freference\u002Fweb-ui\u002Fsidebar-search-and-keyboard","5.reference\u002F00.web-ui\u002F0.sidebar-search-and-keyboard",{"title":1129,"path":1130,"stem":1131},"The board","\u002Freference\u002Fweb-ui\u002Fboard","5.reference\u002F00.web-ui\u002F1.board",{"title":1133,"path":1134,"stem":1135},"An item's page","\u002Freference\u002Fweb-ui\u002Fitem-page","5.reference\u002F00.web-ui\u002F2.item-page",{"title":1137,"path":1138,"stem":1139},"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":1141,"path":1142,"stem":1143},"Config before an item starts","\u002Freference\u002Fweb-ui\u002Fconfig-before-start","5.reference\u002F00.web-ui\u002F4.config-before-start",{"title":1145,"path":1146,"stem":1147},"The review page","\u002Freference\u002Fweb-ui\u002Freview-page","5.reference\u002F00.web-ui\u002F5.review-page",{"title":1149,"path":1150,"stem":1151},"Templates","\u002Freference\u002Fweb-ui\u002Ftemplates","5.reference\u002F00.web-ui\u002F6.templates",{"title":1153,"path":1154,"stem":1155},"Settings","\u002Freference\u002Fweb-ui\u002Fsettings","5.reference\u002F00.web-ui\u002F7.settings",{"title":1157,"path":1158,"stem":1159},"Analytics","\u002Freference\u002Fweb-ui\u002Fanalytics","5.reference\u002F00.web-ui\u002F8.analytics",{"title":1161,"path":1162,"stem":1163},"The board on a phone","\u002Freference\u002Fweb-ui\u002Fon-a-phone","5.reference\u002F00.web-ui\u002F9.on-a-phone",{"title":1165,"path":1166,"stem":1167,"children":1168},"CLI","\u002Freference\u002Fcli","5.reference\u002F01.cli\u002Findex",[1169,1170,1174,1178,1182,1186,1190,1193],{"title":836,"path":1166,"stem":1167},{"title":1171,"path":1172,"stem":1173},"Item verbs","\u002Freference\u002Fcli\u002Fitem","5.reference\u002F01.cli\u002F2.item",{"title":1175,"path":1176,"stem":1177},"View verbs","\u002Freference\u002Fcli\u002Fview","5.reference\u002F01.cli\u002F3.view",{"title":1179,"path":1180,"stem":1181},"Repo verbs","\u002Freference\u002Fcli\u002Frepo","5.reference\u002F01.cli\u002F4.repo",{"title":1183,"path":1184,"stem":1185},"Server verbs","\u002Freference\u002Fcli\u002Fserver","5.reference\u002F01.cli\u002F5.server",{"title":1187,"path":1188,"stem":1189},"Add-on verbs","\u002Freference\u002Fcli\u002Faddon","5.reference\u002F01.cli\u002F6.addon",{"title":738,"path":1191,"stem":1192},"\u002Freference\u002Fcli\u002Fworker","5.reference\u002F01.cli\u002F7.worker",{"title":1194,"path":1195,"stem":1196},"Forge verbs","\u002Freference\u002Fcli\u002Fforge","5.reference\u002F01.cli\u002F8.forge",{"title":1198,"path":1199,"stem":1200},"Console","\u002Freference\u002Fconsole","5.reference\u002F01.console",{"title":1202,"path":1203,"stem":1204},"Work item statuses","\u002Freference\u002Fstatuses","5.reference\u002F02.statuses",{"title":795,"path":794,"stem":1206,"children":1207},"5.reference\u002F03.configuration\u002Findex",[1208,1209,1227,1231,1235,1239,1243,1247,1251,1289,1293,1297,1301,1302,1303],{"title":836,"path":794,"stem":1206},{"title":1210,"path":1211,"stem":1212,"children":1213},"repos.yaml","\u002Freference\u002Fconfiguration\u002Frepos","5.reference\u002F03.configuration\u002F02.repos\u002Findex",[1214,1215,1219,1223],{"title":836,"path":1211,"stem":1212},{"title":1216,"path":1217,"stem":1218},"How connect proposes commands","\u002Freference\u002Fconfiguration\u002Frepos\u002Fconnect-proposals","5.reference\u002F03.configuration\u002F02.repos\u002F1.connect-proposals",{"title":1220,"path":1221,"stem":1222},"detectors.yaml","\u002Freference\u002Fconfiguration\u002Frepos\u002Fdetectors","5.reference\u002F03.configuration\u002F02.repos\u002F2.detectors",{"title":1224,"path":1225,"stem":1226},"Workspaces","\u002Freference\u002Fconfiguration\u002Frepos\u002Fworkspaces","5.reference\u002F03.configuration\u002F02.repos\u002F3.workspaces",{"title":1228,"path":1229,"stem":1230},"policy.yaml","\u002Freference\u002Fconfiguration\u002Fpolicy","5.reference\u002F03.configuration\u002F03.policy",{"title":1232,"path":1233,"stem":1234},"Library and chains","\u002Freference\u002Fconfiguration\u002Flibrary-and-chains","5.reference\u002F03.configuration\u002F04.library-and-chains",{"title":1236,"path":1237,"stem":1238},"access.yaml","\u002Freference\u002Fconfiguration\u002Faccess","5.reference\u002F03.configuration\u002F06.access",{"title":1240,"path":1241,"stem":1242},"intake.yaml","\u002Freference\u002Fconfiguration\u002Fintake","5.reference\u002F03.configuration\u002F07.intake",{"title":1244,"path":1245,"stem":1246},"notify.yaml","\u002Freference\u002Fconfiguration\u002Fnotify","5.reference\u002F03.configuration\u002F08.notify",{"title":1248,"path":1249,"stem":1250},"theme.yaml","\u002Freference\u002Fconfiguration\u002Ftheme","5.reference\u002F03.configuration\u002F09.theme",{"title":1252,"path":1253,"stem":1254,"children":1255},"Sandboxed workers","\u002Freference\u002Fconfiguration\u002Fsandbox","5.reference\u002F03.configuration\u002F10.sandbox\u002Findex",[1256,1257,1261,1265,1269,1273,1277,1281,1285],{"title":836,"path":1253,"stem":1254},{"title":1258,"path":1259,"stem":1260},"Resource limits","\u002Freference\u002Fconfiguration\u002Fsandbox\u002Fresource-limits","5.reference\u002F03.configuration\u002F10.sandbox\u002F1.resource-limits",{"title":1262,"path":1263,"stem":1264},"Callbacks from a sandbox","\u002Freference\u002Fconfiguration\u002Fsandbox\u002Fcallbacks","5.reference\u002F03.configuration\u002F10.sandbox\u002F2.callbacks",{"title":1266,"path":1267,"stem":1268},"Network policy","\u002Freference\u002Fconfiguration\u002Fsandbox\u002Fnetwork-policy","5.reference\u002F03.configuration\u002F10.sandbox\u002F3.network-policy",{"title":1270,"path":1271,"stem":1272},"Credentials","\u002Freference\u002Fconfiguration\u002Fsandbox\u002Fcredentials","5.reference\u002F03.configuration\u002F10.sandbox\u002F4.credentials",{"title":1274,"path":1275,"stem":1276},"Kits","\u002Freference\u002Fconfiguration\u002Fsandbox\u002Fkits","5.reference\u002F03.configuration\u002F10.sandbox\u002F5.kits",{"title":1278,"path":1279,"stem":1280},"sandbox.yaml","\u002Freference\u002Fconfiguration\u002Fsandbox\u002Fsandbox-yaml","5.reference\u002F03.configuration\u002F10.sandbox\u002F6.sandbox-yaml",{"title":1282,"path":1283,"stem":1284},"Git in a sandbox","\u002Freference\u002Fconfiguration\u002Fsandbox\u002Fgit-in-a-sandbox","5.reference\u002F03.configuration\u002F10.sandbox\u002F7.git-in-a-sandbox",{"title":1286,"path":1287,"stem":1288},"The OS sandbox","\u002Freference\u002Fconfiguration\u002Fsandbox\u002Fos-sandbox","5.reference\u002F03.configuration\u002F10.sandbox\u002F8.os-sandbox",{"title":1290,"path":1291,"stem":1292},"Environment variables","\u002Freference\u002Fconfiguration\u002Fenvironment-variables","5.reference\u002F03.configuration\u002F11.environment-variables",{"title":1294,"path":1295,"stem":1296},"Add-ons and collections","\u002Freference\u002Fconfiguration\u002Faddons","5.reference\u002F03.configuration\u002F12.addons",{"title":1298,"path":1299,"stem":1300},"Repo libraries","\u002Freference\u002Fconfiguration\u002Frepo-libraries","5.reference\u002F03.configuration\u002F13.repo-libraries",{"title":820,"path":821,"stem":822},{"title":5,"path":814,"stem":816},{"title":825,"path":826,"stem":827},{"title":1305,"path":1306,"stem":1307,"children":1308},"Chain file keys","\u002Freference\u002Fchain-nodes","5.reference\u002F04.chain-nodes\u002Findex",[1309,1310,1314,1318,1322,1326,1330,1334,1338,1342],{"title":836,"path":1306,"stem":1307},{"title":1311,"path":1312,"stem":1313},"The shipped chains","\u002Freference\u002Fchain-nodes\u002Fshipped-chains","5.reference\u002F04.chain-nodes\u002F1.shipped-chains",{"title":1315,"path":1316,"stem":1317},"Subprocess tasks","\u002Freference\u002Fchain-nodes\u002Fsubprocess-tasks","5.reference\u002F04.chain-nodes\u002F2.subprocess-tasks",{"title":1319,"path":1320,"stem":1321},"Fix loop and judge","\u002Freference\u002Fchain-nodes\u002Ffix-loop","5.reference\u002F04.chain-nodes\u002F3.fix-loop",{"title":1323,"path":1324,"stem":1325},"Result file","\u002Freference\u002Fchain-nodes\u002Fresult-file","5.reference\u002F04.chain-nodes\u002F4.result-file",{"title":1327,"path":1328,"stem":1329},"Merge queue and train drops","\u002Freference\u002Fchain-nodes\u002Fmerge-queue-drops","5.reference\u002F04.chain-nodes\u002F5.merge-queue-drops",{"title":1331,"path":1332,"stem":1333},"What the final review approves","\u002Freference\u002Fchain-nodes\u002Ffinal-review-approval","5.reference\u002F04.chain-nodes\u002F6.final-review-approval",{"title":1335,"path":1336,"stem":1337},"Waiting for a pipeline by ID","\u002Freference\u002Fchain-nodes\u002Fwait-for-a-pipeline","5.reference\u002F04.chain-nodes\u002F7.wait-for-a-pipeline",{"title":1339,"path":1340,"stem":1341},"read_only","\u002Freference\u002Fchain-nodes\u002Fread-only","5.reference\u002F04.chain-nodes\u002F8.read-only",{"title":1343,"path":1344,"stem":1345},"Step outputs","\u002Freference\u002Fchain-nodes\u002Fstep-outputs","5.reference\u002F04.chain-nodes\u002F9.step-outputs",{"title":1347,"path":1348,"stem":1349,"children":1350},"Agent harnesses","\u002Freference\u002Fharnesses","5.reference\u002F05.harnesses\u002Findex",[1351,1352,1356,1360,1364,1368],{"title":836,"path":1348,"stem":1349},{"title":1353,"path":1354,"stem":1355},"Unattended runs","\u002Freference\u002Fharnesses\u002Funattended-runs","5.reference\u002F05.harnesses\u002F2.unattended-runs",{"title":1357,"path":1358,"stem":1359},"Agent profiles","\u002Freference\u002Fharnesses\u002Fagent-profiles","5.reference\u002F05.harnesses\u002F3.agent-profiles",{"title":1361,"path":1362,"stem":1363},"Harness definition files and harness profiles","\u002Freference\u002Fharnesses\u002Fharness-files","5.reference\u002F05.harnesses\u002F4.harness-files",{"title":1365,"path":1366,"stem":1367},"Fallback and escalation","\u002Freference\u002Fharnesses\u002Ffallback-and-escalation","5.reference\u002F05.harnesses\u002F5.fallback-and-escalation",{"title":1369,"path":1370,"stem":1371},"Cost reporting","\u002Freference\u002Fharnesses\u002Fcost-reporting","5.reference\u002F05.harnesses\u002F6.cost-reporting",{"title":1373,"path":1374,"stem":1375},"Permission gate","\u002Freference\u002Fpermissions","5.reference\u002F06.permissions",{"title":1377,"path":1378,"stem":1379},"Inbound triggers","\u002Freference\u002Ftriggers","5.reference\u002F07.triggers",{"title":1381,"path":1382,"stem":1383,"children":1384},"HTTP API","\u002Freference\u002Fhttp-api","5.reference\u002F08.http-api\u002Findex",[1385,1386,1390,1394],{"title":836,"path":1382,"stem":1383},{"title":1387,"path":1388,"stem":1389},"Filing, reading and deciding work items","\u002Freference\u002Fhttp-api\u002Fwork-items","5.reference\u002F08.http-api\u002F2.work-items",{"title":1391,"path":1392,"stem":1393},"The work item object","\u002Freference\u002Fhttp-api\u002Fwork-item-object","5.reference\u002F08.http-api\u002F4.work-item-object",{"title":1395,"path":1396,"stem":1397},"Connecting a repo","\u002Freference\u002Fhttp-api\u002Fconnect-a-repo","5.reference\u002F08.http-api\u002F5.connect-a-repo",{"title":769,"path":1399,"stem":1400},"\u002Freference\u002Fmcp-tools","5.reference\u002F09.mcp-tools",{"title":1402,"path":1403,"stem":1404},"Events","\u002Freference\u002Fevents","5.reference\u002F10.events",{"title":1406,"path":1407,"stem":1408},"VS Code extension","\u002Freference\u002Fvscode-extension","5.reference\u002F11.vscode-extension",{"title":1410,"path":1411,"stem":1412},"Kraft Lite reference","\u002Freference\u002Fkraft-lite","5.reference\u002F12.kraft-lite",{"title":1414,"path":1415,"stem":1416,"children":1417},"Project","\u002Fproject","6.project",[1418,1420,1424,1428,1432,1436,1440,1444,1448,1452],{"title":836,"path":1415,"stem":1419},"6.project\u002Findex",{"title":1421,"path":1422,"stem":1423},"Security","\u002Fproject\u002Fsecurity","6.project\u002F1.security",{"title":1425,"path":1426,"stem":1427},"Security in depth","\u002Fproject\u002Fsecurity-in-depth","6.project\u002F1.security-in-depth",{"title":1429,"path":1430,"stem":1431},"Data and privacy","\u002Fproject\u002Fdata-and-privacy","6.project\u002F2.data-and-privacy",{"title":1433,"path":1434,"stem":1435},"Unreleased","\u002Fproject\u002Funreleased","6.project\u002F3.unreleased",{"title":1437,"path":1438,"stem":1439},"What's new","\u002Fproject\u002Fwhats-new","6.project\u002F3.whats-new",{"title":1441,"path":1442,"stem":1443},"Status and support","\u002Fproject\u002Fstatus-and-support","6.project\u002F4.status-and-support",{"title":1445,"path":1446,"stem":1447},"Architecture","\u002Fproject\u002Farchitecture","6.project\u002F5.architecture",{"title":1449,"path":1450,"stem":1451},"Source map","\u002Fproject\u002Fsource-map","6.project\u002F6.source-map",{"title":1453,"path":1454,"stem":1455},"Contributing","\u002Fproject\u002Fcontributing","6.project\u002F7.contributing",1796240517052,"0565eaa1-20e2-4e9c-b830-6822a3524be2"]