Skip to content

2. Connect a repository

A repository — a module, in Kodel’s vocabulary — is what agents read, search and change. A project can hold several; one of them is primary.

On the project page press Connect repository and fill in:

  • Repository URLhttps://github.com/org/repo.git or git@github.com:org/repo.git. The name and slug are filled in from the address.
  • Default branch — the branch that gets cloned and indexed.
  • AccessPublic for open repositories, otherwise a token, an SSH key or a username and password. Credentials are stored encrypted.
  • Primary module of this project — leave it checked for your first repository. Steps that need code, but are not told which repository to use, fall back to the primary one.

Test connection verifies that the address is reachable before you commit to it; Connect starts the first clone.

The status goes from Checking… to Connected, and the page fills in: indexed files, repository size, last checked, and the list of branches with their latest commits.

Indexing is what lets agents search the code by meaning instead of grepping blindly, so give it a moment on a large repository.

Later, when a pipeline runs on a task, it works in a run branch named after the task — kodel/wip/DEV-1. It is created from the repository’s development branch, or from the default branch when no separate development branch is set, and you can override the base per task.

Now the interesting part: design a pipeline.