@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
@@ -0,0 +1,734 @@
1
+ {
2
+ "comment": "Machine rule pack (R-M) — declarative form of the retired in-code Machine risk rules (44 rules across 5 dimensions). Facts are produced by the kernel extractor (machine-risk.ts, bound to MAX_NODE_COUNT and USER_DEFINED_PERM_INDEX_START); rules only reference fact names. Graph walks (entry/terminal/orphan scan, per-node pair counting, per-pair forward counting, duplicate names, unachievable-threshold classification, per-forward permission scans, published-object cross-checks) are sunk into the extractor as first-offender facts. Rules whose retired check had no runtime detection (design guidance only) are catalog stubs: they carry the full wording but a never-true condition, so the finding set matches the retired code exactly. Levels/wording can be retuned per rule and rules can be disabled (enabled=false, trace left) via the judgment document — factory rules can never be deleted or invented here.",
3
+ "facts": {
4
+ "has_entry": "At least one Pair has prev_node='' (the workflow entry point).",
5
+ "has_terminal": "At least one node has no outgoing Pair (a terminal exists).",
6
+ "terminal_nodes_display": "Stop nodes — nodes with NO outgoing Pair (never appear as prev_node), ', '-joined; orders rest here forever.",
7
+ "no_allocator_published": "The project context is allocator-aware (published_allocators provided) and the set is EMPTY — no Allocator published. Unknown (context without the set, e.g. design-time scans) never fires.",
8
+ "terminal_fund_exit_uncovered": "At least one stop node exists AND the allocator-aware project context shows no Allocator published — fund-exit coverage gap (R-M5-03).",
9
+ "first_orphaned_node_name": "First-offender — name of the first node with neither an entry/prev reference nor any incoming Pair (absent when none).",
10
+ "node_count": "Number of nodes in the Machine JSON.",
11
+ "node_count_over_limit": "node_count exceeds MAX_NODE_COUNT (chain-limit comparison sunk into the extractor).",
12
+ "max_node_count": "KERNEL CONSTANT — nodes per Machine cap (MAX_NODE_COUNT).",
13
+ "first_overpair_node_name": "First-offender — next_node of the first node owning more than 40 incoming Pairs (absent when none).",
14
+ "first_overpair_count": "That node's Pair count.",
15
+ "first_overforward_prev": "First-offender — prev_node of the first Pair with more than 20 Forwards (absent when none).",
16
+ "first_overforward_next": "That Pair's next_node.",
17
+ "first_overforward_count": "That Pair's Forward count.",
18
+ "duplicate_names_display": "Duplicated node names (deduped, first-occurrence order), ', '-joined — empty when names are unique.",
19
+ "unachievable_present": "At least one Pair's threshold exceeds the sum of its distinct forward weights (machine-topology analysis sunk into the extractor).",
20
+ "first_unachievable_is_multi": "The first unachievable Pair is the multi-operator variant (threshold > 1 with fewer distinct forwards than the threshold).",
21
+ "first_unachievable_detail": "Rendered first-offender detail for the unachievable Pair, including the topology reason.",
22
+ "first_missing_guard_forward_name": "First-offender — name of the first Forward referencing a Guard outside the published set (absent when none).",
23
+ "first_missing_guard_guard": "That Forward's Guard address.",
24
+ "first_retained_no_guard_forward_name": "First-offender — name of the first Forward carrying retained_submission without any Guard (absent when none).",
25
+ "first_noperm_forward_name": "First-offender — name of the first Forward with NONE of namedOperator, permissionIndex, or Guard (absent when none). Note: since N-8-B a Guard-only forward is rejected by the chain at CONSTRUCTION (forward_with_guard aborts E_FORWARD_NO_IDENTITY 21) and re-checked at publish — both constructors require namedOperator or permissionIndex on EVERY forward; treat Guard as a post-verification addition, never the sole binding.",
26
+ "first_noperm_prev": "That Forward's Pair prev_node.",
27
+ "first_noperm_next": "That Forward's Pair next_node.",
28
+ "first_both_forward_name": "First-offender — name of the first Forward with BOTH namedOperator and permissionIndex set (absent when none).",
29
+ "first_both_prev": "That Forward's Pair prev_node.",
30
+ "first_both_next": "That Forward's Pair next_node.",
31
+ "first_lowperm_forward_name": "First-offender — name of the first Forward whose permissionIndex is below USER_DEFINED_PERM_INDEX_START (absent when none).",
32
+ "first_lowperm_prev": "That Forward's Pair prev_node.",
33
+ "first_lowperm_next": "That Forward's Pair next_node.",
34
+ "first_lowperm_index": "That Forward's permissionIndex value.",
35
+ "min_perm_index": "KERNEL CONSTANT — first user-defined permission index (USER_DEFINED_PERM_INDEX_START).",
36
+ "mainnet_without_testnet": "Network is mainnet and the testnet test has not passed.",
37
+ "missing_guards_display": "Referenced Guard addresses missing from the published set, ', '-joined — empty when all are published.",
38
+ "first_trap_node_name": "First-offender — name of the first entry-reachable node with no forward path to any terminal (trap analysis: cycles are allowed on-chain, the flagged failure is a loop/dead chain without a cycle-breaking exit; absent when none).",
39
+ "trap_nodes_display": "All trapped nodes (entry-reachable, no path to a terminal), ', '-joined — empty when the graph is trap-free.",
40
+ "always_true": "Extractor sentinel — unconditionally true; marks catalog stubs (via eq false) and documentation."
41
+ },
42
+ "rules": [
43
+ {
44
+ "rule_id": "R-M1-01",
45
+ "dimension": "structural",
46
+ "trigger": "Check if any pair has prev_node === ''",
47
+ "cases": [
48
+ {
49
+ "when": { "field": "has_entry", "op": "eq", "value": false },
50
+ "level": "critical",
51
+ "title": "No entry point",
52
+ "description": "Machine has no Pair with prev_node='' (no entry point). Workflow cannot start.",
53
+ "mitigation": "Add at least one Pair with prev_node='' to serve as entry point.",
54
+ "evidence": "No Pair with prev_node='' found. Workflow cannot start.",
55
+ "exposure": {
56
+ "loss_parties": [
57
+ { "role": "buyer", "basis": "With no entry Pair the workflow can never start: escrowed order funds sit in the Allocation and can be neither distributed nor refunded." },
58
+ { "role": "merchant", "basis": "The merchant revenue share of the same unstartable orders freezes with them." }
59
+ ],
60
+ "gain_paths": []
61
+ }
62
+ }
63
+ ]
64
+ },
65
+ {
66
+ "rule_id": "R-M1-02",
67
+ "dimension": "structural",
68
+ "trigger": "Check if any node has no outgoing Pair",
69
+ "cases": [
70
+ {
71
+ "when": { "field": "has_terminal", "op": "eq", "value": false },
72
+ "level": "critical",
73
+ "title": "No terminal node",
74
+ "description": "Machine has no terminal node (all nodes have outgoing Pairs). Workflow never completes.",
75
+ "mitigation": "Designate at least one node as terminal (no outgoing Pair) and bind Allocator to it.",
76
+ "evidence": "No terminal node found. Workflow never completes.",
77
+ "exposure": {
78
+ "loss_parties": [
79
+ { "role": "buyer", "basis": "With no terminal node the workflow never completes, so the terminal allocation never executes — escrowed order funds are frozen indefinitely." },
80
+ { "role": "merchant", "basis": "The merchant revenue share of the same never-completing orders freezes with them." }
81
+ ],
82
+ "gain_paths": []
83
+ }
84
+ }
85
+ ]
86
+ },
87
+ {
88
+ "rule_id": "R-M1-03",
89
+ "dimension": "structural",
90
+ "trigger": "Find nodes with no outgoing Pair that are not intended terminals — catalog stub: the retired check was not implemented",
91
+ "cases": [
92
+ {
93
+ "when": { "field": "always_true", "op": "eq", "value": false },
94
+ "level": "medium",
95
+ "title": "Dead-end node (non-terminal)",
96
+ "description": "Non-terminal node has no outgoing Pair. Workflow stalls at this node.",
97
+ "mitigation": "Add outgoing Pair or designate as terminal with Allocator."
98
+ }
99
+ ]
100
+ },
101
+ {
102
+ "rule_id": "R-M1-04",
103
+ "dimension": "structural",
104
+ "trigger": "Find non-entry nodes with no incoming Pair",
105
+ "cases": [
106
+ {
107
+ "when": { "field": "first_orphaned_node_name", "op": "present" },
108
+ "level": "high",
109
+ "title": "Orphaned node",
110
+ "description": "Node has no incoming Pair (except entry). Unreachable.",
111
+ "mitigation": "Add Pair from existing node to this orphaned node, or remove it.",
112
+ "evidence": "Node \"${first_orphaned_node_name}\" is orphaned (no incoming Pair)."
113
+ }
114
+ ]
115
+ },
116
+ {
117
+ "rule_id": "R-M1-05",
118
+ "dimension": "structural",
119
+ "trigger": "Analyze threshold achievability across competing Pairs — catalog stub: the retired check was not implemented",
120
+ "cases": [
121
+ {
122
+ "when": { "field": "always_true", "op": "eq", "value": false },
123
+ "level": "high",
124
+ "title": "Dead branch (competing Pair always loses)",
125
+ "description": "A competing Pair's threshold can never be met because users always prefer another path.",
126
+ "mitigation": "Make thresholds balanced, or remove the dead branch."
127
+ }
128
+ ]
129
+ },
130
+ {
131
+ "rule_id": "R-M1-06",
132
+ "dimension": "structural",
133
+ "trigger": "Trap analysis — an entry-reachable node with no forward path to any terminal. Cycles themselves are ALLOWED on-chain (2026-10-16 ruling: the consensus layer stays minimal and a loop only advances when someone pays for it); the flagged failure is a loop (or dead chain) the entry can enter but that offers no cycle-breaking exit.",
134
+ "cases": [
135
+ {
136
+ "when": { "field": "first_trap_node_name", "op": "present" },
137
+ "level": "high",
138
+ "title": "Trap: entry-reachable nodes with no exit path",
139
+ "description": "These nodes are reachable from the entry, but no sequence of forwards can ever reach a terminal node — typically a loop missing a cycle-breaking exit. Orders entering them loop forever (re-running the loop's forwards and their fund rails every lap) or strand. Advisory finding: the chain does not reject this graph; the risk is surfaced here so the merchant fixes it before buyers see it.",
140
+ "mitigation": "Add an exit Pair from inside the loop to a terminal (fulfilment / refund / cancel node), or make the loop conditional so at least one live exit exists on the path.",
141
+ "evidence": "Trapped nodes (entry-reachable, no path to a terminal): [${trap_nodes_display}]."
142
+ }
143
+ ]
144
+ },
145
+ {
146
+ "rule_id": "R-M1-07",
147
+ "dimension": "structural",
148
+ "trigger": "nodes.length > ${max_node_count}",
149
+ "cases": [
150
+ {
151
+ "when": { "field": "node_count_over_limit", "op": "eq", "value": true },
152
+ "level": "critical",
153
+ "title": "Exceeds MAX_NODE_COUNT (100)",
154
+ "description": "Node count exceeds on-chain limit. Publish will fail.",
155
+ "mitigation": "Reduce node count or split into multiple Machines.",
156
+ "evidence": "Node count ${node_count} exceeds MAX_NODE_COUNT (${max_node_count})."
157
+ }
158
+ ]
159
+ },
160
+ {
161
+ "rule_id": "R-M1-08",
162
+ "dimension": "structural",
163
+ "trigger": "Find node where pairs.length > 40",
164
+ "cases": [
165
+ {
166
+ "when": { "field": "first_overpair_node_name", "op": "present" },
167
+ "level": "high",
168
+ "title": "Exceeds MAX_NODE_PAIR_COUNT (40)",
169
+ "description": "A single node's Pairs exceed on-chain limit. Publish will fail.",
170
+ "mitigation": "Split node or simplify branches to reduce Pair count per node.",
171
+ "evidence": "Node \"${first_overpair_node_name}\" has ${first_overpair_count} Pairs, exceeds MAX_NODE_PAIR_COUNT (40)."
172
+ }
173
+ ]
174
+ },
175
+ {
176
+ "rule_id": "R-M1-09",
177
+ "dimension": "structural",
178
+ "trigger": "Find Pair where forwards.length > 20",
179
+ "cases": [
180
+ {
181
+ "when": { "field": "first_overforward_count", "op": "present" },
182
+ "level": "high",
183
+ "title": "Exceeds MAX_FORWARD_COUNT (20)",
184
+ "description": "A single Pair's Forwards exceed on-chain limit. Publish will fail.",
185
+ "mitigation": "Split Pair or merge Forwards to reduce Forward count per Pair.",
186
+ "evidence": "Pair (${first_overforward_prev} -> ${first_overforward_next}) has ${first_overforward_count} Forwards, exceeds MAX_FORWARD_COUNT (20)."
187
+ }
188
+ ]
189
+ },
190
+ {
191
+ "rule_id": "R-M1-10",
192
+ "dimension": "structural",
193
+ "trigger": "Find duplicate names in nodes array",
194
+ "cases": [
195
+ {
196
+ "when": { "field": "duplicate_names_display", "op": "truthy" },
197
+ "level": "critical",
198
+ "title": "Duplicate node name",
199
+ "description": "Two nodes have the same name. On-chain will reject.",
200
+ "mitigation": "Rename one of the duplicates.",
201
+ "evidence": "Duplicate node names: ${duplicate_names_display}"
202
+ }
203
+ ]
204
+ },
205
+ {
206
+ "rule_id": "R-M1-11",
207
+ "dimension": "structural",
208
+ "trigger": "Two-tier node-name match, single-sourced in knowledge/audit-rules.ts (ANTI_PATTERN_NODE_REGEX = DISPUTE_FAMILY_NODE_REGEX | FUND_TERMINAL_NODE_REGEX): /(^|_)(disputed?|arbitration|arb)(_|$)|^(refund|refunded|deposit_refunded|deposit_deducted|cancel|cancelled)$/i — dispute family matches any underscore segment (a dispute never lives inside the Machine); fund terminals match EXACT names only. Business states that ROUTE allocator refunds ('closed_cancel', 'cancel_requested', 'refund_requested', 'return_approved', 'returned') do NOT match. The template scanner's R-M1-11 adds one guard-anchored exemption: a fund-terminal node whose refund-track allocator row binds (guard_key) a guard that names that state downgrades to a LOW finding — the wrap publish gate (auditMachineNodes) stays strict. — catalog stub: the retired check was not implemented",
209
+ "cases": [
210
+ {
211
+ "when": { "field": "always_true", "op": "eq", "value": false },
212
+ "level": "critical",
213
+ "title": "Dispute anti-pattern — machine illegally models dispute flow",
214
+ "description": "Machine contains nodes named 'disputed', 'refunded', 'arb', 'arbitration', 'dispute', or 'refund'. This is a CRITICAL design anti-pattern because dispute resolution is a SEPARATE system from the Machine workflow. Dispute flows through: Order → dispute filed on the Arbitration (Arb case created, dispute fee escrowed in the case) → arbitrator confirm → voting → ruling (indemnity capped at 3x order amount, enforced at award time) → compensation claim pays the awarded amount from the Service's compensation_fund to the ORDER OWNER (the call itself is permissionless — any keeper/agent can drive it, the recipient is hard-bound to the order owner) → the case fee is released to the Arbitration via arb_withdraw (permission 364, the arbitration operator — NOT the order holder). Arbitrators are configured in the Arbitration's voting_guard list, NOT in Permission. Merchants who model dispute in the machine (e.g., 'disputed → refunded' forward guarded by Permission index 1500) create dead-end paths because no one has Permission 1500 — arbitrators are NOT Permission holders.",
215
+ "mitigation": "Remove all dispute/refund nodes from the machine. Instead: (1) bind an Arbitration object to the Service via Service.arbitrations, (2) configure arbitrators via Arbitration.voting_guard_add, (3) deposit compensation_fund to the Service. Disputes are then filed against the order within the Arbitration object — completely independent of the machine workflow. BOUNDARY (design intent, never 'fix' it): Arbitration (compensation_fund payouts) and Allocator (escrow distribution) keep independent fund sources and lifecycles by design. Cross-system checks belong in allocator Guards as READ-ONLY evidence (order.claimed_by / arb.indemnity — see pattern.arb_status_escrow_holdback), NOT in arb-linked Machine nodes/forwards or protocol state sync — coupling the two systems opens the refund+compensation double-payout path."
216
+ }
217
+ ]
218
+ },
219
+ {
220
+ "rule_id": "R-M1-12",
221
+ "dimension": "structural",
222
+ "trigger": "For each Pair compute sum(forward.weight) and compare with threshold; flag Pairs where sum < threshold (use machine-topology findUnachievableThresholds).",
223
+ "cases": [
224
+ {
225
+ "when": { "all": [
226
+ { "field": "unachievable_present", "op": "eq", "value": true },
227
+ { "field": "first_unachievable_is_multi", "op": "eq", "value": false }
228
+ ] },
229
+ "level": "critical",
230
+ "title": "Unreachable threshold — Pair can never migrate",
231
+ "description": "A Pair's threshold exceeds the sum of its forward weights. Each forward contributes its weight AT MOST ONCE: it is locked by the first operator that accomplishes it (the session accomplishment), and a second operator re-executing the same forward aborts E_NOT_THE_HOLDER. The maximum achievable weight of a Pair is therefore the sum of its DISTINCT forward weights. When that sum < threshold, the transition can never migrate and the workflow is permanently stuck at this node.",
232
+ "mitigation": "Raise forward weights so sum(weights) >= threshold, or lower the threshold. For multi-operator cooperation add one DISTINCT forward per contributing operator (threshold N needs N distinct forwards, each weight ≥ 1).",
233
+ "evidence": "${first_unachievable_detail}",
234
+ "exposure": {
235
+ "loss_parties": [
236
+ { "role": "buyer", "basis": "The unachievable threshold means the transition can never migrate — orders stall at this node forever and their escrowed funds can be neither distributed nor refunded." },
237
+ { "role": "merchant", "basis": "The merchant revenue share of the same permanently stalled orders freezes with them." }
238
+ ],
239
+ "gain_paths": []
240
+ }
241
+ }
242
+ ]
243
+ },
244
+ {
245
+ "rule_id": "R-M1-13",
246
+ "dimension": "structural",
247
+ "trigger": "Flag Pairs where threshold > 1 and the count of distinct forwards < threshold (i.e. threshold cannot be met by that many different operators).",
248
+ "cases": [
249
+ {
250
+ "when": { "all": [
251
+ { "field": "unachievable_present", "op": "eq", "value": true },
252
+ { "field": "first_unachievable_is_multi", "op": "eq", "value": true }
253
+ ] },
254
+ "level": "high",
255
+ "title": "Single-forward multi-operator misuse — threshold > 1 with too few forwards",
256
+ "description": "A Pair with threshold > 1 has fewer distinct forwards than the threshold (with weight-1 forwards, or a single forward that can only ever be accomplished by ONE operator). Because a forward is single-operator-locked, N different people cannot all 'execute the same forward' — each contributor needs their OWN forward in the Pair. This either makes the transition unreachable or forces a single operator to control multiple forwards (defeating the cooperation design).",
257
+ "mitigation": "Model cooperation with parallel forwards: Pair { threshold: N, forwards: [begin_a (weight 1, operator A), begin_b (weight 1, operator B), ...] } — one distinct forward per contributing operator.",
258
+ "evidence": "${first_unachievable_detail}",
259
+ "exposure": {
260
+ "loss_parties": [
261
+ { "role": "buyer", "basis": "The transition is either unreachable or monopolized by one operator — orders that need this cooperative step stall here and their escrowed funds can be neither distributed nor refunded." },
262
+ { "role": "merchant", "basis": "The merchant revenue share of the same stalled cooperative orders freezes with them." }
263
+ ],
264
+ "gain_paths": []
265
+ }
266
+ }
267
+ ]
268
+ },
269
+ {
270
+ "rule_id": "R-M2-01",
271
+ "dimension": "guard_integration",
272
+ "trigger": "Check forward.guard against published_guards set",
273
+ "cases": [
274
+ {
275
+ "when": { "field": "first_missing_guard_forward_name", "op": "present" },
276
+ "level": "critical",
277
+ "title": "Guard not created",
278
+ "description": "Forward references a Guard that is not yet created on-chain. Forward execution will fail Guard verification.",
279
+ "mitigation": "Create the Guard object before publishing this Machine.",
280
+ "evidence": "Forward \"${first_missing_guard_forward_name}\" references Guard \"${first_missing_guard_guard}\" not in published_guards.",
281
+ "exposure": {
282
+ "loss_parties": [
283
+ { "role": "buyer", "basis": "The affected forward fails Guard verification every time it is attempted — orders that route through this Pair stall here and their escrowed funds freeze." },
284
+ { "role": "merchant", "basis": "The merchant revenue share of the same stalled orders freezes with them." }
285
+ ],
286
+ "gain_paths": []
287
+ }
288
+ }
289
+ ]
290
+ },
291
+ {
292
+ "rule_id": "R-M2-02",
293
+ "dimension": "guard_integration",
294
+ "trigger": "Check testnet test records for this Guard — catalog stub: the retired check was not implemented",
295
+ "cases": [
296
+ {
297
+ "when": { "field": "always_true", "op": "eq", "value": false },
298
+ "level": "high",
299
+ "title": "Guard not tested via gen_passport",
300
+ "description": "Guard has not been tested via gen_passport. Guard may have bugs, cannot be fixed after publish.",
301
+ "mitigation": "Run gen_passport on testnet before binding to Machine."
302
+ }
303
+ ]
304
+ },
305
+ {
306
+ "rule_id": "R-M2-03",
307
+ "dimension": "guard_integration",
308
+ "trigger": "Verify all Guards tested before Machine publish — catalog stub: the retired check was not implemented",
309
+ "cases": [
310
+ {
311
+ "when": { "field": "always_true", "op": "eq", "value": false },
312
+ "level": "critical",
313
+ "title": "Guard + Machine immutability deadlock",
314
+ "description": "After Machine publish, a Guard bug is discovered. Guard is immutable (cannot be fixed), Machine is immutable (cannot be rebound).",
315
+ "mitigation": "Keep Machine unpublished until all Guards are verified."
316
+ }
317
+ ]
318
+ },
319
+ {
320
+ "rule_id": "R-M2-04",
321
+ "dimension": "guard_integration",
322
+ "trigger": "Cross-check forward.retained_submission against Guard table entries",
323
+ "cases": [
324
+ {
325
+ "when": { "field": "first_retained_no_guard_forward_name", "op": "present" },
326
+ "level": "high",
327
+ "title": "retained_submission index mismatch",
328
+ "description": "Forward's retained_submission key does not correspond to Guard table b_submission=true entry. Retained data fails or is incorrect.",
329
+ "mitigation": "Align retained_submission key with Guard table b_submission=true identifier.",
330
+ "evidence": "Forward \"${first_retained_no_guard_forward_name}\" has retained_submission but no Guard. retained_submission requires a Guard."
331
+ }
332
+ ]
333
+ },
334
+ {
335
+ "rule_id": "R-M2-05",
336
+ "dimension": "guard_integration",
337
+ "trigger": "For each Guard scene, verify anti-reentry Guard is configured (see Guard semantic layer R-X1-14) — catalog stub: the retired check was not implemented",
338
+ "cases": [
339
+ {
340
+ "when": { "field": "always_true", "op": "eq", "value": false },
341
+ "level": "high",
342
+ "title": "Guard reentry risk",
343
+ "description": "Guard lacks anti-reentry mechanism (see Guard R-X1-14). Risk of duplicate execution or vote manipulation.",
344
+ "mitigation": "Add anti-reentry Guard for each scenario (see Guard semantic layer R-X1-14)."
345
+ }
346
+ ]
347
+ },
348
+ {
349
+ "rule_id": "R-M2-06",
350
+ "dimension": "guard_integration",
351
+ "trigger": "Cross-check Guard scene against Forward business purpose — catalog stub: the retired check was not implemented",
352
+ "cases": [
353
+ {
354
+ "when": { "field": "always_true", "op": "eq", "value": false },
355
+ "level": "medium",
356
+ "title": "Guard scene mismatch",
357
+ "description": "Forward's bound Guard scene does not match Forward's business (e.g., Forward uses a reward-claim guard instead of machine_forward_guard).",
358
+ "mitigation": "Use the correct Guard scene (machine_forward_guard)."
359
+ }
360
+ ]
361
+ },
362
+ {
363
+ "rule_id": "R-M2-07",
364
+ "dimension": "guard_integration",
365
+ "trigger": "Identify cross-Machine Guard references and detect cycles — catalog stub: the retired check was not implemented",
366
+ "cases": [
367
+ {
368
+ "when": { "field": "always_true", "op": "eq", "value": false },
369
+ "level": "critical",
370
+ "title": "Cross-Machine Guard dependency cycle",
371
+ "description": "Machine A depends on Machine B (via Guard), B depends on A. Circular dependency.",
372
+ "mitigation": "Ensure cross-Machine dependencies are unidirectional."
373
+ }
374
+ ]
375
+ },
376
+ {
377
+ "rule_id": "R-M2-08",
378
+ "dimension": "guard_integration",
379
+ "trigger": "Cross-check Guard table object references against published objects set — catalog stub: the retired check was not implemented",
380
+ "cases": [
381
+ {
382
+ "when": { "field": "always_true", "op": "eq", "value": false },
383
+ "level": "high",
384
+ "title": "Guard references unpublished object",
385
+ "description": "Guard table references an object (e.g., Service) that is not yet published.",
386
+ "mitigation": "Use P16 circular reference pattern (name instead of address), or publish referenced objects first."
387
+ }
388
+ ]
389
+ },
390
+ {
391
+ "rule_id": "R-M3-01",
392
+ "dimension": "permission",
393
+ "trigger": "Check each forward has at least one executor binding: namedOperator, permissionIndex, or Guard (the chain rejects a Guard-only forward at construction and again at publish with E_FORWARD_NO_IDENTITY — Guard is a post-verification addition, never the sole binding)",
394
+ "cases": [
395
+ {
396
+ "when": { "field": "first_noperm_forward_name", "op": "present" },
397
+ "level": "critical",
398
+ "title": "Forward without permission",
399
+ "description": "Forward has no executor binding at all — neither namedOperator, permissionIndex, nor Guard. Cannot be executed (the plain forward constructor aborts E_PERMISSION_NOT_DEFINED).",
400
+ "mitigation": "Set namedOperator='' for OrderHolder, or set permissionIndex. Binding a Guard alone is rejected (E_FORWARD_NO_IDENTITY aborts in both constructors and again at publish): a Guard is a post-verification addition on top of an identity field, never a replacement.",
401
+ "evidence": "Forward \"${first_noperm_forward_name}\" in Pair (${first_noperm_prev} -> ${first_noperm_next}) has no executor binding.",
402
+ "exposure": {
403
+ "loss_parties": [
404
+ { "role": "buyer", "basis": "The affected forward has no executor — orders that route through this Pair can never advance past it and their escrowed funds freeze." },
405
+ { "role": "merchant", "basis": "The merchant revenue share of the same unadvanceable orders freezes with them." }
406
+ ],
407
+ "gain_paths": []
408
+ }
409
+ }
410
+ ]
411
+ },
412
+ {
413
+ "rule_id": "R-M3-02",
414
+ "dimension": "permission",
415
+ "trigger": "Check permission_index < Permission.indices.length — catalog stub: the retired check was not implemented",
416
+ "cases": [
417
+ {
418
+ "when": { "field": "always_true", "op": "eq", "value": false },
419
+ "level": "critical",
420
+ "title": "permissionIndex out of bounds",
421
+ "description": "Forward's permissionIndex >= Permission.indices.length. Execution will fail.",
422
+ "mitigation": "Use a valid permission index or extend Permission.indices."
423
+ }
424
+ ]
425
+ },
426
+ {
427
+ "rule_id": "R-M3-03",
428
+ "dimension": "permission",
429
+ "trigger": "Detect Permission object update that reorders indices — catalog stub: the retired check was not implemented",
430
+ "cases": [
431
+ {
432
+ "when": { "field": "always_true", "op": "eq", "value": false },
433
+ "level": "high",
434
+ "title": "Permission rotation failure",
435
+ "description": "Permission object updated, indices order changed. Original permissionIndex now points to wrong permission.",
436
+ "mitigation": "Use custom Permission; document index meanings; avoid frequent Permission updates."
437
+ }
438
+ ]
439
+ },
440
+ {
441
+ "rule_id": "R-M3-04",
442
+ "dimension": "permission",
443
+ "trigger": "Find Forwards with namedOperator='' on non-customer-operation nodes — catalog stub: the retired check was not implemented",
444
+ "cases": [
445
+ {
446
+ "when": { "field": "always_true", "op": "eq", "value": false },
447
+ "level": "medium",
448
+ "title": "OrderHolder misuse",
449
+ "description": "namedOperator='' used in non-customer-operation scenarios. Non-intended personnel gain operation permission.",
450
+ "mitigation": "Clarify ''=OrderHolder (customer), not 'anyone'. Use namedOperator for specific roles."
451
+ }
452
+ ]
453
+ },
454
+ {
455
+ "rule_id": "R-M3-05",
456
+ "dimension": "permission",
457
+ "trigger": "Verify progress_namedOperator is provided in Progress creation — catalog stub: the retired check was not implemented",
458
+ "cases": [
459
+ {
460
+ "when": { "field": "always_true", "op": "eq", "value": false },
461
+ "level": "high",
462
+ "title": "NamedOperator not assigned at Progress creation",
463
+ "description": "Forward expects namedOperator role but Progress doesn't have it assigned. Note: MCP API layer supports progress_new.progress_namedOperator (SDK translates to namedOperator_add), but the Move layer's Progress creation does NOT accept it (see 06 §14.5).",
464
+ "mitigation": "Pass progress_namedOperator in progress_new, or call namedOperator_add separately."
465
+ }
466
+ ]
467
+ },
468
+ {
469
+ "rule_id": "R-M3-06",
470
+ "dimension": "permission",
471
+ "trigger": "Analyze permission distribution across parties — catalog stub: the retired check was not implemented",
472
+ "cases": [
473
+ {
474
+ "when": { "field": "always_true", "op": "eq", "value": false },
475
+ "level": "medium",
476
+ "title": "Permission game imbalance",
477
+ "description": "One party has excessive permission, can unilaterally advance workflow. Game theory imbalance.",
478
+ "mitigation": "Use dual-signature (threshold=2 with two DISTINCT operator-bound forwards, each weight 1) or a multi-signature mechanism to balance power. Note: threshold=2 alone does not guarantee two different people — one forward of weight 2 passes alone, and permission admins hold every index."
479
+ }
480
+ ]
481
+ },
482
+ {
483
+ "rule_id": "R-M3-07",
484
+ "dimension": "permission",
485
+ "trigger": "Find Forwards with both namedOperator and permissionIndex set",
486
+ "cases": [
487
+ {
488
+ "when": { "field": "first_both_forward_name", "op": "present" },
489
+ "level": "medium",
490
+ "title": "Permission combination OR semantic misuse",
491
+ "description": "Both namedOperator and permissionIndex set, but OR semantic not understood. More people than expected can execute Forward.",
492
+ "mitigation": "Clarify that when both permissions are non-null, it is OR relation (either can execute).",
493
+ "evidence": "Forward \"${first_both_forward_name}\" in Pair (${first_both_prev} -> ${first_both_next}) has both namedOperator and permissionIndex (OR semantic)."
494
+ }
495
+ ]
496
+ },
497
+ {
498
+ "rule_id": "R-M3-08",
499
+ "dimension": "permission",
500
+ "trigger": "Check each forward with permission_index < 1000",
501
+ "cases": [
502
+ {
503
+ "when": { "field": "first_lowperm_forward_name", "op": "present" },
504
+ "level": "critical",
505
+ "title": "permissionIndex below USER_DEFINED_PERM_INDEX_START (1000)",
506
+ "description": "Forward's permissionIndex < 1000. On-chain constant USER_DEFINED_PERM_INDEX_START = 1000 reserves indexes 0-999 for built-in permissions. Using index < 1000 causes confusion with built-in permissions and is a hard on-chain constraint (see doc 06 §4.4).",
507
+ "mitigation": "Use permission_index >= 1000 (e.g., 1000, 1001, 1002, ...). Reserve 0-999 for built-in permissions.",
508
+ "evidence": "Forward \"${first_lowperm_forward_name}\" in Pair (${first_lowperm_prev} -> ${first_lowperm_next}) has permission_index=${first_lowperm_index} < ${min_perm_index}. Indexes 0-999 are reserved for built-in permissions."
509
+ }
510
+ ]
511
+ },
512
+ {
513
+ "rule_id": "R-M4-01",
514
+ "dimension": "immutability",
515
+ "trigger": "Check backup_created flag — catalog stub: the retired check was not implemented",
516
+ "cases": [
517
+ {
518
+ "when": { "field": "always_true", "op": "eq", "value": false },
519
+ "level": "high",
520
+ "title": "No backup before publish",
521
+ "description": "machineNode2file export not created before publish. Cannot restore if publish fails.",
522
+ "mitigation": "Run machineNode2file before publish to create backup."
523
+ }
524
+ ]
525
+ },
526
+ {
527
+ "rule_id": "R-M4-02",
528
+ "dimension": "immutability",
529
+ "trigger": "Check network === 'mainnet' && !testnet_test_passed",
530
+ "cases": [
531
+ {
532
+ "when": { "field": "mainnet_without_testnet", "op": "eq", "value": true },
533
+ "level": "medium",
534
+ "title": "No testnet verification before mainnet",
535
+ "description": "Directly publishing to mainnet without testnet verification. Potential bugs may cause fund loss.",
536
+ "mitigation": "Test on testnet first. Verify Progress runs end-to-end.",
537
+ "evidence": "Mainnet publish attempted without testnet test passing."
538
+ }
539
+ ]
540
+ },
541
+ {
542
+ "rule_id": "R-M4-03",
543
+ "dimension": "immutability",
544
+ "trigger": "Check if all required Guards are created and bound",
545
+ "cases": [
546
+ {
547
+ "when": { "field": "missing_guards_display", "op": "truthy" },
548
+ "level": "critical",
549
+ "title": "Guards not all created before publish",
550
+ "description": "Some Forward.guard is still null, but design requires Guard. Cannot add Guard after publish (immutability deadlock).",
551
+ "mitigation": "Create and bind all Guards before publishing Machine.",
552
+ "evidence": "Guards not all created before publish. Missing: ${missing_guards_display}"
553
+ }
554
+ ]
555
+ },
556
+ {
557
+ "rule_id": "R-M4-04",
558
+ "dimension": "immutability",
559
+ "trigger": "Verify dependency order: Permission → Machine(unpublished) → Guard → bind → publish — catalog stub: the retired check was not implemented",
560
+ "cases": [
561
+ {
562
+ "when": { "field": "always_true", "op": "eq", "value": false },
563
+ "level": "critical",
564
+ "title": "Publish order incorrect",
565
+ "description": "Attempting to publish Machine before creating Guards. Guards cannot bind to already-published Machine.",
566
+ "mitigation": "Follow dependency order: Permission → Machine(unpublished) → Guard → bind → publish."
567
+ }
568
+ ]
569
+ },
570
+ {
571
+ "rule_id": "R-M4-05",
572
+ "dimension": "immutability",
573
+ "trigger": "Check if terminal nodes have Allocator mapping — catalog stub: the retired check was not implemented",
574
+ "cases": [
575
+ {
576
+ "when": { "field": "always_true", "op": "eq", "value": false },
577
+ "level": "medium",
578
+ "title": "Allocation not configured",
579
+ "description": "Terminal node not mapped to Allocator. Funds cannot be distributed after workflow completes.",
580
+ "mitigation": "Configure Allocator for each terminal node."
581
+ }
582
+ ]
583
+ },
584
+ {
585
+ "rule_id": "R-M4-06",
586
+ "dimension": "immutability",
587
+ "trigger": "Check if machineNode2file backup created before clear operation — catalog stub: the retired check was not implemented",
588
+ "cases": [
589
+ {
590
+ "when": { "field": "always_true", "op": "eq", "value": false },
591
+ "level": "high",
592
+ "title": "clear operation without backup",
593
+ "description": "Executing node clear before exporting backup. All node data lost, cannot recover.",
594
+ "mitigation": "Run machineNode2file backup before any clear operation."
595
+ }
596
+ ]
597
+ },
598
+ {
599
+ "rule_id": "R-M5-01",
600
+ "dimension": "environment",
601
+ "trigger": "Check if Service object is in published_services set — catalog stub: the retired check was not implemented",
602
+ "cases": [
603
+ {
604
+ "when": { "field": "always_true", "op": "eq", "value": false },
605
+ "level": "high",
606
+ "title": "Service not created",
607
+ "description": "Machine design complete but Service not created. Machine cannot bind to Service.",
608
+ "mitigation": "Create Service first, then design/publish Machine."
609
+ }
610
+ ]
611
+ },
612
+ {
613
+ "rule_id": "R-M5-02",
614
+ "dimension": "environment",
615
+ "trigger": "Cross-check Machine's Permission against Service's Permission — catalog stub: the retired check was not implemented",
616
+ "cases": [
617
+ {
618
+ "when": { "field": "always_true", "op": "eq", "value": false },
619
+ "level": "high",
620
+ "title": "Permission object mismatch",
621
+ "description": "Machine's Permission differs from Service's Permission. Permission organization inconsistent, may cause operation failure.",
622
+ "mitigation": "Use the same Permission for Machine and Service (or explicitly document different organizations)."
623
+ }
624
+ ]
625
+ },
626
+ {
627
+ "rule_id": "R-M5-03",
628
+ "dimension": "environment",
629
+ "trigger": "Check if Service.order_allocators is configured for each terminal node (stop-node fund-exit coverage)",
630
+ "cases": [
631
+ {
632
+ "when": { "field": "terminal_fund_exit_uncovered", "op": "eq", "value": true },
633
+ "level": "high",
634
+ "title": "Allocation configuration incomplete",
635
+ "description": "Machine has stop nodes (no outgoing Pair) but no Allocator is published in the project. Funds at those nodes can be neither distributed nor refunded — and Machine + Allocator are immutable after publish (IMMUT-001), so an uncovered stop node strands escrowed funds permanently.",
636
+ "mitigation": "Before Service publish, bind Service.order_allocators fund-exit rules to EVERY stop node: withdrawal (release) AND refund paths. Review-dependent release is a TIME-GATE on the same exit (reviewed, OR unreviewed after T) — never a parallel edge or a separate node without its own exit.",
637
+ "evidence": "Stop nodes without allocation coverage: ${terminal_nodes_display} (no Allocator published).",
638
+ "exposure": {
639
+ "loss_parties": [
640
+ { "role": "buyer", "basis": "Escrowed order funds resting at an uncovered stop node can never be refunded to the buyer after publish (immutable topology)." },
641
+ { "role": "merchant", "basis": "The merchant release share at the same node can never be withdrawn." }
642
+ ],
643
+ "gain_paths": []
644
+ }
645
+ }
646
+ ]
647
+ },
648
+ {
649
+ "rule_id": "R-M5-04",
650
+ "dimension": "environment",
651
+ "trigger": "Check if Reward object is in published_rewards set — catalog stub: the retired check was not implemented",
652
+ "cases": [
653
+ {
654
+ "when": { "field": "always_true", "op": "eq", "value": false },
655
+ "level": "medium",
656
+ "title": "Reward object not created",
657
+ "description": "Reward incentive scenario referenced but Reward object not created.",
658
+ "mitigation": "Create Reward object first, then design Guard."
659
+ }
660
+ ]
661
+ },
662
+ {
663
+ "rule_id": "R-M5-05",
664
+ "dimension": "environment",
665
+ "trigger": "Check if Arbitration object is in published_arbitrations set — catalog stub: the retired check was not implemented",
666
+ "cases": [
667
+ {
668
+ "when": { "field": "always_true", "op": "eq", "value": false },
669
+ "level": "medium",
670
+ "title": "Arbitration object not created",
671
+ "description": "Arbitration scenario referenced but Arbitration object not created.",
672
+ "mitigation": "Create Arbitration object first."
673
+ }
674
+ ]
675
+ },
676
+ {
677
+ "rule_id": "R-M5-06",
678
+ "dimension": "environment",
679
+ "trigger": "Check machine_ref against published_machines set — catalog stub: the retired check was not implemented",
680
+ "cases": [
681
+ {
682
+ "when": { "field": "always_true", "op": "eq", "value": false },
683
+ "level": "critical",
684
+ "title": "Cross-Machine dependency not published",
685
+ "description": "Machine A depends on Machine B, but B is not published. Guard query for Machine B's Progress will fail. Dependency verification: indirect — Progress creation asserts the referenced Machine is published (see 06 §14.6).",
686
+ "mitigation": "Ensure upstream Machine is published first."
687
+ }
688
+ ]
689
+ },
690
+ {
691
+ "rule_id": "R-M5-07",
692
+ "dimension": "environment",
693
+ "trigger": "Check repository_ref against published repositories set — catalog stub: the retired check was not implemented",
694
+ "cases": [
695
+ {
696
+ "when": { "field": "always_true", "op": "eq", "value": false },
697
+ "level": "medium",
698
+ "title": "Repository not created",
699
+ "description": "Guard references Repository but not created. Guard query will fail.",
700
+ "mitigation": "Create and publish Repository first. Note: consensus_repositories is declarative-only (see 06 §14.4)."
701
+ }
702
+ ]
703
+ },
704
+ {
705
+ "rule_id": "R-M5-08",
706
+ "dimension": "environment",
707
+ "trigger": "Scan project environment for missing object references",
708
+ "cases": [
709
+ {
710
+ "when": { "field": "missing_guards_display", "op": "truthy" },
711
+ "level": "low",
712
+ "title": "Object dependency table incomplete",
713
+ "description": "Project object dependency table missing some objects. Design decisions based on incomplete information.",
714
+ "mitigation": "Use workflow-guidance.ts to scan complete project environment.",
715
+ "evidence": "Object dependency table incomplete. Missing Guards: ${missing_guards_display}"
716
+ }
717
+ ]
718
+ },
719
+ {
720
+ "rule_id": "R-M5-09",
721
+ "dimension": "environment",
722
+ "trigger": "Design-time review: allocator coverage over ALL stop nodes incl. review-gated and dispute exits — catalog stub: requires cross-object (Service x Machine) evaluation; enforced via publish schema guidance + pattern.fund_flow_stop_node_coverage",
723
+ "cases": [
724
+ {
725
+ "when": { "field": "always_true", "op": "eq", "value": false },
726
+ "level": "high",
727
+ "title": "Stop-node fund-exit coverage not reviewed",
728
+ "description": "Every node where an order can rest — terminal nodes AND waiting states such as review windows or open disputes — must have BOTH a withdrawal and a refund allocation rule evaluated at Service publish. Review-gated release is a time variant of the completed exit; dispute release is an arb.indemnity-gated edge (R-X1-16). The stop-node list is derived from THIS business's rest states, not a fixed vocabulary: wowok grows arbitrary commerce systems from Move-native primitives.",
729
+ "mitigation": "Run the coverage checklist of pattern.fund_flow_stop_node_coverage (guard-design-patterns) against the planned Machine before publishing Service; publish is irreversible (IMMUT-001)."
730
+ }
731
+ ]
732
+ }
733
+ ]
734
+ }