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
Application mode switch between map editing and scenario editing; actor placement on the network with an actor attributes panel.
Acceptance
Mode switch preserves both documents; placed actors serialize to OpenSCENARIO and round-trip.
Remaining work (added 2026-07-31)
The written acceptance above was met and tested on 2026-07-31 (PRs #527, #528, #529, #531, #532). The issue stays open because GW-6 steps 3–4 are ⚠-marked as not yet runnable; this checklist is the remainder (maintainer may prefer splitting it into its own issue):
Attributes-pane actor rows — name, archetype/category, position (road/lane/s/offset), bounding box, init speed; edits routed through the existing osc::edit factories (rename_scenario_object, set_entity_init_pose, set_scenario_object_bounding_box, set_entity_init_speed) — pure UI binding, the kernel surface already exists.
Scene-tree scenario branch — actors listed under a Scenario node; ships its QAbstractItemModelTester gtest in the same commit per the testing standard.
Viewport picking of actors — actor selection as its own selection kind (no road id carried); an Actor-tool click on a placed actor selects it instead of stacking a new one.
Delete routing — Delete on an actor selection pushes osc::edit::remove_scenario_object (which already cascades the <Private> removal) onto the Document's single undo stack.
Exit criterion: GW-6 steps 3–4 pass without their ⚠ annotations; then this issue closes.
2026-07-27 roadmap review — corrections and cross-references (issue written before recent landings; body stands, read with these):
Blockers to state:p8-s1: OpenSCENARIO data model #245 (nothing to serialize without the model). The mode/scenario-editor state is Layer 2 — the carrier now exists (project.json v2 / <scene>.rmscene.json, fmt-s1: native project/scene container (persistence Layer 2) #325); state which of {active mode, active scenario file} goes where, and follow fmt-s1's reserve-keys + degrade-to-defaults discipline.
The actor panel is not a new panel: it joins properties_panel.cpp and p6-s16: properties-panel completeness audit #418's element × parameter matrix, with the established idioms — UnitSpinBox for lengths, commit-on-editingFinished, the half-display-quantum no-op guard, read-only world rows quoted from the mesh.
Placement must be an edit::Command on the single undo stack (M2 invariants) — the issue never says so and it's the biggest architectural unknown in it.
Also landed en route: #530, an unrelated tinygltf pin break that was blocking every fresh configure repo-wide.
Acceptance, checked
"Mode switch preserves both documents; placed actors serialize to OpenSCENARIO and round-trip."
Mode switch preserves both documents — both stay loaded; the roads remain visible and selectable for reference, and returning to Map mode keeps the undo history, because both documents share one stack. The gate is derived from each tool's registry classification, so tools added by later pillars are gated the day they land.
Round-trip — save → reopen → save is byte-identical, asserted on the file's bytes. esmini accepts the exported .xosc, and (unlike the traffic-signal half) it genuinely resolves the lane anchor: a dangling roadId, a dangling laneId or an s past the road end each fail the load.
Why this is still open
GW-6 steps 3 and 4 describe things that do not exist yet, now marked ⚠ in the workflow rather than left to be assumed:
Attributes pane rows for an actor (name, category, bounding box, initial speed)
Scene-tree scenario branch listing actors
Viewport picking of actors (the Actor tool hit-tests its own; the general pick path does not)
Delete routing for a selected actor
Closing on the literal acceptance while the workflow that accepts the pillar cannot be run would be narrowing the scope quietly. Happy to split the remainder into its own issue and close this one instead — maintainer's call.
Two things worth carrying forward
GW-6 step 1 was amended, not implemented to. It said "the scenario toolbar tab activates" — but #377 replaced the tabbed toolbar with a single flat row. Building a tab to satisfy a stale sentence would have been the wrong direction of fit.
One known asymmetry, recorded in ADR-0014 rather than hidden: a file that omitted @offset on a <LanePosition> gains offset="0" on rewrite. The specification reads a missing value as 0, so it is a semantic no-op — but it is the one place the never-drop discipline yields a byte the input did not have.
Activity
JArmandoAnaya commentedon Jul 27, 2026
2026-07-27 roadmap review — corrections and cross-references (issue written before recent landings; body stands, read with these):
project.jsonv2 /<scene>.rmscene.json, fmt-s1: native project/scene container (persistence Layer 2) #325); state which of {active mode, active scenario file} goes where, and follow fmt-s1's reserve-keys + degrade-to-defaults discipline.properties_panel.cppand p6-s16: properties-panel completeness audit #418's element × parameter matrix, with the established idioms —UnitSpinBoxfor lengths, commit-on-editingFinished, the half-display-quantum no-op guard, read-only world rows quoted from the mesh.edit::Commandon the single undo stack (M2 invariants) — the issue never says so and it's the biggest architectural unknown in it.document/gizmo_drag.*(p6-s15: prop Z-rotation ring — 15° snapping, sign/signal coverage, tests #417) — and heed the p6-s15: prop Z-rotation ring — 15° snapping, sign/signal coverage, tests #417 bug class: a leaf entity carrying a back-reference to its parent must be picked before the parent.fix(test): read the defaults doc as text, not bytes, in the actor gate (
feat(osc): place actors on lanes, with speeds and a catalogue (p8-s2) (…
feat(editor): hold a scenario beside the scene, on one undo stack (p8…
feat(editor): an Actor tool that places actors on lanes (p8-s2) (#246)
feat(editor): an Actor tool that places actors on lanes (p8-s2) (#246) (
feat(editor): draw placed actors as box proxies (p8-s2) (#246) (#531)
feat(editor): Map <-> Scenario mode, and the p8-s2 docs (#246) (#532)
JArmandoAnaya commentedon Jul 31, 2026
Status 2026-07-31 — substantially delivered, deliberately left open
Five PRs merged. The issue's stated acceptance is met and tested; the issue stays open because GW-6's steps 3–4 are not.
<LanePosition>,<RoadPosition>,<SpeedAction>, actor catalogue, 5 edit factoriesDocument, stem-matched.xosc, one undo stack, actor selectionAlso landed en route: #530, an unrelated
tinygltfpin break that was blocking every fresh configure repo-wide.Acceptance, checked
save → reopen → saveis byte-identical, asserted on the file's bytes. esmini accepts the exported.xosc, and (unlike the traffic-signal half) it genuinely resolves the lane anchor: a danglingroadId, a danglinglaneIdor anspast the road end each fail the load.Why this is still open
GW-6 steps 3 and 4 describe things that do not exist yet, now marked ⚠ in the workflow rather than left to be assumed:
Closing on the literal acceptance while the workflow that accepts the pillar cannot be run would be narrowing the scope quietly. Happy to split the remainder into its own issue and close this one instead — maintainer's call.
Two things worth carrying forward
GW-6 step 1 was amended, not implemented to. It said "the scenario toolbar tab activates" — but #377 replaced the tabbed toolbar with a single flat row. Building a tab to satisfy a stale sentence would have been the wrong direction of fit.
One known asymmetry, recorded in ADR-0014 rather than hidden: a file that omitted
@offseton a<LanePosition>gainsoffset="0"on rewrite. The specification reads a missing value as 0, so it is a semantic no-op — but it is the one place the never-drop discipline yields a byte the input did not have.feat(editor): actor attributes rows and Delete routing (p8-s2) (#246) (…
feat(editor): a Scenario branch and actor picking (p8-s2) (#246)
feat(editor): a Scenario branch and actor picking (p8-s2) (#246) (#542)