@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,2985 +0,0 @@
1
- {
2
- "$schema": "http://json-schema.org/draft-07/schema#",
3
- "$id": "https://wowok.net/schemas/industry_pack_operation.output.json",
4
- "title": "Industry Pack - Knowledge Template Orchestration",
5
- "description": "Manage industry knowledge packs (distributable, registrable, versionable units carrying one industry's object-shape, matching rules, and role personae). Actions: scaffold (generate template skeleton), list (registered packs), scan (default directory).",
6
- "type": "object",
7
- "properties": {
8
- "result": {
9
- "oneOf": [
10
- {
11
- "type": "object",
12
- "properties": {
13
- "action": {
14
- "type": "string",
15
- "const": "scaffold"
16
- },
17
- "ok": {
18
- "type": "boolean",
19
- "description": "Whether the skeleton was created."
20
- },
21
- "dir": {
22
- "type": "string",
23
- "description": "Absolute path of the created pack directory."
24
- },
25
- "files": {
26
- "type": "array",
27
- "items": {
28
- "type": "string"
29
- },
30
- "description": "Created file paths (relative to dir)."
31
- },
32
- "errors": {
33
- "type": "array",
34
- "items": {
35
- "type": "string"
36
- },
37
- "description": "Validation/creation errors (empty = ok)."
38
- }
39
- },
40
- "required": [
41
- "action",
42
- "ok",
43
- "dir",
44
- "files",
45
- "errors"
46
- ],
47
- "additionalProperties": false
48
- },
49
- {
50
- "type": "object",
51
- "properties": {
52
- "action": {
53
- "type": "string",
54
- "const": "list"
55
- },
56
- "packs": {
57
- "type": "array",
58
- "items": {
59
- "type": "object",
60
- "properties": {
61
- "name": {
62
- "type": "string"
63
- },
64
- "kind": {
65
- "type": "string",
66
- "enum": [
67
- "full",
68
- "stub"
69
- ],
70
- "description": "'full' = a real pack registering at least one business layer (dispute/compliance/supply/rules/playbook); 'stub' = a builtin-mode alias carrying only mode/match data (its missing layers are named by `get`)."
71
- },
72
- "version": {
73
- "type": "string"
74
- },
75
- "layers": {
76
- "type": "array",
77
- "items": {
78
- "type": "string"
79
- }
80
- },
81
- "product_refs": {
82
- "type": "array",
83
- "items": {
84
- "type": "string"
85
- },
86
- "description": "Reference platforms mirrored by the pack's builtin templates."
87
- },
88
- "registered_at": {
89
- "type": "number"
90
- }
91
- },
92
- "required": [
93
- "name",
94
- "kind",
95
- "version",
96
- "layers",
97
- "product_refs",
98
- "registered_at"
99
- ],
100
- "additionalProperties": false
101
- },
102
- "description": "Currently registered packs."
103
- }
104
- },
105
- "required": [
106
- "action",
107
- "packs"
108
- ],
109
- "additionalProperties": false
110
- },
111
- {
112
- "type": "object",
113
- "properties": {
114
- "action": {
115
- "type": "string",
116
- "const": "scan"
117
- },
118
- "results": {
119
- "type": "array",
120
- "items": {
121
- "type": "object",
122
- "properties": {
123
- "ok": {
124
- "type": "boolean"
125
- },
126
- "errors": {
127
- "type": "array",
128
- "items": {
129
- "type": "string"
130
- }
131
- },
132
- "registered": {
133
- "type": "array",
134
- "items": {
135
- "type": "string"
136
- }
137
- }
138
- },
139
- "required": [
140
- "ok",
141
- "errors",
142
- "registered"
143
- ],
144
- "additionalProperties": false
145
- },
146
- "description": "One registration result per scanned pack directory."
147
- }
148
- },
149
- "required": [
150
- "action",
151
- "results"
152
- ],
153
- "additionalProperties": false
154
- },
155
- {
156
- "type": "object",
157
- "properties": {
158
- "action": {
159
- "type": "string",
160
- "const": "repair_builtin_templates"
161
- },
162
- "dir": {
163
- "type": "string"
164
- },
165
- "reseeded_count": {
166
- "type": "integer",
167
- "minimum": 0,
168
- "maximum": 9007199254740991
169
- },
170
- "requires_authorization": {
171
- "description": "true when the call was a plan-only PREVIEW (no writes). Re-call with authorize=true after the user explicitly confirms to execute the reseed.",
172
- "type": "boolean"
173
- },
174
- "results": {
175
- "type": "array",
176
- "items": {
177
- "type": "object",
178
- "properties": {
179
- "template": {
180
- "type": "string"
181
- },
182
- "status": {
183
- "type": "string"
184
- },
185
- "path": {
186
- "type": "string"
187
- },
188
- "detail": {
189
- "type": "string"
190
- }
191
- },
192
- "required": [
193
- "template",
194
- "status",
195
- "path"
196
- ],
197
- "additionalProperties": false
198
- }
199
- },
200
- "note": {
201
- "type": "string"
202
- }
203
- },
204
- "required": [
205
- "action",
206
- "dir",
207
- "reseeded_count",
208
- "results",
209
- "note"
210
- ],
211
- "additionalProperties": false
212
- },
213
- {
214
- "type": "object",
215
- "properties": {
216
- "action": {
217
- "type": "string",
218
- "const": "template_drift"
219
- },
220
- "dir": {
221
- "type": "string"
222
- },
223
- "drift_count": {
224
- "type": "integer",
225
- "minimum": 0,
226
- "maximum": 9007199254740991
227
- },
228
- "drift": {
229
- "type": "array",
230
- "items": {
231
- "type": "object",
232
- "properties": {
233
- "template": {
234
- "type": "string"
235
- },
236
- "path": {
237
- "type": "string"
238
- },
239
- "state": {
240
- "type": "string"
241
- },
242
- "detail": {
243
- "type": "string"
244
- }
245
- },
246
- "required": [
247
- "template",
248
- "path",
249
- "state",
250
- "detail"
251
- ],
252
- "additionalProperties": false
253
- }
254
- },
255
- "note": {
256
- "type": "string"
257
- }
258
- },
259
- "required": [
260
- "action",
261
- "dir",
262
- "drift_count",
263
- "drift",
264
- "note"
265
- ],
266
- "additionalProperties": false
267
- },
268
- {
269
- "type": "object",
270
- "properties": {
271
- "action": {
272
- "type": "string",
273
- "const": "resolve"
274
- },
275
- "dir": {
276
- "type": "string",
277
- "description": "Absolute industry root directory."
278
- }
279
- },
280
- "required": [
281
- "action",
282
- "dir"
283
- ],
284
- "additionalProperties": false
285
- },
286
- {
287
- "type": "object",
288
- "properties": {
289
- "action": {
290
- "type": "string",
291
- "const": "list_files"
292
- },
293
- "dir": {
294
- "type": "string",
295
- "description": "Absolute industry root directory."
296
- },
297
- "files": {
298
- "type": "array",
299
- "items": {
300
- "type": "object",
301
- "properties": {
302
- "path": {
303
- "type": "string",
304
- "description": "Path relative to the industry root."
305
- },
306
- "is_dir": {
307
- "type": "boolean"
308
- },
309
- "size": {
310
- "type": "number",
311
- "description": "File size in bytes (0 for directories)."
312
- },
313
- "mtime": {
314
- "type": "number",
315
- "description": "Last-modified time (epoch ms)."
316
- }
317
- },
318
- "required": [
319
- "path",
320
- "is_dir",
321
- "size",
322
- "mtime"
323
- ],
324
- "additionalProperties": false
325
- },
326
- "description": "Files under the industry root."
327
- }
328
- },
329
- "required": [
330
- "action",
331
- "dir",
332
- "files"
333
- ],
334
- "additionalProperties": false
335
- },
336
- {
337
- "type": "object",
338
- "properties": {
339
- "action": {
340
- "type": "string",
341
- "const": "read_file"
342
- },
343
- "path": {
344
- "type": "string",
345
- "description": "Absolute path of the read file."
346
- },
347
- "content": {
348
- "type": "string",
349
- "description": "File content (text)."
350
- }
351
- },
352
- "required": [
353
- "action",
354
- "path",
355
- "content"
356
- ],
357
- "additionalProperties": false
358
- },
359
- {
360
- "type": "object",
361
- "properties": {
362
- "action": {
363
- "type": "string",
364
- "const": "write_file"
365
- },
366
- "path": {
367
- "type": "string",
368
- "description": "Absolute path of the written file."
369
- },
370
- "ok": {
371
- "type": "boolean",
372
- "description": "Whether the file was written."
373
- },
374
- "restamped": {
375
- "description": "true when the content equaled a builtin template's canonical body and was written with a fresh release stamp (b9-2: keeps the sentinel hash bound so the seed-upgrade channel stays reachable).",
376
- "type": "boolean"
377
- },
378
- "note": {
379
- "description": "Human-readable note (set when restamped).",
380
- "type": "string"
381
- }
382
- },
383
- "required": [
384
- "action",
385
- "path",
386
- "ok"
387
- ],
388
- "additionalProperties": false
389
- },
390
- {
391
- "type": "object",
392
- "properties": {
393
- "action": {
394
- "type": "string",
395
- "const": "get"
396
- },
397
- "category": {
398
- "type": "string",
399
- "description": "Industry name."
400
- },
401
- "layer": {
402
- "description": "Echoes the requested single-layer selector (absent = full projection).",
403
- "type": "string",
404
- "enum": [
405
- "mode",
406
- "match",
407
- "dispute",
408
- "compliance",
409
- "supply",
410
- "rules",
411
- "playbook",
412
- "template",
413
- "params",
414
- "components"
415
- ]
416
- },
417
- "kind": {
418
- "description": "Registered pack completeness (M-K14): absent when the pack is not registered.",
419
- "type": "string",
420
- "enum": [
421
- "full",
422
- "stub"
423
- ]
424
- },
425
- "layers": {
426
- "description": "Layers the registered pack declares (absent when the pack is not registered).",
427
- "type": "array",
428
- "items": {
429
- "type": "string"
430
- }
431
- },
432
- "missing_layers": {
433
- "description": "Standard business layers NOT registered for this pack (stub packs list dispute/compliance/supply/rules/playbook here) — data was not silently omitted.",
434
- "type": "array",
435
- "items": {
436
- "type": "string"
437
- }
438
- },
439
- "note": {
440
- "description": "Named explanation for missing layers or template listing scope.",
441
- "type": "string"
442
- },
443
- "template": {
444
- "description": "Full builtin catalog template projection (get + layer='template' with a template id)."
445
- },
446
- "templates": {
447
- "description": "Template summaries for the industry (get + layer='template' without a template id).",
448
- "type": "array",
449
- "items": {
450
- "type": "object",
451
- "properties": {
452
- "id": {
453
- "type": "string",
454
- "description": "Template id '<industry>/<variant>'."
455
- },
456
- "variant": {
457
- "type": "string"
458
- },
459
- "product_ref": {
460
- "type": "string",
461
- "description": "Benchmark product this archetype models."
462
- },
463
- "key_risk": {
464
- "type": "string",
465
- "description": "Primary risk this template mitigates."
466
- }
467
- },
468
- "required": [
469
- "id",
470
- "variant",
471
- "product_ref",
472
- "key_risk"
473
- ],
474
- "additionalProperties": false
475
- }
476
- },
477
- "mode": {
478
- "description": "Registered industry MODE data (key_risk/needs/analyze defaults), if any.",
479
- "type": "object",
480
- "properties": {
481
- "name": {
482
- "type": "string",
483
- "description": "Mode name."
484
- },
485
- "display_name": {
486
- "type": "string",
487
- "description": "Mode display name."
488
- },
489
- "key_risk": {
490
- "type": "string",
491
- "description": "The industry's dominant risk."
492
- },
493
- "needs": {
494
- "type": "array",
495
- "items": {
496
- "type": "string"
497
- },
498
- "description": "Industry need descriptions (satisfaction requires the evaluation puzzle)."
499
- },
500
- "analyze_questions": {
501
- "description": "Industry-embedded Analyze key questions (max 2) — the fallback follow-ups when the user's persona has none embedded.",
502
- "type": "array",
503
- "items": {
504
- "type": "string"
505
- }
506
- }
507
- },
508
- "required": [
509
- "name",
510
- "display_name",
511
- "key_risk",
512
- "needs"
513
- ],
514
- "additionalProperties": false
515
- },
516
- "query": {
517
- "description": "Echoes the 'query' used to rank parameters.",
518
- "type": "string"
519
- },
520
- "param_summary": {
521
- "description": "Counts over the returned param plane (absent unless layer='params').",
522
- "type": "object",
523
- "properties": {
524
- "total": {
525
- "type": "number",
526
- "description": "Declared parameters of this template."
527
- },
528
- "editable": {
529
- "type": "number",
530
- "description": "Parameters the front stage may render as an editable control."
531
- },
532
- "live": {
533
- "type": "number",
534
- "description": "Parameters proven to change the compiled plan."
535
- },
536
- "inert": {
537
- "type": "number",
538
- "description": "Parameters that compile to the same plan (shown, not offered)."
539
- },
540
- "not_flippable": {
541
- "type": "number",
542
- "description": "Parameters with no numeric probe (free-text)."
543
- },
544
- "hidden": {
545
- "type": "number",
546
- "description": "Prose directives: listed for completeness, never offered."
547
- },
548
- "undescribed": {
549
- "type": "number",
550
- "description": "Rows whose meaning is not curated yet (honest fallback)."
551
- }
552
- },
553
- "required": [
554
- "total",
555
- "editable",
556
- "live",
557
- "inert",
558
- "not_flippable",
559
- "hidden",
560
- "undescribed"
561
- ],
562
- "additionalProperties": false
563
- },
564
- "params": {
565
- "description": "Full param plane in business order: key, tier/tier_name, tags, kind (money/ratio/duration/count/enum/flag/text/list), unit/unit_hint, meaning, bounds (enterable range: rates 0..10000, amounts/counts non-negative), default, allowed values (enums), disclosure, selector, status, effect, landing, landing_line, editable, inert_reason (why a row cannot be set).",
566
- "type": "array",
567
- "items": {
568
- "type": "object",
569
- "propertyNames": {
570
- "type": "string"
571
- },
572
- "additionalProperties": {}
573
- }
574
- },
575
- "param_matches": {
576
- "description": "Ranked parameter hits for 'query' — each carries score + explainable reasons (key / key-word / tag / alias / meaning / facet). Empty means the phrase names no setting. A query made only of tag names ('pricing', 'risk') is a facet request: it returns that slice in tier order.",
577
- "type": "array",
578
- "items": {
579
- "type": "object",
580
- "propertyNames": {
581
- "type": "string"
582
- },
583
- "additionalProperties": {}
584
- }
585
- },
586
- "component_summary": {
587
- "description": "Counts over the returned component plane (absent unless layer='components').",
588
- "type": "object",
589
- "properties": {
590
- "total": {
591
- "type": "number",
592
- "description": "Components on the plane for this template."
593
- },
594
- "configurable": {
595
- "type": "number",
596
- "description": "Components the merchant can configure."
597
- },
598
- "fixed": {
599
- "type": "number",
600
- "description": "Components that cannot be configured (each carries why_not)."
601
- },
602
- "hardcoded_splits": {
603
- "type": "number",
604
- "description": "Allocator rows whose money split is a genuine literal in the template body (rail/unset/surplus rows excluded — they are not splits)."
605
- },
606
- "structural_rails": {
607
- "type": "number",
608
- "description": "Allocator rows that pay the entire escrow (100%): the payout rail itself, not a rate."
609
- },
610
- "unset_legs": {
611
- "type": "number",
612
- "description": "Allocator rows at 0 bps: declared placeholder legs (usually the order-side residual of a two-leg group)."
613
- },
614
- "surplus_rows": {
615
- "type": "number",
616
- "description": "Allocator rows whose size is the remainder of the other rows."
617
- },
618
- "by_family": {
619
- "type": "object",
620
- "propertyNames": {
621
- "type": "string"
622
- },
623
- "additionalProperties": {
624
- "type": "number"
625
- },
626
- "description": "Component counts by family (service/sales/allocator/allocation/machine/guard/repository/reward/arbitration/permission/treasury)."
627
- }
628
- },
629
- "required": [
630
- "total",
631
- "configurable",
632
- "fixed",
633
- "hardcoded_splits",
634
- "structural_rails",
635
- "unset_legs",
636
- "surplus_rows",
637
- "by_family"
638
- ],
639
- "additionalProperties": false
640
- },
641
- "components": {
642
- "description": "Full component plane: id, family, what (business meaning), how (surface: create / pre-publish / append-only / post-publish / immutable, and via: the MCP field path), effect (what changes on chain once it takes effect), related (bound objects / guard / fee_param / node), configurable, freeze (allocator rows only: rail = full-escrow payout rail, unset = 0 bps placeholder leg, split = genuine split frozen in the template body, surplus = remainder row), why_not (present on every non-configurable component).",
643
- "type": "array",
644
- "items": {
645
- "type": "object",
646
- "propertyNames": {
647
- "type": "string"
648
- },
649
- "additionalProperties": {}
650
- }
651
- },
652
- "component_matches": {
653
- "description": "Ranked component hits for 'query' (per-template), each headed by its template id. Empty means the phrase names no component — nothing is guessed.",
654
- "type": "array",
655
- "items": {
656
- "type": "object",
657
- "propertyNames": {
658
- "type": "string"
659
- },
660
- "additionalProperties": {}
661
- }
662
- },
663
- "dispute": {
664
- "description": "Registered dispute rules (if any)."
665
- },
666
- "compliance": {
667
- "description": "Registered compliance rules (if any)."
668
- },
669
- "supply": {
670
- "description": "Registered supply rules (if any)."
671
- },
672
- "rules": {
673
- "description": "Registered declarative industry rules (if any)."
674
- },
675
- "playbook": {
676
- "description": "Registered playbook (if any)."
677
- }
678
- },
679
- "required": [
680
- "action",
681
- "category"
682
- ],
683
- "additionalProperties": false
684
- },
685
- {
686
- "type": "object",
687
- "properties": {
688
- "action": {
689
- "type": "string",
690
- "const": "capability_list"
691
- },
692
- "total": {
693
- "type": "number",
694
- "description": "Capabilities in the filtered registry view."
695
- },
696
- "capabilities": {
697
- "type": "array",
698
- "items": {
699
- "type": "object",
700
- "properties": {
701
- "id": {
702
- "type": "string"
703
- },
704
- "name": {
705
- "type": "string"
706
- },
707
- "group": {
708
- "type": "string"
709
- },
710
- "description": {
711
- "type": "string"
712
- },
713
- "source": {
714
- "type": "string",
715
- "description": "'core' = the 18 former business modules; 'composition' = cross-object composition seeds."
716
- },
717
- "requires": {
718
- "type": "array",
719
- "items": {
720
- "type": "string"
721
- },
722
- "description": "Capability ids that must be adopted together."
723
- },
724
- "excludes": {
725
- "type": "array",
726
- "items": {
727
- "type": "string"
728
- },
729
- "description": "Capability ids that cannot coexist in one selection."
730
- },
731
- "provides": {
732
- "type": "array",
733
- "items": {
734
- "type": "string"
735
- },
736
- "description": "WorkflowCapabilities bits the selection can claim."
737
- },
738
- "requires_keeper": {
739
- "type": "boolean"
740
- }
741
- },
742
- "required": [
743
- "id",
744
- "name",
745
- "group",
746
- "description",
747
- "source",
748
- "requires",
749
- "excludes",
750
- "provides",
751
- "requires_keeper"
752
- ],
753
- "additionalProperties": false
754
- },
755
- "description": "Registry view in registry order."
756
- }
757
- },
758
- "required": [
759
- "action",
760
- "total",
761
- "capabilities"
762
- ],
763
- "additionalProperties": false
764
- },
765
- {
766
- "type": "object",
767
- "properties": {
768
- "action": {
769
- "type": "string",
770
- "const": "capability_get"
771
- },
772
- "capability": {
773
- "description": "Full capability card: identity, group, intent (guard design pattern ids — the backend truth), binds, requires/excludes (lattice edges), provides, params, risks, disclosures, cost, requiredConstraints, evaluationImpact, industryFit, intentSignal vocabulary is internal, userProtections, merchantObligations, keeper duty."
774
- }
775
- },
776
- "required": [
777
- "action",
778
- "capability"
779
- ],
780
- "additionalProperties": false
781
- },
782
- {
783
- "type": "object",
784
- "properties": {
785
- "action": {
786
- "type": "string",
787
- "const": "compose_probe"
788
- },
789
- "capabilities": {
790
- "type": "array",
791
- "items": {
792
- "type": "string"
793
- },
794
- "description": "The probed selection (deduplicated)."
795
- },
796
- "feasible": {
797
- "type": "boolean",
798
- "description": "true = no lattice or compile blocker. Every false is backed by named blockers."
799
- },
800
- "blockers": {
801
- "type": "array",
802
- "items": {
803
- "type": "object",
804
- "properties": {
805
- "code": {
806
- "type": "string",
807
- "description": "COMPOSE-UNKNOWN-CAPABILITY / COMPOSE-REQUIRES-MISSING / COMPOSE-EXCLUDES-CONFLICT / COMPOSE-BASE-TEMPLATE-UNKNOWN or a compile/audit code."
808
- },
809
- "detail": {
810
- "type": "string"
811
- }
812
- },
813
- "required": [
814
- "code",
815
- "detail"
816
- ],
817
- "additionalProperties": false
818
- },
819
- "description": "Named findings — the probe measures, it never guesses."
820
- },
821
- "risks": {
822
- "type": "array",
823
- "items": {
824
- "type": "string"
825
- },
826
- "description": "Aggregated risk notes of the selection."
827
- },
828
- "disclosures": {
829
- "type": "array",
830
- "items": {
831
- "type": "string"
832
- },
833
- "description": "Aggregated disclosure obligations of the selection."
834
- },
835
- "cost_delta": {
836
- "type": "object",
837
- "properties": {
838
- "gas_objects": {
839
- "type": "number",
840
- "description": "Estimated extra on-chain objects beyond the base build."
841
- },
842
- "funds": {
843
- "type": "array",
844
- "items": {
845
- "type": "string"
846
- },
847
- "description": "Pools the merchant must fill (e.g. compensation_fund)."
848
- }
849
- },
850
- "required": [
851
- "gas_objects",
852
- "funds"
853
- ],
854
- "additionalProperties": false,
855
- "description": "Structural cost delta of the selection."
856
- },
857
- "provides": {
858
- "type": "array",
859
- "items": {
860
- "type": "string"
861
- },
862
- "description": "WorkflowCapabilities bits the selection can jointly claim."
863
- },
864
- "plan_steps": {
865
- "description": "Compiled plan step count of the base template (absent without 'template').",
866
- "type": "number"
867
- },
868
- "audit_score": {
869
- "description": "100 when the base template compiles + refluxes clean, else 0 (absent without 'template').",
870
- "type": "number"
871
- },
872
- "templates_version": {
873
- "type": "number",
874
- "description": "Template catalog sentinel the probe ran against."
875
- }
876
- },
877
- "required": [
878
- "action",
879
- "capabilities",
880
- "feasible",
881
- "blockers",
882
- "risks",
883
- "disclosures",
884
- "cost_delta",
885
- "provides",
886
- "templates_version"
887
- ],
888
- "additionalProperties": false
889
- },
890
- {
891
- "type": "object",
892
- "properties": {
893
- "action": {
894
- "type": "string",
895
- "const": "product_cards"
896
- },
897
- "industry": {
898
- "type": "string",
899
- "description": "Industry filter echoed ('all' when absent)."
900
- },
901
- "total": {
902
- "type": "number",
903
- "description": "Card summaries returned."
904
- },
905
- "cards": {
906
- "type": "array",
907
- "items": {
908
- "type": "object",
909
- "properties": {
910
- "template_id": {
911
- "type": "string"
912
- },
913
- "industry": {
914
- "type": "string"
915
- },
916
- "product_ref": {
917
- "type": "string",
918
- "description": "Benchmark slug (the only sanctioned company reference)."
919
- },
920
- "archetype": {
921
- "type": "string"
922
- },
923
- "one_liner": {
924
- "type": "string",
925
- "description": "Mechanically composed from declared counts — no invention."
926
- },
927
- "cost_headline": {
928
- "type": "object",
929
- "properties": {
930
- "platform_fee_bps": {
931
- "type": "number"
932
- },
933
- "gas_objects_estimate": {
934
- "type": "number",
935
- "description": "Machine nodes + guard refs, pre-compile basis."
936
- },
937
- "compensation_fund": {
938
- "type": "string",
939
- "enum": [
940
- "allowed",
941
- "forbidden"
942
- ]
943
- }
944
- },
945
- "required": [
946
- "platform_fee_bps",
947
- "gas_objects_estimate",
948
- "compensation_fund"
949
- ],
950
- "additionalProperties": false
951
- },
952
- "params": {
953
- "type": "object",
954
- "properties": {
955
- "total": {
956
- "type": "number"
957
- },
958
- "editable": {
959
- "type": "number"
960
- }
961
- },
962
- "required": [
963
- "total",
964
- "editable"
965
- ],
966
- "additionalProperties": false
967
- },
968
- "templates_version": {
969
- "type": "number"
970
- }
971
- },
972
- "required": [
973
- "template_id",
974
- "industry",
975
- "product_ref",
976
- "archetype",
977
- "one_liner",
978
- "cost_headline",
979
- "params",
980
- "templates_version"
981
- ],
982
- "additionalProperties": false
983
- },
984
- "description": "FRONT-stage card summaries (full rows via layer='params'; compiled verdict via compose_probe)."
985
- }
986
- },
987
- "required": [
988
- "action",
989
- "industry",
990
- "total",
991
- "cards"
992
- ],
993
- "additionalProperties": false
994
- },
995
- {
996
- "type": "object",
997
- "properties": {
998
- "action": {
999
- "type": "string",
1000
- "const": "product_card"
1001
- },
1002
- "alignment": {
1003
- "type": "object",
1004
- "properties": {
1005
- "template_id": {
1006
- "type": "string"
1007
- },
1008
- "industry": {
1009
- "type": "string"
1010
- },
1011
- "variant": {
1012
- "type": "string"
1013
- },
1014
- "product_ref": {
1015
- "type": "string"
1016
- },
1017
- "archetype": {
1018
- "type": "string"
1019
- },
1020
- "phase": {
1021
- "type": "number"
1022
- },
1023
- "one_liner": {
1024
- "type": "string"
1025
- },
1026
- "evidence": {
1027
- "type": "array",
1028
- "items": {
1029
- "type": "object",
1030
- "properties": {
1031
- "source": {
1032
- "type": "string"
1033
- },
1034
- "detail": {
1035
- "type": "string"
1036
- }
1037
- },
1038
- "required": [
1039
- "source",
1040
- "detail"
1041
- ],
1042
- "additionalProperties": false
1043
- },
1044
- "description": "Every card assertion is anchored — no anchor, no assertion."
1045
- }
1046
- },
1047
- "required": [
1048
- "template_id",
1049
- "industry",
1050
- "variant",
1051
- "product_ref",
1052
- "archetype",
1053
- "phase",
1054
- "one_liner",
1055
- "evidence"
1056
- ],
1057
- "additionalProperties": false,
1058
- "description": "WHO this product aligns with."
1059
- },
1060
- "features": {
1061
- "type": "object",
1062
- "properties": {
1063
- "flow": {
1064
- "type": "array",
1065
- "items": {
1066
- "type": "string"
1067
- },
1068
- "description": "machine_shape projected as merchant-view steps."
1069
- },
1070
- "fund_speed": {
1071
- "description": "Declared settlement clock (settle_hours / auto_confirm_hours) or null."
1072
- },
1073
- "model": {
1074
- "type": "array",
1075
- "items": {
1076
- "type": "string"
1077
- },
1078
- "description": "trust_mechanisms verbatim."
1079
- },
1080
- "vs_traditional": {
1081
- "type": "array",
1082
- "items": {
1083
- "type": "object",
1084
- "properties": {
1085
- "dimension": {
1086
- "type": "string"
1087
- },
1088
- "wowok": {
1089
- "type": "string",
1090
- "description": "WoWok-side figure computed from declared params."
1091
- },
1092
- "traditional": {
1093
- "type": "null",
1094
- "description": "ALWAYS null here — the incumbent figure is the skill layer's narrative job; the card never invents one."
1095
- },
1096
- "wowok_evidence": {
1097
- "type": "array",
1098
- "items": {
1099
- "type": "string"
1100
- }
1101
- }
1102
- },
1103
- "required": [
1104
- "dimension",
1105
- "wowok",
1106
- "traditional",
1107
- "wowok_evidence"
1108
- ],
1109
- "additionalProperties": false
1110
- },
1111
- "description": "Take-rate comparisons the template's declared keys can back."
1112
- }
1113
- },
1114
- "required": [
1115
- "flow",
1116
- "fund_speed",
1117
- "model",
1118
- "vs_traditional"
1119
- ],
1120
- "additionalProperties": false,
1121
- "description": "WHAT the product does and how it compares."
1122
- },
1123
- "cost": {
1124
- "type": "object",
1125
- "properties": {
1126
- "platform_fee": {
1127
- "type": "object",
1128
- "properties": {
1129
- "bps": {
1130
- "type": "number"
1131
- },
1132
- "cap_bps": {},
1133
- "self_platform": {
1134
- "type": "string"
1135
- },
1136
- "evidence": {
1137
- "type": "array",
1138
- "items": {}
1139
- }
1140
- },
1141
- "required": [
1142
- "bps",
1143
- "cap_bps",
1144
- "self_platform",
1145
- "evidence"
1146
- ],
1147
- "additionalProperties": false
1148
- },
1149
- "gas_objects_estimate": {
1150
- "type": "object",
1151
- "properties": {
1152
- "value": {
1153
- "type": "number"
1154
- },
1155
- "basis": {
1156
- "type": "string"
1157
- }
1158
- },
1159
- "required": [
1160
- "value",
1161
- "basis"
1162
- ],
1163
- "additionalProperties": false
1164
- },
1165
- "compensation_fund": {
1166
- "type": "object",
1167
- "properties": {
1168
- "policy": {
1169
- "type": "string",
1170
- "enum": [
1171
- "allowed",
1172
- "forbidden"
1173
- ]
1174
- },
1175
- "note": {
1176
- "type": "string"
1177
- }
1178
- },
1179
- "required": [
1180
- "policy",
1181
- "note"
1182
- ],
1183
- "additionalProperties": false
1184
- },
1185
- "keeper_dependencies": {
1186
- "type": "array",
1187
- "items": {
1188
- "type": "string"
1189
- }
1190
- }
1191
- },
1192
- "required": [
1193
- "platform_fee",
1194
- "gas_objects_estimate",
1195
- "compensation_fund",
1196
- "keeper_dependencies"
1197
- ],
1198
- "additionalProperties": false,
1199
- "description": "WHAT it costs to run."
1200
- },
1201
- "params": {
1202
- "type": "object",
1203
- "properties": {
1204
- "total": {
1205
- "type": "number"
1206
- },
1207
- "editable": {
1208
- "type": "number"
1209
- },
1210
- "live": {
1211
- "type": "number"
1212
- },
1213
- "groups": {
1214
- "type": "array",
1215
- "items": {
1216
- "type": "object",
1217
- "properties": {
1218
- "group": {
1219
- "type": "string"
1220
- },
1221
- "tier": {
1222
- "type": "number"
1223
- },
1224
- "count": {
1225
- "type": "number"
1226
- }
1227
- },
1228
- "required": [
1229
- "group",
1230
- "tier",
1231
- "count"
1232
- ],
1233
- "additionalProperties": false
1234
- },
1235
- "description": "Business-order groups, tier ascending (1 = money & admission)."
1236
- },
1237
- "full_rows_via": {
1238
- "type": "string",
1239
- "description": "Pointer to the full row surface (never duplicated here)."
1240
- }
1241
- },
1242
- "required": [
1243
- "total",
1244
- "editable",
1245
- "live",
1246
- "groups",
1247
- "full_rows_via"
1248
- ],
1249
- "additionalProperties": false,
1250
- "description": "WHAT the merchant can set (summary; full rows via layer='params')."
1251
- },
1252
- "risks": {
1253
- "type": "object",
1254
- "properties": {
1255
- "key_risk": {
1256
- "type": "string"
1257
- },
1258
- "differences": {
1259
- "type": "array",
1260
- "items": {
1261
- "type": "string"
1262
- }
1263
- },
1264
- "user_inputs": {
1265
- "type": "array",
1266
- "items": {
1267
- "type": "string"
1268
- }
1269
- },
1270
- "capability_risks": {
1271
- "type": "array",
1272
- "items": {
1273
- "type": "string"
1274
- },
1275
- "description": "Empty until the Binding Table lands (M2+) — never faked."
1276
- },
1277
- "capability_risks_note": {
1278
- "type": "string"
1279
- }
1280
- },
1281
- "required": [
1282
- "key_risk",
1283
- "differences",
1284
- "user_inputs",
1285
- "capability_risks",
1286
- "capability_risks_note"
1287
- ],
1288
- "additionalProperties": false,
1289
- "description": "WHAT can go wrong (template-declared only)."
1290
- },
1291
- "templates_version": {
1292
- "type": "number"
1293
- }
1294
- },
1295
- "required": [
1296
- "action",
1297
- "alignment",
1298
- "features",
1299
- "cost",
1300
- "params",
1301
- "risks",
1302
- "templates_version"
1303
- ],
1304
- "additionalProperties": false
1305
- },
1306
- {
1307
- "type": "object",
1308
- "properties": {
1309
- "action": {
1310
- "type": "string",
1311
- "const": "diff"
1312
- },
1313
- "name": {
1314
- "type": "string",
1315
- "description": "Industry name."
1316
- },
1317
- "registered": {
1318
- "anyOf": [
1319
- {
1320
- "type": "object",
1321
- "properties": {
1322
- "version": {
1323
- "type": "string"
1324
- },
1325
- "layers": {
1326
- "type": "array",
1327
- "items": {
1328
- "type": "string"
1329
- }
1330
- },
1331
- "registered_at": {
1332
- "type": "number"
1333
- }
1334
- },
1335
- "required": [
1336
- "version",
1337
- "layers",
1338
- "registered_at"
1339
- ],
1340
- "additionalProperties": false
1341
- },
1342
- {
1343
- "type": "null"
1344
- }
1345
- ],
1346
- "description": "Currently registered metadata."
1347
- },
1348
- "disk": {
1349
- "anyOf": [
1350
- {
1351
- "type": "object",
1352
- "properties": {
1353
- "version": {
1354
- "type": "string"
1355
- },
1356
- "layers": {
1357
- "type": "array",
1358
- "items": {
1359
- "type": "string"
1360
- }
1361
- }
1362
- },
1363
- "required": [
1364
- "version",
1365
- "layers"
1366
- ],
1367
- "additionalProperties": false
1368
- },
1369
- {
1370
- "type": "null"
1371
- }
1372
- ],
1373
- "description": "On-disk manifest metadata."
1374
- },
1375
- "upgradable": {
1376
- "type": "boolean",
1377
- "description": "Whether the on-disk version differs from registered."
1378
- },
1379
- "layer_diff": {
1380
- "type": "object",
1381
- "properties": {
1382
- "added": {
1383
- "type": "array",
1384
- "items": {
1385
- "type": "string"
1386
- }
1387
- },
1388
- "removed": {
1389
- "type": "array",
1390
- "items": {
1391
- "type": "string"
1392
- }
1393
- }
1394
- },
1395
- "required": [
1396
- "added",
1397
- "removed"
1398
- ],
1399
- "additionalProperties": false,
1400
- "description": "Layer difference (disk vs registered)."
1401
- }
1402
- },
1403
- "required": [
1404
- "action",
1405
- "name",
1406
- "registered",
1407
- "disk",
1408
- "upgradable",
1409
- "layer_diff"
1410
- ],
1411
- "additionalProperties": false
1412
- },
1413
- {
1414
- "type": "object",
1415
- "properties": {
1416
- "action": {
1417
- "type": "string",
1418
- "const": "reset"
1419
- },
1420
- "ok": {
1421
- "type": "boolean",
1422
- "description": "Whether reset succeeded."
1423
- },
1424
- "layout": {
1425
- "type": "string",
1426
- "enum": [
1427
- "merged",
1428
- "legacy"
1429
- ],
1430
- "description": "Layout format that was restored: 'merged' (single pack.json + playbook.md) or 'legacy' (split files)."
1431
- },
1432
- "target": {
1433
- "type": "string",
1434
- "description": "Normalised reset target path (pack name or file)."
1435
- },
1436
- "restored_files": {
1437
- "type": "array",
1438
- "items": {
1439
- "type": "string"
1440
- },
1441
- "description": "Files that were restored to pristine annotated templates."
1442
- },
1443
- "errors": {
1444
- "type": "array",
1445
- "items": {
1446
- "type": "string"
1447
- },
1448
- "description": "Errors encountered during reset."
1449
- }
1450
- },
1451
- "required": [
1452
- "action",
1453
- "ok",
1454
- "layout",
1455
- "target",
1456
- "restored_files",
1457
- "errors"
1458
- ],
1459
- "additionalProperties": false
1460
- },
1461
- {
1462
- "type": "object",
1463
- "properties": {
1464
- "action": {
1465
- "type": "string",
1466
- "const": "delete_file"
1467
- },
1468
- "path": {
1469
- "type": "string",
1470
- "description": "Absolute path of the deleted file or directory."
1471
- },
1472
- "ok": {
1473
- "type": "boolean"
1474
- }
1475
- },
1476
- "required": [
1477
- "action",
1478
- "path",
1479
- "ok"
1480
- ],
1481
- "additionalProperties": false
1482
- },
1483
- {
1484
- "type": "object",
1485
- "properties": {
1486
- "action": {
1487
- "type": "string",
1488
- "const": "create_file"
1489
- },
1490
- "path": {
1491
- "type": "string",
1492
- "description": "Absolute path of the created file."
1493
- },
1494
- "ok": {
1495
- "type": "boolean"
1496
- }
1497
- },
1498
- "required": [
1499
- "action",
1500
- "path",
1501
- "ok"
1502
- ],
1503
- "additionalProperties": false
1504
- },
1505
- {
1506
- "type": "object",
1507
- "properties": {
1508
- "action": {
1509
- "type": "string",
1510
- "const": "create_dir"
1511
- },
1512
- "path": {
1513
- "type": "string",
1514
- "description": "Absolute path of the created directory."
1515
- },
1516
- "ok": {
1517
- "type": "boolean"
1518
- }
1519
- },
1520
- "required": [
1521
- "action",
1522
- "path",
1523
- "ok"
1524
- ],
1525
- "additionalProperties": false
1526
- },
1527
- {
1528
- "type": "object",
1529
- "properties": {
1530
- "action": {
1531
- "type": "string",
1532
- "const": "copy"
1533
- },
1534
- "from": {
1535
- "type": "string",
1536
- "description": "Absolute source path."
1537
- },
1538
- "to": {
1539
- "type": "string",
1540
- "description": "Absolute destination path."
1541
- },
1542
- "ok": {
1543
- "type": "boolean"
1544
- }
1545
- },
1546
- "required": [
1547
- "action",
1548
- "from",
1549
- "to",
1550
- "ok"
1551
- ],
1552
- "additionalProperties": false
1553
- },
1554
- {
1555
- "type": "object",
1556
- "properties": {
1557
- "action": {
1558
- "type": "string",
1559
- "const": "move"
1560
- },
1561
- "from": {
1562
- "type": "string",
1563
- "description": "Absolute source path."
1564
- },
1565
- "to": {
1566
- "type": "string",
1567
- "description": "Absolute destination path."
1568
- },
1569
- "ok": {
1570
- "type": "boolean"
1571
- }
1572
- },
1573
- "required": [
1574
- "action",
1575
- "from",
1576
- "to",
1577
- "ok"
1578
- ],
1579
- "additionalProperties": false
1580
- },
1581
- {
1582
- "type": "object",
1583
- "properties": {
1584
- "action": {
1585
- "type": "string",
1586
- "const": "rename"
1587
- },
1588
- "from": {
1589
- "type": "string",
1590
- "description": "Absolute old path."
1591
- },
1592
- "to": {
1593
- "type": "string",
1594
- "description": "Absolute new path."
1595
- },
1596
- "ok": {
1597
- "type": "boolean"
1598
- }
1599
- },
1600
- "required": [
1601
- "action",
1602
- "from",
1603
- "to",
1604
- "ok"
1605
- ],
1606
- "additionalProperties": false
1607
- },
1608
- {
1609
- "type": "object",
1610
- "properties": {
1611
- "action": {
1612
- "type": "string",
1613
- "const": "recommend_industry"
1614
- },
1615
- "intent": {
1616
- "type": "string",
1617
- "description": "The intent text used for inference."
1618
- },
1619
- "inferred_traits": {
1620
- "type": "object",
1621
- "propertyNames": {
1622
- "type": "string"
1623
- },
1624
- "additionalProperties": {},
1625
- "description": "10-dim industry traits inferred from intent."
1626
- },
1627
- "inference_confidence": {
1628
- "type": "number",
1629
- "description": "Inference confidence 0-1 (evidenced trait count / 10; IR evidence counts when supplied)."
1630
- },
1631
- "inference_source": {
1632
- "type": "string",
1633
- "enum": [
1634
- "keywords",
1635
- "semantic_ir",
1636
- "semantic_ir+keywords"
1637
- ],
1638
- "description": "Which layer produced the trait evidence: 'keywords' = English lexicon only; 'semantic_ir' = caller-supplied IR only; 'semantic_ir+keywords' = both (IR won any conflict)."
1639
- },
1640
- "matched_keywords": {
1641
- "type": "array",
1642
- "items": {
1643
- "type": "string"
1644
- },
1645
- "description": "Keywords from the intent text that triggered trait inference (English canonical lexicon)."
1646
- },
1647
- "semantic_ir": {
1648
- "description": "Canonical IR artifact echoed back for freeze/replay (present only when semantic_ir was supplied).",
1649
- "type": "object",
1650
- "propertyNames": {
1651
- "type": "string"
1652
- },
1653
- "additionalProperties": {}
1654
- },
1655
- "semantic_ir_digest": {
1656
- "description": "sha256 of the canonical IR artifact; identical claims in any array order yield the same digest.",
1657
- "type": "string"
1658
- },
1659
- "semantic_ir_issues": {
1660
- "description": "IR claims dropped/clamped/conflicting during validation (unknown vocabulary, inverted span, sub-threshold confidence).",
1661
- "type": "array",
1662
- "items": {
1663
- "type": "string"
1664
- }
1665
- },
1666
- "semantic_ir_conflicts": {
1667
- "description": "Dimensions where the keyword lexicon and the IR disagreed; the IR value was applied.",
1668
- "type": "array",
1669
- "items": {
1670
- "type": "object",
1671
- "properties": {
1672
- "trait": {
1673
- "type": "string"
1674
- },
1675
- "keyword_value": {
1676
- "anyOf": [
1677
- {
1678
- "type": "boolean"
1679
- },
1680
- {
1681
- "type": "string"
1682
- }
1683
- ]
1684
- },
1685
- "keyword_confidence": {
1686
- "type": "number"
1687
- },
1688
- "ir_value": {
1689
- "anyOf": [
1690
- {
1691
- "type": "boolean"
1692
- },
1693
- {
1694
- "type": "string"
1695
- }
1696
- ]
1697
- },
1698
- "ir_confidence": {
1699
- "type": "number"
1700
- }
1701
- },
1702
- "required": [
1703
- "trait",
1704
- "keyword_value",
1705
- "keyword_confidence",
1706
- "ir_value",
1707
- "ir_confidence"
1708
- ],
1709
- "additionalProperties": false
1710
- }
1711
- },
1712
- "domain_priors": {
1713
- "description": "Domain vocabulary matches that boosted the named industries (domain evidence, not a trait claim).",
1714
- "type": "array",
1715
- "items": {
1716
- "type": "object",
1717
- "properties": {
1718
- "domain": {
1719
- "type": "string"
1720
- },
1721
- "matched_keywords": {
1722
- "type": "array",
1723
- "items": {
1724
- "type": "string"
1725
- }
1726
- },
1727
- "industries": {
1728
- "type": "array",
1729
- "items": {
1730
- "type": "string"
1731
- }
1732
- },
1733
- "boost": {
1734
- "type": "number"
1735
- },
1736
- "source": {
1737
- "description": "Which layer produced the prior; 'both' means keyword and IR agreed.",
1738
- "type": "string",
1739
- "enum": [
1740
- "keyword",
1741
- "semantic_ir",
1742
- "both"
1743
- ]
1744
- }
1745
- },
1746
- "required": [
1747
- "domain",
1748
- "matched_keywords",
1749
- "industries",
1750
- "boost"
1751
- ],
1752
- "additionalProperties": false
1753
- }
1754
- },
1755
- "excluded_by_consistency": {
1756
- "description": "Industry modes dropped because their REQUIRED traits contradict the inferred traits.",
1757
- "type": "array",
1758
- "items": {
1759
- "type": "object",
1760
- "properties": {
1761
- "industry": {
1762
- "type": "string"
1763
- },
1764
- "contradicted_requirements": {
1765
- "type": "array",
1766
- "items": {
1767
- "type": "string"
1768
- }
1769
- }
1770
- },
1771
- "required": [
1772
- "industry",
1773
- "contradicted_requirements"
1774
- ],
1775
- "additionalProperties": false
1776
- }
1777
- },
1778
- "strategy_intents": {
1779
- "type": "array",
1780
- "items": {
1781
- "type": "object",
1782
- "properties": {
1783
- "objective": {
1784
- "type": "string",
1785
- "enum": [
1786
- "sales_priority",
1787
- "profit_priority",
1788
- "buyer_screening",
1789
- "gross_margin_control"
1790
- ]
1791
- },
1792
- "metrics": {
1793
- "type": "array",
1794
- "items": {
1795
- "type": "string"
1796
- }
1797
- },
1798
- "levers": {
1799
- "type": "array",
1800
- "items": {
1801
- "type": "string",
1802
- "enum": [
1803
- "discount",
1804
- "reward",
1805
- "buy_guard",
1806
- "machine_design"
1807
- ]
1808
- }
1809
- },
1810
- "target": {
1811
- "type": "string"
1812
- }
1813
- },
1814
- "required": [
1815
- "objective",
1816
- "metrics",
1817
- "levers",
1818
- "target"
1819
- ],
1820
- "additionalProperties": false
1821
- },
1822
- "description": "Strategy intents resolved from the provided persona strategy statements; when none were provided they are derived from the inferred traits."
1823
- },
1824
- "lever_suggestions": {
1825
- "type": "array",
1826
- "items": {
1827
- "type": "object",
1828
- "properties": {
1829
- "lever": {
1830
- "type": "string",
1831
- "enum": [
1832
- "discount",
1833
- "reward",
1834
- "buy_guard",
1835
- "machine_design"
1836
- ]
1837
- },
1838
- "objective": {
1839
- "type": "string",
1840
- "enum": [
1841
- "sales_priority",
1842
- "profit_priority",
1843
- "buyer_screening",
1844
- "gross_margin_control"
1845
- ]
1846
- },
1847
- "action": {
1848
- "type": "string",
1849
- "description": "Deterministic on-chain action that pulls the lever."
1850
- },
1851
- "target": {
1852
- "type": "string"
1853
- }
1854
- },
1855
- "required": [
1856
- "lever",
1857
- "objective",
1858
- "action",
1859
- "target"
1860
- ],
1861
- "additionalProperties": false
1862
- },
1863
- "description": "Concrete lever suggestions for the resolved strategy intents."
1864
- },
1865
- "recommendations": {
1866
- "type": "array",
1867
- "items": {
1868
- "type": "object",
1869
- "properties": {
1870
- "industry": {
1871
- "type": "string",
1872
- "description": "Recommended builtin industry mode name."
1873
- },
1874
- "similarity": {
1875
- "type": "number",
1876
- "description": "Trait similarity 0-1 (graded 10-dim trait distance; dimensions without inference evidence score neutral 0.5)."
1877
- },
1878
- "trait_distance": {
1879
- "description": "Graded trait distance 0-1 (1 - similarity).",
1880
- "type": "number"
1881
- },
1882
- "matched_traits": {
1883
- "type": "array",
1884
- "items": {
1885
- "type": "string"
1886
- },
1887
- "description": "Trait dimensions the inference EVIDENCED and that match this industry exactly."
1888
- },
1889
- "contradicted_traits": {
1890
- "description": "Trait dimensions the inference evidenced and that DIVERGE from this industry (graded).",
1891
- "type": "array",
1892
- "items": {
1893
- "type": "string"
1894
- }
1895
- },
1896
- "evidenced_traits": {
1897
- "description": "Trait dimensions the inference actually had keyword evidence for (the ones similarity is graded against).",
1898
- "type": "array",
1899
- "items": {
1900
- "type": "string"
1901
- }
1902
- },
1903
- "domain_prior": {
1904
- "description": "True when domain vocabulary (not traits) contributed to this industry's score/rank.",
1905
- "type": "boolean"
1906
- },
1907
- "ir_industry_match": {
1908
- "description": "True when the Semantic IR's discovery.industry named this industry (a ranking prior was applied).",
1909
- "type": "boolean"
1910
- },
1911
- "requirement_support": {
1912
- "description": "0-1 support of the industry's required traits by the inference (1 = all evidenced and satisfied).",
1913
- "type": "number"
1914
- },
1915
- "location_sensitivity": {
1916
- "type": "string",
1917
- "enum": [
1918
- "strict",
1919
- "near",
1920
- "logistics"
1921
- ],
1922
- "description": "How location gates the service (K3 10 §5 D3): 'strict' = in-person/local service, Service.location MUST match the demand area; 'near' = digital/global service, location is a service region; 'logistics' = physical shipping, location is a delivery region. Non-logistics services MUST set a correct Service.location before publish."
1923
- },
1924
- "trust_selling_points": {
1925
- "type": "array",
1926
- "items": {
1927
- "type": "string"
1928
- },
1929
- "description": "Trust selling points to emphasize in the service description (expert description-guidance)."
1930
- },
1931
- "build_notes": {
1932
- "type": "array",
1933
- "items": {
1934
- "type": "string"
1935
- },
1936
- "description": "Build notes / caveats the description should preempt (expert description-guidance)."
1937
- },
1938
- "strategy_alignment": {
1939
- "description": "Present only when a strategy was provided: lever alignment of the industry mode.",
1940
- "type": "object",
1941
- "properties": {
1942
- "score": {
1943
- "type": "number",
1944
- "description": "Lever alignment 0-1 (matched / required levers)."
1945
- },
1946
- "matched_levers": {
1947
- "type": "array",
1948
- "items": {
1949
- "type": "string",
1950
- "enum": [
1951
- "discount",
1952
- "reward",
1953
- "buy_guard",
1954
- "machine_design"
1955
- ]
1956
- },
1957
- "description": "Required levers this mode supports."
1958
- },
1959
- "missing_levers": {
1960
- "type": "array",
1961
- "items": {
1962
- "type": "string",
1963
- "enum": [
1964
- "discount",
1965
- "reward",
1966
- "buy_guard",
1967
- "machine_design"
1968
- ]
1969
- },
1970
- "description": "Required levers this mode lacks."
1971
- }
1972
- },
1973
- "required": [
1974
- "score",
1975
- "matched_levers",
1976
- "missing_levers"
1977
- ],
1978
- "additionalProperties": false
1979
- }
1980
- },
1981
- "required": [
1982
- "industry",
1983
- "similarity",
1984
- "matched_traits",
1985
- "location_sensitivity",
1986
- "trust_selling_points",
1987
- "build_notes"
1988
- ],
1989
- "additionalProperties": false
1990
- },
1991
- "description": "Top-3 similar industries (re-ranked by lever alignment when strategy provided)."
1992
- },
1993
- "hint": {
1994
- "type": "string",
1995
- "description": "How to apply the recommendation (pass the industry to analyze_intent / merchant_guide via project_industry)."
1996
- }
1997
- },
1998
- "required": [
1999
- "action",
2000
- "intent",
2001
- "inferred_traits",
2002
- "inference_confidence",
2003
- "inference_source",
2004
- "matched_keywords",
2005
- "strategy_intents",
2006
- "lever_suggestions",
2007
- "recommendations",
2008
- "hint"
2009
- ],
2010
- "additionalProperties": false
2011
- },
2012
- {
2013
- "type": "object",
2014
- "properties": {
2015
- "action": {
2016
- "type": "string",
2017
- "const": "list_modes"
2018
- },
2019
- "builtin_modes": {
2020
- "type": "array",
2021
- "items": {
2022
- "type": "object",
2023
- "properties": {
2024
- "name": {
2025
- "type": "string"
2026
- },
2027
- "display_name": {
2028
- "type": "string"
2029
- },
2030
- "version": {
2031
- "type": "string"
2032
- },
2033
- "derived_from": {
2034
- "anyOf": [
2035
- {
2036
- "type": "string"
2037
- },
2038
- {
2039
- "type": "null"
2040
- }
2041
- ],
2042
- "description": "Source builtin mode (derive_user_mode) or null."
2043
- },
2044
- "owner": {
2045
- "description": "Mode owner (custom modes only).",
2046
- "type": "string"
2047
- },
2048
- "key_risk": {
2049
- "type": "string"
2050
- },
2051
- "machine_nodes": {
2052
- "type": "array",
2053
- "items": {
2054
- "type": "string"
2055
- },
2056
- "description": "Machine shape node names."
2057
- },
2058
- "location_sensitivity": {
2059
- "type": "string",
2060
- "enum": [
2061
- "strict",
2062
- "near",
2063
- "logistics"
2064
- ],
2065
- "description": "Location gate for this mode: 'strict' (in-person, must match service area), 'near' (digital/global, service region), 'logistics' (shipping, delivery region)."
2066
- },
2067
- "trust_selling_points": {
2068
- "type": "array",
2069
- "items": {
2070
- "type": "string"
2071
- },
2072
- "description": "Trust selling points to emphasize in the service description (expert description-guidance)."
2073
- },
2074
- "build_notes": {
2075
- "type": "array",
2076
- "items": {
2077
- "type": "string"
2078
- },
2079
- "description": "Build notes / caveats the description should preempt (expert description-guidance)."
2080
- },
2081
- "similar_industries": {
2082
- "type": "array",
2083
- "items": {
2084
- "type": "string"
2085
- }
2086
- },
2087
- "evolution_history": {
2088
- "type": "array",
2089
- "items": {
2090
- "type": "object",
2091
- "properties": {
2092
- "version": {
2093
- "type": "string"
2094
- },
2095
- "changed_at": {
2096
- "type": "number"
2097
- },
2098
- "changes": {
2099
- "type": "array",
2100
- "items": {
2101
- "type": "string"
2102
- }
2103
- }
2104
- },
2105
- "required": [
2106
- "version",
2107
- "changed_at",
2108
- "changes"
2109
- ],
2110
- "additionalProperties": false
2111
- }
2112
- }
2113
- },
2114
- "required": [
2115
- "name",
2116
- "display_name",
2117
- "version",
2118
- "derived_from",
2119
- "key_risk",
2120
- "machine_nodes",
2121
- "location_sensitivity",
2122
- "trust_selling_points",
2123
- "build_notes"
2124
- ],
2125
- "additionalProperties": false
2126
- },
2127
- "description": "Builtin industry modes (use name as project_industry)."
2128
- },
2129
- "user_modes": {
2130
- "type": "array",
2131
- "items": {
2132
- "type": "object",
2133
- "properties": {
2134
- "name": {
2135
- "type": "string"
2136
- },
2137
- "display_name": {
2138
- "type": "string"
2139
- },
2140
- "version": {
2141
- "type": "string"
2142
- },
2143
- "derived_from": {
2144
- "anyOf": [
2145
- {
2146
- "type": "string"
2147
- },
2148
- {
2149
- "type": "null"
2150
- }
2151
- ],
2152
- "description": "Source builtin mode (derive_user_mode) or null."
2153
- },
2154
- "owner": {
2155
- "description": "Mode owner (custom modes only).",
2156
- "type": "string"
2157
- },
2158
- "key_risk": {
2159
- "type": "string"
2160
- },
2161
- "machine_nodes": {
2162
- "type": "array",
2163
- "items": {
2164
- "type": "string"
2165
- },
2166
- "description": "Machine shape node names."
2167
- },
2168
- "location_sensitivity": {
2169
- "type": "string",
2170
- "enum": [
2171
- "strict",
2172
- "near",
2173
- "logistics"
2174
- ],
2175
- "description": "Location gate for this mode: 'strict' (in-person, must match service area), 'near' (digital/global, service region), 'logistics' (shipping, delivery region)."
2176
- },
2177
- "trust_selling_points": {
2178
- "type": "array",
2179
- "items": {
2180
- "type": "string"
2181
- },
2182
- "description": "Trust selling points to emphasize in the service description (expert description-guidance)."
2183
- },
2184
- "build_notes": {
2185
- "type": "array",
2186
- "items": {
2187
- "type": "string"
2188
- },
2189
- "description": "Build notes / caveats the description should preempt (expert description-guidance)."
2190
- },
2191
- "similar_industries": {
2192
- "type": "array",
2193
- "items": {
2194
- "type": "string"
2195
- }
2196
- },
2197
- "evolution_history": {
2198
- "type": "array",
2199
- "items": {
2200
- "type": "object",
2201
- "properties": {
2202
- "version": {
2203
- "type": "string"
2204
- },
2205
- "changed_at": {
2206
- "type": "number"
2207
- },
2208
- "changes": {
2209
- "type": "array",
2210
- "items": {
2211
- "type": "string"
2212
- }
2213
- }
2214
- },
2215
- "required": [
2216
- "version",
2217
- "changed_at",
2218
- "changes"
2219
- ],
2220
- "additionalProperties": false
2221
- }
2222
- }
2223
- },
2224
- "required": [
2225
- "name",
2226
- "display_name",
2227
- "version",
2228
- "derived_from",
2229
- "key_risk",
2230
- "machine_nodes",
2231
- "location_sensitivity",
2232
- "trust_selling_points",
2233
- "build_notes"
2234
- ],
2235
- "additionalProperties": false
2236
- },
2237
- "description": "Caller's custom modes (derive/evolve/register)."
2238
- },
2239
- "owner": {
2240
- "type": "string",
2241
- "description": "Owner key for custom modes (local single-user)."
2242
- },
2243
- "hint": {
2244
- "type": "string"
2245
- }
2246
- },
2247
- "required": [
2248
- "action",
2249
- "builtin_modes",
2250
- "user_modes",
2251
- "owner",
2252
- "hint"
2253
- ],
2254
- "additionalProperties": false
2255
- },
2256
- {
2257
- "type": "object",
2258
- "properties": {
2259
- "action": {
2260
- "type": "string",
2261
- "const": "derive_user_mode"
2262
- },
2263
- "mode": {
2264
- "type": "object",
2265
- "properties": {
2266
- "name": {
2267
- "type": "string"
2268
- },
2269
- "display_name": {
2270
- "type": "string"
2271
- },
2272
- "version": {
2273
- "type": "string"
2274
- },
2275
- "derived_from": {
2276
- "anyOf": [
2277
- {
2278
- "type": "string"
2279
- },
2280
- {
2281
- "type": "null"
2282
- }
2283
- ],
2284
- "description": "Source builtin mode (derive_user_mode) or null."
2285
- },
2286
- "owner": {
2287
- "description": "Mode owner (custom modes only).",
2288
- "type": "string"
2289
- },
2290
- "key_risk": {
2291
- "type": "string"
2292
- },
2293
- "machine_nodes": {
2294
- "type": "array",
2295
- "items": {
2296
- "type": "string"
2297
- },
2298
- "description": "Machine shape node names."
2299
- },
2300
- "location_sensitivity": {
2301
- "type": "string",
2302
- "enum": [
2303
- "strict",
2304
- "near",
2305
- "logistics"
2306
- ],
2307
- "description": "Location gate for this mode: 'strict' (in-person, must match service area), 'near' (digital/global, service region), 'logistics' (shipping, delivery region)."
2308
- },
2309
- "trust_selling_points": {
2310
- "type": "array",
2311
- "items": {
2312
- "type": "string"
2313
- },
2314
- "description": "Trust selling points to emphasize in the service description (expert description-guidance)."
2315
- },
2316
- "build_notes": {
2317
- "type": "array",
2318
- "items": {
2319
- "type": "string"
2320
- },
2321
- "description": "Build notes / caveats the description should preempt (expert description-guidance)."
2322
- },
2323
- "similar_industries": {
2324
- "type": "array",
2325
- "items": {
2326
- "type": "string"
2327
- }
2328
- },
2329
- "evolution_history": {
2330
- "type": "array",
2331
- "items": {
2332
- "type": "object",
2333
- "properties": {
2334
- "version": {
2335
- "type": "string"
2336
- },
2337
- "changed_at": {
2338
- "type": "number"
2339
- },
2340
- "changes": {
2341
- "type": "array",
2342
- "items": {
2343
- "type": "string"
2344
- }
2345
- }
2346
- },
2347
- "required": [
2348
- "version",
2349
- "changed_at",
2350
- "changes"
2351
- ],
2352
- "additionalProperties": false
2353
- }
2354
- }
2355
- },
2356
- "required": [
2357
- "name",
2358
- "display_name",
2359
- "version",
2360
- "derived_from",
2361
- "key_risk",
2362
- "machine_nodes",
2363
- "location_sensitivity",
2364
- "trust_selling_points",
2365
- "build_notes"
2366
- ],
2367
- "additionalProperties": false,
2368
- "description": "The derived (and registered) custom mode."
2369
- },
2370
- "hint": {
2371
- "type": "string"
2372
- }
2373
- },
2374
- "required": [
2375
- "action",
2376
- "mode",
2377
- "hint"
2378
- ],
2379
- "additionalProperties": false
2380
- },
2381
- {
2382
- "type": "object",
2383
- "properties": {
2384
- "action": {
2385
- "type": "string",
2386
- "const": "evolve_user_mode"
2387
- },
2388
- "mode": {
2389
- "type": "object",
2390
- "properties": {
2391
- "name": {
2392
- "type": "string"
2393
- },
2394
- "display_name": {
2395
- "type": "string"
2396
- },
2397
- "version": {
2398
- "type": "string"
2399
- },
2400
- "derived_from": {
2401
- "anyOf": [
2402
- {
2403
- "type": "string"
2404
- },
2405
- {
2406
- "type": "null"
2407
- }
2408
- ],
2409
- "description": "Source builtin mode (derive_user_mode) or null."
2410
- },
2411
- "owner": {
2412
- "description": "Mode owner (custom modes only).",
2413
- "type": "string"
2414
- },
2415
- "key_risk": {
2416
- "type": "string"
2417
- },
2418
- "machine_nodes": {
2419
- "type": "array",
2420
- "items": {
2421
- "type": "string"
2422
- },
2423
- "description": "Machine shape node names."
2424
- },
2425
- "location_sensitivity": {
2426
- "type": "string",
2427
- "enum": [
2428
- "strict",
2429
- "near",
2430
- "logistics"
2431
- ],
2432
- "description": "Location gate for this mode: 'strict' (in-person, must match service area), 'near' (digital/global, service region), 'logistics' (shipping, delivery region)."
2433
- },
2434
- "trust_selling_points": {
2435
- "type": "array",
2436
- "items": {
2437
- "type": "string"
2438
- },
2439
- "description": "Trust selling points to emphasize in the service description (expert description-guidance)."
2440
- },
2441
- "build_notes": {
2442
- "type": "array",
2443
- "items": {
2444
- "type": "string"
2445
- },
2446
- "description": "Build notes / caveats the description should preempt (expert description-guidance)."
2447
- },
2448
- "similar_industries": {
2449
- "type": "array",
2450
- "items": {
2451
- "type": "string"
2452
- }
2453
- },
2454
- "evolution_history": {
2455
- "type": "array",
2456
- "items": {
2457
- "type": "object",
2458
- "properties": {
2459
- "version": {
2460
- "type": "string"
2461
- },
2462
- "changed_at": {
2463
- "type": "number"
2464
- },
2465
- "changes": {
2466
- "type": "array",
2467
- "items": {
2468
- "type": "string"
2469
- }
2470
- }
2471
- },
2472
- "required": [
2473
- "version",
2474
- "changed_at",
2475
- "changes"
2476
- ],
2477
- "additionalProperties": false
2478
- }
2479
- }
2480
- },
2481
- "required": [
2482
- "name",
2483
- "display_name",
2484
- "version",
2485
- "derived_from",
2486
- "key_risk",
2487
- "machine_nodes",
2488
- "location_sensitivity",
2489
- "trust_selling_points",
2490
- "build_notes"
2491
- ],
2492
- "additionalProperties": false,
2493
- "description": "The evolved custom mode (version bumped)."
2494
- },
2495
- "hint": {
2496
- "type": "string"
2497
- }
2498
- },
2499
- "required": [
2500
- "action",
2501
- "mode",
2502
- "hint"
2503
- ],
2504
- "additionalProperties": false
2505
- },
2506
- {
2507
- "type": "object",
2508
- "properties": {
2509
- "action": {
2510
- "type": "string",
2511
- "const": "register_user_mode"
2512
- },
2513
- "mode": {
2514
- "type": "object",
2515
- "properties": {
2516
- "name": {
2517
- "type": "string"
2518
- },
2519
- "display_name": {
2520
- "type": "string"
2521
- },
2522
- "version": {
2523
- "type": "string"
2524
- },
2525
- "derived_from": {
2526
- "anyOf": [
2527
- {
2528
- "type": "string"
2529
- },
2530
- {
2531
- "type": "null"
2532
- }
2533
- ],
2534
- "description": "Source builtin mode (derive_user_mode) or null."
2535
- },
2536
- "owner": {
2537
- "description": "Mode owner (custom modes only).",
2538
- "type": "string"
2539
- },
2540
- "key_risk": {
2541
- "type": "string"
2542
- },
2543
- "machine_nodes": {
2544
- "type": "array",
2545
- "items": {
2546
- "type": "string"
2547
- },
2548
- "description": "Machine shape node names."
2549
- },
2550
- "location_sensitivity": {
2551
- "type": "string",
2552
- "enum": [
2553
- "strict",
2554
- "near",
2555
- "logistics"
2556
- ],
2557
- "description": "Location gate for this mode: 'strict' (in-person, must match service area), 'near' (digital/global, service region), 'logistics' (shipping, delivery region)."
2558
- },
2559
- "trust_selling_points": {
2560
- "type": "array",
2561
- "items": {
2562
- "type": "string"
2563
- },
2564
- "description": "Trust selling points to emphasize in the service description (expert description-guidance)."
2565
- },
2566
- "build_notes": {
2567
- "type": "array",
2568
- "items": {
2569
- "type": "string"
2570
- },
2571
- "description": "Build notes / caveats the description should preempt (expert description-guidance)."
2572
- },
2573
- "similar_industries": {
2574
- "type": "array",
2575
- "items": {
2576
- "type": "string"
2577
- }
2578
- },
2579
- "evolution_history": {
2580
- "type": "array",
2581
- "items": {
2582
- "type": "object",
2583
- "properties": {
2584
- "version": {
2585
- "type": "string"
2586
- },
2587
- "changed_at": {
2588
- "type": "number"
2589
- },
2590
- "changes": {
2591
- "type": "array",
2592
- "items": {
2593
- "type": "string"
2594
- }
2595
- }
2596
- },
2597
- "required": [
2598
- "version",
2599
- "changed_at",
2600
- "changes"
2601
- ],
2602
- "additionalProperties": false
2603
- }
2604
- }
2605
- },
2606
- "required": [
2607
- "name",
2608
- "display_name",
2609
- "version",
2610
- "derived_from",
2611
- "key_risk",
2612
- "machine_nodes",
2613
- "location_sensitivity",
2614
- "trust_selling_points",
2615
- "build_notes"
2616
- ],
2617
- "additionalProperties": false,
2618
- "description": "The registered fully-custom mode."
2619
- },
2620
- "hint": {
2621
- "type": "string"
2622
- }
2623
- },
2624
- "required": [
2625
- "action",
2626
- "mode",
2627
- "hint"
2628
- ],
2629
- "additionalProperties": false
2630
- },
2631
- {
2632
- "type": "object",
2633
- "properties": {
2634
- "action": {
2635
- "type": "string",
2636
- "const": "unregister_user_mode"
2637
- },
2638
- "removed": {
2639
- "type": "boolean",
2640
- "const": true
2641
- },
2642
- "mode_name": {
2643
- "type": "string"
2644
- }
2645
- },
2646
- "required": [
2647
- "action",
2648
- "removed",
2649
- "mode_name"
2650
- ],
2651
- "additionalProperties": false
2652
- },
2653
- {
2654
- "type": "object",
2655
- "properties": {
2656
- "action": {
2657
- "type": "string",
2658
- "const": "register_custom_metric"
2659
- },
2660
- "metric": {
2661
- "type": "object",
2662
- "properties": {
2663
- "metric_id": {
2664
- "type": "string"
2665
- },
2666
- "display_name": {
2667
- "type": "string"
2668
- },
2669
- "description": {
2670
- "type": "string"
2671
- },
2672
- "type": {
2673
- "type": "string",
2674
- "enum": [
2675
- "risk",
2676
- "benefit"
2677
- ]
2678
- },
2679
- "scale": {
2680
- "type": "string",
2681
- "enum": [
2682
- "level",
2683
- "numeric",
2684
- "percentage"
2685
- ]
2686
- },
2687
- "weight": {
2688
- "type": "number"
2689
- },
2690
- "scope": {
2691
- "type": "string",
2692
- "enum": [
2693
- "builtin",
2694
- "custom"
2695
- ]
2696
- },
2697
- "owner": {
2698
- "type": "string"
2699
- }
2700
- },
2701
- "required": [
2702
- "metric_id",
2703
- "display_name",
2704
- "description",
2705
- "type",
2706
- "scale",
2707
- "weight",
2708
- "scope"
2709
- ],
2710
- "additionalProperties": false,
2711
- "description": "The registered custom metric (globally effective)."
2712
- },
2713
- "hint": {
2714
- "type": "string"
2715
- }
2716
- },
2717
- "required": [
2718
- "action",
2719
- "metric",
2720
- "hint"
2721
- ],
2722
- "additionalProperties": false
2723
- },
2724
- {
2725
- "type": "object",
2726
- "properties": {
2727
- "action": {
2728
- "type": "string",
2729
- "const": "unregister_custom_metric"
2730
- },
2731
- "removed": {
2732
- "type": "boolean",
2733
- "const": true
2734
- },
2735
- "metric_id": {
2736
- "type": "string"
2737
- }
2738
- },
2739
- "required": [
2740
- "action",
2741
- "removed",
2742
- "metric_id"
2743
- ],
2744
- "additionalProperties": false
2745
- },
2746
- {
2747
- "type": "object",
2748
- "properties": {
2749
- "action": {
2750
- "type": "string",
2751
- "const": "register_custom_constraint"
2752
- },
2753
- "constraint": {
2754
- "type": "object",
2755
- "properties": {
2756
- "constraint_id": {
2757
- "type": "string"
2758
- },
2759
- "display_name": {
2760
- "type": "string"
2761
- },
2762
- "description": {
2763
- "type": "string"
2764
- },
2765
- "rule": {
2766
- "type": "object",
2767
- "propertyNames": {
2768
- "type": "string"
2769
- },
2770
- "additionalProperties": {},
2771
- "description": "Constraint rule (4 types — see constraint_rule input)."
2772
- },
2773
- "severity": {
2774
- "type": "string",
2775
- "enum": [
2776
- "hard",
2777
- "soft"
2778
- ]
2779
- },
2780
- "on_violation": {
2781
- "type": "string",
2782
- "enum": [
2783
- "block",
2784
- "warn",
2785
- "log"
2786
- ]
2787
- },
2788
- "scope": {
2789
- "type": "string",
2790
- "enum": [
2791
- "builtin",
2792
- "custom"
2793
- ]
2794
- },
2795
- "owner": {
2796
- "type": "string"
2797
- }
2798
- },
2799
- "required": [
2800
- "constraint_id",
2801
- "display_name",
2802
- "description",
2803
- "rule",
2804
- "severity",
2805
- "on_violation",
2806
- "scope"
2807
- ],
2808
- "additionalProperties": false,
2809
- "description": "The registered custom constraint."
2810
- },
2811
- "hint": {
2812
- "type": "string"
2813
- }
2814
- },
2815
- "required": [
2816
- "action",
2817
- "constraint",
2818
- "hint"
2819
- ],
2820
- "additionalProperties": false
2821
- },
2822
- {
2823
- "type": "object",
2824
- "properties": {
2825
- "action": {
2826
- "type": "string",
2827
- "const": "unregister_custom_constraint"
2828
- },
2829
- "removed": {
2830
- "type": "boolean",
2831
- "const": true
2832
- },
2833
- "constraint_id": {
2834
- "type": "string"
2835
- }
2836
- },
2837
- "required": [
2838
- "action",
2839
- "removed",
2840
- "constraint_id"
2841
- ],
2842
- "additionalProperties": false
2843
- },
2844
- {
2845
- "type": "object",
2846
- "properties": {
2847
- "action": {
2848
- "type": "string",
2849
- "const": "list_metrics_constraints"
2850
- },
2851
- "metrics": {
2852
- "type": "array",
2853
- "items": {
2854
- "type": "object",
2855
- "properties": {
2856
- "metric_id": {
2857
- "type": "string"
2858
- },
2859
- "display_name": {
2860
- "type": "string"
2861
- },
2862
- "description": {
2863
- "type": "string"
2864
- },
2865
- "type": {
2866
- "type": "string",
2867
- "enum": [
2868
- "risk",
2869
- "benefit"
2870
- ]
2871
- },
2872
- "scale": {
2873
- "type": "string",
2874
- "enum": [
2875
- "level",
2876
- "numeric",
2877
- "percentage"
2878
- ]
2879
- },
2880
- "weight": {
2881
- "type": "number"
2882
- },
2883
- "scope": {
2884
- "type": "string",
2885
- "enum": [
2886
- "builtin",
2887
- "custom"
2888
- ]
2889
- },
2890
- "owner": {
2891
- "type": "string"
2892
- }
2893
- },
2894
- "required": [
2895
- "metric_id",
2896
- "display_name",
2897
- "description",
2898
- "type",
2899
- "scale",
2900
- "weight",
2901
- "scope"
2902
- ],
2903
- "additionalProperties": false
2904
- }
2905
- },
2906
- "constraints": {
2907
- "type": "array",
2908
- "items": {
2909
- "type": "object",
2910
- "properties": {
2911
- "constraint_id": {
2912
- "type": "string"
2913
- },
2914
- "display_name": {
2915
- "type": "string"
2916
- },
2917
- "description": {
2918
- "type": "string"
2919
- },
2920
- "rule": {
2921
- "type": "object",
2922
- "propertyNames": {
2923
- "type": "string"
2924
- },
2925
- "additionalProperties": {},
2926
- "description": "Constraint rule (4 types — see constraint_rule input)."
2927
- },
2928
- "severity": {
2929
- "type": "string",
2930
- "enum": [
2931
- "hard",
2932
- "soft"
2933
- ]
2934
- },
2935
- "on_violation": {
2936
- "type": "string",
2937
- "enum": [
2938
- "block",
2939
- "warn",
2940
- "log"
2941
- ]
2942
- },
2943
- "scope": {
2944
- "type": "string",
2945
- "enum": [
2946
- "builtin",
2947
- "custom"
2948
- ]
2949
- },
2950
- "owner": {
2951
- "type": "string"
2952
- }
2953
- },
2954
- "required": [
2955
- "constraint_id",
2956
- "display_name",
2957
- "description",
2958
- "rule",
2959
- "severity",
2960
- "on_violation",
2961
- "scope"
2962
- ],
2963
- "additionalProperties": false
2964
- }
2965
- },
2966
- "hint": {
2967
- "type": "string"
2968
- }
2969
- },
2970
- "required": [
2971
- "action",
2972
- "metrics",
2973
- "constraints",
2974
- "hint"
2975
- ],
2976
- "additionalProperties": false
2977
- }
2978
- ]
2979
- }
2980
- },
2981
- "required": [
2982
- "result"
2983
- ],
2984
- "additionalProperties": false
2985
- }