@wowok/agent-mcp 2.7.7 → 2.7.8

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 (239) hide show
  1. package/dist/customer/index.d.ts +3 -4
  2. package/dist/customer/index.js +1 -1
  3. package/dist/customer/info-puzzle.js +1 -1
  4. package/dist/customer/order-monitor.d.ts +0 -9
  5. package/dist/customer/order-monitor.js +1 -1
  6. package/dist/customer/order-strategy.d.ts +0 -19
  7. package/dist/customer/order-strategy.js +1 -1
  8. package/dist/customer/reminder-system.d.ts +0 -5
  9. package/dist/customer/reminder-system.js +1 -1
  10. package/dist/evaluation/game-strategy.js +1 -1
  11. package/dist/evaluation/injection.d.ts +6 -0
  12. package/dist/evaluation/injection.js +1 -0
  13. package/dist/evaluation/node-game.js +1 -1
  14. package/dist/examples/machine-multisig-threshold.json +1 -0
  15. package/dist/harness/recover.js +1 -1
  16. package/dist/harness/types.d.ts +1 -1
  17. package/dist/harness/verify.js +1 -1
  18. package/dist/intent/enrich.js +1 -1
  19. package/dist/intent/matcher.js +1 -1
  20. package/dist/intent/types.d.ts +1 -1
  21. package/dist/intent/types.js +1 -1
  22. package/dist/knowledge/arbitration-ledger.js +1 -1
  23. package/dist/knowledge/contract-invariants.d.ts +53 -0
  24. package/dist/knowledge/contract-invariants.js +1 -0
  25. package/dist/knowledge/deployment-scanner.js +1 -1
  26. package/dist/knowledge/dynamic-pricing.d.ts +0 -2
  27. package/dist/knowledge/dynamic-pricing.js +1 -1
  28. package/dist/knowledge/event-semantics.d.ts +20 -0
  29. package/dist/knowledge/event-semantics.js +1 -0
  30. package/dist/knowledge/examples-scanner-cli.js +1 -1
  31. package/dist/knowledge/examples-scanner.js +1 -1
  32. package/dist/knowledge/glossary.js +1 -1
  33. package/dist/knowledge/guard-submission-prompt.js +1 -1
  34. package/dist/knowledge/immutability.d.ts +11 -0
  35. package/dist/knowledge/immutability.js +1 -0
  36. package/dist/knowledge/index.d.ts +12 -6
  37. package/dist/knowledge/index.js +1 -1
  38. package/dist/knowledge/industry-registry.js +1 -1
  39. package/dist/knowledge/intent-metrics.d.ts +1 -1
  40. package/dist/knowledge/jsonrpc-enum.d.ts +37 -0
  41. package/dist/knowledge/jsonrpc-enum.js +1 -0
  42. package/dist/knowledge/machine-confirm.js +1 -1
  43. package/dist/knowledge/machine-risk.js +1 -1
  44. package/dist/knowledge/machine-topology.d.ts +11 -0
  45. package/dist/knowledge/machine-topology.js +1 -1
  46. package/dist/knowledge/machine-translation.js +1 -1
  47. package/dist/knowledge/market-metrics.d.ts +11 -0
  48. package/dist/knowledge/market-metrics.js +1 -1
  49. package/dist/knowledge/mcp-schema-audit-cli.js +1 -1
  50. package/dist/knowledge/mcp-schema-audit.d.ts +1 -0
  51. package/dist/knowledge/mcp-schema-audit.js +1 -1
  52. package/dist/knowledge/messenger-guard-guidance.d.ts +17 -0
  53. package/dist/knowledge/messenger-guard-guidance.js +1 -0
  54. package/dist/knowledge/operation-dictionary.d.ts +18 -0
  55. package/dist/knowledge/operation-dictionary.js +1 -0
  56. package/dist/knowledge/service-ledger.js +1 -1
  57. package/dist/knowledge/service-risk.js +1 -1
  58. package/dist/knowledge/service-translation.js +1 -1
  59. package/dist/knowledge/supply-chain.d.ts +24 -0
  60. package/dist/knowledge/supply-chain.js +1 -0
  61. package/dist/knowledge/template-registry.js +1 -1
  62. package/dist/knowledge/tools-reference.js +1 -1
  63. package/dist/knowledge/trust-metrics.d.ts +27 -2
  64. package/dist/knowledge/trust-metrics.js +1 -1
  65. package/dist/knowledge/workflow-guidance.d.ts +22 -1
  66. package/dist/knowledge/workflow-guidance.js +1 -1
  67. package/dist/monitor/EventStore.d.ts +78 -0
  68. package/dist/monitor/EventStore.js +1 -0
  69. package/dist/participation/radar-core.d.ts +0 -1
  70. package/dist/participation/radar-core.js +1 -1
  71. package/dist/persona/address-format.d.ts +6 -0
  72. package/dist/persona/address-format.js +1 -0
  73. package/dist/persona/analyzer.js +1 -1
  74. package/dist/persona/index.d.ts +3 -0
  75. package/dist/persona/index.js +1 -1
  76. package/dist/persona/types.d.ts +1 -1
  77. package/dist/persona/types.js +1 -1
  78. package/dist/project/business-puzzle.js +1 -1
  79. package/dist/project/edit-planner.js +1 -1
  80. package/dist/project/evaluation.js +1 -1
  81. package/dist/project/graph-builder.js +1 -1
  82. package/dist/project/handlers.d.ts +2 -18
  83. package/dist/project/handlers.js +1 -1
  84. package/dist/project/index.js +1 -1
  85. package/dist/project/machine-nodes.d.ts +23 -0
  86. package/dist/project/machine-nodes.js +1 -1
  87. package/dist/project/machine-panorama.d.ts +41 -0
  88. package/dist/project/machine-panorama.js +1 -0
  89. package/dist/project/object-panorama.d.ts +179 -0
  90. package/dist/project/object-panorama.js +1 -0
  91. package/dist/project/object-type.d.ts +1 -0
  92. package/dist/project/object-type.js +1 -0
  93. package/dist/project/participation-radar.js +1 -1
  94. package/dist/project/semantic-assembler.js +1 -1
  95. package/dist/project/service-panorama.d.ts +180 -0
  96. package/dist/project/service-panorama.js +1 -0
  97. package/dist/project/stage-gate.d.ts +0 -1
  98. package/dist/project/stage-gate.js +1 -1
  99. package/dist/project/task-tracker.d.ts +4 -0
  100. package/dist/project/task-tracker.js +1 -1
  101. package/dist/role/derivation.d.ts +19 -2
  102. package/dist/role/derivation.js +1 -1
  103. package/dist/role/index.d.ts +2 -2
  104. package/dist/role/index.js +1 -1
  105. package/dist/role/model.js +1 -1
  106. package/dist/role/resolution.d.ts +16 -0
  107. package/dist/role/resolution.js +1 -1
  108. package/dist/role/types.d.ts +1 -1
  109. package/dist/role/types.js +1 -1
  110. package/dist/safety/confirm-gate.js +1 -1
  111. package/dist/schema/call/allocation.d.ts +1 -0
  112. package/dist/schema/call/arbitration.d.ts +4 -3
  113. package/dist/schema/call/arbitration.js +1 -1
  114. package/dist/schema/call/base.d.ts +16 -0
  115. package/dist/schema/call/base.js +1 -1
  116. package/dist/schema/call/bridge.d.ts +7 -0
  117. package/dist/schema/call/contact.d.ts +1 -0
  118. package/dist/schema/call/demand.d.ts +1 -0
  119. package/dist/schema/call/guard.d.ts +3 -0
  120. package/dist/schema/call/handler.js +1 -1
  121. package/dist/schema/call/machine.d.ts +2 -0
  122. package/dist/schema/call/machine.js +1 -1
  123. package/dist/schema/call/order.d.ts +1 -0
  124. package/dist/schema/call/payment.d.ts +1 -0
  125. package/dist/schema/call/permission.d.ts +1 -0
  126. package/dist/schema/call/personal.d.ts +38 -0
  127. package/dist/schema/call/personal.js +1 -1
  128. package/dist/schema/call/progress.d.ts +1 -0
  129. package/dist/schema/call/proof.d.ts +2 -0
  130. package/dist/schema/call/repository.d.ts +5 -4
  131. package/dist/schema/call/reward.d.ts +1 -12
  132. package/dist/schema/call/reward.js +1 -1
  133. package/dist/schema/call/semantic.d.ts +3 -2
  134. package/dist/schema/call/semantic.js +1 -1
  135. package/dist/schema/call/service.d.ts +1 -0
  136. package/dist/schema/call/service.js +1 -1
  137. package/dist/schema/call/treasury.d.ts +1 -0
  138. package/dist/schema/common/index.js +1 -1
  139. package/dist/schema/evaluation/index.d.ts +146 -0
  140. package/dist/schema/evaluation/index.js +1 -1
  141. package/dist/schema/index.d.ts +1 -0
  142. package/dist/schema/index.js +1 -1
  143. package/dist/schema/intent-radar/index.d.ts +30 -3
  144. package/dist/schema/intent-radar/index.js +1 -1
  145. package/dist/schema/local/index.d.ts +9 -0
  146. package/dist/schema/local/index.js +1 -1
  147. package/dist/schema/messenger/index.d.ts +54 -0
  148. package/dist/schema/messenger/index.js +1 -1
  149. package/dist/schema/operations.d.ts +864 -8
  150. package/dist/schema/operations.js +1 -1
  151. package/dist/schema/permission/index.d.ts +17 -0
  152. package/dist/schema/permission/index.js +1 -1
  153. package/dist/schema/project/index.d.ts +6 -0
  154. package/dist/schema/project/index.js +1 -1
  155. package/dist/schema/query/index.d.ts +658 -56
  156. package/dist/schema/query/index.js +1 -1
  157. package/dist/schema/schema-version.js +1 -1
  158. package/dist/schema/trust/index.d.ts +17 -0
  159. package/dist/schema/trust/index.js +1 -1
  160. package/dist/schema/watch/index.d.ts +204 -0
  161. package/dist/schema/watch/index.js +1 -0
  162. package/dist/schema/workflow/index.d.ts +301 -0
  163. package/dist/schema/workflow/index.js +1 -1
  164. package/dist/schema-query-impl/index.js +1 -1
  165. package/dist/schemas/account_operation.output.json +5 -2
  166. package/dist/schemas/bridge_operation.output.json +5 -2
  167. package/dist/schemas/bridge_operation.schema.json +25 -9
  168. package/dist/schemas/evaluation_operation.output.json +276 -1
  169. package/dist/schemas/evaluation_operation.schema.json +307 -0
  170. package/dist/schemas/guard2file.schema.json +6 -2
  171. package/dist/schemas/index.json +13 -1
  172. package/dist/schemas/intent_radar.output.json +20 -2
  173. package/dist/schemas/intent_radar.schema.json +10 -1
  174. package/dist/schemas/local_info_operation.output.json +5 -2
  175. package/dist/schemas/local_mark_operation.output.json +5 -2
  176. package/dist/schemas/machineNode2file.schema.json +6 -2
  177. package/dist/schemas/messenger_operation.output.json +105 -2
  178. package/dist/schemas/messenger_operation.schema.json +98 -0
  179. package/dist/schemas/monitor_events.output.json +1360 -0
  180. package/dist/schemas/monitor_events.schema.json +62 -0
  181. package/dist/schemas/onchain_events.output.json +237 -14
  182. package/dist/schemas/onchain_events.schema.json +20 -0
  183. package/dist/schemas/onchain_operations.output.json +10 -5
  184. package/dist/schemas/onchain_operations.schema.json +511 -419
  185. package/dist/schemas/onchain_operations_allocation.schema.json +11 -7
  186. package/dist/schemas/onchain_operations_arbitration.schema.json +14 -9
  187. package/dist/schemas/onchain_operations_contact.schema.json +9 -5
  188. package/dist/schemas/onchain_operations_demand.schema.json +9 -5
  189. package/dist/schemas/onchain_operations_gen_passport.schema.json +6 -2
  190. package/dist/schemas/onchain_operations_gen_proof.schema.json +6 -2
  191. package/dist/schemas/onchain_operations_guard.schema.json +6 -2
  192. package/dist/schemas/onchain_operations_machine.schema.json +14 -10
  193. package/dist/schemas/onchain_operations_order.schema.json +9 -5
  194. package/dist/schemas/onchain_operations_payment.schema.json +7 -3
  195. package/dist/schemas/onchain_operations_permission.schema.json +9 -5
  196. package/dist/schemas/onchain_operations_personal.schema.json +44 -2
  197. package/dist/schemas/onchain_operations_progress.schema.json +9 -5
  198. package/dist/schemas/onchain_operations_proof.schema.json +6 -2
  199. package/dist/schemas/onchain_operations_repository.schema.json +290 -305
  200. package/dist/schemas/onchain_operations_reward.schema.json +14 -10
  201. package/dist/schemas/onchain_operations_service.schema.json +17 -13
  202. package/dist/schemas/onchain_operations_treasury.schema.json +14 -10
  203. package/dist/schemas/onchain_table_data.output.json +3750 -208
  204. package/dist/schemas/onchain_table_data.schema.json +311 -0
  205. package/dist/schemas/permission_operation.output.json +32 -0
  206. package/dist/schemas/project_operation.schema.json +14 -8
  207. package/dist/schemas/query_toolkit.output.json +405 -320
  208. package/dist/schemas/query_toolkit.schema.json +139 -1
  209. package/dist/schemas/trust_score.output.json +38 -0
  210. package/dist/schemas/trust_score.schema.json +32 -0
  211. package/dist/schemas/watch_operation.output.json +827 -0
  212. package/dist/schemas/watch_operation.schema.json +145 -0
  213. package/dist/schemas/workflow_operation.output.json +263 -5
  214. package/dist/schemas/workflow_operation.schema.json +597 -2
  215. package/dist/tools/handlers/config.js +1 -1
  216. package/dist/tools/handlers/evaluation.js +1 -1
  217. package/dist/tools/handlers/intent-radar.js +1 -1
  218. package/dist/tools/handlers/messenger.js +1 -1
  219. package/dist/tools/handlers/monitor.d.ts +2 -0
  220. package/dist/tools/handlers/monitor.js +1 -0
  221. package/dist/tools/handlers/onchain.js +1 -1
  222. package/dist/tools/handlers/permission.js +1 -1
  223. package/dist/tools/handlers/project.js +1 -1
  224. package/dist/tools/handlers/query.js +1 -1
  225. package/dist/tools/handlers/trust.d.ts +14 -0
  226. package/dist/tools/handlers/trust.js +1 -1
  227. package/dist/tools/handlers/watch.d.ts +2 -0
  228. package/dist/tools/handlers/watch.js +1 -0
  229. package/dist/tools/handlers/workflow.js +1 -1
  230. package/dist/tools/index.d.ts +2 -0
  231. package/dist/tools/index.js +1 -1
  232. package/dist/tools/shared.js +1 -1
  233. package/package.json +2 -2
  234. package/dist/customer/post-purchase.d.ts +0 -44
  235. package/dist/customer/post-purchase.js +0 -1
  236. package/dist/project/migration.d.ts +0 -22
  237. package/dist/project/migration.js +0 -1
  238. package/dist/project/rollback-policy.d.ts +0 -45
  239. package/dist/project/rollback-policy.js +0 -1
@@ -0,0 +1,827 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "$id": "https://wowok.net/schemas/watch_operation.output.json",
4
+ "title": "Watch - Identity-Centric On-chain Console",
5
+ "description": "Identity-centric on-chain console (K3 23). Read-only. Resolves the active account's identity against a focus object, then layers base data, relation expansion, actionable operations, and four-stage reasoning. Actions: focus / expand / actions / reason.",
6
+ "oneOf": [
7
+ {
8
+ "type": "object",
9
+ "properties": {
10
+ "action": {
11
+ "type": "string",
12
+ "const": "focus"
13
+ },
14
+ "result": {
15
+ "type": "object",
16
+ "properties": {
17
+ "object": {
18
+ "anyOf": [
19
+ {
20
+ "type": "object",
21
+ "properties": {
22
+ "address": {
23
+ "type": "string",
24
+ "description": "Object address (or the resolved address for a name input)."
25
+ },
26
+ "object_type": {
27
+ "type": "string",
28
+ "description": "Normalized short object type (e.g. Service, Order, Progress, Demand, Arbitration)."
29
+ },
30
+ "name": {
31
+ "description": "Human-readable name / LocalMark name if resolvable.",
32
+ "type": "string"
33
+ },
34
+ "fields": {
35
+ "type": "object",
36
+ "propertyNames": {
37
+ "type": "string"
38
+ },
39
+ "additionalProperties": {},
40
+ "description": "Raw on-chain fields of interest (subset of the object data)."
41
+ }
42
+ },
43
+ "required": [
44
+ "address",
45
+ "object_type",
46
+ "fields"
47
+ ],
48
+ "additionalProperties": false
49
+ },
50
+ {
51
+ "type": "null"
52
+ }
53
+ ],
54
+ "description": "Focused object base data (null when unresolvable)."
55
+ },
56
+ "role": {
57
+ "type": "object",
58
+ "properties": {
59
+ "manifest_role": {
60
+ "type": "string",
61
+ "description": "On-chain derived role (may be 'neutral' when the account has no operative relationship)."
62
+ },
63
+ "latent_role": {
64
+ "description": "Persona identity-preference role, if a non-system persona is set.",
65
+ "type": "string"
66
+ },
67
+ "participation_role": {
68
+ "type": "string",
69
+ "description": "Authoritative role for participation/operation — ALWAYS manifest_role."
70
+ },
71
+ "evaluation_role": {
72
+ "type": "string",
73
+ "description": "Role for evaluation injection — latent preference when set, else manifest."
74
+ },
75
+ "conflicting": {
76
+ "type": "boolean",
77
+ "description": "True when the latent persona role disagrees with the manifest role."
78
+ },
79
+ "reason_direction": {
80
+ "type": "string",
81
+ "enum": [
82
+ "objective",
83
+ "game"
84
+ ],
85
+ "description": "objective = only narrate facts; game = full four-stage reasoning."
86
+ },
87
+ "derivation": {
88
+ "type": "string",
89
+ "description": "Traceable derivation basis from the manifest role."
90
+ },
91
+ "note": {
92
+ "type": "string",
93
+ "description": "Human-readable resolution note."
94
+ }
95
+ },
96
+ "required": [
97
+ "manifest_role",
98
+ "participation_role",
99
+ "evaluation_role",
100
+ "conflicting",
101
+ "reason_direction",
102
+ "derivation",
103
+ "note"
104
+ ],
105
+ "additionalProperties": false,
106
+ "description": "Resolved identity of the account against the focus object."
107
+ }
108
+ },
109
+ "required": [
110
+ "object",
111
+ "role"
112
+ ],
113
+ "additionalProperties": false
114
+ }
115
+ },
116
+ "required": [
117
+ "action",
118
+ "result"
119
+ ],
120
+ "additionalProperties": false
121
+ },
122
+ {
123
+ "type": "object",
124
+ "properties": {
125
+ "action": {
126
+ "type": "string",
127
+ "const": "expand"
128
+ },
129
+ "result": {
130
+ "type": "object",
131
+ "properties": {
132
+ "object": {
133
+ "anyOf": [
134
+ {
135
+ "type": "object",
136
+ "properties": {
137
+ "address": {
138
+ "type": "string",
139
+ "description": "Object address (or the resolved address for a name input)."
140
+ },
141
+ "object_type": {
142
+ "type": "string",
143
+ "description": "Normalized short object type (e.g. Service, Order, Progress, Demand, Arbitration)."
144
+ },
145
+ "name": {
146
+ "description": "Human-readable name / LocalMark name if resolvable.",
147
+ "type": "string"
148
+ },
149
+ "fields": {
150
+ "type": "object",
151
+ "propertyNames": {
152
+ "type": "string"
153
+ },
154
+ "additionalProperties": {},
155
+ "description": "Raw on-chain fields of interest (subset of the object data)."
156
+ }
157
+ },
158
+ "required": [
159
+ "address",
160
+ "object_type",
161
+ "fields"
162
+ ],
163
+ "additionalProperties": false
164
+ },
165
+ {
166
+ "type": "null"
167
+ }
168
+ ],
169
+ "description": "Focused object base data (null when unresolvable)."
170
+ },
171
+ "relations": {
172
+ "type": "array",
173
+ "items": {
174
+ "type": "object",
175
+ "properties": {
176
+ "relation": {
177
+ "type": "string",
178
+ "description": "Relationship kind (e.g. machine, permission, arbitration, order, sub_service)."
179
+ },
180
+ "target": {
181
+ "type": "string",
182
+ "description": "Related object address."
183
+ },
184
+ "target_type": {
185
+ "type": "string",
186
+ "description": "Normalized short type of the related object."
187
+ },
188
+ "note": {
189
+ "description": "Semantic note for the relation.",
190
+ "type": "string"
191
+ }
192
+ },
193
+ "required": [
194
+ "relation",
195
+ "target",
196
+ "target_type"
197
+ ],
198
+ "additionalProperties": false
199
+ },
200
+ "description": "Direct relations out of the focus object."
201
+ },
202
+ "supply_chain": {
203
+ "description": "Transparent sub-order purchasing graph (present when the focus is a Service with purchasing-commitment guards).",
204
+ "type": "object",
205
+ "properties": {
206
+ "service": {
207
+ "type": "string"
208
+ },
209
+ "machine": {
210
+ "type": "string"
211
+ },
212
+ "edges": {
213
+ "type": "array",
214
+ "items": {
215
+ "type": "object",
216
+ "properties": {
217
+ "node": {
218
+ "type": "string"
219
+ },
220
+ "prev_node": {
221
+ "type": "string"
222
+ },
223
+ "forward": {
224
+ "type": "string"
225
+ },
226
+ "guard": {
227
+ "type": "string"
228
+ },
229
+ "purchased_services": {
230
+ "type": "array",
231
+ "items": {
232
+ "type": "object",
233
+ "properties": {
234
+ "identifier": {
235
+ "type": "number"
236
+ },
237
+ "name": {
238
+ "type": "string"
239
+ },
240
+ "address": {
241
+ "type": "string"
242
+ }
243
+ },
244
+ "required": [
245
+ "identifier",
246
+ "name",
247
+ "address"
248
+ ],
249
+ "additionalProperties": false
250
+ }
251
+ },
252
+ "required_submissions": {
253
+ "type": "array",
254
+ "items": {
255
+ "type": "object",
256
+ "properties": {
257
+ "identifier": {
258
+ "type": "number"
259
+ },
260
+ "name": {
261
+ "type": "string"
262
+ },
263
+ "value_type": {
264
+ "type": "string"
265
+ }
266
+ },
267
+ "required": [
268
+ "identifier",
269
+ "name",
270
+ "value_type"
271
+ ],
272
+ "additionalProperties": false
273
+ }
274
+ }
275
+ },
276
+ "required": [
277
+ "node",
278
+ "prev_node",
279
+ "forward",
280
+ "guard",
281
+ "purchased_services",
282
+ "required_submissions"
283
+ ],
284
+ "additionalProperties": false
285
+ }
286
+ }
287
+ },
288
+ "required": [
289
+ "service",
290
+ "edges"
291
+ ],
292
+ "additionalProperties": false
293
+ }
294
+ },
295
+ "required": [
296
+ "object",
297
+ "relations"
298
+ ],
299
+ "additionalProperties": false
300
+ }
301
+ },
302
+ "required": [
303
+ "action",
304
+ "result"
305
+ ],
306
+ "additionalProperties": false
307
+ },
308
+ {
309
+ "type": "object",
310
+ "properties": {
311
+ "action": {
312
+ "type": "string",
313
+ "const": "actions"
314
+ },
315
+ "result": {
316
+ "type": "object",
317
+ "properties": {
318
+ "object": {
319
+ "anyOf": [
320
+ {
321
+ "type": "object",
322
+ "properties": {
323
+ "address": {
324
+ "type": "string",
325
+ "description": "Object address (or the resolved address for a name input)."
326
+ },
327
+ "object_type": {
328
+ "type": "string",
329
+ "description": "Normalized short object type (e.g. Service, Order, Progress, Demand, Arbitration)."
330
+ },
331
+ "name": {
332
+ "description": "Human-readable name / LocalMark name if resolvable.",
333
+ "type": "string"
334
+ },
335
+ "fields": {
336
+ "type": "object",
337
+ "propertyNames": {
338
+ "type": "string"
339
+ },
340
+ "additionalProperties": {},
341
+ "description": "Raw on-chain fields of interest (subset of the object data)."
342
+ }
343
+ },
344
+ "required": [
345
+ "address",
346
+ "object_type",
347
+ "fields"
348
+ ],
349
+ "additionalProperties": false
350
+ },
351
+ {
352
+ "type": "null"
353
+ }
354
+ ],
355
+ "description": "Focused object base data (null when unresolvable)."
356
+ },
357
+ "role": {
358
+ "type": "object",
359
+ "properties": {
360
+ "manifest_role": {
361
+ "type": "string",
362
+ "description": "On-chain derived role (may be 'neutral' when the account has no operative relationship)."
363
+ },
364
+ "latent_role": {
365
+ "description": "Persona identity-preference role, if a non-system persona is set.",
366
+ "type": "string"
367
+ },
368
+ "participation_role": {
369
+ "type": "string",
370
+ "description": "Authoritative role for participation/operation — ALWAYS manifest_role."
371
+ },
372
+ "evaluation_role": {
373
+ "type": "string",
374
+ "description": "Role for evaluation injection — latent preference when set, else manifest."
375
+ },
376
+ "conflicting": {
377
+ "type": "boolean",
378
+ "description": "True when the latent persona role disagrees with the manifest role."
379
+ },
380
+ "reason_direction": {
381
+ "type": "string",
382
+ "enum": [
383
+ "objective",
384
+ "game"
385
+ ],
386
+ "description": "objective = only narrate facts; game = full four-stage reasoning."
387
+ },
388
+ "derivation": {
389
+ "type": "string",
390
+ "description": "Traceable derivation basis from the manifest role."
391
+ },
392
+ "note": {
393
+ "type": "string",
394
+ "description": "Human-readable resolution note."
395
+ }
396
+ },
397
+ "required": [
398
+ "manifest_role",
399
+ "participation_role",
400
+ "evaluation_role",
401
+ "conflicting",
402
+ "reason_direction",
403
+ "derivation",
404
+ "note"
405
+ ],
406
+ "additionalProperties": false,
407
+ "description": "Resolved identity of the account against the focus object."
408
+ },
409
+ "operations": {
410
+ "type": "array",
411
+ "items": {
412
+ "type": "object",
413
+ "properties": {
414
+ "operation": {
415
+ "type": "string",
416
+ "description": "Operation identifier (e.g. progress_next, service_param_update, order_holder_confirm)."
417
+ },
418
+ "can_execute": {
419
+ "type": "boolean",
420
+ "description": "Whether the account can execute this operation on-chain RIGHT NOW."
421
+ },
422
+ "path": {
423
+ "type": "string",
424
+ "description": "Execution path (e.g. order_holder / permission_index / named_operator / guard_submission)."
425
+ },
426
+ "note": {
427
+ "description": "Execution note or guard requirement.",
428
+ "type": "string"
429
+ }
430
+ },
431
+ "required": [
432
+ "operation",
433
+ "can_execute",
434
+ "path"
435
+ ],
436
+ "additionalProperties": false
437
+ },
438
+ "description": "Actionable operations for the account on this object, with executability judgment."
439
+ }
440
+ },
441
+ "required": [
442
+ "object",
443
+ "role",
444
+ "operations"
445
+ ],
446
+ "additionalProperties": false
447
+ }
448
+ },
449
+ "required": [
450
+ "action",
451
+ "result"
452
+ ],
453
+ "additionalProperties": false
454
+ },
455
+ {
456
+ "type": "object",
457
+ "properties": {
458
+ "action": {
459
+ "type": "string",
460
+ "const": "reason"
461
+ },
462
+ "result": {
463
+ "type": "object",
464
+ "properties": {
465
+ "object": {
466
+ "anyOf": [
467
+ {
468
+ "type": "object",
469
+ "properties": {
470
+ "address": {
471
+ "type": "string",
472
+ "description": "Object address (or the resolved address for a name input)."
473
+ },
474
+ "object_type": {
475
+ "type": "string",
476
+ "description": "Normalized short object type (e.g. Service, Order, Progress, Demand, Arbitration)."
477
+ },
478
+ "name": {
479
+ "description": "Human-readable name / LocalMark name if resolvable.",
480
+ "type": "string"
481
+ },
482
+ "fields": {
483
+ "type": "object",
484
+ "propertyNames": {
485
+ "type": "string"
486
+ },
487
+ "additionalProperties": {},
488
+ "description": "Raw on-chain fields of interest (subset of the object data)."
489
+ }
490
+ },
491
+ "required": [
492
+ "address",
493
+ "object_type",
494
+ "fields"
495
+ ],
496
+ "additionalProperties": false
497
+ },
498
+ {
499
+ "type": "null"
500
+ }
501
+ ],
502
+ "description": "Focused object base data (null when unresolvable)."
503
+ },
504
+ "identity": {
505
+ "anyOf": [
506
+ {
507
+ "type": "object",
508
+ "properties": {
509
+ "manifest_role": {
510
+ "type": "string",
511
+ "description": "On-chain derived role (may be 'neutral' when the account has no operative relationship)."
512
+ },
513
+ "latent_role": {
514
+ "description": "Persona identity-preference role, if a non-system persona is set.",
515
+ "type": "string"
516
+ },
517
+ "participation_role": {
518
+ "type": "string",
519
+ "description": "Authoritative role for participation/operation — ALWAYS manifest_role."
520
+ },
521
+ "evaluation_role": {
522
+ "type": "string",
523
+ "description": "Role for evaluation injection — latent preference when set, else manifest."
524
+ },
525
+ "conflicting": {
526
+ "type": "boolean",
527
+ "description": "True when the latent persona role disagrees with the manifest role."
528
+ },
529
+ "reason_direction": {
530
+ "type": "string",
531
+ "enum": [
532
+ "objective",
533
+ "game"
534
+ ],
535
+ "description": "objective = only narrate facts; game = full four-stage reasoning."
536
+ },
537
+ "derivation": {
538
+ "type": "string",
539
+ "description": "Traceable derivation basis from the manifest role."
540
+ },
541
+ "note": {
542
+ "type": "string",
543
+ "description": "Human-readable resolution note."
544
+ }
545
+ },
546
+ "required": [
547
+ "manifest_role",
548
+ "participation_role",
549
+ "evaluation_role",
550
+ "conflicting",
551
+ "reason_direction",
552
+ "derivation",
553
+ "note"
554
+ ],
555
+ "additionalProperties": false
556
+ },
557
+ {
558
+ "type": "null"
559
+ }
560
+ ],
561
+ "description": "Resolved identity of the account against the focus object."
562
+ },
563
+ "reason_direction": {
564
+ "type": "string",
565
+ "enum": [
566
+ "objective",
567
+ "game"
568
+ ],
569
+ "description": "objective = only narrate facts; game = full four-stage reasoning."
570
+ },
571
+ "value": {
572
+ "anyOf": [
573
+ {
574
+ "type": "object",
575
+ "properties": {
576
+ "perspective": {
577
+ "type": "string",
578
+ "description": "Value perspective: consumer / producer / neutral."
579
+ },
580
+ "interest_analyzer": {
581
+ "type": "string",
582
+ "description": "Interest analyzer id for the evaluation role."
583
+ },
584
+ "prefer": {
585
+ "type": "array",
586
+ "items": {
587
+ "type": "string"
588
+ },
589
+ "description": "Value anchors the role seeks (gains)."
590
+ },
591
+ "avoid": {
592
+ "type": "array",
593
+ "items": {
594
+ "type": "string"
595
+ },
596
+ "description": "Value anchors the role avoids (risks)."
597
+ },
598
+ "sensitivity": {
599
+ "type": "number",
600
+ "description": "Risk sensitivity (1.0 neutral; >1 more risk-averse)."
601
+ }
602
+ },
603
+ "required": [
604
+ "perspective",
605
+ "interest_analyzer",
606
+ "prefer",
607
+ "avoid",
608
+ "sensitivity"
609
+ ],
610
+ "additionalProperties": false
611
+ },
612
+ {
613
+ "type": "null"
614
+ }
615
+ ],
616
+ "description": "Value stage (perspective + interest anchors); null when objective."
617
+ },
618
+ "game": {
619
+ "anyOf": [
620
+ {
621
+ "type": "object",
622
+ "properties": {
623
+ "power": {
624
+ "type": "string",
625
+ "description": "Game-theory power: strong / weak / peer / neutral."
626
+ },
627
+ "strategy": {
628
+ "type": "string",
629
+ "description": "Game-strategy plugin id."
630
+ },
631
+ "weaker_party": {
632
+ "type": "boolean",
633
+ "description": "True when the role is the weaker party (prioritize protection)."
634
+ },
635
+ "stronger_party": {
636
+ "type": "boolean",
637
+ "description": "True when the role is the stronger party (constrain on-chain)."
638
+ }
639
+ },
640
+ "required": [
641
+ "power",
642
+ "strategy",
643
+ "weaker_party",
644
+ "stronger_party"
645
+ ],
646
+ "additionalProperties": false
647
+ },
648
+ {
649
+ "type": "null"
650
+ }
651
+ ],
652
+ "description": "Game stage (power + strategy); null when objective."
653
+ },
654
+ "path": {
655
+ "anyOf": [
656
+ {
657
+ "type": "object",
658
+ "properties": {
659
+ "operations": {
660
+ "type": "array",
661
+ "items": {
662
+ "type": "object",
663
+ "properties": {
664
+ "operation": {
665
+ "type": "string",
666
+ "description": "Operation identifier (e.g. progress_next, service_param_update, order_holder_confirm)."
667
+ },
668
+ "can_execute": {
669
+ "type": "boolean",
670
+ "description": "Whether the account can execute this operation on-chain RIGHT NOW."
671
+ },
672
+ "path": {
673
+ "type": "string",
674
+ "description": "Execution path (e.g. order_holder / permission_index / named_operator / guard_submission)."
675
+ },
676
+ "note": {
677
+ "description": "Execution note or guard requirement.",
678
+ "type": "string"
679
+ }
680
+ },
681
+ "required": [
682
+ "operation",
683
+ "can_execute",
684
+ "path"
685
+ ],
686
+ "additionalProperties": false
687
+ },
688
+ "description": "Actionable operations (identity-filtered)."
689
+ },
690
+ "summary": {
691
+ "type": "string",
692
+ "description": "Human-readable path summary."
693
+ },
694
+ "path_reasoning": {
695
+ "description": "Path-level game reasoning (present only for Progress focus).",
696
+ "type": "object",
697
+ "properties": {
698
+ "current_node": {
699
+ "type": "string"
700
+ },
701
+ "perspective": {
702
+ "type": "string"
703
+ },
704
+ "optimal_path": {
705
+ "description": "The single optimal path to a terminal (absent when no terminal is reachable).",
706
+ "type": "object",
707
+ "properties": {
708
+ "nodes": {
709
+ "type": "array",
710
+ "items": {
711
+ "type": "string"
712
+ }
713
+ },
714
+ "forwards": {
715
+ "type": "array",
716
+ "items": {
717
+ "type": "string"
718
+ }
719
+ },
720
+ "terminal": {
721
+ "type": "string"
722
+ },
723
+ "score": {
724
+ "type": "number"
725
+ },
726
+ "length": {
727
+ "type": "number"
728
+ },
729
+ "guard_gates": {
730
+ "type": "number"
731
+ }
732
+ },
733
+ "required": [
734
+ "nodes",
735
+ "forwards",
736
+ "terminal",
737
+ "score",
738
+ "length",
739
+ "guard_gates"
740
+ ],
741
+ "additionalProperties": false
742
+ },
743
+ "ranked_paths": {
744
+ "type": "array",
745
+ "items": {
746
+ "type": "object",
747
+ "properties": {
748
+ "terminal": {
749
+ "type": "string"
750
+ },
751
+ "score": {
752
+ "type": "number"
753
+ },
754
+ "length": {
755
+ "type": "number"
756
+ },
757
+ "guard_gates": {
758
+ "type": "number"
759
+ }
760
+ },
761
+ "required": [
762
+ "terminal",
763
+ "score",
764
+ "length",
765
+ "guard_gates"
766
+ ],
767
+ "additionalProperties": false
768
+ },
769
+ "description": "Paths ranked by composite score descending."
770
+ },
771
+ "foregone_terminals": {
772
+ "type": "array",
773
+ "items": {
774
+ "type": "string"
775
+ },
776
+ "description": "Terminals closed by choosing the optimal path (opportunity competition)."
777
+ },
778
+ "summary": {
779
+ "type": "string"
780
+ }
781
+ },
782
+ "required": [
783
+ "current_node",
784
+ "perspective",
785
+ "ranked_paths",
786
+ "foregone_terminals",
787
+ "summary"
788
+ ],
789
+ "additionalProperties": false
790
+ }
791
+ },
792
+ "required": [
793
+ "operations",
794
+ "summary"
795
+ ],
796
+ "additionalProperties": false
797
+ },
798
+ {
799
+ "type": "null"
800
+ }
801
+ ],
802
+ "description": "Path/operation stage; null when objective."
803
+ },
804
+ "objective_note": {
805
+ "description": "Narration note when reason_direction is objective.",
806
+ "type": "string"
807
+ }
808
+ },
809
+ "required": [
810
+ "object",
811
+ "identity",
812
+ "reason_direction",
813
+ "value",
814
+ "game",
815
+ "path"
816
+ ],
817
+ "additionalProperties": false
818
+ }
819
+ },
820
+ "required": [
821
+ "action",
822
+ "result"
823
+ ],
824
+ "additionalProperties": false
825
+ }
826
+ ]
827
+ }