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

part of '../../backlog.dart';

/// Result returned by [BacklogBoardBucketPolicy] for one backlog task.
class BacklogBoardBucketResolution {
  /// Creates a bucket resolution with the selected [bucket] and user-facing [reason].
  const BacklogBoardBucketResolution({
    required this.bucket,
    required this.reason,
  });

  /// Board bucket selected for the task.
  final BacklogBoardBucket bucket;

  /// Short user-facing explanation for why the task belongs in [bucket].
  final String reason;
}
