重构: 拆human_node人工节点(strategy核心库)

- 新建 df-nodes/human_node_helpers.rs(32行): REJECT_KEYWORDS + is_reject_decision + contains_reject(B-260615-05拒绝语义保留)
- human_node.rs 850→831: HumanNode struct+impl+tests保留 + use helpers(impl块约束主体内联)
- lib.rs: mod human_node_helpers
主代兜底(独立 -p df-nodes): cargo 0 + test 82(B-260615-05 reject全绿)
strategy: 核心库, 纯函数+常量抽离, impl保留; human_node主体内联execute大(impl约束, 可拆有限)
git add指定(df-nodes/*)
This commit is contained in:
2026-06-19 11:47:40 +08:00
parent 356c8f27f8
commit a2330de2a8
3 changed files with 39 additions and 25 deletions

View File

@@ -4,6 +4,7 @@ pub mod ai_node;
#[allow(dead_code)]
mod ai_node_helpers;
pub mod human_node;
mod human_node_helpers;
pub mod script_node;
pub mod task_advance_node;
pub mod task_state_machine;