Start LangGraph backend migration foundation

This commit is contained in:
Xin Wang
2026-07-27 17:21:29 +08:00
parent 5c719ed2ea
commit 1c8e9da486
33 changed files with 1859 additions and 86 deletions

View File

@@ -0,0 +1,46 @@
{
"version": "2026-07-26",
"global_transitions": {
"explicit_handoff": "0001",
"injury_or_complex": "0003",
"two_invalid_clarifications": "0002",
"two_no_response_events": "0004",
"photo_recognition_failed_event": "0005"
},
"allowed": {
"1001": ["1001", "1002", "0001", "0003", "0004"],
"1002": ["1002", "2000", "2010", "0000", "0001", "0002", "0003", "0004"],
"2000": ["2000", "2001", "0001", "0003", "0004", "0005"],
"2001": ["2001", "2002", "0001", "0003", "0004", "0005"],
"2002": ["2002", "2003", "0001", "0003", "0004", "0005"],
"2003": ["2003", "2004", "0001", "0003", "0004", "0005"],
"2004": ["2004", "2005", "0001", "0002", "0003", "0004", "0005"],
"2005": ["2005", "3001", "0001", "0002", "0003", "0004", "0005"],
"2010": ["2010", "2011", "0001", "0003", "0004", "0005"],
"2011": ["2011", "2012", "0001", "0003", "0004", "0005"],
"2012": ["2012", "2013", "0001", "0003", "0004", "0005"],
"2013": ["2013", "2014", "0001", "0003", "0004", "0005"],
"2014": ["2014", "2015", "0001", "0003", "0004", "0005"],
"2015": ["2015", "2016", "0001", "0003", "0004", "0005"],
"2016": ["2016", "3002", "0001", "0002", "0003", "0004", "0005"],
"3001": ["3001", "0000", "0001", "0002", "0003", "0004"],
"3002": ["3002", "0000", "0001", "0002", "0003", "0004"],
"0000": [],
"0001": [],
"0002": [],
"0003": [],
"0004": [],
"0005": []
},
"photo_sequences": {
"single": ["2000", "2001", "2002", "2003", "2004", "2005", "3001"],
"double": ["2010", "2011", "2012", "2013", "2014", "2015", "2016", "3002"]
},
"notes": [
"同状态迁移表示无效输入后重复当前问题或固定指令。",
"3001 和 3002 是内部信息确认状态,对外兼容码统一为 1002。",
"终止状态不允许继续迁移;新请求必须创建或显式重置 session。",
"0003 在照片和信息确认阶段仍保留全局安全优先级。",
"迁移矩阵是 LangGraph 实现的权威基线FastGPT 当前不会在服务端执行该校验。"
]
}