Project
What's new
The headline change in each Kraft release since 2.0, newest first, with where to read more. The release notes list every change.
Each section is one release's reason to upgrade, not its release notes. For every change in a release, and every fix, read the release notes on GitHub. To get a release, see Upgrade Kraft.
Kraft 2.5: GitHub and GitLab without gh or glab
- GitHub over its API. A GitHub forge account can be
client: api: Kraft runs every forge node and forge read over GitHub's REST and GraphQL APIs with the account's token, withoutgh, on github.com, GitHub Enterprise Server andghe.com. See How Kraft talks to GitHub over the API. - GitLab over its API. A GitLab forge account can be
client: api: Kraft runs every forge node and forge read over GitLab's REST API with the account's token, withoutglab, on gitlab.com or a self-hosted GitLab on any domain or path. See How Kraft talks to GitLab over the API. - A work item can have a chain of its own. File it with Customise for
this item,
kraft item create --chain-fileor MCPchain_yaml. Custom prompts, commands, tools or gates in it run only after a person approves the chain in the web UI. See File with a one-off chain.
Kraft 2.4: steps on other machines
- A step runs on a machine you register.
runner:on a step, or a group of machines, sends it to a machine fromworkers.yamlinstead of the server. Its commits and files go there, its log and status come back while it runs, and a server restart reattaches it. Machines connect by dial-in token or ssh, cap how many steps they take, and can build an item's sandbox themselves. See Run a step on another machine. - Restarting Kraft no longer ends a running step. A local worker runs every local step, so stopping, restarting or updating Kraft within a major version leaves worktree items running. See Restart Kraft.
- Verification can run only the tests a change affects. A test scope's
targeted_commandruns in place of its fullcommandwhen a chain asks for it, andcarrykeeps a test-selection tool's state warm across worktrees. Seetargeted_command.
Kraft 2.3: add-ons that build on add-ons, and updates when Kraft is free
- An add-on can build on another. Name a parent and a version range in
requires.addons, inherit its chains, components, steering, skills and profiles, and override, extend or remove what you inherit. Installing or updating one moves its parents with it, under one review. See Add-ons. - Update and restart when nothing is running. Mark a release on the
About page or with
kraft admin update --when-free, turn on auto-update for minor and patch releases, and limit both to allowed hours. Both are off by default, and a failed unattended update goes back to the version you had. See Update when Kraft is free.
Kraft 2.2: chains that extend a chain
- A chain can extend another with
extends, thenremove,addandoverrides, so a shared chain is customised without forking it. A repo's own.kraft/can extend an add-on's chain the same way, and the Templates screen edits an extending chain as changes to its parent. See Extending a chain.
Kraft 2.1: add-ons, the console and in-place items
- Share chains as add-ons. Chains, library components, skills and agent
profiles travel as an add-on in a git collection.
kraft admin addoninstalls, updates and removes them; each is pinned to a commit and reviewed before every update. A connected repo shares its own from.kraft/on its default branch. See Share chains with add-ons. kraft console. A terminal UI: the board, an item's document, history, log and diff, the server, repos and add-ons, and everykraftverb from its prompt. See Console.- In-place items. A repo, or one work item, can run in the repo's own checkout instead of a per-item worktree. Kraft never forces, sweeps or deletes anything there, and stops the item when the checkout needs you. See Run items in your own checkout.
- Waiting and queueing.
kraft item create --after IDmakes an item wait for others, and a start made while every slot is busy queues instead of being refused. See Items that come after others and thequeuedstatus.
Kraft 2.0: a place to work, not just an engine
Kraft 1.0 shipped the engine: chains that take your coding agent from spec to merge request and stop only where a decision is yours. 2.0 is built around those decisions.
- A new interface, built around what needs you. The board keeps 1.4's four groups and its one button per row, you can act on several items at once, and an item's page draws its chain as a graph. ⌘K (Ctrl+K) search and the phone layout match. The demo runs it on sample data in your browser. See Web UI.
- Review the way you would on a code host. Each item has a Review page with the diff, the comment threads and the gate decision. Comment on a line or a range, suggest a change in place, and send a round at once with Finish review. See Reviewing a change.
- Shape the work from its page. Read the spec and plan an item was filed with, set the model, effort and limits of the item and its nodes beside what its chain would use, change a running item's chain, and raise the cap that stopped it. Chains, the library, harnesses, repos and policy are edited as a draft you publish. See Templates.
- Repo connect reads more of the repo.
kraft repo connectproposes the setup and test commands from the repo's task runner, its toolchain's files and its CI, explains each choice, and rehearses them with--verify. See How connect proposes commands. - Safer to share. No other site can frame the board, an image from another site loads only when you select it, and off loopback Kraft answers a browser only at a name you listed. See Network and browser and Remote access.
2.0 is a major version because making the interface and the API consistent
changed some --json fields and exit codes, and the database moved to a
schema 1.4 can't open. Coming from 1.4, follow
Coming from 1.4: it lists what needs action
before the update, and every change.
Related
- Upgrade Kraft: the steps, and how to roll back
- Status and support: which versions are supported, and what a version number promises
- Release notes: every change in every release