ai-refactor(flow): 调整抽象流程节点实现和依赖路径

- 修改 AbstractProcessNode 中 ProcessContext 的命名空间引用为 app\flow\context\ProcessContext
- 引入 app\flow\vo\CanHandleResult 用于节点处理结果表示
- 更新前置策略执行后对成功状态的判断,改为调用 isSuccess() 方法
- 增加日志记录细节,便于调试策略执行中断时的错误信息
- 优化代码注释,提升代码可读性和维护性
This commit is contained in:
zimoyin
2026-03-11 02:40:45 +08:00
parent d5991813a6
commit 3471deb3f1
42 changed files with 1950 additions and 4418 deletions
+1 -1
View File
@@ -242,7 +242,7 @@ class EctActionsRepository extends BaseRepository
'process_name' => $context->getCurrentStep(),
'process_order' => $process_order + 1,
'op_morning' => $context->getMorningWash()->needMorningWash ? 1 : 0,
'op_enhance' => $context->needEnhanceWash() ? 1 : 0,
'op_enhance' => $context->isEnhanceWashNeeded() ? 1 : 0,
'reader_id' => (int)$context->getReader()->id ?: null,
'reader_no' => $context->getReader()->no ?: null,
'opuser_type' => $opuserType,