Tattle-v0.2.0-beta.3
What's new
Tattle
v0.2.0-beta.3 (2026-11-23)
Full Changelog Previous Releases
- build: 0.2.0-beta.3
Version, the changelog heading, and a UPDATES entry that also corrects the file's
previous claim that a swap's victim is read from the caster's target frame - beta.2
changed that, and a stale "Recent Updates" file is worse than no recent updates.
264 harness checks pass at this commit, on both interpreters CI uses.
Released on its own rather than waiting because the bug it fixes is player-visible in
restricted content: a refused aura read could be counted as a member who is
protected, which is this addon naming a person as protected on the strength of a value
it is not allowed to look at - in a key, on a timer, in front of the people trying to
spot a griefer. Everything else in here is the reason that survived: APIs fetched at
load time are absences no test can reach. - fix: a refusal stopped being an answer, and every API is now asked for at the call site
ValueIsReadableasked the client's sanctioned secrecy predicate and then threw the answer
away when it wasfalse:(pcall(...)) and answer or nilisnilfor afalse, so "this
value may not be read" was indistinguishable from "the predicate would not answer", and the
stringification fallback underneath made the decision instead. What a player would have seen
is the watch list naming a member as protected on the strength of a value the client forbade
this addon to look at - the rule this project exists to enforce, broken by the function whose
entire job is distinguishing a refusal from an answer. It reached beta.2.
That is the fourth time this idiom has bitten this file; beta.2's changelog entry describes
the first three, and this one was found only after two different client secrecy surfaces
were made to disagree - a value that refuses both is one check wearing two names, and both
passed with the predicate's use deleted outright.ClientSaysSameNamecarried the same
idiom twice and was correct only because the fallthrough happened to reach the same verdict;
both call sites now go throughBooleanAnswer, which keepsfalsean answer.
Also, no client API is captured while the addon loads any more.C_SecretComparisons.Equal
andcanaccessvaluewere captured, and the file'slocal C_UnitAuras = C_UnitAurasalias is
the same trap wearing an idiom - which the new checks proved directly: the mutation that
indexesC_UnitAurasat the call site still worked under a nilled global, because it was
reading the upvalue. A load-time capture is not wrong on a client that has the API, and that
is precisely why it is untestable: a harness that loads the addon once into one client can
never see the absence, and an absence nobody can test is a guard that has quietly become a
comment.pcall(C_UnitAuras.GetAuraDataBySpellName, ...)had its own version of the
problem - the call is protected, the indexing that fetches it is not.
The harness gained a section that takes each 12.x API away and runs the same sentences, and
each of those checks is mutation-verified: no target API still alerts and still says "aiming
at", never "on"; no aura reader leaves every member unanswered rather than reporting an
unprotected group; noC_SecretComparisonsleaves a secret name unresolved rather than
guessing a member; and chat's printability gate holds on a client that cannot answer the
lockdown question, which is the half that makes answering that question permissively safe.
Two existing checks were rewritten after mutation testing showed they could not fail, and one
mutation - reversing the sanctioned comparison's argument order - is recorded as genuinely
equivalent rather than counted as coverage. 240 -> 264.
This mod has no additional files

