Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 12 additions & 1 deletion docs.json
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,18 @@
"platform/verification/check-results"
]
},
"platform/insights",
{
"group": "Code Insights",
"icon": "chart-line",
"root": "platform/insights",
"pages": [
"platform/insights/findings",
"platform/insights/repository-health",
"platform/insights/trends",
"platform/insights/dependencies",
"platform/insights/pr-checks"
]
},
"platform/wiki",
"platform/memory",
"platform/learning",
Expand Down
Binary file added images/platform/insights/findings-light.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/platform/insights/pr-checks-light.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/platform/insights/trends-light.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 6 additions & 1 deletion llms.txt
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ Use when explaining how the graph answers questions about code, and how to read

## Graphify: Features

Use when the user asks about a hosted feature: Ask, graphs, reviews, verification, Wiki, Memory, or connectors.
Use when the user asks about a hosted feature: Ask, graphs, reviews, verification, Code Insights, Wiki, Memory, or connectors.

- [Console tour: the Graphify web app](https://docs.graphify.com/platform/console.md): A tour of the Graphify web app at app.graphify.com: Overview, repository graphs, pull request reviews, formal verification, Wiki, memory and connectors.
- [Ask your codebase: answers with citations](https://docs.graphify.com/platform/ask.md): Ask your codebase plain-language questions. Graphify answers from the graph or the wiki, handles PR questions, and abstains when it has no answer.
Expand All @@ -69,6 +69,11 @@ Use when the user asks about a hosted feature: Ask, graphs, reviews, verificatio
- [Formal verification: prove behavior is kept](https://docs.graphify.com/platform/verification.md): Graphify proves changed functions behave like the previous version, or shows the input that differs. What a pass means, languages and limits.
- [Read a formal verification check on GitHub](https://docs.graphify.com/platform/verification/check-results.md): Each Graphify verification check title and verdict: Behavior changed, Proven same, No change found, Not checked, Couldn't run, and what to do next.
- [Code Insights: codebase health from your code graph](https://docs.graphify.com/platform/insights.md): Find unused code, copies out of sync, architecture changes, dependency version drift and PR checks, with the evidence behind each one.
- [Findings: unused code, duplicates, and PR issues](https://docs.graphify.com/platform/insights/findings.md): Review unused code, matching function bodies and pull request findings, with evidence and a fix prompt for your agent.
- [Repository health in Code Insights](https://docs.graphify.com/platform/insights/repository-health.md): See code that lost its last caller, copies that drifted apart, and how architecture changes after each index.
- [Trends in Code Insights](https://docs.graphify.com/platform/insights/trends.md): Chart code files, coupling, unused symbols and other measurements after each index, and export them as CSV or JSON.
- [Dependencies in Code Insights](https://docs.graphify.com/platform/insights/dependencies.md): See every declared package and where the same library is pinned to different versions across repositories.
- [PR checks in Code Insights](https://docs.graphify.com/platform/insights/pr-checks.md): See how many merged pull requests had a Graphify check on the final commit, or merged with a confirmed issue still open.
- [Wiki: generated docs for every repository](https://docs.graphify.com/platform/wiki.md): Read, search, and ask questions about the wiki Graphify generates for each repository from its code knowledge graph, with a confidence trail on every page.
- [Agent memory for coding agents](https://docs.graphify.com/platform/memory.md): Explore the facts your coding agents remember about a repository, organized by code entity, with provenance and graph anchors behind every fact.
- [Learning: tune AI code review findings](https://docs.graphify.com/platform/learning.md): Teach Graphify which review findings matter with @graphify wrong, good, and suppress. Learning reduces noise and never changes verification results.
Expand Down
205 changes: 32 additions & 173 deletions platform/insights.mdx

Large diffs are not rendered by default.

28 changes: 28 additions & 0 deletions platform/insights/dependencies.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
---
title: "Dependencies in Code Insights"
sidebarTitle: "Dependencies"
description: "See every declared package and where the same library is pinned to different versions across repositories."
keywords: ["dependency inventory", "dependency version skew", "different versions in use", "all dependencies", "package versions"]
surface: "cloud"
icon: "package"
---

**Dependencies** in [Code Insights](/platform/insights) lists every package your repositories declare, read from their dependency files on each index.

- **Different versions in use** lists packages pinned to different versions in different repositories, with that sentence under the title. Each row reads like "requests is on 3 versions across 5 repositories" and has **Copy fix prompt for my agent**. This is version skew: the same library can behave differently from one service to the next.
- **All dependencies** lists every package and version, plus the manifest or lockfile and line where it's declared. Use **Search packages by name**, or pick one repository. **More** loads the next page.

**What to do.** Start with **Different versions in use**. Agree on one version, then ask your agent to update each repository and run its tests. The fix prompt tells the agent to investigate first and not to change code until you say so. See [Hand an insight to your agent](/platform/insights#hand-an-insight-to-your-agent).

If the tab says dependencies aren't available yet, wait for the next index, or check the build on [Repositories](/platform/repositories).

## What's next

<Columns cols={2}>
<Card title="PR checks" icon="clipboard-list" href="/platform/insights/pr-checks">
Checks behind merged pull requests.
</Card>
<Card title="Trends" icon="trending-up" href="/platform/insights/trends">
Chart measurements after each index.
</Card>
</Columns>
73 changes: 73 additions & 0 deletions platform/insights/findings.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
---
title: "Findings: unused code, duplicates, and PR issues"
sidebarTitle: "Findings"
description: "Review unused code, matching function bodies and pull request findings, with evidence and a fix prompt for your agent."
keywords: ["code findings", "unused code", "dead code detection", "duplicate code", "duplicate functions", "pr findings", "copy fix prompt", "checked against the code"]
surface: "cloud"
icon: "list"
---

**Findings** is the default tab in [Code Insights](/platform/insights). It lists every finding as a card in two groups: **Repository findings** and **Pull requests**. A group count such as **Pull requests (20+)** means another page is available. Use **Next PR findings** or **More repository findings** to load it.

If some repository scans didn't finish, a banner at the top reads **Some checks incomplete**, then the first reason, for example "Duplicate code: the scan reached its time limit", and how many other incomplete checks there are. Open the banner to see each check and **View indexing activity**.

<img src="/images/platform/insights/findings-light.png" alt="Code Insights Findings tab with unused and duplicate code cards, filters, and Copy fix prompt for my agent" width="1672" height="1072" className="block h-auto w-full rounded-lg" />

| Finding type | What you see on the card | What to check |
| --- | --- | --- |
| **Unused code** | A type badge with a count such as "1 symbol", a title, and a description such as "No recorded callers were found in the completed usage checks." The card also shows the repository and the file. | Dynamic or outside use, such as reflection, config, or another service. |
| **Duplicate code** | A type badge with a count such as "3 locations", a title, a description of the match, the repository and the file. | Compare their callers before you change one of them. |
| Pull request findings | A severity word (**Critical**, **High**, **Medium**, or **Low**), **PR #n**, the evidence label when the finding was confirmed, a relative time, the path and line, and the title and description. | The evidence, then the code. |

Every card has **Copy fix prompt for my agent**. Paste it into your coding agent. The prompt tells the agent to investigate first and not to change code until you say so. See [Hand an insight to your agent](/platform/insights#hand-an-insight-to-your-agent).

<Steps>
<Step title="Choose a source">
Pick **All findings**, **Repository scans**, or **Pull requests**.
</Step>
<Step title="Search and filter">
Use **Search findings by title or file path**. Open **Filters** to narrow the list.
</Step>
<Step title="Open a card">
Select a card to open its side panel. A repository finding offers **Open file**. A pull request finding offers **Open full report**.
</Step>
</Steps>

| Filter | Options |
| --- | --- |
| Show | **Current findings**, **Earlier analysis**, **Hidden by me** |
| Sort | **Newest first**, **Oldest first**, **Highest priority (PRs)** |
| PR category | **All review findings**, **Bugs**, **Improvements** |
| PR evidence | **Any evidence**, **Not yet verified**, **Supported by code**, **Confirmed by test** |
| PR priority | `P0` to `P3`. Cards show the same levels as **Critical**, **High**, **Medium**, and **Low**. `P0` is **Critical**. |

On a pull request card, confirmed evidence reads **Checked against the code** or **Confirmed by a test**. The Filters popover uses **Supported by code** and **Confirmed by test** for the same levels. **Not yet verified** is a claim nobody has checked yet. **Checked against the code** means the review traced the problem in the source. **Confirmed by a test** means a test reproduced it.

Code that never had a caller shows here as **Unused code**. Code that had a caller, lost it in a known commit, and has stayed unused is listed under **No longer used** in [Repository health](/platform/insights/repository-health). Matching function bodies show as **Duplicate code**. Copies that later drifted apart are in **Copies out of sync** on that same page.

## Decide as a team, or hide for yourself

| | Team decision | Hide this finding |
| --- | --- | --- |
| Who sees it | Everyone in the workspace | Only you |
| Choices | **Open**, **Acknowledged**, **Fix proposed**, **Dismissed** | **Not useful**, **Intentional behavior**, **Finding appears incorrect** |
| Effect on evidence | None. The app confirms with **Team decision saved. Verification is unchanged.** | None. **Undo hide** brings it back. |

To see what you hid, set **Show** to **Hidden by me**.

## If a check didn't finish

When the banner says **Some checks incomplete**, findings may be missing. Open it for each check's reason, such as "the scan reached its time limit", or look again after the next index. If you see "PR findings are not available on this deployment yet," use **Repository scans**.

Findings are advisory. They don't block a merge. To fail the Graphify check on a confirmed P0 or P1, see [Fail on confirmed P0/P1](/platform/reviews).

## What's next

<Columns cols={2}>
<Card title="Repository health" icon="heart-pulse" href="/platform/insights/repository-health">
Code that lost its last caller, and copies that drifted apart.
</Card>
<Card title="Pull request reviews" icon="git-pull-request" href="/platform/reviews">
Where pull request findings come from.
</Card>
</Columns>
48 changes: 48 additions & 0 deletions platform/insights/pr-checks.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
---
title: "PR checks in Code Insights"
sidebarTitle: "PR checks"
description: "See how many merged pull requests had a Graphify check on the final commit, or merged with a confirmed issue still open."
keywords: ["pr checks", "verified change share", "agent pull requests", "checks on merged pull requests", "tests on the final commit", "review issues confirmed"]
surface: "cloud"
icon: "clipboard-list"
---

**PR checks** in [Code Insights](/platform/insights) shows, for the pull requests merged in a period, which ones Graphify checked and which ones merged with a confirmed issue still open. Choose the **Whole workspace** or one repository, and the last 7, 14 or 30 days.

**Checks on merged pull requests** is a table. Under the title it says "Each check is counted on its own, split by whether an agent opened the pull request. A check is evidence, not proof." A status line then gives the merged count and date range, for example "12 pull requests merged, Dec 1, 2026 to Dec 3, 2026. 4 more still being counted."

<img src="/images/platform/insights/pr-checks-light.png" alt="Code Insights PR checks tab for the whole workspace over the last 30 days, with Formal verification, Tests on the final commit, and Review issues confirmed" width="1715" height="420" className="block h-auto w-full rounded-lg" />

Each row is one kind of evidence:

| Row | Counts a merged pull request when |
| --- | --- |
| **Formal verification** | [Formal verification](/platform/verification) bounded-checked at least one changed function. |
| **Tests on the final commit** | A Graphify review or formal verification run finished on the exact commit that was merged, not an earlier one. |
| **Review issues confirmed** | The final Graphify review found at least one issue that is **Supported by code** or **Confirmed by test**, and nobody dismissed it. |

The first two rows are coverage: higher is better. The third row is risk: these pull requests merged with a confirmed issue still open.

Each column is a group of pull requests, split by agent signal: **Opened by an agent account** and **No agent detected**. "No agent detected" means Graphify found no agent signal. It does not mean a person wrote the change.

**How to read it.**

- Every cell reads "x of N merged", then a percentage when the group is large enough. A pull request can count in more than one row, so a column does not add up to its total.
- Percentages show once a group has 30 merged pull requests. Below that, you see counts only.
- A pull request is counted after it settles, about a day after merge. Until then the column says how many are still being counted.
- A check is evidence, not proof. Formal verification checks behavior up to a set bound.

**What to do.** Compare the agent column with the other one. If agent pull requests merge with fewer checks on the final commit, ask for `@graphify review` after the last push, before you merge. Open the pull requests counted under **Review issues confirmed** and fix or dismiss each issue.

**Tests on the final commit** is not a count of CI tests. It counts a Graphify review or formal verification run that finished on the merged commit.

## What's next

<Columns cols={2}>
<Card title="Pull request reviews" icon="git-pull-request" href="/platform/reviews">
How a review runs and how to read a finding.
</Card>
<Card title="Findings" icon="list" href="/platform/insights/findings">
Individual pull request findings and their evidence.
</Card>
</Columns>
Loading
Loading