Skip to main content
Repository health in Code Insights shows one repository at a time, in three sections: No longer used, Copies out of sync, and Architecture. A status line at the top says whether the insights are current. It may read Updated 2 hours ago, or Didn’t finish with a sentence such as “No longer used, Copies out of sync, Architecture and Trends didn’t finish for the latest index. They run again after the next index. Earlier results are still shown.” That line can name Trends even though Trends has its own tab. Earlier results stay on screen. When a section has nothing to show yet, No longer used and Copies out of sync read “Not checked yet. This runs a few minutes after the repository is indexed.” Architecture reads “No architecture snapshot yet. One is taken a few minutes after each index.” Code Insights Repository health tab with No longer used, Copies out of sync, and Architecture numbers for Files in cycles, Cross-module, Change reach, and Modules Each listed item has Copy fix prompt for my agent. See Hand an insight to your agent.

No longer used

What it means. A symbol that had a real caller, lost it in a specific commit, and has stayed unused since. The card says it in one line, for example: “_legacy_tax() lost its last caller in commit a1b2c3d on Oct 3, 2026.” How it’s worked out.
  1. Graphify compares each indexed build with the one before it and records the commit where a private symbol’s last real use was removed.
  2. The symbol must then stay unused for at least 45 days and at least two more indexed builds. Until then it counts as waiting, and the section says how many are waiting.
  3. Before a symbol is listed, Graphify rules out common hidden uses: the name appearing elsewhere in the code as text, names built at runtime, decorators, framework and test hooks, route handlers, overrides of outside classes, and dynamic attribute access.
  4. Code that never had a caller is not listed here. It shows as Unused code in Findings.
Evidence you see. The symbol, its file and lines, the commit where it lost its last caller, and the date. What to do. Open the commit to see which use was removed and confirm nothing replaced it. Check for dynamic or outside use, such as another service or a plugin, before you remove it. Then hand it to your agent with Copy fix prompt for my agent.
If part of a repository’s graph is incomplete, this section shows Not checked with “Part of this repository’s code graph was incomplete, so unused code couldn’t be confirmed.” Graphify does not report unused code from a partial graph. It checks again after the next index.

Copies out of sync

What it means. Two or more copies of the same function, where one copy changed and the others did not. This is how a bug gets fixed in one place and stays in another. The card reads, for example: “parse_date changed in api/dates.py, but its copy in worker/dates.py did not.” How it’s worked out. Graphify tracks groups of matching function bodies from build to build. When one member of a group changes and the others stay the same, Graphify opens an entry. If only the comments changed, the card says so. Evidence you see. When a copy is listed, the card shows the file that changed (Changed), the files that did not (Not changed), and when Graphify found it. What to do. Read the change. If it fixed a bug, port the fix to each copy, or replace the copies with one shared function and update the callers. Matching function bodies that have not drifted apart show as Duplicate code in Findings.

Architecture

What it means. How the files in a repository depend on each other, measured after each index. Recent changes lists each indexed commit with what changed, for example “6 new dependencies (2 across modules) · 3 removed · 1 cycle closed”. Open New cross-module dependencies to see each file pair and the modules it crosses. What to do. When a commit adds a dependency across modules that you didn’t intend, copy the fix prompt and ask your agent to trace why. Watch Change reach and Files in cycles over time on Trends. If you see “Part of the repository couldn’t be read, so these numbers may be low,” fix the build on Repositories, then reindex.

What’s next

Trends

Track architecture and unused-code measurements over time.

Findings

Unused symbols and matching function bodies from the latest scan.