[{"data":1,"prerenderedAt":4323},["ShallowReactive",2],{"navigation_docs":3,"-reference-configuration-addons":639,"-reference-configuration-addons-surround":4318},[4,32,71,234,285,600],{"title":5,"path":6,"stem":7,"children":8},"Get started","\u002Fget-started","1.get-started",[9,12,16,20,24,28],{"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},"The real chain","\u002Fget-started\u002Fthe-real-chain","1.get-started\u002F3.the-real-chain",{"title":29,"path":30,"stem":31},"FAQ","\u002Fget-started\u002Ffaq","1.get-started\u002F4.faq",{"title":33,"path":34,"stem":35,"children":36},"Concepts","\u002Fconcepts","2.concepts",[37,39,43,47,51,55,59,63,67],{"title":10,"path":34,"stem":38},"2.concepts\u002Findex",{"title":40,"path":41,"stem":42},"How a work item runs","\u002Fconcepts\u002Fhow-a-work-item-runs","2.concepts\u002F1.how-a-work-item-runs",{"title":44,"path":45,"stem":46},"Caps and budgets","\u002Fconcepts\u002Fcaps-and-budgets","2.concepts\u002F2.caps-and-budgets",{"title":48,"path":49,"stem":50},"Why a permission gate","\u002Fconcepts\u002Fpermission-gate","2.concepts\u002F3.permission-gate",{"title":52,"path":53,"stem":54},"Vocabulary","\u002Fconcepts\u002Fvocabulary","2.concepts\u002F4.vocabulary",{"title":56,"path":57,"stem":58},"Where a step runs","\u002Fconcepts\u002Fwhere-a-step-runs","2.concepts\u002F5.where-a-step-runs",{"title":60,"path":61,"stem":62},"How review and CI waits settle","\u002Fconcepts\u002Fhow-review-and-ci-waits-settle","2.concepts\u002F6.how-review-and-ci-waits-settle",{"title":64,"path":65,"stem":66},"How test scopes run","\u002Fconcepts\u002Fhow-test-scopes-run","2.concepts\u002F7.how-test-scopes-run",{"title":68,"path":69,"stem":70},"How workers and machines behave","\u002Fconcepts\u002Fhow-workers-and-machines-behave","2.concepts\u002F8.how-workers-and-machines-behave",{"title":72,"path":73,"stem":74,"children":75},"Guides","\u002Fguides","3.guides",[76,78,120,146,168,230],{"title":10,"path":73,"stem":77},"3.guides\u002Findex",{"title":79,"path":80,"stem":81,"children":82},"Day to day","\u002Fguides\u002Fday-to-day","3.guides\u002F1.day-to-day\u002Findex",[83,84,88,92,96,100,104,108,112,116],{"title":10,"path":80,"stem":81},{"title":85,"path":86,"stem":87},"Split work into slices","\u002Fguides\u002Fday-to-day\u002Fsplit-work-into-slices","3.guides\u002F1.day-to-day\u002F1.split-work-into-slices",{"title":89,"path":90,"stem":91},"The setup wizard on first start","\u002Fguides\u002Fday-to-day\u002Ffirst-run","3.guides\u002F1.day-to-day\u002F2.first-run",{"title":93,"path":94,"stem":95},"File a work item","\u002Fguides\u002Fday-to-day\u002Ffile-a-work-item","3.guides\u002F1.day-to-day\u002F3.file-a-work-item",{"title":97,"path":98,"stem":99},"Use Kraft from your agent","\u002Fguides\u002Fday-to-day\u002Fagent-integration","3.guides\u002F1.day-to-day\u002F4.agent-integration",{"title":101,"path":102,"stem":103},"Reviewing a change","\u002Fguides\u002Fday-to-day\u002Freview-a-change","3.guides\u002F1.day-to-day\u002F5.review-a-change",{"title":105,"path":106,"stem":107},"Raise a cap on a stopped item","\u002Fguides\u002Fday-to-day\u002Fraise-a-cap","3.guides\u002F1.day-to-day\u002F6.raise-a-cap",{"title":109,"path":110,"stem":111},"Kraft for VS Code","\u002Fguides\u002Fday-to-day\u002Fvscode","3.guides\u002F1.day-to-day\u002F7.vscode",{"title":113,"path":114,"stem":115},"Reach the board from your phone","\u002Fguides\u002Fday-to-day\u002Fkraft-on-a-phone","3.guides\u002F1.day-to-day\u002F8.kraft-on-a-phone",{"title":117,"path":118,"stem":119},"Get notified when an item needs you","\u002Fguides\u002Fday-to-day\u002Fnotifications","3.guides\u002F1.day-to-day\u002F9.notifications",{"title":121,"path":122,"stem":123,"children":124},"Customize and automate","\u002Fguides\u002Fcustomize","3.guides\u002F2.customize\u002Findex",[125,126,130,134,138,142],{"title":10,"path":122,"stem":123},{"title":127,"path":128,"stem":129},"Write your own chain","\u002Fguides\u002Fcustomize\u002Fwrite-your-own-chain","3.guides\u002F2.customize\u002F1.write-your-own-chain",{"title":131,"path":132,"stem":133},"Add a security review or a gate reviewer","\u002Fguides\u002Fcustomize\u002Fadd-review-agents","3.guides\u002F2.customize\u002F2.add-review-agents",{"title":135,"path":136,"stem":137},"Schedule or webhook work","\u002Fguides\u002Fcustomize\u002Fschedule-and-webhook-work","3.guides\u002F2.customize\u002F3.schedule-and-webhook-work",{"title":139,"path":140,"stem":141},"Share chains with add-ons","\u002Fguides\u002Fcustomize\u002Fshare-chains-with-addons","3.guides\u002F2.customize\u002F4.share-chains-with-addons",{"title":143,"path":144,"stem":145},"Publish an add-on","\u002Fguides\u002Fcustomize\u002Fpublish-an-add-on","3.guides\u002F2.customize\u002F5.publish-an-add-on",{"title":147,"path":148,"stem":149,"children":150},"Agents and harnesses","\u002Fguides\u002Fharnesses","3.guides\u002F3.harnesses\u002Findex",[151,152,156,160,164],{"title":10,"path":148,"stem":149},{"title":153,"path":154,"stem":155},"Switch a task to another harness","\u002Fguides\u002Fharnesses\u002Fswitch-harness","3.guides\u002F3.harnesses\u002F1.switch-harness",{"title":157,"path":158,"stem":159},"Add or override a harness","\u002Fguides\u002Fharnesses\u002Fadding-a-harness","3.guides\u002F3.harnesses\u002F2.adding-a-harness",{"title":161,"path":162,"stem":163},"Build a worker Kit","\u002Fguides\u002Fharnesses\u002Fworker-kit","3.guides\u002F3.harnesses\u002F3.worker-kit",{"title":165,"path":166,"stem":167},"Give a worker its login","\u002Fguides\u002Fharnesses\u002Fgive-a-worker-its-login","3.guides\u002F3.harnesses\u002F4.give-a-worker-its-login",{"title":169,"path":170,"stem":171,"children":172},"Run the server","\u002Fguides\u002Frun","3.guides\u002F4.run\u002Findex",[173,174,178,182,186,190,194,198,202,206,210,214,218,222,226],{"title":10,"path":170,"stem":171},{"title":175,"path":176,"stem":177},"Remote access","\u002Fguides\u002Frun\u002Fremote-access","3.guides\u002F4.run\u002F01.remote-access",{"title":179,"path":180,"stem":181},"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":183,"path":184,"stem":185},"Restart Kraft without ending running steps","\u002Fguides\u002Frun\u002Frestart-kraft","3.guides\u002F4.run\u002F03.restart-kraft",{"title":187,"path":188,"stem":189},"Back up and restore the database","\u002Fguides\u002Frun\u002Fback-up-and-restore","3.guides\u002F4.run\u002F04.back-up-and-restore",{"title":191,"path":192,"stem":193},"Find the logs","\u002Fguides\u002Frun\u002Ffind-the-logs","3.guides\u002F4.run\u002F05.find-the-logs",{"title":195,"path":196,"stem":197},"Run Kraft as a service","\u002Fguides\u002Frun\u002Frun-as-a-service","3.guides\u002F4.run\u002F06.run-as-a-service",{"title":199,"path":200,"stem":201},"Upgrade Kraft","\u002Fguides\u002Frun\u002Fupgrade-kraft","3.guides\u002F4.run\u002F07.upgrade-kraft",{"title":203,"path":204,"stem":205},"Move onto kraft-default","\u002Fguides\u002Frun\u002Fupgrade-your-configuration","3.guides\u002F4.run\u002F08.upgrade-your-configuration",{"title":207,"path":208,"stem":209},"Coming from 1.4","\u002Fguides\u002Frun\u002Fcoming-from-1-4","3.guides\u002F4.run\u002F09.coming-from-1-4",{"title":211,"path":212,"stem":213},"Free disk space","\u002Fguides\u002Frun\u002Ffree-disk-space","3.guides\u002F4.run\u002F10.free-disk-space",{"title":215,"path":216,"stem":217},"Rotate the token","\u002Fguides\u002Frun\u002Frotate-the-token","3.guides\u002F4.run\u002F11.rotate-the-token",{"title":219,"path":220,"stem":221},"Run items in your own checkout","\u002Fguides\u002Frun\u002Frun-items-in-place","3.guides\u002F4.run\u002F12.run-items-in-place",{"title":223,"path":224,"stem":225},"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":227,"path":228,"stem":229},"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":231,"path":232,"stem":233},"Kraft Lite","\u002Fguides\u002Fkraft-lite","3.guides\u002F5.kraft-lite",{"title":235,"path":236,"stem":237,"children":238},"Troubleshooting","\u002Ftroubleshooting","4.troubleshooting",[239,241,245,249,253,257,261,265,269,273,277,281],{"title":10,"path":236,"stem":240},"4.troubleshooting\u002Findex",{"title":242,"path":243,"stem":244},"Failed tasks and fix loops","\u002Ftroubleshooting\u002Ffailed-tasks-and-fix-loops","4.troubleshooting\u002F01.failed-tasks-and-fix-loops",{"title":246,"path":247,"stem":248},"Launch and setup stops","\u002Ftroubleshooting\u002Flaunch-and-setup-stops","4.troubleshooting\u002F02.launch-and-setup-stops",{"title":250,"path":251,"stem":252},"Caps, budgets and waits","\u002Ftroubleshooting\u002Fcaps-budgets-and-waits","4.troubleshooting\u002F03.caps-budgets-and-waits",{"title":254,"path":255,"stem":256},"Forge stops","\u002Ftroubleshooting\u002Fforge-stops","4.troubleshooting\u002F04.forge-stops",{"title":258,"path":259,"stem":260},"Worktree and git stops","\u002Ftroubleshooting\u002Fworktree-and-git-stops","4.troubleshooting\u002F05.worktree-and-git-stops",{"title":262,"path":263,"stem":264},"Sandbox and Kit stops","\u002Ftroubleshooting\u002Fsandbox-and-kit-stops","4.troubleshooting\u002F06.sandbox-and-kit-stops",{"title":266,"path":267,"stem":268},"A kind: os sandbox is refused","\u002Ftroubleshooting\u002Fos-sandbox-refusals","4.troubleshooting\u002F07.os-sandbox-refusals",{"title":270,"path":271,"stem":272},"Doctor failures","\u002Ftroubleshooting\u002Fdoctor-failures","4.troubleshooting\u002F08.doctor-failures",{"title":274,"path":275,"stem":276},"Starting and reaching Kraft","\u002Ftroubleshooting\u002Fstarting-and-reaching-kraft","4.troubleshooting\u002F09.starting-and-reaching-kraft",{"title":278,"path":279,"stem":280},"Add-on problems","\u002Ftroubleshooting\u002Faddon-problems","4.troubleshooting\u002F10.addon-problems",{"title":282,"path":283,"stem":284},"Add-on validation messages","\u002Ftroubleshooting\u002Faddon-validate-messages","4.troubleshooting\u002F11.addon-validate-messages",{"title":286,"path":287,"stem":288,"children":289},"Reference","\u002Freference","5.reference",[290,292,338,372,376,380,490,532,558,562,566,584,588,592,596],{"title":10,"path":287,"stem":291},"5.reference\u002Findex",{"title":293,"path":294,"stem":295,"children":296},"Web UI","\u002Freference\u002Fweb-ui","5.reference\u002F00.web-ui\u002Findex",[297,298,302,306,310,314,318,322,326,330,334],{"title":10,"path":294,"stem":295},{"title":299,"path":300,"stem":301},"Sidebar, search and keyboard","\u002Freference\u002Fweb-ui\u002Fsidebar-search-and-keyboard","5.reference\u002F00.web-ui\u002F0.sidebar-search-and-keyboard",{"title":303,"path":304,"stem":305},"The board","\u002Freference\u002Fweb-ui\u002Fboard","5.reference\u002F00.web-ui\u002F1.board",{"title":307,"path":308,"stem":309},"An item's page","\u002Freference\u002Fweb-ui\u002Fitem-page","5.reference\u002F00.web-ui\u002F2.item-page",{"title":311,"path":312,"stem":313},"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":315,"path":316,"stem":317},"Config before an item starts","\u002Freference\u002Fweb-ui\u002Fconfig-before-start","5.reference\u002F00.web-ui\u002F4.config-before-start",{"title":319,"path":320,"stem":321},"The review page","\u002Freference\u002Fweb-ui\u002Freview-page","5.reference\u002F00.web-ui\u002F5.review-page",{"title":323,"path":324,"stem":325},"Templates","\u002Freference\u002Fweb-ui\u002Ftemplates","5.reference\u002F00.web-ui\u002F6.templates",{"title":327,"path":328,"stem":329},"Settings","\u002Freference\u002Fweb-ui\u002Fsettings","5.reference\u002F00.web-ui\u002F7.settings",{"title":331,"path":332,"stem":333},"Analytics","\u002Freference\u002Fweb-ui\u002Fanalytics","5.reference\u002F00.web-ui\u002F8.analytics",{"title":335,"path":336,"stem":337},"The board on a phone","\u002Freference\u002Fweb-ui\u002Fon-a-phone","5.reference\u002F00.web-ui\u002F9.on-a-phone",{"title":339,"path":340,"stem":341,"children":342},"CLI","\u002Freference\u002Fcli","5.reference\u002F01.cli\u002Findex",[343,344,348,352,356,360,364,368],{"title":10,"path":340,"stem":341},{"title":345,"path":346,"stem":347},"Item verbs","\u002Freference\u002Fcli\u002Fitem","5.reference\u002F01.cli\u002F2.item",{"title":349,"path":350,"stem":351},"View verbs","\u002Freference\u002Fcli\u002Fview","5.reference\u002F01.cli\u002F3.view",{"title":353,"path":354,"stem":355},"Repo verbs","\u002Freference\u002Fcli\u002Frepo","5.reference\u002F01.cli\u002F4.repo",{"title":357,"path":358,"stem":359},"Server verbs","\u002Freference\u002Fcli\u002Fserver","5.reference\u002F01.cli\u002F5.server",{"title":361,"path":362,"stem":363},"Add-on verbs","\u002Freference\u002Fcli\u002Faddon","5.reference\u002F01.cli\u002F6.addon",{"title":365,"path":366,"stem":367},"Machine verbs","\u002Freference\u002Fcli\u002Fworker","5.reference\u002F01.cli\u002F7.worker",{"title":369,"path":370,"stem":371},"Forge verbs","\u002Freference\u002Fcli\u002Fforge","5.reference\u002F01.cli\u002F8.forge",{"title":373,"path":374,"stem":375},"Console","\u002Freference\u002Fconsole","5.reference\u002F01.console",{"title":377,"path":378,"stem":379},"Work item statuses","\u002Freference\u002Fstatuses","5.reference\u002F02.statuses",{"title":381,"path":382,"stem":383,"children":384},"Configuration","\u002Freference\u002Fconfiguration","5.reference\u002F03.configuration\u002Findex",[385,386,404,408,412,416,420,424,428,466,470,474,478,482,486],{"title":10,"path":382,"stem":383},{"title":387,"path":388,"stem":389,"children":390},"repos.yaml","\u002Freference\u002Fconfiguration\u002Frepos","5.reference\u002F03.configuration\u002F02.repos\u002Findex",[391,392,396,400],{"title":10,"path":388,"stem":389},{"title":393,"path":394,"stem":395},"How connect proposes commands","\u002Freference\u002Fconfiguration\u002Frepos\u002Fconnect-proposals","5.reference\u002F03.configuration\u002F02.repos\u002F1.connect-proposals",{"title":397,"path":398,"stem":399},"detectors.yaml","\u002Freference\u002Fconfiguration\u002Frepos\u002Fdetectors","5.reference\u002F03.configuration\u002F02.repos\u002F2.detectors",{"title":401,"path":402,"stem":403},"Workspaces","\u002Freference\u002Fconfiguration\u002Frepos\u002Fworkspaces","5.reference\u002F03.configuration\u002F02.repos\u002F3.workspaces",{"title":405,"path":406,"stem":407},"policy.yaml","\u002Freference\u002Fconfiguration\u002Fpolicy","5.reference\u002F03.configuration\u002F03.policy",{"title":409,"path":410,"stem":411},"Library and chains","\u002Freference\u002Fconfiguration\u002Flibrary-and-chains","5.reference\u002F03.configuration\u002F04.library-and-chains",{"title":413,"path":414,"stem":415},"access.yaml","\u002Freference\u002Fconfiguration\u002Faccess","5.reference\u002F03.configuration\u002F06.access",{"title":417,"path":418,"stem":419},"intake.yaml","\u002Freference\u002Fconfiguration\u002Fintake","5.reference\u002F03.configuration\u002F07.intake",{"title":421,"path":422,"stem":423},"notify.yaml","\u002Freference\u002Fconfiguration\u002Fnotify","5.reference\u002F03.configuration\u002F08.notify",{"title":425,"path":426,"stem":427},"theme.yaml","\u002Freference\u002Fconfiguration\u002Ftheme","5.reference\u002F03.configuration\u002F09.theme",{"title":429,"path":430,"stem":431,"children":432},"Sandboxed workers","\u002Freference\u002Fconfiguration\u002Fsandbox","5.reference\u002F03.configuration\u002F10.sandbox\u002Findex",[433,434,438,442,446,450,454,458,462],{"title":10,"path":430,"stem":431},{"title":435,"path":436,"stem":437},"Resource limits","\u002Freference\u002Fconfiguration\u002Fsandbox\u002Fresource-limits","5.reference\u002F03.configuration\u002F10.sandbox\u002F1.resource-limits",{"title":439,"path":440,"stem":441},"Callbacks from a sandbox","\u002Freference\u002Fconfiguration\u002Fsandbox\u002Fcallbacks","5.reference\u002F03.configuration\u002F10.sandbox\u002F2.callbacks",{"title":443,"path":444,"stem":445},"Network policy","\u002Freference\u002Fconfiguration\u002Fsandbox\u002Fnetwork-policy","5.reference\u002F03.configuration\u002F10.sandbox\u002F3.network-policy",{"title":447,"path":448,"stem":449},"Credentials","\u002Freference\u002Fconfiguration\u002Fsandbox\u002Fcredentials","5.reference\u002F03.configuration\u002F10.sandbox\u002F4.credentials",{"title":451,"path":452,"stem":453},"Kits","\u002Freference\u002Fconfiguration\u002Fsandbox\u002Fkits","5.reference\u002F03.configuration\u002F10.sandbox\u002F5.kits",{"title":455,"path":456,"stem":457},"sandbox.yaml","\u002Freference\u002Fconfiguration\u002Fsandbox\u002Fsandbox-yaml","5.reference\u002F03.configuration\u002F10.sandbox\u002F6.sandbox-yaml",{"title":459,"path":460,"stem":461},"Git in a sandbox","\u002Freference\u002Fconfiguration\u002Fsandbox\u002Fgit-in-a-sandbox","5.reference\u002F03.configuration\u002F10.sandbox\u002F7.git-in-a-sandbox",{"title":463,"path":464,"stem":465},"The OS sandbox","\u002Freference\u002Fconfiguration\u002Fsandbox\u002Fos-sandbox","5.reference\u002F03.configuration\u002F10.sandbox\u002F8.os-sandbox",{"title":467,"path":468,"stem":469},"Environment variables","\u002Freference\u002Fconfiguration\u002Fenvironment-variables","5.reference\u002F03.configuration\u002F11.environment-variables",{"title":471,"path":472,"stem":473},"Add-ons and collections","\u002Freference\u002Fconfiguration\u002Faddons","5.reference\u002F03.configuration\u002F12.addons",{"title":475,"path":476,"stem":477},"Repo libraries","\u002Freference\u002Fconfiguration\u002Frepo-libraries","5.reference\u002F03.configuration\u002F13.repo-libraries",{"title":479,"path":480,"stem":481},"update.yaml","\u002Freference\u002Fconfiguration\u002Fupdate","5.reference\u002F03.configuration\u002F14.update",{"title":483,"path":484,"stem":485},"workers.yaml","\u002Freference\u002Fconfiguration\u002Fworkers","5.reference\u002F03.configuration\u002F15.workers",{"title":487,"path":488,"stem":489},"forges.yaml","\u002Freference\u002Fconfiguration\u002Fforges","5.reference\u002F03.configuration\u002F16.forges",{"title":491,"path":492,"stem":493,"children":494},"Chain file keys","\u002Freference\u002Fchain-nodes","5.reference\u002F04.chain-nodes\u002Findex",[495,496,500,504,508,512,516,520,524,528],{"title":10,"path":492,"stem":493},{"title":497,"path":498,"stem":499},"The shipped chains","\u002Freference\u002Fchain-nodes\u002Fshipped-chains","5.reference\u002F04.chain-nodes\u002F1.shipped-chains",{"title":501,"path":502,"stem":503},"Subprocess tasks","\u002Freference\u002Fchain-nodes\u002Fsubprocess-tasks","5.reference\u002F04.chain-nodes\u002F2.subprocess-tasks",{"title":505,"path":506,"stem":507},"Fix loop and judge","\u002Freference\u002Fchain-nodes\u002Ffix-loop","5.reference\u002F04.chain-nodes\u002F3.fix-loop",{"title":509,"path":510,"stem":511},"Result file","\u002Freference\u002Fchain-nodes\u002Fresult-file","5.reference\u002F04.chain-nodes\u002F4.result-file",{"title":513,"path":514,"stem":515},"Merge queue and train drops","\u002Freference\u002Fchain-nodes\u002Fmerge-queue-drops","5.reference\u002F04.chain-nodes\u002F5.merge-queue-drops",{"title":517,"path":518,"stem":519},"What the final review approves","\u002Freference\u002Fchain-nodes\u002Ffinal-review-approval","5.reference\u002F04.chain-nodes\u002F6.final-review-approval",{"title":521,"path":522,"stem":523},"Waiting for a pipeline by ID","\u002Freference\u002Fchain-nodes\u002Fwait-for-a-pipeline","5.reference\u002F04.chain-nodes\u002F7.wait-for-a-pipeline",{"title":525,"path":526,"stem":527},"read_only","\u002Freference\u002Fchain-nodes\u002Fread-only","5.reference\u002F04.chain-nodes\u002F8.read-only",{"title":529,"path":530,"stem":531},"Step outputs","\u002Freference\u002Fchain-nodes\u002Fstep-outputs","5.reference\u002F04.chain-nodes\u002F9.step-outputs",{"title":533,"path":534,"stem":535,"children":536},"Agent harnesses","\u002Freference\u002Fharnesses","5.reference\u002F05.harnesses\u002Findex",[537,538,542,546,550,554],{"title":10,"path":534,"stem":535},{"title":539,"path":540,"stem":541},"Unattended runs","\u002Freference\u002Fharnesses\u002Funattended-runs","5.reference\u002F05.harnesses\u002F2.unattended-runs",{"title":543,"path":544,"stem":545},"Agent profiles","\u002Freference\u002Fharnesses\u002Fagent-profiles","5.reference\u002F05.harnesses\u002F3.agent-profiles",{"title":547,"path":548,"stem":549},"Harness definition files and harness profiles","\u002Freference\u002Fharnesses\u002Fharness-files","5.reference\u002F05.harnesses\u002F4.harness-files",{"title":551,"path":552,"stem":553},"Fallback and escalation","\u002Freference\u002Fharnesses\u002Ffallback-and-escalation","5.reference\u002F05.harnesses\u002F5.fallback-and-escalation",{"title":555,"path":556,"stem":557},"Cost reporting","\u002Freference\u002Fharnesses\u002Fcost-reporting","5.reference\u002F05.harnesses\u002F6.cost-reporting",{"title":559,"path":560,"stem":561},"Permission gate","\u002Freference\u002Fpermissions","5.reference\u002F06.permissions",{"title":563,"path":564,"stem":565},"Inbound triggers","\u002Freference\u002Ftriggers","5.reference\u002F07.triggers",{"title":567,"path":568,"stem":569,"children":570},"HTTP API","\u002Freference\u002Fhttp-api","5.reference\u002F08.http-api\u002Findex",[571,572,576,580],{"title":10,"path":568,"stem":569},{"title":573,"path":574,"stem":575},"Filing, reading and deciding work items","\u002Freference\u002Fhttp-api\u002Fwork-items","5.reference\u002F08.http-api\u002F2.work-items",{"title":577,"path":578,"stem":579},"The work item object","\u002Freference\u002Fhttp-api\u002Fwork-item-object","5.reference\u002F08.http-api\u002F4.work-item-object",{"title":581,"path":582,"stem":583},"Connecting a repo","\u002Freference\u002Fhttp-api\u002Fconnect-a-repo","5.reference\u002F08.http-api\u002F5.connect-a-repo",{"title":585,"path":586,"stem":587},"MCP tools","\u002Freference\u002Fmcp-tools","5.reference\u002F09.mcp-tools",{"title":589,"path":590,"stem":591},"Events","\u002Freference\u002Fevents","5.reference\u002F10.events",{"title":593,"path":594,"stem":595},"VS Code extension","\u002Freference\u002Fvscode-extension","5.reference\u002F11.vscode-extension",{"title":597,"path":598,"stem":599},"Kraft Lite reference","\u002Freference\u002Fkraft-lite","5.reference\u002F12.kraft-lite",{"title":601,"path":602,"stem":603,"children":604},"Project","\u002Fproject","6.project",[605,607,611,615,619,623,627,631,635],{"title":10,"path":602,"stem":606},"6.project\u002Findex",{"title":608,"path":609,"stem":610},"Security","\u002Fproject\u002Fsecurity","6.project\u002F1.security",{"title":612,"path":613,"stem":614},"Security in depth","\u002Fproject\u002Fsecurity-in-depth","6.project\u002F1.security-in-depth",{"title":616,"path":617,"stem":618},"Data and privacy","\u002Fproject\u002Fdata-and-privacy","6.project\u002F2.data-and-privacy",{"title":620,"path":621,"stem":622},"What's new","\u002Fproject\u002Fwhats-new","6.project\u002F3.whats-new",{"title":624,"path":625,"stem":626},"Status and support","\u002Fproject\u002Fstatus-and-support","6.project\u002F4.status-and-support",{"title":628,"path":629,"stem":630},"Architecture","\u002Fproject\u002Farchitecture","6.project\u002F5.architecture",{"title":632,"path":633,"stem":634},"Source map","\u002Fproject\u002Fsource-map","6.project\u002F6.source-map",{"title":636,"path":637,"stem":638},"Contributing","\u002Fproject\u002Fcontributing","6.project\u002F7.contributing",{"id":640,"title":471,"body":641,"description":4311,"extension":4312,"links":4313,"meta":4314,"navigation":4315,"path":472,"seo":4316,"stem":473,"__hash__":4317},"docs\u002F5.reference\u002F03.configuration\u002F12.addons.md",{"type":642,"value":643,"toc":4268},"minimark",[644,651,684,697,702,750,759,766,789,795,940,1120,1126,1131,1228,1456,1460,1465,1499,1524,1528,1531,1629,1648,1652,1655,1709,1712,1726,1730,1736,1803,1815,1818,1914,1927,1931,1941,1975,2043,2046,2112,2115,2118,2156,2180,2185,2317,2324,2328,2336,2439,2443,2465,2531,2534,2540,2590,2595,2621,2637,2643,2649,2769,2893,2897,2903,2961,2964,2995,3016,3030,3043,3047,3057,3061,3097,3119,3123,3126,3170,3173,3191,3195,3201,3207,3311,3317,3320,3324,3330,3336,3353,3356,3363,3369,3401,3476,3482,3486,3502,3509,3540,3544,3558,3569,3572,3586,3589,3603,3612,3615,3622,3660,3667,3671,3677,3729,3735,3739,3744,3758,3797,3804,3830,3932,3946,3962,3966,3971,3987,4217,4221,4264],[645,646,647],"p",{},[648,649,650],"em",{},"Added in 2.1",[645,652,653,654,659,660,664,665,669,670,674,675,679,680,683],{},"A ",[655,656,658],"a",{"href":657},"\u002Fconcepts\u002Fvocabulary#add-on","Kraft add-on"," is a directory of chains, library components, skills and agent profiles. A ",[655,661,663],{"href":662},"\u002Fconcepts\u002Fvocabulary#collection","collection"," is a git repository or a directory that lists add-ons. Kraft keeps no directory of collections, so you add each collection by its address, Kraft's own included (",[655,666,668],{"href":667},"\u002Fguides\u002Fcustomize\u002Fshare-chains-with-addons#install-krafts-own-add-ons","Install Kraft's own add-ons","), in one of the forms under ",[655,671,673],{"href":672},"#collection-sources","Collection sources",". ",[676,677,678],"code",{},"config\u002Faddons.yaml"," names the collections an instance knows and the add-ons it installed, and ",[676,681,682],{},"config\u002Faddons.lock"," records what each one resolved to.",[645,685,686,688,689,692,693,696],{},[655,687,139],{"href":140}," walks through publishing and installing one. The ",[676,690,691],{},"kraft admin addon"," verbs are in ",[655,694,361],{"href":695},"\u002Freference\u002Fcli\u002Faddon#install-and-update-add-ons",".",[698,699,701],"h2",{"id":700},"a-collections-layout","A collection's layout",[703,704,710],"pre",{"className":705,"code":707,"language":708,"meta":709},[706],"language-text","acme-kraft\u002F\n  .kraft\u002Fcollection.json\n  addons\u002F\n    release\u002F\n      .kraft\u002Faddon.json\n      library.yaml\n      profiles.yaml\n      chains\u002Fship.yaml\n      skills\u002Frelease-notes\u002FSKILL.md\n","text","",[676,711,712,718,722,726,730,734,738,742,746],{"__ignoreMap":709},[713,714,717],"span",{"className":715},[716],"line","acme-kraft\u002F\n",[713,719,721],{"className":720},[716],"  .kraft\u002Fcollection.json\n",[713,723,725],{"className":724},[716],"  addons\u002F\n",[713,727,729],{"className":728},[716],"    release\u002F\n",[713,731,733],{"className":732},[716],"      .kraft\u002Faddon.json\n",[713,735,737],{"className":736},[716],"      library.yaml\n",[713,739,741],{"className":740},[716],"      profiles.yaml\n",[713,743,745],{"className":744},[716],"      chains\u002Fship.yaml\n",[713,747,749],{"className":748},[716],"      skills\u002Frelease-notes\u002FSKILL.md\n",[645,751,752,755,756,696],{},[676,753,754],{},".kraft\u002Fcollection.json"," sits at the root of the collection. Each add-on is a directory inside it with its own ",[676,757,758],{},".kraft\u002Faddon.json",[645,760,761,762,765],{},"Both manifests are JSON. Kraft ignores a top-level key it doesn't read, so a manifest written for a newer Kraft still loads, and ",[676,763,764],{},"kraft admin addon validate"," lists each such key as a warning. The JSON Schemas are published for editors:",[767,768,769,780],"ul",{},[770,771,772],"li",{},[655,773,777],{"href":774,"rel":775},"https:\u002F\u002Fkraft-sdlc.dev\u002Fschemas\u002Fcollection.schema.json",[776],"nofollow",[676,778,779],{},"collection.schema.json",[770,781,782],{},[655,783,786],{"href":784,"rel":785},"https:\u002F\u002Fkraft-sdlc.dev\u002Fschemas\u002Faddon.schema.json",[776],[676,787,788],{},"addon.schema.json",[698,790,792],{"id":791},"collectionjson",[676,793,794],{},"collection.json",[703,796,800],{"className":797,"code":798,"filename":754,"language":799,"meta":709,"style":709},"language-json shiki shiki-themes github-light-high-contrast github-light-high-contrast github-dark-high-contrast","{\n  \"$schema\": \"https:\u002F\u002Fkraft-sdlc.dev\u002Fschemas\u002Fcollection.schema.json\",\n  \"name\": \"acme\",\n  \"description\": \"ACME's Kraft chains and review methods\",\n  \"owner\": { \"name\": \"ACME Platform\", \"email\": \"platform@acme.dev\" },\n  \"addons\": [\n    { \"name\": \"release\", \"source\": \".\u002Faddons\u002Frelease\", \"description\": \"Release chains\" }\n  ]\n}\n","json",[676,801,802,809,826,839,852,883,892,928,934],{"__ignoreMap":709},[713,803,805],{"class":716,"line":804},1,[713,806,808],{"class":807},"s7iLA","{\n",[713,810,812,816,819,823],{"class":716,"line":811},2,[713,813,815],{"class":814},"sb7M8","  \"$schema\"",[713,817,818],{"class":807},": ",[713,820,822],{"class":821},"semJd","\"https:\u002F\u002Fkraft-sdlc.dev\u002Fschemas\u002Fcollection.schema.json\"",[713,824,825],{"class":807},",\n",[713,827,829,832,834,837],{"class":716,"line":828},3,[713,830,831],{"class":814},"  \"name\"",[713,833,818],{"class":807},[713,835,836],{"class":821},"\"acme\"",[713,838,825],{"class":807},[713,840,842,845,847,850],{"class":716,"line":841},4,[713,843,844],{"class":814},"  \"description\"",[713,846,818],{"class":807},[713,848,849],{"class":821},"\"ACME's Kraft chains and review methods\"",[713,851,825],{"class":807},[713,853,855,858,861,864,866,869,872,875,877,880],{"class":716,"line":854},5,[713,856,857],{"class":814},"  \"owner\"",[713,859,860],{"class":807},": { ",[713,862,863],{"class":814},"\"name\"",[713,865,818],{"class":807},[713,867,868],{"class":821},"\"ACME Platform\"",[713,870,871],{"class":807},", ",[713,873,874],{"class":814},"\"email\"",[713,876,818],{"class":807},[713,878,879],{"class":821},"\"platform@acme.dev\"",[713,881,882],{"class":807}," },\n",[713,884,886,889],{"class":716,"line":885},6,[713,887,888],{"class":814},"  \"addons\"",[713,890,891],{"class":807},": [\n",[713,893,895,898,900,902,905,907,910,912,915,917,920,922,925],{"class":716,"line":894},7,[713,896,897],{"class":807},"    { ",[713,899,863],{"class":814},[713,901,818],{"class":807},[713,903,904],{"class":821},"\"release\"",[713,906,871],{"class":807},[713,908,909],{"class":814},"\"source\"",[713,911,818],{"class":807},[713,913,914],{"class":821},"\".\u002Faddons\u002Frelease\"",[713,916,871],{"class":807},[713,918,919],{"class":814},"\"description\"",[713,921,818],{"class":807},[713,923,924],{"class":821},"\"Release chains\"",[713,926,927],{"class":807}," }\n",[713,929,931],{"class":716,"line":930},8,[713,932,933],{"class":807},"  ]\n",[713,935,937],{"class":716,"line":936},9,[713,938,939],{"class":807},"}\n",[941,942,943,962],"table",{},[944,945,946],"thead",{},[947,948,949,953,956,959],"tr",{},[950,951,952],"th",{},"Field",[950,954,955],{},"Type",[950,957,958],{},"Required",[950,960,961],{},"Meaning",[963,964,965,992,1008,1037,1056,1074,1106],"tbody",{},[947,966,967,973,978,981],{},[968,969,970],"td",{},[676,971,972],{},"name",[968,974,975],{},[655,976,972],{"href":977},"#names",[968,979,980],{},"yes",[968,982,983,984,987,988,991],{},"The collection's id: its key in ",[676,985,986],{},"addons.yaml",", and the part after ",[676,989,990],{},"@"," in an add-on ID.",[947,993,994,999,1002,1005],{},[968,995,996],{},[676,997,998],{},"description",[968,1000,1001],{},"string",[968,1003,1004],{},"no",[968,1006,1007],{},"What the collection holds.",[947,1009,1010,1015,1018,1020],{},[968,1011,1012],{},[676,1013,1014],{},"owner",[968,1016,1017],{},"object",[968,1019,980],{},[968,1021,1022,1024,1025,1028,1029,1032,1033,1036],{},[676,1023,972],{}," and ",[676,1026,1027],{},"email",", both required, and an optional ",[676,1030,1031],{},"url",", which is an absolute ",[676,1034,1035],{},"https:\u002F\u002F"," URL.",[947,1038,1039,1044,1047,1049],{},[968,1040,1041],{},[676,1042,1043],{},"addons",[968,1045,1046],{},"list",[968,1048,980],{},[968,1050,1051,1052,1055],{},"At least one entry. No name is listed twice, and no entry's ",[676,1053,1054],{},"source"," is inside another's.",[947,1057,1058,1063,1065,1067],{},[968,1059,1060],{},[676,1061,1062],{},"addons[].name",[968,1064,972],{},[968,1066,980],{},[968,1068,1069,1070,1073],{},"The same name the add-on's own ",[676,1071,1072],{},"addon.json"," declares.",[947,1075,1076,1081,1083,1085],{},[968,1077,1078],{},[676,1079,1080],{},"addons[].source",[968,1082,1001],{},[968,1084,980],{},[968,1086,1087,1088,1091,1092,1094,1095,1098,1099,1102,1103,696],{},"The add-on's directory: ",[676,1089,1090],{},".\u002F"," and a relative path, with no ",[676,1093,696],{}," or ",[676,1096,1097],{},".."," segment, no trailing ",[676,1100,1101],{},"\u002F",", and not inside ",[676,1104,1105],{},".kraft\u002F",[947,1107,1108,1113,1115,1117],{},[968,1109,1110],{},[676,1111,1112],{},"addons[].description",[968,1114,1001],{},[968,1116,1004],{},[968,1118,1119],{},"What the add-on holds.",[645,1121,1122,1123,1125],{},"An add-on lives in its collection's own repository. A ",[676,1124,1054],{}," that isn't a relative path is refused.",[698,1127,1129],{"id":1128},"addonjson",[676,1130,1072],{},[703,1132,1135],{"className":797,"code":1133,"filename":1134,"language":799,"meta":709,"style":709},"{\n  \"$schema\": \"https:\u002F\u002Fkraft-sdlc.dev\u002Fschemas\u002Faddon.schema.json\",\n  \"name\": \"release\",\n  \"version\": \"1.0.0\",\n  \"description\": \"Release chains\",\n  \"requires\": { \"kraft\": \"2\", \"harnesses\": [\"claude\"], \"profiles\": [\"strong\"] }\n}\n","addons\u002Frelease\u002F.kraft\u002Faddon.json",[676,1136,1137,1141,1152,1162,1174,1184,1224],{"__ignoreMap":709},[713,1138,1139],{"class":716,"line":804},[713,1140,808],{"class":807},[713,1142,1143,1145,1147,1150],{"class":716,"line":811},[713,1144,815],{"class":814},[713,1146,818],{"class":807},[713,1148,1149],{"class":821},"\"https:\u002F\u002Fkraft-sdlc.dev\u002Fschemas\u002Faddon.schema.json\"",[713,1151,825],{"class":807},[713,1153,1154,1156,1158,1160],{"class":716,"line":828},[713,1155,831],{"class":814},[713,1157,818],{"class":807},[713,1159,904],{"class":821},[713,1161,825],{"class":807},[713,1163,1164,1167,1169,1172],{"class":716,"line":841},[713,1165,1166],{"class":814},"  \"version\"",[713,1168,818],{"class":807},[713,1170,1171],{"class":821},"\"1.0.0\"",[713,1173,825],{"class":807},[713,1175,1176,1178,1180,1182],{"class":716,"line":854},[713,1177,844],{"class":814},[713,1179,818],{"class":807},[713,1181,924],{"class":821},[713,1183,825],{"class":807},[713,1185,1186,1189,1191,1194,1196,1199,1201,1204,1207,1210,1213,1216,1218,1221],{"class":716,"line":885},[713,1187,1188],{"class":814},"  \"requires\"",[713,1190,860],{"class":807},[713,1192,1193],{"class":814},"\"kraft\"",[713,1195,818],{"class":807},[713,1197,1198],{"class":821},"\"2\"",[713,1200,871],{"class":807},[713,1202,1203],{"class":814},"\"harnesses\"",[713,1205,1206],{"class":807},": [",[713,1208,1209],{"class":821},"\"claude\"",[713,1211,1212],{"class":807},"], ",[713,1214,1215],{"class":814},"\"profiles\"",[713,1217,1206],{"class":807},[713,1219,1220],{"class":821},"\"strong\"",[713,1222,1223],{"class":807},"] }\n",[713,1225,1226],{"class":716,"line":894},[713,1227,939],{"class":807},[941,1229,1230,1242],{},[944,1231,1232],{},[947,1233,1234,1236,1238,1240],{},[950,1235,952],{},[950,1237,955],{},[950,1239,958],{},[950,1241,961],{},[963,1243,1244,1262,1283,1295,1318,1334,1348,1365,1389,1412,1439],{},[947,1245,1246,1250,1254,1256],{},[968,1247,1248],{},[676,1249,972],{},[968,1251,1252],{},[655,1253,972],{"href":977},[968,1255,980],{},[968,1257,1258,1259,696],{},"The add-on's name and its default namespace. Never ",[676,1260,1261],{},"kraft",[947,1263,1264,1269,1271,1273],{},[968,1265,1266],{},[676,1267,1268],{},"version",[968,1270,1001],{},[968,1272,980],{},[968,1274,1275,1278,1279,1282],{},[676,1276,1277],{},"MAJOR.MINOR.PATCH",", with an optional pre-release suffix such as ",[676,1280,1281],{},"2.0.0-rc.1",". No build metadata.",[947,1284,1285,1289,1291,1293],{},[968,1286,1287],{},[676,1288,998],{},[968,1290,1001],{},[968,1292,1004],{},[968,1294,1119],{},[947,1296,1297,1302,1304,1306],{},[968,1298,1299],{},[676,1300,1301],{},"author",[968,1303,1017],{},[968,1305,1004],{},[968,1307,1308,1024,1310,1312,1313,1315,1316,696],{},[676,1309,972],{},[676,1311,1027],{},", both required when ",[676,1314,1301],{}," is given, and an optional ",[676,1317,1031],{},[947,1319,1320,1325,1327,1329],{},[968,1321,1322],{},[676,1323,1324],{},"homepage",[968,1326,1001],{},[968,1328,1004],{},[968,1330,1331,1332,1036],{},"An absolute ",[676,1333,1035],{},[947,1335,1336,1341,1343,1345],{},[968,1337,1338],{},[676,1339,1340],{},"license",[968,1342,1001],{},[968,1344,1004],{},[968,1346,1347],{},"The licence's name.",[947,1349,1350,1355,1357,1359],{},[968,1351,1352],{},[676,1353,1354],{},"requires",[968,1356,1017],{},[968,1358,980],{},[968,1360,1361,1362,696],{},"What the add-on needs from the instance. An unknown key inside it is refused: ",[676,1363,1364],{},"requires.\u003Ckey> is not understood by this Kraft; upgrade Kraft",[947,1366,1367,1372,1374,1376],{},[968,1368,1369],{},[676,1370,1371],{},"requires.kraft",[968,1373,1001],{},[968,1375,980],{},[968,1377,1378,1094,1381,1384,1385,696],{},[676,1379,1380],{},"MAJOR",[676,1382,1383],{},"MAJOR.MINOR",". See ",[655,1386,1388],{"href":1387},"#which-kraft-an-add-on-runs-on","Which Kraft an add-on runs on",[947,1390,1391,1396,1399,1401],{},[968,1392,1393],{},[676,1394,1395],{},"requires.harnesses",[968,1397,1398],{},"list of names",[968,1400,1004],{},[968,1402,1403,1407,1408,1411],{},[655,1404,1406],{"href":1405},"\u002Fconcepts\u002Fvocabulary#harness-profile","Harness profile"," IDs the instance's ",[676,1409,1410],{},"harnesses.yaml"," defines. The add-on's tasks name only these.",[947,1413,1414,1419,1421,1423],{},[968,1415,1416],{},[676,1417,1418],{},"requires.addons",[968,1420,1017],{},[968,1422,1004],{},[968,1424,1425,1426,1429,1430,1384,1432,674,1436],{},"The one add-on this one builds on, as ",[676,1427,1428],{},"{ \"\u003Caddon>@\u003Ccollection>\": \"\u003Crange>\" }","; the range has the form of ",[676,1431,1371],{},[655,1433,1435],{"href":1434},"\u002Fguides\u002Fcustomize\u002Fpublish-an-add-on#build-on-another-add-on","Build on another add-on",[648,1437,1438],{},"Added in 2.3",[947,1440,1441,1446,1448,1450],{},[968,1442,1443],{},[676,1444,1445],{},"requires.profiles",[968,1447,1398],{},[968,1449,1004],{},[968,1451,1452,1455],{},[655,1453,543],{"href":1454},"\u002Fconcepts\u002Fvocabulary#agent-profile"," of the instance that the add-on's tasks select by bare name.",[1457,1458,1388],"h3",{"id":1459},"which-kraft-an-add-on-runs-on",[645,1461,1462,1464],{},[676,1463,1371],{}," names the oldest Kraft the add-on runs on, and that version's major is the only one it runs on.",[941,1466,1467,1478],{},[944,1468,1469],{},[947,1470,1471,1475],{},[950,1472,1473],{},[676,1474,1371],{},[950,1476,1477],{},"Runs on",[963,1479,1480,1489],{},[947,1481,1482,1486],{},[968,1483,1484],{},[676,1485,1198],{},[968,1487,1488],{},"Any 2.x.",[947,1490,1491,1496],{},[968,1492,1493],{},[676,1494,1495],{},"\"2.4\"",[968,1497,1498],{},"2.4.0 or later, below 3.0.0.",[767,1500,1501,1506,1517],{},[770,1502,1503,1504,696],{},"Only the release part of Kraft's version counts, so a release candidate of 2.4.0 satisfies ",[676,1505,1495],{},[770,1507,1508,1509,1511,1512,1516],{},"An add-on whose ",[676,1510,1371],{}," doesn't hold is refused at validate, install and update, and ",[655,1513,1515],{"href":1514},"#what-loads","left out"," at load.",[770,1518,1519,1520,1523],{},"A source build of Kraft, such as a checkout, skips the check. ",[676,1521,1522],{},"validate"," says so.",[698,1525,1527],{"id":1526},"an-add-ons-files","An add-on's files",[645,1529,1530],{},"Kraft reads these files of an add-on directory and nothing else. Each is optional, and an add-on with none of them is refused.",[941,1532,1533,1543],{},[944,1534,1535],{},[947,1536,1537,1540],{},[950,1538,1539],{},"Path",[950,1541,1542],{},"Holds",[963,1544,1545,1571,1593,1607],{},[947,1546,1547,1552],{},[968,1548,1549],{},[676,1550,1551],{},"library.yaml",[968,1553,1554,1555,871,1558,871,1561,1024,1564,1567,1568,696],{},"The ",[676,1556,1557],{},"tasks",[676,1559,1560],{},"steps",[676,1562,1563],{},"nodes",[676,1565,1566],{},"steering"," sections, as in ",[655,1569,1570],{"href":410},"the local file",[947,1572,1573,1578],{},[968,1574,1575],{},[676,1576,1577],{},"chains\u002F\u003Cname>.yaml",[968,1579,1580,1581,1584,1585,1588,1589,1592],{},"One chain per file, as in ",[676,1582,1583],{},"config\u002Fchains\u002F",". The chain is named by its ",[676,1586,1587],{},"id",", or by ",[676,1590,1591],{},"\u003Cname>"," when it has none.",[947,1594,1595,1600],{},[968,1596,1597],{},[676,1598,1599],{},"skills\u002F\u003Cname>\u002FSKILL.md",[968,1601,1602,1603,1606],{},"One method per directory. Kraft reads the ",[676,1604,1605],{},"SKILL.md"," and no file beside it.",[947,1608,1609,1614],{},[968,1610,1611],{},[676,1612,1613],{},"profiles.yaml",[968,1615,653,1616,1619,1620,1624,1625,1628],{},[676,1617,1618],{},"profiles:"," section, in the shape of ",[655,1621,1623],{"href":1622},"\u002Freference\u002Fharnesses\u002Fagent-profiles#define-an-agent-profile","agent profiles",". A ",[676,1626,1627],{},"harnesses"," key is refused.",[645,1630,1631,1632,1634,1635,1637,1638,1094,1641,1644,1645,1647],{},"Each ",[676,1633,1591],{}," is a ",[655,1636,972],{"href":977},". A file that looks like part of the layout and isn't, such as ",[676,1639,1640],{},"chains\u002FShip.yaml",[676,1642,1643],{},"library.yml",", isn't read, and ",[676,1646,1522],{}," warns about it. Any other file in the directory never reaches Kraft.",[1457,1649,1651],{"id":1650},"size-and-content-limits","Size and content limits",[645,1653,1654],{},"An add-on over one of these limits is refused, and the message names the file.",[941,1656,1657,1667],{},[944,1658,1659],{},[947,1660,1661,1664],{},[950,1662,1663],{},"Limit",[950,1665,1666],{},"Value",[963,1668,1669,1677,1685,1693,1701],{},[947,1670,1671,1674],{},[968,1672,1673],{},"Each YAML file",[968,1675,1676],{},"1 MiB, and 20,000 YAML nodes with each use of an alias counted",[947,1678,1679,1682],{},[968,1680,1681],{},"Each JSON manifest",[968,1683,1684],{},"256 KiB",[947,1686,1687,1691],{},[968,1688,1631,1689],{},[676,1690,1605],{},[968,1692,1684],{},[947,1694,1695,1698],{},[968,1696,1697],{},"Files in one add-on",[968,1699,1700],{},"500",[947,1702,1703,1706],{},[968,1704,1705],{},"One add-on in all",[968,1707,1708],{},"20 MiB",[645,1710,1711],{},"Every file is a regular file holding UTF-8 text. These are refused:",[767,1713,1714,1717,1720,1723],{},[770,1715,1716],{},"a symlink or a git submodule where a layout file or folder would be;",[770,1718,1719],{},"a Git LFS pointer in place of the file;",[770,1721,1722],{},"a file or a manifest string that carries a control character other than newline and tab, or a Unicode format character such as a bidi control or a zero-width character;",[770,1724,1725],{},"in a directory collection, a layout file with a second hard link.",[1457,1727,1729],{"id":1728},"what-an-add-on-may-set","What an add-on may set",[645,1731,653,1732,1735],{},[676,1733,1734],{},"policy:"," block in an add-on, at any level, takes only these keys:",[941,1737,1738,1748],{},[944,1739,1740],{},[947,1741,1742,1745],{},[950,1743,1744],{},"Key",[950,1746,1747],{},"Limits",[963,1749,1750,1766,1779,1789],{},[947,1751,1752,1763],{},[968,1753,1754,871,1757,871,1760],{},[676,1755,1756],{},"time_cap_minutes",[676,1758,1759],{},"total_time_cap_minutes",[676,1761,1762],{},"timeout_minutes",[968,1764,1765],{},"How long.",[947,1767,1768,1776],{},[968,1769,1770,871,1773],{},[676,1771,1772],{},"budget_usd",[676,1774,1775],{},"token_budget",[968,1777,1778],{},"How much.",[947,1780,1781,1786],{},[968,1782,1783],{},[676,1784,1785],{},"max_attempts",[968,1787,1788],{},"How many times.",[947,1790,1791,1796],{},[968,1792,1793],{},[676,1794,1795],{},"deny_tools",[968,1797,1798,1799,1802],{},"Which tools the ",[655,1800,1801],{"href":560},"permission gate"," denies.",[645,1804,1805,1810,1811,1814],{},[655,1806,1808],{"href":1807},"\u002Freference\u002Fconfiguration\u002Fpolicy#defaults-and-maxima",[676,1809,405],{}," defines each key. A limit above the instance's ",[676,1812,1813],{},"maxima:"," is refused.",[645,1816,1817],{},"An add-on is refused, with the file and key named, when it holds any of these:",[767,1819,1820,1827,1845,1858,1865,1880,1883,1889,1900],{},[770,1821,1822,1823,1826],{},"a task of ",[676,1824,1825],{},"kind: subprocess",";",[770,1828,1829,1830,1832,1833,871,1836,871,1839,1094,1842,1826],{},"any other ",[676,1831,1734],{}," key, such as ",[676,1834,1835],{},"allowed_tools",[676,1837,1838],{},"grants",[676,1840,1841],{},"sandbox",[676,1843,1844],{},"allowed_harnesses",[770,1846,1847,1848,1851,1852,1854,1855,1826],{},"a ",[676,1849,1850],{},"harness:"," that ",[676,1853,1395],{}," doesn't list, in a task or in an agent profile's ",[676,1856,1857],{},"fallback",[770,1859,1847,1860,1862,1863,1826],{},[676,1861,1627],{}," section in ",[676,1864,1613],{},[770,1866,1867,1868,871,1871,1094,1873,1876,1877,1879],{},"a qualified ",[676,1869,1870],{},"extends",[676,1872,1566],{},[676,1874,1875],{},"profile"," that names anything but the add-on itself, an agent profile's ",[676,1878,1857],{}," included;",[770,1881,1882],{},"a file nested deeper than its parser reads;",[770,1884,1847,1885,1888],{},[676,1886,1887],{},"skill"," that names another installed add-on;",[770,1890,1847,1891,1893,1894,1896,1897,696],{},[676,1892,1887],{}," that names a connected repository's ",[676,1895,1587],{},", which is reserved for that repository's ",[655,1898,1899],{"href":476},"repo library",[770,1901,1902,1903,1906,1907,1909,1910,1913],{},"an ",[676,1904,1905],{},"addons:"," key in ",[676,1908,1551],{},": there are no add-on dependencies. Only a ",[655,1911,1899],{"href":1912},"\u002Freference\u002Fconfiguration\u002Frepo-libraries#building-on-an-add-ons-chain"," lists add-ons.",[645,1915,1916,1024,1919,1922,1923,1926],{},[676,1917,1918],{},"builtin",[676,1920,1921],{},"forge"," tasks are allowed, ",[676,1924,1925],{},"mr.merge"," included.",[698,1928,1930],{"id":1929},"names","Names",[645,1932,1933,1934,1094,1937,1940],{},"A name is a lowercase letter, then lowercase letters, digits, ",[676,1935,1936],{},"_",[676,1938,1939],{},"-",". A collection name, an add-on name and an alias are at most 64 characters.",[767,1942,1943,1957,1966],{},[770,1944,1945,1949,1950,1953,1954,696],{},[1946,1947,1948],"strong",{},"An add-on ID"," is ",[676,1951,1952],{},"\u003Caddon>@\u003Ccollection>",", such as ",[676,1955,1956],{},"release@acme",[770,1958,1959,1962,1963,696],{},[1946,1960,1961],{},"A namespace"," is the add-on's name, or the alias it was installed under with ",[676,1964,1965],{},"--as",[770,1967,1968,1949,1971,1974],{},[1946,1969,1970],{},"A qualified name",[676,1972,1973],{},"\u003Cnamespace>:\u003Cname>",". Everything an add-on declares is addressed that way from outside it.",[941,1976,1977,1987],{},[944,1978,1979],{},[947,1980,1981,1984],{},[950,1982,1983],{},"What",[950,1985,1986],{},"Qualified reference",[963,1988,1989,2002,2013,2023,2033],{},[947,1990,1991,1994],{},[968,1992,1993],{},"A chain",[968,1995,1996,871,1999],{},[676,1997,1998],{},"--chain release:ship",[676,2000,2001],{},"default_chain: release:ship",[947,2003,2004,2007],{},[968,2005,2006],{},"A task, step or node",[968,2008,2009,2012],{},[676,2010,2011],{},"extends: release:implementer",", also in a node a chain revision or an item draft adds",[947,2014,2015,2018],{},[968,2016,2017],{},"A steering profile",[968,2019,2020],{},[676,2021,2022],{},"steering: [release:house-style]",[947,2024,2025,2028],{},[968,2026,2027],{},"A skill",[968,2029,2030],{},[676,2031,2032],{},"skill: release:release-notes",[947,2034,2035,2038],{},[968,2036,2037],{},"An agent profile",[968,2039,2040],{},[676,2041,2042],{},"profile: release:careful",[645,2044,2045],{},"Inside an add-on's own files, a reference resolves like this:",[941,2047,2048,2060],{},[944,2049,2050],{},[947,2051,2052,2054,2057],{},[950,2053,1744],{},[950,2055,2056],{},"A bare name means",[950,2058,2059],{},"Qualified",[963,2061,2062,2085,2099],{},[947,2063,2064,2072,2075],{},[968,2065,2066,871,2068,871,2070],{},[676,2067,1870],{},[676,2069,1566],{},[676,2071,1887],{},[968,2073,2074],{},"The add-on's own declaration.",[968,2076,2077,2078,2080,2081,2084],{},"The add-on's own name only. A ",[676,2079,1887],{}," may also name ",[676,2082,2083],{},"kraft:"," or another tool's plugin.",[947,2086,2087,2091,2094],{},[968,2088,2089],{},[676,2090,1875],{},[968,2092,2093],{},"The instance's agent profile.",[968,2095,2096,2097,696],{},"The add-on's own name, for a profile in its ",[676,2098,1613],{},[947,2100,2101,2106,2109],{},[968,2102,2103],{},[676,2104,2105],{},"harness",[968,2107,2108],{},"The instance's harness profile.",[968,2110,2111],{},"Never qualified.",[645,2113,2114],{},"A reference an add-on makes to its own name follows the alias, so an add-on installed under another namespace works unchanged.",[645,2116,2117],{},"These rules keep namespaces apart:",[767,2119,2120,2130,2133,2141,2153],{},[770,2121,2122,2124,2125,2127,2128,696],{},[676,2123,1261],{}," is reserved. No add-on is named ",[676,2126,1261],{}," and no alias is ",[676,2129,1261],{},[770,2131,2132],{},"A namespace is unique on the instance, a disabled add-on's included. A second add-on of the same name needs an alias.",[770,2134,2135,2136,2138,2139,696],{},"A namespace never equals the ",[676,2137,1587],{}," of an entry in ",[676,2140,387],{},[770,2142,2143,2144,2146,2147,2149,2150,696],{},"A local chain ID, ",[676,2145,1551],{}," key or ",[676,2148,1410],{}," agent profile ID never contains ",[676,2151,2152],{},":",[770,2154,2155],{},"A bare name in local configuration never resolves to an add-on's declaration.",[645,2157,653,2158,2161,2162,2164,2165,2167,2168,2171,2172,1384,2175,2179],{},[676,2159,2160],{},"skill:"," whose qualifier isn't a loaded add-on's namespace or ",[676,2163,1261],{}," is handed to the agent as another tool's plugin skill, except a connected repository's ",[676,2166,1587],{},": it is never handed over, whether or not that repository's library is accepted. A launch that reads ",[676,2169,2170],{},"\u003Crepo-id>:\u003Cskill>"," with no accepted library stops with ",[676,2173,2174],{},"repository 'my-repo' has no accepted repo library",[655,2176,2178],{"href":2177},"\u002Freference\u002Fconfiguration\u002Frepo-libraries#who-can-name-it","Who can name it",". A qualifier that is an installed add-on that didn't load is an error.",[698,2181,2183],{"id":2182},"addonsyaml",[676,2184,986],{},[703,2186,2190],{"className":2187,"code":2188,"filename":678,"language":2189,"meta":709,"style":709},"language-yaml shiki shiki-themes github-light-high-contrast github-light-high-contrast github-dark-high-contrast","collections:\n  acme:\n    git: https:\u002F\u002Fgithub.com\u002Facme\u002Fkraft-addons.git\n    ref: main\n  local:\n    path: \u002Fhome\u002Fyou\u002Fsrc\u002Fmy-addons\naddons:\n  release@acme: true\n  review-methods@acme: { auto_update: true }\n  mobile@acme: { as: acme-mobile }\n  legacy@acme: false\n  tools@local: true\n","yaml",[676,2191,2192,2200,2207,2217,2227,2234,2244,2250,2261,2278,2296,2307],{"__ignoreMap":709},[713,2193,2194,2197],{"class":716,"line":804},[713,2195,2196],{"class":814},"collections",[713,2198,2199],{"class":807},":\n",[713,2201,2202,2205],{"class":716,"line":811},[713,2203,2204],{"class":814},"  acme",[713,2206,2199],{"class":807},[713,2208,2209,2212,2214],{"class":716,"line":828},[713,2210,2211],{"class":814},"    git",[713,2213,818],{"class":807},[713,2215,2216],{"class":821},"https:\u002F\u002Fgithub.com\u002Facme\u002Fkraft-addons.git\n",[713,2218,2219,2222,2224],{"class":716,"line":841},[713,2220,2221],{"class":814},"    ref",[713,2223,818],{"class":807},[713,2225,2226],{"class":821},"main\n",[713,2228,2229,2232],{"class":716,"line":854},[713,2230,2231],{"class":814},"  local",[713,2233,2199],{"class":807},[713,2235,2236,2239,2241],{"class":716,"line":885},[713,2237,2238],{"class":814},"    path",[713,2240,818],{"class":807},[713,2242,2243],{"class":821},"\u002Fhome\u002Fyou\u002Fsrc\u002Fmy-addons\n",[713,2245,2246,2248],{"class":716,"line":894},[713,2247,1043],{"class":814},[713,2249,2199],{"class":807},[713,2251,2252,2255,2257],{"class":716,"line":930},[713,2253,2254],{"class":814},"  release@acme",[713,2256,818],{"class":807},[713,2258,2260],{"class":2259},"ssYy9","true\n",[713,2262,2263,2266,2268,2271,2273,2276],{"class":716,"line":936},[713,2264,2265],{"class":814},"  review-methods@acme",[713,2267,860],{"class":807},[713,2269,2270],{"class":814},"auto_update",[713,2272,818],{"class":807},[713,2274,2275],{"class":2259},"true",[713,2277,927],{"class":807},[713,2279,2281,2284,2286,2289,2291,2294],{"class":716,"line":2280},10,[713,2282,2283],{"class":814},"  mobile@acme",[713,2285,860],{"class":807},[713,2287,2288],{"class":814},"as",[713,2290,818],{"class":807},[713,2292,2293],{"class":821},"acme-mobile",[713,2295,927],{"class":807},[713,2297,2299,2302,2304],{"class":716,"line":2298},11,[713,2300,2301],{"class":814},"  legacy@acme",[713,2303,818],{"class":807},[713,2305,2306],{"class":2259},"false\n",[713,2308,2310,2313,2315],{"class":716,"line":2309},12,[713,2311,2312],{"class":814},"  tools@local",[713,2314,818],{"class":807},[713,2316,2260],{"class":2259},[645,2318,2319,2320,2323],{},"Kraft never seeds this file: ",[676,2321,2322],{},"kraft admin addon collection add"," creates it. You may edit it by hand. A key Kraft doesn't read is refused at every level, with the key named.",[1457,2325,2326],{"id":2196},[676,2327,2196],{},[645,2329,2330,2331,2333,2334,1073],{},"Each key is the ",[676,2332,972],{}," the collection's ",[676,2335,794],{},[941,2337,2338,2351],{},[944,2339,2340],{},[947,2341,2342,2344,2346,2349],{},[950,2343,952],{},[950,2345,955],{},[950,2347,2348],{},"Default",[950,2350,961],{},[963,2352,2353,2375,2396,2413],{},[947,2354,2355,2360,2362,2370],{},[968,2356,2357],{},[676,2358,2359],{},"git",[968,2361,1001],{},[968,2363,2364,2365,1094,2367],{},"one of ",[676,2366,2359],{},[676,2368,2369],{},"path",[968,2371,2372,2373,696],{},"A URL git clones. See ",[655,2374,673],{"href":672},[947,2376,2377,2381,2383,2389],{},[968,2378,2379],{},[676,2380,2369],{},[968,2382,1001],{},[968,2384,2364,2385,1094,2387],{},[676,2386,2359],{},[676,2388,2369],{},[968,2390,2391,2392,2395],{},"An absolute directory in normal form, read in place. ",[676,2393,2394],{},"~"," isn't expanded.",[947,2397,2398,2403,2405,2408],{},[968,2399,2400],{},[676,2401,2402],{},"ref",[968,2404,1001],{},[968,2406,2407],{},"the remote's default branch",[968,2409,2410,2411,696],{},"A branch, tag or commit of a git collection. A value YAML reads as a number needs quotes. Not allowed with ",[676,2412,2369],{},[947,2414,2415,2419,2422,2427],{},[968,2416,2417],{},[676,2418,2270],{},[968,2420,2421],{},"boolean",[968,2423,2424],{},[676,2425,2426],{},"false",[968,2428,2429,2430,674,2434,2436,2437,696],{},"Every add-on installed from the collection ",[655,2431,2433],{"href":2432},"#auto-update","updates itself",[676,2435,2275],{}," is refused with ",[676,2438,2369],{},[1457,2440,2441],{"id":1043},[676,2442,1043],{},[645,2444,2445,2446,2448,2449,871,2451,2453,2454,1024,2456,2458,2459,1024,2462,696],{},"Each key is an add-on ID whose collection is under ",[676,2447,2196],{},". The value is ",[676,2450,2275],{},[676,2452,2426],{}," or a map. ",[676,2455,2275],{},[676,2457,2426],{}," are short for ",[676,2460,2461],{},"{enabled: true}",[676,2463,2464],{},"{enabled: false}",[941,2466,2467,2479],{},[944,2468,2469],{},[947,2470,2471,2473,2475,2477],{},[950,2472,952],{},[950,2474,955],{},[950,2476,2348],{},[950,2478,961],{},[963,2480,2481,2495,2513],{},[947,2482,2483,2487,2489,2492],{},[968,2484,2485],{},[676,2486,2288],{},[968,2488,972],{},[968,2490,2491],{},"the add-on's name",[968,2493,2494],{},"The namespace the add-on is installed under.",[947,2496,2497,2502,2504,2508],{},[968,2498,2499],{},[676,2500,2501],{},"enabled",[968,2503,2421],{},[968,2505,2506],{},[676,2507,2275],{},[968,2509,2510,2512],{},[676,2511,2426],{}," keeps the add-on installed and not loaded.",[947,2514,2515,2519,2521,2524],{},[968,2516,2517],{},[676,2518,2270],{},[968,2520,2421],{},[968,2522,2523],{},"unset",[968,2525,2526,2527,2530],{},"This add-on updates itself. Refused when its collection sets ",[676,2528,2529],{},"auto_update: true",", and for an add-on of a directory collection.",[1457,2532,673],{"id":2533},"collection-sources",[645,2535,2536,2539],{},[676,2537,2538],{},"kraft admin addon collection add SOURCE"," writes one of these:",[941,2541,2542,2554],{},[944,2543,2544],{},[947,2545,2546,2551],{},[950,2547,2548],{},[676,2549,2550],{},"SOURCE",[950,2552,2553],{},"Written as",[963,2555,2556,2567,2579],{},[947,2557,2558,2561],{},[968,2559,2560],{},"A directory that exists",[968,2562,2563,2566],{},[676,2564,2565],{},"path:",", as its absolute path.",[947,2568,2569,2574],{},[968,2570,2571],{},[676,2572,2573],{},"owner\u002Frepo",[968,2575,2576],{},[676,2577,2578],{},"git: https:\u002F\u002Fgithub.com\u002Fowner\u002Frepo.git",[947,2580,2581,2584],{},[968,2582,2583],{},"Anything else",[968,2585,2586,2589],{},[676,2587,2588],{},"git:",", as given.",[645,2591,2592,2594],{},[676,2593,2588],{}," takes these forms and no other:",[767,2596,2597,2603,2611,2616],{},[770,2598,2599,2602],{},[676,2600,2601],{},"https:\u002F\u002Fhost\u002Fpath",", with no credentials in it;",[770,2604,2605,1094,2608,1826],{},[676,2606,2607],{},"ssh:\u002F\u002Fhost\u002Fpath",[676,2609,2610],{},"ssh:\u002F\u002Fuser@host\u002Fpath",[770,2612,2613,1826],{},[676,2614,2615],{},"file:\u002F\u002F\u002Fpath",[770,2617,2618,696],{},[676,2619,2620],{},"user@host:path",[645,2622,2623,871,2626,2629,2630,2632,2633,2636],{},[676,2624,2625],{},"http:\u002F\u002F",[676,2627,2628],{},"git:\u002F\u002F"," and a bare ",[676,2631,2573],{}," are refused in the file. A collection already added from another source is refused unless ",[676,2634,2635],{},"--replace"," moves it, and the move waits for the next update you accept.",[698,2638,2640],{"id":2639},"addonslock",[676,2641,2642],{},"addons.lock",[645,2644,2645,2646,2648],{},"Only ",[676,2647,691],{}," writes the lock. Each installed add-on has one entry:",[703,2650,2652],{"className":2187,"code":2651,"filename":682,"language":2189,"meta":709,"style":709},"# Written by `kraft admin addon`. Do not edit.\nlock_version: 1\naddons:\n  release@acme:\n    namespace: release\n    ref: main\n    git: https:\u002F\u002Fgithub.com\u002Facme\u002Fkraft-addons.git\n    commit: f4a11422cc8377a6ae61353897431dafa72b8ef5\n    tree: de1b745c4020ff2d468c14451da2f28a5fb56207\n    source: .\u002Faddons\u002Frelease\n    digest: sha256:f915f6266d319e9c0bc2bb2483683d74f307839138258901919e7d071fd37da4\n    version: 1.0.0\n    updated_at: '2026-10-10T13:23:58.690123Z'\n",[676,2653,2654,2660,2670,2676,2682,2692,2700,2708,2718,2728,2738,2748,2758],{"__ignoreMap":709},[713,2655,2656],{"class":716,"line":804},[713,2657,2659],{"class":2658},"sq92B","# Written by `kraft admin addon`. Do not edit.\n",[713,2661,2662,2665,2667],{"class":716,"line":811},[713,2663,2664],{"class":814},"lock_version",[713,2666,818],{"class":807},[713,2668,2669],{"class":2259},"1\n",[713,2671,2672,2674],{"class":716,"line":828},[713,2673,1043],{"class":814},[713,2675,2199],{"class":807},[713,2677,2678,2680],{"class":716,"line":841},[713,2679,2254],{"class":814},[713,2681,2199],{"class":807},[713,2683,2684,2687,2689],{"class":716,"line":854},[713,2685,2686],{"class":814},"    namespace",[713,2688,818],{"class":807},[713,2690,2691],{"class":821},"release\n",[713,2693,2694,2696,2698],{"class":716,"line":885},[713,2695,2221],{"class":814},[713,2697,818],{"class":807},[713,2699,2226],{"class":821},[713,2701,2702,2704,2706],{"class":716,"line":894},[713,2703,2211],{"class":814},[713,2705,818],{"class":807},[713,2707,2216],{"class":821},[713,2709,2710,2713,2715],{"class":716,"line":930},[713,2711,2712],{"class":814},"    commit",[713,2714,818],{"class":807},[713,2716,2717],{"class":821},"f4a11422cc8377a6ae61353897431dafa72b8ef5\n",[713,2719,2720,2723,2725],{"class":716,"line":936},[713,2721,2722],{"class":814},"    tree",[713,2724,818],{"class":807},[713,2726,2727],{"class":821},"de1b745c4020ff2d468c14451da2f28a5fb56207\n",[713,2729,2730,2733,2735],{"class":716,"line":2280},[713,2731,2732],{"class":814},"    source",[713,2734,818],{"class":807},[713,2736,2737],{"class":821},".\u002Faddons\u002Frelease\n",[713,2739,2740,2743,2745],{"class":716,"line":2298},[713,2741,2742],{"class":814},"    digest",[713,2744,818],{"class":807},[713,2746,2747],{"class":821},"sha256:f915f6266d319e9c0bc2bb2483683d74f307839138258901919e7d071fd37da4\n",[713,2749,2750,2753,2755],{"class":716,"line":2309},[713,2751,2752],{"class":814},"    version",[713,2754,818],{"class":807},[713,2756,2757],{"class":2259},"1.0.0\n",[713,2759,2761,2764,2766],{"class":716,"line":2760},13,[713,2762,2763],{"class":814},"    updated_at",[713,2765,818],{"class":807},[713,2767,2768],{"class":821},"'2026-10-10T13:23:58.690123Z'\n",[941,2770,2771,2779],{},[944,2772,2773],{},[947,2774,2775,2777],{},[950,2776,952],{},[950,2778,961],{},[963,2780,2781,2791,2807,2821,2833,2845,2859,2873,2883],{},[947,2782,2783,2788],{},[968,2784,2785],{},[676,2786,2787],{},"namespace",[968,2789,2790],{},"The namespace the add-on was reviewed and installed under.",[947,2792,2793,2797],{},[968,2794,2795],{},[676,2796,2402],{},[968,2798,2799,2800,2802,2803,2806],{},"The collection's ",[676,2801,2402],{}," when it was locked. ",[676,2804,2805],{},"null"," for the default branch and for a directory collection.",[947,2808,2809,2813],{},[968,2810,2811],{},[676,2812,2359],{},[968,2814,2799,2815,2817,2818,2820],{},[676,2816,2359],{}," URL when it was locked. ",[676,2819,2805],{}," for a directory collection.",[947,2822,2823,2828],{},[968,2824,2825],{},[676,2826,2827],{},"commit",[968,2829,2830,2831,2820],{},"The collection's commit. ",[676,2832,2805],{},[947,2834,2835,2840],{},[968,2836,2837],{},[676,2838,2839],{},"tree",[968,2841,2842,2843,2820],{},"The git tree of the add-on's directory in that commit. ",[676,2844,2805],{},[947,2846,2847,2851],{},[968,2848,2849],{},[676,2850,1054],{},[968,2852,2853,2854,2856,2857,696],{},"The add-on's ",[676,2855,1054],{}," in ",[676,2858,794],{},[947,2860,2861,2866],{},[968,2862,2863],{},[676,2864,2865],{},"digest",[968,2867,2868,2872],{},[655,2869,2871],{"href":2870},"#the-digest","The digest"," of the add-on's files.",[947,2874,2875,2879],{},[968,2876,2877],{},[676,2878,1268],{},[968,2880,2853,2881,696],{},[676,2882,1268],{},[947,2884,2885,2890],{},[968,2886,2887],{},[676,2888,2889],{},"updated_at",[968,2891,2892],{},"When the entry was written.",[698,2894,2896],{"id":2895},"what-loads","What loads",[645,2898,2899,2900,2902],{},"An add-on loads when it has an enabled entry in ",[676,2901,986],{}," and an entry in the lock. Kraft reads it from the store the lock names and never fetches a collection to load the library.",[941,2904,2905,2915],{},[944,2906,2907],{},[947,2908,2909,2912],{},[950,2910,2911],{},"State",[950,2913,2914],{},"What Kraft does",[963,2916,2917,2928,2936,2944],{},[947,2918,2919,2922],{},[968,2920,2921],{},"Listed, with no lock entry",[968,2923,2924,2925,696],{},"Not loaded: ",[676,2926,2927],{},"is not installed; run `kraft admin addon install` ",[947,2929,2930,2933],{},[968,2931,2932],{},"Disabled",[968,2934,2935],{},"Not loaded. It keeps its namespace.",[947,2937,2938,2941],{},[968,2939,2940],{},"Locked, and not listed",[968,2942,2943],{},"Not loaded. The next accepted install or update, or an uninstall, drops the lock entry.",[947,2945,2946,2954],{},[968,2947,2948,2949,1094,2951,2953],{},"The alias, or the collection's ",[676,2950,2402],{},[676,2952,2359],{}," URL, differs from the lock",[968,2955,2956,2957,2960],{},"Loaded under the locked namespace and commit, until ",[676,2958,2959],{},"kraft admin addon update"," applies the change after a review.",[645,2962,2963],{},"An add-on that fails one of these checks is left out by itself, and the rest of the library loads:",[767,2965,2966,2969,2972,2978,2983,2986,2989],{},[770,2967,2968],{},"its store is missing and not restored yet, or couldn't be restored;",[770,2970,2971],{},"its files don't match the locked digest;",[770,2973,2974,2975,2977],{},"its ",[676,2976,1371],{}," doesn't hold for the running Kraft;",[770,2979,2980,2982],{},[676,2981,1410],{}," no longer defines a harness or agent profile it requires;",[770,2984,2985],{},"its namespace is now a repository ID;",[770,2987,2988],{},"one of its own files no longer loads;",[770,2990,2991,2992,2994],{},"one of its limits is above a ",[676,2993,1813],{}," lowered since it was installed.",[645,2996,2997,3003,3004,3007,3008,3011,3012,3015],{},[655,2998,3000],{"href":2999},"\u002Freference\u002Fhttp-api#get-apihealth",[676,3001,3002],{},"GET \u002Fapi\u002Fhealth"," names each one under ",[676,3005,3006],{},"invalid_templates"," as ",[676,3009,3010],{},"add-on \u003Cid>"," with the reason, and answers ",[676,3013,3014],{},"degraded",". A chain of yours that extends a left-out add-on stops resolving. The add-on is still checked for updates.",[645,3017,3018,3019,1094,3021,3023,3024,3026,3027,3029],{},"An ",[676,3020,986],{},[676,3022,2642],{}," that doesn't read loads no add-on at server start. On a reload the server keeps the add-ons it has. Either way ",[676,3025,3006],{}," names ",[676,3028,986],{}," with the reason.",[645,3031,3032,3033,871,3035,1094,3037,3039,3040,696],{},"Saving a ",[676,3034,405],{},[676,3036,1410],{},[676,3038,387],{}," that would leave a loaded add-on out is reported before it is applied: ",[676,3041,3042],{},"would leave add-on release@acme out: ...",[698,3044,3046],{"id":3045},"install-and-update","Install and update",[645,3048,3049,3050,3052,3053,3056],{},"An install or update fetches the collection, checks the add-on, checks the whole library with the add-on in it, and prints a review. It writes ",[676,3051,986],{},", the lock and the store only after the review is accepted. The fetch itself fills the collection's mirror under ",[676,3054,3055],{},"run\u002Faddons\u002Fmirrors\u002F"," before the review.",[1457,3058,3060],{"id":3059},"when-an-add-on-has-an-update","When an add-on has an update",[941,3062,3063,3073],{},[944,3064,3065],{},[947,3066,3067,3070],{},[950,3068,3069],{},"Collection",[950,3071,3072],{},"An update is waiting when",[963,3074,3075,3089],{},[947,3076,3077,3079],{},[968,3078,2359],{},[968,3080,2853,3081,3083,3084,1094,3086,3088],{},[676,3082,1268],{}," differs from the lock's, higher or lower, or the collection's ",[676,3085,2402],{},[676,3087,2359],{}," URL, or the add-on's alias, was changed by hand. A new commit at the same version isn't an update.",[947,3090,3091,3094],{},[968,3092,3093],{},"directory",[968,3095,3096],{},"The add-on's digest differs from the lock's, whatever its version, or its alias was changed by hand.",[767,3098,3099,3108,3116],{},[770,3100,3101,3104,3105,3107],{},[676,3102,3103],{},"kraft admin addon install ADDON@COLLECTION --re-install"," takes the commit the ",[676,3106,2402],{}," names now, at an unchanged version too.",[770,3109,3110,3112,3113,696],{},[676,3111,2959],{}," notes files that changed at an unchanged version, counting only the files Kraft reads: ",[676,3114,3115],{},"version 1.0.0 unchanged, but its files changed at \u003Ccommit>; --re-install to take it",[770,3117,3118],{},"An add-on its collection no longer lists stays on its locked version.",[1457,3120,3122],{"id":3121},"what-refuses-an-update","What refuses an update",[645,3124,3125],{},"A candidate is refused, and nothing is written, when:",[767,3127,3128,3134,3137,3140,3143,3146],{},[770,3129,3130,3131,1826],{},"it breaks a rule under ",[655,3132,1527],{"href":3133},"#an-add-ons-files",[770,3135,3136],{},"its namespace is another add-on's, or a repository ID;",[770,3138,3139],{},"the instance lacks a harness or agent profile it requires;",[770,3141,3142],{},"a chain it ships doesn't resolve;",[770,3144,3145],{},"a chain of yours that resolves now would stop resolving;",[770,3147,1847,3148,1094,3151,2856,3153,3155,3156,2856,3159,3161,3162,3164,3165,2856,3167,3169],{},[676,3149,3150],{},"default_chain",[676,3152,1566],{},[676,3154,387],{},", a ",[676,3157,3158],{},"chain",[676,3160,417],{}," or a ",[676,3163,405],{}," trigger, or an agent profile ",[676,3166,1857],{},[676,3168,1410],{}," would stop resolving.",[645,3171,3172],{},"A repo library's chain that would stop resolving, or a reference in your files to one, doesn't refuse it: it is a Reach line, and the update waits for a person.",[645,3174,3175,3176,3179,3180,1094,3182,3184,3185,3188,3189,696],{},"One add-on change runs at a time. A second one waits 5 seconds, then fails with ",[676,3177,3178],{},"another add-on change is running; try again",". An update writes nothing when ",[676,3181,986],{},[676,3183,2642],{}," changed while its review was open: ",[676,3186,3187],{},"add-ons changed while you reviewed; run update again",". Each message and its fix: ",[655,3190,278],{"href":279},[1457,3192,3194],{"id":3193},"the-review","The review",[645,3196,3197,3198,696],{},"The review compares the candidate with the locked version, or with nothing on an install. It prints two lists, with every control and format character written out as ",[676,3199,3200],{},"\\u{...}",[645,3202,3203,3206],{},[1946,3204,3205],{},"Reach"," is what can change how far a run goes:",[767,3208,3209,3219,3234,3242,3245,3265,3271,3280,3289,3295,3298,3301,3305,3308],{},[770,3210,3211,3212,1094,3215,3218],{},"a gate removed, or a gate's ",[676,3213,3214],{},"auto_review",[676,3216,3217],{},"auto_review_mode"," added or changed;",[770,3220,3221,3222,871,3225,871,3228,1094,3231,1826],{},"a change to ",[676,3223,3224],{},"chain_finalized",[676,3226,3227],{},"skippable",[676,3229,3230],{},"reject_to",[676,3232,3233],{},"artifact_required",[770,3235,1902,3236,1094,3238,3241],{},[676,3237,1925],{},[676,3239,3240],{},"mr.mark_ready"," step, with whether a gate comes before it;",[770,3243,3244],{},"a forge target the chain didn't use before, or a forge step removed;",[770,3246,3247,3248,871,3250,871,3253,871,3256,1094,3258,3260,3261,3264],{},"a task's ",[676,3249,2105],{},[676,3251,3252],{},"model",[676,3254,3255],{},"effort",[676,3257,1875],{},[676,3259,1857],{}," changed, a ",[676,3262,3263],{},"fallback: []"," removed among them;",[770,3266,3267,3268,3270],{},"an agent profile in ",[676,3269,1613],{}," changed;",[770,3272,3273,3274,3276,3277,3270],{},"a node or step no longer ",[676,3275,525],{},", or a task's ",[676,3278,3279],{},"scope",[770,3281,3282,3283,3285,3286,3288],{},"a limit set, raised or removed, a fix loop's ",[676,3284,1785],{}," among them, or a ",[676,3287,1795],{}," entry dropped;",[770,3290,3291,3292,3294],{},"the collection's ",[676,3293,2359],{}," URL changed;",[770,3296,3297],{},"the order of a chain's nodes, or of a node's steps, changed;",[770,3299,3300],{},"the installed version couldn't be read to compare with;",[770,3302,3303,3270],{},[676,3304,1354],{},[770,3306,3307],{},"a lower version, or a move from a release onto a pre-release;",[770,3309,3310],{},"each reference in your own files that the add-on's namespace now captures.",[645,3312,3313,3316],{},[1946,3314,3315],{},"Content"," is the rest: components added, removed or changed, each new or changed prompt and steering text, each agent profile added or removed, each skill as a diff, a lowered limit, and each new reference to another tool's plugin skill.",[645,3318,3319],{},"Both lists also cover each chain of yours that resolves through the add-on. They also cover repo libraries' chains that extend the add-on's.",[1457,3321,3323],{"id":3322},"auto-update","Auto-update",[645,3325,3326,3327,3329],{},"An add-on auto-updates when its collection sets ",[676,3328,2529],{},", or its own entry does. The server runs it in the background after each start, and again once a day while it runs.",[645,3331,3332,3333,3335],{},"An auto-update applies an update only when its review has no ",[1946,3334,3205],{}," line. Anything else is held for a person, and the locked version keeps serving. It never does these:",[767,3337,3338,3341,3344],{},[770,3339,3340],{},"install an add-on that has no lock entry;",[770,3342,3343],{},"take a newer commit at an unchanged version;",[770,3345,3346,3347,3349,3350,3352],{},"apply an alias, a ",[676,3348,2402],{}," or a collection ",[676,3351,2359],{}," URL changed by hand.",[645,3354,3355],{},"Kraft doesn't fetch a collection none of whose installed add-ons auto-update, except to restore a missing store.",[645,3357,3358,3359,3362],{},"Add-ons that ",[655,3360,3361],{"href":1434},"build on each other"," auto-update as one set per tree, across collections. The set applies only when no member is held; otherwise the tree, as it is locked, is held, each member with the reason or the member that holds it.",[645,3364,3365,3366,3368],{},"A member whose new release names a new parent or range is held for a person by itself. An alias, ",[676,3367,2402],{}," or URL changed by hand on one member holds its whole tree. An add-on whose auto-update is off stays on its version, so a move that needs it to move is held.",[645,3370,3371,3372,3375,3376,2856,3379,3381,3382,1024,3385,3388,3389,3392,3393,3396,3397,3400],{},"Each add-on's last outcome is kept in ",[676,3373,3374],{},"run\u002Faddons\u002Fstatus.json"," and shown by ",[676,3377,3378],{},"addon_updates",[676,3380,3002],{},", as ",[676,3383,3384],{},"outcome",[676,3386,3387],{},"kind"," only: ",[676,3390,3391],{},"message"," stays in the file, because that endpoint needs no login. The ",[676,3394,3395],{},"add-on updates"," row of ",[676,3398,3399],{},"kraft admin doctor"," names the held and failed ones:",[941,3402,3403,3413],{},[944,3404,3405],{},[947,3406,3407,3411],{},[950,3408,3409],{},[676,3410,3384],{},[950,3412,961],{},[963,3414,3415,3425,3435,3450],{},[947,3416,3417,3422],{},[968,3418,3419],{},[676,3420,3421],{},"applied",[968,3423,3424],{},"The update was taken.",[947,3426,3427,3432],{},[968,3428,3429],{},[676,3430,3431],{},"up to date",[968,3433,3434],{},"Nothing to take.",[947,3436,3437,3442],{},[968,3438,3439],{},[676,3440,3441],{},"held",[968,3443,3444,3445,674,3447,3449],{},"A person must run ",[676,3446,2959],{},[676,3448,3391],{},", in the file and in doctor, says why.",[947,3451,3452,3457],{},[968,3453,3454],{},[676,3455,3456],{},"failed",[968,3458,3459,1949,3461,871,3464,871,3467,1094,3470,3473,3474,3449],{},[676,3460,3387],{},[676,3462,3463],{},"network",[676,3465,3466],{},"auth",[676,3468,3469],{},"refused",[676,3471,3472],{},"busy",", and ",[676,3475,3391],{},[645,3477,3478,3479,3481],{},"A held or failed auto-update doesn't make health ",[676,3480,3014],{},". An entry is dropped once you apply the add-on's update yourself or uninstall the add-on.",[698,3483,3485],{"id":3484},"what-a-work-item-pins","What a work item pins",[645,3487,653,3488,3492,3493,3497,3498,3501],{},[655,3489,3491],{"href":3490},"\u002Fconcepts\u002Fvocabulary#work-item","work item","'s chain is copied at ",[655,3494,3496],{"href":3495},"\u002Fconcepts\u002Fvocabulary#intake","intake",", with every prompt and steering text in it. Two things are read later, at each launch: skills and agent profiles. For each add-on the chain resolved through, and each add-on it ",[655,3499,3500],{"href":1434},"builds on",", up to the root, the item records the add-on's ID, commit, tree, source, digest and version, and reads that add-on's skills and agent profiles from that version until the item ends.",[645,3503,3504,3505,3508],{},"A child's pin also names its ",[676,3506,3507],{},"parent",", so the item rebuilds the tree it started with.",[767,3510,3511,3514,3521,3531],{},[770,3512,3513],{},"An update or an uninstall doesn't change a running item.",[770,3515,653,3516,3520],{},[655,3517,3519],{"href":3518},"\u002Fconcepts\u002Fvocabulary#chain-revision","chain revision"," resolves against the pinned versions, and may add a node from an add-on the item had not read, which then joins its pins at the lock's version, with its ancestors.",[770,3522,3523,3524,3526,3527,696],{},"A work item never mixes versions of one add-on tree. A revision that would read an add-on built on another version of an ancestor the item pinned is refused, naming both versions, and so is one that would read another version of an add-on the item pinned, installed since under a new namespace. A launch that would read such an add-on, through a ",[676,3525,1410],{}," fallback, ",[655,3528,3530],{"href":3529},"\u002Ftroubleshooting\u002Faddon-problems#a-work-item-never-mixes-versions","stops",[770,3532,1554,3533,3539],{},[655,3534,3536],{"href":3535},"\u002Freference\u002Fevents#chain-and-nodes",[676,3537,3538],{},"chain_loaded"," event carries the pins.",[698,3541,3543],{"id":3542},"restoring-a-store","Restoring a store",[645,3545,3546,3547,3550,3551,3554,3555,3557],{},"A store named by the lock or by a work item's pin can be missing: after ",[676,3548,3549],{},"config\u002F"," is copied to another machine, after ",[676,3552,3553],{},"run\u002F"," is cleared, or after a newer lock is put in ",[676,3556,3549],{},". Kraft restores it:",[767,3559,3560,3563,3566],{},[770,3561,3562],{},"in the background after the server starts, and with each daily auto-update check;",[770,3564,3565],{},"in the background after a reload;",[770,3567,3568],{},"before a launch that reads a version its work item pinned.",[645,3570,3571],{},"A restore takes the locked commit from the local mirror, or fetches that commit from the collection's URL. A directory collection is copied again. The files are kept only if their digest is the locked one. A restore isn't a review.",[645,3573,3574,3575,3578,3579,3582,3583,696],{},"Until its store is back, an add-on is left out. Filing an item on one of its chains answers ",[676,3576,3577],{},"503"," with ",[676,3580,3581],{},"add-on \u003Cid> is being restored; retry",". A work item whose pinned store can't be restored ",[655,3584,3530],{"href":3585},"\u002Ftroubleshooting\u002Flaunch-and-setup-stops#a-task-kraft-wouldnt-launch",[698,3587,2871],{"id":3588},"the-digest",[645,3590,3591,3592,3595,3596,1094,3599,3602],{},"The digest is ",[676,3593,3594],{},"sha256:"," and the SHA-256 of a manifest with one line per file the add-on holds, sorted by path. Each line is the path, the git mode (",[676,3597,3598],{},"100644",[676,3600,3601],{},"100755",") and the SHA-256 of the file's bytes, separated by NUL bytes and ended by a newline.",[645,3604,3605,3606,3608,3609,696],{},"The same files give the same digest on every machine. ",[676,3607,764],{}," prints it, and the store keeps the manifest beside the files as ",[676,3610,3611],{},".kraft-digest",[645,3613,3614],{},"Kraft checks every file it reads from a store against that manifest, and the manifest against the store's name. That covers a skill and the agent profiles at each launch, and the library and chains when a running item's chain is revised.",[645,3616,3617,3618,3621],{},"A file that was edited, added or removed after the store was written is refused when it is read. Every such message ends with ",[676,3619,3620],{},"; the store was changed after it was installed",", after one of these:",[767,3623,3624,3630,3636,3642,3648],{},[770,3625,3626,3629],{},[676,3627,3628],{},"\u003Cfile> does not match its digest",": its bytes changed;",[770,3631,3632,3635],{},[676,3633,3634],{},"\u003Cfile> is not in its digest",": it was added;",[770,3637,3638,3641],{},[676,3639,3640],{},"\u003Cfile> is missing",": it was removed;",[770,3643,3644,3647],{},[676,3645,3646],{},"\u003Cfile> is not a regular file",": it was replaced by a symlink or a directory;",[770,3649,3650,871,3653,1094,3656,3659],{},[676,3651,3652],{},".kraft-digest does not hash to the store's name",[676,3654,3655],{},".kraft-digest is malformed",[676,3657,3658],{},".kraft-digest cannot be read",": the manifest itself was changed or removed.",[645,3661,3662,3663,3666],{},"Only a launch that reads from that add-on ",[655,3664,3530],{"href":3665},"\u002Ftroubleshooting\u002Faddon-problems#add-on-could-not-be-read",". Writing the same digest again, by a restore or an install of the same content, replaces an edited store.",[698,3668,3670],{"id":3669},"on-disk","On disk",[645,3672,3673,3674,2152],{},"Add-on state lives under ",[676,3675,3676],{},"$KRAFT_HOME\u002Frun\u002Faddons\u002F",[941,3678,3679,3687],{},[944,3680,3681],{},[947,3682,3683,3685],{},[950,3684,1539],{},[950,3686,1542],{},[963,3688,3689,3699,3709,3719],{},[947,3690,3691,3696],{},[968,3692,3693],{},[676,3694,3695],{},"mirrors\u002F\u003Ccollection>-\u003Chash>.git",[968,3697,3698],{},"One bare git mirror per git collection, fetched without history where the host allows it. Kraft never checks out a working tree from it and never runs a hook.",[947,3700,3701,3706],{},[968,3702,3703],{},[676,3704,3705],{},"store\u002F\u003Cdigest>\u002F",[968,3707,3708],{},"One add-on's files, read-only, shared by every install with the same content.",[947,3710,3711,3716],{},[968,3712,3713],{},[676,3714,3715],{},"staging\u002F",[968,3717,3718],{},"A store being written.",[947,3720,3721,3726],{},[968,3722,3723],{},[676,3724,3725],{},"status.json",[968,3727,3728],{},"Each add-on's last auto-update.",[645,3730,3731,3732,3734],{},"The server deletes a store once the lock, the loaded library and every work item that hasn't ended no longer name it. ",[676,3733,691],{}," never deletes one.",[698,3736,3738],{"id":3737},"krafts-own-collection","Kraft's own collection",[645,3740,3741],{},[648,3742,3743],{},"Added in 2.5",[645,3745,3746,3747,3750,3751,3754,3755,3757],{},"Kraft's repository, ",[676,3748,3749],{},"itsOmidKarami\u002Fkraft",", is the collection ",[676,3752,3753],{},"kraft-sdlc",".\n",[655,3756,668],{"href":667},"\nhas the commands.",[941,3759,3760,3773],{},[944,3761,3762],{},[947,3763,3764,3767,3770],{},[950,3765,3766],{},"Add-on",[950,3768,3769],{},"Source in the repository",[950,3771,3772],{},"Builds on",[963,3774,3775],{},[947,3776,3777,3782,3787],{},[968,3778,3779],{},[676,3780,3781],{},"kraft-superpowers",[968,3783,3784],{},[676,3785,3786],{},"addons\u002Fkraft-superpowers\u002F",[968,3788,3789,3792,3793],{},[676,3790,3791],{},"kraft-default@kraft",", the ",[655,3794,3796],{"href":3795},"#the-built-in-kraft-default","built-in",[645,3798,3799,3800,3803],{},"Until the release that added the built-in, this collection also held\n",[676,3801,3802],{},"kraft-default",". Kraft now ships that add-on itself, and the collection no\nlonger lists it.",[645,3805,3806,3808,3809,3812,3813,3816,3817,3819,3820,3812,3823,3826,3827,3829],{},[676,3807,3781],{}," declares no chain of its own. It inherits ",[676,3810,3811],{},"default"," and\n",[676,3814,3815],{},"quick-task",", and gives these tasks steering that names a superpowers method.\nNone of them adds a ",[676,3818,2160],{},", and the spec and plan keep ",[676,3821,3822],{},"kraft:spec",[676,3824,3825],{},"kraft:plan"," from ",[676,3828,3802],{},": a task with a skill follows that method, and\nKraft tells it implementing is another node's job.",[941,3831,3832,3845],{},[944,3833,3834],{},[947,3835,3836,3839,3842],{},[950,3837,3838],{},"Task",[950,3840,3841],{},"Steering",[950,3843,3844],{},"What the agent is told",[963,3846,3847,3868,3885,3908],{},[947,3848,3849,3854,3865],{},[968,3850,3851],{},[676,3852,3853],{},"spec_author",[968,3855,3856,871,3859,871,3862],{},[676,3857,3858],{},"project-standards",[676,3860,3861],{},"spec-like-brainstorming",[676,3863,3864],{},"unattended",[968,3866,3867],{},"Write the spec as brainstorming's written design, in Kraft's spec format, deciding what a builder could decide.",[947,3869,3870,3875,3882],{},[968,3871,3872],{},[676,3873,3874],{},"plan_author",[968,3876,3877,871,3880],{},[676,3878,3879],{},"plan-like-writing-plans",[676,3881,3864],{},[968,3883,3884],{},"Write the plan in writing-plans' test-first steps, in Kraft's plan format, with no execution hand-off.",[947,3886,3887,3892,3905],{},[968,3888,3889],{},[676,3890,3891],{},"implementer",[968,3893,3894,871,3897,871,3900,871,3903],{},[676,3895,3896],{},"test-driven-development",[676,3898,3899],{},"receiving-code-review",[676,3901,3902],{},"tests-by-path",[676,3904,3864],{},[968,3906,3907],{},"Implement test first, verify before finishing, and act on a person's review threads.",[947,3909,3910,3918,3929],{},[968,3911,3912,871,3915],{},[676,3913,3914],{},"repair_verification",[676,3916,3917],{},"repair_mr_feedback",[968,3919,3920,871,3922,871,3925,871,3927],{},[676,3921,3899],{},[676,3923,3924],{},"systematic-debugging",[676,3926,3902],{},[676,3928,3864],{},[968,3930,3931],{},"Find a failure's root cause, and check each review finding against the code before acting on it.",[645,3933,3934,1949,3936,3938,3939,3942,3943,3945],{},[676,3935,3858],{},[676,3937,3802],{},"'s own steering, named again because a\ntask's ",[676,3940,3941],{},"steering:"," replaces the list it inherits. ",[676,3944,3902],{}," runs the tests\nfor what changed, whatever a skill says about the whole suite.",[645,3947,3948,3950,3951,3954,3955,696],{},[676,3949,3864],{}," forbids asking a person; the skills a Kraft node does instead (executing a plan\nthrough sub-agents, worktrees, finishing a branch, requesting a review);\ncreating branches, pushing, merging and posting on the merge request. It stops\nthe agent with ",[676,3952,3953],{},"needs_context"," when it can't load a skill the steering names. The YAML is\n",[655,3956,3959],{"href":3957,"rel":3958},"https:\u002F\u002Fgithub.com\u002FitsOmidKarami\u002Fkraft\u002Fblob\u002Fmain\u002Faddons\u002Fkraft-superpowers\u002Flibrary.yaml",[776],[676,3960,3961],{},"addons\u002Fkraft-superpowers\u002Flibrary.yaml",[1457,3963,3965],{"id":3964},"the-built-in-kraft-default","The built-in kraft-default",[645,3967,3968],{},[648,3969,3970],{},"Added in 2.6",[645,3972,3973,3974,3976,3977,3979,3980,3983,3984,3986],{},"Kraft's own chains and library are the add-on ",[676,3975,3791],{},". It comes\nwith the installed Kraft: it is always loaded and can't be installed,\nuninstalled, enabled, disabled, aliased or auto-updated. Its files are the\ninstalled package, a copy of the repository's ",[676,3978,3549],{}," at\n",[676,3981,3982],{},"kraft\u002F_bundled\u002Fkraft-default"," (a source checkout reads ",[676,3985,3549],{}," itself), so it is never ahead of or behind the Kraft running it.",[767,3988,3989,4013,4023,4059,4072,4136,4167,4180,4201],{},[770,3990,3991,3994,3995,1094,3997,3999,4000,4003,4004,4006,4007,4010,4011,696],{},[1946,3992,3993],{},"Nothing recorded."," It has no entry in ",[676,3996,986],{},[676,3998,2642],{},", and\n",[676,4001,4002],{},"kraft admin addon list"," doesn't show it. Its collection ID, ",[676,4005,1261],{},", is\nreserved: ",[676,4008,4009],{},"collection add"," refuses a collection named ",[676,4012,1261],{},[770,4014,4015,4018,4019,4022],{},[1946,4016,4017],{},"Its version is Kraft's."," A child names its range over Kraft's major, as in\n",[676,4020,4021],{},"\"requires\": {\"addons\": {\"kraft-default@kraft\": \"2\"}}",". A release candidate\ncounts as its major, and a source checkout skips the check.",[770,4024,4025,4032,4033,871,4036,825,4039,871,4042,871,4045,871,4048,1024,4051,4053,4054,1094,4056,4058],{},[1946,4026,4027,4028,4031],{},"Every ",[676,4029,4030],{},"addon"," verb refuses it by name."," ",[676,4034,4035],{},"install",[676,4037,4038],{},"update",[676,4040,4041],{},"update --check",[676,4043,4044],{},"uninstall",[676,4046,4047],{},"enable",[676,4049,4050],{},"disable",[676,4052,3322],{}," exit 1\nsaying it comes with Kraft. A bare ",[676,4055,4038],{},[676,4057,4041],{},", with no name,\nskips it without a message, and a major update never lists it among the\nadd-ons it would drop.",[770,4060,4061,4064,4065,4068,4069,4071],{},[1946,4062,4063],{},"Its store is rebuilt."," Like any add-on, its files are copied into a store\nunder ",[676,4066,4067],{},"run\u002Faddons\u002Fstore\u002F"," named by content digest, so a work item keeps the\nversion it was filed with. The current store is rebuilt from the package when\nit is missing. A store from an older release isn't: an unfinished item that\nneeds it stops, and the message says that release's ",[676,4070,3802],{}," is no\nlonger installed and to retry the item onto the current one.",[770,4073,4074,4077,4078,4080,4081,4083,4084],{},[1946,4075,4076],{},"Never left out."," A missing harness or profile, a ",[676,4079,387],{}," entry, a\n",[676,4082,1813],{}," below its caps or a missing store don't leave it out.\n",[767,4085,4086,4108,4131],{},[770,4087,653,4088,4090,4091,825,4094,871,4096,4099,4100,4104,4105,4107],{},[676,4089,1410],{}," that lacks a harness or profile it needs (",[676,4092,4093],{},"claude",[676,4095,1946],{},[676,4097,4098],{},"fast",") gets those names from Kraft's package, for every reader. Nothing is written to your file. The\n",[655,4101,4103],{"href":4102},"\u002Freference\u002Fharnesses\u002Fharness-files#names-from-the-package","Harnesses reference"," and Settings ›\nHarnesses label them as coming from the package, and refuse edits to them.\nDefine the name in ",[676,4106,1410],{}," to change it.",[770,4109,4110,4111,4113,4114,4117,4118,4121,4122,4124,4125,4127,4128,696],{},"A repository whose ID would be ",[676,4112,3802],{}," gets ",[676,4115,4116],{},"kraft-default-2",";\n",[676,4119,4120],{},"repo connect"," refuses an explicit ",[676,4123,3802],{}," ID, and one written into\n",[676,4126,387],{}," by hand is reported by ",[676,4129,4130],{},"doctor",[770,4132,653,4133,4135],{},[676,4134,1813],{}," below one of its tasks' caps clamps the task when it runs. It\ndoesn't drop the add-on.",[770,4137,4138,4141,4142,1024,4144,4146,4147,4150,4151,4153,4154,4156,4157,4160,4161,4163,4164,4166],{},[1946,4139,4140],{},"Overrides sit on your chains."," A new home's ",[676,4143,3811],{},[676,4145,3815],{},"\nchains hold only ",[676,4148,4149],{},"extends: kraft-default:\u003Cid>",", and an empty ",[676,4152,1551],{},".\nTo change what ",[676,4155,3811],{}," runs, override the node on ",[676,4158,4159],{},"chains\u002Fdefault.yaml",". A\n",[676,4162,1551],{}," entry of your own changes only the chains that name it.\nA bare ",[676,4165,3811],{}," is still your local chain.",[770,4168,4169,4172,4173,4175,4176,4179],{},[1946,4170,4171],{},"A home seeded before this release"," keeps its full copies and Kraft doesn't\ntouch them. ",[676,4174,3399],{}," names each one, and ",[655,4177,4178],{"href":204},"Move onto\nkraft-default"," shows how to switch.",[770,4181,4182,4185,4186,4189,4190,4192,4193,4197,4198,1814],{},[1946,4183,4184],{},"A GitHub copy"," of ",[676,4187,4188],{},"kraft-default@kraft-sdlc",", installed on 2.5, is left out\nin favour of the built-in, and ",[676,4191,3781],{}," 1.x stops loading until you\nupdate it. ",[655,4194,4196],{"href":4195},"\u002Fguides\u002Fcustomize\u002Fshare-chains-with-addons#if-you-installed-kraft-default-from-github","If you installed kraft-default from\nGitHub","\nhas the two commands. A fresh ",[676,4199,4200],{},"install kraft-default@kraft-sdlc",[770,4202,4203,4032,4206,4209,4210,4212,4213,4216],{},[1946,4204,4205],{},"Updates come with Kraft.",[676,4207,4208],{},"kraft admin update"," compares the new release's\n",[676,4211,3802],{}," with the running one before it installs.\n",[655,4214,199],{"href":4215},"\u002Fguides\u002Frun\u002Fupgrade-kraft#what-an-update-shows-about-kraft-default","\nhas what it shows and what an unattended update does.",[698,4218,4220],{"id":4219},"related","Related",[767,4222,4223,4228,4236,4242,4253],{},[770,4224,4225,4227],{},[655,4226,139],{"href":140},": publish a collection, install from one, and keep it current.",[770,4229,4230,4232,4233,4235],{},[655,4231,361],{"href":695},": every ",[676,4234,691],{}," verb and flag.",[770,4237,4238,4241],{},[655,4239,608],{"href":4240},"\u002Fproject\u002Fsecurity-in-depth#kraft-add-ons",": what an add-on can and can't change on an instance.",[770,4243,4244,4246,4247,1024,4250,4252],{},[655,4245,270],{"href":271},": the ",[676,4248,4249],{},"add-ons",[676,4251,3395],{}," rows.",[770,4254,4255,4257,4258,4260,4261,4263],{},[655,4256,278],{"href":279},": the messages ",[676,4259,691],{}," prints when it refuses a collection or an add-on, and what ",[676,4262,1522],{}," rejects, with the fix for each.",[4265,4266,4267],"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 .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);}html pre.shiki code .ssYy9, html code.shiki .ssYy9{--shiki-light:#023B95;--shiki-default:#023B95;--shiki-dark:#91CBFF}html pre.shiki code .sq92B, html code.shiki .sq92B{--shiki-light:#66707B;--shiki-default:#66707B;--shiki-dark:#BDC4CC}",{"title":709,"searchDepth":811,"depth":811,"links":4269},[4270,4271,4273,4278,4284,4285,4291,4293,4294,4302,4303,4304,4305,4306,4310],{"id":700,"depth":811,"text":701},{"id":791,"depth":811,"text":4272},"collection.​json",{"id":1128,"depth":811,"text":4274,"children":4275},"addon.​json",[4276],{"id":1459,"depth":828,"text":4277},"Which Kraft an add-​on runs on",{"id":1526,"depth":811,"text":4279,"children":4280},"An add-​on's files",[4281,4282],{"id":1650,"depth":828,"text":1651},{"id":1728,"depth":828,"text":4283},"What an add-​on may set",{"id":1929,"depth":811,"text":1930},{"id":2182,"depth":811,"text":4286,"children":4287},"addons.​yaml",[4288,4289,4290],{"id":2196,"depth":828,"text":2196},{"id":1043,"depth":828,"text":1043},{"id":2533,"depth":828,"text":673},{"id":2639,"depth":811,"text":4292},"addons.​lock",{"id":2895,"depth":811,"text":2896},{"id":3045,"depth":811,"text":3046,"children":4295},[4296,4298,4299,4300],{"id":3059,"depth":828,"text":4297},"When an add-​on has an update",{"id":3121,"depth":828,"text":3122},{"id":3193,"depth":828,"text":3194},{"id":3322,"depth":828,"text":4301},"Auto-​update",{"id":3484,"depth":811,"text":3485},{"id":3542,"depth":811,"text":3543},{"id":3588,"depth":811,"text":2871},{"id":3669,"depth":811,"text":3670},{"id":3737,"depth":811,"text":3738,"children":4307},[4308],{"id":3964,"depth":828,"text":4309},"The built-​in kraft-​default",{"id":4219,"depth":811,"text":4220},"The files of a Kraft add-on and its collection, addons.yaml and addons.lock, the naming rules, what an add-on may set, and when an add-on loads, updates and is restored.","md",null,{},true,{"title":471,"description":4311},"yjcX0p8AQglt6xsLEu7dHSQomU3XqpbWpD9gCVi8ZF0",[4319,4321],{"title":467,"path":468,"stem":469,"description":4320,"children":-1},"Every KRAFT_* variable Kraft reads or sets, the other variables it reads, and the variables a worker's environment gets.",{"title":475,"path":476,"stem":477,"description":4322,"children":-1},"A connected repository's .kraft\u002F folder as a library: its layout, names, where Kraft reads it from, how a person accepts it, automatic updates, the default chain, and repo-libraries.lock.",1795735392655]