DOG-016 LOW: dog/ correctness + API hardening grab-bag

Lower-severity correctness, UB, and API-consistency items from the review. None is individually urgent; grouped so they land in one hardening pass. Each is a one-liner with a cited site; split out any that grows a repro of its own (per Tickets, a bug found mid-fix becomes its own ticket). Method: Issues.

Input

Context — correctness / UB

Context — API / docs

Goals

Constraints

WIP

TODOs

Blockers and bummers

Outcome