"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.DEFAULT_REVIEW_POLICY_SUMMARY_WINDOW = exports.REVIEW_POLICY_SUMMARY_WINDOWS = exports.REVIEW_RUN_TRIGGERED_BYS = exports.REVIEW_RUN_DECISIONS = exports.REVIEW_RUN_STATUSES = exports.REVIEW_FINDING_SUPPRESSION_STATUSES = exports.REVIEW_FINDING_CONFIDENCES = exports.REVIEW_FINDING_SEVERITIES = exports.REVIEW_FINDING_CATEGORIES = exports.REVIEW_FINDING_SOURCE_PHASES = exports.REVIEW_POLICY_RUNNER_TYPES = exports.REVIEW_POLICY_MODES = exports.REVIEW_POLICY_RUNTIMES = exports.REVIEW_POLICY_EXECUTION_CONTEXTS = exports.REVIEW_POLICY_TRIGGERS = exports.REVIEW_POLICY_SOURCES = exports.REVIEW_POLICY_TYPES = exports.REVIEW_POLICY_PROMPT_MAX_LENGTH = exports.REVIEW_POLICY_NAME_MAX_LENGTH = exports.AI_AGENT_STATUSES = void 0;
exports.AI_AGENT_STATUSES = ['active', 'disabled'];
exports.REVIEW_POLICY_NAME_MAX_LENGTH = 120;
exports.REVIEW_POLICY_PROMPT_MAX_LENGTH = 10000;
exports.REVIEW_POLICY_TYPES = ['built_in_security_scan', 'security_agent'];
exports.REVIEW_POLICY_SOURCES = ['admin_configured', 'superblocks_managed'];
exports.REVIEW_POLICY_TRIGGERS = ['before_deploy', 'after_checkpoint', 'manual'];
exports.REVIEW_POLICY_EXECUTION_CONTEXTS = [
    'edit_mode_app',
    'superblocks_sabs_built_assets',
    'superblocks_sabs_dependency_metadata',
    'superblocks_sabs_source_snapshot'
];
exports.REVIEW_POLICY_RUNTIMES = ['superblocks_dev_server_agent', 'superblocks_sabs'];
exports.REVIEW_POLICY_MODES = ['advisory', 'blocking'];
exports.REVIEW_POLICY_RUNNER_TYPES = ['built_in_security_scan', 'llm_security_agent'];
exports.REVIEW_FINDING_SOURCE_PHASES = ['built_asset', 'dependency', 'edit_mode_app', 'iac', 'image', 'source'];
exports.REVIEW_FINDING_CATEGORIES = [
    'external_policy',
    'misconfiguration',
    'security_agent',
    'secret',
    'sensitive_data',
    'vulnerability'
];
// Severity and confidence order is semantically meaningful from strongest to weakest.
exports.REVIEW_FINDING_SEVERITIES = ['critical', 'high', 'medium', 'low', 'info'];
exports.REVIEW_FINDING_CONFIDENCES = ['high', 'medium', 'low'];
exports.REVIEW_FINDING_SUPPRESSION_STATUSES = ['active', 'expired', 'revoked'];
// Lifecycle ordering is semantically meaningful; matches AiAgentRun status sequence with review-specific states.
exports.REVIEW_RUN_STATUSES = [
    'queued',
    'running',
    'passed',
    'findings',
    'blocked',
    'errored',
    'timed_out',
    'canceled',
    'stale'
];
// Lifecycle ordering is semantically meaningful.
exports.REVIEW_RUN_DECISIONS = ['allowed', 'advisory_allowed', 'blocked', 'error_blocked', 'not_applicable'];
exports.REVIEW_RUN_TRIGGERED_BYS = ['system', 'user'];
// Trailing-time windows the summary can be scoped to. Order is semantically
// meaningful (shortest to longest) for rendering the selector.
exports.REVIEW_POLICY_SUMMARY_WINDOWS = ['24h', '7d', '30d'];
exports.DEFAULT_REVIEW_POLICY_SUMMARY_WINDOW = '24h';
//# sourceMappingURL=index.js.map