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

/// Implements Application Recovery behavior for the Scheduler Core package.
library;

// App-open/start-day recovery orchestration.
//
// This layer makes rollover explicit. Reading Today never runs recovery; a UI or
// app lifecycle boundary calls this use case when it wants to check one source
// day and persist any resulting V1 flexible-task rollover.

import 'application_layer.dart';
import '../domain/locked_time.dart';
import '../domain/models.dart';
import '../persistence/repositories.dart';
import '../scheduling/scheduling_engine.dart';
import '../scheduling/task_lifecycle.dart';
import '../domain/time_contracts.dart';
import '../logging/focus_flow_logger.dart';
part 'application_recovery/app_open_recovery_outcome.dart';
part 'application_recovery/run_app_open_recovery_request.dart';
part 'application_recovery/app_open_recovery_result.dart';
part 'application_recovery/v1_app_open_recovery_use_cases.dart';
