Right now the ids we use for all of these are actually indices, which is convenient but if projects/processes/events are added/deleted then it changes all their ids, making it hard to consistently replay sessions.
We should continue using these index-ids everywhere, but also have an unchanging reference id for the purposes of aligning replay sessions.
We already have this kind of id in the editor data afaik, so it's just a matter of using them in the rust engine and serializing them as part of the log snapshots.
Right now the ids we use for all of these are actually indices, which is convenient but if projects/processes/events are added/deleted then it changes all their ids, making it hard to consistently replay sessions.
We should continue using these index-ids everywhere, but also have an unchanging reference id for the purposes of aligning replay sessions.
We already have this kind of id in the editor data afaik, so it's just a matter of using them in the rust engine and serializing them as part of the log snapshots.