# Work across several repos

Run one task that changes two repos at once, such as an event one service sends and another consumes.

1. Start the task with one `--repo` per repo:

   ```bash
   kebbie start payload-v2 "Add currency to the payment event." --repo api --repo web
   ```

   Each repo gets a half: a worktree on a branch `payload-v2`, its own Space and its own Claude, each told of the other. The first repo's Space gets focus.

2. Message both halves at once:

   ```bash
   kebbie tell payload-v2 "The field is called currency_code."
   ```

   To reach one half, address it as `payload-v2@web`.

3. Push each half on its own with `p`, in the order the change needs: usually the side that accepts the new field first. On the board, the halves sit next to each other. A half that must go second says so in its ready report with `--after payload-v2@api`, and Next lists it after the api half with `after payload-v2@api`. The lead's push of it waits until the api half has landed; yours goes out with a warning.

- A running task gets a half in another repo the same way, such as a comment follow-up whose fix lives elsewhere: `kebbie start payload-v2 "Add the field to the client." --repo client`. A task asks the lead for it rather than making a worktree there by hand, which Push would not see.
- Done or drop closes one half only. Its notice, and a line to the lead, name the halves still open, such as `still open: payload-v2@client`.
- If you use the vault, both halves share one task note.
- If your repos live outside kebbie's search folders, set `KEBBIE_REPO_DIRS`. See below.

## Where kebbie finds the repos

`--repo` takes a folder name. kebbie looks in `~/projects`, `~/personal`, `~/src` and `~/code`, in them or one level down. It clones a missing repo from an owner among your other checkouts' remotes.

To look elsewhere:

```bash
export KEBBIE_REPO_DIRS="$HOME/work:$HOME/code"
```
