"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.escalationStrategyRegistry = void 0;
/**
 * Singleton registry for the escalation strategy.
 *
 * Follows the same pattern as mcpRegistry (single adapter):
 * - register(strategy) — set the active strategy
 * - clear()            — reset (for tests)
 *
 * The strategy is consulted during escalation resolution to determine
 * whether to perform a standard re-run or route to the MCP triage
 * orchestrator for dynamic remediation.
 */
class LTEscalationStrategyRegistry {
    constructor() {
        this.strategy = null;
    }
    register(strategy) {
        this.strategy = strategy;
    }
    clear() {
        this.strategy = null;
    }
    get hasStrategy() {
        return this.strategy !== null;
    }
    get current() {
        return this.strategy;
    }
}
exports.escalationStrategyRegistry = new LTEscalationStrategyRegistry();
