share-workflow-parity-rows.json 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796
  1. [
  2. {
  3. "rowId": 1,
  4. "turnId": "turn-1",
  5. "productTurnId": "turn-1",
  6. "visibility": "visible",
  7. "createdAt": 1788939593350,
  8. "createdAtSeq": 3,
  9. "kind": "turnHeader",
  10. "origin": "userInput",
  11. "executionKind": "agent",
  12. "sourceCommandId": "fixture-id-1",
  13. "historyRoundCount": 5,
  14. "state": "completedSuccess",
  15. "startedAt": 1788939593350,
  16. "endedAt": 1788939772378,
  17. "activeMs": 179028
  18. },
  19. {
  20. "rowId": 2,
  21. "turnId": "turn-1",
  22. "productTurnId": "turn-1",
  23. "visibility": "visible",
  24. "createdAt": 1788939593350,
  25. "createdAtSeq": 3,
  26. "kind": "userInput",
  27. "text": "USER_QUERY",
  28. "origin": "realUser",
  29. "sourceCommandId": "fixture-id-1",
  30. "rootSourceCommandId": "fixture-id-1",
  31. "clientId": "fixture-id-2"
  32. },
  33. {
  34. "rowId": 6,
  35. "turnId": "turn-1",
  36. "productTurnId": "turn-1",
  37. "visibility": "visible",
  38. "createdAt": 1788939603434,
  39. "createdAtSeq": 13,
  40. "kind": "assistantText",
  41. "assistantResponseId": "msg_mttsg8a2_aa6ed8cd-2b96-4f0a-adf5-559726d4c0b3",
  42. "text": "ASSISTANT_FINAL",
  43. "state": "complete"
  44. },
  45. {
  46. "rowId": 9,
  47. "turnId": "turn-1",
  48. "productTurnId": "turn-1",
  49. "visibility": "visible",
  50. "createdAt": 1788939654202,
  51. "createdAtSeq": 22,
  52. "kind": "assistantText",
  53. "assistantResponseId": "fixture-id-3",
  54. "text": "ASSISTANT_FINAL",
  55. "state": "complete"
  56. },
  57. {
  58. "rowId": 10,
  59. "turnId": "turn-1",
  60. "productTurnId": "turn-1",
  61. "visibility": "visible",
  62. "createdAt": 1788939593370,
  63. "createdAtSeq": 25,
  64. "kind": "toolCall",
  65. "assistantResponseId": "fixture-id-3",
  66. "toolCallId": "create-failed",
  67. "toolName": "CreateWorkflow",
  68. "status": "success",
  69. "inputText": "{}",
  70. "input": {
  71. "name": "军棋游戏"
  72. },
  73. "display": {
  74. "kind": "create_workflow",
  75. "ok": false,
  76. "errorCount": 9,
  77. "diagnostics": []
  78. },
  79. "startedAt": 1788939593371,
  80. "endedAt": 1788939593372
  81. },
  82. {
  83. "rowId": 12,
  84. "turnId": "turn-1",
  85. "productTurnId": "turn-1",
  86. "visibility": "visible",
  87. "createdAt": 1788939695896,
  88. "createdAtSeq": 31,
  89. "kind": "assistantText",
  90. "assistantResponseId": "msg_mttsi7mg_a9c9a5b0-cb1f-45a7-87ed-d229441d1dc7",
  91. "text": "ASSISTANT_FINAL",
  92. "state": "complete"
  93. },
  94. {
  95. "rowId": 13,
  96. "turnId": "turn-1",
  97. "productTurnId": "turn-1",
  98. "visibility": "visible",
  99. "createdAt": 1788939593379,
  100. "createdAtSeq": 34,
  101. "kind": "toolCall",
  102. "assistantResponseId": "msg_mttsi7mg_a9c9a5b0-cb1f-45a7-87ed-d229441d1dc7",
  103. "toolCallId": "create-completed",
  104. "toolName": "CreateWorkflow",
  105. "status": "success",
  106. "inputText": "{}",
  107. "input": {
  108. "name": "军棋游戏"
  109. },
  110. "display": {
  111. "kind": "create_workflow",
  112. "ok": true,
  113. "errorCount": 0,
  114. "diagnostics": [],
  115. "causalityGraph": {
  116. "steps": [
  117. {
  118. "id": "ask#1",
  119. "kind": "ask",
  120. "label": "architect",
  121. "line": 180,
  122. "column": 30,
  123. "lane": "actor#1",
  124. "phase": "phase#1"
  125. },
  126. {
  127. "id": "ask#2",
  128. "kind": "ask",
  129. "label": "reviewer",
  130. "line": 186,
  131. "column": 29,
  132. "lane": "actor#2",
  133. "phase": "phase#1"
  134. },
  135. {
  136. "id": "ask#3",
  137. "kind": "ask",
  138. "label": "architect",
  139. "line": 190,
  140. "column": 19,
  141. "lane": "actor#1",
  142. "phase": "phase#1",
  143. "repeat": "serial"
  144. },
  145. {
  146. "id": "ask#4",
  147. "kind": "ask",
  148. "label": "reviewer",
  149. "line": 193,
  150. "column": 27,
  151. "lane": "actor#2",
  152. "phase": "phase#1",
  153. "repeat": "serial"
  154. },
  155. {
  156. "id": "ask#5",
  157. "kind": "ask",
  158. "label": "engine",
  159. "line": 210,
  160. "column": 34,
  161. "lane": "actor#3",
  162. "phase": "phase#2"
  163. },
  164. {
  165. "id": "world-read#1",
  166. "kind": "world-read",
  167. "label": "run npm",
  168. "line": 214,
  169. "column": 25,
  170. "lane": "workspace",
  171. "phase": "phase#2",
  172. "repeat": "serial"
  173. },
  174. {
  175. "id": "ask#6",
  176. "kind": "ask",
  177. "label": "engine",
  178. "line": 220,
  179. "column": 16,
  180. "lane": "actor#3",
  181. "phase": "phase#2",
  182. "repeat": "serial"
  183. },
  184. {
  185. "id": "ask#7",
  186. "kind": "ask",
  187. "label": "AI 工程师",
  188. "line": 247,
  189. "column": 40,
  190. "lane": "actor#4",
  191. "phase": "phase#3"
  192. },
  193. {
  194. "id": "ask#8",
  195. "kind": "ask",
  196. "label": "服务器工程师",
  197. "line": 248,
  198. "column": 40,
  199. "lane": "actor#5",
  200. "phase": "phase#3"
  201. },
  202. {
  203. "id": "ask#9",
  204. "kind": "ask",
  205. "label": "客户端工程师",
  206. "line": 249,
  207. "column": 40,
  208. "lane": "actor#6",
  209. "phase": "phase#3"
  210. },
  211. {
  212. "id": "world-read#2",
  213. "kind": "world-read",
  214. "label": "run npm",
  215. "line": 252,
  216. "column": 29,
  217. "lane": "workspace",
  218. "phase": "phase#3"
  219. },
  220. {
  221. "id": "ask#10",
  222. "kind": "ask",
  223. "label": "integrator",
  224. "line": 268,
  225. "column": 18,
  226. "lane": "actor#7",
  227. "phase": "phase#4"
  228. },
  229. {
  230. "id": "world-read#3",
  231. "kind": "world-read",
  232. "label": "run npm",
  233. "line": 271,
  234. "column": 25,
  235. "lane": "workspace",
  236. "phase": "phase#4",
  237. "repeat": "serial"
  238. },
  239. {
  240. "id": "ask#11",
  241. "kind": "ask",
  242. "label": "integrator",
  243. "line": 274,
  244. "column": 22,
  245. "lane": "actor#7",
  246. "phase": "phase#4",
  247. "repeat": "serial"
  248. },
  249. {
  250. "id": "world-read#4",
  251. "kind": "world-read",
  252. "label": "run node",
  253. "line": 279,
  254. "column": 25,
  255. "lane": "workspace",
  256. "phase": "phase#4",
  257. "repeat": "serial"
  258. },
  259. {
  260. "id": "ask#12",
  261. "kind": "ask",
  262. "label": "integrator",
  263. "line": 285,
  264. "column": 20,
  265. "lane": "actor#7",
  266. "phase": "phase#4",
  267. "repeat": "serial"
  268. },
  269. {
  270. "id": "ask#13",
  271. "kind": "ask",
  272. "label": "verifier",
  273. "line": 295,
  274. "column": 33,
  275. "lane": "actor#8",
  276. "phase": "phase#5"
  277. },
  278. {
  279. "id": "ask#14",
  280. "kind": "ask",
  281. "label": "integrator",
  282. "line": 300,
  283. "column": 20,
  284. "lane": "actor#7",
  285. "phase": "phase#5"
  286. },
  287. {
  288. "id": "world-read#5",
  289. "kind": "world-read",
  290. "label": "run npm",
  291. "line": 303,
  292. "column": 26,
  293. "lane": "workspace",
  294. "phase": "phase#5"
  295. },
  296. {
  297. "id": "world-read#6",
  298. "kind": "world-read",
  299. "label": "run node",
  300. "line": 306,
  301. "column": 28,
  302. "lane": "workspace",
  303. "phase": "phase#5"
  304. },
  305. {
  306. "id": "ask#15",
  307. "kind": "ask",
  308. "label": "verifier",
  309. "line": 310,
  310. "column": 33,
  311. "lane": "actor#8",
  312. "phase": "phase#5"
  313. },
  314. {
  315. "id": "ask#16",
  316. "kind": "ask",
  317. "label": "verifier",
  318. "line": 314,
  319. "column": 33,
  320. "lane": "actor#8",
  321. "phase": "phase#5"
  322. },
  323. {
  324. "id": "world-read#7",
  325. "kind": "world-read",
  326. "label": "read README.md",
  327. "line": 323,
  328. "column": 28,
  329. "lane": "workspace",
  330. "phase": "phase#5"
  331. },
  332. {
  333. "id": "ask#17",
  334. "kind": "ask",
  335. "label": "integrator",
  336. "line": 328,
  337. "column": 20,
  338. "lane": "actor#7",
  339. "phase": "phase#5"
  340. },
  341. {
  342. "id": "ask#18",
  343. "kind": "ask",
  344. "label": "reader",
  345. "line": 333,
  346. "column": 27,
  347. "lane": "actor#9",
  348. "phase": "phase#5"
  349. },
  350. {
  351. "id": "ask#19",
  352. "kind": "ask",
  353. "label": "integrator",
  354. "line": 337,
  355. "column": 22,
  356. "lane": "actor#7",
  357. "phase": "phase#5"
  358. }
  359. ],
  360. "lanes": [
  361. {
  362. "id": "workspace"
  363. },
  364. {
  365. "id": "actor#1",
  366. "name": "架构师",
  367. "line": 176,
  368. "column": 19
  369. },
  370. {
  371. "id": "actor#2",
  372. "name": "方案评审员",
  373. "line": 182,
  374. "column": 18
  375. },
  376. {
  377. "id": "actor#3",
  378. "name": "规则引擎工程师",
  379. "line": 206,
  380. "column": 16
  381. },
  382. {
  383. "id": "actor#4",
  384. "name": "AI 工程师",
  385. "line": 247,
  386. "column": 3
  387. },
  388. {
  389. "id": "actor#5",
  390. "name": "服务器工程师",
  391. "line": 248,
  392. "column": 3
  393. },
  394. {
  395. "id": "actor#6",
  396. "name": "客户端工程师",
  397. "line": 249,
  398. "column": 3
  399. },
  400. {
  401. "id": "actor#7",
  402. "name": "集成工程师",
  403. "line": 263,
  404. "column": 20
  405. },
  406. {
  407. "id": "actor#8",
  408. "name": "独立验收员",
  409. "line": 294,
  410. "column": 18
  411. },
  412. {
  413. "id": "actor#9",
  414. "name": "文档初读员",
  415. "line": 332,
  416. "column": 18
  417. }
  418. ],
  419. "participants": [
  420. {
  421. "id": "phase#1:actor#1",
  422. "phase": "phase#1",
  423. "lane": "actor#1",
  424. "steps": [
  425. "ask#1",
  426. "ask#3"
  427. ]
  428. },
  429. {
  430. "id": "phase#1:actor#2",
  431. "phase": "phase#1",
  432. "lane": "actor#2",
  433. "steps": [
  434. "ask#2",
  435. "ask#4"
  436. ]
  437. },
  438. {
  439. "id": "phase#2:actor#3",
  440. "phase": "phase#2",
  441. "lane": "actor#3",
  442. "steps": [
  443. "ask#5",
  444. "ask#6"
  445. ]
  446. },
  447. {
  448. "id": "phase#2:workspace",
  449. "phase": "phase#2",
  450. "lane": "workspace",
  451. "steps": [
  452. "world-read#1"
  453. ]
  454. },
  455. {
  456. "id": "phase#3:actor#4",
  457. "phase": "phase#3",
  458. "lane": "actor#4",
  459. "steps": [
  460. "ask#7"
  461. ]
  462. },
  463. {
  464. "id": "phase#3:actor#5",
  465. "phase": "phase#3",
  466. "lane": "actor#5",
  467. "steps": [
  468. "ask#8"
  469. ]
  470. },
  471. {
  472. "id": "phase#3:actor#6",
  473. "phase": "phase#3",
  474. "lane": "actor#6",
  475. "steps": [
  476. "ask#9"
  477. ]
  478. },
  479. {
  480. "id": "phase#3:workspace",
  481. "phase": "phase#3",
  482. "lane": "workspace",
  483. "steps": [
  484. "world-read#2"
  485. ]
  486. },
  487. {
  488. "id": "phase#4:actor#7",
  489. "phase": "phase#4",
  490. "lane": "actor#7",
  491. "steps": [
  492. "ask#10",
  493. "ask#11",
  494. "ask#12"
  495. ]
  496. },
  497. {
  498. "id": "phase#4:workspace",
  499. "phase": "phase#4",
  500. "lane": "workspace",
  501. "steps": [
  502. "world-read#3",
  503. "world-read#4"
  504. ]
  505. },
  506. {
  507. "id": "phase#5:actor#8",
  508. "phase": "phase#5",
  509. "lane": "actor#8",
  510. "steps": [
  511. "ask#13",
  512. "ask#15",
  513. "ask#16"
  514. ]
  515. },
  516. {
  517. "id": "phase#5:workspace",
  518. "phase": "phase#5",
  519. "lane": "workspace",
  520. "steps": [
  521. "world-read#5",
  522. "world-read#6",
  523. "world-read#7"
  524. ]
  525. },
  526. {
  527. "id": "phase#5:actor#9",
  528. "phase": "phase#5",
  529. "lane": "actor#9",
  530. "steps": [
  531. "ask#18"
  532. ]
  533. },
  534. {
  535. "id": "phase#5:actor#7",
  536. "phase": "phase#5",
  537. "lane": "actor#7",
  538. "steps": [
  539. "ask#14",
  540. "ask#17",
  541. "ask#19"
  542. ]
  543. }
  544. ],
  545. "handoffs": [
  546. {
  547. "from": "phase#1:actor#1",
  548. "to": "phase#1:actor#2"
  549. },
  550. {
  551. "from": "phase#1:actor#2",
  552. "to": "phase#1:actor#1",
  553. "types": [
  554. "SpecReview"
  555. ]
  556. },
  557. {
  558. "from": "phase#2:actor#3",
  559. "to": "phase#2:workspace"
  560. },
  561. {
  562. "from": "phase#2:workspace",
  563. "to": "phase#2:actor#3",
  564. "types": [
  565. "WorldRunResult"
  566. ]
  567. },
  568. {
  569. "from": "phase#3:actor#4",
  570. "to": "phase#3:workspace"
  571. },
  572. {
  573. "from": "phase#3:actor#5",
  574. "to": "phase#3:workspace"
  575. },
  576. {
  577. "from": "phase#3:actor#6",
  578. "to": "phase#3:workspace"
  579. },
  580. {
  581. "from": "phase#4:actor#7",
  582. "to": "phase#4:workspace"
  583. },
  584. {
  585. "from": "phase#4:workspace",
  586. "to": "phase#4:actor#7",
  587. "types": [
  588. "WorldRunResult"
  589. ]
  590. },
  591. {
  592. "from": "phase#5:actor#8",
  593. "to": "phase#5:workspace"
  594. },
  595. {
  596. "from": "phase#5:workspace",
  597. "to": "phase#5:actor#8"
  598. },
  599. {
  600. "from": "phase#5:workspace",
  601. "to": "phase#5:actor#9",
  602. "types": [
  603. "string"
  604. ]
  605. },
  606. {
  607. "from": "phase#5:actor#9",
  608. "to": "phase#5:actor#7",
  609. "types": [
  610. "ReadFeedback"
  611. ]
  612. },
  613. {
  614. "from": "phase#5:actor#7",
  615. "to": "phase#5:workspace"
  616. }
  617. ],
  618. "phases": [
  619. {
  620. "id": "phase#1",
  621. "name": "设计整体架构与规则口径",
  622. "line": 174,
  623. "column": 1
  624. },
  625. {
  626. "id": "phase#2",
  627. "name": "实现规则引擎并通过单元测试",
  628. "line": 204,
  629. "column": 1
  630. },
  631. {
  632. "id": "phase#3",
  633. "name": "并行开发 AI、服务器与网页客户端",
  634. "line": 242,
  635. "column": 1
  636. },
  637. {
  638. "id": "phase#4",
  639. "name": "集成联调并跑通冒烟测试",
  640. "line": 261,
  641. "column": 1
  642. },
  643. {
  644. "id": "phase#5",
  645. "name": "独立验收并完善使用说明",
  646. "line": 292,
  647. "column": 1
  648. }
  649. ],
  650. "phaseEdges": [
  651. {
  652. "from": "phase#1",
  653. "to": "phase#2"
  654. },
  655. {
  656. "from": "phase#2",
  657. "to": "phase#3"
  658. },
  659. {
  660. "from": "phase#3",
  661. "to": "phase#4"
  662. },
  663. {
  664. "from": "phase#4",
  665. "to": "phase#5"
  666. }
  667. ],
  668. "exits": [
  669. "phase#2",
  670. "phase#5"
  671. ],
  672. "sink": [
  673. "ask#16"
  674. ]
  675. }
  676. },
  677. "startedAt": 1788939593380,
  678. "endedAt": 1788942289809
  679. },
  680. {
  681. "rowId": 15,
  682. "turnId": "turn-1",
  683. "productTurnId": "turn-1",
  684. "visibility": "visible",
  685. "createdAt": 1788939763859,
  686. "createdAtSeq": 40,
  687. "kind": "assistantText",
  688. "assistantResponseId": "msg_mttsjo2b_44069414-38bb-448f-bdce-bd9b4a9302f3",
  689. "text": "ASSISTANT_FINAL",
  690. "state": "complete"
  691. },
  692. {
  693. "rowId": 16,
  694. "turnId": "turn-2",
  695. "productTurnId": "turn-2",
  696. "visibility": "visible",
  697. "createdAt": 1788942289809,
  698. "createdAtSeq": 45,
  699. "kind": "turnHeader",
  700. "origin": "backgroundResult",
  701. "executionKind": "agent",
  702. "historyRoundCount": 1,
  703. "state": "completedSuccess",
  704. "startedAt": 1788942289809,
  705. "endedAt": 1788942303127,
  706. "activeMs": 13318,
  707. "originMeta": {
  708. "backgroundSource": "workflow",
  709. "workId": "run-completed",
  710. "title": "军棋游戏:人机对战 + 双人联网",
  711. "workflowNotification": {
  712. "kind": "terminal",
  713. "status": "completed",
  714. "summary": "军棋游戏:人机对战 + 双人联网",
  715. "artifacts": [
  716. {
  717. "id": "progress",
  718. "kind": "board",
  719. "title": "军棋项目进度看板",
  720. "version": 1
  721. },
  722. {
  723. "id": "report",
  724. "kind": "markdown",
  725. "title": "军棋项目交付报告",
  726. "version": 1,
  727. "contentType": "text/markdown"
  728. },
  729. {
  730. "id": "readme",
  731. "kind": "file",
  732. "title": "军棋游戏 · 启动与玩法说明",
  733. "version": 1,
  734. "contentType": "text/markdown"
  735. }
  736. ],
  737. "durationMs": 2525893
  738. }
  739. }
  740. },
  741. {
  742. "rowId": 18,
  743. "turnId": "turn-2",
  744. "productTurnId": "turn-2",
  745. "visibility": "visible",
  746. "createdAt": 1788942290585,
  747. "createdAtSeq": 49,
  748. "kind": "assistantText",
  749. "assistantResponseId": "msg_mttu1tp5_d855feed-ed55-41e3-8d73-17623f15269b",
  750. "text": "ASSISTANT_FINAL",
  751. "state": "complete"
  752. },
  753. {
  754. "rowId": 19,
  755. "turnId": "turn-3",
  756. "productTurnId": "turn-3",
  757. "visibility": "visible",
  758. "createdAt": 1789035744197,
  759. "createdAtSeq": 54,
  760. "kind": "turnHeader",
  761. "origin": "userInput",
  762. "executionKind": "agent",
  763. "sourceCommandId": "fixture-id-4",
  764. "historyRoundCount": 1,
  765. "state": "completedSuccess",
  766. "startedAt": 1789035744197,
  767. "endedAt": 1789035762244,
  768. "activeMs": 18047
  769. },
  770. {
  771. "rowId": 20,
  772. "turnId": "turn-3",
  773. "productTurnId": "turn-3",
  774. "visibility": "visible",
  775. "createdAt": 1789035744197,
  776. "createdAtSeq": 54,
  777. "kind": "userInput",
  778. "text": "USER_QUERY",
  779. "origin": "realUser",
  780. "sourceCommandId": "fixture-id-4",
  781. "rootSourceCommandId": "fixture-id-4",
  782. "clientId": "fixture-id-5"
  783. },
  784. {
  785. "rowId": 22,
  786. "turnId": "turn-3",
  787. "productTurnId": "turn-3",
  788. "visibility": "visible",
  789. "createdAt": 1789035744211,
  790. "createdAtSeq": 58,
  791. "kind": "assistantText",
  792. "assistantResponseId": "msg_mtvdouz6_161903b8-1050-424a-a557-0bff3f6fc13d",
  793. "text": "ASSISTANT_FINAL",
  794. "state": "complete"
  795. }
  796. ]