Go importer counts are package-level but rendered and ranked as file-level hubs
Context: ran every CLI command and all 19 MCP tools on three repos (codemap itself, Go, 380 files; werkzeug, Python, 294; yt-dlp, Python, 1239) from an agent's point of view, asking what each output lets a model do that grep/ls/git does not.
Go import edges are package-level, but the output ranks and warns as if they were file-level:
- every file in
scanner/reports "73 importers" get_hubslists 95 hubs, nearly all identical entrieshandoffpicks 15 "hub files" that are allscanner/*.gowith the same count--importers cmd/config.goprints⚠️ HUB FILE ... changes have wide impact!
The parenthetical "(Go imports name packages, not files)" is present, but the HUB flag, the ranking and the handoff summary treat the count as blast radius, which it is not.
Suggestion: for Go, collapse per-file importer counts to the package and label them as such, and do not set the hub flag until edges are file-level. Related: --topology reports Modules: 0 on single-module repos with no hint that it is a monorepo-only view.