@wowok/agent-mcp 3.3.9 → 3.4.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (480) hide show
  1. package/README.md +8 -0
  2. package/dist/chain-semantics/composition-truth.d.ts +102 -0
  3. package/dist/chain-semantics/composition-truth.js +1 -0
  4. package/dist/chain-semantics/eval-order.js +1 -1
  5. package/dist/chain-semantics/field-capability.js +1 -1
  6. package/dist/chain-semantics/freeze-map.js +1 -1
  7. package/dist/chain-semantics/fund-flow.js +1 -1
  8. package/dist/chain-semantics/guard-verbs.js +1 -1
  9. package/dist/chain-semantics/index.d.ts +1 -0
  10. package/dist/chain-semantics/index.js +1 -1
  11. package/dist/chain-semantics/object-graph.js +1 -1
  12. package/dist/composition/audit.js +1 -1
  13. package/dist/composition/blueprint-view.d.ts +3 -3
  14. package/dist/composition/blueprint-view.js +1 -1
  15. package/dist/composition/compile.d.ts +26 -4
  16. package/dist/composition/compile.js +1 -1
  17. package/dist/composition/emit-phases.d.ts +206 -0
  18. package/dist/composition/emit-phases.js +1 -0
  19. package/dist/composition/generate.d.ts +40 -0
  20. package/dist/composition/generate.js +1 -0
  21. package/dist/composition/guard-fill.d.ts +44 -0
  22. package/dist/composition/guard-fill.js +1 -0
  23. package/dist/composition/inflight.d.ts +26 -2
  24. package/dist/composition/inflight.js +1 -1
  25. package/dist/composition/input-normalize.d.ts +15 -0
  26. package/dist/composition/input-normalize.js +1 -0
  27. package/dist/composition/materialize.d.ts +22 -13
  28. package/dist/composition/materialize.js +1 -1
  29. package/dist/composition/mode-gates.d.ts +35 -0
  30. package/dist/composition/mode-gates.js +1 -0
  31. package/dist/composition/param-disclosure.d.ts +61 -0
  32. package/dist/composition/param-disclosure.js +1 -0
  33. package/dist/composition/plan-retry-ledger.d.ts +21 -0
  34. package/dist/composition/plan-retry-ledger.js +1 -0
  35. package/dist/composition/plan.d.ts +17 -2
  36. package/dist/composition/plan.js +1 -1
  37. package/dist/composition/product-card.d.ts +94 -0
  38. package/dist/composition/product-card.js +1 -0
  39. package/dist/composition/supply-chain-emit.d.ts +46 -0
  40. package/dist/composition/supply-chain-emit.js +1 -0
  41. package/dist/config/config-audit.spec.js +1 -1
  42. package/dist/config/config-warnings.d.ts +2 -0
  43. package/dist/config/config-warnings.js +1 -0
  44. package/dist/config/exposure.d.ts +2 -2
  45. package/dist/config/judgment.d.ts +31 -5
  46. package/dist/config/judgment.js +1 -1
  47. package/dist/config/judgment.spec.js +1 -1
  48. package/dist/config/match-policy-file.d.ts +34 -0
  49. package/dist/config/match-policy-file.js +1 -0
  50. package/dist/config/match-policy-file.spec.d.ts +1 -0
  51. package/dist/config/match-policy-file.spec.js +1 -0
  52. package/dist/config/rule-engine.d.ts +5 -5
  53. package/dist/config/rule-engine.js +1 -1
  54. package/dist/config/runtime.d.ts +0 -1
  55. package/dist/config/runtime.js +1 -1
  56. package/dist/config/severity.d.ts +0 -2
  57. package/dist/config/severity.js +1 -1
  58. package/dist/config/store-policy.spec.js +1 -1
  59. package/dist/config/template-params.d.ts +42 -0
  60. package/dist/config/template-params.js +1 -0
  61. package/dist/config/template-params.spec.d.ts +1 -0
  62. package/dist/config/template-params.spec.js +1 -0
  63. package/dist/customer/account-events.js +1 -1
  64. package/dist/data/api/api.spec.js +1 -1
  65. package/dist/data/api/cli.js +1 -1
  66. package/dist/data/api/server.d.ts +1 -0
  67. package/dist/data/api/server.js +1 -1
  68. package/dist/data/projection/store.d.ts +3 -1
  69. package/dist/data/projection/store.js +1 -1
  70. package/dist/data/projection/types.d.ts +32 -0
  71. package/dist/data/sync/cdc.d.ts +1 -2
  72. package/dist/data/sync/cdc.js +1 -1
  73. package/dist/data/sync/cdc.spec.js +1 -1
  74. package/dist/data/sync/store.d.ts +5 -0
  75. package/dist/data/sync/store.js +1 -1
  76. package/dist/data/sync/types.d.ts +2 -0
  77. package/dist/evaluation/acceptance.d.ts +8 -0
  78. package/dist/evaluation/acceptance.js +1 -1
  79. package/dist/evaluation/builtins/demand-match.js +1 -1
  80. package/dist/evaluation/builtins/graph-service.spec.js +1 -1
  81. package/dist/evaluation/capability.d.ts +2 -0
  82. package/dist/evaluation/category-match-rules.d.ts +0 -1
  83. package/dist/evaluation/category-match-rules.js +1 -1
  84. package/dist/evaluation/composer.d.ts +25 -0
  85. package/dist/evaluation/composer.js +1 -1
  86. package/dist/evaluation/engine.js +1 -1
  87. package/dist/evaluation/extract.d.ts +7 -0
  88. package/dist/evaluation/extract.js +1 -1
  89. package/dist/evaluation/game-strategy.d.ts +0 -3
  90. package/dist/evaluation/game-strategy.js +1 -1
  91. package/dist/evaluation/guard-scan.js +1 -1
  92. package/dist/evaluation/match-operation.d.ts +9 -0
  93. package/dist/evaluation/match-operation.js +1 -1
  94. package/dist/evaluation/match-policy-resolver.d.ts +9 -0
  95. package/dist/evaluation/match-policy-resolver.js +1 -0
  96. package/dist/evaluation/match-policy.d.ts +3 -1
  97. package/dist/evaluation/match-policy.js +1 -1
  98. package/dist/evaluation/region.d.ts +0 -6
  99. package/dist/evaluation/region.js +1 -1
  100. package/dist/evaluation/standards.d.ts +2 -1
  101. package/dist/evaluation/standards.js +1 -1
  102. package/dist/evaluation/structured-lines.d.ts +8 -0
  103. package/dist/evaluation/structured-lines.js +1 -0
  104. package/dist/evaluation/types.d.ts +6 -0
  105. package/dist/experience/realtime-feedback.js +1 -1
  106. package/dist/extensions/capability-manifest.d.ts +1 -0
  107. package/dist/extensions/capability-manifest.js +1 -1
  108. package/dist/extensions/capability.d.ts +91 -0
  109. package/dist/extensions/capability.js +1 -0
  110. package/dist/extensions/industry-audit.spec.js +1 -1
  111. package/dist/extensions/industry-pack.d.ts +13 -0
  112. package/dist/extensions/industry-pack.js +1 -1
  113. package/dist/extensions/modes.js +1 -1
  114. package/dist/extensions/registry.d.ts +0 -2
  115. package/dist/extensions/registry.js +1 -1
  116. package/dist/goal/GoalEngine.js +1 -1
  117. package/dist/graph/onchain/analyze.js +1 -1
  118. package/dist/graph/onchain/expand.js +1 -1
  119. package/dist/graph/onchain/exposure.js +1 -1
  120. package/dist/graph/onchain/facts.js +1 -1
  121. package/dist/graph/onchain/order-status.d.ts +0 -1
  122. package/dist/graph/onchain/order-status.js +1 -1
  123. package/dist/harness/recover.js +1 -1
  124. package/dist/harness/verify.d.ts +0 -3
  125. package/dist/harness/verify.js +1 -1
  126. package/dist/index.js +1 -1
  127. package/dist/intent/types.d.ts +0 -1
  128. package/dist/intent/types.js +1 -1
  129. package/dist/keeper/detectors.js +1 -1
  130. package/dist/keeper/types.d.ts +0 -1
  131. package/dist/keeper/types.js +1 -1
  132. package/dist/knowledge/allocation-risk.d.ts +1 -0
  133. package/dist/knowledge/allocation-risk.js +1 -1
  134. package/dist/knowledge/allocation-templates.js +1 -1
  135. package/dist/knowledge/allocator-rail-verifier.d.ts +6 -1
  136. package/dist/knowledge/allocator-rail-verifier.js +1 -1
  137. package/dist/knowledge/arb-fund-facts.d.ts +1 -0
  138. package/dist/knowledge/arb-fund-facts.js +1 -1
  139. package/dist/knowledge/arbitration-ledger.js +1 -1
  140. package/dist/knowledge/arbitration-puzzle.js +1 -1
  141. package/dist/knowledge/arbitration-risk.d.ts +1 -0
  142. package/dist/knowledge/arbitration-risk.js +1 -1
  143. package/dist/knowledge/audit-rules.d.ts +2 -2
  144. package/dist/knowledge/audit-rules.js +1 -1
  145. package/dist/knowledge/baselines/judgment-baselines.json +21 -2
  146. package/dist/knowledge/baselines/rules/allocation.json +6 -6
  147. package/dist/knowledge/baselines/rules/arb.json +2 -2
  148. package/dist/knowledge/baselines/rules/guard.json +11 -11
  149. package/dist/knowledge/baselines/rules/oracle.json +120 -0
  150. package/dist/knowledge/baselines/rules/order.json +1 -1
  151. package/dist/knowledge/baselines/rules/plan.json +385 -18
  152. package/dist/knowledge/baselines/rules/progress.json +20 -2
  153. package/dist/knowledge/baselines/semantic-facts.js +1 -1
  154. package/dist/knowledge/builtin-templates.d.ts +25 -1
  155. package/dist/knowledge/builtin-templates.js +1 -1
  156. package/dist/knowledge/catalog-facts.d.ts +4 -0
  157. package/dist/knowledge/catalog-facts.js +1 -0
  158. package/dist/knowledge/commission-landing.js +1 -1
  159. package/dist/knowledge/component-schema.d.ts +64 -0
  160. package/dist/knowledge/component-schema.js +1 -0
  161. package/dist/knowledge/contact-templates.d.ts +0 -1
  162. package/dist/knowledge/contact-templates.js +1 -1
  163. package/dist/knowledge/dynamic-pricing.js +1 -1
  164. package/dist/knowledge/entity-recipient-guard.js +1 -1
  165. package/dist/knowledge/event-semantics.js +1 -1
  166. package/dist/knowledge/fee-param-bindings.d.ts +26 -0
  167. package/dist/knowledge/fee-param-bindings.js +1 -0
  168. package/dist/knowledge/fund-layer.d.ts +1 -0
  169. package/dist/knowledge/fund-layer.js +1 -1
  170. package/dist/knowledge/game-scenarios.js +1 -1
  171. package/dist/knowledge/getting-started.d.ts +2 -2
  172. package/dist/knowledge/getting-started.js +1 -1
  173. package/dist/knowledge/guard-anchor-reach.js +1 -1
  174. package/dist/knowledge/guard-binding-table.d.ts +52 -0
  175. package/dist/knowledge/guard-binding-table.js +1 -0
  176. package/dist/knowledge/guard-binding-verifier.d.ts +30 -0
  177. package/dist/knowledge/guard-binding-verifier.js +1 -0
  178. package/dist/knowledge/guard-bindings.js +1 -1
  179. package/dist/knowledge/guard-blueprint.d.ts +68 -0
  180. package/dist/knowledge/guard-blueprint.js +1 -0
  181. package/dist/knowledge/guard-design-patterns.d.ts +1 -1
  182. package/dist/knowledge/guard-design-patterns.js +1 -1
  183. package/dist/knowledge/guard-field-cognition.js +1 -1
  184. package/dist/knowledge/guard-host-context.d.ts +24 -0
  185. package/dist/knowledge/guard-host-context.js +1 -0
  186. package/dist/knowledge/guard-ledger.js +1 -1
  187. package/dist/knowledge/guard-lint.d.ts +1 -0
  188. package/dist/knowledge/guard-lint.js +1 -1
  189. package/dist/knowledge/guard-node-gates.d.ts +3 -0
  190. package/dist/knowledge/guard-node-gates.js +1 -1
  191. package/dist/knowledge/guard-puzzle.js +1 -1
  192. package/dist/knowledge/guard-render.js +1 -1
  193. package/dist/knowledge/guard-risk.js +1 -1
  194. package/dist/knowledge/guard-submission-prompt.d.ts +11 -0
  195. package/dist/knowledge/guard-submission-prompt.js +1 -1
  196. package/dist/knowledge/guard-templates.d.ts +1 -1
  197. package/dist/knowledge/guard-templates.js +1 -1
  198. package/dist/knowledge/guard-translation.js +1 -1
  199. package/dist/knowledge/index.d.ts +1 -1
  200. package/dist/knowledge/index.js +1 -1
  201. package/dist/knowledge/industry-generalizer.d.ts +6 -1
  202. package/dist/knowledge/industry-generalizer.js +1 -1
  203. package/dist/knowledge/industry-registry.js +1 -1
  204. package/dist/knowledge/industry-strategy.js +1 -1
  205. package/dist/knowledge/jsonrpc-enum.d.ts +52 -3
  206. package/dist/knowledge/jsonrpc-enum.js +1 -1
  207. package/dist/knowledge/knob-docs.d.ts +5 -0
  208. package/dist/knowledge/knob-docs.js +1 -0
  209. package/dist/knowledge/machine-templates.js +1 -1
  210. package/dist/knowledge/machine-topology.js +1 -1
  211. package/dist/knowledge/machine-translation.js +1 -1
  212. package/dist/knowledge/object-dependency.d.ts +31 -0
  213. package/dist/knowledge/object-dependency.js +1 -0
  214. package/dist/knowledge/onchain-constants.d.ts +4 -0
  215. package/dist/knowledge/onchain-constants.js +1 -1
  216. package/dist/knowledge/order-ledger.js +1 -1
  217. package/dist/knowledge/param-schema.d.ts +93 -0
  218. package/dist/knowledge/param-schema.js +1 -0
  219. package/dist/knowledge/param-tiers.d.ts +25 -0
  220. package/dist/knowledge/param-tiers.js +1 -0
  221. package/dist/knowledge/passport-ledger.d.ts +1 -1
  222. package/dist/knowledge/passport-ledger.js +1 -1
  223. package/dist/knowledge/path-oracle/coverage.d.ts +16 -0
  224. package/dist/knowledge/path-oracle/coverage.js +1 -0
  225. package/dist/knowledge/path-oracle/index.d.ts +5 -0
  226. package/dist/knowledge/path-oracle/index.js +1 -0
  227. package/dist/knowledge/path-oracle/products/food-delivery.d.ts +2 -0
  228. package/dist/knowledge/path-oracle/products/food-delivery.js +1 -0
  229. package/dist/knowledge/path-oracle/schema.d.ts +188 -0
  230. package/dist/knowledge/path-oracle/schema.js +1 -0
  231. package/dist/knowledge/pattern-resolutions.d.ts +108 -0
  232. package/dist/knowledge/pattern-resolutions.js +1 -0
  233. package/dist/knowledge/progress-ledger.js +1 -1
  234. package/dist/knowledge/progress-risk.js +1 -1
  235. package/dist/knowledge/projection.spec.js +1 -1
  236. package/dist/knowledge/protocol-facts.js +1 -1
  237. package/dist/knowledge/requirement-families.d.ts +13 -0
  238. package/dist/knowledge/requirement-families.js +1 -0
  239. package/dist/knowledge/reward-ledger.js +1 -1
  240. package/dist/knowledge/safety-rules.js +1 -1
  241. package/dist/knowledge/scenario-modes.d.ts +2 -0
  242. package/dist/knowledge/scenario-modes.js +1 -1
  243. package/dist/knowledge/scenario-topology.js +1 -1
  244. package/dist/knowledge/semantic-ir.d.ts +4 -0
  245. package/dist/knowledge/semantic-ir.js +1 -1
  246. package/dist/knowledge/service-allocation-semantics.js +1 -1
  247. package/dist/knowledge/service-ledger.d.ts +1 -1
  248. package/dist/knowledge/service-ledger.js +1 -1
  249. package/dist/knowledge/service-templates.js +1 -1
  250. package/dist/knowledge/sku-name-gate.d.ts +17 -0
  251. package/dist/knowledge/sku-name-gate.js +1 -0
  252. package/dist/knowledge/strategy-manuals.d.ts +1 -1
  253. package/dist/knowledge/strategy-manuals.js +1 -1
  254. package/dist/knowledge/supply-chain.d.ts +9 -0
  255. package/dist/knowledge/supply-chain.js +1 -1
  256. package/dist/knowledge/template-loader.d.ts +114 -6
  257. package/dist/knowledge/template-loader.js +1 -1
  258. package/dist/knowledge/template-nav.d.ts +9 -0
  259. package/dist/knowledge/template-nav.js +1 -0
  260. package/dist/knowledge/template-prose.d.ts +1 -1
  261. package/dist/knowledge/template-registry.js +1 -1
  262. package/dist/knowledge/template-scanner.d.ts +95 -0
  263. package/dist/knowledge/template-scanner.js +1 -1
  264. package/dist/knowledge/template-test-profiles.d.ts +17 -0
  265. package/dist/knowledge/template-test-profiles.js +1 -0
  266. package/dist/knowledge/template-validation.d.ts +1 -0
  267. package/dist/knowledge/template-validation.js +1 -1
  268. package/dist/knowledge/tools-reference.js +1 -1
  269. package/dist/knowledge/treasury-templates.js +1 -1
  270. package/dist/knowledge/workflow-guidance.d.ts +5 -0
  271. package/dist/knowledge/workflow-guidance.js +1 -1
  272. package/dist/monitor/MonitorLoop.js +1 -1
  273. package/dist/participation/radar-core.js +1 -1
  274. package/dist/participation/time-window.d.ts +37 -0
  275. package/dist/participation/time-window.js +1 -0
  276. package/dist/persona/address-format.d.ts +0 -1
  277. package/dist/persona/address-format.js +1 -1
  278. package/dist/persona/bridge.js +1 -1
  279. package/dist/persona/index.d.ts +0 -2
  280. package/dist/persona/index.js +1 -1
  281. package/dist/persona/model.js +1 -1
  282. package/dist/persona/persona-audit.spec.js +1 -1
  283. package/dist/persona/types.d.ts +6 -0
  284. package/dist/playbooks/service-build/business-puzzle.js +1 -1
  285. package/dist/playbooks/service-build/game-theory.d.ts +2 -2
  286. package/dist/playbooks/service-build/intent-analyzer.js +1 -1
  287. package/dist/playbooks/service-build/machine-panorama.d.ts +1 -0
  288. package/dist/playbooks/service-build/machine-panorama.js +1 -1
  289. package/dist/playbooks/service-build/merchant-guide.d.ts +52 -22
  290. package/dist/playbooks/service-build/merchant-guide.js +1 -1
  291. package/dist/playbooks/service-build/migration-planner.d.ts +2 -0
  292. package/dist/playbooks/service-build/migration-planner.js +1 -1
  293. package/dist/playbooks/service-build/mode-actions.js +1 -1
  294. package/dist/playbooks/service-build/object-panorama.d.ts +8 -0
  295. package/dist/playbooks/service-build/object-panorama.js +1 -1
  296. package/dist/playbooks/service-build/participation-radar.d.ts +1 -0
  297. package/dist/playbooks/service-build/participation-radar.js +1 -1
  298. package/dist/playbooks/service-build/relationship-profile.js +1 -1
  299. package/dist/playbooks/service-build/reverse-mapping.d.ts +6 -0
  300. package/dist/playbooks/service-build/reverse-mapping.js +1 -1
  301. package/dist/playbooks/service-build/service-panorama.d.ts +2 -0
  302. package/dist/playbooks/service-build/service-panorama.js +1 -1
  303. package/dist/playbooks/service-build/service-quote.js +1 -1
  304. package/dist/playbooks/service-build/service-quote.spec.js +1 -1
  305. package/dist/playbooks/service-build/workflow-design-assessment.d.ts +10 -1
  306. package/dist/playbooks/service-build/workflow-design-assessment.js +1 -1
  307. package/dist/relationship/registry.js +1 -1
  308. package/dist/review/index.js +1 -1
  309. package/dist/review/repository.js +1 -1
  310. package/dist/runtime/instance-registry.d.ts +7 -1
  311. package/dist/runtime/instance-registry.js +1 -1
  312. package/dist/safety/confirm-gate.js +1 -1
  313. package/dist/schema/benchmark-migration/index.d.ts +106 -0
  314. package/dist/schema/benchmark-migration/index.js +1 -1
  315. package/dist/schema/call/allocation.d.ts +15 -6
  316. package/dist/schema/call/allocation.js +1 -1
  317. package/dist/schema/call/arbitration.js +1 -1
  318. package/dist/schema/call/base.d.ts +264 -0
  319. package/dist/schema/call/base.js +1 -1
  320. package/dist/schema/call/bridge.d.ts +34 -6
  321. package/dist/schema/call/demand.d.ts +15 -6
  322. package/dist/schema/call/demand.js +1 -1
  323. package/dist/schema/call/error-codes.d.ts +1 -1
  324. package/dist/schema/call/error-codes.js +1 -1
  325. package/dist/schema/call/guard.d.ts +8 -8
  326. package/dist/schema/call/guard.js +1 -1
  327. package/dist/schema/call/handler.d.ts +3 -0
  328. package/dist/schema/call/handler.js +1 -1
  329. package/dist/schema/call/machine.d.ts +32 -8
  330. package/dist/schema/call/machine.js +1 -1
  331. package/dist/schema/call/order.d.ts +26 -8
  332. package/dist/schema/call/order.js +1 -1
  333. package/dist/schema/call/payment.d.ts +20 -8
  334. package/dist/schema/call/payment.js +1 -1
  335. package/dist/schema/call/permission-handler.js +1 -1
  336. package/dist/schema/call/permission.d.ts +330 -114
  337. package/dist/schema/call/permission.js +1 -1
  338. package/dist/schema/call/personal.d.ts +10 -4
  339. package/dist/schema/call/personal.js +1 -1
  340. package/dist/schema/call/progress.d.ts +16 -4
  341. package/dist/schema/call/reward.d.ts +10 -4
  342. package/dist/schema/call/reward.js +1 -1
  343. package/dist/schema/call/semantic.d.ts +1 -0
  344. package/dist/schema/call/semantic.js +1 -1
  345. package/dist/schema/call/service.d.ts +131 -43
  346. package/dist/schema/call/service.js +1 -1
  347. package/dist/schema/call/treasury.d.ts +15 -6
  348. package/dist/schema/call/treasury.js +1 -1
  349. package/dist/schema/common/index.js +1 -1
  350. package/dist/schema/config/index.d.ts +61 -0
  351. package/dist/schema/config/index.js +1 -1
  352. package/dist/schema/envelope-unify.d.ts +4 -0
  353. package/dist/schema/envelope-unify.js +1 -0
  354. package/dist/schema/evaluation/index.d.ts +224 -19
  355. package/dist/schema/evaluation/index.js +1 -1
  356. package/dist/schema/goal/index.d.ts +47 -0
  357. package/dist/schema/goal/planning.d.ts +116 -1
  358. package/dist/schema/goal/planning.js +1 -1
  359. package/dist/schema/industry-pack/index.d.ts +166 -6
  360. package/dist/schema/industry-pack/index.js +1 -1
  361. package/dist/schema/industry-pack/modes.d.ts +6 -6
  362. package/dist/schema/keeper/index.d.ts +26 -0
  363. package/dist/schema/local/index.d.ts +157 -0
  364. package/dist/schema/local/index.js +1 -1
  365. package/dist/schema/local/wip.d.ts +6 -0
  366. package/dist/schema/local/wip.js +1 -1
  367. package/dist/schema/messenger/index.d.ts +28 -0
  368. package/dist/schema/messenger/index.js +1 -1
  369. package/dist/schema/operations.d.ts +343 -84
  370. package/dist/schema/operations.js +1 -1
  371. package/dist/schema/persona/index.d.ts +2907 -640
  372. package/dist/schema/persona/index.js +1 -1
  373. package/dist/schema/query/bi.d.ts +251 -4
  374. package/dist/schema/query/bi.js +1 -1
  375. package/dist/schema/query/index.d.ts +271 -78
  376. package/dist/schema/query/index.js +1 -1
  377. package/dist/schema/schema-query/index.d.ts +1 -1
  378. package/dist/schema/schema-query/index.js +1 -1
  379. package/dist/schema/schema-version.js +1 -1
  380. package/dist/schema/utils/permission-machine-check.d.ts +2 -0
  381. package/dist/schema/utils/permission-machine-check.js +1 -1
  382. package/dist/schema/watch/index.d.ts +16 -0
  383. package/dist/schema/watch/index.js +1 -1
  384. package/dist/schema/workflow/index.d.ts +2 -2
  385. package/dist/schema/workflow/index.js +1 -1
  386. package/dist/schema-query-impl/index.d.ts +1 -1
  387. package/dist/schema-query-impl/index.js +1 -1
  388. package/dist/schemas/account_operation.output.json +98 -2
  389. package/dist/schemas/benchmark_migration_operation.output.json +341 -12
  390. package/dist/schemas/benchmark_migration_operation.schema.json +42 -3
  391. package/dist/schemas/bridge_operation.output.json +98 -2
  392. package/dist/schemas/bridge_operation.schema.json +5 -5
  393. package/dist/schemas/config_operation.output.json +352 -0
  394. package/dist/schemas/config_operation.schema.json +20 -2
  395. package/dist/schemas/evaluation_operation.output.json +586 -4
  396. package/dist/schemas/evaluation_operation.schema.json +194 -3
  397. package/dist/schemas/goal_operation.schema.json +183 -0
  398. package/dist/schemas/guard2file.schema.json +1 -1
  399. package/dist/schemas/index.json +1 -1
  400. package/dist/schemas/industry_pack_operation.output.json +771 -1
  401. package/dist/schemas/industry_pack_operation.schema.json +28 -4
  402. package/dist/schemas/keeper_operation.output.json +96 -2
  403. package/dist/schemas/local_cache_operation.output.json +98 -2
  404. package/dist/schemas/local_history_operation.output.json +98 -2
  405. package/dist/schemas/local_info_operation.output.json +98 -2
  406. package/dist/schemas/local_mark_operation.output.json +98 -2
  407. package/dist/schemas/machineNode2file.schema.json +1 -1
  408. package/dist/schemas/messenger_operation.output.json +107 -2
  409. package/dist/schemas/messenger_operation.schema.json +41 -34
  410. package/dist/schemas/monitor_events.output.json +96 -2
  411. package/dist/schemas/monitor_subscription.output.json +96 -2
  412. package/dist/schemas/onchain_events.output.json +108 -14
  413. package/dist/schemas/onchain_operations.output.json +326 -11
  414. package/dist/schemas/onchain_operations.schema.json +1343 -734
  415. package/dist/schemas/onchain_operations_allocation.schema.json +35 -19
  416. package/dist/schemas/onchain_operations_arbitration.schema.json +16 -8
  417. package/dist/schemas/onchain_operations_contact.schema.json +12 -4
  418. package/dist/schemas/onchain_operations_demand.schema.json +33 -17
  419. package/dist/schemas/onchain_operations_gen_passport.schema.json +12 -4
  420. package/dist/schemas/onchain_operations_gen_proof.schema.json +1 -1
  421. package/dist/schemas/onchain_operations_guard.schema.json +297 -111
  422. package/dist/schemas/onchain_operations_machine.schema.json +56 -39
  423. package/dist/schemas/onchain_operations_order.schema.json +67 -42
  424. package/dist/schemas/onchain_operations_payment.schema.json +27 -12
  425. package/dist/schemas/onchain_operations_permission.schema.json +363 -232
  426. package/dist/schemas/onchain_operations_personal.schema.json +43 -28
  427. package/dist/schemas/onchain_operations_progress.schema.json +49 -32
  428. package/dist/schemas/onchain_operations_proof.schema.json +12 -4
  429. package/dist/schemas/onchain_operations_repository.schema.json +17 -8
  430. package/dist/schemas/onchain_operations_reward.schema.json +36 -20
  431. package/dist/schemas/onchain_operations_service.schema.json +230 -130
  432. package/dist/schemas/onchain_operations_treasury.schema.json +36 -20
  433. package/dist/schemas/onchain_table_data.output.json +276 -19
  434. package/dist/schemas/onchain_table_data.schema.json +104 -64
  435. package/dist/schemas/persona_operation.output.json +7752 -0
  436. package/dist/schemas/persona_operation.schema.json +1232 -4
  437. package/dist/schemas/query_toolkit.output.json +1054 -146
  438. package/dist/schemas/query_toolkit.schema.json +144 -13
  439. package/dist/schemas/schema_query.schema.json +1 -1
  440. package/dist/schemas/watch_operation.output.json +86 -3
  441. package/dist/schemas/wip_file.output.json +8 -0
  442. package/dist/schemas/workflow_operation.schema.json +5 -4
  443. package/dist/schemas/wowok_buildin_info.schema.json +1 -1
  444. package/dist/task/playbook.js +1 -1
  445. package/dist/tools/handlers/benchmark-migration.d.ts +12 -3
  446. package/dist/tools/handlers/benchmark-migration.js +1 -1
  447. package/dist/tools/handlers/config.js +1 -1
  448. package/dist/tools/handlers/evaluation.js +1 -1
  449. package/dist/tools/handlers/evaluation.spec.js +1 -1
  450. package/dist/tools/handlers/industry-pack.js +1 -1
  451. package/dist/tools/handlers/messenger.js +1 -1
  452. package/dist/tools/handlers/onchain.d.ts +24 -0
  453. package/dist/tools/handlers/onchain.js +1 -1
  454. package/dist/tools/handlers/persona.js +1 -1
  455. package/dist/tools/handlers/query.d.ts +8 -0
  456. package/dist/tools/handlers/query.js +1 -1
  457. package/dist/tools/handlers/winner-derivation.d.ts +20 -0
  458. package/dist/tools/handlers/winner-derivation.js +1 -0
  459. package/dist/tools/handlers/wip-upload.js +1 -1
  460. package/dist/tools/index.d.ts +1 -0
  461. package/dist/tools/index.js +1 -1
  462. package/dist/tools/registry/business.js +1 -1
  463. package/dist/tools/registry/config.js +1 -1
  464. package/dist/tools/registry/evaluation.js +1 -1
  465. package/dist/tools/registry/identity.js +1 -1
  466. package/dist/tools/registry/onchain.js +1 -1
  467. package/dist/tools/registry/query.js +1 -1
  468. package/dist/tools/sanitize-output.js +1 -1
  469. package/dist/tools/sanitize-output.spec.js +1 -1
  470. package/dist/tools/transport-integrity.d.ts +7 -0
  471. package/dist/tools/transport-integrity.js +1 -0
  472. package/dist/tools/types.d.ts +1 -0
  473. package/dist/tools/upgrade-check.d.ts +22 -0
  474. package/dist/tools/upgrade-check.js +1 -1
  475. package/dist/tools/wrap.d.ts +6 -1
  476. package/dist/tools/wrap.js +1 -1
  477. package/package.json +7 -6
  478. package/dist/extensions/business-modules.d.ts +0 -54
  479. package/dist/extensions/business-modules.js +0 -1
  480. package/dist/schemas/guard-templates.json +0 -379
@@ -2395,6 +2395,8 @@
2395
2395
  "delivery_unknown",
2396
2396
  "capability_unavailable",
2397
2397
  "transport_unavailable",
2398
+ "peer_not_registered",
2399
+ "submission_too_large",
2398
2400
  "unknown"
2399
2401
  ]
2400
2402
  },
@@ -3300,6 +3302,92 @@
3300
3302
  "top_risks"
3301
3303
  ],
3302
3304
  "additionalProperties": false
3305
+ },
3306
+ "blueprint_verdict": {
3307
+ "description": "Creation-time blueprint verdict: business intent + host rich semantics + logic tree composed and run through the full per-host verification battery BEFORE the guard create tx. Present when binding_hint maps to a catalog host; absent when no host is known (add binding_hint to enable).",
3308
+ "type": "object",
3309
+ "properties": {
3310
+ "host": {
3311
+ "type": "string",
3312
+ "description": "Catalog host id this guard was verified against (guard-host-context)."
3313
+ },
3314
+ "status": {
3315
+ "type": "string",
3316
+ "enum": [
3317
+ "blocked",
3318
+ "proceed_with_warnings",
3319
+ "proceed"
3320
+ ],
3321
+ "description": "Single authority over create readiness. blocked = structural defect, fix BEFORE create (guards are immutable after create)."
3322
+ },
3323
+ "statement": {
3324
+ "type": "string",
3325
+ "description": "One authoritative verdict statement naming the finding codes."
3326
+ },
3327
+ "findings": {
3328
+ "type": "array",
3329
+ "items": {
3330
+ "type": "object",
3331
+ "properties": {
3332
+ "source": {
3333
+ "type": "string",
3334
+ "description": "Which verifier produced the finding (verifyGuardBinding / auditGuardRelies / auditQuoteGuardCandidate / blueprint)."
3335
+ },
3336
+ "code": {
3337
+ "type": "string",
3338
+ "description": "Stable finding id (e.g. MF_SLOT_IDENTITY_ANCHOR, RC_NO_ORDER_ANCHOR)."
3339
+ },
3340
+ "level": {
3341
+ "type": "string",
3342
+ "enum": [
3343
+ "critical",
3344
+ "warning",
3345
+ "info"
3346
+ ]
3347
+ },
3348
+ "detail": {
3349
+ "type": "string"
3350
+ }
3351
+ },
3352
+ "required": [
3353
+ "source",
3354
+ "code",
3355
+ "level",
3356
+ "detail"
3357
+ ],
3358
+ "additionalProperties": false
3359
+ },
3360
+ "description": "All findings from the composed verification battery."
3361
+ },
3362
+ "host_context": {
3363
+ "description": "The host rich semantics this guard inherits — inlined so the design dialogue argues from facts, not memory.",
3364
+ "type": "object",
3365
+ "properties": {
3366
+ "signer_subject": {
3367
+ "type": "string"
3368
+ },
3369
+ "order_anchor": {
3370
+ "type": "string"
3371
+ },
3372
+ "identity_obligation": {
3373
+ "type": "string"
3374
+ }
3375
+ },
3376
+ "required": [
3377
+ "signer_subject",
3378
+ "order_anchor",
3379
+ "identity_obligation"
3380
+ ],
3381
+ "additionalProperties": false
3382
+ }
3383
+ },
3384
+ "required": [
3385
+ "host",
3386
+ "status",
3387
+ "statement",
3388
+ "findings"
3389
+ ],
3390
+ "additionalProperties": false
3303
3391
  }
3304
3392
  },
3305
3393
  "additionalProperties": false
@@ -3416,7 +3504,7 @@
3416
3504
  "description": "ALL reachable next-node directions (every operator/permission/guard disclosed)."
3417
3505
  },
3418
3506
  "recommendation": {
3419
- "description": "Recommended option with rationale (K3 Game intent/game/interests).",
3507
+ "description": "Recommended option with rationale (K3 Game intent and interests).",
3420
3508
  "type": "object",
3421
3509
  "properties": {
3422
3510
  "best": {
@@ -3663,7 +3751,7 @@
3663
3751
  "description": "ALL reachable next-node directions (every operator/permission/guard disclosed)."
3664
3752
  },
3665
3753
  "recommendation": {
3666
- "description": "Recommended option with rationale (K3 Game intent/game/interests).",
3754
+ "description": "Recommended option with rationale (K3 Game intent and interests).",
3667
3755
  "type": "object",
3668
3756
  "properties": {
3669
3757
  "best": {
@@ -3695,6 +3783,14 @@
3695
3783
  "note": {
3696
3784
  "description": "Additional note.",
3697
3785
  "type": "string"
3786
+ },
3787
+ "digest": {
3788
+ "description": "REAL transaction digest of this operation (ddmc4 B-37) — paste into onchain_transaction or a block explorer to audit. Absent under dry-run/simulation.",
3789
+ "type": "string"
3790
+ },
3791
+ "signer": {
3792
+ "description": "Signing account's on-chain address — a SEPARATE field from digest ({signer, digest}), never occupying the digest slot.",
3793
+ "type": "string"
3698
3794
  }
3699
3795
  },
3700
3796
  "required": [
@@ -2,7 +2,7 @@
2
2
  "$schema": "http://json-schema.org/draft-07/schema#",
3
3
  "$id": "https://wowok.net/schemas/benchmark_migration_operation.output.json",
4
4
  "title": "Template Migration - Industry Templates & Competitor Migration",
5
- "description": "MD industry-archetype templates (hot-loaded from .wowok/templates/, 12 built-ins: 6 industries x leader + challenger), 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), 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).",
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
6
  "type": "object",
7
7
  "properties": {
8
8
  "result": {
@@ -287,6 +287,10 @@
287
287
  "type": "boolean",
288
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
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
+ },
290
294
  "lag_minutes": {
291
295
  "anyOf": [
292
296
  {
@@ -300,12 +304,13 @@
300
304
  },
301
305
  "detail": {
302
306
  "type": "string",
303
- "description": "Human-readable freshness statement (src/dist mtime lag) with the rebuild remediation when stale."
307
+ "description": "Human-readable freshness statement (source/build mtime lag) with the rebuild remediation when stale."
304
308
  }
305
309
  },
306
310
  "required": [
307
311
  "stale",
308
312
  "known",
313
+ "actionable",
309
314
  "lag_minutes",
310
315
  "detail"
311
316
  ],
@@ -323,18 +328,28 @@
323
328
  "items": {
324
329
  "type": "string"
325
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)."
326
340
  }
327
341
  },
328
342
  "required": [
329
343
  "buildable",
330
- "blockers"
344
+ "blockers",
345
+ "status"
331
346
  ],
332
347
  "additionalProperties": false,
333
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."
334
349
  },
335
350
  "next_action": {
336
351
  "type": "string",
337
- "description": "Top-level forwarding of the materialization contract (C6): the guide's 'Plan ready. Materialize: ...' text verbatim when the audit is clean; a BLOCKED reroute back to this action otherwise."
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."
338
353
  }
339
354
  },
340
355
  "required": [
@@ -416,6 +431,46 @@
416
431
  "items": {
417
432
  "type": "string"
418
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."
419
474
  }
420
475
  },
421
476
  "required": [
@@ -423,7 +478,9 @@
423
478
  "risk_level",
424
479
  "passed",
425
480
  "findings",
426
- "red_flags"
481
+ "red_flags",
482
+ "drift",
483
+ "compile_dry_run"
427
484
  ],
428
485
  "additionalProperties": false,
429
486
  "description": "Full pre-deploy scan result."
@@ -439,6 +496,10 @@
439
496
  "type": "boolean",
440
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."
441
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
+ },
442
503
  "lag_minutes": {
443
504
  "anyOf": [
444
505
  {
@@ -452,23 +513,42 @@
452
513
  },
453
514
  "detail": {
454
515
  "type": "string",
455
- "description": "Human-readable freshness statement (src/dist mtime lag) with the rebuild remediation when stale."
516
+ "description": "Human-readable freshness statement (source/build mtime lag) with the rebuild remediation when stale."
456
517
  }
457
518
  },
458
519
  "required": [
459
520
  "stale",
460
521
  "known",
522
+ "actionable",
461
523
  "lag_minutes",
462
524
  "detail"
463
525
  ],
464
526
  "additionalProperties": false,
465
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."
466
543
  }
467
544
  },
468
545
  "required": [
469
546
  "action",
470
547
  "scan",
471
- "stale_build"
548
+ "stale_build",
549
+ "buildable",
550
+ "build_blockers",
551
+ "next_action"
472
552
  ],
473
553
  "additionalProperties": false
474
554
  },
@@ -693,6 +773,55 @@
693
773
  "additionalProperties": false,
694
774
  "description": "Dry-run risk check against the matched template."
695
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
+ },
696
825
  "network": {
697
826
  "type": "string",
698
827
  "enum": [
@@ -718,6 +847,40 @@
718
847
  "additionalProperties": false,
719
848
  "description": "The structured migration log."
720
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
+ },
721
884
  "inference_source": {
722
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.",
723
886
  "type": "string",
@@ -740,7 +903,7 @@
740
903
  },
741
904
  "next_action": {
742
905
  "type": "string",
743
- "description": "Next chain step: run migration_review with this log (C6 — the chain is self-describing, no agent re-exploration)."
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)."
744
907
  }
745
908
  },
746
909
  "required": [
@@ -971,6 +1134,55 @@
971
1134
  "additionalProperties": false,
972
1135
  "description": "Dry-run risk check against the matched template."
973
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
+ },
974
1186
  "network": {
975
1187
  "type": "string",
976
1188
  "enum": [
@@ -1010,6 +1222,40 @@
1010
1222
  },
1011
1223
  "risk_passed": {
1012
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
1013
1259
  }
1014
1260
  },
1015
1261
  "required": [
@@ -1019,7 +1265,7 @@
1019
1265
  "risk_passed"
1020
1266
  ],
1021
1267
  "additionalProperties": false,
1022
- "description": "Counts + risk status for the confirmation screen."
1268
+ "description": "Counts + risk status + build verdict (S14-E2) for the confirmation screen."
1023
1269
  },
1024
1270
  "next_action": {
1025
1271
  "type": "string",
@@ -1167,18 +1413,28 @@
1167
1413
  "items": {
1168
1414
  "type": "string"
1169
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)."
1170
1425
  }
1171
1426
  },
1172
1427
  "required": [
1173
1428
  "buildable",
1174
- "blockers"
1429
+ "blockers",
1430
+ "status"
1175
1431
  ],
1176
1432
  "additionalProperties": false,
1177
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."
1178
1434
  },
1179
1435
  "next_action": {
1180
1436
  "type": "string",
1181
- "description": "Top-level forwarding of the materialization contract (C6): the guide's 'Plan ready. Materialize: ...' text verbatim when the audit is clean; a BLOCKED reroute back to this action otherwise."
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."
1182
1438
  }
1183
1439
  },
1184
1440
  "required": [
@@ -1240,9 +1496,82 @@
1240
1496
  "additionalProperties": {},
1241
1497
  "description": "Post-execution conservation/readback checks."
1242
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
+ },
1243
1572
  "next_action": {
1244
1573
  "type": "string",
1245
- "description": "One-click forwarding: deploy-complete guidance, or the resume recipe (completed_steps + previous_outputs) after a mid-run failure."
1574
+ "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."
1246
1575
  }
1247
1576
  },
1248
1577
  "required": [