docs: map which markings the element model reaches
Measured the grouping of every marking layer. Stop lines are nearly free — same feature builder, same key shape, an existing constraint kind, and a sweep shows the offset tracks one-to-one across its whole range with no dead zone. Arrows are not: neither kind exists and neither is read by the geometry stage. The trap is that crosswalks and stop lines share crossing_node_id on all eight groups, so grouping has to branch on provenance before touching the key or the two merge into one element. That is already how element.ts works and a test holds it. What the data earns is a provenance-keyed registry and nothing more: group keys are single-field, two-field and derived; group sizes run 1 to 230; two element types have no constraint at all. A universal element protocol would be inventing past the evidence, which the PRD rules out. Also records delivery state — steps 1 and 2 done, 3 through 5 not started — so the task is not mistaken for complete. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
1 parent
5c89d92041
commit
323ff9279f
2 files changed
+105
No files matched your search
@@ -89,3 +89,24 @@ npm run build
|
||||
- `workbench/server.js`:element manifest 查询与 preview 不得写入磁盘。
|
||||
- `workbench/client/src/App.tsx`、`edit/`、`components/`:元素控件必须接既有三出口;选中框是临时 UI,不得写 baseline layer。
|
||||
- `test/fixtures.js`:默认跨度改由路宽推导会改动 fixture 基线,需显式更新而非静默接受。
|
||||
|
||||
---
|
||||
|
||||
## 交付进度(2026-08-31)
|
||||
|
||||
| 步骤 | 状态 |
|
||||
| --- | --- |
|
||||
| 0 建立事实与测试夹具 | ✅ |
|
||||
| 1 元素选择 | ✅ `edit/element.ts`,浏览器已确认 |
|
||||
| 2 选中框与移动 | ✅ 虚线框可直接拖拽 |
|
||||
| 3 修正 `affects` | ⬜ 未开始 |
|
||||
| 4 编译器尺寸参数化 | ⬜ 未开始 |
|
||||
| 5 四角尺寸抓手 | ⬜ 未开始 |
|
||||
| 6 复盘 | 部分:推广分析见 `research/generalising-to-other-markings.md` |
|
||||
|
||||
第 1–2 步之外另修了两处既有缺陷:`MapCanvas` 的陈旧闭包与空白点击不上报,
|
||||
以及 `junction-crosswalk-inset` 的上界(44%~88% 死区,见
|
||||
`08-31-parameter-panel-binding/research/manifest-range-vs-solver.md`)。
|
||||
|
||||
手测确认:选中、虚线框、拖拽均可用。**尚未手测**:框跟随修复后的表现、
|
||||
上界修复后的拖拽手感——两者都需重启工作台进程才能生效。
|
||||
Reference in new issue
Block a user