When a scan has built a code graph with declarations in it, the target
page shows a card with:
- the number of code units (functions, types, PLC blocks);
- the number of entry points;
- the languages;
- one line on why it matters: triage takes into account whether an
entry point reaches a finding.
The build run counts its file nodes and entry points once, while it is
built. The new GET /api/v1/graph/{id}/summary then reads only the latest
build and loads no nodes. A build stored before this change has no counts
and shows no card until the next scan.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>