The design file isn't the only source an agent reads. The code next door is a source too.
The count and the two piles are in Figma Says Design System Drift Starts With a Lost Token. My Own Site Has 44 Colors Typed Out Next to Their Tokens. The Agent Reads the Code Too.. The handbook chapter Specifying Behavior makes the same case for behavior.