@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,1669 +0,0 @@
1
- {
2
- "$schema": "http://json-schema.org/draft-07/schema#",
3
- "$id": "https://wowok.net/schemas/benchmark_migration_operation.output.json",
4
- "title": "Template Migration - Industry Templates & Competitor Migration",
5
- "description": "MD industry-archetype templates (hot-loaded from .wowok/templates/, 30 built-in archetypes across 10 industries), pre-deploy risk scan, and one-click competitor migration. Actions: template_list (list loaded templates, optional industry filter), template_get (full template by template_id), template_generate (creation plan from a template via the merchant-guide pipeline; scan-first, CRITICAL blocks; never on-chain), template_scan (pre-deploy risk scan of one template; CRITICAL blocks generation/apply), plan_execute (one-click deployment: materialize the plan returned by template_generate — plan required; resumes a failed run with completed_steps/previous_outputs instead of re-running from scratch), migration_import (competitor URL/description -> MigrationLog with mapped/unmapped/manual_review entries), migration_review (surface the MigrationLog for user confirmation), migration_apply (run the approved template through the merchant-guide pipeline; scan-first, CRITICAL blocks; default network testnet).",
6
- "type": "object",
7
- "properties": {
8
- "result": {
9
- "oneOf": [
10
- {
11
- "type": "object",
12
- "properties": {
13
- "action": {
14
- "type": "string",
15
- "const": "template_list"
16
- },
17
- "count": {
18
- "type": "number",
19
- "description": "Number of templates returned."
20
- },
21
- "templates": {
22
- "type": "array",
23
- "items": {
24
- "type": "object",
25
- "properties": {
26
- "id": {
27
- "type": "string",
28
- "description": "Template id '<industry>/<variant>', e.g. 'retail/scale-marketplace'."
29
- },
30
- "industry": {
31
- "type": "string",
32
- "description": "Industry vertical."
33
- },
34
- "variant": {
35
- "type": "string",
36
- "description": "Business-model variant slug."
37
- },
38
- "product_ref": {
39
- "description": "Benchmark product slug this archetype models (e.g. 'amazon'). The only sanctioned company name; users can pick a template by naming the incumbent product.",
40
- "type": "string"
41
- },
42
- "archetype": {
43
- "type": "string",
44
- "enum": [
45
- "leader",
46
- "challenger"
47
- ]
48
- },
49
- "key_risk": {
50
- "type": "string",
51
- "description": "Primary risk this template mitigates."
52
- },
53
- "node_count": {
54
- "type": "number",
55
- "description": "Machine node count."
56
- },
57
- "guard_count": {
58
- "type": "number",
59
- "description": "Guard template count."
60
- },
61
- "recommended_role": {
62
- "type": "string",
63
- "enum": [
64
- "merchant",
65
- "supplier",
66
- "both"
67
- ]
68
- },
69
- "tags": {
70
- "type": "array",
71
- "items": {
72
- "type": "string"
73
- },
74
- "description": "Canonical discovery tags this template answers to (curated business-model tags + its variant slug). These are the tokens a Semantic IR `discovery.tags` entry may use."
75
- }
76
- },
77
- "required": [
78
- "id",
79
- "industry",
80
- "variant",
81
- "archetype",
82
- "key_risk",
83
- "node_count",
84
- "guard_count",
85
- "recommended_role",
86
- "tags"
87
- ],
88
- "additionalProperties": false,
89
- "description": "Compact template listing row."
90
- },
91
- "description": "Template listing rows."
92
- },
93
- "discovery_vocabulary": {
94
- "type": "object",
95
- "properties": {
96
- "industries": {
97
- "type": "array",
98
- "items": {
99
- "type": "string"
100
- },
101
- "description": "Registered industry names a Semantic IR discovery.industry may use."
102
- },
103
- "tags": {
104
- "type": "array",
105
- "items": {
106
- "type": "string"
107
- },
108
- "description": "The CLOSED canonical discovery-tag vocabulary a Semantic IR discovery.tags entry may use."
109
- },
110
- "product_refs": {
111
- "type": "array",
112
- "items": {
113
- "type": "string"
114
- },
115
- "description": "Benchmark-product slugs a Semantic IR discovery.product_ref may use."
116
- }
117
- },
118
- "required": [
119
- "industries",
120
- "tags",
121
- "product_refs"
122
- ],
123
- "additionalProperties": false,
124
- "description": "The closed, language-neutral vocabulary for Semantic IR discovery evidence — callers translate into these tokens; the server drops anything else and reports it."
125
- },
126
- "load_errors": {
127
- "type": "array",
128
- "items": {
129
- "type": "string"
130
- },
131
- "description": "Template files that failed to load/validate (never silently dropped)."
132
- }
133
- },
134
- "required": [
135
- "action",
136
- "count",
137
- "templates",
138
- "discovery_vocabulary",
139
- "load_errors"
140
- ],
141
- "additionalProperties": false
142
- },
143
- {
144
- "type": "object",
145
- "properties": {
146
- "action": {
147
- "type": "string",
148
- "const": "template_get"
149
- },
150
- "template": {
151
- "type": "object",
152
- "propertyNames": {
153
- "type": "string"
154
- },
155
- "additionalProperties": {},
156
- "description": "Full template object (machine_shape/guards/allocator/fee_params/body/...)."
157
- }
158
- },
159
- "required": [
160
- "action",
161
- "template"
162
- ],
163
- "additionalProperties": false
164
- },
165
- {
166
- "type": "object",
167
- "properties": {
168
- "action": {
169
- "type": "string",
170
- "const": "template_generate"
171
- },
172
- "template_id": {
173
- "type": "string"
174
- },
175
- "semantic_ir_digest": {
176
- "description": "sha256 of the frozen Semantic IR artifact (present only when semantic_ir was supplied).",
177
- "type": "string"
178
- },
179
- "semantic_ir_issues": {
180
- "description": "IR claims dropped/clamped/conflicting during validation (unknown vocabulary, inverted span, sub-threshold confidence).",
181
- "type": "array",
182
- "items": {
183
- "type": "string"
184
- }
185
- },
186
- "scan": {
187
- "type": "object",
188
- "properties": {
189
- "risk_level": {
190
- "type": "string",
191
- "enum": [
192
- "low",
193
- "medium",
194
- "high",
195
- "critical"
196
- ]
197
- },
198
- "passed": {
199
- "type": "boolean"
200
- },
201
- "finding_count": {
202
- "type": "number"
203
- },
204
- "findings_by_severity": {
205
- "type": "object",
206
- "propertyNames": {
207
- "type": "string"
208
- },
209
- "additionalProperties": {
210
- "type": "number"
211
- },
212
- "description": "Finding count keyed by severity."
213
- },
214
- "findings": {
215
- "type": "array",
216
- "items": {
217
- "type": "object",
218
- "properties": {
219
- "rule_id": {
220
- "description": "Rule id when known (e.g. 'R-M3-01', 'R1').",
221
- "type": "string"
222
- },
223
- "severity": {
224
- "type": "string",
225
- "enum": [
226
- "low",
227
- "medium",
228
- "high",
229
- "critical"
230
- ]
231
- },
232
- "title": {
233
- "type": "string"
234
- },
235
- "detail": {
236
- "type": "string"
237
- },
238
- "suggestion": {
239
- "type": "string"
240
- }
241
- },
242
- "required": [
243
- "severity",
244
- "title",
245
- "detail",
246
- "suggestion"
247
- ],
248
- "additionalProperties": false,
249
- "description": "One pre-deploy risk finding."
250
- },
251
- "description": "Every finding with its rule id, detail and suggestion."
252
- },
253
- "red_flags": {
254
- "type": "array",
255
- "items": {
256
- "type": "string"
257
- }
258
- }
259
- },
260
- "required": [
261
- "risk_level",
262
- "passed",
263
- "finding_count",
264
- "findings_by_severity",
265
- "findings",
266
- "red_flags"
267
- ],
268
- "additionalProperties": false,
269
- "description": "Pre-deploy scan summary (generation/apply only runs when passed)."
270
- },
271
- "plan": {
272
- "type": "object",
273
- "propertyNames": {
274
- "type": "string"
275
- },
276
- "additionalProperties": {},
277
- "description": "Creation plan from the merchant-guide pipeline (never executed on-chain)."
278
- },
279
- "stale_build": {
280
- "type": "object",
281
- "properties": {
282
- "stale": {
283
- "type": "boolean",
284
- "description": "4R-01 residual: true only when the shared src-vs-dist mtime detector RESOLVED and found the running dist OLDER than the workspace src — the scan/plan verdicts may describe superseded template knowledge."
285
- },
286
- "known": {
287
- "type": "boolean",
288
- "description": "False when the detector could not resolve (installed dist-only package, build in progress, stat error). stale is then NOT evidence of freshness — treat verdicts as unconfirmed. Fail-open: never an error."
289
- },
290
- "actionable": {
291
- "type": "boolean",
292
- "description": "rq-tn-261030-8693be B11: the scan/plan verdicts under this face are fit to act on ONLY when true (fresh AND known). actionable=false VOIDS the conclusions in the same response — rebuild (pnpm build) and re-run before acting on any of them."
293
- },
294
- "lag_minutes": {
295
- "anyOf": [
296
- {
297
- "type": "number"
298
- },
299
- {
300
- "type": "null"
301
- }
302
- ],
303
- "description": "Whole minutes the newest compiled artifact lags the newest source file (null when unknown)."
304
- },
305
- "detail": {
306
- "type": "string",
307
- "description": "Human-readable freshness statement (source/build mtime lag) with the rebuild remediation when stale."
308
- }
309
- },
310
- "required": [
311
- "stale",
312
- "known",
313
- "actionable",
314
- "lag_minutes",
315
- "detail"
316
- ],
317
- "additionalProperties": false,
318
- "description": "Always-present stale-build disclosure on template_scan / template_generate (reuses computeSrcDistStaleness; no parallel detector)."
319
- },
320
- "verdict": {
321
- "type": "object",
322
- "properties": {
323
- "buildable": {
324
- "type": "boolean"
325
- },
326
- "blockers": {
327
- "type": "array",
328
- "items": {
329
- "type": "string"
330
- }
331
- },
332
- "status": {
333
- "type": "string",
334
- "enum": [
335
- "READY",
336
- "BLOCKED",
337
- "UNVERIFIED"
338
- ],
339
- "description": "AZT-04 single release authority. UNVERIFIED (ks7 F-18 / h1w9 F-17, kp1 P1-5 residual): the stale_build face was not actionable, so the verdict is void AS A WHOLE — buildable is false because VERIFICATION failed, NOT because the plan is defective (read blockers[0] and stale_build, rebuild, re-run)."
340
- }
341
- },
342
- "required": [
343
- "buildable",
344
- "blockers",
345
- "status"
346
- ],
347
- "additionalProperties": false,
348
- "description": "Single aggregate ruling over the three signal faces (scan.passed / plan.graph_validation.valid / plan.audit.blocking) — the authoritative go/no-go (bkmn-261012 F-M62); the individual faces stay advisory."
349
- },
350
- "next_action": {
351
- "type": "string",
352
- "description": "Top-level forwarding of the materialization contract (C6): the guide's 'Plan ready. Materialize: ...' text verbatim when the audit is clean and the build is fresh; a BLOCKED reroute, or a DO-NOT-EXECUTE rebuild-first reroute when stale_build.actionable is false, otherwise."
353
- }
354
- },
355
- "required": [
356
- "action",
357
- "template_id",
358
- "scan",
359
- "plan",
360
- "stale_build",
361
- "verdict",
362
- "next_action"
363
- ],
364
- "additionalProperties": false
365
- },
366
- {
367
- "type": "object",
368
- "properties": {
369
- "action": {
370
- "type": "string",
371
- "const": "template_scan"
372
- },
373
- "scan": {
374
- "type": "object",
375
- "properties": {
376
- "template_id": {
377
- "type": "string"
378
- },
379
- "risk_level": {
380
- "type": "string",
381
- "enum": [
382
- "low",
383
- "medium",
384
- "high",
385
- "critical"
386
- ]
387
- },
388
- "passed": {
389
- "type": "boolean"
390
- },
391
- "findings": {
392
- "type": "array",
393
- "items": {
394
- "type": "object",
395
- "properties": {
396
- "rule_id": {
397
- "description": "Rule id when known (e.g. 'R-M3-01', 'R1').",
398
- "type": "string"
399
- },
400
- "severity": {
401
- "type": "string",
402
- "enum": [
403
- "low",
404
- "medium",
405
- "high",
406
- "critical"
407
- ]
408
- },
409
- "title": {
410
- "type": "string"
411
- },
412
- "detail": {
413
- "type": "string"
414
- },
415
- "suggestion": {
416
- "type": "string"
417
- }
418
- },
419
- "required": [
420
- "severity",
421
- "title",
422
- "detail",
423
- "suggestion"
424
- ],
425
- "additionalProperties": false,
426
- "description": "One pre-deploy risk finding."
427
- }
428
- },
429
- "red_flags": {
430
- "type": "array",
431
- "items": {
432
- "type": "string"
433
- }
434
- },
435
- "drift": {
436
- "type": "object",
437
- "propertyNames": {
438
- "type": "string"
439
- },
440
- "additionalProperties": {},
441
- "description": "Disk-vs-catalog drift face for the scanned body (S14-E2)."
442
- },
443
- "compile_dry_run": {
444
- "type": "object",
445
- "properties": {
446
- "status": {
447
- "type": "string",
448
- "enum": [
449
- "ready",
450
- "blocked",
451
- "unavailable",
452
- "unverified"
453
- ]
454
- },
455
- "buildable": {
456
- "type": "boolean"
457
- },
458
- "blockers": {
459
- "type": "array",
460
- "items": {
461
- "type": "string"
462
- }
463
- },
464
- "note": {
465
- "type": "string"
466
- }
467
- },
468
- "required": [
469
- "status",
470
- "note"
471
- ],
472
- "additionalProperties": false,
473
- "description": "Compile-kernel probe verdict — the same authority template_generate enforces (S14-E2/GF-29). 'unverified' (ks7 F-18 / h1w9 F-17): the stale_build face was not actionable, so the probe's verdict is void — rebuild and re-run."
474
- }
475
- },
476
- "required": [
477
- "template_id",
478
- "risk_level",
479
- "passed",
480
- "findings",
481
- "red_flags",
482
- "drift",
483
- "compile_dry_run"
484
- ],
485
- "additionalProperties": false,
486
- "description": "Full pre-deploy scan result."
487
- },
488
- "stale_build": {
489
- "type": "object",
490
- "properties": {
491
- "stale": {
492
- "type": "boolean",
493
- "description": "4R-01 residual: true only when the shared src-vs-dist mtime detector RESOLVED and found the running dist OLDER than the workspace src — the scan/plan verdicts may describe superseded template knowledge."
494
- },
495
- "known": {
496
- "type": "boolean",
497
- "description": "False when the detector could not resolve (installed dist-only package, build in progress, stat error). stale is then NOT evidence of freshness — treat verdicts as unconfirmed. Fail-open: never an error."
498
- },
499
- "actionable": {
500
- "type": "boolean",
501
- "description": "rq-tn-261030-8693be B11: the scan/plan verdicts under this face are fit to act on ONLY when true (fresh AND known). actionable=false VOIDS the conclusions in the same response — rebuild (pnpm build) and re-run before acting on any of them."
502
- },
503
- "lag_minutes": {
504
- "anyOf": [
505
- {
506
- "type": "number"
507
- },
508
- {
509
- "type": "null"
510
- }
511
- ],
512
- "description": "Whole minutes the newest compiled artifact lags the newest source file (null when unknown)."
513
- },
514
- "detail": {
515
- "type": "string",
516
- "description": "Human-readable freshness statement (source/build mtime lag) with the rebuild remediation when stale."
517
- }
518
- },
519
- "required": [
520
- "stale",
521
- "known",
522
- "actionable",
523
- "lag_minutes",
524
- "detail"
525
- ],
526
- "additionalProperties": false,
527
- "description": "Always-present stale-build disclosure on template_scan / template_generate (reuses computeSrcDistStaleness; no parallel detector)."
528
- },
529
- "buildable": {
530
- "type": "boolean",
531
- "description": "TOP-level build verdict (S14-E2): the ONE authority buildVerdict shares with template_generate — the static passed/risk_level stay advisory."
532
- },
533
- "build_blockers": {
534
- "type": "array",
535
- "items": {
536
- "type": "string"
537
- },
538
- "description": "Why the compile kernel refuses (absent/empty when not definitively blocked)."
539
- },
540
- "next_action": {
541
- "type": "string",
542
- "description": "Verdict-obedient routing (ZR-41): BLOCKED refusal, proceed-to-generate, or the UNVERIFIED rebuild-first reroute when stale_build.actionable is false."
543
- }
544
- },
545
- "required": [
546
- "action",
547
- "scan",
548
- "stale_build",
549
- "buildable",
550
- "build_blockers",
551
- "next_action"
552
- ],
553
- "additionalProperties": false
554
- },
555
- {
556
- "type": "object",
557
- "properties": {
558
- "action": {
559
- "type": "string",
560
- "const": "migration_import"
561
- },
562
- "log": {
563
- "type": "object",
564
- "properties": {
565
- "source": {
566
- "type": "object",
567
- "properties": {
568
- "url": {
569
- "type": "string"
570
- },
571
- "description": {
572
- "type": "string"
573
- },
574
- "detected_industry": {
575
- "type": "string"
576
- },
577
- "matched_template": {
578
- "type": "string",
579
- "description": "Matched template id '<industry>/<variant>'."
580
- }
581
- },
582
- "required": [
583
- "description",
584
- "detected_industry",
585
- "matched_template"
586
- ],
587
- "additionalProperties": false,
588
- "description": "Migration source provenance."
589
- },
590
- "template_match": {
591
- "type": "object",
592
- "properties": {
593
- "source": {
594
- "type": "string",
595
- "enum": [
596
- "explicit",
597
- "product_ref",
598
- "discovery_product_ref",
599
- "discovery_tags",
600
- "keywords",
601
- "ir_industry_fallback",
602
- "industry_leader"
603
- ],
604
- "description": "Which deterministic pass chose the template: 'explicit' = caller's template_id; 'product_ref' = a benchmark product named in the text; 'discovery_product_ref' = the Semantic IR resolved the benchmark product; 'discovery_tags' = the IR's canonical tags scored the variant; 'keywords' = English keyword scoring; 'ir_industry_fallback' = the IR proved the industry only; 'industry_leader' = an explicit industry hint with no match."
605
- },
606
- "confidence": {
607
- "type": "number",
608
- "description": "Match confidence 0-1 (only an exact benchmark-product hit is 1.0)."
609
- },
610
- "matched_tags": {
611
- "description": "IR tags that hit this template (discovery_tags only).",
612
- "type": "array",
613
- "items": {
614
- "type": "string"
615
- }
616
- }
617
- },
618
- "required": [
619
- "source",
620
- "confidence"
621
- ],
622
- "additionalProperties": false,
623
- "description": "Template-match provenance — why this template, without re-running the matcher."
624
- },
625
- "mapped": {
626
- "type": "array",
627
- "items": {
628
- "type": "object",
629
- "properties": {
630
- "source_element": {
631
- "type": "string",
632
- "description": "Competitor-side element."
633
- },
634
- "target_object": {
635
- "description": "WoWok object/mechanism it maps to.",
636
- "type": "string"
637
- },
638
- "mapping_note": {
639
- "type": "string",
640
- "description": "One-line mapping explanation."
641
- },
642
- "reason": {
643
- "description": "Why it cannot be migrated, or why it needs a decision.",
644
- "type": "string"
645
- }
646
- },
647
- "required": [
648
- "source_element",
649
- "mapping_note"
650
- ],
651
- "additionalProperties": false,
652
- "description": "One competitor element and its WoWok mapping outcome."
653
- },
654
- "description": "Elements that map cleanly to WoWok objects."
655
- },
656
- "unmapped": {
657
- "type": "array",
658
- "items": {
659
- "type": "object",
660
- "properties": {
661
- "source_element": {
662
- "type": "string",
663
- "description": "Competitor-side element."
664
- },
665
- "target_object": {
666
- "description": "WoWok object/mechanism it maps to.",
667
- "type": "string"
668
- },
669
- "mapping_note": {
670
- "type": "string",
671
- "description": "One-line mapping explanation."
672
- },
673
- "reason": {
674
- "description": "Why it cannot be migrated, or why it needs a decision.",
675
- "type": "string"
676
- }
677
- },
678
- "required": [
679
- "source_element",
680
- "mapping_note"
681
- ],
682
- "additionalProperties": false,
683
- "description": "One competitor element and its WoWok mapping outcome."
684
- },
685
- "description": "Elements that cannot be migrated, with reasons."
686
- },
687
- "manual_review": {
688
- "type": "array",
689
- "items": {
690
- "type": "object",
691
- "properties": {
692
- "source_element": {
693
- "type": "string",
694
- "description": "Competitor-side element."
695
- },
696
- "target_object": {
697
- "description": "WoWok object/mechanism it maps to.",
698
- "type": "string"
699
- },
700
- "mapping_note": {
701
- "type": "string",
702
- "description": "One-line mapping explanation."
703
- },
704
- "reason": {
705
- "description": "Why it cannot be migrated, or why it needs a decision.",
706
- "type": "string"
707
- }
708
- },
709
- "required": [
710
- "source_element",
711
- "mapping_note"
712
- ],
713
- "additionalProperties": false,
714
- "description": "One competitor element and its WoWok mapping outcome."
715
- },
716
- "description": "Elements requiring an explicit user decision."
717
- },
718
- "wowok_advantages": {
719
- "type": "array",
720
- "items": {
721
- "type": "string"
722
- },
723
- "description": "WoWok platform advantages surfaced during migration."
724
- },
725
- "customizable_modules": {
726
- "type": "array",
727
- "items": {
728
- "type": "string"
729
- },
730
- "description": "Business-module ids the user can customize."
731
- },
732
- "role_assessment": {
733
- "type": "object",
734
- "properties": {
735
- "recommended": {
736
- "type": "string"
737
- },
738
- "rationale": {
739
- "type": "string"
740
- },
741
- "alternatives": {
742
- "type": "array",
743
- "items": {
744
- "type": "string"
745
- }
746
- }
747
- },
748
- "required": [
749
- "recommended",
750
- "rationale",
751
- "alternatives"
752
- ],
753
- "additionalProperties": false,
754
- "description": "Merchant vs supplier role assessment."
755
- },
756
- "risk_check": {
757
- "type": "object",
758
- "properties": {
759
- "passed": {
760
- "type": "boolean"
761
- },
762
- "findings": {
763
- "type": "array",
764
- "items": {
765
- "type": "string"
766
- }
767
- }
768
- },
769
- "required": [
770
- "passed",
771
- "findings"
772
- ],
773
- "additionalProperties": false,
774
- "description": "Dry-run risk check against the matched template."
775
- },
776
- "requirement_coverage": {
777
- "description": "W5-07 (ks7 F-04/F-02): explicit-promise coverage matrix. Every promise family the description hit lands in exactly ONE of mapped/unmapped/blocker — a stated promise can never silently disappear. status='blocker' = the matched template cannot carry the promise as-is; the note names the exact build decision (declare the mode / compose the registered fulfillment combination) required before migration_apply. Surface every blocker to the user at migration_review. Optional only so logs produced before W5-07 still parse — fresh migration_import logs ALWAYS carry it.",
778
- "type": "array",
779
- "items": {
780
- "type": "object",
781
- "properties": {
782
- "family": {
783
- "type": "string",
784
- "enum": [
785
- "fulfillment",
786
- "after_sales",
787
- "review_incentive",
788
- "discount",
789
- "privacy_channel"
790
- ]
791
- },
792
- "label": {
793
- "type": "string"
794
- },
795
- "status": {
796
- "type": "string",
797
- "enum": [
798
- "mapped",
799
- "unmapped",
800
- "blocker"
801
- ]
802
- },
803
- "evidence": {
804
- "type": "string",
805
- "description": "The matched phrase from the description — every coverage verdict carries its evidence."
806
- },
807
- "target": {
808
- "description": "The WoWok carrier when status=mapped.",
809
- "type": "string"
810
- },
811
- "note": {
812
- "type": "string"
813
- }
814
- },
815
- "required": [
816
- "family",
817
- "label",
818
- "status",
819
- "evidence",
820
- "note"
821
- ],
822
- "additionalProperties": false
823
- }
824
- },
825
- "network": {
826
- "type": "string",
827
- "enum": [
828
- "testnet",
829
- "mainnet",
830
- "localnet"
831
- ],
832
- "description": "Target network (default testnet). 'localnet' labels plans validated against a local net — the migration pipeline is network-agnostic, this is provenance metadata, not an execution target."
833
- }
834
- },
835
- "required": [
836
- "source",
837
- "template_match",
838
- "mapped",
839
- "unmapped",
840
- "manual_review",
841
- "wowok_advantages",
842
- "customizable_modules",
843
- "role_assessment",
844
- "risk_check",
845
- "network"
846
- ],
847
- "additionalProperties": false,
848
- "description": "The structured migration log."
849
- },
850
- "buildable": {
851
- "description": "Compile-kernel build verdict on probe inputs (S14-E2; absent when the probe could not run) — the matched template's buildability, surfaced at the earliest migration face.",
852
- "type": "boolean"
853
- },
854
- "build_blockers": {
855
- "description": "Why the compile kernel refuses (present only when the probe ruled).",
856
- "type": "array",
857
- "items": {
858
- "type": "string"
859
- }
860
- },
861
- "compile_dry_run": {
862
- "description": "Probe verdict face (S14-E2).",
863
- "type": "object",
864
- "properties": {
865
- "status": {
866
- "type": "string",
867
- "enum": [
868
- "ready",
869
- "blocked",
870
- "unavailable",
871
- "unverified"
872
- ]
873
- },
874
- "note": {
875
- "type": "string"
876
- }
877
- },
878
- "required": [
879
- "status",
880
- "note"
881
- ],
882
- "additionalProperties": false
883
- },
884
- "inference_source": {
885
- "description": "Which layer resolved the industry: 'keywords' = English lexical match only; 'semantic_ir' = the caller's IR decided; 'semantic_ir+keywords' = both contributed. Present only when semantic_ir was supplied.",
886
- "type": "string",
887
- "enum": [
888
- "keywords",
889
- "semantic_ir",
890
- "semantic_ir+keywords"
891
- ]
892
- },
893
- "semantic_ir_digest": {
894
- "description": "sha256 of the frozen Semantic IR artifact (present only when semantic_ir was supplied).",
895
- "type": "string"
896
- },
897
- "semantic_ir_issues": {
898
- "description": "IR claims dropped/clamped/conflicting during validation (unknown vocabulary, inverted span, sub-threshold confidence).",
899
- "type": "array",
900
- "items": {
901
- "type": "string"
902
- }
903
- },
904
- "next_action": {
905
- "type": "string",
906
- "description": "Next chain step: run migration_review with this log (C6 — the chain is self-describing, no agent re-exploration); carries a BLOCKED warning tail when the probe refused (S14-E2)."
907
- }
908
- },
909
- "required": [
910
- "action",
911
- "log",
912
- "next_action"
913
- ],
914
- "additionalProperties": false
915
- },
916
- {
917
- "type": "object",
918
- "properties": {
919
- "action": {
920
- "type": "string",
921
- "const": "migration_review"
922
- },
923
- "log": {
924
- "type": "object",
925
- "properties": {
926
- "source": {
927
- "type": "object",
928
- "properties": {
929
- "url": {
930
- "type": "string"
931
- },
932
- "description": {
933
- "type": "string"
934
- },
935
- "detected_industry": {
936
- "type": "string"
937
- },
938
- "matched_template": {
939
- "type": "string",
940
- "description": "Matched template id '<industry>/<variant>'."
941
- }
942
- },
943
- "required": [
944
- "description",
945
- "detected_industry",
946
- "matched_template"
947
- ],
948
- "additionalProperties": false,
949
- "description": "Migration source provenance."
950
- },
951
- "template_match": {
952
- "type": "object",
953
- "properties": {
954
- "source": {
955
- "type": "string",
956
- "enum": [
957
- "explicit",
958
- "product_ref",
959
- "discovery_product_ref",
960
- "discovery_tags",
961
- "keywords",
962
- "ir_industry_fallback",
963
- "industry_leader"
964
- ],
965
- "description": "Which deterministic pass chose the template: 'explicit' = caller's template_id; 'product_ref' = a benchmark product named in the text; 'discovery_product_ref' = the Semantic IR resolved the benchmark product; 'discovery_tags' = the IR's canonical tags scored the variant; 'keywords' = English keyword scoring; 'ir_industry_fallback' = the IR proved the industry only; 'industry_leader' = an explicit industry hint with no match."
966
- },
967
- "confidence": {
968
- "type": "number",
969
- "description": "Match confidence 0-1 (only an exact benchmark-product hit is 1.0)."
970
- },
971
- "matched_tags": {
972
- "description": "IR tags that hit this template (discovery_tags only).",
973
- "type": "array",
974
- "items": {
975
- "type": "string"
976
- }
977
- }
978
- },
979
- "required": [
980
- "source",
981
- "confidence"
982
- ],
983
- "additionalProperties": false,
984
- "description": "Template-match provenance — why this template, without re-running the matcher."
985
- },
986
- "mapped": {
987
- "type": "array",
988
- "items": {
989
- "type": "object",
990
- "properties": {
991
- "source_element": {
992
- "type": "string",
993
- "description": "Competitor-side element."
994
- },
995
- "target_object": {
996
- "description": "WoWok object/mechanism it maps to.",
997
- "type": "string"
998
- },
999
- "mapping_note": {
1000
- "type": "string",
1001
- "description": "One-line mapping explanation."
1002
- },
1003
- "reason": {
1004
- "description": "Why it cannot be migrated, or why it needs a decision.",
1005
- "type": "string"
1006
- }
1007
- },
1008
- "required": [
1009
- "source_element",
1010
- "mapping_note"
1011
- ],
1012
- "additionalProperties": false,
1013
- "description": "One competitor element and its WoWok mapping outcome."
1014
- },
1015
- "description": "Elements that map cleanly to WoWok objects."
1016
- },
1017
- "unmapped": {
1018
- "type": "array",
1019
- "items": {
1020
- "type": "object",
1021
- "properties": {
1022
- "source_element": {
1023
- "type": "string",
1024
- "description": "Competitor-side element."
1025
- },
1026
- "target_object": {
1027
- "description": "WoWok object/mechanism it maps to.",
1028
- "type": "string"
1029
- },
1030
- "mapping_note": {
1031
- "type": "string",
1032
- "description": "One-line mapping explanation."
1033
- },
1034
- "reason": {
1035
- "description": "Why it cannot be migrated, or why it needs a decision.",
1036
- "type": "string"
1037
- }
1038
- },
1039
- "required": [
1040
- "source_element",
1041
- "mapping_note"
1042
- ],
1043
- "additionalProperties": false,
1044
- "description": "One competitor element and its WoWok mapping outcome."
1045
- },
1046
- "description": "Elements that cannot be migrated, with reasons."
1047
- },
1048
- "manual_review": {
1049
- "type": "array",
1050
- "items": {
1051
- "type": "object",
1052
- "properties": {
1053
- "source_element": {
1054
- "type": "string",
1055
- "description": "Competitor-side element."
1056
- },
1057
- "target_object": {
1058
- "description": "WoWok object/mechanism it maps to.",
1059
- "type": "string"
1060
- },
1061
- "mapping_note": {
1062
- "type": "string",
1063
- "description": "One-line mapping explanation."
1064
- },
1065
- "reason": {
1066
- "description": "Why it cannot be migrated, or why it needs a decision.",
1067
- "type": "string"
1068
- }
1069
- },
1070
- "required": [
1071
- "source_element",
1072
- "mapping_note"
1073
- ],
1074
- "additionalProperties": false,
1075
- "description": "One competitor element and its WoWok mapping outcome."
1076
- },
1077
- "description": "Elements requiring an explicit user decision."
1078
- },
1079
- "wowok_advantages": {
1080
- "type": "array",
1081
- "items": {
1082
- "type": "string"
1083
- },
1084
- "description": "WoWok platform advantages surfaced during migration."
1085
- },
1086
- "customizable_modules": {
1087
- "type": "array",
1088
- "items": {
1089
- "type": "string"
1090
- },
1091
- "description": "Business-module ids the user can customize."
1092
- },
1093
- "role_assessment": {
1094
- "type": "object",
1095
- "properties": {
1096
- "recommended": {
1097
- "type": "string"
1098
- },
1099
- "rationale": {
1100
- "type": "string"
1101
- },
1102
- "alternatives": {
1103
- "type": "array",
1104
- "items": {
1105
- "type": "string"
1106
- }
1107
- }
1108
- },
1109
- "required": [
1110
- "recommended",
1111
- "rationale",
1112
- "alternatives"
1113
- ],
1114
- "additionalProperties": false,
1115
- "description": "Merchant vs supplier role assessment."
1116
- },
1117
- "risk_check": {
1118
- "type": "object",
1119
- "properties": {
1120
- "passed": {
1121
- "type": "boolean"
1122
- },
1123
- "findings": {
1124
- "type": "array",
1125
- "items": {
1126
- "type": "string"
1127
- }
1128
- }
1129
- },
1130
- "required": [
1131
- "passed",
1132
- "findings"
1133
- ],
1134
- "additionalProperties": false,
1135
- "description": "Dry-run risk check against the matched template."
1136
- },
1137
- "requirement_coverage": {
1138
- "description": "W5-07 (ks7 F-04/F-02): explicit-promise coverage matrix. Every promise family the description hit lands in exactly ONE of mapped/unmapped/blocker — a stated promise can never silently disappear. status='blocker' = the matched template cannot carry the promise as-is; the note names the exact build decision (declare the mode / compose the registered fulfillment combination) required before migration_apply. Surface every blocker to the user at migration_review. Optional only so logs produced before W5-07 still parse — fresh migration_import logs ALWAYS carry it.",
1139
- "type": "array",
1140
- "items": {
1141
- "type": "object",
1142
- "properties": {
1143
- "family": {
1144
- "type": "string",
1145
- "enum": [
1146
- "fulfillment",
1147
- "after_sales",
1148
- "review_incentive",
1149
- "discount",
1150
- "privacy_channel"
1151
- ]
1152
- },
1153
- "label": {
1154
- "type": "string"
1155
- },
1156
- "status": {
1157
- "type": "string",
1158
- "enum": [
1159
- "mapped",
1160
- "unmapped",
1161
- "blocker"
1162
- ]
1163
- },
1164
- "evidence": {
1165
- "type": "string",
1166
- "description": "The matched phrase from the description — every coverage verdict carries its evidence."
1167
- },
1168
- "target": {
1169
- "description": "The WoWok carrier when status=mapped.",
1170
- "type": "string"
1171
- },
1172
- "note": {
1173
- "type": "string"
1174
- }
1175
- },
1176
- "required": [
1177
- "family",
1178
- "label",
1179
- "status",
1180
- "evidence",
1181
- "note"
1182
- ],
1183
- "additionalProperties": false
1184
- }
1185
- },
1186
- "network": {
1187
- "type": "string",
1188
- "enum": [
1189
- "testnet",
1190
- "mainnet",
1191
- "localnet"
1192
- ],
1193
- "description": "Target network (default testnet). 'localnet' labels plans validated against a local net — the migration pipeline is network-agnostic, this is provenance metadata, not an execution target."
1194
- }
1195
- },
1196
- "required": [
1197
- "source",
1198
- "template_match",
1199
- "mapped",
1200
- "unmapped",
1201
- "manual_review",
1202
- "wowok_advantages",
1203
- "customizable_modules",
1204
- "role_assessment",
1205
- "risk_check",
1206
- "network"
1207
- ],
1208
- "additionalProperties": false,
1209
- "description": "The migration log under review."
1210
- },
1211
- "review_summary": {
1212
- "type": "object",
1213
- "properties": {
1214
- "mapped_count": {
1215
- "type": "number"
1216
- },
1217
- "unmapped_count": {
1218
- "type": "number"
1219
- },
1220
- "manual_review_count": {
1221
- "type": "number"
1222
- },
1223
- "risk_passed": {
1224
- "type": "boolean"
1225
- },
1226
- "buildable": {
1227
- "description": "Compile-kernel build verdict on probe inputs (S14-E2; absent when the probe could not run) — a DEFINITIVE false verdict un-cleans the route.",
1228
- "type": "boolean"
1229
- },
1230
- "build_blockers": {
1231
- "description": "Why the compile kernel refuses (present only when the probe ruled).",
1232
- "type": "array",
1233
- "items": {
1234
- "type": "string"
1235
- }
1236
- },
1237
- "compile_dry_run": {
1238
- "description": "Probe verdict face (S14-E2).",
1239
- "type": "object",
1240
- "properties": {
1241
- "status": {
1242
- "type": "string",
1243
- "enum": [
1244
- "ready",
1245
- "blocked",
1246
- "unavailable",
1247
- "unverified"
1248
- ]
1249
- },
1250
- "note": {
1251
- "type": "string"
1252
- }
1253
- },
1254
- "required": [
1255
- "status",
1256
- "note"
1257
- ],
1258
- "additionalProperties": false
1259
- }
1260
- },
1261
- "required": [
1262
- "mapped_count",
1263
- "unmapped_count",
1264
- "manual_review_count",
1265
- "risk_passed"
1266
- ],
1267
- "additionalProperties": false,
1268
- "description": "Counts + risk status + build verdict (S14-E2) for the confirmation screen."
1269
- },
1270
- "next_action": {
1271
- "type": "string",
1272
- "description": "Next chain step: migration_apply with the matched template when the review is clean; surface the unmapped/manual_review items for a user decision otherwise."
1273
- }
1274
- },
1275
- "required": [
1276
- "action",
1277
- "log",
1278
- "review_summary",
1279
- "next_action"
1280
- ],
1281
- "additionalProperties": false
1282
- },
1283
- {
1284
- "type": "object",
1285
- "properties": {
1286
- "action": {
1287
- "type": "string",
1288
- "const": "migration_apply"
1289
- },
1290
- "template_id": {
1291
- "type": "string"
1292
- },
1293
- "network": {
1294
- "type": "string",
1295
- "enum": [
1296
- "testnet",
1297
- "mainnet",
1298
- "localnet"
1299
- ]
1300
- },
1301
- "semantic_ir_digest": {
1302
- "description": "sha256 of the frozen Semantic IR artifact (present only when semantic_ir was supplied).",
1303
- "type": "string"
1304
- },
1305
- "semantic_ir_issues": {
1306
- "description": "IR claims dropped/clamped/conflicting during validation (unknown vocabulary, inverted span, sub-threshold confidence).",
1307
- "type": "array",
1308
- "items": {
1309
- "type": "string"
1310
- }
1311
- },
1312
- "scan": {
1313
- "type": "object",
1314
- "properties": {
1315
- "risk_level": {
1316
- "type": "string",
1317
- "enum": [
1318
- "low",
1319
- "medium",
1320
- "high",
1321
- "critical"
1322
- ]
1323
- },
1324
- "passed": {
1325
- "type": "boolean"
1326
- },
1327
- "finding_count": {
1328
- "type": "number"
1329
- },
1330
- "findings_by_severity": {
1331
- "type": "object",
1332
- "propertyNames": {
1333
- "type": "string"
1334
- },
1335
- "additionalProperties": {
1336
- "type": "number"
1337
- },
1338
- "description": "Finding count keyed by severity."
1339
- },
1340
- "findings": {
1341
- "type": "array",
1342
- "items": {
1343
- "type": "object",
1344
- "properties": {
1345
- "rule_id": {
1346
- "description": "Rule id when known (e.g. 'R-M3-01', 'R1').",
1347
- "type": "string"
1348
- },
1349
- "severity": {
1350
- "type": "string",
1351
- "enum": [
1352
- "low",
1353
- "medium",
1354
- "high",
1355
- "critical"
1356
- ]
1357
- },
1358
- "title": {
1359
- "type": "string"
1360
- },
1361
- "detail": {
1362
- "type": "string"
1363
- },
1364
- "suggestion": {
1365
- "type": "string"
1366
- }
1367
- },
1368
- "required": [
1369
- "severity",
1370
- "title",
1371
- "detail",
1372
- "suggestion"
1373
- ],
1374
- "additionalProperties": false,
1375
- "description": "One pre-deploy risk finding."
1376
- },
1377
- "description": "Every finding with its rule id, detail and suggestion."
1378
- },
1379
- "red_flags": {
1380
- "type": "array",
1381
- "items": {
1382
- "type": "string"
1383
- }
1384
- }
1385
- },
1386
- "required": [
1387
- "risk_level",
1388
- "passed",
1389
- "finding_count",
1390
- "findings_by_severity",
1391
- "findings",
1392
- "red_flags"
1393
- ],
1394
- "additionalProperties": false,
1395
- "description": "Pre-deploy scan summary (generation/apply only runs when passed)."
1396
- },
1397
- "plan": {
1398
- "type": "object",
1399
- "propertyNames": {
1400
- "type": "string"
1401
- },
1402
- "additionalProperties": {},
1403
- "description": "Creation plan from the merchant-guide pipeline (never executed on-chain)."
1404
- },
1405
- "verdict": {
1406
- "type": "object",
1407
- "properties": {
1408
- "buildable": {
1409
- "type": "boolean"
1410
- },
1411
- "blockers": {
1412
- "type": "array",
1413
- "items": {
1414
- "type": "string"
1415
- }
1416
- },
1417
- "status": {
1418
- "type": "string",
1419
- "enum": [
1420
- "READY",
1421
- "BLOCKED",
1422
- "UNVERIFIED"
1423
- ],
1424
- "description": "AZT-04 single release authority. UNVERIFIED (ks7 F-18 / h1w9 F-17, kp1 P1-5 residual): the stale_build face was not actionable, so the verdict is void AS A WHOLE — buildable is false because VERIFICATION failed, NOT because the plan is defective (read blockers[0] and stale_build, rebuild, re-run)."
1425
- }
1426
- },
1427
- "required": [
1428
- "buildable",
1429
- "blockers",
1430
- "status"
1431
- ],
1432
- "additionalProperties": false,
1433
- "description": "Single aggregate ruling over the three signal faces (scan.passed / plan.graph_validation.valid / plan.audit.blocking) — the authoritative go/no-go (bkmn-261012 F-M62); the individual faces stay advisory."
1434
- },
1435
- "next_action": {
1436
- "type": "string",
1437
- "description": "Top-level forwarding of the materialization contract (C6): the guide's 'Plan ready. Materialize: ...' text verbatim when the audit is clean and the build is fresh; a BLOCKED reroute, or a DO-NOT-EXECUTE rebuild-first reroute when stale_build.actionable is false, otherwise."
1438
- }
1439
- },
1440
- "required": [
1441
- "action",
1442
- "template_id",
1443
- "network",
1444
- "scan",
1445
- "plan",
1446
- "verdict",
1447
- "next_action"
1448
- ],
1449
- "additionalProperties": false
1450
- },
1451
- {
1452
- "type": "object",
1453
- "properties": {
1454
- "action": {
1455
- "type": "string",
1456
- "const": "plan_execute"
1457
- },
1458
- "completed": {
1459
- "type": "boolean",
1460
- "description": "True when EVERY step executed (store fully deployed)."
1461
- },
1462
- "steps": {
1463
- "type": "array",
1464
- "items": {
1465
- "type": "object",
1466
- "propertyNames": {
1467
- "type": "string"
1468
- },
1469
- "additionalProperties": {}
1470
- },
1471
- "description": "Per-step results: { stepId, status: executed|failed|blocked, digest?, address?, error? }."
1472
- },
1473
- "outputs": {
1474
- "type": "object",
1475
- "propertyNames": {
1476
- "type": "string"
1477
- },
1478
- "additionalProperties": {
1479
- "type": "string"
1480
- },
1481
- "description": "step id -> created on-chain address (create steps). Feed back as previous_outputs when resuming."
1482
- },
1483
- "preflight": {
1484
- "type": "object",
1485
- "propertyNames": {
1486
- "type": "string"
1487
- },
1488
- "additionalProperties": {},
1489
- "description": "Freeze-gate audit the run was gated on (issues + findings)."
1490
- },
1491
- "readback": {
1492
- "type": "object",
1493
- "propertyNames": {
1494
- "type": "string"
1495
- },
1496
- "additionalProperties": {},
1497
- "description": "Post-execution conservation/readback checks."
1498
- },
1499
- "resume": {
1500
- "description": "W5-08 ①: the READY-TO-PASS resume payload, present whenever the run did NOT complete. Pass both fields back verbatim on the next plan_execute call (or use resume_from_step + previous_outputs).",
1501
- "type": "object",
1502
- "properties": {
1503
- "completed_steps": {
1504
- "type": "array",
1505
- "items": {
1506
- "type": "string"
1507
- },
1508
- "description": "Every stepId whose status is 'executed' in this response (fresh OR adopted) — the completed_steps of the next round."
1509
- },
1510
- "previous_outputs": {
1511
- "type": "object",
1512
- "propertyNames": {
1513
- "type": "string"
1514
- },
1515
- "additionalProperties": {
1516
- "type": "string"
1517
- },
1518
- "description": "This response's outputs — the previous_outputs of the next round."
1519
- }
1520
- },
1521
- "required": [
1522
- "completed_steps",
1523
- "previous_outputs"
1524
- ],
1525
- "additionalProperties": false
1526
- },
1527
- "repeated_failures": {
1528
- "description": "W5-08 ③: steps that failed with the IDENTICAL error in 2+ consecutive rounds — the run withholds the generic RESUME recipe for these; fix the cause before resuming.",
1529
- "type": "array",
1530
- "items": {
1531
- "type": "object",
1532
- "properties": {
1533
- "step_id": {
1534
- "type": "string"
1535
- },
1536
- "consecutive_rounds": {
1537
- "type": "number"
1538
- },
1539
- "error": {
1540
- "type": "string"
1541
- }
1542
- },
1543
- "required": [
1544
- "step_id",
1545
- "consecutive_rounds",
1546
- "error"
1547
- ],
1548
- "additionalProperties": false
1549
- }
1550
- },
1551
- "retry_prohibited": {
1552
- "description": "W5-08 ③: true alongside repeated_failures — a further unchanged re-run is REFUSED pre-execution (retry_override is the audited escape hatch).",
1553
- "type": "boolean"
1554
- },
1555
- "retry_override_applied": {
1556
- "description": "W5-08 ③ audit trail: the retry_override accepted this round (step cleared from the repeated-failure ledger).",
1557
- "type": "object",
1558
- "properties": {
1559
- "step_id": {
1560
- "type": "string"
1561
- },
1562
- "note": {
1563
- "type": "string"
1564
- }
1565
- },
1566
- "required": [
1567
- "step_id",
1568
- "note"
1569
- ],
1570
- "additionalProperties": false
1571
- },
1572
- "digest_check": {
1573
- "description": "O-F49: the plan-generation-time template_digest vs the CURRENT catalog's digest for the plan's template — present when the plan names a tracked template. A false template_digest_match (or version mismatch) is what the pre-execution stale-plan gate refuses on.",
1574
- "type": "object",
1575
- "properties": {
1576
- "plan_catalog_version": {
1577
- "anyOf": [
1578
- {
1579
- "type": "number"
1580
- },
1581
- {
1582
- "type": "null"
1583
- }
1584
- ]
1585
- },
1586
- "current_catalog_version": {
1587
- "type": "number"
1588
- },
1589
- "plan_template_digest": {
1590
- "anyOf": [
1591
- {
1592
- "type": "string"
1593
- },
1594
- {
1595
- "type": "null"
1596
- }
1597
- ]
1598
- },
1599
- "current_template_digest": {
1600
- "anyOf": [
1601
- {
1602
- "type": "string"
1603
- },
1604
- {
1605
- "type": "null"
1606
- }
1607
- ]
1608
- },
1609
- "template_digest_match": {
1610
- "type": "boolean"
1611
- }
1612
- },
1613
- "required": [
1614
- "plan_catalog_version",
1615
- "current_catalog_version",
1616
- "plan_template_digest",
1617
- "current_template_digest"
1618
- ],
1619
- "additionalProperties": false
1620
- },
1621
- "verdict_override": {
1622
- "description": "O-F49 audit trail: the override_stale_build:true accepted this round — the refused verdict/build face the caller consciously overrode. Absent on a normally gated run.",
1623
- "type": "object",
1624
- "properties": {
1625
- "parameter": {
1626
- "type": "string"
1627
- },
1628
- "reason": {
1629
- "type": "string"
1630
- },
1631
- "stale_build": {
1632
- "type": "object",
1633
- "propertyNames": {
1634
- "type": "string"
1635
- },
1636
- "additionalProperties": {}
1637
- }
1638
- },
1639
- "required": [
1640
- "parameter",
1641
- "reason",
1642
- "stale_build"
1643
- ],
1644
- "additionalProperties": false
1645
- },
1646
- "next_action": {
1647
- "type": "string",
1648
- "description": "One-click forwarding: deploy-complete guidance, the resume recipe (completed_steps + previous_outputs) after a mid-run failure, or the STOP-retrying ruling when the same error recurred."
1649
- }
1650
- },
1651
- "required": [
1652
- "action",
1653
- "completed",
1654
- "steps",
1655
- "outputs",
1656
- "preflight",
1657
- "readback",
1658
- "next_action"
1659
- ],
1660
- "additionalProperties": false
1661
- }
1662
- ]
1663
- }
1664
- },
1665
- "required": [
1666
- "result"
1667
- ],
1668
- "additionalProperties": false
1669
- }