/**
 * `LanguageClassification` — RFC §6.1 Ring 3 / Ring 4 governance.
 *
 * Classifies each `SupportedLanguages` member for the rollout. Ring 4 (DAG
 * retirement) is gated on *all production languages* being registry-primary
 * and stable for one release cycle; `experimental` and `quarantined`
 * languages do not block.
 *
 * Initial classification (locked in Ring 1 #910):
 *   - production: javascript, typescript, python, java, c, cpp, csharp, go,
 *                 ruby, rust, php, kotlin, swift, dart
 *   - experimental: vue (embedded-language / SFC complexity),
 *                   cobol (regex-provider path)
 *   - quarantined: (none)
 */
import { SupportedLanguages } from '../languages.js';
/**
 * The canonical classification for each supported language. Governance
 * changes (promote `experimental` → `production`, quarantine a language, …)
 * update this map in a dedicated PR.
 */
export const LanguageClassifications = {
    [SupportedLanguages.JavaScript]: 'production',
    [SupportedLanguages.TypeScript]: 'production',
    [SupportedLanguages.Python]: 'production',
    [SupportedLanguages.Java]: 'production',
    [SupportedLanguages.C]: 'production',
    [SupportedLanguages.CPlusPlus]: 'production',
    [SupportedLanguages.CSharp]: 'production',
    [SupportedLanguages.Go]: 'production',
    [SupportedLanguages.Ruby]: 'production',
    [SupportedLanguages.Rust]: 'production',
    [SupportedLanguages.PHP]: 'production',
    [SupportedLanguages.Kotlin]: 'production',
    [SupportedLanguages.Swift]: 'production',
    [SupportedLanguages.Dart]: 'production',
    [SupportedLanguages.Vue]: 'experimental',
    [SupportedLanguages.Cobol]: 'experimental',
    [SupportedLanguages.Julia]: 'experimental',
};
/** Convenience predicate: is this language gating Ring 4 retirement? */
export function isProductionLanguage(lang) {
    return LanguageClassifications[lang] === 'production';
}
//# sourceMappingURL=language-classification.js.map