@wowok/agent-mcp 3.4.0 → 3.4.2

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 (412) hide show
  1. package/README.md +8 -0
  2. package/dist/chain-semantics/composition-truth.d.ts +102 -0
  3. package/dist/chain-semantics/composition-truth.js +1 -0
  4. package/dist/chain-semantics/eval-order.js +1 -1
  5. package/dist/chain-semantics/fund-flow.js +1 -1
  6. package/dist/chain-semantics/index.d.ts +1 -0
  7. package/dist/chain-semantics/index.js +1 -1
  8. package/dist/composition/audit.js +1 -1
  9. package/dist/composition/blueprint-view.d.ts +3 -3
  10. package/dist/composition/blueprint-view.js +1 -1
  11. package/dist/composition/compile.d.ts +24 -3
  12. package/dist/composition/compile.js +1 -1
  13. package/dist/composition/emit-phases.d.ts +206 -0
  14. package/dist/composition/emit-phases.js +1 -0
  15. package/dist/composition/generate.d.ts +40 -0
  16. package/dist/composition/generate.js +1 -0
  17. package/dist/composition/guard-fill.d.ts +44 -0
  18. package/dist/composition/guard-fill.js +1 -0
  19. package/dist/composition/inflight.d.ts +20 -2
  20. package/dist/composition/inflight.js +1 -1
  21. package/dist/composition/input-normalize.d.ts +15 -0
  22. package/dist/composition/input-normalize.js +1 -0
  23. package/dist/composition/materialize.d.ts +18 -13
  24. package/dist/composition/materialize.js +1 -1
  25. package/dist/composition/mode-gates.d.ts +35 -0
  26. package/dist/composition/mode-gates.js +1 -0
  27. package/dist/composition/param-disclosure.js +1 -1
  28. package/dist/composition/plan-retry-ledger.d.ts +21 -0
  29. package/dist/composition/plan-retry-ledger.js +1 -0
  30. package/dist/composition/plan.d.ts +7 -2
  31. package/dist/composition/plan.js +1 -1
  32. package/dist/composition/product-card.d.ts +94 -0
  33. package/dist/composition/product-card.js +1 -0
  34. package/dist/composition/supply-chain-emit.d.ts +46 -0
  35. package/dist/composition/supply-chain-emit.js +1 -0
  36. package/dist/config/config-audit.spec.js +1 -1
  37. package/dist/config/config-warnings.d.ts +2 -0
  38. package/dist/config/config-warnings.js +1 -0
  39. package/dist/config/exposure.d.ts +2 -2
  40. package/dist/config/judgment.d.ts +31 -5
  41. package/dist/config/judgment.js +1 -1
  42. package/dist/config/judgment.spec.js +1 -1
  43. package/dist/config/match-policy-file.d.ts +34 -0
  44. package/dist/config/match-policy-file.js +1 -0
  45. package/dist/config/match-policy-file.spec.d.ts +1 -0
  46. package/dist/config/match-policy-file.spec.js +1 -0
  47. package/dist/config/rule-engine.d.ts +5 -5
  48. package/dist/config/rule-engine.js +1 -1
  49. package/dist/config/runtime.d.ts +0 -1
  50. package/dist/config/runtime.js +1 -1
  51. package/dist/config/severity.d.ts +0 -2
  52. package/dist/config/severity.js +1 -1
  53. package/dist/config/store-policy.spec.js +1 -1
  54. package/dist/config/template-params.d.ts +42 -0
  55. package/dist/config/template-params.js +1 -0
  56. package/dist/config/template-params.spec.d.ts +1 -0
  57. package/dist/config/template-params.spec.js +1 -0
  58. package/dist/data/api/api.spec.js +1 -1
  59. package/dist/data/api/server.js +1 -1
  60. package/dist/data/projection/store.d.ts +2 -1
  61. package/dist/data/projection/store.js +1 -1
  62. package/dist/data/projection/types.d.ts +22 -0
  63. package/dist/data/sync/cdc.d.ts +1 -2
  64. package/dist/data/sync/cdc.js +1 -1
  65. package/dist/evaluation/acceptance.d.ts +8 -0
  66. package/dist/evaluation/acceptance.js +1 -1
  67. package/dist/evaluation/builtins/demand-match.js +1 -1
  68. package/dist/evaluation/builtins/graph-service.spec.js +1 -1
  69. package/dist/evaluation/capability.d.ts +2 -0
  70. package/dist/evaluation/category-match-rules.d.ts +0 -1
  71. package/dist/evaluation/category-match-rules.js +1 -1
  72. package/dist/evaluation/composer.d.ts +25 -0
  73. package/dist/evaluation/composer.js +1 -1
  74. package/dist/evaluation/engine.js +1 -1
  75. package/dist/evaluation/extract.d.ts +7 -0
  76. package/dist/evaluation/extract.js +1 -1
  77. package/dist/evaluation/game-strategy.d.ts +0 -3
  78. package/dist/evaluation/game-strategy.js +1 -1
  79. package/dist/evaluation/match-operation.d.ts +9 -0
  80. package/dist/evaluation/match-operation.js +1 -1
  81. package/dist/evaluation/match-policy-resolver.d.ts +9 -0
  82. package/dist/evaluation/match-policy-resolver.js +1 -0
  83. package/dist/evaluation/match-policy.d.ts +3 -1
  84. package/dist/evaluation/match-policy.js +1 -1
  85. package/dist/evaluation/region.d.ts +0 -6
  86. package/dist/evaluation/region.js +1 -1
  87. package/dist/evaluation/standards.d.ts +2 -1
  88. package/dist/evaluation/standards.js +1 -1
  89. package/dist/evaluation/structured-lines.d.ts +8 -0
  90. package/dist/evaluation/structured-lines.js +1 -0
  91. package/dist/evaluation/types.d.ts +6 -0
  92. package/dist/experience/realtime-feedback.js +1 -1
  93. package/dist/extensions/capability-manifest.d.ts +1 -0
  94. package/dist/extensions/capability-manifest.js +1 -1
  95. package/dist/extensions/capability.d.ts +91 -0
  96. package/dist/extensions/capability.js +1 -0
  97. package/dist/extensions/industry-audit.spec.js +1 -1
  98. package/dist/extensions/industry-pack.d.ts +13 -0
  99. package/dist/extensions/industry-pack.js +1 -1
  100. package/dist/extensions/modes.js +1 -1
  101. package/dist/extensions/registry.d.ts +0 -2
  102. package/dist/extensions/registry.js +1 -1
  103. package/dist/goal/GoalEngine.js +1 -1
  104. package/dist/graph/onchain/analyze.js +1 -1
  105. package/dist/graph/onchain/expand.js +1 -1
  106. package/dist/graph/onchain/exposure.js +1 -1
  107. package/dist/graph/onchain/facts.js +1 -1
  108. package/dist/graph/onchain/order-status.d.ts +0 -1
  109. package/dist/graph/onchain/order-status.js +1 -1
  110. package/dist/harness/recover.js +1 -1
  111. package/dist/harness/verify.d.ts +0 -3
  112. package/dist/harness/verify.js +1 -1
  113. package/dist/intent/types.d.ts +0 -1
  114. package/dist/intent/types.js +1 -1
  115. package/dist/keeper/detectors.js +1 -1
  116. package/dist/keeper/types.d.ts +0 -1
  117. package/dist/keeper/types.js +1 -1
  118. package/dist/knowledge/allocation-risk.d.ts +1 -0
  119. package/dist/knowledge/allocation-risk.js +1 -1
  120. package/dist/knowledge/allocator-rail-verifier.d.ts +6 -1
  121. package/dist/knowledge/allocator-rail-verifier.js +1 -1
  122. package/dist/knowledge/arbitration-ledger.js +1 -1
  123. package/dist/knowledge/arbitration-puzzle.js +1 -1
  124. package/dist/knowledge/arbitration-templates.js +1 -1
  125. package/dist/knowledge/audit-rules.d.ts +4 -3
  126. package/dist/knowledge/audit-rules.js +1 -1
  127. package/dist/knowledge/baselines/judgment-baselines.json +21 -2
  128. package/dist/knowledge/baselines/rules/oracle.json +120 -0
  129. package/dist/knowledge/baselines/rules/plan.json +384 -17
  130. package/dist/knowledge/baselines/rules/progress.json +20 -2
  131. package/dist/knowledge/builtin-templates.d.ts +28 -1
  132. package/dist/knowledge/builtin-templates.js +1 -1
  133. package/dist/knowledge/component-schema.js +1 -1
  134. package/dist/knowledge/contact-templates.d.ts +0 -1
  135. package/dist/knowledge/contact-templates.js +1 -1
  136. package/dist/knowledge/dynamic-pricing.js +1 -1
  137. package/dist/knowledge/fee-param-bindings.js +1 -1
  138. package/dist/knowledge/fund-layer.d.ts +1 -0
  139. package/dist/knowledge/fund-layer.js +1 -1
  140. package/dist/knowledge/game-scenarios.js +1 -1
  141. package/dist/knowledge/getting-started.js +1 -1
  142. package/dist/knowledge/guard-binding-table.d.ts +52 -0
  143. package/dist/knowledge/guard-binding-table.js +1 -0
  144. package/dist/knowledge/guard-binding-verifier.d.ts +30 -0
  145. package/dist/knowledge/guard-binding-verifier.js +1 -0
  146. package/dist/knowledge/guard-bindings.js +1 -1
  147. package/dist/knowledge/guard-blueprint.d.ts +68 -0
  148. package/dist/knowledge/guard-blueprint.js +1 -0
  149. package/dist/knowledge/guard-design-patterns.d.ts +1 -1
  150. package/dist/knowledge/guard-design-patterns.js +1 -1
  151. package/dist/knowledge/guard-field-cognition.js +1 -1
  152. package/dist/knowledge/guard-host-context.d.ts +24 -0
  153. package/dist/knowledge/guard-host-context.js +1 -0
  154. package/dist/knowledge/guard-lint.js +1 -1
  155. package/dist/knowledge/guard-node-gates.d.ts +3 -0
  156. package/dist/knowledge/guard-node-gates.js +1 -1
  157. package/dist/knowledge/guard-puzzle.js +1 -1
  158. package/dist/knowledge/guard-render.js +1 -1
  159. package/dist/knowledge/guard-risk.js +1 -1
  160. package/dist/knowledge/guard-submission-prompt.d.ts +11 -0
  161. package/dist/knowledge/guard-submission-prompt.js +1 -1
  162. package/dist/knowledge/guard-templates.d.ts +1 -1
  163. package/dist/knowledge/guard-templates.js +1 -1
  164. package/dist/knowledge/guard-translation.js +1 -1
  165. package/dist/knowledge/index.d.ts +1 -1
  166. package/dist/knowledge/index.js +1 -1
  167. package/dist/knowledge/industry-generalizer.d.ts +6 -1
  168. package/dist/knowledge/industry-generalizer.js +1 -1
  169. package/dist/knowledge/industry-registry.js +1 -1
  170. package/dist/knowledge/jsonrpc-enum.d.ts +38 -0
  171. package/dist/knowledge/jsonrpc-enum.js +1 -1
  172. package/dist/knowledge/machine-topology.js +1 -1
  173. package/dist/knowledge/machine-translation.js +1 -1
  174. package/dist/knowledge/object-dependency.d.ts +31 -0
  175. package/dist/knowledge/object-dependency.js +1 -0
  176. package/dist/knowledge/onchain-constants.d.ts +2 -0
  177. package/dist/knowledge/onchain-constants.js +1 -1
  178. package/dist/knowledge/param-schema.d.ts +23 -0
  179. package/dist/knowledge/param-schema.js +1 -1
  180. package/dist/knowledge/param-tiers.js +1 -1
  181. package/dist/knowledge/passport-ledger.js +1 -1
  182. package/dist/knowledge/path-oracle/coverage.d.ts +16 -0
  183. package/dist/knowledge/path-oracle/coverage.js +1 -0
  184. package/dist/knowledge/path-oracle/index.d.ts +5 -0
  185. package/dist/knowledge/path-oracle/index.js +1 -0
  186. package/dist/knowledge/path-oracle/products/food-delivery.d.ts +2 -0
  187. package/dist/knowledge/path-oracle/products/food-delivery.js +1 -0
  188. package/dist/knowledge/path-oracle/schema.d.ts +188 -0
  189. package/dist/knowledge/path-oracle/schema.js +1 -0
  190. package/dist/knowledge/pattern-resolutions.d.ts +2 -0
  191. package/dist/knowledge/pattern-resolutions.js +1 -1
  192. package/dist/knowledge/progress-ledger.js +1 -1
  193. package/dist/knowledge/progress-risk.js +1 -1
  194. package/dist/knowledge/projection.spec.js +1 -1
  195. package/dist/knowledge/protocol-facts.js +1 -1
  196. package/dist/knowledge/requirement-families.d.ts +13 -0
  197. package/dist/knowledge/requirement-families.js +1 -0
  198. package/dist/knowledge/reward-ledger.js +1 -1
  199. package/dist/knowledge/scenario-modes.d.ts +1 -0
  200. package/dist/knowledge/scenario-modes.js +1 -1
  201. package/dist/knowledge/semantic-ir.d.ts +4 -0
  202. package/dist/knowledge/semantic-ir.js +1 -1
  203. package/dist/knowledge/service-ledger.d.ts +1 -1
  204. package/dist/knowledge/service-ledger.js +1 -1
  205. package/dist/knowledge/sku-name-gate.d.ts +17 -0
  206. package/dist/knowledge/sku-name-gate.js +1 -0
  207. package/dist/knowledge/supply-chain.d.ts +9 -0
  208. package/dist/knowledge/supply-chain.js +1 -1
  209. package/dist/knowledge/template-loader.d.ts +14 -6
  210. package/dist/knowledge/template-loader.js +1 -1
  211. package/dist/knowledge/template-nav.d.ts +3 -1
  212. package/dist/knowledge/template-nav.js +1 -1
  213. package/dist/knowledge/template-prose.d.ts +1 -1
  214. package/dist/knowledge/template-registry.js +1 -1
  215. package/dist/knowledge/template-scanner.d.ts +62 -0
  216. package/dist/knowledge/template-scanner.js +1 -1
  217. package/dist/knowledge/template-test-profiles.js +1 -1
  218. package/dist/knowledge/tools-reference.js +1 -1
  219. package/dist/knowledge/workflow-guidance.d.ts +5 -0
  220. package/dist/knowledge/workflow-guidance.js +1 -1
  221. package/dist/monitor/MonitorLoop.js +1 -1
  222. package/dist/participation/customer-interest.d.ts +4 -0
  223. package/dist/participation/customer-interest.js +1 -1
  224. package/dist/participation/node-action-advisor.d.ts +4 -0
  225. package/dist/participation/node-action-advisor.js +1 -1
  226. package/dist/participation/radar-core.js +1 -1
  227. package/dist/participation/time-window.d.ts +11 -0
  228. package/dist/participation/time-window.js +1 -1
  229. package/dist/persona/address-format.d.ts +0 -1
  230. package/dist/persona/address-format.js +1 -1
  231. package/dist/persona/bridge.js +1 -1
  232. package/dist/persona/index.d.ts +0 -2
  233. package/dist/persona/index.js +1 -1
  234. package/dist/persona/model.js +1 -1
  235. package/dist/persona/persona-audit.spec.js +1 -1
  236. package/dist/persona/types.d.ts +6 -0
  237. package/dist/playbooks/service-build/business-puzzle.js +1 -1
  238. package/dist/playbooks/service-build/game-theory.d.ts +2 -2
  239. package/dist/playbooks/service-build/intent-analyzer.js +1 -1
  240. package/dist/playbooks/service-build/machine-panorama.js +1 -1
  241. package/dist/playbooks/service-build/merchant-guide.d.ts +50 -23
  242. package/dist/playbooks/service-build/merchant-guide.js +1 -1
  243. package/dist/playbooks/service-build/migration-planner.d.ts +2 -0
  244. package/dist/playbooks/service-build/migration-planner.js +1 -1
  245. package/dist/playbooks/service-build/mode-actions.js +1 -1
  246. package/dist/playbooks/service-build/object-panorama.d.ts +8 -0
  247. package/dist/playbooks/service-build/object-panorama.js +1 -1
  248. package/dist/playbooks/service-build/participation-radar.js +1 -1
  249. package/dist/playbooks/service-build/relationship-profile.js +1 -1
  250. package/dist/playbooks/service-build/reverse-mapping.d.ts +6 -0
  251. package/dist/playbooks/service-build/reverse-mapping.js +1 -1
  252. package/dist/playbooks/service-build/service-panorama.d.ts +1 -0
  253. package/dist/playbooks/service-build/service-panorama.js +1 -1
  254. package/dist/playbooks/service-build/service-quote.js +1 -1
  255. package/dist/playbooks/service-build/service-quote.spec.js +1 -1
  256. package/dist/playbooks/service-build/workflow-design-assessment.d.ts +10 -1
  257. package/dist/playbooks/service-build/workflow-design-assessment.js +1 -1
  258. package/dist/review/index.js +1 -1
  259. package/dist/review/repository.js +1 -1
  260. package/dist/safety/confirm-gate.js +1 -1
  261. package/dist/schema/benchmark-migration/index.d.ts +104 -0
  262. package/dist/schema/benchmark-migration/index.js +1 -1
  263. package/dist/schema/call/allocation.d.ts +15 -6
  264. package/dist/schema/call/allocation.js +1 -1
  265. package/dist/schema/call/base.d.ts +256 -0
  266. package/dist/schema/call/base.js +1 -1
  267. package/dist/schema/call/bridge.d.ts +32 -6
  268. package/dist/schema/call/demand.d.ts +15 -6
  269. package/dist/schema/call/demand.js +1 -1
  270. package/dist/schema/call/guard.d.ts +8 -8
  271. package/dist/schema/call/guard.js +1 -1
  272. package/dist/schema/call/handler.d.ts +3 -0
  273. package/dist/schema/call/handler.js +1 -1
  274. package/dist/schema/call/machine.d.ts +32 -8
  275. package/dist/schema/call/machine.js +1 -1
  276. package/dist/schema/call/order.d.ts +26 -8
  277. package/dist/schema/call/order.js +1 -1
  278. package/dist/schema/call/payment.d.ts +20 -8
  279. package/dist/schema/call/payment.js +1 -1
  280. package/dist/schema/call/permission-handler.js +1 -1
  281. package/dist/schema/call/permission.d.ts +330 -114
  282. package/dist/schema/call/permission.js +1 -1
  283. package/dist/schema/call/personal.d.ts +10 -4
  284. package/dist/schema/call/personal.js +1 -1
  285. package/dist/schema/call/progress.d.ts +16 -4
  286. package/dist/schema/call/proof.js +1 -1
  287. package/dist/schema/call/reward.d.ts +10 -4
  288. package/dist/schema/call/reward.js +1 -1
  289. package/dist/schema/call/semantic.d.ts +1 -0
  290. package/dist/schema/call/semantic.js +1 -1
  291. package/dist/schema/call/service.d.ts +143 -45
  292. package/dist/schema/call/service.js +1 -1
  293. package/dist/schema/call/treasury.d.ts +15 -6
  294. package/dist/schema/call/treasury.js +1 -1
  295. package/dist/schema/common/index.js +1 -1
  296. package/dist/schema/config/index.d.ts +61 -0
  297. package/dist/schema/config/index.js +1 -1
  298. package/dist/schema/envelope-unify.d.ts +4 -0
  299. package/dist/schema/envelope-unify.js +1 -0
  300. package/dist/schema/evaluation/index.d.ts +216 -19
  301. package/dist/schema/evaluation/index.js +1 -1
  302. package/dist/schema/goal/index.d.ts +47 -0
  303. package/dist/schema/goal/planning.d.ts +115 -1
  304. package/dist/schema/goal/planning.js +1 -1
  305. package/dist/schema/industry-pack/index.d.ts +137 -6
  306. package/dist/schema/industry-pack/index.js +1 -1
  307. package/dist/schema/industry-pack/modes.d.ts +6 -6
  308. package/dist/schema/keeper/index.d.ts +26 -0
  309. package/dist/schema/local/index.d.ts +137 -0
  310. package/dist/schema/local/index.js +1 -1
  311. package/dist/schema/local/wip.d.ts +6 -0
  312. package/dist/schema/local/wip.js +1 -1
  313. package/dist/schema/messenger/index.d.ts +26 -0
  314. package/dist/schema/operations.d.ts +345 -84
  315. package/dist/schema/operations.js +1 -1
  316. package/dist/schema/persona/index.d.ts +2907 -640
  317. package/dist/schema/persona/index.js +1 -1
  318. package/dist/schema/query/bi.d.ts +145 -4
  319. package/dist/schema/query/bi.js +1 -1
  320. package/dist/schema/query/index.d.ts +266 -73
  321. package/dist/schema/query/index.js +1 -1
  322. package/dist/schema/schema-query/index.d.ts +1 -1
  323. package/dist/schema/schema-query/index.js +1 -1
  324. package/dist/schema/schema-version.js +1 -1
  325. package/dist/schema/utils/permission-machine-check.d.ts +2 -0
  326. package/dist/schema/utils/permission-machine-check.js +1 -1
  327. package/dist/schema/watch/index.d.ts +16 -0
  328. package/dist/schema/watch/index.js +1 -1
  329. package/dist/schema/workflow/index.d.ts +2 -2
  330. package/dist/schema/workflow/index.js +1 -1
  331. package/dist/schema-query-impl/index.d.ts +1 -1
  332. package/dist/schema-query-impl/index.js +1 -1
  333. package/dist/schemas/account_operation.output.json +94 -0
  334. package/dist/schemas/benchmark_migration_operation.output.json +338 -9
  335. package/dist/schemas/benchmark_migration_operation.schema.json +27 -2
  336. package/dist/schemas/bridge_operation.output.json +94 -0
  337. package/dist/schemas/config_operation.output.json +352 -0
  338. package/dist/schemas/config_operation.schema.json +20 -2
  339. package/dist/schemas/evaluation_operation.output.json +570 -4
  340. package/dist/schemas/evaluation_operation.schema.json +194 -3
  341. package/dist/schemas/goal_operation.schema.json +183 -0
  342. package/dist/schemas/index.json +1 -1
  343. package/dist/schemas/industry_pack_operation.output.json +621 -0
  344. package/dist/schemas/industry_pack_operation.schema.json +20 -2
  345. package/dist/schemas/keeper_operation.output.json +94 -0
  346. package/dist/schemas/local_cache_operation.output.json +94 -0
  347. package/dist/schemas/local_history_operation.output.json +94 -0
  348. package/dist/schemas/local_info_operation.output.json +94 -0
  349. package/dist/schemas/local_mark_operation.output.json +94 -0
  350. package/dist/schemas/messenger_operation.output.json +94 -0
  351. package/dist/schemas/monitor_events.output.json +94 -0
  352. package/dist/schemas/monitor_subscription.output.json +94 -0
  353. package/dist/schemas/onchain_events.output.json +94 -0
  354. package/dist/schemas/onchain_operations.output.json +313 -1
  355. package/dist/schemas/onchain_operations.schema.json +1265 -671
  356. package/dist/schemas/onchain_operations_allocation.schema.json +30 -15
  357. package/dist/schemas/onchain_operations_arbitration.schema.json +9 -2
  358. package/dist/schemas/onchain_operations_contact.schema.json +8 -1
  359. package/dist/schemas/onchain_operations_demand.schema.json +29 -14
  360. package/dist/schemas/onchain_operations_gen_passport.schema.json +8 -1
  361. package/dist/schemas/onchain_operations_guard.schema.json +290 -105
  362. package/dist/schemas/onchain_operations_machine.schema.json +49 -34
  363. package/dist/schemas/onchain_operations_order.schema.json +63 -40
  364. package/dist/schemas/onchain_operations_payment.schema.json +26 -11
  365. package/dist/schemas/onchain_operations_permission.schema.json +362 -235
  366. package/dist/schemas/onchain_operations_personal.schema.json +27 -15
  367. package/dist/schemas/onchain_operations_progress.schema.json +45 -30
  368. package/dist/schemas/onchain_operations_proof.schema.json +9 -2
  369. package/dist/schemas/onchain_operations_repository.schema.json +8 -1
  370. package/dist/schemas/onchain_operations_reward.schema.json +32 -17
  371. package/dist/schemas/onchain_operations_service.schema.json +232 -125
  372. package/dist/schemas/onchain_operations_treasury.schema.json +32 -17
  373. package/dist/schemas/onchain_table_data.output.json +258 -6
  374. package/dist/schemas/onchain_table_data.schema.json +92 -52
  375. package/dist/schemas/persona_operation.output.json +7752 -0
  376. package/dist/schemas/persona_operation.schema.json +1232 -4
  377. package/dist/schemas/query_toolkit.output.json +756 -116
  378. package/dist/schemas/query_toolkit.schema.json +138 -7
  379. package/dist/schemas/schema_query.schema.json +1 -1
  380. package/dist/schemas/watch_operation.output.json +83 -0
  381. package/dist/schemas/wip_file.output.json +8 -0
  382. package/dist/schemas/workflow_operation.schema.json +2 -2
  383. package/dist/tools/handlers/benchmark-migration.d.ts +20 -3
  384. package/dist/tools/handlers/benchmark-migration.js +1 -1
  385. package/dist/tools/handlers/config.js +1 -1
  386. package/dist/tools/handlers/evaluation.js +1 -1
  387. package/dist/tools/handlers/evaluation.spec.js +1 -1
  388. package/dist/tools/handlers/industry-pack.js +1 -1
  389. package/dist/tools/handlers/onchain.d.ts +30 -0
  390. package/dist/tools/handlers/onchain.js +1 -1
  391. package/dist/tools/handlers/persona.js +1 -1
  392. package/dist/tools/handlers/query.d.ts +8 -0
  393. package/dist/tools/handlers/query.js +1 -1
  394. package/dist/tools/handlers/winner-derivation.d.ts +20 -0
  395. package/dist/tools/handlers/winner-derivation.js +1 -0
  396. package/dist/tools/handlers/wip-upload.js +1 -1
  397. package/dist/tools/index.d.ts +1 -0
  398. package/dist/tools/index.js +1 -1
  399. package/dist/tools/registry/business.js +1 -1
  400. package/dist/tools/registry/config.js +1 -1
  401. package/dist/tools/registry/evaluation.js +1 -1
  402. package/dist/tools/registry/identity.js +1 -1
  403. package/dist/tools/registry/query.js +1 -1
  404. package/dist/tools/transport-integrity.d.ts +7 -0
  405. package/dist/tools/transport-integrity.js +1 -0
  406. package/dist/tools/upgrade-check.js +1 -1
  407. package/dist/tools/wrap.d.ts +5 -0
  408. package/dist/tools/wrap.js +1 -1
  409. package/package.json +2 -2
  410. package/dist/extensions/business-modules.d.ts +0 -54
  411. package/dist/extensions/business-modules.js +0 -1
  412. package/dist/schemas/guard-templates.json +0 -379
@@ -2049,6 +2049,14 @@
2049
2049
  "const": "transaction",
2050
2050
  "description": "Discriminator for this result variant. Constraint: always 'transaction'. Example: 'transaction'"
2051
2051
  },
2052
+ "onchain_state": {
2053
+ "description": "F-RQ-13A (prescription ⑨): 'committed' = a REAL transaction with a real digest landed successfully. 'absent' = the digest is a dry_run:* simulation — nothing was submitted, nothing is on chain. Present only when the distinction is decidable from this response.",
2054
+ "type": "string",
2055
+ "enum": [
2056
+ "committed",
2057
+ "absent"
2058
+ ]
2059
+ },
2052
2060
  "receive_receipt": {
2053
2061
  "description": "Receive arrival receipt (M-K3). Present only when the call carried data.receive or data.owner_receive. Read objects_moved: 0 = nothing landed in the wallet despite tx success.",
2054
2062
  "type": "object",
@@ -3255,6 +3263,92 @@
3255
3263
  "top_risks"
3256
3264
  ],
3257
3265
  "additionalProperties": false
3266
+ },
3267
+ "blueprint_verdict": {
3268
+ "description": "Creation-time blueprint verdict: business intent + host rich semantics + logic tree composed and run through the full per-host verification battery BEFORE the guard create tx. Present when binding_hint maps to a catalog host; absent when no host is known (add binding_hint to enable).",
3269
+ "type": "object",
3270
+ "properties": {
3271
+ "host": {
3272
+ "type": "string",
3273
+ "description": "Catalog host id this guard was verified against (guard-host-context)."
3274
+ },
3275
+ "status": {
3276
+ "type": "string",
3277
+ "enum": [
3278
+ "blocked",
3279
+ "proceed_with_warnings",
3280
+ "proceed"
3281
+ ],
3282
+ "description": "Single authority over create readiness. blocked = structural defect, fix BEFORE create (guards are immutable after create)."
3283
+ },
3284
+ "statement": {
3285
+ "type": "string",
3286
+ "description": "One authoritative verdict statement naming the finding codes."
3287
+ },
3288
+ "findings": {
3289
+ "type": "array",
3290
+ "items": {
3291
+ "type": "object",
3292
+ "properties": {
3293
+ "source": {
3294
+ "type": "string",
3295
+ "description": "Which verifier produced the finding (verifyGuardBinding / auditGuardRelies / auditQuoteGuardCandidate / blueprint)."
3296
+ },
3297
+ "code": {
3298
+ "type": "string",
3299
+ "description": "Stable finding id (e.g. MF_SLOT_IDENTITY_ANCHOR, RC_NO_ORDER_ANCHOR)."
3300
+ },
3301
+ "level": {
3302
+ "type": "string",
3303
+ "enum": [
3304
+ "critical",
3305
+ "warning",
3306
+ "info"
3307
+ ]
3308
+ },
3309
+ "detail": {
3310
+ "type": "string"
3311
+ }
3312
+ },
3313
+ "required": [
3314
+ "source",
3315
+ "code",
3316
+ "level",
3317
+ "detail"
3318
+ ],
3319
+ "additionalProperties": false
3320
+ },
3321
+ "description": "All findings from the composed verification battery."
3322
+ },
3323
+ "host_context": {
3324
+ "description": "The host rich semantics this guard inherits — inlined so the design dialogue argues from facts, not memory.",
3325
+ "type": "object",
3326
+ "properties": {
3327
+ "signer_subject": {
3328
+ "type": "string"
3329
+ },
3330
+ "order_anchor": {
3331
+ "type": "string"
3332
+ },
3333
+ "identity_obligation": {
3334
+ "type": "string"
3335
+ }
3336
+ },
3337
+ "required": [
3338
+ "signer_subject",
3339
+ "order_anchor",
3340
+ "identity_obligation"
3341
+ ],
3342
+ "additionalProperties": false
3343
+ }
3344
+ },
3345
+ "required": [
3346
+ "host",
3347
+ "status",
3348
+ "statement",
3349
+ "findings"
3350
+ ],
3351
+ "additionalProperties": false
3258
3352
  }
3259
3353
  },
3260
3354
  "additionalProperties": false
@@ -3650,6 +3744,14 @@
3650
3744
  "note": {
3651
3745
  "description": "Additional note.",
3652
3746
  "type": "string"
3747
+ },
3748
+ "digest": {
3749
+ "description": "REAL transaction digest of this operation (ddmc4 B-37) — paste into onchain_transaction or a block explorer to audit. Absent under dry-run/simulation.",
3750
+ "type": "string"
3751
+ },
3752
+ "signer": {
3753
+ "description": "Signing account's on-chain address — a SEPARATE field from digest ({signer, digest}), never occupying the digest slot.",
3754
+ "type": "string"
3653
3755
  }
3654
3756
  },
3655
3757
  "required": [
@@ -3832,7 +3934,7 @@
3832
3934
  "type": "integer",
3833
3935
  "minimum": 0,
3834
3936
  "maximum": 255,
3835
- "description": "Identifier (0-255) for data lookup in Guard table. Slot consensus (enforced on-chain at guard table construction): 0-220 = user slots (free for business guards); 221-253 = PROTOCOL-RESERVED (rejected on-chain — reserved so future protocol features get fixed slots without colliding with published guards); 255 = ONCE replay-protection slot on Allocation (byte-keyed, the submitted bytes are the once-key — use for per-period keys like period-<N>); 254 = ONCE-FOR-OBJECT slot on Allocation (chain-derived key = bcs(the Allocation's payment_info.for_object); the submitted bytes are ignored and the submission only arms the slot — use for one-shot per-order rails such as full refunds). SLOT 0 SEMANTICS: slot 0 carries the transacted Order address by convention. As a submission slot it is legal on order/allocation/machine rails (the order exists when those verify), but FORBIDDEN on a Service buy_guard — the order does not exist when the buy-time passport is verified, so the mount is refused (service abort 43)."
3937
+ "description": "Identifier (0-255) for data lookup in Guard table. Slot consensus (enforced on-chain at guard table construction): 0-220 = user slots (free for business guards); 221-253 = PROTOCOL-RESERVED (rejected on-chain — reserved so future protocol features get fixed slots without colliding with published guards); 255 = ONCE replay-protection slot on Allocation (byte-keyed, the submitted bytes are the once-key — use for per-period keys like period-<N>); 254 = ONCE-FOR-OBJECT slot on Allocation (chain-derived key = bcs(the Allocation's payment_info.for_object); the submitted bytes are ignored and the submission only arms the slot — use for one-shot per-order rails whose payee is NOT the order itself, such as settlement releases and incentive/bounty claims). NEVER arm 254 on a refund rail: a refund pays the submitted Order through user slot 0, and a refund leg re-entered in a later renewal period would abort E_ONCE_TRIGGERED (16) forever — refund once-ness comes from the terminal-node topology, never from a once slot. SLOT 0 SEMANTICS: slot 0 carries the transacted Order address by convention. As a submission slot it is legal on order/allocation/machine rails (the order exists when those verify), but FORBIDDEN on a Service buy_guard — the order does not exist when the buy-time passport is verified, so the mount is refused (service abort 43)."
3836
3938
  },
3837
3939
  "b_submission": {
3838
3940
  "type": "boolean",
@@ -5290,6 +5392,92 @@
5290
5392
  "top_risks"
5291
5393
  ],
5292
5394
  "additionalProperties": false
5395
+ },
5396
+ "blueprint_verdict": {
5397
+ "description": "Creation-time blueprint verdict: business intent + host rich semantics + logic tree composed and run through the full per-host verification battery BEFORE the guard create tx. Present when binding_hint maps to a catalog host; absent when no host is known (add binding_hint to enable).",
5398
+ "type": "object",
5399
+ "properties": {
5400
+ "host": {
5401
+ "type": "string",
5402
+ "description": "Catalog host id this guard was verified against (guard-host-context)."
5403
+ },
5404
+ "status": {
5405
+ "type": "string",
5406
+ "enum": [
5407
+ "blocked",
5408
+ "proceed_with_warnings",
5409
+ "proceed"
5410
+ ],
5411
+ "description": "Single authority over create readiness. blocked = structural defect, fix BEFORE create (guards are immutable after create)."
5412
+ },
5413
+ "statement": {
5414
+ "type": "string",
5415
+ "description": "One authoritative verdict statement naming the finding codes."
5416
+ },
5417
+ "findings": {
5418
+ "type": "array",
5419
+ "items": {
5420
+ "type": "object",
5421
+ "properties": {
5422
+ "source": {
5423
+ "type": "string",
5424
+ "description": "Which verifier produced the finding (verifyGuardBinding / auditGuardRelies / auditQuoteGuardCandidate / blueprint)."
5425
+ },
5426
+ "code": {
5427
+ "type": "string",
5428
+ "description": "Stable finding id (e.g. MF_SLOT_IDENTITY_ANCHOR, RC_NO_ORDER_ANCHOR)."
5429
+ },
5430
+ "level": {
5431
+ "type": "string",
5432
+ "enum": [
5433
+ "critical",
5434
+ "warning",
5435
+ "info"
5436
+ ]
5437
+ },
5438
+ "detail": {
5439
+ "type": "string"
5440
+ }
5441
+ },
5442
+ "required": [
5443
+ "source",
5444
+ "code",
5445
+ "level",
5446
+ "detail"
5447
+ ],
5448
+ "additionalProperties": false
5449
+ },
5450
+ "description": "All findings from the composed verification battery."
5451
+ },
5452
+ "host_context": {
5453
+ "description": "The host rich semantics this guard inherits — inlined so the design dialogue argues from facts, not memory.",
5454
+ "type": "object",
5455
+ "properties": {
5456
+ "signer_subject": {
5457
+ "type": "string"
5458
+ },
5459
+ "order_anchor": {
5460
+ "type": "string"
5461
+ },
5462
+ "identity_obligation": {
5463
+ "type": "string"
5464
+ }
5465
+ },
5466
+ "required": [
5467
+ "signer_subject",
5468
+ "order_anchor",
5469
+ "identity_obligation"
5470
+ ],
5471
+ "additionalProperties": false
5472
+ }
5473
+ },
5474
+ "required": [
5475
+ "host",
5476
+ "status",
5477
+ "statement",
5478
+ "findings"
5479
+ ],
5480
+ "additionalProperties": false
5293
5481
  }
5294
5482
  },
5295
5483
  "additionalProperties": false
@@ -5685,6 +5873,14 @@
5685
5873
  "note": {
5686
5874
  "description": "Additional note.",
5687
5875
  "type": "string"
5876
+ },
5877
+ "digest": {
5878
+ "description": "REAL transaction digest of this operation (ddmc4 B-37) — paste into onchain_transaction or a block explorer to audit. Absent under dry-run/simulation.",
5879
+ "type": "string"
5880
+ },
5881
+ "signer": {
5882
+ "description": "Signing account's on-chain address — a SEPARATE field from digest ({signer, digest}), never occupying the digest slot.",
5883
+ "type": "string"
5688
5884
  }
5689
5885
  },
5690
5886
  "required": [
@@ -5893,6 +6089,24 @@
5893
6089
  "type": "string",
5894
6090
  "const": "unknown"
5895
6091
  },
6092
+ "onchain_state": {
6093
+ "description": "F-RQ-13A (rq-tn-261030-8693be, prescription ⑨): three-state verdict on what this invocation did to on-chain state. 'committed' = the transaction is on chain (executed, real digest). 'absent' = DETERMINISTICALLY no effect — the call never reached signing (local/pre-flight failure), the Move abort atomically reverted (committed_digest present), or this was a dry-run/simulation; after fixing the cause a resubmission is safe. 'unknown' = the request may have committed and the response was lost (submission_unknown / transport_unavailable / network_error classes) — VERIFY first (onchain_events for the sender / query the expected object / onchain_transaction for any reported digest) before any retry; a blind retry double-purchases (live mainnet ghost orders). Read this field BEFORE result.retryable: retryable describes transport mechanics, onchain_state describes the chain.",
6094
+ "type": "string",
6095
+ "enum": [
6096
+ "committed",
6097
+ "absent",
6098
+ "unknown"
6099
+ ]
6100
+ },
6101
+ "refused": {
6102
+ "description": "h1w9 F-07 (platform-refusal machine contract): true ONLY when the platform itself refused BEFORE any transaction was submitted — a local policy/decision gate, never a chain failure or a transport loss. The refusal reason is error_code; recovery guidance is recovery_hint. A scoring harness MUST read refused=true as 'the platform blocked the action' — never as a successful pass-through and never as an on-chain abort (no gas was spent, nothing to verify).",
6103
+ "type": "boolean"
6104
+ },
6105
+ "tx_submitted": {
6106
+ "description": "h1w9 F-07 companion of refused: EXPLICIT false (never inferred from absence — a missing field is ambiguous with legacy responses). This invocation submitted no transaction. Present ONLY alongside refused=true; a submission whose outcome is unknown uses submission_state instead, and a submitted-but-aborted tx carries committed_digest/onchain_state.",
6107
+ "type": "boolean",
6108
+ "const": false
6109
+ },
5896
6110
  "submission_verification": {
5897
6111
  "description": "F-BS-14/39/63 (harness batch-31, idempotency-key support, structured half): present ONLY when error_code is 'submission_unknown' — the machine-readable verification kit for the unknown outcome. Carries the sender, the time window to query, and any known digests, so verification needs no re-derivation from the call's arguments. Prose guidance lives in result.recovery_hint; this block is the structured counterpart.",
5898
6112
  "type": "object",
@@ -5915,6 +6129,10 @@
5915
6129
  "type": "string"
5916
6130
  },
5917
6131
  "description": "Transport-reported transaction digests, when the error carried one (e.g. TransactionCommitUnknownError). Verify THESE FIRST via onchain_transaction — a direct digest lookup is cheaper and more decisive than any object hunt: executed → adopt; failure status → final (bytes consumed, fix the cause); unresolvable → nothing landed, resubmit is safe. Example: ['5fJgk…']"
6132
+ },
6133
+ "idempotency_key": {
6134
+ "description": "F-RQ-13A (prescription ⑨): the caller-declared idempotency_key of the unknown-outcome call, echoed so the retry decision can name it. The same key will be HELD by the dispatch gate until the key ages out or a deterministic failure clears it — after verifying the outcome absent, retry with a NEW key (the verified retry is a new attempt).",
6135
+ "type": "string"
5918
6136
  }
5919
6137
  },
5920
6138
  "required": [
@@ -6792,6 +7010,92 @@
6792
7010
  "top_risks"
6793
7011
  ],
6794
7012
  "additionalProperties": false
7013
+ },
7014
+ "blueprint_verdict": {
7015
+ "description": "Creation-time blueprint verdict: business intent + host rich semantics + logic tree composed and run through the full per-host verification battery BEFORE the guard create tx. Present when binding_hint maps to a catalog host; absent when no host is known (add binding_hint to enable).",
7016
+ "type": "object",
7017
+ "properties": {
7018
+ "host": {
7019
+ "type": "string",
7020
+ "description": "Catalog host id this guard was verified against (guard-host-context)."
7021
+ },
7022
+ "status": {
7023
+ "type": "string",
7024
+ "enum": [
7025
+ "blocked",
7026
+ "proceed_with_warnings",
7027
+ "proceed"
7028
+ ],
7029
+ "description": "Single authority over create readiness. blocked = structural defect, fix BEFORE create (guards are immutable after create)."
7030
+ },
7031
+ "statement": {
7032
+ "type": "string",
7033
+ "description": "One authoritative verdict statement naming the finding codes."
7034
+ },
7035
+ "findings": {
7036
+ "type": "array",
7037
+ "items": {
7038
+ "type": "object",
7039
+ "properties": {
7040
+ "source": {
7041
+ "type": "string",
7042
+ "description": "Which verifier produced the finding (verifyGuardBinding / auditGuardRelies / auditQuoteGuardCandidate / blueprint)."
7043
+ },
7044
+ "code": {
7045
+ "type": "string",
7046
+ "description": "Stable finding id (e.g. MF_SLOT_IDENTITY_ANCHOR, RC_NO_ORDER_ANCHOR)."
7047
+ },
7048
+ "level": {
7049
+ "type": "string",
7050
+ "enum": [
7051
+ "critical",
7052
+ "warning",
7053
+ "info"
7054
+ ]
7055
+ },
7056
+ "detail": {
7057
+ "type": "string"
7058
+ }
7059
+ },
7060
+ "required": [
7061
+ "source",
7062
+ "code",
7063
+ "level",
7064
+ "detail"
7065
+ ],
7066
+ "additionalProperties": false
7067
+ },
7068
+ "description": "All findings from the composed verification battery."
7069
+ },
7070
+ "host_context": {
7071
+ "description": "The host rich semantics this guard inherits — inlined so the design dialogue argues from facts, not memory.",
7072
+ "type": "object",
7073
+ "properties": {
7074
+ "signer_subject": {
7075
+ "type": "string"
7076
+ },
7077
+ "order_anchor": {
7078
+ "type": "string"
7079
+ },
7080
+ "identity_obligation": {
7081
+ "type": "string"
7082
+ }
7083
+ },
7084
+ "required": [
7085
+ "signer_subject",
7086
+ "order_anchor",
7087
+ "identity_obligation"
7088
+ ],
7089
+ "additionalProperties": false
7090
+ }
7091
+ },
7092
+ "required": [
7093
+ "host",
7094
+ "status",
7095
+ "statement",
7096
+ "findings"
7097
+ ],
7098
+ "additionalProperties": false
6795
7099
  }
6796
7100
  },
6797
7101
  "additionalProperties": false
@@ -7187,6 +7491,14 @@
7187
7491
  "note": {
7188
7492
  "description": "Additional note.",
7189
7493
  "type": "string"
7494
+ },
7495
+ "digest": {
7496
+ "description": "REAL transaction digest of this operation (ddmc4 B-37) — paste into onchain_transaction or a block explorer to audit. Absent under dry-run/simulation.",
7497
+ "type": "string"
7498
+ },
7499
+ "signer": {
7500
+ "description": "Signing account's on-chain address — a SEPARATE field from digest ({signer, digest}), never occupying the digest slot.",
7501
+ "type": "string"
7190
7502
  }
7191
7503
  },
7192
7504
  "required": [