"use strict";
/**
 * Feature flags for gradual rollout of new functionality.
 */
Object.defineProperty(exports, "__esModule", { value: true });
exports.isDebugEnabled = exports.isMigrationEnabled = exports.isUnifiedConfigEnabled = void 0;
/**
 * Check if unified config (YAML) is enabled.
 * Set CCS_UNIFIED_CONFIG=1 to enable.
 */
function isUnifiedConfigEnabled() {
    return process.env.CCS_UNIFIED_CONFIG === '1';
}
exports.isUnifiedConfigEnabled = isUnifiedConfigEnabled;
/**
 * Check if migration mode is active.
 * Set CCS_MIGRATE=1 to trigger automatic migration.
 */
function isMigrationEnabled() {
    return process.env.CCS_MIGRATE === '1';
}
exports.isMigrationEnabled = isMigrationEnabled;
/**
 * Check if debug mode is enabled.
 * Set CCS_DEBUG=1 for verbose logging.
 */
function isDebugEnabled() {
    return process.env.CCS_DEBUG === '1';
}
exports.isDebugEnabled = isDebugEnabled;
//# sourceMappingURL=feature-flags.js.map