RepoOps
Open the app
07 / Memory and the brain

Reference index

The brain keeps a set of reference files beside its lessons and decisions: the architecture map, the file map, the feature index, the schema, the tests, the jobs, the vendors, the dependencies, the metrics, the open questions and the glossary. The Reference index on Memory's Wiki tab lists them in one filterable list, and each opens in the app or on repoops.ai.

Last updated

1

How to

A tracked repository whose .claude/brain/ holds one or more of the reference files below. Each is hand-curated markdown, except the architecture map, which is JSON.

  1. Open Memory in the sidebar, then the Wiki tab.

    Reference docs sits under the CLAUDE.md scorecard and lists the docs of the repository picked on the card.

  2. Filter by name or description.

    Type into the filter box. Docs are grouped by topic; within a group, the ones this machine opened most from the sidebar in the last 30 days come first and the rest sort by name.

  3. Read the open counts.

    A doc nobody opened in 30 days reads not opened, which is a real measurement. If the usage read fails, the list sorts by name and shows no count rather than one nobody measured.

  4. Open a doc.

    Each doc name opens its page, rendered from its markdown, in a new tab. A doc the repository does not have reads Not in this repository and opens nothing.

  5. Keep a file current in the same pull request as the change.

    A new directory gets a file-map row, a schema change updates schema.md, a new job a runtime.md row, a new vendor an integrations.md row. A reference file that lags the code is a defect in the brain, not a cosmetic lag.

2

Use cases

A new agent needs to find its way around

Situation
A fresh session, or a new teammate, has to change a part of the repository it has never seen.
You do
Point it at INDEX.md first, then files.md and the architecture map, from the Reference index.
You see
INDEX says where the project is and what just shipped, files.md says what each directory is for, and the architecture map traces a route to its handler. The session starts oriented instead of grepping.

Before adding a dependency

Situation
A change wants a new runtime package.
You do
Open dependencies.md and integrations.md from the index and read the rows for what you already have.
You see
Each high-risk dependency names its risk band, what a compromise would do and the patch path; each vendor names its env vars, failure mode and cost. Often an existing row already does the job. If not, the new one gets a row in the same pull request.
3

Expected outcome

WorkedOne filterable list of the repository's reference docs on Memory's Wiki tab, grouped by topic, with an open count on each row.
WorkedOn repoops.ai, each doc in your team's published snapshot opens in the hosted viewer at /team/docs/<file>.
Did not workA doc is listed but does not open on repoops.ai.

Next step: It is not in your team's published snapshot. Turn on Brain snapshot in the desktop app's Settings and wait for the next publish.

Did not workEvery doc reads not opened.

Next step: Nothing has been opened from the sidebar on this machine in 30 days. The order is alphabetical until it has.

4

What else to consider

Orientation: INDEX, Files and Architecture

INDEX.md is the first file every session reads: a short, ranked summary of where the project is. Bump it in the pull request that moves a state-of-the-project line. files.md is a flat map of every folder and key file, one line each. architecture-map.json is the living map of routes, modules and flows; its routes list is generated from server.mjs and lib/routes/ by scripts/gen-architecture-map.mjs and gated in CI, while the narrative sections are edited by hand. In RepoOps itself, CI fails a stale INDEX, a file-map fold behind its fragments, and a route list that drifted.

What works: Features

features.md is one row per feature with its status, each linking to its docs/features/ page. New rows go in .claude/brain/features.d/ as fragments and npm run sync-features folds them in. Flip a row to shipped in the same pull request that lands the code.

The system: Schema, Tests and Runtime

schema.md is every table, column, index and migration, updated with each schema change. tests.md lists every suite with what it covers, where it lives and which CI job runs it. runtime.md lists every scheduled job and hook with when it runs, what it writes and where its log goes.

Outside the code: Integrations and Dependencies

integrations.md has a row per external service: env vars, setup, failure mode and cost. dependencies.md lists the packages that carry real risk with a risk band, a compromise scenario and a patch path. Production sources you connect from Settings are covered in Production evidence.

Signals and words: Metrics, Open questions and Glossary

metrics.md pairs each number the team watches with the threshold that should worry you. open-questions.md keeps each unresolved architecture question with the event that raised it; a resolved one moves to decisions.md. glossary.md is the project's vocabulary, and anti-glossary.md lists the terms the team deliberately avoids and why, so agents use your words instead of generic ones.

Reference on repoops.ai

repoops.ai has no reference index page now: /team/reference opens the Wiki tab of the Memory page. /team/docs/<file> renders any published file with the same markdown engine the desktop uses, and /team/help carries the bootstrap prompts. The snapshot is published by a bound desktop with Brain snapshot on: top-level brain markdown, the roadmap and CLAUDE.md, redacted, never session logs or pull request records. Until a snapshot exists each doc shows an empty state.