title: "A 卡模型运维模块 · 双库数据域关系 V0.2\n平台标识只读引用,运维业务全部落入独立库" direction: LR formats: [png, svg] theme: font: "PingFang SC" title_size: 24 node_size: 10.5 edge_size: 8.8 splines: spline nodesep: 0.5 ranksep: 0.82 dpi: 180 pad: 0.5 size: "21,13!" clusters: - name: "model_platform · 现有库(只读依赖)" style: { bg: "#F5F6F8", pen: "#AEB7C4", dashed: true, margin: 18 } nodes: - { id: identity, label: "users + roles\n用户与登录角色", icon: flowdb } - { id: workspace, label: "workspaces + members\n项目空间与成员", icon: flowdb } - { id: artifacts, label: "storage_objects + versions\n文件与开发制品", icon: flowdb } - { id: platform_jobs, label: "schedules + runs\n模型计算任务", icon: flowdb } - name: "model_operations · 模型方受控直写(7 张)" style: { bg: "#EEF5FD", pen: "#6F9ED4", margin: 18 } nodes: - { id: banks, label: "ops_banks\n银行", icon: flowdb } - { id: models, label: "ops_model_instances\n模型实例", icon: flowdb } - { id: versions, label: "ops_model_versions\n业务模型版本", icon: flowdb } - { id: batches, label: "ops_monitor_batches\n发布批次 / 修订", icon: flowdb } - { id: results, label: "ops_monitor_results\n单月原始指标", icon: flowdb } - { id: features, label: "ops_monitor_feature_metrics\nIV / CSI / 贡献", icon: flowdb } - { id: distributions, label: "ops_monitor_distributions\n评分 / 特征分箱", icon: flowdb } - name: "model_operations · 运维判级与处理" style: { bg: "#F1F8F5", pen: "#74A087", margin: 18 } nodes: - { id: categories, label: "ops_model_categories\n固定大类字典", icon: flowdb } - { id: rules, label: "ops_rule_versions + items\n规则版本与矩阵", icon: flowdb } - { id: evaluations, label: "ops_monitor_evaluations\n判级快照", icon: flowdb } - { id: reviews, label: "ops_monitor_reviews\n模型初审 → 业务终审", icon: flowdb } - name: "model_operations · 报告、流程与运营" style: { bg: "#FAF6EE", pen: "#C5A467", margin: 18 } nodes: - { id: reports, label: "ops_reports + revisions\n报告与不可变修订", icon: flowdb } - { id: governance, label: "模板 / Prompt / 回归\n按银行报告配置", icon: flowdb } - { id: workflows, label: "ops_workflows + stages\n七阶段流程", icon: flowdb } - { id: documents, label: "ops_documents\n材料 / 知识库索引", icon: flowdb } - { id: usage, label: "ops_usage_events\n登录 / 需求 / 报告行为", icon: flowdb } - { id: events, label: "ops_outbox + inbox\n独立异步事件流", icon: flowdb } edges: - { from: identity, to: reviews, label: "处理人 ID / 显示名", type: dep } - { from: identity, to: workflows, label: "发起人 / 经办人", type: dep } - { from: workspace, to: models, label: "workspace_id 逻辑引用", type: dep } - { from: artifacts, to: versions, label: "可选开发制品引用", type: dep } - { from: artifacts, to: documents, label: "storage_object_id", type: dep } - { from: platform_jobs, to: batches, label: "计算任务产出", type: dep } - { from: banks, to: models, label: "1:N", type: plain } - { from: categories, to: models, label: "1:N", type: plain } - { from: models, to: versions, label: "1:N", type: plain } - { from: batches, to: results, label: "published 后可见", type: write, width: 2.0 } - { from: versions, to: results, label: "版本快照", type: plain } - { from: results, to: features, label: "1:N", type: plain } - { from: results, to: distributions, label: "1:N", type: plain } - { from: rules, to: evaluations, label: "按已发布规则计算", type: dep } - { from: results, to: evaluations, label: "原始指标 → 判级", type: write, width: 2.0 } - { from: evaluations, to: reviews, label: "触发两段处理", type: flow } - { from: evaluations, to: reports, label: "绑定判级快照", type: flow } - { from: governance, to: reports, label: "模板 + Prompt", type: dep } - { from: models, to: workflows, label: "开发 / 复用通用模型", type: flow } - { from: workflows, to: documents, label: "阶段材料", type: write } - { from: reports, to: events, label: "生成 / 提醒事件", type: async }