The header of web/scripts/probe.sql and REVIEW.md said that a journal
line without a token, or whose row matches nothing, "does not count".
The query does better, and nothing pinned it: a line whose token was
revoked since still counts when the row it touched belongs to another
account, the row being the only trace left. Applied to the letter (WHERE
a.token_id IS NOT NULL AND (...)), the sentence left every test green,
and the critical control fell back to 0 once the token was revoked.
Two tests now pin both halves: a line of A with a revoked token on a
task, a list or a tag of B counts (3 tests red under the mutation of
the review), and a line of A with a token of B on a row that matches
nothing counts (1 red when such lines are left out). The two
descriptions now say that a revoked token makes a line neither count
nor not count.
Asked by /pr-review on PR #211 (comment 34739, item 1).
Refs #199
Refs #205
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>