It is the real library
The tracer is NarrativeTrace™ for TypeScript itself, built from that repository and served
from this domain — no CDN, no analytics, no network call of any kind. The
opponent is ordinary code in demo-engine.js: a
Referee that both sides play through, a Computer that
decides, and the Tactics, MoveRanker, Minimax and
TieBreak it decides with. Not one line of it knows it is being watched.
The shape is a decision
The opening search visits some 550,000 positions. You are seeing about a dozen
lines, because the recursion lives inside one object and only calls that cross an
object boundary are traced. Each Minimax.score line reports how many
positions that one call really visited — the work that is not shown is
counted rather than hidden.
The prose comes from the method
The italic line under each call is that method's narration template, resolved
against its own arguments. In Java it is an annotation; here it is the same
library function a decorator desugars to, because browsers ship no decorators
and this site has no build step.