CodeHerderSearch⌘KCtrl KGet started →

What CodeHerder built in this repo

Read the commits and merge requests CodeHerder made against a repo, and compare them with everything else landing there, per repo or workspace-wide.

Every connected repository has three read-only views of what’s happened in it: a ledger of every commit CodeHerder’s agents made, the repo’s merge-request history, and a split showing how much of that history is CodeHerder’s versus everyone else’s.

Open Set up → Repos, then the repo you want, and scroll down the page. The panels appear in this order: Activity split, Merge requests, then Commit ledger. From the CLI, three commands cover the same ground: ch repo activity, ch repo merge-requests, and ch repo commits.

To see the split for every repo in a workspace at once, open the Change origin report. See Across every repo in a workspace.

The commit ledger

The commit ledger is CodeHerder’s own record of every commit its sandboxes made against the repo, branch commits included, newest first. It needs no setup. Every task that commits code adds to it automatically. A commit that gets rebased or amended is replaced by its new version.

ch repo commits my-app

Each row shows the SHA, message, author, when it was committed, and which sandbox made it. On the web, the sandbox appears under the task. Like other list commands, it takes --limit and --cursor to page through a long history. See Paging through long lists.

The merge-request list

The merge-request list is different. It’s the repo’s history from your git host, CodeHerder’s own merge requests mixed in with everyone else’s. CodeHerder keeps merge requests for all time, so the list isn’t cut off at a date. Each row carries an origin tag (CodeHerder, External, or Not attributed), so you can tell who opened it at a glance. See How CodeHerder tells its own work apart.

ch repo merge-requests my-app

The columns are NUMBER, TITLE, BRANCH, STATE, ORIGIN, OPENED, MERGED, and OCCURRED. OPENED and MERGED come from your git host. A cell shows — when the host gave no time. MERGED stays empty until the request merges. OCCURRED is the host’s last update. The command takes --limit and --cursor too. It has no flag to filter by origin.

The web app shows the host’s last update, labelled Updated. It doesn’t show the opened and merged times. To narrow the list, use the Origin control above it: All, CodeHerder, External, or Not attributed. If the filter leaves nothing, the panel reads “No CodeHerder merge requests.” (or “external”, or “not attributed”), with a way to clear the filter. In the CLI, a merge request with no attribution shows unattributed in the ORIGIN column.

Unlike the commit ledger, this one needs a git-host integration connected for the repo’s host (see Integrations). Without one, CodeHerder has nowhere to pull the host’s merge-request history from. The web app shows “No git-host connection for this repo.” in place of the list. If you are a workspace owner or admin, it adds a Connect button for the host. Otherwise it says only an owner or admin can connect it. Connect the host on the workspace that owns the repo, or on a group above it. A connection made on a workspace below doesn’t count.

The activity split

The activity split rolls the same history into one number: what share of this repo’s commits and merge requests are CodeHerder’s, versus everyone else’s.

ch repo activity my-app

The output shows the range it covers, the state of the latest sweep, and one line each for commits and merge requests, in the form N codeherder / N external (N% codeherder, N total). With no flags, the range is all time, and the header reads ACTIVITY SPLIT (all time, swept at <time>). To pick a range, see Choosing a range.

The command can print extra rows after those two. See How far back the history goes and How CodeHerder tells its own work apart for what each one means.

The web app shows the split in its Activity split panel, under a range picker. The Range row names the range you picked. Commits and merge requests each read like “12 CodeHerder · 30 external · 29% CodeHerder”. A merge-request row with nothing in the range reads “None in this range” instead of 0%. Commits read “None in the last 90 days” in the same case. The merge-request counts are links. Select one to open the merge-request list filtered to that origin. Commit counts aren’t links.

Like the merge-request list, the split needs a git-host integration for the repo’s host. Without one, the web app shows “No git-host connection for this repo.” in place of the numbers, with a Connect button for an owner or admin. The CLI header ends with no git-host connection for <host>. Read the header first, and don’t trust the counts below it in that case. If a repo with real activity shows no split, check that connection first.

Two other states change the header. Before the first sweep reaches a repo, the CLI reads “not swept yet”, and the web app says “No sweep has reached this repo yet.” If the latest sweep failed, the CLI reads last sweep FAILED at <time> followed by the reason. The web app shows a warning with the reason and “No split is shown until a sweep succeeds.” The CLI still prints counts after a failed sweep, but they come from earlier sweeps. CodeHerder sweeps each repo on its own schedule, at most about once an hour. It skips archived repos. Check back after the next pass rather than expecting an instant result.

The commit count covers the repo’s default branch only. A squash merge rewrites commit SHAs, so CodeHerder’s share of commits can read lower than its real share.

Choosing a range

Above the Activity split panel, and at the top of the Change origin report, a range picker sets the time range the counts cover. The default is All time. The other choices are Today, Yesterday, Last 7 days, Last 30 days, This month, Last month, This year, and Custom range. A custom range takes a From and a To date, both whole UTC days. From can reach back at most 400 days. If you pick an earlier date, the page tells you and shows the last 30 days instead.

A merge request counts in the range that holds its merge time. If it hasn’t merged, CodeHerder uses the time it was opened.

In the CLI, ch repo activity takes the same idea as flags:

ch repo activity my-app --window week
ch repo activity my-app --since 30d
ch repo activity my-app --since 2026-09-01T00:00:00Z --until 2026-10-01T00:00:00Z
  • --window takes today, yesterday, week, or month.
  • --since takes a relative time such as 7d, 12h, or 30m, or a full timestamp such as 2026-09-01T00:00:00Z.
  • --until ends the range. Pair it with --since.
  • --window and --since can’t be used together, and --until can’t be used with --window.
  • With none of these, the range is all time, and the header reads all time. With a flag, the header names the range first: since <time>, or <time> to <time> when the range has an end, for example with --until.

Commit counts use the same range, but CodeHerder keeps commits only for the sweep window, the last 90 days. If your range reaches back further, the commit counts cover only those 90 days. The web app then adds a Commits row that reads “Commit counts cover only the last 90 days, the sweep window.” The CLI prints a commits note row.

How far back the history goes

CodeHerder keeps merge requests for all time. It doesn’t read all of a long history at once. When you connect a repo, it loads older merge requests in the background, a batch with each sweep. Until that finishes, counts for a long range can be partial.

The web app says so in a History row: “Still loading. Merge request data goes back to .” If nothing has loaded yet, it reads “Still loading. No merge request history has been read yet.” A partial count also ends with “since ”. The row disappears when the history is complete.

The CLI prints a history row. It starts with complete: when every merge request the host reports is held. It starts with loading: while older ones are still coming in. If your range falls inside the loaded history, the row still starts with loading:, but it ends with this range is covered. The counts for that range are complete. The web app keeps its History row in this case, but the counts have no “since ” suffix.

Across every repo in a workspace

The Change origin report adds the same split up over a whole workspace. Open Work → Reports, then the Change origin card under “Quality and delivery”. It exists in the web app only. No ch command prints it.

The Summary panel has four rows:

  • Range: the range you picked. The same range picker sits at the top of the report, and the default is All time.
  • Repos counted: how many repos the totals include, out of how many the report lists.
  • Commits: the CodeHerder versus external split across the counted repos.
  • Merge requests: the same for merge requests. A partial count ends with “since ”. See How far back the history goes.

Until one repo counts, the commit and merge-request rows read “No repo counted yet”. The summary can also show the History, Commits, and Not attributed notes described on this page.

The By repo table has one row per repo, with the columns Repo, Sweep, Commits, and Merge requests. Select a row to open the repo’s page. The Sweep column says why a repo is or isn’t in the totals:

  • Counted: the repo has a good sweep and a git-host connection. Its numbers are in the totals.
  • Not swept yet: no sweep has reached the repo.
  • No git-host connection: CodeHerder has no connection for the repo’s host.
  • Last sweep failed: the latest sweep failed. The report shows no split for that repo.

Only a Counted repo shows numbers. The others show a dash, so one broken repo never skews the totals.

The report lists active repos that the workspace owns or inherits from a group above it. It leaves out archived repos. You see a repo only if you belong to the workspace or group that owns it.

How CodeHerder tells its own work apart

CodeHerder doesn’t guess. It counts a commit as its own when the commit’s SHA appears in that repo’s commit ledger. It counts a merge request as its own in either of two cases:

  • The request’s source branch is one a CodeHerder sandbox created.
  • The request is attached to a task, from any branch. See How the work lands for ch task merge-requests create.

Everything else counts as external, with one exception. A merge request can sit on a branch that looks like CodeHerder’s, while the record that would prove it is gone. CodeHerder can’t tell whether it’s CodeHerder’s, so it counts it as neither. It shows as Not attributed: a “N not attributed” link in the split, a Not attributed row, and a choice in the Origin control. The CLI prints a not attributed row, and only when there are any.

The commit ledger works without any integration because it’s CodeHerder’s own record, not something pulled from the host. The merge-request list and the split need one because both depend on the host’s full history for comparison.

Who can see this

Members of the workspace that owns the repo, or of a group above it. A member of a workspace below that group can use the repo but can’t open its page or these three views. The Change origin report lists only the repos you can open this way.

Last updated

Try it on one repository for two weeks.

File a task. An agent builds it. You see the cost of each task.

Try "pricing", "connect a device", or "who reviews the code"

↑↓ move · ↵ open · esc close