@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
|
@@ -513,6 +513,173 @@
|
|
|
513
513
|
],
|
|
514
514
|
"additionalProperties": false
|
|
515
515
|
},
|
|
516
|
+
{
|
|
517
|
+
"type": "object",
|
|
518
|
+
"properties": {
|
|
519
|
+
"action": {
|
|
520
|
+
"type": "string",
|
|
521
|
+
"const": "compose_generation"
|
|
522
|
+
},
|
|
523
|
+
"feasibility": {
|
|
524
|
+
"type": "string",
|
|
525
|
+
"enum": [
|
|
526
|
+
"ready",
|
|
527
|
+
"infeasible"
|
|
528
|
+
],
|
|
529
|
+
"description": "ready = a materializable multi-object Plan was produced; infeasible = NO plan is returned (an unverified plan never leaks) — read `blockers` for the full diagnosis."
|
|
530
|
+
},
|
|
531
|
+
"chain": {
|
|
532
|
+
"description": "The matched pilot scenario chain (e.g. 'chain.data_subscription'). Absent when infeasible.",
|
|
533
|
+
"type": "string"
|
|
534
|
+
},
|
|
535
|
+
"carrier": {
|
|
536
|
+
"description": "The carrier template id the chain mapped onto (a template = module preset). Absent when infeasible.",
|
|
537
|
+
"type": "string"
|
|
538
|
+
},
|
|
539
|
+
"pilot_chains": {
|
|
540
|
+
"type": "array",
|
|
541
|
+
"items": {
|
|
542
|
+
"type": "string"
|
|
543
|
+
},
|
|
544
|
+
"description": "The pilot boundary: the ONLY chains the G-A generator carries today — an adopted set outside them is COMPOSE-CHAIN-UNMAPPED, honestly disclosed."
|
|
545
|
+
},
|
|
546
|
+
"adopted": {
|
|
547
|
+
"type": "array",
|
|
548
|
+
"items": {
|
|
549
|
+
"type": "object",
|
|
550
|
+
"properties": {
|
|
551
|
+
"id": {
|
|
552
|
+
"type": "string",
|
|
553
|
+
"description": "Adopted capability id."
|
|
554
|
+
},
|
|
555
|
+
"via": {
|
|
556
|
+
"type": "string",
|
|
557
|
+
"enum": [
|
|
558
|
+
"selection",
|
|
559
|
+
"intent_signal"
|
|
560
|
+
],
|
|
561
|
+
"description": "selection = merchant-confirmed; intent_signal = evidence-gated signal match on the intent text."
|
|
562
|
+
},
|
|
563
|
+
"matched_signals": {
|
|
564
|
+
"description": "The intent-signal patterns that matched (present when via='intent_signal' — falsifiable hit evidence).",
|
|
565
|
+
"type": "array",
|
|
566
|
+
"items": {
|
|
567
|
+
"type": "string"
|
|
568
|
+
}
|
|
569
|
+
},
|
|
570
|
+
"signals_tested": {
|
|
571
|
+
"description": "Number of intent-signal patterns tested (present when via='intent_signal').",
|
|
572
|
+
"type": "integer",
|
|
573
|
+
"minimum": 0,
|
|
574
|
+
"maximum": 9007199254740991
|
|
575
|
+
}
|
|
576
|
+
},
|
|
577
|
+
"required": [
|
|
578
|
+
"id",
|
|
579
|
+
"via"
|
|
580
|
+
],
|
|
581
|
+
"additionalProperties": false
|
|
582
|
+
},
|
|
583
|
+
"description": "The evidence-gated adoption set (industry/pain scores NEVER adopt)."
|
|
584
|
+
},
|
|
585
|
+
"blockers": {
|
|
586
|
+
"type": "array",
|
|
587
|
+
"items": {
|
|
588
|
+
"type": "object",
|
|
589
|
+
"properties": {
|
|
590
|
+
"code": {
|
|
591
|
+
"type": "string"
|
|
592
|
+
},
|
|
593
|
+
"detail": {
|
|
594
|
+
"type": "string"
|
|
595
|
+
}
|
|
596
|
+
},
|
|
597
|
+
"required": [
|
|
598
|
+
"code",
|
|
599
|
+
"detail"
|
|
600
|
+
],
|
|
601
|
+
"additionalProperties": false
|
|
602
|
+
},
|
|
603
|
+
"description": "Lattice + compile + audit blockers; non-empty = infeasible. Codes: COMPOSE-UNKNOWN-CAPABILITY / COMPOSE-REQUIRES-MISSING / COMPOSE-EXCLUDES-CONFLICT / COMPOSE-NO-CAPABILITY-EVIDENCE / COMPOSE-CHAIN-UNMAPPED / COMPOSE-CARRIER-UNKNOWN / REVIEW-<rule_id> (reflux audit finding)."
|
|
604
|
+
},
|
|
605
|
+
"plan": {
|
|
606
|
+
"description": "ready ONLY: the multi-object Plan (Service+Machine+Guard+... steps). Pass it VERBATIM as `plan` to benchmark_migration_operation action='plan_execute' — never hand-mutate steps. Stamped with catalog_version; plan_execute refuses a plan from a stale catalog.",
|
|
607
|
+
"type": "object",
|
|
608
|
+
"propertyNames": {
|
|
609
|
+
"type": "string"
|
|
610
|
+
},
|
|
611
|
+
"additionalProperties": {}
|
|
612
|
+
},
|
|
613
|
+
"audit": {
|
|
614
|
+
"description": "ready ONLY: the reflux audit summary over the generated plan.",
|
|
615
|
+
"type": "object",
|
|
616
|
+
"properties": {
|
|
617
|
+
"blocking": {
|
|
618
|
+
"type": "boolean",
|
|
619
|
+
"description": "false = the plan passed the reflux audit."
|
|
620
|
+
},
|
|
621
|
+
"findings": {
|
|
622
|
+
"type": "array",
|
|
623
|
+
"items": {
|
|
624
|
+
"type": "object",
|
|
625
|
+
"properties": {
|
|
626
|
+
"level": {
|
|
627
|
+
"type": "string",
|
|
628
|
+
"description": "Finding level (e.g. 'medium' / 'low')."
|
|
629
|
+
},
|
|
630
|
+
"rule_id": {
|
|
631
|
+
"type": "string",
|
|
632
|
+
"description": "Audit rule id."
|
|
633
|
+
},
|
|
634
|
+
"title": {
|
|
635
|
+
"type": "string",
|
|
636
|
+
"description": "One-line finding title."
|
|
637
|
+
}
|
|
638
|
+
},
|
|
639
|
+
"required": [
|
|
640
|
+
"level",
|
|
641
|
+
"rule_id",
|
|
642
|
+
"title"
|
|
643
|
+
],
|
|
644
|
+
"additionalProperties": false
|
|
645
|
+
},
|
|
646
|
+
"description": "Non-blocking findings worth reading before materializing (blocking ones surfaced as REVIEW-* blockers instead)."
|
|
647
|
+
}
|
|
648
|
+
},
|
|
649
|
+
"required": [
|
|
650
|
+
"blocking",
|
|
651
|
+
"findings"
|
|
652
|
+
],
|
|
653
|
+
"additionalProperties": false
|
|
654
|
+
},
|
|
655
|
+
"templates_version": {
|
|
656
|
+
"type": "integer",
|
|
657
|
+
"minimum": -9007199254740991,
|
|
658
|
+
"maximum": 9007199254740991,
|
|
659
|
+
"description": "The template catalog sentinel the generation ran against."
|
|
660
|
+
},
|
|
661
|
+
"supply_chain": {
|
|
662
|
+
"description": "Present when procurement promises landed in the plan: the per-promise emission disclosure (steps / inputs / on-chain primitives / merchant-duty notes).",
|
|
663
|
+
"type": "array",
|
|
664
|
+
"items": {
|
|
665
|
+
"type": "object",
|
|
666
|
+
"propertyNames": {
|
|
667
|
+
"type": "string"
|
|
668
|
+
},
|
|
669
|
+
"additionalProperties": {}
|
|
670
|
+
}
|
|
671
|
+
}
|
|
672
|
+
},
|
|
673
|
+
"required": [
|
|
674
|
+
"action",
|
|
675
|
+
"feasibility",
|
|
676
|
+
"pilot_chains",
|
|
677
|
+
"adopted",
|
|
678
|
+
"blockers",
|
|
679
|
+
"templates_version"
|
|
680
|
+
],
|
|
681
|
+
"additionalProperties": false
|
|
682
|
+
},
|
|
516
683
|
{
|
|
517
684
|
"type": "object",
|
|
518
685
|
"properties": {
|
|
@@ -608,6 +775,32 @@
|
|
|
608
775
|
},
|
|
609
776
|
"owner": {
|
|
610
777
|
"type": "string"
|
|
778
|
+
},
|
|
779
|
+
"order_allocators": {},
|
|
780
|
+
"buyer_feedback": {
|
|
781
|
+
"type": "object",
|
|
782
|
+
"properties": {
|
|
783
|
+
"total": {
|
|
784
|
+
"type": "integer",
|
|
785
|
+
"minimum": 0,
|
|
786
|
+
"maximum": 9007199254740991
|
|
787
|
+
},
|
|
788
|
+
"likes": {
|
|
789
|
+
"type": "integer",
|
|
790
|
+
"minimum": 0,
|
|
791
|
+
"maximum": 9007199254740991
|
|
792
|
+
},
|
|
793
|
+
"completed_orders": {
|
|
794
|
+
"type": "integer",
|
|
795
|
+
"minimum": 0,
|
|
796
|
+
"maximum": 9007199254740991
|
|
797
|
+
}
|
|
798
|
+
},
|
|
799
|
+
"required": [
|
|
800
|
+
"total",
|
|
801
|
+
"likes"
|
|
802
|
+
],
|
|
803
|
+
"additionalProperties": false
|
|
611
804
|
}
|
|
612
805
|
},
|
|
613
806
|
"required": [
|
|
@@ -715,6 +908,35 @@
|
|
|
715
908
|
"type": "string"
|
|
716
909
|
}
|
|
717
910
|
},
|
|
911
|
+
"red_flag_basis": {
|
|
912
|
+
"description": "Evidence-basis classification of each red flag (same order/length as red_flags when present).",
|
|
913
|
+
"type": "array",
|
|
914
|
+
"items": {
|
|
915
|
+
"type": "object",
|
|
916
|
+
"properties": {
|
|
917
|
+
"flag": {
|
|
918
|
+
"type": "string",
|
|
919
|
+
"description": "The flag text (identical to the corresponding red_flags entry)."
|
|
920
|
+
},
|
|
921
|
+
"basis": {
|
|
922
|
+
"type": "string",
|
|
923
|
+
"enum": [
|
|
924
|
+
"object_defect",
|
|
925
|
+
"requirement_unmet"
|
|
926
|
+
]
|
|
927
|
+
},
|
|
928
|
+
"rule_id": {
|
|
929
|
+
"description": "The rule that fired (object_defect) or the clause target (requirement_unmet).",
|
|
930
|
+
"type": "string"
|
|
931
|
+
}
|
|
932
|
+
},
|
|
933
|
+
"required": [
|
|
934
|
+
"flag",
|
|
935
|
+
"basis"
|
|
936
|
+
],
|
|
937
|
+
"additionalProperties": false
|
|
938
|
+
}
|
|
939
|
+
},
|
|
718
940
|
"blocked": {
|
|
719
941
|
"type": "boolean"
|
|
720
942
|
},
|
|
@@ -852,7 +1074,7 @@
|
|
|
852
1074
|
"properties": {
|
|
853
1075
|
"operation": {
|
|
854
1076
|
"type": "string",
|
|
855
|
-
"description": "Next on-chain operation label: demand.present | demand.present_guarded | demand.publish | service.order_new."
|
|
1077
|
+
"description": "Next on-chain operation label: demand.present | demand.present_guarded | demand.publish | service.order_new | demand.feedback | demand.await_presenters (the last two are F-RQ-06 live-state derivations)."
|
|
856
1078
|
},
|
|
857
1079
|
"operation_type": {
|
|
858
1080
|
"type": "string",
|
|
@@ -872,6 +1094,32 @@
|
|
|
872
1094
|
"rationale": {
|
|
873
1095
|
"type": "string",
|
|
874
1096
|
"description": "Stable guidance describing the order-formation path."
|
|
1097
|
+
},
|
|
1098
|
+
"state": {
|
|
1099
|
+
"description": "F-RQ-06 (prescription ⑫): present ONLY when `next` was derived from a LIVE on-chain Demand read (demand_match demand_object) — presenters_count is the match-time chain value; null = live read failed (verify-first gate). Absent = static template bridge, no live state consulted.",
|
|
1100
|
+
"type": "object",
|
|
1101
|
+
"properties": {
|
|
1102
|
+
"demand_object": {
|
|
1103
|
+
"type": "string"
|
|
1104
|
+
},
|
|
1105
|
+
"presenters_count": {
|
|
1106
|
+
"anyOf": [
|
|
1107
|
+
{
|
|
1108
|
+
"type": "integer",
|
|
1109
|
+
"minimum": 0,
|
|
1110
|
+
"maximum": 9007199254740991
|
|
1111
|
+
},
|
|
1112
|
+
{
|
|
1113
|
+
"type": "null"
|
|
1114
|
+
}
|
|
1115
|
+
]
|
|
1116
|
+
}
|
|
1117
|
+
},
|
|
1118
|
+
"required": [
|
|
1119
|
+
"demand_object",
|
|
1120
|
+
"presenters_count"
|
|
1121
|
+
],
|
|
1122
|
+
"additionalProperties": false
|
|
875
1123
|
}
|
|
876
1124
|
},
|
|
877
1125
|
"required": [
|
|
@@ -887,7 +1135,7 @@
|
|
|
887
1135
|
"properties": {
|
|
888
1136
|
"operation": {
|
|
889
1137
|
"type": "string",
|
|
890
|
-
"description": "Next on-chain operation label: demand.present | demand.present_guarded | demand.publish | service.order_new."
|
|
1138
|
+
"description": "Next on-chain operation label: demand.present | demand.present_guarded | demand.publish | service.order_new | demand.feedback | demand.await_presenters (the last two are F-RQ-06 live-state derivations)."
|
|
891
1139
|
},
|
|
892
1140
|
"operation_type": {
|
|
893
1141
|
"type": "string",
|
|
@@ -907,6 +1155,32 @@
|
|
|
907
1155
|
"rationale": {
|
|
908
1156
|
"type": "string",
|
|
909
1157
|
"description": "Stable guidance describing the order-formation path."
|
|
1158
|
+
},
|
|
1159
|
+
"state": {
|
|
1160
|
+
"description": "F-RQ-06 (prescription ⑫): present ONLY when `next` was derived from a LIVE on-chain Demand read (demand_match demand_object) — presenters_count is the match-time chain value; null = live read failed (verify-first gate). Absent = static template bridge, no live state consulted.",
|
|
1161
|
+
"type": "object",
|
|
1162
|
+
"properties": {
|
|
1163
|
+
"demand_object": {
|
|
1164
|
+
"type": "string"
|
|
1165
|
+
},
|
|
1166
|
+
"presenters_count": {
|
|
1167
|
+
"anyOf": [
|
|
1168
|
+
{
|
|
1169
|
+
"type": "integer",
|
|
1170
|
+
"minimum": 0,
|
|
1171
|
+
"maximum": 9007199254740991
|
|
1172
|
+
},
|
|
1173
|
+
{
|
|
1174
|
+
"type": "null"
|
|
1175
|
+
}
|
|
1176
|
+
]
|
|
1177
|
+
}
|
|
1178
|
+
},
|
|
1179
|
+
"required": [
|
|
1180
|
+
"demand_object",
|
|
1181
|
+
"presenters_count"
|
|
1182
|
+
],
|
|
1183
|
+
"additionalProperties": false
|
|
910
1184
|
}
|
|
911
1185
|
},
|
|
912
1186
|
"required": [
|
|
@@ -1085,6 +1359,35 @@
|
|
|
1085
1359
|
"type": "string"
|
|
1086
1360
|
}
|
|
1087
1361
|
},
|
|
1362
|
+
"red_flag_basis": {
|
|
1363
|
+
"description": "Evidence-basis classification of each red flag (same order/length as red_flags when present).",
|
|
1364
|
+
"type": "array",
|
|
1365
|
+
"items": {
|
|
1366
|
+
"type": "object",
|
|
1367
|
+
"properties": {
|
|
1368
|
+
"flag": {
|
|
1369
|
+
"type": "string",
|
|
1370
|
+
"description": "The flag text (identical to the corresponding red_flags entry)."
|
|
1371
|
+
},
|
|
1372
|
+
"basis": {
|
|
1373
|
+
"type": "string",
|
|
1374
|
+
"enum": [
|
|
1375
|
+
"object_defect",
|
|
1376
|
+
"requirement_unmet"
|
|
1377
|
+
]
|
|
1378
|
+
},
|
|
1379
|
+
"rule_id": {
|
|
1380
|
+
"description": "The rule that fired (object_defect) or the clause target (requirement_unmet).",
|
|
1381
|
+
"type": "string"
|
|
1382
|
+
}
|
|
1383
|
+
},
|
|
1384
|
+
"required": [
|
|
1385
|
+
"flag",
|
|
1386
|
+
"basis"
|
|
1387
|
+
],
|
|
1388
|
+
"additionalProperties": false
|
|
1389
|
+
}
|
|
1390
|
+
},
|
|
1088
1391
|
"blocked": {
|
|
1089
1392
|
"type": "boolean"
|
|
1090
1393
|
},
|
|
@@ -1222,7 +1525,7 @@
|
|
|
1222
1525
|
"properties": {
|
|
1223
1526
|
"operation": {
|
|
1224
1527
|
"type": "string",
|
|
1225
|
-
"description": "Next on-chain operation label: demand.present | demand.present_guarded | demand.publish | service.order_new."
|
|
1528
|
+
"description": "Next on-chain operation label: demand.present | demand.present_guarded | demand.publish | service.order_new | demand.feedback | demand.await_presenters (the last two are F-RQ-06 live-state derivations)."
|
|
1226
1529
|
},
|
|
1227
1530
|
"operation_type": {
|
|
1228
1531
|
"type": "string",
|
|
@@ -1242,6 +1545,32 @@
|
|
|
1242
1545
|
"rationale": {
|
|
1243
1546
|
"type": "string",
|
|
1244
1547
|
"description": "Stable guidance describing the order-formation path."
|
|
1548
|
+
},
|
|
1549
|
+
"state": {
|
|
1550
|
+
"description": "F-RQ-06 (prescription ⑫): present ONLY when `next` was derived from a LIVE on-chain Demand read (demand_match demand_object) — presenters_count is the match-time chain value; null = live read failed (verify-first gate). Absent = static template bridge, no live state consulted.",
|
|
1551
|
+
"type": "object",
|
|
1552
|
+
"properties": {
|
|
1553
|
+
"demand_object": {
|
|
1554
|
+
"type": "string"
|
|
1555
|
+
},
|
|
1556
|
+
"presenters_count": {
|
|
1557
|
+
"anyOf": [
|
|
1558
|
+
{
|
|
1559
|
+
"type": "integer",
|
|
1560
|
+
"minimum": 0,
|
|
1561
|
+
"maximum": 9007199254740991
|
|
1562
|
+
},
|
|
1563
|
+
{
|
|
1564
|
+
"type": "null"
|
|
1565
|
+
}
|
|
1566
|
+
]
|
|
1567
|
+
}
|
|
1568
|
+
},
|
|
1569
|
+
"required": [
|
|
1570
|
+
"demand_object",
|
|
1571
|
+
"presenters_count"
|
|
1572
|
+
],
|
|
1573
|
+
"additionalProperties": false
|
|
1245
1574
|
}
|
|
1246
1575
|
},
|
|
1247
1576
|
"required": [
|
|
@@ -1713,6 +2042,14 @@
|
|
|
1713
2042
|
"type": "boolean",
|
|
1714
2043
|
"description": "True = enumeration truncated at max_objects (partial universe)."
|
|
1715
2044
|
},
|
|
2045
|
+
"match_route": {
|
|
2046
|
+
"description": "Demand recall source: remote_index = one-shot /v1/match?kind=Demand recall with payloads attached (K5-10 §4.2); legacy_enumeration = full on-chain/GraphQL enumeration (also the honest degrade path, stamped MATCH_INDEX_FALLBACK in coverage).",
|
|
2047
|
+
"type": "string",
|
|
2048
|
+
"enum": [
|
|
2049
|
+
"remote_index",
|
|
2050
|
+
"legacy_enumeration"
|
|
2051
|
+
]
|
|
2052
|
+
},
|
|
1716
2053
|
"coverage": {
|
|
1717
2054
|
"type": "object",
|
|
1718
2055
|
"properties": {
|
|
@@ -1778,6 +2115,17 @@
|
|
|
1778
2115
|
"type": "string",
|
|
1779
2116
|
"description": "sha256 of the canonical policy JSON — local reproducibility fingerprint, never uploaded."
|
|
1780
2117
|
},
|
|
2118
|
+
"policy_source": {
|
|
2119
|
+
"type": "string",
|
|
2120
|
+
"enum": [
|
|
2121
|
+
"factory_defaults",
|
|
2122
|
+
"system_persona",
|
|
2123
|
+
"general_file",
|
|
2124
|
+
"account_persona",
|
|
2125
|
+
"request"
|
|
2126
|
+
],
|
|
2127
|
+
"description": "Which layer supplied the policy (lowest → highest: engine defaults < system persona < match-policy.json < account persona < request/Prompt). factory_defaults never appears here — with no stored policy there is no policy_effect; the standing judgment `match` defaults rule instead."
|
|
2128
|
+
},
|
|
1781
2129
|
"unknown_policy": {
|
|
1782
2130
|
"type": "string",
|
|
1783
2131
|
"enum": [
|
|
@@ -1864,6 +2212,7 @@
|
|
|
1864
2212
|
"policy_id",
|
|
1865
2213
|
"direction",
|
|
1866
2214
|
"policy_hash",
|
|
2215
|
+
"policy_source",
|
|
1867
2216
|
"unknown_policy",
|
|
1868
2217
|
"dropped",
|
|
1869
2218
|
"unknown_kept",
|
|
@@ -2035,6 +2384,35 @@
|
|
|
2035
2384
|
"type": "string"
|
|
2036
2385
|
}
|
|
2037
2386
|
},
|
|
2387
|
+
"red_flag_basis": {
|
|
2388
|
+
"description": "Evidence-basis classification of each red flag (same order/length as red_flags when present).",
|
|
2389
|
+
"type": "array",
|
|
2390
|
+
"items": {
|
|
2391
|
+
"type": "object",
|
|
2392
|
+
"properties": {
|
|
2393
|
+
"flag": {
|
|
2394
|
+
"type": "string",
|
|
2395
|
+
"description": "The flag text (identical to the corresponding red_flags entry)."
|
|
2396
|
+
},
|
|
2397
|
+
"basis": {
|
|
2398
|
+
"type": "string",
|
|
2399
|
+
"enum": [
|
|
2400
|
+
"object_defect",
|
|
2401
|
+
"requirement_unmet"
|
|
2402
|
+
]
|
|
2403
|
+
},
|
|
2404
|
+
"rule_id": {
|
|
2405
|
+
"description": "The rule that fired (object_defect) or the clause target (requirement_unmet).",
|
|
2406
|
+
"type": "string"
|
|
2407
|
+
}
|
|
2408
|
+
},
|
|
2409
|
+
"required": [
|
|
2410
|
+
"flag",
|
|
2411
|
+
"basis"
|
|
2412
|
+
],
|
|
2413
|
+
"additionalProperties": false
|
|
2414
|
+
}
|
|
2415
|
+
},
|
|
2038
2416
|
"blocked": {
|
|
2039
2417
|
"type": "boolean"
|
|
2040
2418
|
},
|
|
@@ -2172,7 +2550,7 @@
|
|
|
2172
2550
|
"properties": {
|
|
2173
2551
|
"operation": {
|
|
2174
2552
|
"type": "string",
|
|
2175
|
-
"description": "Next on-chain operation label: demand.present | demand.present_guarded | demand.publish | service.order_new."
|
|
2553
|
+
"description": "Next on-chain operation label: demand.present | demand.present_guarded | demand.publish | service.order_new | demand.feedback | demand.await_presenters (the last two are F-RQ-06 live-state derivations)."
|
|
2176
2554
|
},
|
|
2177
2555
|
"operation_type": {
|
|
2178
2556
|
"type": "string",
|
|
@@ -2192,6 +2570,32 @@
|
|
|
2192
2570
|
"rationale": {
|
|
2193
2571
|
"type": "string",
|
|
2194
2572
|
"description": "Stable guidance describing the order-formation path."
|
|
2573
|
+
},
|
|
2574
|
+
"state": {
|
|
2575
|
+
"description": "F-RQ-06 (prescription ⑫): present ONLY when `next` was derived from a LIVE on-chain Demand read (demand_match demand_object) — presenters_count is the match-time chain value; null = live read failed (verify-first gate). Absent = static template bridge, no live state consulted.",
|
|
2576
|
+
"type": "object",
|
|
2577
|
+
"properties": {
|
|
2578
|
+
"demand_object": {
|
|
2579
|
+
"type": "string"
|
|
2580
|
+
},
|
|
2581
|
+
"presenters_count": {
|
|
2582
|
+
"anyOf": [
|
|
2583
|
+
{
|
|
2584
|
+
"type": "integer",
|
|
2585
|
+
"minimum": 0,
|
|
2586
|
+
"maximum": 9007199254740991
|
|
2587
|
+
},
|
|
2588
|
+
{
|
|
2589
|
+
"type": "null"
|
|
2590
|
+
}
|
|
2591
|
+
]
|
|
2592
|
+
}
|
|
2593
|
+
},
|
|
2594
|
+
"required": [
|
|
2595
|
+
"demand_object",
|
|
2596
|
+
"presenters_count"
|
|
2597
|
+
],
|
|
2598
|
+
"additionalProperties": false
|
|
2195
2599
|
}
|
|
2196
2600
|
},
|
|
2197
2601
|
"required": [
|
|
@@ -2222,6 +2626,14 @@
|
|
|
2222
2626
|
"type": "boolean",
|
|
2223
2627
|
"description": "True = enumeration truncated at max_objects (partial universe)."
|
|
2224
2628
|
},
|
|
2629
|
+
"match_route": {
|
|
2630
|
+
"description": "Demand recall source: remote_index = one-shot /v1/match?kind=Demand recall with payloads attached (K5-10 §4.2); legacy_enumeration = full on-chain/GraphQL enumeration (also the honest degrade path, stamped MATCH_INDEX_FALLBACK in coverage).",
|
|
2631
|
+
"type": "string",
|
|
2632
|
+
"enum": [
|
|
2633
|
+
"remote_index",
|
|
2634
|
+
"legacy_enumeration"
|
|
2635
|
+
]
|
|
2636
|
+
},
|
|
2225
2637
|
"coverage": {
|
|
2226
2638
|
"type": "object",
|
|
2227
2639
|
"properties": {
|
|
@@ -2287,6 +2699,17 @@
|
|
|
2287
2699
|
"type": "string",
|
|
2288
2700
|
"description": "sha256 of the canonical policy JSON — local reproducibility fingerprint, never uploaded."
|
|
2289
2701
|
},
|
|
2702
|
+
"policy_source": {
|
|
2703
|
+
"type": "string",
|
|
2704
|
+
"enum": [
|
|
2705
|
+
"factory_defaults",
|
|
2706
|
+
"system_persona",
|
|
2707
|
+
"general_file",
|
|
2708
|
+
"account_persona",
|
|
2709
|
+
"request"
|
|
2710
|
+
],
|
|
2711
|
+
"description": "Which layer supplied the policy (lowest → highest: engine defaults < system persona < match-policy.json < account persona < request/Prompt). factory_defaults never appears here — with no stored policy there is no policy_effect; the standing judgment `match` defaults rule instead."
|
|
2712
|
+
},
|
|
2290
2713
|
"unknown_policy": {
|
|
2291
2714
|
"type": "string",
|
|
2292
2715
|
"enum": [
|
|
@@ -2373,6 +2796,7 @@
|
|
|
2373
2796
|
"policy_id",
|
|
2374
2797
|
"direction",
|
|
2375
2798
|
"policy_hash",
|
|
2799
|
+
"policy_source",
|
|
2376
2800
|
"unknown_policy",
|
|
2377
2801
|
"dropped",
|
|
2378
2802
|
"unknown_kept",
|
|
@@ -2824,6 +3248,38 @@
|
|
|
2824
3248
|
"legacy_enumeration"
|
|
2825
3249
|
]
|
|
2826
3250
|
},
|
|
3251
|
+
"location_gate": {
|
|
3252
|
+
"type": "object",
|
|
3253
|
+
"properties": {
|
|
3254
|
+
"passed": {
|
|
3255
|
+
"type": "integer",
|
|
3256
|
+
"minimum": 0,
|
|
3257
|
+
"maximum": 9007199254740991,
|
|
3258
|
+
"description": "Services that passed the location gate."
|
|
3259
|
+
},
|
|
3260
|
+
"failed": {
|
|
3261
|
+
"type": "integer",
|
|
3262
|
+
"minimum": 0,
|
|
3263
|
+
"maximum": 9007199254740991,
|
|
3264
|
+
"description": "Services the gate excluded."
|
|
3265
|
+
},
|
|
3266
|
+
"fallback_used": {
|
|
3267
|
+
"type": "boolean",
|
|
3268
|
+
"description": "F-RQ-04: true = every service failed the gate and gate-failed services were RETAINED as candidates (presented-supply fallback) so the market is never silently empty."
|
|
3269
|
+
},
|
|
3270
|
+
"note": {
|
|
3271
|
+
"description": "Present when fallback_used: how to read the fallback candidate set.",
|
|
3272
|
+
"type": "string"
|
|
3273
|
+
}
|
|
3274
|
+
},
|
|
3275
|
+
"required": [
|
|
3276
|
+
"passed",
|
|
3277
|
+
"failed",
|
|
3278
|
+
"fallback_used"
|
|
3279
|
+
],
|
|
3280
|
+
"additionalProperties": false,
|
|
3281
|
+
"description": "F-RQ-04 gate visibility: pass/fail counts and fallback state — a zero-pass market is never silent."
|
|
3282
|
+
},
|
|
2827
3283
|
"matches": {
|
|
2828
3284
|
"type": "array",
|
|
2829
3285
|
"items": {
|
|
@@ -2912,6 +3368,32 @@
|
|
|
2912
3368
|
},
|
|
2913
3369
|
"owner": {
|
|
2914
3370
|
"type": "string"
|
|
3371
|
+
},
|
|
3372
|
+
"order_allocators": {},
|
|
3373
|
+
"buyer_feedback": {
|
|
3374
|
+
"type": "object",
|
|
3375
|
+
"properties": {
|
|
3376
|
+
"total": {
|
|
3377
|
+
"type": "integer",
|
|
3378
|
+
"minimum": 0,
|
|
3379
|
+
"maximum": 9007199254740991
|
|
3380
|
+
},
|
|
3381
|
+
"likes": {
|
|
3382
|
+
"type": "integer",
|
|
3383
|
+
"minimum": 0,
|
|
3384
|
+
"maximum": 9007199254740991
|
|
3385
|
+
},
|
|
3386
|
+
"completed_orders": {
|
|
3387
|
+
"type": "integer",
|
|
3388
|
+
"minimum": 0,
|
|
3389
|
+
"maximum": 9007199254740991
|
|
3390
|
+
}
|
|
3391
|
+
},
|
|
3392
|
+
"required": [
|
|
3393
|
+
"total",
|
|
3394
|
+
"likes"
|
|
3395
|
+
],
|
|
3396
|
+
"additionalProperties": false
|
|
2915
3397
|
}
|
|
2916
3398
|
},
|
|
2917
3399
|
"required": [
|
|
@@ -3053,6 +3535,35 @@
|
|
|
3053
3535
|
"type": "string"
|
|
3054
3536
|
}
|
|
3055
3537
|
},
|
|
3538
|
+
"red_flag_basis": {
|
|
3539
|
+
"description": "Evidence-basis classification of each red flag (same order/length as red_flags when present).",
|
|
3540
|
+
"type": "array",
|
|
3541
|
+
"items": {
|
|
3542
|
+
"type": "object",
|
|
3543
|
+
"properties": {
|
|
3544
|
+
"flag": {
|
|
3545
|
+
"type": "string",
|
|
3546
|
+
"description": "The flag text (identical to the corresponding red_flags entry)."
|
|
3547
|
+
},
|
|
3548
|
+
"basis": {
|
|
3549
|
+
"type": "string",
|
|
3550
|
+
"enum": [
|
|
3551
|
+
"object_defect",
|
|
3552
|
+
"requirement_unmet"
|
|
3553
|
+
]
|
|
3554
|
+
},
|
|
3555
|
+
"rule_id": {
|
|
3556
|
+
"description": "The rule that fired (object_defect) or the clause target (requirement_unmet).",
|
|
3557
|
+
"type": "string"
|
|
3558
|
+
}
|
|
3559
|
+
},
|
|
3560
|
+
"required": [
|
|
3561
|
+
"flag",
|
|
3562
|
+
"basis"
|
|
3563
|
+
],
|
|
3564
|
+
"additionalProperties": false
|
|
3565
|
+
}
|
|
3566
|
+
},
|
|
3056
3567
|
"blocked": {
|
|
3057
3568
|
"type": "boolean"
|
|
3058
3569
|
},
|
|
@@ -3371,6 +3882,17 @@
|
|
|
3371
3882
|
"type": "string",
|
|
3372
3883
|
"description": "sha256 of the canonical policy JSON — local reproducibility fingerprint, never uploaded."
|
|
3373
3884
|
},
|
|
3885
|
+
"policy_source": {
|
|
3886
|
+
"type": "string",
|
|
3887
|
+
"enum": [
|
|
3888
|
+
"factory_defaults",
|
|
3889
|
+
"system_persona",
|
|
3890
|
+
"general_file",
|
|
3891
|
+
"account_persona",
|
|
3892
|
+
"request"
|
|
3893
|
+
],
|
|
3894
|
+
"description": "Which layer supplied the policy (lowest → highest: engine defaults < system persona < match-policy.json < account persona < request/Prompt). factory_defaults never appears here — with no stored policy there is no policy_effect; the standing judgment `match` defaults rule instead."
|
|
3895
|
+
},
|
|
3374
3896
|
"unknown_policy": {
|
|
3375
3897
|
"type": "string",
|
|
3376
3898
|
"enum": [
|
|
@@ -3457,6 +3979,7 @@
|
|
|
3457
3979
|
"policy_id",
|
|
3458
3980
|
"direction",
|
|
3459
3981
|
"policy_hash",
|
|
3982
|
+
"policy_source",
|
|
3460
3983
|
"unknown_policy",
|
|
3461
3984
|
"dropped",
|
|
3462
3985
|
"unknown_kept",
|
|
@@ -3473,6 +3996,7 @@
|
|
|
3473
3996
|
"action",
|
|
3474
3997
|
"sensitivity",
|
|
3475
3998
|
"inference_signals",
|
|
3999
|
+
"location_gate",
|
|
3476
4000
|
"matches",
|
|
3477
4001
|
"total_enumerated",
|
|
3478
4002
|
"has_more",
|
|
@@ -3586,6 +4110,35 @@
|
|
|
3586
4110
|
"type": "string"
|
|
3587
4111
|
}
|
|
3588
4112
|
},
|
|
4113
|
+
"red_flag_basis": {
|
|
4114
|
+
"description": "Evidence-basis classification of each red flag (same order/length as red_flags when present).",
|
|
4115
|
+
"type": "array",
|
|
4116
|
+
"items": {
|
|
4117
|
+
"type": "object",
|
|
4118
|
+
"properties": {
|
|
4119
|
+
"flag": {
|
|
4120
|
+
"type": "string",
|
|
4121
|
+
"description": "The flag text (identical to the corresponding red_flags entry)."
|
|
4122
|
+
},
|
|
4123
|
+
"basis": {
|
|
4124
|
+
"type": "string",
|
|
4125
|
+
"enum": [
|
|
4126
|
+
"object_defect",
|
|
4127
|
+
"requirement_unmet"
|
|
4128
|
+
]
|
|
4129
|
+
},
|
|
4130
|
+
"rule_id": {
|
|
4131
|
+
"description": "The rule that fired (object_defect) or the clause target (requirement_unmet).",
|
|
4132
|
+
"type": "string"
|
|
4133
|
+
}
|
|
4134
|
+
},
|
|
4135
|
+
"required": [
|
|
4136
|
+
"flag",
|
|
4137
|
+
"basis"
|
|
4138
|
+
],
|
|
4139
|
+
"additionalProperties": false
|
|
4140
|
+
}
|
|
4141
|
+
},
|
|
3589
4142
|
"blocked": {
|
|
3590
4143
|
"type": "boolean"
|
|
3591
4144
|
},
|
|
@@ -3816,6 +4369,35 @@
|
|
|
3816
4369
|
"type": "string"
|
|
3817
4370
|
}
|
|
3818
4371
|
},
|
|
4372
|
+
"red_flag_basis": {
|
|
4373
|
+
"description": "Evidence-basis classification of each red flag (same order/length as red_flags when present).",
|
|
4374
|
+
"type": "array",
|
|
4375
|
+
"items": {
|
|
4376
|
+
"type": "object",
|
|
4377
|
+
"properties": {
|
|
4378
|
+
"flag": {
|
|
4379
|
+
"type": "string",
|
|
4380
|
+
"description": "The flag text (identical to the corresponding red_flags entry)."
|
|
4381
|
+
},
|
|
4382
|
+
"basis": {
|
|
4383
|
+
"type": "string",
|
|
4384
|
+
"enum": [
|
|
4385
|
+
"object_defect",
|
|
4386
|
+
"requirement_unmet"
|
|
4387
|
+
]
|
|
4388
|
+
},
|
|
4389
|
+
"rule_id": {
|
|
4390
|
+
"description": "The rule that fired (object_defect) or the clause target (requirement_unmet).",
|
|
4391
|
+
"type": "string"
|
|
4392
|
+
}
|
|
4393
|
+
},
|
|
4394
|
+
"required": [
|
|
4395
|
+
"flag",
|
|
4396
|
+
"basis"
|
|
4397
|
+
],
|
|
4398
|
+
"additionalProperties": false
|
|
4399
|
+
}
|
|
4400
|
+
},
|
|
3819
4401
|
"blocked": {
|
|
3820
4402
|
"type": "boolean"
|
|
3821
4403
|
},
|