@wowok/agent-mcp 2.7.8 → 2.7.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (334) hide show
  1. package/README.md +2 -2
  2. package/dist/config/runtime.d.ts +1 -1
  3. package/dist/config/runtime.js +1 -1
  4. package/dist/examples/rental-ziroom-machine-create.json +1 -2
  5. package/dist/examples/rental-ziroom-permission-create.json +1 -2
  6. package/dist/examples/rental-ziroom-service-create.json +1 -2
  7. package/dist/experience/experience-reuse.js +1 -1
  8. package/dist/experience/index.d.ts +2 -1
  9. package/dist/experience/index.js +1 -1
  10. package/dist/experience/persistence-config.d.ts +6 -0
  11. package/dist/experience/persistence-config.js +1 -0
  12. package/dist/experience/persistence.d.ts +21 -0
  13. package/dist/experience/persistence.js +1 -0
  14. package/dist/experience/realtime-feedback.js +1 -1
  15. package/dist/experience/user-profile.js +1 -1
  16. package/dist/extensions/business-modules.d.ts +1 -1
  17. package/dist/extensions/capability-manifest.d.ts +1 -1
  18. package/dist/extensions/types.d.ts +1 -1
  19. package/dist/goal/GoalClassifier.d.ts +17 -0
  20. package/dist/goal/GoalClassifier.js +1 -0
  21. package/dist/goal/GoalEngine.d.ts +120 -0
  22. package/dist/goal/GoalEngine.js +1 -0
  23. package/dist/goal/GoalStore.d.ts +27 -0
  24. package/dist/goal/GoalStore.js +1 -0
  25. package/dist/goal/plan-approval.d.ts +5 -0
  26. package/dist/goal/plan-approval.js +1 -0
  27. package/dist/goal/types.d.ts +76 -0
  28. package/dist/goal/types.js +1 -0
  29. package/dist/harness/index.d.ts +2 -7
  30. package/dist/harness/index.js +1 -1
  31. package/dist/harness/plan.d.ts +1 -1
  32. package/dist/harness/types.d.ts +0 -35
  33. package/dist/index.js +1 -1
  34. package/dist/knowledge/account-marks.d.ts +35 -0
  35. package/dist/knowledge/account-marks.js +1 -0
  36. package/dist/knowledge/audit-rules.d.ts +3 -1
  37. package/dist/knowledge/audit-rules.js +1 -1
  38. package/dist/knowledge/examples-scanner-cli.js +1 -1
  39. package/dist/knowledge/examples-scanner.js +1 -1
  40. package/dist/knowledge/goal-completion.d.ts +19 -0
  41. package/dist/knowledge/goal-completion.js +1 -0
  42. package/dist/knowledge/guard-translation.js +1 -1
  43. package/dist/knowledge/index.d.ts +3 -2
  44. package/dist/knowledge/index.js +1 -1
  45. package/dist/knowledge/industry-registry.js +1 -1
  46. package/dist/knowledge/mcp-schema-audit-cli.js +1 -1
  47. package/dist/knowledge/mcp-schema-audit.js +1 -1
  48. package/dist/knowledge/operation-dictionary.js +1 -1
  49. package/dist/knowledge/passport-confirm.js +1 -1
  50. package/dist/knowledge/passport-puzzle.js +1 -1
  51. package/dist/knowledge/passport-translation.js +1 -1
  52. package/dist/knowledge/proof-risk.js +1 -1
  53. package/dist/knowledge/safety-rules.js +1 -1
  54. package/dist/knowledge/service-translation.js +1 -1
  55. package/dist/knowledge/template-registry.js +1 -1
  56. package/dist/knowledge/tools-reference.js +1 -1
  57. package/dist/knowledge/workflow-guidance.d.ts +1 -0
  58. package/dist/knowledge/workflow-guidance.js +1 -1
  59. package/dist/knowledge/workspace-lists.d.ts +56 -0
  60. package/dist/knowledge/workspace-lists.js +1 -0
  61. package/dist/loop-engineering/context-collect.d.ts +1 -1
  62. package/dist/monitor/EventRouter.d.ts +10 -0
  63. package/dist/monitor/EventRouter.js +1 -0
  64. package/dist/monitor/EventStore.d.ts +32 -12
  65. package/dist/monitor/EventStore.js +1 -1
  66. package/dist/monitor/MonitorLoop.d.ts +79 -0
  67. package/dist/monitor/MonitorLoop.js +1 -0
  68. package/dist/monitor/ProblemBridge.d.ts +32 -0
  69. package/dist/monitor/ProblemBridge.js +1 -0
  70. package/dist/monitor/ScopeResolver.d.ts +59 -0
  71. package/dist/monitor/ScopeResolver.js +1 -0
  72. package/dist/monitor/SubscriptionStore.d.ts +13 -0
  73. package/dist/monitor/SubscriptionStore.js +1 -0
  74. package/dist/monitor/normalize.d.ts +8 -0
  75. package/dist/monitor/normalize.js +1 -0
  76. package/dist/monitor/types.d.ts +89 -0
  77. package/dist/monitor/types.js +1 -0
  78. package/dist/persona/address-format.d.ts +1 -1
  79. package/dist/persona/address-format.js +1 -1
  80. package/dist/persona/distill-goal.d.ts +20 -0
  81. package/dist/persona/distill-goal.js +1 -0
  82. package/dist/persona/index.d.ts +2 -0
  83. package/dist/persona/index.js +1 -1
  84. package/dist/persona/model.js +1 -1
  85. package/dist/playbooks/service-build/business-puzzle.js +1 -0
  86. package/dist/{project → playbooks/service-build}/context-assembly.d.ts +9 -4
  87. package/dist/playbooks/service-build/context-assembly.js +1 -0
  88. package/dist/{project → playbooks/service-build}/game-theory.d.ts +1 -1
  89. package/dist/playbooks/service-build/index.d.ts +14 -0
  90. package/dist/playbooks/service-build/index.js +1 -0
  91. package/dist/{project → playbooks/service-build}/intent-analyzer.d.ts +1 -1
  92. package/dist/playbooks/service-build/intent-analyzer.js +1 -0
  93. package/dist/{project → playbooks/service-build}/machine-panorama.d.ts +5 -3
  94. package/dist/playbooks/service-build/machine-panorama.js +1 -0
  95. package/dist/{project → playbooks/service-build}/merchant-guide.d.ts +1 -1
  96. package/dist/playbooks/service-build/merchant-guide.js +1 -0
  97. package/dist/{project → playbooks/service-build}/mode-actions.d.ts +2 -2
  98. package/dist/playbooks/service-build/mode-actions.js +1 -0
  99. package/dist/playbooks/service-build/namespace.d.ts +2 -0
  100. package/dist/playbooks/service-build/namespace.js +1 -0
  101. package/dist/{project → playbooks/service-build}/object-panorama.d.ts +2 -3
  102. package/dist/playbooks/service-build/object-panorama.js +1 -0
  103. package/dist/{project → playbooks/service-build}/participation-radar.d.ts +4 -5
  104. package/dist/playbooks/service-build/participation-radar.js +1 -0
  105. package/dist/{project → playbooks/service-build}/pipeline-actions.d.ts +9 -9
  106. package/dist/playbooks/service-build/pipeline-actions.js +1 -0
  107. package/dist/playbooks/service-build/process.d.ts +6 -0
  108. package/dist/playbooks/service-build/process.js +1 -0
  109. package/dist/playbooks/service-build/risk-aggregator.js +1 -0
  110. package/dist/{project → playbooks/service-build}/semantic-graph.d.ts +2 -2
  111. package/dist/{project → playbooks/service-build}/service-panorama.d.ts +3 -19
  112. package/dist/playbooks/service-build/service-panorama.js +1 -0
  113. package/dist/review/arb.d.ts +6 -0
  114. package/dist/review/arb.js +1 -0
  115. package/dist/review/demand.d.ts +3 -0
  116. package/dist/review/demand.js +1 -0
  117. package/dist/review/index.d.ts +3 -0
  118. package/dist/review/index.js +1 -0
  119. package/dist/review/machine.d.ts +3 -0
  120. package/dist/review/machine.js +1 -0
  121. package/dist/review/order.d.ts +9 -0
  122. package/dist/review/order.js +1 -0
  123. package/dist/review/progress.d.ts +3 -0
  124. package/dist/review/progress.js +1 -0
  125. package/dist/review/repository.d.ts +3 -0
  126. package/dist/review/repository.js +1 -0
  127. package/dist/review/service.d.ts +5 -0
  128. package/dist/review/service.js +1 -0
  129. package/dist/review/types.d.ts +156 -0
  130. package/dist/review/types.js +1 -0
  131. package/dist/rules.d.ts +2 -2
  132. package/dist/rules.js +1 -1
  133. package/dist/safety/confirm-gate.js +1 -1
  134. package/dist/safety/index.d.ts +1 -1
  135. package/dist/safety/index.js +1 -1
  136. package/dist/safety/preview.d.ts +1 -0
  137. package/dist/safety/preview.js +1 -1
  138. package/dist/schema/call/allocation.d.ts +1 -1
  139. package/dist/schema/call/arbitration.d.ts +1 -1
  140. package/dist/schema/call/base.d.ts +1 -1
  141. package/dist/schema/call/base.js +1 -1
  142. package/dist/schema/call/bridge.d.ts +4 -4
  143. package/dist/schema/call/contact.d.ts +1 -1
  144. package/dist/schema/call/contact.js +1 -1
  145. package/dist/schema/call/demand.d.ts +1 -1
  146. package/dist/schema/call/demand.js +1 -1
  147. package/dist/schema/call/guard.d.ts +3 -3
  148. package/dist/schema/call/handler.d.ts +0 -3
  149. package/dist/schema/call/handler.js +1 -1
  150. package/dist/schema/call/machine.d.ts +2 -2
  151. package/dist/schema/call/order.d.ts +1 -1
  152. package/dist/schema/call/payment.d.ts +1 -1
  153. package/dist/schema/call/permission.d.ts +1 -1
  154. package/dist/schema/call/personal.d.ts +1 -1
  155. package/dist/schema/call/progress.d.ts +1 -1
  156. package/dist/schema/call/proof.d.ts +2 -2
  157. package/dist/schema/call/repository.d.ts +1 -1
  158. package/dist/schema/call/repository.js +1 -1
  159. package/dist/schema/call/reward.d.ts +1 -1
  160. package/dist/schema/call/semantic.js +1 -1
  161. package/dist/schema/call/service.d.ts +1 -1
  162. package/dist/schema/call/service.js +1 -1
  163. package/dist/schema/call/treasury.d.ts +1 -1
  164. package/dist/schema/common/index.js +1 -1
  165. package/dist/schema/goal/index.d.ts +317 -0
  166. package/dist/schema/goal/index.js +1 -0
  167. package/dist/schema/goal/planning.d.ts +465 -0
  168. package/dist/schema/goal/planning.js +1 -0
  169. package/dist/schema/index.d.ts +1 -2
  170. package/dist/schema/index.js +1 -1
  171. package/dist/schema/industry-pack/index.d.ts +265 -1
  172. package/dist/schema/industry-pack/index.js +1 -1
  173. package/dist/schema/industry-pack/modes.d.ts +268 -0
  174. package/dist/schema/industry-pack/modes.js +1 -0
  175. package/dist/schema/local/index.js +1 -1
  176. package/dist/schema/operations.d.ts +216 -19
  177. package/dist/schema/operations.js +1 -1
  178. package/dist/schema/permission/index.d.ts +1 -0
  179. package/dist/schema/permission/index.js +1 -1
  180. package/dist/schema/persona/index.d.ts +40 -0
  181. package/dist/schema/persona/index.js +1 -1
  182. package/dist/schema/query/bi.d.ts +783 -0
  183. package/dist/schema/query/bi.js +1 -0
  184. package/dist/schema/query/index.d.ts +661 -0
  185. package/dist/schema/query/index.js +1 -1
  186. package/dist/schema/schema-version.js +1 -1
  187. package/dist/schema/utils/skills-recommendation.d.ts +0 -1
  188. package/dist/schema/utils/skills-recommendation.js +1 -1
  189. package/dist/schema-query-impl/index.js +1 -1
  190. package/dist/schemas/account_operation.output.json +3 -3
  191. package/dist/schemas/account_operation.schema.json +2 -2
  192. package/dist/schemas/bridge_operation.output.json +2 -2
  193. package/dist/schemas/bridge_operation.schema.json +12 -12
  194. package/dist/schemas/config_operation.output.json +1 -1
  195. package/dist/schemas/config_operation.schema.json +1 -1
  196. package/dist/schemas/goal_operation.schema.json +1016 -0
  197. package/dist/schemas/guard2file.schema.json +3 -3
  198. package/dist/schemas/index.json +12 -13
  199. package/dist/schemas/industry_pack_operation.output.json +898 -0
  200. package/dist/schemas/industry_pack_operation.schema.json +217 -2
  201. package/dist/schemas/local_info_operation.output.json +2 -2
  202. package/dist/schemas/local_mark_operation.output.json +2 -2
  203. package/dist/schemas/machineNode2file.schema.json +3 -3
  204. package/dist/schemas/messenger_operation.output.json +2 -2
  205. package/dist/schemas/monitor_events.output.json +78 -3
  206. package/dist/schemas/monitor_events.schema.json +24 -1
  207. package/dist/schemas/monitor_subscription.output.json +1462 -0
  208. package/dist/schemas/monitor_subscription.schema.json +327 -0
  209. package/dist/schemas/onchain_events.output.json +4 -4
  210. package/dist/schemas/onchain_operations.output.json +2 -2
  211. package/dist/schemas/onchain_operations.schema.json +59 -59
  212. package/dist/schemas/onchain_operations_allocation.schema.json +3 -3
  213. package/dist/schemas/onchain_operations_arbitration.schema.json +3 -3
  214. package/dist/schemas/onchain_operations_contact.schema.json +4 -4
  215. package/dist/schemas/onchain_operations_demand.schema.json +4 -4
  216. package/dist/schemas/onchain_operations_gen_passport.schema.json +3 -3
  217. package/dist/schemas/onchain_operations_gen_proof.schema.json +3 -3
  218. package/dist/schemas/onchain_operations_guard.schema.json +3 -3
  219. package/dist/schemas/onchain_operations_machine.schema.json +3 -3
  220. package/dist/schemas/onchain_operations_order.schema.json +3 -3
  221. package/dist/schemas/onchain_operations_payment.schema.json +3 -3
  222. package/dist/schemas/onchain_operations_permission.schema.json +3 -3
  223. package/dist/schemas/onchain_operations_personal.schema.json +3 -3
  224. package/dist/schemas/onchain_operations_progress.schema.json +3 -3
  225. package/dist/schemas/onchain_operations_proof.schema.json +3 -3
  226. package/dist/schemas/onchain_operations_repository.schema.json +5 -5
  227. package/dist/schemas/onchain_operations_reward.schema.json +3 -3
  228. package/dist/schemas/onchain_operations_service.schema.json +4 -4
  229. package/dist/schemas/onchain_operations_treasury.schema.json +3 -3
  230. package/dist/schemas/onchain_table_data.output.json +346 -2
  231. package/dist/schemas/onchain_table_data.schema.json +22 -22
  232. package/dist/schemas/permission_operation.schema.json +6 -2
  233. package/dist/schemas/persona_operation.output.json +145 -0
  234. package/dist/schemas/persona_operation.schema.json +28 -2
  235. package/dist/schemas/query_toolkit.output.json +1274 -15
  236. package/dist/schemas/query_toolkit.schema.json +412 -11
  237. package/dist/schemas/workflow_operation.schema.json +4 -4
  238. package/dist/task/ProcessStore.d.ts +81 -0
  239. package/dist/task/ProcessStore.js +1 -0
  240. package/dist/task/playbook.d.ts +11 -0
  241. package/dist/task/playbook.js +1 -0
  242. package/dist/task/stage-gate.d.ts +22 -0
  243. package/dist/task/stage-gate.js +1 -0
  244. package/dist/{project → task}/substep-trace.d.ts +6 -45
  245. package/dist/task/types.d.ts +120 -0
  246. package/dist/task/types.js +1 -0
  247. package/dist/tools/handlers/config.js +1 -1
  248. package/dist/tools/handlers/goal.d.ts +4 -0
  249. package/dist/tools/handlers/goal.js +1 -0
  250. package/dist/tools/handlers/industry-pack.js +1 -1
  251. package/dist/tools/handlers/monitor.d.ts +24 -0
  252. package/dist/tools/handlers/monitor.js +1 -1
  253. package/dist/tools/handlers/network.d.ts +1 -0
  254. package/dist/tools/handlers/network.js +1 -0
  255. package/dist/tools/handlers/onchain.js +1 -1
  256. package/dist/tools/handlers/permission.js +1 -1
  257. package/dist/tools/handlers/persona.js +1 -1
  258. package/dist/tools/handlers/query.js +1 -1
  259. package/dist/tools/handlers/watch.js +1 -1
  260. package/dist/tools/index.d.ts +2 -0
  261. package/dist/tools/index.js +1 -1
  262. package/dist/tools/shared.js +1 -1
  263. package/dist/tools/wrap.js +1 -1
  264. package/package.json +5 -4
  265. package/dist/harness/checkpoint.d.ts +0 -8
  266. package/dist/harness/checkpoint.js +0 -1
  267. package/dist/knowledge/deployment-scanner.d.ts +0 -66
  268. package/dist/knowledge/deployment-scanner.js +0 -1
  269. package/dist/project/business-puzzle.js +0 -1
  270. package/dist/project/context-assembly.js +0 -1
  271. package/dist/project/deployment-bridge.d.ts +0 -5
  272. package/dist/project/deployment-bridge.js +0 -1
  273. package/dist/project/deployment-doc.d.ts +0 -190
  274. package/dist/project/deployment-doc.js +0 -1
  275. package/dist/project/edit-planner.d.ts +0 -123
  276. package/dist/project/edit-planner.js +0 -1
  277. package/dist/project/evaluation-fix.spec.d.ts +0 -1
  278. package/dist/project/evaluation-fix.spec.js +0 -1
  279. package/dist/project/evaluation.d.ts +0 -127
  280. package/dist/project/evaluation.js +0 -1
  281. package/dist/project/graph-builder.d.ts +0 -51
  282. package/dist/project/graph-builder.js +0 -1
  283. package/dist/project/graph.d.ts +0 -70
  284. package/dist/project/graph.js +0 -1
  285. package/dist/project/handlers.d.ts +0 -524
  286. package/dist/project/handlers.js +0 -1
  287. package/dist/project/index.d.ts +0 -91
  288. package/dist/project/index.js +0 -1
  289. package/dist/project/intent-analyzer.js +0 -1
  290. package/dist/project/machine-panorama.js +0 -1
  291. package/dist/project/merchant-guide.js +0 -1
  292. package/dist/project/mode-actions.js +0 -1
  293. package/dist/project/namespace.d.ts +0 -72
  294. package/dist/project/namespace.js +0 -1
  295. package/dist/project/object-panorama.js +0 -1
  296. package/dist/project/participation-radar.js +0 -1
  297. package/dist/project/pipeline-actions.js +0 -1
  298. package/dist/project/project-store.d.ts +0 -110
  299. package/dist/project/project-store.js +0 -1
  300. package/dist/project/query.d.ts +0 -43
  301. package/dist/project/query.js +0 -1
  302. package/dist/project/risk-aggregator.js +0 -1
  303. package/dist/project/semantic-assembler.d.ts +0 -93
  304. package/dist/project/semantic-assembler.js +0 -1
  305. package/dist/project/service-panorama.js +0 -1
  306. package/dist/project/stage-gate.d.ts +0 -52
  307. package/dist/project/stage-gate.js +0 -1
  308. package/dist/project/task-tracker.d.ts +0 -30
  309. package/dist/project/task-tracker.js +0 -1
  310. package/dist/schema/project/index.d.ts +0 -2021
  311. package/dist/schema/project/index.js +0 -1
  312. package/dist/schema/task-status.d.ts +0 -62
  313. package/dist/schema/task-status.js +0 -1
  314. package/dist/schemas/project_operation.output.json +0 -7877
  315. package/dist/schemas/project_operation.schema.json +0 -1139
  316. package/dist/schemas/query_task_status.output.json +0 -211
  317. package/dist/schemas/query_task_status.schema.json +0 -18
  318. package/dist/tools/handlers/project.d.ts +0 -2
  319. package/dist/tools/handlers/project.js +0 -1
  320. package/dist/tools/handlers/task-status.d.ts +0 -2
  321. package/dist/tools/handlers/task-status.js +0 -1
  322. /package/dist/{project → playbooks/service-build}/business-puzzle.d.ts +0 -0
  323. /package/dist/{project → playbooks/service-build}/game-theory.js +0 -0
  324. /package/dist/{project → playbooks/service-build}/machine-nodes.d.ts +0 -0
  325. /package/dist/{project → playbooks/service-build}/machine-nodes.js +0 -0
  326. /package/dist/{project → playbooks/service-build}/object-type.d.ts +0 -0
  327. /package/dist/{project → playbooks/service-build}/object-type.js +0 -0
  328. /package/dist/{project → playbooks/service-build}/reverse-mapping.d.ts +0 -0
  329. /package/dist/{project → playbooks/service-build}/reverse-mapping.js +0 -0
  330. /package/dist/{project → playbooks/service-build}/risk-aggregator.d.ts +0 -0
  331. /package/dist/{project → playbooks/service-build}/semantic-graph.js +0 -0
  332. /package/dist/{project → playbooks/service-build}/workflow-design-assessment.d.ts +0 -0
  333. /package/dist/{project → playbooks/service-build}/workflow-design-assessment.js +0 -0
  334. /package/dist/{project → task}/substep-trace.js +0 -0
@@ -639,7 +639,7 @@
639
639
  },
640
640
  "favor": {
641
641
  "type": "number",
642
- "description": "User's received favor (收藏) count"
642
+ "description": "User's received favor count"
643
643
  },
644
644
  "info": {
645
645
  "type": "array",
@@ -1445,11 +1445,11 @@
1445
1445
  "type": "string"
1446
1446
  }
1447
1447
  ],
1448
- "description": "Current balance"
1448
+ "description": "Current funds held in the Treasury pool (treasury.move balance: Balance<T>), denominated in the Treasury's token T."
1449
1449
  },
1450
1450
  "history_count": {
1451
1451
  "type": "number",
1452
- "description": "Transaction record count. Use 'query_table' or 'query_table_item' to get 'TreasuryRecord' table items."
1452
+ "description": "Number of transaction records in the Treasury's history (treasury.move history: ParentTable<address, Record> — one entry per payment). Displayed as the 'Transactions' count. Use 'query_table' or 'query_table_item' to list individual TreasuryRecord items."
1453
1453
  },
1454
1454
  "external_deposit_guard": {
1455
1455
  "type": "array",
@@ -1543,7 +1543,7 @@
1543
1543
  "type": "string"
1544
1544
  }
1545
1545
  ],
1546
- "description": "Inflow amount"
1546
+ "description": "Total funds received by this Treasury across its lifetime, denominated in the Treasury's token (sum of every deposit)."
1547
1547
  },
1548
1548
  "outflow": {
1549
1549
  "anyOf": [
@@ -1554,7 +1554,7 @@
1554
1554
  "type": "string"
1555
1555
  }
1556
1556
  ],
1557
- "description": "Outflow amount"
1557
+ "description": "Total funds paid out by this Treasury across its lifetime, denominated in the Treasury's token (sum of every withdrawal)."
1558
1558
  },
1559
1559
  "um": {
1560
1560
  "anyOf": [
@@ -2345,7 +2345,7 @@
2345
2345
  },
2346
2346
  "location": {
2347
2347
  "type": "string",
2348
- "description": "Service object location"
2348
+ "description": "The service area and scope as stated by the merchant."
2349
2349
  },
2350
2350
  "sales": {
2351
2351
  "type": "array",
@@ -4151,7 +4151,7 @@
4151
4151
  },
4152
4152
  "location": {
4153
4153
  "type": "string",
4154
- "description": "Demand location"
4154
+ "description": "The area or scope where the services required by the demand are located"
4155
4155
  },
4156
4156
  "rewards": {
4157
4157
  "type": "array",
@@ -4442,7 +4442,7 @@
4442
4442
  },
4443
4443
  "location": {
4444
4444
  "type": "string",
4445
- "description": "Arbitration object location"
4445
+ "description": "The area or scope where the arbitration is located"
4446
4446
  },
4447
4447
  "voting_guard": {
4448
4448
  "type": "array",
@@ -5372,7 +5372,7 @@
5372
5372
  "additionalProperties": false,
5373
5373
  "description": "Reward Guard type"
5374
5374
  },
5375
- "description": "Reward Guard list. When one of the Guards is successfully verified in a transaction, the relevant recipient will receive the reward amount."
5375
+ "description": "Reward claim Guards (reward.move guards: vector<RewardGuard>). Count = number of claim paths: each Guard defines who may claim and how much, and a claim pays out when one of the Guards verifies successfully."
5376
5376
  },
5377
5377
  "balance": {
5378
5378
  "anyOf": [
@@ -5383,7 +5383,7 @@
5383
5383
  "type": "string"
5384
5384
  }
5385
5385
  ],
5386
- "description": "Current balance of reward object"
5386
+ "description": "Current claimable funds left in the Reward pool (reward.move balance: Balance<T>) — every payout is denominated in the Reward's token T. Also names the title amount badge on Reward cards ('N SYMBOL')."
5387
5387
  },
5388
5388
  "guard_not_added_expiration_time": {
5389
5389
  "anyOf": [
@@ -5401,7 +5401,7 @@
5401
5401
  },
5402
5402
  "record_count": {
5403
5403
  "type": "number",
5404
- "description": "Number of reward claimer records. Use 'query_table' or 'query_table_item' to get 'RewardRecord' table items."
5404
+ "description": "Number of unique addresses that have claimed from this Reward (reward.move record: ParentTable<address, RecipientRecord> — one entry per claimer). Displayed as the 'Claimed by' count."
5405
5405
  },
5406
5406
  "um": {
5407
5407
  "anyOf": [
@@ -9546,7 +9546,7 @@
9546
9546
  },
9547
9547
  "location": {
9548
9548
  "type": "string",
9549
- "description": "Physical or virtual location information for this contact"
9549
+ "description": "Physical contact address (NOT a service area)"
9550
9550
  },
9551
9551
  "ims": {
9552
9552
  "type": "array",
@@ -9817,7 +9817,7 @@
9817
9817
  },
9818
9818
  "favor": {
9819
9819
  "type": "number",
9820
- "description": "User's received favor (收藏) count"
9820
+ "description": "User's received favor count"
9821
9821
  },
9822
9822
  "info": {
9823
9823
  "type": "array",
@@ -16096,8 +16096,1267 @@
16096
16096
  "result"
16097
16097
  ],
16098
16098
  "additionalProperties": false
16099
+ },
16100
+ {
16101
+ "type": "object",
16102
+ "properties": {
16103
+ "query_type": {
16104
+ "type": "string",
16105
+ "const": "address_profiles"
16106
+ },
16107
+ "result": {
16108
+ "type": "array",
16109
+ "items": {
16110
+ "anyOf": [
16111
+ {
16112
+ "type": "object",
16113
+ "propertyNames": {
16114
+ "type": "string"
16115
+ },
16116
+ "additionalProperties": {}
16117
+ },
16118
+ {
16119
+ "type": "null"
16120
+ }
16121
+ ]
16122
+ },
16123
+ "description": "One entry per requested address, SAME order as the request (null on per-address failure). Each non-null entry carries the full AddressProfile shape: classification (kind), identity, reputation (like/dislike/favor votes), order/contact/permission memberships, core/tx reverse bindings, the object itself, activity + role evidence — plus the merged service_analysis block for Service addresses (description / payment token / shelf split / location / trust-risk / on-chain last update)."
16124
+ }
16125
+ },
16126
+ "required": [
16127
+ "query_type",
16128
+ "result"
16129
+ ],
16130
+ "additionalProperties": false
16099
16131
  }
16100
16132
  ]
16133
+ },
16134
+ {
16135
+ "type": "object",
16136
+ "properties": {
16137
+ "query_type": {
16138
+ "type": "string",
16139
+ "const": "service_panorama"
16140
+ },
16141
+ "result": {
16142
+ "description": "ServicePanorama (base data + workflow graph + guards + supply chain + trust + BusinessReport + recent orders)."
16143
+ }
16144
+ },
16145
+ "required": [
16146
+ "query_type",
16147
+ "result"
16148
+ ],
16149
+ "additionalProperties": false
16150
+ },
16151
+ {
16152
+ "type": "object",
16153
+ "properties": {
16154
+ "query_type": {
16155
+ "type": "string",
16156
+ "const": "machine_panorama"
16157
+ },
16158
+ "result": {
16159
+ "description": "MachinePanorama (head + fields + workflow graph + Progress list)."
16160
+ }
16161
+ },
16162
+ "required": [
16163
+ "query_type",
16164
+ "result"
16165
+ ],
16166
+ "additionalProperties": false
16167
+ },
16168
+ {
16169
+ "type": "object",
16170
+ "properties": {
16171
+ "query_type": {
16172
+ "type": "string",
16173
+ "const": "object_panorama"
16174
+ },
16175
+ "result": {
16176
+ "description": "ObjectPanorama (discriminated object_type + head + typed fields + per-type extras)."
16177
+ }
16178
+ },
16179
+ "required": [
16180
+ "query_type",
16181
+ "result"
16182
+ ],
16183
+ "additionalProperties": false
16184
+ },
16185
+ {
16186
+ "type": "object",
16187
+ "properties": {
16188
+ "query_type": {
16189
+ "type": "string",
16190
+ "const": "review_pack"
16191
+ },
16192
+ "result": {
16193
+ "description": "ReviewPack (section list + typed field values for the ReviewPackRenderer)."
16194
+ }
16195
+ },
16196
+ "required": [
16197
+ "query_type",
16198
+ "result"
16199
+ ],
16200
+ "additionalProperties": false
16201
+ },
16202
+ {
16203
+ "type": "object",
16204
+ "properties": {
16205
+ "query_type": {
16206
+ "type": "string",
16207
+ "const": "assemble_context"
16208
+ },
16209
+ "result": {
16210
+ "type": "object",
16211
+ "properties": {
16212
+ "action": {
16213
+ "type": "string",
16214
+ "const": "assemble_context"
16215
+ },
16216
+ "objects": {
16217
+ "type": "array",
16218
+ "items": {},
16219
+ "description": "Current on-chain states of the requested objects (from query_objects)."
16220
+ },
16221
+ "events": {
16222
+ "description": "Recent state-transition events (only when include_events=true). Includes NewOrderEvent, ProgressEvent, ArbEvent, etc.",
16223
+ "type": "array",
16224
+ "items": {}
16225
+ },
16226
+ "embedded_history": {
16227
+ "description": "Operation history extracted from object states — NOT from tx queries. Progress objects: session.forwards (who did what, when, accomplished). Order objects: disputes, claimed_by, progress_object. This is the CORRECT history source: convergent, no infinite recursion.",
16228
+ "type": "object",
16229
+ "propertyNames": {
16230
+ "type": "string"
16231
+ },
16232
+ "additionalProperties": {}
16233
+ },
16234
+ "dependencies": {
16235
+ "description": "Dependency edges discovered via BFS expansion (only when context_depth > 0). Each entry describes one outbound reference (parent → child) with the field name and semantic edge type. Use with dependency_objects to get the full states. Cycles are deduplicated — each object ID appears at most once at its shallowest depth.",
16236
+ "type": "array",
16237
+ "items": {
16238
+ "type": "object",
16239
+ "properties": {
16240
+ "object": {
16241
+ "type": "string",
16242
+ "description": "Discovered dependency object ID (0x...)."
16243
+ },
16244
+ "depth": {
16245
+ "type": "integer",
16246
+ "minimum": 1,
16247
+ "maximum": 9007199254740991,
16248
+ "description": "BFS depth at which this dependency was discovered (1 = direct reference from a center object)."
16249
+ },
16250
+ "via_field": {
16251
+ "type": "string",
16252
+ "description": "Field name on the parent object that references this dependency (e.g. 'permission', 'machine', 'guard'). Matches extractAddressFields output."
16253
+ },
16254
+ "via_type": {
16255
+ "type": "string",
16256
+ "description": "Semantic edge type: 'bind' | 'validate' | 'consume' | 'trigger' | 'create'."
16257
+ },
16258
+ "parent": {
16259
+ "type": "string",
16260
+ "description": "Object ID of the parent that referenced this dependency."
16261
+ }
16262
+ },
16263
+ "required": [
16264
+ "object",
16265
+ "depth",
16266
+ "via_field",
16267
+ "via_type",
16268
+ "parent"
16269
+ ],
16270
+ "additionalProperties": false
16271
+ }
16272
+ },
16273
+ "dependency_objects": {
16274
+ "description": "Full on-chain states of the discovered dependency objects (only when context_depth > 0). Order matches `dependencies` when possible; safe to consume as an unordered set. Center objects are NOT repeated here — they live in `objects`.",
16275
+ "type": "array",
16276
+ "items": {}
16277
+ },
16278
+ "semantic_summary": {
16279
+ "description": "Business semantic annotations generated by buildDataSemantic — maps raw object fields to business-meaningful concepts for LLM consumption."
16280
+ },
16281
+ "context_digest": {
16282
+ "type": "string",
16283
+ "description": "Unique digest for this assembled context (SHA of object IDs + versions + timestamp). Use for caching or to detect state changes between two assembly calls."
16284
+ },
16285
+ "next_action": {
16286
+ "type": "string",
16287
+ "description": "Suggested next action: use onchain_transaction to verify a specific past tx, or proceed with onchain_operations to modify state, or re-call assemble_context after state changes."
16288
+ },
16289
+ "flywheel_collected": {
16290
+ "description": "Distillation flywheel collection result. Non-blocking — may be undefined if collection fails. When present, the assembled context has been fed back into the experience layer and/or improvement queue.",
16291
+ "type": "object",
16292
+ "properties": {
16293
+ "signature_recorded": {
16294
+ "type": "boolean",
16295
+ "description": "Whether the experience signature was recorded in the real-time experience layer."
16296
+ },
16297
+ "proposal_created": {
16298
+ "type": "boolean",
16299
+ "description": "Whether an improvement proposal was created for the offline distillation flywheel."
16300
+ },
16301
+ "proposal_id": {
16302
+ "description": "The proposal ID, if created.",
16303
+ "type": "string"
16304
+ }
16305
+ },
16306
+ "required": [
16307
+ "signature_recorded",
16308
+ "proposal_created"
16309
+ ],
16310
+ "additionalProperties": false
16311
+ }
16312
+ },
16313
+ "required": [
16314
+ "action",
16315
+ "objects",
16316
+ "context_digest",
16317
+ "next_action"
16318
+ ],
16319
+ "additionalProperties": false
16320
+ }
16321
+ },
16322
+ "required": [
16323
+ "query_type",
16324
+ "result"
16325
+ ],
16326
+ "additionalProperties": false
16327
+ },
16328
+ {
16329
+ "type": "object",
16330
+ "properties": {
16331
+ "query_type": {
16332
+ "type": "string",
16333
+ "const": "reverse_map"
16334
+ },
16335
+ "result": {
16336
+ "type": "object",
16337
+ "properties": {
16338
+ "action": {
16339
+ "type": "string",
16340
+ "const": "reverse_map"
16341
+ },
16342
+ "objects_queried": {
16343
+ "type": "integer",
16344
+ "minimum": 0,
16345
+ "maximum": 9007199254740991,
16346
+ "description": "How many on-chain objects were queried and fed into the report."
16347
+ },
16348
+ "report": {
16349
+ "type": "object",
16350
+ "properties": {
16351
+ "summary": {
16352
+ "type": "string",
16353
+ "description": "One-paragraph deterministic business summary."
16354
+ },
16355
+ "merchantProfile": {
16356
+ "type": "object",
16357
+ "properties": {
16358
+ "serviceDescription": {
16359
+ "type": "string"
16360
+ },
16361
+ "workflowDescription": {
16362
+ "type": "string"
16363
+ },
16364
+ "refundPolicy": {
16365
+ "type": "string"
16366
+ },
16367
+ "arbitrationPolicy": {
16368
+ "type": "string"
16369
+ }
16370
+ },
16371
+ "required": [
16372
+ "serviceDescription",
16373
+ "workflowDescription",
16374
+ "refundPolicy",
16375
+ "arbitrationPolicy"
16376
+ ],
16377
+ "additionalProperties": false
16378
+ },
16379
+ "userRiskAssessment": {
16380
+ "type": "object",
16381
+ "properties": {
16382
+ "riskLevel": {
16383
+ "type": "string",
16384
+ "enum": [
16385
+ "low",
16386
+ "medium",
16387
+ "high",
16388
+ "critical"
16389
+ ]
16390
+ },
16391
+ "keyRisks": {
16392
+ "type": "array",
16393
+ "items": {
16394
+ "type": "string"
16395
+ }
16396
+ },
16397
+ "protections": {
16398
+ "type": "array",
16399
+ "items": {
16400
+ "type": "string"
16401
+ }
16402
+ },
16403
+ "missingProtections": {
16404
+ "type": "array",
16405
+ "items": {
16406
+ "type": "string"
16407
+ }
16408
+ }
16409
+ },
16410
+ "required": [
16411
+ "riskLevel",
16412
+ "keyRisks",
16413
+ "protections",
16414
+ "missingProtections"
16415
+ ],
16416
+ "additionalProperties": false
16417
+ },
16418
+ "gameTheoryAnalysis": {
16419
+ "type": "object",
16420
+ "properties": {
16421
+ "merchantIncentives": {
16422
+ "type": "array",
16423
+ "items": {
16424
+ "type": "string"
16425
+ }
16426
+ },
16427
+ "userIncentives": {
16428
+ "type": "array",
16429
+ "items": {
16430
+ "type": "string"
16431
+ }
16432
+ },
16433
+ "potentialConflicts": {
16434
+ "type": "array",
16435
+ "items": {
16436
+ "type": "string"
16437
+ }
16438
+ },
16439
+ "wowAlignments": {
16440
+ "type": "array",
16441
+ "items": {
16442
+ "type": "string"
16443
+ }
16444
+ }
16445
+ },
16446
+ "required": [
16447
+ "merchantIncentives",
16448
+ "userIncentives",
16449
+ "potentialConflicts",
16450
+ "wowAlignments"
16451
+ ],
16452
+ "additionalProperties": false
16453
+ }
16454
+ },
16455
+ "required": [
16456
+ "summary",
16457
+ "merchantProfile",
16458
+ "userRiskAssessment",
16459
+ "gameTheoryAnalysis"
16460
+ ],
16461
+ "additionalProperties": false,
16462
+ "description": "Deterministic BusinessReport — same objects always yield the same report (no LLM)."
16463
+ }
16464
+ },
16465
+ "required": [
16466
+ "action",
16467
+ "objects_queried",
16468
+ "report"
16469
+ ],
16470
+ "additionalProperties": false
16471
+ }
16472
+ },
16473
+ "required": [
16474
+ "query_type",
16475
+ "result"
16476
+ ],
16477
+ "additionalProperties": false
16478
+ },
16479
+ {
16480
+ "type": "object",
16481
+ "properties": {
16482
+ "query_type": {
16483
+ "type": "string",
16484
+ "const": "participation_radar"
16485
+ },
16486
+ "result": {
16487
+ "type": "object",
16488
+ "properties": {
16489
+ "action": {
16490
+ "type": "string",
16491
+ "const": "participation_radar"
16492
+ },
16493
+ "account": {
16494
+ "type": "string",
16495
+ "description": "Resolved account address."
16496
+ },
16497
+ "orders_analyzed": {
16498
+ "type": "number"
16499
+ },
16500
+ "actionable": {
16501
+ "type": "array",
16502
+ "items": {
16503
+ "type": "object",
16504
+ "properties": {
16505
+ "account": {
16506
+ "type": "string"
16507
+ },
16508
+ "progress": {
16509
+ "type": "string"
16510
+ },
16511
+ "order": {
16512
+ "type": "string"
16513
+ },
16514
+ "current_node": {
16515
+ "type": "string",
16516
+ "description": "Current node name ('' = entry, not yet started)."
16517
+ },
16518
+ "perspective": {
16519
+ "type": "string",
16520
+ "enum": [
16521
+ "merchant",
16522
+ "customer",
16523
+ "prospect",
16524
+ "supplier",
16525
+ "collaborator",
16526
+ "arbitrator"
16527
+ ],
16528
+ "description": "Derived commercial role from on-chain data (Order.builder + PermissionPerm grants + named operators), never caller-asserted."
16529
+ },
16530
+ "collaborator_kind": {
16531
+ "description": "Collaborator sub-kind when perspective === 'collaborator' (internal staff vs external operator).",
16532
+ "type": "string",
16533
+ "enum": [
16534
+ "permission_entity",
16535
+ "named_operator"
16536
+ ]
16537
+ },
16538
+ "roles": {
16539
+ "type": "array",
16540
+ "items": {
16541
+ "type": "object",
16542
+ "properties": {
16543
+ "label": {
16544
+ "type": "string"
16545
+ },
16546
+ "can_act_now": {
16547
+ "type": "boolean"
16548
+ }
16549
+ },
16550
+ "required": [
16551
+ "label",
16552
+ "can_act_now"
16553
+ ],
16554
+ "additionalProperties": false
16555
+ },
16556
+ "description": "All roles this account holds on this order's workflow."
16557
+ },
16558
+ "operable": {
16559
+ "type": "array",
16560
+ "items": {
16561
+ "type": "object",
16562
+ "properties": {
16563
+ "name": {
16564
+ "type": "string",
16565
+ "description": "Forward (operation) name."
16566
+ },
16567
+ "to_node": {
16568
+ "type": "string",
16569
+ "description": "Target node after execution."
16570
+ },
16571
+ "execution_path": {
16572
+ "type": "string",
16573
+ "enum": [
16574
+ "order_holder",
16575
+ "permission",
16576
+ "named_operator",
16577
+ "not_available"
16578
+ ],
16579
+ "description": "How this account may execute it (not_available if it can't)."
16580
+ },
16581
+ "permission_index": {
16582
+ "description": "Permission index required (if permission-gated).",
16583
+ "type": "number"
16584
+ },
16585
+ "named_operator": {
16586
+ "description": "Named operator (LocalMark name) required (if named-gated).",
16587
+ "type": "string"
16588
+ },
16589
+ "guard": {
16590
+ "description": "Guard address gating this forward.",
16591
+ "type": "string"
16592
+ },
16593
+ "semantics": {
16594
+ "type": "string",
16595
+ "description": "Human explanation of what executing this forward means."
16596
+ },
16597
+ "consequence": {
16598
+ "description": "Consequence hint (completion fund-release / refund path).",
16599
+ "type": "string"
16600
+ },
16601
+ "weight": {
16602
+ "description": "Forward weight (accumulates toward the pair's threshold).",
16603
+ "type": "number"
16604
+ }
16605
+ },
16606
+ "required": [
16607
+ "name",
16608
+ "to_node",
16609
+ "execution_path",
16610
+ "semantics"
16611
+ ],
16612
+ "additionalProperties": false
16613
+ },
16614
+ "description": "Forwards THIS account can execute NOW (branch options if >1)."
16615
+ },
16616
+ "branch_choice": {
16617
+ "description": "Present when >1 operable forward. AI MUST present options neutrally; the role decides.",
16618
+ "type": "object",
16619
+ "properties": {
16620
+ "message": {
16621
+ "type": "string"
16622
+ },
16623
+ "options": {
16624
+ "type": "array",
16625
+ "items": {
16626
+ "type": "object",
16627
+ "properties": {
16628
+ "forward": {
16629
+ "type": "string"
16630
+ },
16631
+ "to_node": {
16632
+ "type": "string"
16633
+ },
16634
+ "consequence": {
16635
+ "type": "string"
16636
+ }
16637
+ },
16638
+ "required": [
16639
+ "forward",
16640
+ "to_node"
16641
+ ],
16642
+ "additionalProperties": false
16643
+ }
16644
+ }
16645
+ },
16646
+ "required": [
16647
+ "message",
16648
+ "options"
16649
+ ],
16650
+ "additionalProperties": false
16651
+ },
16652
+ "waiting_on": {
16653
+ "type": "array",
16654
+ "items": {
16655
+ "type": "object",
16656
+ "properties": {
16657
+ "role": {
16658
+ "type": "string"
16659
+ },
16660
+ "forwards": {
16661
+ "type": "array",
16662
+ "items": {
16663
+ "type": "string"
16664
+ }
16665
+ }
16666
+ },
16667
+ "required": [
16668
+ "role",
16669
+ "forwards"
16670
+ ],
16671
+ "additionalProperties": false
16672
+ },
16673
+ "description": "What the workflow is waiting on from OTHER roles."
16674
+ },
16675
+ "pending_claims": {
16676
+ "type": "array",
16677
+ "items": {
16678
+ "type": "object",
16679
+ "properties": {
16680
+ "kind": {
16681
+ "type": "string",
16682
+ "enum": [
16683
+ "reward",
16684
+ "discount",
16685
+ "compensation",
16686
+ "rating"
16687
+ ]
16688
+ },
16689
+ "label": {
16690
+ "type": "string"
16691
+ },
16692
+ "how": {
16693
+ "type": "string",
16694
+ "description": "How to claim (tool + operation hint)."
16695
+ }
16696
+ },
16697
+ "required": [
16698
+ "kind",
16699
+ "label",
16700
+ "how"
16701
+ ],
16702
+ "additionalProperties": false
16703
+ },
16704
+ "description": "Unclaimed benefits / post-purchase actions."
16705
+ },
16706
+ "interest_hints": {
16707
+ "type": "array",
16708
+ "items": {
16709
+ "type": "string"
16710
+ },
16711
+ "description": "Perspective-specific own-interest hints (fund-release trigger, settlement cycle, reputation)."
16712
+ },
16713
+ "workflow_unknown": {
16714
+ "type": "boolean",
16715
+ "description": "True when Machine data was unavailable — operable/waiting_on unknown."
16716
+ },
16717
+ "threshold": {
16718
+ "description": "Current pair's threshold (accumulated forward weights to advance).",
16719
+ "type": "integer",
16720
+ "minimum": 1,
16721
+ "maximum": 9007199254740991
16722
+ },
16723
+ "interest_analysis": {
16724
+ "description": "Role-specific interest analysis (fund_flow/responsibility/leverage/stakes) — present when order data is available. merchant → merchant-interest; supplier → supplier-interest; collaborator → collaborator-interest; customer → customer-interest. AI MUST surface it as neutral information; the role decides.",
16725
+ "type": "object",
16726
+ "properties": {
16727
+ "fund_flow": {
16728
+ "type": "array",
16729
+ "items": {
16730
+ "type": "string"
16731
+ },
16732
+ "description": "Where money sits and what releases it (escrow, Allocation waterfall, compensation_fund, or the role's non-settlement stake)."
16733
+ },
16734
+ "responsibility": {
16735
+ "type": "array",
16736
+ "items": {
16737
+ "type": "string"
16738
+ },
16739
+ "description": "What this account is semantically liable for right now (permission-gated forwards, guard obligations)."
16740
+ },
16741
+ "leverage": {
16742
+ "type": "array",
16743
+ "items": {
16744
+ "type": "string"
16745
+ },
16746
+ "description": "Actions serving the role's own interest (settlement speed, evidence pre-upload, Messenger nudge, arbitration). Informational only."
16747
+ },
16748
+ "stakes": {
16749
+ "type": "array",
16750
+ "items": {
16751
+ "type": "string"
16752
+ },
16753
+ "description": "Downside exposure (arbitration indemnity, arb-loss record, stall statistics, non-delivery, refund aftermath)."
16754
+ },
16755
+ "summary": {
16756
+ "type": "string",
16757
+ "description": "One-paragraph role-interest summary."
16758
+ }
16759
+ },
16760
+ "required": [
16761
+ "fund_flow",
16762
+ "responsibility",
16763
+ "leverage",
16764
+ "stakes",
16765
+ "summary"
16766
+ ],
16767
+ "additionalProperties": false
16768
+ },
16769
+ "summary": {
16770
+ "type": "string",
16771
+ "description": "One-paragraph AI-ready summary."
16772
+ },
16773
+ "attached_alerts": {
16774
+ "description": "Order-monitor alerts (stall/compensation/review-window) when radar_include_alerts=true.",
16775
+ "type": "array",
16776
+ "items": {
16777
+ "type": "object",
16778
+ "properties": {
16779
+ "id": {
16780
+ "type": "string"
16781
+ },
16782
+ "category": {
16783
+ "type": "string",
16784
+ "enum": [
16785
+ "progress_stall",
16786
+ "compensation_drop",
16787
+ "compensation_insufficient",
16788
+ "messenger_timeout",
16789
+ "user_action_required",
16790
+ "review_window",
16791
+ "arb_window",
16792
+ "refund_received",
16793
+ "anomaly"
16794
+ ]
16795
+ },
16796
+ "severity": {
16797
+ "type": "string",
16798
+ "enum": [
16799
+ "info",
16800
+ "warning",
16801
+ "critical"
16802
+ ]
16803
+ },
16804
+ "title": {
16805
+ "type": "string"
16806
+ },
16807
+ "message": {
16808
+ "type": "string"
16809
+ },
16810
+ "action": {
16811
+ "description": "Suggested next step.",
16812
+ "type": "string"
16813
+ },
16814
+ "timestamp": {
16815
+ "type": "number"
16816
+ },
16817
+ "order_id": {
16818
+ "type": "string"
16819
+ },
16820
+ "service_id": {
16821
+ "type": "string"
16822
+ },
16823
+ "node": {
16824
+ "type": "string"
16825
+ },
16826
+ "metric": {
16827
+ "type": "object",
16828
+ "properties": {
16829
+ "label": {
16830
+ "type": "string"
16831
+ },
16832
+ "value": {
16833
+ "type": "number"
16834
+ },
16835
+ "threshold": {
16836
+ "type": "number"
16837
+ },
16838
+ "unit": {
16839
+ "type": "string"
16840
+ }
16841
+ },
16842
+ "required": [
16843
+ "label",
16844
+ "value"
16845
+ ],
16846
+ "additionalProperties": false
16847
+ }
16848
+ },
16849
+ "required": [
16850
+ "id",
16851
+ "category",
16852
+ "severity",
16853
+ "title",
16854
+ "message",
16855
+ "timestamp"
16856
+ ],
16857
+ "additionalProperties": false
16858
+ }
16859
+ }
16860
+ },
16861
+ "required": [
16862
+ "account",
16863
+ "progress",
16864
+ "current_node",
16865
+ "perspective",
16866
+ "roles",
16867
+ "operable",
16868
+ "waiting_on",
16869
+ "pending_claims",
16870
+ "interest_hints",
16871
+ "workflow_unknown",
16872
+ "summary"
16873
+ ],
16874
+ "additionalProperties": false
16875
+ },
16876
+ "description": "Orders where the account can act NOW or has pending claims (customer perspective first)."
16877
+ },
16878
+ "waiting": {
16879
+ "type": "array",
16880
+ "items": {
16881
+ "type": "object",
16882
+ "properties": {
16883
+ "account": {
16884
+ "type": "string"
16885
+ },
16886
+ "progress": {
16887
+ "type": "string"
16888
+ },
16889
+ "order": {
16890
+ "type": "string"
16891
+ },
16892
+ "current_node": {
16893
+ "type": "string",
16894
+ "description": "Current node name ('' = entry, not yet started)."
16895
+ },
16896
+ "perspective": {
16897
+ "type": "string",
16898
+ "enum": [
16899
+ "merchant",
16900
+ "customer",
16901
+ "prospect",
16902
+ "supplier",
16903
+ "collaborator",
16904
+ "arbitrator"
16905
+ ],
16906
+ "description": "Derived commercial role from on-chain data (Order.builder + PermissionPerm grants + named operators), never caller-asserted."
16907
+ },
16908
+ "collaborator_kind": {
16909
+ "description": "Collaborator sub-kind when perspective === 'collaborator' (internal staff vs external operator).",
16910
+ "type": "string",
16911
+ "enum": [
16912
+ "permission_entity",
16913
+ "named_operator"
16914
+ ]
16915
+ },
16916
+ "roles": {
16917
+ "type": "array",
16918
+ "items": {
16919
+ "type": "object",
16920
+ "properties": {
16921
+ "label": {
16922
+ "type": "string"
16923
+ },
16924
+ "can_act_now": {
16925
+ "type": "boolean"
16926
+ }
16927
+ },
16928
+ "required": [
16929
+ "label",
16930
+ "can_act_now"
16931
+ ],
16932
+ "additionalProperties": false
16933
+ },
16934
+ "description": "All roles this account holds on this order's workflow."
16935
+ },
16936
+ "operable": {
16937
+ "type": "array",
16938
+ "items": {
16939
+ "type": "object",
16940
+ "properties": {
16941
+ "name": {
16942
+ "type": "string",
16943
+ "description": "Forward (operation) name."
16944
+ },
16945
+ "to_node": {
16946
+ "type": "string",
16947
+ "description": "Target node after execution."
16948
+ },
16949
+ "execution_path": {
16950
+ "type": "string",
16951
+ "enum": [
16952
+ "order_holder",
16953
+ "permission",
16954
+ "named_operator",
16955
+ "not_available"
16956
+ ],
16957
+ "description": "How this account may execute it (not_available if it can't)."
16958
+ },
16959
+ "permission_index": {
16960
+ "description": "Permission index required (if permission-gated).",
16961
+ "type": "number"
16962
+ },
16963
+ "named_operator": {
16964
+ "description": "Named operator (LocalMark name) required (if named-gated).",
16965
+ "type": "string"
16966
+ },
16967
+ "guard": {
16968
+ "description": "Guard address gating this forward.",
16969
+ "type": "string"
16970
+ },
16971
+ "semantics": {
16972
+ "type": "string",
16973
+ "description": "Human explanation of what executing this forward means."
16974
+ },
16975
+ "consequence": {
16976
+ "description": "Consequence hint (completion fund-release / refund path).",
16977
+ "type": "string"
16978
+ },
16979
+ "weight": {
16980
+ "description": "Forward weight (accumulates toward the pair's threshold).",
16981
+ "type": "number"
16982
+ }
16983
+ },
16984
+ "required": [
16985
+ "name",
16986
+ "to_node",
16987
+ "execution_path",
16988
+ "semantics"
16989
+ ],
16990
+ "additionalProperties": false
16991
+ },
16992
+ "description": "Forwards THIS account can execute NOW (branch options if >1)."
16993
+ },
16994
+ "branch_choice": {
16995
+ "description": "Present when >1 operable forward. AI MUST present options neutrally; the role decides.",
16996
+ "type": "object",
16997
+ "properties": {
16998
+ "message": {
16999
+ "type": "string"
17000
+ },
17001
+ "options": {
17002
+ "type": "array",
17003
+ "items": {
17004
+ "type": "object",
17005
+ "properties": {
17006
+ "forward": {
17007
+ "type": "string"
17008
+ },
17009
+ "to_node": {
17010
+ "type": "string"
17011
+ },
17012
+ "consequence": {
17013
+ "type": "string"
17014
+ }
17015
+ },
17016
+ "required": [
17017
+ "forward",
17018
+ "to_node"
17019
+ ],
17020
+ "additionalProperties": false
17021
+ }
17022
+ }
17023
+ },
17024
+ "required": [
17025
+ "message",
17026
+ "options"
17027
+ ],
17028
+ "additionalProperties": false
17029
+ },
17030
+ "waiting_on": {
17031
+ "type": "array",
17032
+ "items": {
17033
+ "type": "object",
17034
+ "properties": {
17035
+ "role": {
17036
+ "type": "string"
17037
+ },
17038
+ "forwards": {
17039
+ "type": "array",
17040
+ "items": {
17041
+ "type": "string"
17042
+ }
17043
+ }
17044
+ },
17045
+ "required": [
17046
+ "role",
17047
+ "forwards"
17048
+ ],
17049
+ "additionalProperties": false
17050
+ },
17051
+ "description": "What the workflow is waiting on from OTHER roles."
17052
+ },
17053
+ "pending_claims": {
17054
+ "type": "array",
17055
+ "items": {
17056
+ "type": "object",
17057
+ "properties": {
17058
+ "kind": {
17059
+ "type": "string",
17060
+ "enum": [
17061
+ "reward",
17062
+ "discount",
17063
+ "compensation",
17064
+ "rating"
17065
+ ]
17066
+ },
17067
+ "label": {
17068
+ "type": "string"
17069
+ },
17070
+ "how": {
17071
+ "type": "string",
17072
+ "description": "How to claim (tool + operation hint)."
17073
+ }
17074
+ },
17075
+ "required": [
17076
+ "kind",
17077
+ "label",
17078
+ "how"
17079
+ ],
17080
+ "additionalProperties": false
17081
+ },
17082
+ "description": "Unclaimed benefits / post-purchase actions."
17083
+ },
17084
+ "interest_hints": {
17085
+ "type": "array",
17086
+ "items": {
17087
+ "type": "string"
17088
+ },
17089
+ "description": "Perspective-specific own-interest hints (fund-release trigger, settlement cycle, reputation)."
17090
+ },
17091
+ "workflow_unknown": {
17092
+ "type": "boolean",
17093
+ "description": "True when Machine data was unavailable — operable/waiting_on unknown."
17094
+ },
17095
+ "threshold": {
17096
+ "description": "Current pair's threshold (accumulated forward weights to advance).",
17097
+ "type": "integer",
17098
+ "minimum": 1,
17099
+ "maximum": 9007199254740991
17100
+ },
17101
+ "interest_analysis": {
17102
+ "description": "Role-specific interest analysis (fund_flow/responsibility/leverage/stakes) — present when order data is available. merchant → merchant-interest; supplier → supplier-interest; collaborator → collaborator-interest; customer → customer-interest. AI MUST surface it as neutral information; the role decides.",
17103
+ "type": "object",
17104
+ "properties": {
17105
+ "fund_flow": {
17106
+ "type": "array",
17107
+ "items": {
17108
+ "type": "string"
17109
+ },
17110
+ "description": "Where money sits and what releases it (escrow, Allocation waterfall, compensation_fund, or the role's non-settlement stake)."
17111
+ },
17112
+ "responsibility": {
17113
+ "type": "array",
17114
+ "items": {
17115
+ "type": "string"
17116
+ },
17117
+ "description": "What this account is semantically liable for right now (permission-gated forwards, guard obligations)."
17118
+ },
17119
+ "leverage": {
17120
+ "type": "array",
17121
+ "items": {
17122
+ "type": "string"
17123
+ },
17124
+ "description": "Actions serving the role's own interest (settlement speed, evidence pre-upload, Messenger nudge, arbitration). Informational only."
17125
+ },
17126
+ "stakes": {
17127
+ "type": "array",
17128
+ "items": {
17129
+ "type": "string"
17130
+ },
17131
+ "description": "Downside exposure (arbitration indemnity, arb-loss record, stall statistics, non-delivery, refund aftermath)."
17132
+ },
17133
+ "summary": {
17134
+ "type": "string",
17135
+ "description": "One-paragraph role-interest summary."
17136
+ }
17137
+ },
17138
+ "required": [
17139
+ "fund_flow",
17140
+ "responsibility",
17141
+ "leverage",
17142
+ "stakes",
17143
+ "summary"
17144
+ ],
17145
+ "additionalProperties": false
17146
+ },
17147
+ "summary": {
17148
+ "type": "string",
17149
+ "description": "One-paragraph AI-ready summary."
17150
+ },
17151
+ "attached_alerts": {
17152
+ "description": "Order-monitor alerts (stall/compensation/review-window) when radar_include_alerts=true.",
17153
+ "type": "array",
17154
+ "items": {
17155
+ "type": "object",
17156
+ "properties": {
17157
+ "id": {
17158
+ "type": "string"
17159
+ },
17160
+ "category": {
17161
+ "type": "string",
17162
+ "enum": [
17163
+ "progress_stall",
17164
+ "compensation_drop",
17165
+ "compensation_insufficient",
17166
+ "messenger_timeout",
17167
+ "user_action_required",
17168
+ "review_window",
17169
+ "arb_window",
17170
+ "refund_received",
17171
+ "anomaly"
17172
+ ]
17173
+ },
17174
+ "severity": {
17175
+ "type": "string",
17176
+ "enum": [
17177
+ "info",
17178
+ "warning",
17179
+ "critical"
17180
+ ]
17181
+ },
17182
+ "title": {
17183
+ "type": "string"
17184
+ },
17185
+ "message": {
17186
+ "type": "string"
17187
+ },
17188
+ "action": {
17189
+ "description": "Suggested next step.",
17190
+ "type": "string"
17191
+ },
17192
+ "timestamp": {
17193
+ "type": "number"
17194
+ },
17195
+ "order_id": {
17196
+ "type": "string"
17197
+ },
17198
+ "service_id": {
17199
+ "type": "string"
17200
+ },
17201
+ "node": {
17202
+ "type": "string"
17203
+ },
17204
+ "metric": {
17205
+ "type": "object",
17206
+ "properties": {
17207
+ "label": {
17208
+ "type": "string"
17209
+ },
17210
+ "value": {
17211
+ "type": "number"
17212
+ },
17213
+ "threshold": {
17214
+ "type": "number"
17215
+ },
17216
+ "unit": {
17217
+ "type": "string"
17218
+ }
17219
+ },
17220
+ "required": [
17221
+ "label",
17222
+ "value"
17223
+ ],
17224
+ "additionalProperties": false
17225
+ }
17226
+ },
17227
+ "required": [
17228
+ "id",
17229
+ "category",
17230
+ "severity",
17231
+ "title",
17232
+ "message",
17233
+ "timestamp"
17234
+ ],
17235
+ "additionalProperties": false
17236
+ }
17237
+ }
17238
+ },
17239
+ "required": [
17240
+ "account",
17241
+ "progress",
17242
+ "current_node",
17243
+ "perspective",
17244
+ "roles",
17245
+ "operable",
17246
+ "waiting_on",
17247
+ "pending_claims",
17248
+ "interest_hints",
17249
+ "workflow_unknown",
17250
+ "summary"
17251
+ ],
17252
+ "additionalProperties": false
17253
+ },
17254
+ "description": "Orders where the account is only waiting on other roles."
17255
+ },
17256
+ "all_pending_claims": {
17257
+ "type": "array",
17258
+ "items": {
17259
+ "type": "object",
17260
+ "properties": {
17261
+ "kind": {
17262
+ "type": "string",
17263
+ "enum": [
17264
+ "reward",
17265
+ "discount",
17266
+ "compensation",
17267
+ "rating"
17268
+ ]
17269
+ },
17270
+ "label": {
17271
+ "type": "string"
17272
+ },
17273
+ "how": {
17274
+ "type": "string",
17275
+ "description": "How to claim (tool + operation hint)."
17276
+ },
17277
+ "progress": {
17278
+ "type": "string"
17279
+ }
17280
+ },
17281
+ "required": [
17282
+ "kind",
17283
+ "label",
17284
+ "how",
17285
+ "progress"
17286
+ ],
17287
+ "additionalProperties": false
17288
+ },
17289
+ "description": "All pending claims across orders, tagged with their Progress address."
17290
+ },
17291
+ "unread_messages_total": {
17292
+ "type": "number",
17293
+ "description": "Unread Messenger messages total across all conversations of the radar account (local encrypted storage, read-only — never marks messages viewed; 0 with a data_gaps note when the account is not a local messenger account)."
17294
+ },
17295
+ "data_gaps": {
17296
+ "type": "array",
17297
+ "items": {
17298
+ "type": "string"
17299
+ },
17300
+ "description": "Graceful degradation notes (e.g. 'Order 0x… not found', 'Machine nodes unavailable')."
17301
+ },
17302
+ "summary": {
17303
+ "type": "string",
17304
+ "description": "Account-level dashboard summary."
17305
+ }
17306
+ },
17307
+ "required": [
17308
+ "action",
17309
+ "account",
17310
+ "orders_analyzed",
17311
+ "actionable",
17312
+ "waiting",
17313
+ "all_pending_claims",
17314
+ "unread_messages_total",
17315
+ "data_gaps",
17316
+ "summary"
17317
+ ],
17318
+ "additionalProperties": false
17319
+ }
17320
+ },
17321
+ "required": [
17322
+ "query_type",
17323
+ "result"
17324
+ ],
17325
+ "additionalProperties": false
17326
+ },
17327
+ {
17328
+ "type": "object",
17329
+ "properties": {
17330
+ "query_type": {
17331
+ "type": "string",
17332
+ "const": "workspace_lists"
17333
+ },
17334
+ "result": {
17335
+ "description": "WorkspaceListsResult (treasuries/repositories/contacts/machines/rewards/others item lists + counts)."
17336
+ }
17337
+ },
17338
+ "required": [
17339
+ "query_type",
17340
+ "result"
17341
+ ],
17342
+ "additionalProperties": false
17343
+ },
17344
+ {
17345
+ "type": "object",
17346
+ "properties": {
17347
+ "query_type": {
17348
+ "type": "string",
17349
+ "const": "marks_of_account"
17350
+ },
17351
+ "result": {
17352
+ "description": "AccountMarksResult (marks rows in the workspace_lists item shape: object + object_type + name + time + description + tags, plus active vote_kinds like/dislike/favor)."
17353
+ }
17354
+ },
17355
+ "required": [
17356
+ "query_type",
17357
+ "result"
17358
+ ],
17359
+ "additionalProperties": false
16101
17360
  }
16102
17361
  ]
16103
17362
  },
@@ -16501,10 +17760,10 @@
16501
17760
  "items": {
16502
17761
  "type": "string"
16503
17762
  },
16504
- "description": "Phase 2 services currently active (enabled). Example: ['confirm_gate','project_service','experience_layer']"
17763
+ "description": "Phase 2 services currently active (enabled). Example: ['confirm_gate','experience_layer']"
16505
17764
  },
16506
17765
  "inactive": {
16507
- "description": "Phase 2 services currently inactive (can be toggled via config_operation). Example: ['harness','graph_persist']",
17766
+ "description": "Phase 2 services currently inactive (can be toggled via config_operation). Example: ['harness']",
16508
17767
  "type": "array",
16509
17768
  "items": {
16510
17769
  "type": "string"