Compose one local-first status from region diagnostics, durable queue state, and a host-supplied connectivity signal.
The headline state is decided by a total precedence over cache and queue facets, with connectivity supplying only the base case:
state
conflicted > expired > partial > pending > stale > offline > online
conflicted
expired
partial
pending
stale
offline
online
Data problems therefore outrank undelivered work, which outranks mere staleness, which outranks being disconnected. Reads no payload bytes, performs no network or storage I/O, and mutates nothing.
Compose one local-first status from region diagnostics, durable queue state, and a host-supplied connectivity signal.
The headline
stateis decided by a total precedence over cache and queue facets, with connectivity supplying only the base case:conflicted>expired>partial>pending>stale>offline>onlineData problems therefore outrank undelivered work, which outranks mere staleness, which outranks being disconnected. Reads no payload bytes, performs no network or storage I/O, and mutates nothing.