Changelog#

All notable changes are documented here. The format follows Keep a Changelog and the project follows Semantic Versioning (while 0.x, a breaking change bumps the minor version).

[Unreleased]#

[0.4.0] - 2026-12-02#

Added#

  • Every core command declares examples, shown in --help and --describe; cli-interview-kit checks each one against the command’s flags, so they cannot go stale.

  • Example, re-exported from cli-interview-kit, for an extension’s commands.

  • The command standard (extension check, doctor, each extension’s tests) requires at least one example on every command an agent may run; the extension new scaffold ships one.

Changed#

  • Breaking: requires cli-interview-kit 0.4: --questions is now --describe, on every command, and prints the command’s examples, options and questions. An extension’s commands may declare examples too.

  • Breaking: describe --json is format version 2: each command has asks_questions and describe (what its --describe prints) in place of options and interview.

  • The generated graftkit skill tells agents to run <command> --describe before a command they have not run, instead of pointing them to the whole describe --json.

  • org clone and org sync refuse a folder in a repository before showing any progress, and name a folder that is a repository itself as one.

[0.3.0] - 2026-12-02#

Added#

  • graftkit org repos: the repositories of your GitHub organisation that your gh login can see, with your access to each and its default branch (--json for agents), and the organisation setting.

  • graftkit org map: what each repository of the organisation offers others (its README’s ## For agents section) and its commands (from its generated skill), for people and, with --json, for agents (each entry: the repository as org repos gives it, for_agents, commands).

  • graftkit org search QUERY: GitHub’s code search across the organisation’s repositories you can read (--repo, --limit, --json).

  • graftkit org clone [--into DIR] clones every repository you can see that the folder lacks, with the new git_name and git_email settings as each clone’s identity; graftkit org sync [--into DIR] fast-forwards every clean clone of the repository on its default branch and says why it skipped the others. A failed clone stops org clone after it says what it did clone; running it again continues.

  • The generated graftkit skill keeps agents in their repository and points them to graftkit org map --json, then graftkit org search, for anything beyond it; the design documentation says where to run an agent.

  • org clone and org sync refuse a folder inside a checkout or a root, so an org clone run in a repository no longer clones the organisation into it.

  • When a root pins an older core that rejects a command or option, graftkit says how to move the pin.

  • graftkit config: asks for every setting and writes your user config (or, with --in-root, the root’s [settings]), keeping comments; graftkit config show lists each setting, its value and the layer it comes from (--json for agents); graftkit config unset NAME [--in-root] removes one.

  • FakeGitHub.add_repository, FakeGitHub.organisation_repositories and FakeGitHub.search_code, so extensions can test against an organisation in memory; a repository’s files are those of the commit last published to it, and its access may be None, as GitHub sometimes reports it.

  • graftkit doctor warns when a root’s README lacks the ## For agents section (Provides, Concepts, Entry points) that org map shows; a warning never fails doctor.

  • FakeGit (with FakeClone and PullRequest) and the fake_git fixture: an in-memory git for run(..., git=...), so commands that clone, fast-forward or open pull requests are tested without running git or gh.

Changed#

  • Breaking: graftkit.testing.run takes git= (a FakeGit, or any object with its methods) in place of publisher=, since it now covers clones and fast-forwards too.

  • A missing setting’s message no longer suggests an owner/name value for every setting, and points to graftkit config.

  • graftkit init asks for the content repository with the question graftkit config derives from the setting, so its help is the setting’s own description.

  • skills promote and skills update --pr check your access to the target repository first: below WRITE they fail before cloning, branching or editing anything, and say which repository and what access is needed.

  • git, gh and uv run one way everywhere: the same timeout, and a missing program’s message says how to install it, in doctor and in every command.

  • Settings are read when a command needs them: an invalid setting fails that command once, naming the setting, its value and where it is set, instead of a warning on every command and then “not set”; graftkit doctor checks them. Every TOML file that does not read says so the same way, with its path.

  • Requires cli-interview-kit 0.3.1: on Windows, a run without a console (CI, an agent) no longer tries to prompt and crash.

[0.2.0] - 2026-12-01#

Added#

  • The README says why graftkit exists: one reviewed core and standard for routine operations, built for agents, with skills distributed like code.

Changed#

  • Breaking: requires cli-interview-kit 0.3, whose Interview.document takes annotations and whose Interaction requires declared; graftkit re-exports both. Each command’s interview in describe --json now carries its annotations, including its agent policy.

Fixed#

  • The API reference lists the fields of Repo, Extension and Result again, rendered from their Field descriptions.

  • The PyPI badges in the README render (shields.io had cached a “not found” from before 0.1.0).

[0.1.0] - 2026-12-01#

First release.

Added#

  • graftkit: a root-aware launcher that finds the nearest graftkit.toml and runs the version it pins, from PyPI ([cli] core) or the repository’s own environment ([cli] extension).

  • Core commands: init, doctor, describe (--json for agents), extension new and extension check, and skills (status, sync, update, add, remove, vendors, validate, new, review, promote).

  • Extensions: Extension and Extension.from_package, entry points in the graftkit.extensions group, and a mechanical command standard.

  • Agent skills for every harness from three origins: the content repository (shared skills and bundles), allow-listed vendors, and the repository’s own; pinned in graftkit.lock and verified by commit and content hash.

  • Agent policy: a command declares annotations={"graftkit.agent": "run"} when an agent may run it itself; anything else is hand-off. describe --json reports it, conformance rejects unknown values, and skills sync generates a graftkit skill listing the root’s commands with their policies (recorded under generated in graftkit.lock).

  • graftkit.testing and a pytest plugin (graftkit_root, graftkit_run, fake_github).