mirror of
https://github.com/l0ng-ai/tty7.git
synced 2026-09-22 16:02:24 +00:00
`status_dot` places itself with negative offsets so that it overhangs the avatar's edge — that overhang is what makes it read as a badge sitting on the disc rather than a notch bitten out of it. But it is added as a child of the element carrying `rounded_full`, so everything past the circle is clipped along the arc and the badge comes back as a crescent. Give the wrapper the positioning and move the disc down a level. The radius then only ever clips the disc's own fill and mark, and the dot becomes a sibling drawn after it, which settles the paint order too. No test: the change is structural — which element carries the radius — and the tests here cover the pure decisions behind the avatar (`needs_edge`, `agent_status_label`) rather than its element tree.