lineprior: domain-agnostic action priors built from historical action
sequences. Given a state, it answers "what actions have historically
worked well from here?" -- as a prior for another system to weigh, not
as an oracle. See AGENTS.md for the full design rationale.
This library never writes to stdout/stderr and never panics on
malformed user input; all failure paths return [Error].