* test(plugins): pin entry-point loader contract across load, isolation, duplicate and gating paths
* style(plugins): format test_entrypoint_loader to satisfy ruff format
---------
Co-authored-by: XZH <cto@xzh.ai>
#908 and #911 landed two plugin groups — deeptutor.plugins for registry
capabilities, deeptutor.loop_capabilities for chat-loop ones — each with its own
copy of the same plumbing: read the group, import each target, warn and skip
whatever fails. Only the coercer actually differed.
Move the plumbing into core/entry_points.py, which both layers already depend
on, so the containment guarantee (one bad plugin cannot stop the others) is
stated and tested once instead of twice. Both suites now stub the single seam
rather than a module-local alias.
Drops #908's Python <3.10 entry_points() fallback along the way: the project
requires >=3.11, so the keyword form is the only API in play.
CapabilityRegistry.load_plugins() and /plugins/list already imported deeptutor.plugins.loader behind a try/except, but the module never existed — plugin discovery was a dead path. Implement it: discover manifests from the deeptutor.plugins entry-point group and instantiate BaseCapability subclasses. PluginManifest carries exactly the fields both call sites read.