```python
def key_path(store: dict, head: str) -> list:
    if not store or not head:
        raise ValueError("Store must be non-empty and head must be a string")

    return [name for name in store.keys() if name.startswith(head)]
```