/** * Drive-based autonomy system — 3-phase probabilistic autonomous drive. * * Instead of prescribing specific goals via imperative DMN content, * the drive system uses a probability gate that scales with idle time, * then hands full autonomy to the agent with an elicitation prompt. * * Phase 1: Probability Gate — scales from 20% at threshold to 100% at 5x threshold * Phase 2: Intention Elicitation — open-ended autonomy prompt * Phase 3: Approval Gate — encouragement if agent didn't engage */ /** * Phase 3 approval prompt — delivered if the agent calls wait_for_instructions * again immediately after Phase 2 without engaging. */ export declare const PHASE3_APPROVAL_PROMPT = "Your previous intention was noted. The operator would approve \u2014 go for it."; /** * Result from the drive probability check. */ interface DriveResult { activated: boolean; prompt: string | null; probability: number; } /** * Calculate activation probability and optionally return the Phase 2 prompt. * * Probability formula: * - Below threshold: 0 (no activation) * - At threshold: 20% * - Linear scale to 100% at 5x threshold * - `probability = 0.2 + 0.8 * Math.min(1, (idleHours - threshold) / (4 * threshold))` * * @param idleMs Milliseconds since last operator interaction * @param thresholdHours DMN_ACTIVATION_HOURS config value (default 4) */ export declare function formatDrivePrompt(idleMs: number, thresholdHours: number): DriveResult; export {}; //# sourceMappingURL=drive.d.ts.map