The Diagram Is the Byproduct

DOT graphs as analysis infrastructure

amplifier-bundle-dot-graph

You think you're documenting a system.
You're testing whether you understand it.

Drawing a system as a DOT graph looks like harmless documentation. The dot-graph bundle argues it's something else entirely — and its own shipped materials say so out loud.

That claim isn't marketing. It's written into the code.

The thesis is codified verbatim in a shipped skill

The bundle's dot-as-analysis skill states it directly — this is a released capability in the canonical Microsoft repo, at version 0.3.1.

So why would drawing a diagram surface anything new?

“DOT diagrams are not just documentation — they are analysis instruments.”
dot-as-analysis/SKILL.md, Overview · microsoft/amplifier-bundle-dot-graph v0.3.1 · Shipped / released
The tension

Your mental model and the code
have quietly drifted apart.

You believe a flow exists. You believe a box connects. Ordinary documentation lets both beliefs stand unchallenged — nothing forces you to check whether reality still agrees.

Drawing changes that. Here's the mechanism.

Completeness pressure is the engine

You cannot leave a box disconnected without asking why. You cannot draw a flow without tracing where it actually goes.

The bundle turns that pressure into a repeatable process.

“Completeness pressure is the mechanism. You cannot leave a box disconnected without asking why.”
dot-as-analysis/SKILL.md, Core principle

Four phases turn a drawing into a reconciliation

The dot-as-analysis skill defines a named workflow. Each phase pushes belief a step closer to what the code actually does.

Run the last phase and the payoff appears.

1
Introspect
State what you believe the system does
2
Represent
Draw it as an explicit DOT graph
3
Reconcile
Compare the drawing against the code
4
Surface
Report the delta as findings

The delta becomes a bug report

In the skill's canonical teaching scenario, a “believed” payment-retry node turned out not to exist — exposing silently dropped transactions.

The diagram was the byproduct. The defect was the deliverable.

Believed: a payment-retry node.
Reality: it didn't exist.
Result: transactions dropped in silence.
dot-as-analysis/SKILL.md · illustrative teaching Scenario, not a documented production outage

Structural questions are answered in code, not LLM guesses

The single dot_graph tool's analyze operation is NetworkX-backed, so reconciliation is verifiable rather than asserted.

And the whole thesis is operationalized end-to-end.

reachability & unreachableWhat can (and can't) be reached in the graph
cyclesLoops the mental model missed
critical_pathLongest dependency chain, via nx.dag_longest_path
stats & pathsDensity and concrete routes, computed not guessed

Draw the graph to test your understanding

An agent authors it, an independent reviewer PASS/WARN/FAILs it, and an 11-agent Parallax pipeline triangulates the codebase from three perspectives.

The diagram is the byproduct. The reconciled understanding is the deliverable.

PASSNo syntax/structural errors; meets quality standards
WARNQuality/style issues, non-blocking
FAILSyntax error, orphan nodes, or missing legend on 20+ node diagram
Sources

Research Methodology

Data as of: Canonical repo last pushed 2026-05-18; latest commit & tags v0.3.0/v0.3.1 dated 2026-05-17.

Feature status: Shipped / released — microsoft/amplifier-bundle-dot-graph at version 0.3.1 (222 commits, 3 merged PRs). README notes external contributions are not currently accepted.

Primary source: Fresh clone of git@github.com:microsoft/amplifier-bundle-dot-graph.git. The claimed colombod/amplifier-bundle-dot-graph is a fork (isFork:true, parent owner microsoft); microsoft is canonical (isFork:false, parent:null).

Commands run:

Primary contributors: Brian Krabach (195 commits); Amplifier bot/automation (26); Salil Das (1).

Gaps: The payment-retry / dropped-transactions story is an illustrative teaching Scenario in the skill doc, not a verified production outage. No published GitHub Releases exist (git tags only). Analysis used a clone in /tmp; the local amplifier-module-tool-diagrams is an unrelated Kroki-based module and was excluded.

More Amplifier Stories