pub const STORAGE_LAYOUT: i64 = 2;Expand description
The storage layout this emitter writes an agent’s state in (#3189, the
retired per-entry-storage track in design/archive/retired-tracks.md): 1 is
the wholesale layout, with every collection inline in the one "state"
record, and 2 is the per-entry layout, with each Map/Set/Cache/Log
entry and index posting under its own key. bynk deploy records it in each
version’s facts so that bynk deploy revert can refuse a rollback to a build
that writes an older layout over stored data. The slice that changes the layout
raises this together with the emitter’s writer.