rsrobo keeps a repo's structure map in that repo's own AGENTS.md, and notes hold the rest
Context#
The rsrobo notes for llnl-asr/dftracer-utils did not reflect the real structure of the repo. The notes repo cannot follow three branch layouts at once.
Decision#
The structure map belongs in the AGENTS.md inside the reviewed repo. It is versioned with the code, so each branch carries its own map and a PR that moves files updates it. Keep the map short: where new code goes and what is not obvious. The rsrobo notes are written as AGENTS.md, with commands first, a "Flag" list, conventions, pitfalls and "Do not flag". They name moving code by file and say to find it with Glob. init-notes writes AGENTS.md plus a one-line CLAUDE.md that imports it. When the base branch has an AGENTS.md, the reviewer gets it as data. The PR's own copy is removed.
Why#
Only the file in the repo stays true across branches. A notes repo cannot. The paths in the notes had gone wrong, three of them.
Rejected options#
A repository map in the notes repo: it drifts from every branch.
Also found by searching
- rsrobo notes do not match the real structure of the repo
- where should the file structure map of a reviewed repo live
- does rsrobo give the reviewer the AGENTS.md of the PR branch
- rsrobo init-notes writes which file