import { PromptModule, ModuleConfig } from './prompt-module.interface.js'; /** * Recovery module — unified session recovery protocol. * * Consolidates the restart/recovery flow that was previously scattered * across prompt-builder.service.ts buildSessionRecoverySection(), * agent-registration.service.ts hardcoded commands, role prompts * (Session Recovery Protocol), and session-handoff.service.ts. * * Produces the mandatory startup sequence: get-my-context (one memory search, #857) → active work → register → assess. * This module is non-compactable because skipping recovery causes * duplicate work and lost context. * * Sources: Path A Step 9, prompt-builder buildSessionRecoverySection(), * developer/prompt.md §Session Recovery Protocol. */ export declare class RecoveryModule implements PromptModule { name: string; priority: number; maxTokens: number; compactable: boolean; /** * Always included — every agent needs session recovery. */ shouldInclude(_config: ModuleConfig): boolean; /** * Build the session recovery protocol with executable bash commands. * * @param config - Module configuration with agent identity * @returns Formatted markdown recovery section */ build(config: ModuleConfig): Promise; } //# sourceMappingURL=recovery.module.d.ts.map