@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.
- package/dist/.build-stamp.json +3 -3
- package/dist/build-stamp.js +1 -0
- package/dist/chain-semantics/composition-truth.js +1 -1
- package/dist/chain-semantics/eval-order.js +1 -1
- package/dist/chain-semantics/freeze-map.js +1 -1
- package/dist/chain-semantics/fund-flow.js +1 -1
- package/dist/chain-semantics/object-graph.js +1 -1
- package/dist/composition/audit.js +1 -1
- package/dist/composition/compile.js +1 -1
- package/dist/composition/emit-phases.js +1 -1
- package/dist/composition/generate.js +1 -1
- package/dist/composition/guard-fill.js +1 -1
- package/dist/composition/input-normalize.js +1 -1
- package/dist/composition/materialize.js +1 -1
- package/dist/composition/mode-gates.js +1 -1
- package/dist/composition/plan.js +1 -1
- package/dist/composition/product-card.js +1 -1
- package/dist/composition/shape-expand.js +1 -0
- package/dist/config/judgment.js +1 -1
- package/dist/config/template-params.js +1 -1
- package/dist/data/sync/cdc.js +1 -1
- package/dist/data/sync/graphql-source.js +1 -1
- package/dist/evaluation/engine.js +1 -1
- package/dist/experience/realtime-feedback.js +1 -1
- package/dist/graph/onchain/expand.js +1 -1
- package/dist/graph/onchain/exposure.js +1 -1
- package/dist/graph/onchain/sdk-batch.js +1 -1
- package/dist/harness/entry-ignite-selfheal.js +1 -0
- package/dist/harness/forward-leg-preflight.js +1 -0
- package/dist/harness/recover.js +1 -1
- package/dist/keeper/detectors.js +1 -1
- package/dist/knowledge/allocator-rail-verifier.js +1 -1
- package/dist/knowledge/arb-operation-face.js +1 -0
- package/dist/knowledge/arbitration-rail-verifier.js +1 -1
- package/dist/knowledge/arbitration-templates.js +1 -1
- package/dist/knowledge/audit-rules.d.ts +15 -0
- package/dist/knowledge/audit-rules.js +1 -1
- package/dist/knowledge/baselines/rules/alloc_audit.json.good +310 -0
- package/dist/knowledge/baselines/rules/allocation.json.good +568 -0
- package/dist/knowledge/baselines/rules/arb.json.good +174 -0
- package/dist/knowledge/baselines/rules/arbitration.json.good +393 -0
- package/dist/knowledge/baselines/rules/bridge.json.good +197 -0
- package/dist/knowledge/baselines/rules/contact.json.good +152 -0
- package/dist/knowledge/baselines/rules/demand.json.good +158 -0
- package/dist/knowledge/baselines/rules/graph.json.good +534 -0
- package/dist/knowledge/baselines/rules/guard.json +18 -5
- package/dist/knowledge/baselines/rules/guard.json.good +1192 -0
- package/dist/knowledge/baselines/rules/machine.json.good +734 -0
- package/dist/knowledge/baselines/rules/oracle.json +1 -1
- package/dist/knowledge/baselines/rules/oracle.json.good +120 -0
- package/dist/knowledge/baselines/rules/order.json.good +549 -0
- package/dist/knowledge/baselines/rules/payment.json.good +205 -0
- package/dist/knowledge/baselines/rules/permission.json.good +330 -0
- package/dist/knowledge/baselines/rules/personal.json.good +139 -0
- package/dist/knowledge/baselines/rules/plan.json +343 -1
- package/dist/knowledge/baselines/rules/plan.json.good +1187 -0
- package/dist/knowledge/baselines/rules/progress.json.good +364 -0
- package/dist/knowledge/baselines/rules/proof.json.good +158 -0
- package/dist/knowledge/baselines/rules/registrar.json.good +159 -0
- package/dist/knowledge/baselines/rules/repository.json.good +244 -0
- package/dist/knowledge/baselines/rules/resource.json.good +117 -0
- package/dist/knowledge/baselines/rules/reward.json +10 -10
- package/dist/knowledge/baselines/rules/reward.json.good +586 -0
- package/dist/knowledge/baselines/rules/service.json.good +595 -0
- package/dist/knowledge/baselines/rules/treasury.json.good +440 -0
- package/dist/knowledge/baselines/rules/util.json.good +101 -0
- package/dist/knowledge/builtin-templates.d.ts +13 -1
- package/dist/knowledge/builtin-templates.js +1 -1
- package/dist/knowledge/chain-query-registry.js +1 -1
- package/dist/knowledge/discount-threshold.js +1 -1
- package/dist/knowledge/fee-param-bindings.js +1 -1
- package/dist/knowledge/fund-layer.d.ts +2 -0
- package/dist/knowledge/fund-layer.js +1 -1
- package/dist/knowledge/getting-started.js +1 -1
- package/dist/knowledge/guard-binding-table.js +1 -1
- package/dist/knowledge/guard-binding-verifier.js +1 -1
- package/dist/knowledge/guard-create-preflight.js +1 -0
- package/dist/knowledge/guard-field-cognition.js +1 -1
- package/dist/knowledge/guard-host-context.js +1 -1
- package/dist/knowledge/guard-leg-eval.js +1 -0
- package/dist/knowledge/guard-node-gates.js +1 -1
- package/dist/knowledge/guard-puzzle.js +1 -1
- package/dist/knowledge/guard-quality.js +1 -0
- package/dist/knowledge/guard-render.js +1 -1
- package/dist/knowledge/guard-risk.js +1 -1
- package/dist/knowledge/guard-semantic-walk.js +1 -0
- package/dist/knowledge/guard-templates.d.ts +1 -0
- package/dist/knowledge/guard-templates.js +1 -1
- package/dist/knowledge/guard-translation.js +1 -1
- package/dist/knowledge/index.js +1 -1
- package/dist/knowledge/industry-registry.js +1 -1
- package/dist/knowledge/jsonrpc-enum.js +1 -1
- package/dist/knowledge/param-schema.js +1 -1
- package/dist/knowledge/param-tiers.js +1 -1
- package/dist/knowledge/path-oracle/coverage.js +1 -1
- package/dist/knowledge/path-oracle/index.js +1 -1
- package/dist/knowledge/path-oracle/products/airbnb.js +1 -0
- package/dist/knowledge/path-oracle/products/algora.js +1 -0
- package/dist/knowledge/path-oracle/products/alibaba-1688.js +1 -0
- package/dist/knowledge/path-oracle/products/amazon.js +1 -0
- package/dist/knowledge/path-oracle/products/beatstars.js +1 -0
- package/dist/knowledge/path-oracle/products/booking-com.js +1 -0
- package/dist/knowledge/path-oracle/products/contra.js +1 -0
- package/dist/knowledge/path-oracle/products/costco.js +1 -0
- package/dist/knowledge/path-oracle/products/coursera.js +1 -0
- package/dist/knowledge/path-oracle/products/duoduo-maicai.js +1 -0
- package/dist/knowledge/path-oracle/products/etsy.js +1 -0
- package/dist/knowledge/path-oracle/products/food-delivery.js +1 -1
- package/dist/knowledge/path-oracle/products/gamefound.js +1 -0
- package/dist/knowledge/path-oracle/products/gofundme.js +1 -0
- package/dist/knowledge/path-oracle/products/hackerone.js +1 -0
- package/dist/knowledge/path-oracle/products/kickstarter.js +1 -0
- package/dist/knowledge/path-oracle/products/klook.js +1 -0
- package/dist/knowledge/path-oracle/products/ninety-nine-designs.js +1 -0
- package/dist/knowledge/path-oracle/products/onlyfans.js +1 -0
- package/dist/knowledge/path-oracle/products/patreon.js +1 -0
- package/dist/knowledge/path-oracle/products/pinduoduo-kuaituantuan.js +1 -0
- package/dist/knowledge/path-oracle/products/royalty-exchange.js +1 -0
- package/dist/knowledge/path-oracle/products/shansong.js +1 -0
- package/dist/knowledge/path-oracle/products/taobao-presale.js +1 -0
- package/dist/knowledge/path-oracle/products/upwork-catalog.js +1 -0
- package/dist/knowledge/path-oracle/products/upwork.js +1 -0
- package/dist/knowledge/path-oracle/products/yuanfudao.js +1 -0
- package/dist/knowledge/path-oracle/products/ziroom.js +1 -0
- package/dist/knowledge/pattern-resolutions.js +1 -1
- package/dist/knowledge/product-detail-source.js +1 -1
- package/dist/knowledge/product-doc-b5.js +1 -1
- package/dist/knowledge/product-doc-facets.js +1 -0
- package/dist/knowledge/projection.js +1 -1
- package/dist/knowledge/publish-gate.js +1 -1
- package/dist/knowledge/publish-surface-contract.js +1 -1
- package/dist/knowledge/recipient-constraint.d.ts +20 -0
- package/dist/knowledge/recipient-constraint.js +1 -1
- package/dist/knowledge/rule-declaration-types.d.ts +13 -0
- package/dist/knowledge/rule-declaration-types.js +1 -0
- package/dist/knowledge/rule-declarations.js +1 -0
- package/dist/knowledge/scenario-modes.d.ts +6 -0
- package/dist/knowledge/scenario-topology.js +1 -1
- package/dist/knowledge/template-loader.js +1 -1
- package/dist/knowledge/template-prose.js +1 -1
- package/dist/knowledge/template-registry.js +1 -1
- package/dist/knowledge/template-scanner.js +1 -1
- package/dist/knowledge/tools-reference.js +1 -1
- package/dist/monitor/MonitorLoop.js +1 -1
- package/dist/playbooks/service-build/business-puzzle.js +1 -1
- package/dist/playbooks/service-build/machine-panorama.js +1 -1
- package/dist/playbooks/service-build/merchant-guide.js +1 -1
- package/dist/playbooks/service-build/object-panorama.js +1 -1
- package/dist/playbooks/service-build/participation-radar.js +1 -1
- package/dist/playbooks/service-build/relationship-profile.js +1 -1
- package/dist/playbooks/service-build/service-panorama.js +1 -1
- package/dist/playbooks/service-build/service-quote.js +1 -1
- package/dist/review/index.js +1 -1
- package/dist/review/service.js +1 -1
- package/dist/safety/confirm-gate.js +1 -1
- package/dist/schema/benchmark-migration/index.d.ts +9 -0
- package/dist/schema/benchmark-migration/index.js +1 -1
- package/dist/schema/call/arbitration.d.ts +8 -0
- package/dist/schema/call/arbitration.js +1 -1
- package/dist/schema/call/base.d.ts +8 -0
- package/dist/schema/call/base.js +1 -1
- package/dist/schema/call/bridge.d.ts +2 -0
- package/dist/schema/call/error-codes.d.ts +1 -1
- package/dist/schema/call/error-codes.js +1 -1
- package/dist/schema/call/handler.d.ts +2 -1
- package/dist/schema/call/handler.js +1 -1
- package/dist/schema/call/order.d.ts +10 -0
- package/dist/schema/call/permission-handler.js +1 -1
- package/dist/schema/call/permission.js +1 -1
- package/dist/schema/call/progress.d.ts +15 -0
- package/dist/schema/call/progress.js +1 -1
- package/dist/schema/call/receipt.d.ts +1 -0
- package/dist/schema/call/receipt.js +1 -1
- package/dist/schema/call/repository.d.ts +12 -0
- package/dist/schema/call/repository.js +1 -1
- package/dist/schema/call/reward.js +1 -1
- package/dist/schema/call/semantic.d.ts +1 -0
- package/dist/schema/call/semantic.js +1 -1
- package/dist/schema/call/service.d.ts +5 -3
- package/dist/schema/call/service.js +1 -1
- package/dist/schema/common/index.js +1 -1
- package/dist/schema/envelope-unify.js +1 -1
- package/dist/schema/goal/index.d.ts +23 -0
- package/dist/schema/goal/planning.js +1 -1
- package/dist/schema/industry-pack/index.d.ts +2 -2
- package/dist/schema/local/index.d.ts +20 -0
- package/dist/schema/local/index.js +1 -1
- package/dist/schema/local/wip.d.ts +4 -0
- package/dist/schema/local/wip.js +1 -1
- package/dist/schema/messenger/index.d.ts +5 -0
- package/dist/schema/messenger/index.js +1 -1
- package/dist/schema/operations.d.ts +944 -1
- package/dist/schema/operations.js +1 -1
- package/dist/schema/query/bi.js +1 -1
- package/dist/schema/query/index.d.ts +5 -5
- package/dist/schema/query/index.js +1 -1
- package/dist/schema/schema-version.js +1 -1
- package/dist/schema/workspace/index.d.ts +2 -2
- package/dist/schema-query-impl/index.js +1 -1
- package/dist/schemas/account_operation.schema.json +1 -257
- package/dist/schemas/ask_user.schema.json +1 -78
- package/dist/schemas/benchmark_migration_operation.schema.json +1 -626
- package/dist/schemas/bridge_operation.schema.json +1 -1069
- package/dist/schemas/config_operation.schema.json +1 -82
- package/dist/schemas/employee_operation.schema.json +1 -319
- package/dist/schemas/evaluation_operation.schema.json +1 -3932
- package/dist/schemas/goal_operation.schema.json +1 -1650
- package/dist/schemas/guard2file.schema.json +1 -137
- package/dist/schemas/index.json +1 -285
- package/dist/schemas/industry_pack_operation.schema.json +1 -582
- package/dist/schemas/intent_radar.schema.json +1 -155
- package/dist/schemas/keeper_operation.schema.json +1 -364
- package/dist/schemas/local_cache_operation.schema.json +1 -116
- package/dist/schemas/local_history_operation.schema.json +1 -105
- package/dist/schemas/local_info_operation.schema.json +1 -140
- package/dist/schemas/local_mark_operation.schema.json +1 -124
- package/dist/schemas/machineNode2file.schema.json +1 -137
- package/dist/schemas/messenger_operation.schema.json +1 -2068
- package/dist/schemas/monitor_events.schema.json +1 -87
- package/dist/schemas/monitor_subscription.schema.json +1 -327
- package/dist/schemas/onchain_events.schema.json +1 -207
- package/dist/schemas/onchain_operations.schema.json +1 -28699
- package/dist/schemas/onchain_operations_allocation.schema.json +1 -1376
- package/dist/schemas/onchain_operations_arbitration.schema.json +1 -1355
- package/dist/schemas/onchain_operations_contact.schema.json +1 -988
- package/dist/schemas/onchain_operations_demand.schema.json +1 -1146
- package/dist/schemas/onchain_operations_gen_passport.schema.json +1 -663
- package/dist/schemas/onchain_operations_gen_proof.schema.json +1 -180
- package/dist/schemas/onchain_operations_guard.schema.json +1 -8518
- package/dist/schemas/onchain_operations_machine.schema.json +1 -1879
- package/dist/schemas/onchain_operations_order.schema.json +1 -1121
- package/dist/schemas/onchain_operations_payment.schema.json +1 -316
- package/dist/schemas/onchain_operations_permission.schema.json +1 -1036
- package/dist/schemas/onchain_operations_personal.schema.json +1 -1463
- package/dist/schemas/onchain_operations_progress.schema.json +1 -1041
- package/dist/schemas/onchain_operations_proof.schema.json +1 -750
- package/dist/schemas/onchain_operations_repository.schema.json +1 -2046
- package/dist/schemas/onchain_operations_reward.schema.json +1 -1286
- package/dist/schemas/onchain_operations_service.schema.json +1 -2602
- package/dist/schemas/onchain_operations_treasury.schema.json +1 -1527
- package/dist/schemas/onchain_table_data.schema.json +1 -1146
- package/dist/schemas/permission_operation.schema.json +1 -43
- package/dist/schemas/persona_operation.schema.json +1 -10424
- package/dist/schemas/query_toolkit.schema.json +1 -1867
- package/dist/schemas/schema_query.schema.json +1 -116
- package/dist/schemas/service_clone_operation.schema.json +1 -49
- package/dist/schemas/settle_sweep.schema.json +1 -0
- package/dist/schemas/strategy_review_operation.schema.json +1 -66
- package/dist/schemas/verify_guard_dry_run.schema.json +1 -0
- package/dist/schemas/watch_operation.schema.json +1 -145
- package/dist/schemas/wip_file.schema.json +1 -299
- package/dist/schemas/workflow_operation.schema.json +1 -722
- package/dist/schemas/workspace_operation.schema.json +1 -104
- package/dist/schemas/wowok_buildin_info.schema.json +1 -758
- package/dist/tools/handlers/benchmark-migration.js +1 -1
- package/dist/tools/handlers/config.js +1 -1
- package/dist/tools/handlers/entry-edge-recipe.js +1 -1
- package/dist/tools/handlers/file-export.js +1 -1
- package/dist/tools/handlers/local.js +1 -1
- package/dist/tools/handlers/messenger.js +1 -1
- package/dist/tools/handlers/onchain.js +1 -1
- package/dist/tools/handlers/pending-settlement-recipe.js +1 -0
- package/dist/tools/handlers/plan-recovery.js +1 -0
- package/dist/tools/handlers/query.js +1 -1
- package/dist/tools/handlers/repository-row-id.js +1 -0
- package/dist/tools/handlers/review-chain.js +1 -1
- package/dist/tools/handlers/settle-sweep.js +1 -0
- package/dist/tools/handlers/stale-build-check.js +1 -1
- package/dist/tools/handlers/submission-assembly.js +1 -1
- package/dist/tools/handlers/verify-guard-dry-run.js +1 -0
- package/dist/tools/handlers/wip-upload.js +1 -1
- package/dist/tools/index.d.ts +3 -1
- package/dist/tools/index.js +1 -1
- package/dist/tools/move-fn-index.gen.js +1 -1
- package/dist/tools/publish-gate-state.js +1 -1
- package/dist/tools/registry/business.js +1 -1
- package/dist/tools/registry/onchain.js +1 -1
- package/dist/tools/shared.js +1 -1
- package/dist/tools/types.d.ts +1 -1
- package/dist/tools/wrap.js +1 -1
- package/package.json +11 -4
- package/dist/chain-semantics/composition-truth.d.ts +0 -102
- package/dist/chain-semantics/eval-order.d.ts +0 -17
- package/dist/chain-semantics/field-capability.d.ts +0 -11
- package/dist/chain-semantics/freeze-map.d.ts +0 -11
- package/dist/chain-semantics/fund-flow.d.ts +0 -10
- package/dist/chain-semantics/guard-verbs.d.ts +0 -22
- package/dist/chain-semantics/index.d.ts +0 -12
- package/dist/chain-semantics/object-graph.d.ts +0 -18
- package/dist/communication/evidence.d.ts +0 -6
- package/dist/communication/message-cursors.d.ts +0 -35
- package/dist/communication/proof-reuse.d.ts +0 -9
- package/dist/communication/wts-attestation.d.ts +0 -39
- package/dist/composition/audit.d.ts +0 -15
- package/dist/composition/blueprint-view.d.ts +0 -63
- package/dist/composition/compile.d.ts +0 -83
- package/dist/composition/emit-phases.d.ts +0 -234
- package/dist/composition/generate.d.ts +0 -40
- package/dist/composition/guard-fill.d.ts +0 -52
- package/dist/composition/inflight.d.ts +0 -86
- package/dist/composition/input-normalize.d.ts +0 -15
- package/dist/composition/materialize.d.ts +0 -78
- package/dist/composition/mode-gates.d.ts +0 -35
- package/dist/composition/param-disclosure.d.ts +0 -61
- package/dist/composition/plan-retry-ledger.d.ts +0 -37
- package/dist/composition/plan.d.ts +0 -121
- package/dist/composition/product-card.d.ts +0 -94
- package/dist/composition/reflux.d.ts +0 -28
- package/dist/composition/supply-chain-emit.d.ts +0 -46
- package/dist/config/config-audit.spec.d.ts +0 -1
- package/dist/config/config-audit.spec.js +0 -1
- package/dist/config/config-warnings.d.ts +0 -2
- package/dist/config/index.d.ts +0 -4
- package/dist/config/judgment.spec.d.ts +0 -1
- package/dist/config/judgment.spec.js +0 -1
- package/dist/config/match-policy-file.d.ts +0 -34
- package/dist/config/match-policy-file.spec.d.ts +0 -1
- package/dist/config/match-policy-file.spec.js +0 -1
- package/dist/config/rule-engine.spec.d.ts +0 -1
- package/dist/config/rule-engine.spec.js +0 -1
- package/dist/config/runtime.d.ts +0 -29
- package/dist/config/store-policy.d.ts +0 -14
- package/dist/config/store-policy.spec.d.ts +0 -1
- package/dist/config/store-policy.spec.js +0 -1
- package/dist/config/template-params.d.ts +0 -42
- package/dist/config/template-params.spec.d.ts +0 -1
- package/dist/config/template-params.spec.js +0 -1
- package/dist/customer/account-events.d.ts +0 -32
- package/dist/data/api/api.spec.d.ts +0 -1
- package/dist/data/api/api.spec.js +0 -1
- package/dist/data/api/cli.d.ts +0 -1
- package/dist/data/api/head.d.ts +0 -16
- package/dist/data/api/head.spec.d.ts +0 -1
- package/dist/data/api/head.spec.js +0 -1
- package/dist/data/api/index.d.ts +0 -2
- package/dist/data/api/match.d.ts +0 -69
- package/dist/data/api/match.spec.d.ts +0 -1
- package/dist/data/api/match.spec.js +0 -1
- package/dist/data/api/server.d.ts +0 -13
- package/dist/data/projection/cli.d.ts +0 -1
- package/dist/data/projection/edges.d.ts +0 -8
- package/dist/data/projection/edges.spec.d.ts +0 -1
- package/dist/data/projection/edges.spec.js +0 -1
- package/dist/data/projection/facets.d.ts +0 -18
- package/dist/data/projection/facets.spec.d.ts +0 -1
- package/dist/data/projection/facets.spec.js +0 -1
- package/dist/data/projection/facts.d.ts +0 -40
- package/dist/data/projection/index.d.ts +0 -6
- package/dist/data/projection/project.d.ts +0 -10
- package/dist/data/projection/projection.spec.d.ts +0 -1
- package/dist/data/projection/projection.spec.js +0 -1
- package/dist/data/projection/schema.d.ts +0 -1
- package/dist/data/projection/store.d.ts +0 -51
- package/dist/data/projection/types.d.ts +0 -169
- package/dist/data/sync/cdc.d.ts +0 -33
- package/dist/data/sync/cdc.spec.d.ts +0 -1
- package/dist/data/sync/cdc.spec.js +0 -1
- package/dist/data/sync/graphql-source.d.ts +0 -16
- package/dist/data/sync/index.d.ts +0 -5
- package/dist/data/sync/reconciler.d.ts +0 -14
- package/dist/data/sync/reconciler.spec.d.ts +0 -1
- package/dist/data/sync/reconciler.spec.js +0 -1
- package/dist/data/sync/schema.d.ts +0 -1
- package/dist/data/sync/store.d.ts +0 -24
- package/dist/data/sync/sync.spec.d.ts +0 -1
- package/dist/data/sync/sync.spec.js +0 -1
- package/dist/data/sync/synchronizer.d.ts +0 -10
- package/dist/data/sync/types.d.ts +0 -164
- package/dist/evaluation/acceptance.d.ts +0 -33
- package/dist/evaluation/architecture.spec.d.ts +0 -1
- package/dist/evaluation/architecture.spec.js +0 -1
- package/dist/evaluation/builtins/arbitration-score.d.ts +0 -42
- package/dist/evaluation/builtins/demand-match.d.ts +0 -16
- package/dist/evaluation/builtins/graph-service.spec.d.ts +0 -1
- package/dist/evaluation/builtins/graph-service.spec.js +0 -1
- package/dist/evaluation/builtins/index.d.ts +0 -4
- package/dist/evaluation/builtins/purity.spec.d.ts +0 -1
- package/dist/evaluation/builtins/purity.spec.js +0 -1
- package/dist/evaluation/composer.d.ts +0 -38
- package/dist/evaluation/facets/catalog.d.ts +0 -19
- package/dist/evaluation/gap.d.ts +0 -2
- package/dist/evaluation/guard-scan.d.ts +0 -10
- package/dist/evaluation/index.d.ts +0 -14
- package/dist/evaluation/injection.d.ts +0 -6
- package/dist/evaluation/location-match.d.ts +0 -42
- package/dist/evaluation/match-operation.d.ts +0 -23
- package/dist/evaluation/match-policy-resolver.d.ts +0 -9
- package/dist/evaluation/match-policy.spec.d.ts +0 -1
- package/dist/evaluation/match-policy.spec.js +0 -1
- package/dist/evaluation/path-reasoning.d.ts +0 -37
- package/dist/evaluation/standards.d.ts +0 -11
- package/dist/evaluation/standards.spec.d.ts +0 -1
- package/dist/evaluation/standards.spec.js +0 -1
- package/dist/evaluation/structured-lines.d.ts +0 -8
- package/dist/evaluation/user-injection.d.ts +0 -6
- package/dist/experience/experience-reuse.d.ts +0 -10
- package/dist/experience/index.d.ts +0 -7
- package/dist/experience/persistence-config.d.ts +0 -6
- package/dist/experience/persistence.d.ts +0 -21
- package/dist/experience/realtime-feedback.d.ts +0 -5
- package/dist/experience/user-profile.d.ts +0 -25
- package/dist/extensions/capability.d.ts +0 -91
- package/dist/extensions/industry-audit.spec.d.ts +0 -1
- package/dist/extensions/industry-audit.spec.js +0 -1
- package/dist/goal/GoalClassifier.d.ts +0 -17
- package/dist/goal/GoalEngine.d.ts +0 -175
- package/dist/goal/GoalStore.d.ts +0 -27
- package/dist/goal/next-steps.d.ts +0 -12
- package/dist/goal/plan-approval.d.ts +0 -5
- package/dist/goal/pursue.d.ts +0 -18
- package/dist/graph/base.d.ts +0 -8
- package/dist/graph/onchain/analyze.d.ts +0 -59
- package/dist/graph/onchain/analyze.spec.d.ts +0 -1
- package/dist/graph/onchain/analyze.spec.js +0 -1
- package/dist/graph/onchain/anti-cheat.d.ts +0 -69
- package/dist/graph/onchain/anti-cheat.spec.d.ts +0 -1
- package/dist/graph/onchain/anti-cheat.spec.js +0 -1
- package/dist/graph/onchain/dataplane.d.ts +0 -44
- package/dist/graph/onchain/edge-batch.spec.d.ts +0 -1
- package/dist/graph/onchain/edge-batch.spec.js +0 -1
- package/dist/graph/onchain/edge-schema.d.ts +0 -69
- package/dist/graph/onchain/entity-profile.spec.d.ts +0 -1
- package/dist/graph/onchain/entity-profile.spec.js +0 -1
- package/dist/graph/onchain/event-history.spec.d.ts +0 -1
- package/dist/graph/onchain/event-history.spec.js +0 -1
- package/dist/graph/onchain/expand.d.ts +0 -4
- package/dist/graph/onchain/exploration.d.ts +0 -28
- package/dist/graph/onchain/exploration.spec.d.ts +0 -1
- package/dist/graph/onchain/exploration.spec.js +0 -1
- package/dist/graph/onchain/exposure.d.ts +0 -18
- package/dist/graph/onchain/exposure.spec.d.ts +0 -1
- package/dist/graph/onchain/exposure.spec.js +0 -1
- package/dist/graph/onchain/extract-deep.spec.d.ts +0 -1
- package/dist/graph/onchain/extract-deep.spec.js +0 -1
- package/dist/graph/onchain/extract.d.ts +0 -29
- package/dist/graph/onchain/facet-projection.d.ts +0 -99
- package/dist/graph/onchain/facet-projection.spec.d.ts +0 -1
- package/dist/graph/onchain/facet-projection.spec.js +0 -1
- package/dist/graph/onchain/facts.spec.d.ts +0 -1
- package/dist/graph/onchain/facts.spec.js +0 -1
- package/dist/graph/onchain/field-manifest.d.ts +0 -29
- package/dist/graph/onchain/field-manifest.spec.d.ts +0 -1
- package/dist/graph/onchain/field-manifest.spec.js +0 -1
- package/dist/graph/onchain/fixtures.d.ts +0 -80
- package/dist/graph/onchain/fixtures.spec.d.ts +0 -1
- package/dist/graph/onchain/fixtures.spec.js +0 -1
- package/dist/graph/onchain/graph-policy.spec.d.ts +0 -1
- package/dist/graph/onchain/graph-policy.spec.js +0 -1
- package/dist/graph/onchain/index.d.ts +0 -29
- package/dist/graph/onchain/interest.d.ts +0 -10
- package/dist/graph/onchain/interest.spec.d.ts +0 -1
- package/dist/graph/onchain/interest.spec.js +0 -1
- package/dist/graph/onchain/label-lint.spec.d.ts +0 -1
- package/dist/graph/onchain/label-lint.spec.js +0 -1
- package/dist/graph/onchain/names.d.ts +0 -23
- package/dist/graph/onchain/names.spec.d.ts +0 -1
- package/dist/graph/onchain/names.spec.js +0 -1
- package/dist/graph/onchain/object-held-receipts.d.ts +0 -20
- package/dist/graph/onchain/object-held-receipts.spec.d.ts +0 -1
- package/dist/graph/onchain/object-held-receipts.spec.js +0 -1
- package/dist/graph/onchain/onchain.spec.d.ts +0 -1
- package/dist/graph/onchain/onchain.spec.js +0 -1
- package/dist/graph/onchain/policy.d.ts +0 -8
- package/dist/graph/onchain/project-relationship.d.ts +0 -3
- package/dist/graph/onchain/proposal-graph.d.ts +0 -11
- package/dist/graph/onchain/proposal-graph.spec.d.ts +0 -1
- package/dist/graph/onchain/proposal-graph.spec.js +0 -1
- package/dist/graph/onchain/sdk-batch.d.ts +0 -129
- package/dist/graph/onchain/sdk-dataplane.d.ts +0 -44
- package/dist/graph/onchain/strategy.spec.d.ts +0 -1
- package/dist/graph/onchain/strategy.spec.js +0 -1
- package/dist/graph/onchain/synthesis.d.ts +0 -20
- package/dist/graph/onchain/synthesis.spec.d.ts +0 -1
- package/dist/graph/onchain/synthesis.spec.js +0 -1
- package/dist/graph/onchain/table-ledger.spec.d.ts +0 -1
- package/dist/graph/onchain/table-ledger.spec.js +0 -1
- package/dist/graph/onchain/viewport.d.ts +0 -6
- package/dist/harness/auto-escalation.d.ts +0 -15
- package/dist/intent/enrich.d.ts +0 -1
- package/dist/intent/index.d.ts +0 -23
- package/dist/intent/matcher.d.ts +0 -2
- package/dist/intent/store.d.ts +0 -19
- package/dist/intent/types.d.ts +0 -32
- package/dist/keeper/KeeperScan.d.ts +0 -41
- package/dist/keeper/KeeperStore.d.ts +0 -43
- package/dist/keeper/detectors.d.ts +0 -42
- package/dist/keeper/keeper.spec.d.ts +0 -1
- package/dist/keeper/keeper.spec.js +0 -1
- package/dist/keeper/types.d.ts +0 -67
- package/dist/knowledge/account-marks.d.ts +0 -36
- package/dist/knowledge/allocation-ledger.d.ts +0 -75
- package/dist/knowledge/allocation-puzzle.d.ts +0 -138
- package/dist/knowledge/allocation-risk.d.ts +0 -82
- package/dist/knowledge/allocation-templates.d.ts +0 -38
- package/dist/knowledge/allocator-rail-verifier.d.ts +0 -59
- package/dist/knowledge/anti-cheat.d.ts +0 -2
- package/dist/knowledge/arb-fund-facts.d.ts +0 -51
- package/dist/knowledge/arb-risk.d.ts +0 -39
- package/dist/knowledge/arbitration-puzzle.d.ts +0 -84
- package/dist/knowledge/arbitration-rail-verifier.d.ts +0 -35
- package/dist/knowledge/arbitration-risk.d.ts +0 -114
- package/dist/knowledge/arbitration-templates.d.ts +0 -39
- package/dist/knowledge/arbitration-venue-order.d.ts +0 -25
- package/dist/knowledge/baselines/guard-lint-baseline.spec.d.ts +0 -1
- package/dist/knowledge/baselines/guard-lint-baseline.spec.js +0 -1
- package/dist/knowledge/baselines/risk-baselines.spec.d.ts +0 -1
- package/dist/knowledge/baselines/risk-baselines.spec.js +0 -1
- package/dist/knowledge/baselines/risk-cases.d.ts +0 -8
- package/dist/knowledge/baselines/semantic-facts.d.ts +0 -12
- package/dist/knowledge/bridge-risk.d.ts +0 -36
- package/dist/knowledge/catalog-facts.d.ts +0 -4
- package/dist/knowledge/chain-query-registry.d.ts +0 -14
- package/dist/knowledge/commission-landing.d.ts +0 -26
- package/dist/knowledge/component-schema.d.ts +0 -64
- package/dist/knowledge/contact-risk.d.ts +0 -32
- package/dist/knowledge/contact-templates.d.ts +0 -26
- package/dist/knowledge/contract-invariants.d.ts +0 -54
- package/dist/knowledge/demand-risk.d.ts +0 -30
- package/dist/knowledge/discount-threshold.d.ts +0 -26
- package/dist/knowledge/dynamic-pricing.d.ts +0 -29
- package/dist/knowledge/entity-recipient-guard.d.ts +0 -21
- package/dist/knowledge/event-semantics.d.ts +0 -23
- package/dist/knowledge/evidence-review.d.ts +0 -35
- package/dist/knowledge/fee-param-bindings.d.ts +0 -28
- package/dist/knowledge/flywheel-loop.d.ts +0 -41
- package/dist/knowledge/game-scenarios.d.ts +0 -21
- package/dist/knowledge/getting-started.d.ts +0 -37
- package/dist/knowledge/goal-completion.d.ts +0 -31
- package/dist/knowledge/guard-anchor-reach.d.ts +0 -19
- package/dist/knowledge/guard-binding-table.d.ts +0 -52
- package/dist/knowledge/guard-binding-verifier.d.ts +0 -37
- package/dist/knowledge/guard-bindings.d.ts +0 -21
- package/dist/knowledge/guard-blueprint.d.ts +0 -68
- package/dist/knowledge/guard-design-patterns.d.ts +0 -38
- package/dist/knowledge/guard-eval.d.ts +0 -15
- package/dist/knowledge/guard-field-cognition.d.ts +0 -48
- package/dist/knowledge/guard-host-context.d.ts +0 -24
- package/dist/knowledge/guard-ledger.d.ts +0 -19
- package/dist/knowledge/guard-leg-map.d.ts +0 -5
- package/dist/knowledge/guard-lint.d.ts +0 -79
- package/dist/knowledge/guard-node-gates.d.ts +0 -9
- package/dist/knowledge/guard-puzzle.d.ts +0 -188
- package/dist/knowledge/guard-render.d.ts +0 -71
- package/dist/knowledge/guard-risk.d.ts +0 -71
- package/dist/knowledge/guard-submission-brief.d.ts +0 -94
- package/dist/knowledge/guard-submission-prompt.d.ts +0 -63
- package/dist/knowledge/guard-translation.d.ts +0 -58
- package/dist/knowledge/index.d.ts +0 -299
- package/dist/knowledge/industry-evolution.d.ts +0 -82
- package/dist/knowledge/industry-generalizer.d.ts +0 -63
- package/dist/knowledge/industry-rule-node.d.ts +0 -7
- package/dist/knowledge/industry-strategy.d.ts +0 -91
- package/dist/knowledge/intent-metrics.d.ts +0 -43
- package/dist/knowledge/jsonrpc-enum.d.ts +0 -102
- package/dist/knowledge/knob-docs.d.ts +0 -5
- package/dist/knowledge/machine-fork-watch.d.ts +0 -9
- package/dist/knowledge/machine-ledger.d.ts +0 -42
- package/dist/knowledge/machine-puzzle.d.ts +0 -206
- package/dist/knowledge/machine-risk.d.ts +0 -72
- package/dist/knowledge/machine-templates.d.ts +0 -92
- package/dist/knowledge/machine-topology.d.ts +0 -116
- package/dist/knowledge/machine-translation.d.ts +0 -96
- package/dist/knowledge/market-metrics.d.ts +0 -34
- package/dist/knowledge/market-operations.d.ts +0 -46
- package/dist/knowledge/migration-preflight.d.ts +0 -27
- package/dist/knowledge/object-dependency.d.ts +0 -31
- package/dist/knowledge/operation-dictionary.d.ts +0 -18
- package/dist/knowledge/order-ledger.d.ts +0 -69
- package/dist/knowledge/order-puzzle.d.ts +0 -162
- package/dist/knowledge/order-risk.d.ts +0 -62
- package/dist/knowledge/order-templates.d.ts +0 -50
- package/dist/knowledge/param-schema.d.ts +0 -93
- package/dist/knowledge/param-tiers.d.ts +0 -27
- package/dist/knowledge/passport-ledger.d.ts +0 -60
- package/dist/knowledge/passport-templates.d.ts +0 -40
- package/dist/knowledge/path-oracle/coverage.d.ts +0 -16
- package/dist/knowledge/path-oracle/index.d.ts +0 -5
- package/dist/knowledge/path-oracle/products/food-delivery.d.ts +0 -2
- package/dist/knowledge/path-oracle/schema.d.ts +0 -188
- package/dist/knowledge/pattern-resolutions.d.ts +0 -110
- package/dist/knowledge/payment-risk.d.ts +0 -38
- package/dist/knowledge/payment-tracker.d.ts +0 -63
- package/dist/knowledge/permission-ledger.d.ts +0 -49
- package/dist/knowledge/permission-puzzle.d.ts +0 -122
- package/dist/knowledge/permission-risk.d.ts +0 -70
- package/dist/knowledge/permission-templates.d.ts +0 -38
- package/dist/knowledge/personal-risk.d.ts +0 -36
- package/dist/knowledge/product-detail-source.d.ts +0 -37
- package/dist/knowledge/product-doc-b5.d.ts +0 -16
- package/dist/knowledge/progress-ledger.d.ts +0 -63
- package/dist/knowledge/progress-puzzle.d.ts +0 -82
- package/dist/knowledge/progress-risk.d.ts +0 -75
- package/dist/knowledge/progress-templates.d.ts +0 -38
- package/dist/knowledge/projection.d.ts +0 -54
- package/dist/knowledge/projection.spec.d.ts +0 -1
- package/dist/knowledge/projection.spec.js +0 -1
- package/dist/knowledge/proof-risk.d.ts +0 -33
- package/dist/knowledge/protocol-facts.d.ts +0 -17
- package/dist/knowledge/publish-gate.d.ts +0 -20
- package/dist/knowledge/publish-readiness.d.ts +0 -25
- package/dist/knowledge/publish-surface-contract.d.ts +0 -16
- package/dist/knowledge/puzzle-projections.d.ts +0 -11
- package/dist/knowledge/rail-exit-satisfiability.d.ts +0 -25
- package/dist/knowledge/registrar-risk.d.ts +0 -34
- package/dist/knowledge/release-sentinel.d.ts +0 -12
- package/dist/knowledge/repository-risk.d.ts +0 -46
- package/dist/knowledge/repository-write-semantics.d.ts +0 -27
- package/dist/knowledge/reputation-rules.d.ts +0 -36
- package/dist/knowledge/requirement-families.d.ts +0 -13
- package/dist/knowledge/resource-risk.d.ts +0 -32
- package/dist/knowledge/reward-ledger.d.ts +0 -97
- package/dist/knowledge/reward-puzzle.d.ts +0 -98
- package/dist/knowledge/reward-risk.d.ts +0 -86
- package/dist/knowledge/reward-templates.d.ts +0 -25
- package/dist/knowledge/rule-node-analyzers.d.ts +0 -49
- package/dist/knowledge/rule-outcome.d.ts +0 -5
- package/dist/knowledge/scenario-topology.d.ts +0 -48
- package/dist/knowledge/semantic-ir.d.ts +0 -136
- package/dist/knowledge/service-allocation-semantics.d.ts +0 -36
- package/dist/knowledge/service-allocator-audit-node.d.ts +0 -3
- package/dist/knowledge/service-ledger.d.ts +0 -87
- package/dist/knowledge/service-puzzle.d.ts +0 -158
- package/dist/knowledge/service-risk-node.d.ts +0 -3
- package/dist/knowledge/service-risk.d.ts +0 -110
- package/dist/knowledge/service-templates.d.ts +0 -41
- package/dist/knowledge/settlement-semantics.d.ts +0 -1
- package/dist/knowledge/strategy-manuals.d.ts +0 -15
- package/dist/knowledge/supply-chain.d.ts +0 -35
- package/dist/knowledge/template-index.d.ts +0 -19
- package/dist/knowledge/template-loader.d.ts +0 -425
- package/dist/knowledge/template-nav.d.ts +0 -9
- package/dist/knowledge/template-prose.d.ts +0 -50
- package/dist/knowledge/template-registry.d.ts +0 -48
- package/dist/knowledge/template-scanner.d.ts +0 -158
- package/dist/knowledge/template-test-profiles.d.ts +0 -17
- package/dist/knowledge/template-validation.d.ts +0 -3
- package/dist/knowledge/tools-reference.d.ts +0 -17
- package/dist/knowledge/treasury-ledger.d.ts +0 -42
- package/dist/knowledge/treasury-puzzle.d.ts +0 -163
- package/dist/knowledge/treasury-risk.d.ts +0 -88
- package/dist/knowledge/treasury-templates.d.ts +0 -38
- package/dist/knowledge/universal-template.d.ts +0 -22
- package/dist/knowledge/util-risk.d.ts +0 -30
- package/dist/knowledge/workflow-guidance.d.ts +0 -194
- package/dist/knowledge/workspace-lists.d.ts +0 -61
- package/dist/monitor/SuggestionBridge.spec.d.ts +0 -1
- package/dist/monitor/SuggestionBridge.spec.js +0 -1
- package/dist/participation/arbitrator-interest.d.ts +0 -22
- package/dist/participation/demander-interest.d.ts +0 -23
- package/dist/participation/employee-kpi.d.ts +0 -37
- package/dist/participation/employee-kpi.spec.d.ts +0 -1
- package/dist/participation/employee-kpi.spec.js +0 -1
- package/dist/participation/employee-store.d.ts +0 -16
- package/dist/participation/game-context.d.ts +0 -25
- package/dist/participation/index.d.ts +0 -2
- package/dist/participation/node-action-advisor.d.ts +0 -68
- package/dist/participation/time-window.d.ts +0 -48
- package/dist/persona/facet-profile.d.ts +0 -33
- package/dist/persona/persona-audit.spec.d.ts +0 -1
- package/dist/persona/persona-audit.spec.js +0 -1
- package/dist/playbooks/service-build/business-puzzle.d.ts +0 -48
- package/dist/playbooks/service-build/context-assembly.d.ts +0 -32
- package/dist/playbooks/service-build/facet-money.d.ts +0 -33
- package/dist/playbooks/service-build/facet-money.spec.d.ts +0 -1
- package/dist/playbooks/service-build/facet-money.spec.js +0 -1
- package/dist/playbooks/service-build/game-theory.d.ts +0 -47
- package/dist/playbooks/service-build/index.d.ts +0 -15
- package/dist/playbooks/service-build/intent-analyzer.d.ts +0 -72
- package/dist/playbooks/service-build/machine-nodes.d.ts +0 -27
- package/dist/playbooks/service-build/machine-panorama.d.ts +0 -71
- package/dist/playbooks/service-build/merchant-guide.d.ts +0 -382
- package/dist/playbooks/service-build/migration-planner.d.ts +0 -61
- package/dist/playbooks/service-build/mode-actions.d.ts +0 -260
- package/dist/playbooks/service-build/object-panorama.d.ts +0 -317
- package/dist/playbooks/service-build/object-type.d.ts +0 -1
- package/dist/playbooks/service-build/participation-radar.d.ts +0 -20
- package/dist/playbooks/service-build/pipeline-actions.d.ts +0 -108
- package/dist/playbooks/service-build/process.d.ts +0 -6
- package/dist/playbooks/service-build/relationship-profile.d.ts +0 -3
- package/dist/playbooks/service-build/reverse-mapping-nk4.spec.d.ts +0 -1
- package/dist/playbooks/service-build/reverse-mapping-nk4.spec.js +0 -1
- package/dist/playbooks/service-build/reverse-mapping-refund-p0-5.spec.d.ts +0 -1
- package/dist/playbooks/service-build/reverse-mapping-refund-p0-5.spec.js +0 -1
- package/dist/playbooks/service-build/reverse-mapping.d.ts +0 -66
- package/dist/playbooks/service-build/risk-aggregator.d.ts +0 -59
- package/dist/playbooks/service-build/service-panorama.d.ts +0 -229
- package/dist/playbooks/service-build/service-quote.d.ts +0 -2
- package/dist/playbooks/service-build/service-quote.spec.d.ts +0 -1
- package/dist/playbooks/service-build/service-quote.spec.js +0 -1
- package/dist/playbooks/service-build/topology-evaluation.spec.d.ts +0 -1
- package/dist/playbooks/service-build/topology-evaluation.spec.js +0 -1
- package/dist/playbooks/service-build/topology-query.d.ts +0 -25
- package/dist/playbooks/service-build/workflow-design-assessment.d.ts +0 -33
- package/dist/relationship/derivation.d.ts +0 -95
- package/dist/relationship/derivation.spec.d.ts +0 -1
- package/dist/relationship/derivation.spec.js +0 -1
- package/dist/relationship/incentive.d.ts +0 -38
- package/dist/relationship/index.d.ts +0 -4
- package/dist/relationship/registry.d.ts +0 -13
- package/dist/relationship/types.d.ts +0 -45
- package/dist/review/arb.d.ts +0 -4
- package/dist/review/demand.d.ts +0 -3
- package/dist/review/index.d.ts +0 -3
- package/dist/review/machine.d.ts +0 -3
- package/dist/review/order.d.ts +0 -8
- package/dist/review/progress.d.ts +0 -3
- package/dist/review/repository.d.ts +0 -3
- package/dist/review/service.d.ts +0 -5
- package/dist/review/types.d.ts +0 -163
- package/dist/role/derivation.d.ts +0 -35
- package/dist/role/index.d.ts +0 -6
- package/dist/role/intent.d.ts +0 -23
- package/dist/role/model.d.ts +0 -9
- package/dist/role/profiles.d.ts +0 -26
- package/dist/role/resolution.d.ts +0 -27
- package/dist/runtime/instance-registry.d.ts +0 -14
- package/dist/safety/index.d.ts +0 -3
- package/dist/schema/call/permission-handler.d.ts +0 -5
- package/dist/schema/call/semantic-customer-advice.spec.d.ts +0 -1
- package/dist/schema/call/semantic-customer-advice.spec.js +0 -1
- package/dist/schema/common/tokentype-short-probe.spec.d.ts +0 -1
- package/dist/schema/common/tokentype-short-probe.spec.js +0 -1
- package/dist/schema/envelope-unify.d.ts +0 -5
- package/dist/schema/goal/planning.d.ts +0 -742
- package/dist/schema/industry-pack/modes.d.ts +0 -447
- package/dist/schema/query/bi.d.ts +0 -3369
- package/dist/schema/utils/guard-query-utils.d.ts +0 -18
- package/dist/schema/utils/permission-index-utils.d.ts +0 -2
- package/dist/schema/utils/skills-recommendation.d.ts +0 -2
- package/dist/schema-query-impl/index.d.ts +0 -83
- package/dist/schemas/account_operation.output.json +0 -3869
- package/dist/schemas/ask_user.output.json +0 -54
- package/dist/schemas/benchmark_migration_operation.output.json +0 -1669
- package/dist/schemas/bridge_operation.output.json +0 -1548
- package/dist/schemas/config_operation.output.json +0 -896
- package/dist/schemas/employee_operation.output.json +0 -307
- package/dist/schemas/evaluation_operation.output.json +0 -4716
- package/dist/schemas/guard2file.output.json +0 -83
- package/dist/schemas/industry_pack_operation.output.json +0 -2985
- package/dist/schemas/intent_radar.output.json +0 -326
- package/dist/schemas/keeper_operation.output.json +0 -1441
- package/dist/schemas/local_cache_operation.output.json +0 -1718
- package/dist/schemas/local_history_operation.output.json +0 -1644
- package/dist/schemas/local_info_operation.output.json +0 -1530
- package/dist/schemas/local_mark_operation.output.json +0 -1622
- package/dist/schemas/machineNode2file.output.json +0 -88
- package/dist/schemas/messenger_operation.output.json +0 -4692
- package/dist/schemas/monitor_events.output.json +0 -1602
- package/dist/schemas/monitor_subscription.output.json +0 -1629
- package/dist/schemas/onchain_events.output.json +0 -4053
- package/dist/schemas/onchain_operations.output.json +0 -7788
- package/dist/schemas/onchain_table_data.output.json +0 -11868
- package/dist/schemas/permission_operation.output.json +0 -205
- package/dist/schemas/persona_operation.output.json +0 -64612
- package/dist/schemas/query_toolkit.output.json +0 -28302
- package/dist/schemas/schema_query.output.json +0 -81
- package/dist/schemas/service_clone_operation.output.json +0 -247
- package/dist/schemas/strategy_review_operation.output.json +0 -532
- package/dist/schemas/watch_operation.output.json +0 -930
- package/dist/schemas/wip_file.output.json +0 -360
- package/dist/schemas/workflow_operation.output.json +0 -422
- package/dist/schemas/workspace_operation.output.json +0 -477
- package/dist/schemas/wowok_buildin_info.output.json +0 -2477
- package/dist/strategy/collectors.d.ts +0 -66
- package/dist/strategy/collectors.spec.d.ts +0 -1
- package/dist/strategy/collectors.spec.js +0 -1
- package/dist/strategy/index.d.ts +0 -5
- package/dist/strategy/metrics.d.ts +0 -20
- package/dist/strategy/review.d.ts +0 -48
- package/dist/strategy/scorecard.d.ts +0 -32
- package/dist/strategy/store.d.ts +0 -26
- package/dist/task/ProcessStore.d.ts +0 -98
- package/dist/task/playbook.d.ts +0 -11
- package/dist/task/substep-trace.d.ts +0 -91
- package/dist/tools/build-fingerprint.d.ts +0 -28
- package/dist/tools/error-catalog.d.ts +0 -17
- package/dist/tools/handlers/ask-user.d.ts +0 -3
- package/dist/tools/handlers/benchmark-migration.d.ts +0 -121
- package/dist/tools/handlers/bridge.d.ts +0 -8
- package/dist/tools/handlers/config.d.ts +0 -2
- package/dist/tools/handlers/dispatch-expectations.d.ts +0 -2
- package/dist/tools/handlers/dispatch-expectations.spec.d.ts +0 -1
- package/dist/tools/handlers/dispatch-expectations.spec.js +0 -1
- package/dist/tools/handlers/employee.d.ts +0 -8
- package/dist/tools/handlers/employee.spec.d.ts +0 -1
- package/dist/tools/handlers/employee.spec.js +0 -1
- package/dist/tools/handlers/entry-edge-recipe.d.ts +0 -101
- package/dist/tools/handlers/escrow-deficit.d.ts +0 -10
- package/dist/tools/handlers/evaluation.d.ts +0 -2
- package/dist/tools/handlers/evaluation.spec.d.ts +0 -1
- package/dist/tools/handlers/evaluation.spec.js +0 -1
- package/dist/tools/handlers/file-export.d.ts +0 -3
- package/dist/tools/handlers/fund-rail-recipe.d.ts +0 -10
- package/dist/tools/handlers/goal.d.ts +0 -4
- package/dist/tools/handlers/industry-pack.d.ts +0 -3
- package/dist/tools/handlers/intent-radar.d.ts +0 -2
- package/dist/tools/handlers/keeper.d.ts +0 -12
- package/dist/tools/handlers/local.d.ts +0 -6
- package/dist/tools/handlers/mark-namespace.d.ts +0 -30
- package/dist/tools/handlers/messenger.d.ts +0 -24
- package/dist/tools/handlers/monitor.d.ts +0 -26
- package/dist/tools/handlers/name-resolution.d.ts +0 -4
- package/dist/tools/handlers/name-resolution.spec.d.ts +0 -1
- package/dist/tools/handlers/name-resolution.spec.js +0 -1
- package/dist/tools/handlers/network.d.ts +0 -1
- package/dist/tools/handlers/onchain-name-registration.d.ts +0 -49
- package/dist/tools/handlers/onchain-name-registration.spec.d.ts +0 -1
- package/dist/tools/handlers/onchain-name-registration.spec.js +0 -1
- package/dist/tools/handlers/onchain.d.ts +0 -132
- package/dist/tools/handlers/permission.d.ts +0 -2
- package/dist/tools/handlers/persona.d.ts +0 -4
- package/dist/tools/handlers/publish-binding-echo.d.ts +0 -22
- package/dist/tools/handlers/review-chain.d.ts +0 -19
- package/dist/tools/handlers/schema-query.d.ts +0 -2
- package/dist/tools/handlers/service-clone.d.ts +0 -20
- package/dist/tools/handlers/stale-build-check.d.ts +0 -9
- package/dist/tools/handlers/strategy-review.d.ts +0 -2
- package/dist/tools/handlers/submission-assembly.d.ts +0 -55
- package/dist/tools/handlers/watch.d.ts +0 -2
- package/dist/tools/handlers/winner-derivation.d.ts +0 -20
- package/dist/tools/handlers/wip-upload.d.ts +0 -22
- package/dist/tools/handlers/wip.d.ts +0 -2
- package/dist/tools/handlers/workflow.d.ts +0 -2
- package/dist/tools/handlers/workspace.d.ts +0 -4
- package/dist/tools/move-fn-index.gen.d.ts +0 -3
- package/dist/tools/publish-gate-state.d.ts +0 -5
- package/dist/tools/registry/agent.d.ts +0 -2
- package/dist/tools/registry/bridge.d.ts +0 -2
- package/dist/tools/registry/business.d.ts +0 -2
- package/dist/tools/registry/config.d.ts +0 -2
- package/dist/tools/registry/evaluation.d.ts +0 -2
- package/dist/tools/registry/files.d.ts +0 -2
- package/dist/tools/registry/identity.d.ts +0 -2
- package/dist/tools/registry/interaction.d.ts +0 -2
- package/dist/tools/registry/local.d.ts +0 -2
- package/dist/tools/registry/messenger.d.ts +0 -2
- package/dist/tools/registry/monitor.d.ts +0 -2
- package/dist/tools/registry/onchain.d.ts +0 -2
- package/dist/tools/registry/query.d.ts +0 -2
- package/dist/tools/retry.d.ts +0 -8
- package/dist/tools/rules-hook.d.ts +0 -5
- package/dist/tools/runtime-health.d.ts +0 -10
- package/dist/tools/sanitize-description-roundtrip.spec.d.ts +0 -1
- package/dist/tools/sanitize-description-roundtrip.spec.js +0 -1
- package/dist/tools/sanitize-output.d.ts +0 -4
- package/dist/tools/sanitize-output.spec.d.ts +0 -1
- package/dist/tools/sanitize-output.spec.js +0 -1
- package/dist/tools/shared.d.ts +0 -20
- package/dist/tools/transport-integrity.d.ts +0 -7
- package/dist/tools/upgrade-check.d.ts +0 -75
- package/dist/tools/wip-deploy-assist.d.ts +0 -34
- package/dist/tools/wip-verify-ledger.d.ts +0 -16
- package/dist/tools/wrap.d.ts +0 -45
|
@@ -1,582 +1 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
-
"$id": "https://wowok.net/schemas/industry_pack_operation.json",
|
|
4
|
-
"title": "Industry Pack - Knowledge Template Orchestration",
|
|
5
|
-
"description": "Manage industry knowledge packs (distributable, registrable, versionable units carrying one industry's object-shape, matching rules, and role personae). Actions: scaffold (generate template skeleton), list (registered packs), scan (default directory).",
|
|
6
|
-
"type": "object",
|
|
7
|
-
"properties": {
|
|
8
|
-
"action": {
|
|
9
|
-
"type": "string",
|
|
10
|
-
"enum": [
|
|
11
|
-
"scaffold",
|
|
12
|
-
"list",
|
|
13
|
-
"scan",
|
|
14
|
-
"repair_builtin_templates",
|
|
15
|
-
"template_drift",
|
|
16
|
-
"resolve",
|
|
17
|
-
"list_files",
|
|
18
|
-
"read_file",
|
|
19
|
-
"write_file",
|
|
20
|
-
"get",
|
|
21
|
-
"capability_list",
|
|
22
|
-
"capability_get",
|
|
23
|
-
"compose_probe",
|
|
24
|
-
"product_cards",
|
|
25
|
-
"product_card",
|
|
26
|
-
"diff",
|
|
27
|
-
"reset",
|
|
28
|
-
"delete_file",
|
|
29
|
-
"create_file",
|
|
30
|
-
"create_dir",
|
|
31
|
-
"copy",
|
|
32
|
-
"move",
|
|
33
|
-
"rename",
|
|
34
|
-
"recommend_industry",
|
|
35
|
-
"list_modes",
|
|
36
|
-
"derive_user_mode",
|
|
37
|
-
"evolve_user_mode",
|
|
38
|
-
"register_user_mode",
|
|
39
|
-
"unregister_user_mode",
|
|
40
|
-
"register_custom_metric",
|
|
41
|
-
"unregister_custom_metric",
|
|
42
|
-
"register_custom_constraint",
|
|
43
|
-
"unregister_custom_constraint",
|
|
44
|
-
"list_metrics_constraints"
|
|
45
|
-
],
|
|
46
|
-
"description": "Action: 'scaffold' = generate a pack template skeleton (requires name); 'list' = list registered packs; 'scan' = scan + register packs under the default directory; 'template_drift' = REPORT builtin template files whose on-disk body differs from the in-code catalog (classifies no_sentinel_legacy / stale_release / user_modified); run it FIRST when a template change 'seems to have no effect. 'repair_builtin_templates' = RESEED those legacy files from the in-code catalog (identity-gated on a known builtin id, previous body kept in the hidden templates/.archive/ dir; custom templates never touched)'resolve' = return the industry root directory; 'list_files' = list files under the industry directory; 'read_file' = read a file under the industry directory (path required); 'write_file' = write content to a file under the industry directory (path + content required); 'get' = return registered layer data for an industry (name required; mode/dispute/compliance/supply/rules/playbook; an optional 'layer' selector returns ONE layer and refuses by name when the pack does not register it — layer='template' reads the builtin catalog template data instead of pack layers, with 'template' id optional to list the industry's templates); 'capability_list' = list the Capability Lattice registry (composable business units; optional 'group' filter); 'capability_get' = full card of ONE capability id (intent/binds/requires/excludes/risks/disclosures/cost/constraints); 'compose_probe' = probe whether a capability selection can coexist in one build — static lattice check + optional base-template compile baseline (capabilities[] required; optional 'template' as the base build); 'product_cards' = FRONT-stage ProductCard summaries for the catalog or one industry (optional 'name'); 'product_card' = the full ProductCard of ONE builtin template (template id required) — alignment/features/cost/params/risks, every assertion projected from declared data; 'diff' = compare registered vs on-disk manifest version/layers (name required); 'reset' = restore a file or entire pack folder to its pristine annotated template (path required). 'delete_file' = delete a file or directory (path required). 'create_file' = create an empty file (path required; content optional). 'create_dir' = create a directory recursively (path required). 'copy' = copy a file or directory (from + to required). 'move' / 'rename' = move or rename a file or directory (from + to required). Mode registry (industry/scenario configuration): 'recommend_industry' = business intent → top-3 similar industries + reference examples; 'list_modes' = builtin + custom modes; 'derive_user_mode' = derive a custom mode from a builtin; 'evolve_user_mode' = iterate an existing custom mode; 'register_user_mode' = register a fully custom mode; 'unregister_user_mode' = delete a custom mode; 'register_custom_metric' / 'register_custom_constraint' = register global evaluation metric/constraint; 'list_metrics_constraints' = list metrics + constraints (filterable)."
|
|
47
|
-
},
|
|
48
|
-
"name": {
|
|
49
|
-
"description": "Industry name (lowercase snake_case, e.g. 'life_service'); required for scaffold and get.",
|
|
50
|
-
"type": "string"
|
|
51
|
-
},
|
|
52
|
-
"layer": {
|
|
53
|
-
"description": "Optional single-layer selector for action='get'. Non-template values return ONLY that registered pack layer and refuse with a named error when the pack does not register it (stub packs carry only mode/match). 'template' reads the builtin catalog: with 'template' set, one full template projection; without it, the industry's template summaries. 'params' is the merchant-facing settings surface: with 'template' set, every declared parameter of that template in business order (meaning, unit, default, accepted values, proven status, landing, editable); without a template id it requires 'query' and searches the catalog for the business facet. 'components' is the companion object surface: every Service/Sale/allocator/allocation/machine/guard/repository component with what it is, HOW to configure it (surface + field path) and WHEN, the effect once it takes effect, and the objects it is bound to — a component that cannot be configured states why (e.g. a money split hard-coded in the template body).",
|
|
54
|
-
"type": "string",
|
|
55
|
-
"enum": [
|
|
56
|
-
"mode",
|
|
57
|
-
"match",
|
|
58
|
-
"dispute",
|
|
59
|
-
"compliance",
|
|
60
|
-
"supply",
|
|
61
|
-
"rules",
|
|
62
|
-
"playbook",
|
|
63
|
-
"template",
|
|
64
|
-
"params",
|
|
65
|
-
"components"
|
|
66
|
-
]
|
|
67
|
-
},
|
|
68
|
-
"query": {
|
|
69
|
-
"description": "Free-text business phrase (e.g. 'settlement window', 'take rate', 'cancel fee', 'allocator split', 'repository policy') used with action='get' + layer='params' or layer='components' to RANK that plane. A phrase that names nothing returns an empty match list — never the least-bad row.",
|
|
70
|
-
"type": "string"
|
|
71
|
-
},
|
|
72
|
-
"template": {
|
|
73
|
-
"description": "Builtin template id '<industry>/<variant>' (e.g. 'rental/p2p-shortstay'); used with action='get' + layer='template' / 'params' / 'components', and with action='compose_probe' as the base build the capability selection is probed against.",
|
|
74
|
-
"type": "string"
|
|
75
|
-
},
|
|
76
|
-
"capabilities": {
|
|
77
|
-
"description": "Capability ids (from capability_list) — required for action='compose_probe' (the selection to probe; 1..12 ids), echoed by capability_get.",
|
|
78
|
-
"maxItems": 12,
|
|
79
|
-
"type": "array",
|
|
80
|
-
"items": {
|
|
81
|
-
"type": "string",
|
|
82
|
-
"minLength": 1
|
|
83
|
-
}
|
|
84
|
-
},
|
|
85
|
-
"group": {
|
|
86
|
-
"description": "Capability group filter for action='capability_list': fund_safety / trust_evidence / fulfillment / promotion / governance / composition.",
|
|
87
|
-
"type": "string"
|
|
88
|
-
},
|
|
89
|
-
"path": {
|
|
90
|
-
"description": "Path relative to the industry root (required for read_file, write_file, reset, create_file, create_dir).",
|
|
91
|
-
"type": "string"
|
|
92
|
-
},
|
|
93
|
-
"content": {
|
|
94
|
-
"description": "Text content to write (required for write_file; optional for create_file).",
|
|
95
|
-
"type": "string"
|
|
96
|
-
},
|
|
97
|
-
"from": {
|
|
98
|
-
"description": "Source path relative to the industry root (required for copy/move/rename).",
|
|
99
|
-
"type": "string"
|
|
100
|
-
},
|
|
101
|
-
"to": {
|
|
102
|
-
"description": "Destination path relative to the industry root (required for copy/move/rename).",
|
|
103
|
-
"type": "string"
|
|
104
|
-
},
|
|
105
|
-
"authorize": {
|
|
106
|
-
"description": "EXPLICIT USER AUTHORIZATION (C5) required before any action that MODIFIES a user-editable template file (any path under '<industry>/templates/') — write_file / delete_file / reset / move / rename on such a path, copy ONTO an existing such file, and every repair_builtin_templates execution. WITHOUT this flag the action refuses (or returns a plan-only preview for repair_builtin_templates). Set it ONLY after the user has explicitly confirmed the specific change in the conversation.",
|
|
107
|
-
"type": "boolean"
|
|
108
|
-
},
|
|
109
|
-
"include_user_edited": {
|
|
110
|
-
"description": "Builtin template ids ('<industry>/<variant>') whose USER-EDIT PROTECTION is explicitly lifted for repair_builtin_templates / template_drift (b9-2). A sentinel whose hash no longer binds its body normally locks the file out of the seed-upgrade channel (presumed user edit); pass the ids the user EXPLICITLY approved for reseed after reviewing the field-level diff — e.g. machine-proven provenance rot (stale deployment stamp or an authorized write that updated the body without re-stamping). The list IS the per-file consent: it must ride BOTH the plan-only preview and the authorize=true execute call. Never list an id the user has not personally confirmed.",
|
|
111
|
-
"maxItems": 50,
|
|
112
|
-
"type": "array",
|
|
113
|
-
"items": {
|
|
114
|
-
"type": "string",
|
|
115
|
-
"minLength": 1
|
|
116
|
-
}
|
|
117
|
-
},
|
|
118
|
-
"intent": {
|
|
119
|
-
"description": "Business intent text for recommend_industry (e.g. 'I rent cameras to photographers with deposit and damage inspection'). Falls back to project_description / project_name when omitted.",
|
|
120
|
-
"type": "string",
|
|
121
|
-
"maxLength": 2000
|
|
122
|
-
},
|
|
123
|
-
"strategy": {
|
|
124
|
-
"description": "Persona strategy statement(s) for recommend_industry (e.g. 'push sales volume first' / 'keep gross margin >= 30%'). Bridged into mode ranking: objectives resolve to deterministic infrastructure levers (discount / reward / buy_guard / machine_design) and re-rank the industry recommendations by lever alignment. Pass the persona's strategy[] entries here.",
|
|
125
|
-
"anyOf": [
|
|
126
|
-
{
|
|
127
|
-
"type": "string",
|
|
128
|
-
"maxLength": 2000
|
|
129
|
-
},
|
|
130
|
-
{
|
|
131
|
-
"maxItems": 10,
|
|
132
|
-
"type": "array",
|
|
133
|
-
"items": {
|
|
134
|
-
"type": "string",
|
|
135
|
-
"maxLength": 2000
|
|
136
|
-
}
|
|
137
|
-
}
|
|
138
|
-
]
|
|
139
|
-
},
|
|
140
|
-
"semantic_ir": {
|
|
141
|
-
"description": "Canonical Semantic IR for recommend_industry, produced by the CALLING agent (this server runs no LLM). Use it when the intent is not English, or is phrased outside the English keyword lexicon: translate the business description into this fixed shape and let the server decide. The server validates the IR, merges it with keyword inference (IR evidence wins conflicts, keywords remain the fallback) and echoes the canonical artifact + sha256 digest for freeze/replay. Shape: {schema_version: 2 (1 still accepted), locale: '<BCP-47>', traits: [{trait, value, confidence: 0..1, span?: {start,end}, quote?}], domains: [{domain, confidence?}], claims: [{key, value, confidence?}], discovery: {industry?, tags?: string[], product_ref?, english_summary?, confidence?}, provenance: {source: 'caller_llm', model?, prompt_version?}}. traits vocabulary (10 dimensions): has_logistics, communication_heavy, pure_digital, long_cycle, deposit_required, multi_tier_allocation (boolean); regulatory_intensity, trust_sensitivity (low|medium|high); consumption_frequency (one_time|occasional|frequent); avg_ticket_size (micro|small|medium|large). domains vocabulary: travel_accommodation. claims vocabulary: reward_pool_amount. discovery is the language-neutral business-model layer: tags use the CLOSED vocabulary returned by template_list.discovery_vocabulary (canonical English tokens, never locale words), industry is a registered industry name, product_ref is a benchmark-product slug, and english_summary is a translation aid used only for keyword fallback. An applied discovery.industry ranks that industry with a domain-prior boost. Rules: emit evidence only (no free-form prose), one entry per dimension, copy spans/quotes VERBATIM from the intent (unlocatable evidence is dropped and reported), confidence below 0.5 is recorded but not applied, and unknown traits/domains/tags/industries/product_refs are dropped and reported in semantic_ir_issues.",
|
|
142
|
-
"type": "object",
|
|
143
|
-
"properties": {
|
|
144
|
-
"schema_version": {
|
|
145
|
-
"anyOf": [
|
|
146
|
-
{
|
|
147
|
-
"type": "number",
|
|
148
|
-
"const": 1
|
|
149
|
-
},
|
|
150
|
-
{
|
|
151
|
-
"type": "number",
|
|
152
|
-
"const": 2
|
|
153
|
-
}
|
|
154
|
-
]
|
|
155
|
-
},
|
|
156
|
-
"locale": {
|
|
157
|
-
"type": "string",
|
|
158
|
-
"minLength": 2,
|
|
159
|
-
"maxLength": 35
|
|
160
|
-
},
|
|
161
|
-
"traits": {
|
|
162
|
-
"maxItems": 20,
|
|
163
|
-
"type": "array",
|
|
164
|
-
"items": {
|
|
165
|
-
"type": "object",
|
|
166
|
-
"properties": {
|
|
167
|
-
"trait": {
|
|
168
|
-
"type": "string",
|
|
169
|
-
"maxLength": 64
|
|
170
|
-
},
|
|
171
|
-
"value": {
|
|
172
|
-
"anyOf": [
|
|
173
|
-
{
|
|
174
|
-
"type": "boolean"
|
|
175
|
-
},
|
|
176
|
-
{
|
|
177
|
-
"type": "string",
|
|
178
|
-
"maxLength": 32
|
|
179
|
-
}
|
|
180
|
-
]
|
|
181
|
-
},
|
|
182
|
-
"confidence": {
|
|
183
|
-
"type": "number"
|
|
184
|
-
},
|
|
185
|
-
"span": {
|
|
186
|
-
"type": "object",
|
|
187
|
-
"properties": {
|
|
188
|
-
"start": {
|
|
189
|
-
"type": "integer",
|
|
190
|
-
"minimum": 0,
|
|
191
|
-
"maximum": 9007199254740991
|
|
192
|
-
},
|
|
193
|
-
"end": {
|
|
194
|
-
"type": "integer",
|
|
195
|
-
"minimum": 0,
|
|
196
|
-
"maximum": 9007199254740991
|
|
197
|
-
}
|
|
198
|
-
},
|
|
199
|
-
"required": [
|
|
200
|
-
"start",
|
|
201
|
-
"end"
|
|
202
|
-
],
|
|
203
|
-
"additionalProperties": false
|
|
204
|
-
},
|
|
205
|
-
"quote": {
|
|
206
|
-
"type": "string",
|
|
207
|
-
"maxLength": 300
|
|
208
|
-
}
|
|
209
|
-
},
|
|
210
|
-
"required": [
|
|
211
|
-
"trait",
|
|
212
|
-
"value",
|
|
213
|
-
"confidence"
|
|
214
|
-
],
|
|
215
|
-
"additionalProperties": false
|
|
216
|
-
}
|
|
217
|
-
},
|
|
218
|
-
"domains": {
|
|
219
|
-
"maxItems": 10,
|
|
220
|
-
"type": "array",
|
|
221
|
-
"items": {
|
|
222
|
-
"type": "object",
|
|
223
|
-
"properties": {
|
|
224
|
-
"domain": {
|
|
225
|
-
"type": "string",
|
|
226
|
-
"maxLength": 64
|
|
227
|
-
},
|
|
228
|
-
"confidence": {
|
|
229
|
-
"type": "number"
|
|
230
|
-
},
|
|
231
|
-
"span": {
|
|
232
|
-
"type": "object",
|
|
233
|
-
"properties": {
|
|
234
|
-
"start": {
|
|
235
|
-
"type": "integer",
|
|
236
|
-
"minimum": 0,
|
|
237
|
-
"maximum": 9007199254740991
|
|
238
|
-
},
|
|
239
|
-
"end": {
|
|
240
|
-
"type": "integer",
|
|
241
|
-
"minimum": 0,
|
|
242
|
-
"maximum": 9007199254740991
|
|
243
|
-
}
|
|
244
|
-
},
|
|
245
|
-
"required": [
|
|
246
|
-
"start",
|
|
247
|
-
"end"
|
|
248
|
-
],
|
|
249
|
-
"additionalProperties": false
|
|
250
|
-
},
|
|
251
|
-
"quote": {
|
|
252
|
-
"type": "string",
|
|
253
|
-
"maxLength": 300
|
|
254
|
-
}
|
|
255
|
-
},
|
|
256
|
-
"required": [
|
|
257
|
-
"domain"
|
|
258
|
-
],
|
|
259
|
-
"additionalProperties": false
|
|
260
|
-
}
|
|
261
|
-
},
|
|
262
|
-
"claims": {
|
|
263
|
-
"maxItems": 10,
|
|
264
|
-
"type": "array",
|
|
265
|
-
"items": {
|
|
266
|
-
"type": "object",
|
|
267
|
-
"properties": {
|
|
268
|
-
"key": {
|
|
269
|
-
"type": "string",
|
|
270
|
-
"maxLength": 64
|
|
271
|
-
},
|
|
272
|
-
"value": {
|
|
273
|
-
"type": "number"
|
|
274
|
-
},
|
|
275
|
-
"confidence": {
|
|
276
|
-
"type": "number"
|
|
277
|
-
},
|
|
278
|
-
"span": {
|
|
279
|
-
"type": "object",
|
|
280
|
-
"properties": {
|
|
281
|
-
"start": {
|
|
282
|
-
"type": "integer",
|
|
283
|
-
"minimum": 0,
|
|
284
|
-
"maximum": 9007199254740991
|
|
285
|
-
},
|
|
286
|
-
"end": {
|
|
287
|
-
"type": "integer",
|
|
288
|
-
"minimum": 0,
|
|
289
|
-
"maximum": 9007199254740991
|
|
290
|
-
}
|
|
291
|
-
},
|
|
292
|
-
"required": [
|
|
293
|
-
"start",
|
|
294
|
-
"end"
|
|
295
|
-
],
|
|
296
|
-
"additionalProperties": false
|
|
297
|
-
},
|
|
298
|
-
"quote": {
|
|
299
|
-
"type": "string",
|
|
300
|
-
"maxLength": 300
|
|
301
|
-
}
|
|
302
|
-
},
|
|
303
|
-
"required": [
|
|
304
|
-
"key",
|
|
305
|
-
"value"
|
|
306
|
-
],
|
|
307
|
-
"additionalProperties": false
|
|
308
|
-
}
|
|
309
|
-
},
|
|
310
|
-
"discovery": {
|
|
311
|
-
"type": "object",
|
|
312
|
-
"properties": {
|
|
313
|
-
"industry": {
|
|
314
|
-
"type": "string",
|
|
315
|
-
"maxLength": 64
|
|
316
|
-
},
|
|
317
|
-
"tags": {
|
|
318
|
-
"maxItems": 20,
|
|
319
|
-
"type": "array",
|
|
320
|
-
"items": {
|
|
321
|
-
"type": "string",
|
|
322
|
-
"maxLength": 64
|
|
323
|
-
}
|
|
324
|
-
},
|
|
325
|
-
"product_ref": {
|
|
326
|
-
"type": "string",
|
|
327
|
-
"maxLength": 64
|
|
328
|
-
},
|
|
329
|
-
"english_summary": {
|
|
330
|
-
"type": "string",
|
|
331
|
-
"maxLength": 600
|
|
332
|
-
},
|
|
333
|
-
"confidence": {
|
|
334
|
-
"type": "number"
|
|
335
|
-
}
|
|
336
|
-
},
|
|
337
|
-
"additionalProperties": false
|
|
338
|
-
},
|
|
339
|
-
"provenance": {
|
|
340
|
-
"type": "object",
|
|
341
|
-
"properties": {
|
|
342
|
-
"source": {
|
|
343
|
-
"type": "string",
|
|
344
|
-
"enum": [
|
|
345
|
-
"caller_llm",
|
|
346
|
-
"human"
|
|
347
|
-
]
|
|
348
|
-
},
|
|
349
|
-
"model": {
|
|
350
|
-
"type": "string",
|
|
351
|
-
"maxLength": 120
|
|
352
|
-
},
|
|
353
|
-
"prompt_version": {
|
|
354
|
-
"type": "string",
|
|
355
|
-
"maxLength": 60
|
|
356
|
-
},
|
|
357
|
-
"generated_at": {
|
|
358
|
-
"type": "integer",
|
|
359
|
-
"minimum": 0,
|
|
360
|
-
"maximum": 9007199254740991
|
|
361
|
-
}
|
|
362
|
-
},
|
|
363
|
-
"required": [
|
|
364
|
-
"source"
|
|
365
|
-
],
|
|
366
|
-
"additionalProperties": false
|
|
367
|
-
}
|
|
368
|
-
},
|
|
369
|
-
"required": [
|
|
370
|
-
"schema_version",
|
|
371
|
-
"locale",
|
|
372
|
-
"provenance"
|
|
373
|
-
],
|
|
374
|
-
"additionalProperties": false
|
|
375
|
-
},
|
|
376
|
-
"mode_source": {
|
|
377
|
-
"description": "Source builtin mode name for derive_user_mode (e.g. 'freelance'). Call list_modes to see available modes.",
|
|
378
|
-
"type": "string"
|
|
379
|
-
},
|
|
380
|
-
"mode_name": {
|
|
381
|
-
"description": "Mode name for derive_user_mode (new mode name), evolve_user_mode / unregister_user_mode (existing custom mode), register_user_mode (new mode name). Must NOT conflict with builtin mode names.",
|
|
382
|
-
"type": "string",
|
|
383
|
-
"maxLength": 100
|
|
384
|
-
},
|
|
385
|
-
"mode_display_name": {
|
|
386
|
-
"description": "Display name for derive_user_mode / register_user_mode. Defaults to mode_name.",
|
|
387
|
-
"type": "string",
|
|
388
|
-
"maxLength": 200
|
|
389
|
-
},
|
|
390
|
-
"mode_changes": {
|
|
391
|
-
"description": "Mode field overrides for derive_user_mode / evolve_user_mode / register_user_mode. For register_user_mode, REQUIRED fields: machine_shape (non-empty array of {name, role}) and key_risk (string). Common overrides: machine_shape (array of {name:string, role:string}), config_overrides (per-object config), allocator, guards, build_notes, risk_appetite. R-M1-11 ENFORCED: machine_shape node names must NOT contain dispute/refund/arb terms.",
|
|
392
|
-
"type": "object",
|
|
393
|
-
"propertyNames": {
|
|
394
|
-
"type": "string"
|
|
395
|
-
},
|
|
396
|
-
"additionalProperties": {}
|
|
397
|
-
},
|
|
398
|
-
"mode_change_description": {
|
|
399
|
-
"description": "Change description for evolve_user_mode (recorded in evolution history).",
|
|
400
|
-
"type": "string",
|
|
401
|
-
"maxLength": 500
|
|
402
|
-
},
|
|
403
|
-
"mode_bump_version": {
|
|
404
|
-
"description": "Whether evolve_user_mode bumps the patch version (default true: v1.0 → v1.1).",
|
|
405
|
-
"type": "boolean"
|
|
406
|
-
},
|
|
407
|
-
"metric_id": {
|
|
408
|
-
"description": "Unique metric ID for register_custom_metric (e.g. 'seasonality_risk').",
|
|
409
|
-
"type": "string",
|
|
410
|
-
"maxLength": 100
|
|
411
|
-
},
|
|
412
|
-
"metric_display_name": {
|
|
413
|
-
"description": "Display name for register_custom_metric.",
|
|
414
|
-
"type": "string",
|
|
415
|
-
"maxLength": 200
|
|
416
|
-
},
|
|
417
|
-
"metric_description": {
|
|
418
|
-
"description": "Description for register_custom_metric.",
|
|
419
|
-
"type": "string",
|
|
420
|
-
"maxLength": 1000
|
|
421
|
-
},
|
|
422
|
-
"metric_type": {
|
|
423
|
-
"description": "Metric type for register_custom_metric: 'risk' (negative) or 'benefit' (positive).",
|
|
424
|
-
"type": "string",
|
|
425
|
-
"enum": [
|
|
426
|
-
"risk",
|
|
427
|
-
"benefit"
|
|
428
|
-
]
|
|
429
|
-
},
|
|
430
|
-
"metric_scale": {
|
|
431
|
-
"description": "Metric scale for register_custom_metric: 'level' (high/medium/low), 'numeric', or 'percentage'.",
|
|
432
|
-
"type": "string",
|
|
433
|
-
"enum": [
|
|
434
|
-
"level",
|
|
435
|
-
"numeric",
|
|
436
|
-
"percentage"
|
|
437
|
-
]
|
|
438
|
-
},
|
|
439
|
-
"metric_weight": {
|
|
440
|
-
"description": "Metric weight for register_custom_metric (default 1.0).",
|
|
441
|
-
"type": "number",
|
|
442
|
-
"minimum": 0,
|
|
443
|
-
"maximum": 10
|
|
444
|
-
},
|
|
445
|
-
"constraint_id": {
|
|
446
|
-
"description": "Unique constraint ID for register_custom_constraint.",
|
|
447
|
-
"type": "string",
|
|
448
|
-
"maxLength": 100
|
|
449
|
-
},
|
|
450
|
-
"constraint_display_name": {
|
|
451
|
-
"description": "Display name for register_custom_constraint.",
|
|
452
|
-
"type": "string",
|
|
453
|
-
"maxLength": 200
|
|
454
|
-
},
|
|
455
|
-
"constraint_description": {
|
|
456
|
-
"description": "Description for register_custom_constraint.",
|
|
457
|
-
"type": "string",
|
|
458
|
-
"maxLength": 1000
|
|
459
|
-
},
|
|
460
|
-
"constraint_rule": {
|
|
461
|
-
"description": "Constraint rule for register_custom_constraint. 4 types: capability_required/capability_forbidden (capability_id), numeric_limit (field + max/min), condition_required (natural-language condition, AI-evaluated).",
|
|
462
|
-
"oneOf": [
|
|
463
|
-
{
|
|
464
|
-
"type": "object",
|
|
465
|
-
"properties": {
|
|
466
|
-
"type": {
|
|
467
|
-
"type": "string",
|
|
468
|
-
"const": "capability_required"
|
|
469
|
-
},
|
|
470
|
-
"capability_id": {
|
|
471
|
-
"type": "string"
|
|
472
|
-
}
|
|
473
|
-
},
|
|
474
|
-
"required": [
|
|
475
|
-
"type",
|
|
476
|
-
"capability_id"
|
|
477
|
-
],
|
|
478
|
-
"additionalProperties": false
|
|
479
|
-
},
|
|
480
|
-
{
|
|
481
|
-
"type": "object",
|
|
482
|
-
"properties": {
|
|
483
|
-
"type": {
|
|
484
|
-
"type": "string",
|
|
485
|
-
"const": "capability_forbidden"
|
|
486
|
-
},
|
|
487
|
-
"capability_id": {
|
|
488
|
-
"type": "string"
|
|
489
|
-
}
|
|
490
|
-
},
|
|
491
|
-
"required": [
|
|
492
|
-
"type",
|
|
493
|
-
"capability_id"
|
|
494
|
-
],
|
|
495
|
-
"additionalProperties": false
|
|
496
|
-
},
|
|
497
|
-
{
|
|
498
|
-
"type": "object",
|
|
499
|
-
"properties": {
|
|
500
|
-
"type": {
|
|
501
|
-
"type": "string",
|
|
502
|
-
"const": "numeric_limit"
|
|
503
|
-
},
|
|
504
|
-
"field": {
|
|
505
|
-
"type": "string"
|
|
506
|
-
},
|
|
507
|
-
"max": {
|
|
508
|
-
"type": "number"
|
|
509
|
-
},
|
|
510
|
-
"min": {
|
|
511
|
-
"type": "number"
|
|
512
|
-
}
|
|
513
|
-
},
|
|
514
|
-
"required": [
|
|
515
|
-
"type",
|
|
516
|
-
"field"
|
|
517
|
-
],
|
|
518
|
-
"additionalProperties": false
|
|
519
|
-
},
|
|
520
|
-
{
|
|
521
|
-
"type": "object",
|
|
522
|
-
"properties": {
|
|
523
|
-
"type": {
|
|
524
|
-
"type": "string",
|
|
525
|
-
"const": "condition_required"
|
|
526
|
-
},
|
|
527
|
-
"condition": {
|
|
528
|
-
"type": "string"
|
|
529
|
-
},
|
|
530
|
-
"ai_evaluated": {
|
|
531
|
-
"type": "boolean",
|
|
532
|
-
"const": true
|
|
533
|
-
}
|
|
534
|
-
},
|
|
535
|
-
"required": [
|
|
536
|
-
"type",
|
|
537
|
-
"condition",
|
|
538
|
-
"ai_evaluated"
|
|
539
|
-
],
|
|
540
|
-
"additionalProperties": false
|
|
541
|
-
}
|
|
542
|
-
]
|
|
543
|
-
},
|
|
544
|
-
"constraint_severity": {
|
|
545
|
-
"description": "Constraint severity for register_custom_constraint: 'hard' blocks applyTemplate on violation; 'soft' only warns (default 'soft').",
|
|
546
|
-
"type": "string",
|
|
547
|
-
"enum": [
|
|
548
|
-
"hard",
|
|
549
|
-
"soft"
|
|
550
|
-
]
|
|
551
|
-
},
|
|
552
|
-
"constraint_on_violation": {
|
|
553
|
-
"description": "Violation action for register_custom_constraint (default 'warn').",
|
|
554
|
-
"type": "string",
|
|
555
|
-
"enum": [
|
|
556
|
-
"block",
|
|
557
|
-
"warn",
|
|
558
|
-
"log"
|
|
559
|
-
]
|
|
560
|
-
},
|
|
561
|
-
"metric_type_filter": {
|
|
562
|
-
"description": "Filter list_metrics_constraints by metric type.",
|
|
563
|
-
"type": "string",
|
|
564
|
-
"enum": [
|
|
565
|
-
"risk",
|
|
566
|
-
"benefit"
|
|
567
|
-
]
|
|
568
|
-
},
|
|
569
|
-
"scope_filter": {
|
|
570
|
-
"description": "Filter list_metrics_constraints by scope (builtin or custom).",
|
|
571
|
-
"type": "string",
|
|
572
|
-
"enum": [
|
|
573
|
-
"builtin",
|
|
574
|
-
"custom"
|
|
575
|
-
]
|
|
576
|
-
}
|
|
577
|
-
},
|
|
578
|
-
"required": [
|
|
579
|
-
"action"
|
|
580
|
-
],
|
|
581
|
-
"additionalProperties": false
|
|
582
|
-
}
|
|
1
|
+
{"$schema":"http://json-schema.org/draft-07/schema#","$id":"https://wowok.net/schemas/industry_pack_operation.json","title":"Industry Pack - Knowledge Template Orchestration","description":"Manage industry knowledge packs (distributable, registrable, versionable units carrying one industry's object-shape, matching rules, and role personae). Actions: scaffold (generate template skeleton), list (registered packs), scan (default directory).","type":"object","properties":{"action":{"type":"string","enum":["scaffold","list","scan","repair_builtin_templates","template_drift","resolve","list_files","read_file","write_file","get","capability_list","capability_get","compose_probe","product_cards","product_card","diff","reset","delete_file","create_file","create_dir","copy","move","rename","recommend_industry","list_modes","derive_user_mode","evolve_user_mode","register_user_mode","unregister_user_mode","register_custom_metric","unregister_custom_metric","register_custom_constraint","unregister_custom_constraint","list_metrics_constraints"],"description":"Action: 'scaffold' = generate a pack template skeleton (requires name); 'list' = list registered packs; 'scan' = scan + register packs under the default directory; 'template_drift' = REPORT builtin template files whose on-disk body differs from the in-code catalog (classifies no_sentinel_legacy / stale_release / user_modified); run it FIRST when a template change 'seems to have no effect. 'repair_builtin_templates' = RESEED those legacy files from the in-code catalog (identity-gated on a known builtin id, previous body kept in the hidden templates/.archive/ dir; custom templates never touched)'resolve' = return the industry root directory; 'list_files' = list files under the industry directory; 'read_file' = read a file under the industry directory (path required); 'write_file' = write content to a file under the industry directory (path + content required); 'get' = return registered layer data for an industry (name required; mode/dispute/compliance/supply/rules/playbook; an optional 'layer' selector returns ONE layer and refuses by name when the pack does not register it — layer='template' reads the builtin catalog template data instead of pack layers, with 'template' id optional to list the industry's templates); 'capability_list' = list the Capability Lattice registry (composable business units; optional 'group' filter); 'capability_get' = full card of ONE capability id (intent/binds/requires/excludes/risks/disclosures/cost/constraints); 'compose_probe' = probe whether a capability selection can coexist in one build — static lattice check + optional base-template compile baseline (capabilities[] required; optional 'template' as the base build); 'product_cards' = FRONT-stage ProductCard summaries for the catalog or one industry (optional 'name'); 'product_card' = the full ProductCard of ONE builtin template (template id required) — alignment/features/cost/params/risks, every assertion projected from declared data; 'diff' = compare registered vs on-disk manifest version/layers (name required); 'reset' = restore a file or entire pack folder to its pristine annotated template (path required). 'delete_file' = delete a file or directory (path required). 'create_file' = create an empty file (path required; content optional). 'create_dir' = create a directory recursively (path required). 'copy' = copy a file or directory (from + to required). 'move' / 'rename' = move or rename a file or directory (from + to required). Mode registry (industry/scenario configuration): 'recommend_industry' = business intent → top-3 similar industries + reference examples; 'list_modes' = builtin + custom modes; 'derive_user_mode' = derive a custom mode from a builtin; 'evolve_user_mode' = iterate an existing custom mode; 'register_user_mode' = register a fully custom mode; 'unregister_user_mode' = delete a custom mode; 'register_custom_metric' / 'register_custom_constraint' = register global evaluation metric/constraint; 'list_metrics_constraints' = list metrics + constraints (filterable)."},"name":{"description":"Industry name (lowercase snake_case, e.g. 'life_service'); required for scaffold and get.","type":"string"},"layer":{"description":"Optional single-layer selector for action='get'. Non-template values return ONLY that registered pack layer and refuse with a named error when the pack does not register it (stub packs carry only mode/match). 'template' reads the builtin catalog: with 'template' set, one full template projection; without it, the industry's template summaries. 'params' is the merchant-facing settings surface: with 'template' set, every declared parameter of that template in business order (meaning, unit, default, accepted values, proven status, landing, editable); without a template id it requires 'query' and searches the catalog for the business facet. 'components' is the companion object surface: every Service/Sale/allocator/allocation/machine/guard/repository component with what it is, HOW to configure it (surface + field path) and WHEN, the effect once it takes effect, and the objects it is bound to — a component that cannot be configured states why (e.g. a money split hard-coded in the template body).","type":"string","enum":["mode","match","dispute","compliance","supply","rules","playbook","template","params","components"]},"query":{"description":"Free-text business phrase (e.g. 'settlement window', 'take rate', 'cancel fee', 'allocator split', 'repository policy') used with action='get' + layer='params' or layer='components' to RANK that plane. A phrase that names nothing returns an empty match list — never the least-bad row.","type":"string"},"template":{"description":"Builtin template id '<industry>/<variant>' (e.g. 'rental/p2p-shortstay'); used with action='get' + layer='template' / 'params' / 'components', and with action='compose_probe' as the base build the capability selection is probed against.","type":"string"},"capabilities":{"description":"Capability ids (from capability_list) — required for action='compose_probe' (the selection to probe; 1..12 ids), echoed by capability_get.","maxItems":12,"type":"array","items":{"type":"string","minLength":1}},"group":{"description":"Capability group filter for action='capability_list': fund_safety / trust_evidence / fulfillment / promotion / governance / composition.","type":"string"},"path":{"description":"Path relative to the industry root (required for read_file, write_file, reset, create_file, create_dir).","type":"string"},"content":{"description":"Text content to write (required for write_file; optional for create_file).","type":"string"},"from":{"description":"Source path relative to the industry root (required for copy/move/rename).","type":"string"},"to":{"description":"Destination path relative to the industry root (required for copy/move/rename).","type":"string"},"authorize":{"description":"EXPLICIT USER AUTHORIZATION (C5) required before any action that MODIFIES a user-editable template file (any path under '<industry>/templates/') — write_file / delete_file / reset / move / rename on such a path, copy ONTO an existing such file, and every repair_builtin_templates execution. WITHOUT this flag the action refuses (or returns a plan-only preview for repair_builtin_templates). Set it ONLY after the user has explicitly confirmed the specific change in the conversation.","type":"boolean"},"include_user_edited":{"description":"Builtin template ids ('<industry>/<variant>') whose USER-EDIT PROTECTION is explicitly lifted for repair_builtin_templates / template_drift (b9-2). A sentinel whose hash no longer binds its body normally locks the file out of the seed-upgrade channel (presumed user edit); pass the ids the user EXPLICITLY approved for reseed after reviewing the field-level diff — e.g. machine-proven provenance rot (stale deployment stamp or an authorized write that updated the body without re-stamping). The list IS the per-file consent: it must ride BOTH the plan-only preview and the authorize=true execute call. Never list an id the user has not personally confirmed.","maxItems":50,"type":"array","items":{"type":"string","minLength":1}},"intent":{"description":"Business intent text for recommend_industry (e.g. 'I rent cameras to photographers with deposit and damage inspection'). Falls back to project_description / project_name when omitted.","type":"string","maxLength":2000},"strategy":{"description":"Persona strategy statement(s) for recommend_industry (e.g. 'push sales volume first' / 'keep gross margin >= 30%'). Bridged into mode ranking: objectives resolve to deterministic infrastructure levers (discount / reward / buy_guard / machine_design) and re-rank the industry recommendations by lever alignment. Pass the persona's strategy[] entries here.","anyOf":[{"type":"string","maxLength":2000},{"maxItems":10,"type":"array","items":{"type":"string","maxLength":2000}}]},"semantic_ir":{"description":"Canonical Semantic IR for recommend_industry, produced by the CALLING agent (this server runs no LLM). Use it when the intent is not English, or is phrased outside the English keyword lexicon: translate the business description into this fixed shape and let the server decide. The server validates the IR, merges it with keyword inference (IR evidence wins conflicts, keywords remain the fallback) and echoes the canonical artifact + sha256 digest for freeze/replay. Shape: {schema_version: 2 (1 still accepted), locale: '<BCP-47>', traits: [{trait, value, confidence: 0..1, span?: {start,end}, quote?}], domains: [{domain, confidence?}], claims: [{key, value, confidence?}], discovery: {industry?, tags?: string[], product_ref?, english_summary?, confidence?}, provenance: {source: 'caller_llm', model?, prompt_version?}}. traits vocabulary (10 dimensions): has_logistics, communication_heavy, pure_digital, long_cycle, deposit_required, multi_tier_allocation (boolean); regulatory_intensity, trust_sensitivity (low|medium|high); consumption_frequency (one_time|occasional|frequent); avg_ticket_size (micro|small|medium|large). domains vocabulary: travel_accommodation. claims vocabulary: reward_pool_amount. discovery is the language-neutral business-model layer: tags use the CLOSED vocabulary returned by template_list.discovery_vocabulary (canonical English tokens, never locale words), industry is a registered industry name, product_ref is a benchmark-product slug, and english_summary is a translation aid used only for keyword fallback. An applied discovery.industry ranks that industry with a domain-prior boost. Rules: emit evidence only (no free-form prose), one entry per dimension, copy spans/quotes VERBATIM from the intent (unlocatable evidence is dropped and reported), confidence below 0.5 is recorded but not applied, and unknown traits/domains/tags/industries/product_refs are dropped and reported in semantic_ir_issues.","type":"object","properties":{"schema_version":{"anyOf":[{"type":"number","const":1},{"type":"number","const":2}]},"locale":{"type":"string","minLength":2,"maxLength":35},"traits":{"maxItems":20,"type":"array","items":{"type":"object","properties":{"trait":{"type":"string","maxLength":64},"value":{"anyOf":[{"type":"boolean"},{"type":"string","maxLength":32}]},"confidence":{"type":"number"},"span":{"type":"object","properties":{"start":{"type":"integer","minimum":0,"maximum":9007199254740991},"end":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["start","end"],"additionalProperties":false},"quote":{"type":"string","maxLength":300}},"required":["trait","value","confidence"],"additionalProperties":false}},"domains":{"maxItems":10,"type":"array","items":{"type":"object","properties":{"domain":{"type":"string","maxLength":64},"confidence":{"type":"number"},"span":{"type":"object","properties":{"start":{"type":"integer","minimum":0,"maximum":9007199254740991},"end":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["start","end"],"additionalProperties":false},"quote":{"type":"string","maxLength":300}},"required":["domain"],"additionalProperties":false}},"claims":{"maxItems":10,"type":"array","items":{"type":"object","properties":{"key":{"type":"string","maxLength":64},"value":{"type":"number"},"confidence":{"type":"number"},"span":{"type":"object","properties":{"start":{"type":"integer","minimum":0,"maximum":9007199254740991},"end":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["start","end"],"additionalProperties":false},"quote":{"type":"string","maxLength":300}},"required":["key","value"],"additionalProperties":false}},"discovery":{"type":"object","properties":{"industry":{"type":"string","maxLength":64},"tags":{"maxItems":20,"type":"array","items":{"type":"string","maxLength":64}},"product_ref":{"type":"string","maxLength":64},"english_summary":{"type":"string","maxLength":600},"confidence":{"type":"number"}},"additionalProperties":false},"provenance":{"type":"object","properties":{"source":{"type":"string","enum":["caller_llm","human"]},"model":{"type":"string","maxLength":120},"prompt_version":{"type":"string","maxLength":60},"generated_at":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["source"],"additionalProperties":false}},"required":["schema_version","locale","provenance"],"additionalProperties":false},"mode_source":{"description":"Source builtin mode name for derive_user_mode (e.g. 'freelance'). Call list_modes to see available modes.","type":"string"},"mode_name":{"description":"Mode name for derive_user_mode (new mode name), evolve_user_mode / unregister_user_mode (existing custom mode), register_user_mode (new mode name). Must NOT conflict with builtin mode names.","type":"string","maxLength":100},"mode_display_name":{"description":"Display name for derive_user_mode / register_user_mode. Defaults to mode_name.","type":"string","maxLength":200},"mode_changes":{"description":"Mode field overrides for derive_user_mode / evolve_user_mode / register_user_mode. For register_user_mode, REQUIRED fields: machine_shape (non-empty array of {name, role}) and key_risk (string). Common overrides: machine_shape (array of {name:string, role:string}), config_overrides (per-object config), allocator, guards, build_notes, risk_appetite. R-M1-11 ENFORCED: machine_shape node names must NOT contain dispute/refund/arb terms.","type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"mode_change_description":{"description":"Change description for evolve_user_mode (recorded in evolution history).","type":"string","maxLength":500},"mode_bump_version":{"description":"Whether evolve_user_mode bumps the patch version (default true: v1.0 → v1.1).","type":"boolean"},"metric_id":{"description":"Unique metric ID for register_custom_metric (e.g. 'seasonality_risk').","type":"string","maxLength":100},"metric_display_name":{"description":"Display name for register_custom_metric.","type":"string","maxLength":200},"metric_description":{"description":"Description for register_custom_metric.","type":"string","maxLength":1000},"metric_type":{"description":"Metric type for register_custom_metric: 'risk' (negative) or 'benefit' (positive).","type":"string","enum":["risk","benefit"]},"metric_scale":{"description":"Metric scale for register_custom_metric: 'level' (high/medium/low), 'numeric', or 'percentage'.","type":"string","enum":["level","numeric","percentage"]},"metric_weight":{"description":"Metric weight for register_custom_metric (default 1.0).","type":"number","minimum":0,"maximum":10},"constraint_id":{"description":"Unique constraint ID for register_custom_constraint.","type":"string","maxLength":100},"constraint_display_name":{"description":"Display name for register_custom_constraint.","type":"string","maxLength":200},"constraint_description":{"description":"Description for register_custom_constraint.","type":"string","maxLength":1000},"constraint_rule":{"description":"Constraint rule for register_custom_constraint. 4 types: capability_required/capability_forbidden (capability_id), numeric_limit (field + max/min), condition_required (natural-language condition, AI-evaluated).","oneOf":[{"type":"object","properties":{"type":{"type":"string","const":"capability_required"},"capability_id":{"type":"string"}},"required":["type","capability_id"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"capability_forbidden"},"capability_id":{"type":"string"}},"required":["type","capability_id"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"numeric_limit"},"field":{"type":"string"},"max":{"type":"number"},"min":{"type":"number"}},"required":["type","field"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"condition_required"},"condition":{"type":"string"},"ai_evaluated":{"type":"boolean","const":true}},"required":["type","condition","ai_evaluated"],"additionalProperties":false}]},"constraint_severity":{"description":"Constraint severity for register_custom_constraint: 'hard' blocks applyTemplate on violation; 'soft' only warns (default 'soft').","type":"string","enum":["hard","soft"]},"constraint_on_violation":{"description":"Violation action for register_custom_constraint (default 'warn').","type":"string","enum":["block","warn","log"]},"metric_type_filter":{"description":"Filter list_metrics_constraints by metric type.","type":"string","enum":["risk","benefit"]},"scope_filter":{"description":"Filter list_metrics_constraints by scope (builtin or custom).","type":"string","enum":["builtin","custom"]}},"required":["action"],"additionalProperties":false}
|