/** Default number of loop iterations when not specified */ export declare const DEFAULT_ITERATIONS = 5; /** Hard upper limit on loop iterations to prevent runaway execution */ export declare const MAX_ITERATIONS_HARD_CAP = 50; /** Maximum number of concurrently active tree-worker loop sessions (subtask 3) */ export declare const MAX_TREE_WORKER_SESSIONS = 30; /** Maximum time (ms) allowed for a dispatched round to complete (replaces ROUND_TIMEOUT_MS) */ export declare const DISPATCH_ROUND_TIMEOUT_MS = 900000; /** @deprecated Use DISPATCH_ROUND_TIMEOUT_MS instead */ export declare const ROUND_TIMEOUT_MS = 900000; /** Minimum delay (ms) between consecutive rounds */ export declare const INTER_ROUND_DELAY_MS = 2000; /** Maximum characters of round output fed into the summarizer / unified seed */ export declare const SUMMARY_INPUT_CHAR_CAP = 8000; /** Maximum characters of the unified summary prepended as seed to the next round */ export declare const SEED_CHAR_CAP = 8000; /** @deprecated Kept for backward compat with existing tests — will be removed in T14 */ export declare const SUMMARIZER_TIMEOUT_MS = 60000; /** @deprecated Kept for backward compat with existing tests — will be removed in T14 */ export declare const SPAWN_MAX_RETRIES = 2; /** @deprecated Kept for backward compat with existing tests — will be removed in T14 */ export declare const SPAWN_RETRY_BASE_DELAY_MS = 2000; /** Current schema version for persisted LoopState records */ export declare const LOOP_STATE_SCHEMA_VERSION = 3; /** Marker string used to detect loop-progress signals in session output */ export declare const LOOP_PROGRESS_MARKER = "[loop-progress"; /** Canonical name of the loop function */ export declare const LOOP_FUNCTION_NAME = "loop"; /** Canonical name of the loop_start function (subtask 2/4) */ export declare const LOOP_START_FUNCTION_NAME = "loop_start"; /** Command name registered by the plugin to stop an active loop */ export declare const STOP_LOOP_COMMAND = "stop-loop"; /** Text injected by the stop-loop command; used by shouldCancelLoop to detect explicit cancellation */ export declare const STOP_LOOP_SIGNAL = "[rolebox:stop-loop]"; /** * Maximum time (ms) a lock in the _advancing Set can be held before the sweeper * considers it stale and releases it automatically. Prevents silent deadlock * if an exception escapes the try block without the finally block running. */ export declare const ADVANCING_LOCK_TIMEOUT_MS = 30000; /** Interval (ms) at which the _advancing sweeper runs to detect stale locks. */ export declare const SWEEPER_INTERVAL_MS = 15000; /** * Number of consecutive stale rounds (no progress marker, no output delta) * after which the stall guard terminates the loop early (subtask 2). */ export declare const CONSECUTIVE_STALE_THRESHOLD = 2; //# sourceMappingURL=constants.d.ts.map