gates:
  - gate_id: index-check
    command:
      - python
      - scripts\rebuild_indexes.py
      - --check
    working_directory: .
    expected_exit_code: 0
    log_file: logs/index-check.log
    timeout_seconds: 120
    required_before_review: true
  - gate_id: model-library-validation
    command:
      - python
      - scripts\validate_model_library.py
    working_directory: .
    expected_exit_code: 0
    log_file: logs/model-library-validation.log
    timeout_seconds: 120
    required_before_review: true
  - gate_id: round04-blind-routing-tests
    command:
      - python
      - -m
      - pytest
      - tests\test_round04_blind_routing.py
      - tests\test_round04_post_patch_verification.py
    working_directory: .
    expected_exit_code: 0
    log_file: logs/round04-blind-routing-tests.log
    timeout_seconds: 240
    required_before_review: false
