Scenario authoring at Foretellixיצירת תרחישים ב-Foretellix

Will the run match the plan?האם ההרצה תתאים לתכנית?

An editor for building driving scenarios, designed so the author can see the gap between the plan and the run.עורך לבניית תרחישי נהיגה, שמראה ליוצר את הפער בין התכנון להרצה.

Roleתפקיד Senior UX Designer, then UX Design Lead
and acting product manager
Senior UX Designer, ואחר כך UX Design Lead
וגם מנהל מוצר בפועל
Teamצוות Sole designer on the editorמעצב יחיד על העורך
Periodתקופה 2024 - 2026
Platformפלטפורמה Foretify Manager and Developer (web)Foretify Manager ו-Developer (ווב)
~10
minutes to create a variation
No-code
from first actor to launch, with no YAML, OSC or JSON
3 → 1
editors merged into the Scenario Designer

Overview

Someone has to build the near-miss

A self-driving team can't wait for the road to produce a dangerous moment, so someone builds one: take a recorded drive, add a car that cuts in, run it in simulation. That person plans what should happen. The simulation decides what does, because the vehicle under test drives itself.

The Scenario Designer is where they do it, from scratch or from a recording. In Foretellix's flow, that covers the first two steps. I designed it so the author can see where the run and the plan part ways, before pressing Preview and after.

The editor as shipped: plan a path, see an issue where it happens, preview the run beside the plan. Then a prototype of editing with the assistant, on mock data and never built.
Diagram: the Foretify Manager flow of select or create, create variations, execute, check and measure, export. The first two steps are highlighted, each with an arrow into the Scenario Designer: from scratch on an empty map, and from a recording to edit and vary. The Scenario Designer covers: start from a run or a map, add actors, draw trajectories, triggered actions, driver behaviour, scenario tree, design issues, preview in simulation, compare with recording, save and launch
Two ways in: a new test on an empty map, or a recorded drive to edit and vary. The dark band lists what the editor has to cover.

My role. I owned the editor's UX from the first export panel to the unified editor: the research, the flows, the specification and the shared components it was built from. I led two designers on the Smart Replay side, and for the first months I was also its acting product manager.

Each of the four decisions below tries to answer the question in the title.


The problem

Building danger on purpose

A scenario author builds a near-miss on purpose. In a cut-in, a car changes lane just ahead of the vehicle under test, to check that it brakes or steers back to a safe drive. But that vehicle drives itself. If it is a little faster or slower than the author assumed, the cut-in comes at the wrong moment and tests nothing.

Same plan, three runs. The author only finds out after a full run.

Diagram: the same cut-in in three panels. The plan: a car cuts in just ahead of the vehicle under test, with the risk of collision marked in red. If the vehicle under test is a little faster, the car cuts in behind it. If it is a little slower, the car cuts in far ahead.
The cut-in car does the same thing in every panel. Only the vehicle under test differs.

At first there was no editor at all. Smart Replay, an export panel in the run debugger, could only vary a recorded drive. New actors, like the cut-in car, opened the gap between plan and run, and the work grew from there into one editor where an author builds a scenario from a recording or an empty map.


How I worked

Asking the right people

As acting product manager I defined the features, wrote the user stories and acceptance criteria, and set the priorities. I had no direct contact with the people who would use the editor, but I wasn't working blind. A contact at the main customer, our design partner, worked closely with us on requirements, and a second customer sent a clear written list of needs. The rest came from:

What I learned

The questions became the specification. With no product manager to turn needs into one, asking well, in writing, was the deliverable.


Research

Who writes scenarios, and how other editors do it

Without direct access to users, the product team and I built the picture from what we could reach: the design partner, application engineers and the written requirements. It became six personas and a journey map of ten roles across the steps of the flow, from importing a run to approving a scenario.

Six persona cards side by side: AV function developer, scenario writer, test engineer, test manager, safety and systems engineer, and scenario variation creator. Each lists goals in the Scenario Designer, typical entry points, top tasks, pain points, what they need from UX, success signals and knowledge levels.
Six personas, from function developer to variation creator: goals, entry points, pain points and what each needs from the editor. Click to open full size.
A journey map table: ten roles in rows, and the steps from run, promote, modify, parameterise, preview and validate, save and export, and review and approve in columns. Each cell lists the role's main tasks and UX needs at that step; some cells are empty.
The journey map: ten roles across seven steps. The empty cells mattered too: not every role parameterises, and only some approve. Click to open full size.

I also compared eleven scenario-authoring tools on nine aspects. They split on how to describe a path, and most kept a structured view of the scene beside the map: the questions behind decisions 1 and 2.

Screenshots of ten scenario-authoring tools in two rows, each labelled with the tool's name: map-based editors, timeline editors, node graphs and 2D plots.
Ten of the eleven tools, from map-first editors to timelines and node graphs. Click to open full size.

What customers asked for. One customer aimed for hundreds of variations per recording, which drawing by hand cannot reach. Getting an exact sideways shift was, in their words, very hard. Another customer's developers built scenarios in scripts, so a flow made only of clicks slowed them down.


Design decision 1

A path made of waypoints

The problem

A cut-in only works if the new car is in the right place at the right time. So the path has to say when, not only where.

The benchmark showed two ways to describe one. Some tools use waypoints: points on the map that the car passes in order. Others use segments: one stretch of driving after another, each with its own behaviour.

The decision

Build the path from waypoints. The author clicks A, then B, then C on the map, and each waypoint carries a time or a speed.

It's how animation tools move objects, and how people describe a manoeuvre. And distance and time read together: points far apart with little time between them mean fast.

Diagram: a path of three waypoints on a two-lane road. A at 0 s, B at 2 s, C at 3 s. 2 s for a short stretch: slow. 1 s for a long stretch: fast.
Adding an actor to a recorded scene: the lane under the pointer lights up, and each waypoint extends the path.

What was cut

One of the application engineers I interviewed before making this choice asked to see the waypoints on the timeline as well as on the map. I designed it: one row for each actor, one dot for each waypoint. It was cut before production and never built, because customers didn't seem to need it.

A design frame: a path with four waypoints on the map, and under it a timeline with one row for each actor and a dot for each waypoint, the hovered waypoint showing the same details in both places
Designed and cut: the same waypoints on the map and as dots on the timeline, one row for each actor.

What came back

Segments returned later. An actor may have to follow one stretch of its path exactly and adapt to traffic on the next, and that setting belongs to the stretch between two waypoints. So the author still places waypoints, and the segment between them carries the behaviour.


Design decision 2

One tree for the whole scene

The problem

By early 2026 a scene held the vehicle under test, recorded actors, added actors, segments, triggered actions and parameters. In a flat list, people lost their place.

Drag the handle to compare

Before After
Before: Smart Replay in the run debugger. Adding an actor opened a flat list of everything recorded. After: one tree for the whole scene. Search, filter, and promote a recorded car into Vehicles.
The decision

Make the scene's structure a permanent surface: a tree beside the map that lists everything in the scenario and drives what the map and the inspector show.

Six of the eleven benchmarked tools put a structured scene list beside the map. The PM and the tech lead weren't convinced it was a must, so I built a working prototype in the product's own code. The PM came round as the feature details got deeper, and I believe the prototype helped.

The tree also carries an idea that was the PM's: set a behaviour on a group and every actor in it follows. My part was the rule for exceptions. An actor you changed by hand keeps its value until you reset it.

Searching narrows the tree to matching actors, and a filter shows promoted or unpromoted ones. Promoting a recorded car adds an editable copy under Vehicles, ready for a new path.
What I learned

When an argument can't be held in a static file, build it in the real material. It changes who is able to judge it.


Design decision 3

Two kinds of issues, shown where they happen

The problem

Some problems can be known from the plan itself. Others only a run can reveal. An author who can't tell them apart doesn't know whether to fix the plan or run it again.

The decision

Sort issues by when they can be known.

  • Design issues come from the plan. They appear while you edit, errors block the preview, and each one clears itself when fixed.
  • Runtime issues come from a run and stay until the next one.
  • A log keeps the history of every preview.
A possible collision is only a warning: one row for each car, the risky stretch in yellow, and Preview stays available.

I wrote this model as the specification engineering built from: the severities, what blocks Preview, and how each issue clears. An issue also shows up where the author is looking: on the waypoint that causes it, with the reason.

A close view of the map with the pointer on a red waypoint: a tooltip with the waypoint's time, speed and position, and under them the message that the speed is not valid in specific time steps
An error says why, on the waypoint that causes it.

Design decision 4

Preview: the run beside the plan

The problem

To check a plan, the author had to leave the editor, launch, choose a configuration, wait for the run, then find the result elsewhere in Foretify Manager. The plan and its run were never on the same screen.

Comparing started in the run debugger: a result is checked against the original noisy log, and against other versions and variations of the same test.

In the run debugger: the run in blue, compared first with its original noisy log, then with another run of the same test.
The decision

Preview runs the scenario inside the editor and shows the result as its own layer beside the plan.

The check is gradual, cheapest first:

The PM and I wanted two levels, with Preview on the customer's full configuration. That was too slow and cost the customer more, and the middle level was the tech lead's solution. My part was where the result lands: as its own layer on the same map as the recording and the plan, so nothing has to be opened somewhere else.

Pressing Preview: the run comes back as a purple path beside the green plan, and its runtime issues fill the table.
The mistake

I first carried the debugger's compare into the editor as it was. But in the editor, one side is being edited: my first model turned a recorded actor into an editable one, destroying the recording it had to be compared with. My team caught it before it was built.

The fix: promoting an actor duplicates it. The original stays as a reference layer, and the edit sits on top.

What I learned

A run only means something next to what it came from, so an edit must never replace it.


Process change

One component, in Figma and in code

The problem

Every panel existed twice, once as a Figma component and once as a shared component in code. Keeping them in step cost work on every ticket.

Each panel of the editor started as a master component in Figma: the inspector, the tree, the actor controller. Every ticket's delivery screens were built from them, with each state numbered and annotated.

When an idea had to be tried rather than looked at, I built it in a prototype branch of the product, on the same shared components engineering uses, as with the tree.

In the last year I could close that gap myself: with Claude Code I changed the shared components and merged them into the main repository, where Storybook documents them.

The Scenario Designer Tree as master components in Figma: the full tree on the left, and its parts beside it: the item in default, hover and selected states for plain items, not promoted, folder, promoted and synthetic actors; an actor item expanded to its segments and triggered actions; and the search bar with filter chips
In Figma: the tree's master component, with every item state.
The Scenario Designer Tree in Storybook: its documentation page says it is built on the shared DataGridTree and SearchBar, beside the tree itself and a list of its stories
In code: the same tree in Storybook, built on the shared tree and search bar.

By my own estimate, UX delivery took 50 to 70% less time. People reacted to a working prototype on the real product rather than to pictures of it. Developers started from a live branch instead of a spec, so the pixel-by-pixel review after build often wasn't needed.

I maintained the shared components myself. About six that I built for the editor moved into the shared library, and two of them already appear on about four other screens.

One ticket's delivery screens: a behaviour set on a group reaches every actor in it, and overrides can be cleared. The notes sit under each screen. Open the file in Figma

Outcome

What an author can do now

The build reached early access in about six months. By September 2026 the editor had shipped and met both of the design partner's targets: about 10 minutes to create a variation, and no code editor to change a scenario. In an internal usability session, a stand-in user built a cut-in scenario in about 15 minutes.

Checking a plan, before and after

What shipped from the design

Use at the design partner then slowed for a reason outside the editor: for a while, their priority moved to generating maps from sensor logs, which Foretellix supported in other products.

What I would do differently

Push the automation direction earlier. I had built a working mock of prompt-based authoring inside the editor and didn't fight for it. Two customers kept asking for exactly that. Next time the mock goes in front of customers early, and the cost of having no direct user access gets written down on day one.


What next

Editing in plain language

Editing by prompt, with an AI agent that makes the change, was one of the first things customers asked for, and that mock is where I wanted the editor to go next. The author describes a change, and the assistant answers with a proposal: drawn on the map beside the plan, named in the editor's own terms, and waiting for Accept or Discard.

A prototype on mock data, never built: two requests from the chat, one from the lead car on the map, then Play.
~10
דקות ליצירת וריאציה
ללא קוד
מה-actor הראשון ועד ההרצה, בלי YAML, OSC או JSON
3 → 1
עורכים שאוחדו ל-Scenario Designer

סקירה

מישהו צריך לבנות את הכמעט-תאונה

צוות של רכב אוטונומי לא יכול לחכות שהכביש ייצר רגע מסוכן, אז מישהו בונה אותו: לוקחים נסיעה מוקלטת, מוסיפים רכב שנדחק לנתיב, ומריצים בסימולציה. מי שבונה מתכנן מה אמור לקרות. הסימולציה מחליטה מה קורה בפועל, כי הרכב הנבדק נוהג בעצמו.

Scenario Designer הוא המקום שבו עושים את זה, מאפס או מתוך הקלטה. ב-flow של Foretellix, אלה שני השלבים הראשונים. עיצבתי אותו כך שהיוצר יראה איפה ההרצה והתכנית נפרדות, לפני שלוחצים Preview ואחרי.

העורך כפי שיצא לשוק: בונים מסלול, רואים בעיה במקום שבו היא קורית, ומריצים Preview לצד התכנית. ואחר כך אב-טיפוס של עריכה עם העוזר, על נתונים לדוגמה, שלא נבנה.
תרשים: ה-flow של Foretify Manager: בחירה או יצירה, יצירת וריאציות, הרצה, בדיקה ומדידה, ייצוא. שני השלבים הראשונים מודגשים, ומכל אחד מהם חץ אל Scenario Designer: מאפס על מפה ריקה, או מהקלטה לעריכה ולווריאציות. Scenario Designer מכסה: התחלה מהרצה או ממפה, הוספת actors, ציור מסלולים, triggered actions, התנהגות נהג, עץ התרחיש, design issues, Preview בסימולציה, השוואה להקלטה, שמירה והרצה
שתי דרכים פנימה: בדיקה חדשה על מפה ריקה, או נסיעה מוקלטת לעריכה ולווריאציות. הפס הכהה מפרט את מה שהעורך צריך לכסות.

התפקיד שלי. הובלתי את חוויית המשתמש של העורך מפאנל הייצוא הראשון ועד העורך המאוחד: המחקר, ה-flows, האפיון והרכיבים המשותפים שהוא נבנה מהם. הובלתי שני מעצבים בצד של Smart Replay, ובחודשים הראשונים הייתי גם מנהל המוצר בפועל שלו.

כל אחת מארבע ההחלטות שבהמשך מנסה לענות על השאלה שבכותרת.


הבעיה

לבנות סכנה בכוונה

יוצר התרחיש בונה כמעט-תאונה בכוונה. ב-cut-in, רכב עובר נתיב ממש לפני הרכב הנבדק, כדי לבדוק שהוא בולם או מסיט את ההגה וחוזר לנסיעה בטוחה. אבל הרכב הזה נוהג בעצמו. אם הוא קצת מהיר יותר או איטי יותר ממה שהיוצר הניח, ה-cut-in מגיע ברגע הלא נכון ולא בודק כלום.

תכנית אחת, שלוש הרצות. היוצר מגלה את זה רק אחרי הרצה מלאה.

תרשים: אותו cut-in בשלושה חלונות. התכנית: רכב נכנס לנתיב ממש לפני הרכב הנבדק, וסכנת ההתנגשות מסומנת באדום. אם הרכב הנבדק קצת מהיר יותר, הרכב נכנס מאחוריו. אם הוא קצת איטי יותר, הרכב נכנס רחוק לפניו.
רכב ה-cut-in עושה בכל חלון אותו דבר. רק הרכב הנבדק משתנה.

בהתחלה לא היה עורך בכלל. Smart Replay, פאנל ייצוא ב-run debugger, ידע רק לגוון נסיעה מוקלטת. ה-actors החדשים, כמו רכב ה-cut-in, פתחו את הפער בין התכנית להרצה, ומשם העבודה גדלה לעורך אחד שבו בונים תרחיש מתוך הקלטה או ממפה ריקה.


איך עבדתי

לשאול את האנשים הנכונים

כמנהל המוצר בפועל הגדרתי את הפיצ'רים, כתבתי את ה-user stories ואת קריטריוני הקבלה, וקבעתי את סדרי העדיפויות. לא היה לי קשר ישיר עם מי שישתמשו בעורך, אבל לא עבדתי בעיניים עצומות. איש קשר אצל הלקוח העיקרי, שותף העיצוב שלנו, עבד איתנו מקרוב על הדרישות, ולקוח שני שלח רשימת צרכים כתובה וברורה. השאר הגיע ממקורות אחרים:

מה למדתי

השאלות הפכו לאפיון. בלי מנהל מוצר שיהפוך צרכים לאפיון, לשאול טוב, בכתב, היה התוצר.


מחקר

מי כותב תרחישים, ואיך עורכים אחרים עושים את זה

בלי גישה ישירה למשתמשים, צוות המוצר ואני בנינו את התמונה ממה שיכולנו להגיע אליו: שותף העיצוב, מהנדסי האפליקציה והדרישות הכתובות. ממנה יצאו שש פרסונות ומפת מסע של עשרה תפקידים לאורך שלבי ה-flow, מייבוא הרצה ועד אישור תרחיש.

שישה כרטיסי פרסונה זה לצד זה: מפתח פונקציות AV, כותב תרחישים, מהנדס בדיקות, מנהל בדיקות, מהנדס בטיחות ומערכות, ויוצר וריאציות תרחיש. כל כרטיס מפרט מטרות ב-Scenario Designer, נקודות כניסה, משימות עיקריות, נקודות כאב, מה הם צריכים מה-UX, סימני הצלחה ורמות ידע.
שש פרסונות, ממפתח הפונקציות ועד יוצר הווריאציות: מטרות, נקודות כניסה, נקודות כאב ומה כל אחד צריך מהעורך. לחצו לפתיחה בגודל מלא.
טבלת מפת מסע: עשרה תפקידים בשורות, והשלבים מהרצה, קידום, שינוי, פרמטריזציה, Preview ואימות, שמירה וייצוא, ועד סקירה ואישור בעמודות. כל תא מפרט את המשימות העיקריות של התפקיד ואת צורכי ה-UX שלו באותו שלב; חלק מהתאים ריקים.
מפת המסע: עשרה תפקידים לאורך שבעה שלבים. גם התאים הריקים היו חשובים: לא כל תפקיד עושה פרמטריזציה, ורק חלק מאשרים. לחצו לפתיחה בגודל מלא.

השוויתי גם אחד-עשר כלים ליצירת תרחישים בתשעה היבטים. הם נחלקו בדרך שבה מתארים מסלול, ורובם החזיקו תצוגה מובנית של הסצנה לצד המפה: השאלות שמאחורי החלטות 1 ו-2.

צילומי מסך של עשרה כלים ליצירת תרחישים בשתי שורות, כל אחד עם שם הכלי: עורכים מבוססי מפה, עורכי ציר זמן, גרפים של צמתים ושרטוטים דו-ממדיים.
עשרה מתוך אחד-עשר הכלים, מעורכים שמתחילים מהמפה ועד צירי זמן וגרפים של צמתים. לחצו לפתיחה בגודל מלא.

מה הלקוחות ביקשו. לקוח אחד כיוון למאות וריאציות לכל הקלטה, מספר שאי אפשר להגיע אליו בציור ידני. להזיז רכב הצידה בדיוק למרחק הרצוי היה, במילים שלהם, קשה מאוד. אצל לקוח אחר המפתחים בנו תרחישים בסקריפטים, כך שתהליך שכולו לחיצות האט אותם.


החלטת עיצוב 1

מסלול עשוי מ-waypoints

הבעיה

ה-cut-in עובד רק אם הרכב החדש נמצא במקום הנכון בזמן הנכון. לכן המסלול צריך להגיד מתי, ולא רק איפה.

ההשוואה הראתה שתי דרכים לתאר אותו. חלק מהכלים משתמשים ב-waypoints: נקודות על המפה שהרכב עובר בהן לפי הסדר. אחרים משתמשים ב-segments: קטע נסיעה אחרי קטע, ולכל אחד התנהגות משלו.

ההחלטה

לבנות את המסלול מ-waypoints. היוצר לוחץ על A, אחר כך B, אחר כך C על המפה, ולכל waypoint יש זמן או מהירות.

כך כלי אנימציה מזיזים אובייקטים, וכך אנשים מתארים תמרון. ומרחק וזמן נקראים יחד: נקודות רחוקות עם מעט זמן ביניהן הן נסיעה מהירה.

תרשים: מסלול עם שלוש נקודות על כביש בן שני נתיבים. A בשנייה 0, B בשנייה 2, C בשנייה 3. שתי שניות לקטע קצר: לאט. שנייה אחת לקטע ארוך: מהר.
הוספת actor לסצנה מוקלטת: הנתיב שמתחת לסמן נדלק, וכל waypoint מאריך את המסלול.

מה ירד

אחד ממהנדסי האפליקציה שראיינתי לפני ההחלטה ביקש לראות את ה-waypoints גם על ציר הזמן, ולא רק על המפה. עיצבתי את זה: שורה לכל actor, נקודה לכל waypoint. זה ירד לפני הפיתוח ולא נבנה, כי ללקוחות לא נראה שזה נחוץ.

פריים עיצוב: מסלול עם ארבעה waypoints על המפה, ומתחתיו ציר זמן עם שורה לכל actor ונקודה לכל waypoint, וה-waypoint שהסמן עליו מראה את אותם פרטים בשני המקומות
עוצב וירד: אותם waypoints על המפה וכנקודות על ציר הזמן, שורה לכל actor.

מה חזר

ה-segments חזרו מאוחר יותר. ייתכן ש-actor יצטרך לעקוב בדיוק אחרי קטע אחד במסלול שלו, ולהסתגל לתנועה בקטע הבא, וההגדרה הזו שייכת לקטע שבין שני waypoints. אז היוצר עדיין מציב waypoints, וה-segment שביניהם נושא את ההתנהגות.


החלטת עיצוב 2

עץ אחד לכל הסצנה

הבעיה

בתחילת 2026 סצנה כבר הכילה את הרכב הנבדק, actors מוקלטים, actors שנוספו, segments, triggered actions ו-parameters. ברשימה שטוחה, אנשים איבדו את מקומם.

גררו את הידית כדי להשוות

לפני אחרי
לפני: Smart Replay ב-run debugger. הוספת actor פתחה רשימה שטוחה של כל מה שהוקלט. אחרי: עץ אחד לכל הסצנה. חיפוש, סינון, וקידום של רכב מוקלט אל Vehicles.
ההחלטה

להפוך את מבנה הסצנה למשטח קבוע: עץ לצד המפה שמציג את כל מה שיש בתרחיש, וקובע מה מוצג במפה וב-inspector.

שישה מתוך אחד-עשר הכלים שנבדקו הציבו רשימת סצנה מובנית לצד המפה. מנהל המוצר וראש הצוות הטכני לא השתכנעו שזה הכרחי, אז בניתי אב טיפוס עובד בקוד של המוצר עצמו. מנהל המוצר השתכנע ככל שפרטי הפיצ'ר העמיקו, ואני מאמין שאב הטיפוס עזר.

העץ נושא גם רעיון של מנהל המוצר: מגדירים התנהגות על קבוצה, וכל actor בה הולך אחריה. החלק שלי היה הכלל לחריגים: actor ששיניתם ידנית שומר על הערך שלו עד שמאפסים אותו.

חיפוש מצמצם את העץ ל-actors תואמים, ומסנן מציג את אלה שקודמו (promoted) ואת אלה שלא. קידום של רכב מוקלט מוסיף עותק שאפשר לערוך תחת Vehicles, מוכן למסלול חדש.
מה למדתי

כשטיעון לא מחזיק בקובץ סטטי, בונים אותו בחומר האמיתי. זה משנה מי מסוגל לשפוט אותו.


החלטת עיצוב 3

שני סוגי בעיות, במקום שבו הן קורות

הבעיה

על חלק מהבעיות אפשר לדעת מהתכנית עצמה. אחרות רק הרצה יכולה לחשוף. יוצר שלא מבחין ביניהן לא יודע אם לתקן את התכנית או להריץ שוב.

ההחלטה

למיין בעיות לפי מתי אפשר לדעת עליהן.

  • Design issues נובעות מהתכנית. הן מופיעות תוך כדי עריכה, שגיאות חוסמות את ה-Preview, וכל אחת נעלמת מעצמה כשמתקנים אותה.
  • Runtime issues נובעות מהרצה, ונשארות עד ההרצה הבאה.
  • לוג שומר את ההיסטוריה של כל Preview.
התנגשות אפשרית היא רק אזהרה: שורה לכל רכב, הקטע המסוכן בצהוב, ו-Preview נשאר זמין.

כתבתי את המודל הזה כאפיון שההנדסה בנתה ממנו: רמות החומרה, מה חוסם את ה-Preview, ואיך כל בעיה נעלמת. בעיה מופיעה גם במקום שבו היוצר מסתכל: על ה-waypoint שגורם לה, עם הסיבה.

תקריב של המפה עם הסמן על waypoint אדום: tooltip עם הזמן, המהירות והמיקום של ה-waypoint, ומתחתם ההודעה שהמהירות לא תקינה בצעדי זמן מסוימים
שגיאה אומרת למה, על ה-waypoint שגורם לה.

החלטת עיצוב 4

Preview: ההרצה לצד התכנית

הבעיה

כדי לבדוק תכנית, הכותב היה צריך לצאת מהעורך, להריץ, לבחור תצורה, לחכות להרצה, ואז למצוא את התוצאה במקום אחר ב-Foretify Manager. התכנית וההרצה שלה אף פעם לא היו על אותו מסך.

ההשוואה התחילה ב-run debugger: תוצאה נבדקת מול הלוג הרועש המקורי, ומול גרסאות ווריאציות אחרות של אותה בדיקה.

ב-run debugger: ההרצה בכחול, מושווית קודם ללוג הרועש המקורי שלה, ואחר כך להרצה אחרת של אותה בדיקה.
ההחלטה

Preview מריץ את התרחיש בתוך העורך ומציג את התוצאה כשכבה משלה לצד התכנית.

הבדיקה הדרגתית, מהזולה ביותר:

מנהל המוצר ואני רצינו שתי רמות, עם Preview על התצורה המלאה של הלקוח. זה היה איטי מדי ועלה ללקוח יותר, והרמה האמצעית הייתה הפתרון של ראש הצוות הטכני. החלק שלי היה איפה התוצאה נוחתת: כשכבה משלה על אותה מפה עם ההקלטה והתכנית, כך ששום דבר לא צריך להיפתח במקום אחר.

לחיצה על Preview: ההרצה חוזרת כמסלול סגול לצד התכנית הירוקה, וה-runtime issues שלה ממלאות את הטבלה.
הטעות

בהתחלה העברתי את ההשוואה מה-debugger לעורך כמו שהיא. אבל בעורך, צד אחד נמצא בעריכה: המודל הראשון שלי הפך actor מוקלט לכזה שאפשר לערוך, והרס את ההקלטה שהיה צריך להשוות אליה. הצוות שלי תפס את זה לפני שזה נבנה.

התיקון: קידום (promote) של actor משכפל אותו. המקור נשאר כשכבת ייחוס, והעריכה יושבת מעליו.

מה למדתי

להרצה יש משמעות רק לצד מה שממנו היא באה, ולכן עריכה לעולם לא צריכה להחליף אותה.


שינוי תהליך

רכיב אחד, ב-Figma ובקוד

הבעיה

כל פאנל היה קיים פעמיים, פעם כרכיב ב-Figma ופעם כרכיב משותף בקוד. השמירה על התאמה ביניהם עלתה בעבודה בכל טיקט.

כל פאנל בעורך התחיל כ-master component ב-Figma: ה-inspector, העץ, ה-actor controller. מסכי המסירה של כל טיקט נבנו מהם, וכל מצב בהם ממוספר ומוער.

כשאת הרעיון היה צריך לנסות, לא רק לראות, בניתי אותו ב-prototype branch של המוצר, על אותם רכיבים משותפים שההנדסה משתמשת בהם, כמו עם העץ.

בשנה האחרונה יכולתי לסגור את הפער הזה בעצמי: עם Claude Code שיניתי את הרכיבים המשותפים ומיזגתי אותם ל-repository הראשי, שם Storybook מתעד אותם.

Scenario Designer Tree כ-master components ב-Figma: העץ המלא משמאל, והחלקים שלו לידו: הפריט במצבי ברירת מחדל, ריחוף ובחירה, לפריט רגיל, לא מקודם, תיקייה, actor מקודם ו-actor סינתטי; פריט actor פתוח עם ה-segments וה-triggered actions שלו; ושורת החיפוש עם תגיות סינון
ב-Figma: ה-master component של העץ, עם כל מצבי הפריט.
Scenario Designer Tree ב-Storybook: עמוד התיעוד שלו אומר שהוא בנוי על DataGridTree ו-SearchBar המשותפים, לצד העץ עצמו ורשימת ה-stories שלו
בקוד: אותו עץ ב-Storybook, בנוי על העץ ושורת החיפוש המשותפים.

לפי הערכה שלי, מסירת ה-UX לקחה 50 עד 70% פחות זמן. אנשים הגיבו לאב טיפוס עובד על המוצר האמיתי, ולא לתמונות שלו. המפתחים התחילו מ-branch חי במקום מאפיון, ולכן בדיקת הפיקסלים אחרי הפיתוח לרוב לא הייתה נחוצה.

תחזקתי את הרכיבים המשותפים בעצמי. כשישה רכיבים שבניתי לעורך עברו לספרייה המשותפת, ושניים מהם כבר מופיעים בכארבעה מסכים אחרים.

מסכי המסירה של טיקט אחד: התנהגות שמוגדרת על קבוצה מגיעה לכל actor בה, ואפשר לנקות דריסות. ההערות נמצאות מתחת לכל מסך. לפתוח את הקובץ ב-Figma

התוצאה

מה יוצר יכול לעשות עכשיו

הבנייה הגיעה לגישה מוקדמת בתוך כשישה חודשים. עד ספטמבר 2026 העורך יצא ועמד בשני היעדים של שותף העיצוב: כ-10 דקות ליצירת וריאציה, ובלי עורך קוד כדי לשנות תרחיש. במבחן שמישות פנימי, עמית בתפקיד היוצר בנה תרחיש cut-in בכ-15 דקות.

בדיקת תכנית, לפני ואחרי

מה יצא מהעיצוב

השימוש אצל שותף העיצוב האט אחר כך מסיבה שמחוץ לעורך: לתקופה, העדיפות שלהם עברה ליצירת מפות מלוגים של חיישנים, ש-Foretellix תמכה בה במוצרים אחרים.

מה הייתי עושה אחרת

לדחוף את כיוון האוטומציה מוקדם יותר. בניתי mock עובד של יצירה מבוססת prompt בתוך העורך ולא נלחמתי עליו. שני לקוחות ביקשו בדיוק את זה שוב ושוב. בפעם הבאה ה-mock יגיע ללקוחות מוקדם, והמחיר של היעדר גישה ישירה למשתמשים ייכתב כבר ביום הראשון.


מה הלאה

עריכה בשפה טבעית

עריכה באמצעות prompt, עם סוכן AI שמבצע את השינוי בעצמו, הייתה מהבקשות הראשונות של הלקוחות, וה-mock הזה הוא הכיוון שרציתי שהעורך ילך אליו. היוצר מתאר שינוי, וה-assistant עונה בהצעה: מצוירת על המפה לצד התכנית, מנוסחת במונחים של העורך עצמו, ומחכה ל-Accept או ל-Discard.

אב טיפוס על נתוני דמה, שלא נבנה: שתי בקשות מהצ'אט, אחת מהרכב המוביל על המפה, ואז Play.