Designing the engineer
How the AI behaves, and where it sits
When I started, the AI lived in two places. The web app scored ten driving dimensions in a modal, each with a short tip, and the desktop recorder had a chat agent that could answer questions about a corner. A driver trying to understand a slow lap had to carry the chat's answer back to the analysis view and find the corner on the map themselves.
I made the analysis view the workspace the agent operates in, with the agent in a rail beside it, so that when it talks about Turn 4 the map zooms to Turn 4 and labels what it's describing. I'd assumed the chat would move entirely to the web app. The founder wanted the desktop and web apps kept separate for now, so I redrew the plan to extend both.
I wrote the agent's behavior around a race engineer's job. Coaching is part of that job, alongside setup and strategy, and naming the larger role left room for where the product was headed. The rules came from how engineers debrief a driver. Diagnose before you prescribe, give one main correction at a time, mark the evidence on the track, and always leave the driver a next question.
The founder wanted a standard mode for new drivers and a pro mode for experienced ones. I argued against it, because two modes means designing and maintaining two interfaces, and I was upfront that the alternative was harder to design. I proposed one interface with three independent controls. Clicking a corner pins it as the subject, the tabs choose the lens, and a posture setting decides whether the product opens by walking you through the session or by handing you the controls.
Then I went back into the live product with a full lap comparison loaded and opened every tab. Much of what I'd been drawing as new already existed, so I cut my proposal down to two additions. One is the pinned subject. The other reorders their existing coaching tab so it names the root cause of a slow corner first and treats the other faults as its consequences.
The rail shifts on its own.
I considered separate modes for guided and self-directed analysis inside a session, and dropped them because modes make the driver work out which one they need. The rail has the floor when a session opens and steps back once the driver starts exploring on their own.
Validation first.
My first version of the consistency analysis went straight to the problem sector. I rebuilt it as a debrief. The agent starts by confirming the corners that are fine and telling the driver to leave them alone, then names the two worth working on and lets the driver choose which one to open. It costs one extra step, and it's how an engineer earns the right to criticize.
Root cause first.
When the coaching tab found several faults in one corner, it listed them with equal weight, though often one caused the rest. At one Imola corner, braking about ten meters early cost roughly 35 km/h at the apex, and the slow apex followed from the brake point. Ordering faults by cause tells the driver which single fix makes the others go away.
Going back into the live product made my proposal smaller, and every idea that turned out to exist already made the rest easier for the team to trust.