discovery
_discovery
Shared entry-point discovery for axm.tools consumers.
A single module-level helper so the CLI (axm.cli) and the DAG node adapter
(axm.tools.node) discover entry points the exact same way — one metadata
query, one {name: EntryPoint} mapping, no duplicated entry_points(...)
call drifting between the two. Kept inside axm.tools so node.py imports
it as a sibling and cli.py imports it from the package (the dependency
direction already in use), with no import cycle.
entry_points_for(group)
Map name -> entry point for group (no .load() — pure metadata).