🏛️
决策平台
组织与项目管理、事实目录、带类型的决策契约,以及完整的版本历史。让团队真正拥有自己的决策逻辑,而不是散落在代码库和电子表格里。
{
"config": {
"name": "discount-check",
"version": "1.0.0",
"entry_step": "check_vip"
},
"steps": {
"check_vip": {
"id": "check_vip",
"name": "Check VIP Status",
"type": "decision",
"branches": [{ "condition": "user.vip == true", "next_step": "vip_discount" }],
"default_next": "normal_discount"
},
"vip_discount": {
"id": "vip_discount",
"type": "terminal",
"result": { "code": "VIP", "message": "20% discount" }
},
"normal_discount": {
"id": "normal_discount",
"type": "terminal",
"result": { "code": "NORMAL", "message": "5% discount" }
}
}
}