Not the game protecting stuff
While I tested the new build warning in the small hours, Claude blamed a secret value from the game for a wrong line in it. My reply, "but OAPUnitButtons has reported no errors", sent it back to its own code, where the bug was.
Read the entry: Not the game protecting stuff
The build check compares the running game with the builds OAP Debug was tested on, and warns at login. I was testing it in game: "I wanted to get the warning, that's how I'm testing". The warning then said the game counted OAP Debug as out of date, which it didn't. My screenshot came with "wow is protecting stuff......".
Claude agreed: the game had answered the interface number as a secret, it said, and it changed the code to work the number out from the version instead.
I said: "but OAPUnitButtons has reported no errors". UnitButtons reads the same number, so a secret there would have raised an error. A one-line check in game answered false: the value wasn't secret.
The bug was OAP Debug's. select(4, GetBuildInfo()) passes the fourth answer and every answer after it, so the function that makes values safe to print also got the fifth answer as its length limit. It failed, and it reports any failure as a secret. Brackets round the call pass one value. The tests' fake game now returns all six answers, as the real game does, so the tests catch it.
Where this comes from
- OAPDebug: Claude transcript 9867fcaf, 2026-10-15 and 2026-10-16
- OAPDebug: git commit 7641066