Files
road-compiler/.trellis/tasks/archive/2026-09/09-02-junction-detection-hotspot/implement.md
T

22 lines
883 B
Markdown

# Implementation
先为 node/cluster/candidate 派生逻辑加单测,再接 MapCanvas 热区渲染和点击路由;验证与现有道路/设施命中隔离。
# Implementation
1. Add a pure descriptor model deriving editable node, readonly configured cluster,
and candidate cluster hotspots from the compiled state.
2. Add a dedicated OpenLayers hotspot layer with visibility control and isolated
click handling that returns a stable `JunctionRef`.
3. Add unit coverage for descriptor stability and node/cluster/candidate status.
## Progress
- [x] Pure descriptor model and stable `JunctionRef`
- [x] Dedicated hotspot layer and map click adapter
- [x] Client type-check, unit tests, format check, and production build
## Deferred
- Independent JunctionTools route and session lifecycle belong to the workspace
child task and are intentionally not implemented here.