Repository navigation
Actions Recipes and Execution Reference
English | 简体中文
Applies to DecisioWorks v1.4.0
A standard action states what to do, a capability handler implements it, and a recipe selects capabilities, parameters, and order for a scenario.
| Action | Key input | Key output | Status |
|---|---|---|---|
data_acquisition |
source, source type, validation configuration |
business_data, data-interface specification metadata |
Implemented |
constraint_parsing |
Business data, engine_type
|
Prepared production engine and structured constraints | Implemented |
objective_construction |
Objective terms, directions, weights | Objective system, original and governed weights | Implemented |
solution_generation |
Production engine, solver parameters | Planning result and candidates | Implemented |
solution_selection |
Candidate solutions | best_solution |
Implemented |
solution_evaluation |
Planning result, business data | production_analysis |
Implemented |
execution_dispatch |
Optional standalone result file | Dispatch record | Implemented; skipped when not configured |
impact_analysis |
Planning report, rules or agreed operational decisions | Impact report, biases, and signals | Implemented |
local_adjustment |
Explicit rules and adjustment items | Solver-independent local constraints | Implemented |
disturbance_detection |
Events or state changes | Disturbance list | Planned |
collaborative_reconstruction |
Local decisions | Coordinated candidates | Planned |
Actions marked Planned do not yet have callable implementations. Use implemented, registered actions when writing an executable recipe.
| Field | Purpose | What to check |
|---|---|---|
recipe_version |
Recipe structure version | Manage separately from the product release version |
name/purpose |
Stable identifier and business purpose | Use a recognizable name and describe the business task clearly |
register |
Register capability functions | Dotted import paths must exist and resolve to callable functions |
pipeline |
Standard-action sequence | Actions must be registered and resolvable |
context.inputs |
Data, production, objective, and rule configuration | Use paths relative to the distribution directory |
expected_outputs |
Acceptance statements for people and Agents | Executable tests must still assert the expected behavior |
safety |
Persistence and runtime guidance | These declarations do not replace safety controls in code |
- Store original requests and configuration in
inputs. - Store reusable intermediate material in
derived. - Store structured rules in
constraints. - Store candidates and the selected result in
solutionsandbest_solution. - Store runtime, audit, and diagnostic information in
metadataandhistory.
Pipeline supports linear planning and scheduling flows. DAG supports parallel branches with explicit dependencies. FSM supports state-driven responses with bounded iteration. Action failures should return a controlled failed result rather than let an unhandled exception interrupt the entire chain.
Structural data comes from the standard interface. execution_dispatch can write only an explicitly configured standalone JSON result file. Do not use data.db as the dispatch output target.
Product Home | DecisioWorks v1.4.0 | English / 中文
- What Is DecisioWorks / DecisioWorks 是什么
- Scenarios and Pain Points / 适用场景与痛点
- Quick Start / 快速开始
- Documentation Map / 文档地图
- Research and Commercial Editions / 研究版与商业版
- Whitepapers / 白皮书
-
Learning Center / 学习中心: 8 topics / 8 个专题
- Design Principles and Differentiation / 设计原则与差异化
- Architecture Overview / 总体架构
- Component Responsibilities / 组件职责
- Standard Actions and Orchestration / 标准动作与能力编排
- Objectives and Rule Control / 目标与规则控制
- Controlled Solving and Engine Adapters / 受控求解与模型适配
- Results, Evidence, and Feedback / 结果、证据与反馈
- Developer Guide Index / 开发手册索引
- Data Objects and Fields / 数据对象与字段
- Actions, Recipes, and Execution / 动作、配方与执行
- Runtime Status, Errors, and Limits / 运行状态、错误与限制