// SPDX-FileCopyrightText: 2026 FocusFlow contributors
// SPDX-License-Identifier: AGPL-3.0-only

part of '../../../scheduling_engine.dart';

/// Stable high-level outcome categories for scheduling operations.
enum SchedulingOutcomeCode {
  /// Operation completed without conflicts.
  success,

  /// Operation intentionally made no changes.
  noOp,

  /// Requested record was not found.
  notFound,

  /// Requested operation does not apply to the current state.
  invalidState,

  /// No placement slot exists for the requested item.
  noSlot,

  /// The requested queue would extend beyond the planning window.
  overflow,

  /// Operation completed or analyzed with a conflict.
  conflict,
}
