/**
 * Agent Lifecycle Management — Unified components for robust agent orchestration.
 *
 * Exports all lifecycle management components for comprehensive agent handling:
 * - SignalManager: Atomic signal.json operations
 * - RetryPolicy: Intelligent retry strategies
 * - ErrorAnalyzer: Error classification and handling
 * - CleanupStrategy: Debug vs production cleanup logic
 * - AgentLifecycleController: Main orchestrator
 */

export { FileSystemSignalManager, type SignalManager, type SignalData } from './signal-manager.js';
export {
  DefaultRetryPolicy,
  type RetryPolicy,
  type AgentError,
  type AgentErrorType,
  AgentExhaustedError,
  AgentFailureError
} from './retry-policy.js';
export { AgentErrorAnalyzer } from './error-analyzer.js';
export {
  DefaultCleanupStrategy,
  type CleanupStrategy,
  type CleanupAction,
  type AgentInfo as LifecycleAgentInfo
} from './cleanup-strategy.js';
export {
  AgentLifecycleController,
  type CompletionResult,
  type ResumeAgentOptions
} from './controller.js';