[{"data":1,"prerenderedAt":507},["ShallowReactive",2],{"navigation_docs":3,"-reference-cli":270,"-reference-cli-surround":502},[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":118,"body":272,"description":495,"extension":496,"links":497,"meta":498,"navigation":499,"path":119,"seo":500,"stem":120,"__hash__":501},"docs\u002F4.reference\u002F1.cli\u002Findex.md",{"type":273,"value":274,"toc":488},"minimark",[275,303,309,314,339,343,354,457,463,467],[276,277,278,282,283,286,287,290,291,294,295,298,299,302],"p",{},[279,280,281],"code",{},"kraft"," with no arguments starts the server. Every other command talks to a\nrunning server. Verbs live in four groups: ",[279,284,285],{},"item"," acts, ",[279,288,289],{},"view"," reads, ",[279,292,293],{},"repo","\nmanages repositories and their worktrees, and ",[279,296,297],{},"admin"," runs this machine's\nserver. Typing an old flat verb (",[279,300,301],{},"kraft list",") prints where it moved.",[276,304,305,308],{},[279,306,307],{},"kraft \u003Cgroup> \u003Cverb> --help"," prints the flags for one verb. Each group page\nbelow lists every flag. Wherever a command takes a work item ID, you can omit it\nwhen you run the command from inside that item's worktree.",[310,311,313],"h2",{"id":312},"in-this-section","In this section",[315,316,317,324,329,334],"ul",{},[318,319,320,323],"li",{},[321,322,124],"a",{"href":125},": file, approve, reject, pause, resume, retry, skip, escalate, and set policy on a work item.",[318,325,326,328],{},[321,327,128],{"href":129},": read the board, follow a running item, and review its diff and documents.",[318,330,331,333],{},[321,332,132],{"href":133},": connect repositories and reach their worktrees.",[318,335,336,338],{},[321,337,136],{"href":137},": run, check, update, and configure this machine's server.",[310,340,342],{"id":341},"output-format","Output format",[276,344,345,346,349,350,353],{},"Every read and action verb accepts ",[279,347,348],{},"--json",", which prints the raw API payload,\nthe same value ",[279,351,352],{},"kraft admin mcp"," hands an agent. These verbs do not:",[355,356,357,370],"table",{},[358,359,360],"thead",{},[361,362,363,367],"tr",{},[364,365,366],"th",{},"Verb",[364,368,369],{},"Use instead",[371,372,373,391,411,431,444],"tbody",{},[361,374,375,381],{},[376,377,378],"td",{},[279,379,380],{},"view watch",[376,382,383,386,387,390],{},[279,384,385],{},"kraft view events --json"," (",[279,388,389],{},"watch"," redraws a board rather than returning a value)",[361,392,393,398],{},[376,394,395],{},[279,396,397],{},"repo path",[376,399,400,386,403,406,407,410],{},[279,401,402],{},"kraft view show --json",[279,404,405],{},"path"," prints one plain line meant for ",[279,408,409],{},"cd",")",[361,412,413,428],{},[376,414,415,418,419,418,422,418,425],{},[279,416,417],{},"admin start",", ",[279,420,421],{},"stop",[279,423,424],{},"restart",[279,426,427],{},"update",[376,429,430],{},"None; these print status lines.",[361,432,433,441],{},[376,434,435,418,438],{},[279,436,437],{},"admin install-service",[279,439,440],{},"uninstall-service",[376,442,443],{},"None.",[361,445,446,454],{},[376,447,448,418,451],{},[279,449,450],{},"admin mcp",[279,452,453],{},"admin permission-hook",[376,455,456],{},"None; these speak a protocol on stdio.",[276,458,459,462],{},[279,460,461],{},"kraft view logs --json"," prints NDJSON, one object per line, because a stream\nhas no end on which to close an array.",[310,464,466],{"id":465},"shell-completion","Shell completion",[276,468,469,471,472,480,481,483,484,487],{},[279,470,281],{}," completes verbs with ",[321,473,477],{"href":474,"rel":475},"https:\u002F\u002Fgithub.com\u002Fkislyuk\u002Fargcomplete",[476],"nofollow",[279,478,479],{},"argcomplete",",\nin any shell ",[279,482,479],{}," supports. Register it by adding\n",[279,485,486],{},"eval \"$(register-python-argcomplete kraft)\""," to your shell's rc file.",{"title":489,"searchDepth":490,"depth":490,"links":491},"",2,[492,493,494],{"id":312,"depth":490,"text":313},{"id":341,"depth":490,"text":342},{"id":465,"depth":490,"text":466},"Every kraft verb, grouped by what it does.","md",null,{},{"title":10},{"title":118,"description":495},"6iTv-CnsNkhVwlLCT2gcMYztZprpv60O2WVXWBGkPOA",[503,505],{"title":10,"path":112,"stem":116,"description":504,"children":-1},"Look-up pages for the CLI, configuration files, chain nodes, permissions, harnesses, triggers, the HTTP API, MCP tools, environment variables, and events.",{"title":124,"path":125,"stem":126,"description":506,"children":-1},"The kraft item verbs: file, approve, reject, pause, resume, retry, raise a budget, skip, escalate, and set policy.",1790824542845]