full-engine-r2.json 196 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668
  1. {
  2. "companyId": 338,
  3. "includeTravelChain": true,
  4. "includeTravelStress": true,
  5. "startedAt": "2026-06-23 06:42:11",
  6. "sections": {
  7. "engineHealth": {
  8. "passed": true,
  9. "health": {
  10. "companyId": 338,
  11. "healthy": true,
  12. "missingCore": [
  13. ],
  14. "missingOptional": [
  15. ],
  16. "passThreshold": 120
  17. },
  18. "message": "core beans wired"
  19. },
  20. "integrationTests": {
  21. "passed": false,
  22. "summary": "2/4 tests passed in 1555ms",
  23. "details": [
  24. "[FAIL] NodeTypeService: START node not found",
  25. "[FAIL] DynamicNodeExecutor: Judgment node execution failed",
  26. "[PASS] MultiModelWorkflowGenerator: All tests passed",
  27. "[PASS] ModelConfigService: All tests passed"
  28. ],
  29. "executionTimeMs": 1555,
  30. "message": "2/4 tests passed in 1555ms"
  31. },
  32. "phase2Replay": {
  33. "passed": true,
  34. "verify": {
  35. "companyId": 338,
  36. "archiveTableExists": true,
  37. "hotIndexExists": true,
  38. "hotReplayRows": 78,
  39. "eventLogRows": 78,
  40. "archiveRows": 0,
  41. "status": "ok"
  42. },
  43. "message": "phase2 replay verify ok"
  44. },
  45. "pageLinkProbes": {
  46. "totalPages": 29,
  47. "requiredTotal": 15,
  48. "requiredPassed": 15,
  49. "optionalSkipped": 0,
  50. "failures": [
  51. ],
  52. "passed": true,
  53. "durationMs": 2685,
  54. "pages": [
  55. {
  56. "path": "/lobster/company-workflowLobster",
  57. "title": "Workflow templates",
  58. "probe": "templateList",
  59. "required": true,
  60. "passed": true,
  61. "status": "OK",
  62. "message": "templates=44"
  63. },
  64. {
  65. "path": "/lobster/workflow-execution",
  66. "title": "Workflow execution tasks",
  67. "probe": "instanceList",
  68. "required": true,
  69. "passed": true,
  70. "status": "OK",
  71. "message": "instances=568"
  72. },
  73. {
  74. "path": "/lobster/instance",
  75. "title": "Instance monitor",
  76. "probe": "instanceMonitor",
  77. "required": true,
  78. "passed": true,
  79. "status": "OK",
  80. "message": "monitor list ok, count=568"
  81. },
  82. {
  83. "path": "/lobster/prompt",
  84. "title": "Prompt management",
  85. "probe": "promptList",
  86. "required": true,
  87. "passed": true,
  88. "status": "OK",
  89. "message": "prompt rows=50"
  90. },
  91. {
  92. "path": "/lobster/sensitive-words",
  93. "title": "Sensitive words",
  94. "probe": "sensitiveWords",
  95. "required": true,
  96. "passed": true,
  97. "status": "OK",
  98. "message": "words=143"
  99. },
  100. {
  101. "path": "/lobster/forbidden-words",
  102. "title": "Forbidden words",
  103. "probe": "forbiddenWords",
  104. "required": false,
  105. "passed": true,
  106. "status": "OK",
  107. "message": "forbidden=32"
  108. },
  109. {
  110. "path": "/lobster/typo-words",
  111. "title": "Typo words",
  112. "probe": "typoWords",
  113. "required": false,
  114. "passed": true,
  115. "status": "OK",
  116. "message": "typo=3"
  117. },
  118. {
  119. "path": "/lobster/conversation-summary",
  120. "title": "Conversation summary",
  121. "probe": "conversationSummary",
  122. "required": true,
  123. "passed": true,
  124. "status": "OK",
  125. "message": "summaries=18"
  126. },
  127. {
  128. "path": "/lobster/profile-config",
  129. "title": "Profile config",
  130. "probe": "profileConfig",
  131. "required": false,
  132. "passed": true,
  133. "status": "OK",
  134. "message": "profile fields=16"
  135. },
  136. {
  137. "path": "/lobster/channel-config",
  138. "title": "Channel config",
  139. "probe": "channelTypes",
  140. "required": true,
  141. "passed": true,
  142. "status": "OK",
  143. "message": "channels=14"
  144. },
  145. {
  146. "path": "/lobster/channel-plugin",
  147. "title": "Channel plugins",
  148. "probe": "channelPlugins",
  149. "required": true,
  150. "passed": true,
  151. "status": "OK",
  152. "message": "plugins=3"
  153. },
  154. {
  155. "path": "/lobster/api-registry",
  156. "title": "API registry",
  157. "probe": "apiRegistry",
  158. "required": true,
  159. "passed": true,
  160. "status": "OK",
  161. "message": "apis=0"
  162. },
  163. {
  164. "path": "/lobster/sales-corpus",
  165. "title": "Sales corpus",
  166. "probe": "salesCorpus",
  167. "required": false,
  168. "passed": false,
  169. "status": "WARN",
  170. "message": "\r\n### Error querying database. Cause: java.sql.SQLSyntaxErrorException: Unknown column \u0027optimized_answer\u0027 in \u0027field list\u0027\r\n### The error may exist in URL [jar:file:/D:/ylrz_saas_new/java/fs-saas-company/target/fs-saas-company.jar!/BOOT-INF/lib/fs-service-1.1.0.jar!/mapper/company/LobsterSalesCorpusMapper.xml]\r\n### The error may involve defaultParameterMap\r\n### The error occurred while setting parameters\r\n### SQL: select id, dialog_text, customer_question, sales_answer, optimized_answer, ai_feedback, scenario, score, source_type, external_user_id, company_id, task_id, salesperson_name, tags, status, quality_status, kb_written, enabled, create_by, create_time, update_by, update_time from lobster_sales_corpus where company_id = ? order by create_time desc limit ? offset ?\r\n### Cause: java.sql.SQLSyntaxErrorException: Unknown column \u0027optimized_answer\u0027 in \u0027field list\u0027\n; bad SQL grammar []; nested exception is java.sql.SQLSyntaxErrorException: Unknown column \u0027optimized_answer\u0027 in \u0027field list\u0027"
  171. },
  172. {
  173. "path": "/lobster/chat-aggregate",
  174. "title": "Chat aggregate",
  175. "probe": "chatAggregate",
  176. "required": false,
  177. "passed": true,
  178. "status": "OK",
  179. "message": "sessions=5"
  180. },
  181. {
  182. "path": "/lobster/industry-bootstrap",
  183. "title": "Industry bootstrap",
  184. "probe": "industryPacks",
  185. "required": true,
  186. "passed": true,
  187. "status": "OK",
  188. "message": "packs=28"
  189. },
  190. {
  191. "path": "/lobster/identity-config",
  192. "title": "External role config",
  193. "probe": "identityConfig",
  194. "required": false,
  195. "passed": true,
  196. "status": "OK",
  197. "message": "identity config loaded"
  198. },
  199. {
  200. "path": "/lobster/semantic-keywords",
  201. "title": "Semantic keywords",
  202. "probe": "semanticKeywords",
  203. "required": true,
  204. "passed": true,
  205. "status": "OK",
  206. "message": "keywords=0"
  207. },
  208. {
  209. "path": "/lobster/optimization",
  210. "title": "AI optimization audit",
  211. "probe": "optimization",
  212. "required": true,
  213. "passed": true,
  214. "status": "OK",
  215. "message": "optimization stats=5"
  216. },
  217. {
  218. "path": "/lobster/dynamic-impl",
  219. "title": "Dynamic node approval",
  220. "probe": "dynamicImpl",
  221. "required": true,
  222. "passed": true,
  223. "status": "OK",
  224. "message": "pending impls=0"
  225. },
  226. {
  227. "path": "/lobster/dashboard",
  228. "title": "Engine dashboard",
  229. "probe": "dashboard",
  230. "required": true,
  231. "passed": true,
  232. "status": "OK",
  233. "message": "dashboard keys=8"
  234. },
  235. {
  236. "path": "/lobster/token-stats",
  237. "title": "Token stats",
  238. "probe": "tokenStats",
  239. "required": false,
  240. "passed": false,
  241. "status": "WARN",
  242. "message": "\r\n### Error querying database. Cause: java.sql.SQLSyntaxErrorException: Table \u0027ylrz_saas.lobster_token_consumption\u0027 doesn\u0027t exist\r\n### The error may exist in URL [jar:file:/D:/ylrz_saas_new/java/fs-saas-company/target/fs-saas-company.jar!/BOOT-INF/lib/fs-service-1.1.0.jar!/mapper/company/LobsterTokenConsumptionMapper.xml]\r\n### The error may involve defaultParameterMap\r\n### The error occurred while setting parameters\r\n### SQL: SELECT DATE(request_time) AS date, SUM(token_count) AS totalTokens, SUM(estimated_cost) AS totalCost, COUNT(1) AS requestCount FROM lobster_token_consumption WHERE company_id = ? AND request_time BETWEEN ? AND ? GROUP BY DATE(request_time) ORDER BY date DESC\r\n### Cause: java.sql.SQLSyntaxErrorException: Table \u0027ylrz_saas.lobster_token_consumption\u0027 doesn\u0027t exist\n; bad SQL grammar []; nested exception is java.sql.SQLSyntaxErrorException: Table \u0027ylrz_saas.lobster_token_consumption\u0027 doesn\u0027t exist"
  243. },
  244. {
  245. "path": "/lobster/evolution",
  246. "title": "Evolution engine",
  247. "probe": "evolution",
  248. "required": true,
  249. "passed": true,
  250. "status": "OK",
  251. "message": "evolution metrics=6"
  252. },
  253. {
  254. "path": "/lobster/chat-test",
  255. "title": "Chat test",
  256. "probe": "chatTest",
  257. "required": false,
  258. "passed": true,
  259. "status": "OK",
  260. "message": "e2e test service ready"
  261. },
  262. {
  263. "path": "/lobster/ab-test",
  264. "title": "AB / GEPA optimization",
  265. "probe": "abTest",
  266. "required": false,
  267. "passed": true,
  268. "status": "OK",
  269. "message": "active ab tests=0"
  270. },
  271. {
  272. "path": "/lobster/profile",
  273. "title": "Customer profile hub",
  274. "probe": "userProfile",
  275. "required": false,
  276. "passed": true,
  277. "status": "OK",
  278. "message": "profiles=27, domain=true"
  279. },
  280. {
  281. "path": "/lobster/profile-domain",
  282. "title": "Unified profile domain",
  283. "probe": "profileDomain",
  284. "required": false,
  285. "passed": true,
  286. "status": "OK",
  287. "message": "profile domain ready, mode=async"
  288. },
  289. {
  290. "path": "/lobster/qdrant",
  291. "title": "Vector knowledge base",
  292. "probe": "qdrant",
  293. "required": false,
  294. "passed": true,
  295. "status": "OK",
  296. "message": "vectors=0"
  297. },
  298. {
  299. "path": "/lobster/global-stats",
  300. "title": "Global evolution stats",
  301. "probe": "globalStats",
  302. "required": false,
  303. "passed": true,
  304. "status": "OK",
  305. "message": "global metrics=6"
  306. },
  307. {
  308. "path": "/lobster/event-audit",
  309. "title": "Event node audit",
  310. "probe": "eventAudit",
  311. "required": false,
  312. "passed": true,
  313. "status": "OK",
  314. "message": "audits=0"
  315. }
  316. ]
  317. },
  318. "travelFullChain": {
  319. "companyId": 338,
  320. "includeStress": true,
  321. "dialogueIndustry": "travel",
  322. "startedAt": "2026-06-23 06:42:15",
  323. "sections": {
  324. "enginePrompts": {
  325. "expectedCatalogKeys": 50,
  326. "newlyInserted": 0,
  327. "missingKeys": [
  328. ],
  329. "platformKeyCount": 50,
  330. "passed": true,
  331. "message": "platform engine prompts complete (50 keys)"
  332. },
  333. "triggerExclude": {
  334. "passed": true,
  335. "errors": [
  336. ],
  337. "message": "trigger exclude/sarcasm/schedule checks ok"
  338. },
  339. "runtimeCapabilities": {
  340. "capabilityTags": [
  341. "product",
  342. "weather",
  343. "logistics",
  344. "survey",
  345. "live",
  346. "article",
  347. "order",
  348. "order_list",
  349. "coupon",
  350. "crm",
  351. "sms"
  352. ],
  353. "toolCount": 11,
  354. "intentChecks": [
  355. {
  356. "message": "这几条线路看起来不错",
  357. "expectedTool": "query_product",
  358. "matchedTool": "query_product",
  359. "passed": "true"
  360. },
  361. {
  362. "message": "云南天气怎么样",
  363. "expectedTool": "query_weather",
  364. "matchedTool": "query_weather",
  365. "passed": "true"
  366. },
  367. {
  368. "message": "我的快递发货了吗",
  369. "expectedTool": "query_logistics",
  370. "matchedTool": "query_logistics",
  371. "passed": "true"
  372. },
  373. {
  374. "message": "满意度打分",
  375. "expectedTool": "start_survey",
  376. "matchedTool": "start_survey",
  377. "passed": "true"
  378. },
  379. {
  380. "message": "有没有新线路优惠",
  381. "expectedTool": "query_product",
  382. "matchedTool": "query_product",
  383. "passed": "true"
  384. },
  385. {
  386. "message": "有直播吗",
  387. "expectedTool": "push_live",
  388. "matchedTool": "push_live",
  389. "passed": "true"
  390. },
  391. {
  392. "message": "发我看看文章",
  393. "expectedTool": "push_article",
  394. "matchedTool": "push_article",
  395. "passed": "true"
  396. }
  397. ],
  398. "surveySmoke": true,
  399. "issues": [
  400. ],
  401. "passed": true,
  402. "message": "运行时能力校验通过"
  403. },
  404. "capabilityDialogue": {
  405. "lines": [
  406. {
  407. "message": "云南7月份天气怎么样,需要带什么衣服",
  408. "matchedTool": "query_weather",
  409. "triggered": true,
  410. "toolStatus": "ok",
  411. "summary": "已查询 云南 天气"
  412. },
  413. {
  414. "message": "快递发货了吗,帮我查一下物流",
  415. "matchedTool": "query_logistics",
  416. "triggered": true,
  417. "toolStatus": "ok",
  418. "summary": "{success=false, error=未找到物流单号,请确认是否已发货}"
  419. },
  420. {
  421. "message": "有没有适合带老人的新线路推荐",
  422. "matchedTool": "query_product",
  423. "triggered": true,
  424. "toolStatus": "ok",
  425. "summary": "{products=[], count=0}"
  426. },
  427. {
  428. "message": "今晚有直播吗,发我直播间链接",
  429. "matchedTool": "push_live",
  430. "triggered": true,
  431. "toolStatus": "ok",
  432. "summary": "暂无可用直播,请稍后再试"
  433. },
  434. {
  435. "message": "有没有出行攻略文章发我看看",
  436. "matchedTool": "push_article",
  437. "triggered": true,
  438. "toolStatus": "ok",
  439. "summary": "暂无可用文章,请稍后再试"
  440. },
  441. {
  442. "message": "满意度打5分,服务挺好的",
  443. "matchedTool": "start_survey",
  444. "triggered": true,
  445. "toolStatus": "ok",
  446. "summary": "已记录客户参与「satisfaction」问卷意向,请在对话中自然引导完成反馈"
  447. }
  448. ],
  449. "lineCount": 6,
  450. "warnings": [
  451. ],
  452. "issues": [
  453. ],
  454. "passed": true,
  455. "message": "capabilityTriggers 联调通过"
  456. },
  457. "template": {
  458. "passed": true,
  459. "workflowId": 1,
  460. "templateCode": "TRAVEL_TOP_SALES_001_C338",
  461. "source": "existing",
  462. "message": "travel template found"
  463. },
  464. "lifecycleCoverage": {
  465. "coverageRatio": 1.0,
  466. "minCoverage": 0.75,
  467. "nodeCount": 16,
  468. "requiredNodeCount": 15,
  469. "missingNodes": [
  470. ],
  471. "passed": true,
  472. "message": "lifecycle nodes covered"
  473. },
  474. "sopDefaults": {
  475. "qwSopTempId": "LOBSTER_TRAVEL_POST_BOOKING",
  476. "wxSopTempId": "LOBSTER_TRAVEL_POST_BOOKING_WX",
  477. "tenantHint": "Create qw_sop/wx_sop tasks with temp_id matching the values above",
  478. "sopEnrollNodeConfig": "{\"sopTempId\":\"LOBSTER_TRAVEL_POST_BOOKING\",\"wxSopTempId\":\"LOBSTER_TRAVEL_POST_BOOKING_WX\",\"plannedIndustry\":\"travel\",\"systemPromptKey\":\"node_TRAVEL_TOP_SALES_001_C338_SOP_ENROLL_system\",\"preferContactAccount\":true,\"plannedRole\":\"MESSAGE\",\"instructionPromptKey\":\"node_TRAVEL_TOP_SALES_001_C338_SOP_ENROLL_instruction\",\"actionOnly\":true,\"promptPlanned\":true}",
  479. "hasSopEnrollNode": true,
  480. "passed": true,
  481. "message": "travel SOP defaults and SOP_ENROLL node present"
  482. },
  483. "sopEnrollment": {
  484. "qwTaskConfigured": true,
  485. "wxTaskConfigured": true,
  486. "tenantSopReady": true,
  487. "qwChannel": {
  488. "success": false,
  489. "skipped": null,
  490. "channelType": "QW",
  491. "message": "未找到企微客户(需 contactId 或 externalUserId+corpId)",
  492. "tempId": null,
  493. "sopId": "lobster-travel-val-qw",
  494. "reachable": true
  495. },
  496. "wxChannel": {
  497. "success": false,
  498. "skipped": null,
  499. "channelType": "WX",
  500. "message": "未找到 CRM 客户(需 customerId 或 wx_contact 关联)",
  501. "tempId": null,
  502. "sopId": 1,
  503. "reachable": true
  504. },
  505. "passed": true,
  506. "notes": [
  507. ],
  508. "message": "QW/WX SOP enrollment routing ok"
  509. },
  510. "nodePromptsPlanned": {
  511. "promptNodeTarget": 6,
  512. "promptNodeFilled": 6,
  513. "emptyPromptNodes": [
  514. ],
  515. "passed": true,
  516. "message": "key node prompts present"
  517. },
  518. "lifecycleSimulation": {
  519. "waitPreTripConfigured": true,
  520. "tagAutoConfigured": true,
  521. "orderActionConfigured": true,
  522. "holidayWaitConfigured": true,
  523. "passed": true,
  524. "message": "lifecycle orchestration nodes configured"
  525. },
  526. "lifecycleRuntime": {
  527. "simMinuteUnit": 10,
  528. "simDayEqualsMinutes": 10,
  529. "schedulerWakeWaitMs": 3500,
  530. "preTripWaitSchedule10m": {
  531. "waitUntil": 1782168600000,
  532. "expectedWaitAt": 1782168600000,
  533. "travelAt": "2026-06-23T07:42:27.738674",
  534. "waitInRealMinutes": 7,
  535. "diffMinutes": 0,
  536. "simTimeScale": true,
  537. "passed": true,
  538. "message": "T-5 10m sim schedule ok"
  539. },
  540. "preTripWaitWake": {
  541. "passed": true,
  542. "message": "lifecycle wait wake ok",
  543. "statusAfter": "running",
  544. "resumeIndex": 8,
  545. "currentIndexAfter": 9,
  546. "instanceId": 27
  547. },
  548. "preTripSchedulerWake10m": {
  549. "scheduledWakeAt": 1782168154492,
  550. "schedulerWaitMs": 3500,
  551. "passed": true,
  552. "message": "scheduler 10m sim wake ok",
  553. "statusAfter": "running",
  554. "resumeIndex": 8,
  555. "currentIndexAfter": 9,
  556. "instanceId": 28
  557. },
  558. "holidayWaitSchedule10m": {
  559. "waitUntil": 1782186000000,
  560. "expectedWaitAt": 1782186000000,
  561. "waitInRealMinutes": 297,
  562. "simHolidayDays": 30,
  563. "simRealMinutes": 300,
  564. "diffMinutes": 0,
  565. "passed": true,
  566. "message": "holiday 10m sim schedule ok"
  567. },
  568. "holidayWaitWake": {
  569. "passed": true,
  570. "message": "lifecycle wait wake ok",
  571. "statusAfter": "completed",
  572. "resumeIndex": 13,
  573. "currentIndexAfter": 13,
  574. "instanceId": 29
  575. },
  576. "holidaySchedulerWake10m": {
  577. "scheduledWakeAt": 1782168162458,
  578. "schedulerWaitMs": 3500,
  579. "passed": true,
  580. "message": "scheduler 10m sim wake ok",
  581. "statusAfter": "completed",
  582. "resumeIndex": 13,
  583. "currentIndexAfter": 13,
  584. "instanceId": 30
  585. },
  586. "passed": true,
  587. "message": "lifecycle 10m sim schedule/wake ok"
  588. },
  589. "lifecycleFullFlowSim": {
  590. "instanceId": 31,
  591. "finalStatus": "completed",
  592. "finalNodeIndex": 13,
  593. "milestones": [
  594. "STARTED",
  595. "T5_SCHEDULED",
  596. "T5_WAITING",
  597. "PRE_TRIP_CARE",
  598. "PRE_TRIP_MULTITURN",
  599. "HOLIDAY_WAITING",
  600. "HOLIDAY_PROMO"
  601. ],
  602. "errors": [
  603. ],
  604. "passed": true,
  605. "message": "full lifecycle 10m sim flow ok",
  606. "simMinuteUnit": 10
  607. },
  608. "lifecycleExceptions": {
  609. "waitNotExpired": {
  610. "passed": true,
  611. "message": "not-expired wait rejected advance",
  612. "statusAfter": "waiting"
  613. },
  614. "prematureScheduler": {
  615. "passed": true,
  616. "message": "premature scheduler did not wake"
  617. },
  618. "blockedSchedulerSkip": {
  619. "passed": true,
  620. "message": "blocked instance skipped by scheduler"
  621. },
  622. "blockedForceWake": {
  623. "passed": true,
  624. "message": "blocked force wake rejected"
  625. },
  626. "overdueT5SkipWait": {
  627. "waitUntil": 1782166200000,
  628. "overdue": true,
  629. "wouldSkipSchedule": true,
  630. "passed": true,
  631. "message": "overdue T-5 skips wait schedule"
  632. },
  633. "missingTravelDate": {
  634. "waitUntil": 1782168800591,
  635. "expectedFallbackMinutes": 10,
  636. "passed": true,
  637. "message": "missing travel_date sim fallback ok"
  638. },
  639. "completedRejectWake": {
  640. "passed": true,
  641. "message": "completed instance rejects wake"
  642. },
  643. "missingResumeIndex": {
  644. "passed": true,
  645. "message": "missing resume index fallback ok"
  646. },
  647. "doubleWake": {
  648. "passed": true,
  649. "message": "double wake idempotent",
  650. "statusAfter": "running"
  651. },
  652. "passed": true,
  653. "message": "lifecycle exception handling ok"
  654. },
  655. "lifecycleMultiTurnDialogue": {
  656. "bookingTurnCount": 10,
  657. "postBookingTurnCount": 9,
  658. "dialogueSource": "bookingFunnel+postBookingLifecycle",
  659. "consultMultiTurn": {
  660. "turns": 5,
  661. "avgScore": 63.4,
  662. "minScore": 0.0,
  663. "passed": true,
  664. "message": "node multiTurn ok",
  665. "instanceId": 39,
  666. "inputCount": 6
  667. },
  668. "postBookingMultiTurnFlow": {
  669. "instanceId": 40,
  670. "preTripMultiTurn": {
  671. "turns": 3,
  672. "avgScore": 79.0,
  673. "minScore": 79.0,
  674. "passed": true,
  675. "message": "node multiTurn ok"
  676. },
  677. "holidayMultiTurn": {
  678. "turns": 1,
  679. "avgScore": 79.0,
  680. "minScore": 79.0,
  681. "earlyCompletion": true,
  682. "passed": true,
  683. "message": "node multiTurn ok"
  684. },
  685. "milestones": [
  686. "PRE_TRIP",
  687. "PRE_TRIP_MT",
  688. "HOLIDAY",
  689. "HOLIDAY_MT"
  690. ],
  691. "errors": [
  692. ],
  693. "dialogueTurns": 9,
  694. "passed": true,
  695. "message": "post-booking multi-turn flow ok"
  696. },
  697. "passed": true,
  698. "message": "lifecycle multi-turn dialogue ok"
  699. },
  700. "e2eDialogue": {
  701. "dialogueStage": "bookingFunnel",
  702. "dialogueTurnCount": 10,
  703. "runId": "8add91fcea904f8581d9d93689f9b27b",
  704. "status": "SUCCESS",
  705. "instanceId": 41,
  706. "totalScore": 70.06,
  707. "passedNodeCnt": 10,
  708. "totalNodeCnt": 10,
  709. "evolutionCount": 1,
  710. "nodeTraces": 10,
  711. "minNodeScore": 76.875,
  712. "maxNodeScore": 79.375,
  713. "nodesBelowTarget": 0,
  714. "nodesBelowMin": 0,
  715. "nodeScoreDetail": [
  716. {
  717. "nodeCode": "初始化咨询阶段",
  718. "score": 76.875,
  719. "passed": true
  720. },
  721. {
  722. "nodeCode": "直播加微推直播间",
  723. "score": 78.125,
  724. "passed": true
  725. },
  726. {
  727. "nodeCode": "推送出行攻略文章",
  728. "score": 77.5,
  729. "passed": true
  730. },
  731. {
  732. "nodeCode": "推送出行攻略文章",
  733. "score": 77.5,
  734. "passed": true
  735. },
  736. {
  737. "nodeCode": "推送出行攻略文章",
  738. "score": 78.125,
  739. "passed": true
  740. },
  741. {
  742. "nodeCode": "推送出行攻略文章",
  743. "score": 76.875,
  744. "passed": true
  745. },
  746. {
  747. "nodeCode": "推送出行攻略文章",
  748. "score": 79.375,
  749. "passed": true
  750. },
  751. {
  752. "nodeCode": "推送出行攻略文章",
  753. "score": 78.125,
  754. "passed": true
  755. },
  756. {
  757. "nodeCode": "推送出行攻略文章",
  758. "score": 78.125,
  759. "passed": true
  760. }
  761. ],
  762. "passed": true,
  763. "message": "e2e ok"
  764. },
  765. "qualityGate": {
  766. "enabled": true,
  767. "targetScorePercent": 75.0,
  768. "minE2eAvgScorePercent": 75.0,
  769. "minNodeScorePercent": 60.0,
  770. "passScorePercent": 75,
  771. "rawTotalScore": 70.06,
  772. "scoredNodeAvg": 77.84722222222223,
  773. "totalScore": 77.84722222222223,
  774. "nodesBelowTarget": 0,
  775. "nodesBelowMin": 0,
  776. "minNodeScore": 76.875,
  777. "maxNodeScore": 79.375,
  778. "nodeScoreDetail": [
  779. {
  780. "nodeCode": "初始化咨询阶段",
  781. "score": 76.875,
  782. "passed": true
  783. },
  784. {
  785. "nodeCode": "直播加微推直播间",
  786. "score": 78.125,
  787. "passed": true
  788. },
  789. {
  790. "nodeCode": "推送出行攻略文章",
  791. "score": 77.5,
  792. "passed": true
  793. },
  794. {
  795. "nodeCode": "推送出行攻略文章",
  796. "score": 77.5,
  797. "passed": true
  798. },
  799. {
  800. "nodeCode": "推送出行攻略文章",
  801. "score": 78.125,
  802. "passed": true
  803. },
  804. {
  805. "nodeCode": "推送出行攻略文章",
  806. "score": 76.875,
  807. "passed": true
  808. },
  809. {
  810. "nodeCode": "推送出行攻略文章",
  811. "score": 79.375,
  812. "passed": true
  813. },
  814. {
  815. "nodeCode": "推送出行攻略文章",
  816. "score": 78.125,
  817. "passed": true
  818. },
  819. {
  820. "nodeCode": "推送出行攻略文章",
  821. "score": 78.125,
  822. "passed": true
  823. }
  824. ],
  825. "passed": true,
  826. "message": "quality gate ok"
  827. },
  828. "summary": {
  829. "instanceId": 41,
  830. "externalUserId": "999338001",
  831. "asyncDbSummary": true,
  832. "historyLines": 20,
  833. "syncSummaryLength": 75,
  834. "microSummaryLength": 210,
  835. "cachedSummaryOk": true,
  836. "dbSummaryRows": 0,
  837. "passed": true,
  838. "message": "summary persisted to DB"
  839. },
  840. "memoryPipeline": {
  841. "externalUserId": "999338001",
  842. "instanceId": 41,
  843. "summaryOk": true,
  844. "factCount": 7,
  845. "factKeys": [
  846. ],
  847. "passed": true,
  848. "message": "summary or customer_fact persisted"
  849. },
  850. "evolutionAnalyze": {
  851. "e2eEvolutionCount": 1,
  852. "evolutionLogsBefore": 102,
  853. "analyzeInvoked": true,
  854. "analyzeMessage": "analyzeAndSuggest ok",
  855. "evolutionLogsAfter": 102,
  856. "evolutionLogsDelta": 0,
  857. "pendingSuggestions": 0,
  858. "passed": true,
  859. "message": "evolution analyze ok"
  860. },
  861. "sensitiveWord": {
  862. "scopeNote": "lobster SensitiveWordService + evolve step9; not live/call/CompanyAiSensitiveWord AC",
  863. "layers": {
  864. "defaultLib": {
  865. "detectCount": 1,
  866. "filtered": "推荐云南精品线,***,欢迎咨询",
  867. "passed": true
  868. },
  869. "customCrud": {
  870. "word": "LOBSTER_VAL_338",
  871. "hit": true,
  872. "filtered": "行程含***内容",
  873. "passed": true
  874. },
  875. "highRisk": {
  876. "word": "LOBSTER_FRAUD_338",
  877. "highRisk": true,
  878. "passed": true
  879. },
  880. "evolveStep9Simulation": {
  881. "rawHasSensitive": true,
  882. "wouldTransferToHuman": true,
  883. "finalReply": "欢迎咨询,预期收益,***",
  884. "passed": true
  885. },
  886. "wordListLoaded": {
  887. "count": 145,
  888. "passed": true
  889. }
  890. },
  891. "passed": true,
  892. "message": "sensitive word pipeline ok"
  893. },
  894. "executionPolicy": {
  895. "scopeNote": "resolve() strict/content/flow gates used by executor + prompt fallback",
  896. "strictFixedWorkflow": false,
  897. "contentPersonalization": true,
  898. "flowPersonalization": true,
  899. "allowContent": true,
  900. "allowFlow": true,
  901. "executionMode": "HYBRID",
  902. "issues": [
  903. ],
  904. "passed": true,
  905. "message": "execution policy gates ok"
  906. },
  907. "aiGenerate": {
  908. "recordNo": "LOB_1782168495434",
  909. "generateUseLlm": false,
  910. "fallbackGenerate": true,
  911. "finalStatus": 1,
  912. "detail": {
  913. "conversationModel": {
  914. "defaultStage": "consult",
  915. "description": "旅游全链路:会话常驻,节点负责打标/签单/出行关怀/满意度/节日营销",
  916. "version": 2,
  917. "stages": [
  918. {
  919. "code": "consult",
  920. "promptHint": "你是小美,测试旅行社旅行顾问。客户来自直播间,先破冰并了解是否已有出行计划。",
  921. "label": "直播加微破冰",
  922. "goals": [
  923. ]
  924. },
  925. {
  926. "code": "collect",
  927. "promptHint": "逐步询问目的地、日期、人数、预算;一次只问一个关键问题。",
  928. "label": "需求采集打标",
  929. "goals": [
  930. {
  931. "collected": false,
  932. "label": "目的地",
  933. "required": true,
  934. "field": "destination"
  935. },
  936. {
  937. "collected": false,
  938. "label": "出行日期",
  939. "required": true,
  940. "field": "travel_date"
  941. },
  942. {
  943. "collected": false,
  944. "label": "预算",
  945. "required": true,
  946. "field": "budget"
  947. },
  948. {
  949. "collected": false,
  950. "label": "出行人数",
  951. "required": true,
  952. "field": "pax"
  953. }
  954. ]
  955. },
  956. {
  957. "code": "offer",
  958. "promptHint": "基于采集信息推荐云南精品线,突出亮点与优惠,自然引导签单。",
  959. "label": "线路推荐促单",
  960. "goals": [
  961. ]
  962. },
  963. {
  964. "code": "pre_trip",
  965. "promptHint": "出行前5天提醒证件、行李、当地天气与注意事项。",
  966. "label": "出行前关怀",
  967. "goals": [
  968. ]
  969. },
  970. {
  971. "code": "in_trip",
  972. "promptHint": "行程中主动问候,询问是否遇到问题,给出景点玩要建议。",
  973. "label": "行中关怀",
  974. "goals": [
  975. ]
  976. },
  977. {
  978. "code": "post_trip",
  979. "promptHint": "行程结束后收集满意度与改进建议。",
  980. "label": "满意度回访",
  981. "goals": [
  982. ]
  983. },
  984. {
  985. "code": "repurchase",
  986. "promptHint": "大节日前30天关怀,了解是否有新的出行计划并推荐产品。",
  987. "label": "节日营销",
  988. "goals": [
  989. ]
  990. }
  991. ],
  992. "sideTasks": [
  993. {
  994. "triggerIntents": [
  995. "purchase",
  996. "high_intent",
  997. "booked"
  998. ],
  999. "nodeCode": "TAG_AUTO",
  1000. "nodeType": 9,
  1001. "action": "add_tag"
  1002. },
  1003. {
  1004. "triggerIntents": [
  1005. "purchase",
  1006. "order",
  1007. "book"
  1008. ],
  1009. "nodeCode": "ORDER_ACTION",
  1010. "nodeType": 7,
  1011. "action": "create_order"
  1012. }
  1013. ]
  1014. },
  1015. "variables": [
  1016. {
  1017. "varName": "客户姓名",
  1018. "label": "客户姓名",
  1019. "source": "user_profile",
  1020. "type": "string",
  1021. "required": 0,
  1022. "varType": "string",
  1023. "sourceType": "user_profile",
  1024. "name": "customerName",
  1025. "varCode": "customerName"
  1026. },
  1027. {
  1028. "varName": "目的地",
  1029. "label": "目的地",
  1030. "source": "conversation",
  1031. "type": "string",
  1032. "required": 0,
  1033. "varType": "string",
  1034. "sourceType": "conversation",
  1035. "name": "destination",
  1036. "varCode": "destination"
  1037. },
  1038. {
  1039. "varName": "出行日期",
  1040. "label": "出行日期",
  1041. "source": "conversation",
  1042. "type": "date",
  1043. "required": 0,
  1044. "varType": "date",
  1045. "sourceType": "conversation",
  1046. "name": "travel_date",
  1047. "varCode": "travel_date"
  1048. },
  1049. {
  1050. "varName": "预算",
  1051. "label": "预算",
  1052. "source": "conversation",
  1053. "type": "string",
  1054. "required": 0,
  1055. "varType": "string",
  1056. "sourceType": "conversation",
  1057. "name": "budget",
  1058. "varCode": "budget"
  1059. },
  1060. {
  1061. "varName": "出行人数",
  1062. "label": "出行人数",
  1063. "source": "conversation",
  1064. "type": "number",
  1065. "required": 0,
  1066. "varType": "number",
  1067. "sourceType": "conversation",
  1068. "name": "pax",
  1069. "varCode": "pax"
  1070. },
  1071. {
  1072. "varName": "测试旅行社",
  1073. "label": "测试旅行社",
  1074. "source": "manual",
  1075. "type": "string",
  1076. "required": 0,
  1077. "varType": "string",
  1078. "sourceType": "manual",
  1079. "name": "company_short_name",
  1080. "varCode": "company_short_name"
  1081. },
  1082. {
  1083. "varName": "小美",
  1084. "label": "小美",
  1085. "source": "manual",
  1086. "type": "string",
  1087. "required": 0,
  1088. "varType": "string",
  1089. "sourceType": "manual",
  1090. "name": "advisor_name",
  1091. "varCode": "advisor_name"
  1092. },
  1093. {
  1094. "varName": "云南精品线",
  1095. "label": "云南精品线",
  1096. "source": "manual",
  1097. "type": "string",
  1098. "required": 0,
  1099. "varType": "string",
  1100. "sourceType": "manual",
  1101. "name": "main_product",
  1102. "varCode": "main_product"
  1103. },
  1104. {
  1105. "varName": "当前阶段",
  1106. "label": "当前阶段",
  1107. "source": "manual",
  1108. "type": "string",
  1109. "required": 0,
  1110. "varType": "string",
  1111. "sourceType": "manual",
  1112. "name": "workflowStage",
  1113. "varCode": "workflowStage"
  1114. },
  1115. {
  1116. "varName": "客户意向",
  1117. "label": "客户意向",
  1118. "source": "conversation",
  1119. "type": "string",
  1120. "required": 0,
  1121. "varType": "string",
  1122. "sourceType": "conversation",
  1123. "name": "customerIntent",
  1124. "varCode": "customerIntent"
  1125. },
  1126. {
  1127. "varName": "行业类型",
  1128. "defaultValue": "travel",
  1129. "label": "行业类型",
  1130. "source": "manual",
  1131. "type": "string",
  1132. "required": 0,
  1133. "varType": "string",
  1134. "sourceType": "manual",
  1135. "name": "industryType",
  1136. "varCode": "industryType"
  1137. },
  1138. {
  1139. "varName": "企微SOP模板ID",
  1140. "defaultValue": "LOBSTER_TRAVEL_POST_BOOKING",
  1141. "label": "企微SOP模板ID",
  1142. "source": "manual",
  1143. "type": "string",
  1144. "required": 0,
  1145. "varType": "string",
  1146. "sourceType": "manual",
  1147. "name": "sopTempId",
  1148. "varCode": "sopTempId"
  1149. },
  1150. {
  1151. "varName": "个微SOP模板ID",
  1152. "defaultValue": "LOBSTER_TRAVEL_POST_BOOKING_WX",
  1153. "label": "个微SOP模板ID",
  1154. "source": "manual",
  1155. "type": "string",
  1156. "required": 0,
  1157. "varType": "string",
  1158. "sourceType": "manual",
  1159. "name": "wxSopTempId",
  1160. "varCode": "wxSopTempId"
  1161. }
  1162. ],
  1163. "edges": [
  1164. {
  1165. "targetNodeCode": "INIT_STAGE",
  1166. "sourceNodeCode": "START",
  1167. "edgeLabel": "启动"
  1168. },
  1169. {
  1170. "targetNodeCode": "LIVE_PUSH",
  1171. "sourceNodeCode": "INIT_STAGE",
  1172. "edgeLabel": "直播加微推直播间"
  1173. },
  1174. {
  1175. "targetNodeCode": "ARTICLE_PUSH",
  1176. "sourceNodeCode": "LIVE_PUSH",
  1177. "edgeLabel": "推送攻略文章"
  1178. },
  1179. {
  1180. "targetNodeCode": "TAG_AUTO",
  1181. "sourceNodeCode": "ARTICLE_PUSH",
  1182. "edgeLabel": "进入采集打标"
  1183. },
  1184. {
  1185. "targetNodeCode": "JUDGE",
  1186. "sourceNodeCode": "TAG_AUTO",
  1187. "edgeLabel": "分支"
  1188. },
  1189. {
  1190. "targetNodeCode": "ORDER_ACTION",
  1191. "sourceNodeCode": "JUDGE",
  1192. "edgeLabel": "签单"
  1193. },
  1194. {
  1195. "targetNodeCode": "WAIT_PRE_TRIP",
  1196. "sourceNodeCode": "JUDGE",
  1197. "edgeLabel": "已订"
  1198. },
  1199. {
  1200. "targetNodeCode": "WAIT_HOLIDAY",
  1201. "sourceNodeCode": "JUDGE",
  1202. "edgeLabel": "培育"
  1203. },
  1204. {
  1205. "targetNodeCode": "SOP_ENROLL",
  1206. "sourceNodeCode": "ORDER_ACTION",
  1207. "edgeLabel": "SOP入营"
  1208. },
  1209. {
  1210. "targetNodeCode": "WAIT_PRE_TRIP",
  1211. "sourceNodeCode": "SOP_ENROLL",
  1212. "edgeLabel": "进入出行前"
  1213. },
  1214. {
  1215. "targetNodeCode": "PRE_TRIP_CARE",
  1216. "sourceNodeCode": "WAIT_PRE_TRIP",
  1217. "edgeLabel": "T-5触达"
  1218. },
  1219. {
  1220. "targetNodeCode": "WEATHER_TIPS",
  1221. "sourceNodeCode": "PRE_TRIP_CARE",
  1222. "edgeLabel": "天气建议"
  1223. },
  1224. {
  1225. "targetNodeCode": "IN_TRIP_CARE",
  1226. "sourceNodeCode": "WEATHER_TIPS",
  1227. "edgeLabel": "行中"
  1228. },
  1229. {
  1230. "targetNodeCode": "SURVEY",
  1231. "sourceNodeCode": "IN_TRIP_CARE",
  1232. "edgeLabel": "满意度"
  1233. },
  1234. {
  1235. "targetNodeCode": "WAIT_HOLIDAY",
  1236. "sourceNodeCode": "SURVEY",
  1237. "edgeLabel": "节日等待"
  1238. },
  1239. {
  1240. "targetNodeCode": "HOLIDAY_PROMO",
  1241. "sourceNodeCode": "WAIT_HOLIDAY",
  1242. "edgeLabel": "节日营销"
  1243. },
  1244. {
  1245. "targetNodeCode": "END",
  1246. "sourceNodeCode": "HOLIDAY_PROMO",
  1247. "edgeLabel": "结束"
  1248. }
  1249. ],
  1250. "description": "旅游公司销冠全流程:直播加微→破冰→采集出行需求→线路推荐→促单签单→出行前关怀→旅途中关怀→回访调研→节日营销→循环推荐",
  1251. "templateCode": "TRAVEL_TOP_SALES_001",
  1252. "errorMsg": "已使用行业兜底模板: validation fast fallback",
  1253. "brandContext": {
  1254. "advisorName": "小美",
  1255. "companyShortName": "测试旅行社",
  1256. "advisorRole": "金牌旅行顾问",
  1257. "mainProduct": "云南精品线"
  1258. },
  1259. "_fallbackSource": "travel_lifecycle_full",
  1260. "nodes": [
  1261. {
  1262. "nodeName": "开始",
  1263. "nextNodeCode": "INIT_STAGE",
  1264. "nodeCode": "START",
  1265. "maxRounds": 0,
  1266. "nodeType": 1,
  1267. "nodeConfig": "{\"autoAdvance\":true,\"channelHint\":\"QW\"}",
  1268. "sortNo": 1,
  1269. "conditionExpr": "",
  1270. "messageTemplate": "您好${customerName},我是小美,测试旅行社旅行顾问。看到您从直播间过来,打算去哪里玩呢?"
  1271. },
  1272. {
  1273. "nodeName": "初始化咨询阶段",
  1274. "nextNodeCode": "LIVE_PUSH",
  1275. "nodeCode": "INIT_STAGE",
  1276. "maxRounds": 0,
  1277. "nodeType": 16,
  1278. "nodeConfig": "{\"assignments\":{\"workflowStage\":\"consult\"},\"stageGate\":true}",
  1279. "sortNo": 2,
  1280. "conditionExpr": "",
  1281. "messageTemplate": ""
  1282. },
  1283. {
  1284. "nodeName": "直播加微推直播间",
  1285. "nextNodeCode": "ARTICLE_PUSH",
  1286. "nodeCode": "LIVE_PUSH",
  1287. "maxRounds": 0,
  1288. "nodeType": 54,
  1289. "nodeConfig": "{\"delivery\":\"proactive\",\"channelHint\":\"QW\",\"actionOnly\":false,\"keyword\":\"云南精品线\",\"liveBaseUrl\":\"/live/watch\"}",
  1290. "sortNo": 3,
  1291. "conditionExpr": "",
  1292. "messageTemplate": ""
  1293. },
  1294. {
  1295. "nodeName": "推送出行攻略文章",
  1296. "nextNodeCode": "TAG_AUTO",
  1297. "nodeCode": "ARTICLE_PUSH",
  1298. "maxRounds": 0,
  1299. "nodeType": 55,
  1300. "nodeConfig": "{\"delivery\":\"proactive\",\"actionOnly\":false,\"keyword\":\"云南精品线\",\"articleBaseUrl\":\"/article/detail\"}",
  1301. "sortNo": 4,
  1302. "conditionExpr": "",
  1303. "messageTemplate": ""
  1304. },
  1305. {
  1306. "nodeName": "自动打标",
  1307. "nextNodeCode": "JUDGE",
  1308. "nodeCode": "TAG_AUTO",
  1309. "maxRounds": 0,
  1310. "nodeType": 9,
  1311. "nodeConfig": "{\"sideTask\":true,\"actionOnly\":true,\"action\":\"add_tag\",\"tags\":[\"travel_lead\",\"qw_live\"],\"triggerIntents\":[\"purchase\",\"high_intent\"]}",
  1312. "sortNo": 5,
  1313. "conditionExpr": "",
  1314. "messageTemplate": ""
  1315. },
  1316. {
  1317. "nodeName": "签单动作",
  1318. "nextNodeCode": "SOP_ENROLL",
  1319. "nodeCode": "ORDER_ACTION",
  1320. "maxRounds": 0,
  1321. "nodeType": 7,
  1322. "nodeConfig": "{\"sideTask\":true,\"actionOnly\":true,\"action\":\"create_order\",\"triggerIntents\":[\"purchase\",\"order\"]}",
  1323. "sortNo": 6,
  1324. "conditionExpr": "",
  1325. "messageTemplate": ""
  1326. },
  1327. {
  1328. "nodeName": "签单后SOP入营",
  1329. "nextNodeCode": "WAIT_PRE_TRIP",
  1330. "nodeCode": "SOP_ENROLL",
  1331. "maxRounds": 0,
  1332. "nodeType": 50,
  1333. "nodeConfig": "{\"sopTempId\":\"LOBSTER_TRAVEL_POST_BOOKING\",\"wxSopTempId\":\"LOBSTER_TRAVEL_POST_BOOKING_WX\",\"preferContactAccount\":true,\"actionOnly\":true}",
  1334. "sortNo": 7,
  1335. "conditionExpr": "",
  1336. "messageTemplate": ""
  1337. },
  1338. {
  1339. "nodeName": "出行前5天等待",
  1340. "nextNodeCode": "PRE_TRIP_CARE",
  1341. "nodeCode": "WAIT_PRE_TRIP",
  1342. "maxRounds": 0,
  1343. "nodeType": 4,
  1344. "nodeConfig": "{\"waitType\":\"date_offset\",\"offsetDays\":-5,\"dateField\":\"travel_date\",\"timeoutHours\":720}",
  1345. "sortNo": 8,
  1346. "conditionExpr": "",
  1347. "messageTemplate": ""
  1348. },
  1349. {
  1350. "nodeName": "出行前提醒",
  1351. "nextNodeCode": "WEATHER_TIPS",
  1352. "nodeCode": "PRE_TRIP_CARE",
  1353. "maxRounds": 0,
  1354. "nodeType": 10,
  1355. "nodeConfig": "{\"delivery\":\"proactive\",\"careType\":\"pre_trip\",\"awaitReply\":true}",
  1356. "sortNo": 9,
  1357. "conditionExpr": "",
  1358. "messageTemplate": "您好,离您的云南精品线出行还有5天啦!请准备好身份证/护照、常用药品和舒适鞋服。需要我帮您核对行程清单吗?"
  1359. },
  1360. {
  1361. "nodeName": "天气与玩要建议",
  1362. "nextNodeCode": "IN_TRIP_CARE",
  1363. "nodeCode": "WEATHER_TIPS",
  1364. "maxRounds": 0,
  1365. "nodeType": 14,
  1366. "nodeConfig": "{\"apiKey\":\"weather_travel_tips\",\"sideTask\":false,\"smartApi\":true}",
  1367. "sortNo": 10,
  1368. "conditionExpr": "",
  1369. "messageTemplate": "根据您目的地近期天气和同行人员情况,建议您注意防晒补水、老人小孩备常用药。具体玩游项目我会结合天气给您建议。"
  1370. },
  1371. {
  1372. "nodeName": "行中关怀",
  1373. "nextNodeCode": "SURVEY",
  1374. "nodeCode": "IN_TRIP_CARE",
  1375. "maxRounds": 0,
  1376. "nodeType": 10,
  1377. "nodeConfig": "{\"delivery\":\"proactive\",\"careType\":\"in_trip\",\"awaitReply\":true}",
  1378. "sortNo": 11,
  1379. "conditionExpr": "",
  1380. "messageTemplate": "旅途还顺利吗?景点玩得怎么样?如有任何问题随时告诉我,小美一直在线。"
  1381. },
  1382. {
  1383. "nodeName": "满意度调查",
  1384. "nextNodeCode": "WAIT_HOLIDAY",
  1385. "nodeCode": "SURVEY",
  1386. "maxRounds": 0,
  1387. "nodeType": 11,
  1388. "nodeConfig": "{\"surveyType\":\"satisfaction\",\"awaitReply\":true}",
  1389. "sortNo": 12,
  1390. "conditionExpr": "",
  1391. "messageTemplate": "感谢您选择测试旅行社!方便用1分钟做个满意度调查吗?您的反馈帮我们做得更好。"
  1392. },
  1393. {
  1394. "nodeName": "节日营销等待",
  1395. "nextNodeCode": "HOLIDAY_PROMO",
  1396. "nodeCode": "WAIT_HOLIDAY",
  1397. "maxRounds": 0,
  1398. "nodeType": 32,
  1399. "nodeConfig": "{\"delayDays\":30,\"cronHint\":\"holiday_minus_30d\"}",
  1400. "sortNo": 13,
  1401. "conditionExpr": "",
  1402. "messageTemplate": ""
  1403. },
  1404. {
  1405. "nodeName": "节日营销触达",
  1406. "nextNodeCode": "END",
  1407. "nodeCode": "HOLIDAY_PROMO",
  1408. "maxRounds": 0,
  1409. "nodeType": 13,
  1410. "nodeConfig": "{\"repurchaseType\":\"holiday\",\"delivery\":\"proactive\"}",
  1411. "sortNo": 14,
  1412. "conditionExpr": "",
  1413. "messageTemplate": "您好!临近节日,想了解下您近期有没有出行计划?云南精品线有新线路优惠,感兴趣我发您看看。"
  1414. },
  1415. {
  1416. "nodeName": "意向分支",
  1417. "nextNodeCode": "",
  1418. "nodeCode": "JUDGE",
  1419. "maxRounds": 0,
  1420. "nodeType": 3,
  1421. "nodeConfig": "{}",
  1422. "sortNo": 15,
  1423. "conditionExpr": "{\"branches\":[{\"nextNodeCode\":\"ORDER_ACTION\",\"condition\":{\"field\":\"customerIntent\",\"operator\":\"eq\",\"value\":\"purchase\"},\"desc\":\"\\u7b7e\\u5355\"},{\"nextNodeCode\":\"WAIT_PRE_TRIP\",\"condition\":{\"field\":\"customerIntent\",\"operator\":\"eq\",\"value\":\"booked\"},\"desc\":\"\\u5df2\\u8ba2\\u8fdb\\u5165\\u51fa\\u884c\\u524d\"},{\"nextNodeCode\":\"HOLIDAY_PROMO\",\"condition\":{\"field\":\"customerIntent\",\"operator\":\"eq\",\"value\":\"inquiry\"},\"desc\":\"\\u7ee7\\u7eed\\u57f9\\u80b2\"}],\"defaultNodeCode\":\"WAIT_HOLIDAY\"}",
  1424. "messageTemplate": ""
  1425. },
  1426. {
  1427. "nodeName": "结束",
  1428. "nextNodeCode": "",
  1429. "nodeCode": "END",
  1430. "maxRounds": 0,
  1431. "nodeType": 5,
  1432. "nodeConfig": "{}",
  1433. "sortNo": 16,
  1434. "conditionExpr": "",
  1435. "messageTemplate": ""
  1436. }
  1437. ],
  1438. "industryType": "travel",
  1439. "templateName": "旅游销冠全链路(A旅游公司)",
  1440. "_generateParam": {
  1441. "advisorName": "小美",
  1442. "companyShortName": "测试旅行社",
  1443. "industryType": "travel",
  1444. "advisorRole": "金牌旅行顾问",
  1445. "mainProduct": "云南精品线"
  1446. },
  1447. "status": 1
  1448. },
  1449. "usedFallback": true,
  1450. "passed": true,
  1451. "workflowId": 3,
  1452. "message": "generate and confirm ok"
  1453. },
  1454. "phase2Learning": {
  1455. "hotReplayRowsBefore": 12,
  1456. "hotReplayRowsAfter": 14,
  1457. "delta": 2,
  1458. "passed": true,
  1459. "status": "ok",
  1460. "hint": "async write ok",
  1461. "message": "learning replay ok",
  1462. "verify": {
  1463. "companyId": 338,
  1464. "archiveTableExists": true,
  1465. "hotIndexExists": true,
  1466. "hotReplayRows": 14,
  1467. "eventLogRows": 14,
  1468. "archiveRows": 0,
  1469. "status": "ok"
  1470. }
  1471. },
  1472. "stress": {
  1473. "multiTurn": {
  1474. "dialogueStage": "stressMultiTurn",
  1475. "turns": 6,
  1476. "avgScore": 65.16666666666667,
  1477. "minScore": 0.0,
  1478. "passed": true,
  1479. "message": "multiTurn ok"
  1480. },
  1481. "rateLimit": {
  1482. "cooldownAt": 6,
  1483. "passed": true,
  1484. "message": "rate limit triggered",
  1485. "instanceId": 43
  1486. },
  1487. "waitWake": {
  1488. "passed": true,
  1489. "message": "lifecycle wait wake ok",
  1490. "statusAfter": "running",
  1491. "resumeIndex": 8,
  1492. "currentIndexAfter": 9,
  1493. "instanceId": 44
  1494. },
  1495. "longMessage": {
  1496. "passed": true,
  1497. "message": "long message handled",
  1498. "code": 200,
  1499. "messageLength": 11000
  1500. },
  1501. "concurrentStart": {
  1502. "passed": true,
  1503. "successCount": 3,
  1504. "instanceIds": [
  1505. 46,
  1506. 47,
  1507. 48
  1508. ],
  1509. "message": "3 burst starts ok"
  1510. },
  1511. "emptyMessage": {
  1512. "passed": true,
  1513. "code": 200,
  1514. "message": "empty message handled"
  1515. },
  1516. "completedReentry": {
  1517. "statusBeforeReentry": "completed",
  1518. "responseMsg": "工作流实例不在运行状态",
  1519. "passed": true,
  1520. "message": "completed reentry handled"
  1521. },
  1522. "instanceState": {
  1523. "passed": true,
  1524. "state": {
  1525. "variables": {
  1526. "_lobsterSimMinuteUnit": 10,
  1527. "workflowStage": "consult",
  1528. "channelType": "TEST",
  1529. "_actionOutcomes": [
  1530. ],
  1531. "activeGoals": [
  1532. ],
  1533. "_recentOutbound": [
  1534. ],
  1535. "conversationMode": "active",
  1536. "_conversationModel": "{\"stages\":[{\"code\":\"consult\",\"promptHint\":\"你是小美,测试旅行社旅行顾问。客户来自直播间,先破冰并了解是否已有出行计划。\",\"label\":\"直播加微破冰\",\"goals\":[]},{\"code\":\"collect\",\"promptHint\":\"逐步询问目的地、日期、人数、预算;一次只问一个关键问题。\",\"label\":\"需求采集打标\",\"goals\":[{\"field\":\"destination\",\"collected\":false,\"label\":\"目的地\",\"required\":true},{\"field\":\"travel_date\",\"collected\":false,\"label\":\"出行日期\",\"required\":true},{\"field\":\"budget\",\"collected\":false,\"label\":\"预算\",\"required\":true},{\"field\":\"pax\",\"collected\":false,\"label\":\"出行人数\",\"required\":true}]},{\"code\":\"offer\",\"promptHint\":\"基于采集信息推荐云南精品线,突出亮点与优惠,自然引导签单。\",\"label\":\"线路推荐促单\",\"goals\":[]},{\"code\":\"pre_trip\",\"promptHint\":\"出行前5天提醒证件、行李、当地天气与注意事项。\",\"label\":\"出行前关怀\",\"goals\":[]},{\"code\":\"in_trip\",\"promptHint\":\"行程中主动问候,询问是否遇到问题,给出景点玩要建议。\",\"label\":\"行中关怀\",\"goals\":[]},{\"code\":\"post_trip\",\"promptHint\":\"行程结束后收集满意度与改进建议。\",\"label\":\"满意度回访\",\"goals\":[]},{\"code\":\"repurchase\",\"promptHint\":\"大节日前30天关怀,了解是否有新的出行计划并推荐产品。\",\"label\":\"节日营销\",\"goals\":[]}],\"sideTasks\":[{\"triggerIntents\":[\"purchase\",\"high_intent\",\"booked\"],\"nodeCode\":\"TAG_AUTO\",\"action\":\"add_tag\",\"nodeType\":9},{\"triggerIntents\":[\"purchase\",\"order\",\"book\"],\"nodeCode\":\"ORDER_ACTION\",\"action\":\"create_order\",\"nodeType\":7}],\"defaultStage\":\"consult\",\"description\":\"旅游全链路:会话常驻,节点负责打标/签单/出行关怀/满意度/节日营销\",\"version\":2}",
  1537. "validation": true
  1538. },
  1539. "instanceId": 51,
  1540. "completedNodes": 0,
  1541. "heartbeat": {
  1542. "instanceId": 51,
  1543. "registered": true,
  1544. "lastHeartbeatTime": "Tue Jun 23 06:49:28 CST 2026",
  1545. "lastHeartbeatTimestamp": 1782168568967,
  1546. "elapsedMinutes": 0,
  1547. "timeoutMinutes": 1440,
  1548. "active": true,
  1549. "status": "active",
  1550. "message": "实例心跳正常"
  1551. },
  1552. "currentNodeName": "开始",
  1553. "startTime": "2026-06-23 06:49:27",
  1554. "currentNodeIndex": 0,
  1555. "lastActivityTime": "2026-06-23 06:49:27",
  1556. "status": "running",
  1557. "totalNodes": 16
  1558. },
  1559. "message": "instance state ok"
  1560. },
  1561. "qualityDirect": {
  1562. "rawScore": 111,
  1563. "normalizedPercent": 69.375,
  1564. "passThreshold": 120,
  1565. "passScorePercent": 75,
  1566. "floorRaw": 96,
  1567. "productionTargetMet": false,
  1568. "passed": true,
  1569. "message": "score ok but below production target 120"
  1570. }
  1571. }
  1572. },
  1573. "dialogueScript": {
  1574. "industryType": "travel",
  1575. "industryLabel": "旅游销冠全链路",
  1576. "stageKeys": [
  1577. "postBookingPreTripMultiTurn",
  1578. "capabilityTriggers",
  1579. "consultMultiTurn",
  1580. "postBookingLifecycle",
  1581. "bookingFunnel",
  1582. "stressMultiTurn",
  1583. "holidayPromoMultiTurn",
  1584. "preTripCareMultiTurn"
  1585. ],
  1586. "stageLineCounts": {
  1587. "postBookingPreTripMultiTurn": 3,
  1588. "capabilityTriggers": 6,
  1589. "consultMultiTurn": 6,
  1590. "postBookingLifecycle": 9,
  1591. "bookingFunnel": 10,
  1592. "stressMultiTurn": 6,
  1593. "holidayPromoMultiTurn": 3,
  1594. "preTripCareMultiTurn": 3
  1595. }
  1596. },
  1597. "qualityGateConfig": {
  1598. "enabled": true,
  1599. "passScorePercent": 75,
  1600. "targetScorePercent": 75,
  1601. "minNodeScorePercent": 60,
  1602. "minE2eAvgScorePercent": 75,
  1603. "multiturnMinAvgScorePercent": 45
  1604. },
  1605. "failures": [
  1606. ],
  1607. "passed": true,
  1608. "durationMs": 436532,
  1609. "templateIdUsed": 1
  1610. },
  1611. "profileDomain": {
  1612. "enabled": true,
  1613. "projectionMode": "async",
  1614. "searchMode": "db",
  1615. "esEnabled": false,
  1616. "mqConsumerEnabled": true,
  1617. "missingBeans": [
  1618. ],
  1619. "beansOk": true,
  1620. "simulationMode": "basic",
  1621. "runtime": {
  1622. "unifiedSearchTotal": 38,
  1623. "unifiedSearchMode": "db",
  1624. "searchTotal": 38,
  1625. "searchMode": "db",
  1626. "identityCount": 38,
  1627. "orderStatsSample": 0,
  1628. "qwContactSample": 0
  1629. },
  1630. "passed": true,
  1631. "message": "profile domain ready"
  1632. }
  1633. },
  1634. "integrationWarning": "2/4 tests passed in 1555ms",
  1635. "failures": [
  1636. ],
  1637. "passed": true,
  1638. "durationMs": 440962,
  1639. "pageCount": 29,
  1640. "requiredPagesPassed": "15/15"
  1641. }