Feature: Dockerignore scope isolation
  As a maintainer
  I want server-only dockerignore rules isolated
  So CLI image builds are not affected by server-specific exclusions

  Scenario: Shared .dockerignore does not exclude server-only paths
    Given the repository root for dockerignore validation
    When I read the dockerignore file ".dockerignore"
    Then the dockerignore file should not exclude "docs/"
    And the dockerignore file should not exclude "k8s/"
    And the dockerignore file should not exclude "features/"
    And the dockerignore file should not exclude "robot/"

  Scenario: Dockerfile.server uses a dedicated dockerignore file
    Given the repository root for dockerignore validation
    Then the dockerignore file "Dockerfile.server.dockerignore" should exist
    When I read the dockerignore file "Dockerfile.server.dockerignore"
    Then the dockerignore file should exclude "docs/"
    And the dockerignore file should exclude "k8s/"
    And the dockerignore file should exclude "features/"
    And the dockerignore file should exclude "robot/"
