```python
def clamp_move(position: int, delta: int, width: int) -> list:
    if not isinstance(width, int) or width <= 0:
        raise ValueError("Width must be a positive integer")
    if not isinstance(position, int) or position < 0 or position >= width:
        raise ValueError("Position must be an integer inside the corridor")
    if not isinstance(delta, int) or delta == 0:
        raise ValueError("Move must be a non-zero integer")

    new_position = position + delta
    bumped = False

    if new_position < 0:
        new_position = 0
        bumped = True
    elif new_position >= width:
        new_position = width - 1
        bumped = True

    return [new_position, bumped]


def run_patrol(width: int, start: int, moves: list) -> dict:
    if not isinstance(moves, list):
        raise ValueError("Moves must be a list")

    position = start
    bumps = 0
    visited = {start}

    for move in moves:
        new_position, bumped = clamp_move(position, move, width)
        position = new_position
        bumps += int(bumped)
        if new_position not in visited and (new_position == position or bumps > 0):
            visited.add(new_position)

    return {"position": position, "bumps": bumps, "visited": len(visited)}
```