/**
 * Main Path Integration Contract — 常量定义
 */
/** 不被承认为"接入"的引用类型 */
const NON_INTEGRATION_REFERENCES = [
    "test_import",
    "index_export",
    "registry_declaration",
    "type_reference",
    "barrel_export",
    "readme",
    "design_doc",
    "demo",
    "example",
];
export { NON_INTEGRATION_REFERENCES };
/** 允许豁免的文件模式 */
const EXEMPT_PATTERNS = [
    { pattern: /\.d\.ts$/, reason: "类型声明文件" },
    { pattern: /\/types\//, reason: "类型目录" },
    { pattern: /\.test\./, reason: "测试文件不应在 src" },
    { pattern: /\.spec\./, reason: "测试文件不应在 src" },
    { pattern: /\/fixtures?\//, reason: "测试 fixture" },
];
export { EXEMPT_PATTERNS };
/** SoloForge 机制层特殊规则: 能力类型 → 必须接入的目标 */
const SOLOFORGE_WIRING_RULES = {
    contract: "Unified Contract Registry 或明确为 advisory/experimental",
    guard: "Guard Evaluation",
    verifier: "Guard Evaluation",
    workflow: "Workflow Contract Registry 和真实编排",
    knowledge_rule: "Knowledge Injection Boundary 或明确 manual_reference",
    cli_command: "bin/soloforge",
    adapter_behavior: "对应 adapter 模板和 adapter 测试",
    diagnostic_code: "真实路径产出",
    governance_report: "真实命令或真实 workflow 输出",
    business_service: "controller/job/page/consumer/public API 入口",
    other: "生产调用路径",
};
export { SOLOFORGE_WIRING_RULES };
/** hard_fail 的状态 */
export const HARD_FAIL_STATUSES = [
    "implemented_not_integrated",
    "dead_code_candidate",
];
/** 允许的状态 */
export const ALLOW_STATUSES = [
    "integrated",
];
/** warning 的状态 */
export const WARNING_STATUSES = [
    "experimental_isolated",
    "planned_integration",
];
/** 生产源码扩展名 */
export const PRODUCTION_EXTENSIONS = new Set([".ts", ".tsx", ".js", ".jsx", ".java", ".kt", ".go", ".py"]);
/** 表示非生产文件的匹配模式 */
export const NON_PRODUCTION_PATTERNS = [
    /\.d\.ts$/,
    /\.test\./,
    /\.spec\./,
    /\/tests\//,
    /^tests?\//,
    /\/__tests__\//,
    /\/fixtures?\//,
    /\/demo\//,
    /(?:^|\/src\/)examples?\//,
    /\/docs?\//,
    /\/mocks?\//,
];
//# sourceMappingURL=constants.js.map