RepoOps
Open the app
07 / Memory and the brain

See what a decision touches before you change it

Relationships parses every cross-reference in your repository's brain and shows both directions for each file: what links to it and what it links to, each with the source line and a snippet. No model call, so the answer is the same every time.

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 You are about to change a decision.
  2. 0:02 Who else is standing on it?
  3. 0:06 RepoOps reads every link in the brain and shows both directions.
  4. 0:10 No model, no guess.
  5. 0:13 Each row names the file, the line and the snippet.
  6. 0:16 Files past the caps go unread, so the totals are a floor.
  7. 0:23 Read who cites it, then change it.
  8. 0:25 The guide covers the caps.

Synthetic example. Read the guide

1

How to

A tracked repository with a .claude/brain/ directory. No key and nothing to install.

  1. Open Memory, then the Decisions tab, and scroll to Brain links.

    The card reads the repository picked on it when Decisions first shows. The old Relationships address opens the same tab.

  2. Read the totals beside the card title.

    It names the brain files read, the links and the orphans. The walk reads the brain root, then pull-requests/, then sessions/, and the first 500 KB of each file, so the totals are a floor.

  3. Filter by file name and open a file.

    Type into Filter by file name and click a file. It lists what links to it and what it links to, each row with the other file, its line and a snippet. The 100 most linked to files show first; Show more adds the next 100.

  4. Follow an inbound row to the citing line.

    Each inbound row links to the line in the brain viewer, so you land on the sentence that wrote the link.

  5. Read the orphan files.

    A file with no inbound and no outbound link carries Orphan and a dashed border. It is a prompt to look, not proof the file is unused. A file a live Claude Code session has changed carries Being edited.

2

Use cases

Before you rewrite a decision

Situation
A convention in decisions.md is about to change, and several sessions and pull request records were written against it.
You do
Filter Brain links by decisions.md, open the file, and follow the inbound rows.
You see
Each record that cites it, at its line, and a known lower bound: files past the walk's limits were not read.

Finding knowledge nobody cites

Situation
The brain has grown for months and some of it may be dead.
You do
Open the card with no filter and look for the files marked Orphan.
You see
A list of candidates to fold into a better-cited file or delete, checked by hand first, since the citation may sit in a file the walk did not read.
3

Expected outcome

WorkedFiles sorted by inbound count, highest first, each with its in and out counts.
WorkedAn inbound row's line number lands on the sentence in its snippet.
WorkedOn repoops.ai, /team/relationships opens the Decisions tab of the Memory page; the link graph is on the desktop.
Did not workA file you know cites this one is missing.

Next step: It was past the 2,000-file walk, past the first 500 KB, or outside the three directories. Treat the list as a floor.

Did not workA path such as .claude/brain/decisions.md made no link.

Next step: A bare mention needs a space or line start before the file name. Write it as a markdown link or a wikilink.

Did not workThe hosted page says No snapshot yet.

Next step: Turn on Brain snapshot on a bound device with a paid plan, or connect a GitHub repository so RepoOps pulls the brain.

Did not workThe hosted graph is much smaller than the desktop one.

Next step: Expected: the publisher sends top-level brain markdown only, never sessions/ or pull-requests/.

4

What else to consider

Limits of the walk

It reads prose references only, never source code, and it is per repository with no cross-repository links. Targets resolve by base name, so two files with the same name in different directories collapse into one. A markdown link inside backticks is skipped. The 2,000-file and 500 KB bounds are fixed.

Brain influence

Brain influence, on the Decisions tab of Memory in the desktop app, ranks each registered brain page of the picked repository by an influence score: the Claude Code tokens of the turns whose prompt names it, its links in and out, and its mentions in pull request records and session entries. Sort by any one of those, filter by file, name or category, and open a page to see the pages it links to and the pages that link to it. It ranks up to 2,000 files and keeps the 10,000 heaviest links. The same read is GET /api/relationships. The old Relationships address opens the same tab.

The knowledge graph store

Knowledge graph, on the Decisions tab of Memory in the desktop app, reads the persisted graph store directly: nodes by type (session, commit, pull request, file, incident, lesson, defect and more), edges grouped by source with their confidence band and, for an edge a person approved, who approved it and the excerpt it rests on, and the lineage of a commit or experiment node back to its roots. On a cold store, Fill from this repository reads the repository's git history, eval runs and event store into it; a cold store can take several presses. On repoops.ai, /team/knowledge-graph opens the Decisions tab of the Memory page. A bound device on a hosted plan with graph publishing on still sends its redacted graph snapshot, and no hosted page draws it now.

Blast radius for code

For a code change rather than a brain file, What depends on it, on the Change risk tab of Attribution in the desktop app, shows what breaks if a file, route, table or dependency changes and what it relies on. For every caller, callee, route and table a subject touches, with file paths and lines, ask GET /api/causal/blast: pass a route, a symbol, a table or a file path; depth defaults to 2, at most 5. The causal_blast_radius MCP tool reads the same. It tracks tables, not columns, and makes no model call.

Data and egress

The graph is derived on each request from markdown already on disk and nothing is written back to the brain. The last answer is cached in data.db so a restart paints it while a fresh walk runs. The Brain snapshot publisher, off by default, is the only path that moves brain content off the machine.