<?php

declare(strict_types=1);

namespace App\Support\Baselines;

/**
 * Stable reason codes for 422 precondition failures.
 *
 * These codes are returned in the response body when a baseline operation
 * cannot start due to unmet preconditions. No OperationRun is created.
 */
final class BaselineReasonCodes
{
    public const string CAPTURE_MISSING_SOURCE_TENANT = 'baseline.capture.missing_source_tenant';

    public const string CAPTURE_PROFILE_NOT_ACTIVE = 'baseline.capture.profile_not_active';

    public const string CAPTURE_ROLLOUT_DISABLED = 'baseline.capture.rollout_disabled';

    public const string COMPARE_NO_ASSIGNMENT = 'baseline.compare.no_assignment';

    public const string COMPARE_PROFILE_NOT_ACTIVE = 'baseline.compare.profile_not_active';

    public const string COMPARE_NO_ACTIVE_SNAPSHOT = 'baseline.compare.no_active_snapshot';

    public const string COMPARE_INVALID_SNAPSHOT = 'baseline.compare.invalid_snapshot';

    public const string COMPARE_ROLLOUT_DISABLED = 'baseline.compare.rollout_disabled';
}
