> ## Documentation Index
> Fetch the complete documentation index at: https://docs.flowmaps.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Accuracy

> How Flowmaps backs and checks each step, what Verified and Inferred mean, how gaps and unresolved links show, and how to get a better flow.

Flows are written by AI models and then checked against your code. That makes them a well-cited map of what the code does, not a guarantee: a flow can still miss something or get a detail wrong, and it describes the code at one commit. This page explains the signals Flowmaps gives you so you can tell which parts to rely on and which to read yourself.

The short version:

* Steps cite the lines they come from, at a named commit, and you can open them. A step whose citations didn't hold is marked Inferred and says so.
* **Verified** steps were checked against those lines and the lines support them. **Inferred** steps couldn't be confirmed from the lines cited, and say why.
* Where Flowmaps couldn't follow the code, it leaves a **gap** or an **unresolved** link instead of guessing.
* A flow is accurate for the commit it was mapped at. When the branch has moved, check the diff.

## Steps cite their code

Each step lists its **Evidence**: the file and line range it's based on, such as `src/payments/charge.ts:20-41`. The lines belong to the commit shown under **Mapped** in the flow's **…** menu. Choose **Show code** to open them in place. See [The flow page](https://docs.flowmaps.ai/flows/flow-view.md#evidence-and-the-code-view).

Evidence is the first thing to check when a step surprises you. If the cited lines don't say what the step says, the step is wrong, and Flowmaps wants to hear about it ([below](#report-a-wrong-flow)).

Test code doesn't count as evidence for what runs, because a test shows what's expected rather than what happens. A step that cites only tests isn't marked Verified.

## Verified and inferred

After a flow is written, each top-level step is checked separately against the lines it cites; the sub-steps inside a step aren't checked on their own and show as Inferred. The check asks one question: do these lines show what the step claims?

| Mark | What it means |
| - | - |
| **Verified** | The cited lines were checked and support the step. |
| **Inferred** | The step couldn't be confirmed from the lines it cites. It may still be right, for example when the detail lives in code the step didn't cite, but treat it as Flowmaps' reading rather than a checked fact. |

Steps the check doesn't support are sent back to be corrected: Flowmaps cites lines that show the detail, removes the detail, or fixes the claim, and checks those steps again. What's still unsupported after that stays in the flow as Inferred, with its reason, rather than being dropped. You see exactly which claims the code shown backs and which it doesn't.

Where you see it:

* **The flow header** shows a **Verified** bar and "N of M steps", with how many are inferred.
* **Steps in the Cascade** carry an **Inferred** tag. A folded path or failure path that holds one says "Holds an inferred step."
* **The step panel** shows **Confidence** (**Verified** or **Inferred**, or "Not verified" when the step was never checked) and a **Why** row with the reason the check recorded.
* **Coding agents** get the same level on every step over MCP, and flow lists say how many steps of each flow are verified.

A flow's endings are checked the same way: whether the code shows the flow ends that way right after the step it names.

## Gaps: where the code couldn't be followed

Some code can't be followed by reading it: a handler picked from configuration, a function called through a name built while the program runs, a file that couldn't be read. Instead of guessing what happens there, Flowmaps leaves a **gap**: a short note of what couldn't be followed and the line where it stopped. The header counts them ("2 gaps"); each opens with **Open the gap** and **Show code**.

A gap is a place to read the code yourself. The rest of the flow is still checked as usual.

## Unresolved, not guessed

The same rule applies wherever Flowmaps connects one thing to another. When it can't make a match confidently, it says so:

* **Links to other flows.** A step that calls another service, publishes a message or schedules work is linked to the flow that handles it. When no match is certain, the step says it "links nowhere", with a reason such as "the name is set at run time", "no consumer found" or "several possible consumers", and a hint about what to do. See [Connections and dependencies](https://docs.flowmaps.ai/flows/connections.md#unresolved-links).
* **Vendors.** A name Flowmaps doesn't recognise as a known vendor becomes a pending vendor for you to review, rather than a guessed one.
* **Entry points.** An endpoint discovery couldn't confirm is marked **Unconfirmed**; one it couldn't place is left as a note; and a list that may be missing some says **Discovery is incomplete** and why. See [What Flowmaps finds](https://docs.flowmaps.ai/mapping/what-flowmaps-finds.md#unresolved-entry-points).

## Business facts are verified, not exhaustive

Some steps carry short [business facts](https://docs.flowmaps.ai/flows/business-facts.md): a **Note** on what the step does for the business, or an **Issue** that claims a defect or a security gap. Each fact is checked against its own cited lines before it's kept. But facts are selective: a step shows at most three, and a step with none may still hold something worth knowing.

An **Issue** is a lead to look into, not an audit. It can be mistaken, and the absence of an Issue doesn't mean the code is correct or secure.

## Flows describe one commit

A flow's line numbers and claims belong to its commit. When the default branch has moved past it, the flow is **stale**: the flow page shows **Behind the branch head** and **Repos** shows **Behind** and the branch name. When a merge's update couldn't run because credits ran out, the flow shows **Out of date**.

Merges keep flows current by updating the flows each change touches, so most flows are behind only briefly. Before trusting a line number on a newer branch, compare with `git diff <commit> -- <path>`, using the commit under **Mapped**. See [Keeping flows current](https://docs.flowmaps.ai/mapping/keeping-flows-current.md#what-stale-means).

## Get a better result

When a flow looks thin or wrong, these help, roughly from cheapest to most thorough:

**1. Read the cited lines**

Open the step's **Evidence** and its **Details** list in the step panel. Together with the code they usually settle whether the step is wrong or only worded more broadly than you'd put it.

**2. Map what it links to**

An unmapped endpoint a step calls shows **Map** and its key. A link that "links nowhere" because the handling code is in another repo resolves once you add that repo and map its endpoints.

**3. Re-check the flow**

Owners and admins can choose **Re-check steps** in the flow's **…** menu. Flowmaps checks each step against its cited lines again, on the repo's current models, and corrects the steps that don't hold, without mapping the flow afresh. It uses credits.

**4. Re-map**

**Re-map** on **Repos**, or on selected flows in **Flows**, maps them again at the branch head. Use it when a flow is stale, or after a change that didn't arrive through a merge. It uses credits.

**5. Use stronger models**

On plans that let you choose models, an admin can pick stronger models in **Settings › Models**, for the workspace or a single repo, and then **Re-map with these models** in the repo's **Settings** tab. Stronger models usually use more credits. See [Models](https://docs.flowmaps.ai/account/models.md).

For endpoints that are missing rather than wrong, use **Read the rest** on an incomplete discovery, or **Discover again** from the repo's menu on **Repos**. See [Troubleshooting](https://docs.flowmaps.ai/help/troubleshooting.md#mapping).

## Report a wrong flow

If a flow says something the code doesn't do, misses a step that matters, or flags an Issue that isn't one, write to [support@flowmaps.ai](mailto:support@flowmaps.ai) with:

* The flow's link (copy it from your browser's address bar).
* Which step or ending is wrong, by its number or text.
* What the code actually does, in a sentence.

You don't need to paste code into the email: the flow's link and the step identify it. Reports like these are how mapping gets better for everyone.

## Next steps

> [card] [The flow page](https://docs.flowmaps.ai/flows/flow-view.md)
>
> Every part of a flow, from the header to the step panel.

> [card] [Keeping flows current](https://docs.flowmaps.ai/mapping/keeping-flows-current.md)
>
> Merges, stale flows, re-map and re-check.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.