From 78a43b6a13da2cf878b1c4ff85ca65cdd8393eb2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E5=BE=B7=E5=AE=87?= Date: Sat, 3 Oct 2026 17:33:50 +0800 Subject: [PATCH] =?UTF-8?q?docs(=E4=BC=9A=E5=91=98=E7=9B=AE=E5=BD=95):=20?= =?UTF-8?q?=E8=AF=B4=E6=98=8E=E6=A1=A3=E4=BD=8D=E6=A0=A1=E9=AA=8C=E4=B8=8D?= =?UTF-8?q?=E8=A6=86=E7=9B=96=E5=B1=95=E7=A4=BA=E5=9E=8B=E6=9D=83=E7=9B=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - validate_runtime_profile_membership_plan_row_against_catalog 文档注明 model_access 与 concurrent_job_limit 本期仅落字段供展示,不参与随 rank 的单调校验。 --- server-rs/crates/module-runtime/src/membership/catalog.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/server-rs/crates/module-runtime/src/membership/catalog.rs b/server-rs/crates/module-runtime/src/membership/catalog.rs index b907dc49e..12cde7e7a 100644 --- a/server-rs/crates/module-runtime/src/membership/catalog.rs +++ b/server-rs/crates/module-runtime/src/membership/catalog.rs @@ -145,6 +145,9 @@ pub fn resolve_runtime_profile_membership_plan_row( /// `candidate` 是本次要落库的行,`existing` 是目录里的其余行(同 `plan` 的旧行会被忽略)。 /// 只比较 `candidate` 与其余每一行:这样任何单次改写都不能制造新的倒挂,而目录原本单调时 /// 写完后仍严格单调;同时历史脏目录不会把后台彻底锁死,后台仍能逐档修正。 +/// +/// `model_access` 与 `concurrent_job_limit` 本期只落字段、只用于展示与人工判断,服务端不做拦截, +/// 因此这里不校验它们随 rank 单调;若将来据其做准入判定,需要在此补充倒挂校验。 pub fn validate_runtime_profile_membership_plan_row_against_catalog( candidate: &RuntimeProfileMembershipPlanRecord, existing: &[RuntimeProfileMembershipPlanRecord],