DunneFlow · Reference
When it refuses
Every refusal DunneFlow is likely to give you, in plain words, and what to do about each.
DunneFlow is designed to be deterministic: run it twice on the same tree and you get the same map. Where it cannot give a trustworthy answer, it refuses rather than guesses, and every refusal names something you can act on. A fallback that produces a plausible value hides the failure it was written for, and a map that looks right and is wrong is worse than no map.
Written by a different version#
error: output/some-project/graph@2026-09-09T15-32-15Z.db was written by a different
version of DunneFlow and cannot be read safely -- re-run `dunneflow analyze` to rebuild it
What happened. DunneFlow was updated. A map records which extractor and detector rules produced it, and a newer build will not read an older store as if it were its own.
What to do. Analyse the tree again. Unchanged files are cached, so it is quick.
Every upgrade to 0.3.1 lands here once. 0.3.1 refuses every map made by 0.3.0 or 0.2.0,
in any language, and says so: 0.3.0 changed the store, and 0.3.1 changed how the host drives
a reader, which is part of every map's stamp. analyze rebuilds a refused map from the tree,
and nothing else is lost. See Upgrading from 0.2.
If it names standards.db, re-run with --standards pointing at the same standards
directory. A rebuild that omits --standards analyses perfectly and then refuses to open.
If you no longer have the standards directory, delete standards.db.
If you have sealed snapshots, they are stale too; rebuild them oldest first as in Comparing two versions.
Facts from a different reader#
error: output/some-project/graph@….db holds facts from a reader this build is not:
typescript (read by 1.1.0:92eb0d173e9807a7). Re-run `dunneflow analyze` -- it re-reads
only the language that changed, and leaves the rest of the map alone.
What happened. The reader for one language changed while the rest of the tool did not. DunneFlow records per file which reader produced its facts.
What to do. Analyse again. Only the named language is re-read.
A language's toolchain is missing#
typescript needs `node` ≥ 20.0.0 and nothing answers `node --version` on this machine.
Install it (brew install node, or nodejs.org), or run again with `--without typescript`
and the map will say those files were declined.
What happened. Five of the seven languages are read by their own toolchain, and the tree holds one whose toolchain this machine does not have, or has in too old a version. The check happens before anything is read, so nothing is half-written when this appears. The sentence names the language, the command it asked, the version it wants and how to install it:
| Language | It asks | Needs | Or analyse with |
|---|---|---|---|
| TypeScript | node | Node.js 20 or newer | --without typescript |
| Go | go | Go 1.22 or newer | --without go |
| Rust | cargo | Rust 1.79 or newer, from rustup | --without rust |
| Java | java | a JDK 17 or newer | --without java |
| C and C++ | clang++ | clang 15 or newer and its libclang | --without cpp |
Python and Kotlin need nothing.
What to do. Install the toolchain, or analyse with the --without it names. The run
prints what you declined and how many files that was, and About this map records it, so a
map with no Go in it can be told apart from a program with no Go in it. Declining every
language the build reads is refused, since that would be a map with no code in it. A
toolchain is never asked for if the tree holds none of its language.
Stores absolute paths#
error: output/some-project/graph@….db stores absolute paths, from before DunneFlow made
them relative to the tree they were read from -- run `dunneflow migrate output/some-project`
to rewrite it in place
What to do. Run the command it names:
uv run dunneflow migrate output/some-project
It rewrites stored paths in place rather than re-analysing, so sealed snapshots whose source is gone survive. A reader never repairs a store silently on the way past.
Never finished#
error: some-project was never finished: an analysis stopped while reading the documents.
What it holds is part of a program, not a program. Analysing it again completes it — the
extraction is cached, so it takes seconds rather than the whole run. Or pass
--allow-unfinished to read it as it stands.
What happened. An analysis was interrupted: you pressed Stop it, the machine slept, or the process was killed. A half-written graph opens perfectly and is wrong.
What to do. Analyse it again; it picks up where it stopped.
Or read it as it stands, if you choose to. Refusing is a setting:
- In the dashboard, Settings › What opens, and what shows › Unfinished maps is Refuse or Open with a warning. The start page offers the same choice whenever a program on it is unfinished. It is one choice for the whole machine, because a refused program cannot be opened to change its own settings. Opened, a red line at the top of the view says which step the analysis stopped in.
- On the command line,
--allow-unfinishedoncheck,touches,impact,glossary,naming,mirror,serveandmcp. Each prints the same sentence as a warning and answers.
One command proceeds without being asked, and warns: dunneflow query, whose contract is to
return the rows that are there.
A map folder that was never finished#
A map's pages are written into map@<revision>.unfinished/ and renamed to map@<revision>/
only after the last one. If writing stops (a crash, Ctrl-C, a full disk), the .unfinished
folder is what is left, with an UNFINISHED.md saying which page it stopped on. Nothing
counts it as a map. dunneflow render <program directory> writes the map again from the
graph that is already there, without reading the source.
Is the program being read#
dunneflow is the program being read — its graph is open here, and an analysis may
discard and re-extract it. Switch to another program first, or run this from a terminal.
What happened. You asked the dashboard to analyse into the name it is currently serving, which could empty the map while you read it.
What to do. Switch the program menu to something else first, or run dunneflow analyze
from a terminal against a server that is not serving that program.
Maps disk not there#
maps are kept in …/DunneFlow, which is not there right now —
reconnect that disk, or choose somewhere else
What happened. You moved your maps to another disk and it is not connected.
What to do. Reconnect it, or press Choose somewhere else on the start page. DunneFlow falls back to the standard location so the application still opens, and says so in the terminal and in a banner. It will not create the missing directory: on every platform that would risk creating an empty maps folder on your startup disk, or on the wrong drive.
The open map's drive went away#
The map this server has open cannot be read: … is not there. If it is on an external
drive, the drive has been disconnected (sleep can do that). Reconnect it and ask again;
nothing needs restarting.
What happened. The map you have open is on an external drive, and the drive was ejected or the Mac slept and dismounted it. Before 0.3.1 this killed the dashboard with nothing on screen to say why.
What to do. Reconnect the drive. The dashboard and the MCP server reopen the map by themselves when it is back, and the page carries on where it was, with no restart. An analysis that was writing its map to that drive still stops, but it runs in its own process, so the dashboard that started it survives and reports the failure. Analyse again once the drive is back.
No folder picker (Linux)#
no folder picker is installed — zenity or kdialog would give you one;
type the whole path instead
What to do. Type the path into the field, or install zenity or kdialog.
No desktop session (Linux)#
there is no desktop session here to open a window in — type the whole path instead
What happened. DunneFlow is running without a display, for example over SSH, and you asked for a window. Show me refuses for the same reason.
What to do. Type the path.
Tree too large to read in one go#
If a tree has more files than DunneFlow is known to read in a single run, analyze refuses
and prints the tree cut into parts that are each within that size, with the command to
analyse each one into the same maps root. --parts prints that breakdown without
analysing; --any-size overrules the refusal.
Refusals from the Analyse dialog#
Each appears under the fields as you type, with Analyse greyed out until it is settled.
| It says | What to do |
|---|---|
| …is a relative path — give the whole path, because the server's directory is not yours | Use Choose… or type the full path. |
| …does not exist | Check the path. |
| …is a file, not a directory to analyse | Point at the directory containing the code. |
| …is inside the output root — that is where maps are written | Point it at source, not at maps. |
| no name was given, and the directory has none to borrow | Fill in Call it. |
| …is not a name a directory can have | One plain name, no slashes and no leading dot. |
| a file called … is already sitting where that program's directory would go | Move or rename that file. |
And one note rather than a refusal: analysing into an existing program rewrites its working snapshot; seal it first if you want to keep both.
Refusals about a standards directory#
--standards admits somebody else's naming rules. It is refused if the directory is inside
the output root, inside the documentation root (it is already read), or inside the analysed
tree (then it is the program's own documentation, not an outside standard). Keep standards
somewhere permanent, outside both.
A 403 from the dashboard#
This request would change something, and it did not come from the DunneFlow page this
server served. Nothing was done.
What happened. Since 0.3.0 the dashboard checks every request, so that another web page
open in the same browser cannot read a map or start an analysis. It answers only as
127.0.0.1 or localhost on its own port, and a request that changes something (a POST)
must carry the header X-DunneFlow: 1 and no other site's Origin. The page does both by
itself, so you see this only from a script of your own.
What to do. Address the server as 127.0.0.1 or localhost, at the address
dunneflow serve printed, and send X-DunneFlow: 1 with every POST:
curl -X POST -H 'X-DunneFlow: 1' 'http://127.0.0.1:PORT/api/…'
A 409 from a freshly started server#
If a request arrives before any map is open, the server answers 409 with a sentence saying
so. You normally see this only from a bookmarked dashboard URL. Go to /start and open a
program.
When the map looks wrong, not broken#
- A large program with almost no internal calls usually means a partial checkout. What is not on disk is not in the map. See Getting the code.
- An entry point that reaches almost nothing when you know it does more usually means a
framework registers handlers in a way DunneFlow's detectors do not yet recognise. Teaching
it one is normally a configuration edit in
detectors/*.yamlrather than a code change. - A finding that is really a limitation of DunneFlow. Press
3on it in the worklist to triage it as a defect in the tool.
Something unclear or out of date? Tell us.