@wowok/agent-mcp 3.1.7 → 3.2.1

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 (294) hide show
  1. package/dist/config/exposure.d.ts +2 -2
  2. package/dist/config/judgment.d.ts +5 -5
  3. package/dist/config/rule-engine.d.ts +5 -5
  4. package/dist/customer/user-preferences.d.ts +2 -2
  5. package/dist/evaluation/arbitration-game.js +1 -1
  6. package/dist/evaluation/capability.d.ts +1 -1
  7. package/dist/evaluation/extract.js +1 -1
  8. package/dist/evaluation/match-operation.js +1 -1
  9. package/dist/extensions/industry-pack.d.ts +3 -2
  10. package/dist/extensions/industry-pack.js +1 -1
  11. package/dist/extensions/modes.js +1 -1
  12. package/dist/extensions/registry.js +1 -1
  13. package/dist/extensions/types.d.ts +1 -0
  14. package/dist/graph/onchain/analyze.js +1 -1
  15. package/dist/graph/onchain/analyze.spec.js +1 -1
  16. package/dist/graph/onchain/edge-schema.js +1 -1
  17. package/dist/graph/onchain/extract.js +1 -1
  18. package/dist/graph/onchain/facts.js +1 -1
  19. package/dist/graph/onchain/field-manifest.js +1 -1
  20. package/dist/graph/onchain/project-relationship.js +1 -1
  21. package/dist/graph/onchain/sdk-batch.d.ts +1 -0
  22. package/dist/graph/onchain/sdk-batch.js +1 -1
  23. package/dist/graph/onchain/sdk-dataplane.d.ts +1 -0
  24. package/dist/graph/onchain/sdk-dataplane.js +1 -1
  25. package/dist/graph/onchain/types.d.ts +1 -1
  26. package/dist/harness/recover.js +1 -1
  27. package/dist/keeper/KeeperScan.d.ts +2 -1
  28. package/dist/keeper/KeeperScan.js +1 -1
  29. package/dist/keeper/detectors.d.ts +9 -0
  30. package/dist/keeper/detectors.js +1 -1
  31. package/dist/keeper/keeper.spec.js +1 -1
  32. package/dist/keeper/types.d.ts +1 -1
  33. package/dist/keeper/types.js +1 -1
  34. package/dist/knowledge/allocation-ledger.d.ts +4 -1
  35. package/dist/knowledge/allocation-ledger.js +1 -1
  36. package/dist/knowledge/allocation-puzzle.d.ts +2 -0
  37. package/dist/knowledge/allocation-puzzle.js +1 -1
  38. package/dist/knowledge/allocation-risk.d.ts +1 -1
  39. package/dist/knowledge/allocation-risk.js +1 -1
  40. package/dist/knowledge/allocation-templates.d.ts +1 -1
  41. package/dist/knowledge/allocation-templates.js +1 -1
  42. package/dist/knowledge/arb-risk.d.ts +3 -1
  43. package/dist/knowledge/arb-risk.js +1 -1
  44. package/dist/knowledge/arbitration-ledger.js +1 -1
  45. package/dist/knowledge/arbitration-risk.js +1 -1
  46. package/dist/knowledge/arbitration-templates.d.ts +1 -0
  47. package/dist/knowledge/arbitration-templates.js +1 -1
  48. package/dist/knowledge/audit-rules.d.ts +13 -2
  49. package/dist/knowledge/audit-rules.js +1 -1
  50. package/dist/knowledge/baselines/rules/allocation.json +50 -1
  51. package/dist/knowledge/baselines/rules/arb.json +20 -1
  52. package/dist/knowledge/baselines/rules/arbitration.json +27 -0
  53. package/dist/knowledge/baselines/rules/guard.json +75 -2
  54. package/dist/knowledge/baselines/rules/machine.json +38 -13
  55. package/dist/knowledge/baselines/rules/order.json +2 -2
  56. package/dist/knowledge/builtin-templates.d.ts +3 -1
  57. package/dist/knowledge/builtin-templates.js +1 -1
  58. package/dist/knowledge/discount-threshold.d.ts +15 -0
  59. package/dist/knowledge/discount-threshold.js +1 -0
  60. package/dist/knowledge/event-semantics.js +1 -1
  61. package/dist/knowledge/fund-layer.js +1 -1
  62. package/dist/knowledge/getting-started.js +1 -1
  63. package/dist/knowledge/guard-anchor-reach.d.ts +19 -0
  64. package/dist/knowledge/guard-anchor-reach.js +1 -0
  65. package/dist/knowledge/guard-bindings.js +1 -1
  66. package/dist/knowledge/guard-design-patterns.d.ts +1 -1
  67. package/dist/knowledge/guard-design-patterns.js +1 -1
  68. package/dist/knowledge/guard-ledger.js +1 -1
  69. package/dist/knowledge/guard-lint.js +1 -1
  70. package/dist/knowledge/guard-render.d.ts +6 -0
  71. package/dist/knowledge/guard-render.js +1 -1
  72. package/dist/knowledge/guard-risk.js +1 -1
  73. package/dist/knowledge/guard-submission-prompt.d.ts +6 -0
  74. package/dist/knowledge/guard-submission-prompt.js +1 -1
  75. package/dist/knowledge/guard-templates.d.ts +1 -1
  76. package/dist/knowledge/guard-templates.js +1 -1
  77. package/dist/knowledge/guard-translation.js +1 -1
  78. package/dist/knowledge/index.d.ts +6 -6
  79. package/dist/knowledge/index.js +1 -1
  80. package/dist/knowledge/industry-generalizer.d.ts +38 -1
  81. package/dist/knowledge/industry-generalizer.js +1 -1
  82. package/dist/knowledge/industry-registry.d.ts +1 -1
  83. package/dist/knowledge/industry-registry.js +1 -1
  84. package/dist/knowledge/industry-strategy.js +1 -1
  85. package/dist/knowledge/jsonrpc-enum.js +1 -1
  86. package/dist/knowledge/machine-ledger.js +1 -1
  87. package/dist/knowledge/machine-risk.js +1 -1
  88. package/dist/knowledge/machine-templates.js +1 -1
  89. package/dist/knowledge/onchain-constants.d.ts +2 -2
  90. package/dist/knowledge/onchain-constants.js +1 -1
  91. package/dist/knowledge/order-ledger.js +1 -1
  92. package/dist/knowledge/order-templates.js +1 -1
  93. package/dist/knowledge/permission-ledger.js +1 -1
  94. package/dist/knowledge/release-sentinel.d.ts +12 -0
  95. package/dist/knowledge/release-sentinel.js +1 -0
  96. package/dist/knowledge/repository-write-semantics.d.ts +27 -0
  97. package/dist/knowledge/repository-write-semantics.js +1 -0
  98. package/dist/knowledge/rule-node-analyzers.d.ts +6 -0
  99. package/dist/knowledge/rule-node-analyzers.js +1 -1
  100. package/dist/knowledge/safety-rules.d.ts +5 -1
  101. package/dist/knowledge/safety-rules.js +1 -1
  102. package/dist/knowledge/scenario-modes.d.ts +20 -1
  103. package/dist/knowledge/scenario-modes.js +1 -1
  104. package/dist/knowledge/service-allocation-semantics.d.ts +36 -0
  105. package/dist/knowledge/service-allocation-semantics.js +1 -0
  106. package/dist/knowledge/strategy-manuals.d.ts +4 -6
  107. package/dist/knowledge/strategy-manuals.js +1 -1
  108. package/dist/knowledge/template-loader.d.ts +48 -12
  109. package/dist/knowledge/template-loader.js +1 -1
  110. package/dist/knowledge/template-registry.js +1 -1
  111. package/dist/knowledge/template-scanner.js +1 -1
  112. package/dist/knowledge/tools-reference.js +1 -1
  113. package/dist/knowledge/workflow-guidance.d.ts +26 -0
  114. package/dist/knowledge/workflow-guidance.js +1 -1
  115. package/dist/monitor/MonitorLoop.js +1 -1
  116. package/dist/participation/allocation-advice.d.ts +38 -0
  117. package/dist/participation/allocation-advice.js +1 -0
  118. package/dist/participation/arbitrator-interest.js +1 -1
  119. package/dist/participation/customer-interest.js +1 -1
  120. package/dist/participation/merchant-interest.js +1 -1
  121. package/dist/participation/radar-core.d.ts +2 -0
  122. package/dist/persona/types.d.ts +3 -2
  123. package/dist/persona/types.js +1 -1
  124. package/dist/playbooks/service-build/business-puzzle.js +1 -1
  125. package/dist/playbooks/service-build/intent-analyzer.js +1 -1
  126. package/dist/playbooks/service-build/machine-panorama.js +1 -1
  127. package/dist/playbooks/service-build/merchant-guide.d.ts +70 -63
  128. package/dist/playbooks/service-build/merchant-guide.js +1 -1
  129. package/dist/playbooks/service-build/migration-planner.js +1 -1
  130. package/dist/playbooks/service-build/mode-actions.d.ts +17 -1
  131. package/dist/playbooks/service-build/mode-actions.js +1 -1
  132. package/dist/playbooks/service-build/object-panorama.js +1 -1
  133. package/dist/playbooks/service-build/participation-radar.js +1 -1
  134. package/dist/playbooks/service-build/relationship-profile.js +1 -1
  135. package/dist/playbooks/service-build/reverse-mapping-refund-p0-5.spec.js +1 -0
  136. package/dist/playbooks/service-build/reverse-mapping.js +1 -1
  137. package/dist/playbooks/service-build/semantic-graph.d.ts +1 -0
  138. package/dist/playbooks/service-build/semantic-graph.js +1 -1
  139. package/dist/playbooks/service-build/service-panorama.js +1 -1
  140. package/dist/playbooks/service-build/service-quote.d.ts +2 -0
  141. package/dist/playbooks/service-build/service-quote.js +1 -0
  142. package/dist/relationship/derivation.d.ts +1 -1
  143. package/dist/review/index.js +1 -1
  144. package/dist/role/profiles.js +1 -1
  145. package/dist/role/types.d.ts +2 -0
  146. package/dist/role/types.js +1 -1
  147. package/dist/safety/confirm-gate.js +1 -1
  148. package/dist/schema/benchmark-migration/index.d.ts +30 -8
  149. package/dist/schema/benchmark-migration/index.js +1 -1
  150. package/dist/schema/call/allocation.d.ts +10 -7
  151. package/dist/schema/call/arbitration.d.ts +1 -1
  152. package/dist/schema/call/arbitration.js +1 -1
  153. package/dist/schema/call/base.d.ts +5 -5
  154. package/dist/schema/call/base.js +1 -1
  155. package/dist/schema/call/bridge.d.ts +5 -9
  156. package/dist/schema/call/bridge.js +1 -1
  157. package/dist/schema/call/contact.d.ts +1 -1
  158. package/dist/schema/call/demand.d.ts +1 -1
  159. package/dist/schema/call/guard.d.ts +15 -15
  160. package/dist/schema/call/handler.js +1 -1
  161. package/dist/schema/call/machine.d.ts +58 -2
  162. package/dist/schema/call/machine.js +1 -1
  163. package/dist/schema/call/order.d.ts +1 -1
  164. package/dist/schema/call/order.js +1 -1
  165. package/dist/schema/call/payment.d.ts +1 -1
  166. package/dist/schema/call/payment.js +1 -1
  167. package/dist/schema/call/permission.d.ts +1 -1
  168. package/dist/schema/call/personal.d.ts +1 -1
  169. package/dist/schema/call/progress.d.ts +1 -1
  170. package/dist/schema/call/proof.d.ts +2 -2
  171. package/dist/schema/call/repository.d.ts +1 -1
  172. package/dist/schema/call/reward.d.ts +1 -1
  173. package/dist/schema/call/semantic.js +1 -1
  174. package/dist/schema/call/service.d.ts +87 -25
  175. package/dist/schema/call/service.js +1 -1
  176. package/dist/schema/call/treasury.d.ts +1 -1
  177. package/dist/schema/common/index.js +1 -1
  178. package/dist/schema/common/tokentype-short-probe.spec.js +1 -0
  179. package/dist/schema/evaluation/index.d.ts +14 -82
  180. package/dist/schema/evaluation/index.js +1 -1
  181. package/dist/schema/goal/index.d.ts +8 -41
  182. package/dist/schema/goal/planning.d.ts +22 -57
  183. package/dist/schema/goal/planning.js +1 -1
  184. package/dist/schema/industry-pack/index.d.ts +15 -0
  185. package/dist/schema/industry-pack/modes.d.ts +15 -0
  186. package/dist/schema/industry-pack/modes.js +1 -1
  187. package/dist/schema/intent-radar/index.d.ts +5 -20
  188. package/dist/schema/intent-radar/index.js +1 -1
  189. package/dist/schema/interaction/index.d.ts +1 -1
  190. package/dist/schema/keeper/index.d.ts +3 -0
  191. package/dist/schema/keeper/index.js +1 -1
  192. package/dist/schema/local/index.d.ts +577 -18
  193. package/dist/schema/local/index.js +1 -1
  194. package/dist/schema/messenger/index.d.ts +140 -20
  195. package/dist/schema/messenger/index.js +1 -1
  196. package/dist/schema/operations.d.ts +97 -35
  197. package/dist/schema/operations.js +1 -1
  198. package/dist/schema/persona/index.d.ts +811 -916
  199. package/dist/schema/persona/index.js +1 -1
  200. package/dist/schema/query/bi.d.ts +161 -8
  201. package/dist/schema/query/bi.js +1 -1
  202. package/dist/schema/query/index.d.ts +49 -30
  203. package/dist/schema/query/index.js +1 -1
  204. package/dist/schema/schema-query/index.d.ts +2 -2
  205. package/dist/schema/workflow/index.d.ts +2 -2
  206. package/dist/schema-query-impl/index.d.ts +1 -0
  207. package/dist/schema-query-impl/index.js +1 -1
  208. package/dist/schemas/account_operation.output.json +8 -4
  209. package/dist/schemas/account_operation.schema.json +1 -1
  210. package/dist/schemas/benchmark_migration_operation.output.json +116 -2
  211. package/dist/schemas/benchmark_migration_operation.schema.json +2 -10
  212. package/dist/schemas/bridge_operation.output.json +2 -2
  213. package/dist/schemas/bridge_operation.schema.json +2 -10
  214. package/dist/schemas/evaluation_operation.output.json +2 -0
  215. package/dist/schemas/evaluation_operation.schema.json +9 -70
  216. package/dist/schemas/goal_operation.schema.json +6 -39
  217. package/dist/schemas/index.json +7 -1
  218. package/dist/schemas/industry_pack_operation.output.json +87 -4
  219. package/dist/schemas/intent_radar.output.json +6 -20
  220. package/dist/schemas/intent_radar.schema.json +1 -0
  221. package/dist/schemas/keeper_operation.output.json +2 -2
  222. package/dist/schemas/keeper_operation.schema.json +9 -4
  223. package/dist/schemas/local_cache_operation.output.json +1536 -0
  224. package/dist/schemas/local_cache_operation.schema.json +101 -0
  225. package/dist/schemas/local_history_operation.output.json +2 -2
  226. package/dist/schemas/local_info_operation.output.json +2 -2
  227. package/dist/schemas/local_mark_operation.output.json +53 -38
  228. package/dist/schemas/local_mark_operation.schema.json +1 -0
  229. package/dist/schemas/messenger_operation.output.json +2 -2
  230. package/dist/schemas/messenger_operation.schema.json +358 -35
  231. package/dist/schemas/monitor_events.output.json +2 -2
  232. package/dist/schemas/monitor_subscription.output.json +2 -2
  233. package/dist/schemas/onchain_events.output.json +2 -2
  234. package/dist/schemas/onchain_operations.output.json +6 -6
  235. package/dist/schemas/onchain_operations.schema.json +237 -64
  236. package/dist/schemas/onchain_operations_allocation.schema.json +12 -11
  237. package/dist/schemas/onchain_operations_arbitration.schema.json +16 -16
  238. package/dist/schemas/onchain_operations_machine.schema.json +27 -5
  239. package/dist/schemas/onchain_operations_order.schema.json +1 -1
  240. package/dist/schemas/onchain_operations_payment.schema.json +3 -3
  241. package/dist/schemas/onchain_operations_reward.schema.json +2 -2
  242. package/dist/schemas/onchain_operations_service.schema.json +174 -24
  243. package/dist/schemas/onchain_operations_treasury.schema.json +2 -2
  244. package/dist/schemas/onchain_table_data.output.json +68 -4
  245. package/dist/schemas/persona_operation.output.json +11 -88
  246. package/dist/schemas/persona_operation.schema.json +4 -32
  247. package/dist/schemas/query_toolkit.output.json +331 -26
  248. package/dist/schemas/query_toolkit.schema.json +66 -2
  249. package/dist/tools/handlers/benchmark-migration.js +1 -1
  250. package/dist/tools/handlers/bridge.js +1 -1
  251. package/dist/tools/handlers/dispatch-expectations.spec.js +1 -1
  252. package/dist/tools/handlers/keeper.d.ts +1 -1
  253. package/dist/tools/handlers/local.d.ts +1 -0
  254. package/dist/tools/handlers/local.js +1 -1
  255. package/dist/tools/handlers/messenger.d.ts +9 -2
  256. package/dist/tools/handlers/messenger.js +1 -1
  257. package/dist/tools/handlers/name-resolution.d.ts +4 -0
  258. package/dist/tools/handlers/name-resolution.js +1 -0
  259. package/dist/tools/handlers/name-resolution.spec.js +1 -0
  260. package/dist/tools/handlers/onchain-name-registration.d.ts +37 -0
  261. package/dist/tools/handlers/onchain-name-registration.js +1 -0
  262. package/dist/tools/handlers/onchain-name-registration.spec.js +1 -0
  263. package/dist/tools/handlers/onchain.d.ts +1 -0
  264. package/dist/tools/handlers/onchain.js +1 -1
  265. package/dist/tools/handlers/query.d.ts +1 -0
  266. package/dist/tools/handlers/query.js +1 -1
  267. package/dist/tools/handlers/schema-query.js +1 -1
  268. package/dist/tools/index.js +1 -1
  269. package/dist/tools/move-fn-index.gen.js +1 -1
  270. package/dist/tools/registry/business.js +1 -1
  271. package/dist/tools/registry/local.js +1 -1
  272. package/dist/tools/sanitize-description-roundtrip.spec.js +1 -0
  273. package/dist/tools/sanitize-output.d.ts +1 -0
  274. package/dist/tools/sanitize-output.js +1 -1
  275. package/dist/tools/wrap.js +1 -1
  276. package/package.json +2 -2
  277. package/dist/knowledge/alloc-audit-policy.spec.js +0 -1
  278. package/dist/knowledge/event-semantics.spec.js +0 -1
  279. package/dist/knowledge/facts-sync.spec.js +0 -1
  280. package/dist/knowledge/guard-design-patterns.spec.js +0 -1
  281. package/dist/knowledge/guard-eval.spec.js +0 -1
  282. package/dist/knowledge/rule-node-analyzers.spec.d.ts +0 -1
  283. package/dist/knowledge/rule-node-analyzers.spec.js +0 -1
  284. package/dist/knowledge/safety-rules.extract-amount.spec.d.ts +0 -1
  285. package/dist/knowledge/safety-rules.extract-amount.spec.js +0 -1
  286. package/dist/knowledge/template-loader.spec.d.ts +0 -1
  287. package/dist/knowledge/template-loader.spec.js +0 -1
  288. package/dist/knowledge/template-scanner.spec.d.ts +0 -1
  289. package/dist/knowledge/template-scanner.spec.js +0 -1
  290. /package/dist/{knowledge/alloc-audit-policy.spec.d.ts → playbooks/service-build/reverse-mapping-refund-p0-5.spec.d.ts} +0 -0
  291. /package/dist/{knowledge/event-semantics.spec.d.ts → schema/common/tokentype-short-probe.spec.d.ts} +0 -0
  292. /package/dist/{knowledge/facts-sync.spec.d.ts → tools/handlers/name-resolution.spec.d.ts} +0 -0
  293. /package/dist/{knowledge/guard-design-patterns.spec.d.ts → tools/handlers/onchain-name-registration.spec.d.ts} +0 -0
  294. /package/dist/{knowledge/guard-eval.spec.d.ts → tools/sanitize-description-roundtrip.spec.d.ts} +0 -0
@@ -1 +1 @@
1
- export const ROLE_MOVE_MECHANISMS=['Service','Machine','Guard','Allocator','Progress','Order','Arbitration','Demand','DemandPresenter','Reward','Treasury','Passport','WTS','WIP','CompensationFund','Repository'];export const ROLE_PERSONALITIES={'merchant':{'role':'merchant','archetype':'The\x20Trust-First\x20Shopkeeper\x20—\x20wins\x20repeat\x20volume\x20by\x20making\x20trust\x20verifiable\x20on-chain','motivations':['durable\x20gross\x20margin\x20above\x20hard\x20cost/fund\x20floors','repeat\x20order\x20volume\x20and\x20referral-driven\x20acquisition','a\x20differentiated\x20trust\x20moat\x20(arbitration\x20+\x20compensation\x20fund\x20+\x20WIP\x20evidence)','low\x20dispute\x20and\x20compensation-payout\x20rates'],'communication':'proactive\x20and\x20specific:\x20quote\x20prices\x20with\x20escrow/split\x20terms,\x20state\x20guard\x20evidence\x20up\x20front,\x20answer\x20fast\x20on\x20pre-sales\x20questions,\x20never\x20vague-promise','value_levers':[{'move':'Publish\x20services\x20with\x20a\x20WIP-verified\x20product,\x20bound\x20Arbitration\x20and\x20a\x20funded\x20CompensationFund\x20so\x20trust\x20is\x20inspectable\x20before\x20purchase','via':'onchain_operations','when':'new\x20service\x20or\x20trust\x20score\x20below\x20category\x20median'},{'move':'Design\x20the\x20Machine\x20around\x20verifiable\x20business\x20states\x20and\x20attach\x20buy/evidence\x20Guards\x20instead\x20of\x20relying\x20on\x20chat\x20assurances','via':'machineNode2file'},{'move':'Encode\x20pricing\x20and\x20delivery\x20money\x20flow\x20explicitly\x20with\x20Allocator\x20splits/milestones,\x20never\x20informal\x20off-chain\x20promises','via':'onchain_operations'},{'move':'Run\x20Reward-based\x20acquisition\x20and\x20targeted\x20discounts\x20only\x20against\x20tracked\x20funnel\x20metrics,\x20not\x20blanket\x20price\x20cuts','via':'onchain_operations','when':'posture\x20is\x20volume\x20or\x20a\x20campaign\x20window\x20is\x20open'},{'move':'Scan\x20competitor\x20supply\x20(price,\x20trust,\x20rewards,\x20fund\x20coverage)\x20before\x20changing\x20price\x20or\x20offering','via':'evaluation_operation'},{'move':'Adopt\x20and\x20tune\x20the\x20industry\x20playbook\x20(mode/flywheel/risk\x20constraints)\x20for\x20the\x20shop\x27s\x20industry','via':'industry_pack_operation'}],'game_moves':[{'move':'Lead\x20negotiation\x20with\x20verifiable\x20trust\x20assets\x20(arb\x20rulings,\x20WIP,\x20fund\x20balance);\x20compete\x20on\x20proof\x20before\x20price','via':'evaluation_operation'},{'move':'Concede\x20small\x20discounts\x20late\x20in\x20negotiation\x20in\x20exchange\x20for\x20review/referral\x20commitments,\x20never\x20before\x20intent\x20is\x20proven','via':'Reward'},{'move':'Advance\x20orders\x20only\x20against\x20the\x20guard\x20evidence\x20the\x20machine\x20requires;\x20keep\x20the\x20workflow\x20moving\x20to\x20avoid\x20stall\x20blame','via':'workflow_operation'},{'move':'Settle\x20a\x20genuine\x20fault\x20fast\x20via\x20the\x20machine/allocator\x20refund\x20path\x20rather\x20than\x20escalating;\x20reserve\x20arbitration\x20for\x20disputed\x20fault','via':'Arbitration'},{'move':'Never\x20price\x20below\x20hard\x20cost\x20floor\x20or\x20leave\x20the\x20compensation\x20fund\x20under-covered\x20to\x20chase\x20volume','taboo':!![]},{'move':'Never\x20promise\x20refunds\x20or\x20delivery\x20terms\x20outside\x20the\x20bound\x20Machine/Allocator/Arbitration\x20configuration','taboo':!![]}],'path_preferences':['new\x20merchant\x20intent\x20→\x20guided\x20Service+Machine+Guard+Allocator\x20build\x20with\x20industry\x20mode\x20defaults','growth\x20intent\x20→\x20competitor\x20scan\x20→\x20campaign\x20(Reward/discount)\x20→\x20funnel\x20measurement\x20→\x20adjust','dispute\x20intent\x20→\x20evidence\x20check\x20first,\x20negotiated\x20remedy\x20second,\x20arbitration\x20only\x20when\x20fault\x20is\x20genuinely\x20contested'],'feedback_signals':{'win':['growing\x20order\x20count\x20at\x20or\x20above\x20target\x20margin','rising\x20repeat/referral\x20share','zero\x20or\x20falling\x20compensation\x20payouts','trust\x20score\x20above\x20category\x20median'],'lose':['volume\x20up\x20but\x20margin\x20below\x20floor','dispute\x20rate\x20or\x20fund\x20payouts\x20rising','funnel\x20stalls\x20at\x20trust/guards\x20stage','rewards\x20spent\x20without\x20repeat\x20conversion']}},'customer':{'role':'customer','archetype':'The\x20Protected\x20Buyer\x20—\x20money\x20stays\x20escrowed\x20until\x20delivery\x20is\x20verified','motivations':['pay\x20only\x20for\x20verified,\x20conforming\x20delivery','keep\x20funds\x20recoverable\x20through\x20refund/arbitration\x20paths','minimize\x20information\x20asymmetry\x20and\x20switching\x20cost','extract\x20fair\x20remedy\x20quickly\x20when\x20delivery\x20fails'],'communication':'evidence-driven\x20and\x20calm:\x20state\x20acceptance\x20criteria\x20before\x20paying,\x20timestamp\x20every\x20issue,\x20keep\x20demands\x20tied\x20to\x20order\x20terms','value_levers':[{'move':'Before\x20paying,\x20verify\x20escrow/split\x20structure,\x20refund\x20path\x20(arbitration-backed\x20or\x20allocator),\x20guards\x20and\x20fund\x20coverage\x20of\x20the\x20service','via':'evaluation_operation'},{'move':'Keep\x20all\x20negotiation\x20and\x20delivery\x20evidence\x20in\x20WTS\x20so\x20any\x20later\x20dispute\x20has\x20tamper-proof\x20proof','via':'messenger_operation'},{'move':'Advance/confirm\x20receipt\x20only\x20when\x20the\x20current\x20Machine\x20state\x27s\x20guard\x20evidence\x20actually\x20matches\x20the\x20agreed\x20deliverable','via':'workflow_operation'},{'move':'On\x20non-conformity,\x20file\x20through\x20the\x20bound\x20Arbitration\x20with\x20WTS\x20evidence\x20rather\x20than\x20negotiating\x20from\x20weakness','via':'onchain_operations'},{'move':'Track\x20order\x20history\x20and\x20attention\x20signals\x20to\x20judge\x20a\x20merchant\x27s\x20real\x20performance\x20over\x20time','via':'evaluation_operation'}],'game_moves':[{'move':'Push\x20for\x20escrow/milestone\x20payment\x20and\x20explicit\x20acceptance\x20guards\x20when\x20listing\x20terms','via':'onchain_operations','when':'high-value\x20or\x20custom\x20order'},{'move':'Compare\x202–3\x20qualified\x20services\x20on\x20trust\x20dimensions,\x20not\x20headline\x20price,\x20before\x20committing','via':'evaluation_operation'},{'move':'Offer\x20fast\x20confirmation\x20and\x20a\x20positive\x20review/referral\x20in\x20exchange\x20for\x20reliable\x20delivery\x20—\x20cheap,\x20valuable\x20currency\x20to\x20merchants','via':'Reward'},{'move':'Never\x20confirm\x20receipt\x20or\x20release\x20milestone\x20funds\x20before\x20verifying\x20the\x20deliverable\x20against\x20guards','taboo':!![]},{'move':'Never\x20continue\x20transacting\x20with\x20a\x20service\x20that\x20has\x20no\x20refund\x20path\x20and\x20no\x20arbitration\x20for\x20a\x20high-value\x20order','taboo':!![]}],'path_preferences':['buy\x20intent\x20with\x20trust\x20gaps\x20→\x20due-diligence\x20evaluation\x20→\x20negotiate\x20guard/escrow\x20terms\x20→\x20pay\x20→\x20verify\x20→\x20confirm','problem\x20after\x20payment\x20→\x20preserve\x20WTS\x20evidence\x20→\x20request\x20remedy\x20within\x20SLA\x20→\x20arbitration\x20only\x20if\x20remedy\x20fails','repeat\x20purchase\x20→\x20prefer\x20proven\x20merchants\x20and\x20reward\x20loyalty\x20offers,\x20keep\x20scanning\x20only\x20when\x20trust\x20degrades'],'feedback_signals':{'win':['delivery\x20conforms\x20to\x20guards','fast\x20remedy\x20or\x20winning\x20arbitration\x20ruling\x20with\x20indemnity','payments\x20released\x20only\x20after\x20verification'],'lose':['released\x20funds\x20before\x20verification','dispute\x20lost\x20for\x20missing\x20evidence','surprise\x20cost/term\x20not\x20disclosed\x20pre-order']}},'prospect':{'role':'prospect','archetype':'The\x20Diligent\x20Comparer\x20—\x20converts\x20uncertainty\x20into\x20a\x20buy/no-buy\x20decision\x20with\x20evidence','motivations':['find\x20the\x20most\x20trustworthy\x20option\x20matching\x20real\x20needs\x20and\x20taste','avoid\x20first-order\x20regret\x20(overpaying,\x20missing\x20red\x20lines)','spend\x20the\x20minimum\x20due-diligence\x20effort\x20that\x20resolves\x20actual\x20risk'],'communication':'questioning\x20and\x20structured:\x20asks\x20about\x20delivery\x20mechanics,\x20refund\x20path,\x20evidence\x20and\x20fund\x20coverage;\x20compares\x20answers\x20across\x20vendors','value_levers':[{'move':'Enumerate\x20active\x20services\x20in\x20category/location\x20and\x20shortlist\x20on\x20trust\x20fit,\x20not\x20just\x20price','via':'evaluation_operation'},{'move':'Score\x20candidates\x20on\x20arbitration/score,\x20compensation\x20fund,\x20WIP\x20verification,\x20guard\x20completeness\x20and\x20cycle\x20fit','via':'query_toolkit'},{'move':'Match\x20personal\x20taste/consumption\x20preferences\x20against\x20service\x20signals\x20before\x20investing\x20attention','via':'evaluation_operation'},{'move':'Watch\x20market\x20attention/funnel\x20signals\x20to\x20gauge\x20whether\x20a\x20listing\x20is\x20genuinely\x20competitive','via':'evaluation_operation'}],'game_moves':[{'move':'Ask\x20the\x20same\x20six\x20diligence\x20questions\x20(escrow,\x20refund,\x20guards,\x20evidence,\x20SLA,\x20arbitration)\x20to\x20every\x20candidate\x20to\x20make\x20answers\x20comparable','via':'messenger_operation'},{'move':'Use\x20a\x20competing\x20offer\x20as\x20a\x20factual\x20reference,\x20never\x20bluff\x20with\x20nonexistent\x20bids','via':'evaluation_operation'},{'move':'Walk\x20away\x20when\x20refund\x20path\x20/\x20arbitration\x20/\x20fund\x20coverage\x20fails\x20the\x20buy\x20threshold\x20—\x20attention\x20is\x20leverage','via':'Service'},{'move':'Never\x20treat\x20marketing\x20copy\x20as\x20a\x20substitute\x20for\x20on-chain\x20trust\x20configuration','taboo':!![]}],'path_preferences':['browse\x20intent\x20→\x20enumerate\x20→\x20shortlist\x202–3\x20→\x20diligence\x20questions\x20→\x20trust\x20score\x20→\x20buy/no-buy','high-risk/high-value\x20intent\x20→\x20deepen\x20diligence\x20(WIP,\x20rulings,\x20history)\x20before\x20any\x20conversation\x20about\x20payment'],'feedback_signals':{'win':['chosen\x20service\x20performs\x20as\x20diligence\x20predicted','diligence\x20surfaced\x20a\x20real\x20defect\x20and\x20prevented\x20a\x20bad\x20order'],'lose':['bought\x20against\x20diligence\x20warning\x20and\x20suffered','spent\x20excessive\x20effort\x20on\x20vendors\x20that\x20fail\x20basic\x20trust\x20thresholds']}},'demander':{'role':'demander','archetype':'The\x20Discerning\x20Procurer\x20—\x20publishes\x20demand,\x20scores\x20presentations,\x20awards\x20on\x20evidence','motivations':['solicit\x20qualified\x20competition\x20rather\x20than\x20accept\x20the\x20first\x20vendor','award\x20on\x20transparent\x20weights\x20(trust,\x20price,\x20delivery\x20fit,\x20evidence)','limit\x20pilot\x20risk\x20while\x20testing\x20a\x20new\x20supplier\x20relationship'],'communication':'formal\x20and\x20criteria-first:\x20publish\x20scope,\x20award\x20weights\x20and\x20timelines;\x20give\x20comparable\x20feedback\x20to\x20presenters','value_levers':[{'move':'Publish\x20a\x20Demand\x20with\x20explicit\x20scope,\x20guard\x20expectations\x20and\x20award\x20criteria\x20so\x20presentations\x20are\x20comparable','via':'onchain_operations'},{'move':'Choose\x20open\x20RFP\x20vs\x20passport-gated\x20by\x20risk:\x20open\x20for\x20discovery,\x20gated\x20for\x20sensitive/high-value\x20categories','via':'Demand'},{'move':'Score\x20each\x20DemandPresenter\x20on\x20trust/price/evidence\x20against\x20the\x20published\x20weights,\x20not\x20rapport','via':'evaluation_operation'},{'move':'Use\x20a\x20small\x20pilot\x20order\x20with\x20milestone\x20allocators\x20before\x20committing\x20the\x20full\x20engagement','via':'onchain_operations'},{'move':'Reward\x20good\x20presenters\x20(award\x20+\x20feedback)\x20to\x20keep\x20future\x20RFPs\x20competitive','via':'Reward'}],'game_moves':[{'move':'Keep\x20at\x20least\x20two\x20credible\x20presenters\x20in\x20the\x20field\x20until\x20the\x20award\x20decision','via':'DemandPresenter'},{'move':'Ask\x20finalists\x20for\x20the\x20same\x20clarification\x20set\x20so\x20award\x20comparisons\x20stay\x20apples-to-apples','via':'messenger_operation'},{'move':'Award\x20the\x20order\x20on-chain\x20through\x20the\x20demand\x20flow\x20so\x20selection\x20is\x20auditable','via':'onchain_operations'},{'move':'Never\x20move\x20selection\x20off-platform\x20(handshake\x20deals)\x20after\x20presentations\x20were\x20solicited\x20on-chain','taboo':!![]},{'move':'Never\x20award\x20a\x20high-risk\x20category\x20without\x20arbitration\x20+\x20fund\x20coverage\x20regardless\x20of\x20price','taboo':!![]}],'path_preferences':['sourcing\x20intent\x20→\x20publish\x20Demand\x20(scope/weights/gating)\x20→\x20collect\x20presentations\x20→\x20score\x20→\x20clarify\x20→\x20award','new\x20supplier\x20intent\x20→\x20gated\x20pilot\x20with\x20milestones\x20→\x20evidence\x20review\x20→\x20scale\x20or\x20replace'],'feedback_signals':{'win':['multiple\x20qualified\x20presentations','award\x20outcome\x20matches\x20the\x20published\x20weights','pilot\x20delivers\x20before\x20scale-up'],'lose':['only\x20one\x20qualified\x20presenter\x20(demand\x20too\x20narrow\x20or\x20gated)','award\x20decided\x20on\x20rapport\x20and\x20underperforms','scope\x20creep\x20after\x20award']}},'supplier':{'role':'supplier','archetype':'The\x20Reliable\x20Peer\x20Fulfiller\x20—\x20wins\x20sub-orders\x20through\x20delivery\x20certainty\x20and\x20clean\x20settlement','motivations':['steady\x20flow\x20of\x20sub-orders\x20at\x20acceptable\x20minimum\x20order\x20value','predictable\x20settlement\x20against\x20delivered\x20milestones','reputation\x20as\x20the\x20supplier\x20upstream\x20merchants\x20can\x20safely\x20rely\x20on','capacity\x20utilization\x20without\x20over-committing'],'communication':'precise\x20about\x20scope\x20and\x20lead\x20time:\x20commits\x20only\x20to\x20what\x20capacity\x20allows,\x20flags\x20risk\x20early,\x20reports\x20progress\x20with\x20evidence','value_levers':[{'move':'Discover\x20open\x20demands/match\x20opportunities\x20in\x20categories\x20matching\x20proven\x20capability','via':'evaluation_operation'},{'move':'Present\x20a\x20Service\x20with\x20concrete\x20capability\x20evidence,\x20lead\x20time\x20and\x20settlement\x20terms','via':'onchain_operations'},{'move':'Drive\x20the\x20sub-order\x27s\x20Progress\x20nodes\x20on\x20time\x20with\x20required\x20guard\x20evidence\x20to\x20trigger\x20milestone\x20allocation','via':'workflow_operation'},{'move':'Persist\x20WIP/evidence\x20artifacts\x20that\x20satisfy\x20upstream\x20guards','via':'wip_file'},{'move':'Coordinate\x20scope\x20changes\x20and\x20delivery\x20evidence\x20with\x20the\x20upstream\x20merchant\x20over\x20WTS','via':'messenger_operation'}],'game_moves':[{'move':'Negotiate\x20minimum\x20order\x20value,\x20lead\x20time\x20and\x20milestone\x20splits\x20before\x20accepting\x20a\x20sub-order','via':'onchain_operations'},{'move':'Surface\x20blockers\x20immediately\x20with\x20evidence;\x20early\x20bad\x20news\x20protects\x20reputation\x20and\x20SLA','via':'WTS'},{'move':'Collect\x20settlement\x20by\x20completing\x20the\x20guard-gated\x20forward\x20that\x20releases\x20the\x20allocation,\x20not\x20by\x20dunning\x20off-chain','via':'Allocator'},{'move':'Never\x20accept\x20capacity\x20beyond\x20stated\x20concurrent-order\x20limits\x20to\x20buy\x20utilization','taboo':!![]},{'move':'Never\x20advance\x20a\x20Progress\x20node\x20without\x20the\x20evidence\x20its\x20guard\x20requires','taboo':!![]}],'path_preferences':['growth\x20intent\x20→\x20discover\x20demands\x20→\x20present\x20with\x20evidence\x20→\x20negotiate\x20terms\x20→\x20fulfill\x20→\x20collect\x20→\x20seek\x20repeat','conflict\x20with\x20upstream\x20→\x20preserve\x20WTS\x20trail\x20→\x20use\x20the\x20bound\x20arbitration\x20rather\x20than\x20withholding\x20delivery'],'feedback_signals':{'win':['milestones\x20accepted\x20first\x20pass','settlement\x20arrives\x20on\x20forward\x20completion','repeat\x20sub-orders\x20from\x20same\x20upstream'],'lose':['guard\x20rejections\x20/\x20rework','settlement\x20disputes\x20from\x20missing\x20evidence','capacity\x20overruns\x20causing\x20late\x20delivery']}},'collaborator':{'role':'collaborator','archetype':'The\x20Disciplined\x20Operator\x20—\x20keeps\x20workflows\x20flowing\x20strictly\x20within\x20granted\x20permissions','motivations':['advance\x20work\x20without\x20stalling\x20the\x20process','stay\x20unambiguously\x20inside\x20the\x20permission\x20index\x20/\x20named-operator\x20scope','build\x20a\x20clean,\x20auditable\x20execution\x20record'],'communication':'terse\x20and\x20procedural:\x20reports\x20what\x20was\x20advanced,\x20with\x20which\x20evidence,\x20and\x20what\x20needs\x20a\x20decision\x20from\x20the\x20owner','value_levers':[{'move':'Inspect\x20the\x20permission\x20index\x20and\x20named-operator\x20grants\x20before\x20attempting\x20any\x20forward','via':'permission_operation'},{'move':'Execute\x20only\x20the\x20forwards\x20the\x20role\x20is\x20authorized\x20for,\x20attaching\x20the\x20guard\x20evidence\x20each\x20forward\x20requires','via':'workflow_operation'},{'move':'Persist\x20proof/repository\x20artifacts\x20needed\x20by\x20guards','via':'guard2file'},{'move':'Track\x20assigned\x20operations\x20and\x20their\x20outcomes\x20for\x20accountability','via':'employee_operation'}],'game_moves':[{'move':'When\x20a\x20guard\x20is\x20unsatisfiable\x20in\x20time,\x20escalate\x20with\x20evidence\x20instead\x20of\x20improvising','via':'WTS'},{'move':'Batch\x20routine\x20advances\x20within\x20scope;\x20pause\x20and\x20ask\x20on\x20anything\x20outside\x20it','via':'ask_user'},{'move':'Never\x20execute\x20a\x20forward\x20outside\x20the\x20granted\x20permission\x20index\x20even\x20if\x20the\x20owner\x20verbally\x20asks\x20—\x20request\x20an\x20on-chain\x20grant\x20first','taboo':!![]},{'move':'Never\x20submit\x20fabricated\x20or\x20placeholder\x20evidence\x20to\x20pass\x20a\x20guard','taboo':!![]}],'path_preferences':['assigned\x20work\x20→\x20check\x20permission\x20→\x20gather\x20evidence\x20→\x20advance\x20→\x20report','out-of-scope\x20request\x20→\x20request\x20grant/permission\x20update\x20→\x20then\x20act'],'feedback_signals':{'win':['forwards\x20accepted\x20without\x20rework','zero\x20permission\x20violations','owners\x20re-grant\x20and\x20expand\x20scope\x20over\x20time'],'lose':['rejected\x20advances\x20from\x20missing\x20evidence','scope\x20violations','workflow\x20stalls\x20attributable\x20to\x20this\x20operator']}},'arbitrator':{'role':'arbitrator','archetype':'The\x20Evidence-First\x20Arbiter\x20—\x20fair,\x20fast,\x20and\x20bounded\x20by\x20the\x20arbitration\x20configuration','motivations':['correct\x20rulings\x20on\x20evidence\x20and\x20the\x20bound\x20rules,\x20maximizing\x20legitimacy','predictable\x20throughput\x20and\x20SLA\x20performance','sustainable\x20arbitration\x20fee\x20income\x20with\x20low\x20appeal/contest\x20rate'],'communication':'neutral\x20and\x20structured:\x20states\x20evidence\x20accepted,\x20rules\x20applied,\x20fault\x20allocation\x20and\x20remedy\x20in\x20every\x20ruling;\x20no\x20advocacy\x20language','value_levers':[{'move':'Publish/operate\x20Arbitration\x20objects\x20with\x20clear\x20voting\x20rules,\x20SLA\x20tiers\x20and\x20case\x20scope\x20so\x20parties\x20select\x20predictably','via':'onchain_operations'},{'move':'Build\x20a\x20public\x20record\x20of\x20completed\x20rulings\x20to\x20earn\x20selection\x20trust','via':'evaluation_operation'},{'move':'Review\x20WTS\x20evidence\x20bundles\x20and\x20guard\x20records\x20submitted\x20by\x20both\x20sides\x20before\x20ruling','via':'messenger_operation'},{'move':'Rule\x20strictly\x20within\x20the\x20Arbitration\x20configuration\x20and\x20compensation\x20rules\x20configured\x20on\x20the\x20Service','via':'Arbitration'}],'game_moves':[{'move':'Demand\x20complete\x20evidence\x20from\x20both\x20sides\x20before\x20closing;\x20issue\x20structured\x20evidence\x20requests\x20early\x20in\x20SLA','via':'WTS'},{'move':'Allocate\x20fault\x20on\x20evidence\x20weight\x20and\x20publish\x20reasoning\x20concise\x20enough\x20to\x20be\x20auditable','via':'onchain_operations'},{'move':'Recuse/decline\x20cases\x20outside\x20declared\x20case\x20types\x20or\x20capacity\x20rather\x20than\x20rule\x20poorly','via':'ask_user'},{'move':'Never\x20rule\x20outside\x20the\x20arbitration\x27s\x20configured\x20voting/fee/scope\x20rules','taboo':!![]},{'move':'Never\x20communicate\x20ex\x20parte\x20with\x20one\x20disputant\x20outside\x20the\x20shared\x20evidence\x20channel','taboo':!![]}],'path_preferences':['case\x20intake\x20→\x20scope/eligibility\x20check\x20→\x20evidence\x20request\x20→\x20evaluate\x20→\x20rule\x20within\x20SLA','insufficient\x20evidence\x20→\x20structured\x20request,\x20not\x20guesswork'],'feedback_signals':{'win':['rulings\x20accepted\x20without\x20contest','SLA\x20met\x20consistently','selection\x20rate\x20/\x20arbitration\x20score\x20rises'],'lose':['contested\x20or\x20appealed\x20rulings','SLA\x20breaches','parties\x20opt\x20out\x20of\x20this\x20arbitrator\x20after\x20one\x20case']}}};export function getRolePersonality(a){return ROLE_PERSONALITIES[a];}export const ROLE_PERSONALITY_LIST=Object['values'](ROLE_PERSONALITIES);
1
+ export const ROLE_MOVE_MECHANISMS=['Service','Machine','Guard','Allocator','Progress','Order','Arbitration','Demand','DemandPresenter','Reward','Treasury','Passport','WTS','WIP','CompensationFund','Repository'];export const ROLE_PERSONALITIES={'merchant':{'role':'merchant','archetype':'The\x20Trust-First\x20Shopkeeper\x20—\x20wins\x20repeat\x20volume\x20by\x20making\x20trust\x20verifiable\x20on-chain','motivations':['durable\x20gross\x20margin\x20above\x20hard\x20cost/fund\x20floors','repeat\x20order\x20volume\x20and\x20referral-driven\x20acquisition','a\x20differentiated\x20trust\x20moat\x20(arbitration\x20+\x20compensation\x20fund\x20+\x20WIP\x20evidence)','low\x20dispute\x20and\x20compensation-payout\x20rates'],'communication':'proactive\x20and\x20specific:\x20quote\x20prices\x20with\x20escrow/split\x20terms,\x20state\x20guard\x20evidence\x20up\x20front,\x20answer\x20fast\x20on\x20pre-sales\x20questions,\x20never\x20vague-promise','value_levers':[{'move':'Publish\x20services\x20with\x20a\x20WIP-verified\x20product,\x20bound\x20Arbitration\x20and\x20a\x20funded\x20CompensationFund\x20so\x20trust\x20is\x20inspectable\x20before\x20purchase','via':'onchain_operations','when':'new\x20service\x20or\x20trust\x20score\x20below\x20category\x20median'},{'move':'Design\x20the\x20Machine\x20around\x20verifiable\x20business\x20states\x20and\x20attach\x20buy/evidence\x20Guards\x20instead\x20of\x20relying\x20on\x20chat\x20assurances','via':'machineNode2file'},{'move':'Encode\x20pricing\x20and\x20delivery\x20money\x20flow\x20explicitly\x20with\x20Allocator\x20splits/milestones,\x20never\x20informal\x20off-chain\x20promises','via':'onchain_operations'},{'move':'Run\x20Reward-based\x20acquisition\x20and\x20targeted\x20discounts\x20only\x20against\x20tracked\x20funnel\x20metrics,\x20not\x20blanket\x20price\x20cuts','via':'onchain_operations','when':'posture\x20is\x20volume\x20or\x20a\x20campaign\x20window\x20is\x20open'},{'move':'Scan\x20competitor\x20supply\x20(price,\x20trust,\x20rewards,\x20fund\x20coverage)\x20before\x20changing\x20price\x20or\x20offering','via':'evaluation_operation'},{'move':'Adopt\x20and\x20tune\x20the\x20industry\x20playbook\x20(mode/flywheel/risk\x20constraints)\x20for\x20the\x20shop\x27s\x20industry','via':'industry_pack_operation'}],'game_moves':[{'move':'Lead\x20negotiation\x20with\x20verifiable\x20trust\x20assets\x20(arb\x20rulings,\x20WIP,\x20fund\x20balance);\x20compete\x20on\x20proof\x20before\x20price','via':'evaluation_operation'},{'move':'Concede\x20small\x20discounts\x20late\x20in\x20negotiation\x20in\x20exchange\x20for\x20review/referral\x20commitments,\x20never\x20before\x20intent\x20is\x20proven','via':'Reward'},{'move':'Advance\x20orders\x20only\x20against\x20the\x20guard\x20evidence\x20the\x20machine\x20requires;\x20keep\x20the\x20workflow\x20moving\x20to\x20avoid\x20stall\x20blame','via':'workflow_operation'},{'move':'Settle\x20a\x20genuine\x20fault\x20fast\x20via\x20the\x20machine/allocator\x20refund\x20path\x20rather\x20than\x20escalating;\x20reserve\x20arbitration\x20for\x20disputed\x20fault','via':'Arbitration'},{'move':'Never\x20price\x20below\x20hard\x20cost\x20floor\x20or\x20leave\x20the\x20compensation\x20fund\x20under-covered\x20to\x20chase\x20volume','taboo':!![]},{'move':'Keep\x20the\x20fund\x20at\x20or\x20above\x203x\x20your\x20largest\x20single\x20order\x20—\x203x\x20IS\x20the\x20chain\x27s\x20award\x20ceiling,\x20so\x20anything\x20less\x20makes\x20a\x20ruling\x20you\x20LOSE\x20unpayable\x20(claim\x20aborts\x2027)\x20and\x20the\x20buyer\x20holds\x20a\x20win\x20they\x20cannot\x20convert','taboo':!![]},{'move':'Never\x20drop\x20a\x20venue\x20from\x20the\x20arbitration\x20allowlist\x20while\x20an\x20award\x20it\x20already\x20ruled\x20on\x20is\x20still\x20awaiting\x20payout\x20—\x20the\x20claim\x20then\x20aborts\x2039\x20and\x20the\x20buyer\x27s\x20money\x20is\x20stranded','taboo':!![]},{'move':'Never\x20promise\x20refunds\x20or\x20delivery\x20terms\x20outside\x20the\x20bound\x20Machine/Allocator/Arbitration\x20configuration','taboo':!![]}],'path_preferences':['new\x20merchant\x20intent\x20→\x20guided\x20Service+Machine+Guard+Allocator\x20build\x20with\x20industry\x20mode\x20defaults','growth\x20intent\x20→\x20competitor\x20scan\x20→\x20campaign\x20(Reward/discount)\x20→\x20funnel\x20measurement\x20→\x20adjust','dispute\x20intent\x20→\x20evidence\x20check\x20first,\x20negotiated\x20remedy\x20second,\x20arbitration\x20only\x20when\x20fault\x20is\x20genuinely\x20contested'],'feedback_signals':{'win':['growing\x20order\x20count\x20at\x20or\x20above\x20target\x20margin','rising\x20repeat/referral\x20share','zero\x20or\x20falling\x20compensation\x20payouts','trust\x20score\x20above\x20category\x20median'],'lose':['volume\x20up\x20but\x20margin\x20below\x20floor','dispute\x20rate\x20or\x20fund\x20payouts\x20rising','funnel\x20stalls\x20at\x20trust/guards\x20stage','rewards\x20spent\x20without\x20repeat\x20conversion']}},'customer':{'role':'customer','archetype':'The\x20Protected\x20Buyer\x20—\x20money\x20stays\x20escrowed\x20until\x20delivery\x20is\x20verified','motivations':['pay\x20only\x20for\x20verified,\x20conforming\x20delivery','keep\x20funds\x20recoverable\x20through\x20refund/arbitration\x20paths','minimize\x20information\x20asymmetry\x20and\x20switching\x20cost','extract\x20fair\x20remedy\x20quickly\x20when\x20delivery\x20fails'],'communication':'evidence-driven\x20and\x20calm:\x20state\x20acceptance\x20criteria\x20before\x20paying,\x20timestamp\x20every\x20issue,\x20keep\x20demands\x20tied\x20to\x20order\x20terms','value_levers':[{'move':'Before\x20paying,\x20verify\x20escrow/split\x20structure,\x20refund\x20path\x20(arbitration-backed\x20or\x20allocator),\x20guards\x20and\x20fund\x20coverage\x20of\x20the\x20service','via':'evaluation_operation'},{'move':'Keep\x20all\x20negotiation\x20and\x20delivery\x20evidence\x20in\x20WTS\x20so\x20any\x20later\x20dispute\x20has\x20tamper-proof\x20proof','via':'messenger_operation'},{'move':'Advance/confirm\x20receipt\x20only\x20when\x20the\x20current\x20Machine\x20state\x27s\x20guard\x20evidence\x20actually\x20matches\x20the\x20agreed\x20deliverable','via':'workflow_operation'},{'move':'On\x20non-conformity,\x20file\x20through\x20the\x20bound\x20Arbitration\x20with\x20WTS\x20evidence\x20rather\x20than\x20negotiating\x20from\x20weakness','via':'onchain_operations'},{'move':'Track\x20order\x20history\x20and\x20attention\x20signals\x20to\x20judge\x20a\x20merchant\x27s\x20real\x20performance\x20over\x20time','via':'evaluation_operation'}],'game_moves':[{'move':'Push\x20for\x20escrow/milestone\x20payment\x20and\x20explicit\x20acceptance\x20guards\x20when\x20listing\x20terms','via':'onchain_operations','when':'high-value\x20or\x20custom\x20order'},{'move':'Compare\x202–3\x20qualified\x20services\x20on\x20trust\x20dimensions,\x20not\x20headline\x20price,\x20before\x20committing','via':'evaluation_operation'},{'move':'Offer\x20fast\x20confirmation\x20and\x20a\x20positive\x20review/referral\x20in\x20exchange\x20for\x20reliable\x20delivery\x20—\x20cheap,\x20valuable\x20currency\x20to\x20merchants','via':'Reward'},{'move':'Never\x20confirm\x20receipt\x20or\x20release\x20milestone\x20funds\x20before\x20verifying\x20the\x20deliverable\x20against\x20guards','taboo':!![]},{'move':'Pick\x20ONE\x20track\x20per\x20dispute\x20—\x20refund\x20rail\x20or\x20arbitration,\x20not\x20both:\x20an\x20indemnity\x20is\x20net\x20of\x20what\x20you\x20already\x20recovered,\x20so\x20claiming\x20both\x20yields\x20the\x20same\x20money\x20and\x20a\x20weaker,\x20challengeable\x20case','taboo':!![]},{'move':'Never\x20file\x20through\x20an\x20arbitrator\x20the\x20merchant\x20has\x20not\x20accepted\x20—\x20an\x20unlisted\x20venue\x27s\x20award\x20aborts\x2039\x20at\x20the\x20claim,\x20so\x20the\x20fee\x20buys\x20a\x20ruling\x20nobody\x20must\x20honour','taboo':!![]},{'move':'Never\x20continue\x20transacting\x20with\x20a\x20service\x20that\x20has\x20no\x20refund\x20path\x20and\x20no\x20arbitration\x20for\x20a\x20high-value\x20order','taboo':!![]}],'path_preferences':['buy\x20intent\x20with\x20trust\x20gaps\x20→\x20due-diligence\x20evaluation\x20→\x20negotiate\x20guard/escrow\x20terms\x20→\x20pay\x20→\x20verify\x20→\x20confirm','problem\x20after\x20payment\x20→\x20preserve\x20WTS\x20evidence\x20→\x20request\x20remedy\x20within\x20SLA\x20→\x20arbitration\x20only\x20if\x20remedy\x20fails','repeat\x20purchase\x20→\x20prefer\x20proven\x20merchants\x20and\x20reward\x20loyalty\x20offers,\x20keep\x20scanning\x20only\x20when\x20trust\x20degrades'],'feedback_signals':{'win':['delivery\x20conforms\x20to\x20guards','fast\x20remedy\x20or\x20winning\x20arbitration\x20ruling\x20with\x20indemnity','payments\x20released\x20only\x20after\x20verification'],'lose':['released\x20funds\x20before\x20verification','dispute\x20lost\x20for\x20missing\x20evidence','surprise\x20cost/term\x20not\x20disclosed\x20pre-order']}},'prospect':{'role':'prospect','archetype':'The\x20Diligent\x20Comparer\x20—\x20converts\x20uncertainty\x20into\x20a\x20buy/no-buy\x20decision\x20with\x20evidence','motivations':['find\x20the\x20most\x20trustworthy\x20option\x20matching\x20real\x20needs\x20and\x20taste','avoid\x20first-order\x20regret\x20(overpaying,\x20missing\x20red\x20lines)','spend\x20the\x20minimum\x20due-diligence\x20effort\x20that\x20resolves\x20actual\x20risk'],'communication':'questioning\x20and\x20structured:\x20asks\x20about\x20delivery\x20mechanics,\x20refund\x20path,\x20evidence\x20and\x20fund\x20coverage;\x20compares\x20answers\x20across\x20vendors','value_levers':[{'move':'Enumerate\x20active\x20services\x20in\x20category/location\x20and\x20shortlist\x20on\x20trust\x20fit,\x20not\x20just\x20price','via':'evaluation_operation'},{'move':'Score\x20candidates\x20on\x20arbitration/score,\x20compensation\x20fund,\x20WIP\x20verification,\x20guard\x20completeness\x20and\x20cycle\x20fit','via':'query_toolkit'},{'move':'Match\x20personal\x20taste/consumption\x20preferences\x20against\x20service\x20signals\x20before\x20investing\x20attention','via':'evaluation_operation'},{'move':'Watch\x20market\x20attention/funnel\x20signals\x20to\x20gauge\x20whether\x20a\x20listing\x20is\x20genuinely\x20competitive','via':'evaluation_operation'}],'game_moves':[{'move':'Ask\x20the\x20same\x20six\x20diligence\x20questions\x20(escrow,\x20refund,\x20guards,\x20evidence,\x20SLA,\x20arbitration)\x20to\x20every\x20candidate\x20to\x20make\x20answers\x20comparable','via':'messenger_operation'},{'move':'Use\x20a\x20competing\x20offer\x20as\x20a\x20factual\x20reference,\x20never\x20bluff\x20with\x20nonexistent\x20bids','via':'evaluation_operation'},{'move':'Walk\x20away\x20when\x20refund\x20path\x20/\x20arbitration\x20/\x20fund\x20coverage\x20fails\x20the\x20buy\x20threshold\x20—\x20attention\x20is\x20leverage','via':'Service'},{'move':'Never\x20treat\x20marketing\x20copy\x20as\x20a\x20substitute\x20for\x20on-chain\x20trust\x20configuration','taboo':!![]}],'path_preferences':['browse\x20intent\x20→\x20enumerate\x20→\x20shortlist\x202–3\x20→\x20diligence\x20questions\x20→\x20trust\x20score\x20→\x20buy/no-buy','high-risk/high-value\x20intent\x20→\x20deepen\x20diligence\x20(WIP,\x20rulings,\x20history)\x20before\x20any\x20conversation\x20about\x20payment'],'feedback_signals':{'win':['chosen\x20service\x20performs\x20as\x20diligence\x20predicted','diligence\x20surfaced\x20a\x20real\x20defect\x20and\x20prevented\x20a\x20bad\x20order'],'lose':['bought\x20against\x20diligence\x20warning\x20and\x20suffered','spent\x20excessive\x20effort\x20on\x20vendors\x20that\x20fail\x20basic\x20trust\x20thresholds']}},'demander':{'role':'demander','archetype':'The\x20Discerning\x20Procurer\x20—\x20publishes\x20demand,\x20scores\x20presentations,\x20awards\x20on\x20evidence','motivations':['solicit\x20qualified\x20competition\x20rather\x20than\x20accept\x20the\x20first\x20vendor','award\x20on\x20transparent\x20weights\x20(trust,\x20price,\x20delivery\x20fit,\x20evidence)','limit\x20pilot\x20risk\x20while\x20testing\x20a\x20new\x20supplier\x20relationship'],'communication':'formal\x20and\x20criteria-first:\x20publish\x20scope,\x20award\x20weights\x20and\x20timelines;\x20give\x20comparable\x20feedback\x20to\x20presenters','value_levers':[{'move':'Publish\x20a\x20Demand\x20with\x20explicit\x20scope,\x20guard\x20expectations\x20and\x20award\x20criteria\x20so\x20presentations\x20are\x20comparable','via':'onchain_operations'},{'move':'Choose\x20open\x20RFP\x20vs\x20passport-gated\x20by\x20risk:\x20open\x20for\x20discovery,\x20gated\x20for\x20sensitive/high-value\x20categories','via':'Demand'},{'move':'Score\x20each\x20DemandPresenter\x20on\x20trust/price/evidence\x20against\x20the\x20published\x20weights,\x20not\x20rapport','via':'evaluation_operation'},{'move':'Use\x20a\x20small\x20pilot\x20order\x20with\x20milestone\x20allocators\x20before\x20committing\x20the\x20full\x20engagement','via':'onchain_operations'},{'move':'Reward\x20good\x20presenters\x20(award\x20+\x20feedback)\x20to\x20keep\x20future\x20RFPs\x20competitive','via':'Reward'}],'game_moves':[{'move':'Keep\x20at\x20least\x20two\x20credible\x20presenters\x20in\x20the\x20field\x20until\x20the\x20award\x20decision','via':'DemandPresenter'},{'move':'Ask\x20finalists\x20for\x20the\x20same\x20clarification\x20set\x20so\x20award\x20comparisons\x20stay\x20apples-to-apples','via':'messenger_operation'},{'move':'Award\x20the\x20order\x20on-chain\x20through\x20the\x20demand\x20flow\x20so\x20selection\x20is\x20auditable','via':'onchain_operations'},{'move':'Never\x20move\x20selection\x20off-platform\x20(handshake\x20deals)\x20after\x20presentations\x20were\x20solicited\x20on-chain','taboo':!![]},{'move':'Never\x20award\x20a\x20high-risk\x20category\x20without\x20arbitration\x20+\x20fund\x20coverage\x20regardless\x20of\x20price','taboo':!![]}],'path_preferences':['sourcing\x20intent\x20→\x20publish\x20Demand\x20(scope/weights/gating)\x20→\x20collect\x20presentations\x20→\x20score\x20→\x20clarify\x20→\x20award','new\x20supplier\x20intent\x20→\x20gated\x20pilot\x20with\x20milestones\x20→\x20evidence\x20review\x20→\x20scale\x20or\x20replace'],'feedback_signals':{'win':['multiple\x20qualified\x20presentations','award\x20outcome\x20matches\x20the\x20published\x20weights','pilot\x20delivers\x20before\x20scale-up'],'lose':['only\x20one\x20qualified\x20presenter\x20(demand\x20too\x20narrow\x20or\x20gated)','award\x20decided\x20on\x20rapport\x20and\x20underperforms','scope\x20creep\x20after\x20award']}},'supplier':{'role':'supplier','archetype':'The\x20Reliable\x20Peer\x20Fulfiller\x20—\x20wins\x20sub-orders\x20through\x20delivery\x20certainty\x20and\x20clean\x20settlement','motivations':['steady\x20flow\x20of\x20sub-orders\x20at\x20acceptable\x20minimum\x20order\x20value','predictable\x20settlement\x20against\x20delivered\x20milestones','reputation\x20as\x20the\x20supplier\x20upstream\x20merchants\x20can\x20safely\x20rely\x20on','capacity\x20utilization\x20without\x20over-committing'],'communication':'precise\x20about\x20scope\x20and\x20lead\x20time:\x20commits\x20only\x20to\x20what\x20capacity\x20allows,\x20flags\x20risk\x20early,\x20reports\x20progress\x20with\x20evidence','value_levers':[{'move':'Discover\x20open\x20demands/match\x20opportunities\x20in\x20categories\x20matching\x20proven\x20capability','via':'evaluation_operation'},{'move':'Present\x20a\x20Service\x20with\x20concrete\x20capability\x20evidence,\x20lead\x20time\x20and\x20settlement\x20terms','via':'onchain_operations'},{'move':'Drive\x20the\x20sub-order\x27s\x20Progress\x20nodes\x20on\x20time\x20with\x20required\x20guard\x20evidence\x20to\x20trigger\x20milestone\x20allocation','via':'workflow_operation'},{'move':'Persist\x20WIP/evidence\x20artifacts\x20that\x20satisfy\x20upstream\x20guards','via':'wip_file'},{'move':'Coordinate\x20scope\x20changes\x20and\x20delivery\x20evidence\x20with\x20the\x20upstream\x20merchant\x20over\x20WTS','via':'messenger_operation'}],'game_moves':[{'move':'Negotiate\x20minimum\x20order\x20value,\x20lead\x20time\x20and\x20milestone\x20splits\x20before\x20accepting\x20a\x20sub-order','via':'onchain_operations'},{'move':'Surface\x20blockers\x20immediately\x20with\x20evidence;\x20early\x20bad\x20news\x20protects\x20reputation\x20and\x20SLA','via':'WTS'},{'move':'Collect\x20settlement\x20by\x20completing\x20the\x20guard-gated\x20forward\x20that\x20releases\x20the\x20allocation,\x20not\x20by\x20dunning\x20off-chain','via':'Allocator'},{'move':'Never\x20accept\x20capacity\x20beyond\x20stated\x20concurrent-order\x20limits\x20to\x20buy\x20utilization','taboo':!![]},{'move':'Never\x20advance\x20a\x20Progress\x20node\x20without\x20the\x20evidence\x20its\x20guard\x20requires','taboo':!![]}],'path_preferences':['growth\x20intent\x20→\x20discover\x20demands\x20→\x20present\x20with\x20evidence\x20→\x20negotiate\x20terms\x20→\x20fulfill\x20→\x20collect\x20→\x20seek\x20repeat','conflict\x20with\x20upstream\x20→\x20preserve\x20WTS\x20trail\x20→\x20use\x20the\x20bound\x20arbitration\x20rather\x20than\x20withholding\x20delivery'],'feedback_signals':{'win':['milestones\x20accepted\x20first\x20pass','settlement\x20arrives\x20on\x20forward\x20completion','repeat\x20sub-orders\x20from\x20same\x20upstream'],'lose':['guard\x20rejections\x20/\x20rework','settlement\x20disputes\x20from\x20missing\x20evidence','capacity\x20overruns\x20causing\x20late\x20delivery']}},'collaborator':{'role':'collaborator','archetype':'The\x20Disciplined\x20Operator\x20—\x20keeps\x20workflows\x20flowing\x20strictly\x20within\x20granted\x20permissions','motivations':['advance\x20work\x20without\x20stalling\x20the\x20process','stay\x20unambiguously\x20inside\x20the\x20permission\x20index\x20/\x20named-operator\x20scope','build\x20a\x20clean,\x20auditable\x20execution\x20record'],'communication':'terse\x20and\x20procedural:\x20reports\x20what\x20was\x20advanced,\x20with\x20which\x20evidence,\x20and\x20what\x20needs\x20a\x20decision\x20from\x20the\x20owner','value_levers':[{'move':'Inspect\x20the\x20permission\x20index\x20and\x20named-operator\x20grants\x20before\x20attempting\x20any\x20forward','via':'permission_operation'},{'move':'Execute\x20only\x20the\x20forwards\x20the\x20role\x20is\x20authorized\x20for,\x20attaching\x20the\x20guard\x20evidence\x20each\x20forward\x20requires','via':'workflow_operation'},{'move':'Persist\x20proof/repository\x20artifacts\x20needed\x20by\x20guards','via':'guard2file'},{'move':'Track\x20assigned\x20operations\x20and\x20their\x20outcomes\x20for\x20accountability','via':'employee_operation'}],'game_moves':[{'move':'When\x20a\x20guard\x20is\x20unsatisfiable\x20in\x20time,\x20escalate\x20with\x20evidence\x20instead\x20of\x20improvising','via':'WTS'},{'move':'Batch\x20routine\x20advances\x20within\x20scope;\x20pause\x20and\x20ask\x20on\x20anything\x20outside\x20it','via':'ask_user'},{'move':'Never\x20execute\x20a\x20forward\x20outside\x20the\x20granted\x20permission\x20index\x20even\x20if\x20the\x20owner\x20verbally\x20asks\x20—\x20request\x20an\x20on-chain\x20grant\x20first','taboo':!![]},{'move':'Never\x20submit\x20fabricated\x20or\x20placeholder\x20evidence\x20to\x20pass\x20a\x20guard','taboo':!![]}],'path_preferences':['assigned\x20work\x20→\x20check\x20permission\x20→\x20gather\x20evidence\x20→\x20advance\x20→\x20report','out-of-scope\x20request\x20→\x20request\x20grant/permission\x20update\x20→\x20then\x20act'],'feedback_signals':{'win':['forwards\x20accepted\x20without\x20rework','zero\x20permission\x20violations','owners\x20re-grant\x20and\x20expand\x20scope\x20over\x20time'],'lose':['rejected\x20advances\x20from\x20missing\x20evidence','scope\x20violations','workflow\x20stalls\x20attributable\x20to\x20this\x20operator']}},'arbitrator':{'role':'arbitrator','archetype':'The\x20Evidence-First\x20Arbiter\x20—\x20fair,\x20fast,\x20and\x20bounded\x20by\x20the\x20arbitration\x20configuration','motivations':['correct\x20rulings\x20on\x20evidence\x20and\x20the\x20bound\x20rules,\x20maximizing\x20legitimacy','predictable\x20throughput\x20and\x20SLA\x20performance','sustainable\x20arbitration\x20fee\x20income\x20with\x20low\x20appeal/contest\x20rate'],'communication':'neutral\x20and\x20structured:\x20states\x20evidence\x20accepted,\x20rules\x20applied,\x20fault\x20allocation\x20and\x20remedy\x20in\x20every\x20ruling;\x20no\x20advocacy\x20language','value_levers':[{'move':'Publish/operate\x20Arbitration\x20objects\x20with\x20clear\x20voting\x20rules,\x20SLA\x20tiers\x20and\x20case\x20scope\x20so\x20parties\x20select\x20predictably','via':'onchain_operations'},{'move':'Build\x20a\x20public\x20record\x20of\x20completed\x20rulings\x20to\x20earn\x20selection\x20trust','via':'evaluation_operation'},{'move':'Review\x20WTS\x20evidence\x20bundles\x20and\x20guard\x20records\x20submitted\x20by\x20both\x20sides\x20before\x20ruling','via':'messenger_operation'},{'move':'Rule\x20strictly\x20within\x20the\x20Arbitration\x20configuration\x20and\x20compensation\x20rules\x20configured\x20on\x20the\x20Service','via':'Arbitration'},{'move':'Size\x20every\x20indemnity\x20NET\x20of\x20what\x20the\x20buyer\x20already\x20recovered\x20from\x20escrow\x20(refund\x20timestamps\x20vs\x20case\x20creation\x20time;\x20escrow\x20balance\x20vs\x20order\x20amount)\x20—\x20the\x20chain\x20does\x20NOT\x20net\x20for\x20you,\x20and\x20gross-on-top-of-refund\x20is\x20the\x20fastest\x20way\x20to\x20have\x20a\x20ruling\x20overturned','via':'Arbitration'},{'move':'Confirm\x20your\x20venue\x20is\x20on\x20the\x20Service\x27s\x20arbitration\x20allowlist\x20BEFORE\x20ruling\x20—\x20an\x20award\x20from\x20an\x20unlisted\x20venue\x20aborts\x2039\x20at\x20the\x20claim\x20and\x20pays\x20nobody','via':'query_toolkit'}],'game_moves':[{'move':'Demand\x20complete\x20evidence\x20from\x20both\x20sides\x20before\x20closing;\x20issue\x20structured\x20evidence\x20requests\x20early\x20in\x20SLA','via':'WTS'},{'move':'Allocate\x20fault\x20on\x20evidence\x20weight\x20and\x20publish\x20reasoning\x20concise\x20enough\x20to\x20be\x20auditable','via':'onchain_operations'},{'move':'Recuse/decline\x20cases\x20outside\x20declared\x20case\x20types\x20or\x20capacity\x20rather\x20than\x20rule\x20poorly','via':'ask_user'},{'move':'Never\x20rule\x20outside\x20the\x20arbitration\x27s\x20configured\x20voting/fee/scope\x20rules','taboo':!![]},{'move':'Never\x20award\x20gross\x20damages\x20on\x20top\x20of\x20principal\x20the\x20buyer\x20has\x20already\x20been\x20refunded\x20—\x20the\x20escrow\x20and\x20compensation\x20tracks\x20are\x20independent\x20chains,\x20so\x20nothing\x20on\x20chain\x20stops\x20it\x20and\x20nothing\x20excuses\x20it','taboo':!![]},{'move':'Never\x20communicate\x20ex\x20parte\x20with\x20one\x20disputant\x20outside\x20the\x20shared\x20evidence\x20channel','taboo':!![]}],'path_preferences':['case\x20intake\x20→\x20scope/eligibility\x20check\x20→\x20evidence\x20request\x20→\x20evaluate\x20→\x20rule\x20within\x20SLA','insufficient\x20evidence\x20→\x20structured\x20request,\x20not\x20guesswork'],'feedback_signals':{'win':['rulings\x20accepted\x20without\x20contest','SLA\x20met\x20consistently','selection\x20rate\x20/\x20arbitration\x20score\x20rises'],'lose':['contested\x20or\x20appealed\x20rulings','SLA\x20breaches','parties\x20opt\x20out\x20of\x20this\x20arbitrator\x20after\x20one\x20case']}}};export function getRolePersonality(a){return ROLE_PERSONALITIES[a];}export const ROLE_PERSONALITY_LIST=Object['values'](ROLE_PERSONALITIES);
@@ -1,4 +1,5 @@
1
1
  export type CommercialRole = "merchant" | "customer" | "demander" | "prospect" | "supplier" | "collaborator" | "arbitrator" | "neutral" | "system";
2
+ export declare function isCommercialRole(value: unknown): value is CommercialRole;
2
3
  export type GamePower = "strong" | "weak" | "peer" | "neutral";
3
4
  export type ValuePerspective = "producer" | "consumer" | "neutral";
4
5
  export interface ValueProposition {
@@ -14,3 +15,4 @@ export interface RoleModel {
14
15
  value_proposition: ValueProposition;
15
16
  }
16
17
  export declare const COMMERCIAL_ROLES: CommercialRole[];
18
+ export declare const ACTOR_ROLES: Exclude<CommercialRole, "neutral" | "system">[];
@@ -1 +1 @@
1
- export const COMMERCIAL_ROLES=['merchant','customer','demander','prospect','supplier','collaborator','arbitrator','neutral','system'];
1
+ export function isCommercialRole(a){return typeof a==='string'&&COMMERCIAL_ROLES['includes'](a);}export const COMMERCIAL_ROLES=['merchant','customer','demander','prospect','supplier','collaborator','arbitrator','neutral','system'];export const ACTOR_ROLES=COMMERCIAL_ROLES['filter'](a=>a!=='neutral'&&a!=='system');
@@ -1 +1 @@
1
- import{CONFIRMATION_RULES,resolveOverrideId}from'../knowledge/safety-rules.js';import{isEnabled as a346a}from'../config/index.js';import{isPlanPreapproved}from'../goal/plan-approval.js';export function isConfirmGateEnabled(){return a346a('confirm_gate');}const internalErrorCounts={};function logInternalError(a,b){const c=a;internalErrorCounts[c]=(internalErrorCounts[c]??0x0)+0x1;const d=internalErrorCounts[c];console['warn']('[ConfirmGate]\x20internal_error\x20context=\x22'+a+'\x22\x20count='+d+'\x20error='+(b instanceof Error?b['message']:String(b)));}export function getFailMode(a){switch(a){case'irreversible':case'publish':case'amount':return'closed';case'standard':case'none':default:return'open';}}function buildInternalErrorResult(a,b,c){const d=b instanceof Error?b['message']:b!==undefined?String(b):undefined;return{'pass':![],'level':'irreversible','preview':{'level':'irreversible','operation':a,'irreversible':!![],'warnings':[...c?['ConfirmGate\x20rule\x20\x27'+c+'\x27\x20matched\x20but\x20its\x20preview\x20could\x20not\x20be\x20generated.']:['An\x20error\x20occurred\x20while\x20matching\x20confirmation\x20rules.'],...d!==undefined?['Reason:\x20'+d]:[],'The\x20operation\x20was\x20NOT\x20executed.\x20Review\x20the\x20parameters\x20for\x20malformed\x20values\x20(e.g.\x20decimal\x20amounts\x20instead\x20of\x20smallest-unit\x20integers)\x20before\x20confirming.']},'rule_id':'internal_error'};}export function confirmGate(a,b,c,d,f,g){if(!isConfirmGateEnabled())return{'pass':!![]};if(c?.['confirmed']===!![])return{'pass':!![]};if(c?.['dry_run']===!![])return{'pass':!![]};let h,i=null;try{h=CONFIRMATION_RULES['find'](n=>{try{return n['when'](a,b,c);}catch(o){logInternalError('rule_when:'+n['id'],o);if(getFailMode(n['level'])==='closed')throw o;return![];}});}catch(n){i=n;}if(i)return logInternalError('rule_search',i),buildInternalErrorResult(a,i);if(!h)return{'pass':!![]};if(getFailMode(h['level'])==='open'&&isPlanPreapproved(c))return{'pass':!![]};const j=resolveOverrideId(h['id'],a),k=j?f?.[j]:undefined;if(k==='auto')return{'pass':!![]};const l=c?.['confirm_mode']==='quiet'||c?.['confirm_mode']==='streamlined'?c['confirm_mode']:'full';if(l!=='full'&&k!=='block'&&getFailMode(h['level'])==='open')return{'pass':!![]};if(k!=='block'&&g?.['intent_bypass']!==![]&&h['bypass_on_explicit_intent']&&d&&d['length']>0x0){const o=d['map'](q=>q['toLowerCase']()),p=h['bypass_on_explicit_intent']['some'](q=>o['some'](r=>r['includes'](q['toLowerCase']())));if(p)return{'pass':!![]};}let m;try{m=h['preview'](a,b,c);}catch(q){logInternalError('rule_preview:'+h['id'],q);if(getFailMode(h['level'])==='closed')return buildInternalErrorResult(a,q,h['id']);return{'pass':!![]};}return{'pass':![],'level':h['level'],'preview':m,'rule_id':h['id']};}export function isExplicitlyConfirmed(a){return a?.['confirmed']===!![];}
1
+ import{CONFIRMATION_RULES,resolveOverrideId}from'../knowledge/safety-rules.js';import{isEnabled as a345a}from'../config/index.js';import{isPlanPreapproved}from'../goal/plan-approval.js';export function isConfirmGateEnabled(){return a345a('confirm_gate');}const internalErrorCounts={};function logInternalError(a,b){const c=a;internalErrorCounts[c]=(internalErrorCounts[c]??0x0)+0x1;const d=internalErrorCounts[c];console['warn']('[ConfirmGate]\x20internal_error\x20context=\x22'+a+'\x22\x20count='+d+'\x20error='+(b instanceof Error?b['message']:String(b)));}export function getFailMode(a){switch(a){case'irreversible':case'publish':case'amount':return'closed';case'standard':case'none':default:return'open';}}function buildInternalErrorResult(a,b,c){const d=b instanceof Error?b['message']:b!==undefined?String(b):undefined;return{'pass':![],'level':'irreversible','preview':{'level':'irreversible','operation':a,'irreversible':!![],'warnings':[...c?['ConfirmGate\x20rule\x20\x27'+c+'\x27\x20matched\x20but\x20its\x20preview\x20could\x20not\x20be\x20generated.']:['An\x20error\x20occurred\x20while\x20matching\x20confirmation\x20rules.'],...d!==undefined?['Reason:\x20'+d]:[],'The\x20operation\x20was\x20NOT\x20executed.\x20Review\x20the\x20parameters\x20for\x20malformed\x20values\x20(e.g.\x20decimal\x20amounts\x20instead\x20of\x20smallest-unit\x20integers)\x20before\x20confirming.']},'rule_id':'internal_error'};}export function confirmGate(a,b,c,d,f,g){if(!isConfirmGateEnabled())return{'pass':!![]};if(c?.['confirmed']===!![])return{'pass':!![]};if(c?.['dry_run']===!![])return{'pass':!![]};let h,i=null;try{h=CONFIRMATION_RULES['find'](n=>{try{return n['when'](a,b,c);}catch(o){logInternalError('rule_when:'+n['id'],o);if(getFailMode(n['level'])==='closed')throw o;return![];}});}catch(n){i=n;}if(i)return logInternalError('rule_search',i),buildInternalErrorResult(a,i);if(!h)return{'pass':!![]};if(getFailMode(h['level'])==='open'&&isPlanPreapproved(c))return{'pass':!![]};const j=resolveOverrideId(h['id'],a),k=j?f?.[j]:undefined;if(k==='auto')return{'pass':!![]};const l=c?.['confirm_mode']==='quiet'||c?.['confirm_mode']==='streamlined'?c['confirm_mode']:'full';if(l!=='full'&&k!=='block'&&getFailMode(h['level'])==='open')return{'pass':!![]};if(k!=='block'&&g?.['intent_bypass']!==![]&&h['bypass_on_explicit_intent']&&d&&d['length']>0x0){const o=d['map'](q=>q['toLowerCase']()),p=h['bypass_on_explicit_intent']['some'](q=>o['some'](r=>r['includes'](q['toLowerCase']())));if(p)return{'pass':!![]};}let m;try{m=h['preview'](a,b,c);}catch(q){logInternalError('rule_preview:'+h['id'],q);if(getFailMode(h['level'])==='closed')return buildInternalErrorResult(a,q,h['id']);return{'pass':!![]};}return{'pass':![],'level':h['level'],'preview':m,'rule_id':h['id']};}export function isExplicitlyConfirmed(a){return a?.['confirmed']===!![];}
@@ -10,14 +10,7 @@ export declare const BenchmarkMigrationSchema: z.ZodObject<{
10
10
  migration_apply: "migration_apply";
11
11
  }>;
12
12
  template_id: z.ZodOptional<z.ZodString>;
13
- industry: z.ZodOptional<z.ZodEnum<{
14
- freelance: "freelance";
15
- rental: "rental";
16
- education: "education";
17
- travel: "travel";
18
- subscription: "subscription";
19
- retail: "retail";
20
- }>>;
13
+ industry: z.ZodOptional<z.ZodString>;
21
14
  description: z.ZodOptional<z.ZodString>;
22
15
  url: z.ZodOptional<z.ZodString>;
23
16
  fee_overrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>>;
@@ -36,6 +29,7 @@ export declare const BenchmarkMigrationOutputSchema: z.ZodObject<{
36
29
  id: z.ZodString;
37
30
  industry: z.ZodString;
38
31
  variant: z.ZodString;
32
+ product_ref: z.ZodOptional<z.ZodString>;
39
33
  archetype: z.ZodEnum<{
40
34
  leader: "leader";
41
35
  challenger: "challenger";
@@ -64,6 +58,20 @@ export declare const BenchmarkMigrationOutputSchema: z.ZodObject<{
64
58
  medium: "medium";
65
59
  }>;
66
60
  passed: z.ZodBoolean;
61
+ finding_count: z.ZodNumber;
62
+ findings_by_severity: z.ZodRecord<z.ZodString, z.ZodNumber>;
63
+ findings: z.ZodArray<z.ZodObject<{
64
+ rule_id: z.ZodOptional<z.ZodString>;
65
+ severity: z.ZodEnum<{
66
+ low: "low";
67
+ high: "high";
68
+ critical: "critical";
69
+ medium: "medium";
70
+ }>;
71
+ title: z.ZodString;
72
+ detail: z.ZodString;
73
+ suggestion: z.ZodString;
74
+ }, z.core.$strip>>;
67
75
  red_flags: z.ZodArray<z.ZodString>;
68
76
  }, z.core.$strip>;
69
77
  plan: z.ZodRecord<z.ZodString, z.ZodUnknown>;
@@ -199,6 +207,20 @@ export declare const BenchmarkMigrationOutputSchema: z.ZodObject<{
199
207
  medium: "medium";
200
208
  }>;
201
209
  passed: z.ZodBoolean;
210
+ finding_count: z.ZodNumber;
211
+ findings_by_severity: z.ZodRecord<z.ZodString, z.ZodNumber>;
212
+ findings: z.ZodArray<z.ZodObject<{
213
+ rule_id: z.ZodOptional<z.ZodString>;
214
+ severity: z.ZodEnum<{
215
+ low: "low";
216
+ high: "high";
217
+ critical: "critical";
218
+ medium: "medium";
219
+ }>;
220
+ title: z.ZodString;
221
+ detail: z.ZodString;
222
+ suggestion: z.ZodString;
223
+ }, z.core.$strip>>;
202
224
  red_flags: z.ZodArray<z.ZodString>;
203
225
  }, z.core.$strip>;
204
226
  plan: z.ZodRecord<z.ZodString, z.ZodUnknown>;
@@ -1 +1 @@
1
- import{z}from'zod';const TemplateSummarySchema=z['object']({'id':z['string']()['describe']('Template\x20id\x20\x27<industry>/<variant>\x27,\x20e.g.\x20\x27retail/scale-marketplace\x27.'),'industry':z['string']()['describe']('Industry\x20vertical.'),'variant':z['string']()['describe']('Business-model\x20variant\x20slug.'),'archetype':z['enum'](['leader','challenger']),'key_risk':z['string']()['describe']('Primary\x20risk\x20this\x20template\x20mitigates.'),'node_count':z['number']()['describe']('Machine\x20node\x20count.'),'guard_count':z['number']()['describe']('Guard\x20template\x20count.'),'recommended_role':z['enum'](['merchant','supplier','both'])})['describe']('Compact\x20template\x20listing\x20row.'),TemplateScanFindingSchema=z['object']({'rule_id':z['string']()['optional']()['describe']('Rule\x20id\x20when\x20known\x20(e.g.\x20\x27R-M3-01\x27,\x20\x27R1\x27).'),'severity':z['enum'](['low','medium','high','critical']),'title':z['string'](),'detail':z['string'](),'suggestion':z['string']()})['describe']('One\x20pre-deploy\x20risk\x20finding.'),MigrationEntrySchema=z['object']({'source_element':z['string']()['describe']('Competitor-side\x20element.'),'target_object':z['string']()['optional']()['describe']('WoWok\x20object/mechanism\x20it\x20maps\x20to.'),'mapping_note':z['string']()['describe']('One-line\x20mapping\x20explanation.'),'reason':z['string']()['optional']()['describe']('Why\x20it\x20cannot\x20be\x20migrated,\x20or\x20why\x20it\x20needs\x20a\x20decision.')})['describe']('One\x20competitor\x20element\x20and\x20its\x20WoWok\x20mapping\x20outcome.'),MigrationLogSchema=z['object']({'source':z['object']({'url':z['string']()['optional'](),'description':z['string'](),'detected_industry':z['string'](),'matched_template':z['string']()['describe']('Matched\x20template\x20id\x20\x27<industry>/<variant>\x27.')})['describe']('Migration\x20source\x20provenance.'),'mapped':z['array'](MigrationEntrySchema)['describe']('Elements\x20that\x20map\x20cleanly\x20to\x20WoWok\x20objects.'),'unmapped':z['array'](MigrationEntrySchema)['describe']('Elements\x20that\x20cannot\x20be\x20migrated,\x20with\x20reasons.'),'manual_review':z['array'](MigrationEntrySchema)['describe']('Elements\x20requiring\x20an\x20explicit\x20user\x20decision.'),'wowok_advantages':z['array'](z['string']())['describe']('WoWok\x20platform\x20advantages\x20surfaced\x20during\x20migration.'),'customizable_modules':z['array'](z['string']())['describe']('Business-module\x20ids\x20the\x20user\x20can\x20customize.'),'role_assessment':z['object']({'recommended':z['string'](),'rationale':z['string'](),'alternatives':z['array'](z['string']())})['describe']('Merchant\x20vs\x20supplier\x20role\x20assessment.'),'risk_check':z['object']({'passed':z['boolean'](),'findings':z['array'](z['string']())})['describe']('Dry-run\x20risk\x20check\x20against\x20the\x20matched\x20template.'),'network':z['enum'](['testnet','mainnet'])['describe']('Target\x20network\x20(default\x20testnet).')})['describe']('Structured\x20competitor-migration\x20log.');export const BenchmarkMigrationSchema=z['object']({'action':z['enum'](['template_list','template_get','template_generate','template_scan','migration_import','migration_review','migration_apply'])['describe']('Action:\x20\x27template_list\x27\x20=\x20list\x20the\x20loaded\x20MD\x20industry\x20templates\x20(optional\x20industry\x20filter);\x20'+'\x27template_get\x27\x20=\x20fetch\x20one\x20template\x20by\x20id\x20(template_id\x20required);\x20'+'\x27template_generate\x27\x20=\x20generate\x20a\x20creation\x20plan\x20from\x20a\x20template\x20via\x20the\x20merchant-guide\x20'+'pipeline\x20(template_id\x20required;\x20scan-first\x20—\x20CRITICAL\x20findings\x20block;\x20never\x20executes\x20on-chain);\x20'+'\x27template_scan\x27\x20=\x20pre-deploy\x20risk\x20scan\x20of\x20one\x20template\x20(template_id\x20required;\x20returns\x20'+'risk_level/findings/red_flags;\x20CRITICAL\x20blocks\x20generation/apply);\x20'+'\x27migration_import\x27\x20=\x20competitor\x20URL/description\x20→\x20migration\x20plan\x20+\x20MigrationLog\x20'+'(description\x20required);\x20'+'\x27migration_review\x27\x20=\x20surface\x20the\x20MigrationLog\x20for\x20user\x20confirmation\x20(log\x20required);\x20'+'\x27migration_apply\x27\x20=\x20run\x20the\x20approved\x20template\x20through\x20the\x20merchant-guide\x20pipeline\x20'+'(template_id\x20required;\x20scan-first\x20—\x20CRITICAL\x20findings\x20block;\x20default\x20network\x20testnet).'),'template_id':z['string']()['optional']()['describe']('Template\x20id\x20\x27<industry>/<variant>\x27\x20(required\x20for\x20template_get\x20/\x20template_generate\x20/\x20template_scan\x20/\x20migration_apply),\x20e.g.\x20\x27retail/scale-marketplace\x27.'),'industry':z['enum'](['freelance','rental','education','travel','subscription','retail'])['optional']()['describe']('Industry\x20filter\x20for\x20template_list;\x20industry\x20hint\x20for\x20migration_import.'),'description':z['string']()['optional']()['describe']('Natural-language\x20business/competitor\x20description\x20(required\x20for\x20migration_import;\x20used\x20by\x20template_generate\x20as\x20the\x20intent\x20text).'),'url':z['string']()['optional']()['describe']('Competitor\x20store/profile\x20URL\x20for\x20migration_import\x20(recorded\x20as\x20provenance\x20only).'),'fee_overrides':z['record'](z['string'](),z['union']([z['number'](),z['string']()]))['optional']()['describe']('Template\x20fee-parameter\x20overrides\x20for\x20template_generate\x20(e.g.\x20commission_rate_bps).'),'log':z['record'](z['string'](),z['unknown']())['optional']()['describe']('A\x20prior\x20MigrationLog\x20(required\x20for\x20migration_review).'),'network':z['enum'](['testnet','mainnet'])['optional']()['describe']('Target\x20network\x20for\x20migration_import\x20/\x20migration_apply\x20(default\x20testnet;\x20mainnet\x20requires\x20explicit\x20user\x20confirmation).')})['strict']();export const BenchmarkMigrationOutputSchema=z['object']({'result':z['discriminatedUnion']('action',[z['object']({'action':z['literal']('template_list'),'count':z['number']()['describe']('Number\x20of\x20templates\x20returned.'),'templates':z['array'](TemplateSummarySchema)['describe']('Template\x20listing\x20rows.'),'load_errors':z['array'](z['string']())['describe']('Template\x20files\x20that\x20failed\x20to\x20load/validate\x20(never\x20silently\x20dropped).')}),z['object']({'action':z['literal']('template_get'),'template':z['record'](z['string'](),z['unknown']())['describe']('Full\x20template\x20object\x20(machine_shape/guards/allocator/fee_params/body/...).')}),z['object']({'action':z['literal']('template_generate'),'template_id':z['string'](),'scan':z['object']({'risk_level':z['enum'](['low','medium','high','critical']),'passed':z['boolean'](),'red_flags':z['array'](z['string']())})['describe']('Pre-deploy\x20scan\x20summary\x20(generation\x20only\x20runs\x20when\x20passed).'),'plan':z['record'](z['string'](),z['unknown']())['describe']('Creation\x20plan\x20from\x20the\x20merchant-guide\x20pipeline\x20(never\x20executed\x20on-chain).')}),z['object']({'action':z['literal']('template_scan'),'scan':z['object']({'template_id':z['string'](),'risk_level':z['enum'](['low','medium','high','critical']),'passed':z['boolean'](),'findings':z['array'](TemplateScanFindingSchema),'red_flags':z['array'](z['string']())})['describe']('Full\x20pre-deploy\x20scan\x20result.')}),z['object']({'action':z['literal']('migration_import'),'log':MigrationLogSchema['describe']('The\x20structured\x20migration\x20log.')}),z['object']({'action':z['literal']('migration_review'),'log':MigrationLogSchema['describe']('The\x20migration\x20log\x20under\x20review.'),'review_summary':z['object']({'mapped_count':z['number'](),'unmapped_count':z['number'](),'manual_review_count':z['number'](),'risk_passed':z['boolean']()})['describe']('Counts\x20+\x20risk\x20status\x20for\x20the\x20confirmation\x20screen.')}),z['object']({'action':z['literal']('migration_apply'),'template_id':z['string'](),'network':z['enum'](['testnet','mainnet']),'scan':z['object']({'risk_level':z['enum'](['low','medium','high','critical']),'passed':z['boolean'](),'red_flags':z['array'](z['string']())})['describe']('Pre-deploy\x20scan\x20summary\x20(apply\x20only\x20runs\x20when\x20passed).'),'plan':z['record'](z['string'](),z['unknown']())['describe']('Creation\x20plan\x20from\x20the\x20merchant-guide\x20pipeline\x20(never\x20executed\x20on-chain).')})])})['strict']();
1
+ import{z}from'zod';const TemplateSummarySchema=z['object']({'id':z['string']()['describe']('Template\x20id\x20\x27<industry>/<variant>\x27,\x20e.g.\x20\x27retail/scale-marketplace\x27.'),'industry':z['string']()['describe']('Industry\x20vertical.'),'variant':z['string']()['describe']('Business-model\x20variant\x20slug.'),'product_ref':z['string']()['optional']()['describe']('Benchmark\x20product\x20slug\x20this\x20archetype\x20models\x20(e.g.\x20\x27amazon\x27).\x20The\x20only\x20sanctioned\x20company\x20name;\x20users\x20can\x20pick\x20a\x20template\x20by\x20naming\x20the\x20incumbent\x20product.'),'archetype':z['enum'](['leader','challenger']),'key_risk':z['string']()['describe']('Primary\x20risk\x20this\x20template\x20mitigates.'),'node_count':z['number']()['describe']('Machine\x20node\x20count.'),'guard_count':z['number']()['describe']('Guard\x20template\x20count.'),'recommended_role':z['enum'](['merchant','supplier','both'])})['describe']('Compact\x20template\x20listing\x20row.'),TemplateScanFindingSchema=z['object']({'rule_id':z['string']()['optional']()['describe']('Rule\x20id\x20when\x20known\x20(e.g.\x20\x27R-M3-01\x27,\x20\x27R1\x27).'),'severity':z['enum'](['low','medium','high','critical']),'title':z['string'](),'detail':z['string'](),'suggestion':z['string']()})['describe']('One\x20pre-deploy\x20risk\x20finding.'),MigrationEntrySchema=z['object']({'source_element':z['string']()['describe']('Competitor-side\x20element.'),'target_object':z['string']()['optional']()['describe']('WoWok\x20object/mechanism\x20it\x20maps\x20to.'),'mapping_note':z['string']()['describe']('One-line\x20mapping\x20explanation.'),'reason':z['string']()['optional']()['describe']('Why\x20it\x20cannot\x20be\x20migrated,\x20or\x20why\x20it\x20needs\x20a\x20decision.')})['describe']('One\x20competitor\x20element\x20and\x20its\x20WoWok\x20mapping\x20outcome.'),MigrationLogSchema=z['object']({'source':z['object']({'url':z['string']()['optional'](),'description':z['string'](),'detected_industry':z['string'](),'matched_template':z['string']()['describe']('Matched\x20template\x20id\x20\x27<industry>/<variant>\x27.')})['describe']('Migration\x20source\x20provenance.'),'mapped':z['array'](MigrationEntrySchema)['describe']('Elements\x20that\x20map\x20cleanly\x20to\x20WoWok\x20objects.'),'unmapped':z['array'](MigrationEntrySchema)['describe']('Elements\x20that\x20cannot\x20be\x20migrated,\x20with\x20reasons.'),'manual_review':z['array'](MigrationEntrySchema)['describe']('Elements\x20requiring\x20an\x20explicit\x20user\x20decision.'),'wowok_advantages':z['array'](z['string']())['describe']('WoWok\x20platform\x20advantages\x20surfaced\x20during\x20migration.'),'customizable_modules':z['array'](z['string']())['describe']('Business-module\x20ids\x20the\x20user\x20can\x20customize.'),'role_assessment':z['object']({'recommended':z['string'](),'rationale':z['string'](),'alternatives':z['array'](z['string']())})['describe']('Merchant\x20vs\x20supplier\x20role\x20assessment.'),'risk_check':z['object']({'passed':z['boolean'](),'findings':z['array'](z['string']())})['describe']('Dry-run\x20risk\x20check\x20against\x20the\x20matched\x20template.'),'network':z['enum'](['testnet','mainnet'])['describe']('Target\x20network\x20(default\x20testnet).')})['describe']('Structured\x20competitor-migration\x20log.');export const BenchmarkMigrationSchema=z['object']({'action':z['enum'](['template_list','template_get','template_generate','template_scan','migration_import','migration_review','migration_apply'])['describe']('Action:\x20\x27template_list\x27\x20=\x20list\x20the\x20loaded\x20MD\x20industry\x20templates\x20(optional\x20industry\x20filter);\x20'+'\x27template_get\x27\x20=\x20fetch\x20one\x20template\x20by\x20id\x20(template_id\x20required);\x20'+'\x27template_generate\x27\x20=\x20generate\x20a\x20creation\x20plan\x20from\x20a\x20template\x20via\x20the\x20merchant-guide\x20'+'pipeline\x20(template_id\x20required;\x20scan-first\x20—\x20CRITICAL\x20findings\x20block;\x20never\x20executes\x20on-chain);\x20'+'\x27template_scan\x27\x20=\x20pre-deploy\x20risk\x20scan\x20of\x20one\x20template\x20(template_id\x20required;\x20returns\x20'+'risk_level/findings/red_flags;\x20CRITICAL\x20blocks\x20generation/apply);\x20'+'\x27migration_import\x27\x20=\x20competitor\x20URL/description\x20→\x20migration\x20plan\x20+\x20MigrationLog\x20'+'(description\x20required);\x20'+'\x27migration_review\x27\x20=\x20surface\x20the\x20MigrationLog\x20for\x20user\x20confirmation\x20(log\x20required);\x20'+'\x27migration_apply\x27\x20=\x20run\x20the\x20approved\x20template\x20through\x20the\x20merchant-guide\x20pipeline\x20'+'(template_id\x20required;\x20scan-first\x20—\x20CRITICAL\x20findings\x20block;\x20default\x20network\x20testnet).'),'template_id':z['string']()['optional']()['describe']('Template\x20id\x20\x27<industry>/<variant>\x27\x20(required\x20for\x20template_get\x20/\x20template_generate\x20/\x20template_scan\x20/\x20migration_apply),\x20e.g.\x20\x27retail/scale-marketplace\x27.'),'industry':z['string']()['optional']()['describe']('Industry\x20filter\x20for\x20template_list;\x20industry\x20hint\x20for\x20migration_import.\x20'+'Any\x20registered\x20industry\x20is\x20accepted\x20(builtin:\x20freelance,\x20rental,\x20education,\x20'+'travel,\x20subscription,\x20retail;\x20plus\x20custom\x20industries\x20registered\x20via\x20industry\x20packs).\x20'+'Aliases\x20are\x20resolved\x20(e.g.\x20\x27ecommerce\x27\x20→\x20\x27retail\x27).'),'description':z['string']()['optional']()['describe']('Natural-language\x20business/competitor\x20description\x20(required\x20for\x20migration_import;\x20used\x20by\x20template_generate\x20as\x20the\x20intent\x20text).'),'url':z['string']()['optional']()['describe']('Competitor\x20store/profile\x20URL\x20for\x20migration_import\x20(recorded\x20as\x20provenance\x20only).'),'fee_overrides':z['record'](z['string'](),z['union']([z['number'](),z['string']()]))['optional']()['describe']('Template\x20fee-parameter\x20overrides\x20for\x20template_generate\x20(e.g.\x20commission_rate_bps).'),'log':z['record'](z['string'](),z['unknown']())['optional']()['describe']('A\x20prior\x20MigrationLog\x20(required\x20for\x20migration_review).'),'network':z['enum'](['testnet','mainnet'])['optional']()['describe']('Target\x20network\x20for\x20migration_import\x20/\x20migration_apply\x20(default\x20testnet;\x20mainnet\x20requires\x20explicit\x20user\x20confirmation).')})['strict']();const ScanSummarySchema=z['object']({'risk_level':z['enum'](['low','medium','high','critical']),'passed':z['boolean'](),'finding_count':z['number'](),'findings_by_severity':z['record'](z['string'](),z['number']())['describe']('Finding\x20count\x20keyed\x20by\x20severity.'),'findings':z['array'](TemplateScanFindingSchema)['describe']('Every\x20finding\x20with\x20its\x20rule\x20id,\x20detail\x20and\x20suggestion.'),'red_flags':z['array'](z['string']())})['describe']('Pre-deploy\x20scan\x20summary\x20(generation/apply\x20only\x20runs\x20when\x20passed).');export const BenchmarkMigrationOutputSchema=z['object']({'result':z['discriminatedUnion']('action',[z['object']({'action':z['literal']('template_list'),'count':z['number']()['describe']('Number\x20of\x20templates\x20returned.'),'templates':z['array'](TemplateSummarySchema)['describe']('Template\x20listing\x20rows.'),'load_errors':z['array'](z['string']())['describe']('Template\x20files\x20that\x20failed\x20to\x20load/validate\x20(never\x20silently\x20dropped).')}),z['object']({'action':z['literal']('template_get'),'template':z['record'](z['string'](),z['unknown']())['describe']('Full\x20template\x20object\x20(machine_shape/guards/allocator/fee_params/body/...).')}),z['object']({'action':z['literal']('template_generate'),'template_id':z['string'](),'scan':ScanSummarySchema,'plan':z['record'](z['string'](),z['unknown']())['describe']('Creation\x20plan\x20from\x20the\x20merchant-guide\x20pipeline\x20(never\x20executed\x20on-chain).')}),z['object']({'action':z['literal']('template_scan'),'scan':z['object']({'template_id':z['string'](),'risk_level':z['enum'](['low','medium','high','critical']),'passed':z['boolean'](),'findings':z['array'](TemplateScanFindingSchema),'red_flags':z['array'](z['string']())})['describe']('Full\x20pre-deploy\x20scan\x20result.')}),z['object']({'action':z['literal']('migration_import'),'log':MigrationLogSchema['describe']('The\x20structured\x20migration\x20log.')}),z['object']({'action':z['literal']('migration_review'),'log':MigrationLogSchema['describe']('The\x20migration\x20log\x20under\x20review.'),'review_summary':z['object']({'mapped_count':z['number'](),'unmapped_count':z['number'](),'manual_review_count':z['number'](),'risk_passed':z['boolean']()})['describe']('Counts\x20+\x20risk\x20status\x20for\x20the\x20confirmation\x20screen.')}),z['object']({'action':z['literal']('migration_apply'),'template_id':z['string'](),'network':z['enum'](['testnet','mainnet']),'scan':ScanSummarySchema,'plan':z['record'](z['string'](),z['unknown']())['describe']('Creation\x20plan\x20from\x20the\x20merchant-guide\x20pipeline\x20(never\x20executed\x20on-chain).')})])})['strict']();
@@ -25,10 +25,11 @@ export declare const CallAllocation_CreateSchema: z.ZodObject<{
25
25
  }, z.core.$strip>]>;
26
26
  sharing: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
27
27
  mode: z.ZodUnion<readonly [z.ZodEnum<{
28
- Amount: "Amount";
29
28
  Surplus: "Surplus";
30
29
  Rate: "Rate";
31
- }>, z.ZodPipe<z.ZodNumber, z.ZodTransform<"Amount" | "Surplus" | "Rate", number>>]>;
30
+ RateGross: "RateGross";
31
+ Amount: "Amount";
32
+ }>, z.ZodPipe<z.ZodNumber, z.ZodTransform<"Surplus" | "Rate" | "RateGross" | "Amount", number>>]>;
32
33
  }, z.core.$strip>>;
33
34
  fix: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
34
35
  max: z.ZodOptional<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>, z.ZodNull]>>;
@@ -89,10 +90,11 @@ export declare const CallAllocation_DataSchema: z.ZodUnion<readonly [z.ZodObject
89
90
  }, z.core.$strip>]>;
90
91
  sharing: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
91
92
  mode: z.ZodUnion<readonly [z.ZodEnum<{
92
- Amount: "Amount";
93
93
  Surplus: "Surplus";
94
94
  Rate: "Rate";
95
- }>, z.ZodPipe<z.ZodNumber, z.ZodTransform<"Amount" | "Surplus" | "Rate", number>>]>;
95
+ RateGross: "RateGross";
96
+ Amount: "Amount";
97
+ }>, z.ZodPipe<z.ZodNumber, z.ZodTransform<"Surplus" | "Rate" | "RateGross" | "Amount", number>>]>;
96
98
  }, z.core.$strip>>;
97
99
  fix: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
98
100
  max: z.ZodOptional<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>, z.ZodNull]>>;
@@ -153,10 +155,11 @@ export declare const CallAllocation_InputSchema: z.ZodObject<{
153
155
  }, z.core.$strip>]>;
154
156
  sharing: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
155
157
  mode: z.ZodUnion<readonly [z.ZodEnum<{
156
- Amount: "Amount";
157
158
  Surplus: "Surplus";
158
159
  Rate: "Rate";
159
- }>, z.ZodPipe<z.ZodNumber, z.ZodTransform<"Amount" | "Surplus" | "Rate", number>>]>;
160
+ RateGross: "RateGross";
161
+ Amount: "Amount";
162
+ }>, z.ZodPipe<z.ZodNumber, z.ZodTransform<"Surplus" | "Rate" | "RateGross" | "Amount", number>>]>;
160
163
  }, z.core.$strip>>;
161
164
  fix: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
162
165
  max: z.ZodOptional<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>, z.ZodNull]>>;
@@ -208,8 +211,8 @@ export declare const CallAllocation_InputSchema: z.ZodObject<{
208
211
  schema_strict_mode: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
209
212
  dry_run: z.ZodOptional<z.ZodBoolean>;
210
213
  response_level: z.ZodOptional<z.ZodEnum<{
211
- compact: "compact";
212
214
  full: "full";
215
+ compact: "compact";
213
216
  }>>;
214
217
  confirm_mode: z.ZodOptional<z.ZodEnum<{
215
218
  full: "full";
@@ -340,8 +340,8 @@ export declare const CallArbitration_InputSchema: z.ZodObject<{
340
340
  schema_strict_mode: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
341
341
  dry_run: z.ZodOptional<z.ZodBoolean>;
342
342
  response_level: z.ZodOptional<z.ZodEnum<{
343
- compact: "compact";
344
343
  full: "full";
344
+ compact: "compact";
345
345
  }>>;
346
346
  confirm_mode: z.ZodOptional<z.ZodEnum<{
347
347
  full: "full";
@@ -1 +1 @@
1
- import{z}from'zod';import{TypedPermissionObjectSchema,CoinParamSchema,NamedObjectSchema,CallEnvSchema,SubmissionCallSchema}from'./base.js';import{VotingGuardSchema}from'../query/index.js';import{BalanceTypeSchema,DescriptionSchema,LongNameSchema,NameOrAddressSchema,NameSchema,ReceivedObjectsOrRecentlySchema,RECEIVE_FORMAT_BLOCK_OBJECTS}from'../common/index.js';export const DisputeSchema=z['object']({'order':NameOrAddressSchema['describe']('Order\x20ID\x20or\x20name.'),'description':DescriptionSchema['optional']()['describe']('Dispute\x20description.'),'proposition':z['array'](LongNameSchema)['describe']('List\x20of\x20dispute\x20propositions.'),'fee':CoinParamSchema['describe']('Dispute\x20processing\x20fee.\x20FORMAT:\x20{balance:\x20<amount_in_smallest_unit>}\x20—\x20field\x20name\x20is\x20\x27balance\x27\x20(NOT\x20\x27amount\x27).\x20'+'The\x20token\x20type\x20and\x20precision\x20are\x20determined\x20by\x20the\x20Arbitration\x20object\x27s\x20type_parameter\x20(the\x20generic\x20type\x20set\x20when\x20the\x20Arbitration\x20was\x20created).\x20'+'For\x20WOW\x20(9\x20decimals):\x20{balance:\x2050000000}\x20=\x200.05\x20WOW.\x20'+'For\x20tokens\x20with\x20different\x20decimals,\x20adjust\x20accordingly\x20(e.g.\x20USDC\x20has\x206\x20decimals,\x20so\x20{balance:\x2050000}\x20=\x200.05\x20USDC).\x20'+'docs#45:\x20the\x20fee\x20does\x20NOT\x20return\x20to\x20the\x20filer\x20on\x20a\x20win\x20—\x20it\x20stays\x20in\x20the\x20Arbitration\x20object\x20and\x20is\x20withdrawable\x20by\x20the\x20arbitrator.'),'namedArb':NamedObjectSchema['optional']()['describe']('RECOMMENDED:\x20Set\x20a\x20local\x20name\x20for\x20the\x20newly\x20created\x20Arb\x20(arbitration\x20case)\x20object.\x20'+'Without\x20this,\x20the\x20Arb\x20is\x20only\x20referenceable\x20by\x20its\x20on-chain\x20address.\x20'+'Example:\x20{name:\x20\x27my_dispute_v1\x27}\x20allows\x20subsequent\x20vote/feedback\x20operations\x20to\x20use\x20\x27my_dispute_v1\x27.')})['strict']();export const ConfirmSchema=z['object']({'arb':NameOrAddressSchema,'voting_deadline':z['union']([z['number']()['int']()['min'](0x0),z['null']()])['default'](0x0)['describe']('Voting\x20deadline\x20as\x20Unix\x20timestamp\x20in\x20MILLISECONDS\x20(ms).\x20SEMANTICS\x20OF\x20SPECIAL\x20VALUES:\x20'+'0\x20(DEFAULT\x20when\x20omitted)\x20=\x20deadline\x20already\x20passed\x20→\x20voting\x20is\x20IMPOSSIBLE\x20and\x20the\x20arbitrator\x20may\x20deliver\x20the\x20verdict\x20immediately\x20(direct-verdict\x20flow);\x20'+'null\x20=\x20open-ended\x20voting\x20with\x20no\x20deadline\x20(verdict\x20allowed\x20anytime);\x20'+'a\x20future\x20timestamp\x20=\x20normal\x20voting\x20window\x20(recommended:\x20now\x20+\x20at\x20least\x2086400000\x20ms\x20=\x2024\x20hours).\x20'+'COMMON\x20MISTAKE:\x20using\x20seconds\x20instead\x20of\x20milliseconds\x20(multiply\x20by\x201000).\x20'+'Example:\x20Date.now()\x20+\x20259200000\x20for\x203\x20days\x20from\x20now.')})['strict']();export const VotingDeadlineChangeSchema=z['object']({'arb':NameOrAddressSchema,'voting_deadline':z['union']([z['number'](),z['null']()])['describe']('New\x20voting\x20deadline\x20as\x20Unix\x20timestamp\x20in\x20MILLISECONDS\x20(ms).\x20SEMANTICS\x20OF\x20SPECIAL\x20VALUES:\x20'+'0\x20=\x20deadline\x20already\x20passed\x20→\x20voting\x20is\x20IMPOSSIBLE\x20and\x20the\x20arbitrator\x20may\x20deliver\x20the\x20verdict\x20immediately;\x20'+'null\x20=\x20open-ended\x20voting\x20with\x20no\x20deadline\x20(verdict\x20allowed\x20anytime);\x20'+'a\x20future\x20timestamp\x20=\x20normal\x20voting\x20window\x20(recommended:\x20now\x20+\x20at\x20least\x2086400000\x20ms\x20=\x2024\x20hours).\x20'+'COMMON\x20MISTAKE:\x20using\x20seconds\x20instead\x20of\x20milliseconds\x20(multiply\x20by\x201000).\x20'+'Example:\x20Date.now()\x20+\x20259200000\x20for\x203\x20days\x20from\x20now.')})['strict']();export const VoteSchema=z['object']({'arb':NameOrAddressSchema,'votes':z['array'](z['number']()['int']()['min'](0x0)['max'](0xff))['describe']('Proposition\x20INDICES\x20(0-based,\x20u8)\x20the\x20voter\x20agrees\x20with\x20—\x20e.g.\x20[0]\x20votes\x20for\x20the\x20first\x20proposition.\x20'+'Re-voting\x20REPLACES\x20the\x20voter\x27s\x20previous\x20vote\x20(old\x20weight\x20removed,\x20new\x20applied).\x20'+'Out-of-range\x20index\x20aborts\x20with\x20E_PROPOSITION_NOT_FOUND.'),'voting_guard':NameOrAddressSchema['optional']()['describe']('Optional\x20Voting\x20Guard\x20for\x20weighted\x20voting.\x20THREE\x20PATHS\x20are\x20supported\x20by\x20the\x20SDK\x20and\x20Move\x20contract:\x20'+'(1)\x20voting_guard\x20PROVIDED\x20→\x20Guard-weighted\x20vote\x20(Guard\x20verifies\x20voter\x20+\x20determines\x20vote\x20weight\x20via\x20VoteWeight\x20config);\x20'+'(2)\x20voting_guard\x20OMITTED\x20but\x20other\x20guards\x20trigger\x20passport\x20creation\x20(e.g.\x20env.permission_guard\x20or\x20usage_guard)\x20→\x20permission-only\x20vote\x20via\x20passport;\x20'+'(3)\x20voting_guard\x20OMITTED\x20and\x20no\x20passport\x20context\x20→\x20vote\x20(plain\x20permission-only\x20vote,\x20no\x20Guard).\x20'+'The\x20Guard\x20(when\x20provided)\x20must\x20be\x20in\x20the\x20Arbitration\x27s\x20voting_guard\x20list.')})['strict']();export const FeedbackSchema=z['object']({'arb':NameOrAddressSchema,'feedback':DescriptionSchema['describe']('Arbitration\x20feedback.')})['strict']();export const ArbitrationActionSchema=z['object']({'arb':NameOrAddressSchema,'feedback':DescriptionSchema['describe']('Arbitration\x20feedback.'),'indemnity':z['number']()['int']()['min'](0x0)})['strict']();export const ResetSchema=z['object']({'arb':NameOrAddressSchema,'feedback':DescriptionSchema['describe']('Arbitration\x20feedback.')})['strict']();export const ArbWithdrawSchema=z['object']({'arb':NameOrAddressSchema})['strict']();export const FeesTransferToSchema=z['union']([z['object']({'allocation':NameOrAddressSchema['describe']('Allocation\x20object\x20ID\x20or\x20name.')})['strict'](),z['object']({'treasury':NameOrAddressSchema['describe']('Treasury\x20object\x20ID\x20or\x20name.\x20NOTE:\x20the\x20transferred\x20funds\x20arrive\x20as\x20a\x20CoinWrapper\x20owned\x20by\x20the\x20Treasury\x20and\x20only\x20count\x20'+'after\x20the\x20Treasury\x20intakes\x20them\x20—\x20call\x20treasury\x20receive:\x20\x22recently\x22\x20(requires\x20permission\x20253\x20TREASURY_RECEIVE\x20on\x20the\x20Treasury).')})['strict']()]);export const FeesTransferSchema=z['object']({'to':FeesTransferToSchema['describe']('Transfer\x20arbitration\x20fees\x20to\x20the\x20specified\x20Allocation\x20object\x20or\x20Treasury\x20object.'),'payment_remark':NameSchema['describe']('Payment\x20remark.'),'payment_index':z['number']()['int']()['min'](0x0)['describe']('Payment\x20index.'),'newPayment':NamedObjectSchema['optional']()['describe']('Name\x20for\x20the\x20newly\x20created\x20payment\x20object.')})['strict']();export const VotingGuardActionSchema=z['discriminatedUnion']('op',[z['object']({'op':z['enum'](['add','set']),'guards':z['array'](VotingGuardSchema)})['strict'](),z['object']({'op':z['literal']('remove'),'guards':z['array'](NameOrAddressSchema)})['strict'](),z['object']({'op':z['literal']('clear')})['strict']()]);export const CallArbitration_DataSchema=z['object']({'object':TypedPermissionObjectSchema,'dispute':DisputeSchema['optional']()['describe']('Create\x20a\x20new\x20Arb\x20object\x20for\x20the\x20order;\x20the\x20case\x20lands\x20directly\x20in\x20state\x201\x20(Arbitrator_confirming)\x20—\x20the\x20customer\x20does\x20not\x20confirm\x20at\x20filing\x20time.'),'description':DescriptionSchema['optional']()['describe']('Introduction\x20of\x20the\x20Arbitration\x20object.'),'location':LongNameSchema['optional']()['describe']('Arbitration\x20location.'),'fee':BalanceTypeSchema['optional']()['describe']('Arbitration\x20fee.'),'pause':z['boolean']()['optional']()['describe']('Whether\x20to\x20pause\x20arbitration.'),'confirm':ConfirmSchema['optional']()['describe']('ARBITRATOR-side\x20material\x20confirmation\x20(from\x20state\x201):\x20moves\x20the\x20case\x20to\x20state\x202\x20(Voting).\x20'+'Customers\x20cannot\x20call\x20this\x20—\x20the\x20customer-side\x20step\x20is\x20order.arb_confirm\x20(state\x200\x20to\x201).'),'voting_deadline_change':VotingDeadlineChangeSchema['optional']()['describe']('Change\x20the\x20voting\x20deadline.'),'vote':VoteSchema['optional']()['describe']('Vote\x20on\x20user\x20propositions.'),'feedback':FeedbackSchema['optional']()['describe']('Arbitration\x20feedback\x20for\x20the\x20Arb\x20object.'),'arbitration':ArbitrationActionSchema['optional']()['describe']('Provide\x20a\x20definitive\x20arbitration\x20result.'),'reset':ResetSchema['optional']()['describe']('ARBITRATOR-side\x20reset\x20(arbitration\x20permission\x20holder;\x20valid\x20from\x20state\x204\x20Objectionable\x20or\x20state\x201):\x20voids\x20the\x20ruling,\x20'+'clears\x20the\x20indemnity\x20and\x20returns\x20the\x20case\x20to\x20state\x200\x20(Principal_confirming).\x20After\x20a\x20reset\x20ONLY\x20the\x20customer\x20can\x20advance\x20the\x20case\x20'+'again\x20via\x20order.arb_confirm\x20—\x20state\x200\x20has\x20no\x20timeout\x20and\x20the\x20fee\x20stays\x20locked\x20until\x20the\x20customer\x20re-confirms.'),'arb_withdraw':ArbWithdrawSchema['optional']()['describe']('Withdraw\x20arbitration\x20fees\x20from\x20the\x20Arb\x20object\x20(arbitrator).\x20Immediately\x20from\x20state\x205\x20(Finished);\x20from\x20state\x203\x20only\x20after\x2030\x20days\x20'+'from\x20the\x20ruling\x20time\x20(no\x20objection\x20filed\x20—\x20silence\x20=\x20acceptance);\x20rejected\x20in\x20states\x200/1/2.\x20'+'State\x204\x20(Objectionable)\x20can\x20NEVER\x20withdraw\x20(protocol\x20141):\x20a\x20contested\x20case\x20keeps\x20its\x20fee\x20escrowed\x20until\x20the\x20customer\x20'+'closes\x20the\x20objection\x20cycle\x20—\x20reset\x20→\x20order.arb_confirm\x20→\x20new\x20ruling\x20→\x20unchallenged\x20(or\x20accepted\x20via\x20finish).'),'fees_transfer':FeesTransferSchema['optional']()['describe']('Distribute\x20the\x20withdrawn\x20arbitration\x20fees.\x20Moves\x20the\x20Arbitration\x27s\x20ENTIRE\x20balance\x20in\x20ONE\x20call\x20—\x20there\x20is\x20NO\x20amount\x20parameter.\x20'+'The\x20balance\x20leaves\x20as\x20a\x20CoinWrapper\x20owned\x20by\x20the\x20target\x20(allocation\x20or\x20treasury);\x20for\x20a\x20treasury\x20target,\x20intake\x20it\x20with\x20'+'treasury\x20receive:\x20\x22recently\x22\x20(permission\x20253)\x20—\x20see\x20the\x20\x27to\x27\x20field\x20description.'),'usage_guard':z['union']([NameOrAddressSchema,z['null']()])['optional']()['describe']('Set\x20Guard\x20for\x20verification\x20when\x20users\x20apply\x20for\x20arbitration;\x20if\x20Guard\x20verification\x20fails,\x20users\x20will\x20not\x20be\x20able\x20to\x20apply\x20for\x20arbitration.'),'voting_guard':VotingGuardActionSchema['optional']()['describe']('Set\x20Guard\x20for\x20verification\x20during\x20arbitration\x20voting;\x20if\x20Guard\x20verification\x20fails,\x20arbitration\x20voting\x20will\x20fail.'),'owner_receive':ReceivedObjectsOrRecentlySchema['optional']()['describe']('Unwrap\x20CoinWrapper\x20objects\x20and\x20other\x20objects\x20received\x20by\x20this\x20Arbitration\x20object\x20and\x20send\x20them\x20to\x20the\x20owner\x20of\x20its\x20Permission\x20object.'+RECEIVE_FORMAT_BLOCK_OBJECTS),'um':z['union']([NameOrAddressSchema,z['null']()])['optional']()['describe']('Contact\x20object\x20ID\x20or\x20name.')})['strict']()['describe']('On-chain\x20Arbitration\x20operations.\x20USAGE:\x20(1)\x20CREATE\x20NEW:\x20Set\x20\x27object\x27\x20field\x20with\x20OBJECT\x20format\x20{name,\x20type_parameter,\x20permission,\x20...}\x20to\x20create\x20an\x20Arbitration.\x20NOTE:\x27name\x27\x20goes\x20INSIDE\x20\x27object\x27,\x20NOT\x20at\x20the\x20data\x20root\x20level.\x20\x27permission\x27\x20can\x20be\x20a\x20new\x20Permission\x20object\x20or\x20reference\x20an\x20existing\x20one\x20-\x20check\x20\x27object\x27\x20field\x20description\x20for\x20details.\x20⚠️\x20PERMISSION\x20RULE\x20(contract-enforced):\x20the\x20Arbitration\x27s\x20permission\x20MUST\x20be\x20DIFFERENT\x20from\x20the\x20permission\x20of\x20any\x20Service\x20it\x20will\x20be\x20bound\x20to\x20—\x20binding\x20an\x20Arbitration\x20that\x20SHARES\x20the\x20Service\x27s\x20Permission\x20aborts\x20with\x20E_ARBITRATION_PERMISSION_CONFLICT\x20(error\x2033).\x20Always\x20create\x20a\x20DEDICATED\x20Permission\x20object\x20for\x20each\x20Arbitration.\x20(2)\x20OPERATE\x20EXISTING:\x20Set\x20\x27object\x27\x20field\x20with\x20STRING\x20format\x20(object\x20ID\x20or\x20name).\x20The\x20\x27object\x27\x20field\x20is\x20CRITICAL\x20and\x20REQUIRED\x20in\x20both\x20cases.\x20STRING\x20for\x20existing,\x20OBJECT\x20for\x20new\x20creation.');export const CallArbitration_InputSchema=z['object']({'data':CallArbitration_DataSchema,'env':CallEnvSchema['optional'](),'submission':SubmissionCallSchema['optional']()})['strict']();
1
+ import{z}from'zod';import{TypedPermissionObjectSchema,CoinParamSchema,NamedObjectSchema,CallEnvSchema,SubmissionCallSchema}from'./base.js';import{VotingGuardSchema}from'../query/index.js';import{BalanceTypeSchema,DescriptionSchema,LongNameSchema,NameOrAddressSchema,NameSchema,ReceivedObjectsOrRecentlySchema,RECEIVE_FORMAT_BLOCK_OBJECTS}from'../common/index.js';const ARB_CASE_FIELD=NameOrAddressSchema['describe']('Arb\x20CASE\x20object\x20—\x20the\x20single\x20dispute\x20case\x20created\x20by\x20`dispute`\x20(the\x20object\x20you\x20may\x20have\x20named\x20via\x20`namedArb`).\x20'+'NOT\x20the\x20arbitrator\x20registration\x20object:\x20that\x20one\x20goes\x20in\x20the\x20ROOT\x20`object`\x20field,\x20while\x20every\x20case-scoped\x20'+'operation\x20(confirm\x20/\x20voting_deadline_change\x20/\x20vote\x20/\x20feedback\x20/\x20arbitration\x20/\x20reset\x20/\x20arb_withdraw)\x20addresses\x20'+'the\x20case\x20through\x20THIS\x20field.\x20Accepts\x20the\x20Arb\x27s\x200x\x20address\x20or\x20its\x20LocalMark\x20name.');export const DisputeSchema=z['object']({'order':NameOrAddressSchema['describe']('Order\x20ID\x20or\x20name.'),'description':DescriptionSchema['optional']()['describe']('Dispute\x20description.'),'proposition':z['array'](LongNameSchema)['describe']('List\x20of\x20dispute\x20propositions.'),'fee':CoinParamSchema['describe']('Dispute\x20processing\x20fee.\x20FORMAT:\x20{balance:\x20<amount_in_smallest_unit>}\x20—\x20field\x20name\x20is\x20\x27balance\x27\x20(NOT\x20\x27amount\x27).\x20'+'The\x20token\x20type\x20and\x20precision\x20are\x20determined\x20by\x20the\x20Arbitration\x20object\x27s\x20type_parameter\x20(the\x20generic\x20type\x20set\x20when\x20the\x20Arbitration\x20was\x20created).\x20'+'For\x20WOW\x20(9\x20decimals):\x20{balance:\x2050000000}\x20=\x200.05\x20WOW.\x20'+'For\x20tokens\x20with\x20different\x20decimals,\x20adjust\x20accordingly\x20(e.g.\x20USDC\x20has\x206\x20decimals,\x20so\x20{balance:\x2050000}\x20=\x200.05\x20USDC).\x20'+'docs#45:\x20the\x20fee\x20does\x20NOT\x20return\x20to\x20the\x20filer\x20on\x20a\x20win\x20—\x20it\x20stays\x20in\x20the\x20Arbitration\x20object\x20and\x20is\x20withdrawable\x20by\x20the\x20arbitrator.'),'namedArb':NamedObjectSchema['optional']()['describe']('RECOMMENDED:\x20Set\x20a\x20local\x20name\x20for\x20the\x20newly\x20created\x20Arb\x20(arbitration\x20case)\x20object.\x20'+'Without\x20this,\x20the\x20Arb\x20is\x20only\x20referenceable\x20by\x20its\x20on-chain\x20address.\x20'+'Example:\x20{name:\x20\x27my_dispute_v1\x27}\x20allows\x20subsequent\x20vote/feedback\x20operations\x20to\x20use\x20\x27my_dispute_v1\x27.')})['strict']();export const ConfirmSchema=z['object']({'arb':ARB_CASE_FIELD,'voting_deadline':z['union']([z['number']()['int']()['min'](0x0),z['null']()])['default'](null)['describe']('Voting\x20deadline\x20as\x20Unix\x20timestamp\x20in\x20MILLISECONDS\x20(ms).\x20SEMANTICS\x20OF\x20SPECIAL\x20VALUES:\x20'+'null\x20(DEFAULT\x20when\x20omitted)\x20=\x20open-ended\x20voting,\x20no\x20deadline;\x20parties\x20may\x20vote\x20at\x20any\x20time\x20and\x20the\x20arbitrator\x20may\x20deliver\x20the\x20verdict\x20immediately\x20(arb.move\x20skips\x20the\x20deadline\x20assert\x20when\x20the\x20Option\x20is\x20none)\x20—\x20this\x20is\x20the\x20SAFE\x20default;\x20'+'a\x20future\x20timestamp\x20=\x20normal\x20bounded\x20voting\x20window\x20(recommended:\x20now\x20+\x20at\x20least\x2086400000\x20ms\x20=\x2024\x20hours);\x20'+'0\x20=\x20deadline\x20already\x20passed\x20→\x20voting\x20is\x20IMPOSSIBLE\x20(every\x20vote\x20aborts\x20E_VOTING_DEADLINE_PASSED)\x20and\x20only\x20a\x20direct\x20verdict\x20is\x20possible.\x20Only\x20pass\x200\x20deliberately\x20when\x20you\x20truly\x20want\x20a\x20no-vote\x20verdict.\x20'+'COMMON\x20MISTAKE:\x20using\x20seconds\x20instead\x20of\x20milliseconds\x20(multiply\x20by\x201000).\x20'+'Example:\x20Date.now()\x20+\x20259200000\x20for\x203\x20days\x20from\x20now.')})['strict']();export const VotingDeadlineChangeSchema=z['object']({'arb':ARB_CASE_FIELD,'voting_deadline':z['union']([z['number'](),z['null']()])['describe']('New\x20voting\x20deadline\x20as\x20Unix\x20timestamp\x20in\x20MILLISECONDS\x20(ms).\x20SEMANTICS\x20OF\x20SPECIAL\x20VALUES:\x20'+'0\x20=\x20deadline\x20already\x20passed\x20→\x20voting\x20is\x20IMPOSSIBLE\x20and\x20the\x20arbitrator\x20may\x20deliver\x20the\x20verdict\x20immediately;\x20'+'null\x20=\x20open-ended\x20voting\x20with\x20no\x20deadline\x20(verdict\x20allowed\x20anytime);\x20'+'a\x20future\x20timestamp\x20=\x20normal\x20voting\x20window\x20(recommended:\x20now\x20+\x20at\x20least\x2086400000\x20ms\x20=\x2024\x20hours).\x20'+'COMMON\x20MISTAKE:\x20using\x20seconds\x20instead\x20of\x20milliseconds\x20(multiply\x20by\x201000).\x20'+'Example:\x20Date.now()\x20+\x20259200000\x20for\x203\x20days\x20from\x20now.')})['strict']();export const VoteSchema=z['object']({'arb':ARB_CASE_FIELD,'votes':z['array'](z['number']()['int']()['min'](0x0)['max'](0xff))['describe']('Proposition\x20INDICES\x20(0-based,\x20u8)\x20the\x20voter\x20agrees\x20with\x20—\x20e.g.\x20[0]\x20votes\x20for\x20the\x20first\x20proposition.\x20'+'Re-voting\x20REPLACES\x20the\x20voter\x27s\x20previous\x20vote\x20(old\x20weight\x20removed,\x20new\x20applied).\x20'+'Out-of-range\x20index\x20aborts\x20with\x20E_PROPOSITION_NOT_FOUND.'),'voting_guard':NameOrAddressSchema['optional']()['describe']('Voting\x20Guard\x20for\x20WEIGHTED\x20voting.\x20DECISION\x20RULE\x20(contract-enforced):\x0a'+'(A)\x20Arbitration\x20HAS\x20a\x20non-empty\x20voting_guard\x20list\x20→\x20plain\x20vote\x20is\x20REJECTED\x20on-chain\x20with\x20E_VOTING_GUARD_USED\x20(abort\x202).\x20'+'You\x20MUST\x20provide\x20this\x20field\x20set\x20to\x20ONE\x20guard\x20from\x20the\x20Arbitration\x27s\x20voting_guard\x20list,\x20and\x20fill\x20its\x20submission:\x20'+'when\x20the\x20guard\x27s\x20vote_weight\x20is\x20{GuardIdentifier:\x20pos},\x20the\x20number\x20you\x20submit\x20at\x20that\x20table\x20position\x20IS\x20the\x20vote\x20weight;\x20'+'when\x20it\x20is\x20{FixedValue:\x20v},\x20no\x20submission\x20is\x20needed\x20(weight\x20is\x20fixed).\x20The\x20SDK\x20then\x20routes\x20the\x20call\x20through\x20the\x20Guard-weighted\x20vote\x20path\x20via\x20a\x20Passport.\x20'+'Omitting\x20this\x20field\x20on\x20such\x20an\x20Arbitration\x20now\x20fails\x20fast\x20pre-call\x20with\x20the\x20list\x20of\x20valid\x20guards.\x0a'+'(B)\x20Arbitration\x20has\x20NO\x20voting_guard\x20→\x20omit\x20this\x20field;\x20the\x20SDK\x20uses\x20plain\x20vote\x20(weight\x201,\x20permission-gated),\x20or\x20the\x20passport-gated\x20vote\x20path\x20when\x20other\x20guards\x20require\x20it.\x0a'+'BOTH\x20(B)\x20paths\x20still\x20assert\x20ARBITRATION_VOTE=358\x20on-chain\x20(the\x20SDK\x20now\x20pre-checks\x20358\x20and\x20fails\x20fast\x20with\x20\x27Missing\x20permissions\x20358\x27).\x20'+'An\x20empty\x20voting_guard\x20means\x20EQUAL\x20WEIGHT\x20(1\x20person\x201\x20vote),\x20NOT\x20permissionless\x20—\x20there\x20is\x20no\x20permission-free\x20vote\x20entry.\x20'+'For\x20genuinely\x20open\x20voting,\x20configure\x20a\x20public\x20voting_guard\x20(op=\x22set\x22)\x20and\x20vote\x20via\x20path\x20(A):\x20the\x20weighted\x20passport\x20path\x20authorizes\x20by\x20the\x20guard\x20and\x20does\x20NOT\x20require\x20358.\x0a'+'The\x20Guard\x20(when\x20provided)\x20MUST\x20be\x20in\x20the\x20Arbitration\x27s\x20voting_guard\x20list\x20—\x20an\x20unlisted\x20guard\x20aborts\x20with\x20E_VOTING_GUARD_NOT_FOUND.')})['strict']();export const FeedbackSchema=z['object']({'arb':ARB_CASE_FIELD,'feedback':DescriptionSchema['describe']('Arbitration\x20feedback.')})['strict']();export const ArbitrationActionSchema=z['object']({'arb':ARB_CASE_FIELD,'feedback':DescriptionSchema['describe']('Arbitration\x20feedback.'),'indemnity':z['number']()['int']()['min'](0x0)})['strict']();export const ResetSchema=z['object']({'arb':ARB_CASE_FIELD,'feedback':DescriptionSchema['describe']('Arbitration\x20feedback.')})['strict']();export const ArbWithdrawSchema=z['object']({'arb':ARB_CASE_FIELD})['strict']();export const FeesTransferToSchema=z['union']([z['object']({'allocation':NameOrAddressSchema['describe']('Allocation\x20object\x20ID\x20or\x20name.')})['strict'](),z['object']({'treasury':NameOrAddressSchema['describe']('Treasury\x20object\x20ID\x20or\x20name.\x20NOTE:\x20the\x20transferred\x20funds\x20arrive\x20as\x20a\x20CoinWrapper\x20owned\x20by\x20the\x20Treasury\x20and\x20only\x20count\x20'+'after\x20the\x20Treasury\x20intakes\x20them\x20—\x20call\x20treasury\x20receive:\x20\x22recently\x22\x20(requires\x20permission\x20253\x20TREASURY_RECEIVE\x20on\x20the\x20Treasury).')})['strict']()]);export const FeesTransferSchema=z['object']({'to':FeesTransferToSchema['describe']('Transfer\x20arbitration\x20fees\x20to\x20the\x20specified\x20Allocation\x20object\x20or\x20Treasury\x20object.'),'payment_remark':NameSchema['describe']('Payment\x20remark.'),'payment_index':z['number']()['int']()['min'](0x0)['describe']('0-based\x20index\x20of\x20the\x20fee\x20payment\x20inside\x20the\x20Arb\x20case\x27s\x20fees\x20table\x20(query\x20the\x20Arb\x20case\x20with\x20onchain_operations\x20type\x20\x27q\x27\x20/\x20onchain_table_data\x20to\x20list\x20its\x20fees\x20and\x20their\x20indices).\x20REQUIRED\x20—\x20without\x20it\x20the\x20transfer\x20cannot\x20name\x20which\x20fee\x20record\x20to\x20move.'),'newPayment':NamedObjectSchema['optional']()['describe']('Name\x20for\x20the\x20newly\x20created\x20payment\x20object.')})['strict']();export const VotingGuardActionSchema=z['discriminatedUnion']('op',[z['object']({'op':z['enum'](['add','set']),'guards':z['array'](VotingGuardSchema)})['strict'](),z['object']({'op':z['literal']('remove'),'guards':z['array'](NameOrAddressSchema)})['strict'](),z['object']({'op':z['literal']('clear')})['strict']()]);export const CallArbitration_DataSchema=z['object']({'object':TypedPermissionObjectSchema,'dispute':DisputeSchema['optional']()['describe']('Create\x20a\x20new\x20Arb\x20object\x20for\x20the\x20order;\x20the\x20case\x20lands\x20directly\x20in\x20state\x201\x20(Arbitrator_confirming)\x20—\x20the\x20customer\x20does\x20not\x20confirm\x20at\x20filing\x20time.'),'description':DescriptionSchema['optional']()['describe']('Introduction\x20of\x20the\x20Arbitration\x20object.'),'location':LongNameSchema['optional']()['describe']('Arbitration\x20location.'),'fee':BalanceTypeSchema['optional']()['describe']('Arbitration\x20filing\x20fee.\x20FORMAT:\x20a\x20direct\x20amount\x20value\x20—\x20NOT\x20wrapped\x20in\x20'+'{balance:\x20...}\x20(that\x20CoinParam\x20shape\x20is\x20only\x20for\x20dispute.fee,\x20which\x20pays\x20a\x20coin\x20object).\x20'+'Accepted:\x20smallest-unit\x20number\x20or\x20string\x20(e.g.\x2050000000\x20=\x200.05\x20WOW\x20at\x209\x20decimals),\x20or\x20'+'display\x20format\x20with\x20the\x20token\x20symbol\x20(e.g.\x20\x220.05WOW\x22)\x20—\x20the\x20Fund\x20Processing\x20Layer\x20'+'converts\x20it\x20using\x20the\x20Arbitration\x20object\x27s\x20own\x20token\x20decimals.\x20'+'Default\x200\x20on\x20creation:\x20disputes\x20are\x20then\x20free\x20(the\x20filer\x27s\x20coin\x20is\x20fully\x20refunded\x20on\x20'+'filing)\x20and\x20the\x20arbitrator\x20earns\x20no\x20per-case\x20fee.'),'pause':z['boolean']()['optional']()['describe']('Whether\x20to\x20pause\x20arbitration.'),'confirm':ConfirmSchema['optional']()['describe']('ARBITRATOR-side\x20material\x20confirmation\x20(from\x20state\x201):\x20moves\x20the\x20case\x20to\x20state\x202\x20(Voting).\x20'+'Customers\x20cannot\x20call\x20this\x20—\x20the\x20customer-side\x20step\x20is\x20order.arb_confirm\x20(state\x200\x20to\x201).'),'voting_deadline_change':VotingDeadlineChangeSchema['optional']()['describe']('Change\x20the\x20voting\x20deadline.'),'vote':VoteSchema['optional']()['describe']('Vote\x20on\x20user\x20propositions.'),'feedback':FeedbackSchema['optional']()['describe']('Arbitration\x20feedback\x20for\x20the\x20Arb\x20object.'),'arbitration':ArbitrationActionSchema['optional']()['describe']('Provide\x20a\x20definitive\x20arbitration\x20result.'),'reset':ResetSchema['optional']()['describe']('ARBITRATOR-side\x20reset\x20(arbitration\x20permission\x20holder;\x20valid\x20from\x20state\x204\x20Objectionable\x20or\x20state\x201):\x20voids\x20the\x20ruling,\x20'+'clears\x20the\x20indemnity\x20and\x20returns\x20the\x20case\x20to\x20state\x200\x20(Principal_confirming).\x20After\x20a\x20reset\x20ONLY\x20the\x20customer\x20can\x20advance\x20the\x20case\x20'+'again\x20via\x20order.arb_confirm\x20—\x20state\x200\x20has\x20no\x20timeout\x20and\x20the\x20fee\x20stays\x20locked\x20until\x20the\x20customer\x20re-confirms.'),'arb_withdraw':ArbWithdrawSchema['optional']()['describe']('Withdraw\x20arbitration\x20fees\x20from\x20the\x20Arb\x20object\x20(arbitrator).\x20Immediately\x20from\x20state\x205\x20(Finished);\x20from\x20state\x203\x20only\x20after\x2030\x20days\x20'+'from\x20the\x20ruling\x20time\x20(no\x20objection\x20filed\x20—\x20silence\x20=\x20acceptance);\x20rejected\x20in\x20states\x200/1/2.\x20'+'State\x204\x20(Objectionable)\x20can\x20NEVER\x20withdraw\x20(protocol\x20141):\x20a\x20contested\x20case\x20keeps\x20its\x20fee\x20escrowed\x20until\x20the\x20customer\x20'+'closes\x20the\x20objection\x20cycle\x20—\x20reset\x20→\x20order.arb_confirm\x20→\x20new\x20ruling\x20→\x20unchallenged\x20(or\x20accepted\x20via\x20finish).\x20'+'⚠️\x20TWO-STAGE\x20FEE\x20CASH-OUT\x20(verified\x20on\x20testnet):\x20this\x20call\x20does\x20NOT\x20pay\x20the\x20arbitrator\x27s\x20wallet\x20—\x20it\x20moves\x20the\x20case\x20fee\x20'+'into\x20the\x20Arbitration\x20(Registration)\x20object\x27s\x20own\x20balance\x20pool.\x20To\x20actually\x20receive\x20the\x20money:\x20'+'fees_transfer\x20(to\x20a\x20treasury\x20or\x20allocation)\x20→\x20treasury\x20receive:\x20\x22recently\x22\x20(permission\x20253)\x20→\x20treasury\x20withdraw\x20→\x20'+'recipient\x20payment\x20receive.\x20A\x20successful\x20arb_withdraw\x20with\x20no\x20wallet\x20balance\x20change\x20is\x20EXPECTED,\x20not\x20a\x20failure.'),'fees_transfer':FeesTransferSchema['optional']()['describe']('Distribute\x20the\x20withdrawn\x20arbitration\x20fees.\x20Moves\x20the\x20Arbitration\x27s\x20ENTIRE\x20balance\x20in\x20ONE\x20call\x20—\x20there\x20is\x20NO\x20amount\x20parameter.\x20'+'The\x20balance\x20leaves\x20as\x20a\x20CoinWrapper\x20owned\x20by\x20the\x20target\x20(allocation\x20or\x20treasury);\x20for\x20a\x20treasury\x20target,\x20intake\x20it\x20with\x20'+'treasury\x20receive:\x20\x22recently\x22\x20(permission\x20253)\x20—\x20see\x20the\x20\x27to\x27\x20field\x20description.'),'usage_guard':z['union']([NameOrAddressSchema,z['null']()])['optional']()['describe']('Set\x20Guard\x20for\x20verification\x20when\x20users\x20apply\x20for\x20arbitration;\x20if\x20Guard\x20verification\x20fails,\x20users\x20will\x20not\x20be\x20able\x20to\x20apply\x20for\x20arbitration.'),'voting_guard':VotingGuardActionSchema['optional']()['describe']('Set\x20Guard\x20for\x20verification\x20during\x20arbitration\x20voting;\x20if\x20Guard\x20verification\x20fails,\x20arbitration\x20voting\x20will\x20fail.'),'owner_receive':ReceivedObjectsOrRecentlySchema['optional']()['describe']('Unwrap\x20CoinWrapper\x20objects\x20and\x20other\x20objects\x20received\x20by\x20this\x20Arbitration\x20object\x20and\x20send\x20them\x20to\x20the\x20owner\x20of\x20its\x20Permission\x20object.'+RECEIVE_FORMAT_BLOCK_OBJECTS),'um':z['union']([NameOrAddressSchema,z['null']()])['optional']()['describe']('Contact\x20object\x20ID\x20or\x20name.')})['strict']()['describe']('On-chain\x20Arbitration\x20operations.\x20TWO\x20OBJECT\x20KINDS\x20—\x20do\x20not\x20confuse\x20them\x20(§5.9):\x20the\x20ROOT\x20\x27object\x27\x20field\x20is\x20the\x20Arbitration\x20(arbitrator\x20REGISTRATION)\x20object;\x20the\x20Arb\x20(single\x20CASE)\x20created\x20by\x20\x27dispute\x27\x20is\x20addressed\x20via\x20each\x20case\x20operation\x27s\x20\x27arb\x27\x20field.\x20USAGE:\x20(1)\x20CREATE\x20NEW:\x20Set\x20\x27object\x27\x20field\x20with\x20OBJECT\x20format\x20{name,\x20type_parameter,\x20permission,\x20...}\x20to\x20create\x20an\x20Arbitration.\x20NOTE:\x27name\x27\x20goes\x20INSIDE\x20\x27object\x27,\x20NOT\x20at\x20the\x20data\x20root\x20level.\x20\x27permission\x27\x20can\x20be\x20a\x20new\x20Permission\x20object\x20or\x20reference\x20an\x20existing\x20one\x20-\x20check\x20\x27object\x27\x20field\x20description\x20for\x20details.\x20⚠️\x20PERMISSION\x20RULE\x20(contract-enforced):\x20the\x20Arbitration\x27s\x20permission\x20MUST\x20be\x20DIFFERENT\x20from\x20the\x20permission\x20of\x20any\x20Service\x20it\x20will\x20be\x20bound\x20to\x20—\x20binding\x20an\x20Arbitration\x20that\x20SHARES\x20the\x20Service\x27s\x20Permission\x20aborts\x20with\x20E_ARBITRATION_PERMISSION_CONFLICT\x20(error\x2033).\x20Always\x20create\x20a\x20DEDICATED\x20Permission\x20object\x20for\x20each\x20Arbitration.\x20(2)\x20OPERATE\x20EXISTING:\x20Set\x20\x27object\x27\x20field\x20with\x20STRING\x20format\x20(object\x20ID\x20or\x20name).\x20The\x20\x27object\x27\x20field\x20is\x20CRITICAL\x20and\x20REQUIRED\x20in\x20both\x20cases.\x20STRING\x20for\x20existing,\x20OBJECT\x20for\x20new\x20creation.');export const CallArbitration_InputSchema=z['object']({'data':CallArbitration_DataSchema,'env':CallEnvSchema['optional'](),'submission':SubmissionCallSchema['optional']()})['strict']();
@@ -84,8 +84,8 @@ export declare const CallEnvSchema: z.ZodObject<{
84
84
  schema_strict_mode: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
85
85
  dry_run: z.ZodOptional<z.ZodBoolean>;
86
86
  response_level: z.ZodOptional<z.ZodEnum<{
87
- compact: "compact";
88
87
  full: "full";
88
+ compact: "compact";
89
89
  }>>;
90
90
  confirm_mode: z.ZodOptional<z.ZodEnum<{
91
91
  full: "full";
@@ -2000,8 +2000,8 @@ export declare const VerifyMismatchSchema: z.ZodObject<{
2000
2000
  created: "created";
2001
2001
  modified: "modified";
2002
2002
  released: "released";
2003
- state: "state";
2004
2003
  event: "event";
2004
+ state: "state";
2005
2005
  }>;
2006
2006
  expected: z.ZodString;
2007
2007
  actual: z.ZodString;
@@ -2023,8 +2023,8 @@ export declare const VerifyReportSchema: z.ZodObject<{
2023
2023
  created: "created";
2024
2024
  modified: "modified";
2025
2025
  released: "released";
2026
- state: "state";
2027
2026
  event: "event";
2027
+ state: "state";
2028
2028
  }>;
2029
2029
  expected: z.ZodString;
2030
2030
  actual: z.ZodString;
@@ -3701,8 +3701,8 @@ export declare const CallOutputFailedSchema: z.ZodObject<{
3701
3701
  created: "created";
3702
3702
  modified: "modified";
3703
3703
  released: "released";
3704
- state: "state";
3705
3704
  event: "event";
3705
+ state: "state";
3706
3706
  }>;
3707
3707
  expected: z.ZodString;
3708
3708
  actual: z.ZodString;
@@ -5358,8 +5358,8 @@ export declare const CallOutputSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
5358
5358
  created: "created";
5359
5359
  modified: "modified";
5360
5360
  released: "released";
5361
- state: "state";
5362
5361
  event: "event";
5362
+ state: "state";
5363
5363
  }>;
5364
5364
  expected: z.ZodString;
5365
5365
  actual: z.ZodString;