netx/packages/netx-topology-mcp/src/netx_topology_mcp
oliver ed820126df Fix the 5 failing netx-topology-mcp tests.
Stale tests (behavior changed intentionally on 2026-08-12):
- Tool count is 16: suggestSinkHubs and classifyTopologyFabricNodes are
  documented public tools; assert them by name.
- compose_views is no longer a public layout action; assert it is
  rejected, and cover the background-job path via orbit_sweep instead.
- Dual-unit petals are nested ellipse bands with a hollow eye, not
  parallel lanes; assert side split, ordering inside the portals and
  zero crossings instead of portal-aligned lane ends.

Real bug (test failed since it was added on 2026-08-09):
press_hot_edges could never reel a long spoke in to its r_use target,
because max_disp (r0*0.55) is smaller than r0 - r_use. Inward pulls along
the spoke cannot fling a leaf across the bbox, so give them a cap of
r0 - r_use. On a 1483-node dev view crossings after the op drop
25501 -> 25346; a 500-node view is unchanged; runtime unchanged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-12 22:16:37 +08:00
..
layout_ops Fix the 5 failing netx-topology-mcp tests. 2026-10-12 22:16:37 +08:00
__init__.py Ship gated eye polish, fabric levels, and collection UI refresh. 2026-08-12 16:13:05 +08:00
__main__.py Add standalone topology MCP with skill, scopes UI, and opt-in live sync. 2026-08-04 00:16:02 +08:00
http_client.py Converge netx-topology MCP to dual-unit drain + orbit/polish mainline. 2026-08-09 23:18:53 +08:00
http_tools.py Optimize topology canvas per the 2026-10-12 plan. 2026-10-12 22:11:22 +08:00
layout_job_worker.py Converge netx-topology MCP to dual-unit drain + orbit/polish mainline. 2026-08-09 23:18:53 +08:00
layout_jobs.py Converge netx-topology MCP to dual-unit drain + orbit/polish mainline. 2026-08-09 23:18:53 +08:00
layout_metrics.py Ship gated eye polish, fabric levels, and collection UI refresh. 2026-08-12 16:13:05 +08:00
layout_sight.py Update topology tool skill 2026-08-10 16:44:09 +08:00
layout_stats.py Ship gated eye polish, fabric levels, and collection UI refresh. 2026-08-12 16:13:05 +08:00
layout_structure.py Ship gated eye polish, fabric levels, and collection UI refresh. 2026-08-12 16:13:05 +08:00
layout_tool.py Ship gated eye polish, fabric levels, and collection UI refresh. 2026-08-12 16:13:05 +08:00
layout_topology_quality.py Converge netx-topology MCP to dual-unit drain + orbit/polish mainline. 2026-08-09 23:18:53 +08:00
server.py Converge netx-topology MCP to dual-unit drain + orbit/polish mainline. 2026-08-09 23:18:53 +08:00