This is a submission for Weekend Challenge: Dog Days Edition

What I Built

I started with the weekend challenge's small, ordinary dog prompt. But the dog isn't really the point — the dog is standing in for an agent. It wants something, it moves, it encounters boundaries, and its activity can be observed relative to a reference: where it's allowed to be, where the line sits, whether that line has moved.

Watching that unfold, the question that stuck with me wasn't "how do I make a fun dog game," it was:

What is the smallest primitive that can report how far an activity has drifted from a reference — without deciding what that drift means, and without needing the agent to understand the boundary at all?