from pathlib import Path


def test_operator_consistency_audit_does_not_default_to_noisy_next_action_service():
    script = Path('scripts/audit_operator_page_consistency.py').read_text(encoding='utf-8')
    assert '--compare-next-action-service' in script
    assert '--compare-stored-last-action' in script
    assert 'next_action_service_error' in script
    assert 'debug_next_action_service_errors' in script
    assert 'actual_next:' in script
