Skip to content

Release v7.170.0

Choose a tag to compare

@github-actions github-actions released this 17 Nov 06:28
ec36cfd

The agent worker harness now prepares every branch a run needs and gives the agent a route to the tools Cratis Direct exposes. The agent still never receives a provider credential. Cratis Direct supplies the two new variables, DIRECT_FETCH_BRANCHES and DIRECT_TOOLS_MCP_URL.

Added

  • DIRECT_FETCH_BRANCHES fetches the named branches, or prefix patterns ending in *, into refs/remotes/origin/<name> for local use. The remote's default branch is always fetched too, so git merge origin/<default> works without network access. A branch that a repository does not have is skipped, and an invalid name fails the run with [git-config]. Host-prepared, bundle-diff and restricted investigation jobs refuse the variable.
  • DIRECT_TOOLS_MCP_URL adds an MCP server named direct_tools for Claude Code and Copilot. It authenticates with the run's callback token as a bearer token, and the token never appears in the client configuration or on a command line. Pi does not get the server yet.

Fixed

  • When DIRECT_BRANCH already exists on the remote, the checkout now continues from it and the push fast-forwards it, so the existing pull request is updated. Before, the branch was recreated from the default branch and the push was rejected as non-fast-forward.