refactor(antigravity): document replay index lifecycle and align empty-contents semantics
Document that the replay request index is request-scoped, retains no-copy GJSON results aliasing the payload, and is not safe for concurrent use, and that the context fingerprints snapshot a running hash lazily in content order. Replace the fingerprint byte counter with a boolean since it only distinguishes an empty fingerprint from a hashed one. Guard reasoningReplayItemsFromRequest on validContents so a valid but empty contents array keeps returning an empty non-nil slice, exactly as it did before the index was introduced, and lock that invariant with a test.
S
sususu committed
0e4c0dab739463dfab68ad71b90c2b7bc107e894
Parent: 9eedbc2
Committed by sususu98 <33882693+sususu98@users.noreply.github.com>
on 8/11/2026, 1:57:15 AM