function systemOfFrameId
universe/src/frames.ts:55
Read a system frame id back, or null for any other kind of frame.
The inverse belongs beside the constructor because the grammar has exactly
one owner. Its absence was a live trap (ADR-0008): the debug overlay derived
an entity's authority partition by scanning the frame chain for an s:
prefix itself, which agreed with partitionForAddress only because the frame
grammar and the partition-key grammar happen to spell a system the same way.
Renaming either one would have made the overlay and the router disagree about
which authority owns a ship — and the overlay is the tool you would reach for
to diagnose that.
- idFrameId
- Undocumented
ReturnsSystemId | null