2694cad619dab578a305b5bb6494e79014f46efd
A crosswalk renders as six stripe features but is edited as one thing. Clicking one now resolves the whole group, and clicking anything else drops the selection so a box cannot outlive what it was drawn around. The group id needed no compiler change: crosswalk:node/<crossingId> is already stable, because compileControlMarkings() emits exactly one group per crossing from a single candidate road. Verified against real output — 48 stripes, 8 groups of 6, nothing ungrouped, and none of the 8 stop lines mistaken for one, since both share controlFeature() and are told apart by provenance. Grouping therefore reads a published identifier rather than clustering on proximity, which prd.md forbids. Two supporting fixes in MapCanvas: the select callbacks join the existing callback ref, and an empty click now reports background instead of returning early. The listener is registered once, so it had been holding the first render's closures — harmless while they only called stable setters, and not survivable now that one of them reads current layers. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Road Compiler
Compiles a native-road-package/v1 RoadCompilerInput JSON file into native-road GeoJSON, diagnostics, traffic-signal runtime assets, and a deterministic completion marker.
npx road-compiler --input /absolute/path/road-compiler.input.json
The compiler does not read host area configuration. The caller owns configuration normalization and creates the input JSON. Successful compilation writes exactly one NATIVE_ROAD_COMPILE_DONE JSON marker to stdout.
Run npm test after npm ci to validate the package and its two self-contained area fixtures without the host repository. The migrated baselines remain upgrade corpus; the host repository owns the strict path-normalized parity gate.
Languages
JavaScript
47.8%
Python
25.3%
TypeScript
25%
CSS
1.3%
HTML
0.6%