current
The aggregate ref as it is now, at its log's head, as caller may see it after the entry's own check of it (its scope), which throws StateNotFoundException to refuse it: the state a read of the aggregate's history is admitted on, since the history is read as the aggregate is now, whatever it recorded then (history). The one rule of every entry's read of a state at a version or a time and of a trace:
The caller is checked on the aggregate at its log's head (head), whoever it is: a snapshot that lags its log does not decide who reads the commits after it. Hidden there, it is not found, whatever the snapshot let it see; shown there, it reads the history, whatever the snapshot hid. The entry reads no version after that state's.
A catch-up longer than the node replays (from a snapshot that lags its log by more, or from version 1 past one that no longer fits the model) reaches no head the node can read, so the caller is checked on the latest state as stored, the one state it can: hidden there, it is not found, never told how far the log runs; shown there, it is refused with the catch-up's InvalidStateReadException (
replay-too-long, the bound in its detail), never answered on the snapshot's word.
A caller who may not see the aggregate makes the node read at most one bounded catch-up beyond the latest state. One case reaches no verdict at all: with no snapshot, the latest state is the log replayed, and a log longer than the node replays fails that read before any caller is checked, as a read of the latest state does (#7661).