File size: 3,139 Bytes
b02098c a9ca0aa e85dc2a a9ca0aa b02098c | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 | """Wave 42, lane F — cross-fence wiring rows.
⛔ ONE LANE OWNS THIS FILE. A row lands in the SAME change as the wiring it asserts; the worker who
REQUESTS a wiring may not be the one who verifies it. Shape is `verify_wiring.py`'s exactly:
(feature, declaring_file, declaring_regex, mounting_file, mounting_regex)
Paths are relative to `aios-web/web/src/`.
"""
from __future__ import annotations
ROWS: list[tuple[str, str, str, str, str]] = [
("W42 C6 Route name opens its detail target in one click",
"customer-grid/RouteNav.tsx", r"onActiveRouteChange\(item\.id\)",
"customer-grid/MapView.tsx", r"onActiveRouteChange=\{setActiveRouteId\}"),
("W42 C6 Route duplicate is required and reaches its normalized door",
"customer-grid/RouteNav.tsx", r"onDuplicate: \(route: MapRouteDto\)",
"customer-grid/MapView.tsx", r"onDuplicate=\{duplicateNamedRoute\}"),
("W42 C6 Route share uses the established share dispatcher",
"customer-grid/RouteNav.tsx", r"onShare: \(route: MapRouteDto\)",
"customer-grid/MapView.tsx", r"onShare=\{shareNamedRoute\}"),
("W42 C6 post-create privacy prompt receives the new Route",
"customer-grid/RouteNav.tsx", r"createdRoute: MapRouteDto \| null;",
"customer-grid/MapView.tsx", r"createdRoute=\{createdRoute\}"),
# RE-AIMED 2026-08-31: the owner's *"exact same layout as views"* rail replaced `levelAt`'s
# one-level path with the Views rail's disclosure tree, so the old declaring literal names
# nothing. The WIRING this row exists to prove is unchanged and is what stays pinned: the
# host's folder list reaches the rail and the rail files Routes against it.
("W42 C6 Route folders ride the listing into a folder tree",
"customer-grid/RouteNav.tsx", r"const foldersByParent = useMemo\(",
"customer-grid/MapView.tsx", r"folders=\{routeFolders\}"),
("W42 C6 personal Route filing reaches the normalized folder door",
"customer-grid/RouteNav.tsx", r"onRouteMove: \(route: MapRouteDto, folderId: string \| null\)",
"customer-grid/MapView.tsx", r"onRouteMove=\{moveNamedRoute\}"),
("W42 C6 personal Route order is required and mounted",
"customer-grid/RouteNav.tsx", r"onRouteReorder: \(order: string\[\]\)",
"customer-grid/MapView.tsx", r"onRouteReorder=\{reorderNamedRoutes\}"),
("W42 C6 Route-folder create and rename doors are mounted",
"customer-grid/RouteNav.tsx", r"onFolderCreate: \(name: string, parent: string \| null\)",
"customer-grid/MapView.tsx", r"onFolderUpdate=\{updateNamedRouteFolder\}"),
("W42 C6 Route-folder delete is required and mounted",
"customer-grid/RouteNav.tsx", r"onFolderDelete: \(folder: MapRouteFolderDto\)",
"customer-grid/MapView.tsx", r"onFolderDelete=\{deleteNamedRouteFolder\}"),
("W42 C6 Route-folder order is required and mounted",
"customer-grid/RouteNav.tsx", r"onFolderReorder: \(order: string\[\]\)",
"customer-grid/MapView.tsx", r"onFolderReorder=\{reorderNamedRouteFolders\}"),
]
#: (what was deleted, file, the pattern that must NOT match, why it matters)
DELETIONS: list[tuple[str, str, str, str]] = []
|