RepoOps
Open the app
03 / Attribution

Find why a change was made, months later

A pull request record is one markdown file written on the branch before the pull request opens, so the squash merge carries it onto your main branch with the change. The Pull requests tab indexes those files, newest first, with a filter box. Nothing here calls a model.

Last updated

Watch it

30.1 s, captions on. Narration: Microsoft Zira Desktop (provisional voice; an approved narration source is pending).Transcript
Read the narration
  1. 0:00 A change merged three weeks ago.
  2. 0:02 The diff survived. The reasoning did not.
  3. 0:06 Write the record on the branch before the PR opens.
  4. 0:09 The squash merge keeps it.
  5. 0:13 The tab indexes every record, newest number first, and filters as you type.
  6. 0:18 CI blocks a pull request that carries none.
  7. 0:23 Read the record before you judge the change.
  8. 0:25 Archived ones stay findable.

Synthetic example. Read the guide

1

How to

A tracked repository whose pull requests carry a record under .claude/brain/pull-requests/.

For the hosted index: a bound device with cloud sync on.

  1. Write the record on the branch as NEW.md.

    Create .claude/brain/pull-requests/NEW.md before the first push. GitHub gives out the number only when the pull request opens, so guessing it would race every other pull request opened at the same time. The desktop tool that drafted a description from the branch, PR draft, is retired: no v2 page draws a change before it exists, so write the record yourself.

  2. Rename it once the pull request is open.

    Run npm run pr-record. It reads the number, renames NEW.md to the number, rewrites the heading and stages both sides of the rename. Commit and push. Running it twice is harmless.

  3. Open Pull requests from the palette.

    Attribution in the sidebar opens the Attribution page, which does not list it. Each row shows a badge with the number and the record's first heading as its title. Type a number or a word into the filter box and the count follows. Click a row to read the whole record.

  4. Read the hosted index for the team.

    On repoops.ai, merged changes are on the Changes tab of the Attribution page, each with the deploy, the commit and the agent session behind it. The old /team/pr-index address redirects there.

2

Use cases

Why was this shape picked?

Situation
A regression points at a change that merged last month. The commit message is one line and the branch is gone.
You do
Open Pull requests for that repository, type the number into the filter box, and open the row.
You see
The full record, as written on the branch before the merge: what it did, how to test it, what it decided and what it deferred. If the number is missing, it was archived, and ARCHIVE-INDEX.md names the month.

A first CI run is red on brain-record

Situation
You pushed with the record still named NEW.md, the normal state before the number exists.
You do
Open the pull request, run npm run pr-record, then commit and push.
You see
The record carries its own number and the required check clears once the numbered file is in the tree.
3

Expected outcome

WorkedThe tab lists every record on the tracked branch, newest number first, with a count beside the filter box.
WorkedClicking a row renders the whole record in the same window.
WorkedWith cloud sync on, the Changes tab on the Attribution page at repoops.ai lists the team's merged changes; /team/pr-index redirects to it.
Did not workNo records in .claude/brain/pull-requests/ yet.

Next step: The directory is empty on the tracked branch. Merge a pull request that carries a record.

Did not workA pull request you remember is not listed.

Next step: It had no record, its record never reached the tracked branch, or it was archived. Look the number up in ARCHIVE-INDEX.md and restore it with npm run brain-forget -- --restore <n>.

Did not workA row reads (untitled).

Next step: The record has no first-level heading. Add one.

Did not workThe hosted page says no merged PRs yet.

Next step: Bind the device, turn cloud sync on in Settings, and leave REPOOPS_GIT_IMPORT_OFF unset.

4

What else to consider

Which branch it reads

The tab reads RepoOps's mirror of the tracked branch (main unless repos.config.json says otherwise), not your working copy, so a record that has not landed there is not listed. It reads files, not the GitHub API: a pull request with no record is not in the list.

How review behaves: Review analytics, retired

The desktop page that rolled review events into cycles to merge, reviewer load and review depth, Review analytics, is retired: no scorecard in the v2 pages draws a reviewer, and no page in either app shows those rollups now. The GitHub App webhook still grades each review once under rubric-v1 and stores only the number, never the review text.

Who is reviewing what: the Review queue

On repoops.ai, the Review queue card on AI Security's Secrets tab is one table of changes waiting on a human reviewer, narrowed to the repositories you can see, filled by the GitHub App on each pull request event. An owner, admin or member assigns a reviewer and moves the status through open, in review, approved, changes requested and merged; GitHub reviews and merges move it too. A row shows its diff-review findings count. It does not gate agent writes; that is the separate approval queue.

Was it a reviewer miss?

Inside an AI incident case, reviewer calibration counts a later defect against a reviewer only when it falls inside the revision and file scope that reviewer approved. Other signals stay potential, unrelated, disputed or insufficient evidence, and a hosted signal with no attributed lines never becomes a confirmed miss. No model is called.

Cost, egress and storage

The index makes no network call. With the device bound and cloud sync on, each record goes to the team as a redacted event carrying its whole body. Records stay in your repository until you run npm run brain-forget -- --apply, which keeps the newest 400 and the last 30 days and gzips the rest by month.