[{"data":1,"prerenderedAt":566},["ShallowReactive",2],{"navigation_docs":3,"-reference-cli-repo":270,"-reference-cli-repo-surround":561},[4,28,51,110,243],{"title":5,"path":6,"stem":7,"children":8},"Get started","\u002Fget-started","1.get-started",[9,12,16,20,24],{"title":10,"path":6,"stem":11},"Overview","1.get-started\u002Findex",{"title":13,"path":14,"stem":15},"Why Kraft","\u002Fget-started\u002Fwhy-kraft","1.get-started\u002F0.why-kraft",{"title":17,"path":18,"stem":19},"Install","\u002Fget-started\u002Finstall","1.get-started\u002F1.install",{"title":21,"path":22,"stem":23},"Your first work item","\u002Fget-started\u002Ffirst-work-item","1.get-started\u002F2.first-work-item",{"title":25,"path":26,"stem":27},"Troubleshooting and FAQ","\u002Fget-started\u002Ftroubleshooting","1.get-started\u002F3.troubleshooting",{"title":29,"path":30,"stem":31,"children":32},"Concepts","\u002Fconcepts","2.concepts",[33,35,39,43,47],{"title":10,"path":30,"stem":34},"2.concepts\u002Findex",{"title":36,"path":37,"stem":38},"Vocabulary","\u002Fconcepts\u002Fvocabulary","2.concepts\u002F1.vocabulary",{"title":40,"path":41,"stem":42},"How a work item runs","\u002Fconcepts\u002Fhow-a-work-item-runs","2.concepts\u002F2.how-a-work-item-runs",{"title":44,"path":45,"stem":46},"Caps and budgets","\u002Fconcepts\u002Fcaps-and-budgets","2.concepts\u002F3.caps-and-budgets",{"title":48,"path":49,"stem":50},"Why a permission gate","\u002Fconcepts\u002Fpermission-gate","2.concepts\u002F4.permission-gate",{"title":52,"path":53,"stem":54,"children":55},"Guides","\u002Fguides","3.guides",[56,58,62,66,70,74,78,82,86,90,94,98,102,106],{"title":10,"path":53,"stem":57},"3.guides\u002Findex",{"title":59,"path":60,"stem":61},"Use Kraft from your agent","\u002Fguides\u002Fagent-integration","3.guides\u002F01.agent-integration",{"title":63,"path":64,"stem":65},"Kraft Lite","\u002Fguides\u002Fkraft-lite","3.guides\u002F02.kraft-lite",{"title":67,"path":68,"stem":69},"Remote access","\u002Fguides\u002Fremote-access","3.guides\u002F03.remote-access",{"title":71,"path":72,"stem":73},"Add or override a harness","\u002Fguides\u002Fadding-a-harness","3.guides\u002F04.adding-a-harness",{"title":75,"path":76,"stem":77},"Schedule or webhook work","\u002Fguides\u002Fschedule-and-webhook-work","3.guides\u002F05.schedule-and-webhook-work",{"title":79,"path":80,"stem":81},"Add a security review or a gate reviewer","\u002Fguides\u002Fadd-review-agents","3.guides\u002F06.add-review-agents",{"title":83,"path":84,"stem":85},"Kraft for VS Code","\u002Fguides\u002Fvscode","3.guides\u002F07.vscode",{"title":87,"path":88,"stem":89},"Reviewing a change","\u002Fguides\u002Freview-a-change","3.guides\u002F08.review-a-change",{"title":91,"path":92,"stem":93},"Write your own chain","\u002Fguides\u002Fwrite-your-own-chain","3.guides\u002F09.write-your-own-chain",{"title":95,"path":96,"stem":97},"Switch a harness","\u002Fguides\u002Fswitch-harness","3.guides\u002F10.switch-harness",{"title":99,"path":100,"stem":101},"Upgrade your templates","\u002Fguides\u002Fupgrading-templates","3.guides\u002F11.upgrading-templates",{"title":103,"path":104,"stem":105},"Operations","\u002Fguides\u002Foperations","3.guides\u002F12.operations",{"title":107,"path":108,"stem":109},"Worker Kit","\u002Fguides\u002Fworker-kit","3.guides\u002F13.worker-kit",{"title":111,"path":112,"stem":113,"children":114},"Reference","\u002Freference","4.reference",[115,117,139,183,201,205,227,231,235,239],{"title":10,"path":112,"stem":116},"4.reference\u002Findex",{"title":118,"path":119,"stem":120,"children":121},"CLI","\u002Freference\u002Fcli","4.reference\u002F1.cli\u002Findex",[122,123,127,131,135],{"title":10,"path":119,"stem":120},{"title":124,"path":125,"stem":126},"Item verbs","\u002Freference\u002Fcli\u002Fitem","4.reference\u002F1.cli\u002F2.item",{"title":128,"path":129,"stem":130},"View verbs","\u002Freference\u002Fcli\u002Fview","4.reference\u002F1.cli\u002F3.view",{"title":132,"path":133,"stem":134},"Repo verbs","\u002Freference\u002Fcli\u002Frepo","4.reference\u002F1.cli\u002F4.repo",{"title":136,"path":137,"stem":138},"Admin verbs","\u002Freference\u002Fcli\u002Fadmin","4.reference\u002F1.cli\u002F5.admin",{"title":140,"path":141,"stem":142,"children":143},"Configuration","\u002Freference\u002Fconfiguration","4.reference\u002F2.configuration\u002Findex",[144,145,155,159,163,167,171,175,179],{"title":10,"path":141,"stem":142},{"title":146,"path":147,"stem":148,"children":149},"Repos","\u002Freference\u002Fconfiguration\u002Frepos","4.reference\u002F2.configuration\u002F2.repos\u002Findex",[150,151],{"title":10,"path":147,"stem":148},{"title":152,"path":153,"stem":154},"Workspaces","\u002Freference\u002Fconfiguration\u002Frepos\u002Fworkspaces","4.reference\u002F2.configuration\u002F2.repos\u002F3.workspaces",{"title":156,"path":157,"stem":158},"Policy","\u002Freference\u002Fconfiguration\u002Fpolicy","4.reference\u002F2.configuration\u002F3.policy",{"title":160,"path":161,"stem":162},"Library and chains","\u002Freference\u002Fconfiguration\u002Flibrary-and-chains","4.reference\u002F2.configuration\u002F4.library-and-chains",{"title":164,"path":165,"stem":166},"Harnesses file","\u002Freference\u002Fconfiguration\u002Fharnesses-file","4.reference\u002F2.configuration\u002F5.harnesses-file",{"title":168,"path":169,"stem":170},"Access","\u002Freference\u002Fconfiguration\u002Faccess","4.reference\u002F2.configuration\u002F6.access",{"title":172,"path":173,"stem":174},"Intake","\u002Freference\u002Fconfiguration\u002Fintake","4.reference\u002F2.configuration\u002F7.intake",{"title":176,"path":177,"stem":178},"Sandbox host","\u002Freference\u002Fconfiguration\u002Fsandbox","4.reference\u002F2.configuration\u002F8.sandbox",{"title":180,"path":181,"stem":182},"Environment variables","\u002Freference\u002Fconfiguration\u002Fenvironment-variables","4.reference\u002F2.configuration\u002F9.environment-variables",{"title":184,"path":185,"stem":186,"children":187},"Chain nodes","\u002Freference\u002Fchain-nodes","4.reference\u002F3.chain-nodes\u002Findex",[188,189,193,197],{"title":10,"path":185,"stem":186},{"title":190,"path":191,"stem":192},"Subprocess tasks","\u002Freference\u002Fchain-nodes\u002Fsubprocess-tasks","4.reference\u002F3.chain-nodes\u002F2.subprocess-tasks",{"title":194,"path":195,"stem":196},"Fix loop and judge","\u002Freference\u002Fchain-nodes\u002Ffix-loop","4.reference\u002F3.chain-nodes\u002F3.fix-loop",{"title":198,"path":199,"stem":200},"Result file","\u002Freference\u002Fchain-nodes\u002Fresult-file","4.reference\u002F3.chain-nodes\u002F4.result-file",{"title":202,"path":203,"stem":204},"Permission gate","\u002Freference\u002Fpermissions","4.reference\u002F4.permissions",{"title":206,"path":207,"stem":208,"children":209},"Agent harnesses","\u002Freference\u002Fharnesses","4.reference\u002F5.harnesses\u002Findex",[210,211,215,219,223],{"title":10,"path":207,"stem":208},{"title":212,"path":213,"stem":214},"Unattended runs","\u002Freference\u002Fharnesses\u002Funattended-runs","4.reference\u002F5.harnesses\u002F2.unattended-runs",{"title":216,"path":217,"stem":218},"Agent profiles","\u002Freference\u002Fharnesses\u002Fagent-profiles","4.reference\u002F5.harnesses\u002F3.agent-profiles",{"title":220,"path":221,"stem":222},"Harness files","\u002Freference\u002Fharnesses\u002Fharness-files","4.reference\u002F5.harnesses\u002F4.harness-files",{"title":224,"path":225,"stem":226},"Fallback and escalation","\u002Freference\u002Fharnesses\u002Ffallback-and-escalation","4.reference\u002F5.harnesses\u002F5.fallback-and-escalation",{"title":228,"path":229,"stem":230},"Inbound triggers","\u002Freference\u002Ftriggers","4.reference\u002F6.triggers",{"title":232,"path":233,"stem":234},"HTTP API","\u002Freference\u002Fhttp-api","4.reference\u002F7.http-api",{"title":236,"path":237,"stem":238},"MCP tools","\u002Freference\u002Fmcp-tools","4.reference\u002F8.mcp-tools",{"title":240,"path":241,"stem":242},"Events","\u002Freference\u002Fevents","4.reference\u002F9.events",{"title":244,"path":245,"stem":246,"children":247},"Project","\u002Fproject","5.project",[248,250,254,258,262,266],{"title":10,"path":245,"stem":249},"5.project\u002Findex",{"title":251,"path":252,"stem":253},"Architecture","\u002Fproject\u002Farchitecture","5.project\u002F1.architecture",{"title":255,"path":256,"stem":257},"Contributing","\u002Fproject\u002Fcontributing","5.project\u002F2.contributing",{"title":259,"path":260,"stem":261},"Security","\u002Fproject\u002Fsecurity","5.project\u002F3.security",{"title":263,"path":264,"stem":265},"Data and privacy","\u002Fproject\u002Fdata-and-privacy","5.project\u002F4.data-and-privacy",{"title":267,"path":268,"stem":269},"Status and support","\u002Fproject\u002Fstatus-and-support","5.project\u002F5.status-and-support",{"id":271,"title":132,"body":272,"description":554,"extension":555,"links":556,"meta":557,"navigation":558,"path":133,"seo":559,"stem":134,"__hash__":560},"docs\u002F4.reference\u002F1.cli\u002F4.repo.md",{"type":273,"value":274,"toc":552},"minimark",[275,283,413,527,548],[276,277,278,282],"p",{},[279,280,281],"code",{},"kraft repo"," manages the repositories Kraft works in and their worktrees.",[284,285,290],"pre",{"className":286,"code":287,"language":288,"meta":289,"style":289},"language-bash shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","kraft repo list\nkraft repo connect\nkraft repo disconnect\ncd \"$(kraft repo path \u003Cid>)\"\nkraft repo path --shell\nkraft repo open \u003Cid>\nkraft repo open \u003Cid> --editor cursor\n","bash","",[279,291,292,308,318,328,353,366,389],{"__ignoreMap":289},[293,294,297,301,305],"span",{"class":295,"line":296},"line",1,[293,298,300],{"class":299},"sBMFI","kraft",[293,302,304],{"class":303},"sfazB"," repo",[293,306,307],{"class":303}," list\n",[293,309,311,313,315],{"class":295,"line":310},2,[293,312,300],{"class":299},[293,314,304],{"class":303},[293,316,317],{"class":303}," connect\n",[293,319,321,323,325],{"class":295,"line":320},3,[293,322,300],{"class":299},[293,324,304],{"class":303},[293,326,327],{"class":303}," disconnect\n",[293,329,331,335,339,341,344,347,350],{"class":295,"line":330},4,[293,332,334],{"class":333},"s2Zo4","cd",[293,336,338],{"class":337},"sMK4o"," \"$(",[293,340,300],{"class":299},[293,342,343],{"class":303}," repo path ",[293,345,346],{"class":337},"\u003C",[293,348,349],{"class":303},"id",[293,351,352],{"class":337},">)\"\n",[293,354,356,358,360,363],{"class":295,"line":355},5,[293,357,300],{"class":299},[293,359,304],{"class":303},[293,361,362],{"class":303}," path",[293,364,365],{"class":303}," --shell\n",[293,367,369,371,373,376,379,382,386],{"class":295,"line":368},6,[293,370,300],{"class":299},[293,372,304],{"class":303},[293,374,375],{"class":303}," open",[293,377,378],{"class":337}," \u003C",[293,380,381],{"class":303},"i",[293,383,385],{"class":384},"sTEyZ","d",[293,387,388],{"class":337},">\n",[293,390,392,394,396,398,400,402,404,407,410],{"class":295,"line":391},7,[293,393,300],{"class":299},[293,395,304],{"class":303},[293,397,375],{"class":303},[293,399,378],{"class":337},[293,401,381],{"class":303},[293,403,385],{"class":384},[293,405,406],{"class":337},">",[293,408,409],{"class":303}," --editor",[293,411,412],{"class":303}," cursor\n",[414,415,416,429],"table",{},[417,418,419],"thead",{},[420,421,422,426],"tr",{},[423,424,425],"th",{},"Command",[423,427,428],{},"Effect",[430,431,432,451,469,479,500],"tbody",{},[420,433,434,440],{},[435,436,437],"td",{},[279,438,439],{},"repo list",[435,441,442,443,446,447,450],{},"The connected repos. ",[279,444,445],{},"*"," marks the one you are in. ",[279,448,449],{},"--all"," also lists auto-connected repos nobody has touched yet.",[420,452,453,458],{},[435,454,455],{},[279,456,457],{},"repo connect [PATH]",[435,459,460,461,464,465,468],{},"Connects a repo (safe to repeat). A relative ",[279,462,463],{},"PATH",", ",[279,466,467],{},"."," included, is read from where you stand. It proposes a setup command and a test command from the repo's files. Check both before you trust them.",[420,470,471,476],{},[435,472,473],{},[279,474,475],{},"repo disconnect [PATH]",[435,477,478],{},"Forgets the repo. Work items are untouched.",[420,480,481,486],{},[435,482,483],{},[279,484,485],{},"repo path [ID]",[435,487,488,489,492,493,496,497,499],{},"Prints the item's worktree path. ",[279,490,491],{},"repo cd"," is an alias. ",[279,494,495],{},"--shell"," prints a shell function that does the ",[279,498,334],{}," for you.",[420,501,502,507],{},[435,503,504],{},[279,505,506],{},"repo open [ID]",[435,508,509,510,513,514,464,516,464,519,522,523,526],{},"Opens the worktree in an editor. ",[279,511,512],{},"--editor"," picks ",[279,515,279],{},[279,517,518],{},"cursor",[279,520,521],{},"zed"," or ",[279,524,525],{},"obsidian",". The default is the system's.",[276,528,529,530,464,533,464,536,539,540,543,544,547],{},"For each repo's settings (",[279,531,532],{},"setup_command",[279,534,535],{},"env",[279,537,538],{},"test_scopes"," and the rest),\nsee ",[541,542,140],"a",{"href":147},". You\nedit them in the Settings screens or in ",[279,545,546],{},"repos.yaml",", not with the CLI.",[549,550,551],"style",{},"html pre.shiki code .sBMFI, html code.shiki .sBMFI{--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B}html pre.shiki code .sfazB, html code.shiki .sfazB{--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D}html pre.shiki code .s2Zo4, html code.shiki .s2Zo4{--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF}html pre.shiki code .sMK4o, html code.shiki .sMK4o{--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF}html pre.shiki code .sTEyZ, html code.shiki .sTEyZ{--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8}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":289,"searchDepth":310,"depth":310,"links":553},[],"The kraft repo verbs: list, connect, and disconnect repositories, and reach their worktrees.","md",null,{},true,{"title":132,"description":554},"6j6IvK7dpi9nrleI0KdOtMozzQQoVr40Ssl1sDVH7_Y",[562,564],{"title":128,"path":129,"stem":130,"description":563,"children":-1},"The kraft view verbs: read the board, follow a running item, and review its diff and documents.",{"title":136,"path":137,"stem":138,"description":565,"children":-1},"The kraft admin verbs: start, stop, check, update, and configure this machine's server.",1790824543079]