In-memory tracker backed by an Agent.
@type t() :: %GEPA.Tracking.InMemory{agent: pid(), key_prefix: String.t() | nil}
@spec new(keyword()) :: t()
@spec snapshot(t()) :: map()