patchQueryResult

suspend fun patchQueryResult(metadata: QueryMetadata, payload: ByteArray, maxAgeMs: Long? = null, tagsOverride: Set<String>? = null)

PATCH-style write. Replaces payload under the resolved metadata key. maxAgeMs and tagsOverride use null-means-preserve semantics (see RetrostashStore.patch).

The cache layer is responsible for deciding when to pass null (preserve) vs a value (override); this method just forwards to the store.