@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,364 @@
1
+ {
2
+ "comment": "Progress rule pack (R-PR) — declarative form of the retired in-code Progress risk rules. Facts are produced by the kernel extractor (progress-risk.ts, bound to the on-chain count limits and the Machine/Order/Repository cross-object semantics); rules only reference fact names. 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. R-PR-5-01 ships disabled: its E_ORDER_NOT_MATCH check needs an Order query and is left to the confirmation layer (the retired in-code check was a no-op).",
3
+ "facts": {
4
+ "named_operator_addr_count": "Address count of the progress_namedOperator op's operator list.",
5
+ "named_operator_name": "The named_operator name targeted by the op (display form).",
6
+ "max_named_operator_address_count": "KERNEL CONSTANT — on-chain MAX_NAMED_OPERATOR_ADDRESS_COUNT bound imported from @wowok/wowok.",
7
+ "named_operator_addr_count_exceeded": "True when the op's address list exceeds MAX_NAMED_OPERATOR_ADDRESS_COUNT (E_MAX_NAMED_OPERATOR_ADDRESS_COUNT ahead).",
8
+ "named_operator_count_current": "Current named-operator namespace count on the Progress (0 when unknown).",
9
+ "max_named_operator_count": "KERNEL CONSTANT — on-chain MAX_NAMED_OPERATOR_COUNT bound imported from @wowok/wowok.",
10
+ "named_operator_count_at_limit": "True when an 'add' op lands on a Progress already at MAX_NAMED_OPERATOR_COUNT (E_MAX_NAMED_OPERATOR_COUNT ahead).",
11
+ "context_repo_current": "Current context repository count on the Progress (0 when unknown).",
12
+ "context_repo_add_count": "Repositories the op would add (0 for remove; the clear op is not a candidate).",
13
+ "context_repo_total": "Projected repository count after the op.",
14
+ "max_context_repository_count": "KERNEL CONSTANT — on-chain MAX_CONTEXT_REPOSITORY_COUNT bound imported from @wowok/wowok.",
15
+ "context_repo_count_exceeded": "True when the projected repository count exceeds MAX_CONTEXT_REPOSITORY_COUNT (E_MAX_CONTEXT_REPOSITORY_COUNT ahead).",
16
+ "named_operator_empty_name": "True when a non-remove named_operator op targets the empty-string name — the reserved OrderHolder namespace.",
17
+ "task_submit_blocked": "True when a task submission targets a Progress that already has a task bound (E_TASK_ALREADY_SET ahead).",
18
+ "current_task_display": "The currently bound task (Order) object id (display form).",
19
+ "operate_message_over_long": "True when operate.message exceeds the 1024-char common::LONG_NAME bound.",
20
+ "operate_message_length": "Length of operate.message in characters.",
21
+ "operate_op_invalid": "True when operate.op is set but not one of next/hold/unhold/adminUnhold.",
22
+ "operate_op": "The operate.op value (display form).",
23
+ "admin_unhold_op": "True when operate.op is 'adminUnhold' (224-permission force release).",
24
+ "operate_forward": "The forward name the operate op advances (display form).",
25
+ "operate_next_node_name": "The target node name of the operate op (display form).",
26
+ "forward_named_operator": "The namedOperator governing the forward being advanced (echo).",
27
+ "forward_named_op_bypass": "True when the forward advance rides the namedOperator short-circuit, skipping the 220-225 permission-index check.",
28
+ "forward_payer_scope": "True when the forward being advanced has namedOperator=\"\" (the reserved order-payer namespace) — payer-only authority: off the order-bound entry the advance asserts order-payer power, and a taskless Progress fails closed earlier (E_ORDER_TASK_REQUIRED — C-F06 split, the task assert precedes the payer check).",
29
+ "forward_has_guard_display": "Echo of whether the forward carries a Guard (display form).",
30
+ "guard_passport_required": "True when the forward has a Guard but no permission index — a Passport is required for the advance (E_NEED_PASSPORT ahead).",
31
+ "machine_published_false": "True when the context explicitly marks the Machine as unpublished (strict false).",
32
+ "machine_name": "The Machine object id the Progress binds to (raw echo, display form).",
33
+ "machine_name_or_unknown": "The Machine object id, or '(unknown)' when absent (description display form).",
34
+ "forward_reaccomplish": "True when an operate targets a forward that is already accomplished (E_FORWARD_ALREADY_ACCOMPLISHED ahead).",
35
+ "unhold_non_holder": "True when an 'unhold' op is signed by an address other than the current holder (E_NOT_THE_HOLDER ahead).",
36
+ "holder_display": "The address currently holding the forward (display form).",
37
+ "signer_display": "The address signing the operate op (display form).",
38
+ "repository_add_op": "True when the context carries a repository 'add' op (creates object-linker tx bindings).",
39
+ "repo_add_count": "Number of repositories the 'add' op introduces.",
40
+ "heterogeneous_host_types": "True when the target object types span more than one distinct host type (≥2 entries).",
41
+ "unique_target_types_csv_space": "Distinct target host types, comma-space-joined (description display form).",
42
+ "unique_target_types_csv": "Distinct target host types, comma-joined (evidence display form).",
43
+ "orderless_operate": "True when an operate targets a Progress with no bound task (task=null) — order-holder advance/hold unavailable (E_ORDER_NOT_MATCH)."
44
+ },
45
+ "rules": [
46
+ {
47
+ "rule_id": "R-PR-1-01",
48
+ "dimension": "structural",
49
+ "trigger": "named_operator addresses count > MAX_NAMED_OPERATOR_ADDRESS_COUNT (80)",
50
+ "cases": [
51
+ {
52
+ "when": { "field": "named_operator_addr_count_exceeded", "op": "eq", "value": true },
53
+ "level": "high",
54
+ "title": "named_operator address count exceeds limit",
55
+ "description": "named_operator \"${named_operator_name}\" has ${named_operator_addr_count} addresses, exceeds MAX_NAMED_OPERATOR_ADDRESS_COUNT ${max_named_operator_address_count}. Move aborts with E_MAX_NAMED_OPERATOR_ADDRESS_COUNT.",
56
+ "scenario": "Adding > 80 addresses to a single named operator",
57
+ "mitigation": "Split into multiple named_operator names, or remove inactive addresses first",
58
+ "evidence": "addr_count=${named_operator_addr_count}",
59
+ "stakeholders": ["owner", "named_operator"]
60
+ }
61
+ ]
62
+ },
63
+ {
64
+ "rule_id": "R-PR-1-02",
65
+ "dimension": "structural",
66
+ "trigger": "Adding new named_operator would exceed MAX_NAMED_OPERATOR_COUNT (60)",
67
+ "cases": [
68
+ {
69
+ "when": { "field": "named_operator_count_at_limit", "op": "eq", "value": true },
70
+ "level": "high",
71
+ "title": "named_operator namespace count at limit",
72
+ "description": "Progress already has ${named_operator_count_current} named operators, at MAX_NAMED_OPERATOR_COUNT ${max_named_operator_count}. Adding a new name will abort with E_MAX_NAMED_OPERATOR_COUNT.",
73
+ "scenario": "Adding a 61st named_operator name to a full Progress",
74
+ "mitigation": "Use 'set' on an existing name (replace address list), or remove an unused name first",
75
+ "evidence": "named_operator_count=${named_operator_count_current}",
76
+ "stakeholders": ["owner"]
77
+ }
78
+ ]
79
+ },
80
+ {
81
+ "rule_id": "R-PR-1-03",
82
+ "dimension": "structural",
83
+ "trigger": "context_repository add would exceed MAX_CONTEXT_REPOSITORY_COUNT (30)",
84
+ "cases": [
85
+ {
86
+ "when": { "field": "context_repo_count_exceeded", "op": "eq", "value": true },
87
+ "level": "high",
88
+ "title": "context_repository count exceeds limit",
89
+ "description": "Progress has ${context_repo_current} repositories, adding ${context_repo_add_count} would total ${context_repo_total}, exceeds MAX_CONTEXT_REPOSITORY_COUNT ${max_context_repository_count}. Move aborts with E_MAX_CONTEXT_REPOSITORY_COUNT.",
90
+ "scenario": "Adding too many context repositories",
91
+ "mitigation": "Remove unused repositories first, or use repository 'set' to replace the list",
92
+ "evidence": "current=${context_repo_current}, add=${context_repo_add_count}",
93
+ "stakeholders": ["owner"]
94
+ }
95
+ ]
96
+ },
97
+ {
98
+ "rule_id": "R-PR-1-04",
99
+ "dimension": "structural",
100
+ "trigger": "named_operator name is empty string but is_order_holder_namespace=false",
101
+ "cases": [
102
+ {
103
+ "when": { "field": "named_operator_empty_name", "op": "eq", "value": true },
104
+ "level": "medium",
105
+ "title": "named_operator name is empty (OrderHolder namespace)",
106
+ "description": "progress_namedOperator.name=\"\" — empty string maps to the OrderHolder namespace (the reserved no-name operator slot). This is typically set automatically when an Order is created through the buy flow, not by direct user op. Manual manipulation may overwrite order-payer authorization.",
107
+ "scenario": "User manually setting the empty-name namespace",
108
+ "mitigation": "If intentional (e.g. an internal order-ownership call), confirm. Otherwise use a non-empty name.",
109
+ "evidence": "name=\"\"",
110
+ "stakeholders": ["owner", "named_operator"]
111
+ }
112
+ ]
113
+ },
114
+ {
115
+ "rule_id": "R-PR-2-01",
116
+ "dimension": "semantic",
117
+ "trigger": "task submission on a Progress that already has a task (E_TASK_ALREADY_SET)",
118
+ "cases": [
119
+ {
120
+ "when": { "field": "task_submit_blocked", "op": "eq", "value": true },
121
+ "level": "high",
122
+ "title": "Task already bound on this Progress (irreversible)",
123
+ "description": "Progress already has task=${current_task_display}. Task submission is one-time; Move aborts with E_TASK_ALREADY_SET. There is no way to change the task after first set.",
124
+ "scenario": "User tries to rebind Progress to a different Order",
125
+ "mitigation": "Create a new Progress through a new buy flow with the new Order; the old Progress is permanently bound",
126
+ "evidence": "current_task=${current_task_display}",
127
+ "stakeholders": ["owner", "submitter"]
128
+ }
129
+ ]
130
+ },
131
+ {
132
+ "rule_id": "R-PR-2-02",
133
+ "dimension": "semantic",
134
+ "trigger": "operate.message exceeds MAX_LONG_NAME_LENGTH (long-name constraint)",
135
+ "cases": [
136
+ {
137
+ "when": { "field": "operate_message_over_long", "op": "eq", "value": true },
138
+ "level": "medium",
139
+ "title": "operate.message exceeds long-name length",
140
+ "description": "operate.message length ${operate_message_length} exceeds MAX_LONG_NAME_LENGTH (1024). Move aborts in common::LONG_NAME check.",
141
+ "scenario": "Long deliverable message",
142
+ "mitigation": "Truncate message to ≤ 1024 chars; store full payload in a context Repository",
143
+ "evidence": "msg_len=${operate_message_length}",
144
+ "stakeholders": ["submitter"]
145
+ }
146
+ ]
147
+ },
148
+ {
149
+ "rule_id": "R-PR-2-03",
150
+ "dimension": "semantic",
151
+ "trigger": "operate.op is not a valid enum value (schema-enforced, defense-in-depth)",
152
+ "cases": [
153
+ {
154
+ "when": { "field": "operate_op_invalid", "op": "eq", "value": true },
155
+ "level": "high",
156
+ "title": "operate.op must be one of: next, hold, unhold, adminUnhold",
157
+ "description": "op enum selects the Move function: next=accomplish, hold=hold(bHold=true), unhold=hold(bHold=false), adminUnhold=unhold (224 permission).",
158
+ "scenario": "Schema validation bypassed or stale client",
159
+ "mitigation": "Use one of: next, hold, unhold, adminUnhold",
160
+ "evidence": "op=${operate_op}",
161
+ "stakeholders": ["submitter"]
162
+ }
163
+ ]
164
+ },
165
+ {
166
+ "rule_id": "R-PR-3-01",
167
+ "dimension": "permission",
168
+ "trigger": "op='adminUnhold' (224 permission) — force release bypassing holder check",
169
+ "cases": [
170
+ {
171
+ "when": { "field": "admin_unhold_op", "op": "eq", "value": true },
172
+ "level": "high",
173
+ "title": "adminUnhold bypasses holder check (broad blast radius)",
174
+ "description": "adminUnhold uses 224 permission to release a held forward WITHOUT verifying sender == holder. If 224 is granted too broadly, any 224-holder can release ANY held forward in this Progress.",
175
+ "scenario": "Admin force-releases a forward that the original holder still wanted held",
176
+ "mitigation": "1) Grant 224 only to dedicated recovery addresses. 2) Log every adminUnhold for audit. 3) Prefer normal unhold (holder self-release) when possible.",
177
+ "evidence": "adminUnhold=true, forward=${operate_forward}",
178
+ "stakeholders": ["owner", "named_operator", "submitter"],
179
+ "exposure": {
180
+ "loss_parties": [
181
+ { "role": "buyer", "basis": "A hold is the objection brake on a disputed delivery; a forced release lets the workflow advance past it toward the terminal allocation despite the objection." }
182
+ ],
183
+ "gain_paths": [
184
+ {
185
+ "role": "neutral",
186
+ "path": "A broad 224-grantee force-releases the blocking hold and the workflow proceeds to the allocation the hold was placed to stop.",
187
+ "viability": "conditional",
188
+ "gate": "Executes only when the 224 permission is granted beyond dedicated recovery addresses — the rule flags grant breadth, not an observed over-grant."
189
+ }
190
+ ]
191
+ }
192
+ }
193
+ ]
194
+ },
195
+ {
196
+ "rule_id": "R-PR-3-02",
197
+ "dimension": "permission",
198
+ "trigger": "namedOperator short-circuit bypasses 220-225 permission check",
199
+ "cases": [
200
+ {
201
+ "when": { "field": "forward_named_op_bypass", "op": "eq", "value": true },
202
+ "level": "medium",
203
+ "title": "Forward advance via named_operator short-circuits 220-225 check",
204
+ "description": "Forward \"${operate_forward}\" uses namedOperator=\"${forward_named_operator}\". Move's ASSERT_PERMISSION returns immediately if IsNamedOperator() succeeds, WITHOUT checking any permission index. Anyone in the named_operator list can advance this forward.",
205
+ "scenario": "Operator list too permissive (e.g. includes expired/compromised addresses)",
206
+ "mitigation": "1) Keep named_operator lists minimal. 2) Use namedOperator_remove to revoke access promptly. 3) For sensitive forwards, prefer Forward.permissionIndex (Some) for dual-check.",
207
+ "evidence": "named_operator=${forward_named_operator}",
208
+ "stakeholders": ["owner", "named_operator"]
209
+ }
210
+ ]
211
+ },
212
+ {
213
+ "rule_id": "R-PR-3-03",
214
+ "dimension": "permission",
215
+ "trigger": "Forward has guard (Some) — Passport required but not provided",
216
+ "cases": [
217
+ {
218
+ "when": { "field": "guard_passport_required", "op": "eq", "value": true },
219
+ "level": "high",
220
+ "title": "Forward guard requires Passport",
221
+ "description": "Forward \"${operate_forward}\" has a guard (Some). The advance asserts E_NEED_PASSPORT for guarded forwards when called without a passport. Use the passport-bearing advance path (progress-level or order-holder) instead.",
222
+ "scenario": "User calls next() on a guarded forward without passport",
223
+ "mitigation": "Submit via *_with_passport variant; ensure submission data is valid for the Guard",
224
+ "evidence": "forward=${operate_forward}, has_guard=${forward_has_guard_display}",
225
+ "stakeholders": ["submitter"]
226
+ }
227
+ ]
228
+ },
229
+ {
230
+ "rule_id": "R-PR-3-04",
231
+ "dimension": "permission",
232
+ "trigger": "Forward namedOperator=\"\" (order-payer namespace) — payer-only authority; taskless fail-closed (E_ORDER_TASK_REQUIRED)",
233
+ "cases": [
234
+ {
235
+ "when": { "field": "forward_payer_scope", "op": "eq", "value": true },
236
+ "level": "high",
237
+ "title": "Forward names the order payer — generic-entry advance aborts E_ORDER_PAYER_REQUIRED",
238
+ "description": "Forward \"${operate_forward}\" has namedOperator=\"\" — the reserved order-payer namespace. Only the payer of the bound Order (or an address holding op-permission on that Order) may drive it: generic entries (next/hold, with or without passport) assert payer authority and abort with E_ORDER_PAYER_REQUIRED otherwise; a taskless Progress (task=null) fails closed earlier with E_ORDER_TASK_REQUIRED (C-F06 split — no payer exists to name, so the forward is un-executable by design).",
239
+ "scenario": "An operator presses a buyer-owned (order-payer) edge from a generic entry, or a standalone machine is designed with \"\" forwards",
240
+ "mitigation": "Drive the step as the order payer via the order-bound path (the SDK auto-routes progress.operate to the order entries when the task is an Order), or grant the address op-permission on the bound Order. For standalone Progress workflows, declare forwards with a non-empty namedOperator or a permissionIndex instead of \"\".",
241
+ "evidence": "named_operator=\"\", forward=${operate_forward}",
242
+ "stakeholders": ["submitter", "owner"]
243
+ }
244
+ ]
245
+ },
246
+ {
247
+ "rule_id": "R-PR-4-01",
248
+ "dimension": "lifecycle",
249
+ "trigger": "Machine not published — Progress cannot be created",
250
+ "cases": [
251
+ {
252
+ "when": { "field": "machine_published_false", "op": "eq", "value": true },
253
+ "level": "critical",
254
+ "title": "Machine not published — Progress creation blocked",
255
+ "description": "Machine ${machine_name_or_unknown} is not published. Progress requires a published Machine (creation asserts the published state). All Progress ops will fail with E_MACHINE_NOT_MATCH or similar.",
256
+ "scenario": "User attempts to create Progress before Machine publish",
257
+ "mitigation": "Publish the Machine first (205 permission), then create Progress",
258
+ "evidence": "machine=${machine_name}, published=false",
259
+ "stakeholders": ["owner"]
260
+ }
261
+ ]
262
+ },
263
+ {
264
+ "rule_id": "R-PR-4-02",
265
+ "dimension": "lifecycle",
266
+ "trigger": "operate on already-accomplished forward (E_FORWARD_ALREADY_ACCOMPLISHED)",
267
+ "cases": [
268
+ {
269
+ "when": { "field": "forward_reaccomplish", "op": "eq", "value": true },
270
+ "level": "medium",
271
+ "title": "Forward already accomplished — re-hold blocked",
272
+ "description": "Forward \"${operate_forward}\" to \"${operate_next_node_name}\" is already accomplished. Move aborts with E_FORWARD_ALREADY_ACCOMPLISHED on any re-hold attempt.",
273
+ "scenario": "User retries an already-completed forward (race condition or stale state)",
274
+ "mitigation": "Query Progress.current — if already past target, no action needed; if parallel session, use a different forward",
275
+ "evidence": "forward=${operate_forward}, accomplished=true",
276
+ "stakeholders": ["submitter"]
277
+ }
278
+ ]
279
+ },
280
+ {
281
+ "rule_id": "R-PR-4-03",
282
+ "dimension": "lifecycle",
283
+ "trigger": "unhold by non-holder without 224 permission (E_NOT_THE_HOLDER)",
284
+ "cases": [
285
+ {
286
+ "when": { "field": "unhold_non_holder", "op": "eq", "value": true },
287
+ "level": "high",
288
+ "title": "unhold by non-holder — Move will abort E_NOT_THE_HOLDER",
289
+ "description": "Forward is held by ${holder_display}, but signer is ${signer_display}. Move aborts with E_NOT_THE_HOLDER unless signer has 224 permission (adminUnhold path).",
290
+ "scenario": "User other than holder tries to release a hold",
291
+ "mitigation": "1) Have the original holder call unhold. 2) If holder is unresponsive, use adminUnhold=true (requires 224).",
292
+ "evidence": "holder=${holder_display}, signer=${signer_display}",
293
+ "stakeholders": ["submitter"]
294
+ }
295
+ ]
296
+ },
297
+ {
298
+ "rule_id": "R-PR-5-01",
299
+ "dimension": "cross_object",
300
+ "trigger": "order-holder advance called but progress.task != order address (E_ORDER_NOT_MATCH)",
301
+ "enabled": false,
302
+ "cases": [
303
+ {
304
+ "when": { "field": "always_true", "op": "eq", "value": false },
305
+ "level": "low",
306
+ "title": "order-holder advance without a matching bound Order (retired-inert)",
307
+ "description": "R-PR-5-01 is retired-inert in the factory pack (enabled=false): the E_ORDER_NOT_MATCH check needs an Order query that the pack-level context cannot perform, so it is left to the confirmation layer — mirroring the retired in-code check, which never fired. Re-enabling cannot make this case fire (its guard is unsatisfiable by design).",
308
+ "mitigation": "Full check requires querying Order — done at the confirmation layer."
309
+ }
310
+ ]
311
+ },
312
+ {
313
+ "rule_id": "R-PR-5-02",
314
+ "dimension": "cross_object",
315
+ "trigger": "context repository add without object-linker tx binding check",
316
+ "cases": [
317
+ {
318
+ "when": { "field": "repository_add_op", "op": "eq", "value": true },
319
+ "level": "low",
320
+ "title": "Context repository add creates object-linker tx binding",
321
+ "description": "Adding ${repo_add_count} repository(ies) creates object-linker tx binding entries. If the Repository is later deleted through a disaffiliation transaction, cross-object queries that depend on it will return empty results without warning.",
322
+ "scenario": "Repository deleted while Progress still references it",
323
+ "mitigation": "Remove the context repository binding before deleting a Repository; audit object-linker bindings periodically",
324
+ "evidence": "add_count=${repo_add_count}",
325
+ "stakeholders": ["owner", "system"]
326
+ }
327
+ ]
328
+ },
329
+ {
330
+ "rule_id": "R-PR-5-03",
331
+ "dimension": "cross_object",
332
+ "trigger": "Permission used by Progress is shared with other host objects",
333
+ "cases": [
334
+ {
335
+ "when": { "field": "heterogeneous_host_types", "op": "eq", "value": true },
336
+ "level": "medium",
337
+ "title": "Permission shared across heterogeneous host objects",
338
+ "description": "Single Permission applied to ${unique_target_types_csv_space}. Progress builtin indexes (220-225) have different semantics per host object; granting 221 (PROGRESS_NAMED_OPERATOR) to a non-Progress entity is meaningless.",
339
+ "scenario": "One Permission for both Progress and Machine",
340
+ "mitigation": "Use separate Permission objects per host object type",
341
+ "evidence": "types=${unique_target_types_csv}",
342
+ "stakeholders": ["owner"]
343
+ }
344
+ ]
345
+ },
346
+ {
347
+ "rule_id": "R-PR-5-04",
348
+ "dimension": "cross_object",
349
+ "trigger": "Progress without bound Order (order=null) — order-holder advance/hold blocked",
350
+ "cases": [
351
+ {
352
+ "when": { "field": "orderless_operate", "op": "eq", "value": true },
353
+ "level": "medium",
354
+ "title": "operate without bound Order — order-holder advance/hold unavailable",
355
+ "description": "Progress has no bound task (task=null). The order-holder advance and hold paths require progress.task == order address (E_ORDER_NOT_MATCH). Use plain next()/hold() instead — except for forwards with namedOperator=\"\": with no bound Order there is no payer to name, so those abort fail-closed (E_ORDER_TASK_REQUIRED, C-F06 split) on any entry.",
356
+ "scenario": "User tries order variant on a task-less Progress",
357
+ "mitigation": "Use non-order next()/hold() variant (non-empty-namedOperator or permissionIndex forwards), OR submit the task first to bind an Order; \"\"-scoped forwards on a taskless Progress are un-executable by design",
358
+ "evidence": "task=null",
359
+ "stakeholders": ["submitter"]
360
+ }
361
+ ]
362
+ }
363
+ ]
364
+ }
@@ -0,0 +1,158 @@
1
+ {
2
+ "comment": "Proof rule pack (R-PROOF) — declarative form of the retired in-code Proof risk rules. Facts are produced by the kernel extractor (proof-risk.ts, bound to the on-chain proof/pubkey/signature size limits and the reserved proof_type range); rules only reference fact names. 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. R-PROOF-07 stays LAST in the array: it is the unconditional immutability reminder the retired check appended after every evaluation.",
3
+ "facts": {
4
+ "proof_length": "Length of the 'proof' content string, passed through for evidence text.",
5
+ "proof_size_exceeded": "True when a non-empty proof content exceeds the chain proof size limit.",
6
+ "server_pubkey_length": "Length of the server_pubkey string, passed through for evidence text.",
7
+ "server_pubkey_size_exceeded": "True when a non-empty server_pubkey exceeds the chain pubkey size limit.",
8
+ "server_signature_length": "Length of the server_signature string, passed through for evidence text.",
9
+ "server_signature_size_exceeded": "True when a non-empty server_signature exceeds the chain signature size limit.",
10
+ "proof_type": "Raw proof_type value (number / bigint / numeric string), passed through for evidence text.",
11
+ "proof_type_reserved": "True when proof_type is provided, is not the WTS type, and falls in the Wowok-reserved 2-100 range.",
12
+ "about_address": "Raw about_address value — falsy (null/undefined/empty) means the Proof has no on-chain binding.",
13
+ "description_empty": "True when description is provided but is the empty string.",
14
+ "constants_synced": "True when the proof constants are in sync with the published chain constants (false = knowledge-layer regression).",
15
+ "always_true": "Unconditional marker fact — rules that fire for every evaluation reference it.",
16
+ "max_proof_size": "KERNEL CONSTANT — maximum proof content size in bytes.",
17
+ "max_server_pubkey_size": "KERNEL CONSTANT — maximum server_pubkey size in bytes.",
18
+ "max_server_signature_size": "KERNEL CONSTANT — maximum server_signature size in bytes.",
19
+ "wowok_wts_proof_type": "KERNEL CONSTANT — the proof_type value reserved for Will-To-Sign (WTS) proofs."
20
+ },
21
+ "rules": [
22
+ {
23
+ "rule_id": "R-PROOF-01",
24
+ "dimension": "structural",
25
+ "trigger": "proof content exceeds the chain proof size limit",
26
+ "cases": [
27
+ {
28
+ "when": { "field": "proof_size_exceeded", "op": "eq", "value": true },
29
+ "level": "high",
30
+ "title": "proof content exceeds MAX_PROOF_SIZE (${max_proof_size} bytes)",
31
+ "description": "The 'proof' string field is bounded by MAX_PROOF_SIZE=${max_proof_size} bytes. Exceeding this limit aborts with E_MAX_PROOF_SIZE (1). The proof content typically holds a merkle tree root or similar compact cryptographic digest — large data should be stored in a Repository and referenced by address, not inlined into the Proof object.",
32
+ "scenario": "Caller submits a proof string longer than 10240 bytes",
33
+ "mitigation": "Keep proof content compact (merkle root, hash digest). For larger payloads, store data in a Repository object and set about_address to the Repository address, or use item_count to indicate the off-chain data size.",
34
+ "evidence": "proof.length=${proof_length}, limit=${max_proof_size}",
35
+ "stakeholders": ["creator"]
36
+ }
37
+ ]
38
+ },
39
+ {
40
+ "rule_id": "R-PROOF-02",
41
+ "dimension": "structural",
42
+ "trigger": "server_pubkey exceeds the chain pubkey size limit",
43
+ "cases": [
44
+ {
45
+ "when": { "field": "server_pubkey_size_exceeded", "op": "eq", "value": true },
46
+ "level": "medium",
47
+ "title": "server_pubkey exceeds MAX_SERVER_PUBKEY_SIZE (${max_server_pubkey_size} bytes)",
48
+ "description": "The 'server_pubkey' field is bounded by MAX_SERVER_PUBKEY_SIZE=${max_server_pubkey_size} bytes. Exceeding this limit aborts with E_MAX_SERVER_PUBKEY_SIZE (2). Typical public keys (Ed25519=32 bytes, RSA-2048=256 bytes, BLS12-381 G1=48 bytes, G2=96 bytes) fit comfortably within this limit.",
49
+ "scenario": "Caller submits an oversized server public key (e.g. certificate chain instead of raw key)",
50
+ "mitigation": "Submit only the raw public key bytes (hex-encoded), not a full certificate or JWK structure.",
51
+ "evidence": "server_pubkey.length=${server_pubkey_length}, limit=${max_server_pubkey_size}",
52
+ "stakeholders": ["creator"]
53
+ }
54
+ ]
55
+ },
56
+ {
57
+ "rule_id": "R-PROOF-03",
58
+ "dimension": "structural",
59
+ "trigger": "server_signature exceeds the chain signature size limit",
60
+ "cases": [
61
+ {
62
+ "when": { "field": "server_signature_size_exceeded", "op": "eq", "value": true },
63
+ "level": "medium",
64
+ "title": "server_signature exceeds MAX_SERVER_SIGNATURE_SIZE (${max_server_signature_size} bytes)",
65
+ "description": "The 'server_signature' field is bounded by MAX_SERVER_SIGNATURE_SIZE=${max_server_signature_size} bytes. Exceeding this limit aborts with E_MAX_SERVER_SIGNATURE_SIZE (3). Most signature schemes produce signatures well under this limit (Ed25519=64 bytes, ECDSA=64-72 bytes, BLS12-381=96 bytes, RSA-2048=256 bytes).",
66
+ "scenario": "Caller submits an oversized signature (e.g. bundled with metadata)",
67
+ "mitigation": "Submit only the raw signature bytes (hex-encoded), not bundled metadata or certificate chains.",
68
+ "evidence": "server_signature.length=${server_signature_length}, limit=${max_server_signature_size}",
69
+ "stakeholders": ["creator"]
70
+ }
71
+ ]
72
+ },
73
+ {
74
+ "rule_id": "R-PROOF-04",
75
+ "dimension": "semantic",
76
+ "trigger": "proof_type falls in the Wowok-reserved 2-100 range without authority",
77
+ "cases": [
78
+ {
79
+ "when": { "field": "proof_type_reserved", "op": "eq", "value": true },
80
+ "level": "medium",
81
+ "title": "proof_type in reserved range without authority (1-100 reserved for Wowok)",
82
+ "description": "proof_type=${wowok_wts_proof_type} is WOWOK_WTS_PROOF_TYPE (Will-To-Sign). Values 2-100 are reserved for future Wowok-defined proof types. User-defined proof types must use values > 100. While the Move contract does not currently enforce this range at the type level (it accepts any u64), using a reserved value without authority creates semantic confusion: consumers may misinterpret the proof's verification rules.",
83
+ "scenario": "User creates a custom proof with proof_type=5 (a reserved value)",
84
+ "mitigation": "Use proof_type > 100 for user-defined proof types. Use proof_type=1 only for WTS proofs signed by an off-chain server (with server_pubkey + server_signature). Document the verification rule for custom types.",
85
+ "evidence": "proof_type=${proof_type} (reserved range 2-100)",
86
+ "stakeholders": ["creator", "consumer", "verifier"]
87
+ }
88
+ ]
89
+ },
90
+ {
91
+ "rule_id": "R-PROOF-05",
92
+ "dimension": "semantic",
93
+ "trigger": "about_address left null/undefined",
94
+ "cases": [
95
+ {
96
+ "when": { "field": "about_address", "op": "falsy" },
97
+ "level": "low",
98
+ "title": "about_address not provided — consumers cannot locate the referenced entity",
99
+ "description": "about_address is the on-chain address of the entity being proved (e.g. a user, an order, a Repository). When null/undefined, the Proof has no on-chain binding — it is a free-standing cryptographic statement. Consumers (Repository, Service, etc.) that reference this Proof cannot automatically resolve which entity it applies to. This is acceptable for generic proofs but problematic for entity-bound attestations.",
100
+ "scenario": "Caller creates a Proof without about_address, then a Repository tries to bind it to a data entry",
101
+ "mitigation": "Set about_address when the Proof attests to a specific on-chain entity. Leave it null only for free-standing cryptographic statements (e.g. a server's timestamp attestation).",
102
+ "evidence": "about_address=null/undefined",
103
+ "stakeholders": ["creator", "consumer"]
104
+ }
105
+ ]
106
+ },
107
+ {
108
+ "rule_id": "R-PROOF-06",
109
+ "dimension": "lifecycle",
110
+ "trigger": "description provided as the empty string",
111
+ "cases": [
112
+ {
113
+ "when": { "field": "description_empty", "op": "eq", "value": true },
114
+ "level": "low",
115
+ "title": "description missing — Proof hard to identify in queries and audit logs",
116
+ "description": "description is a REQUIRED field (PF-D-2=A). The Move contract stores it as a String field and SDK passes it to the proof-creation call. An empty description (\"\") is technically valid but makes the Proof hard to identify in query results and audit logs. Non-empty descriptions are strongly recommended.",
117
+ "scenario": "Caller passes description=\"\" to save typing",
118
+ "mitigation": "Provide a one-line description like \"KYC attestation for user 0xabc\" or \"merkle root for batch #42\".",
119
+ "evidence": "description=\"\" (empty)",
120
+ "stakeholders": ["creator", "verifier"]
121
+ }
122
+ ]
123
+ },
124
+ {
125
+ "rule_id": "R-PROOF-08",
126
+ "dimension": "knowledge",
127
+ "trigger": "proof constants not synced to the knowledge constant table",
128
+ "cases": [
129
+ {
130
+ "when": { "field": "constants_synced", "op": "falsy" },
131
+ "level": "info",
132
+ "title": "Knowledge layer & constant sync — RESOLVED",
133
+ "description": "All 4 Proof constants (WOWOK_WTS_PROOF_TYPE, MAX_PROOF_SIZE, MAX_SERVER_PUBKEY_SIZE, MAX_SERVER_SIGNATURE_SIZE) are now synced to onchain-constants.ts (P-PROOF-P2-5). The MCP Knowledge layer now includes proof-risk.ts, proof-confirm.ts, proof-translation.ts (P-PROOF-P2-6). This risk rule is retained for historical audit and to detect future regressions.",
134
+ "scenario": "Future regression: someone removes a Proof constant from onchain-constants.ts",
135
+ "mitigation": "Run the onchain-constants sync test to detect drift.",
136
+ "evidence": "constants_synced=false",
137
+ "stakeholders": ["system"]
138
+ }
139
+ ]
140
+ },
141
+ {
142
+ "rule_id": "R-PROOF-07",
143
+ "dimension": "lifecycle",
144
+ "trigger": "unconditional — fires for every evaluation (appended last by the retired check)",
145
+ "cases": [
146
+ {
147
+ "when": { "field": "always_true", "op": "eq", "value": true },
148
+ "level": "high",
149
+ "title": "Proof is immutable — cannot modify after creation (freeze_object)",
150
+ "description": "Proof is created via transfer::freeze_object(obj) in Move. Once frozen, the object cannot be modified, transferred, or deleted. All fields (proof, server_pubkey, server_signature, about, proof_type, signer, time, description, item_count) are permanently fixed at the value set during creation. To 'update' a Proof, create a new one and update references.",
151
+ "scenario": "Caller wants to update server_signature after key rotation — cannot, must create new Proof",
152
+ "mitigation": "Verify all fields before creating the Proof. For scenarios requiring key rotation, create a new Proof and update the referencing object (Repository data, Service config, etc.) to point to the new Proof address.",
153
+ "stakeholders": ["creator", "consumer"]
154
+ }
155
+ ]
156
+ }
157
+ ]
158
+ }