@wowok/agent-mcp 3.3.9 → 3.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +8 -0
- package/dist/chain-semantics/composition-truth.d.ts +102 -0
- package/dist/chain-semantics/composition-truth.js +1 -0
- package/dist/chain-semantics/eval-order.js +1 -1
- package/dist/chain-semantics/field-capability.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/guard-verbs.js +1 -1
- package/dist/chain-semantics/index.d.ts +1 -0
- package/dist/chain-semantics/index.js +1 -1
- package/dist/chain-semantics/object-graph.js +1 -1
- package/dist/composition/audit.js +1 -1
- package/dist/composition/blueprint-view.d.ts +3 -3
- package/dist/composition/blueprint-view.js +1 -1
- package/dist/composition/compile.d.ts +26 -4
- package/dist/composition/compile.js +1 -1
- package/dist/composition/emit-phases.d.ts +206 -0
- package/dist/composition/emit-phases.js +1 -0
- package/dist/composition/generate.d.ts +40 -0
- package/dist/composition/generate.js +1 -0
- package/dist/composition/guard-fill.d.ts +44 -0
- package/dist/composition/guard-fill.js +1 -0
- package/dist/composition/inflight.d.ts +26 -2
- package/dist/composition/inflight.js +1 -1
- package/dist/composition/input-normalize.d.ts +15 -0
- package/dist/composition/input-normalize.js +1 -0
- package/dist/composition/materialize.d.ts +22 -13
- package/dist/composition/materialize.js +1 -1
- package/dist/composition/mode-gates.d.ts +35 -0
- package/dist/composition/mode-gates.js +1 -0
- package/dist/composition/param-disclosure.d.ts +61 -0
- package/dist/composition/param-disclosure.js +1 -0
- package/dist/composition/plan-retry-ledger.d.ts +21 -0
- package/dist/composition/plan-retry-ledger.js +1 -0
- package/dist/composition/plan.d.ts +17 -2
- package/dist/composition/plan.js +1 -1
- package/dist/composition/product-card.d.ts +94 -0
- package/dist/composition/product-card.js +1 -0
- package/dist/composition/supply-chain-emit.d.ts +46 -0
- package/dist/composition/supply-chain-emit.js +1 -0
- package/dist/config/config-audit.spec.js +1 -1
- package/dist/config/config-warnings.d.ts +2 -0
- package/dist/config/config-warnings.js +1 -0
- package/dist/config/exposure.d.ts +2 -2
- package/dist/config/judgment.d.ts +31 -5
- package/dist/config/judgment.js +1 -1
- package/dist/config/judgment.spec.js +1 -1
- package/dist/config/match-policy-file.d.ts +34 -0
- package/dist/config/match-policy-file.js +1 -0
- package/dist/config/match-policy-file.spec.d.ts +1 -0
- package/dist/config/match-policy-file.spec.js +1 -0
- package/dist/config/rule-engine.d.ts +5 -5
- package/dist/config/rule-engine.js +1 -1
- package/dist/config/runtime.d.ts +0 -1
- package/dist/config/runtime.js +1 -1
- package/dist/config/severity.d.ts +0 -2
- package/dist/config/severity.js +1 -1
- package/dist/config/store-policy.spec.js +1 -1
- package/dist/config/template-params.d.ts +42 -0
- package/dist/config/template-params.js +1 -0
- package/dist/config/template-params.spec.d.ts +1 -0
- package/dist/config/template-params.spec.js +1 -0
- package/dist/customer/account-events.js +1 -1
- package/dist/data/api/api.spec.js +1 -1
- package/dist/data/api/cli.js +1 -1
- package/dist/data/api/server.d.ts +1 -0
- package/dist/data/api/server.js +1 -1
- package/dist/data/projection/store.d.ts +3 -1
- package/dist/data/projection/store.js +1 -1
- package/dist/data/projection/types.d.ts +32 -0
- package/dist/data/sync/cdc.d.ts +1 -2
- package/dist/data/sync/cdc.js +1 -1
- package/dist/data/sync/cdc.spec.js +1 -1
- package/dist/data/sync/store.d.ts +5 -0
- package/dist/data/sync/store.js +1 -1
- package/dist/data/sync/types.d.ts +2 -0
- package/dist/evaluation/acceptance.d.ts +8 -0
- package/dist/evaluation/acceptance.js +1 -1
- package/dist/evaluation/builtins/demand-match.js +1 -1
- package/dist/evaluation/builtins/graph-service.spec.js +1 -1
- package/dist/evaluation/capability.d.ts +2 -0
- package/dist/evaluation/category-match-rules.d.ts +0 -1
- package/dist/evaluation/category-match-rules.js +1 -1
- package/dist/evaluation/composer.d.ts +25 -0
- package/dist/evaluation/composer.js +1 -1
- package/dist/evaluation/engine.js +1 -1
- package/dist/evaluation/extract.d.ts +7 -0
- package/dist/evaluation/extract.js +1 -1
- package/dist/evaluation/game-strategy.d.ts +0 -3
- package/dist/evaluation/game-strategy.js +1 -1
- package/dist/evaluation/guard-scan.js +1 -1
- package/dist/evaluation/match-operation.d.ts +9 -0
- package/dist/evaluation/match-operation.js +1 -1
- package/dist/evaluation/match-policy-resolver.d.ts +9 -0
- package/dist/evaluation/match-policy-resolver.js +1 -0
- package/dist/evaluation/match-policy.d.ts +3 -1
- package/dist/evaluation/match-policy.js +1 -1
- package/dist/evaluation/region.d.ts +0 -6
- package/dist/evaluation/region.js +1 -1
- package/dist/evaluation/standards.d.ts +2 -1
- package/dist/evaluation/standards.js +1 -1
- package/dist/evaluation/structured-lines.d.ts +8 -0
- package/dist/evaluation/structured-lines.js +1 -0
- package/dist/evaluation/types.d.ts +6 -0
- package/dist/experience/realtime-feedback.js +1 -1
- package/dist/extensions/capability-manifest.d.ts +1 -0
- package/dist/extensions/capability-manifest.js +1 -1
- package/dist/extensions/capability.d.ts +91 -0
- package/dist/extensions/capability.js +1 -0
- package/dist/extensions/industry-audit.spec.js +1 -1
- package/dist/extensions/industry-pack.d.ts +13 -0
- package/dist/extensions/industry-pack.js +1 -1
- package/dist/extensions/modes.js +1 -1
- package/dist/extensions/registry.d.ts +0 -2
- package/dist/extensions/registry.js +1 -1
- package/dist/goal/GoalEngine.js +1 -1
- package/dist/graph/onchain/analyze.js +1 -1
- package/dist/graph/onchain/expand.js +1 -1
- package/dist/graph/onchain/exposure.js +1 -1
- package/dist/graph/onchain/facts.js +1 -1
- package/dist/graph/onchain/order-status.d.ts +0 -1
- package/dist/graph/onchain/order-status.js +1 -1
- package/dist/harness/recover.js +1 -1
- package/dist/harness/verify.d.ts +0 -3
- package/dist/harness/verify.js +1 -1
- package/dist/index.js +1 -1
- package/dist/intent/types.d.ts +0 -1
- package/dist/intent/types.js +1 -1
- package/dist/keeper/detectors.js +1 -1
- package/dist/keeper/types.d.ts +0 -1
- package/dist/keeper/types.js +1 -1
- package/dist/knowledge/allocation-risk.d.ts +1 -0
- package/dist/knowledge/allocation-risk.js +1 -1
- package/dist/knowledge/allocation-templates.js +1 -1
- package/dist/knowledge/allocator-rail-verifier.d.ts +6 -1
- package/dist/knowledge/allocator-rail-verifier.js +1 -1
- package/dist/knowledge/arb-fund-facts.d.ts +1 -0
- package/dist/knowledge/arb-fund-facts.js +1 -1
- package/dist/knowledge/arbitration-ledger.js +1 -1
- package/dist/knowledge/arbitration-puzzle.js +1 -1
- package/dist/knowledge/arbitration-risk.d.ts +1 -0
- package/dist/knowledge/arbitration-risk.js +1 -1
- package/dist/knowledge/audit-rules.d.ts +2 -2
- package/dist/knowledge/audit-rules.js +1 -1
- package/dist/knowledge/baselines/judgment-baselines.json +21 -2
- package/dist/knowledge/baselines/rules/allocation.json +6 -6
- package/dist/knowledge/baselines/rules/arb.json +2 -2
- package/dist/knowledge/baselines/rules/guard.json +11 -11
- package/dist/knowledge/baselines/rules/oracle.json +120 -0
- package/dist/knowledge/baselines/rules/order.json +1 -1
- package/dist/knowledge/baselines/rules/plan.json +385 -18
- package/dist/knowledge/baselines/rules/progress.json +20 -2
- package/dist/knowledge/baselines/semantic-facts.js +1 -1
- package/dist/knowledge/builtin-templates.d.ts +25 -1
- package/dist/knowledge/builtin-templates.js +1 -1
- package/dist/knowledge/catalog-facts.d.ts +4 -0
- package/dist/knowledge/catalog-facts.js +1 -0
- package/dist/knowledge/commission-landing.js +1 -1
- package/dist/knowledge/component-schema.d.ts +64 -0
- package/dist/knowledge/component-schema.js +1 -0
- package/dist/knowledge/contact-templates.d.ts +0 -1
- package/dist/knowledge/contact-templates.js +1 -1
- package/dist/knowledge/dynamic-pricing.js +1 -1
- package/dist/knowledge/entity-recipient-guard.js +1 -1
- package/dist/knowledge/event-semantics.js +1 -1
- package/dist/knowledge/fee-param-bindings.d.ts +26 -0
- package/dist/knowledge/fee-param-bindings.js +1 -0
- package/dist/knowledge/fund-layer.d.ts +1 -0
- package/dist/knowledge/fund-layer.js +1 -1
- package/dist/knowledge/game-scenarios.js +1 -1
- package/dist/knowledge/getting-started.d.ts +2 -2
- package/dist/knowledge/getting-started.js +1 -1
- package/dist/knowledge/guard-anchor-reach.js +1 -1
- package/dist/knowledge/guard-binding-table.d.ts +52 -0
- package/dist/knowledge/guard-binding-table.js +1 -0
- package/dist/knowledge/guard-binding-verifier.d.ts +30 -0
- package/dist/knowledge/guard-binding-verifier.js +1 -0
- package/dist/knowledge/guard-bindings.js +1 -1
- package/dist/knowledge/guard-blueprint.d.ts +68 -0
- package/dist/knowledge/guard-blueprint.js +1 -0
- package/dist/knowledge/guard-design-patterns.d.ts +1 -1
- package/dist/knowledge/guard-design-patterns.js +1 -1
- package/dist/knowledge/guard-field-cognition.js +1 -1
- package/dist/knowledge/guard-host-context.d.ts +24 -0
- package/dist/knowledge/guard-host-context.js +1 -0
- package/dist/knowledge/guard-ledger.js +1 -1
- package/dist/knowledge/guard-lint.d.ts +1 -0
- package/dist/knowledge/guard-lint.js +1 -1
- package/dist/knowledge/guard-node-gates.d.ts +3 -0
- package/dist/knowledge/guard-node-gates.js +1 -1
- package/dist/knowledge/guard-puzzle.js +1 -1
- package/dist/knowledge/guard-render.js +1 -1
- package/dist/knowledge/guard-risk.js +1 -1
- package/dist/knowledge/guard-submission-prompt.d.ts +11 -0
- package/dist/knowledge/guard-submission-prompt.js +1 -1
- package/dist/knowledge/guard-templates.d.ts +1 -1
- package/dist/knowledge/guard-templates.js +1 -1
- package/dist/knowledge/guard-translation.js +1 -1
- package/dist/knowledge/index.d.ts +1 -1
- package/dist/knowledge/index.js +1 -1
- package/dist/knowledge/industry-generalizer.d.ts +6 -1
- package/dist/knowledge/industry-generalizer.js +1 -1
- package/dist/knowledge/industry-registry.js +1 -1
- package/dist/knowledge/industry-strategy.js +1 -1
- package/dist/knowledge/jsonrpc-enum.d.ts +52 -3
- package/dist/knowledge/jsonrpc-enum.js +1 -1
- package/dist/knowledge/knob-docs.d.ts +5 -0
- package/dist/knowledge/knob-docs.js +1 -0
- package/dist/knowledge/machine-templates.js +1 -1
- package/dist/knowledge/machine-topology.js +1 -1
- package/dist/knowledge/machine-translation.js +1 -1
- package/dist/knowledge/object-dependency.d.ts +31 -0
- package/dist/knowledge/object-dependency.js +1 -0
- package/dist/knowledge/onchain-constants.d.ts +4 -0
- package/dist/knowledge/onchain-constants.js +1 -1
- package/dist/knowledge/order-ledger.js +1 -1
- package/dist/knowledge/param-schema.d.ts +93 -0
- package/dist/knowledge/param-schema.js +1 -0
- package/dist/knowledge/param-tiers.d.ts +25 -0
- package/dist/knowledge/param-tiers.js +1 -0
- package/dist/knowledge/passport-ledger.d.ts +1 -1
- package/dist/knowledge/passport-ledger.js +1 -1
- package/dist/knowledge/path-oracle/coverage.d.ts +16 -0
- package/dist/knowledge/path-oracle/coverage.js +1 -0
- package/dist/knowledge/path-oracle/index.d.ts +5 -0
- package/dist/knowledge/path-oracle/index.js +1 -0
- package/dist/knowledge/path-oracle/products/food-delivery.d.ts +2 -0
- package/dist/knowledge/path-oracle/products/food-delivery.js +1 -0
- package/dist/knowledge/path-oracle/schema.d.ts +188 -0
- package/dist/knowledge/path-oracle/schema.js +1 -0
- package/dist/knowledge/pattern-resolutions.d.ts +108 -0
- package/dist/knowledge/pattern-resolutions.js +1 -0
- package/dist/knowledge/progress-ledger.js +1 -1
- package/dist/knowledge/progress-risk.js +1 -1
- package/dist/knowledge/projection.spec.js +1 -1
- package/dist/knowledge/protocol-facts.js +1 -1
- package/dist/knowledge/requirement-families.d.ts +13 -0
- package/dist/knowledge/requirement-families.js +1 -0
- package/dist/knowledge/reward-ledger.js +1 -1
- package/dist/knowledge/safety-rules.js +1 -1
- package/dist/knowledge/scenario-modes.d.ts +2 -0
- package/dist/knowledge/scenario-modes.js +1 -1
- package/dist/knowledge/scenario-topology.js +1 -1
- package/dist/knowledge/semantic-ir.d.ts +4 -0
- package/dist/knowledge/semantic-ir.js +1 -1
- package/dist/knowledge/service-allocation-semantics.js +1 -1
- package/dist/knowledge/service-ledger.d.ts +1 -1
- package/dist/knowledge/service-ledger.js +1 -1
- package/dist/knowledge/service-templates.js +1 -1
- package/dist/knowledge/sku-name-gate.d.ts +17 -0
- package/dist/knowledge/sku-name-gate.js +1 -0
- package/dist/knowledge/strategy-manuals.d.ts +1 -1
- package/dist/knowledge/strategy-manuals.js +1 -1
- package/dist/knowledge/supply-chain.d.ts +9 -0
- package/dist/knowledge/supply-chain.js +1 -1
- package/dist/knowledge/template-loader.d.ts +114 -6
- package/dist/knowledge/template-loader.js +1 -1
- package/dist/knowledge/template-nav.d.ts +9 -0
- package/dist/knowledge/template-nav.js +1 -0
- package/dist/knowledge/template-prose.d.ts +1 -1
- package/dist/knowledge/template-registry.js +1 -1
- package/dist/knowledge/template-scanner.d.ts +95 -0
- package/dist/knowledge/template-scanner.js +1 -1
- package/dist/knowledge/template-test-profiles.d.ts +17 -0
- package/dist/knowledge/template-test-profiles.js +1 -0
- package/dist/knowledge/template-validation.d.ts +1 -0
- package/dist/knowledge/template-validation.js +1 -1
- package/dist/knowledge/tools-reference.js +1 -1
- package/dist/knowledge/treasury-templates.js +1 -1
- package/dist/knowledge/workflow-guidance.d.ts +5 -0
- package/dist/knowledge/workflow-guidance.js +1 -1
- package/dist/monitor/MonitorLoop.js +1 -1
- package/dist/participation/radar-core.js +1 -1
- package/dist/participation/time-window.d.ts +37 -0
- package/dist/participation/time-window.js +1 -0
- package/dist/persona/address-format.d.ts +0 -1
- package/dist/persona/address-format.js +1 -1
- package/dist/persona/bridge.js +1 -1
- package/dist/persona/index.d.ts +0 -2
- package/dist/persona/index.js +1 -1
- package/dist/persona/model.js +1 -1
- package/dist/persona/persona-audit.spec.js +1 -1
- package/dist/persona/types.d.ts +6 -0
- package/dist/playbooks/service-build/business-puzzle.js +1 -1
- package/dist/playbooks/service-build/game-theory.d.ts +2 -2
- package/dist/playbooks/service-build/intent-analyzer.js +1 -1
- package/dist/playbooks/service-build/machine-panorama.d.ts +1 -0
- package/dist/playbooks/service-build/machine-panorama.js +1 -1
- package/dist/playbooks/service-build/merchant-guide.d.ts +52 -22
- package/dist/playbooks/service-build/merchant-guide.js +1 -1
- package/dist/playbooks/service-build/migration-planner.d.ts +2 -0
- package/dist/playbooks/service-build/migration-planner.js +1 -1
- package/dist/playbooks/service-build/mode-actions.js +1 -1
- package/dist/playbooks/service-build/object-panorama.d.ts +8 -0
- package/dist/playbooks/service-build/object-panorama.js +1 -1
- package/dist/playbooks/service-build/participation-radar.d.ts +1 -0
- 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/reverse-mapping.d.ts +6 -0
- package/dist/playbooks/service-build/reverse-mapping.js +1 -1
- package/dist/playbooks/service-build/service-panorama.d.ts +2 -0
- package/dist/playbooks/service-build/service-panorama.js +1 -1
- package/dist/playbooks/service-build/service-quote.js +1 -1
- package/dist/playbooks/service-build/service-quote.spec.js +1 -1
- package/dist/playbooks/service-build/workflow-design-assessment.d.ts +10 -1
- package/dist/playbooks/service-build/workflow-design-assessment.js +1 -1
- package/dist/relationship/registry.js +1 -1
- package/dist/review/index.js +1 -1
- package/dist/review/repository.js +1 -1
- package/dist/runtime/instance-registry.d.ts +7 -1
- package/dist/runtime/instance-registry.js +1 -1
- package/dist/safety/confirm-gate.js +1 -1
- package/dist/schema/benchmark-migration/index.d.ts +106 -0
- package/dist/schema/benchmark-migration/index.js +1 -1
- package/dist/schema/call/allocation.d.ts +15 -6
- package/dist/schema/call/allocation.js +1 -1
- package/dist/schema/call/arbitration.js +1 -1
- package/dist/schema/call/base.d.ts +264 -0
- package/dist/schema/call/base.js +1 -1
- package/dist/schema/call/bridge.d.ts +34 -6
- package/dist/schema/call/demand.d.ts +15 -6
- package/dist/schema/call/demand.js +1 -1
- package/dist/schema/call/error-codes.d.ts +1 -1
- package/dist/schema/call/error-codes.js +1 -1
- package/dist/schema/call/guard.d.ts +8 -8
- package/dist/schema/call/guard.js +1 -1
- package/dist/schema/call/handler.d.ts +3 -0
- package/dist/schema/call/handler.js +1 -1
- package/dist/schema/call/machine.d.ts +32 -8
- package/dist/schema/call/machine.js +1 -1
- package/dist/schema/call/order.d.ts +26 -8
- package/dist/schema/call/order.js +1 -1
- package/dist/schema/call/payment.d.ts +20 -8
- package/dist/schema/call/payment.js +1 -1
- package/dist/schema/call/permission-handler.js +1 -1
- package/dist/schema/call/permission.d.ts +330 -114
- package/dist/schema/call/permission.js +1 -1
- package/dist/schema/call/personal.d.ts +10 -4
- package/dist/schema/call/personal.js +1 -1
- package/dist/schema/call/progress.d.ts +16 -4
- package/dist/schema/call/reward.d.ts +10 -4
- 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 +131 -43
- package/dist/schema/call/service.js +1 -1
- package/dist/schema/call/treasury.d.ts +15 -6
- package/dist/schema/call/treasury.js +1 -1
- package/dist/schema/common/index.js +1 -1
- package/dist/schema/config/index.d.ts +61 -0
- package/dist/schema/config/index.js +1 -1
- package/dist/schema/envelope-unify.d.ts +4 -0
- package/dist/schema/envelope-unify.js +1 -0
- package/dist/schema/evaluation/index.d.ts +224 -19
- package/dist/schema/evaluation/index.js +1 -1
- package/dist/schema/goal/index.d.ts +47 -0
- package/dist/schema/goal/planning.d.ts +116 -1
- package/dist/schema/goal/planning.js +1 -1
- package/dist/schema/industry-pack/index.d.ts +166 -6
- package/dist/schema/industry-pack/index.js +1 -1
- package/dist/schema/industry-pack/modes.d.ts +6 -6
- package/dist/schema/keeper/index.d.ts +26 -0
- package/dist/schema/local/index.d.ts +157 -0
- package/dist/schema/local/index.js +1 -1
- package/dist/schema/local/wip.d.ts +6 -0
- package/dist/schema/local/wip.js +1 -1
- package/dist/schema/messenger/index.d.ts +28 -0
- package/dist/schema/messenger/index.js +1 -1
- package/dist/schema/operations.d.ts +343 -84
- package/dist/schema/operations.js +1 -1
- package/dist/schema/persona/index.d.ts +2907 -640
- package/dist/schema/persona/index.js +1 -1
- package/dist/schema/query/bi.d.ts +251 -4
- package/dist/schema/query/bi.js +1 -1
- package/dist/schema/query/index.d.ts +271 -78
- package/dist/schema/query/index.js +1 -1
- package/dist/schema/schema-query/index.d.ts +1 -1
- package/dist/schema/schema-query/index.js +1 -1
- package/dist/schema/schema-version.js +1 -1
- package/dist/schema/utils/permission-machine-check.d.ts +2 -0
- package/dist/schema/utils/permission-machine-check.js +1 -1
- package/dist/schema/watch/index.d.ts +16 -0
- package/dist/schema/watch/index.js +1 -1
- package/dist/schema/workflow/index.d.ts +2 -2
- package/dist/schema/workflow/index.js +1 -1
- package/dist/schema-query-impl/index.d.ts +1 -1
- package/dist/schema-query-impl/index.js +1 -1
- package/dist/schemas/account_operation.output.json +98 -2
- package/dist/schemas/benchmark_migration_operation.output.json +341 -12
- package/dist/schemas/benchmark_migration_operation.schema.json +42 -3
- package/dist/schemas/bridge_operation.output.json +98 -2
- package/dist/schemas/bridge_operation.schema.json +5 -5
- package/dist/schemas/config_operation.output.json +352 -0
- package/dist/schemas/config_operation.schema.json +20 -2
- package/dist/schemas/evaluation_operation.output.json +586 -4
- package/dist/schemas/evaluation_operation.schema.json +194 -3
- package/dist/schemas/goal_operation.schema.json +183 -0
- package/dist/schemas/guard2file.schema.json +1 -1
- package/dist/schemas/index.json +1 -1
- package/dist/schemas/industry_pack_operation.output.json +771 -1
- package/dist/schemas/industry_pack_operation.schema.json +28 -4
- package/dist/schemas/keeper_operation.output.json +96 -2
- package/dist/schemas/local_cache_operation.output.json +98 -2
- package/dist/schemas/local_history_operation.output.json +98 -2
- package/dist/schemas/local_info_operation.output.json +98 -2
- package/dist/schemas/local_mark_operation.output.json +98 -2
- package/dist/schemas/machineNode2file.schema.json +1 -1
- package/dist/schemas/messenger_operation.output.json +107 -2
- package/dist/schemas/messenger_operation.schema.json +41 -34
- package/dist/schemas/monitor_events.output.json +96 -2
- package/dist/schemas/monitor_subscription.output.json +96 -2
- package/dist/schemas/onchain_events.output.json +108 -14
- package/dist/schemas/onchain_operations.output.json +326 -11
- package/dist/schemas/onchain_operations.schema.json +1343 -734
- package/dist/schemas/onchain_operations_allocation.schema.json +35 -19
- package/dist/schemas/onchain_operations_arbitration.schema.json +16 -8
- package/dist/schemas/onchain_operations_contact.schema.json +12 -4
- package/dist/schemas/onchain_operations_demand.schema.json +33 -17
- package/dist/schemas/onchain_operations_gen_passport.schema.json +12 -4
- package/dist/schemas/onchain_operations_gen_proof.schema.json +1 -1
- package/dist/schemas/onchain_operations_guard.schema.json +297 -111
- package/dist/schemas/onchain_operations_machine.schema.json +56 -39
- package/dist/schemas/onchain_operations_order.schema.json +67 -42
- package/dist/schemas/onchain_operations_payment.schema.json +27 -12
- package/dist/schemas/onchain_operations_permission.schema.json +363 -232
- package/dist/schemas/onchain_operations_personal.schema.json +43 -28
- package/dist/schemas/onchain_operations_progress.schema.json +49 -32
- package/dist/schemas/onchain_operations_proof.schema.json +12 -4
- package/dist/schemas/onchain_operations_repository.schema.json +17 -8
- package/dist/schemas/onchain_operations_reward.schema.json +36 -20
- package/dist/schemas/onchain_operations_service.schema.json +230 -130
- package/dist/schemas/onchain_operations_treasury.schema.json +36 -20
- package/dist/schemas/onchain_table_data.output.json +276 -19
- package/dist/schemas/onchain_table_data.schema.json +104 -64
- package/dist/schemas/persona_operation.output.json +7752 -0
- package/dist/schemas/persona_operation.schema.json +1232 -4
- package/dist/schemas/query_toolkit.output.json +1054 -146
- package/dist/schemas/query_toolkit.schema.json +144 -13
- package/dist/schemas/schema_query.schema.json +1 -1
- package/dist/schemas/watch_operation.output.json +86 -3
- package/dist/schemas/wip_file.output.json +8 -0
- package/dist/schemas/workflow_operation.schema.json +5 -4
- package/dist/schemas/wowok_buildin_info.schema.json +1 -1
- package/dist/task/playbook.js +1 -1
- package/dist/tools/handlers/benchmark-migration.d.ts +12 -3
- package/dist/tools/handlers/benchmark-migration.js +1 -1
- package/dist/tools/handlers/config.js +1 -1
- package/dist/tools/handlers/evaluation.js +1 -1
- package/dist/tools/handlers/evaluation.spec.js +1 -1
- package/dist/tools/handlers/industry-pack.js +1 -1
- package/dist/tools/handlers/messenger.js +1 -1
- package/dist/tools/handlers/onchain.d.ts +24 -0
- package/dist/tools/handlers/onchain.js +1 -1
- package/dist/tools/handlers/persona.js +1 -1
- package/dist/tools/handlers/query.d.ts +8 -0
- package/dist/tools/handlers/query.js +1 -1
- package/dist/tools/handlers/winner-derivation.d.ts +20 -0
- package/dist/tools/handlers/winner-derivation.js +1 -0
- package/dist/tools/handlers/wip-upload.js +1 -1
- package/dist/tools/index.d.ts +1 -0
- package/dist/tools/index.js +1 -1
- package/dist/tools/registry/business.js +1 -1
- package/dist/tools/registry/config.js +1 -1
- package/dist/tools/registry/evaluation.js +1 -1
- package/dist/tools/registry/identity.js +1 -1
- package/dist/tools/registry/onchain.js +1 -1
- package/dist/tools/registry/query.js +1 -1
- package/dist/tools/sanitize-output.js +1 -1
- package/dist/tools/sanitize-output.spec.js +1 -1
- package/dist/tools/transport-integrity.d.ts +7 -0
- package/dist/tools/transport-integrity.js +1 -0
- package/dist/tools/types.d.ts +1 -0
- package/dist/tools/upgrade-check.d.ts +22 -0
- package/dist/tools/upgrade-check.js +1 -1
- package/dist/tools/wrap.d.ts +6 -1
- package/dist/tools/wrap.js +1 -1
- package/package.json +7 -6
- package/dist/extensions/business-modules.d.ts +0 -54
- package/dist/extensions/business-modules.js +0 -1
- package/dist/schemas/guard-templates.json +0 -379
|
@@ -409,7 +409,9 @@
|
|
|
409
409
|
"supply",
|
|
410
410
|
"rules",
|
|
411
411
|
"playbook",
|
|
412
|
-
"template"
|
|
412
|
+
"template",
|
|
413
|
+
"params",
|
|
414
|
+
"components"
|
|
413
415
|
]
|
|
414
416
|
},
|
|
415
417
|
"kind": {
|
|
@@ -511,6 +513,153 @@
|
|
|
511
513
|
],
|
|
512
514
|
"additionalProperties": false
|
|
513
515
|
},
|
|
516
|
+
"query": {
|
|
517
|
+
"description": "Echoes the 'query' used to rank parameters.",
|
|
518
|
+
"type": "string"
|
|
519
|
+
},
|
|
520
|
+
"param_summary": {
|
|
521
|
+
"description": "Counts over the returned param plane (absent unless layer='params').",
|
|
522
|
+
"type": "object",
|
|
523
|
+
"properties": {
|
|
524
|
+
"total": {
|
|
525
|
+
"type": "number",
|
|
526
|
+
"description": "Declared parameters of this template."
|
|
527
|
+
},
|
|
528
|
+
"editable": {
|
|
529
|
+
"type": "number",
|
|
530
|
+
"description": "Parameters the front stage may render as an editable control."
|
|
531
|
+
},
|
|
532
|
+
"live": {
|
|
533
|
+
"type": "number",
|
|
534
|
+
"description": "Parameters proven to change the compiled plan."
|
|
535
|
+
},
|
|
536
|
+
"inert": {
|
|
537
|
+
"type": "number",
|
|
538
|
+
"description": "Parameters that compile to the same plan (shown, not offered)."
|
|
539
|
+
},
|
|
540
|
+
"not_flippable": {
|
|
541
|
+
"type": "number",
|
|
542
|
+
"description": "Parameters with no numeric probe (free-text)."
|
|
543
|
+
},
|
|
544
|
+
"hidden": {
|
|
545
|
+
"type": "number",
|
|
546
|
+
"description": "Prose directives: listed for completeness, never offered."
|
|
547
|
+
},
|
|
548
|
+
"undescribed": {
|
|
549
|
+
"type": "number",
|
|
550
|
+
"description": "Rows whose meaning is not curated yet (honest fallback)."
|
|
551
|
+
}
|
|
552
|
+
},
|
|
553
|
+
"required": [
|
|
554
|
+
"total",
|
|
555
|
+
"editable",
|
|
556
|
+
"live",
|
|
557
|
+
"inert",
|
|
558
|
+
"not_flippable",
|
|
559
|
+
"hidden",
|
|
560
|
+
"undescribed"
|
|
561
|
+
],
|
|
562
|
+
"additionalProperties": false
|
|
563
|
+
},
|
|
564
|
+
"params": {
|
|
565
|
+
"description": "Full param plane in business order: key, tier/tier_name, tags, kind (money/ratio/duration/count/enum/flag/text/list), unit/unit_hint, meaning, bounds (enterable range: rates 0..10000, amounts/counts non-negative), default, allowed values (enums), disclosure, selector, status, effect, landing, landing_line, editable, inert_reason (why a row cannot be set).",
|
|
566
|
+
"type": "array",
|
|
567
|
+
"items": {
|
|
568
|
+
"type": "object",
|
|
569
|
+
"propertyNames": {
|
|
570
|
+
"type": "string"
|
|
571
|
+
},
|
|
572
|
+
"additionalProperties": {}
|
|
573
|
+
}
|
|
574
|
+
},
|
|
575
|
+
"param_matches": {
|
|
576
|
+
"description": "Ranked parameter hits for 'query' — each carries score + explainable reasons (key / key-word / tag / alias / meaning / facet). Empty means the phrase names no setting. A query made only of tag names ('pricing', 'risk') is a facet request: it returns that slice in tier order.",
|
|
577
|
+
"type": "array",
|
|
578
|
+
"items": {
|
|
579
|
+
"type": "object",
|
|
580
|
+
"propertyNames": {
|
|
581
|
+
"type": "string"
|
|
582
|
+
},
|
|
583
|
+
"additionalProperties": {}
|
|
584
|
+
}
|
|
585
|
+
},
|
|
586
|
+
"component_summary": {
|
|
587
|
+
"description": "Counts over the returned component plane (absent unless layer='components').",
|
|
588
|
+
"type": "object",
|
|
589
|
+
"properties": {
|
|
590
|
+
"total": {
|
|
591
|
+
"type": "number",
|
|
592
|
+
"description": "Components on the plane for this template."
|
|
593
|
+
},
|
|
594
|
+
"configurable": {
|
|
595
|
+
"type": "number",
|
|
596
|
+
"description": "Components the merchant can configure."
|
|
597
|
+
},
|
|
598
|
+
"fixed": {
|
|
599
|
+
"type": "number",
|
|
600
|
+
"description": "Components that cannot be configured (each carries why_not)."
|
|
601
|
+
},
|
|
602
|
+
"hardcoded_splits": {
|
|
603
|
+
"type": "number",
|
|
604
|
+
"description": "Allocator rows whose money split is a genuine literal in the template body (rail/unset/surplus rows excluded — they are not splits)."
|
|
605
|
+
},
|
|
606
|
+
"structural_rails": {
|
|
607
|
+
"type": "number",
|
|
608
|
+
"description": "Allocator rows that pay the entire escrow (100%): the payout rail itself, not a rate."
|
|
609
|
+
},
|
|
610
|
+
"unset_legs": {
|
|
611
|
+
"type": "number",
|
|
612
|
+
"description": "Allocator rows at 0 bps: declared placeholder legs (usually the order-side residual of a two-leg group)."
|
|
613
|
+
},
|
|
614
|
+
"surplus_rows": {
|
|
615
|
+
"type": "number",
|
|
616
|
+
"description": "Allocator rows whose size is the remainder of the other rows."
|
|
617
|
+
},
|
|
618
|
+
"by_family": {
|
|
619
|
+
"type": "object",
|
|
620
|
+
"propertyNames": {
|
|
621
|
+
"type": "string"
|
|
622
|
+
},
|
|
623
|
+
"additionalProperties": {
|
|
624
|
+
"type": "number"
|
|
625
|
+
},
|
|
626
|
+
"description": "Component counts by family (service/sales/allocator/allocation/machine/guard/repository/reward/arbitration/permission/treasury)."
|
|
627
|
+
}
|
|
628
|
+
},
|
|
629
|
+
"required": [
|
|
630
|
+
"total",
|
|
631
|
+
"configurable",
|
|
632
|
+
"fixed",
|
|
633
|
+
"hardcoded_splits",
|
|
634
|
+
"structural_rails",
|
|
635
|
+
"unset_legs",
|
|
636
|
+
"surplus_rows",
|
|
637
|
+
"by_family"
|
|
638
|
+
],
|
|
639
|
+
"additionalProperties": false
|
|
640
|
+
},
|
|
641
|
+
"components": {
|
|
642
|
+
"description": "Full component plane: id, family, what (business meaning), how (surface: create / pre-publish / append-only / post-publish / immutable, and via: the MCP field path), effect (what changes on chain once it takes effect), related (bound objects / guard / fee_param / node), configurable, freeze (allocator rows only: rail = full-escrow payout rail, unset = 0 bps placeholder leg, split = genuine split frozen in the template body, surplus = remainder row), why_not (present on every non-configurable component).",
|
|
643
|
+
"type": "array",
|
|
644
|
+
"items": {
|
|
645
|
+
"type": "object",
|
|
646
|
+
"propertyNames": {
|
|
647
|
+
"type": "string"
|
|
648
|
+
},
|
|
649
|
+
"additionalProperties": {}
|
|
650
|
+
}
|
|
651
|
+
},
|
|
652
|
+
"component_matches": {
|
|
653
|
+
"description": "Ranked component hits for 'query' (per-template), each headed by its template id. Empty means the phrase names no component — nothing is guessed.",
|
|
654
|
+
"type": "array",
|
|
655
|
+
"items": {
|
|
656
|
+
"type": "object",
|
|
657
|
+
"propertyNames": {
|
|
658
|
+
"type": "string"
|
|
659
|
+
},
|
|
660
|
+
"additionalProperties": {}
|
|
661
|
+
}
|
|
662
|
+
},
|
|
514
663
|
"dispute": {
|
|
515
664
|
"description": "Registered dispute rules (if any)."
|
|
516
665
|
},
|
|
@@ -533,6 +682,627 @@
|
|
|
533
682
|
],
|
|
534
683
|
"additionalProperties": false
|
|
535
684
|
},
|
|
685
|
+
{
|
|
686
|
+
"type": "object",
|
|
687
|
+
"properties": {
|
|
688
|
+
"action": {
|
|
689
|
+
"type": "string",
|
|
690
|
+
"const": "capability_list"
|
|
691
|
+
},
|
|
692
|
+
"total": {
|
|
693
|
+
"type": "number",
|
|
694
|
+
"description": "Capabilities in the filtered registry view."
|
|
695
|
+
},
|
|
696
|
+
"capabilities": {
|
|
697
|
+
"type": "array",
|
|
698
|
+
"items": {
|
|
699
|
+
"type": "object",
|
|
700
|
+
"properties": {
|
|
701
|
+
"id": {
|
|
702
|
+
"type": "string"
|
|
703
|
+
},
|
|
704
|
+
"name": {
|
|
705
|
+
"type": "string"
|
|
706
|
+
},
|
|
707
|
+
"group": {
|
|
708
|
+
"type": "string"
|
|
709
|
+
},
|
|
710
|
+
"description": {
|
|
711
|
+
"type": "string"
|
|
712
|
+
},
|
|
713
|
+
"source": {
|
|
714
|
+
"type": "string",
|
|
715
|
+
"description": "'core' = the 18 former business modules; 'composition' = cross-object composition seeds."
|
|
716
|
+
},
|
|
717
|
+
"requires": {
|
|
718
|
+
"type": "array",
|
|
719
|
+
"items": {
|
|
720
|
+
"type": "string"
|
|
721
|
+
},
|
|
722
|
+
"description": "Capability ids that must be adopted together."
|
|
723
|
+
},
|
|
724
|
+
"excludes": {
|
|
725
|
+
"type": "array",
|
|
726
|
+
"items": {
|
|
727
|
+
"type": "string"
|
|
728
|
+
},
|
|
729
|
+
"description": "Capability ids that cannot coexist in one selection."
|
|
730
|
+
},
|
|
731
|
+
"provides": {
|
|
732
|
+
"type": "array",
|
|
733
|
+
"items": {
|
|
734
|
+
"type": "string"
|
|
735
|
+
},
|
|
736
|
+
"description": "WorkflowCapabilities bits the selection can claim."
|
|
737
|
+
},
|
|
738
|
+
"requires_keeper": {
|
|
739
|
+
"type": "boolean"
|
|
740
|
+
}
|
|
741
|
+
},
|
|
742
|
+
"required": [
|
|
743
|
+
"id",
|
|
744
|
+
"name",
|
|
745
|
+
"group",
|
|
746
|
+
"description",
|
|
747
|
+
"source",
|
|
748
|
+
"requires",
|
|
749
|
+
"excludes",
|
|
750
|
+
"provides",
|
|
751
|
+
"requires_keeper"
|
|
752
|
+
],
|
|
753
|
+
"additionalProperties": false
|
|
754
|
+
},
|
|
755
|
+
"description": "Registry view in registry order."
|
|
756
|
+
}
|
|
757
|
+
},
|
|
758
|
+
"required": [
|
|
759
|
+
"action",
|
|
760
|
+
"total",
|
|
761
|
+
"capabilities"
|
|
762
|
+
],
|
|
763
|
+
"additionalProperties": false
|
|
764
|
+
},
|
|
765
|
+
{
|
|
766
|
+
"type": "object",
|
|
767
|
+
"properties": {
|
|
768
|
+
"action": {
|
|
769
|
+
"type": "string",
|
|
770
|
+
"const": "capability_get"
|
|
771
|
+
},
|
|
772
|
+
"capability": {
|
|
773
|
+
"description": "Full capability card: identity, group, intent (guard design pattern ids — the backend truth), binds, requires/excludes (lattice edges), provides, params, risks, disclosures, cost, requiredConstraints, evaluationImpact, industryFit, intentSignal vocabulary is internal, userProtections, merchantObligations, keeper duty."
|
|
774
|
+
}
|
|
775
|
+
},
|
|
776
|
+
"required": [
|
|
777
|
+
"action",
|
|
778
|
+
"capability"
|
|
779
|
+
],
|
|
780
|
+
"additionalProperties": false
|
|
781
|
+
},
|
|
782
|
+
{
|
|
783
|
+
"type": "object",
|
|
784
|
+
"properties": {
|
|
785
|
+
"action": {
|
|
786
|
+
"type": "string",
|
|
787
|
+
"const": "compose_probe"
|
|
788
|
+
},
|
|
789
|
+
"capabilities": {
|
|
790
|
+
"type": "array",
|
|
791
|
+
"items": {
|
|
792
|
+
"type": "string"
|
|
793
|
+
},
|
|
794
|
+
"description": "The probed selection (deduplicated)."
|
|
795
|
+
},
|
|
796
|
+
"feasible": {
|
|
797
|
+
"type": "boolean",
|
|
798
|
+
"description": "true = no lattice or compile blocker. Every false is backed by named blockers."
|
|
799
|
+
},
|
|
800
|
+
"blockers": {
|
|
801
|
+
"type": "array",
|
|
802
|
+
"items": {
|
|
803
|
+
"type": "object",
|
|
804
|
+
"properties": {
|
|
805
|
+
"code": {
|
|
806
|
+
"type": "string",
|
|
807
|
+
"description": "COMPOSE-UNKNOWN-CAPABILITY / COMPOSE-REQUIRES-MISSING / COMPOSE-EXCLUDES-CONFLICT / COMPOSE-BASE-TEMPLATE-UNKNOWN or a compile/audit code."
|
|
808
|
+
},
|
|
809
|
+
"detail": {
|
|
810
|
+
"type": "string"
|
|
811
|
+
}
|
|
812
|
+
},
|
|
813
|
+
"required": [
|
|
814
|
+
"code",
|
|
815
|
+
"detail"
|
|
816
|
+
],
|
|
817
|
+
"additionalProperties": false
|
|
818
|
+
},
|
|
819
|
+
"description": "Named findings — the probe measures, it never guesses."
|
|
820
|
+
},
|
|
821
|
+
"risks": {
|
|
822
|
+
"type": "array",
|
|
823
|
+
"items": {
|
|
824
|
+
"type": "string"
|
|
825
|
+
},
|
|
826
|
+
"description": "Aggregated risk notes of the selection."
|
|
827
|
+
},
|
|
828
|
+
"disclosures": {
|
|
829
|
+
"type": "array",
|
|
830
|
+
"items": {
|
|
831
|
+
"type": "string"
|
|
832
|
+
},
|
|
833
|
+
"description": "Aggregated disclosure obligations of the selection."
|
|
834
|
+
},
|
|
835
|
+
"cost_delta": {
|
|
836
|
+
"type": "object",
|
|
837
|
+
"properties": {
|
|
838
|
+
"gas_objects": {
|
|
839
|
+
"type": "number",
|
|
840
|
+
"description": "Estimated extra on-chain objects beyond the base build."
|
|
841
|
+
},
|
|
842
|
+
"funds": {
|
|
843
|
+
"type": "array",
|
|
844
|
+
"items": {
|
|
845
|
+
"type": "string"
|
|
846
|
+
},
|
|
847
|
+
"description": "Pools the merchant must fill (e.g. compensation_fund)."
|
|
848
|
+
}
|
|
849
|
+
},
|
|
850
|
+
"required": [
|
|
851
|
+
"gas_objects",
|
|
852
|
+
"funds"
|
|
853
|
+
],
|
|
854
|
+
"additionalProperties": false,
|
|
855
|
+
"description": "Structural cost delta of the selection."
|
|
856
|
+
},
|
|
857
|
+
"provides": {
|
|
858
|
+
"type": "array",
|
|
859
|
+
"items": {
|
|
860
|
+
"type": "string"
|
|
861
|
+
},
|
|
862
|
+
"description": "WorkflowCapabilities bits the selection can jointly claim."
|
|
863
|
+
},
|
|
864
|
+
"plan_steps": {
|
|
865
|
+
"description": "Compiled plan step count of the base template (absent without 'template').",
|
|
866
|
+
"type": "number"
|
|
867
|
+
},
|
|
868
|
+
"audit_score": {
|
|
869
|
+
"description": "100 when the base template compiles + refluxes clean, else 0 (absent without 'template').",
|
|
870
|
+
"type": "number"
|
|
871
|
+
},
|
|
872
|
+
"templates_version": {
|
|
873
|
+
"type": "number",
|
|
874
|
+
"description": "Template catalog sentinel the probe ran against."
|
|
875
|
+
}
|
|
876
|
+
},
|
|
877
|
+
"required": [
|
|
878
|
+
"action",
|
|
879
|
+
"capabilities",
|
|
880
|
+
"feasible",
|
|
881
|
+
"blockers",
|
|
882
|
+
"risks",
|
|
883
|
+
"disclosures",
|
|
884
|
+
"cost_delta",
|
|
885
|
+
"provides",
|
|
886
|
+
"templates_version"
|
|
887
|
+
],
|
|
888
|
+
"additionalProperties": false
|
|
889
|
+
},
|
|
890
|
+
{
|
|
891
|
+
"type": "object",
|
|
892
|
+
"properties": {
|
|
893
|
+
"action": {
|
|
894
|
+
"type": "string",
|
|
895
|
+
"const": "product_cards"
|
|
896
|
+
},
|
|
897
|
+
"industry": {
|
|
898
|
+
"type": "string",
|
|
899
|
+
"description": "Industry filter echoed ('all' when absent)."
|
|
900
|
+
},
|
|
901
|
+
"total": {
|
|
902
|
+
"type": "number",
|
|
903
|
+
"description": "Card summaries returned."
|
|
904
|
+
},
|
|
905
|
+
"cards": {
|
|
906
|
+
"type": "array",
|
|
907
|
+
"items": {
|
|
908
|
+
"type": "object",
|
|
909
|
+
"properties": {
|
|
910
|
+
"template_id": {
|
|
911
|
+
"type": "string"
|
|
912
|
+
},
|
|
913
|
+
"industry": {
|
|
914
|
+
"type": "string"
|
|
915
|
+
},
|
|
916
|
+
"product_ref": {
|
|
917
|
+
"type": "string",
|
|
918
|
+
"description": "Benchmark slug (the only sanctioned company reference)."
|
|
919
|
+
},
|
|
920
|
+
"archetype": {
|
|
921
|
+
"type": "string"
|
|
922
|
+
},
|
|
923
|
+
"one_liner": {
|
|
924
|
+
"type": "string",
|
|
925
|
+
"description": "Mechanically composed from declared counts — no invention."
|
|
926
|
+
},
|
|
927
|
+
"cost_headline": {
|
|
928
|
+
"type": "object",
|
|
929
|
+
"properties": {
|
|
930
|
+
"platform_fee_bps": {
|
|
931
|
+
"type": "number"
|
|
932
|
+
},
|
|
933
|
+
"gas_objects_estimate": {
|
|
934
|
+
"type": "number",
|
|
935
|
+
"description": "Machine nodes + guard refs, pre-compile basis."
|
|
936
|
+
},
|
|
937
|
+
"compensation_fund": {
|
|
938
|
+
"type": "string",
|
|
939
|
+
"enum": [
|
|
940
|
+
"allowed",
|
|
941
|
+
"forbidden"
|
|
942
|
+
]
|
|
943
|
+
}
|
|
944
|
+
},
|
|
945
|
+
"required": [
|
|
946
|
+
"platform_fee_bps",
|
|
947
|
+
"gas_objects_estimate",
|
|
948
|
+
"compensation_fund"
|
|
949
|
+
],
|
|
950
|
+
"additionalProperties": false
|
|
951
|
+
},
|
|
952
|
+
"params": {
|
|
953
|
+
"type": "object",
|
|
954
|
+
"properties": {
|
|
955
|
+
"total": {
|
|
956
|
+
"type": "number"
|
|
957
|
+
},
|
|
958
|
+
"editable": {
|
|
959
|
+
"type": "number"
|
|
960
|
+
}
|
|
961
|
+
},
|
|
962
|
+
"required": [
|
|
963
|
+
"total",
|
|
964
|
+
"editable"
|
|
965
|
+
],
|
|
966
|
+
"additionalProperties": false
|
|
967
|
+
},
|
|
968
|
+
"templates_version": {
|
|
969
|
+
"type": "number"
|
|
970
|
+
}
|
|
971
|
+
},
|
|
972
|
+
"required": [
|
|
973
|
+
"template_id",
|
|
974
|
+
"industry",
|
|
975
|
+
"product_ref",
|
|
976
|
+
"archetype",
|
|
977
|
+
"one_liner",
|
|
978
|
+
"cost_headline",
|
|
979
|
+
"params",
|
|
980
|
+
"templates_version"
|
|
981
|
+
],
|
|
982
|
+
"additionalProperties": false
|
|
983
|
+
},
|
|
984
|
+
"description": "FRONT-stage card summaries (full rows via layer='params'; compiled verdict via compose_probe)."
|
|
985
|
+
}
|
|
986
|
+
},
|
|
987
|
+
"required": [
|
|
988
|
+
"action",
|
|
989
|
+
"industry",
|
|
990
|
+
"total",
|
|
991
|
+
"cards"
|
|
992
|
+
],
|
|
993
|
+
"additionalProperties": false
|
|
994
|
+
},
|
|
995
|
+
{
|
|
996
|
+
"type": "object",
|
|
997
|
+
"properties": {
|
|
998
|
+
"action": {
|
|
999
|
+
"type": "string",
|
|
1000
|
+
"const": "product_card"
|
|
1001
|
+
},
|
|
1002
|
+
"alignment": {
|
|
1003
|
+
"type": "object",
|
|
1004
|
+
"properties": {
|
|
1005
|
+
"template_id": {
|
|
1006
|
+
"type": "string"
|
|
1007
|
+
},
|
|
1008
|
+
"industry": {
|
|
1009
|
+
"type": "string"
|
|
1010
|
+
},
|
|
1011
|
+
"variant": {
|
|
1012
|
+
"type": "string"
|
|
1013
|
+
},
|
|
1014
|
+
"product_ref": {
|
|
1015
|
+
"type": "string"
|
|
1016
|
+
},
|
|
1017
|
+
"archetype": {
|
|
1018
|
+
"type": "string"
|
|
1019
|
+
},
|
|
1020
|
+
"phase": {
|
|
1021
|
+
"type": "number"
|
|
1022
|
+
},
|
|
1023
|
+
"one_liner": {
|
|
1024
|
+
"type": "string"
|
|
1025
|
+
},
|
|
1026
|
+
"evidence": {
|
|
1027
|
+
"type": "array",
|
|
1028
|
+
"items": {
|
|
1029
|
+
"type": "object",
|
|
1030
|
+
"properties": {
|
|
1031
|
+
"source": {
|
|
1032
|
+
"type": "string"
|
|
1033
|
+
},
|
|
1034
|
+
"detail": {
|
|
1035
|
+
"type": "string"
|
|
1036
|
+
}
|
|
1037
|
+
},
|
|
1038
|
+
"required": [
|
|
1039
|
+
"source",
|
|
1040
|
+
"detail"
|
|
1041
|
+
],
|
|
1042
|
+
"additionalProperties": false
|
|
1043
|
+
},
|
|
1044
|
+
"description": "Every card assertion is anchored — no anchor, no assertion."
|
|
1045
|
+
}
|
|
1046
|
+
},
|
|
1047
|
+
"required": [
|
|
1048
|
+
"template_id",
|
|
1049
|
+
"industry",
|
|
1050
|
+
"variant",
|
|
1051
|
+
"product_ref",
|
|
1052
|
+
"archetype",
|
|
1053
|
+
"phase",
|
|
1054
|
+
"one_liner",
|
|
1055
|
+
"evidence"
|
|
1056
|
+
],
|
|
1057
|
+
"additionalProperties": false,
|
|
1058
|
+
"description": "WHO this product aligns with."
|
|
1059
|
+
},
|
|
1060
|
+
"features": {
|
|
1061
|
+
"type": "object",
|
|
1062
|
+
"properties": {
|
|
1063
|
+
"flow": {
|
|
1064
|
+
"type": "array",
|
|
1065
|
+
"items": {
|
|
1066
|
+
"type": "string"
|
|
1067
|
+
},
|
|
1068
|
+
"description": "machine_shape projected as merchant-view steps."
|
|
1069
|
+
},
|
|
1070
|
+
"fund_speed": {
|
|
1071
|
+
"description": "Declared settlement clock (settle_hours / auto_confirm_hours) or null."
|
|
1072
|
+
},
|
|
1073
|
+
"model": {
|
|
1074
|
+
"type": "array",
|
|
1075
|
+
"items": {
|
|
1076
|
+
"type": "string"
|
|
1077
|
+
},
|
|
1078
|
+
"description": "trust_mechanisms verbatim."
|
|
1079
|
+
},
|
|
1080
|
+
"vs_traditional": {
|
|
1081
|
+
"type": "array",
|
|
1082
|
+
"items": {
|
|
1083
|
+
"type": "object",
|
|
1084
|
+
"properties": {
|
|
1085
|
+
"dimension": {
|
|
1086
|
+
"type": "string"
|
|
1087
|
+
},
|
|
1088
|
+
"wowok": {
|
|
1089
|
+
"type": "string",
|
|
1090
|
+
"description": "WoWok-side figure computed from declared params."
|
|
1091
|
+
},
|
|
1092
|
+
"traditional": {
|
|
1093
|
+
"type": "null",
|
|
1094
|
+
"description": "ALWAYS null here — the incumbent figure is the skill layer's narrative job; the card never invents one."
|
|
1095
|
+
},
|
|
1096
|
+
"wowok_evidence": {
|
|
1097
|
+
"type": "array",
|
|
1098
|
+
"items": {
|
|
1099
|
+
"type": "string"
|
|
1100
|
+
}
|
|
1101
|
+
}
|
|
1102
|
+
},
|
|
1103
|
+
"required": [
|
|
1104
|
+
"dimension",
|
|
1105
|
+
"wowok",
|
|
1106
|
+
"traditional",
|
|
1107
|
+
"wowok_evidence"
|
|
1108
|
+
],
|
|
1109
|
+
"additionalProperties": false
|
|
1110
|
+
},
|
|
1111
|
+
"description": "Take-rate comparisons the template's declared keys can back."
|
|
1112
|
+
}
|
|
1113
|
+
},
|
|
1114
|
+
"required": [
|
|
1115
|
+
"flow",
|
|
1116
|
+
"fund_speed",
|
|
1117
|
+
"model",
|
|
1118
|
+
"vs_traditional"
|
|
1119
|
+
],
|
|
1120
|
+
"additionalProperties": false,
|
|
1121
|
+
"description": "WHAT the product does and how it compares."
|
|
1122
|
+
},
|
|
1123
|
+
"cost": {
|
|
1124
|
+
"type": "object",
|
|
1125
|
+
"properties": {
|
|
1126
|
+
"platform_fee": {
|
|
1127
|
+
"type": "object",
|
|
1128
|
+
"properties": {
|
|
1129
|
+
"bps": {
|
|
1130
|
+
"type": "number"
|
|
1131
|
+
},
|
|
1132
|
+
"cap_bps": {},
|
|
1133
|
+
"self_platform": {
|
|
1134
|
+
"type": "string"
|
|
1135
|
+
},
|
|
1136
|
+
"evidence": {
|
|
1137
|
+
"type": "array",
|
|
1138
|
+
"items": {}
|
|
1139
|
+
}
|
|
1140
|
+
},
|
|
1141
|
+
"required": [
|
|
1142
|
+
"bps",
|
|
1143
|
+
"cap_bps",
|
|
1144
|
+
"self_platform",
|
|
1145
|
+
"evidence"
|
|
1146
|
+
],
|
|
1147
|
+
"additionalProperties": false
|
|
1148
|
+
},
|
|
1149
|
+
"gas_objects_estimate": {
|
|
1150
|
+
"type": "object",
|
|
1151
|
+
"properties": {
|
|
1152
|
+
"value": {
|
|
1153
|
+
"type": "number"
|
|
1154
|
+
},
|
|
1155
|
+
"basis": {
|
|
1156
|
+
"type": "string"
|
|
1157
|
+
}
|
|
1158
|
+
},
|
|
1159
|
+
"required": [
|
|
1160
|
+
"value",
|
|
1161
|
+
"basis"
|
|
1162
|
+
],
|
|
1163
|
+
"additionalProperties": false
|
|
1164
|
+
},
|
|
1165
|
+
"compensation_fund": {
|
|
1166
|
+
"type": "object",
|
|
1167
|
+
"properties": {
|
|
1168
|
+
"policy": {
|
|
1169
|
+
"type": "string",
|
|
1170
|
+
"enum": [
|
|
1171
|
+
"allowed",
|
|
1172
|
+
"forbidden"
|
|
1173
|
+
]
|
|
1174
|
+
},
|
|
1175
|
+
"note": {
|
|
1176
|
+
"type": "string"
|
|
1177
|
+
}
|
|
1178
|
+
},
|
|
1179
|
+
"required": [
|
|
1180
|
+
"policy",
|
|
1181
|
+
"note"
|
|
1182
|
+
],
|
|
1183
|
+
"additionalProperties": false
|
|
1184
|
+
},
|
|
1185
|
+
"keeper_dependencies": {
|
|
1186
|
+
"type": "array",
|
|
1187
|
+
"items": {
|
|
1188
|
+
"type": "string"
|
|
1189
|
+
}
|
|
1190
|
+
}
|
|
1191
|
+
},
|
|
1192
|
+
"required": [
|
|
1193
|
+
"platform_fee",
|
|
1194
|
+
"gas_objects_estimate",
|
|
1195
|
+
"compensation_fund",
|
|
1196
|
+
"keeper_dependencies"
|
|
1197
|
+
],
|
|
1198
|
+
"additionalProperties": false,
|
|
1199
|
+
"description": "WHAT it costs to run."
|
|
1200
|
+
},
|
|
1201
|
+
"params": {
|
|
1202
|
+
"type": "object",
|
|
1203
|
+
"properties": {
|
|
1204
|
+
"total": {
|
|
1205
|
+
"type": "number"
|
|
1206
|
+
},
|
|
1207
|
+
"editable": {
|
|
1208
|
+
"type": "number"
|
|
1209
|
+
},
|
|
1210
|
+
"live": {
|
|
1211
|
+
"type": "number"
|
|
1212
|
+
},
|
|
1213
|
+
"groups": {
|
|
1214
|
+
"type": "array",
|
|
1215
|
+
"items": {
|
|
1216
|
+
"type": "object",
|
|
1217
|
+
"properties": {
|
|
1218
|
+
"group": {
|
|
1219
|
+
"type": "string"
|
|
1220
|
+
},
|
|
1221
|
+
"tier": {
|
|
1222
|
+
"type": "number"
|
|
1223
|
+
},
|
|
1224
|
+
"count": {
|
|
1225
|
+
"type": "number"
|
|
1226
|
+
}
|
|
1227
|
+
},
|
|
1228
|
+
"required": [
|
|
1229
|
+
"group",
|
|
1230
|
+
"tier",
|
|
1231
|
+
"count"
|
|
1232
|
+
],
|
|
1233
|
+
"additionalProperties": false
|
|
1234
|
+
},
|
|
1235
|
+
"description": "Business-order groups, tier ascending (1 = money & admission)."
|
|
1236
|
+
},
|
|
1237
|
+
"full_rows_via": {
|
|
1238
|
+
"type": "string",
|
|
1239
|
+
"description": "Pointer to the full row surface (never duplicated here)."
|
|
1240
|
+
}
|
|
1241
|
+
},
|
|
1242
|
+
"required": [
|
|
1243
|
+
"total",
|
|
1244
|
+
"editable",
|
|
1245
|
+
"live",
|
|
1246
|
+
"groups",
|
|
1247
|
+
"full_rows_via"
|
|
1248
|
+
],
|
|
1249
|
+
"additionalProperties": false,
|
|
1250
|
+
"description": "WHAT the merchant can set (summary; full rows via layer='params')."
|
|
1251
|
+
},
|
|
1252
|
+
"risks": {
|
|
1253
|
+
"type": "object",
|
|
1254
|
+
"properties": {
|
|
1255
|
+
"key_risk": {
|
|
1256
|
+
"type": "string"
|
|
1257
|
+
},
|
|
1258
|
+
"differences": {
|
|
1259
|
+
"type": "array",
|
|
1260
|
+
"items": {
|
|
1261
|
+
"type": "string"
|
|
1262
|
+
}
|
|
1263
|
+
},
|
|
1264
|
+
"user_inputs": {
|
|
1265
|
+
"type": "array",
|
|
1266
|
+
"items": {
|
|
1267
|
+
"type": "string"
|
|
1268
|
+
}
|
|
1269
|
+
},
|
|
1270
|
+
"capability_risks": {
|
|
1271
|
+
"type": "array",
|
|
1272
|
+
"items": {
|
|
1273
|
+
"type": "string"
|
|
1274
|
+
},
|
|
1275
|
+
"description": "Empty until the Binding Table lands (M2+) — never faked."
|
|
1276
|
+
},
|
|
1277
|
+
"capability_risks_note": {
|
|
1278
|
+
"type": "string"
|
|
1279
|
+
}
|
|
1280
|
+
},
|
|
1281
|
+
"required": [
|
|
1282
|
+
"key_risk",
|
|
1283
|
+
"differences",
|
|
1284
|
+
"user_inputs",
|
|
1285
|
+
"capability_risks",
|
|
1286
|
+
"capability_risks_note"
|
|
1287
|
+
],
|
|
1288
|
+
"additionalProperties": false,
|
|
1289
|
+
"description": "WHAT can go wrong (template-declared only)."
|
|
1290
|
+
},
|
|
1291
|
+
"templates_version": {
|
|
1292
|
+
"type": "number"
|
|
1293
|
+
}
|
|
1294
|
+
},
|
|
1295
|
+
"required": [
|
|
1296
|
+
"action",
|
|
1297
|
+
"alignment",
|
|
1298
|
+
"features",
|
|
1299
|
+
"cost",
|
|
1300
|
+
"params",
|
|
1301
|
+
"risks",
|
|
1302
|
+
"templates_version"
|
|
1303
|
+
],
|
|
1304
|
+
"additionalProperties": false
|
|
1305
|
+
},
|
|
536
1306
|
{
|
|
537
1307
|
"type": "object",
|
|
538
1308
|
"properties": {
|