@wowok/agent-mcp 2.7.7 → 2.7.10

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 (441) hide show
  1. package/README.md +2 -2
  2. package/dist/config/runtime.d.ts +1 -1
  3. package/dist/config/runtime.js +1 -1
  4. package/dist/customer/index.d.ts +3 -4
  5. package/dist/customer/index.js +1 -1
  6. package/dist/customer/info-puzzle.js +1 -1
  7. package/dist/customer/order-monitor.d.ts +0 -9
  8. package/dist/customer/order-monitor.js +1 -1
  9. package/dist/customer/order-strategy.d.ts +0 -19
  10. package/dist/customer/order-strategy.js +1 -1
  11. package/dist/customer/reminder-system.d.ts +0 -5
  12. package/dist/customer/reminder-system.js +1 -1
  13. package/dist/evaluation/game-strategy.js +1 -1
  14. package/dist/evaluation/injection.d.ts +6 -0
  15. package/dist/evaluation/injection.js +1 -0
  16. package/dist/evaluation/node-game.js +1 -1
  17. package/dist/examples/machine-multisig-threshold.json +1 -0
  18. package/dist/examples/rental-ziroom-machine-create.json +1 -2
  19. package/dist/examples/rental-ziroom-permission-create.json +1 -2
  20. package/dist/examples/rental-ziroom-service-create.json +1 -2
  21. package/dist/experience/experience-reuse.js +1 -1
  22. package/dist/experience/index.d.ts +2 -1
  23. package/dist/experience/index.js +1 -1
  24. package/dist/experience/persistence-config.d.ts +6 -0
  25. package/dist/experience/persistence-config.js +1 -0
  26. package/dist/experience/persistence.d.ts +21 -0
  27. package/dist/experience/persistence.js +1 -0
  28. package/dist/experience/realtime-feedback.js +1 -1
  29. package/dist/experience/user-profile.js +1 -1
  30. package/dist/extensions/business-modules.d.ts +1 -1
  31. package/dist/extensions/capability-manifest.d.ts +1 -1
  32. package/dist/extensions/types.d.ts +1 -1
  33. package/dist/goal/GoalClassifier.d.ts +17 -0
  34. package/dist/goal/GoalClassifier.js +1 -0
  35. package/dist/goal/GoalEngine.d.ts +120 -0
  36. package/dist/goal/GoalEngine.js +1 -0
  37. package/dist/goal/GoalStore.d.ts +27 -0
  38. package/dist/goal/GoalStore.js +1 -0
  39. package/dist/goal/plan-approval.d.ts +5 -0
  40. package/dist/goal/plan-approval.js +1 -0
  41. package/dist/goal/types.d.ts +76 -0
  42. package/dist/goal/types.js +1 -0
  43. package/dist/harness/index.d.ts +2 -7
  44. package/dist/harness/index.js +1 -1
  45. package/dist/harness/plan.d.ts +1 -1
  46. package/dist/harness/recover.js +1 -1
  47. package/dist/harness/types.d.ts +1 -36
  48. package/dist/harness/verify.js +1 -1
  49. package/dist/index.js +1 -1
  50. package/dist/intent/enrich.js +1 -1
  51. package/dist/intent/matcher.js +1 -1
  52. package/dist/intent/types.d.ts +1 -1
  53. package/dist/intent/types.js +1 -1
  54. package/dist/knowledge/account-marks.d.ts +35 -0
  55. package/dist/knowledge/account-marks.js +1 -0
  56. package/dist/knowledge/arbitration-ledger.js +1 -1
  57. package/dist/knowledge/audit-rules.d.ts +3 -1
  58. package/dist/knowledge/audit-rules.js +1 -1
  59. package/dist/knowledge/contract-invariants.d.ts +53 -0
  60. package/dist/knowledge/contract-invariants.js +1 -0
  61. package/dist/knowledge/dynamic-pricing.d.ts +0 -2
  62. package/dist/knowledge/dynamic-pricing.js +1 -1
  63. package/dist/knowledge/event-semantics.d.ts +20 -0
  64. package/dist/knowledge/event-semantics.js +1 -0
  65. package/dist/knowledge/examples-scanner-cli.js +1 -1
  66. package/dist/knowledge/examples-scanner.js +1 -1
  67. package/dist/knowledge/glossary.js +1 -1
  68. package/dist/knowledge/goal-completion.d.ts +19 -0
  69. package/dist/knowledge/goal-completion.js +1 -0
  70. package/dist/knowledge/guard-submission-prompt.js +1 -1
  71. package/dist/knowledge/guard-translation.js +1 -1
  72. package/dist/knowledge/immutability.d.ts +11 -0
  73. package/dist/knowledge/immutability.js +1 -0
  74. package/dist/knowledge/index.d.ts +13 -6
  75. package/dist/knowledge/index.js +1 -1
  76. package/dist/knowledge/industry-registry.js +1 -1
  77. package/dist/knowledge/intent-metrics.d.ts +1 -1
  78. package/dist/knowledge/jsonrpc-enum.d.ts +37 -0
  79. package/dist/knowledge/jsonrpc-enum.js +1 -0
  80. package/dist/knowledge/machine-confirm.js +1 -1
  81. package/dist/knowledge/machine-risk.js +1 -1
  82. package/dist/knowledge/machine-topology.d.ts +11 -0
  83. package/dist/knowledge/machine-topology.js +1 -1
  84. package/dist/knowledge/machine-translation.js +1 -1
  85. package/dist/knowledge/market-metrics.d.ts +11 -0
  86. package/dist/knowledge/market-metrics.js +1 -1
  87. package/dist/knowledge/mcp-schema-audit-cli.js +1 -1
  88. package/dist/knowledge/mcp-schema-audit.d.ts +1 -0
  89. package/dist/knowledge/mcp-schema-audit.js +1 -1
  90. package/dist/knowledge/messenger-guard-guidance.d.ts +17 -0
  91. package/dist/knowledge/messenger-guard-guidance.js +1 -0
  92. package/dist/knowledge/operation-dictionary.d.ts +18 -0
  93. package/dist/knowledge/operation-dictionary.js +1 -0
  94. package/dist/knowledge/passport-confirm.js +1 -1
  95. package/dist/knowledge/passport-puzzle.js +1 -1
  96. package/dist/knowledge/passport-translation.js +1 -1
  97. package/dist/knowledge/proof-risk.js +1 -1
  98. package/dist/knowledge/safety-rules.js +1 -1
  99. package/dist/knowledge/service-ledger.js +1 -1
  100. package/dist/knowledge/service-risk.js +1 -1
  101. package/dist/knowledge/service-translation.js +1 -1
  102. package/dist/knowledge/supply-chain.d.ts +24 -0
  103. package/dist/knowledge/supply-chain.js +1 -0
  104. package/dist/knowledge/template-registry.js +1 -1
  105. package/dist/knowledge/tools-reference.js +1 -1
  106. package/dist/knowledge/trust-metrics.d.ts +27 -2
  107. package/dist/knowledge/trust-metrics.js +1 -1
  108. package/dist/knowledge/workflow-guidance.d.ts +22 -0
  109. package/dist/knowledge/workflow-guidance.js +1 -1
  110. package/dist/knowledge/workspace-lists.d.ts +56 -0
  111. package/dist/knowledge/workspace-lists.js +1 -0
  112. package/dist/loop-engineering/context-collect.d.ts +1 -1
  113. package/dist/monitor/EventRouter.d.ts +10 -0
  114. package/dist/monitor/EventRouter.js +1 -0
  115. package/dist/monitor/EventStore.d.ts +98 -0
  116. package/dist/monitor/EventStore.js +1 -0
  117. package/dist/monitor/MonitorLoop.d.ts +79 -0
  118. package/dist/monitor/MonitorLoop.js +1 -0
  119. package/dist/monitor/ProblemBridge.d.ts +32 -0
  120. package/dist/monitor/ProblemBridge.js +1 -0
  121. package/dist/monitor/ScopeResolver.d.ts +59 -0
  122. package/dist/monitor/ScopeResolver.js +1 -0
  123. package/dist/monitor/SubscriptionStore.d.ts +13 -0
  124. package/dist/monitor/SubscriptionStore.js +1 -0
  125. package/dist/monitor/normalize.d.ts +8 -0
  126. package/dist/monitor/normalize.js +1 -0
  127. package/dist/monitor/types.d.ts +89 -0
  128. package/dist/monitor/types.js +1 -0
  129. package/dist/participation/radar-core.d.ts +0 -1
  130. package/dist/participation/radar-core.js +1 -1
  131. package/dist/persona/address-format.d.ts +6 -0
  132. package/dist/persona/address-format.js +1 -0
  133. package/dist/persona/analyzer.js +1 -1
  134. package/dist/persona/distill-goal.d.ts +20 -0
  135. package/dist/persona/distill-goal.js +1 -0
  136. package/dist/persona/index.d.ts +5 -0
  137. package/dist/persona/index.js +1 -1
  138. package/dist/persona/model.js +1 -1
  139. package/dist/persona/types.d.ts +1 -1
  140. package/dist/persona/types.js +1 -1
  141. package/dist/playbooks/service-build/business-puzzle.js +1 -0
  142. package/dist/{project → playbooks/service-build}/context-assembly.d.ts +9 -4
  143. package/dist/playbooks/service-build/context-assembly.js +1 -0
  144. package/dist/{project → playbooks/service-build}/game-theory.d.ts +1 -1
  145. package/dist/playbooks/service-build/index.d.ts +14 -0
  146. package/dist/playbooks/service-build/index.js +1 -0
  147. package/dist/{project → playbooks/service-build}/intent-analyzer.d.ts +1 -1
  148. package/dist/playbooks/service-build/intent-analyzer.js +1 -0
  149. package/dist/playbooks/service-build/machine-nodes.d.ts +25 -0
  150. package/dist/playbooks/service-build/machine-nodes.js +1 -0
  151. package/dist/playbooks/service-build/machine-panorama.d.ts +43 -0
  152. package/dist/playbooks/service-build/machine-panorama.js +1 -0
  153. package/dist/{project → playbooks/service-build}/merchant-guide.d.ts +1 -1
  154. package/dist/playbooks/service-build/merchant-guide.js +1 -0
  155. package/dist/{project → playbooks/service-build}/mode-actions.d.ts +2 -2
  156. package/dist/playbooks/service-build/mode-actions.js +1 -0
  157. package/dist/playbooks/service-build/namespace.d.ts +2 -0
  158. package/dist/playbooks/service-build/namespace.js +1 -0
  159. package/dist/playbooks/service-build/object-panorama.d.ts +178 -0
  160. package/dist/playbooks/service-build/object-panorama.js +1 -0
  161. package/dist/playbooks/service-build/object-type.d.ts +1 -0
  162. package/dist/playbooks/service-build/object-type.js +1 -0
  163. package/dist/{project → playbooks/service-build}/participation-radar.d.ts +4 -5
  164. package/dist/playbooks/service-build/participation-radar.js +1 -0
  165. package/dist/{project → playbooks/service-build}/pipeline-actions.d.ts +9 -9
  166. package/dist/playbooks/service-build/pipeline-actions.js +1 -0
  167. package/dist/playbooks/service-build/process.d.ts +6 -0
  168. package/dist/playbooks/service-build/process.js +1 -0
  169. package/dist/playbooks/service-build/risk-aggregator.js +1 -0
  170. package/dist/{project → playbooks/service-build}/semantic-graph.d.ts +2 -2
  171. package/dist/playbooks/service-build/service-panorama.d.ts +164 -0
  172. package/dist/playbooks/service-build/service-panorama.js +1 -0
  173. package/dist/review/arb.d.ts +6 -0
  174. package/dist/review/arb.js +1 -0
  175. package/dist/review/demand.d.ts +3 -0
  176. package/dist/review/demand.js +1 -0
  177. package/dist/review/index.d.ts +3 -0
  178. package/dist/review/index.js +1 -0
  179. package/dist/review/machine.d.ts +3 -0
  180. package/dist/review/machine.js +1 -0
  181. package/dist/review/order.d.ts +9 -0
  182. package/dist/review/order.js +1 -0
  183. package/dist/review/progress.d.ts +3 -0
  184. package/dist/review/progress.js +1 -0
  185. package/dist/review/repository.d.ts +3 -0
  186. package/dist/review/repository.js +1 -0
  187. package/dist/review/service.d.ts +5 -0
  188. package/dist/review/service.js +1 -0
  189. package/dist/review/types.d.ts +156 -0
  190. package/dist/review/types.js +1 -0
  191. package/dist/role/derivation.d.ts +19 -2
  192. package/dist/role/derivation.js +1 -1
  193. package/dist/role/index.d.ts +2 -2
  194. package/dist/role/index.js +1 -1
  195. package/dist/role/model.js +1 -1
  196. package/dist/role/resolution.d.ts +16 -0
  197. package/dist/role/resolution.js +1 -1
  198. package/dist/role/types.d.ts +1 -1
  199. package/dist/role/types.js +1 -1
  200. package/dist/rules.d.ts +2 -2
  201. package/dist/rules.js +1 -1
  202. package/dist/safety/confirm-gate.js +1 -1
  203. package/dist/safety/index.d.ts +1 -1
  204. package/dist/safety/index.js +1 -1
  205. package/dist/safety/preview.d.ts +1 -0
  206. package/dist/safety/preview.js +1 -1
  207. package/dist/schema/call/allocation.d.ts +2 -1
  208. package/dist/schema/call/arbitration.d.ts +5 -4
  209. package/dist/schema/call/arbitration.js +1 -1
  210. package/dist/schema/call/base.d.ts +17 -1
  211. package/dist/schema/call/base.js +1 -1
  212. package/dist/schema/call/bridge.d.ts +11 -4
  213. package/dist/schema/call/contact.d.ts +2 -1
  214. package/dist/schema/call/contact.js +1 -1
  215. package/dist/schema/call/demand.d.ts +2 -1
  216. package/dist/schema/call/demand.js +1 -1
  217. package/dist/schema/call/guard.d.ts +6 -3
  218. package/dist/schema/call/handler.d.ts +0 -3
  219. package/dist/schema/call/handler.js +1 -1
  220. package/dist/schema/call/machine.d.ts +4 -2
  221. package/dist/schema/call/machine.js +1 -1
  222. package/dist/schema/call/order.d.ts +2 -1
  223. package/dist/schema/call/payment.d.ts +2 -1
  224. package/dist/schema/call/permission.d.ts +2 -1
  225. package/dist/schema/call/personal.d.ts +39 -1
  226. package/dist/schema/call/personal.js +1 -1
  227. package/dist/schema/call/progress.d.ts +2 -1
  228. package/dist/schema/call/proof.d.ts +4 -2
  229. package/dist/schema/call/repository.d.ts +6 -5
  230. package/dist/schema/call/repository.js +1 -1
  231. package/dist/schema/call/reward.d.ts +2 -13
  232. package/dist/schema/call/reward.js +1 -1
  233. package/dist/schema/call/semantic.d.ts +3 -2
  234. package/dist/schema/call/semantic.js +1 -1
  235. package/dist/schema/call/service.d.ts +2 -1
  236. package/dist/schema/call/service.js +1 -1
  237. package/dist/schema/call/treasury.d.ts +2 -1
  238. package/dist/schema/common/index.js +1 -1
  239. package/dist/schema/evaluation/index.d.ts +146 -0
  240. package/dist/schema/evaluation/index.js +1 -1
  241. package/dist/schema/goal/index.d.ts +317 -0
  242. package/dist/schema/goal/index.js +1 -0
  243. package/dist/schema/goal/planning.d.ts +465 -0
  244. package/dist/schema/goal/planning.js +1 -0
  245. package/dist/schema/index.d.ts +2 -2
  246. package/dist/schema/index.js +1 -1
  247. package/dist/schema/industry-pack/index.d.ts +265 -1
  248. package/dist/schema/industry-pack/index.js +1 -1
  249. package/dist/schema/industry-pack/modes.d.ts +268 -0
  250. package/dist/schema/industry-pack/modes.js +1 -0
  251. package/dist/schema/intent-radar/index.d.ts +30 -3
  252. package/dist/schema/intent-radar/index.js +1 -1
  253. package/dist/schema/local/index.d.ts +9 -0
  254. package/dist/schema/local/index.js +1 -1
  255. package/dist/schema/messenger/index.d.ts +54 -0
  256. package/dist/schema/messenger/index.js +1 -1
  257. package/dist/schema/operations.d.ts +1147 -94
  258. package/dist/schema/operations.js +1 -1
  259. package/dist/schema/permission/index.d.ts +18 -0
  260. package/dist/schema/permission/index.js +1 -1
  261. package/dist/schema/persona/index.d.ts +40 -0
  262. package/dist/schema/persona/index.js +1 -1
  263. package/dist/schema/query/bi.d.ts +783 -0
  264. package/dist/schema/query/bi.js +1 -0
  265. package/dist/schema/query/index.d.ts +1471 -208
  266. package/dist/schema/query/index.js +1 -1
  267. package/dist/schema/schema-version.js +1 -1
  268. package/dist/schema/trust/index.d.ts +17 -0
  269. package/dist/schema/trust/index.js +1 -1
  270. package/dist/schema/utils/skills-recommendation.d.ts +0 -1
  271. package/dist/schema/utils/skills-recommendation.js +1 -1
  272. package/dist/schema/watch/index.d.ts +204 -0
  273. package/dist/schema/watch/index.js +1 -0
  274. package/dist/schema/workflow/index.d.ts +301 -0
  275. package/dist/schema/workflow/index.js +1 -1
  276. package/dist/schema-query-impl/index.js +1 -1
  277. package/dist/schemas/account_operation.output.json +8 -5
  278. package/dist/schemas/account_operation.schema.json +2 -2
  279. package/dist/schemas/bridge_operation.output.json +7 -4
  280. package/dist/schemas/bridge_operation.schema.json +37 -21
  281. package/dist/schemas/config_operation.output.json +1 -1
  282. package/dist/schemas/config_operation.schema.json +1 -1
  283. package/dist/schemas/evaluation_operation.output.json +276 -1
  284. package/dist/schemas/evaluation_operation.schema.json +307 -0
  285. package/dist/schemas/goal_operation.schema.json +1016 -0
  286. package/dist/schemas/guard2file.schema.json +9 -5
  287. package/dist/schemas/index.json +22 -11
  288. package/dist/schemas/industry_pack_operation.output.json +898 -0
  289. package/dist/schemas/industry_pack_operation.schema.json +217 -2
  290. package/dist/schemas/intent_radar.output.json +20 -2
  291. package/dist/schemas/intent_radar.schema.json +10 -1
  292. package/dist/schemas/local_info_operation.output.json +7 -4
  293. package/dist/schemas/local_mark_operation.output.json +7 -4
  294. package/dist/schemas/machineNode2file.schema.json +9 -5
  295. package/dist/schemas/messenger_operation.output.json +107 -4
  296. package/dist/schemas/messenger_operation.schema.json +98 -0
  297. package/dist/schemas/monitor_events.output.json +1435 -0
  298. package/dist/schemas/monitor_events.schema.json +85 -0
  299. package/dist/schemas/monitor_subscription.output.json +1462 -0
  300. package/dist/schemas/monitor_subscription.schema.json +327 -0
  301. package/dist/schemas/onchain_events.output.json +241 -18
  302. package/dist/schemas/onchain_events.schema.json +20 -0
  303. package/dist/schemas/onchain_operations.output.json +12 -7
  304. package/dist/schemas/onchain_operations.schema.json +570 -478
  305. package/dist/schemas/onchain_operations_allocation.schema.json +14 -10
  306. package/dist/schemas/onchain_operations_arbitration.schema.json +17 -12
  307. package/dist/schemas/onchain_operations_contact.schema.json +13 -9
  308. package/dist/schemas/onchain_operations_demand.schema.json +13 -9
  309. package/dist/schemas/onchain_operations_gen_passport.schema.json +9 -5
  310. package/dist/schemas/onchain_operations_gen_proof.schema.json +9 -5
  311. package/dist/schemas/onchain_operations_guard.schema.json +9 -5
  312. package/dist/schemas/onchain_operations_machine.schema.json +17 -13
  313. package/dist/schemas/onchain_operations_order.schema.json +12 -8
  314. package/dist/schemas/onchain_operations_payment.schema.json +10 -6
  315. package/dist/schemas/onchain_operations_permission.schema.json +12 -8
  316. package/dist/schemas/onchain_operations_personal.schema.json +47 -5
  317. package/dist/schemas/onchain_operations_progress.schema.json +12 -8
  318. package/dist/schemas/onchain_operations_proof.schema.json +9 -5
  319. package/dist/schemas/onchain_operations_repository.schema.json +295 -310
  320. package/dist/schemas/onchain_operations_reward.schema.json +17 -13
  321. package/dist/schemas/onchain_operations_service.schema.json +21 -17
  322. package/dist/schemas/onchain_operations_treasury.schema.json +17 -13
  323. package/dist/schemas/onchain_table_data.output.json +4125 -239
  324. package/dist/schemas/onchain_table_data.schema.json +326 -15
  325. package/dist/schemas/permission_operation.output.json +32 -0
  326. package/dist/schemas/permission_operation.schema.json +6 -2
  327. package/dist/schemas/persona_operation.output.json +145 -0
  328. package/dist/schemas/persona_operation.schema.json +28 -2
  329. package/dist/schemas/query_toolkit.output.json +3384 -2040
  330. package/dist/schemas/query_toolkit.schema.json +548 -9
  331. package/dist/schemas/trust_score.output.json +38 -0
  332. package/dist/schemas/trust_score.schema.json +32 -0
  333. package/dist/schemas/watch_operation.output.json +827 -0
  334. package/dist/schemas/watch_operation.schema.json +145 -0
  335. package/dist/schemas/workflow_operation.output.json +263 -5
  336. package/dist/schemas/workflow_operation.schema.json +599 -4
  337. package/dist/task/ProcessStore.d.ts +81 -0
  338. package/dist/task/ProcessStore.js +1 -0
  339. package/dist/task/playbook.d.ts +11 -0
  340. package/dist/task/playbook.js +1 -0
  341. package/dist/task/stage-gate.d.ts +22 -0
  342. package/dist/task/stage-gate.js +1 -0
  343. package/dist/{project → task}/substep-trace.d.ts +6 -45
  344. package/dist/task/types.d.ts +120 -0
  345. package/dist/task/types.js +1 -0
  346. package/dist/tools/handlers/config.js +1 -1
  347. package/dist/tools/handlers/evaluation.js +1 -1
  348. package/dist/tools/handlers/goal.d.ts +4 -0
  349. package/dist/tools/handlers/goal.js +1 -0
  350. package/dist/tools/handlers/industry-pack.js +1 -1
  351. package/dist/tools/handlers/intent-radar.js +1 -1
  352. package/dist/tools/handlers/messenger.js +1 -1
  353. package/dist/tools/handlers/monitor.d.ts +26 -0
  354. package/dist/tools/handlers/monitor.js +1 -0
  355. package/dist/tools/handlers/network.d.ts +1 -0
  356. package/dist/tools/handlers/network.js +1 -0
  357. package/dist/tools/handlers/onchain.js +1 -1
  358. package/dist/tools/handlers/permission.js +1 -1
  359. package/dist/tools/handlers/persona.js +1 -1
  360. package/dist/tools/handlers/query.js +1 -1
  361. package/dist/tools/handlers/trust.d.ts +14 -0
  362. package/dist/tools/handlers/trust.js +1 -1
  363. package/dist/tools/handlers/watch.d.ts +2 -0
  364. package/dist/tools/handlers/watch.js +1 -0
  365. package/dist/tools/handlers/workflow.js +1 -1
  366. package/dist/tools/index.d.ts +4 -0
  367. package/dist/tools/index.js +1 -1
  368. package/dist/tools/shared.js +1 -1
  369. package/dist/tools/wrap.js +1 -1
  370. package/package.json +5 -4
  371. package/dist/customer/post-purchase.d.ts +0 -44
  372. package/dist/customer/post-purchase.js +0 -1
  373. package/dist/harness/checkpoint.d.ts +0 -8
  374. package/dist/harness/checkpoint.js +0 -1
  375. package/dist/knowledge/deployment-scanner.d.ts +0 -66
  376. package/dist/knowledge/deployment-scanner.js +0 -1
  377. package/dist/project/business-puzzle.js +0 -1
  378. package/dist/project/context-assembly.js +0 -1
  379. package/dist/project/deployment-bridge.d.ts +0 -5
  380. package/dist/project/deployment-bridge.js +0 -1
  381. package/dist/project/deployment-doc.d.ts +0 -190
  382. package/dist/project/deployment-doc.js +0 -1
  383. package/dist/project/edit-planner.d.ts +0 -123
  384. package/dist/project/edit-planner.js +0 -1
  385. package/dist/project/evaluation-fix.spec.d.ts +0 -1
  386. package/dist/project/evaluation-fix.spec.js +0 -1
  387. package/dist/project/evaluation.d.ts +0 -127
  388. package/dist/project/evaluation.js +0 -1
  389. package/dist/project/graph-builder.d.ts +0 -51
  390. package/dist/project/graph-builder.js +0 -1
  391. package/dist/project/graph.d.ts +0 -70
  392. package/dist/project/graph.js +0 -1
  393. package/dist/project/handlers.d.ts +0 -540
  394. package/dist/project/handlers.js +0 -1
  395. package/dist/project/index.d.ts +0 -91
  396. package/dist/project/index.js +0 -1
  397. package/dist/project/intent-analyzer.js +0 -1
  398. package/dist/project/machine-nodes.d.ts +0 -2
  399. package/dist/project/machine-nodes.js +0 -1
  400. package/dist/project/merchant-guide.js +0 -1
  401. package/dist/project/migration.d.ts +0 -22
  402. package/dist/project/migration.js +0 -1
  403. package/dist/project/mode-actions.js +0 -1
  404. package/dist/project/namespace.d.ts +0 -72
  405. package/dist/project/namespace.js +0 -1
  406. package/dist/project/participation-radar.js +0 -1
  407. package/dist/project/pipeline-actions.js +0 -1
  408. package/dist/project/project-store.d.ts +0 -110
  409. package/dist/project/project-store.js +0 -1
  410. package/dist/project/query.d.ts +0 -43
  411. package/dist/project/query.js +0 -1
  412. package/dist/project/risk-aggregator.js +0 -1
  413. package/dist/project/rollback-policy.d.ts +0 -45
  414. package/dist/project/rollback-policy.js +0 -1
  415. package/dist/project/semantic-assembler.d.ts +0 -93
  416. package/dist/project/semantic-assembler.js +0 -1
  417. package/dist/project/stage-gate.d.ts +0 -53
  418. package/dist/project/stage-gate.js +0 -1
  419. package/dist/project/task-tracker.d.ts +0 -26
  420. package/dist/project/task-tracker.js +0 -1
  421. package/dist/schema/project/index.d.ts +0 -2015
  422. package/dist/schema/project/index.js +0 -1
  423. package/dist/schema/task-status.d.ts +0 -62
  424. package/dist/schema/task-status.js +0 -1
  425. package/dist/schemas/project_operation.output.json +0 -7877
  426. package/dist/schemas/project_operation.schema.json +0 -1133
  427. package/dist/schemas/query_task_status.output.json +0 -211
  428. package/dist/schemas/query_task_status.schema.json +0 -18
  429. package/dist/tools/handlers/project.d.ts +0 -2
  430. package/dist/tools/handlers/project.js +0 -1
  431. package/dist/tools/handlers/task-status.d.ts +0 -2
  432. package/dist/tools/handlers/task-status.js +0 -1
  433. /package/dist/{project → playbooks/service-build}/business-puzzle.d.ts +0 -0
  434. /package/dist/{project → playbooks/service-build}/game-theory.js +0 -0
  435. /package/dist/{project → playbooks/service-build}/reverse-mapping.d.ts +0 -0
  436. /package/dist/{project → playbooks/service-build}/reverse-mapping.js +0 -0
  437. /package/dist/{project → playbooks/service-build}/risk-aggregator.d.ts +0 -0
  438. /package/dist/{project → playbooks/service-build}/semantic-graph.js +0 -0
  439. /package/dist/{project → playbooks/service-build}/workflow-design-assessment.d.ts +0 -0
  440. /package/dist/{project → playbooks/service-build}/workflow-design-assessment.js +0 -0
  441. /package/dist/{project → task}/substep-trace.js +0 -0
@@ -583,6 +583,904 @@
583
583
  "ok"
584
584
  ],
585
585
  "additionalProperties": false
586
+ },
587
+ {
588
+ "type": "object",
589
+ "properties": {
590
+ "action": {
591
+ "type": "string",
592
+ "const": "recommend_industry"
593
+ },
594
+ "intent": {
595
+ "type": "string",
596
+ "description": "The intent text used for inference."
597
+ },
598
+ "inferred_traits": {
599
+ "type": "object",
600
+ "propertyNames": {
601
+ "type": "string"
602
+ },
603
+ "additionalProperties": {},
604
+ "description": "10-dim industry traits inferred from intent."
605
+ },
606
+ "inference_confidence": {
607
+ "type": "number",
608
+ "description": "Inference confidence 0-1 (matched trait count / 10)."
609
+ },
610
+ "matched_keywords": {
611
+ "type": "array",
612
+ "items": {
613
+ "type": "string"
614
+ },
615
+ "description": "Keywords that triggered trait inference."
616
+ },
617
+ "recommendations": {
618
+ "type": "array",
619
+ "items": {
620
+ "type": "object",
621
+ "properties": {
622
+ "industry": {
623
+ "type": "string",
624
+ "description": "Recommended builtin industry mode name."
625
+ },
626
+ "similarity": {
627
+ "type": "number",
628
+ "description": "Trait similarity 0-1 (10-dim industry trait match)."
629
+ },
630
+ "matched_traits": {
631
+ "type": "array",
632
+ "items": {
633
+ "type": "string"
634
+ },
635
+ "description": "Trait dimensions that matched."
636
+ },
637
+ "reference_examples": {
638
+ "type": "array",
639
+ "items": {
640
+ "type": "object",
641
+ "properties": {
642
+ "file": {
643
+ "type": "string",
644
+ "description": "Example file name (fetch via schema_query search_examples)."
645
+ },
646
+ "title": {
647
+ "type": "string"
648
+ },
649
+ "operation_type": {
650
+ "type": "string"
651
+ },
652
+ "verified": {
653
+ "type": "boolean"
654
+ }
655
+ },
656
+ "required": [
657
+ "file",
658
+ "title",
659
+ "operation_type",
660
+ "verified"
661
+ ],
662
+ "additionalProperties": false
663
+ },
664
+ "description": "Verified reference examples for this industry (top 3)."
665
+ }
666
+ },
667
+ "required": [
668
+ "industry",
669
+ "similarity",
670
+ "matched_traits",
671
+ "reference_examples"
672
+ ],
673
+ "additionalProperties": false
674
+ },
675
+ "description": "Top-3 similar industries + reference examples."
676
+ },
677
+ "hint": {
678
+ "type": "string",
679
+ "description": "How to apply the recommendation (pass the industry to analyze_intent / merchant_guide via project_industry)."
680
+ }
681
+ },
682
+ "required": [
683
+ "action",
684
+ "intent",
685
+ "inferred_traits",
686
+ "inference_confidence",
687
+ "matched_keywords",
688
+ "recommendations",
689
+ "hint"
690
+ ],
691
+ "additionalProperties": false
692
+ },
693
+ {
694
+ "type": "object",
695
+ "properties": {
696
+ "action": {
697
+ "type": "string",
698
+ "const": "list_modes"
699
+ },
700
+ "builtin_modes": {
701
+ "type": "array",
702
+ "items": {
703
+ "type": "object",
704
+ "properties": {
705
+ "name": {
706
+ "type": "string"
707
+ },
708
+ "display_name": {
709
+ "type": "string"
710
+ },
711
+ "version": {
712
+ "type": "string"
713
+ },
714
+ "derived_from": {
715
+ "anyOf": [
716
+ {
717
+ "type": "string"
718
+ },
719
+ {
720
+ "type": "null"
721
+ }
722
+ ],
723
+ "description": "Source builtin mode (derive_user_mode) or null."
724
+ },
725
+ "owner": {
726
+ "description": "Mode owner (custom modes only).",
727
+ "type": "string"
728
+ },
729
+ "key_risk": {
730
+ "type": "string"
731
+ },
732
+ "machine_nodes": {
733
+ "type": "array",
734
+ "items": {
735
+ "type": "string"
736
+ },
737
+ "description": "Machine shape node names."
738
+ },
739
+ "similar_industries": {
740
+ "type": "array",
741
+ "items": {
742
+ "type": "string"
743
+ }
744
+ },
745
+ "evolution_history": {
746
+ "type": "array",
747
+ "items": {
748
+ "type": "object",
749
+ "properties": {
750
+ "version": {
751
+ "type": "string"
752
+ },
753
+ "changed_at": {
754
+ "type": "number"
755
+ },
756
+ "changes": {
757
+ "type": "array",
758
+ "items": {
759
+ "type": "string"
760
+ }
761
+ }
762
+ },
763
+ "required": [
764
+ "version",
765
+ "changed_at",
766
+ "changes"
767
+ ],
768
+ "additionalProperties": false
769
+ }
770
+ }
771
+ },
772
+ "required": [
773
+ "name",
774
+ "display_name",
775
+ "version",
776
+ "derived_from",
777
+ "key_risk",
778
+ "machine_nodes"
779
+ ],
780
+ "additionalProperties": false
781
+ },
782
+ "description": "Builtin industry modes (use name as project_industry)."
783
+ },
784
+ "user_modes": {
785
+ "type": "array",
786
+ "items": {
787
+ "type": "object",
788
+ "properties": {
789
+ "name": {
790
+ "type": "string"
791
+ },
792
+ "display_name": {
793
+ "type": "string"
794
+ },
795
+ "version": {
796
+ "type": "string"
797
+ },
798
+ "derived_from": {
799
+ "anyOf": [
800
+ {
801
+ "type": "string"
802
+ },
803
+ {
804
+ "type": "null"
805
+ }
806
+ ],
807
+ "description": "Source builtin mode (derive_user_mode) or null."
808
+ },
809
+ "owner": {
810
+ "description": "Mode owner (custom modes only).",
811
+ "type": "string"
812
+ },
813
+ "key_risk": {
814
+ "type": "string"
815
+ },
816
+ "machine_nodes": {
817
+ "type": "array",
818
+ "items": {
819
+ "type": "string"
820
+ },
821
+ "description": "Machine shape node names."
822
+ },
823
+ "similar_industries": {
824
+ "type": "array",
825
+ "items": {
826
+ "type": "string"
827
+ }
828
+ },
829
+ "evolution_history": {
830
+ "type": "array",
831
+ "items": {
832
+ "type": "object",
833
+ "properties": {
834
+ "version": {
835
+ "type": "string"
836
+ },
837
+ "changed_at": {
838
+ "type": "number"
839
+ },
840
+ "changes": {
841
+ "type": "array",
842
+ "items": {
843
+ "type": "string"
844
+ }
845
+ }
846
+ },
847
+ "required": [
848
+ "version",
849
+ "changed_at",
850
+ "changes"
851
+ ],
852
+ "additionalProperties": false
853
+ }
854
+ }
855
+ },
856
+ "required": [
857
+ "name",
858
+ "display_name",
859
+ "version",
860
+ "derived_from",
861
+ "key_risk",
862
+ "machine_nodes"
863
+ ],
864
+ "additionalProperties": false
865
+ },
866
+ "description": "Caller's custom modes (derive/evolve/register)."
867
+ },
868
+ "owner": {
869
+ "type": "string",
870
+ "description": "Owner key for custom modes (local single-user)."
871
+ },
872
+ "hint": {
873
+ "type": "string"
874
+ }
875
+ },
876
+ "required": [
877
+ "action",
878
+ "builtin_modes",
879
+ "user_modes",
880
+ "owner",
881
+ "hint"
882
+ ],
883
+ "additionalProperties": false
884
+ },
885
+ {
886
+ "type": "object",
887
+ "properties": {
888
+ "action": {
889
+ "type": "string",
890
+ "const": "derive_user_mode"
891
+ },
892
+ "mode": {
893
+ "type": "object",
894
+ "properties": {
895
+ "name": {
896
+ "type": "string"
897
+ },
898
+ "display_name": {
899
+ "type": "string"
900
+ },
901
+ "version": {
902
+ "type": "string"
903
+ },
904
+ "derived_from": {
905
+ "anyOf": [
906
+ {
907
+ "type": "string"
908
+ },
909
+ {
910
+ "type": "null"
911
+ }
912
+ ],
913
+ "description": "Source builtin mode (derive_user_mode) or null."
914
+ },
915
+ "owner": {
916
+ "description": "Mode owner (custom modes only).",
917
+ "type": "string"
918
+ },
919
+ "key_risk": {
920
+ "type": "string"
921
+ },
922
+ "machine_nodes": {
923
+ "type": "array",
924
+ "items": {
925
+ "type": "string"
926
+ },
927
+ "description": "Machine shape node names."
928
+ },
929
+ "similar_industries": {
930
+ "type": "array",
931
+ "items": {
932
+ "type": "string"
933
+ }
934
+ },
935
+ "evolution_history": {
936
+ "type": "array",
937
+ "items": {
938
+ "type": "object",
939
+ "properties": {
940
+ "version": {
941
+ "type": "string"
942
+ },
943
+ "changed_at": {
944
+ "type": "number"
945
+ },
946
+ "changes": {
947
+ "type": "array",
948
+ "items": {
949
+ "type": "string"
950
+ }
951
+ }
952
+ },
953
+ "required": [
954
+ "version",
955
+ "changed_at",
956
+ "changes"
957
+ ],
958
+ "additionalProperties": false
959
+ }
960
+ }
961
+ },
962
+ "required": [
963
+ "name",
964
+ "display_name",
965
+ "version",
966
+ "derived_from",
967
+ "key_risk",
968
+ "machine_nodes"
969
+ ],
970
+ "additionalProperties": false,
971
+ "description": "The derived (and registered) custom mode."
972
+ },
973
+ "hint": {
974
+ "type": "string"
975
+ }
976
+ },
977
+ "required": [
978
+ "action",
979
+ "mode",
980
+ "hint"
981
+ ],
982
+ "additionalProperties": false
983
+ },
984
+ {
985
+ "type": "object",
986
+ "properties": {
987
+ "action": {
988
+ "type": "string",
989
+ "const": "evolve_user_mode"
990
+ },
991
+ "mode": {
992
+ "type": "object",
993
+ "properties": {
994
+ "name": {
995
+ "type": "string"
996
+ },
997
+ "display_name": {
998
+ "type": "string"
999
+ },
1000
+ "version": {
1001
+ "type": "string"
1002
+ },
1003
+ "derived_from": {
1004
+ "anyOf": [
1005
+ {
1006
+ "type": "string"
1007
+ },
1008
+ {
1009
+ "type": "null"
1010
+ }
1011
+ ],
1012
+ "description": "Source builtin mode (derive_user_mode) or null."
1013
+ },
1014
+ "owner": {
1015
+ "description": "Mode owner (custom modes only).",
1016
+ "type": "string"
1017
+ },
1018
+ "key_risk": {
1019
+ "type": "string"
1020
+ },
1021
+ "machine_nodes": {
1022
+ "type": "array",
1023
+ "items": {
1024
+ "type": "string"
1025
+ },
1026
+ "description": "Machine shape node names."
1027
+ },
1028
+ "similar_industries": {
1029
+ "type": "array",
1030
+ "items": {
1031
+ "type": "string"
1032
+ }
1033
+ },
1034
+ "evolution_history": {
1035
+ "type": "array",
1036
+ "items": {
1037
+ "type": "object",
1038
+ "properties": {
1039
+ "version": {
1040
+ "type": "string"
1041
+ },
1042
+ "changed_at": {
1043
+ "type": "number"
1044
+ },
1045
+ "changes": {
1046
+ "type": "array",
1047
+ "items": {
1048
+ "type": "string"
1049
+ }
1050
+ }
1051
+ },
1052
+ "required": [
1053
+ "version",
1054
+ "changed_at",
1055
+ "changes"
1056
+ ],
1057
+ "additionalProperties": false
1058
+ }
1059
+ }
1060
+ },
1061
+ "required": [
1062
+ "name",
1063
+ "display_name",
1064
+ "version",
1065
+ "derived_from",
1066
+ "key_risk",
1067
+ "machine_nodes"
1068
+ ],
1069
+ "additionalProperties": false,
1070
+ "description": "The evolved custom mode (version bumped)."
1071
+ },
1072
+ "hint": {
1073
+ "type": "string"
1074
+ }
1075
+ },
1076
+ "required": [
1077
+ "action",
1078
+ "mode",
1079
+ "hint"
1080
+ ],
1081
+ "additionalProperties": false
1082
+ },
1083
+ {
1084
+ "type": "object",
1085
+ "properties": {
1086
+ "action": {
1087
+ "type": "string",
1088
+ "const": "register_user_mode"
1089
+ },
1090
+ "mode": {
1091
+ "type": "object",
1092
+ "properties": {
1093
+ "name": {
1094
+ "type": "string"
1095
+ },
1096
+ "display_name": {
1097
+ "type": "string"
1098
+ },
1099
+ "version": {
1100
+ "type": "string"
1101
+ },
1102
+ "derived_from": {
1103
+ "anyOf": [
1104
+ {
1105
+ "type": "string"
1106
+ },
1107
+ {
1108
+ "type": "null"
1109
+ }
1110
+ ],
1111
+ "description": "Source builtin mode (derive_user_mode) or null."
1112
+ },
1113
+ "owner": {
1114
+ "description": "Mode owner (custom modes only).",
1115
+ "type": "string"
1116
+ },
1117
+ "key_risk": {
1118
+ "type": "string"
1119
+ },
1120
+ "machine_nodes": {
1121
+ "type": "array",
1122
+ "items": {
1123
+ "type": "string"
1124
+ },
1125
+ "description": "Machine shape node names."
1126
+ },
1127
+ "similar_industries": {
1128
+ "type": "array",
1129
+ "items": {
1130
+ "type": "string"
1131
+ }
1132
+ },
1133
+ "evolution_history": {
1134
+ "type": "array",
1135
+ "items": {
1136
+ "type": "object",
1137
+ "properties": {
1138
+ "version": {
1139
+ "type": "string"
1140
+ },
1141
+ "changed_at": {
1142
+ "type": "number"
1143
+ },
1144
+ "changes": {
1145
+ "type": "array",
1146
+ "items": {
1147
+ "type": "string"
1148
+ }
1149
+ }
1150
+ },
1151
+ "required": [
1152
+ "version",
1153
+ "changed_at",
1154
+ "changes"
1155
+ ],
1156
+ "additionalProperties": false
1157
+ }
1158
+ }
1159
+ },
1160
+ "required": [
1161
+ "name",
1162
+ "display_name",
1163
+ "version",
1164
+ "derived_from",
1165
+ "key_risk",
1166
+ "machine_nodes"
1167
+ ],
1168
+ "additionalProperties": false,
1169
+ "description": "The registered fully-custom mode."
1170
+ },
1171
+ "hint": {
1172
+ "type": "string"
1173
+ }
1174
+ },
1175
+ "required": [
1176
+ "action",
1177
+ "mode",
1178
+ "hint"
1179
+ ],
1180
+ "additionalProperties": false
1181
+ },
1182
+ {
1183
+ "type": "object",
1184
+ "properties": {
1185
+ "action": {
1186
+ "type": "string",
1187
+ "const": "unregister_user_mode"
1188
+ },
1189
+ "removed": {
1190
+ "type": "boolean",
1191
+ "const": true
1192
+ },
1193
+ "mode_name": {
1194
+ "type": "string"
1195
+ }
1196
+ },
1197
+ "required": [
1198
+ "action",
1199
+ "removed",
1200
+ "mode_name"
1201
+ ],
1202
+ "additionalProperties": false
1203
+ },
1204
+ {
1205
+ "type": "object",
1206
+ "properties": {
1207
+ "action": {
1208
+ "type": "string",
1209
+ "const": "register_custom_metric"
1210
+ },
1211
+ "metric": {
1212
+ "type": "object",
1213
+ "properties": {
1214
+ "metric_id": {
1215
+ "type": "string"
1216
+ },
1217
+ "display_name": {
1218
+ "type": "string"
1219
+ },
1220
+ "description": {
1221
+ "type": "string"
1222
+ },
1223
+ "type": {
1224
+ "type": "string",
1225
+ "enum": [
1226
+ "risk",
1227
+ "benefit"
1228
+ ]
1229
+ },
1230
+ "scale": {
1231
+ "type": "string",
1232
+ "enum": [
1233
+ "level",
1234
+ "numeric",
1235
+ "percentage"
1236
+ ]
1237
+ },
1238
+ "weight": {
1239
+ "type": "number"
1240
+ },
1241
+ "scope": {
1242
+ "type": "string",
1243
+ "enum": [
1244
+ "builtin",
1245
+ "custom"
1246
+ ]
1247
+ },
1248
+ "owner": {
1249
+ "type": "string"
1250
+ }
1251
+ },
1252
+ "required": [
1253
+ "metric_id",
1254
+ "display_name",
1255
+ "description",
1256
+ "type",
1257
+ "scale",
1258
+ "weight",
1259
+ "scope"
1260
+ ],
1261
+ "additionalProperties": false,
1262
+ "description": "The registered custom metric (globally effective)."
1263
+ },
1264
+ "hint": {
1265
+ "type": "string"
1266
+ }
1267
+ },
1268
+ "required": [
1269
+ "action",
1270
+ "metric",
1271
+ "hint"
1272
+ ],
1273
+ "additionalProperties": false
1274
+ },
1275
+ {
1276
+ "type": "object",
1277
+ "properties": {
1278
+ "action": {
1279
+ "type": "string",
1280
+ "const": "register_custom_constraint"
1281
+ },
1282
+ "constraint": {
1283
+ "type": "object",
1284
+ "properties": {
1285
+ "constraint_id": {
1286
+ "type": "string"
1287
+ },
1288
+ "display_name": {
1289
+ "type": "string"
1290
+ },
1291
+ "description": {
1292
+ "type": "string"
1293
+ },
1294
+ "rule": {
1295
+ "type": "object",
1296
+ "propertyNames": {
1297
+ "type": "string"
1298
+ },
1299
+ "additionalProperties": {},
1300
+ "description": "Constraint rule (4 types — see constraint_rule input)."
1301
+ },
1302
+ "severity": {
1303
+ "type": "string",
1304
+ "enum": [
1305
+ "hard",
1306
+ "soft"
1307
+ ]
1308
+ },
1309
+ "on_violation": {
1310
+ "type": "string",
1311
+ "enum": [
1312
+ "block",
1313
+ "warn",
1314
+ "log"
1315
+ ]
1316
+ },
1317
+ "scope": {
1318
+ "type": "string",
1319
+ "enum": [
1320
+ "builtin",
1321
+ "custom"
1322
+ ]
1323
+ },
1324
+ "owner": {
1325
+ "type": "string"
1326
+ }
1327
+ },
1328
+ "required": [
1329
+ "constraint_id",
1330
+ "display_name",
1331
+ "description",
1332
+ "rule",
1333
+ "severity",
1334
+ "on_violation",
1335
+ "scope"
1336
+ ],
1337
+ "additionalProperties": false,
1338
+ "description": "The registered custom constraint."
1339
+ },
1340
+ "hint": {
1341
+ "type": "string"
1342
+ }
1343
+ },
1344
+ "required": [
1345
+ "action",
1346
+ "constraint",
1347
+ "hint"
1348
+ ],
1349
+ "additionalProperties": false
1350
+ },
1351
+ {
1352
+ "type": "object",
1353
+ "properties": {
1354
+ "action": {
1355
+ "type": "string",
1356
+ "const": "list_metrics_constraints"
1357
+ },
1358
+ "metrics": {
1359
+ "type": "array",
1360
+ "items": {
1361
+ "type": "object",
1362
+ "properties": {
1363
+ "metric_id": {
1364
+ "type": "string"
1365
+ },
1366
+ "display_name": {
1367
+ "type": "string"
1368
+ },
1369
+ "description": {
1370
+ "type": "string"
1371
+ },
1372
+ "type": {
1373
+ "type": "string",
1374
+ "enum": [
1375
+ "risk",
1376
+ "benefit"
1377
+ ]
1378
+ },
1379
+ "scale": {
1380
+ "type": "string",
1381
+ "enum": [
1382
+ "level",
1383
+ "numeric",
1384
+ "percentage"
1385
+ ]
1386
+ },
1387
+ "weight": {
1388
+ "type": "number"
1389
+ },
1390
+ "scope": {
1391
+ "type": "string",
1392
+ "enum": [
1393
+ "builtin",
1394
+ "custom"
1395
+ ]
1396
+ },
1397
+ "owner": {
1398
+ "type": "string"
1399
+ }
1400
+ },
1401
+ "required": [
1402
+ "metric_id",
1403
+ "display_name",
1404
+ "description",
1405
+ "type",
1406
+ "scale",
1407
+ "weight",
1408
+ "scope"
1409
+ ],
1410
+ "additionalProperties": false
1411
+ }
1412
+ },
1413
+ "constraints": {
1414
+ "type": "array",
1415
+ "items": {
1416
+ "type": "object",
1417
+ "properties": {
1418
+ "constraint_id": {
1419
+ "type": "string"
1420
+ },
1421
+ "display_name": {
1422
+ "type": "string"
1423
+ },
1424
+ "description": {
1425
+ "type": "string"
1426
+ },
1427
+ "rule": {
1428
+ "type": "object",
1429
+ "propertyNames": {
1430
+ "type": "string"
1431
+ },
1432
+ "additionalProperties": {},
1433
+ "description": "Constraint rule (4 types — see constraint_rule input)."
1434
+ },
1435
+ "severity": {
1436
+ "type": "string",
1437
+ "enum": [
1438
+ "hard",
1439
+ "soft"
1440
+ ]
1441
+ },
1442
+ "on_violation": {
1443
+ "type": "string",
1444
+ "enum": [
1445
+ "block",
1446
+ "warn",
1447
+ "log"
1448
+ ]
1449
+ },
1450
+ "scope": {
1451
+ "type": "string",
1452
+ "enum": [
1453
+ "builtin",
1454
+ "custom"
1455
+ ]
1456
+ },
1457
+ "owner": {
1458
+ "type": "string"
1459
+ }
1460
+ },
1461
+ "required": [
1462
+ "constraint_id",
1463
+ "display_name",
1464
+ "description",
1465
+ "rule",
1466
+ "severity",
1467
+ "on_violation",
1468
+ "scope"
1469
+ ],
1470
+ "additionalProperties": false
1471
+ }
1472
+ },
1473
+ "hint": {
1474
+ "type": "string"
1475
+ }
1476
+ },
1477
+ "required": [
1478
+ "action",
1479
+ "metrics",
1480
+ "constraints",
1481
+ "hint"
1482
+ ],
1483
+ "additionalProperties": false
586
1484
  }
587
1485
  ]
588
1486
  }