```python
def clamp_move(position, delta, width):
    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")
    visited = {start}
    bumps = 0
    current_position = start
    for move in moves:
        new_position, bumped = clamp_move(current_position, move, width)
        if bumped:
            bumps += 1
        visited.add(new_position)
        current_position = new_position
    return {
        "position": current_position,
        "bumps": bumps,
        "visited": len(visited),
    }
```