From 4fb8e99e295343669af978090e21646ea8fe81d8 Mon Sep 17 00:00:00 2001 From: argszero Date: Fri, 16 Oct 2026 12:38:10 +0800 Subject: [PATCH] docs(deploy_gate): correct the rule-5 companion-test count Rule 5 (the quick-start must hand the master key to compose) has four companion tests in this file, not three: the axis test, the positive control, the rule tooth, and the arming guard. The module note claimed "three (axis + positive control + rule tooth)". Rule 4 does have exactly three, and its note carries the same sentence word for word, so this line was copied from there and the count never moved with it. The count was wrong when it was written: 8cb559a8 (#338) added all four tests and this sentence in the same commit. The arming guard is the fourth test. It asserts that compose still marks ATP_MASTER_KEY as required, so the axis test cannot pass vacuously on a rule whose trigger has been switched off. --- src/deploy_gate.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/deploy_gate.rs b/src/deploy_gate.rs index 1dbe44d..3ac9743 100644 --- a/src/deploy_gate.rs +++ b/src/deploy_gate.rs @@ -118,7 +118,8 @@ //! //! **射程(词法,如实记录)**:它判的是「这份文档有没有告诉读者先把变量交给 shell」, //! **不**证明用户真照着做;也**不**覆盖 `docs/architecture.md`(散文提及,不在 `FILES` 里, -//! 且本仓既有的约定是「能不抄就不抄」)。实现与三条测试(轴 + 阳性对照 + 规则牙齿)在文件末尾。 +//! 且本仓既有的约定是「能不抄就不抄」)。 +//! 实现与四条测试(轴 + 阳性对照 + 规则牙齿 + 空转守卫)在文件末尾。 /// 编译期读入的部署/配置产物。 const FILES: &[(&str, &str)] = &[