pub fn infer_view_spec(model: &str, columns: &[FieldMeta]) -> ViewSpecExpand description
Produce a reasonable ViewSpec from a model name and its columns.
Deterministic: same input always yields the same output. The rules err on
the side of hiding rather than exposing, and only the first human-readable
text field is promoted to Primary.