```python
def clamp_move(position: int, delta: int, width: int) -> list:
    if not isinstance(width, int) or width < 1:
        raise ValueError("width must be a positive integer")
    if not isinstance(position, int) or not 0 <= position < width:
        raise ValueError("position must sit inside the corridor")
    if not isinstance(delta, int) or delta == 0:
        raise ValueError("a move must be a non-zero integer")
    landed = min(width - 1, max(0, position + delta))
    return [landed, landed != position + delta]


def run_patrol(width: int, start: int, moves: list) -> dict:
    if not isinstance(moves, list):
        raise ValueError("moves must be a list")
    
    bumps = 0
    visited = {start}
    current = start
    
    for delta in moves:
        landed, hit_wall = clamp_move(current, delta, width)
        if hit_wall:
            bumps += 1
        visited.add(landed)
        current = landed
        
    return {
        "position": current,
        "bumps": bumps,
        "visited": len(visited)
    }
```