@wowok/agent-mcp 3.4.3 → 3.4.4

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 (853) hide show
  1. package/dist/.build-stamp.json +3 -3
  2. package/dist/build-stamp.js +1 -0
  3. package/dist/chain-semantics/composition-truth.js +1 -1
  4. package/dist/chain-semantics/eval-order.js +1 -1
  5. package/dist/chain-semantics/freeze-map.js +1 -1
  6. package/dist/chain-semantics/fund-flow.js +1 -1
  7. package/dist/chain-semantics/object-graph.js +1 -1
  8. package/dist/composition/audit.js +1 -1
  9. package/dist/composition/compile.js +1 -1
  10. package/dist/composition/emit-phases.js +1 -1
  11. package/dist/composition/generate.js +1 -1
  12. package/dist/composition/guard-fill.js +1 -1
  13. package/dist/composition/input-normalize.js +1 -1
  14. package/dist/composition/materialize.js +1 -1
  15. package/dist/composition/mode-gates.js +1 -1
  16. package/dist/composition/plan.js +1 -1
  17. package/dist/composition/product-card.js +1 -1
  18. package/dist/composition/shape-expand.js +1 -0
  19. package/dist/config/judgment.js +1 -1
  20. package/dist/config/template-params.js +1 -1
  21. package/dist/data/sync/cdc.js +1 -1
  22. package/dist/data/sync/graphql-source.js +1 -1
  23. package/dist/evaluation/engine.js +1 -1
  24. package/dist/experience/realtime-feedback.js +1 -1
  25. package/dist/graph/onchain/expand.js +1 -1
  26. package/dist/graph/onchain/exposure.js +1 -1
  27. package/dist/graph/onchain/sdk-batch.js +1 -1
  28. package/dist/harness/entry-ignite-selfheal.js +1 -0
  29. package/dist/harness/forward-leg-preflight.js +1 -0
  30. package/dist/harness/recover.js +1 -1
  31. package/dist/keeper/detectors.js +1 -1
  32. package/dist/knowledge/allocator-rail-verifier.js +1 -1
  33. package/dist/knowledge/arb-operation-face.js +1 -0
  34. package/dist/knowledge/arbitration-rail-verifier.js +1 -1
  35. package/dist/knowledge/arbitration-templates.js +1 -1
  36. package/dist/knowledge/audit-rules.d.ts +15 -0
  37. package/dist/knowledge/audit-rules.js +1 -1
  38. package/dist/knowledge/baselines/rules/alloc_audit.json.good +310 -0
  39. package/dist/knowledge/baselines/rules/allocation.json.good +568 -0
  40. package/dist/knowledge/baselines/rules/arb.json.good +174 -0
  41. package/dist/knowledge/baselines/rules/arbitration.json.good +393 -0
  42. package/dist/knowledge/baselines/rules/bridge.json.good +197 -0
  43. package/dist/knowledge/baselines/rules/contact.json.good +152 -0
  44. package/dist/knowledge/baselines/rules/demand.json.good +158 -0
  45. package/dist/knowledge/baselines/rules/graph.json.good +534 -0
  46. package/dist/knowledge/baselines/rules/guard.json +18 -5
  47. package/dist/knowledge/baselines/rules/guard.json.good +1192 -0
  48. package/dist/knowledge/baselines/rules/machine.json.good +734 -0
  49. package/dist/knowledge/baselines/rules/oracle.json +1 -1
  50. package/dist/knowledge/baselines/rules/oracle.json.good +120 -0
  51. package/dist/knowledge/baselines/rules/order.json.good +549 -0
  52. package/dist/knowledge/baselines/rules/payment.json.good +205 -0
  53. package/dist/knowledge/baselines/rules/permission.json.good +330 -0
  54. package/dist/knowledge/baselines/rules/personal.json.good +139 -0
  55. package/dist/knowledge/baselines/rules/plan.json +343 -1
  56. package/dist/knowledge/baselines/rules/plan.json.good +1187 -0
  57. package/dist/knowledge/baselines/rules/progress.json.good +364 -0
  58. package/dist/knowledge/baselines/rules/proof.json.good +158 -0
  59. package/dist/knowledge/baselines/rules/registrar.json.good +159 -0
  60. package/dist/knowledge/baselines/rules/repository.json.good +244 -0
  61. package/dist/knowledge/baselines/rules/resource.json.good +117 -0
  62. package/dist/knowledge/baselines/rules/reward.json +10 -10
  63. package/dist/knowledge/baselines/rules/reward.json.good +586 -0
  64. package/dist/knowledge/baselines/rules/service.json.good +595 -0
  65. package/dist/knowledge/baselines/rules/treasury.json.good +440 -0
  66. package/dist/knowledge/baselines/rules/util.json.good +101 -0
  67. package/dist/knowledge/builtin-templates.d.ts +13 -1
  68. package/dist/knowledge/builtin-templates.js +1 -1
  69. package/dist/knowledge/chain-query-registry.js +1 -1
  70. package/dist/knowledge/discount-threshold.js +1 -1
  71. package/dist/knowledge/fee-param-bindings.js +1 -1
  72. package/dist/knowledge/fund-layer.d.ts +2 -0
  73. package/dist/knowledge/fund-layer.js +1 -1
  74. package/dist/knowledge/getting-started.js +1 -1
  75. package/dist/knowledge/guard-binding-table.js +1 -1
  76. package/dist/knowledge/guard-binding-verifier.js +1 -1
  77. package/dist/knowledge/guard-create-preflight.js +1 -0
  78. package/dist/knowledge/guard-field-cognition.js +1 -1
  79. package/dist/knowledge/guard-host-context.js +1 -1
  80. package/dist/knowledge/guard-leg-eval.js +1 -0
  81. package/dist/knowledge/guard-node-gates.js +1 -1
  82. package/dist/knowledge/guard-puzzle.js +1 -1
  83. package/dist/knowledge/guard-quality.js +1 -0
  84. package/dist/knowledge/guard-render.js +1 -1
  85. package/dist/knowledge/guard-risk.js +1 -1
  86. package/dist/knowledge/guard-semantic-walk.js +1 -0
  87. package/dist/knowledge/guard-templates.d.ts +1 -0
  88. package/dist/knowledge/guard-templates.js +1 -1
  89. package/dist/knowledge/guard-translation.js +1 -1
  90. package/dist/knowledge/index.js +1 -1
  91. package/dist/knowledge/industry-registry.js +1 -1
  92. package/dist/knowledge/jsonrpc-enum.js +1 -1
  93. package/dist/knowledge/param-schema.js +1 -1
  94. package/dist/knowledge/param-tiers.js +1 -1
  95. package/dist/knowledge/path-oracle/coverage.js +1 -1
  96. package/dist/knowledge/path-oracle/index.js +1 -1
  97. package/dist/knowledge/path-oracle/products/airbnb.js +1 -0
  98. package/dist/knowledge/path-oracle/products/algora.js +1 -0
  99. package/dist/knowledge/path-oracle/products/alibaba-1688.js +1 -0
  100. package/dist/knowledge/path-oracle/products/amazon.js +1 -0
  101. package/dist/knowledge/path-oracle/products/beatstars.js +1 -0
  102. package/dist/knowledge/path-oracle/products/booking-com.js +1 -0
  103. package/dist/knowledge/path-oracle/products/contra.js +1 -0
  104. package/dist/knowledge/path-oracle/products/costco.js +1 -0
  105. package/dist/knowledge/path-oracle/products/coursera.js +1 -0
  106. package/dist/knowledge/path-oracle/products/duoduo-maicai.js +1 -0
  107. package/dist/knowledge/path-oracle/products/etsy.js +1 -0
  108. package/dist/knowledge/path-oracle/products/food-delivery.js +1 -1
  109. package/dist/knowledge/path-oracle/products/gamefound.js +1 -0
  110. package/dist/knowledge/path-oracle/products/gofundme.js +1 -0
  111. package/dist/knowledge/path-oracle/products/hackerone.js +1 -0
  112. package/dist/knowledge/path-oracle/products/kickstarter.js +1 -0
  113. package/dist/knowledge/path-oracle/products/klook.js +1 -0
  114. package/dist/knowledge/path-oracle/products/ninety-nine-designs.js +1 -0
  115. package/dist/knowledge/path-oracle/products/onlyfans.js +1 -0
  116. package/dist/knowledge/path-oracle/products/patreon.js +1 -0
  117. package/dist/knowledge/path-oracle/products/pinduoduo-kuaituantuan.js +1 -0
  118. package/dist/knowledge/path-oracle/products/royalty-exchange.js +1 -0
  119. package/dist/knowledge/path-oracle/products/shansong.js +1 -0
  120. package/dist/knowledge/path-oracle/products/taobao-presale.js +1 -0
  121. package/dist/knowledge/path-oracle/products/upwork-catalog.js +1 -0
  122. package/dist/knowledge/path-oracle/products/upwork.js +1 -0
  123. package/dist/knowledge/path-oracle/products/yuanfudao.js +1 -0
  124. package/dist/knowledge/path-oracle/products/ziroom.js +1 -0
  125. package/dist/knowledge/pattern-resolutions.js +1 -1
  126. package/dist/knowledge/product-detail-source.js +1 -1
  127. package/dist/knowledge/product-doc-b5.js +1 -1
  128. package/dist/knowledge/product-doc-facets.js +1 -0
  129. package/dist/knowledge/projection.js +1 -1
  130. package/dist/knowledge/publish-gate.js +1 -1
  131. package/dist/knowledge/publish-surface-contract.js +1 -1
  132. package/dist/knowledge/recipient-constraint.d.ts +20 -0
  133. package/dist/knowledge/recipient-constraint.js +1 -1
  134. package/dist/knowledge/rule-declaration-types.d.ts +13 -0
  135. package/dist/knowledge/rule-declaration-types.js +1 -0
  136. package/dist/knowledge/rule-declarations.js +1 -0
  137. package/dist/knowledge/scenario-modes.d.ts +6 -0
  138. package/dist/knowledge/scenario-topology.js +1 -1
  139. package/dist/knowledge/template-loader.js +1 -1
  140. package/dist/knowledge/template-prose.js +1 -1
  141. package/dist/knowledge/template-registry.js +1 -1
  142. package/dist/knowledge/template-scanner.js +1 -1
  143. package/dist/knowledge/tools-reference.js +1 -1
  144. package/dist/monitor/MonitorLoop.js +1 -1
  145. package/dist/playbooks/service-build/business-puzzle.js +1 -1
  146. package/dist/playbooks/service-build/machine-panorama.js +1 -1
  147. package/dist/playbooks/service-build/merchant-guide.js +1 -1
  148. package/dist/playbooks/service-build/object-panorama.js +1 -1
  149. package/dist/playbooks/service-build/participation-radar.js +1 -1
  150. package/dist/playbooks/service-build/relationship-profile.js +1 -1
  151. package/dist/playbooks/service-build/service-panorama.js +1 -1
  152. package/dist/playbooks/service-build/service-quote.js +1 -1
  153. package/dist/review/index.js +1 -1
  154. package/dist/review/service.js +1 -1
  155. package/dist/safety/confirm-gate.js +1 -1
  156. package/dist/schema/benchmark-migration/index.d.ts +9 -0
  157. package/dist/schema/benchmark-migration/index.js +1 -1
  158. package/dist/schema/call/arbitration.d.ts +8 -0
  159. package/dist/schema/call/arbitration.js +1 -1
  160. package/dist/schema/call/base.d.ts +8 -0
  161. package/dist/schema/call/base.js +1 -1
  162. package/dist/schema/call/bridge.d.ts +2 -0
  163. package/dist/schema/call/error-codes.d.ts +1 -1
  164. package/dist/schema/call/error-codes.js +1 -1
  165. package/dist/schema/call/handler.d.ts +2 -1
  166. package/dist/schema/call/handler.js +1 -1
  167. package/dist/schema/call/order.d.ts +10 -0
  168. package/dist/schema/call/permission-handler.js +1 -1
  169. package/dist/schema/call/permission.js +1 -1
  170. package/dist/schema/call/progress.d.ts +15 -0
  171. package/dist/schema/call/progress.js +1 -1
  172. package/dist/schema/call/receipt.d.ts +1 -0
  173. package/dist/schema/call/receipt.js +1 -1
  174. package/dist/schema/call/repository.d.ts +12 -0
  175. package/dist/schema/call/repository.js +1 -1
  176. package/dist/schema/call/reward.js +1 -1
  177. package/dist/schema/call/semantic.d.ts +1 -0
  178. package/dist/schema/call/semantic.js +1 -1
  179. package/dist/schema/call/service.d.ts +5 -3
  180. package/dist/schema/call/service.js +1 -1
  181. package/dist/schema/common/index.js +1 -1
  182. package/dist/schema/envelope-unify.js +1 -1
  183. package/dist/schema/goal/index.d.ts +23 -0
  184. package/dist/schema/goal/planning.js +1 -1
  185. package/dist/schema/industry-pack/index.d.ts +2 -2
  186. package/dist/schema/local/index.d.ts +20 -0
  187. package/dist/schema/local/index.js +1 -1
  188. package/dist/schema/local/wip.d.ts +4 -0
  189. package/dist/schema/local/wip.js +1 -1
  190. package/dist/schema/messenger/index.d.ts +5 -0
  191. package/dist/schema/messenger/index.js +1 -1
  192. package/dist/schema/operations.d.ts +944 -1
  193. package/dist/schema/operations.js +1 -1
  194. package/dist/schema/query/bi.js +1 -1
  195. package/dist/schema/query/index.d.ts +5 -5
  196. package/dist/schema/query/index.js +1 -1
  197. package/dist/schema/schema-version.js +1 -1
  198. package/dist/schema/workspace/index.d.ts +2 -2
  199. package/dist/schema-query-impl/index.js +1 -1
  200. package/dist/schemas/account_operation.schema.json +1 -257
  201. package/dist/schemas/ask_user.schema.json +1 -78
  202. package/dist/schemas/benchmark_migration_operation.schema.json +1 -626
  203. package/dist/schemas/bridge_operation.schema.json +1 -1069
  204. package/dist/schemas/config_operation.schema.json +1 -82
  205. package/dist/schemas/employee_operation.schema.json +1 -319
  206. package/dist/schemas/evaluation_operation.schema.json +1 -3932
  207. package/dist/schemas/goal_operation.schema.json +1 -1650
  208. package/dist/schemas/guard2file.schema.json +1 -137
  209. package/dist/schemas/index.json +1 -285
  210. package/dist/schemas/industry_pack_operation.schema.json +1 -582
  211. package/dist/schemas/intent_radar.schema.json +1 -155
  212. package/dist/schemas/keeper_operation.schema.json +1 -364
  213. package/dist/schemas/local_cache_operation.schema.json +1 -116
  214. package/dist/schemas/local_history_operation.schema.json +1 -105
  215. package/dist/schemas/local_info_operation.schema.json +1 -140
  216. package/dist/schemas/local_mark_operation.schema.json +1 -124
  217. package/dist/schemas/machineNode2file.schema.json +1 -137
  218. package/dist/schemas/messenger_operation.schema.json +1 -2068
  219. package/dist/schemas/monitor_events.schema.json +1 -87
  220. package/dist/schemas/monitor_subscription.schema.json +1 -327
  221. package/dist/schemas/onchain_events.schema.json +1 -207
  222. package/dist/schemas/onchain_operations.schema.json +1 -28699
  223. package/dist/schemas/onchain_operations_allocation.schema.json +1 -1376
  224. package/dist/schemas/onchain_operations_arbitration.schema.json +1 -1355
  225. package/dist/schemas/onchain_operations_contact.schema.json +1 -988
  226. package/dist/schemas/onchain_operations_demand.schema.json +1 -1146
  227. package/dist/schemas/onchain_operations_gen_passport.schema.json +1 -663
  228. package/dist/schemas/onchain_operations_gen_proof.schema.json +1 -180
  229. package/dist/schemas/onchain_operations_guard.schema.json +1 -8518
  230. package/dist/schemas/onchain_operations_machine.schema.json +1 -1879
  231. package/dist/schemas/onchain_operations_order.schema.json +1 -1121
  232. package/dist/schemas/onchain_operations_payment.schema.json +1 -316
  233. package/dist/schemas/onchain_operations_permission.schema.json +1 -1036
  234. package/dist/schemas/onchain_operations_personal.schema.json +1 -1463
  235. package/dist/schemas/onchain_operations_progress.schema.json +1 -1041
  236. package/dist/schemas/onchain_operations_proof.schema.json +1 -750
  237. package/dist/schemas/onchain_operations_repository.schema.json +1 -2046
  238. package/dist/schemas/onchain_operations_reward.schema.json +1 -1286
  239. package/dist/schemas/onchain_operations_service.schema.json +1 -2602
  240. package/dist/schemas/onchain_operations_treasury.schema.json +1 -1527
  241. package/dist/schemas/onchain_table_data.schema.json +1 -1146
  242. package/dist/schemas/permission_operation.schema.json +1 -43
  243. package/dist/schemas/persona_operation.schema.json +1 -10424
  244. package/dist/schemas/query_toolkit.schema.json +1 -1867
  245. package/dist/schemas/schema_query.schema.json +1 -116
  246. package/dist/schemas/service_clone_operation.schema.json +1 -49
  247. package/dist/schemas/settle_sweep.schema.json +1 -0
  248. package/dist/schemas/strategy_review_operation.schema.json +1 -66
  249. package/dist/schemas/verify_guard_dry_run.schema.json +1 -0
  250. package/dist/schemas/watch_operation.schema.json +1 -145
  251. package/dist/schemas/wip_file.schema.json +1 -299
  252. package/dist/schemas/workflow_operation.schema.json +1 -722
  253. package/dist/schemas/workspace_operation.schema.json +1 -104
  254. package/dist/schemas/wowok_buildin_info.schema.json +1 -758
  255. package/dist/tools/handlers/benchmark-migration.js +1 -1
  256. package/dist/tools/handlers/config.js +1 -1
  257. package/dist/tools/handlers/entry-edge-recipe.js +1 -1
  258. package/dist/tools/handlers/file-export.js +1 -1
  259. package/dist/tools/handlers/local.js +1 -1
  260. package/dist/tools/handlers/messenger.js +1 -1
  261. package/dist/tools/handlers/onchain.js +1 -1
  262. package/dist/tools/handlers/pending-settlement-recipe.js +1 -0
  263. package/dist/tools/handlers/plan-recovery.js +1 -0
  264. package/dist/tools/handlers/query.js +1 -1
  265. package/dist/tools/handlers/repository-row-id.js +1 -0
  266. package/dist/tools/handlers/review-chain.js +1 -1
  267. package/dist/tools/handlers/settle-sweep.js +1 -0
  268. package/dist/tools/handlers/stale-build-check.js +1 -1
  269. package/dist/tools/handlers/submission-assembly.js +1 -1
  270. package/dist/tools/handlers/verify-guard-dry-run.js +1 -0
  271. package/dist/tools/handlers/wip-upload.js +1 -1
  272. package/dist/tools/index.d.ts +3 -1
  273. package/dist/tools/index.js +1 -1
  274. package/dist/tools/move-fn-index.gen.js +1 -1
  275. package/dist/tools/publish-gate-state.js +1 -1
  276. package/dist/tools/registry/business.js +1 -1
  277. package/dist/tools/registry/onchain.js +1 -1
  278. package/dist/tools/shared.js +1 -1
  279. package/dist/tools/types.d.ts +1 -1
  280. package/dist/tools/wrap.js +1 -1
  281. package/package.json +11 -4
  282. package/dist/chain-semantics/composition-truth.d.ts +0 -102
  283. package/dist/chain-semantics/eval-order.d.ts +0 -17
  284. package/dist/chain-semantics/field-capability.d.ts +0 -11
  285. package/dist/chain-semantics/freeze-map.d.ts +0 -11
  286. package/dist/chain-semantics/fund-flow.d.ts +0 -10
  287. package/dist/chain-semantics/guard-verbs.d.ts +0 -22
  288. package/dist/chain-semantics/index.d.ts +0 -12
  289. package/dist/chain-semantics/object-graph.d.ts +0 -18
  290. package/dist/communication/evidence.d.ts +0 -6
  291. package/dist/communication/message-cursors.d.ts +0 -35
  292. package/dist/communication/proof-reuse.d.ts +0 -9
  293. package/dist/communication/wts-attestation.d.ts +0 -39
  294. package/dist/composition/audit.d.ts +0 -15
  295. package/dist/composition/blueprint-view.d.ts +0 -63
  296. package/dist/composition/compile.d.ts +0 -83
  297. package/dist/composition/emit-phases.d.ts +0 -234
  298. package/dist/composition/generate.d.ts +0 -40
  299. package/dist/composition/guard-fill.d.ts +0 -52
  300. package/dist/composition/inflight.d.ts +0 -86
  301. package/dist/composition/input-normalize.d.ts +0 -15
  302. package/dist/composition/materialize.d.ts +0 -78
  303. package/dist/composition/mode-gates.d.ts +0 -35
  304. package/dist/composition/param-disclosure.d.ts +0 -61
  305. package/dist/composition/plan-retry-ledger.d.ts +0 -37
  306. package/dist/composition/plan.d.ts +0 -121
  307. package/dist/composition/product-card.d.ts +0 -94
  308. package/dist/composition/reflux.d.ts +0 -28
  309. package/dist/composition/supply-chain-emit.d.ts +0 -46
  310. package/dist/config/config-audit.spec.d.ts +0 -1
  311. package/dist/config/config-audit.spec.js +0 -1
  312. package/dist/config/config-warnings.d.ts +0 -2
  313. package/dist/config/index.d.ts +0 -4
  314. package/dist/config/judgment.spec.d.ts +0 -1
  315. package/dist/config/judgment.spec.js +0 -1
  316. package/dist/config/match-policy-file.d.ts +0 -34
  317. package/dist/config/match-policy-file.spec.d.ts +0 -1
  318. package/dist/config/match-policy-file.spec.js +0 -1
  319. package/dist/config/rule-engine.spec.d.ts +0 -1
  320. package/dist/config/rule-engine.spec.js +0 -1
  321. package/dist/config/runtime.d.ts +0 -29
  322. package/dist/config/store-policy.d.ts +0 -14
  323. package/dist/config/store-policy.spec.d.ts +0 -1
  324. package/dist/config/store-policy.spec.js +0 -1
  325. package/dist/config/template-params.d.ts +0 -42
  326. package/dist/config/template-params.spec.d.ts +0 -1
  327. package/dist/config/template-params.spec.js +0 -1
  328. package/dist/customer/account-events.d.ts +0 -32
  329. package/dist/data/api/api.spec.d.ts +0 -1
  330. package/dist/data/api/api.spec.js +0 -1
  331. package/dist/data/api/cli.d.ts +0 -1
  332. package/dist/data/api/head.d.ts +0 -16
  333. package/dist/data/api/head.spec.d.ts +0 -1
  334. package/dist/data/api/head.spec.js +0 -1
  335. package/dist/data/api/index.d.ts +0 -2
  336. package/dist/data/api/match.d.ts +0 -69
  337. package/dist/data/api/match.spec.d.ts +0 -1
  338. package/dist/data/api/match.spec.js +0 -1
  339. package/dist/data/api/server.d.ts +0 -13
  340. package/dist/data/projection/cli.d.ts +0 -1
  341. package/dist/data/projection/edges.d.ts +0 -8
  342. package/dist/data/projection/edges.spec.d.ts +0 -1
  343. package/dist/data/projection/edges.spec.js +0 -1
  344. package/dist/data/projection/facets.d.ts +0 -18
  345. package/dist/data/projection/facets.spec.d.ts +0 -1
  346. package/dist/data/projection/facets.spec.js +0 -1
  347. package/dist/data/projection/facts.d.ts +0 -40
  348. package/dist/data/projection/index.d.ts +0 -6
  349. package/dist/data/projection/project.d.ts +0 -10
  350. package/dist/data/projection/projection.spec.d.ts +0 -1
  351. package/dist/data/projection/projection.spec.js +0 -1
  352. package/dist/data/projection/schema.d.ts +0 -1
  353. package/dist/data/projection/store.d.ts +0 -51
  354. package/dist/data/projection/types.d.ts +0 -169
  355. package/dist/data/sync/cdc.d.ts +0 -33
  356. package/dist/data/sync/cdc.spec.d.ts +0 -1
  357. package/dist/data/sync/cdc.spec.js +0 -1
  358. package/dist/data/sync/graphql-source.d.ts +0 -16
  359. package/dist/data/sync/index.d.ts +0 -5
  360. package/dist/data/sync/reconciler.d.ts +0 -14
  361. package/dist/data/sync/reconciler.spec.d.ts +0 -1
  362. package/dist/data/sync/reconciler.spec.js +0 -1
  363. package/dist/data/sync/schema.d.ts +0 -1
  364. package/dist/data/sync/store.d.ts +0 -24
  365. package/dist/data/sync/sync.spec.d.ts +0 -1
  366. package/dist/data/sync/sync.spec.js +0 -1
  367. package/dist/data/sync/synchronizer.d.ts +0 -10
  368. package/dist/data/sync/types.d.ts +0 -164
  369. package/dist/evaluation/acceptance.d.ts +0 -33
  370. package/dist/evaluation/architecture.spec.d.ts +0 -1
  371. package/dist/evaluation/architecture.spec.js +0 -1
  372. package/dist/evaluation/builtins/arbitration-score.d.ts +0 -42
  373. package/dist/evaluation/builtins/demand-match.d.ts +0 -16
  374. package/dist/evaluation/builtins/graph-service.spec.d.ts +0 -1
  375. package/dist/evaluation/builtins/graph-service.spec.js +0 -1
  376. package/dist/evaluation/builtins/index.d.ts +0 -4
  377. package/dist/evaluation/builtins/purity.spec.d.ts +0 -1
  378. package/dist/evaluation/builtins/purity.spec.js +0 -1
  379. package/dist/evaluation/composer.d.ts +0 -38
  380. package/dist/evaluation/facets/catalog.d.ts +0 -19
  381. package/dist/evaluation/gap.d.ts +0 -2
  382. package/dist/evaluation/guard-scan.d.ts +0 -10
  383. package/dist/evaluation/index.d.ts +0 -14
  384. package/dist/evaluation/injection.d.ts +0 -6
  385. package/dist/evaluation/location-match.d.ts +0 -42
  386. package/dist/evaluation/match-operation.d.ts +0 -23
  387. package/dist/evaluation/match-policy-resolver.d.ts +0 -9
  388. package/dist/evaluation/match-policy.spec.d.ts +0 -1
  389. package/dist/evaluation/match-policy.spec.js +0 -1
  390. package/dist/evaluation/path-reasoning.d.ts +0 -37
  391. package/dist/evaluation/standards.d.ts +0 -11
  392. package/dist/evaluation/standards.spec.d.ts +0 -1
  393. package/dist/evaluation/standards.spec.js +0 -1
  394. package/dist/evaluation/structured-lines.d.ts +0 -8
  395. package/dist/evaluation/user-injection.d.ts +0 -6
  396. package/dist/experience/experience-reuse.d.ts +0 -10
  397. package/dist/experience/index.d.ts +0 -7
  398. package/dist/experience/persistence-config.d.ts +0 -6
  399. package/dist/experience/persistence.d.ts +0 -21
  400. package/dist/experience/realtime-feedback.d.ts +0 -5
  401. package/dist/experience/user-profile.d.ts +0 -25
  402. package/dist/extensions/capability.d.ts +0 -91
  403. package/dist/extensions/industry-audit.spec.d.ts +0 -1
  404. package/dist/extensions/industry-audit.spec.js +0 -1
  405. package/dist/goal/GoalClassifier.d.ts +0 -17
  406. package/dist/goal/GoalEngine.d.ts +0 -175
  407. package/dist/goal/GoalStore.d.ts +0 -27
  408. package/dist/goal/next-steps.d.ts +0 -12
  409. package/dist/goal/plan-approval.d.ts +0 -5
  410. package/dist/goal/pursue.d.ts +0 -18
  411. package/dist/graph/base.d.ts +0 -8
  412. package/dist/graph/onchain/analyze.d.ts +0 -59
  413. package/dist/graph/onchain/analyze.spec.d.ts +0 -1
  414. package/dist/graph/onchain/analyze.spec.js +0 -1
  415. package/dist/graph/onchain/anti-cheat.d.ts +0 -69
  416. package/dist/graph/onchain/anti-cheat.spec.d.ts +0 -1
  417. package/dist/graph/onchain/anti-cheat.spec.js +0 -1
  418. package/dist/graph/onchain/dataplane.d.ts +0 -44
  419. package/dist/graph/onchain/edge-batch.spec.d.ts +0 -1
  420. package/dist/graph/onchain/edge-batch.spec.js +0 -1
  421. package/dist/graph/onchain/edge-schema.d.ts +0 -69
  422. package/dist/graph/onchain/entity-profile.spec.d.ts +0 -1
  423. package/dist/graph/onchain/entity-profile.spec.js +0 -1
  424. package/dist/graph/onchain/event-history.spec.d.ts +0 -1
  425. package/dist/graph/onchain/event-history.spec.js +0 -1
  426. package/dist/graph/onchain/expand.d.ts +0 -4
  427. package/dist/graph/onchain/exploration.d.ts +0 -28
  428. package/dist/graph/onchain/exploration.spec.d.ts +0 -1
  429. package/dist/graph/onchain/exploration.spec.js +0 -1
  430. package/dist/graph/onchain/exposure.d.ts +0 -18
  431. package/dist/graph/onchain/exposure.spec.d.ts +0 -1
  432. package/dist/graph/onchain/exposure.spec.js +0 -1
  433. package/dist/graph/onchain/extract-deep.spec.d.ts +0 -1
  434. package/dist/graph/onchain/extract-deep.spec.js +0 -1
  435. package/dist/graph/onchain/extract.d.ts +0 -29
  436. package/dist/graph/onchain/facet-projection.d.ts +0 -99
  437. package/dist/graph/onchain/facet-projection.spec.d.ts +0 -1
  438. package/dist/graph/onchain/facet-projection.spec.js +0 -1
  439. package/dist/graph/onchain/facts.spec.d.ts +0 -1
  440. package/dist/graph/onchain/facts.spec.js +0 -1
  441. package/dist/graph/onchain/field-manifest.d.ts +0 -29
  442. package/dist/graph/onchain/field-manifest.spec.d.ts +0 -1
  443. package/dist/graph/onchain/field-manifest.spec.js +0 -1
  444. package/dist/graph/onchain/fixtures.d.ts +0 -80
  445. package/dist/graph/onchain/fixtures.spec.d.ts +0 -1
  446. package/dist/graph/onchain/fixtures.spec.js +0 -1
  447. package/dist/graph/onchain/graph-policy.spec.d.ts +0 -1
  448. package/dist/graph/onchain/graph-policy.spec.js +0 -1
  449. package/dist/graph/onchain/index.d.ts +0 -29
  450. package/dist/graph/onchain/interest.d.ts +0 -10
  451. package/dist/graph/onchain/interest.spec.d.ts +0 -1
  452. package/dist/graph/onchain/interest.spec.js +0 -1
  453. package/dist/graph/onchain/label-lint.spec.d.ts +0 -1
  454. package/dist/graph/onchain/label-lint.spec.js +0 -1
  455. package/dist/graph/onchain/names.d.ts +0 -23
  456. package/dist/graph/onchain/names.spec.d.ts +0 -1
  457. package/dist/graph/onchain/names.spec.js +0 -1
  458. package/dist/graph/onchain/object-held-receipts.d.ts +0 -20
  459. package/dist/graph/onchain/object-held-receipts.spec.d.ts +0 -1
  460. package/dist/graph/onchain/object-held-receipts.spec.js +0 -1
  461. package/dist/graph/onchain/onchain.spec.d.ts +0 -1
  462. package/dist/graph/onchain/onchain.spec.js +0 -1
  463. package/dist/graph/onchain/policy.d.ts +0 -8
  464. package/dist/graph/onchain/project-relationship.d.ts +0 -3
  465. package/dist/graph/onchain/proposal-graph.d.ts +0 -11
  466. package/dist/graph/onchain/proposal-graph.spec.d.ts +0 -1
  467. package/dist/graph/onchain/proposal-graph.spec.js +0 -1
  468. package/dist/graph/onchain/sdk-batch.d.ts +0 -129
  469. package/dist/graph/onchain/sdk-dataplane.d.ts +0 -44
  470. package/dist/graph/onchain/strategy.spec.d.ts +0 -1
  471. package/dist/graph/onchain/strategy.spec.js +0 -1
  472. package/dist/graph/onchain/synthesis.d.ts +0 -20
  473. package/dist/graph/onchain/synthesis.spec.d.ts +0 -1
  474. package/dist/graph/onchain/synthesis.spec.js +0 -1
  475. package/dist/graph/onchain/table-ledger.spec.d.ts +0 -1
  476. package/dist/graph/onchain/table-ledger.spec.js +0 -1
  477. package/dist/graph/onchain/viewport.d.ts +0 -6
  478. package/dist/harness/auto-escalation.d.ts +0 -15
  479. package/dist/intent/enrich.d.ts +0 -1
  480. package/dist/intent/index.d.ts +0 -23
  481. package/dist/intent/matcher.d.ts +0 -2
  482. package/dist/intent/store.d.ts +0 -19
  483. package/dist/intent/types.d.ts +0 -32
  484. package/dist/keeper/KeeperScan.d.ts +0 -41
  485. package/dist/keeper/KeeperStore.d.ts +0 -43
  486. package/dist/keeper/detectors.d.ts +0 -42
  487. package/dist/keeper/keeper.spec.d.ts +0 -1
  488. package/dist/keeper/keeper.spec.js +0 -1
  489. package/dist/keeper/types.d.ts +0 -67
  490. package/dist/knowledge/account-marks.d.ts +0 -36
  491. package/dist/knowledge/allocation-ledger.d.ts +0 -75
  492. package/dist/knowledge/allocation-puzzle.d.ts +0 -138
  493. package/dist/knowledge/allocation-risk.d.ts +0 -82
  494. package/dist/knowledge/allocation-templates.d.ts +0 -38
  495. package/dist/knowledge/allocator-rail-verifier.d.ts +0 -59
  496. package/dist/knowledge/anti-cheat.d.ts +0 -2
  497. package/dist/knowledge/arb-fund-facts.d.ts +0 -51
  498. package/dist/knowledge/arb-risk.d.ts +0 -39
  499. package/dist/knowledge/arbitration-puzzle.d.ts +0 -84
  500. package/dist/knowledge/arbitration-rail-verifier.d.ts +0 -35
  501. package/dist/knowledge/arbitration-risk.d.ts +0 -114
  502. package/dist/knowledge/arbitration-templates.d.ts +0 -39
  503. package/dist/knowledge/arbitration-venue-order.d.ts +0 -25
  504. package/dist/knowledge/baselines/guard-lint-baseline.spec.d.ts +0 -1
  505. package/dist/knowledge/baselines/guard-lint-baseline.spec.js +0 -1
  506. package/dist/knowledge/baselines/risk-baselines.spec.d.ts +0 -1
  507. package/dist/knowledge/baselines/risk-baselines.spec.js +0 -1
  508. package/dist/knowledge/baselines/risk-cases.d.ts +0 -8
  509. package/dist/knowledge/baselines/semantic-facts.d.ts +0 -12
  510. package/dist/knowledge/bridge-risk.d.ts +0 -36
  511. package/dist/knowledge/catalog-facts.d.ts +0 -4
  512. package/dist/knowledge/chain-query-registry.d.ts +0 -14
  513. package/dist/knowledge/commission-landing.d.ts +0 -26
  514. package/dist/knowledge/component-schema.d.ts +0 -64
  515. package/dist/knowledge/contact-risk.d.ts +0 -32
  516. package/dist/knowledge/contact-templates.d.ts +0 -26
  517. package/dist/knowledge/contract-invariants.d.ts +0 -54
  518. package/dist/knowledge/demand-risk.d.ts +0 -30
  519. package/dist/knowledge/discount-threshold.d.ts +0 -26
  520. package/dist/knowledge/dynamic-pricing.d.ts +0 -29
  521. package/dist/knowledge/entity-recipient-guard.d.ts +0 -21
  522. package/dist/knowledge/event-semantics.d.ts +0 -23
  523. package/dist/knowledge/evidence-review.d.ts +0 -35
  524. package/dist/knowledge/fee-param-bindings.d.ts +0 -28
  525. package/dist/knowledge/flywheel-loop.d.ts +0 -41
  526. package/dist/knowledge/game-scenarios.d.ts +0 -21
  527. package/dist/knowledge/getting-started.d.ts +0 -37
  528. package/dist/knowledge/goal-completion.d.ts +0 -31
  529. package/dist/knowledge/guard-anchor-reach.d.ts +0 -19
  530. package/dist/knowledge/guard-binding-table.d.ts +0 -52
  531. package/dist/knowledge/guard-binding-verifier.d.ts +0 -37
  532. package/dist/knowledge/guard-bindings.d.ts +0 -21
  533. package/dist/knowledge/guard-blueprint.d.ts +0 -68
  534. package/dist/knowledge/guard-design-patterns.d.ts +0 -38
  535. package/dist/knowledge/guard-eval.d.ts +0 -15
  536. package/dist/knowledge/guard-field-cognition.d.ts +0 -48
  537. package/dist/knowledge/guard-host-context.d.ts +0 -24
  538. package/dist/knowledge/guard-ledger.d.ts +0 -19
  539. package/dist/knowledge/guard-leg-map.d.ts +0 -5
  540. package/dist/knowledge/guard-lint.d.ts +0 -79
  541. package/dist/knowledge/guard-node-gates.d.ts +0 -9
  542. package/dist/knowledge/guard-puzzle.d.ts +0 -188
  543. package/dist/knowledge/guard-render.d.ts +0 -71
  544. package/dist/knowledge/guard-risk.d.ts +0 -71
  545. package/dist/knowledge/guard-submission-brief.d.ts +0 -94
  546. package/dist/knowledge/guard-submission-prompt.d.ts +0 -63
  547. package/dist/knowledge/guard-translation.d.ts +0 -58
  548. package/dist/knowledge/index.d.ts +0 -299
  549. package/dist/knowledge/industry-evolution.d.ts +0 -82
  550. package/dist/knowledge/industry-generalizer.d.ts +0 -63
  551. package/dist/knowledge/industry-rule-node.d.ts +0 -7
  552. package/dist/knowledge/industry-strategy.d.ts +0 -91
  553. package/dist/knowledge/intent-metrics.d.ts +0 -43
  554. package/dist/knowledge/jsonrpc-enum.d.ts +0 -102
  555. package/dist/knowledge/knob-docs.d.ts +0 -5
  556. package/dist/knowledge/machine-fork-watch.d.ts +0 -9
  557. package/dist/knowledge/machine-ledger.d.ts +0 -42
  558. package/dist/knowledge/machine-puzzle.d.ts +0 -206
  559. package/dist/knowledge/machine-risk.d.ts +0 -72
  560. package/dist/knowledge/machine-templates.d.ts +0 -92
  561. package/dist/knowledge/machine-topology.d.ts +0 -116
  562. package/dist/knowledge/machine-translation.d.ts +0 -96
  563. package/dist/knowledge/market-metrics.d.ts +0 -34
  564. package/dist/knowledge/market-operations.d.ts +0 -46
  565. package/dist/knowledge/migration-preflight.d.ts +0 -27
  566. package/dist/knowledge/object-dependency.d.ts +0 -31
  567. package/dist/knowledge/operation-dictionary.d.ts +0 -18
  568. package/dist/knowledge/order-ledger.d.ts +0 -69
  569. package/dist/knowledge/order-puzzle.d.ts +0 -162
  570. package/dist/knowledge/order-risk.d.ts +0 -62
  571. package/dist/knowledge/order-templates.d.ts +0 -50
  572. package/dist/knowledge/param-schema.d.ts +0 -93
  573. package/dist/knowledge/param-tiers.d.ts +0 -27
  574. package/dist/knowledge/passport-ledger.d.ts +0 -60
  575. package/dist/knowledge/passport-templates.d.ts +0 -40
  576. package/dist/knowledge/path-oracle/coverage.d.ts +0 -16
  577. package/dist/knowledge/path-oracle/index.d.ts +0 -5
  578. package/dist/knowledge/path-oracle/products/food-delivery.d.ts +0 -2
  579. package/dist/knowledge/path-oracle/schema.d.ts +0 -188
  580. package/dist/knowledge/pattern-resolutions.d.ts +0 -110
  581. package/dist/knowledge/payment-risk.d.ts +0 -38
  582. package/dist/knowledge/payment-tracker.d.ts +0 -63
  583. package/dist/knowledge/permission-ledger.d.ts +0 -49
  584. package/dist/knowledge/permission-puzzle.d.ts +0 -122
  585. package/dist/knowledge/permission-risk.d.ts +0 -70
  586. package/dist/knowledge/permission-templates.d.ts +0 -38
  587. package/dist/knowledge/personal-risk.d.ts +0 -36
  588. package/dist/knowledge/product-detail-source.d.ts +0 -37
  589. package/dist/knowledge/product-doc-b5.d.ts +0 -16
  590. package/dist/knowledge/progress-ledger.d.ts +0 -63
  591. package/dist/knowledge/progress-puzzle.d.ts +0 -82
  592. package/dist/knowledge/progress-risk.d.ts +0 -75
  593. package/dist/knowledge/progress-templates.d.ts +0 -38
  594. package/dist/knowledge/projection.d.ts +0 -54
  595. package/dist/knowledge/projection.spec.d.ts +0 -1
  596. package/dist/knowledge/projection.spec.js +0 -1
  597. package/dist/knowledge/proof-risk.d.ts +0 -33
  598. package/dist/knowledge/protocol-facts.d.ts +0 -17
  599. package/dist/knowledge/publish-gate.d.ts +0 -20
  600. package/dist/knowledge/publish-readiness.d.ts +0 -25
  601. package/dist/knowledge/publish-surface-contract.d.ts +0 -16
  602. package/dist/knowledge/puzzle-projections.d.ts +0 -11
  603. package/dist/knowledge/rail-exit-satisfiability.d.ts +0 -25
  604. package/dist/knowledge/registrar-risk.d.ts +0 -34
  605. package/dist/knowledge/release-sentinel.d.ts +0 -12
  606. package/dist/knowledge/repository-risk.d.ts +0 -46
  607. package/dist/knowledge/repository-write-semantics.d.ts +0 -27
  608. package/dist/knowledge/reputation-rules.d.ts +0 -36
  609. package/dist/knowledge/requirement-families.d.ts +0 -13
  610. package/dist/knowledge/resource-risk.d.ts +0 -32
  611. package/dist/knowledge/reward-ledger.d.ts +0 -97
  612. package/dist/knowledge/reward-puzzle.d.ts +0 -98
  613. package/dist/knowledge/reward-risk.d.ts +0 -86
  614. package/dist/knowledge/reward-templates.d.ts +0 -25
  615. package/dist/knowledge/rule-node-analyzers.d.ts +0 -49
  616. package/dist/knowledge/rule-outcome.d.ts +0 -5
  617. package/dist/knowledge/scenario-topology.d.ts +0 -48
  618. package/dist/knowledge/semantic-ir.d.ts +0 -136
  619. package/dist/knowledge/service-allocation-semantics.d.ts +0 -36
  620. package/dist/knowledge/service-allocator-audit-node.d.ts +0 -3
  621. package/dist/knowledge/service-ledger.d.ts +0 -87
  622. package/dist/knowledge/service-puzzle.d.ts +0 -158
  623. package/dist/knowledge/service-risk-node.d.ts +0 -3
  624. package/dist/knowledge/service-risk.d.ts +0 -110
  625. package/dist/knowledge/service-templates.d.ts +0 -41
  626. package/dist/knowledge/settlement-semantics.d.ts +0 -1
  627. package/dist/knowledge/strategy-manuals.d.ts +0 -15
  628. package/dist/knowledge/supply-chain.d.ts +0 -35
  629. package/dist/knowledge/template-index.d.ts +0 -19
  630. package/dist/knowledge/template-loader.d.ts +0 -425
  631. package/dist/knowledge/template-nav.d.ts +0 -9
  632. package/dist/knowledge/template-prose.d.ts +0 -50
  633. package/dist/knowledge/template-registry.d.ts +0 -48
  634. package/dist/knowledge/template-scanner.d.ts +0 -158
  635. package/dist/knowledge/template-test-profiles.d.ts +0 -17
  636. package/dist/knowledge/template-validation.d.ts +0 -3
  637. package/dist/knowledge/tools-reference.d.ts +0 -17
  638. package/dist/knowledge/treasury-ledger.d.ts +0 -42
  639. package/dist/knowledge/treasury-puzzle.d.ts +0 -163
  640. package/dist/knowledge/treasury-risk.d.ts +0 -88
  641. package/dist/knowledge/treasury-templates.d.ts +0 -38
  642. package/dist/knowledge/universal-template.d.ts +0 -22
  643. package/dist/knowledge/util-risk.d.ts +0 -30
  644. package/dist/knowledge/workflow-guidance.d.ts +0 -194
  645. package/dist/knowledge/workspace-lists.d.ts +0 -61
  646. package/dist/monitor/SuggestionBridge.spec.d.ts +0 -1
  647. package/dist/monitor/SuggestionBridge.spec.js +0 -1
  648. package/dist/participation/arbitrator-interest.d.ts +0 -22
  649. package/dist/participation/demander-interest.d.ts +0 -23
  650. package/dist/participation/employee-kpi.d.ts +0 -37
  651. package/dist/participation/employee-kpi.spec.d.ts +0 -1
  652. package/dist/participation/employee-kpi.spec.js +0 -1
  653. package/dist/participation/employee-store.d.ts +0 -16
  654. package/dist/participation/game-context.d.ts +0 -25
  655. package/dist/participation/index.d.ts +0 -2
  656. package/dist/participation/node-action-advisor.d.ts +0 -68
  657. package/dist/participation/time-window.d.ts +0 -48
  658. package/dist/persona/facet-profile.d.ts +0 -33
  659. package/dist/persona/persona-audit.spec.d.ts +0 -1
  660. package/dist/persona/persona-audit.spec.js +0 -1
  661. package/dist/playbooks/service-build/business-puzzle.d.ts +0 -48
  662. package/dist/playbooks/service-build/context-assembly.d.ts +0 -32
  663. package/dist/playbooks/service-build/facet-money.d.ts +0 -33
  664. package/dist/playbooks/service-build/facet-money.spec.d.ts +0 -1
  665. package/dist/playbooks/service-build/facet-money.spec.js +0 -1
  666. package/dist/playbooks/service-build/game-theory.d.ts +0 -47
  667. package/dist/playbooks/service-build/index.d.ts +0 -15
  668. package/dist/playbooks/service-build/intent-analyzer.d.ts +0 -72
  669. package/dist/playbooks/service-build/machine-nodes.d.ts +0 -27
  670. package/dist/playbooks/service-build/machine-panorama.d.ts +0 -71
  671. package/dist/playbooks/service-build/merchant-guide.d.ts +0 -382
  672. package/dist/playbooks/service-build/migration-planner.d.ts +0 -61
  673. package/dist/playbooks/service-build/mode-actions.d.ts +0 -260
  674. package/dist/playbooks/service-build/object-panorama.d.ts +0 -317
  675. package/dist/playbooks/service-build/object-type.d.ts +0 -1
  676. package/dist/playbooks/service-build/participation-radar.d.ts +0 -20
  677. package/dist/playbooks/service-build/pipeline-actions.d.ts +0 -108
  678. package/dist/playbooks/service-build/process.d.ts +0 -6
  679. package/dist/playbooks/service-build/relationship-profile.d.ts +0 -3
  680. package/dist/playbooks/service-build/reverse-mapping-nk4.spec.d.ts +0 -1
  681. package/dist/playbooks/service-build/reverse-mapping-nk4.spec.js +0 -1
  682. package/dist/playbooks/service-build/reverse-mapping-refund-p0-5.spec.d.ts +0 -1
  683. package/dist/playbooks/service-build/reverse-mapping-refund-p0-5.spec.js +0 -1
  684. package/dist/playbooks/service-build/reverse-mapping.d.ts +0 -66
  685. package/dist/playbooks/service-build/risk-aggregator.d.ts +0 -59
  686. package/dist/playbooks/service-build/service-panorama.d.ts +0 -229
  687. package/dist/playbooks/service-build/service-quote.d.ts +0 -2
  688. package/dist/playbooks/service-build/service-quote.spec.d.ts +0 -1
  689. package/dist/playbooks/service-build/service-quote.spec.js +0 -1
  690. package/dist/playbooks/service-build/topology-evaluation.spec.d.ts +0 -1
  691. package/dist/playbooks/service-build/topology-evaluation.spec.js +0 -1
  692. package/dist/playbooks/service-build/topology-query.d.ts +0 -25
  693. package/dist/playbooks/service-build/workflow-design-assessment.d.ts +0 -33
  694. package/dist/relationship/derivation.d.ts +0 -95
  695. package/dist/relationship/derivation.spec.d.ts +0 -1
  696. package/dist/relationship/derivation.spec.js +0 -1
  697. package/dist/relationship/incentive.d.ts +0 -38
  698. package/dist/relationship/index.d.ts +0 -4
  699. package/dist/relationship/registry.d.ts +0 -13
  700. package/dist/relationship/types.d.ts +0 -45
  701. package/dist/review/arb.d.ts +0 -4
  702. package/dist/review/demand.d.ts +0 -3
  703. package/dist/review/index.d.ts +0 -3
  704. package/dist/review/machine.d.ts +0 -3
  705. package/dist/review/order.d.ts +0 -8
  706. package/dist/review/progress.d.ts +0 -3
  707. package/dist/review/repository.d.ts +0 -3
  708. package/dist/review/service.d.ts +0 -5
  709. package/dist/review/types.d.ts +0 -163
  710. package/dist/role/derivation.d.ts +0 -35
  711. package/dist/role/index.d.ts +0 -6
  712. package/dist/role/intent.d.ts +0 -23
  713. package/dist/role/model.d.ts +0 -9
  714. package/dist/role/profiles.d.ts +0 -26
  715. package/dist/role/resolution.d.ts +0 -27
  716. package/dist/runtime/instance-registry.d.ts +0 -14
  717. package/dist/safety/index.d.ts +0 -3
  718. package/dist/schema/call/permission-handler.d.ts +0 -5
  719. package/dist/schema/call/semantic-customer-advice.spec.d.ts +0 -1
  720. package/dist/schema/call/semantic-customer-advice.spec.js +0 -1
  721. package/dist/schema/common/tokentype-short-probe.spec.d.ts +0 -1
  722. package/dist/schema/common/tokentype-short-probe.spec.js +0 -1
  723. package/dist/schema/envelope-unify.d.ts +0 -5
  724. package/dist/schema/goal/planning.d.ts +0 -742
  725. package/dist/schema/industry-pack/modes.d.ts +0 -447
  726. package/dist/schema/query/bi.d.ts +0 -3369
  727. package/dist/schema/utils/guard-query-utils.d.ts +0 -18
  728. package/dist/schema/utils/permission-index-utils.d.ts +0 -2
  729. package/dist/schema/utils/skills-recommendation.d.ts +0 -2
  730. package/dist/schema-query-impl/index.d.ts +0 -83
  731. package/dist/schemas/account_operation.output.json +0 -3869
  732. package/dist/schemas/ask_user.output.json +0 -54
  733. package/dist/schemas/benchmark_migration_operation.output.json +0 -1669
  734. package/dist/schemas/bridge_operation.output.json +0 -1548
  735. package/dist/schemas/config_operation.output.json +0 -896
  736. package/dist/schemas/employee_operation.output.json +0 -307
  737. package/dist/schemas/evaluation_operation.output.json +0 -4716
  738. package/dist/schemas/guard2file.output.json +0 -83
  739. package/dist/schemas/industry_pack_operation.output.json +0 -2985
  740. package/dist/schemas/intent_radar.output.json +0 -326
  741. package/dist/schemas/keeper_operation.output.json +0 -1441
  742. package/dist/schemas/local_cache_operation.output.json +0 -1718
  743. package/dist/schemas/local_history_operation.output.json +0 -1644
  744. package/dist/schemas/local_info_operation.output.json +0 -1530
  745. package/dist/schemas/local_mark_operation.output.json +0 -1622
  746. package/dist/schemas/machineNode2file.output.json +0 -88
  747. package/dist/schemas/messenger_operation.output.json +0 -4692
  748. package/dist/schemas/monitor_events.output.json +0 -1602
  749. package/dist/schemas/monitor_subscription.output.json +0 -1629
  750. package/dist/schemas/onchain_events.output.json +0 -4053
  751. package/dist/schemas/onchain_operations.output.json +0 -7788
  752. package/dist/schemas/onchain_table_data.output.json +0 -11868
  753. package/dist/schemas/permission_operation.output.json +0 -205
  754. package/dist/schemas/persona_operation.output.json +0 -64612
  755. package/dist/schemas/query_toolkit.output.json +0 -28302
  756. package/dist/schemas/schema_query.output.json +0 -81
  757. package/dist/schemas/service_clone_operation.output.json +0 -247
  758. package/dist/schemas/strategy_review_operation.output.json +0 -532
  759. package/dist/schemas/watch_operation.output.json +0 -930
  760. package/dist/schemas/wip_file.output.json +0 -360
  761. package/dist/schemas/workflow_operation.output.json +0 -422
  762. package/dist/schemas/workspace_operation.output.json +0 -477
  763. package/dist/schemas/wowok_buildin_info.output.json +0 -2477
  764. package/dist/strategy/collectors.d.ts +0 -66
  765. package/dist/strategy/collectors.spec.d.ts +0 -1
  766. package/dist/strategy/collectors.spec.js +0 -1
  767. package/dist/strategy/index.d.ts +0 -5
  768. package/dist/strategy/metrics.d.ts +0 -20
  769. package/dist/strategy/review.d.ts +0 -48
  770. package/dist/strategy/scorecard.d.ts +0 -32
  771. package/dist/strategy/store.d.ts +0 -26
  772. package/dist/task/ProcessStore.d.ts +0 -98
  773. package/dist/task/playbook.d.ts +0 -11
  774. package/dist/task/substep-trace.d.ts +0 -91
  775. package/dist/tools/build-fingerprint.d.ts +0 -28
  776. package/dist/tools/error-catalog.d.ts +0 -17
  777. package/dist/tools/handlers/ask-user.d.ts +0 -3
  778. package/dist/tools/handlers/benchmark-migration.d.ts +0 -121
  779. package/dist/tools/handlers/bridge.d.ts +0 -8
  780. package/dist/tools/handlers/config.d.ts +0 -2
  781. package/dist/tools/handlers/dispatch-expectations.d.ts +0 -2
  782. package/dist/tools/handlers/dispatch-expectations.spec.d.ts +0 -1
  783. package/dist/tools/handlers/dispatch-expectations.spec.js +0 -1
  784. package/dist/tools/handlers/employee.d.ts +0 -8
  785. package/dist/tools/handlers/employee.spec.d.ts +0 -1
  786. package/dist/tools/handlers/employee.spec.js +0 -1
  787. package/dist/tools/handlers/entry-edge-recipe.d.ts +0 -101
  788. package/dist/tools/handlers/escrow-deficit.d.ts +0 -10
  789. package/dist/tools/handlers/evaluation.d.ts +0 -2
  790. package/dist/tools/handlers/evaluation.spec.d.ts +0 -1
  791. package/dist/tools/handlers/evaluation.spec.js +0 -1
  792. package/dist/tools/handlers/file-export.d.ts +0 -3
  793. package/dist/tools/handlers/fund-rail-recipe.d.ts +0 -10
  794. package/dist/tools/handlers/goal.d.ts +0 -4
  795. package/dist/tools/handlers/industry-pack.d.ts +0 -3
  796. package/dist/tools/handlers/intent-radar.d.ts +0 -2
  797. package/dist/tools/handlers/keeper.d.ts +0 -12
  798. package/dist/tools/handlers/local.d.ts +0 -6
  799. package/dist/tools/handlers/mark-namespace.d.ts +0 -30
  800. package/dist/tools/handlers/messenger.d.ts +0 -24
  801. package/dist/tools/handlers/monitor.d.ts +0 -26
  802. package/dist/tools/handlers/name-resolution.d.ts +0 -4
  803. package/dist/tools/handlers/name-resolution.spec.d.ts +0 -1
  804. package/dist/tools/handlers/name-resolution.spec.js +0 -1
  805. package/dist/tools/handlers/network.d.ts +0 -1
  806. package/dist/tools/handlers/onchain-name-registration.d.ts +0 -49
  807. package/dist/tools/handlers/onchain-name-registration.spec.d.ts +0 -1
  808. package/dist/tools/handlers/onchain-name-registration.spec.js +0 -1
  809. package/dist/tools/handlers/onchain.d.ts +0 -132
  810. package/dist/tools/handlers/permission.d.ts +0 -2
  811. package/dist/tools/handlers/persona.d.ts +0 -4
  812. package/dist/tools/handlers/publish-binding-echo.d.ts +0 -22
  813. package/dist/tools/handlers/review-chain.d.ts +0 -19
  814. package/dist/tools/handlers/schema-query.d.ts +0 -2
  815. package/dist/tools/handlers/service-clone.d.ts +0 -20
  816. package/dist/tools/handlers/stale-build-check.d.ts +0 -9
  817. package/dist/tools/handlers/strategy-review.d.ts +0 -2
  818. package/dist/tools/handlers/submission-assembly.d.ts +0 -55
  819. package/dist/tools/handlers/watch.d.ts +0 -2
  820. package/dist/tools/handlers/winner-derivation.d.ts +0 -20
  821. package/dist/tools/handlers/wip-upload.d.ts +0 -22
  822. package/dist/tools/handlers/wip.d.ts +0 -2
  823. package/dist/tools/handlers/workflow.d.ts +0 -2
  824. package/dist/tools/handlers/workspace.d.ts +0 -4
  825. package/dist/tools/move-fn-index.gen.d.ts +0 -3
  826. package/dist/tools/publish-gate-state.d.ts +0 -5
  827. package/dist/tools/registry/agent.d.ts +0 -2
  828. package/dist/tools/registry/bridge.d.ts +0 -2
  829. package/dist/tools/registry/business.d.ts +0 -2
  830. package/dist/tools/registry/config.d.ts +0 -2
  831. package/dist/tools/registry/evaluation.d.ts +0 -2
  832. package/dist/tools/registry/files.d.ts +0 -2
  833. package/dist/tools/registry/identity.d.ts +0 -2
  834. package/dist/tools/registry/interaction.d.ts +0 -2
  835. package/dist/tools/registry/local.d.ts +0 -2
  836. package/dist/tools/registry/messenger.d.ts +0 -2
  837. package/dist/tools/registry/monitor.d.ts +0 -2
  838. package/dist/tools/registry/onchain.d.ts +0 -2
  839. package/dist/tools/registry/query.d.ts +0 -2
  840. package/dist/tools/retry.d.ts +0 -8
  841. package/dist/tools/rules-hook.d.ts +0 -5
  842. package/dist/tools/runtime-health.d.ts +0 -10
  843. package/dist/tools/sanitize-description-roundtrip.spec.d.ts +0 -1
  844. package/dist/tools/sanitize-description-roundtrip.spec.js +0 -1
  845. package/dist/tools/sanitize-output.d.ts +0 -4
  846. package/dist/tools/sanitize-output.spec.d.ts +0 -1
  847. package/dist/tools/sanitize-output.spec.js +0 -1
  848. package/dist/tools/shared.d.ts +0 -20
  849. package/dist/tools/transport-integrity.d.ts +0 -7
  850. package/dist/tools/upgrade-check.d.ts +0 -75
  851. package/dist/tools/wip-deploy-assist.d.ts +0 -34
  852. package/dist/tools/wip-verify-ledger.d.ts +0 -16
  853. package/dist/tools/wrap.d.ts +0 -45
@@ -1,3932 +1 @@
1
- {
2
- "$schema": "http://json-schema.org/draft-07/schema#",
3
- "$id": "https://wowok.net/schemas/evaluation_operation.json",
4
- "title": "Evaluation - Pluggable Business Intelligence",
5
- "description": "Run pluggable business evaluations (data sources + rules + user injection). Actions: arb_game (Arb 7-state best-move), node_game (Progress node best-move), capability_gap (demand-vs-service capability gaps), compose_service (combine services to cover a demand), demand_match (rank services for a demand), service_match (rank demands for a service). Read-only — returns ranked recommendations / scores with reasoning.",
6
- "oneOf": [
7
- {
8
- "type": "object",
9
- "properties": {
10
- "action": {
11
- "type": "string",
12
- "const": "arb_game"
13
- },
14
- "status": {
15
- "type": "string",
16
- "enum": [
17
- "Principal_confirming",
18
- "Arbitrator_confirming",
19
- "Voting",
20
- "Arbitrated",
21
- "Objectionable",
22
- "Finished",
23
- "Withdrawn"
24
- ]
25
- },
26
- "perspective": {
27
- "type": "string",
28
- "enum": [
29
- "customer",
30
- "merchant",
31
- "arbitrator"
32
- ]
33
- },
34
- "appetite": {
35
- "description": "Risk appetite — adjusts risk sensitivity (conservative amplifies risk).",
36
- "type": "string",
37
- "enum": [
38
- "conservative",
39
- "balanced",
40
- "aggressive"
41
- ]
42
- },
43
- "account": {
44
- "description": "Account address; its persona's risk_appetite is used as the default appetite.",
45
- "type": "string"
46
- },
47
- "requirements": {
48
- "description": "Persona red lines that re-anchor the role's prefer/avoid (persona drivers).",
49
- "type": "array",
50
- "items": {
51
- "type": "string"
52
- }
53
- }
54
- },
55
- "required": [
56
- "action",
57
- "status",
58
- "perspective"
59
- ],
60
- "additionalProperties": false
61
- },
62
- {
63
- "type": "object",
64
- "properties": {
65
- "action": {
66
- "type": "string",
67
- "const": "node_game"
68
- },
69
- "current_node": {
70
- "type": "string"
71
- },
72
- "perspective": {
73
- "type": "string",
74
- "enum": [
75
- "merchant",
76
- "customer",
77
- "demander",
78
- "prospect",
79
- "supplier",
80
- "collaborator",
81
- "arbitrator"
82
- ]
83
- },
84
- "appetite": {
85
- "description": "Risk appetite — adjusts risk sensitivity (conservative amplifies risk).",
86
- "type": "string",
87
- "enum": [
88
- "conservative",
89
- "balanced",
90
- "aggressive"
91
- ]
92
- },
93
- "account": {
94
- "description": "Account address; its persona's risk_appetite is used as the default appetite.",
95
- "type": "string"
96
- },
97
- "threshold": {
98
- "description": "Pair threshold — when > 1, multi-role cooperation is needed to advance.",
99
- "type": "integer",
100
- "minimum": 1,
101
- "maximum": 9007199254740991
102
- },
103
- "allocation": {
104
- "description": "Allocation waterfall — how funds split after the node advances.",
105
- "type": "object",
106
- "properties": {
107
- "recipient_slots": {
108
- "type": "integer",
109
- "minimum": 0,
110
- "maximum": 9007199254740991,
111
- "description": "Total recipient slots across allocators."
112
- },
113
- "guard_gated_slots": {
114
- "type": "integer",
115
- "minimum": 0,
116
- "maximum": 9007199254740991,
117
- "description": "Slots resolved at settlement by a Guard."
118
- },
119
- "direct_to_me_slots": {
120
- "type": "integer",
121
- "minimum": 0,
122
- "maximum": 9007199254740991,
123
- "description": "Slots paying directly to this role."
124
- },
125
- "to_payer_slots": {
126
- "type": "integer",
127
- "minimum": 0,
128
- "maximum": 9007199254740991,
129
- "description": "Slots routing back to the payer (refund-oriented)."
130
- }
131
- },
132
- "required": [
133
- "recipient_slots",
134
- "guard_gated_slots",
135
- "direct_to_me_slots",
136
- "to_payer_slots"
137
- ],
138
- "additionalProperties": false
139
- },
140
- "requirements": {
141
- "description": "Persona red lines that re-anchor the role's prefer/avoid (persona drivers).",
142
- "type": "array",
143
- "items": {
144
- "type": "string"
145
- }
146
- },
147
- "order_amount": {
148
- "description": "Escrowed order amount (smallest-unit string) — the monetary stake at this node (quantified).",
149
- "type": "string"
150
- },
151
- "compensation_fund": {
152
- "description": "Merchant compensation_fund (smallest-unit string) — the monetary risk exposure backing indemnity.",
153
- "type": "string"
154
- },
155
- "operable": {
156
- "type": "array",
157
- "items": {
158
- "type": "object",
159
- "properties": {
160
- "name": {
161
- "type": "string",
162
- "description": "Forward (operation) name."
163
- },
164
- "to_node": {
165
- "type": "string",
166
- "description": "Target node after execution."
167
- },
168
- "execution_path": {
169
- "type": "string",
170
- "enum": [
171
- "order_holder",
172
- "permission",
173
- "named_operator",
174
- "not_available"
175
- ],
176
- "description": "How the account may execute it."
177
- },
178
- "guard": {
179
- "description": "Guard address gating this forward.",
180
- "type": "string"
181
- },
182
- "consequence": {
183
- "description": "Consequence hint (completion/refund path).",
184
- "type": "string"
185
- },
186
- "weight": {
187
- "description": "Forward weight (accumulates toward the pair's threshold).",
188
- "type": "number"
189
- }
190
- },
191
- "required": [
192
- "name",
193
- "to_node",
194
- "execution_path"
195
- ],
196
- "additionalProperties": false
197
- }
198
- },
199
- "waiting_on": {
200
- "type": "array",
201
- "items": {
202
- "type": "object",
203
- "properties": {
204
- "role": {
205
- "type": "string"
206
- },
207
- "forwards": {
208
- "type": "array",
209
- "items": {
210
- "type": "string"
211
- }
212
- }
213
- },
214
- "required": [
215
- "role",
216
- "forwards"
217
- ],
218
- "additionalProperties": false
219
- }
220
- }
221
- },
222
- "required": [
223
- "action",
224
- "current_node",
225
- "perspective",
226
- "operable"
227
- ],
228
- "additionalProperties": false
229
- },
230
- {
231
- "type": "object",
232
- "properties": {
233
- "action": {
234
- "type": "string",
235
- "const": "capability_gap"
236
- },
237
- "demand": {
238
- "type": "object",
239
- "properties": {
240
- "id": {
241
- "type": "string",
242
- "description": "Service/Demand address."
243
- },
244
- "kind": {
245
- "type": "string",
246
- "enum": [
247
- "service",
248
- "demand"
249
- ],
250
- "description": "Whether this is a service or demand."
251
- },
252
- "owner": {
253
- "type": "string"
254
- },
255
- "industry": {
256
- "type": "string",
257
- "pattern": "^[a-z][a-z0-9_]*$",
258
- "description": "Industry scenario."
259
- },
260
- "industry_confidence": {
261
- "type": "number",
262
- "minimum": 0,
263
- "maximum": 1
264
- },
265
- "region": {
266
- "type": "object",
267
- "properties": {
268
- "mode": {
269
- "type": "string",
270
- "enum": [
271
- "remote",
272
- "physical"
273
- ]
274
- },
275
- "country": {
276
- "type": "string"
277
- },
278
- "province": {
279
- "type": "string"
280
- },
281
- "city": {
282
- "type": "string"
283
- },
284
- "raw": {
285
- "type": "string",
286
- "description": "Original location string (for traceability)."
287
- }
288
- },
289
- "required": [
290
- "mode",
291
- "raw"
292
- ],
293
- "additionalProperties": false
294
- },
295
- "price_min": {
296
- "description": "Smallest-unit amount (string to avoid JSON bigint loss).",
297
- "type": "string"
298
- },
299
- "price_max": {
300
- "description": "Smallest-unit amount (string to avoid JSON bigint loss).",
301
- "type": "string"
302
- },
303
- "token_type": {
304
- "type": "string"
305
- },
306
- "ticket_size": {
307
- "type": "string",
308
- "enum": [
309
- "micro",
310
- "small",
311
- "medium",
312
- "large"
313
- ]
314
- },
315
- "trust_score": {
316
- "type": "number",
317
- "minimum": 0,
318
- "maximum": 100
319
- },
320
- "reputation_like_ratio": {
321
- "type": "number",
322
- "minimum": 0,
323
- "maximum": 1
324
- },
325
- "arbitration_independent": {
326
- "type": "boolean"
327
- },
328
- "merchant_history_count": {
329
- "type": "integer",
330
- "minimum": 0,
331
- "maximum": 9007199254740991
332
- },
333
- "capabilities": {
334
- "type": "object",
335
- "properties": {
336
- "has_arbitration": {
337
- "type": "boolean"
338
- },
339
- "has_refund_path": {
340
- "type": "boolean"
341
- },
342
- "has_milestone_nodes": {
343
- "type": "boolean"
344
- },
345
- "has_compensation_fund": {
346
- "type": "boolean"
347
- },
348
- "has_wip_verification": {
349
- "type": "boolean"
350
- },
351
- "has_messenger": {
352
- "type": "boolean"
353
- },
354
- "has_buy_guard": {
355
- "type": "boolean"
356
- },
357
- "has_dynamic_pricing": {
358
- "type": "boolean"
359
- },
360
- "is_published": {
361
- "type": "boolean"
362
- },
363
- "is_paused": {
364
- "type": "boolean"
365
- }
366
- },
367
- "required": [
368
- "has_arbitration",
369
- "has_refund_path",
370
- "has_milestone_nodes",
371
- "has_compensation_fund",
372
- "has_wip_verification",
373
- "has_messenger",
374
- "has_buy_guard",
375
- "has_dynamic_pricing",
376
- "is_published",
377
- "is_paused"
378
- ],
379
- "additionalProperties": false
380
- },
381
- "tags": {
382
- "type": "array",
383
- "items": {
384
- "type": "string"
385
- }
386
- },
387
- "keywords": {
388
- "type": "array",
389
- "items": {
390
- "type": "string"
391
- }
392
- }
393
- },
394
- "required": [
395
- "id",
396
- "kind",
397
- "industry",
398
- "region",
399
- "capabilities"
400
- ],
401
- "additionalProperties": false
402
- },
403
- "service": {
404
- "type": "object",
405
- "properties": {
406
- "id": {
407
- "type": "string",
408
- "description": "Service/Demand address."
409
- },
410
- "kind": {
411
- "type": "string",
412
- "enum": [
413
- "service",
414
- "demand"
415
- ],
416
- "description": "Whether this is a service or demand."
417
- },
418
- "owner": {
419
- "type": "string"
420
- },
421
- "industry": {
422
- "type": "string",
423
- "pattern": "^[a-z][a-z0-9_]*$",
424
- "description": "Industry scenario."
425
- },
426
- "industry_confidence": {
427
- "type": "number",
428
- "minimum": 0,
429
- "maximum": 1
430
- },
431
- "region": {
432
- "type": "object",
433
- "properties": {
434
- "mode": {
435
- "type": "string",
436
- "enum": [
437
- "remote",
438
- "physical"
439
- ]
440
- },
441
- "country": {
442
- "type": "string"
443
- },
444
- "province": {
445
- "type": "string"
446
- },
447
- "city": {
448
- "type": "string"
449
- },
450
- "raw": {
451
- "type": "string",
452
- "description": "Original location string (for traceability)."
453
- }
454
- },
455
- "required": [
456
- "mode",
457
- "raw"
458
- ],
459
- "additionalProperties": false
460
- },
461
- "price_min": {
462
- "description": "Smallest-unit amount (string to avoid JSON bigint loss).",
463
- "type": "string"
464
- },
465
- "price_max": {
466
- "description": "Smallest-unit amount (string to avoid JSON bigint loss).",
467
- "type": "string"
468
- },
469
- "token_type": {
470
- "type": "string"
471
- },
472
- "ticket_size": {
473
- "type": "string",
474
- "enum": [
475
- "micro",
476
- "small",
477
- "medium",
478
- "large"
479
- ]
480
- },
481
- "trust_score": {
482
- "type": "number",
483
- "minimum": 0,
484
- "maximum": 100
485
- },
486
- "reputation_like_ratio": {
487
- "type": "number",
488
- "minimum": 0,
489
- "maximum": 1
490
- },
491
- "arbitration_independent": {
492
- "type": "boolean"
493
- },
494
- "merchant_history_count": {
495
- "type": "integer",
496
- "minimum": 0,
497
- "maximum": 9007199254740991
498
- },
499
- "capabilities": {
500
- "type": "object",
501
- "properties": {
502
- "has_arbitration": {
503
- "type": "boolean"
504
- },
505
- "has_refund_path": {
506
- "type": "boolean"
507
- },
508
- "has_milestone_nodes": {
509
- "type": "boolean"
510
- },
511
- "has_compensation_fund": {
512
- "type": "boolean"
513
- },
514
- "has_wip_verification": {
515
- "type": "boolean"
516
- },
517
- "has_messenger": {
518
- "type": "boolean"
519
- },
520
- "has_buy_guard": {
521
- "type": "boolean"
522
- },
523
- "has_dynamic_pricing": {
524
- "type": "boolean"
525
- },
526
- "is_published": {
527
- "type": "boolean"
528
- },
529
- "is_paused": {
530
- "type": "boolean"
531
- }
532
- },
533
- "required": [
534
- "has_arbitration",
535
- "has_refund_path",
536
- "has_milestone_nodes",
537
- "has_compensation_fund",
538
- "has_wip_verification",
539
- "has_messenger",
540
- "has_buy_guard",
541
- "has_dynamic_pricing",
542
- "is_published",
543
- "is_paused"
544
- ],
545
- "additionalProperties": false
546
- },
547
- "tags": {
548
- "type": "array",
549
- "items": {
550
- "type": "string"
551
- }
552
- },
553
- "keywords": {
554
- "type": "array",
555
- "items": {
556
- "type": "string"
557
- }
558
- }
559
- },
560
- "required": [
561
- "id",
562
- "kind",
563
- "industry",
564
- "region",
565
- "capabilities"
566
- ],
567
- "additionalProperties": false
568
- }
569
- },
570
- "required": [
571
- "action",
572
- "demand",
573
- "service"
574
- ],
575
- "additionalProperties": false
576
- },
577
- {
578
- "type": "object",
579
- "properties": {
580
- "action": {
581
- "type": "string",
582
- "const": "compose_service"
583
- },
584
- "demand": {
585
- "type": "object",
586
- "properties": {
587
- "id": {
588
- "type": "string",
589
- "description": "Service/Demand address."
590
- },
591
- "kind": {
592
- "type": "string",
593
- "enum": [
594
- "service",
595
- "demand"
596
- ],
597
- "description": "Whether this is a service or demand."
598
- },
599
- "owner": {
600
- "type": "string"
601
- },
602
- "industry": {
603
- "type": "string",
604
- "pattern": "^[a-z][a-z0-9_]*$",
605
- "description": "Industry scenario."
606
- },
607
- "industry_confidence": {
608
- "type": "number",
609
- "minimum": 0,
610
- "maximum": 1
611
- },
612
- "region": {
613
- "type": "object",
614
- "properties": {
615
- "mode": {
616
- "type": "string",
617
- "enum": [
618
- "remote",
619
- "physical"
620
- ]
621
- },
622
- "country": {
623
- "type": "string"
624
- },
625
- "province": {
626
- "type": "string"
627
- },
628
- "city": {
629
- "type": "string"
630
- },
631
- "raw": {
632
- "type": "string",
633
- "description": "Original location string (for traceability)."
634
- }
635
- },
636
- "required": [
637
- "mode",
638
- "raw"
639
- ],
640
- "additionalProperties": false
641
- },
642
- "price_min": {
643
- "description": "Smallest-unit amount (string to avoid JSON bigint loss).",
644
- "type": "string"
645
- },
646
- "price_max": {
647
- "description": "Smallest-unit amount (string to avoid JSON bigint loss).",
648
- "type": "string"
649
- },
650
- "token_type": {
651
- "type": "string"
652
- },
653
- "ticket_size": {
654
- "type": "string",
655
- "enum": [
656
- "micro",
657
- "small",
658
- "medium",
659
- "large"
660
- ]
661
- },
662
- "trust_score": {
663
- "type": "number",
664
- "minimum": 0,
665
- "maximum": 100
666
- },
667
- "reputation_like_ratio": {
668
- "type": "number",
669
- "minimum": 0,
670
- "maximum": 1
671
- },
672
- "arbitration_independent": {
673
- "type": "boolean"
674
- },
675
- "merchant_history_count": {
676
- "type": "integer",
677
- "minimum": 0,
678
- "maximum": 9007199254740991
679
- },
680
- "capabilities": {
681
- "type": "object",
682
- "properties": {
683
- "has_arbitration": {
684
- "type": "boolean"
685
- },
686
- "has_refund_path": {
687
- "type": "boolean"
688
- },
689
- "has_milestone_nodes": {
690
- "type": "boolean"
691
- },
692
- "has_compensation_fund": {
693
- "type": "boolean"
694
- },
695
- "has_wip_verification": {
696
- "type": "boolean"
697
- },
698
- "has_messenger": {
699
- "type": "boolean"
700
- },
701
- "has_buy_guard": {
702
- "type": "boolean"
703
- },
704
- "has_dynamic_pricing": {
705
- "type": "boolean"
706
- },
707
- "is_published": {
708
- "type": "boolean"
709
- },
710
- "is_paused": {
711
- "type": "boolean"
712
- }
713
- },
714
- "required": [
715
- "has_arbitration",
716
- "has_refund_path",
717
- "has_milestone_nodes",
718
- "has_compensation_fund",
719
- "has_wip_verification",
720
- "has_messenger",
721
- "has_buy_guard",
722
- "has_dynamic_pricing",
723
- "is_published",
724
- "is_paused"
725
- ],
726
- "additionalProperties": false
727
- },
728
- "tags": {
729
- "type": "array",
730
- "items": {
731
- "type": "string"
732
- }
733
- },
734
- "keywords": {
735
- "type": "array",
736
- "items": {
737
- "type": "string"
738
- }
739
- }
740
- },
741
- "required": [
742
- "id",
743
- "kind",
744
- "industry",
745
- "region",
746
- "capabilities"
747
- ],
748
- "additionalProperties": false
749
- },
750
- "services": {
751
- "type": "array",
752
- "items": {
753
- "type": "object",
754
- "properties": {
755
- "id": {
756
- "type": "string",
757
- "description": "Service/Demand address."
758
- },
759
- "kind": {
760
- "type": "string",
761
- "enum": [
762
- "service",
763
- "demand"
764
- ],
765
- "description": "Whether this is a service or demand."
766
- },
767
- "owner": {
768
- "type": "string"
769
- },
770
- "industry": {
771
- "type": "string",
772
- "pattern": "^[a-z][a-z0-9_]*$",
773
- "description": "Industry scenario."
774
- },
775
- "industry_confidence": {
776
- "type": "number",
777
- "minimum": 0,
778
- "maximum": 1
779
- },
780
- "region": {
781
- "type": "object",
782
- "properties": {
783
- "mode": {
784
- "type": "string",
785
- "enum": [
786
- "remote",
787
- "physical"
788
- ]
789
- },
790
- "country": {
791
- "type": "string"
792
- },
793
- "province": {
794
- "type": "string"
795
- },
796
- "city": {
797
- "type": "string"
798
- },
799
- "raw": {
800
- "type": "string",
801
- "description": "Original location string (for traceability)."
802
- }
803
- },
804
- "required": [
805
- "mode",
806
- "raw"
807
- ],
808
- "additionalProperties": false
809
- },
810
- "price_min": {
811
- "description": "Smallest-unit amount (string to avoid JSON bigint loss).",
812
- "type": "string"
813
- },
814
- "price_max": {
815
- "description": "Smallest-unit amount (string to avoid JSON bigint loss).",
816
- "type": "string"
817
- },
818
- "token_type": {
819
- "type": "string"
820
- },
821
- "ticket_size": {
822
- "type": "string",
823
- "enum": [
824
- "micro",
825
- "small",
826
- "medium",
827
- "large"
828
- ]
829
- },
830
- "trust_score": {
831
- "type": "number",
832
- "minimum": 0,
833
- "maximum": 100
834
- },
835
- "reputation_like_ratio": {
836
- "type": "number",
837
- "minimum": 0,
838
- "maximum": 1
839
- },
840
- "arbitration_independent": {
841
- "type": "boolean"
842
- },
843
- "merchant_history_count": {
844
- "type": "integer",
845
- "minimum": 0,
846
- "maximum": 9007199254740991
847
- },
848
- "capabilities": {
849
- "type": "object",
850
- "properties": {
851
- "has_arbitration": {
852
- "type": "boolean"
853
- },
854
- "has_refund_path": {
855
- "type": "boolean"
856
- },
857
- "has_milestone_nodes": {
858
- "type": "boolean"
859
- },
860
- "has_compensation_fund": {
861
- "type": "boolean"
862
- },
863
- "has_wip_verification": {
864
- "type": "boolean"
865
- },
866
- "has_messenger": {
867
- "type": "boolean"
868
- },
869
- "has_buy_guard": {
870
- "type": "boolean"
871
- },
872
- "has_dynamic_pricing": {
873
- "type": "boolean"
874
- },
875
- "is_published": {
876
- "type": "boolean"
877
- },
878
- "is_paused": {
879
- "type": "boolean"
880
- }
881
- },
882
- "required": [
883
- "has_arbitration",
884
- "has_refund_path",
885
- "has_milestone_nodes",
886
- "has_compensation_fund",
887
- "has_wip_verification",
888
- "has_messenger",
889
- "has_buy_guard",
890
- "has_dynamic_pricing",
891
- "is_published",
892
- "is_paused"
893
- ],
894
- "additionalProperties": false
895
- },
896
- "tags": {
897
- "type": "array",
898
- "items": {
899
- "type": "string"
900
- }
901
- },
902
- "keywords": {
903
- "type": "array",
904
- "items": {
905
- "type": "string"
906
- }
907
- }
908
- },
909
- "required": [
910
- "id",
911
- "kind",
912
- "industry",
913
- "region",
914
- "capabilities"
915
- ],
916
- "additionalProperties": false
917
- }
918
- }
919
- },
920
- "required": [
921
- "action",
922
- "demand",
923
- "services"
924
- ],
925
- "additionalProperties": false
926
- },
927
- {
928
- "type": "object",
929
- "properties": {
930
- "action": {
931
- "type": "string",
932
- "const": "compose_generation"
933
- },
934
- "intent": {
935
- "type": "string",
936
- "minLength": 1,
937
- "description": "K3-GA2 (G-A generator): the merchant's free-text business intent. Capability adoption is EVIDENCE-GATED — a module is adopted only by an intentSignals match on this text or an explicit `selections` entry; an intent that matches nothing is a blocker (COMPOSE-NO-CAPABILITY-EVIDENCE), never a silent default build."
938
- },
939
- "selections": {
940
- "description": "Merchant-confirmed capability ids (adopted regardless of signal match). List registered ids via industry_pack_operation action='capability_list'.",
941
- "type": "array",
942
- "items": {
943
- "type": "string"
944
- }
945
- },
946
- "supply_chain": {
947
- "description": "Cross-object/cross-Service procurement promises — compiled into money-gate steps on the generated plan and disclosed back under `supply_chain`.",
948
- "type": "array",
949
- "items": {
950
- "type": "object",
951
- "properties": {
952
- "sub_service": {
953
- "type": "string",
954
- "description": "The procured sub-Service: an on-chain address or a resolvable name."
955
- },
956
- "axis": {
957
- "type": "string",
958
- "enum": [
959
- "merchant_procured",
960
- "user_procured"
961
- ],
962
- "description": "Who owns the fulfilment order — decides which money-gate ties are expressible."
963
- },
964
- "service_name": {
965
- "description": "The host Service's own name (the money gate's host binding); omit = the generated plan's service step name.",
966
- "type": "string"
967
- },
968
- "done_node": {
969
- "type": "string",
970
- "description": "The node whose arrival makes the order settle-eligible (e.g. 'completed')."
971
- },
972
- "done_node_alt": {
973
- "description": "A further settle-eligible node.",
974
- "type": "string"
975
- },
976
- "done_node_alt2": {
977
- "description": "A further settle-eligible node.",
978
- "type": "string"
979
- },
980
- "form": {
981
- "description": "How the fulfilment fact reaches the host order's money gate (default 'rendezvous' — the only form that proves the pairing).",
982
- "type": "string",
983
- "enum": [
984
- "rendezvous",
985
- "submission"
986
- ]
987
- },
988
- "fact_key": {
989
- "description": "Policy key of the forward fulfilment row (default 'fulfilment').",
990
- "type": "string"
991
- },
992
- "ack_key": {
993
- "description": "Policy key of the buyer acknowledgement (default '<fact_key>_ack').",
994
- "type": "string"
995
- },
996
- "ack_window_days": {
997
- "description": "merchant_procured only: after this many days the buyer's silence counts as acknowledgement.",
998
- "type": "integer",
999
- "minimum": 1,
1000
- "maximum": 9007199254740991
1001
- },
1002
- "payout_to": {
1003
- "description": "The fulfilment party's payout address. Absent = no third-party rail.",
1004
- "type": "string"
1005
- },
1006
- "payout_rate": {
1007
- "description": "Basis points of the settlement rail paid to payout_to (default 10000).",
1008
- "type": "integer",
1009
- "minimum": 1,
1010
- "maximum": 10000
1011
- },
1012
- "repository": {
1013
- "description": "An existing rendezvous Repository name; one is created when omitted.",
1014
- "type": "string"
1015
- },
1016
- "repository_name": {
1017
- "description": "The name a CREATED rendezvous Repository takes (default '<host>_<sub>_ledger').",
1018
- "type": "string"
1019
- },
1020
- "service_step_id": {
1021
- "description": "Step id of the host Service in the plan being built (default 'service').",
1022
- "type": "string"
1023
- },
1024
- "id_prefix": {
1025
- "description": "Step-id prefix for the emitted objects (default 'sc').",
1026
- "type": "string"
1027
- }
1028
- },
1029
- "required": [
1030
- "sub_service",
1031
- "axis",
1032
- "done_node"
1033
- ],
1034
- "additionalProperties": false
1035
- }
1036
- },
1037
- "inputs": {
1038
- "description": "Compile inputs; omitted = the carrier template's own defaults. Minimal honest sellable surface for the pilot carriers: { sales: [{ price: <smallest-unit integer> }] } (+ reward_funding when the carrier pays a review reward) — a plan without a sellable SKU fails reflux audit (PLAN-SALES-01) and comes back infeasible.",
1039
- "type": "object",
1040
- "propertyNames": {
1041
- "type": "string"
1042
- },
1043
- "additionalProperties": {}
1044
- },
1045
- "name_base": {
1046
- "description": "Object name base; omit = the carrier template id ('/' -> '_').",
1047
- "type": "string"
1048
- },
1049
- "preferred_chain": {
1050
- "description": "Preferred pilot chain when the adopted set maps onto BOTH pilot chains (e.g. 'chain.data_subscription'); otherwise the first matching chain wins.",
1051
- "type": "string"
1052
- }
1053
- },
1054
- "required": [
1055
- "action",
1056
- "intent"
1057
- ],
1058
- "additionalProperties": false
1059
- },
1060
- {
1061
- "type": "object",
1062
- "properties": {
1063
- "action": {
1064
- "type": "string",
1065
- "const": "demand_match"
1066
- },
1067
- "demand_cap": {
1068
- "type": "object",
1069
- "properties": {
1070
- "id": {
1071
- "type": "string",
1072
- "description": "Service/Demand address."
1073
- },
1074
- "kind": {
1075
- "type": "string",
1076
- "enum": [
1077
- "service",
1078
- "demand"
1079
- ],
1080
- "description": "Whether this is a service or demand."
1081
- },
1082
- "owner": {
1083
- "type": "string"
1084
- },
1085
- "industry": {
1086
- "type": "string",
1087
- "pattern": "^[a-z][a-z0-9_]*$",
1088
- "description": "Industry scenario."
1089
- },
1090
- "industry_confidence": {
1091
- "type": "number",
1092
- "minimum": 0,
1093
- "maximum": 1
1094
- },
1095
- "region": {
1096
- "type": "object",
1097
- "properties": {
1098
- "mode": {
1099
- "type": "string",
1100
- "enum": [
1101
- "remote",
1102
- "physical"
1103
- ]
1104
- },
1105
- "country": {
1106
- "type": "string"
1107
- },
1108
- "province": {
1109
- "type": "string"
1110
- },
1111
- "city": {
1112
- "type": "string"
1113
- },
1114
- "raw": {
1115
- "type": "string",
1116
- "description": "Original location string (for traceability)."
1117
- }
1118
- },
1119
- "required": [
1120
- "mode",
1121
- "raw"
1122
- ],
1123
- "additionalProperties": false
1124
- },
1125
- "price_min": {
1126
- "description": "Smallest-unit amount (string to avoid JSON bigint loss).",
1127
- "type": "string"
1128
- },
1129
- "price_max": {
1130
- "description": "Smallest-unit amount (string to avoid JSON bigint loss).",
1131
- "type": "string"
1132
- },
1133
- "token_type": {
1134
- "type": "string"
1135
- },
1136
- "ticket_size": {
1137
- "type": "string",
1138
- "enum": [
1139
- "micro",
1140
- "small",
1141
- "medium",
1142
- "large"
1143
- ]
1144
- },
1145
- "trust_score": {
1146
- "type": "number",
1147
- "minimum": 0,
1148
- "maximum": 100
1149
- },
1150
- "reputation_like_ratio": {
1151
- "type": "number",
1152
- "minimum": 0,
1153
- "maximum": 1
1154
- },
1155
- "arbitration_independent": {
1156
- "type": "boolean"
1157
- },
1158
- "merchant_history_count": {
1159
- "type": "integer",
1160
- "minimum": 0,
1161
- "maximum": 9007199254740991
1162
- },
1163
- "capabilities": {
1164
- "type": "object",
1165
- "properties": {
1166
- "has_arbitration": {
1167
- "type": "boolean"
1168
- },
1169
- "has_refund_path": {
1170
- "type": "boolean"
1171
- },
1172
- "has_milestone_nodes": {
1173
- "type": "boolean"
1174
- },
1175
- "has_compensation_fund": {
1176
- "type": "boolean"
1177
- },
1178
- "has_wip_verification": {
1179
- "type": "boolean"
1180
- },
1181
- "has_messenger": {
1182
- "type": "boolean"
1183
- },
1184
- "has_buy_guard": {
1185
- "type": "boolean"
1186
- },
1187
- "has_dynamic_pricing": {
1188
- "type": "boolean"
1189
- },
1190
- "is_published": {
1191
- "type": "boolean"
1192
- },
1193
- "is_paused": {
1194
- "type": "boolean"
1195
- }
1196
- },
1197
- "required": [
1198
- "has_arbitration",
1199
- "has_refund_path",
1200
- "has_milestone_nodes",
1201
- "has_compensation_fund",
1202
- "has_wip_verification",
1203
- "has_messenger",
1204
- "has_buy_guard",
1205
- "has_dynamic_pricing",
1206
- "is_published",
1207
- "is_paused"
1208
- ],
1209
- "additionalProperties": false
1210
- },
1211
- "tags": {
1212
- "type": "array",
1213
- "items": {
1214
- "type": "string"
1215
- }
1216
- },
1217
- "keywords": {
1218
- "type": "array",
1219
- "items": {
1220
- "type": "string"
1221
- }
1222
- }
1223
- },
1224
- "required": [
1225
- "id",
1226
- "kind",
1227
- "industry",
1228
- "region",
1229
- "capabilities"
1230
- ],
1231
- "additionalProperties": false
1232
- },
1233
- "services": {
1234
- "type": "array",
1235
- "items": {
1236
- "type": "object",
1237
- "properties": {
1238
- "object": {
1239
- "type": "string",
1240
- "description": "Service object address."
1241
- },
1242
- "description": {
1243
- "type": "string"
1244
- },
1245
- "location": {
1246
- "type": "string"
1247
- },
1248
- "sales": {
1249
- "type": "array",
1250
- "items": {
1251
- "type": "object",
1252
- "properties": {
1253
- "name": {
1254
- "type": "string"
1255
- },
1256
- "price": {
1257
- "type": "string",
1258
- "description": "Smallest-unit amount (string)."
1259
- },
1260
- "wip_hash": {
1261
- "type": "string"
1262
- }
1263
- },
1264
- "required": [
1265
- "price"
1266
- ],
1267
- "additionalProperties": false
1268
- }
1269
- },
1270
- "arbitrations": {
1271
- "type": "array",
1272
- "items": {
1273
- "type": "string"
1274
- }
1275
- },
1276
- "compensation_fund": {
1277
- "description": "Smallest-unit amount (string).",
1278
- "type": "string"
1279
- },
1280
- "buy_guard": {
1281
- "anyOf": [
1282
- {
1283
- "type": "string"
1284
- },
1285
- {
1286
- "type": "null"
1287
- }
1288
- ]
1289
- },
1290
- "machine": {
1291
- "anyOf": [
1292
- {
1293
- "type": "string"
1294
- },
1295
- {
1296
- "type": "null"
1297
- }
1298
- ]
1299
- },
1300
- "um": {
1301
- "anyOf": [
1302
- {
1303
- "type": "string"
1304
- },
1305
- {
1306
- "type": "null"
1307
- }
1308
- ]
1309
- },
1310
- "bPublished": {
1311
- "type": "boolean"
1312
- },
1313
- "bPaused": {
1314
- "type": "boolean"
1315
- },
1316
- "owner": {
1317
- "type": "string"
1318
- },
1319
- "order_allocators": {},
1320
- "buyer_feedback": {
1321
- "type": "object",
1322
- "properties": {
1323
- "total": {
1324
- "type": "integer",
1325
- "minimum": 0,
1326
- "maximum": 9007199254740991
1327
- },
1328
- "likes": {
1329
- "type": "integer",
1330
- "minimum": 0,
1331
- "maximum": 9007199254740991
1332
- },
1333
- "completed_orders": {
1334
- "type": "integer",
1335
- "minimum": 0,
1336
- "maximum": 9007199254740991
1337
- }
1338
- },
1339
- "required": [
1340
- "total",
1341
- "likes"
1342
- ],
1343
- "additionalProperties": false
1344
- },
1345
- "rewards": {
1346
- "type": "array",
1347
- "items": {
1348
- "type": "object",
1349
- "properties": {
1350
- "object": {
1351
- "type": "string",
1352
- "description": "Reward object address."
1353
- },
1354
- "balance": {
1355
- "description": "Pool balance, smallest-unit string (Balance<T> held on-chain).",
1356
- "type": "string"
1357
- },
1358
- "amount_mode": {
1359
- "description": "fixed = amounts self-computable from the object; submission_computed = amounts resolve from the buyer's passport submission at payout time (not clamped on-chain).",
1360
- "type": "string",
1361
- "enum": [
1362
- "fixed",
1363
- "submission_computed"
1364
- ]
1365
- },
1366
- "expiration_ms": {
1367
- "description": "Claim-window bound (guard expiration, ms-epoch string); null = no expiry read.",
1368
- "anyOf": [
1369
- {
1370
- "type": "string"
1371
- },
1372
- {
1373
- "type": "null"
1374
- }
1375
- ]
1376
- }
1377
- },
1378
- "required": [
1379
- "object"
1380
- ],
1381
- "additionalProperties": false
1382
- }
1383
- }
1384
- },
1385
- "required": [
1386
- "object",
1387
- "description",
1388
- "location"
1389
- ],
1390
- "additionalProperties": false
1391
- }
1392
- },
1393
- "demand_object": {
1394
- "description": "F-RQ-06 (prescription ⑫): YOUR on-chain Demand object ID (or mark name). When supplied, the handler reads the demand LIVE (presenters_count) at match time and derives `next` from real state — a published demand never gets demand.publish advice again; without it, `next` stays the static publish template with a verify-or-supply precondition.",
1395
- "type": "string"
1396
- },
1397
- "presenter_history": {
1398
- "type": "array",
1399
- "items": {
1400
- "type": "object",
1401
- "properties": {
1402
- "demand_id": {
1403
- "description": "Demand object that received the presentation.",
1404
- "type": "string"
1405
- },
1406
- "presenter": {
1407
- "description": "F-RQ-10: the presenter (service object address) this record is about — records carrying it become that service's counterparty trust evidence (the on-chain writer is the demand OWNER, so the signal cannot be self-authored by the merchant); omit for legacy global-only acceptance scoring.",
1408
- "type": "string"
1409
- },
1410
- "presenter_service": {
1411
- "description": "tv8 F-28: the SERVICE object address the record is about (the value side of the on-chain DemandPresenter entry — the table key is the presenter ACCOUNT). Dual-domain matching accepts either this or `presenter`; chain-faithful readers fill BOTH.",
1412
- "type": "string"
1413
- },
1414
- "acceptance_score": {
1415
- "anyOf": [
1416
- {
1417
- "type": "number"
1418
- },
1419
- {
1420
- "type": "null"
1421
- }
1422
- ],
1423
- "description": "Demand owner's acceptance score (u8 on-chain, 0-100 scale). null = not yet rated."
1424
- },
1425
- "feedback_time": {
1426
- "description": "Feedback timestamp (ms or s, informational only).",
1427
- "type": "number"
1428
- }
1429
- },
1430
- "required": [
1431
- "acceptance_score"
1432
- ],
1433
- "additionalProperties": false
1434
- },
1435
- "description": "P2-2: presenter acceptance history (demand-side acceptance_score backflow) for the SINGLE party being evaluated (e.g. the merchant behind the candidate service set, or the demand owner being matched). Collect via onchain_table_item_demand_presenter across that party's Demand presenter tables. When the candidate set spans multiple unrelated parties, evaluate per-party or omit — the acceptance rule scores neutral without history."
1436
- },
1437
- "injection": {
1438
- "type": "object",
1439
- "properties": {
1440
- "intent": {
1441
- "description": "Free-text intent.",
1442
- "type": "string"
1443
- },
1444
- "preferences": {
1445
- "type": "object",
1446
- "propertyNames": {
1447
- "type": "string"
1448
- },
1449
- "additionalProperties": {}
1450
- },
1451
- "requirements": {
1452
- "description": "Hard red lines (block when violated).",
1453
- "type": "array",
1454
- "items": {
1455
- "type": "object",
1456
- "properties": {
1457
- "rule_id": {
1458
- "type": "string"
1459
- },
1460
- "condition": {
1461
- "type": "string",
1462
- "enum": [
1463
- "require",
1464
- "forbid"
1465
- ]
1466
- },
1467
- "note": {
1468
- "type": "string"
1469
- }
1470
- },
1471
- "required": [
1472
- "rule_id",
1473
- "condition"
1474
- ],
1475
- "additionalProperties": false
1476
- }
1477
- },
1478
- "overrides": {
1479
- "description": "Enable/disable/reweight rules and data sources.",
1480
- "type": "object",
1481
- "properties": {
1482
- "rules": {
1483
- "type": "object",
1484
- "propertyNames": {
1485
- "type": "string"
1486
- },
1487
- "additionalProperties": {
1488
- "type": "object",
1489
- "properties": {
1490
- "enabled": {
1491
- "type": "boolean"
1492
- },
1493
- "weight": {
1494
- "type": "number"
1495
- }
1496
- },
1497
- "additionalProperties": false
1498
- }
1499
- },
1500
- "data_sources": {
1501
- "type": "object",
1502
- "propertyNames": {
1503
- "type": "string"
1504
- },
1505
- "additionalProperties": {
1506
- "type": "object",
1507
- "properties": {
1508
- "enabled": {
1509
- "type": "boolean"
1510
- }
1511
- },
1512
- "additionalProperties": false
1513
- }
1514
- }
1515
- },
1516
- "additionalProperties": false
1517
- }
1518
- },
1519
- "additionalProperties": false
1520
- },
1521
- "account": {
1522
- "description": "Account address; its persona is auto-applied as the base injection (explicit injection overrides).",
1523
- "type": "string"
1524
- }
1525
- },
1526
- "required": [
1527
- "action",
1528
- "demand_cap",
1529
- "services"
1530
- ],
1531
- "additionalProperties": false
1532
- },
1533
- {
1534
- "type": "object",
1535
- "properties": {
1536
- "action": {
1537
- "type": "string",
1538
- "const": "service_match"
1539
- },
1540
- "service_cap": {
1541
- "type": "object",
1542
- "properties": {
1543
- "id": {
1544
- "type": "string",
1545
- "description": "Service/Demand address."
1546
- },
1547
- "kind": {
1548
- "type": "string",
1549
- "enum": [
1550
- "service",
1551
- "demand"
1552
- ],
1553
- "description": "Whether this is a service or demand."
1554
- },
1555
- "owner": {
1556
- "type": "string"
1557
- },
1558
- "industry": {
1559
- "type": "string",
1560
- "pattern": "^[a-z][a-z0-9_]*$",
1561
- "description": "Industry scenario."
1562
- },
1563
- "industry_confidence": {
1564
- "type": "number",
1565
- "minimum": 0,
1566
- "maximum": 1
1567
- },
1568
- "region": {
1569
- "type": "object",
1570
- "properties": {
1571
- "mode": {
1572
- "type": "string",
1573
- "enum": [
1574
- "remote",
1575
- "physical"
1576
- ]
1577
- },
1578
- "country": {
1579
- "type": "string"
1580
- },
1581
- "province": {
1582
- "type": "string"
1583
- },
1584
- "city": {
1585
- "type": "string"
1586
- },
1587
- "raw": {
1588
- "type": "string",
1589
- "description": "Original location string (for traceability)."
1590
- }
1591
- },
1592
- "required": [
1593
- "mode",
1594
- "raw"
1595
- ],
1596
- "additionalProperties": false
1597
- },
1598
- "price_min": {
1599
- "description": "Smallest-unit amount (string to avoid JSON bigint loss).",
1600
- "type": "string"
1601
- },
1602
- "price_max": {
1603
- "description": "Smallest-unit amount (string to avoid JSON bigint loss).",
1604
- "type": "string"
1605
- },
1606
- "token_type": {
1607
- "type": "string"
1608
- },
1609
- "ticket_size": {
1610
- "type": "string",
1611
- "enum": [
1612
- "micro",
1613
- "small",
1614
- "medium",
1615
- "large"
1616
- ]
1617
- },
1618
- "trust_score": {
1619
- "type": "number",
1620
- "minimum": 0,
1621
- "maximum": 100
1622
- },
1623
- "reputation_like_ratio": {
1624
- "type": "number",
1625
- "minimum": 0,
1626
- "maximum": 1
1627
- },
1628
- "arbitration_independent": {
1629
- "type": "boolean"
1630
- },
1631
- "merchant_history_count": {
1632
- "type": "integer",
1633
- "minimum": 0,
1634
- "maximum": 9007199254740991
1635
- },
1636
- "capabilities": {
1637
- "type": "object",
1638
- "properties": {
1639
- "has_arbitration": {
1640
- "type": "boolean"
1641
- },
1642
- "has_refund_path": {
1643
- "type": "boolean"
1644
- },
1645
- "has_milestone_nodes": {
1646
- "type": "boolean"
1647
- },
1648
- "has_compensation_fund": {
1649
- "type": "boolean"
1650
- },
1651
- "has_wip_verification": {
1652
- "type": "boolean"
1653
- },
1654
- "has_messenger": {
1655
- "type": "boolean"
1656
- },
1657
- "has_buy_guard": {
1658
- "type": "boolean"
1659
- },
1660
- "has_dynamic_pricing": {
1661
- "type": "boolean"
1662
- },
1663
- "is_published": {
1664
- "type": "boolean"
1665
- },
1666
- "is_paused": {
1667
- "type": "boolean"
1668
- }
1669
- },
1670
- "required": [
1671
- "has_arbitration",
1672
- "has_refund_path",
1673
- "has_milestone_nodes",
1674
- "has_compensation_fund",
1675
- "has_wip_verification",
1676
- "has_messenger",
1677
- "has_buy_guard",
1678
- "has_dynamic_pricing",
1679
- "is_published",
1680
- "is_paused"
1681
- ],
1682
- "additionalProperties": false
1683
- },
1684
- "tags": {
1685
- "type": "array",
1686
- "items": {
1687
- "type": "string"
1688
- }
1689
- },
1690
- "keywords": {
1691
- "type": "array",
1692
- "items": {
1693
- "type": "string"
1694
- }
1695
- }
1696
- },
1697
- "required": [
1698
- "id",
1699
- "kind",
1700
- "industry",
1701
- "region",
1702
- "capabilities"
1703
- ],
1704
- "additionalProperties": false
1705
- },
1706
- "demands": {
1707
- "type": "array",
1708
- "items": {
1709
- "type": "object",
1710
- "properties": {
1711
- "object": {
1712
- "type": "string",
1713
- "description": "Demand object address."
1714
- },
1715
- "description": {
1716
- "type": "string"
1717
- },
1718
- "location": {
1719
- "type": "string"
1720
- },
1721
- "rewards": {
1722
- "type": "array",
1723
- "items": {
1724
- "type": "string"
1725
- }
1726
- },
1727
- "um": {
1728
- "anyOf": [
1729
- {
1730
- "type": "string"
1731
- },
1732
- {
1733
- "type": "null"
1734
- }
1735
- ]
1736
- },
1737
- "owner": {
1738
- "type": "string"
1739
- }
1740
- },
1741
- "required": [
1742
- "object",
1743
- "description",
1744
- "location"
1745
- ],
1746
- "additionalProperties": false
1747
- }
1748
- },
1749
- "presenter_history": {
1750
- "type": "array",
1751
- "items": {
1752
- "type": "object",
1753
- "properties": {
1754
- "demand_id": {
1755
- "description": "Demand object that received the presentation.",
1756
- "type": "string"
1757
- },
1758
- "presenter": {
1759
- "description": "F-RQ-10: the presenter (service object address) this record is about — records carrying it become that service's counterparty trust evidence (the on-chain writer is the demand OWNER, so the signal cannot be self-authored by the merchant); omit for legacy global-only acceptance scoring.",
1760
- "type": "string"
1761
- },
1762
- "presenter_service": {
1763
- "description": "tv8 F-28: the SERVICE object address the record is about (the value side of the on-chain DemandPresenter entry — the table key is the presenter ACCOUNT). Dual-domain matching accepts either this or `presenter`; chain-faithful readers fill BOTH.",
1764
- "type": "string"
1765
- },
1766
- "acceptance_score": {
1767
- "anyOf": [
1768
- {
1769
- "type": "number"
1770
- },
1771
- {
1772
- "type": "null"
1773
- }
1774
- ],
1775
- "description": "Demand owner's acceptance score (u8 on-chain, 0-100 scale). null = not yet rated."
1776
- },
1777
- "feedback_time": {
1778
- "description": "Feedback timestamp (ms or s, informational only).",
1779
- "type": "number"
1780
- }
1781
- },
1782
- "required": [
1783
- "acceptance_score"
1784
- ],
1785
- "additionalProperties": false
1786
- },
1787
- "description": "P2-2: presenter acceptance history (demand-side acceptance_score backflow) for the SINGLE party being evaluated (e.g. the merchant behind the candidate service set, or the demand owner being matched). Collect via onchain_table_item_demand_presenter across that party's Demand presenter tables. When the candidate set spans multiple unrelated parties, evaluate per-party or omit — the acceptance rule scores neutral without history."
1788
- },
1789
- "injection": {
1790
- "type": "object",
1791
- "properties": {
1792
- "intent": {
1793
- "description": "Free-text intent.",
1794
- "type": "string"
1795
- },
1796
- "preferences": {
1797
- "type": "object",
1798
- "propertyNames": {
1799
- "type": "string"
1800
- },
1801
- "additionalProperties": {}
1802
- },
1803
- "requirements": {
1804
- "description": "Hard red lines (block when violated).",
1805
- "type": "array",
1806
- "items": {
1807
- "type": "object",
1808
- "properties": {
1809
- "rule_id": {
1810
- "type": "string"
1811
- },
1812
- "condition": {
1813
- "type": "string",
1814
- "enum": [
1815
- "require",
1816
- "forbid"
1817
- ]
1818
- },
1819
- "note": {
1820
- "type": "string"
1821
- }
1822
- },
1823
- "required": [
1824
- "rule_id",
1825
- "condition"
1826
- ],
1827
- "additionalProperties": false
1828
- }
1829
- },
1830
- "overrides": {
1831
- "description": "Enable/disable/reweight rules and data sources.",
1832
- "type": "object",
1833
- "properties": {
1834
- "rules": {
1835
- "type": "object",
1836
- "propertyNames": {
1837
- "type": "string"
1838
- },
1839
- "additionalProperties": {
1840
- "type": "object",
1841
- "properties": {
1842
- "enabled": {
1843
- "type": "boolean"
1844
- },
1845
- "weight": {
1846
- "type": "number"
1847
- }
1848
- },
1849
- "additionalProperties": false
1850
- }
1851
- },
1852
- "data_sources": {
1853
- "type": "object",
1854
- "propertyNames": {
1855
- "type": "string"
1856
- },
1857
- "additionalProperties": {
1858
- "type": "object",
1859
- "properties": {
1860
- "enabled": {
1861
- "type": "boolean"
1862
- }
1863
- },
1864
- "additionalProperties": false
1865
- }
1866
- }
1867
- },
1868
- "additionalProperties": false
1869
- }
1870
- },
1871
- "additionalProperties": false
1872
- },
1873
- "account": {
1874
- "description": "Account address; its persona is auto-applied as the base injection.",
1875
- "type": "string"
1876
- }
1877
- },
1878
- "required": [
1879
- "action",
1880
- "service_cap",
1881
- "demands"
1882
- ],
1883
- "additionalProperties": false
1884
- },
1885
- {
1886
- "type": "object",
1887
- "properties": {
1888
- "action": {
1889
- "type": "string",
1890
- "const": "path_reasoning"
1891
- },
1892
- "current_node": {
1893
- "type": "string"
1894
- },
1895
- "perspective": {
1896
- "type": "string",
1897
- "enum": [
1898
- "merchant",
1899
- "customer",
1900
- "demander",
1901
- "prospect",
1902
- "supplier",
1903
- "collaborator",
1904
- "arbitrator"
1905
- ]
1906
- },
1907
- "machine_nodes": {
1908
- "type": "array",
1909
- "items": {
1910
- "type": "object",
1911
- "properties": {
1912
- "name": {
1913
- "type": "string",
1914
- "description": "Node name."
1915
- },
1916
- "pairs": {
1917
- "type": "array",
1918
- "items": {
1919
- "type": "object",
1920
- "properties": {
1921
- "prev_node": {
1922
- "type": "string"
1923
- },
1924
- "threshold": {
1925
- "type": "number"
1926
- },
1927
- "forwards": {
1928
- "type": "array",
1929
- "items": {
1930
- "type": "object",
1931
- "properties": {
1932
- "name": {
1933
- "type": "string",
1934
- "description": "Forward (operation) name."
1935
- },
1936
- "permissionIndex": {
1937
- "anyOf": [
1938
- {
1939
- "type": "number"
1940
- },
1941
- {
1942
- "type": "null"
1943
- }
1944
- ]
1945
- },
1946
- "namedOperator": {
1947
- "anyOf": [
1948
- {
1949
- "type": "string"
1950
- },
1951
- {
1952
- "type": "null"
1953
- }
1954
- ]
1955
- },
1956
- "guard": {
1957
- "anyOf": [
1958
- {
1959
- "type": "string"
1960
- },
1961
- {
1962
- "type": "null"
1963
- }
1964
- ]
1965
- },
1966
- "weight": {
1967
- "anyOf": [
1968
- {
1969
- "type": "number"
1970
- },
1971
- {
1972
- "type": "null"
1973
- }
1974
- ]
1975
- }
1976
- },
1977
- "required": [
1978
- "name"
1979
- ],
1980
- "additionalProperties": false
1981
- }
1982
- }
1983
- },
1984
- "required": [
1985
- "prev_node"
1986
- ],
1987
- "additionalProperties": false
1988
- }
1989
- }
1990
- },
1991
- "required": [
1992
- "name"
1993
- ],
1994
- "additionalProperties": false
1995
- }
1996
- },
1997
- "node_annotations": {
1998
- "type": "object",
1999
- "properties": {
2000
- "completed": {
2001
- "type": "array",
2002
- "items": {
2003
- "type": "string"
2004
- }
2005
- },
2006
- "refunded": {
2007
- "type": "array",
2008
- "items": {
2009
- "type": "string"
2010
- }
2011
- }
2012
- },
2013
- "additionalProperties": false
2014
- },
2015
- "appetite": {
2016
- "type": "string",
2017
- "enum": [
2018
- "conservative",
2019
- "balanced",
2020
- "aggressive"
2021
- ]
2022
- },
2023
- "account": {
2024
- "description": "Account address; its persona's risk_appetite is used as the default appetite.",
2025
- "type": "string"
2026
- },
2027
- "requirements": {
2028
- "type": "array",
2029
- "items": {
2030
- "type": "string"
2031
- }
2032
- },
2033
- "order_amount": {
2034
- "type": "string"
2035
- },
2036
- "max_depth": {
2037
- "type": "integer",
2038
- "minimum": 1,
2039
- "maximum": 9007199254740991
2040
- }
2041
- },
2042
- "required": [
2043
- "action",
2044
- "current_node",
2045
- "perspective",
2046
- "machine_nodes"
2047
- ],
2048
- "additionalProperties": false
2049
- },
2050
- {
2051
- "type": "object",
2052
- "properties": {
2053
- "action": {
2054
- "type": "string",
2055
- "const": "evidence_review"
2056
- },
2057
- "kind": {
2058
- "description": "Off-chain evidence kind entering the closure workflow (single-item mode; omit when `items` is given).",
2059
- "type": "string",
2060
- "enum": [
2061
- "signature_photo",
2062
- "voice_recording",
2063
- "delivery_proof",
2064
- "weather_data"
2065
- ]
2066
- },
2067
- "hash_committed": {
2068
- "description": "Whether the evidence hash is committed on-chain (authenticity anchor; single-item mode).",
2069
- "type": "boolean"
2070
- },
2071
- "digital_check_passed": {
2072
- "description": "OCR / machine check passed (e.g. signature recognized, waybill matched).",
2073
- "type": "boolean"
2074
- },
2075
- "contradiction": {
2076
- "description": "A contradicting signal detected (e.g. waybill number mismatch).",
2077
- "type": "boolean"
2078
- },
2079
- "items": {
2080
- "description": "P2-3 list mode: review a COLLECTION of evidence items together → structured usable/manual/rejected list plus `proof_candidates` (auto-passed items with their Proof refs) the dispute initiator may reference in the dispute description (human confirms the final selection — never auto-attached). When omitted, single-item mode requires `kind` + `hash_committed`.",
2081
- "minItems": 1,
2082
- "type": "array",
2083
- "items": {
2084
- "type": "object",
2085
- "properties": {
2086
- "id": {
2087
- "type": "string",
2088
- "minLength": 1,
2089
- "description": "Caller-side identifier (file name, Proof object id, repository ref...)."
2090
- },
2091
- "kind": {
2092
- "type": "string",
2093
- "enum": [
2094
- "signature_photo",
2095
- "voice_recording",
2096
- "delivery_proof",
2097
- "weather_data"
2098
- ]
2099
- },
2100
- "hash_committed": {
2101
- "type": "boolean"
2102
- },
2103
- "digital_check_passed": {
2104
- "type": "boolean"
2105
- },
2106
- "contradiction": {
2107
- "type": "boolean"
2108
- },
2109
- "proof_ref": {
2110
- "description": "On-chain Proof object reference (WTS proof) when already anchored.",
2111
- "type": "string"
2112
- }
2113
- },
2114
- "required": [
2115
- "id",
2116
- "kind",
2117
- "hash_committed"
2118
- ],
2119
- "additionalProperties": false
2120
- }
2121
- }
2122
- },
2123
- "required": [
2124
- "action"
2125
- ],
2126
- "additionalProperties": false
2127
- },
2128
- {
2129
- "type": "object",
2130
- "properties": {
2131
- "action": {
2132
- "type": "string",
2133
- "const": "discover_services"
2134
- },
2135
- "location": {
2136
- "type": "string",
2137
- "description": "Demand-side location (city/region raw text, or 'remote')."
2138
- },
2139
- "region": {
2140
- "description": "AI-enriched geographic slots for `location` (from public web data). Enrichment makes same-province neighboring cities detectable; without it only exact/contains/remote relations are deterministically reachable.",
2141
- "type": "object",
2142
- "properties": {
2143
- "country": {
2144
- "type": "string"
2145
- },
2146
- "province": {
2147
- "description": "Province/state — enables neighboring-city (overlap) matching under 'near'.",
2148
- "type": "string"
2149
- },
2150
- "city": {
2151
- "type": "string"
2152
- }
2153
- },
2154
- "additionalProperties": false
2155
- },
2156
- "sensitivity": {
2157
- "description": "Location gate hardness: strict=100% city match (on-site consumption); near=accept neighboring cities; logistics=region representation, soft signal. Omitted → inferred from description.",
2158
- "type": "string",
2159
- "enum": [
2160
- "strict",
2161
- "near",
2162
- "logistics"
2163
- ]
2164
- },
2165
- "description": {
2166
- "description": "Demand description — used to infer sensitivity when omitted (hotel→strict, parcel→logistics).",
2167
- "type": "string"
2168
- },
2169
- "coin_type": {
2170
- "description": "Exact coin instantiation, e.g. '0x2::wow::WOW'; omit = ALL Service<T> generics.",
2171
- "type": "string"
2172
- },
2173
- "name_contains": {
2174
- "description": "Case-insensitive substring filter on service name.",
2175
- "type": "string"
2176
- },
2177
- "max_objects": {
2178
- "description": "Enumeration cap before filtering (default 200).",
2179
- "type": "integer",
2180
- "minimum": 1,
2181
- "maximum": 500
2182
- },
2183
- "context_network": {
2184
- "description": "Network (defaults to the user's current network when omitted).",
2185
- "type": "string"
2186
- },
2187
- "no_cache": {
2188
- "description": "Force fresh on-chain enumeration (bypass the configured local list cache).",
2189
- "type": "boolean"
2190
- }
2191
- },
2192
- "required": [
2193
- "action",
2194
- "location"
2195
- ],
2196
- "additionalProperties": false
2197
- },
2198
- {
2199
- "type": "object",
2200
- "properties": {
2201
- "action": {
2202
- "type": "string",
2203
- "const": "discover_demands"
2204
- },
2205
- "location": {
2206
- "description": "Client-side substring filter on demand.location (omit = all demands).",
2207
- "type": "string"
2208
- },
2209
- "match_policy": {
2210
- "description": "R4 private policy (supply_to_demand direction, e.g. preset 'supplier_hunting'), resolved/applied entirely on-device. discover_demands applies gates+excludes only (no private scoring); weights/rerank are reported as not applicable in policy_effect. Omitted: resolved from the stored chain — account persona match config → match-policy.json (general file) → system persona → engine defaults; policy_effect.policy_source reports the winning layer.",
2211
- "anyOf": [
2212
- {
2213
- "type": "string"
2214
- },
2215
- {
2216
- "type": "object",
2217
- "properties": {
2218
- "policy_id": {
2219
- "type": "string",
2220
- "minLength": 1
2221
- },
2222
- "version": {
2223
- "type": "integer",
2224
- "minimum": 0,
2225
- "maximum": 9007199254740991
2226
- },
2227
- "direction": {
2228
- "description": "Default demand_to_supply. A demand_to_supply policy drives match_discover; a supply_to_demand policy drives demand_present / discover_demands (and is rejected by match_discover).",
2229
- "type": "string",
2230
- "enum": [
2231
- "demand_to_supply",
2232
- "supply_to_demand"
2233
- ]
2234
- },
2235
- "unknown_policy": {
2236
- "description": "What a gate with missing input does (K5-05 axiom 3). Default neutral_score (= pass, reported).",
2237
- "type": "string",
2238
- "enum": [
2239
- "pass",
2240
- "drop",
2241
- "neutral_score"
2242
- ]
2243
- },
2244
- "gates": {
2245
- "type": "array",
2246
- "items": {
2247
- "type": "object",
2248
- "properties": {
2249
- "dim": {
2250
- "type": "string",
2251
- "description": "Gate dimension. Enforced client-side: live, price, arb, compensation, machine, messenger, buy_guard, wip_verify, text, owner. Others are reported as ignored (not enforceable on-device yet)."
2252
- },
2253
- "op": {
2254
- "description": "Comparison operator (eq/lte/gte/in/not_in/must_contain/must_not_contain) — validated per dim at apply time.",
2255
- "type": "string"
2256
- },
2257
- "value": {
2258
- "anyOf": [
2259
- {
2260
- "type": "boolean"
2261
- },
2262
- {
2263
- "type": "number"
2264
- },
2265
- {
2266
- "type": "string"
2267
- },
2268
- {
2269
- "type": "array",
2270
- "items": {
2271
- "type": "string"
2272
- }
2273
- }
2274
- ]
2275
- },
2276
- "params": {
2277
- "description": "Extra params; `from_budget: true` on a price gate uses the request budget as the threshold.",
2278
- "type": "object",
2279
- "propertyNames": {
2280
- "type": "string"
2281
- },
2282
- "additionalProperties": {}
2283
- }
2284
- },
2285
- "required": [
2286
- "dim"
2287
- ],
2288
- "additionalProperties": false
2289
- }
2290
- },
2291
- "excludes": {
2292
- "type": "array",
2293
- "items": {
2294
- "type": "object",
2295
- "properties": {
2296
- "dim": {
2297
- "type": "string",
2298
- "description": "Exclude dimension. Enforced client-side: blacklist (objects/owners lists). anti_cheat/structure dims are reported as ignored (no client-side facet)."
2299
- },
2300
- "objects": {
2301
- "type": "array",
2302
- "items": {
2303
- "type": "string"
2304
- }
2305
- },
2306
- "owners": {
2307
- "type": "array",
2308
- "items": {
2309
- "type": "string"
2310
- }
2311
- },
2312
- "flags": {
2313
- "type": "array",
2314
- "items": {
2315
- "type": "string"
2316
- }
2317
- },
2318
- "source": {
2319
- "type": "array",
2320
- "items": {
2321
- "type": "string"
2322
- }
2323
- },
2324
- "rule": {
2325
- "type": "string"
2326
- }
2327
- },
2328
- "required": [
2329
- "dim"
2330
- ],
2331
- "additionalProperties": false
2332
- }
2333
- },
2334
- "weights": {
2335
- "description": "demand_match rule id → weight (region/industry/price/trust/capabilities/tags/acceptance). Unregistered ids are reported as ignored.",
2336
- "type": "object",
2337
- "propertyNames": {
2338
- "type": "string"
2339
- },
2340
- "additionalProperties": {
2341
- "type": "number",
2342
- "minimum": 0
2343
- }
2344
- },
2345
- "rerank": {
2346
- "type": "object",
2347
- "properties": {
2348
- "diversity": {
2349
- "description": "Greedy per-group cap over the score-ordered list. `permission` is not enforceable client-side yet (reported ignored); use `owner`.",
2350
- "type": "object",
2351
- "properties": {
2352
- "by": {
2353
- "type": "string",
2354
- "enum": [
2355
- "owner",
2356
- "permission"
2357
- ]
2358
- },
2359
- "max_per_group": {
2360
- "type": "integer",
2361
- "minimum": 1,
2362
- "maximum": 9007199254740991
2363
- }
2364
- },
2365
- "required": [
2366
- "by",
2367
- "max_per_group"
2368
- ],
2369
- "additionalProperties": false
2370
- },
2371
- "explore": {},
2372
- "llm": {},
2373
- "fairness": {}
2374
- },
2375
- "additionalProperties": false
2376
- },
2377
- "recall": {
2378
- "description": "Server/recall directives — accepted for portability, not enforceable from the client (reported ignored)."
2379
- },
2380
- "verify": {
2381
- "description": "Facet verification directives — accepted for portability, not enforceable client-side (reported ignored)."
2382
- },
2383
- "output": {
2384
- "type": "object",
2385
- "properties": {
2386
- "top_n": {
2387
- "type": "integer",
2388
- "minimum": 1,
2389
- "maximum": 500
2390
- },
2391
- "explain": {
2392
- "type": "boolean"
2393
- },
2394
- "evidence_chain": {},
2395
- "coverage_report": {}
2396
- },
2397
- "additionalProperties": false
2398
- }
2399
- },
2400
- "required": [
2401
- "policy_id"
2402
- ],
2403
- "additionalProperties": false
2404
- }
2405
- ]
2406
- },
2407
- "max_objects": {
2408
- "description": "Enumeration cap before filtering (default 200).",
2409
- "type": "integer",
2410
- "minimum": 1,
2411
- "maximum": 500
2412
- },
2413
- "context_network": {
2414
- "description": "Network (defaults to the user's current network when omitted).",
2415
- "type": "string"
2416
- },
2417
- "no_cache": {
2418
- "description": "Force fresh on-chain enumeration (bypass the configured local list cache).",
2419
- "type": "boolean"
2420
- },
2421
- "account": {
2422
- "description": "The supplier's account address; its persona's supply_to_demand match config is auto-resolved when no match_policy is passed.",
2423
- "type": "string"
2424
- }
2425
- },
2426
- "required": [
2427
- "action"
2428
- ],
2429
- "additionalProperties": false
2430
- },
2431
- {
2432
- "type": "object",
2433
- "properties": {
2434
- "action": {
2435
- "type": "string",
2436
- "const": "demand_present"
2437
- },
2438
- "service_cap": {
2439
- "type": "object",
2440
- "properties": {
2441
- "id": {
2442
- "type": "string",
2443
- "description": "Service/Demand address."
2444
- },
2445
- "kind": {
2446
- "type": "string",
2447
- "enum": [
2448
- "service",
2449
- "demand"
2450
- ],
2451
- "description": "Whether this is a service or demand."
2452
- },
2453
- "owner": {
2454
- "type": "string"
2455
- },
2456
- "industry": {
2457
- "type": "string",
2458
- "pattern": "^[a-z][a-z0-9_]*$",
2459
- "description": "Industry scenario."
2460
- },
2461
- "industry_confidence": {
2462
- "type": "number",
2463
- "minimum": 0,
2464
- "maximum": 1
2465
- },
2466
- "region": {
2467
- "type": "object",
2468
- "properties": {
2469
- "mode": {
2470
- "type": "string",
2471
- "enum": [
2472
- "remote",
2473
- "physical"
2474
- ]
2475
- },
2476
- "country": {
2477
- "type": "string"
2478
- },
2479
- "province": {
2480
- "type": "string"
2481
- },
2482
- "city": {
2483
- "type": "string"
2484
- },
2485
- "raw": {
2486
- "type": "string",
2487
- "description": "Original location string (for traceability)."
2488
- }
2489
- },
2490
- "required": [
2491
- "mode",
2492
- "raw"
2493
- ],
2494
- "additionalProperties": false
2495
- },
2496
- "price_min": {
2497
- "description": "Smallest-unit amount (string to avoid JSON bigint loss).",
2498
- "type": "string"
2499
- },
2500
- "price_max": {
2501
- "description": "Smallest-unit amount (string to avoid JSON bigint loss).",
2502
- "type": "string"
2503
- },
2504
- "token_type": {
2505
- "type": "string"
2506
- },
2507
- "ticket_size": {
2508
- "type": "string",
2509
- "enum": [
2510
- "micro",
2511
- "small",
2512
- "medium",
2513
- "large"
2514
- ]
2515
- },
2516
- "trust_score": {
2517
- "type": "number",
2518
- "minimum": 0,
2519
- "maximum": 100
2520
- },
2521
- "reputation_like_ratio": {
2522
- "type": "number",
2523
- "minimum": 0,
2524
- "maximum": 1
2525
- },
2526
- "arbitration_independent": {
2527
- "type": "boolean"
2528
- },
2529
- "merchant_history_count": {
2530
- "type": "integer",
2531
- "minimum": 0,
2532
- "maximum": 9007199254740991
2533
- },
2534
- "capabilities": {
2535
- "type": "object",
2536
- "properties": {
2537
- "has_arbitration": {
2538
- "type": "boolean"
2539
- },
2540
- "has_refund_path": {
2541
- "type": "boolean"
2542
- },
2543
- "has_milestone_nodes": {
2544
- "type": "boolean"
2545
- },
2546
- "has_compensation_fund": {
2547
- "type": "boolean"
2548
- },
2549
- "has_wip_verification": {
2550
- "type": "boolean"
2551
- },
2552
- "has_messenger": {
2553
- "type": "boolean"
2554
- },
2555
- "has_buy_guard": {
2556
- "type": "boolean"
2557
- },
2558
- "has_dynamic_pricing": {
2559
- "type": "boolean"
2560
- },
2561
- "is_published": {
2562
- "type": "boolean"
2563
- },
2564
- "is_paused": {
2565
- "type": "boolean"
2566
- }
2567
- },
2568
- "required": [
2569
- "has_arbitration",
2570
- "has_refund_path",
2571
- "has_milestone_nodes",
2572
- "has_compensation_fund",
2573
- "has_wip_verification",
2574
- "has_messenger",
2575
- "has_buy_guard",
2576
- "has_dynamic_pricing",
2577
- "is_published",
2578
- "is_paused"
2579
- ],
2580
- "additionalProperties": false
2581
- },
2582
- "tags": {
2583
- "type": "array",
2584
- "items": {
2585
- "type": "string"
2586
- }
2587
- },
2588
- "keywords": {
2589
- "type": "array",
2590
- "items": {
2591
- "type": "string"
2592
- }
2593
- }
2594
- },
2595
- "required": [
2596
- "id",
2597
- "kind",
2598
- "industry",
2599
- "region",
2600
- "capabilities"
2601
- ],
2602
- "additionalProperties": false
2603
- },
2604
- "location": {
2605
- "description": "Client-side substring filter on demand.location (omit = all demands).",
2606
- "type": "string"
2607
- },
2608
- "match_policy": {
2609
- "description": "R4 private ranking policy (supply_to_demand direction, e.g. preset 'supplier_hunting'), resolved/applied entirely on-device; the policy and its hash never leave this device. Omitted: resolved from the stored chain — account persona match config → match-policy.json (general file) → system persona → engine defaults; policy_effect.policy_source reports the winning layer.",
2610
- "anyOf": [
2611
- {
2612
- "type": "string"
2613
- },
2614
- {
2615
- "type": "object",
2616
- "properties": {
2617
- "policy_id": {
2618
- "type": "string",
2619
- "minLength": 1
2620
- },
2621
- "version": {
2622
- "type": "integer",
2623
- "minimum": 0,
2624
- "maximum": 9007199254740991
2625
- },
2626
- "direction": {
2627
- "description": "Default demand_to_supply. A demand_to_supply policy drives match_discover; a supply_to_demand policy drives demand_present / discover_demands (and is rejected by match_discover).",
2628
- "type": "string",
2629
- "enum": [
2630
- "demand_to_supply",
2631
- "supply_to_demand"
2632
- ]
2633
- },
2634
- "unknown_policy": {
2635
- "description": "What a gate with missing input does (K5-05 axiom 3). Default neutral_score (= pass, reported).",
2636
- "type": "string",
2637
- "enum": [
2638
- "pass",
2639
- "drop",
2640
- "neutral_score"
2641
- ]
2642
- },
2643
- "gates": {
2644
- "type": "array",
2645
- "items": {
2646
- "type": "object",
2647
- "properties": {
2648
- "dim": {
2649
- "type": "string",
2650
- "description": "Gate dimension. Enforced client-side: live, price, arb, compensation, machine, messenger, buy_guard, wip_verify, text, owner. Others are reported as ignored (not enforceable on-device yet)."
2651
- },
2652
- "op": {
2653
- "description": "Comparison operator (eq/lte/gte/in/not_in/must_contain/must_not_contain) — validated per dim at apply time.",
2654
- "type": "string"
2655
- },
2656
- "value": {
2657
- "anyOf": [
2658
- {
2659
- "type": "boolean"
2660
- },
2661
- {
2662
- "type": "number"
2663
- },
2664
- {
2665
- "type": "string"
2666
- },
2667
- {
2668
- "type": "array",
2669
- "items": {
2670
- "type": "string"
2671
- }
2672
- }
2673
- ]
2674
- },
2675
- "params": {
2676
- "description": "Extra params; `from_budget: true` on a price gate uses the request budget as the threshold.",
2677
- "type": "object",
2678
- "propertyNames": {
2679
- "type": "string"
2680
- },
2681
- "additionalProperties": {}
2682
- }
2683
- },
2684
- "required": [
2685
- "dim"
2686
- ],
2687
- "additionalProperties": false
2688
- }
2689
- },
2690
- "excludes": {
2691
- "type": "array",
2692
- "items": {
2693
- "type": "object",
2694
- "properties": {
2695
- "dim": {
2696
- "type": "string",
2697
- "description": "Exclude dimension. Enforced client-side: blacklist (objects/owners lists). anti_cheat/structure dims are reported as ignored (no client-side facet)."
2698
- },
2699
- "objects": {
2700
- "type": "array",
2701
- "items": {
2702
- "type": "string"
2703
- }
2704
- },
2705
- "owners": {
2706
- "type": "array",
2707
- "items": {
2708
- "type": "string"
2709
- }
2710
- },
2711
- "flags": {
2712
- "type": "array",
2713
- "items": {
2714
- "type": "string"
2715
- }
2716
- },
2717
- "source": {
2718
- "type": "array",
2719
- "items": {
2720
- "type": "string"
2721
- }
2722
- },
2723
- "rule": {
2724
- "type": "string"
2725
- }
2726
- },
2727
- "required": [
2728
- "dim"
2729
- ],
2730
- "additionalProperties": false
2731
- }
2732
- },
2733
- "weights": {
2734
- "description": "demand_match rule id → weight (region/industry/price/trust/capabilities/tags/acceptance). Unregistered ids are reported as ignored.",
2735
- "type": "object",
2736
- "propertyNames": {
2737
- "type": "string"
2738
- },
2739
- "additionalProperties": {
2740
- "type": "number",
2741
- "minimum": 0
2742
- }
2743
- },
2744
- "rerank": {
2745
- "type": "object",
2746
- "properties": {
2747
- "diversity": {
2748
- "description": "Greedy per-group cap over the score-ordered list. `permission` is not enforceable client-side yet (reported ignored); use `owner`.",
2749
- "type": "object",
2750
- "properties": {
2751
- "by": {
2752
- "type": "string",
2753
- "enum": [
2754
- "owner",
2755
- "permission"
2756
- ]
2757
- },
2758
- "max_per_group": {
2759
- "type": "integer",
2760
- "minimum": 1,
2761
- "maximum": 9007199254740991
2762
- }
2763
- },
2764
- "required": [
2765
- "by",
2766
- "max_per_group"
2767
- ],
2768
- "additionalProperties": false
2769
- },
2770
- "explore": {},
2771
- "llm": {},
2772
- "fairness": {}
2773
- },
2774
- "additionalProperties": false
2775
- },
2776
- "recall": {
2777
- "description": "Server/recall directives — accepted for portability, not enforceable from the client (reported ignored)."
2778
- },
2779
- "verify": {
2780
- "description": "Facet verification directives — accepted for portability, not enforceable client-side (reported ignored)."
2781
- },
2782
- "output": {
2783
- "type": "object",
2784
- "properties": {
2785
- "top_n": {
2786
- "type": "integer",
2787
- "minimum": 1,
2788
- "maximum": 500
2789
- },
2790
- "explain": {
2791
- "type": "boolean"
2792
- },
2793
- "evidence_chain": {},
2794
- "coverage_report": {}
2795
- },
2796
- "additionalProperties": false
2797
- }
2798
- },
2799
- "required": [
2800
- "policy_id"
2801
- ],
2802
- "additionalProperties": false
2803
- }
2804
- ]
2805
- },
2806
- "max_objects": {
2807
- "description": "Enumeration cap before filtering (default 200).",
2808
- "type": "integer",
2809
- "minimum": 1,
2810
- "maximum": 500
2811
- },
2812
- "limit": {
2813
- "description": "Top-N matched demands to return (default 5).",
2814
- "type": "integer",
2815
- "minimum": 1,
2816
- "maximum": 50
2817
- },
2818
- "context_network": {
2819
- "description": "Network (defaults to the user's current network when omitted).",
2820
- "type": "string"
2821
- },
2822
- "no_cache": {
2823
- "description": "Force fresh on-chain enumeration (bypass the configured local list cache).",
2824
- "type": "boolean"
2825
- },
2826
- "injection": {
2827
- "type": "object",
2828
- "properties": {
2829
- "intent": {
2830
- "description": "Free-text intent.",
2831
- "type": "string"
2832
- },
2833
- "preferences": {
2834
- "type": "object",
2835
- "propertyNames": {
2836
- "type": "string"
2837
- },
2838
- "additionalProperties": {}
2839
- },
2840
- "requirements": {
2841
- "description": "Hard red lines (block when violated).",
2842
- "type": "array",
2843
- "items": {
2844
- "type": "object",
2845
- "properties": {
2846
- "rule_id": {
2847
- "type": "string"
2848
- },
2849
- "condition": {
2850
- "type": "string",
2851
- "enum": [
2852
- "require",
2853
- "forbid"
2854
- ]
2855
- },
2856
- "note": {
2857
- "type": "string"
2858
- }
2859
- },
2860
- "required": [
2861
- "rule_id",
2862
- "condition"
2863
- ],
2864
- "additionalProperties": false
2865
- }
2866
- },
2867
- "overrides": {
2868
- "description": "Enable/disable/reweight rules and data sources.",
2869
- "type": "object",
2870
- "properties": {
2871
- "rules": {
2872
- "type": "object",
2873
- "propertyNames": {
2874
- "type": "string"
2875
- },
2876
- "additionalProperties": {
2877
- "type": "object",
2878
- "properties": {
2879
- "enabled": {
2880
- "type": "boolean"
2881
- },
2882
- "weight": {
2883
- "type": "number"
2884
- }
2885
- },
2886
- "additionalProperties": false
2887
- }
2888
- },
2889
- "data_sources": {
2890
- "type": "object",
2891
- "propertyNames": {
2892
- "type": "string"
2893
- },
2894
- "additionalProperties": {
2895
- "type": "object",
2896
- "properties": {
2897
- "enabled": {
2898
- "type": "boolean"
2899
- }
2900
- },
2901
- "additionalProperties": false
2902
- }
2903
- }
2904
- },
2905
- "additionalProperties": false
2906
- }
2907
- },
2908
- "additionalProperties": false
2909
- },
2910
- "account": {
2911
- "description": "Account address; its persona is auto-applied as the base injection.",
2912
- "type": "string"
2913
- }
2914
- },
2915
- "required": [
2916
- "action",
2917
- "service_cap"
2918
- ],
2919
- "additionalProperties": false
2920
- },
2921
- {
2922
- "type": "object",
2923
- "properties": {
2924
- "action": {
2925
- "type": "string",
2926
- "const": "market_metrics"
2927
- },
2928
- "context_network": {
2929
- "description": "Network (defaults to the user's current network when omitted).",
2930
- "type": "string"
2931
- },
2932
- "no_cache": {
2933
- "description": "Force fresh on-chain enumeration.",
2934
- "type": "boolean"
2935
- },
2936
- "limit": {
2937
- "description": "Max recent NewOrderEvent events to aggregate for the order-flow (GMV/top-services) window (default 100).",
2938
- "type": "integer",
2939
- "minimum": 1,
2940
- "maximum": 500
2941
- }
2942
- },
2943
- "required": [
2944
- "action"
2945
- ],
2946
- "additionalProperties": false
2947
- },
2948
- {
2949
- "type": "object",
2950
- "properties": {
2951
- "action": {
2952
- "type": "string",
2953
- "const": "market_operations"
2954
- },
2955
- "op": {
2956
- "type": "string",
2957
- "enum": [
2958
- "journey_funnel",
2959
- "referral_attribution",
2960
- "customer_relationship",
2961
- "dynamic_pricing"
2962
- ],
2963
- "description": "Which operational aggregation to run."
2964
- },
2965
- "due_diligence": {
2966
- "type": "integer",
2967
- "minimum": 0,
2968
- "maximum": 9007199254740991
2969
- },
2970
- "orders": {
2971
- "type": "integer",
2972
- "minimum": 0,
2973
- "maximum": 9007199254740991
2974
- },
2975
- "completed": {
2976
- "type": "integer",
2977
- "minimum": 0,
2978
- "maximum": 9007199254740991
2979
- },
2980
- "reviews": {
2981
- "type": "integer",
2982
- "minimum": 0,
2983
- "maximum": 9007199254740991
2984
- },
2985
- "referral_orders": {
2986
- "type": "array",
2987
- "items": {
2988
- "type": "object",
2989
- "properties": {
2990
- "id": {
2991
- "type": "string"
2992
- },
2993
- "referrer": {
2994
- "type": "string"
2995
- },
2996
- "amount": {
2997
- "type": "string"
2998
- },
2999
- "closed": {
3000
- "type": "boolean"
3001
- }
3002
- },
3003
- "required": [
3004
- "id",
3005
- "referrer",
3006
- "amount",
3007
- "closed"
3008
- ],
3009
- "additionalProperties": false
3010
- }
3011
- },
3012
- "customer_orders": {
3013
- "type": "array",
3014
- "items": {
3015
- "type": "object",
3016
- "properties": {
3017
- "id": {
3018
- "type": "string"
3019
- },
3020
- "customer": {
3021
- "type": "string"
3022
- },
3023
- "time": {
3024
- "type": "number"
3025
- },
3026
- "disputed": {
3027
- "type": "boolean"
3028
- }
3029
- },
3030
- "required": [
3031
- "id",
3032
- "customer",
3033
- "time",
3034
- "disputed"
3035
- ],
3036
- "additionalProperties": false
3037
- }
3038
- },
3039
- "market_signals": {
3040
- "description": "Market signals for the dynamic_pricing op (non-mandatory merchant pricing suggestion).",
3041
- "type": "object",
3042
- "properties": {
3043
- "supplyCount": {
3044
- "type": "integer",
3045
- "minimum": 0,
3046
- "maximum": 9007199254740991,
3047
- "description": "Number of similar Services."
3048
- },
3049
- "demandCount": {
3050
- "type": "integer",
3051
- "minimum": 0,
3052
- "maximum": 9007199254740991,
3053
- "description": "Number of related Demands."
3054
- },
3055
- "avgPrice": {
3056
- "description": "Market average price (smallest-unit string).",
3057
- "type": "string"
3058
- },
3059
- "myPrice": {
3060
- "description": "Current price (smallest-unit string).",
3061
- "type": "string"
3062
- },
3063
- "competitorPrices": {
3064
- "description": "Competitor price list (smallest-unit strings).",
3065
- "type": "array",
3066
- "items": {
3067
- "type": "string"
3068
- }
3069
- },
3070
- "recentOrderCount": {
3071
- "description": "Recent order count.",
3072
- "type": "integer",
3073
- "minimum": 0,
3074
- "maximum": 9007199254740991
3075
- },
3076
- "repeatCustomerRate": {
3077
- "description": "Repeat customer rate 0-1.",
3078
- "type": "number",
3079
- "minimum": 0,
3080
- "maximum": 1
3081
- }
3082
- },
3083
- "required": [
3084
- "supplyCount",
3085
- "demandCount"
3086
- ],
3087
- "additionalProperties": false
3088
- }
3089
- },
3090
- "required": [
3091
- "action",
3092
- "op"
3093
- ],
3094
- "additionalProperties": false
3095
- },
3096
- {
3097
- "type": "object",
3098
- "properties": {
3099
- "action": {
3100
- "type": "string",
3101
- "const": "anti_cheat"
3102
- },
3103
- "service": {
3104
- "type": "object",
3105
- "properties": {
3106
- "object": {
3107
- "type": "string",
3108
- "description": "Service object address."
3109
- },
3110
- "arbitrations": {
3111
- "type": "array",
3112
- "items": {
3113
- "type": "string"
3114
- },
3115
- "description": "Bound Arbitration object addresses."
3116
- },
3117
- "compensation_fund": {
3118
- "type": "string",
3119
- "description": "Compensation fund balance (smallest-unit string)."
3120
- },
3121
- "machine": {
3122
- "anyOf": [
3123
- {
3124
- "type": "string"
3125
- },
3126
- {
3127
- "type": "null"
3128
- }
3129
- ],
3130
- "description": "Bound Machine address (null = none)."
3131
- },
3132
- "bPublished": {
3133
- "type": "boolean",
3134
- "description": "Whether published."
3135
- }
3136
- },
3137
- "required": [
3138
- "object",
3139
- "arbitrations",
3140
- "compensation_fund",
3141
- "machine",
3142
- "bPublished"
3143
- ],
3144
- "additionalProperties": false
3145
- },
3146
- "orders": {
3147
- "type": "array",
3148
- "items": {
3149
- "type": "object",
3150
- "properties": {
3151
- "id": {
3152
- "type": "string"
3153
- },
3154
- "buyer": {
3155
- "type": "string"
3156
- },
3157
- "seller": {
3158
- "type": "string"
3159
- },
3160
- "amount": {
3161
- "type": "string"
3162
- },
3163
- "status": {
3164
- "type": "string"
3165
- },
3166
- "allocation": {
3167
- "description": "Allocation object (fund-closure evidence).",
3168
- "anyOf": [
3169
- {
3170
- "type": "string"
3171
- },
3172
- {
3173
- "type": "null"
3174
- }
3175
- ]
3176
- }
3177
- },
3178
- "required": [
3179
- "id",
3180
- "buyer",
3181
- "seller",
3182
- "amount",
3183
- "status"
3184
- ],
3185
- "additionalProperties": false
3186
- },
3187
- "description": "Order history evidence."
3188
- },
3189
- "reviews": {
3190
- "type": "array",
3191
- "items": {
3192
- "type": "object",
3193
- "properties": {
3194
- "reviewer": {
3195
- "type": "string"
3196
- },
3197
- "rating": {
3198
- "type": "string",
3199
- "enum": [
3200
- "like",
3201
- "dislike"
3202
- ]
3203
- },
3204
- "orderRef": {
3205
- "type": "string"
3206
- },
3207
- "verified": {
3208
- "type": "boolean"
3209
- },
3210
- "timestamp": {
3211
- "type": "number"
3212
- }
3213
- },
3214
- "required": [
3215
- "reviewer",
3216
- "rating"
3217
- ],
3218
- "additionalProperties": false
3219
- },
3220
- "description": "Review evidence."
3221
- }
3222
- },
3223
- "required": [
3224
- "action",
3225
- "service",
3226
- "orders",
3227
- "reviews"
3228
- ],
3229
- "additionalProperties": false
3230
- },
3231
- {
3232
- "type": "object",
3233
- "properties": {
3234
- "action": {
3235
- "type": "string",
3236
- "const": "match_discover"
3237
- },
3238
- "description": {
3239
- "type": "string",
3240
- "description": "Demand description — drives sensitivity inference + demand capability extraction."
3241
- },
3242
- "location": {
3243
- "type": "string",
3244
- "description": "Demand-side location (city/region raw text, or 'remote')."
3245
- },
3246
- "region": {
3247
- "description": "AI-enriched geographic slots for `location`.",
3248
- "type": "object",
3249
- "properties": {
3250
- "country": {
3251
- "type": "string"
3252
- },
3253
- "province": {
3254
- "description": "Province/state — enables neighboring-city (overlap) matching under 'near'.",
3255
- "type": "string"
3256
- },
3257
- "city": {
3258
- "type": "string"
3259
- }
3260
- },
3261
- "additionalProperties": false
3262
- },
3263
- "sensitivity": {
3264
- "description": "Location gate hardness. Omitted → inferred from description.",
3265
- "type": "string",
3266
- "enum": [
3267
- "strict",
3268
- "near",
3269
- "logistics"
3270
- ]
3271
- },
3272
- "budget": {
3273
- "description": "Demand price ceiling (smallest-unit string) — price dimension gate.",
3274
- "type": "string"
3275
- },
3276
- "required_capabilities": {
3277
- "description": "Workflow capabilities the demand REQUIRES (e.g. has_arbitration, has_compensation_fund, has_milestone_nodes, has_refund_path, has_wip_verification, has_messenger, has_buy_guard).",
3278
- "type": "array",
3279
- "items": {
3280
- "type": "string"
3281
- }
3282
- },
3283
- "category": {
3284
- "description": "Category match rules key (e.g. 'life_service', 'retail') — applies hard-constraint filtering + re-anchors the six-dimension weights (15 §3). Omit = generic six-dimension scoring.",
3285
- "type": "string"
3286
- },
3287
- "coin_type": {
3288
- "description": "Exact coin instantiation, e.g. '0x2::wow::WOW'; omit = ALL Service<T> generics.",
3289
- "type": "string"
3290
- },
3291
- "name_contains": {
3292
- "description": "Case-insensitive substring filter on service name.",
3293
- "type": "string"
3294
- },
3295
- "max_objects": {
3296
- "description": "Enumeration cap before filtering (default 200).",
3297
- "type": "integer",
3298
- "minimum": 1,
3299
- "maximum": 500
3300
- },
3301
- "context_network": {
3302
- "description": "Network (defaults to the user's current network when omitted).",
3303
- "type": "string"
3304
- },
3305
- "no_cache": {
3306
- "description": "Force fresh on-chain enumeration (bypass the configured local list cache).",
3307
- "type": "boolean"
3308
- },
3309
- "presenter_history": {
3310
- "type": "array",
3311
- "items": {
3312
- "type": "object",
3313
- "properties": {
3314
- "demand_id": {
3315
- "description": "Demand object that received the presentation.",
3316
- "type": "string"
3317
- },
3318
- "presenter": {
3319
- "description": "F-RQ-10: the presenter (service object address) this record is about — records carrying it become that service's counterparty trust evidence (the on-chain writer is the demand OWNER, so the signal cannot be self-authored by the merchant); omit for legacy global-only acceptance scoring.",
3320
- "type": "string"
3321
- },
3322
- "presenter_service": {
3323
- "description": "tv8 F-28: the SERVICE object address the record is about (the value side of the on-chain DemandPresenter entry — the table key is the presenter ACCOUNT). Dual-domain matching accepts either this or `presenter`; chain-faithful readers fill BOTH.",
3324
- "type": "string"
3325
- },
3326
- "acceptance_score": {
3327
- "anyOf": [
3328
- {
3329
- "type": "number"
3330
- },
3331
- {
3332
- "type": "null"
3333
- }
3334
- ],
3335
- "description": "Demand owner's acceptance score (u8 on-chain, 0-100 scale). null = not yet rated."
3336
- },
3337
- "feedback_time": {
3338
- "description": "Feedback timestamp (ms or s, informational only).",
3339
- "type": "number"
3340
- }
3341
- },
3342
- "required": [
3343
- "acceptance_score"
3344
- ],
3345
- "additionalProperties": false
3346
- },
3347
- "description": "P2-2: presenter acceptance history (demand-side acceptance_score backflow) for the SINGLE party being evaluated (e.g. the merchant behind the candidate service set, or the demand owner being matched). Collect via onchain_table_item_demand_presenter across that party's Demand presenter tables. When the candidate set spans multiple unrelated parties, evaluate per-party or omit — the acceptance rule scores neutral without history."
3348
- },
3349
- "injection": {
3350
- "type": "object",
3351
- "properties": {
3352
- "intent": {
3353
- "description": "Free-text intent.",
3354
- "type": "string"
3355
- },
3356
- "preferences": {
3357
- "type": "object",
3358
- "propertyNames": {
3359
- "type": "string"
3360
- },
3361
- "additionalProperties": {}
3362
- },
3363
- "requirements": {
3364
- "description": "Hard red lines (block when violated).",
3365
- "type": "array",
3366
- "items": {
3367
- "type": "object",
3368
- "properties": {
3369
- "rule_id": {
3370
- "type": "string"
3371
- },
3372
- "condition": {
3373
- "type": "string",
3374
- "enum": [
3375
- "require",
3376
- "forbid"
3377
- ]
3378
- },
3379
- "note": {
3380
- "type": "string"
3381
- }
3382
- },
3383
- "required": [
3384
- "rule_id",
3385
- "condition"
3386
- ],
3387
- "additionalProperties": false
3388
- }
3389
- },
3390
- "overrides": {
3391
- "description": "Enable/disable/reweight rules and data sources.",
3392
- "type": "object",
3393
- "properties": {
3394
- "rules": {
3395
- "type": "object",
3396
- "propertyNames": {
3397
- "type": "string"
3398
- },
3399
- "additionalProperties": {
3400
- "type": "object",
3401
- "properties": {
3402
- "enabled": {
3403
- "type": "boolean"
3404
- },
3405
- "weight": {
3406
- "type": "number"
3407
- }
3408
- },
3409
- "additionalProperties": false
3410
- }
3411
- },
3412
- "data_sources": {
3413
- "type": "object",
3414
- "propertyNames": {
3415
- "type": "string"
3416
- },
3417
- "additionalProperties": {
3418
- "type": "object",
3419
- "properties": {
3420
- "enabled": {
3421
- "type": "boolean"
3422
- }
3423
- },
3424
- "additionalProperties": false
3425
- }
3426
- }
3427
- },
3428
- "additionalProperties": false
3429
- }
3430
- },
3431
- "additionalProperties": false
3432
- },
3433
- "account": {
3434
- "description": "Account address; its persona is auto-applied as the base injection.",
3435
- "type": "string"
3436
- },
3437
- "match_policy": {
3438
- "description": "R4 private ranking policy (K5-05 §4): a preset id (default, retail, life_service, trust_first, cross_border, cheap_and_fast, enterprise) or an inline policy object. Applied entirely on-device over the recalled candidates — gates/excludes/weights/rerank with honest `policy_effect` reporting; NEVER sent to the data service. Omitted: resolved from the stored chain — account persona match config → match-policy.json (general file) → system persona → engine defaults; policy_effect.policy_source reports the winning layer.",
3439
- "anyOf": [
3440
- {
3441
- "type": "string"
3442
- },
3443
- {
3444
- "type": "object",
3445
- "properties": {
3446
- "policy_id": {
3447
- "type": "string",
3448
- "minLength": 1
3449
- },
3450
- "version": {
3451
- "type": "integer",
3452
- "minimum": 0,
3453
- "maximum": 9007199254740991
3454
- },
3455
- "direction": {
3456
- "description": "Default demand_to_supply. A demand_to_supply policy drives match_discover; a supply_to_demand policy drives demand_present / discover_demands (and is rejected by match_discover).",
3457
- "type": "string",
3458
- "enum": [
3459
- "demand_to_supply",
3460
- "supply_to_demand"
3461
- ]
3462
- },
3463
- "unknown_policy": {
3464
- "description": "What a gate with missing input does (K5-05 axiom 3). Default neutral_score (= pass, reported).",
3465
- "type": "string",
3466
- "enum": [
3467
- "pass",
3468
- "drop",
3469
- "neutral_score"
3470
- ]
3471
- },
3472
- "gates": {
3473
- "type": "array",
3474
- "items": {
3475
- "type": "object",
3476
- "properties": {
3477
- "dim": {
3478
- "type": "string",
3479
- "description": "Gate dimension. Enforced client-side: live, price, arb, compensation, machine, messenger, buy_guard, wip_verify, text, owner. Others are reported as ignored (not enforceable on-device yet)."
3480
- },
3481
- "op": {
3482
- "description": "Comparison operator (eq/lte/gte/in/not_in/must_contain/must_not_contain) — validated per dim at apply time.",
3483
- "type": "string"
3484
- },
3485
- "value": {
3486
- "anyOf": [
3487
- {
3488
- "type": "boolean"
3489
- },
3490
- {
3491
- "type": "number"
3492
- },
3493
- {
3494
- "type": "string"
3495
- },
3496
- {
3497
- "type": "array",
3498
- "items": {
3499
- "type": "string"
3500
- }
3501
- }
3502
- ]
3503
- },
3504
- "params": {
3505
- "description": "Extra params; `from_budget: true` on a price gate uses the request budget as the threshold.",
3506
- "type": "object",
3507
- "propertyNames": {
3508
- "type": "string"
3509
- },
3510
- "additionalProperties": {}
3511
- }
3512
- },
3513
- "required": [
3514
- "dim"
3515
- ],
3516
- "additionalProperties": false
3517
- }
3518
- },
3519
- "excludes": {
3520
- "type": "array",
3521
- "items": {
3522
- "type": "object",
3523
- "properties": {
3524
- "dim": {
3525
- "type": "string",
3526
- "description": "Exclude dimension. Enforced client-side: blacklist (objects/owners lists). anti_cheat/structure dims are reported as ignored (no client-side facet)."
3527
- },
3528
- "objects": {
3529
- "type": "array",
3530
- "items": {
3531
- "type": "string"
3532
- }
3533
- },
3534
- "owners": {
3535
- "type": "array",
3536
- "items": {
3537
- "type": "string"
3538
- }
3539
- },
3540
- "flags": {
3541
- "type": "array",
3542
- "items": {
3543
- "type": "string"
3544
- }
3545
- },
3546
- "source": {
3547
- "type": "array",
3548
- "items": {
3549
- "type": "string"
3550
- }
3551
- },
3552
- "rule": {
3553
- "type": "string"
3554
- }
3555
- },
3556
- "required": [
3557
- "dim"
3558
- ],
3559
- "additionalProperties": false
3560
- }
3561
- },
3562
- "weights": {
3563
- "description": "demand_match rule id → weight (region/industry/price/trust/capabilities/tags/acceptance). Unregistered ids are reported as ignored.",
3564
- "type": "object",
3565
- "propertyNames": {
3566
- "type": "string"
3567
- },
3568
- "additionalProperties": {
3569
- "type": "number",
3570
- "minimum": 0
3571
- }
3572
- },
3573
- "rerank": {
3574
- "type": "object",
3575
- "properties": {
3576
- "diversity": {
3577
- "description": "Greedy per-group cap over the score-ordered list. `permission` is not enforceable client-side yet (reported ignored); use `owner`.",
3578
- "type": "object",
3579
- "properties": {
3580
- "by": {
3581
- "type": "string",
3582
- "enum": [
3583
- "owner",
3584
- "permission"
3585
- ]
3586
- },
3587
- "max_per_group": {
3588
- "type": "integer",
3589
- "minimum": 1,
3590
- "maximum": 9007199254740991
3591
- }
3592
- },
3593
- "required": [
3594
- "by",
3595
- "max_per_group"
3596
- ],
3597
- "additionalProperties": false
3598
- },
3599
- "explore": {},
3600
- "llm": {},
3601
- "fairness": {}
3602
- },
3603
- "additionalProperties": false
3604
- },
3605
- "recall": {
3606
- "description": "Server/recall directives — accepted for portability, not enforceable from the client (reported ignored)."
3607
- },
3608
- "verify": {
3609
- "description": "Facet verification directives — accepted for portability, not enforceable client-side (reported ignored)."
3610
- },
3611
- "output": {
3612
- "type": "object",
3613
- "properties": {
3614
- "top_n": {
3615
- "type": "integer",
3616
- "minimum": 1,
3617
- "maximum": 500
3618
- },
3619
- "explain": {
3620
- "type": "boolean"
3621
- },
3622
- "evidence_chain": {},
3623
- "coverage_report": {}
3624
- },
3625
- "additionalProperties": false
3626
- }
3627
- },
3628
- "required": [
3629
- "policy_id"
3630
- ],
3631
- "additionalProperties": false
3632
- }
3633
- ]
3634
- }
3635
- },
3636
- "required": [
3637
- "action",
3638
- "description",
3639
- "location"
3640
- ],
3641
- "additionalProperties": false
3642
- },
3643
- {
3644
- "type": "object",
3645
- "properties": {
3646
- "action": {
3647
- "type": "string",
3648
- "const": "arbitration_score"
3649
- },
3650
- "arbitration": {
3651
- "type": "object",
3652
- "properties": {
3653
- "object": {
3654
- "description": "Arbitration object address.",
3655
- "type": "string"
3656
- },
3657
- "fee": {
3658
- "description": "Arbitration fee (smallest-unit string).",
3659
- "type": "string"
3660
- },
3661
- "balance": {
3662
- "description": "Capital pool (smallest-unit string).",
3663
- "type": "string"
3664
- },
3665
- "voting_guard_count": {
3666
- "description": "Number of voting guards (governance distribution proxy).",
3667
- "type": "integer",
3668
- "minimum": 0,
3669
- "maximum": 9007199254740991
3670
- },
3671
- "bPaused": {
3672
- "type": "boolean"
3673
- },
3674
- "location": {
3675
- "type": "string"
3676
- },
3677
- "has_verified_identity": {
3678
- "description": "A7: whether the arbitrator has a verified on-chain Personal identity (unknown when omitted → neutral).",
3679
- "type": "boolean"
3680
- }
3681
- },
3682
- "additionalProperties": false
3683
- },
3684
- "history": {
3685
- "description": "Historical Arb cases (pre-aggregated; the on-chain reverse index is a wow data layer deliverable).",
3686
- "type": "array",
3687
- "items": {
3688
- "type": "object",
3689
- "properties": {
3690
- "status": {
3691
- "description": "Arb status (e.g. 'Arbitrated', 'Finished', 'Objectionable').",
3692
- "type": "string"
3693
- },
3694
- "time": {
3695
- "description": "Dispute creation time (ms epoch).",
3696
- "type": "number"
3697
- },
3698
- "resolved_time": {
3699
- "description": "Resolution time (ms epoch).",
3700
- "type": "number"
3701
- },
3702
- "indemnity_amount": {
3703
- "description": "Compensation paid (smallest-unit string; '0'/absent = none).",
3704
- "type": "string"
3705
- },
3706
- "feedback_positive": {
3707
- "type": "boolean"
3708
- },
3709
- "objected": {
3710
- "type": "boolean"
3711
- }
3712
- },
3713
- "additionalProperties": false
3714
- }
3715
- },
3716
- "entity_votes": {
3717
- "type": "object",
3718
- "properties": {
3719
- "like_ratio": {
3720
- "description": "0-1 community like ratio.",
3721
- "type": "number",
3722
- "minimum": 0,
3723
- "maximum": 1
3724
- },
3725
- "favor": {
3726
- "description": "Whether peers favorited this entity.",
3727
- "type": "boolean"
3728
- }
3729
- },
3730
- "additionalProperties": false
3731
- },
3732
- "fee_median": {
3733
- "description": "Market fee median (smallest-unit string) for the fee-reasonableness rule.",
3734
- "type": "string"
3735
- },
3736
- "injection": {
3737
- "type": "object",
3738
- "properties": {
3739
- "intent": {
3740
- "description": "Free-text intent.",
3741
- "type": "string"
3742
- },
3743
- "preferences": {
3744
- "type": "object",
3745
- "propertyNames": {
3746
- "type": "string"
3747
- },
3748
- "additionalProperties": {}
3749
- },
3750
- "requirements": {
3751
- "description": "Hard red lines (block when violated).",
3752
- "type": "array",
3753
- "items": {
3754
- "type": "object",
3755
- "properties": {
3756
- "rule_id": {
3757
- "type": "string"
3758
- },
3759
- "condition": {
3760
- "type": "string",
3761
- "enum": [
3762
- "require",
3763
- "forbid"
3764
- ]
3765
- },
3766
- "note": {
3767
- "type": "string"
3768
- }
3769
- },
3770
- "required": [
3771
- "rule_id",
3772
- "condition"
3773
- ],
3774
- "additionalProperties": false
3775
- }
3776
- },
3777
- "overrides": {
3778
- "description": "Enable/disable/reweight rules and data sources.",
3779
- "type": "object",
3780
- "properties": {
3781
- "rules": {
3782
- "type": "object",
3783
- "propertyNames": {
3784
- "type": "string"
3785
- },
3786
- "additionalProperties": {
3787
- "type": "object",
3788
- "properties": {
3789
- "enabled": {
3790
- "type": "boolean"
3791
- },
3792
- "weight": {
3793
- "type": "number"
3794
- }
3795
- },
3796
- "additionalProperties": false
3797
- }
3798
- },
3799
- "data_sources": {
3800
- "type": "object",
3801
- "propertyNames": {
3802
- "type": "string"
3803
- },
3804
- "additionalProperties": {
3805
- "type": "object",
3806
- "properties": {
3807
- "enabled": {
3808
- "type": "boolean"
3809
- }
3810
- },
3811
- "additionalProperties": false
3812
- }
3813
- }
3814
- },
3815
- "additionalProperties": false
3816
- }
3817
- },
3818
- "additionalProperties": false
3819
- },
3820
- "account": {
3821
- "description": "Account address; its persona is auto-applied as the base injection.",
3822
- "type": "string"
3823
- },
3824
- "context_network": {
3825
- "description": "Network (defaults to the user's current network when omitted). Used to auto-fetch real Arb history when `history` is omitted.",
3826
- "type": "string"
3827
- }
3828
- },
3829
- "required": [
3830
- "action",
3831
- "arbitration"
3832
- ],
3833
- "additionalProperties": false
3834
- },
3835
- {
3836
- "type": "object",
3837
- "properties": {
3838
- "action": {
3839
- "type": "string",
3840
- "const": "account_events"
3841
- },
3842
- "account": {
3843
- "description": "Account address to watch for (default account when omitted).",
3844
- "type": "string"
3845
- },
3846
- "categories": {
3847
- "description": "Watcher ids to run (omit = all registered watchers).",
3848
- "type": "array",
3849
- "items": {
3850
- "type": "string"
3851
- }
3852
- },
3853
- "reviews": {
3854
- "description": "Review rows (from a Service's ReviewRepository, via onchain_table_data) — enables the reputation_integrity watcher (verification, stats, manipulation detection).",
3855
- "type": "array",
3856
- "items": {
3857
- "type": "object",
3858
- "properties": {
3859
- "reviewer": {
3860
- "type": "string",
3861
- "description": "Reviewer address."
3862
- },
3863
- "rating": {
3864
- "type": "string",
3865
- "enum": [
3866
- "like",
3867
- "dislike"
3868
- ]
3869
- },
3870
- "tags": {
3871
- "type": "array",
3872
- "items": {
3873
- "type": "string"
3874
- }
3875
- },
3876
- "comment": {
3877
- "type": "string"
3878
- },
3879
- "orderRef": {
3880
- "description": "Associated order id — the credential for no-order-no-review verification.",
3881
- "type": "string"
3882
- },
3883
- "timestamp": {
3884
- "description": "Submission time (ms epoch).",
3885
- "type": "number"
3886
- },
3887
- "verified": {
3888
- "description": "Whether the review carries a completed-order credential; recomputed when order_history is supplied.",
3889
- "type": "boolean"
3890
- }
3891
- },
3892
- "required": [
3893
- "reviewer",
3894
- "rating"
3895
- ],
3896
- "additionalProperties": false
3897
- }
3898
- },
3899
- "order_history": {
3900
- "description": "Order history used to re-derive review credentials (no-order-no-review).",
3901
- "type": "array",
3902
- "items": {
3903
- "type": "object",
3904
- "properties": {
3905
- "id": {
3906
- "type": "string",
3907
- "description": "Order object id."
3908
- },
3909
- "status": {
3910
- "type": "string",
3911
- "description": "Order status (e.g. 'completed', 'success')."
3912
- }
3913
- },
3914
- "required": [
3915
- "id",
3916
- "status"
3917
- ],
3918
- "additionalProperties": false
3919
- }
3920
- },
3921
- "context_network": {
3922
- "description": "Network (defaults to the user's current network when omitted).",
3923
- "type": "string"
3924
- }
3925
- },
3926
- "required": [
3927
- "action"
3928
- ],
3929
- "additionalProperties": false
3930
- }
3931
- ]
3932
- }
1
+ {"$schema":"http://json-schema.org/draft-07/schema#","$id":"https://wowok.net/schemas/evaluation_operation.json","title":"Evaluation - Pluggable Business Intelligence","description":"Run pluggable business evaluations (data sources + rules + user injection). Actions: arb_game (Arb 7-state best-move), node_game (Progress node best-move), capability_gap (demand-vs-service capability gaps), compose_service (combine services to cover a demand), demand_match (rank services for a demand), service_match (rank demands for a service). Read-only — returns ranked recommendations / scores with reasoning.","oneOf":[{"type":"object","properties":{"action":{"type":"string","const":"arb_game"},"status":{"type":"string","enum":["Principal_confirming","Arbitrator_confirming","Voting","Arbitrated","Objectionable","Finished","Withdrawn"]},"perspective":{"type":"string","enum":["customer","merchant","arbitrator"]},"appetite":{"description":"Risk appetite — adjusts risk sensitivity (conservative amplifies risk).","type":"string","enum":["conservative","balanced","aggressive"]},"account":{"description":"Account address; its persona's risk_appetite is used as the default appetite.","type":"string"},"requirements":{"description":"Persona red lines that re-anchor the role's prefer/avoid (persona drivers).","type":"array","items":{"type":"string"}}},"required":["action","status","perspective"],"additionalProperties":false},{"type":"object","properties":{"action":{"type":"string","const":"node_game"},"current_node":{"type":"string"},"perspective":{"type":"string","enum":["merchant","customer","demander","prospect","supplier","collaborator","arbitrator"]},"appetite":{"description":"Risk appetite — adjusts risk sensitivity (conservative amplifies risk).","type":"string","enum":["conservative","balanced","aggressive"]},"account":{"description":"Account address; its persona's risk_appetite is used as the default appetite.","type":"string"},"threshold":{"description":"Pair threshold — when > 1, multi-role cooperation is needed to advance.","type":"integer","minimum":1,"maximum":9007199254740991},"allocation":{"description":"Allocation waterfall — how funds split after the node advances.","type":"object","properties":{"recipient_slots":{"type":"integer","minimum":0,"maximum":9007199254740991,"description":"Total recipient slots across allocators."},"guard_gated_slots":{"type":"integer","minimum":0,"maximum":9007199254740991,"description":"Slots resolved at settlement by a Guard."},"direct_to_me_slots":{"type":"integer","minimum":0,"maximum":9007199254740991,"description":"Slots paying directly to this role."},"to_payer_slots":{"type":"integer","minimum":0,"maximum":9007199254740991,"description":"Slots routing back to the payer (refund-oriented)."}},"required":["recipient_slots","guard_gated_slots","direct_to_me_slots","to_payer_slots"],"additionalProperties":false},"requirements":{"description":"Persona red lines that re-anchor the role's prefer/avoid (persona drivers).","type":"array","items":{"type":"string"}},"order_amount":{"description":"Escrowed order amount (smallest-unit string) — the monetary stake at this node (quantified).","type":"string"},"compensation_fund":{"description":"Merchant compensation_fund (smallest-unit string) — the monetary risk exposure backing indemnity.","type":"string"},"operable":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string","description":"Forward (operation) name."},"to_node":{"type":"string","description":"Target node after execution."},"execution_path":{"type":"string","enum":["order_holder","permission","named_operator","not_available"],"description":"How the account may execute it."},"guard":{"description":"Guard address gating this forward.","type":"string"},"consequence":{"description":"Consequence hint (completion/refund path).","type":"string"},"weight":{"description":"Forward weight (accumulates toward the pair's threshold).","type":"number"}},"required":["name","to_node","execution_path"],"additionalProperties":false}},"waiting_on":{"type":"array","items":{"type":"object","properties":{"role":{"type":"string"},"forwards":{"type":"array","items":{"type":"string"}}},"required":["role","forwards"],"additionalProperties":false}}},"required":["action","current_node","perspective","operable"],"additionalProperties":false},{"type":"object","properties":{"action":{"type":"string","const":"capability_gap"},"demand":{"type":"object","properties":{"id":{"type":"string","description":"Service/Demand address."},"kind":{"type":"string","enum":["service","demand"],"description":"Whether this is a service or demand."},"owner":{"type":"string"},"industry":{"type":"string","pattern":"^[a-z][a-z0-9_]*$","description":"Industry scenario."},"industry_confidence":{"type":"number","minimum":0,"maximum":1},"region":{"type":"object","properties":{"mode":{"type":"string","enum":["remote","physical"]},"country":{"type":"string"},"province":{"type":"string"},"city":{"type":"string"},"raw":{"type":"string","description":"Original location string (for traceability)."}},"required":["mode","raw"],"additionalProperties":false},"price_min":{"description":"Smallest-unit amount (string to avoid JSON bigint loss).","type":"string"},"price_max":{"description":"Smallest-unit amount (string to avoid JSON bigint loss).","type":"string"},"token_type":{"type":"string"},"ticket_size":{"type":"string","enum":["micro","small","medium","large"]},"trust_score":{"type":"number","minimum":0,"maximum":100},"reputation_like_ratio":{"type":"number","minimum":0,"maximum":1},"arbitration_independent":{"type":"boolean"},"merchant_history_count":{"type":"integer","minimum":0,"maximum":9007199254740991},"capabilities":{"type":"object","properties":{"has_arbitration":{"type":"boolean"},"has_refund_path":{"type":"boolean"},"has_milestone_nodes":{"type":"boolean"},"has_compensation_fund":{"type":"boolean"},"has_wip_verification":{"type":"boolean"},"has_messenger":{"type":"boolean"},"has_buy_guard":{"type":"boolean"},"has_dynamic_pricing":{"type":"boolean"},"is_published":{"type":"boolean"},"is_paused":{"type":"boolean"}},"required":["has_arbitration","has_refund_path","has_milestone_nodes","has_compensation_fund","has_wip_verification","has_messenger","has_buy_guard","has_dynamic_pricing","is_published","is_paused"],"additionalProperties":false},"tags":{"type":"array","items":{"type":"string"}},"keywords":{"type":"array","items":{"type":"string"}}},"required":["id","kind","industry","region","capabilities"],"additionalProperties":false},"service":{"type":"object","properties":{"id":{"type":"string","description":"Service/Demand address."},"kind":{"type":"string","enum":["service","demand"],"description":"Whether this is a service or demand."},"owner":{"type":"string"},"industry":{"type":"string","pattern":"^[a-z][a-z0-9_]*$","description":"Industry scenario."},"industry_confidence":{"type":"number","minimum":0,"maximum":1},"region":{"type":"object","properties":{"mode":{"type":"string","enum":["remote","physical"]},"country":{"type":"string"},"province":{"type":"string"},"city":{"type":"string"},"raw":{"type":"string","description":"Original location string (for traceability)."}},"required":["mode","raw"],"additionalProperties":false},"price_min":{"description":"Smallest-unit amount (string to avoid JSON bigint loss).","type":"string"},"price_max":{"description":"Smallest-unit amount (string to avoid JSON bigint loss).","type":"string"},"token_type":{"type":"string"},"ticket_size":{"type":"string","enum":["micro","small","medium","large"]},"trust_score":{"type":"number","minimum":0,"maximum":100},"reputation_like_ratio":{"type":"number","minimum":0,"maximum":1},"arbitration_independent":{"type":"boolean"},"merchant_history_count":{"type":"integer","minimum":0,"maximum":9007199254740991},"capabilities":{"type":"object","properties":{"has_arbitration":{"type":"boolean"},"has_refund_path":{"type":"boolean"},"has_milestone_nodes":{"type":"boolean"},"has_compensation_fund":{"type":"boolean"},"has_wip_verification":{"type":"boolean"},"has_messenger":{"type":"boolean"},"has_buy_guard":{"type":"boolean"},"has_dynamic_pricing":{"type":"boolean"},"is_published":{"type":"boolean"},"is_paused":{"type":"boolean"}},"required":["has_arbitration","has_refund_path","has_milestone_nodes","has_compensation_fund","has_wip_verification","has_messenger","has_buy_guard","has_dynamic_pricing","is_published","is_paused"],"additionalProperties":false},"tags":{"type":"array","items":{"type":"string"}},"keywords":{"type":"array","items":{"type":"string"}}},"required":["id","kind","industry","region","capabilities"],"additionalProperties":false}},"required":["action","demand","service"],"additionalProperties":false},{"type":"object","properties":{"action":{"type":"string","const":"compose_service"},"demand":{"type":"object","properties":{"id":{"type":"string","description":"Service/Demand address."},"kind":{"type":"string","enum":["service","demand"],"description":"Whether this is a service or demand."},"owner":{"type":"string"},"industry":{"type":"string","pattern":"^[a-z][a-z0-9_]*$","description":"Industry scenario."},"industry_confidence":{"type":"number","minimum":0,"maximum":1},"region":{"type":"object","properties":{"mode":{"type":"string","enum":["remote","physical"]},"country":{"type":"string"},"province":{"type":"string"},"city":{"type":"string"},"raw":{"type":"string","description":"Original location string (for traceability)."}},"required":["mode","raw"],"additionalProperties":false},"price_min":{"description":"Smallest-unit amount (string to avoid JSON bigint loss).","type":"string"},"price_max":{"description":"Smallest-unit amount (string to avoid JSON bigint loss).","type":"string"},"token_type":{"type":"string"},"ticket_size":{"type":"string","enum":["micro","small","medium","large"]},"trust_score":{"type":"number","minimum":0,"maximum":100},"reputation_like_ratio":{"type":"number","minimum":0,"maximum":1},"arbitration_independent":{"type":"boolean"},"merchant_history_count":{"type":"integer","minimum":0,"maximum":9007199254740991},"capabilities":{"type":"object","properties":{"has_arbitration":{"type":"boolean"},"has_refund_path":{"type":"boolean"},"has_milestone_nodes":{"type":"boolean"},"has_compensation_fund":{"type":"boolean"},"has_wip_verification":{"type":"boolean"},"has_messenger":{"type":"boolean"},"has_buy_guard":{"type":"boolean"},"has_dynamic_pricing":{"type":"boolean"},"is_published":{"type":"boolean"},"is_paused":{"type":"boolean"}},"required":["has_arbitration","has_refund_path","has_milestone_nodes","has_compensation_fund","has_wip_verification","has_messenger","has_buy_guard","has_dynamic_pricing","is_published","is_paused"],"additionalProperties":false},"tags":{"type":"array","items":{"type":"string"}},"keywords":{"type":"array","items":{"type":"string"}}},"required":["id","kind","industry","region","capabilities"],"additionalProperties":false},"services":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","description":"Service/Demand address."},"kind":{"type":"string","enum":["service","demand"],"description":"Whether this is a service or demand."},"owner":{"type":"string"},"industry":{"type":"string","pattern":"^[a-z][a-z0-9_]*$","description":"Industry scenario."},"industry_confidence":{"type":"number","minimum":0,"maximum":1},"region":{"type":"object","properties":{"mode":{"type":"string","enum":["remote","physical"]},"country":{"type":"string"},"province":{"type":"string"},"city":{"type":"string"},"raw":{"type":"string","description":"Original location string (for traceability)."}},"required":["mode","raw"],"additionalProperties":false},"price_min":{"description":"Smallest-unit amount (string to avoid JSON bigint loss).","type":"string"},"price_max":{"description":"Smallest-unit amount (string to avoid JSON bigint loss).","type":"string"},"token_type":{"type":"string"},"ticket_size":{"type":"string","enum":["micro","small","medium","large"]},"trust_score":{"type":"number","minimum":0,"maximum":100},"reputation_like_ratio":{"type":"number","minimum":0,"maximum":1},"arbitration_independent":{"type":"boolean"},"merchant_history_count":{"type":"integer","minimum":0,"maximum":9007199254740991},"capabilities":{"type":"object","properties":{"has_arbitration":{"type":"boolean"},"has_refund_path":{"type":"boolean"},"has_milestone_nodes":{"type":"boolean"},"has_compensation_fund":{"type":"boolean"},"has_wip_verification":{"type":"boolean"},"has_messenger":{"type":"boolean"},"has_buy_guard":{"type":"boolean"},"has_dynamic_pricing":{"type":"boolean"},"is_published":{"type":"boolean"},"is_paused":{"type":"boolean"}},"required":["has_arbitration","has_refund_path","has_milestone_nodes","has_compensation_fund","has_wip_verification","has_messenger","has_buy_guard","has_dynamic_pricing","is_published","is_paused"],"additionalProperties":false},"tags":{"type":"array","items":{"type":"string"}},"keywords":{"type":"array","items":{"type":"string"}}},"required":["id","kind","industry","region","capabilities"],"additionalProperties":false}}},"required":["action","demand","services"],"additionalProperties":false},{"type":"object","properties":{"action":{"type":"string","const":"compose_generation"},"intent":{"type":"string","minLength":1,"description":"K3-GA2 (G-A generator): the merchant's free-text business intent. Capability adoption is EVIDENCE-GATED — a module is adopted only by an intentSignals match on this text or an explicit `selections` entry; an intent that matches nothing is a blocker (COMPOSE-NO-CAPABILITY-EVIDENCE), never a silent default build."},"selections":{"description":"Merchant-confirmed capability ids (adopted regardless of signal match). List registered ids via industry_pack_operation action='capability_list'.","type":"array","items":{"type":"string"}},"supply_chain":{"description":"Cross-object/cross-Service procurement promises — compiled into money-gate steps on the generated plan and disclosed back under `supply_chain`.","type":"array","items":{"type":"object","properties":{"sub_service":{"type":"string","description":"The procured sub-Service: an on-chain address or a resolvable name."},"axis":{"type":"string","enum":["merchant_procured","user_procured"],"description":"Who owns the fulfilment order — decides which money-gate ties are expressible."},"service_name":{"description":"The host Service's own name (the money gate's host binding); omit = the generated plan's service step name.","type":"string"},"done_node":{"type":"string","description":"The node whose arrival makes the order settle-eligible (e.g. 'completed')."},"done_node_alt":{"description":"A further settle-eligible node.","type":"string"},"done_node_alt2":{"description":"A further settle-eligible node.","type":"string"},"form":{"description":"How the fulfilment fact reaches the host order's money gate (default 'rendezvous' — the only form that proves the pairing).","type":"string","enum":["rendezvous","submission"]},"fact_key":{"description":"Policy key of the forward fulfilment row (default 'fulfilment').","type":"string"},"ack_key":{"description":"Policy key of the buyer acknowledgement (default '<fact_key>_ack').","type":"string"},"ack_window_days":{"description":"merchant_procured only: after this many days the buyer's silence counts as acknowledgement.","type":"integer","minimum":1,"maximum":9007199254740991},"payout_to":{"description":"The fulfilment party's payout address. Absent = no third-party rail.","type":"string"},"payout_rate":{"description":"Basis points of the settlement rail paid to payout_to (default 10000).","type":"integer","minimum":1,"maximum":10000},"repository":{"description":"An existing rendezvous Repository name; one is created when omitted.","type":"string"},"repository_name":{"description":"The name a CREATED rendezvous Repository takes (default '<host>_<sub>_ledger').","type":"string"},"service_step_id":{"description":"Step id of the host Service in the plan being built (default 'service').","type":"string"},"id_prefix":{"description":"Step-id prefix for the emitted objects (default 'sc').","type":"string"}},"required":["sub_service","axis","done_node"],"additionalProperties":false}},"inputs":{"description":"Compile inputs; omitted = the carrier template's own defaults. Minimal honest sellable surface for the pilot carriers: { sales: [{ price: <smallest-unit integer> }] } (+ reward_funding when the carrier pays a review reward) — a plan without a sellable SKU fails reflux audit (PLAN-SALES-01) and comes back infeasible.","type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"name_base":{"description":"Object name base; omit = the carrier template id ('/' -> '_').","type":"string"},"preferred_chain":{"description":"Preferred pilot chain when the adopted set maps onto BOTH pilot chains (e.g. 'chain.data_subscription'); otherwise the first matching chain wins.","type":"string"}},"required":["action","intent"],"additionalProperties":false},{"type":"object","properties":{"action":{"type":"string","const":"demand_match"},"demand_cap":{"type":"object","properties":{"id":{"type":"string","description":"Service/Demand address."},"kind":{"type":"string","enum":["service","demand"],"description":"Whether this is a service or demand."},"owner":{"type":"string"},"industry":{"type":"string","pattern":"^[a-z][a-z0-9_]*$","description":"Industry scenario."},"industry_confidence":{"type":"number","minimum":0,"maximum":1},"region":{"type":"object","properties":{"mode":{"type":"string","enum":["remote","physical"]},"country":{"type":"string"},"province":{"type":"string"},"city":{"type":"string"},"raw":{"type":"string","description":"Original location string (for traceability)."}},"required":["mode","raw"],"additionalProperties":false},"price_min":{"description":"Smallest-unit amount (string to avoid JSON bigint loss).","type":"string"},"price_max":{"description":"Smallest-unit amount (string to avoid JSON bigint loss).","type":"string"},"token_type":{"type":"string"},"ticket_size":{"type":"string","enum":["micro","small","medium","large"]},"trust_score":{"type":"number","minimum":0,"maximum":100},"reputation_like_ratio":{"type":"number","minimum":0,"maximum":1},"arbitration_independent":{"type":"boolean"},"merchant_history_count":{"type":"integer","minimum":0,"maximum":9007199254740991},"capabilities":{"type":"object","properties":{"has_arbitration":{"type":"boolean"},"has_refund_path":{"type":"boolean"},"has_milestone_nodes":{"type":"boolean"},"has_compensation_fund":{"type":"boolean"},"has_wip_verification":{"type":"boolean"},"has_messenger":{"type":"boolean"},"has_buy_guard":{"type":"boolean"},"has_dynamic_pricing":{"type":"boolean"},"is_published":{"type":"boolean"},"is_paused":{"type":"boolean"}},"required":["has_arbitration","has_refund_path","has_milestone_nodes","has_compensation_fund","has_wip_verification","has_messenger","has_buy_guard","has_dynamic_pricing","is_published","is_paused"],"additionalProperties":false},"tags":{"type":"array","items":{"type":"string"}},"keywords":{"type":"array","items":{"type":"string"}}},"required":["id","kind","industry","region","capabilities"],"additionalProperties":false},"services":{"type":"array","items":{"type":"object","properties":{"object":{"type":"string","description":"Service object address."},"description":{"type":"string"},"location":{"type":"string"},"sales":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"price":{"type":"string","description":"Smallest-unit amount (string)."},"wip_hash":{"type":"string"}},"required":["price"],"additionalProperties":false}},"arbitrations":{"type":"array","items":{"type":"string"}},"compensation_fund":{"description":"Smallest-unit amount (string).","type":"string"},"buy_guard":{"anyOf":[{"type":"string"},{"type":"null"}]},"machine":{"anyOf":[{"type":"string"},{"type":"null"}]},"um":{"anyOf":[{"type":"string"},{"type":"null"}]},"bPublished":{"type":"boolean"},"bPaused":{"type":"boolean"},"owner":{"type":"string"},"order_allocators":{},"buyer_feedback":{"type":"object","properties":{"total":{"type":"integer","minimum":0,"maximum":9007199254740991},"likes":{"type":"integer","minimum":0,"maximum":9007199254740991},"completed_orders":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["total","likes"],"additionalProperties":false},"rewards":{"type":"array","items":{"type":"object","properties":{"object":{"type":"string","description":"Reward object address."},"balance":{"description":"Pool balance, smallest-unit string (Balance<T> held on-chain).","type":"string"},"amount_mode":{"description":"fixed = amounts self-computable from the object; submission_computed = amounts resolve from the buyer's passport submission at payout time (not clamped on-chain).","type":"string","enum":["fixed","submission_computed"]},"expiration_ms":{"description":"Claim-window bound (guard expiration, ms-epoch string); null = no expiry read.","anyOf":[{"type":"string"},{"type":"null"}]}},"required":["object"],"additionalProperties":false}}},"required":["object","description","location"],"additionalProperties":false}},"demand_object":{"description":"F-RQ-06 (prescription ⑫): YOUR on-chain Demand object ID (or mark name). When supplied, the handler reads the demand LIVE (presenters_count) at match time and derives `next` from real state — a published demand never gets demand.publish advice again; without it, `next` stays the static publish template with a verify-or-supply precondition.","type":"string"},"presenter_history":{"type":"array","items":{"type":"object","properties":{"demand_id":{"description":"Demand object that received the presentation.","type":"string"},"presenter":{"description":"F-RQ-10: the presenter (service object address) this record is about — records carrying it become that service's counterparty trust evidence (the on-chain writer is the demand OWNER, so the signal cannot be self-authored by the merchant); omit for legacy global-only acceptance scoring.","type":"string"},"presenter_service":{"description":"tv8 F-28: the SERVICE object address the record is about (the value side of the on-chain DemandPresenter entry — the table key is the presenter ACCOUNT). Dual-domain matching accepts either this or `presenter`; chain-faithful readers fill BOTH.","type":"string"},"acceptance_score":{"anyOf":[{"type":"number"},{"type":"null"}],"description":"Demand owner's acceptance score (u8 on-chain, 0-100 scale). null = not yet rated."},"feedback_time":{"description":"Feedback timestamp (ms or s, informational only).","type":"number"}},"required":["acceptance_score"],"additionalProperties":false},"description":"P2-2: presenter acceptance history (demand-side acceptance_score backflow) for the SINGLE party being evaluated (e.g. the merchant behind the candidate service set, or the demand owner being matched). Collect via onchain_table_item_demand_presenter across that party's Demand presenter tables. When the candidate set spans multiple unrelated parties, evaluate per-party or omit — the acceptance rule scores neutral without history."},"injection":{"type":"object","properties":{"intent":{"description":"Free-text intent.","type":"string"},"preferences":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"requirements":{"description":"Hard red lines (block when violated).","type":"array","items":{"type":"object","properties":{"rule_id":{"type":"string"},"condition":{"type":"string","enum":["require","forbid"]},"note":{"type":"string"}},"required":["rule_id","condition"],"additionalProperties":false}},"overrides":{"description":"Enable/disable/reweight rules and data sources.","type":"object","properties":{"rules":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"object","properties":{"enabled":{"type":"boolean"},"weight":{"type":"number"}},"additionalProperties":false}},"data_sources":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"object","properties":{"enabled":{"type":"boolean"}},"additionalProperties":false}}},"additionalProperties":false}},"additionalProperties":false},"account":{"description":"Account address; its persona is auto-applied as the base injection (explicit injection overrides).","type":"string"}},"required":["action","demand_cap","services"],"additionalProperties":false},{"type":"object","properties":{"action":{"type":"string","const":"service_match"},"service_cap":{"type":"object","properties":{"id":{"type":"string","description":"Service/Demand address."},"kind":{"type":"string","enum":["service","demand"],"description":"Whether this is a service or demand."},"owner":{"type":"string"},"industry":{"type":"string","pattern":"^[a-z][a-z0-9_]*$","description":"Industry scenario."},"industry_confidence":{"type":"number","minimum":0,"maximum":1},"region":{"type":"object","properties":{"mode":{"type":"string","enum":["remote","physical"]},"country":{"type":"string"},"province":{"type":"string"},"city":{"type":"string"},"raw":{"type":"string","description":"Original location string (for traceability)."}},"required":["mode","raw"],"additionalProperties":false},"price_min":{"description":"Smallest-unit amount (string to avoid JSON bigint loss).","type":"string"},"price_max":{"description":"Smallest-unit amount (string to avoid JSON bigint loss).","type":"string"},"token_type":{"type":"string"},"ticket_size":{"type":"string","enum":["micro","small","medium","large"]},"trust_score":{"type":"number","minimum":0,"maximum":100},"reputation_like_ratio":{"type":"number","minimum":0,"maximum":1},"arbitration_independent":{"type":"boolean"},"merchant_history_count":{"type":"integer","minimum":0,"maximum":9007199254740991},"capabilities":{"type":"object","properties":{"has_arbitration":{"type":"boolean"},"has_refund_path":{"type":"boolean"},"has_milestone_nodes":{"type":"boolean"},"has_compensation_fund":{"type":"boolean"},"has_wip_verification":{"type":"boolean"},"has_messenger":{"type":"boolean"},"has_buy_guard":{"type":"boolean"},"has_dynamic_pricing":{"type":"boolean"},"is_published":{"type":"boolean"},"is_paused":{"type":"boolean"}},"required":["has_arbitration","has_refund_path","has_milestone_nodes","has_compensation_fund","has_wip_verification","has_messenger","has_buy_guard","has_dynamic_pricing","is_published","is_paused"],"additionalProperties":false},"tags":{"type":"array","items":{"type":"string"}},"keywords":{"type":"array","items":{"type":"string"}}},"required":["id","kind","industry","region","capabilities"],"additionalProperties":false},"demands":{"type":"array","items":{"type":"object","properties":{"object":{"type":"string","description":"Demand object address."},"description":{"type":"string"},"location":{"type":"string"},"rewards":{"type":"array","items":{"type":"string"}},"um":{"anyOf":[{"type":"string"},{"type":"null"}]},"owner":{"type":"string"}},"required":["object","description","location"],"additionalProperties":false}},"presenter_history":{"type":"array","items":{"type":"object","properties":{"demand_id":{"description":"Demand object that received the presentation.","type":"string"},"presenter":{"description":"F-RQ-10: the presenter (service object address) this record is about — records carrying it become that service's counterparty trust evidence (the on-chain writer is the demand OWNER, so the signal cannot be self-authored by the merchant); omit for legacy global-only acceptance scoring.","type":"string"},"presenter_service":{"description":"tv8 F-28: the SERVICE object address the record is about (the value side of the on-chain DemandPresenter entry — the table key is the presenter ACCOUNT). Dual-domain matching accepts either this or `presenter`; chain-faithful readers fill BOTH.","type":"string"},"acceptance_score":{"anyOf":[{"type":"number"},{"type":"null"}],"description":"Demand owner's acceptance score (u8 on-chain, 0-100 scale). null = not yet rated."},"feedback_time":{"description":"Feedback timestamp (ms or s, informational only).","type":"number"}},"required":["acceptance_score"],"additionalProperties":false},"description":"P2-2: presenter acceptance history (demand-side acceptance_score backflow) for the SINGLE party being evaluated (e.g. the merchant behind the candidate service set, or the demand owner being matched). Collect via onchain_table_item_demand_presenter across that party's Demand presenter tables. When the candidate set spans multiple unrelated parties, evaluate per-party or omit — the acceptance rule scores neutral without history."},"injection":{"type":"object","properties":{"intent":{"description":"Free-text intent.","type":"string"},"preferences":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"requirements":{"description":"Hard red lines (block when violated).","type":"array","items":{"type":"object","properties":{"rule_id":{"type":"string"},"condition":{"type":"string","enum":["require","forbid"]},"note":{"type":"string"}},"required":["rule_id","condition"],"additionalProperties":false}},"overrides":{"description":"Enable/disable/reweight rules and data sources.","type":"object","properties":{"rules":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"object","properties":{"enabled":{"type":"boolean"},"weight":{"type":"number"}},"additionalProperties":false}},"data_sources":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"object","properties":{"enabled":{"type":"boolean"}},"additionalProperties":false}}},"additionalProperties":false}},"additionalProperties":false},"account":{"description":"Account address; its persona is auto-applied as the base injection.","type":"string"}},"required":["action","service_cap","demands"],"additionalProperties":false},{"type":"object","properties":{"action":{"type":"string","const":"path_reasoning"},"current_node":{"type":"string"},"perspective":{"type":"string","enum":["merchant","customer","demander","prospect","supplier","collaborator","arbitrator"]},"machine_nodes":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string","description":"Node name."},"pairs":{"type":"array","items":{"type":"object","properties":{"prev_node":{"type":"string"},"threshold":{"type":"number"},"forwards":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string","description":"Forward (operation) name."},"permissionIndex":{"anyOf":[{"type":"number"},{"type":"null"}]},"namedOperator":{"anyOf":[{"type":"string"},{"type":"null"}]},"guard":{"anyOf":[{"type":"string"},{"type":"null"}]},"weight":{"anyOf":[{"type":"number"},{"type":"null"}]}},"required":["name"],"additionalProperties":false}}},"required":["prev_node"],"additionalProperties":false}}},"required":["name"],"additionalProperties":false}},"node_annotations":{"type":"object","properties":{"completed":{"type":"array","items":{"type":"string"}},"refunded":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},"appetite":{"type":"string","enum":["conservative","balanced","aggressive"]},"account":{"description":"Account address; its persona's risk_appetite is used as the default appetite.","type":"string"},"requirements":{"type":"array","items":{"type":"string"}},"order_amount":{"type":"string"},"max_depth":{"type":"integer","minimum":1,"maximum":9007199254740991}},"required":["action","current_node","perspective","machine_nodes"],"additionalProperties":false},{"type":"object","properties":{"action":{"type":"string","const":"evidence_review"},"kind":{"description":"Off-chain evidence kind entering the closure workflow (single-item mode; omit when `items` is given).","type":"string","enum":["signature_photo","voice_recording","delivery_proof","weather_data"]},"hash_committed":{"description":"Whether the evidence hash is committed on-chain (authenticity anchor; single-item mode).","type":"boolean"},"digital_check_passed":{"description":"OCR / machine check passed (e.g. signature recognized, waybill matched).","type":"boolean"},"contradiction":{"description":"A contradicting signal detected (e.g. waybill number mismatch).","type":"boolean"},"items":{"description":"P2-3 list mode: review a COLLECTION of evidence items together → structured usable/manual/rejected list plus `proof_candidates` (auto-passed items with their Proof refs) the dispute initiator may reference in the dispute description (human confirms the final selection — never auto-attached). When omitted, single-item mode requires `kind` + `hash_committed`.","minItems":1,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"description":"Caller-side identifier (file name, Proof object id, repository ref...)."},"kind":{"type":"string","enum":["signature_photo","voice_recording","delivery_proof","weather_data"]},"hash_committed":{"type":"boolean"},"digital_check_passed":{"type":"boolean"},"contradiction":{"type":"boolean"},"proof_ref":{"description":"On-chain Proof object reference (WTS proof) when already anchored.","type":"string"}},"required":["id","kind","hash_committed"],"additionalProperties":false}}},"required":["action"],"additionalProperties":false},{"type":"object","properties":{"action":{"type":"string","const":"discover_services"},"location":{"type":"string","description":"Demand-side location (city/region raw text, or 'remote')."},"region":{"description":"AI-enriched geographic slots for `location` (from public web data). Enrichment makes same-province neighboring cities detectable; without it only exact/contains/remote relations are deterministically reachable.","type":"object","properties":{"country":{"type":"string"},"province":{"description":"Province/state — enables neighboring-city (overlap) matching under 'near'.","type":"string"},"city":{"type":"string"}},"additionalProperties":false},"sensitivity":{"description":"Location gate hardness: strict=100% city match (on-site consumption); near=accept neighboring cities; logistics=region representation, soft signal. Omitted → inferred from description.","type":"string","enum":["strict","near","logistics"]},"description":{"description":"Demand description — used to infer sensitivity when omitted (hotel→strict, parcel→logistics).","type":"string"},"coin_type":{"description":"Exact coin instantiation, e.g. '0x2::wow::WOW'; omit = ALL Service<T> generics.","type":"string"},"name_contains":{"description":"Case-insensitive substring filter on service name.","type":"string"},"max_objects":{"description":"Enumeration cap before filtering (default 200).","type":"integer","minimum":1,"maximum":500},"context_network":{"description":"Network (defaults to the user's current network when omitted).","type":"string"},"no_cache":{"description":"Force fresh on-chain enumeration (bypass the configured local list cache).","type":"boolean"}},"required":["action","location"],"additionalProperties":false},{"type":"object","properties":{"action":{"type":"string","const":"discover_demands"},"location":{"description":"Client-side substring filter on demand.location (omit = all demands).","type":"string"},"match_policy":{"description":"R4 private policy (supply_to_demand direction, e.g. preset 'supplier_hunting'), resolved/applied entirely on-device. discover_demands applies gates+excludes only (no private scoring); weights/rerank are reported as not applicable in policy_effect. Omitted: resolved from the stored chain — account persona match config → match-policy.json (general file) → system persona → engine defaults; policy_effect.policy_source reports the winning layer.","anyOf":[{"type":"string"},{"type":"object","properties":{"policy_id":{"type":"string","minLength":1},"version":{"type":"integer","minimum":0,"maximum":9007199254740991},"direction":{"description":"Default demand_to_supply. A demand_to_supply policy drives match_discover; a supply_to_demand policy drives demand_present / discover_demands (and is rejected by match_discover).","type":"string","enum":["demand_to_supply","supply_to_demand"]},"unknown_policy":{"description":"What a gate with missing input does (K5-05 axiom 3). Default neutral_score (= pass, reported).","type":"string","enum":["pass","drop","neutral_score"]},"gates":{"type":"array","items":{"type":"object","properties":{"dim":{"type":"string","description":"Gate dimension. Enforced client-side: live, price, arb, compensation, machine, messenger, buy_guard, wip_verify, text, owner. Others are reported as ignored (not enforceable on-device yet)."},"op":{"description":"Comparison operator (eq/lte/gte/in/not_in/must_contain/must_not_contain) — validated per dim at apply time.","type":"string"},"value":{"anyOf":[{"type":"boolean"},{"type":"number"},{"type":"string"},{"type":"array","items":{"type":"string"}}]},"params":{"description":"Extra params; `from_budget: true` on a price gate uses the request budget as the threshold.","type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"required":["dim"],"additionalProperties":false}},"excludes":{"type":"array","items":{"type":"object","properties":{"dim":{"type":"string","description":"Exclude dimension. Enforced client-side: blacklist (objects/owners lists). anti_cheat/structure dims are reported as ignored (no client-side facet)."},"objects":{"type":"array","items":{"type":"string"}},"owners":{"type":"array","items":{"type":"string"}},"flags":{"type":"array","items":{"type":"string"}},"source":{"type":"array","items":{"type":"string"}},"rule":{"type":"string"}},"required":["dim"],"additionalProperties":false}},"weights":{"description":"demand_match rule id → weight (region/industry/price/trust/capabilities/tags/acceptance). Unregistered ids are reported as ignored.","type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"number","minimum":0}},"rerank":{"type":"object","properties":{"diversity":{"description":"Greedy per-group cap over the score-ordered list. `permission` is not enforceable client-side yet (reported ignored); use `owner`.","type":"object","properties":{"by":{"type":"string","enum":["owner","permission"]},"max_per_group":{"type":"integer","minimum":1,"maximum":9007199254740991}},"required":["by","max_per_group"],"additionalProperties":false},"explore":{},"llm":{},"fairness":{}},"additionalProperties":false},"recall":{"description":"Server/recall directives — accepted for portability, not enforceable from the client (reported ignored)."},"verify":{"description":"Facet verification directives — accepted for portability, not enforceable client-side (reported ignored)."},"output":{"type":"object","properties":{"top_n":{"type":"integer","minimum":1,"maximum":500},"explain":{"type":"boolean"},"evidence_chain":{},"coverage_report":{}},"additionalProperties":false}},"required":["policy_id"],"additionalProperties":false}]},"max_objects":{"description":"Enumeration cap before filtering (default 200).","type":"integer","minimum":1,"maximum":500},"context_network":{"description":"Network (defaults to the user's current network when omitted).","type":"string"},"no_cache":{"description":"Force fresh on-chain enumeration (bypass the configured local list cache).","type":"boolean"},"account":{"description":"The supplier's account address; its persona's supply_to_demand match config is auto-resolved when no match_policy is passed.","type":"string"}},"required":["action"],"additionalProperties":false},{"type":"object","properties":{"action":{"type":"string","const":"demand_present"},"service_cap":{"type":"object","properties":{"id":{"type":"string","description":"Service/Demand address."},"kind":{"type":"string","enum":["service","demand"],"description":"Whether this is a service or demand."},"owner":{"type":"string"},"industry":{"type":"string","pattern":"^[a-z][a-z0-9_]*$","description":"Industry scenario."},"industry_confidence":{"type":"number","minimum":0,"maximum":1},"region":{"type":"object","properties":{"mode":{"type":"string","enum":["remote","physical"]},"country":{"type":"string"},"province":{"type":"string"},"city":{"type":"string"},"raw":{"type":"string","description":"Original location string (for traceability)."}},"required":["mode","raw"],"additionalProperties":false},"price_min":{"description":"Smallest-unit amount (string to avoid JSON bigint loss).","type":"string"},"price_max":{"description":"Smallest-unit amount (string to avoid JSON bigint loss).","type":"string"},"token_type":{"type":"string"},"ticket_size":{"type":"string","enum":["micro","small","medium","large"]},"trust_score":{"type":"number","minimum":0,"maximum":100},"reputation_like_ratio":{"type":"number","minimum":0,"maximum":1},"arbitration_independent":{"type":"boolean"},"merchant_history_count":{"type":"integer","minimum":0,"maximum":9007199254740991},"capabilities":{"type":"object","properties":{"has_arbitration":{"type":"boolean"},"has_refund_path":{"type":"boolean"},"has_milestone_nodes":{"type":"boolean"},"has_compensation_fund":{"type":"boolean"},"has_wip_verification":{"type":"boolean"},"has_messenger":{"type":"boolean"},"has_buy_guard":{"type":"boolean"},"has_dynamic_pricing":{"type":"boolean"},"is_published":{"type":"boolean"},"is_paused":{"type":"boolean"}},"required":["has_arbitration","has_refund_path","has_milestone_nodes","has_compensation_fund","has_wip_verification","has_messenger","has_buy_guard","has_dynamic_pricing","is_published","is_paused"],"additionalProperties":false},"tags":{"type":"array","items":{"type":"string"}},"keywords":{"type":"array","items":{"type":"string"}}},"required":["id","kind","industry","region","capabilities"],"additionalProperties":false},"location":{"description":"Client-side substring filter on demand.location (omit = all demands).","type":"string"},"match_policy":{"description":"R4 private ranking policy (supply_to_demand direction, e.g. preset 'supplier_hunting'), resolved/applied entirely on-device; the policy and its hash never leave this device. Omitted: resolved from the stored chain — account persona match config → match-policy.json (general file) → system persona → engine defaults; policy_effect.policy_source reports the winning layer.","anyOf":[{"type":"string"},{"type":"object","properties":{"policy_id":{"type":"string","minLength":1},"version":{"type":"integer","minimum":0,"maximum":9007199254740991},"direction":{"description":"Default demand_to_supply. A demand_to_supply policy drives match_discover; a supply_to_demand policy drives demand_present / discover_demands (and is rejected by match_discover).","type":"string","enum":["demand_to_supply","supply_to_demand"]},"unknown_policy":{"description":"What a gate with missing input does (K5-05 axiom 3). Default neutral_score (= pass, reported).","type":"string","enum":["pass","drop","neutral_score"]},"gates":{"type":"array","items":{"type":"object","properties":{"dim":{"type":"string","description":"Gate dimension. Enforced client-side: live, price, arb, compensation, machine, messenger, buy_guard, wip_verify, text, owner. Others are reported as ignored (not enforceable on-device yet)."},"op":{"description":"Comparison operator (eq/lte/gte/in/not_in/must_contain/must_not_contain) — validated per dim at apply time.","type":"string"},"value":{"anyOf":[{"type":"boolean"},{"type":"number"},{"type":"string"},{"type":"array","items":{"type":"string"}}]},"params":{"description":"Extra params; `from_budget: true` on a price gate uses the request budget as the threshold.","type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"required":["dim"],"additionalProperties":false}},"excludes":{"type":"array","items":{"type":"object","properties":{"dim":{"type":"string","description":"Exclude dimension. Enforced client-side: blacklist (objects/owners lists). anti_cheat/structure dims are reported as ignored (no client-side facet)."},"objects":{"type":"array","items":{"type":"string"}},"owners":{"type":"array","items":{"type":"string"}},"flags":{"type":"array","items":{"type":"string"}},"source":{"type":"array","items":{"type":"string"}},"rule":{"type":"string"}},"required":["dim"],"additionalProperties":false}},"weights":{"description":"demand_match rule id → weight (region/industry/price/trust/capabilities/tags/acceptance). Unregistered ids are reported as ignored.","type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"number","minimum":0}},"rerank":{"type":"object","properties":{"diversity":{"description":"Greedy per-group cap over the score-ordered list. `permission` is not enforceable client-side yet (reported ignored); use `owner`.","type":"object","properties":{"by":{"type":"string","enum":["owner","permission"]},"max_per_group":{"type":"integer","minimum":1,"maximum":9007199254740991}},"required":["by","max_per_group"],"additionalProperties":false},"explore":{},"llm":{},"fairness":{}},"additionalProperties":false},"recall":{"description":"Server/recall directives — accepted for portability, not enforceable from the client (reported ignored)."},"verify":{"description":"Facet verification directives — accepted for portability, not enforceable client-side (reported ignored)."},"output":{"type":"object","properties":{"top_n":{"type":"integer","minimum":1,"maximum":500},"explain":{"type":"boolean"},"evidence_chain":{},"coverage_report":{}},"additionalProperties":false}},"required":["policy_id"],"additionalProperties":false}]},"max_objects":{"description":"Enumeration cap before filtering (default 200).","type":"integer","minimum":1,"maximum":500},"limit":{"description":"Top-N matched demands to return (default 5).","type":"integer","minimum":1,"maximum":50},"context_network":{"description":"Network (defaults to the user's current network when omitted).","type":"string"},"no_cache":{"description":"Force fresh on-chain enumeration (bypass the configured local list cache).","type":"boolean"},"injection":{"type":"object","properties":{"intent":{"description":"Free-text intent.","type":"string"},"preferences":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"requirements":{"description":"Hard red lines (block when violated).","type":"array","items":{"type":"object","properties":{"rule_id":{"type":"string"},"condition":{"type":"string","enum":["require","forbid"]},"note":{"type":"string"}},"required":["rule_id","condition"],"additionalProperties":false}},"overrides":{"description":"Enable/disable/reweight rules and data sources.","type":"object","properties":{"rules":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"object","properties":{"enabled":{"type":"boolean"},"weight":{"type":"number"}},"additionalProperties":false}},"data_sources":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"object","properties":{"enabled":{"type":"boolean"}},"additionalProperties":false}}},"additionalProperties":false}},"additionalProperties":false},"account":{"description":"Account address; its persona is auto-applied as the base injection.","type":"string"}},"required":["action","service_cap"],"additionalProperties":false},{"type":"object","properties":{"action":{"type":"string","const":"market_metrics"},"context_network":{"description":"Network (defaults to the user's current network when omitted).","type":"string"},"no_cache":{"description":"Force fresh on-chain enumeration.","type":"boolean"},"limit":{"description":"Max recent NewOrderEvent events to aggregate for the order-flow (GMV/top-services) window (default 100).","type":"integer","minimum":1,"maximum":500}},"required":["action"],"additionalProperties":false},{"type":"object","properties":{"action":{"type":"string","const":"market_operations"},"op":{"type":"string","enum":["journey_funnel","referral_attribution","customer_relationship","dynamic_pricing"],"description":"Which operational aggregation to run."},"due_diligence":{"type":"integer","minimum":0,"maximum":9007199254740991},"orders":{"type":"integer","minimum":0,"maximum":9007199254740991},"completed":{"type":"integer","minimum":0,"maximum":9007199254740991},"reviews":{"type":"integer","minimum":0,"maximum":9007199254740991},"referral_orders":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"referrer":{"type":"string"},"amount":{"type":"string"},"closed":{"type":"boolean"}},"required":["id","referrer","amount","closed"],"additionalProperties":false}},"customer_orders":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"customer":{"type":"string"},"time":{"type":"number"},"disputed":{"type":"boolean"}},"required":["id","customer","time","disputed"],"additionalProperties":false}},"market_signals":{"description":"Market signals for the dynamic_pricing op (non-mandatory merchant pricing suggestion).","type":"object","properties":{"supplyCount":{"type":"integer","minimum":0,"maximum":9007199254740991,"description":"Number of similar Services."},"demandCount":{"type":"integer","minimum":0,"maximum":9007199254740991,"description":"Number of related Demands."},"avgPrice":{"description":"Market average price (smallest-unit string).","type":"string"},"myPrice":{"description":"Current price (smallest-unit string).","type":"string"},"competitorPrices":{"description":"Competitor price list (smallest-unit strings).","type":"array","items":{"type":"string"}},"recentOrderCount":{"description":"Recent order count.","type":"integer","minimum":0,"maximum":9007199254740991},"repeatCustomerRate":{"description":"Repeat customer rate 0-1.","type":"number","minimum":0,"maximum":1}},"required":["supplyCount","demandCount"],"additionalProperties":false}},"required":["action","op"],"additionalProperties":false},{"type":"object","properties":{"action":{"type":"string","const":"anti_cheat"},"service":{"type":"object","properties":{"object":{"type":"string","description":"Service object address."},"arbitrations":{"type":"array","items":{"type":"string"},"description":"Bound Arbitration object addresses."},"compensation_fund":{"type":"string","description":"Compensation fund balance (smallest-unit string)."},"machine":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Bound Machine address (null = none)."},"bPublished":{"type":"boolean","description":"Whether published."}},"required":["object","arbitrations","compensation_fund","machine","bPublished"],"additionalProperties":false},"orders":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"buyer":{"type":"string"},"seller":{"type":"string"},"amount":{"type":"string"},"status":{"type":"string"},"allocation":{"description":"Allocation object (fund-closure evidence).","anyOf":[{"type":"string"},{"type":"null"}]}},"required":["id","buyer","seller","amount","status"],"additionalProperties":false},"description":"Order history evidence."},"reviews":{"type":"array","items":{"type":"object","properties":{"reviewer":{"type":"string"},"rating":{"type":"string","enum":["like","dislike"]},"orderRef":{"type":"string"},"verified":{"type":"boolean"},"timestamp":{"type":"number"}},"required":["reviewer","rating"],"additionalProperties":false},"description":"Review evidence."}},"required":["action","service","orders","reviews"],"additionalProperties":false},{"type":"object","properties":{"action":{"type":"string","const":"match_discover"},"description":{"type":"string","description":"Demand description — drives sensitivity inference + demand capability extraction."},"location":{"type":"string","description":"Demand-side location (city/region raw text, or 'remote')."},"region":{"description":"AI-enriched geographic slots for `location`.","type":"object","properties":{"country":{"type":"string"},"province":{"description":"Province/state — enables neighboring-city (overlap) matching under 'near'.","type":"string"},"city":{"type":"string"}},"additionalProperties":false},"sensitivity":{"description":"Location gate hardness. Omitted → inferred from description.","type":"string","enum":["strict","near","logistics"]},"budget":{"description":"Demand price ceiling (smallest-unit string) — price dimension gate.","type":"string"},"required_capabilities":{"description":"Workflow capabilities the demand REQUIRES (e.g. has_arbitration, has_compensation_fund, has_milestone_nodes, has_refund_path, has_wip_verification, has_messenger, has_buy_guard).","type":"array","items":{"type":"string"}},"category":{"description":"Category match rules key (e.g. 'life_service', 'retail') — applies hard-constraint filtering + re-anchors the six-dimension weights (15 §3). Omit = generic six-dimension scoring.","type":"string"},"coin_type":{"description":"Exact coin instantiation, e.g. '0x2::wow::WOW'; omit = ALL Service<T> generics.","type":"string"},"name_contains":{"description":"Case-insensitive substring filter on service name.","type":"string"},"max_objects":{"description":"Enumeration cap before filtering (default 200).","type":"integer","minimum":1,"maximum":500},"context_network":{"description":"Network (defaults to the user's current network when omitted).","type":"string"},"no_cache":{"description":"Force fresh on-chain enumeration (bypass the configured local list cache).","type":"boolean"},"presenter_history":{"type":"array","items":{"type":"object","properties":{"demand_id":{"description":"Demand object that received the presentation.","type":"string"},"presenter":{"description":"F-RQ-10: the presenter (service object address) this record is about — records carrying it become that service's counterparty trust evidence (the on-chain writer is the demand OWNER, so the signal cannot be self-authored by the merchant); omit for legacy global-only acceptance scoring.","type":"string"},"presenter_service":{"description":"tv8 F-28: the SERVICE object address the record is about (the value side of the on-chain DemandPresenter entry — the table key is the presenter ACCOUNT). Dual-domain matching accepts either this or `presenter`; chain-faithful readers fill BOTH.","type":"string"},"acceptance_score":{"anyOf":[{"type":"number"},{"type":"null"}],"description":"Demand owner's acceptance score (u8 on-chain, 0-100 scale). null = not yet rated."},"feedback_time":{"description":"Feedback timestamp (ms or s, informational only).","type":"number"}},"required":["acceptance_score"],"additionalProperties":false},"description":"P2-2: presenter acceptance history (demand-side acceptance_score backflow) for the SINGLE party being evaluated (e.g. the merchant behind the candidate service set, or the demand owner being matched). Collect via onchain_table_item_demand_presenter across that party's Demand presenter tables. When the candidate set spans multiple unrelated parties, evaluate per-party or omit — the acceptance rule scores neutral without history."},"injection":{"type":"object","properties":{"intent":{"description":"Free-text intent.","type":"string"},"preferences":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"requirements":{"description":"Hard red lines (block when violated).","type":"array","items":{"type":"object","properties":{"rule_id":{"type":"string"},"condition":{"type":"string","enum":["require","forbid"]},"note":{"type":"string"}},"required":["rule_id","condition"],"additionalProperties":false}},"overrides":{"description":"Enable/disable/reweight rules and data sources.","type":"object","properties":{"rules":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"object","properties":{"enabled":{"type":"boolean"},"weight":{"type":"number"}},"additionalProperties":false}},"data_sources":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"object","properties":{"enabled":{"type":"boolean"}},"additionalProperties":false}}},"additionalProperties":false}},"additionalProperties":false},"account":{"description":"Account address; its persona is auto-applied as the base injection.","type":"string"},"match_policy":{"description":"R4 private ranking policy (K5-05 §4): a preset id (default, retail, life_service, trust_first, cross_border, cheap_and_fast, enterprise) or an inline policy object. Applied entirely on-device over the recalled candidates — gates/excludes/weights/rerank with honest `policy_effect` reporting; NEVER sent to the data service. Omitted: resolved from the stored chain — account persona match config → match-policy.json (general file) → system persona → engine defaults; policy_effect.policy_source reports the winning layer.","anyOf":[{"type":"string"},{"type":"object","properties":{"policy_id":{"type":"string","minLength":1},"version":{"type":"integer","minimum":0,"maximum":9007199254740991},"direction":{"description":"Default demand_to_supply. A demand_to_supply policy drives match_discover; a supply_to_demand policy drives demand_present / discover_demands (and is rejected by match_discover).","type":"string","enum":["demand_to_supply","supply_to_demand"]},"unknown_policy":{"description":"What a gate with missing input does (K5-05 axiom 3). Default neutral_score (= pass, reported).","type":"string","enum":["pass","drop","neutral_score"]},"gates":{"type":"array","items":{"type":"object","properties":{"dim":{"type":"string","description":"Gate dimension. Enforced client-side: live, price, arb, compensation, machine, messenger, buy_guard, wip_verify, text, owner. Others are reported as ignored (not enforceable on-device yet)."},"op":{"description":"Comparison operator (eq/lte/gte/in/not_in/must_contain/must_not_contain) — validated per dim at apply time.","type":"string"},"value":{"anyOf":[{"type":"boolean"},{"type":"number"},{"type":"string"},{"type":"array","items":{"type":"string"}}]},"params":{"description":"Extra params; `from_budget: true` on a price gate uses the request budget as the threshold.","type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"required":["dim"],"additionalProperties":false}},"excludes":{"type":"array","items":{"type":"object","properties":{"dim":{"type":"string","description":"Exclude dimension. Enforced client-side: blacklist (objects/owners lists). anti_cheat/structure dims are reported as ignored (no client-side facet)."},"objects":{"type":"array","items":{"type":"string"}},"owners":{"type":"array","items":{"type":"string"}},"flags":{"type":"array","items":{"type":"string"}},"source":{"type":"array","items":{"type":"string"}},"rule":{"type":"string"}},"required":["dim"],"additionalProperties":false}},"weights":{"description":"demand_match rule id → weight (region/industry/price/trust/capabilities/tags/acceptance). Unregistered ids are reported as ignored.","type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"number","minimum":0}},"rerank":{"type":"object","properties":{"diversity":{"description":"Greedy per-group cap over the score-ordered list. `permission` is not enforceable client-side yet (reported ignored); use `owner`.","type":"object","properties":{"by":{"type":"string","enum":["owner","permission"]},"max_per_group":{"type":"integer","minimum":1,"maximum":9007199254740991}},"required":["by","max_per_group"],"additionalProperties":false},"explore":{},"llm":{},"fairness":{}},"additionalProperties":false},"recall":{"description":"Server/recall directives — accepted for portability, not enforceable from the client (reported ignored)."},"verify":{"description":"Facet verification directives — accepted for portability, not enforceable client-side (reported ignored)."},"output":{"type":"object","properties":{"top_n":{"type":"integer","minimum":1,"maximum":500},"explain":{"type":"boolean"},"evidence_chain":{},"coverage_report":{}},"additionalProperties":false}},"required":["policy_id"],"additionalProperties":false}]}},"required":["action","description","location"],"additionalProperties":false},{"type":"object","properties":{"action":{"type":"string","const":"arbitration_score"},"arbitration":{"type":"object","properties":{"object":{"description":"Arbitration object address.","type":"string"},"fee":{"description":"Arbitration fee (smallest-unit string).","type":"string"},"balance":{"description":"Capital pool (smallest-unit string).","type":"string"},"voting_guard_count":{"description":"Number of voting guards (governance distribution proxy).","type":"integer","minimum":0,"maximum":9007199254740991},"bPaused":{"type":"boolean"},"location":{"type":"string"},"has_verified_identity":{"description":"A7: whether the arbitrator has a verified on-chain Personal identity (unknown when omitted → neutral).","type":"boolean"}},"additionalProperties":false},"history":{"description":"Historical Arb cases (pre-aggregated; the on-chain reverse index is a wow data layer deliverable).","type":"array","items":{"type":"object","properties":{"status":{"description":"Arb status (e.g. 'Arbitrated', 'Finished', 'Objectionable').","type":"string"},"time":{"description":"Dispute creation time (ms epoch).","type":"number"},"resolved_time":{"description":"Resolution time (ms epoch).","type":"number"},"indemnity_amount":{"description":"Compensation paid (smallest-unit string; '0'/absent = none).","type":"string"},"feedback_positive":{"type":"boolean"},"objected":{"type":"boolean"}},"additionalProperties":false}},"entity_votes":{"type":"object","properties":{"like_ratio":{"description":"0-1 community like ratio.","type":"number","minimum":0,"maximum":1},"favor":{"description":"Whether peers favorited this entity.","type":"boolean"}},"additionalProperties":false},"fee_median":{"description":"Market fee median (smallest-unit string) for the fee-reasonableness rule.","type":"string"},"injection":{"type":"object","properties":{"intent":{"description":"Free-text intent.","type":"string"},"preferences":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"requirements":{"description":"Hard red lines (block when violated).","type":"array","items":{"type":"object","properties":{"rule_id":{"type":"string"},"condition":{"type":"string","enum":["require","forbid"]},"note":{"type":"string"}},"required":["rule_id","condition"],"additionalProperties":false}},"overrides":{"description":"Enable/disable/reweight rules and data sources.","type":"object","properties":{"rules":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"object","properties":{"enabled":{"type":"boolean"},"weight":{"type":"number"}},"additionalProperties":false}},"data_sources":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"object","properties":{"enabled":{"type":"boolean"}},"additionalProperties":false}}},"additionalProperties":false}},"additionalProperties":false},"account":{"description":"Account address; its persona is auto-applied as the base injection.","type":"string"},"context_network":{"description":"Network (defaults to the user's current network when omitted). Used to auto-fetch real Arb history when `history` is omitted.","type":"string"}},"required":["action","arbitration"],"additionalProperties":false},{"type":"object","properties":{"action":{"type":"string","const":"account_events"},"account":{"description":"Account address to watch for (default account when omitted).","type":"string"},"categories":{"description":"Watcher ids to run (omit = all registered watchers).","type":"array","items":{"type":"string"}},"reviews":{"description":"Review rows (from a Service's ReviewRepository, via onchain_table_data) — enables the reputation_integrity watcher (verification, stats, manipulation detection).","type":"array","items":{"type":"object","properties":{"reviewer":{"type":"string","description":"Reviewer address."},"rating":{"type":"string","enum":["like","dislike"]},"tags":{"type":"array","items":{"type":"string"}},"comment":{"type":"string"},"orderRef":{"description":"Associated order id — the credential for no-order-no-review verification.","type":"string"},"timestamp":{"description":"Submission time (ms epoch).","type":"number"},"verified":{"description":"Whether the review carries a completed-order credential; recomputed when order_history is supplied.","type":"boolean"}},"required":["reviewer","rating"],"additionalProperties":false}},"order_history":{"description":"Order history used to re-derive review credentials (no-order-no-review).","type":"array","items":{"type":"object","properties":{"id":{"type":"string","description":"Order object id."},"status":{"type":"string","description":"Order status (e.g. 'completed', 'success')."}},"required":["id","status"],"additionalProperties":false}},"context_network":{"description":"Network (defaults to the user's current network when omitted).","type":"string"}},"required":["action"],"additionalProperties":false}]}