You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 871e0cb
Browse filesBrowse the repository at this point in the historyBrowse files
- fix Vector Map Editor direct payload ingestion/rendering for `vectorMapDocument.objects`
20
+
- preserve direct JSON input contract
21
+
- create report
22
+
23
+
## FORBIDDEN
24
+
25
+
Codex MUST NOT:
26
+
- modify schemas
27
+
- modify Sample 1902 JSON
28
+
- modify Workspace Manager
29
+
- modify tool host runtime
30
+
- modify other tools
31
+
- add fallback/default/demo objects
32
+
- normalize/transform/convert payload shape
33
+
- add wrapper compatibility
34
+
- infer missing vector map data
35
+
36
+
## Problem to Fix
37
+
38
+
When launched from Workspace Manager, Vector Map Editor receives direct payload shape:
39
+
40
+
```json
41
+
{
42
+
"vectorMapDocument": {
43
+
"version": 3,
44
+
"name": "...",
45
+
"objects": [...]
46
+
}
47
+
}
48
+
```
49
+
50
+
Vector Map Editor must render those objects directly.
51
+
52
+
If the editor currently expects a different shape or old wrapper, update only the Vector Map Editor ingestion path so it reads the direct schema payload.
53
+
54
+
## Required Behavior
55
+
56
+
Vector Map Editor must:
57
+
58
+
1. Accept the direct payload object passed by tool host.
59
+
2. Read `payloadJson.vectorMapDocument`.
60
+
3. Use `vectorMapDocument.objects` as the render source.
61
+
4. Render existing objects without mutation.
62
+
5. Show a visible schema/input error if `vectorMapDocument` or `objects` is missing.
63
+
6. Not create fallback/demo objects.
64
+
65
+
## Validation
66
+
67
+
Run targeted validation only.
68
+
69
+
Required:
70
+
-`tools/vector-map-editor/main.js` syntax passes.
71
+
- Workspace launch of Sample 1902 opens Vector Map Editor.
72
+
- Vector Map Editor renders Sample 1902 objects:
73
+
-`obj-player-path`
74
+
-`obj-hazard-zone`
75
+
- No schema files changed.
76
+
- No Sample 1902 JSON changed.
77
+
-`git diff --name-only` contains only ALLOWED FILES.
0 commit comments