fn key_leaf(tail: &str, tables: &[&str]) -> String
The key’s own name from a tail that may start with a repeated table: model_slugs.glm-5.3-flash names the slug, not the table.
model_slugs.glm-5.3-flash