@wowok/agent-mcp 3.4.4 → 3.4.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/.build-stamp.json +3 -3
- package/dist/chain-semantics/composition-truth.js +1 -1
- package/dist/composition/audit.js +1 -1
- package/dist/composition/compile.js +1 -1
- package/dist/composition/emit-phases.js +1 -1
- package/dist/composition/guard-fill.js +1 -1
- package/dist/composition/input-normalize.js +1 -1
- package/dist/composition/materialize.js +1 -1
- package/dist/composition/mode-gates.js +1 -1
- package/dist/composition/param-disclosure.js +1 -1
- package/dist/composition/plan-run-store.js +1 -0
- package/dist/composition/reflux.js +1 -1
- package/dist/composition/role-bindings.js +1 -0
- package/dist/composition/shape-expand.js +1 -1
- package/dist/composition/supply-chain-emit.js +1 -1
- package/dist/config/judgment.d.ts +13 -25
- package/dist/config/judgment.js +1 -1
- package/dist/config/match-policy-file.js +1 -1
- package/dist/config/rule-engine.d.ts +4 -10
- package/dist/config/rule-engine.js +1 -1
- package/dist/config/template-params.js +1 -1
- package/dist/evaluation/engine.js +1 -1
- package/dist/experience/realtime-feedback.js +1 -1
- package/dist/extensions/capability.js +1 -1
- package/dist/graph/onchain/expand.js +1 -1
- package/dist/graph/onchain/exposure.js +1 -1
- package/dist/harness/forward-roster-preflight.js +1 -0
- package/dist/keeper/detectors.js +1 -1
- package/dist/knowledge/allocator-rail-verifier.js +1 -1
- package/dist/knowledge/arb-operation-face.js +1 -1
- package/dist/knowledge/arbitration-rail-verifier.js +1 -1
- package/dist/knowledge/audit-rules.d.ts +17 -1
- package/dist/knowledge/audit-rules.js +1 -1
- package/dist/knowledge/baselines/rules/alloc_audit.json.good.sha256 +1 -0
- package/dist/knowledge/baselines/rules/allocation.json.good.sha256 +1 -0
- package/dist/knowledge/baselines/rules/arb.json.good.sha256 +1 -0
- package/dist/knowledge/baselines/rules/arbitration.json.good.sha256 +1 -0
- package/dist/knowledge/baselines/rules/bridge.json.good.sha256 +1 -0
- package/dist/knowledge/baselines/rules/contact.json.good.sha256 +1 -0
- package/dist/knowledge/baselines/rules/demand.json.good.sha256 +1 -0
- package/dist/knowledge/baselines/rules/graph.json.good.sha256 +1 -0
- package/dist/knowledge/baselines/rules/guard.json.good.sha256 +1 -0
- package/dist/knowledge/baselines/rules/machine.json.good.sha256 +1 -0
- package/dist/knowledge/baselines/rules/oracle.json.good.sha256 +1 -0
- package/dist/knowledge/baselines/rules/order.json.good.sha256 +1 -0
- package/dist/knowledge/baselines/rules/payment.json.good.sha256 +1 -0
- package/dist/knowledge/baselines/rules/permission.json.good.sha256 +1 -0
- package/dist/knowledge/baselines/rules/personal.json.good.sha256 +1 -0
- package/dist/knowledge/baselines/rules/plan.json +153 -33
- package/dist/knowledge/baselines/rules/plan.json.good +153 -33
- package/dist/knowledge/baselines/rules/plan.json.good.sha256 +1 -0
- package/dist/knowledge/baselines/rules/progress.json.good.sha256 +1 -0
- package/dist/knowledge/baselines/rules/proof.json.good.sha256 +1 -0
- package/dist/knowledge/baselines/rules/registrar.json.good.sha256 +1 -0
- package/dist/knowledge/baselines/rules/repository.json.good.sha256 +1 -0
- package/dist/knowledge/baselines/rules/resource.json.good.sha256 +1 -0
- package/dist/knowledge/baselines/rules/reward.json.good.sha256 +1 -0
- package/dist/knowledge/baselines/rules/service.json.good.sha256 +1 -0
- package/dist/knowledge/baselines/rules/treasury.json.good.sha256 +1 -0
- package/dist/knowledge/baselines/rules/util.json.good.sha256 +1 -0
- package/dist/knowledge/builtin-templates.d.ts +1 -1
- package/dist/knowledge/builtin-templates.js +1 -1
- package/dist/knowledge/discount-threshold.js +1 -1
- package/dist/knowledge/fee-param-bindings.js +1 -1
- package/dist/knowledge/getting-started.js +1 -1
- package/dist/knowledge/guard-binding-table.js +1 -1
- package/dist/knowledge/guard-design-patterns.js +1 -1
- package/dist/knowledge/guard-templates.d.ts +3 -2
- package/dist/knowledge/guard-templates.js +1 -1
- package/dist/knowledge/index.js +1 -1
- package/dist/knowledge/industry-registry.js +1 -1
- package/dist/knowledge/jsonrpc-enum.js +1 -1
- package/dist/knowledge/knob-docs.js +1 -1
- package/dist/knowledge/machine-topology.js +1 -1
- package/dist/knowledge/param-schema.js +1 -1
- package/dist/knowledge/param-tiers.js +1 -1
- package/dist/knowledge/path-oracle/products/alibaba-1688.js +1 -1
- package/dist/knowledge/path-oracle/products/amazon.js +1 -1
- package/dist/knowledge/path-oracle/products/booking-com.js +1 -1
- package/dist/knowledge/path-oracle/products/contra.js +1 -1
- package/dist/knowledge/path-oracle/products/costco.js +1 -1
- package/dist/knowledge/path-oracle/products/duoduo-maicai.js +1 -1
- package/dist/knowledge/path-oracle/products/etsy.js +1 -1
- package/dist/knowledge/path-oracle/products/gamefound.js +1 -1
- package/dist/knowledge/path-oracle/products/gofundme.js +1 -1
- package/dist/knowledge/path-oracle/products/klook.js +1 -1
- package/dist/knowledge/path-oracle/products/ninety-nine-designs.js +1 -1
- package/dist/knowledge/path-oracle/products/pinduoduo-kuaituantuan.js +1 -1
- package/dist/knowledge/path-oracle/products/shansong.js +1 -1
- package/dist/knowledge/path-oracle/products/taobao-presale.js +1 -1
- package/dist/knowledge/path-oracle/products/upwork-catalog.js +1 -1
- package/dist/knowledge/path-oracle/products/upwork.js +1 -1
- package/dist/knowledge/pattern-resolutions.js +1 -1
- package/dist/knowledge/protocol-facts.js +1 -1
- package/dist/knowledge/publish-gate.js +1 -1
- package/dist/knowledge/publish-surface-contract.js +1 -1
- package/dist/knowledge/template-loader.js +1 -1
- package/dist/knowledge/template-registry.js +1 -1
- package/dist/knowledge/template-scanner.js +1 -1
- package/dist/knowledge/time-units.js +1 -0
- package/dist/knowledge/tools-reference.js +1 -1
- 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/playbooks/service-build/business-puzzle.js +1 -1
- package/dist/playbooks/service-build/machine-panorama.js +1 -1
- package/dist/playbooks/service-build/merchant-guide.js +1 -1
- package/dist/playbooks/service-build/migration-planner.js +1 -1
- package/dist/playbooks/service-build/object-panorama.js +1 -1
- package/dist/playbooks/service-build/participation-radar.js +1 -1
- package/dist/playbooks/service-build/relationship-profile.js +1 -1
- package/dist/playbooks/service-build/service-panorama.js +1 -1
- package/dist/playbooks/service-build/service-quote.js +1 -1
- package/dist/review/index.js +1 -1
- package/dist/safety/confirm-gate.js +1 -1
- package/dist/schema/benchmark-migration/index.d.ts +110 -2
- package/dist/schema/benchmark-migration/index.js +1 -1
- package/dist/schema/boundary-coercion.js +1 -0
- package/dist/schema/call/arbitration.js +1 -1
- package/dist/schema/call/base.js +1 -1
- package/dist/schema/call/handler.js +1 -1
- package/dist/schema/call/machine.d.ts +56 -8
- package/dist/schema/call/order.d.ts +37 -10
- package/dist/schema/call/order.js +1 -1
- package/dist/schema/call/permission.d.ts +210 -30
- package/dist/schema/call/personal.d.ts +56 -8
- package/dist/schema/call/progress.d.ts +28 -4
- package/dist/schema/call/semantic.js +1 -1
- package/dist/schema/call/service.d.ts +84 -12
- package/dist/schema/common/index.d.ts +14 -2
- package/dist/schema/common/index.js +1 -1
- package/dist/schema/evaluation/index.js +1 -1
- package/dist/schema/goal/index.d.ts +1 -1
- package/dist/schema/goal/planning.js +1 -1
- package/dist/schema/local/index.js +1 -1
- package/dist/schema/messenger/index.d.ts +168 -24
- package/dist/schema/messenger/index.js +1 -1
- package/dist/schema/operations.d.ts +655 -22
- package/dist/schema/operations.js +1 -1
- package/dist/schema/persona/index.d.ts +22 -110
- package/dist/schema/query/index.js +1 -1
- package/dist/schema/schema-version.js +1 -1
- package/dist/schema/workflow/index.d.ts +4 -0
- package/dist/schema/workflow/index.js +1 -1
- package/dist/schema-query-impl/index.js +1 -1
- package/dist/schemas/benchmark_migration_operation.schema.json +1 -1
- package/dist/schemas/evaluation_operation.schema.json +1 -1
- package/dist/schemas/goal_operation.schema.json +1 -1
- package/dist/schemas/guard_rebind_replacement.schema.json +1 -0
- package/dist/schemas/index.json +1 -1
- package/dist/schemas/messenger_operation.schema.json +1 -1
- package/dist/schemas/onchain_operations.schema.json +1 -1
- package/dist/schemas/onchain_operations_allocation.schema.json +1 -1
- package/dist/schemas/onchain_operations_arbitration.schema.json +1 -1
- package/dist/schemas/onchain_operations_contact.schema.json +1 -1
- package/dist/schemas/onchain_operations_demand.schema.json +1 -1
- package/dist/schemas/onchain_operations_gen_passport.schema.json +1 -1
- package/dist/schemas/onchain_operations_machine.schema.json +1 -1
- package/dist/schemas/onchain_operations_order.schema.json +1 -1
- package/dist/schemas/onchain_operations_permission.schema.json +1 -1
- package/dist/schemas/onchain_operations_personal.schema.json +1 -1
- package/dist/schemas/onchain_operations_progress.schema.json +1 -1
- package/dist/schemas/onchain_operations_proof.schema.json +1 -1
- package/dist/schemas/onchain_operations_repository.schema.json +1 -1
- package/dist/schemas/onchain_operations_reward.schema.json +1 -1
- package/dist/schemas/onchain_operations_service.schema.json +1 -1
- package/dist/schemas/onchain_operations_treasury.schema.json +1 -1
- package/dist/schemas/persona_operation.schema.json +1 -1
- package/dist/schemas/time_convert.schema.json +1 -0
- package/dist/schemas/wip_file.schema.json +1 -1
- package/dist/schemas/workflow_operation.schema.json +1 -1
- package/dist/tools/handlers/benchmark-migration.js +1 -1
- package/dist/tools/handlers/config.js +1 -1
- package/dist/tools/handlers/fund-rail-recipe.js +1 -1
- package/dist/tools/handlers/guard-rebind-replacement.js +1 -0
- package/dist/tools/handlers/local.js +1 -1
- package/dist/tools/handlers/mark-namespace.js +1 -1
- package/dist/tools/handlers/onchain.js +1 -1
- package/dist/tools/handlers/query.js +1 -1
- package/dist/tools/handlers/settle-sweep.js +1 -1
- package/dist/tools/handlers/time-convert.js +1 -0
- package/dist/tools/handlers/wip.js +1 -1
- package/dist/tools/handlers/workflow.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/local.js +1 -1
- package/dist/tools/registry/onchain.js +1 -1
- package/dist/tools/wip-verify-ledger.js +1 -1
- package/dist/tools/wrap.js +1 -1
- package/package.json +6 -5
|
@@ -1 +1 @@
|
|
|
1
|
-
{"$schema":"http://json-schema.org/draft-07/schema#","$id":"https://wowok.net/schemas/persona_operation.json","title":"Persona - User Identity Setting","description":"Read/write the user's systematic identity setting (persona): preferences, competitive strategy, experience rules, self profile, and spec. Each persona has a long-term layer (stable) and a current layer (transient, higher priority), bound to a scope: system (all accounts) or account (one chain address, higher priority).","oneOf":[{"type":"object","properties":{"action":{"type":"string","const":"get"},"account":{"description":"Chain account address; omitted = the on-chain DEFAULT account (name=''), falling back to the system persona when no default account exists.","type":"string"},"industry":{"type":"string","pattern":"^[a-z][a-z0-9_]*$"},"role":{"type":"string","enum":["merchant","customer","demander","prospect","supplier","collaborator","arbitrator"]}},"required":["action"],"additionalProperties":false},{"type":"object","properties":{"action":{"type":"string","const":"list"}},"required":["action"],"additionalProperties":false},{"type":"object","properties":{"action":{"type":"string","const":"set"},"scope":{"type":"string","enum":["system","account"]},"account":{"description":"Required when scope=account.","type":"string"},"role":{"type":"string","enum":["merchant","customer","demander","prospect","supplier","collaborator","arbitrator"]},"industries":{"default":[],"type":"array","items":{"type":"string","pattern":"^[a-z][a-z0-9_]*$"}},"long_term":{"type":"object","properties":{"identity":{"type":"object","properties":{"region":{"type":"string"},"languages":{"type":"array","items":{"type":"string"}},"self_description":{"type":"string"}},"additionalProperties":false},"preferences":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"strategy":{"type":"array","items":{"type":"string"}},"rules":{"type":"array","items":{"type":"string"}},"requirements":{"type":"array","items":{"type":"string"}},"spec":{"type":"string"},"overrides":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string","enum":["auto","prompt","block","warn"]}},"policy":{"type":"object","properties":{"confirm":{"type":"object","properties":{"mode":{"type":"string","enum":["full","streamlined","quiet"]},"batch_standard":{"type":"boolean"},"session_remember":{"type":"array","items":{"type":"string"}},"intent_bypass":{"type":"boolean"}},"additionalProperties":false},"budget":{"type":"object","properties":{"daily_wow":{"anyOf":[{"type":"string"},{"type":"null"}]}},"additionalProperties":false},"allowlist":{"type":"array","items":{"type":"string"}},"audit":{"type":"boolean"}},"additionalProperties":false},"profiles":{"type":"object","properties":{"merchant":{"type":"object","properties":{"tastes":{"type":"object","properties":{"materials":{"type":"array","items":{"type":"string"}},"colors":{"type":"array","items":{"type":"string"}},"styles":{"type":"array","items":{"type":"string"}},"tags":{"type":"array","items":{"type":"string"}},"brands":{"type":"array","items":{"type":"string"}},"avoid":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},"consumption":{"type":"object","properties":{"frequency":{"type":"string","enum":["rare","occasional","regular","frequent"]},"price_band":{"type":"string","enum":["budget","mid","premium","luxury"]},"decision_speed":{"type":"string","enum":["fast","deliberate","slow"]},"channels":{"type":"array","items":{"type":"string"}},"repeat_orientation":{"type":"string","enum":["novelty","balanced","loyal"]},"avg_order_range":{"type":"string"},"notes":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},"merchant":{"type":"object","properties":{"posture":{"type":"string","enum":["volume","balanced","margin"]},"pricing_style":{"type":"string","enum":["competitive","value","premium","custom_quote"]},"service_style":{"type":"array","items":{"type":"string"}},"communication":{"type":"string"},"growth_focus":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},"supplier":{"type":"object","properties":{"min_order":{"type":"string"},"lead_time":{"type":"string"},"settlement_terms":{"type":"array","items":{"type":"string"}},"categories":{"type":"array","items":{"type":"string"}},"capacity":{"type":"string"}},"additionalProperties":false},"collaborator":{"type":"object","properties":{"scope_discipline":{"type":"string","enum":["strict","balanced","flexible"]},"notifications":{"type":"string","enum":["minimal","digest","realtime"]},"working_hours":{"type":"string"},"advance_style":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},"arbitrator":{"type":"object","properties":{"case_types":{"type":"array","items":{"type":"string"}},"response_speed":{"type":"string","enum":["fast","standard","thorough"]},"ruling_style":{"type":"string","enum":["concise","detailed"]}},"additionalProperties":false},"demander":{"type":"object","properties":{"award_weights":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"number"}},"pilot_budget":{"type":"string"},"rfp_openness":{"type":"string","enum":["open","passport_gated","invite_only"]},"decision_basis":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},"preferences":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"additionalProperties":false},"customer":{"type":"object","properties":{"tastes":{"type":"object","properties":{"materials":{"type":"array","items":{"type":"string"}},"colors":{"type":"array","items":{"type":"string"}},"styles":{"type":"array","items":{"type":"string"}},"tags":{"type":"array","items":{"type":"string"}},"brands":{"type":"array","items":{"type":"string"}},"avoid":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},"consumption":{"type":"object","properties":{"frequency":{"type":"string","enum":["rare","occasional","regular","frequent"]},"price_band":{"type":"string","enum":["budget","mid","premium","luxury"]},"decision_speed":{"type":"string","enum":["fast","deliberate","slow"]},"channels":{"type":"array","items":{"type":"string"}},"repeat_orientation":{"type":"string","enum":["novelty","balanced","loyal"]},"avg_order_range":{"type":"string"},"notes":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},"merchant":{"type":"object","properties":{"posture":{"type":"string","enum":["volume","balanced","margin"]},"pricing_style":{"type":"string","enum":["competitive","value","premium","custom_quote"]},"service_style":{"type":"array","items":{"type":"string"}},"communication":{"type":"string"},"growth_focus":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},"supplier":{"type":"object","properties":{"min_order":{"type":"string"},"lead_time":{"type":"string"},"settlement_terms":{"type":"array","items":{"type":"string"}},"categories":{"type":"array","items":{"type":"string"}},"capacity":{"type":"string"}},"additionalProperties":false},"collaborator":{"type":"object","properties":{"scope_discipline":{"type":"string","enum":["strict","balanced","flexible"]},"notifications":{"type":"string","enum":["minimal","digest","realtime"]},"working_hours":{"type":"string"},"advance_style":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},"arbitrator":{"type":"object","properties":{"case_types":{"type":"array","items":{"type":"string"}},"response_speed":{"type":"string","enum":["fast","standard","thorough"]},"ruling_style":{"type":"string","enum":["concise","detailed"]}},"additionalProperties":false},"demander":{"type":"object","properties":{"award_weights":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"number"}},"pilot_budget":{"type":"string"},"rfp_openness":{"type":"string","enum":["open","passport_gated","invite_only"]},"decision_basis":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},"preferences":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"additionalProperties":false},"demander":{"type":"object","properties":{"tastes":{"type":"object","properties":{"materials":{"type":"array","items":{"type":"string"}},"colors":{"type":"array","items":{"type":"string"}},"styles":{"type":"array","items":{"type":"string"}},"tags":{"type":"array","items":{"type":"string"}},"brands":{"type":"array","items":{"type":"string"}},"avoid":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},"consumption":{"type":"object","properties":{"frequency":{"type":"string","enum":["rare","occasional","regular","frequent"]},"price_band":{"type":"string","enum":["budget","mid","premium","luxury"]},"decision_speed":{"type":"string","enum":["fast","deliberate","slow"]},"channels":{"type":"array","items":{"type":"string"}},"repeat_orientation":{"type":"string","enum":["novelty","balanced","loyal"]},"avg_order_range":{"type":"string"},"notes":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},"merchant":{"type":"object","properties":{"posture":{"type":"string","enum":["volume","balanced","margin"]},"pricing_style":{"type":"string","enum":["competitive","value","premium","custom_quote"]},"service_style":{"type":"array","items":{"type":"string"}},"communication":{"type":"string"},"growth_focus":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},"supplier":{"type":"object","properties":{"min_order":{"type":"string"},"lead_time":{"type":"string"},"settlement_terms":{"type":"array","items":{"type":"string"}},"categories":{"type":"array","items":{"type":"string"}},"capacity":{"type":"string"}},"additionalProperties":false},"collaborator":{"type":"object","properties":{"scope_discipline":{"type":"string","enum":["strict","balanced","flexible"]},"notifications":{"type":"string","enum":["minimal","digest","realtime"]},"working_hours":{"type":"string"},"advance_style":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},"arbitrator":{"type":"object","properties":{"case_types":{"type":"array","items":{"type":"string"}},"response_speed":{"type":"string","enum":["fast","standard","thorough"]},"ruling_style":{"type":"string","enum":["concise","detailed"]}},"additionalProperties":false},"demander":{"type":"object","properties":{"award_weights":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"number"}},"pilot_budget":{"type":"string"},"rfp_openness":{"type":"string","enum":["open","passport_gated","invite_only"]},"decision_basis":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},"preferences":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"additionalProperties":false},"prospect":{"type":"object","properties":{"tastes":{"type":"object","properties":{"materials":{"type":"array","items":{"type":"string"}},"colors":{"type":"array","items":{"type":"string"}},"styles":{"type":"array","items":{"type":"string"}},"tags":{"type":"array","items":{"type":"string"}},"brands":{"type":"array","items":{"type":"string"}},"avoid":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},"consumption":{"type":"object","properties":{"frequency":{"type":"string","enum":["rare","occasional","regular","frequent"]},"price_band":{"type":"string","enum":["budget","mid","premium","luxury"]},"decision_speed":{"type":"string","enum":["fast","deliberate","slow"]},"channels":{"type":"array","items":{"type":"string"}},"repeat_orientation":{"type":"string","enum":["novelty","balanced","loyal"]},"avg_order_range":{"type":"string"},"notes":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},"merchant":{"type":"object","properties":{"posture":{"type":"string","enum":["volume","balanced","margin"]},"pricing_style":{"type":"string","enum":["competitive","value","premium","custom_quote"]},"service_style":{"type":"array","items":{"type":"string"}},"communication":{"type":"string"},"growth_focus":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},"supplier":{"type":"object","properties":{"min_order":{"type":"string"},"lead_time":{"type":"string"},"settlement_terms":{"type":"array","items":{"type":"string"}},"categories":{"type":"array","items":{"type":"string"}},"capacity":{"type":"string"}},"additionalProperties":false},"collaborator":{"type":"object","properties":{"scope_discipline":{"type":"string","enum":["strict","balanced","flexible"]},"notifications":{"type":"string","enum":["minimal","digest","realtime"]},"working_hours":{"type":"string"},"advance_style":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},"arbitrator":{"type":"object","properties":{"case_types":{"type":"array","items":{"type":"string"}},"response_speed":{"type":"string","enum":["fast","standard","thorough"]},"ruling_style":{"type":"string","enum":["concise","detailed"]}},"additionalProperties":false},"demander":{"type":"object","properties":{"award_weights":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"number"}},"pilot_budget":{"type":"string"},"rfp_openness":{"type":"string","enum":["open","passport_gated","invite_only"]},"decision_basis":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},"preferences":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"additionalProperties":false},"supplier":{"type":"object","properties":{"tastes":{"type":"object","properties":{"materials":{"type":"array","items":{"type":"string"}},"colors":{"type":"array","items":{"type":"string"}},"styles":{"type":"array","items":{"type":"string"}},"tags":{"type":"array","items":{"type":"string"}},"brands":{"type":"array","items":{"type":"string"}},"avoid":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},"consumption":{"type":"object","properties":{"frequency":{"type":"string","enum":["rare","occasional","regular","frequent"]},"price_band":{"type":"string","enum":["budget","mid","premium","luxury"]},"decision_speed":{"type":"string","enum":["fast","deliberate","slow"]},"channels":{"type":"array","items":{"type":"string"}},"repeat_orientation":{"type":"string","enum":["novelty","balanced","loyal"]},"avg_order_range":{"type":"string"},"notes":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},"merchant":{"type":"object","properties":{"posture":{"type":"string","enum":["volume","balanced","margin"]},"pricing_style":{"type":"string","enum":["competitive","value","premium","custom_quote"]},"service_style":{"type":"array","items":{"type":"string"}},"communication":{"type":"string"},"growth_focus":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},"supplier":{"type":"object","properties":{"min_order":{"type":"string"},"lead_time":{"type":"string"},"settlement_terms":{"type":"array","items":{"type":"string"}},"categories":{"type":"array","items":{"type":"string"}},"capacity":{"type":"string"}},"additionalProperties":false},"collaborator":{"type":"object","properties":{"scope_discipline":{"type":"string","enum":["strict","balanced","flexible"]},"notifications":{"type":"string","enum":["minimal","digest","realtime"]},"working_hours":{"type":"string"},"advance_style":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},"arbitrator":{"type":"object","properties":{"case_types":{"type":"array","items":{"type":"string"}},"response_speed":{"type":"string","enum":["fast","standard","thorough"]},"ruling_style":{"type":"string","enum":["concise","detailed"]}},"additionalProperties":false},"demander":{"type":"object","properties":{"award_weights":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"number"}},"pilot_budget":{"type":"string"},"rfp_openness":{"type":"string","enum":["open","passport_gated","invite_only"]},"decision_basis":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},"preferences":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"additionalProperties":false},"collaborator":{"type":"object","properties":{"tastes":{"type":"object","properties":{"materials":{"type":"array","items":{"type":"string"}},"colors":{"type":"array","items":{"type":"string"}},"styles":{"type":"array","items":{"type":"string"}},"tags":{"type":"array","items":{"type":"string"}},"brands":{"type":"array","items":{"type":"string"}},"avoid":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},"consumption":{"type":"object","properties":{"frequency":{"type":"string","enum":["rare","occasional","regular","frequent"]},"price_band":{"type":"string","enum":["budget","mid","premium","luxury"]},"decision_speed":{"type":"string","enum":["fast","deliberate","slow"]},"channels":{"type":"array","items":{"type":"string"}},"repeat_orientation":{"type":"string","enum":["novelty","balanced","loyal"]},"avg_order_range":{"type":"string"},"notes":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},"merchant":{"type":"object","properties":{"posture":{"type":"string","enum":["volume","balanced","margin"]},"pricing_style":{"type":"string","enum":["competitive","value","premium","custom_quote"]},"service_style":{"type":"array","items":{"type":"string"}},"communication":{"type":"string"},"growth_focus":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},"supplier":{"type":"object","properties":{"min_order":{"type":"string"},"lead_time":{"type":"string"},"settlement_terms":{"type":"array","items":{"type":"string"}},"categories":{"type":"array","items":{"type":"string"}},"capacity":{"type":"string"}},"additionalProperties":false},"collaborator":{"type":"object","properties":{"scope_discipline":{"type":"string","enum":["strict","balanced","flexible"]},"notifications":{"type":"string","enum":["minimal","digest","realtime"]},"working_hours":{"type":"string"},"advance_style":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},"arbitrator":{"type":"object","properties":{"case_types":{"type":"array","items":{"type":"string"}},"response_speed":{"type":"string","enum":["fast","standard","thorough"]},"ruling_style":{"type":"string","enum":["concise","detailed"]}},"additionalProperties":false},"demander":{"type":"object","properties":{"award_weights":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"number"}},"pilot_budget":{"type":"string"},"rfp_openness":{"type":"string","enum":["open","passport_gated","invite_only"]},"decision_basis":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},"preferences":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"additionalProperties":false},"arbitrator":{"type":"object","properties":{"tastes":{"type":"object","properties":{"materials":{"type":"array","items":{"type":"string"}},"colors":{"type":"array","items":{"type":"string"}},"styles":{"type":"array","items":{"type":"string"}},"tags":{"type":"array","items":{"type":"string"}},"brands":{"type":"array","items":{"type":"string"}},"avoid":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},"consumption":{"type":"object","properties":{"frequency":{"type":"string","enum":["rare","occasional","regular","frequent"]},"price_band":{"type":"string","enum":["budget","mid","premium","luxury"]},"decision_speed":{"type":"string","enum":["fast","deliberate","slow"]},"channels":{"type":"array","items":{"type":"string"}},"repeat_orientation":{"type":"string","enum":["novelty","balanced","loyal"]},"avg_order_range":{"type":"string"},"notes":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},"merchant":{"type":"object","properties":{"posture":{"type":"string","enum":["volume","balanced","margin"]},"pricing_style":{"type":"string","enum":["competitive","value","premium","custom_quote"]},"service_style":{"type":"array","items":{"type":"string"}},"communication":{"type":"string"},"growth_focus":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},"supplier":{"type":"object","properties":{"min_order":{"type":"string"},"lead_time":{"type":"string"},"settlement_terms":{"type":"array","items":{"type":"string"}},"categories":{"type":"array","items":{"type":"string"}},"capacity":{"type":"string"}},"additionalProperties":false},"collaborator":{"type":"object","properties":{"scope_discipline":{"type":"string","enum":["strict","balanced","flexible"]},"notifications":{"type":"string","enum":["minimal","digest","realtime"]},"working_hours":{"type":"string"},"advance_style":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},"arbitrator":{"type":"object","properties":{"case_types":{"type":"array","items":{"type":"string"}},"response_speed":{"type":"string","enum":["fast","standard","thorough"]},"ruling_style":{"type":"string","enum":["concise","detailed"]}},"additionalProperties":false},"demander":{"type":"object","properties":{"award_weights":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"number"}},"pilot_budget":{"type":"string"},"rfp_openness":{"type":"string","enum":["open","passport_gated","invite_only"]},"decision_basis":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},"preferences":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"additionalProperties":false}},"additionalProperties":false},"analyze":{"type":"object","properties":{"key_questions":{"maxItems":4,"type":"array","items":{"type":"string"},"description":"The user's key follow-up questions for the Analyze dossier (up to 4 stored, 2 effective after merge)."}},"required":["key_questions"],"additionalProperties":false},"judgment":{"type":"object","properties":{"description":{"type":"string"},"evaluation":{"type":"object","properties":{"comment":{"type":"string"},"weights":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"number"}},"dimensions":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"object","properties":{"label":{"type":"string"},"description":{"type":"string"}},"required":["label","description"],"additionalProperties":false}},"severity_deduction":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"number"}},"level_bands":{"type":"array","items":{"type":"object","properties":{"min":{"type":"number"},"level":{"type":"string"}},"required":["min","level"],"additionalProperties":false}},"grade_words":{"type":"object","properties":{"comment":{"type":"string"},"trust":{"type":"array","items":{"type":"object","properties":{"min":{"type":"number"},"word":{"type":"string"}},"required":["min","word"],"additionalProperties":false}},"risk":{"type":"array","items":{"type":"object","properties":{"min":{"type":"number"},"word":{"type":"string"}},"required":["min","word"],"additionalProperties":false}},"match":{"type":"array","items":{"type":"object","properties":{"min":{"type":"number"},"word":{"type":"string"}},"required":["min","word"],"additionalProperties":false}}},"additionalProperties":false}},"additionalProperties":false},"game":{"type":"object","properties":{"comment":{"type":"string"},"outcome_semantics":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"array","items":{"type":"string"}}},"role_interests":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"object","properties":{"prefer":{"type":"array","items":{"type":"string"}},"avoid":{"type":"array","items":{"type":"string"}},"sensitivity":{"type":"number"}},"required":["prefer","avoid","sensitivity"],"additionalProperties":false}},"appetite_multipliers":{"type":"object","properties":{"conservative":{"type":"number"},"balanced":{"type":"number"},"aggressive":{"type":"number"}},"additionalProperties":false},"scoring":{"type":"object","properties":{"base":{"type":"number"},"per_gain":{"type":"number"},"per_risk":{"type":"number"}},"additionalProperties":false},"keyword_rules":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"keywords":{"minItems":1,"type":"array","items":{"type":"string"}},"effect":{"type":"string"},"anchor":{"type":"string","enum":["prefer","avoid"]},"when_forbidden":{"type":"boolean"}},"required":["id","keywords","effect","anchor","when_forbidden"],"additionalProperties":false}},"forbid_pattern":{"type":"string"},"arb":{"type":"object","properties":{"comment":{"type":"string"},"effect_semantics":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"array","items":{"type":"string"}}},"role_interests":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"object","properties":{"prefer":{"type":"array","items":{"type":"string"}},"avoid":{"type":"array","items":{"type":"string"}},"sensitivity":{"type":"number"}},"required":["prefer","avoid","sensitivity"],"additionalProperties":false}},"keyword_rules":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"keywords":{"minItems":1,"type":"array","items":{"type":"string"}},"effect":{"type":"string"},"anchor":{"type":"string","enum":["prefer","avoid"]},"when_forbidden":{"type":"boolean"}},"required":["id","keywords","effect","anchor","when_forbidden"],"additionalProperties":false}},"forbid_pattern":{"type":"string"},"scoring":{"type":"object","properties":{"base":{"type":"number"},"per_gain":{"type":"number"},"per_risk":{"type":"number"}},"required":["base","per_gain","per_risk"],"additionalProperties":false}},"additionalProperties":false}},"additionalProperties":false},"match":{"type":"object","properties":{"comment":{"type":"string"},"region_scores":{"type":"object","properties":{"exact":{"type":"number"},"contains":{"type":"number"},"compatible":{"type":"number"},"overlap":{"type":"number"},"mismatch":{"type":"number"}},"additionalProperties":false},"weights":{"type":"object","properties":{"region":{"type":"number"},"industry":{"type":"number"},"price":{"type":"number"},"trust":{"type":"number"},"capabilities":{"type":"number"},"buyable":{"type":"number"},"reward_commitment":{"type":"number"},"tags":{"type":"number"},"acceptance":{"type":"number"}},"additionalProperties":false},"trust_bands":{"type":"array","items":{"type":"object","properties":{"min":{"type":"number"},"score":{"type":"number"}},"required":["min","score"],"additionalProperties":false}},"neutral_score":{"type":"number"},"price_over_budget_tolerance_pct":{"type":"number"},"top_n":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"additionalProperties":false},"monitor":{"type":"object","properties":{"comment":{"type":"string"},"thresholds":{"type":"object","properties":{"progress_stall_hours":{"type":"number"},"compensation_drop_ratio":{"type":"number"},"compensation_coverage_min":{"type":"number"},"messenger_timeout_hours":{"type":"number"},"review_window_closing_days":{"type":"number"},"arb_window_closing_days":{"type":"number"}},"additionalProperties":false},"escalation":{"type":"object","properties":{"default_expected_progress_hours":{"type":"number"},"stall_expected_multiplier":{"type":"number"},"stall_escalation_multiplier":{"type":"number"},"messenger_escalation_multiplier":{"type":"number"},"ratio_critical_threshold":{"type":"number"}},"additionalProperties":false}},"additionalProperties":false},"mode":{"type":"object","properties":{"comment":{"type":"string"},"appetite_thresholds":{"type":"object","properties":{"conservative":{"type":"object","properties":{"max_risk":{"type":"number"},"min_benefit":{"type":"number"}},"required":["max_risk","min_benefit"],"additionalProperties":false},"balanced":{"type":"object","properties":{"max_risk":{"type":"number"},"min_benefit":{"type":"number"}},"required":["max_risk","min_benefit"],"additionalProperties":false},"aggressive":{"type":"object","properties":{"max_risk":{"type":"number"},"min_benefit":{"type":"number"}},"required":["max_risk","min_benefit"],"additionalProperties":false}},"additionalProperties":false}},"additionalProperties":false},"scorecard":{"type":"object","properties":{"comment":{"type":"string"},"metrics":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"object","properties":{"weight":{"type":"object","properties":{"volume":{"type":"number"},"balanced":{"type":"number"},"margin":{"type":"number"}},"required":["volume","balanced","margin"],"additionalProperties":false},"good_threshold":{"type":"number"},"bad_threshold":{"type":"number"}},"additionalProperties":false}},"shop_evidence_metrics":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},"rules":{"type":"object","properties":{"comment":{"type":"string"},"domains":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"object","properties":{"comment":{"type":"string"},"facts":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}},"rules":{"type":"array","items":{"type":"object","properties":{"rule_id":{"type":"string"},"dimension":{"type":"string"},"trigger":{"type":"string"},"cases":{"type":"array","items":{"type":"object","properties":{"when":{"$ref":"#/definitions/__schema0"},"level":{"anyOf":[{"type":"string","enum":["critical","high","medium","low","info"]},{"type":"string","pattern":"^fact:([A-Za-z0-9_.-]+)$"}]},"title":{"type":"string"},"description":{"type":"string"},"scenario":{"type":"string"},"mitigation":{"type":"string"},"evidence":{"type":"string"},"stakeholders":{"type":"array","items":{"type":"string"}},"exposure":{"type":"object","properties":{"loss_parties":{"type":"array","items":{"type":"object","properties":{"role":{"type":"string","enum":["buyer","merchant","supplier","collaborator","arbitrator","system","neutral"]},"basis":{"type":"string"}},"required":["role","basis"],"additionalProperties":false}},"gain_paths":{"type":"array","items":{"type":"object","properties":{"role":{"type":"string","enum":["buyer","merchant","supplier","collaborator","arbitrator","system","neutral"]},"path":{"type":"string"},"viability":{"anyOf":[{"type":"string","enum":["viable","conditional","blocked","unverifiable"]},{"type":"string","pattern":"^fact:([A-Za-z0-9_.-]+)$"}]},"gate":{"type":"string"}},"required":["role","path","viability","gate"],"additionalProperties":false}},"downgrade_exempt":{"type":"boolean"}},"required":["loss_parties","gain_paths"],"additionalProperties":false}},"required":["when","level","title","description"],"additionalProperties":false}},"enabled":{"type":"boolean"}},"required":["rule_id"],"additionalProperties":false}},"severity_overrides":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string","enum":["error","warning","info"]}}},"additionalProperties":false}}},"additionalProperties":false},"role_intent":{"type":"object","properties":{"comment":{"type":"string"},"roles":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"object","properties":{"comment":{"type":"string"},"intents":{"minItems":1,"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"weight":{"type":"number","minimum":0,"maximum":1}},"required":["id","weight"],"additionalProperties":false}},"horizon":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"risk_appetite":{"type":"string","enum":["conservative","balanced","aggressive"]},"red_lines":{"type":"array","items":{"type":"string"}},"strategy_leaning":{"type":"string","enum":["cooperative","opportunistic","confrontational"]}},"additionalProperties":false}}},"additionalProperties":false},"version":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"additionalProperties":false},"match":{"type":"object","properties":{"demand_to_supply":{"type":"object","properties":{"policy_id":{"type":"string","minLength":1},"version":{"type":"integer","minimum":0,"maximum":9007199254740991},"direction":{"description":"Default demand_to_supply. A demand_to_supply policy drives match_discover; a supply_to_demand policy drives demand_present / discover_demands (and is rejected by match_discover).","type":"string","enum":["demand_to_supply","supply_to_demand"]},"unknown_policy":{"description":"What a gate with missing input does (K5-05 axiom 3). Default neutral_score (= pass, reported).","type":"string","enum":["pass","drop","neutral_score"]},"gates":{"type":"array","items":{"type":"object","properties":{"dim":{"type":"string","description":"Gate dimension. Enforced client-side: live, price, arb, compensation, machine, messenger, buy_guard, wip_verify, text, owner. Others are reported as ignored (not enforceable on-device yet)."},"op":{"description":"Comparison operator (eq/lte/gte/in/not_in/must_contain/must_not_contain) — validated per dim at apply time.","type":"string"},"value":{"anyOf":[{"type":"boolean"},{"type":"number"},{"type":"string"},{"type":"array","items":{"type":"string"}}]},"params":{"description":"Extra params; `from_budget: true` on a price gate uses the request budget as the threshold.","type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"required":["dim"],"additionalProperties":false}},"excludes":{"type":"array","items":{"type":"object","properties":{"dim":{"type":"string","description":"Exclude dimension. Enforced client-side: blacklist (objects/owners lists). anti_cheat/structure dims are reported as ignored (no client-side facet)."},"objects":{"type":"array","items":{"type":"string"}},"owners":{"type":"array","items":{"type":"string"}},"flags":{"type":"array","items":{"type":"string"}},"source":{"type":"array","items":{"type":"string"}},"rule":{"type":"string"}},"required":["dim"],"additionalProperties":false}},"weights":{"description":"demand_match rule id → weight (region/industry/price/trust/capabilities/tags/acceptance). Unregistered ids are reported as ignored.","type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"number","minimum":0}},"rerank":{"type":"object","properties":{"diversity":{"description":"Greedy per-group cap over the score-ordered list. `permission` is not enforceable client-side yet (reported ignored); use `owner`.","type":"object","properties":{"by":{"type":"string","enum":["owner","permission"]},"max_per_group":{"type":"integer","minimum":1,"maximum":9007199254740991}},"required":["by","max_per_group"],"additionalProperties":false},"explore":{},"llm":{},"fairness":{}},"additionalProperties":false},"recall":{"description":"Server/recall directives — accepted for portability, not enforceable from the client (reported ignored)."},"verify":{"description":"Facet verification directives — accepted for portability, not enforceable client-side (reported ignored)."},"output":{"type":"object","properties":{"top_n":{"type":"integer","minimum":1,"maximum":500},"explain":{"type":"boolean"},"evidence_chain":{},"coverage_report":{}},"additionalProperties":false}},"required":["policy_id"],"additionalProperties":false},"supply_to_demand":{"type":"object","properties":{"policy_id":{"type":"string","minLength":1},"version":{"type":"integer","minimum":0,"maximum":9007199254740991},"direction":{"description":"Default demand_to_supply. A demand_to_supply policy drives match_discover; a supply_to_demand policy drives demand_present / discover_demands (and is rejected by match_discover).","type":"string","enum":["demand_to_supply","supply_to_demand"]},"unknown_policy":{"description":"What a gate with missing input does (K5-05 axiom 3). Default neutral_score (= pass, reported).","type":"string","enum":["pass","drop","neutral_score"]},"gates":{"type":"array","items":{"type":"object","properties":{"dim":{"type":"string","description":"Gate dimension. Enforced client-side: live, price, arb, compensation, machine, messenger, buy_guard, wip_verify, text, owner. Others are reported as ignored (not enforceable on-device yet)."},"op":{"description":"Comparison operator (eq/lte/gte/in/not_in/must_contain/must_not_contain) — validated per dim at apply time.","type":"string"},"value":{"anyOf":[{"type":"boolean"},{"type":"number"},{"type":"string"},{"type":"array","items":{"type":"string"}}]},"params":{"description":"Extra params; `from_budget: true` on a price gate uses the request budget as the threshold.","type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"required":["dim"],"additionalProperties":false}},"excludes":{"type":"array","items":{"type":"object","properties":{"dim":{"type":"string","description":"Exclude dimension. Enforced client-side: blacklist (objects/owners lists). anti_cheat/structure dims are reported as ignored (no client-side facet)."},"objects":{"type":"array","items":{"type":"string"}},"owners":{"type":"array","items":{"type":"string"}},"flags":{"type":"array","items":{"type":"string"}},"source":{"type":"array","items":{"type":"string"}},"rule":{"type":"string"}},"required":["dim"],"additionalProperties":false}},"weights":{"description":"demand_match rule id → weight (region/industry/price/trust/capabilities/tags/acceptance). Unregistered ids are reported as ignored.","type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"number","minimum":0}},"rerank":{"type":"object","properties":{"diversity":{"description":"Greedy per-group cap over the score-ordered list. `permission` is not enforceable client-side yet (reported ignored); use `owner`.","type":"object","properties":{"by":{"type":"string","enum":["owner","permission"]},"max_per_group":{"type":"integer","minimum":1,"maximum":9007199254740991}},"required":["by","max_per_group"],"additionalProperties":false},"explore":{},"llm":{},"fairness":{}},"additionalProperties":false},"recall":{"description":"Server/recall directives — accepted for portability, not enforceable from the client (reported ignored)."},"verify":{"description":"Facet verification directives — accepted for portability, not enforceable client-side (reported ignored)."},"output":{"type":"object","properties":{"top_n":{"type":"integer","minimum":1,"maximum":500},"explain":{"type":"boolean"},"evidence_chain":{},"coverage_report":{}},"additionalProperties":false}},"required":["policy_id"],"additionalProperties":false}},"additionalProperties":false}},"additionalProperties":false},"current":{"type":"object","properties":{"identity":{"type":"object","properties":{"region":{"type":"string"},"languages":{"type":"array","items":{"type":"string"}},"self_description":{"type":"string"}},"additionalProperties":false},"preferences":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"strategy":{"type":"array","items":{"type":"string"}},"rules":{"type":"array","items":{"type":"string"}},"requirements":{"type":"array","items":{"type":"string"}},"spec":{"type":"string"},"overrides":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string","enum":["auto","prompt","block","warn"]}},"policy":{"type":"object","properties":{"confirm":{"type":"object","properties":{"mode":{"type":"string","enum":["full","streamlined","quiet"]},"batch_standard":{"type":"boolean"},"session_remember":{"type":"array","items":{"type":"string"}},"intent_bypass":{"type":"boolean"}},"additionalProperties":false},"budget":{"type":"object","properties":{"daily_wow":{"anyOf":[{"type":"string"},{"type":"null"}]}},"additionalProperties":false},"allowlist":{"type":"array","items":{"type":"string"}},"audit":{"type":"boolean"}},"additionalProperties":false},"profiles":{"type":"object","properties":{"merchant":{"type":"object","properties":{"tastes":{"type":"object","properties":{"materials":{"type":"array","items":{"type":"string"}},"colors":{"type":"array","items":{"type":"string"}},"styles":{"type":"array","items":{"type":"string"}},"tags":{"type":"array","items":{"type":"string"}},"brands":{"type":"array","items":{"type":"string"}},"avoid":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},"consumption":{"type":"object","properties":{"frequency":{"type":"string","enum":["rare","occasional","regular","frequent"]},"price_band":{"type":"string","enum":["budget","mid","premium","luxury"]},"decision_speed":{"type":"string","enum":["fast","deliberate","slow"]},"channels":{"type":"array","items":{"type":"string"}},"repeat_orientation":{"type":"string","enum":["novelty","balanced","loyal"]},"avg_order_range":{"type":"string"},"notes":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},"merchant":{"type":"object","properties":{"posture":{"type":"string","enum":["volume","balanced","margin"]},"pricing_style":{"type":"string","enum":["competitive","value","premium","custom_quote"]},"service_style":{"type":"array","items":{"type":"string"}},"communication":{"type":"string"},"growth_focus":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},"supplier":{"type":"object","properties":{"min_order":{"type":"string"},"lead_time":{"type":"string"},"settlement_terms":{"type":"array","items":{"type":"string"}},"categories":{"type":"array","items":{"type":"string"}},"capacity":{"type":"string"}},"additionalProperties":false},"collaborator":{"type":"object","properties":{"scope_discipline":{"type":"string","enum":["strict","balanced","flexible"]},"notifications":{"type":"string","enum":["minimal","digest","realtime"]},"working_hours":{"type":"string"},"advance_style":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},"arbitrator":{"type":"object","properties":{"case_types":{"type":"array","items":{"type":"string"}},"response_speed":{"type":"string","enum":["fast","standard","thorough"]},"ruling_style":{"type":"string","enum":["concise","detailed"]}},"additionalProperties":false},"demander":{"type":"object","properties":{"award_weights":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"number"}},"pilot_budget":{"type":"string"},"rfp_openness":{"type":"string","enum":["open","passport_gated","invite_only"]},"decision_basis":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},"preferences":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"additionalProperties":false},"customer":{"type":"object","properties":{"tastes":{"type":"object","properties":{"materials":{"type":"array","items":{"type":"string"}},"colors":{"type":"array","items":{"type":"string"}},"styles":{"type":"array","items":{"type":"string"}},"tags":{"type":"array","items":{"type":"string"}},"brands":{"type":"array","items":{"type":"string"}},"avoid":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},"consumption":{"type":"object","properties":{"frequency":{"type":"string","enum":["rare","occasional","regular","frequent"]},"price_band":{"type":"string","enum":["budget","mid","premium","luxury"]},"decision_speed":{"type":"string","enum":["fast","deliberate","slow"]},"channels":{"type":"array","items":{"type":"string"}},"repeat_orientation":{"type":"string","enum":["novelty","balanced","loyal"]},"avg_order_range":{"type":"string"},"notes":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},"merchant":{"type":"object","properties":{"posture":{"type":"string","enum":["volume","balanced","margin"]},"pricing_style":{"type":"string","enum":["competitive","value","premium","custom_quote"]},"service_style":{"type":"array","items":{"type":"string"}},"communication":{"type":"string"},"growth_focus":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},"supplier":{"type":"object","properties":{"min_order":{"type":"string"},"lead_time":{"type":"string"},"settlement_terms":{"type":"array","items":{"type":"string"}},"categories":{"type":"array","items":{"type":"string"}},"capacity":{"type":"string"}},"additionalProperties":false},"collaborator":{"type":"object","properties":{"scope_discipline":{"type":"string","enum":["strict","balanced","flexible"]},"notifications":{"type":"string","enum":["minimal","digest","realtime"]},"working_hours":{"type":"string"},"advance_style":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},"arbitrator":{"type":"object","properties":{"case_types":{"type":"array","items":{"type":"string"}},"response_speed":{"type":"string","enum":["fast","standard","thorough"]},"ruling_style":{"type":"string","enum":["concise","detailed"]}},"additionalProperties":false},"demander":{"type":"object","properties":{"award_weights":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"number"}},"pilot_budget":{"type":"string"},"rfp_openness":{"type":"string","enum":["open","passport_gated","invite_only"]},"decision_basis":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},"preferences":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"additionalProperties":false},"demander":{"type":"object","properties":{"tastes":{"type":"object","properties":{"materials":{"type":"array","items":{"type":"string"}},"colors":{"type":"array","items":{"type":"string"}},"styles":{"type":"array","items":{"type":"string"}},"tags":{"type":"array","items":{"type":"string"}},"brands":{"type":"array","items":{"type":"string"}},"avoid":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},"consumption":{"type":"object","properties":{"frequency":{"type":"string","enum":["rare","occasional","regular","frequent"]},"price_band":{"type":"string","enum":["budget","mid","premium","luxury"]},"decision_speed":{"type":"string","enum":["fast","deliberate","slow"]},"channels":{"type":"array","items":{"type":"string"}},"repeat_orientation":{"type":"string","enum":["novelty","balanced","loyal"]},"avg_order_range":{"type":"string"},"notes":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},"merchant":{"type":"object","properties":{"posture":{"type":"string","enum":["volume","balanced","margin"]},"pricing_style":{"type":"string","enum":["competitive","value","premium","custom_quote"]},"service_style":{"type":"array","items":{"type":"string"}},"communication":{"type":"string"},"growth_focus":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},"supplier":{"type":"object","properties":{"min_order":{"type":"string"},"lead_time":{"type":"string"},"settlement_terms":{"type":"array","items":{"type":"string"}},"categories":{"type":"array","items":{"type":"string"}},"capacity":{"type":"string"}},"additionalProperties":false},"collaborator":{"type":"object","properties":{"scope_discipline":{"type":"string","enum":["strict","balanced","flexible"]},"notifications":{"type":"string","enum":["minimal","digest","realtime"]},"working_hours":{"type":"string"},"advance_style":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},"arbitrator":{"type":"object","properties":{"case_types":{"type":"array","items":{"type":"string"}},"response_speed":{"type":"string","enum":["fast","standard","thorough"]},"ruling_style":{"type":"string","enum":["concise","detailed"]}},"additionalProperties":false},"demander":{"type":"object","properties":{"award_weights":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"number"}},"pilot_budget":{"type":"string"},"rfp_openness":{"type":"string","enum":["open","passport_gated","invite_only"]},"decision_basis":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},"preferences":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"additionalProperties":false},"prospect":{"type":"object","properties":{"tastes":{"type":"object","properties":{"materials":{"type":"array","items":{"type":"string"}},"colors":{"type":"array","items":{"type":"string"}},"styles":{"type":"array","items":{"type":"string"}},"tags":{"type":"array","items":{"type":"string"}},"brands":{"type":"array","items":{"type":"string"}},"avoid":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},"consumption":{"type":"object","properties":{"frequency":{"type":"string","enum":["rare","occasional","regular","frequent"]},"price_band":{"type":"string","enum":["budget","mid","premium","luxury"]},"decision_speed":{"type":"string","enum":["fast","deliberate","slow"]},"channels":{"type":"array","items":{"type":"string"}},"repeat_orientation":{"type":"string","enum":["novelty","balanced","loyal"]},"avg_order_range":{"type":"string"},"notes":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},"merchant":{"type":"object","properties":{"posture":{"type":"string","enum":["volume","balanced","margin"]},"pricing_style":{"type":"string","enum":["competitive","value","premium","custom_quote"]},"service_style":{"type":"array","items":{"type":"string"}},"communication":{"type":"string"},"growth_focus":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},"supplier":{"type":"object","properties":{"min_order":{"type":"string"},"lead_time":{"type":"string"},"settlement_terms":{"type":"array","items":{"type":"string"}},"categories":{"type":"array","items":{"type":"string"}},"capacity":{"type":"string"}},"additionalProperties":false},"collaborator":{"type":"object","properties":{"scope_discipline":{"type":"string","enum":["strict","balanced","flexible"]},"notifications":{"type":"string","enum":["minimal","digest","realtime"]},"working_hours":{"type":"string"},"advance_style":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},"arbitrator":{"type":"object","properties":{"case_types":{"type":"array","items":{"type":"string"}},"response_speed":{"type":"string","enum":["fast","standard","thorough"]},"ruling_style":{"type":"string","enum":["concise","detailed"]}},"additionalProperties":false},"demander":{"type":"object","properties":{"award_weights":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"number"}},"pilot_budget":{"type":"string"},"rfp_openness":{"type":"string","enum":["open","passport_gated","invite_only"]},"decision_basis":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},"preferences":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"additionalProperties":false},"supplier":{"type":"object","properties":{"tastes":{"type":"object","properties":{"materials":{"type":"array","items":{"type":"string"}},"colors":{"type":"array","items":{"type":"string"}},"styles":{"type":"array","items":{"type":"string"}},"tags":{"type":"array","items":{"type":"string"}},"brands":{"type":"array","items":{"type":"string"}},"avoid":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},"consumption":{"type":"object","properties":{"frequency":{"type":"string","enum":["rare","occasional","regular","frequent"]},"price_band":{"type":"string","enum":["budget","mid","premium","luxury"]},"decision_speed":{"type":"string","enum":["fast","deliberate","slow"]},"channels":{"type":"array","items":{"type":"string"}},"repeat_orientation":{"type":"string","enum":["novelty","balanced","loyal"]},"avg_order_range":{"type":"string"},"notes":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},"merchant":{"type":"object","properties":{"posture":{"type":"string","enum":["volume","balanced","margin"]},"pricing_style":{"type":"string","enum":["competitive","value","premium","custom_quote"]},"service_style":{"type":"array","items":{"type":"string"}},"communication":{"type":"string"},"growth_focus":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},"supplier":{"type":"object","properties":{"min_order":{"type":"string"},"lead_time":{"type":"string"},"settlement_terms":{"type":"array","items":{"type":"string"}},"categories":{"type":"array","items":{"type":"string"}},"capacity":{"type":"string"}},"additionalProperties":false},"collaborator":{"type":"object","properties":{"scope_discipline":{"type":"string","enum":["strict","balanced","flexible"]},"notifications":{"type":"string","enum":["minimal","digest","realtime"]},"working_hours":{"type":"string"},"advance_style":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},"arbitrator":{"type":"object","properties":{"case_types":{"type":"array","items":{"type":"string"}},"response_speed":{"type":"string","enum":["fast","standard","thorough"]},"ruling_style":{"type":"string","enum":["concise","detailed"]}},"additionalProperties":false},"demander":{"type":"object","properties":{"award_weights":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"number"}},"pilot_budget":{"type":"string"},"rfp_openness":{"type":"string","enum":["open","passport_gated","invite_only"]},"decision_basis":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},"preferences":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"additionalProperties":false},"collaborator":{"type":"object","properties":{"tastes":{"type":"object","properties":{"materials":{"type":"array","items":{"type":"string"}},"colors":{"type":"array","items":{"type":"string"}},"styles":{"type":"array","items":{"type":"string"}},"tags":{"type":"array","items":{"type":"string"}},"brands":{"type":"array","items":{"type":"string"}},"avoid":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},"consumption":{"type":"object","properties":{"frequency":{"type":"string","enum":["rare","occasional","regular","frequent"]},"price_band":{"type":"string","enum":["budget","mid","premium","luxury"]},"decision_speed":{"type":"string","enum":["fast","deliberate","slow"]},"channels":{"type":"array","items":{"type":"string"}},"repeat_orientation":{"type":"string","enum":["novelty","balanced","loyal"]},"avg_order_range":{"type":"string"},"notes":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},"merchant":{"type":"object","properties":{"posture":{"type":"string","enum":["volume","balanced","margin"]},"pricing_style":{"type":"string","enum":["competitive","value","premium","custom_quote"]},"service_style":{"type":"array","items":{"type":"string"}},"communication":{"type":"string"},"growth_focus":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},"supplier":{"type":"object","properties":{"min_order":{"type":"string"},"lead_time":{"type":"string"},"settlement_terms":{"type":"array","items":{"type":"string"}},"categories":{"type":"array","items":{"type":"string"}},"capacity":{"type":"string"}},"additionalProperties":false},"collaborator":{"type":"object","properties":{"scope_discipline":{"type":"string","enum":["strict","balanced","flexible"]},"notifications":{"type":"string","enum":["minimal","digest","realtime"]},"working_hours":{"type":"string"},"advance_style":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},"arbitrator":{"type":"object","properties":{"case_types":{"type":"array","items":{"type":"string"}},"response_speed":{"type":"string","enum":["fast","standard","thorough"]},"ruling_style":{"type":"string","enum":["concise","detailed"]}},"additionalProperties":false},"demander":{"type":"object","properties":{"award_weights":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"number"}},"pilot_budget":{"type":"string"},"rfp_openness":{"type":"string","enum":["open","passport_gated","invite_only"]},"decision_basis":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},"preferences":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"additionalProperties":false},"arbitrator":{"type":"object","properties":{"tastes":{"type":"object","properties":{"materials":{"type":"array","items":{"type":"string"}},"colors":{"type":"array","items":{"type":"string"}},"styles":{"type":"array","items":{"type":"string"}},"tags":{"type":"array","items":{"type":"string"}},"brands":{"type":"array","items":{"type":"string"}},"avoid":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},"consumption":{"type":"object","properties":{"frequency":{"type":"string","enum":["rare","occasional","regular","frequent"]},"price_band":{"type":"string","enum":["budget","mid","premium","luxury"]},"decision_speed":{"type":"string","enum":["fast","deliberate","slow"]},"channels":{"type":"array","items":{"type":"string"}},"repeat_orientation":{"type":"string","enum":["novelty","balanced","loyal"]},"avg_order_range":{"type":"string"},"notes":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},"merchant":{"type":"object","properties":{"posture":{"type":"string","enum":["volume","balanced","margin"]},"pricing_style":{"type":"string","enum":["competitive","value","premium","custom_quote"]},"service_style":{"type":"array","items":{"type":"string"}},"communication":{"type":"string"},"growth_focus":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},"supplier":{"type":"object","properties":{"min_order":{"type":"string"},"lead_time":{"type":"string"},"settlement_terms":{"type":"array","items":{"type":"string"}},"categories":{"type":"array","items":{"type":"string"}},"capacity":{"type":"string"}},"additionalProperties":false},"collaborator":{"type":"object","properties":{"scope_discipline":{"type":"string","enum":["strict","balanced","flexible"]},"notifications":{"type":"string","enum":["minimal","digest","realtime"]},"working_hours":{"type":"string"},"advance_style":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},"arbitrator":{"type":"object","properties":{"case_types":{"type":"array","items":{"type":"string"}},"response_speed":{"type":"string","enum":["fast","standard","thorough"]},"ruling_style":{"type":"string","enum":["concise","detailed"]}},"additionalProperties":false},"demander":{"type":"object","properties":{"award_weights":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"number"}},"pilot_budget":{"type":"string"},"rfp_openness":{"type":"string","enum":["open","passport_gated","invite_only"]},"decision_basis":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},"preferences":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"additionalProperties":false}},"additionalProperties":false},"analyze":{"type":"object","properties":{"key_questions":{"maxItems":4,"type":"array","items":{"type":"string"},"description":"The user's key follow-up questions for the Analyze dossier (up to 4 stored, 2 effective after merge)."}},"required":["key_questions"],"additionalProperties":false},"judgment":{"type":"object","properties":{"description":{"type":"string"},"evaluation":{"type":"object","properties":{"comment":{"type":"string"},"weights":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"number"}},"dimensions":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"object","properties":{"label":{"type":"string"},"description":{"type":"string"}},"required":["label","description"],"additionalProperties":false}},"severity_deduction":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"number"}},"level_bands":{"type":"array","items":{"type":"object","properties":{"min":{"type":"number"},"level":{"type":"string"}},"required":["min","level"],"additionalProperties":false}},"grade_words":{"type":"object","properties":{"comment":{"type":"string"},"trust":{"type":"array","items":{"type":"object","properties":{"min":{"type":"number"},"word":{"type":"string"}},"required":["min","word"],"additionalProperties":false}},"risk":{"type":"array","items":{"type":"object","properties":{"min":{"type":"number"},"word":{"type":"string"}},"required":["min","word"],"additionalProperties":false}},"match":{"type":"array","items":{"type":"object","properties":{"min":{"type":"number"},"word":{"type":"string"}},"required":["min","word"],"additionalProperties":false}}},"additionalProperties":false}},"additionalProperties":false},"game":{"type":"object","properties":{"comment":{"type":"string"},"outcome_semantics":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"array","items":{"type":"string"}}},"role_interests":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"object","properties":{"prefer":{"type":"array","items":{"type":"string"}},"avoid":{"type":"array","items":{"type":"string"}},"sensitivity":{"type":"number"}},"required":["prefer","avoid","sensitivity"],"additionalProperties":false}},"appetite_multipliers":{"type":"object","properties":{"conservative":{"type":"number"},"balanced":{"type":"number"},"aggressive":{"type":"number"}},"additionalProperties":false},"scoring":{"type":"object","properties":{"base":{"type":"number"},"per_gain":{"type":"number"},"per_risk":{"type":"number"}},"additionalProperties":false},"keyword_rules":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"keywords":{"minItems":1,"type":"array","items":{"type":"string"}},"effect":{"type":"string"},"anchor":{"type":"string","enum":["prefer","avoid"]},"when_forbidden":{"type":"boolean"}},"required":["id","keywords","effect","anchor","when_forbidden"],"additionalProperties":false}},"forbid_pattern":{"type":"string"},"arb":{"type":"object","properties":{"comment":{"type":"string"},"effect_semantics":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"array","items":{"type":"string"}}},"role_interests":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"object","properties":{"prefer":{"type":"array","items":{"type":"string"}},"avoid":{"type":"array","items":{"type":"string"}},"sensitivity":{"type":"number"}},"required":["prefer","avoid","sensitivity"],"additionalProperties":false}},"keyword_rules":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"keywords":{"minItems":1,"type":"array","items":{"type":"string"}},"effect":{"type":"string"},"anchor":{"type":"string","enum":["prefer","avoid"]},"when_forbidden":{"type":"boolean"}},"required":["id","keywords","effect","anchor","when_forbidden"],"additionalProperties":false}},"forbid_pattern":{"type":"string"},"scoring":{"type":"object","properties":{"base":{"type":"number"},"per_gain":{"type":"number"},"per_risk":{"type":"number"}},"required":["base","per_gain","per_risk"],"additionalProperties":false}},"additionalProperties":false}},"additionalProperties":false},"match":{"type":"object","properties":{"comment":{"type":"string"},"region_scores":{"type":"object","properties":{"exact":{"type":"number"},"contains":{"type":"number"},"compatible":{"type":"number"},"overlap":{"type":"number"},"mismatch":{"type":"number"}},"additionalProperties":false},"weights":{"type":"object","properties":{"region":{"type":"number"},"industry":{"type":"number"},"price":{"type":"number"},"trust":{"type":"number"},"capabilities":{"type":"number"},"buyable":{"type":"number"},"reward_commitment":{"type":"number"},"tags":{"type":"number"},"acceptance":{"type":"number"}},"additionalProperties":false},"trust_bands":{"type":"array","items":{"type":"object","properties":{"min":{"type":"number"},"score":{"type":"number"}},"required":["min","score"],"additionalProperties":false}},"neutral_score":{"type":"number"},"price_over_budget_tolerance_pct":{"type":"number"},"top_n":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"additionalProperties":false},"monitor":{"type":"object","properties":{"comment":{"type":"string"},"thresholds":{"type":"object","properties":{"progress_stall_hours":{"type":"number"},"compensation_drop_ratio":{"type":"number"},"compensation_coverage_min":{"type":"number"},"messenger_timeout_hours":{"type":"number"},"review_window_closing_days":{"type":"number"},"arb_window_closing_days":{"type":"number"}},"additionalProperties":false},"escalation":{"type":"object","properties":{"default_expected_progress_hours":{"type":"number"},"stall_expected_multiplier":{"type":"number"},"stall_escalation_multiplier":{"type":"number"},"messenger_escalation_multiplier":{"type":"number"},"ratio_critical_threshold":{"type":"number"}},"additionalProperties":false}},"additionalProperties":false},"mode":{"type":"object","properties":{"comment":{"type":"string"},"appetite_thresholds":{"type":"object","properties":{"conservative":{"type":"object","properties":{"max_risk":{"type":"number"},"min_benefit":{"type":"number"}},"required":["max_risk","min_benefit"],"additionalProperties":false},"balanced":{"type":"object","properties":{"max_risk":{"type":"number"},"min_benefit":{"type":"number"}},"required":["max_risk","min_benefit"],"additionalProperties":false},"aggressive":{"type":"object","properties":{"max_risk":{"type":"number"},"min_benefit":{"type":"number"}},"required":["max_risk","min_benefit"],"additionalProperties":false}},"additionalProperties":false}},"additionalProperties":false},"scorecard":{"type":"object","properties":{"comment":{"type":"string"},"metrics":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"object","properties":{"weight":{"type":"object","properties":{"volume":{"type":"number"},"balanced":{"type":"number"},"margin":{"type":"number"}},"required":["volume","balanced","margin"],"additionalProperties":false},"good_threshold":{"type":"number"},"bad_threshold":{"type":"number"}},"additionalProperties":false}},"shop_evidence_metrics":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},"rules":{"type":"object","properties":{"comment":{"type":"string"},"domains":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"object","properties":{"comment":{"type":"string"},"facts":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}},"rules":{"type":"array","items":{"type":"object","properties":{"rule_id":{"type":"string"},"dimension":{"type":"string"},"trigger":{"type":"string"},"cases":{"type":"array","items":{"type":"object","properties":{"when":{"$ref":"#/definitions/__schema0"},"level":{"anyOf":[{"type":"string","enum":["critical","high","medium","low","info"]},{"type":"string","pattern":"^fact:([A-Za-z0-9_.-]+)$"}]},"title":{"type":"string"},"description":{"type":"string"},"scenario":{"type":"string"},"mitigation":{"type":"string"},"evidence":{"type":"string"},"stakeholders":{"type":"array","items":{"type":"string"}},"exposure":{"type":"object","properties":{"loss_parties":{"type":"array","items":{"type":"object","properties":{"role":{"type":"string","enum":["buyer","merchant","supplier","collaborator","arbitrator","system","neutral"]},"basis":{"type":"string"}},"required":["role","basis"],"additionalProperties":false}},"gain_paths":{"type":"array","items":{"type":"object","properties":{"role":{"type":"string","enum":["buyer","merchant","supplier","collaborator","arbitrator","system","neutral"]},"path":{"type":"string"},"viability":{"anyOf":[{"type":"string","enum":["viable","conditional","blocked","unverifiable"]},{"type":"string","pattern":"^fact:([A-Za-z0-9_.-]+)$"}]},"gate":{"type":"string"}},"required":["role","path","viability","gate"],"additionalProperties":false}},"downgrade_exempt":{"type":"boolean"}},"required":["loss_parties","gain_paths"],"additionalProperties":false}},"required":["when","level","title","description"],"additionalProperties":false}},"enabled":{"type":"boolean"}},"required":["rule_id"],"additionalProperties":false}},"severity_overrides":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string","enum":["error","warning","info"]}}},"additionalProperties":false}}},"additionalProperties":false},"role_intent":{"type":"object","properties":{"comment":{"type":"string"},"roles":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"object","properties":{"comment":{"type":"string"},"intents":{"minItems":1,"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"weight":{"type":"number","minimum":0,"maximum":1}},"required":["id","weight"],"additionalProperties":false}},"horizon":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"risk_appetite":{"type":"string","enum":["conservative","balanced","aggressive"]},"red_lines":{"type":"array","items":{"type":"string"}},"strategy_leaning":{"type":"string","enum":["cooperative","opportunistic","confrontational"]}},"additionalProperties":false}}},"additionalProperties":false},"version":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"additionalProperties":false},"match":{"type":"object","properties":{"demand_to_supply":{"type":"object","properties":{"policy_id":{"type":"string","minLength":1},"version":{"type":"integer","minimum":0,"maximum":9007199254740991},"direction":{"description":"Default demand_to_supply. A demand_to_supply policy drives match_discover; a supply_to_demand policy drives demand_present / discover_demands (and is rejected by match_discover).","type":"string","enum":["demand_to_supply","supply_to_demand"]},"unknown_policy":{"description":"What a gate with missing input does (K5-05 axiom 3). Default neutral_score (= pass, reported).","type":"string","enum":["pass","drop","neutral_score"]},"gates":{"type":"array","items":{"type":"object","properties":{"dim":{"type":"string","description":"Gate dimension. Enforced client-side: live, price, arb, compensation, machine, messenger, buy_guard, wip_verify, text, owner. Others are reported as ignored (not enforceable on-device yet)."},"op":{"description":"Comparison operator (eq/lte/gte/in/not_in/must_contain/must_not_contain) — validated per dim at apply time.","type":"string"},"value":{"anyOf":[{"type":"boolean"},{"type":"number"},{"type":"string"},{"type":"array","items":{"type":"string"}}]},"params":{"description":"Extra params; `from_budget: true` on a price gate uses the request budget as the threshold.","type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"required":["dim"],"additionalProperties":false}},"excludes":{"type":"array","items":{"type":"object","properties":{"dim":{"type":"string","description":"Exclude dimension. Enforced client-side: blacklist (objects/owners lists). anti_cheat/structure dims are reported as ignored (no client-side facet)."},"objects":{"type":"array","items":{"type":"string"}},"owners":{"type":"array","items":{"type":"string"}},"flags":{"type":"array","items":{"type":"string"}},"source":{"type":"array","items":{"type":"string"}},"rule":{"type":"string"}},"required":["dim"],"additionalProperties":false}},"weights":{"description":"demand_match rule id → weight (region/industry/price/trust/capabilities/tags/acceptance). Unregistered ids are reported as ignored.","type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"number","minimum":0}},"rerank":{"type":"object","properties":{"diversity":{"description":"Greedy per-group cap over the score-ordered list. `permission` is not enforceable client-side yet (reported ignored); use `owner`.","type":"object","properties":{"by":{"type":"string","enum":["owner","permission"]},"max_per_group":{"type":"integer","minimum":1,"maximum":9007199254740991}},"required":["by","max_per_group"],"additionalProperties":false},"explore":{},"llm":{},"fairness":{}},"additionalProperties":false},"recall":{"description":"Server/recall directives — accepted for portability, not enforceable from the client (reported ignored)."},"verify":{"description":"Facet verification directives — accepted for portability, not enforceable client-side (reported ignored)."},"output":{"type":"object","properties":{"top_n":{"type":"integer","minimum":1,"maximum":500},"explain":{"type":"boolean"},"evidence_chain":{},"coverage_report":{}},"additionalProperties":false}},"required":["policy_id"],"additionalProperties":false},"supply_to_demand":{"type":"object","properties":{"policy_id":{"type":"string","minLength":1},"version":{"type":"integer","minimum":0,"maximum":9007199254740991},"direction":{"description":"Default demand_to_supply. A demand_to_supply policy drives match_discover; a supply_to_demand policy drives demand_present / discover_demands (and is rejected by match_discover).","type":"string","enum":["demand_to_supply","supply_to_demand"]},"unknown_policy":{"description":"What a gate with missing input does (K5-05 axiom 3). Default neutral_score (= pass, reported).","type":"string","enum":["pass","drop","neutral_score"]},"gates":{"type":"array","items":{"type":"object","properties":{"dim":{"type":"string","description":"Gate dimension. Enforced client-side: live, price, arb, compensation, machine, messenger, buy_guard, wip_verify, text, owner. Others are reported as ignored (not enforceable on-device yet)."},"op":{"description":"Comparison operator (eq/lte/gte/in/not_in/must_contain/must_not_contain) — validated per dim at apply time.","type":"string"},"value":{"anyOf":[{"type":"boolean"},{"type":"number"},{"type":"string"},{"type":"array","items":{"type":"string"}}]},"params":{"description":"Extra params; `from_budget: true` on a price gate uses the request budget as the threshold.","type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"required":["dim"],"additionalProperties":false}},"excludes":{"type":"array","items":{"type":"object","properties":{"dim":{"type":"string","description":"Exclude dimension. Enforced client-side: blacklist (objects/owners lists). anti_cheat/structure dims are reported as ignored (no client-side facet)."},"objects":{"type":"array","items":{"type":"string"}},"owners":{"type":"array","items":{"type":"string"}},"flags":{"type":"array","items":{"type":"string"}},"source":{"type":"array","items":{"type":"string"}},"rule":{"type":"string"}},"required":["dim"],"additionalProperties":false}},"weights":{"description":"demand_match rule id → weight (region/industry/price/trust/capabilities/tags/acceptance). Unregistered ids are reported as ignored.","type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"number","minimum":0}},"rerank":{"type":"object","properties":{"diversity":{"description":"Greedy per-group cap over the score-ordered list. `permission` is not enforceable client-side yet (reported ignored); use `owner`.","type":"object","properties":{"by":{"type":"string","enum":["owner","permission"]},"max_per_group":{"type":"integer","minimum":1,"maximum":9007199254740991}},"required":["by","max_per_group"],"additionalProperties":false},"explore":{},"llm":{},"fairness":{}},"additionalProperties":false},"recall":{"description":"Server/recall directives — accepted for portability, not enforceable from the client (reported ignored)."},"verify":{"description":"Facet verification directives — accepted for portability, not enforceable client-side (reported ignored)."},"output":{"type":"object","properties":{"top_n":{"type":"integer","minimum":1,"maximum":500},"explain":{"type":"boolean"},"evidence_chain":{},"coverage_report":{}},"additionalProperties":false}},"required":["policy_id"],"additionalProperties":false}},"additionalProperties":false}},"additionalProperties":false},"confirm":{"description":"Explicit human confirmation — required and MUST be true whenever the call carries a long_term payload (the STABLE identity layer is user-driven: the AI may draft and propose it, but the write lands only after the human approves). current-layer sets need no confirmation.","type":"boolean"}},"required":["action","scope","role","industries"],"additionalProperties":false},{"type":"object","properties":{"action":{"type":"string","const":"analyze"},"context":{"type":"string","description":"Free-form context: website URL, experience summary, self description, goal."}},"required":["action","context"],"additionalProperties":false},{"type":"object","properties":{"action":{"type":"string","const":"apply"},"context":{"type":"string","description":"Free-form context whose extracted signals feed the CURRENT layer."},"scope":{"type":"string","enum":["system","account"]},"account":{"type":"string"},"role":{"type":"string","enum":["merchant","customer","demander","prospect","supplier","collaborator","arbitrator"]},"industries":{"type":"array","items":{"type":"string","pattern":"^[a-z][a-z0-9_]*$"}},"mode":{"description":"merge (default) unions strategy/rules/requirements into current; replace discards the existing current layer.","type":"string","enum":["merge","replace"]}},"required":["action","context","scope"],"additionalProperties":false},{"type":"object","properties":{"action":{"type":"string","const":"sync"},"account":{"description":"Account whose behavior (experience layer) is merged into its CURRENT layer. Omit = system persona.","type":"string"}},"required":["action"],"additionalProperties":false},{"type":"object","properties":{"action":{"type":"string","const":"apply_delta"},"scope":{"type":"string","enum":["system","account"]},"account":{"description":"Required when scope=account.","type":"string"},"role":{"type":"string","enum":["merchant","customer","demander","prospect","supplier","collaborator","arbitrator"]},"industries":{"type":"array","items":{"type":"string","pattern":"^[a-z][a-z0-9_]*$"}},"delta":{"type":"object","properties":{"identity":{"type":"object","properties":{"region":{"type":"string"},"languages":{"type":"array","items":{"type":"string"}},"self_description":{"type":"string"}},"additionalProperties":false},"preferences":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"strategy":{"type":"array","items":{"type":"string"}},"rules":{"type":"array","items":{"type":"string"}},"requirements":{"type":"array","items":{"type":"string"}},"spec":{"type":"string"},"overrides":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string","enum":["auto","prompt","block","warn"]}},"policy":{"type":"object","properties":{"confirm":{"type":"object","properties":{"mode":{"type":"string","enum":["full","streamlined","quiet"]},"batch_standard":{"type":"boolean"},"session_remember":{"type":"array","items":{"type":"string"}},"intent_bypass":{"type":"boolean"}},"additionalProperties":false},"budget":{"type":"object","properties":{"daily_wow":{"anyOf":[{"type":"string"},{"type":"null"}]}},"additionalProperties":false},"allowlist":{"type":"array","items":{"type":"string"}},"audit":{"type":"boolean"}},"additionalProperties":false},"profiles":{"type":"object","properties":{"merchant":{"type":"object","properties":{"tastes":{"type":"object","properties":{"materials":{"type":"array","items":{"type":"string"}},"colors":{"type":"array","items":{"type":"string"}},"styles":{"type":"array","items":{"type":"string"}},"tags":{"type":"array","items":{"type":"string"}},"brands":{"type":"array","items":{"type":"string"}},"avoid":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},"consumption":{"type":"object","properties":{"frequency":{"type":"string","enum":["rare","occasional","regular","frequent"]},"price_band":{"type":"string","enum":["budget","mid","premium","luxury"]},"decision_speed":{"type":"string","enum":["fast","deliberate","slow"]},"channels":{"type":"array","items":{"type":"string"}},"repeat_orientation":{"type":"string","enum":["novelty","balanced","loyal"]},"avg_order_range":{"type":"string"},"notes":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},"merchant":{"type":"object","properties":{"posture":{"type":"string","enum":["volume","balanced","margin"]},"pricing_style":{"type":"string","enum":["competitive","value","premium","custom_quote"]},"service_style":{"type":"array","items":{"type":"string"}},"communication":{"type":"string"},"growth_focus":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},"supplier":{"type":"object","properties":{"min_order":{"type":"string"},"lead_time":{"type":"string"},"settlement_terms":{"type":"array","items":{"type":"string"}},"categories":{"type":"array","items":{"type":"string"}},"capacity":{"type":"string"}},"additionalProperties":false},"collaborator":{"type":"object","properties":{"scope_discipline":{"type":"string","enum":["strict","balanced","flexible"]},"notifications":{"type":"string","enum":["minimal","digest","realtime"]},"working_hours":{"type":"string"},"advance_style":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},"arbitrator":{"type":"object","properties":{"case_types":{"type":"array","items":{"type":"string"}},"response_speed":{"type":"string","enum":["fast","standard","thorough"]},"ruling_style":{"type":"string","enum":["concise","detailed"]}},"additionalProperties":false},"demander":{"type":"object","properties":{"award_weights":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"number"}},"pilot_budget":{"type":"string"},"rfp_openness":{"type":"string","enum":["open","passport_gated","invite_only"]},"decision_basis":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},"preferences":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"additionalProperties":false},"customer":{"type":"object","properties":{"tastes":{"type":"object","properties":{"materials":{"type":"array","items":{"type":"string"}},"colors":{"type":"array","items":{"type":"string"}},"styles":{"type":"array","items":{"type":"string"}},"tags":{"type":"array","items":{"type":"string"}},"brands":{"type":"array","items":{"type":"string"}},"avoid":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},"consumption":{"type":"object","properties":{"frequency":{"type":"string","enum":["rare","occasional","regular","frequent"]},"price_band":{"type":"string","enum":["budget","mid","premium","luxury"]},"decision_speed":{"type":"string","enum":["fast","deliberate","slow"]},"channels":{"type":"array","items":{"type":"string"}},"repeat_orientation":{"type":"string","enum":["novelty","balanced","loyal"]},"avg_order_range":{"type":"string"},"notes":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},"merchant":{"type":"object","properties":{"posture":{"type":"string","enum":["volume","balanced","margin"]},"pricing_style":{"type":"string","enum":["competitive","value","premium","custom_quote"]},"service_style":{"type":"array","items":{"type":"string"}},"communication":{"type":"string"},"growth_focus":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},"supplier":{"type":"object","properties":{"min_order":{"type":"string"},"lead_time":{"type":"string"},"settlement_terms":{"type":"array","items":{"type":"string"}},"categories":{"type":"array","items":{"type":"string"}},"capacity":{"type":"string"}},"additionalProperties":false},"collaborator":{"type":"object","properties":{"scope_discipline":{"type":"string","enum":["strict","balanced","flexible"]},"notifications":{"type":"string","enum":["minimal","digest","realtime"]},"working_hours":{"type":"string"},"advance_style":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},"arbitrator":{"type":"object","properties":{"case_types":{"type":"array","items":{"type":"string"}},"response_speed":{"type":"string","enum":["fast","standard","thorough"]},"ruling_style":{"type":"string","enum":["concise","detailed"]}},"additionalProperties":false},"demander":{"type":"object","properties":{"award_weights":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"number"}},"pilot_budget":{"type":"string"},"rfp_openness":{"type":"string","enum":["open","passport_gated","invite_only"]},"decision_basis":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},"preferences":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"additionalProperties":false},"demander":{"type":"object","properties":{"tastes":{"type":"object","properties":{"materials":{"type":"array","items":{"type":"string"}},"colors":{"type":"array","items":{"type":"string"}},"styles":{"type":"array","items":{"type":"string"}},"tags":{"type":"array","items":{"type":"string"}},"brands":{"type":"array","items":{"type":"string"}},"avoid":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},"consumption":{"type":"object","properties":{"frequency":{"type":"string","enum":["rare","occasional","regular","frequent"]},"price_band":{"type":"string","enum":["budget","mid","premium","luxury"]},"decision_speed":{"type":"string","enum":["fast","deliberate","slow"]},"channels":{"type":"array","items":{"type":"string"}},"repeat_orientation":{"type":"string","enum":["novelty","balanced","loyal"]},"avg_order_range":{"type":"string"},"notes":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},"merchant":{"type":"object","properties":{"posture":{"type":"string","enum":["volume","balanced","margin"]},"pricing_style":{"type":"string","enum":["competitive","value","premium","custom_quote"]},"service_style":{"type":"array","items":{"type":"string"}},"communication":{"type":"string"},"growth_focus":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},"supplier":{"type":"object","properties":{"min_order":{"type":"string"},"lead_time":{"type":"string"},"settlement_terms":{"type":"array","items":{"type":"string"}},"categories":{"type":"array","items":{"type":"string"}},"capacity":{"type":"string"}},"additionalProperties":false},"collaborator":{"type":"object","properties":{"scope_discipline":{"type":"string","enum":["strict","balanced","flexible"]},"notifications":{"type":"string","enum":["minimal","digest","realtime"]},"working_hours":{"type":"string"},"advance_style":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},"arbitrator":{"type":"object","properties":{"case_types":{"type":"array","items":{"type":"string"}},"response_speed":{"type":"string","enum":["fast","standard","thorough"]},"ruling_style":{"type":"string","enum":["concise","detailed"]}},"additionalProperties":false},"demander":{"type":"object","properties":{"award_weights":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"number"}},"pilot_budget":{"type":"string"},"rfp_openness":{"type":"string","enum":["open","passport_gated","invite_only"]},"decision_basis":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},"preferences":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"additionalProperties":false},"prospect":{"type":"object","properties":{"tastes":{"type":"object","properties":{"materials":{"type":"array","items":{"type":"string"}},"colors":{"type":"array","items":{"type":"string"}},"styles":{"type":"array","items":{"type":"string"}},"tags":{"type":"array","items":{"type":"string"}},"brands":{"type":"array","items":{"type":"string"}},"avoid":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},"consumption":{"type":"object","properties":{"frequency":{"type":"string","enum":["rare","occasional","regular","frequent"]},"price_band":{"type":"string","enum":["budget","mid","premium","luxury"]},"decision_speed":{"type":"string","enum":["fast","deliberate","slow"]},"channels":{"type":"array","items":{"type":"string"}},"repeat_orientation":{"type":"string","enum":["novelty","balanced","loyal"]},"avg_order_range":{"type":"string"},"notes":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},"merchant":{"type":"object","properties":{"posture":{"type":"string","enum":["volume","balanced","margin"]},"pricing_style":{"type":"string","enum":["competitive","value","premium","custom_quote"]},"service_style":{"type":"array","items":{"type":"string"}},"communication":{"type":"string"},"growth_focus":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},"supplier":{"type":"object","properties":{"min_order":{"type":"string"},"lead_time":{"type":"string"},"settlement_terms":{"type":"array","items":{"type":"string"}},"categories":{"type":"array","items":{"type":"string"}},"capacity":{"type":"string"}},"additionalProperties":false},"collaborator":{"type":"object","properties":{"scope_discipline":{"type":"string","enum":["strict","balanced","flexible"]},"notifications":{"type":"string","enum":["minimal","digest","realtime"]},"working_hours":{"type":"string"},"advance_style":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},"arbitrator":{"type":"object","properties":{"case_types":{"type":"array","items":{"type":"string"}},"response_speed":{"type":"string","enum":["fast","standard","thorough"]},"ruling_style":{"type":"string","enum":["concise","detailed"]}},"additionalProperties":false},"demander":{"type":"object","properties":{"award_weights":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"number"}},"pilot_budget":{"type":"string"},"rfp_openness":{"type":"string","enum":["open","passport_gated","invite_only"]},"decision_basis":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},"preferences":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"additionalProperties":false},"supplier":{"type":"object","properties":{"tastes":{"type":"object","properties":{"materials":{"type":"array","items":{"type":"string"}},"colors":{"type":"array","items":{"type":"string"}},"styles":{"type":"array","items":{"type":"string"}},"tags":{"type":"array","items":{"type":"string"}},"brands":{"type":"array","items":{"type":"string"}},"avoid":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},"consumption":{"type":"object","properties":{"frequency":{"type":"string","enum":["rare","occasional","regular","frequent"]},"price_band":{"type":"string","enum":["budget","mid","premium","luxury"]},"decision_speed":{"type":"string","enum":["fast","deliberate","slow"]},"channels":{"type":"array","items":{"type":"string"}},"repeat_orientation":{"type":"string","enum":["novelty","balanced","loyal"]},"avg_order_range":{"type":"string"},"notes":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},"merchant":{"type":"object","properties":{"posture":{"type":"string","enum":["volume","balanced","margin"]},"pricing_style":{"type":"string","enum":["competitive","value","premium","custom_quote"]},"service_style":{"type":"array","items":{"type":"string"}},"communication":{"type":"string"},"growth_focus":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},"supplier":{"type":"object","properties":{"min_order":{"type":"string"},"lead_time":{"type":"string"},"settlement_terms":{"type":"array","items":{"type":"string"}},"categories":{"type":"array","items":{"type":"string"}},"capacity":{"type":"string"}},"additionalProperties":false},"collaborator":{"type":"object","properties":{"scope_discipline":{"type":"string","enum":["strict","balanced","flexible"]},"notifications":{"type":"string","enum":["minimal","digest","realtime"]},"working_hours":{"type":"string"},"advance_style":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},"arbitrator":{"type":"object","properties":{"case_types":{"type":"array","items":{"type":"string"}},"response_speed":{"type":"string","enum":["fast","standard","thorough"]},"ruling_style":{"type":"string","enum":["concise","detailed"]}},"additionalProperties":false},"demander":{"type":"object","properties":{"award_weights":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"number"}},"pilot_budget":{"type":"string"},"rfp_openness":{"type":"string","enum":["open","passport_gated","invite_only"]},"decision_basis":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},"preferences":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"additionalProperties":false},"collaborator":{"type":"object","properties":{"tastes":{"type":"object","properties":{"materials":{"type":"array","items":{"type":"string"}},"colors":{"type":"array","items":{"type":"string"}},"styles":{"type":"array","items":{"type":"string"}},"tags":{"type":"array","items":{"type":"string"}},"brands":{"type":"array","items":{"type":"string"}},"avoid":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},"consumption":{"type":"object","properties":{"frequency":{"type":"string","enum":["rare","occasional","regular","frequent"]},"price_band":{"type":"string","enum":["budget","mid","premium","luxury"]},"decision_speed":{"type":"string","enum":["fast","deliberate","slow"]},"channels":{"type":"array","items":{"type":"string"}},"repeat_orientation":{"type":"string","enum":["novelty","balanced","loyal"]},"avg_order_range":{"type":"string"},"notes":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},"merchant":{"type":"object","properties":{"posture":{"type":"string","enum":["volume","balanced","margin"]},"pricing_style":{"type":"string","enum":["competitive","value","premium","custom_quote"]},"service_style":{"type":"array","items":{"type":"string"}},"communication":{"type":"string"},"growth_focus":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},"supplier":{"type":"object","properties":{"min_order":{"type":"string"},"lead_time":{"type":"string"},"settlement_terms":{"type":"array","items":{"type":"string"}},"categories":{"type":"array","items":{"type":"string"}},"capacity":{"type":"string"}},"additionalProperties":false},"collaborator":{"type":"object","properties":{"scope_discipline":{"type":"string","enum":["strict","balanced","flexible"]},"notifications":{"type":"string","enum":["minimal","digest","realtime"]},"working_hours":{"type":"string"},"advance_style":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},"arbitrator":{"type":"object","properties":{"case_types":{"type":"array","items":{"type":"string"}},"response_speed":{"type":"string","enum":["fast","standard","thorough"]},"ruling_style":{"type":"string","enum":["concise","detailed"]}},"additionalProperties":false},"demander":{"type":"object","properties":{"award_weights":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"number"}},"pilot_budget":{"type":"string"},"rfp_openness":{"type":"string","enum":["open","passport_gated","invite_only"]},"decision_basis":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},"preferences":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"additionalProperties":false},"arbitrator":{"type":"object","properties":{"tastes":{"type":"object","properties":{"materials":{"type":"array","items":{"type":"string"}},"colors":{"type":"array","items":{"type":"string"}},"styles":{"type":"array","items":{"type":"string"}},"tags":{"type":"array","items":{"type":"string"}},"brands":{"type":"array","items":{"type":"string"}},"avoid":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},"consumption":{"type":"object","properties":{"frequency":{"type":"string","enum":["rare","occasional","regular","frequent"]},"price_band":{"type":"string","enum":["budget","mid","premium","luxury"]},"decision_speed":{"type":"string","enum":["fast","deliberate","slow"]},"channels":{"type":"array","items":{"type":"string"}},"repeat_orientation":{"type":"string","enum":["novelty","balanced","loyal"]},"avg_order_range":{"type":"string"},"notes":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},"merchant":{"type":"object","properties":{"posture":{"type":"string","enum":["volume","balanced","margin"]},"pricing_style":{"type":"string","enum":["competitive","value","premium","custom_quote"]},"service_style":{"type":"array","items":{"type":"string"}},"communication":{"type":"string"},"growth_focus":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},"supplier":{"type":"object","properties":{"min_order":{"type":"string"},"lead_time":{"type":"string"},"settlement_terms":{"type":"array","items":{"type":"string"}},"categories":{"type":"array","items":{"type":"string"}},"capacity":{"type":"string"}},"additionalProperties":false},"collaborator":{"type":"object","properties":{"scope_discipline":{"type":"string","enum":["strict","balanced","flexible"]},"notifications":{"type":"string","enum":["minimal","digest","realtime"]},"working_hours":{"type":"string"},"advance_style":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},"arbitrator":{"type":"object","properties":{"case_types":{"type":"array","items":{"type":"string"}},"response_speed":{"type":"string","enum":["fast","standard","thorough"]},"ruling_style":{"type":"string","enum":["concise","detailed"]}},"additionalProperties":false},"demander":{"type":"object","properties":{"award_weights":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"number"}},"pilot_budget":{"type":"string"},"rfp_openness":{"type":"string","enum":["open","passport_gated","invite_only"]},"decision_basis":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},"preferences":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"additionalProperties":false}},"additionalProperties":false},"analyze":{"type":"object","properties":{"key_questions":{"maxItems":4,"type":"array","items":{"type":"string"},"description":"The user's key follow-up questions for the Analyze dossier (up to 4 stored, 2 effective after merge)."}},"required":["key_questions"],"additionalProperties":false},"judgment":{"type":"object","properties":{"description":{"type":"string"},"evaluation":{"type":"object","properties":{"comment":{"type":"string"},"weights":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"number"}},"dimensions":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"object","properties":{"label":{"type":"string"},"description":{"type":"string"}},"required":["label","description"],"additionalProperties":false}},"severity_deduction":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"number"}},"level_bands":{"type":"array","items":{"type":"object","properties":{"min":{"type":"number"},"level":{"type":"string"}},"required":["min","level"],"additionalProperties":false}},"grade_words":{"type":"object","properties":{"comment":{"type":"string"},"trust":{"type":"array","items":{"type":"object","properties":{"min":{"type":"number"},"word":{"type":"string"}},"required":["min","word"],"additionalProperties":false}},"risk":{"type":"array","items":{"type":"object","properties":{"min":{"type":"number"},"word":{"type":"string"}},"required":["min","word"],"additionalProperties":false}},"match":{"type":"array","items":{"type":"object","properties":{"min":{"type":"number"},"word":{"type":"string"}},"required":["min","word"],"additionalProperties":false}}},"additionalProperties":false}},"additionalProperties":false},"game":{"type":"object","properties":{"comment":{"type":"string"},"outcome_semantics":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"array","items":{"type":"string"}}},"role_interests":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"object","properties":{"prefer":{"type":"array","items":{"type":"string"}},"avoid":{"type":"array","items":{"type":"string"}},"sensitivity":{"type":"number"}},"required":["prefer","avoid","sensitivity"],"additionalProperties":false}},"appetite_multipliers":{"type":"object","properties":{"conservative":{"type":"number"},"balanced":{"type":"number"},"aggressive":{"type":"number"}},"additionalProperties":false},"scoring":{"type":"object","properties":{"base":{"type":"number"},"per_gain":{"type":"number"},"per_risk":{"type":"number"}},"additionalProperties":false},"keyword_rules":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"keywords":{"minItems":1,"type":"array","items":{"type":"string"}},"effect":{"type":"string"},"anchor":{"type":"string","enum":["prefer","avoid"]},"when_forbidden":{"type":"boolean"}},"required":["id","keywords","effect","anchor","when_forbidden"],"additionalProperties":false}},"forbid_pattern":{"type":"string"},"arb":{"type":"object","properties":{"comment":{"type":"string"},"effect_semantics":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"array","items":{"type":"string"}}},"role_interests":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"object","properties":{"prefer":{"type":"array","items":{"type":"string"}},"avoid":{"type":"array","items":{"type":"string"}},"sensitivity":{"type":"number"}},"required":["prefer","avoid","sensitivity"],"additionalProperties":false}},"keyword_rules":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"keywords":{"minItems":1,"type":"array","items":{"type":"string"}},"effect":{"type":"string"},"anchor":{"type":"string","enum":["prefer","avoid"]},"when_forbidden":{"type":"boolean"}},"required":["id","keywords","effect","anchor","when_forbidden"],"additionalProperties":false}},"forbid_pattern":{"type":"string"},"scoring":{"type":"object","properties":{"base":{"type":"number"},"per_gain":{"type":"number"},"per_risk":{"type":"number"}},"required":["base","per_gain","per_risk"],"additionalProperties":false}},"additionalProperties":false}},"additionalProperties":false},"match":{"type":"object","properties":{"comment":{"type":"string"},"region_scores":{"type":"object","properties":{"exact":{"type":"number"},"contains":{"type":"number"},"compatible":{"type":"number"},"overlap":{"type":"number"},"mismatch":{"type":"number"}},"additionalProperties":false},"weights":{"type":"object","properties":{"region":{"type":"number"},"industry":{"type":"number"},"price":{"type":"number"},"trust":{"type":"number"},"capabilities":{"type":"number"},"buyable":{"type":"number"},"reward_commitment":{"type":"number"},"tags":{"type":"number"},"acceptance":{"type":"number"}},"additionalProperties":false},"trust_bands":{"type":"array","items":{"type":"object","properties":{"min":{"type":"number"},"score":{"type":"number"}},"required":["min","score"],"additionalProperties":false}},"neutral_score":{"type":"number"},"price_over_budget_tolerance_pct":{"type":"number"},"top_n":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"additionalProperties":false},"monitor":{"type":"object","properties":{"comment":{"type":"string"},"thresholds":{"type":"object","properties":{"progress_stall_hours":{"type":"number"},"compensation_drop_ratio":{"type":"number"},"compensation_coverage_min":{"type":"number"},"messenger_timeout_hours":{"type":"number"},"review_window_closing_days":{"type":"number"},"arb_window_closing_days":{"type":"number"}},"additionalProperties":false},"escalation":{"type":"object","properties":{"default_expected_progress_hours":{"type":"number"},"stall_expected_multiplier":{"type":"number"},"stall_escalation_multiplier":{"type":"number"},"messenger_escalation_multiplier":{"type":"number"},"ratio_critical_threshold":{"type":"number"}},"additionalProperties":false}},"additionalProperties":false},"mode":{"type":"object","properties":{"comment":{"type":"string"},"appetite_thresholds":{"type":"object","properties":{"conservative":{"type":"object","properties":{"max_risk":{"type":"number"},"min_benefit":{"type":"number"}},"required":["max_risk","min_benefit"],"additionalProperties":false},"balanced":{"type":"object","properties":{"max_risk":{"type":"number"},"min_benefit":{"type":"number"}},"required":["max_risk","min_benefit"],"additionalProperties":false},"aggressive":{"type":"object","properties":{"max_risk":{"type":"number"},"min_benefit":{"type":"number"}},"required":["max_risk","min_benefit"],"additionalProperties":false}},"additionalProperties":false}},"additionalProperties":false},"scorecard":{"type":"object","properties":{"comment":{"type":"string"},"metrics":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"object","properties":{"weight":{"type":"object","properties":{"volume":{"type":"number"},"balanced":{"type":"number"},"margin":{"type":"number"}},"required":["volume","balanced","margin"],"additionalProperties":false},"good_threshold":{"type":"number"},"bad_threshold":{"type":"number"}},"additionalProperties":false}},"shop_evidence_metrics":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},"rules":{"type":"object","properties":{"comment":{"type":"string"},"domains":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"object","properties":{"comment":{"type":"string"},"facts":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}},"rules":{"type":"array","items":{"type":"object","properties":{"rule_id":{"type":"string"},"dimension":{"type":"string"},"trigger":{"type":"string"},"cases":{"type":"array","items":{"type":"object","properties":{"when":{"$ref":"#/definitions/__schema0"},"level":{"anyOf":[{"type":"string","enum":["critical","high","medium","low","info"]},{"type":"string","pattern":"^fact:([A-Za-z0-9_.-]+)$"}]},"title":{"type":"string"},"description":{"type":"string"},"scenario":{"type":"string"},"mitigation":{"type":"string"},"evidence":{"type":"string"},"stakeholders":{"type":"array","items":{"type":"string"}},"exposure":{"type":"object","properties":{"loss_parties":{"type":"array","items":{"type":"object","properties":{"role":{"type":"string","enum":["buyer","merchant","supplier","collaborator","arbitrator","system","neutral"]},"basis":{"type":"string"}},"required":["role","basis"],"additionalProperties":false}},"gain_paths":{"type":"array","items":{"type":"object","properties":{"role":{"type":"string","enum":["buyer","merchant","supplier","collaborator","arbitrator","system","neutral"]},"path":{"type":"string"},"viability":{"anyOf":[{"type":"string","enum":["viable","conditional","blocked","unverifiable"]},{"type":"string","pattern":"^fact:([A-Za-z0-9_.-]+)$"}]},"gate":{"type":"string"}},"required":["role","path","viability","gate"],"additionalProperties":false}},"downgrade_exempt":{"type":"boolean"}},"required":["loss_parties","gain_paths"],"additionalProperties":false}},"required":["when","level","title","description"],"additionalProperties":false}},"enabled":{"type":"boolean"}},"required":["rule_id"],"additionalProperties":false}},"severity_overrides":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string","enum":["error","warning","info"]}}},"additionalProperties":false}}},"additionalProperties":false},"role_intent":{"type":"object","properties":{"comment":{"type":"string"},"roles":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"object","properties":{"comment":{"type":"string"},"intents":{"minItems":1,"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"weight":{"type":"number","minimum":0,"maximum":1}},"required":["id","weight"],"additionalProperties":false}},"horizon":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"risk_appetite":{"type":"string","enum":["conservative","balanced","aggressive"]},"red_lines":{"type":"array","items":{"type":"string"}},"strategy_leaning":{"type":"string","enum":["cooperative","opportunistic","confrontational"]}},"additionalProperties":false}}},"additionalProperties":false},"version":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"additionalProperties":false},"match":{"type":"object","properties":{"demand_to_supply":{"type":"object","properties":{"policy_id":{"type":"string","minLength":1},"version":{"type":"integer","minimum":0,"maximum":9007199254740991},"direction":{"description":"Default demand_to_supply. A demand_to_supply policy drives match_discover; a supply_to_demand policy drives demand_present / discover_demands (and is rejected by match_discover).","type":"string","enum":["demand_to_supply","supply_to_demand"]},"unknown_policy":{"description":"What a gate with missing input does (K5-05 axiom 3). Default neutral_score (= pass, reported).","type":"string","enum":["pass","drop","neutral_score"]},"gates":{"type":"array","items":{"type":"object","properties":{"dim":{"type":"string","description":"Gate dimension. Enforced client-side: live, price, arb, compensation, machine, messenger, buy_guard, wip_verify, text, owner. Others are reported as ignored (not enforceable on-device yet)."},"op":{"description":"Comparison operator (eq/lte/gte/in/not_in/must_contain/must_not_contain) — validated per dim at apply time.","type":"string"},"value":{"anyOf":[{"type":"boolean"},{"type":"number"},{"type":"string"},{"type":"array","items":{"type":"string"}}]},"params":{"description":"Extra params; `from_budget: true` on a price gate uses the request budget as the threshold.","type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"required":["dim"],"additionalProperties":false}},"excludes":{"type":"array","items":{"type":"object","properties":{"dim":{"type":"string","description":"Exclude dimension. Enforced client-side: blacklist (objects/owners lists). anti_cheat/structure dims are reported as ignored (no client-side facet)."},"objects":{"type":"array","items":{"type":"string"}},"owners":{"type":"array","items":{"type":"string"}},"flags":{"type":"array","items":{"type":"string"}},"source":{"type":"array","items":{"type":"string"}},"rule":{"type":"string"}},"required":["dim"],"additionalProperties":false}},"weights":{"description":"demand_match rule id → weight (region/industry/price/trust/capabilities/tags/acceptance). Unregistered ids are reported as ignored.","type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"number","minimum":0}},"rerank":{"type":"object","properties":{"diversity":{"description":"Greedy per-group cap over the score-ordered list. `permission` is not enforceable client-side yet (reported ignored); use `owner`.","type":"object","properties":{"by":{"type":"string","enum":["owner","permission"]},"max_per_group":{"type":"integer","minimum":1,"maximum":9007199254740991}},"required":["by","max_per_group"],"additionalProperties":false},"explore":{},"llm":{},"fairness":{}},"additionalProperties":false},"recall":{"description":"Server/recall directives — accepted for portability, not enforceable from the client (reported ignored)."},"verify":{"description":"Facet verification directives — accepted for portability, not enforceable client-side (reported ignored)."},"output":{"type":"object","properties":{"top_n":{"type":"integer","minimum":1,"maximum":500},"explain":{"type":"boolean"},"evidence_chain":{},"coverage_report":{}},"additionalProperties":false}},"required":["policy_id"],"additionalProperties":false},"supply_to_demand":{"type":"object","properties":{"policy_id":{"type":"string","minLength":1},"version":{"type":"integer","minimum":0,"maximum":9007199254740991},"direction":{"description":"Default demand_to_supply. A demand_to_supply policy drives match_discover; a supply_to_demand policy drives demand_present / discover_demands (and is rejected by match_discover).","type":"string","enum":["demand_to_supply","supply_to_demand"]},"unknown_policy":{"description":"What a gate with missing input does (K5-05 axiom 3). Default neutral_score (= pass, reported).","type":"string","enum":["pass","drop","neutral_score"]},"gates":{"type":"array","items":{"type":"object","properties":{"dim":{"type":"string","description":"Gate dimension. Enforced client-side: live, price, arb, compensation, machine, messenger, buy_guard, wip_verify, text, owner. Others are reported as ignored (not enforceable on-device yet)."},"op":{"description":"Comparison operator (eq/lte/gte/in/not_in/must_contain/must_not_contain) — validated per dim at apply time.","type":"string"},"value":{"anyOf":[{"type":"boolean"},{"type":"number"},{"type":"string"},{"type":"array","items":{"type":"string"}}]},"params":{"description":"Extra params; `from_budget: true` on a price gate uses the request budget as the threshold.","type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"required":["dim"],"additionalProperties":false}},"excludes":{"type":"array","items":{"type":"object","properties":{"dim":{"type":"string","description":"Exclude dimension. Enforced client-side: blacklist (objects/owners lists). anti_cheat/structure dims are reported as ignored (no client-side facet)."},"objects":{"type":"array","items":{"type":"string"}},"owners":{"type":"array","items":{"type":"string"}},"flags":{"type":"array","items":{"type":"string"}},"source":{"type":"array","items":{"type":"string"}},"rule":{"type":"string"}},"required":["dim"],"additionalProperties":false}},"weights":{"description":"demand_match rule id → weight (region/industry/price/trust/capabilities/tags/acceptance). Unregistered ids are reported as ignored.","type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"number","minimum":0}},"rerank":{"type":"object","properties":{"diversity":{"description":"Greedy per-group cap over the score-ordered list. `permission` is not enforceable client-side yet (reported ignored); use `owner`.","type":"object","properties":{"by":{"type":"string","enum":["owner","permission"]},"max_per_group":{"type":"integer","minimum":1,"maximum":9007199254740991}},"required":["by","max_per_group"],"additionalProperties":false},"explore":{},"llm":{},"fairness":{}},"additionalProperties":false},"recall":{"description":"Server/recall directives — accepted for portability, not enforceable from the client (reported ignored)."},"verify":{"description":"Facet verification directives — accepted for portability, not enforceable client-side (reported ignored)."},"output":{"type":"object","properties":{"top_n":{"type":"integer","minimum":1,"maximum":500},"explain":{"type":"boolean"},"evidence_chain":{},"coverage_report":{}},"additionalProperties":false}},"required":["policy_id"],"additionalProperties":false}},"additionalProperties":false}},"additionalProperties":false,"description":"Structured CURRENT-layer delta to merge (e.g. a confirmed strategy-review proposal). Server-guarded: policy/overrides are rejected; long_term is never written; arrays union with existing current values."}},"required":["action","scope","delta"],"additionalProperties":false},{"type":"object","properties":{"action":{"type":"string","const":"remove"},"scope":{"type":"string","enum":["system","account"]},"account":{"type":"string"}},"required":["action","scope"],"additionalProperties":false},{"type":"object","properties":{"action":{"type":"string","const":"strategy"},"account":{"description":"Chain account address; omitted = the on-chain DEFAULT account (name=''), falling back to the system persona when no default account exists.","type":"string"},"role":{"description":"Role override; defaults to the effective persona's role.","type":"string","enum":["merchant","customer","demander","prospect","supplier","collaborator","arbitrator"]},"strategy":{"description":"Explicit strategy statements; defaults to the effective persona's strategy[].","type":"array","items":{"type":"string"}}},"required":["action"],"additionalProperties":false},{"type":"object","properties":{"action":{"type":"string","const":"region_hint"},"propose":{"description":"An address string to PROPOSE storing as the local delivery address. Returns a consent-gated save proposal — NEVER auto-writes; the user must confirm via local_info_operation.","type":"string"}},"required":["action"],"additionalProperties":false},{"type":"object","properties":{"action":{"type":"string","const":"distill"},"goal_id":{"type":"string","description":"Goal id (goal_…) whose memory (outcome, problems, feedback, objects) is distilled into a CURRENT-layer proposal."},"network":{"description":"Network the goal was created under.","type":"string","enum":["mainnet","testnet"]}},"required":["action","goal_id"],"additionalProperties":false}],"definitions":{"__schema0":{"anyOf":[{"type":"object","properties":{"all":{"type":"array","items":{"$ref":"#/definitions/__schema0"}}},"required":["all"],"additionalProperties":false},{"type":"object","properties":{"any":{"type":"array","items":{"$ref":"#/definitions/__schema0"}}},"required":["any"],"additionalProperties":false},{"type":"object","properties":{"not":{"$ref":"#/definitions/__schema0"}},"required":["not"],"additionalProperties":false},{"type":"object","properties":{"field":{"type":"string"},"op":{"type":"string","enum":["present","missing","truthy","falsy","eq","neq","gt","gte","lt","lte","in","nin","contains","matches","size"]},"value":{},"flags":{"type":"string"}},"required":["field","op"],"additionalProperties":false}]}}}
|
|
1
|
+
{"$schema":"http://json-schema.org/draft-07/schema#","$id":"https://wowok.net/schemas/persona_operation.json","title":"Persona - User Identity Setting","description":"Read/write the user's systematic identity setting (persona): preferences, competitive strategy, experience rules, self profile, and spec. Each persona has a long-term layer (stable) and a current layer (transient, higher priority), bound to a scope: system (all accounts) or account (one chain address, higher priority).","oneOf":[{"type":"object","properties":{"action":{"type":"string","const":"get"},"account":{"description":"Chain account address; omitted = the on-chain DEFAULT account (name=''), falling back to the system persona when no default account exists.","type":"string"},"industry":{"type":"string","pattern":"^[a-z][a-z0-9_]*$"},"role":{"type":"string","enum":["merchant","customer","demander","prospect","supplier","collaborator","arbitrator"]}},"required":["action"],"additionalProperties":false},{"type":"object","properties":{"action":{"type":"string","const":"list"}},"required":["action"],"additionalProperties":false},{"type":"object","properties":{"action":{"type":"string","const":"set"},"scope":{"type":"string","enum":["system","account"]},"account":{"description":"Required when scope=account.","type":"string"},"role":{"type":"string","enum":["merchant","customer","demander","prospect","supplier","collaborator","arbitrator"]},"industries":{"default":[],"type":"array","items":{"type":"string","pattern":"^[a-z][a-z0-9_]*$"}},"long_term":{"type":"object","properties":{"identity":{"type":"object","properties":{"region":{"type":"string"},"languages":{"type":"array","items":{"type":"string"}},"self_description":{"type":"string"}},"additionalProperties":false},"preferences":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"strategy":{"type":"array","items":{"type":"string"}},"rules":{"type":"array","items":{"type":"string"}},"requirements":{"type":"array","items":{"type":"string"}},"spec":{"type":"string"},"overrides":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string","enum":["auto","prompt","block","warn"]}},"policy":{"type":"object","properties":{"confirm":{"type":"object","properties":{"mode":{"type":"string","enum":["full","streamlined","quiet"]},"batch_standard":{"type":"boolean"},"session_remember":{"type":"array","items":{"type":"string"}},"intent_bypass":{"type":"boolean"}},"additionalProperties":false},"budget":{"type":"object","properties":{"daily_wow":{"anyOf":[{"type":"string"},{"type":"null"}]}},"additionalProperties":false},"allowlist":{"type":"array","items":{"type":"string"}},"audit":{"type":"boolean"}},"additionalProperties":false},"profiles":{"type":"object","properties":{"merchant":{"type":"object","properties":{"tastes":{"type":"object","properties":{"materials":{"type":"array","items":{"type":"string"}},"colors":{"type":"array","items":{"type":"string"}},"styles":{"type":"array","items":{"type":"string"}},"tags":{"type":"array","items":{"type":"string"}},"brands":{"type":"array","items":{"type":"string"}},"avoid":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},"consumption":{"type":"object","properties":{"frequency":{"type":"string","enum":["rare","occasional","regular","frequent"]},"price_band":{"type":"string","enum":["budget","mid","premium","luxury"]},"decision_speed":{"type":"string","enum":["fast","deliberate","slow"]},"channels":{"type":"array","items":{"type":"string"}},"repeat_orientation":{"type":"string","enum":["novelty","balanced","loyal"]},"avg_order_range":{"type":"string"},"notes":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},"merchant":{"type":"object","properties":{"posture":{"type":"string","enum":["volume","balanced","margin"]},"pricing_style":{"type":"string","enum":["competitive","value","premium","custom_quote"]},"service_style":{"type":"array","items":{"type":"string"}},"communication":{"type":"string"},"growth_focus":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},"supplier":{"type":"object","properties":{"min_order":{"type":"string"},"lead_time":{"type":"string"},"settlement_terms":{"type":"array","items":{"type":"string"}},"categories":{"type":"array","items":{"type":"string"}},"capacity":{"type":"string"}},"additionalProperties":false},"collaborator":{"type":"object","properties":{"scope_discipline":{"type":"string","enum":["strict","balanced","flexible"]},"notifications":{"type":"string","enum":["minimal","digest","realtime"]},"working_hours":{"type":"string"},"advance_style":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},"arbitrator":{"type":"object","properties":{"case_types":{"type":"array","items":{"type":"string"}},"response_speed":{"type":"string","enum":["fast","standard","thorough"]},"ruling_style":{"type":"string","enum":["concise","detailed"]}},"additionalProperties":false},"demander":{"type":"object","properties":{"award_weights":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"number"}},"pilot_budget":{"type":"string"},"rfp_openness":{"type":"string","enum":["open","passport_gated","invite_only"]},"decision_basis":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},"preferences":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"additionalProperties":false},"customer":{"type":"object","properties":{"tastes":{"type":"object","properties":{"materials":{"type":"array","items":{"type":"string"}},"colors":{"type":"array","items":{"type":"string"}},"styles":{"type":"array","items":{"type":"string"}},"tags":{"type":"array","items":{"type":"string"}},"brands":{"type":"array","items":{"type":"string"}},"avoid":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},"consumption":{"type":"object","properties":{"frequency":{"type":"string","enum":["rare","occasional","regular","frequent"]},"price_band":{"type":"string","enum":["budget","mid","premium","luxury"]},"decision_speed":{"type":"string","enum":["fast","deliberate","slow"]},"channels":{"type":"array","items":{"type":"string"}},"repeat_orientation":{"type":"string","enum":["novelty","balanced","loyal"]},"avg_order_range":{"type":"string"},"notes":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},"merchant":{"type":"object","properties":{"posture":{"type":"string","enum":["volume","balanced","margin"]},"pricing_style":{"type":"string","enum":["competitive","value","premium","custom_quote"]},"service_style":{"type":"array","items":{"type":"string"}},"communication":{"type":"string"},"growth_focus":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},"supplier":{"type":"object","properties":{"min_order":{"type":"string"},"lead_time":{"type":"string"},"settlement_terms":{"type":"array","items":{"type":"string"}},"categories":{"type":"array","items":{"type":"string"}},"capacity":{"type":"string"}},"additionalProperties":false},"collaborator":{"type":"object","properties":{"scope_discipline":{"type":"string","enum":["strict","balanced","flexible"]},"notifications":{"type":"string","enum":["minimal","digest","realtime"]},"working_hours":{"type":"string"},"advance_style":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},"arbitrator":{"type":"object","properties":{"case_types":{"type":"array","items":{"type":"string"}},"response_speed":{"type":"string","enum":["fast","standard","thorough"]},"ruling_style":{"type":"string","enum":["concise","detailed"]}},"additionalProperties":false},"demander":{"type":"object","properties":{"award_weights":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"number"}},"pilot_budget":{"type":"string"},"rfp_openness":{"type":"string","enum":["open","passport_gated","invite_only"]},"decision_basis":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},"preferences":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"additionalProperties":false},"demander":{"type":"object","properties":{"tastes":{"type":"object","properties":{"materials":{"type":"array","items":{"type":"string"}},"colors":{"type":"array","items":{"type":"string"}},"styles":{"type":"array","items":{"type":"string"}},"tags":{"type":"array","items":{"type":"string"}},"brands":{"type":"array","items":{"type":"string"}},"avoid":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},"consumption":{"type":"object","properties":{"frequency":{"type":"string","enum":["rare","occasional","regular","frequent"]},"price_band":{"type":"string","enum":["budget","mid","premium","luxury"]},"decision_speed":{"type":"string","enum":["fast","deliberate","slow"]},"channels":{"type":"array","items":{"type":"string"}},"repeat_orientation":{"type":"string","enum":["novelty","balanced","loyal"]},"avg_order_range":{"type":"string"},"notes":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},"merchant":{"type":"object","properties":{"posture":{"type":"string","enum":["volume","balanced","margin"]},"pricing_style":{"type":"string","enum":["competitive","value","premium","custom_quote"]},"service_style":{"type":"array","items":{"type":"string"}},"communication":{"type":"string"},"growth_focus":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},"supplier":{"type":"object","properties":{"min_order":{"type":"string"},"lead_time":{"type":"string"},"settlement_terms":{"type":"array","items":{"type":"string"}},"categories":{"type":"array","items":{"type":"string"}},"capacity":{"type":"string"}},"additionalProperties":false},"collaborator":{"type":"object","properties":{"scope_discipline":{"type":"string","enum":["strict","balanced","flexible"]},"notifications":{"type":"string","enum":["minimal","digest","realtime"]},"working_hours":{"type":"string"},"advance_style":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},"arbitrator":{"type":"object","properties":{"case_types":{"type":"array","items":{"type":"string"}},"response_speed":{"type":"string","enum":["fast","standard","thorough"]},"ruling_style":{"type":"string","enum":["concise","detailed"]}},"additionalProperties":false},"demander":{"type":"object","properties":{"award_weights":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"number"}},"pilot_budget":{"type":"string"},"rfp_openness":{"type":"string","enum":["open","passport_gated","invite_only"]},"decision_basis":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},"preferences":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"additionalProperties":false},"prospect":{"type":"object","properties":{"tastes":{"type":"object","properties":{"materials":{"type":"array","items":{"type":"string"}},"colors":{"type":"array","items":{"type":"string"}},"styles":{"type":"array","items":{"type":"string"}},"tags":{"type":"array","items":{"type":"string"}},"brands":{"type":"array","items":{"type":"string"}},"avoid":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},"consumption":{"type":"object","properties":{"frequency":{"type":"string","enum":["rare","occasional","regular","frequent"]},"price_band":{"type":"string","enum":["budget","mid","premium","luxury"]},"decision_speed":{"type":"string","enum":["fast","deliberate","slow"]},"channels":{"type":"array","items":{"type":"string"}},"repeat_orientation":{"type":"string","enum":["novelty","balanced","loyal"]},"avg_order_range":{"type":"string"},"notes":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},"merchant":{"type":"object","properties":{"posture":{"type":"string","enum":["volume","balanced","margin"]},"pricing_style":{"type":"string","enum":["competitive","value","premium","custom_quote"]},"service_style":{"type":"array","items":{"type":"string"}},"communication":{"type":"string"},"growth_focus":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},"supplier":{"type":"object","properties":{"min_order":{"type":"string"},"lead_time":{"type":"string"},"settlement_terms":{"type":"array","items":{"type":"string"}},"categories":{"type":"array","items":{"type":"string"}},"capacity":{"type":"string"}},"additionalProperties":false},"collaborator":{"type":"object","properties":{"scope_discipline":{"type":"string","enum":["strict","balanced","flexible"]},"notifications":{"type":"string","enum":["minimal","digest","realtime"]},"working_hours":{"type":"string"},"advance_style":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},"arbitrator":{"type":"object","properties":{"case_types":{"type":"array","items":{"type":"string"}},"response_speed":{"type":"string","enum":["fast","standard","thorough"]},"ruling_style":{"type":"string","enum":["concise","detailed"]}},"additionalProperties":false},"demander":{"type":"object","properties":{"award_weights":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"number"}},"pilot_budget":{"type":"string"},"rfp_openness":{"type":"string","enum":["open","passport_gated","invite_only"]},"decision_basis":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},"preferences":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"additionalProperties":false},"supplier":{"type":"object","properties":{"tastes":{"type":"object","properties":{"materials":{"type":"array","items":{"type":"string"}},"colors":{"type":"array","items":{"type":"string"}},"styles":{"type":"array","items":{"type":"string"}},"tags":{"type":"array","items":{"type":"string"}},"brands":{"type":"array","items":{"type":"string"}},"avoid":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},"consumption":{"type":"object","properties":{"frequency":{"type":"string","enum":["rare","occasional","regular","frequent"]},"price_band":{"type":"string","enum":["budget","mid","premium","luxury"]},"decision_speed":{"type":"string","enum":["fast","deliberate","slow"]},"channels":{"type":"array","items":{"type":"string"}},"repeat_orientation":{"type":"string","enum":["novelty","balanced","loyal"]},"avg_order_range":{"type":"string"},"notes":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},"merchant":{"type":"object","properties":{"posture":{"type":"string","enum":["volume","balanced","margin"]},"pricing_style":{"type":"string","enum":["competitive","value","premium","custom_quote"]},"service_style":{"type":"array","items":{"type":"string"}},"communication":{"type":"string"},"growth_focus":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},"supplier":{"type":"object","properties":{"min_order":{"type":"string"},"lead_time":{"type":"string"},"settlement_terms":{"type":"array","items":{"type":"string"}},"categories":{"type":"array","items":{"type":"string"}},"capacity":{"type":"string"}},"additionalProperties":false},"collaborator":{"type":"object","properties":{"scope_discipline":{"type":"string","enum":["strict","balanced","flexible"]},"notifications":{"type":"string","enum":["minimal","digest","realtime"]},"working_hours":{"type":"string"},"advance_style":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},"arbitrator":{"type":"object","properties":{"case_types":{"type":"array","items":{"type":"string"}},"response_speed":{"type":"string","enum":["fast","standard","thorough"]},"ruling_style":{"type":"string","enum":["concise","detailed"]}},"additionalProperties":false},"demander":{"type":"object","properties":{"award_weights":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"number"}},"pilot_budget":{"type":"string"},"rfp_openness":{"type":"string","enum":["open","passport_gated","invite_only"]},"decision_basis":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},"preferences":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"additionalProperties":false},"collaborator":{"type":"object","properties":{"tastes":{"type":"object","properties":{"materials":{"type":"array","items":{"type":"string"}},"colors":{"type":"array","items":{"type":"string"}},"styles":{"type":"array","items":{"type":"string"}},"tags":{"type":"array","items":{"type":"string"}},"brands":{"type":"array","items":{"type":"string"}},"avoid":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},"consumption":{"type":"object","properties":{"frequency":{"type":"string","enum":["rare","occasional","regular","frequent"]},"price_band":{"type":"string","enum":["budget","mid","premium","luxury"]},"decision_speed":{"type":"string","enum":["fast","deliberate","slow"]},"channels":{"type":"array","items":{"type":"string"}},"repeat_orientation":{"type":"string","enum":["novelty","balanced","loyal"]},"avg_order_range":{"type":"string"},"notes":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},"merchant":{"type":"object","properties":{"posture":{"type":"string","enum":["volume","balanced","margin"]},"pricing_style":{"type":"string","enum":["competitive","value","premium","custom_quote"]},"service_style":{"type":"array","items":{"type":"string"}},"communication":{"type":"string"},"growth_focus":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},"supplier":{"type":"object","properties":{"min_order":{"type":"string"},"lead_time":{"type":"string"},"settlement_terms":{"type":"array","items":{"type":"string"}},"categories":{"type":"array","items":{"type":"string"}},"capacity":{"type":"string"}},"additionalProperties":false},"collaborator":{"type":"object","properties":{"scope_discipline":{"type":"string","enum":["strict","balanced","flexible"]},"notifications":{"type":"string","enum":["minimal","digest","realtime"]},"working_hours":{"type":"string"},"advance_style":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},"arbitrator":{"type":"object","properties":{"case_types":{"type":"array","items":{"type":"string"}},"response_speed":{"type":"string","enum":["fast","standard","thorough"]},"ruling_style":{"type":"string","enum":["concise","detailed"]}},"additionalProperties":false},"demander":{"type":"object","properties":{"award_weights":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"number"}},"pilot_budget":{"type":"string"},"rfp_openness":{"type":"string","enum":["open","passport_gated","invite_only"]},"decision_basis":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},"preferences":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"additionalProperties":false},"arbitrator":{"type":"object","properties":{"tastes":{"type":"object","properties":{"materials":{"type":"array","items":{"type":"string"}},"colors":{"type":"array","items":{"type":"string"}},"styles":{"type":"array","items":{"type":"string"}},"tags":{"type":"array","items":{"type":"string"}},"brands":{"type":"array","items":{"type":"string"}},"avoid":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},"consumption":{"type":"object","properties":{"frequency":{"type":"string","enum":["rare","occasional","regular","frequent"]},"price_band":{"type":"string","enum":["budget","mid","premium","luxury"]},"decision_speed":{"type":"string","enum":["fast","deliberate","slow"]},"channels":{"type":"array","items":{"type":"string"}},"repeat_orientation":{"type":"string","enum":["novelty","balanced","loyal"]},"avg_order_range":{"type":"string"},"notes":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},"merchant":{"type":"object","properties":{"posture":{"type":"string","enum":["volume","balanced","margin"]},"pricing_style":{"type":"string","enum":["competitive","value","premium","custom_quote"]},"service_style":{"type":"array","items":{"type":"string"}},"communication":{"type":"string"},"growth_focus":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},"supplier":{"type":"object","properties":{"min_order":{"type":"string"},"lead_time":{"type":"string"},"settlement_terms":{"type":"array","items":{"type":"string"}},"categories":{"type":"array","items":{"type":"string"}},"capacity":{"type":"string"}},"additionalProperties":false},"collaborator":{"type":"object","properties":{"scope_discipline":{"type":"string","enum":["strict","balanced","flexible"]},"notifications":{"type":"string","enum":["minimal","digest","realtime"]},"working_hours":{"type":"string"},"advance_style":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},"arbitrator":{"type":"object","properties":{"case_types":{"type":"array","items":{"type":"string"}},"response_speed":{"type":"string","enum":["fast","standard","thorough"]},"ruling_style":{"type":"string","enum":["concise","detailed"]}},"additionalProperties":false},"demander":{"type":"object","properties":{"award_weights":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"number"}},"pilot_budget":{"type":"string"},"rfp_openness":{"type":"string","enum":["open","passport_gated","invite_only"]},"decision_basis":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},"preferences":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"additionalProperties":false}},"additionalProperties":false},"analyze":{"type":"object","properties":{"key_questions":{"maxItems":4,"type":"array","items":{"type":"string"},"description":"The user's key follow-up questions for the Analyze dossier (up to 4 stored, 2 effective after merge)."}},"required":["key_questions"],"additionalProperties":false},"judgment":{"type":"object","properties":{"description":{"type":"string"},"evaluation":{"type":"object","properties":{"comment":{"type":"string"},"weights":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"number"}},"dimensions":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"object","properties":{"label":{"type":"string"},"description":{"type":"string"}},"required":["label","description"],"additionalProperties":false}},"severity_deduction":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"number"}},"level_bands":{"type":"array","items":{"type":"object","properties":{"min":{"type":"number"},"level":{"type":"string"}},"required":["min","level"],"additionalProperties":false}},"grade_words":{"type":"object","properties":{"comment":{"type":"string"},"trust":{"type":"array","items":{"type":"object","properties":{"min":{"type":"number"},"word":{"type":"string"}},"required":["min","word"],"additionalProperties":false}},"risk":{"type":"array","items":{"type":"object","properties":{"min":{"type":"number"},"word":{"type":"string"}},"required":["min","word"],"additionalProperties":false}},"match":{"type":"array","items":{"type":"object","properties":{"min":{"type":"number"},"word":{"type":"string"}},"required":["min","word"],"additionalProperties":false}}},"additionalProperties":false}},"additionalProperties":false},"game":{"type":"object","properties":{"comment":{"type":"string"},"outcome_semantics":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"array","items":{"type":"string"}}},"role_interests":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"object","properties":{"prefer":{"type":"array","items":{"type":"string"}},"avoid":{"type":"array","items":{"type":"string"}},"sensitivity":{"type":"number"}},"required":["prefer","avoid","sensitivity"],"additionalProperties":false}},"appetite_multipliers":{"type":"object","properties":{"conservative":{"type":"number"},"balanced":{"type":"number"},"aggressive":{"type":"number"}},"additionalProperties":false},"scoring":{"type":"object","properties":{"base":{"type":"number"},"per_gain":{"type":"number"},"per_risk":{"type":"number"}},"additionalProperties":false},"keyword_rules":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"keywords":{"minItems":1,"type":"array","items":{"type":"string"}},"effect":{"type":"string"},"anchor":{"type":"string","enum":["prefer","avoid"]},"when_forbidden":{"type":"boolean"}},"required":["id","keywords","effect","anchor","when_forbidden"],"additionalProperties":false}},"forbid_pattern":{"type":"string"},"arb":{"type":"object","properties":{"comment":{"type":"string"},"effect_semantics":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"array","items":{"type":"string"}}},"role_interests":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"object","properties":{"prefer":{"type":"array","items":{"type":"string"}},"avoid":{"type":"array","items":{"type":"string"}},"sensitivity":{"type":"number"}},"required":["prefer","avoid","sensitivity"],"additionalProperties":false}},"keyword_rules":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"keywords":{"minItems":1,"type":"array","items":{"type":"string"}},"effect":{"type":"string"},"anchor":{"type":"string","enum":["prefer","avoid"]},"when_forbidden":{"type":"boolean"}},"required":["id","keywords","effect","anchor","when_forbidden"],"additionalProperties":false}},"forbid_pattern":{"type":"string"},"scoring":{"type":"object","properties":{"base":{"type":"number"},"per_gain":{"type":"number"},"per_risk":{"type":"number"}},"required":["base","per_gain","per_risk"],"additionalProperties":false}},"additionalProperties":false}},"additionalProperties":false},"match":{"type":"object","properties":{"comment":{"type":"string"},"region_scores":{"type":"object","properties":{"exact":{"type":"number"},"contains":{"type":"number"},"compatible":{"type":"number"},"overlap":{"type":"number"},"mismatch":{"type":"number"}},"additionalProperties":false},"weights":{"type":"object","properties":{"region":{"type":"number"},"industry":{"type":"number"},"price":{"type":"number"},"trust":{"type":"number"},"capabilities":{"type":"number"},"buyable":{"type":"number"},"reward_commitment":{"type":"number"},"tags":{"type":"number"},"acceptance":{"type":"number"}},"additionalProperties":false},"trust_bands":{"type":"array","items":{"type":"object","properties":{"min":{"type":"number"},"score":{"type":"number"}},"required":["min","score"],"additionalProperties":false}},"neutral_score":{"type":"number"},"price_over_budget_tolerance_pct":{"type":"number"},"top_n":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"additionalProperties":false},"monitor":{"type":"object","properties":{"comment":{"type":"string"},"thresholds":{"type":"object","properties":{"progress_stall_hours":{"type":"number"},"compensation_drop_ratio":{"type":"number"},"compensation_coverage_min":{"type":"number"},"messenger_timeout_hours":{"type":"number"},"review_window_closing_days":{"type":"number"},"arb_window_closing_days":{"type":"number"}},"additionalProperties":false},"escalation":{"type":"object","properties":{"default_expected_progress_hours":{"type":"number"},"stall_expected_multiplier":{"type":"number"},"stall_escalation_multiplier":{"type":"number"},"messenger_escalation_multiplier":{"type":"number"},"ratio_critical_threshold":{"type":"number"}},"additionalProperties":false}},"additionalProperties":false},"mode":{"type":"object","properties":{"comment":{"type":"string"},"appetite_thresholds":{"type":"object","properties":{"conservative":{"type":"object","properties":{"max_risk":{"type":"number"},"min_benefit":{"type":"number"}},"required":["max_risk","min_benefit"],"additionalProperties":false},"balanced":{"type":"object","properties":{"max_risk":{"type":"number"},"min_benefit":{"type":"number"}},"required":["max_risk","min_benefit"],"additionalProperties":false},"aggressive":{"type":"object","properties":{"max_risk":{"type":"number"},"min_benefit":{"type":"number"}},"required":["max_risk","min_benefit"],"additionalProperties":false}},"additionalProperties":false}},"additionalProperties":false},"scorecard":{"type":"object","properties":{"comment":{"type":"string"},"metrics":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"object","properties":{"weight":{"type":"object","properties":{"volume":{"type":"number"},"balanced":{"type":"number"},"margin":{"type":"number"}},"required":["volume","balanced","margin"],"additionalProperties":false},"good_threshold":{"type":"number"},"bad_threshold":{"type":"number"}},"additionalProperties":false}},"shop_evidence_metrics":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},"rules":{"type":"object","properties":{"comment":{"type":"string"},"domains":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"object","properties":{"comment":{"type":"string"},"facts":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}},"rules":{"type":"array","items":{"type":"object","properties":{"rule_id":{"type":"string"},"dimension":{"type":"string"},"trigger":{"type":"string"},"cases":{"type":"array","items":{"type":"object","properties":{"when":{"$ref":"#/definitions/__schema0"},"level":{"anyOf":[{"type":"string","enum":["critical","high","medium","low","info"]},{"type":"string","pattern":"^fact:([A-Za-z0-9_.-]+)$"},{}]},"title":{"type":"string"},"description":{"type":"string"},"scenario":{"type":"string"},"mitigation":{"type":"string"},"evidence":{"type":"string"},"stakeholders":{"type":"array","items":{"type":"string"}},"exposure":{"type":"object","properties":{"loss_parties":{"type":"array","items":{"type":"object","properties":{"role":{"type":"string","enum":["buyer","merchant","supplier","collaborator","arbitrator","system","neutral"]},"basis":{"type":"string"}},"required":["role","basis"],"additionalProperties":false}},"gain_paths":{"type":"array","items":{"type":"object","properties":{"role":{"type":"string","enum":["buyer","merchant","supplier","collaborator","arbitrator","system","neutral"]},"path":{"type":"string"},"viability":{"anyOf":[{"type":"string","enum":["viable","conditional","blocked","unverifiable"]},{"type":"string","pattern":"^fact:([A-Za-z0-9_.-]+)$"}]},"gate":{"type":"string"}},"required":["role","path","viability","gate"],"additionalProperties":false}},"downgrade_exempt":{"type":"boolean"}},"required":["loss_parties","gain_paths"],"additionalProperties":false}},"required":["when","level","title","description"],"additionalProperties":false}},"enabled":{"type":"boolean"}},"required":["rule_id"],"additionalProperties":false}},"severity_overrides":{}},"additionalProperties":false}}},"additionalProperties":false},"role_intent":{"type":"object","properties":{"comment":{"type":"string"},"roles":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"object","properties":{"comment":{"type":"string"},"intents":{"minItems":1,"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"weight":{"type":"number","minimum":0,"maximum":1}},"required":["id","weight"],"additionalProperties":false}},"horizon":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"risk_appetite":{"type":"string","enum":["conservative","balanced","aggressive"]},"red_lines":{"type":"array","items":{"type":"string"}},"strategy_leaning":{"type":"string","enum":["cooperative","opportunistic","confrontational"]}},"additionalProperties":false}}},"additionalProperties":false},"version":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"additionalProperties":false},"match":{"type":"object","properties":{"demand_to_supply":{"type":"object","properties":{"policy_id":{"type":"string","minLength":1},"version":{"type":"integer","minimum":0,"maximum":9007199254740991},"direction":{"description":"Default demand_to_supply. A demand_to_supply policy drives match_discover; a supply_to_demand policy drives demand_present / discover_demands (and is rejected by match_discover).","type":"string","enum":["demand_to_supply","supply_to_demand"]},"unknown_policy":{"description":"What a gate with missing input does (K5-05 axiom 3). Default neutral_score (= pass, reported).","type":"string","enum":["pass","drop","neutral_score"]},"gates":{"type":"array","items":{"type":"object","properties":{"dim":{"type":"string","description":"Gate dimension. Enforced client-side: live, price, arb, compensation, machine, messenger, buy_guard, wip_verify, text, owner. Others are reported as ignored (not enforceable on-device yet)."},"op":{"description":"Comparison operator (eq/lte/gte/in/not_in/must_contain/must_not_contain) — validated per dim at apply time.","type":"string"},"value":{"anyOf":[{"type":"boolean"},{"type":"number"},{"type":"string"},{"type":"array","items":{"type":"string"}}]},"params":{"description":"Extra params; `from_budget: true` on a price gate uses the request budget as the threshold.","type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"required":["dim"],"additionalProperties":false}},"excludes":{"type":"array","items":{"type":"object","properties":{"dim":{"type":"string","description":"Exclude dimension. Enforced client-side: blacklist (objects/owners lists). anti_cheat/structure dims are reported as ignored (no client-side facet)."},"objects":{"type":"array","items":{"type":"string"}},"owners":{"type":"array","items":{"type":"string"}},"flags":{"type":"array","items":{"type":"string"}},"source":{"type":"array","items":{"type":"string"}},"rule":{"type":"string"}},"required":["dim"],"additionalProperties":false}},"weights":{"description":"demand_match rule id → weight (region/industry/price/trust/capabilities/tags/acceptance). Unregistered ids are reported as ignored.","type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"number","minimum":0}},"rerank":{"type":"object","properties":{"diversity":{"description":"Greedy per-group cap over the score-ordered list. `permission` is not enforceable client-side yet (reported ignored); use `owner`.","type":"object","properties":{"by":{"type":"string","enum":["owner","permission"]},"max_per_group":{"type":"integer","minimum":1,"maximum":9007199254740991}},"required":["by","max_per_group"],"additionalProperties":false},"explore":{},"llm":{},"fairness":{}},"additionalProperties":false},"recall":{"description":"Server/recall directives — accepted for portability, not enforceable from the client (reported ignored)."},"verify":{"description":"Facet verification directives — accepted for portability, not enforceable client-side (reported ignored)."},"output":{"type":"object","properties":{"top_n":{"type":"integer","minimum":1,"maximum":500},"explain":{"type":"boolean"},"evidence_chain":{},"coverage_report":{}},"additionalProperties":false}},"required":["policy_id"],"additionalProperties":false},"supply_to_demand":{"type":"object","properties":{"policy_id":{"type":"string","minLength":1},"version":{"type":"integer","minimum":0,"maximum":9007199254740991},"direction":{"description":"Default demand_to_supply. A demand_to_supply policy drives match_discover; a supply_to_demand policy drives demand_present / discover_demands (and is rejected by match_discover).","type":"string","enum":["demand_to_supply","supply_to_demand"]},"unknown_policy":{"description":"What a gate with missing input does (K5-05 axiom 3). Default neutral_score (= pass, reported).","type":"string","enum":["pass","drop","neutral_score"]},"gates":{"type":"array","items":{"type":"object","properties":{"dim":{"type":"string","description":"Gate dimension. Enforced client-side: live, price, arb, compensation, machine, messenger, buy_guard, wip_verify, text, owner. Others are reported as ignored (not enforceable on-device yet)."},"op":{"description":"Comparison operator (eq/lte/gte/in/not_in/must_contain/must_not_contain) — validated per dim at apply time.","type":"string"},"value":{"anyOf":[{"type":"boolean"},{"type":"number"},{"type":"string"},{"type":"array","items":{"type":"string"}}]},"params":{"description":"Extra params; `from_budget: true` on a price gate uses the request budget as the threshold.","type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"required":["dim"],"additionalProperties":false}},"excludes":{"type":"array","items":{"type":"object","properties":{"dim":{"type":"string","description":"Exclude dimension. Enforced client-side: blacklist (objects/owners lists). anti_cheat/structure dims are reported as ignored (no client-side facet)."},"objects":{"type":"array","items":{"type":"string"}},"owners":{"type":"array","items":{"type":"string"}},"flags":{"type":"array","items":{"type":"string"}},"source":{"type":"array","items":{"type":"string"}},"rule":{"type":"string"}},"required":["dim"],"additionalProperties":false}},"weights":{"description":"demand_match rule id → weight (region/industry/price/trust/capabilities/tags/acceptance). Unregistered ids are reported as ignored.","type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"number","minimum":0}},"rerank":{"type":"object","properties":{"diversity":{"description":"Greedy per-group cap over the score-ordered list. `permission` is not enforceable client-side yet (reported ignored); use `owner`.","type":"object","properties":{"by":{"type":"string","enum":["owner","permission"]},"max_per_group":{"type":"integer","minimum":1,"maximum":9007199254740991}},"required":["by","max_per_group"],"additionalProperties":false},"explore":{},"llm":{},"fairness":{}},"additionalProperties":false},"recall":{"description":"Server/recall directives — accepted for portability, not enforceable from the client (reported ignored)."},"verify":{"description":"Facet verification directives — accepted for portability, not enforceable client-side (reported ignored)."},"output":{"type":"object","properties":{"top_n":{"type":"integer","minimum":1,"maximum":500},"explain":{"type":"boolean"},"evidence_chain":{},"coverage_report":{}},"additionalProperties":false}},"required":["policy_id"],"additionalProperties":false}},"additionalProperties":false}},"additionalProperties":false},"current":{"type":"object","properties":{"identity":{"type":"object","properties":{"region":{"type":"string"},"languages":{"type":"array","items":{"type":"string"}},"self_description":{"type":"string"}},"additionalProperties":false},"preferences":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"strategy":{"type":"array","items":{"type":"string"}},"rules":{"type":"array","items":{"type":"string"}},"requirements":{"type":"array","items":{"type":"string"}},"spec":{"type":"string"},"overrides":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string","enum":["auto","prompt","block","warn"]}},"policy":{"type":"object","properties":{"confirm":{"type":"object","properties":{"mode":{"type":"string","enum":["full","streamlined","quiet"]},"batch_standard":{"type":"boolean"},"session_remember":{"type":"array","items":{"type":"string"}},"intent_bypass":{"type":"boolean"}},"additionalProperties":false},"budget":{"type":"object","properties":{"daily_wow":{"anyOf":[{"type":"string"},{"type":"null"}]}},"additionalProperties":false},"allowlist":{"type":"array","items":{"type":"string"}},"audit":{"type":"boolean"}},"additionalProperties":false},"profiles":{"type":"object","properties":{"merchant":{"type":"object","properties":{"tastes":{"type":"object","properties":{"materials":{"type":"array","items":{"type":"string"}},"colors":{"type":"array","items":{"type":"string"}},"styles":{"type":"array","items":{"type":"string"}},"tags":{"type":"array","items":{"type":"string"}},"brands":{"type":"array","items":{"type":"string"}},"avoid":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},"consumption":{"type":"object","properties":{"frequency":{"type":"string","enum":["rare","occasional","regular","frequent"]},"price_band":{"type":"string","enum":["budget","mid","premium","luxury"]},"decision_speed":{"type":"string","enum":["fast","deliberate","slow"]},"channels":{"type":"array","items":{"type":"string"}},"repeat_orientation":{"type":"string","enum":["novelty","balanced","loyal"]},"avg_order_range":{"type":"string"},"notes":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},"merchant":{"type":"object","properties":{"posture":{"type":"string","enum":["volume","balanced","margin"]},"pricing_style":{"type":"string","enum":["competitive","value","premium","custom_quote"]},"service_style":{"type":"array","items":{"type":"string"}},"communication":{"type":"string"},"growth_focus":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},"supplier":{"type":"object","properties":{"min_order":{"type":"string"},"lead_time":{"type":"string"},"settlement_terms":{"type":"array","items":{"type":"string"}},"categories":{"type":"array","items":{"type":"string"}},"capacity":{"type":"string"}},"additionalProperties":false},"collaborator":{"type":"object","properties":{"scope_discipline":{"type":"string","enum":["strict","balanced","flexible"]},"notifications":{"type":"string","enum":["minimal","digest","realtime"]},"working_hours":{"type":"string"},"advance_style":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},"arbitrator":{"type":"object","properties":{"case_types":{"type":"array","items":{"type":"string"}},"response_speed":{"type":"string","enum":["fast","standard","thorough"]},"ruling_style":{"type":"string","enum":["concise","detailed"]}},"additionalProperties":false},"demander":{"type":"object","properties":{"award_weights":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"number"}},"pilot_budget":{"type":"string"},"rfp_openness":{"type":"string","enum":["open","passport_gated","invite_only"]},"decision_basis":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},"preferences":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"additionalProperties":false},"customer":{"type":"object","properties":{"tastes":{"type":"object","properties":{"materials":{"type":"array","items":{"type":"string"}},"colors":{"type":"array","items":{"type":"string"}},"styles":{"type":"array","items":{"type":"string"}},"tags":{"type":"array","items":{"type":"string"}},"brands":{"type":"array","items":{"type":"string"}},"avoid":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},"consumption":{"type":"object","properties":{"frequency":{"type":"string","enum":["rare","occasional","regular","frequent"]},"price_band":{"type":"string","enum":["budget","mid","premium","luxury"]},"decision_speed":{"type":"string","enum":["fast","deliberate","slow"]},"channels":{"type":"array","items":{"type":"string"}},"repeat_orientation":{"type":"string","enum":["novelty","balanced","loyal"]},"avg_order_range":{"type":"string"},"notes":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},"merchant":{"type":"object","properties":{"posture":{"type":"string","enum":["volume","balanced","margin"]},"pricing_style":{"type":"string","enum":["competitive","value","premium","custom_quote"]},"service_style":{"type":"array","items":{"type":"string"}},"communication":{"type":"string"},"growth_focus":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},"supplier":{"type":"object","properties":{"min_order":{"type":"string"},"lead_time":{"type":"string"},"settlement_terms":{"type":"array","items":{"type":"string"}},"categories":{"type":"array","items":{"type":"string"}},"capacity":{"type":"string"}},"additionalProperties":false},"collaborator":{"type":"object","properties":{"scope_discipline":{"type":"string","enum":["strict","balanced","flexible"]},"notifications":{"type":"string","enum":["minimal","digest","realtime"]},"working_hours":{"type":"string"},"advance_style":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},"arbitrator":{"type":"object","properties":{"case_types":{"type":"array","items":{"type":"string"}},"response_speed":{"type":"string","enum":["fast","standard","thorough"]},"ruling_style":{"type":"string","enum":["concise","detailed"]}},"additionalProperties":false},"demander":{"type":"object","properties":{"award_weights":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"number"}},"pilot_budget":{"type":"string"},"rfp_openness":{"type":"string","enum":["open","passport_gated","invite_only"]},"decision_basis":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},"preferences":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"additionalProperties":false},"demander":{"type":"object","properties":{"tastes":{"type":"object","properties":{"materials":{"type":"array","items":{"type":"string"}},"colors":{"type":"array","items":{"type":"string"}},"styles":{"type":"array","items":{"type":"string"}},"tags":{"type":"array","items":{"type":"string"}},"brands":{"type":"array","items":{"type":"string"}},"avoid":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},"consumption":{"type":"object","properties":{"frequency":{"type":"string","enum":["rare","occasional","regular","frequent"]},"price_band":{"type":"string","enum":["budget","mid","premium","luxury"]},"decision_speed":{"type":"string","enum":["fast","deliberate","slow"]},"channels":{"type":"array","items":{"type":"string"}},"repeat_orientation":{"type":"string","enum":["novelty","balanced","loyal"]},"avg_order_range":{"type":"string"},"notes":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},"merchant":{"type":"object","properties":{"posture":{"type":"string","enum":["volume","balanced","margin"]},"pricing_style":{"type":"string","enum":["competitive","value","premium","custom_quote"]},"service_style":{"type":"array","items":{"type":"string"}},"communication":{"type":"string"},"growth_focus":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},"supplier":{"type":"object","properties":{"min_order":{"type":"string"},"lead_time":{"type":"string"},"settlement_terms":{"type":"array","items":{"type":"string"}},"categories":{"type":"array","items":{"type":"string"}},"capacity":{"type":"string"}},"additionalProperties":false},"collaborator":{"type":"object","properties":{"scope_discipline":{"type":"string","enum":["strict","balanced","flexible"]},"notifications":{"type":"string","enum":["minimal","digest","realtime"]},"working_hours":{"type":"string"},"advance_style":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},"arbitrator":{"type":"object","properties":{"case_types":{"type":"array","items":{"type":"string"}},"response_speed":{"type":"string","enum":["fast","standard","thorough"]},"ruling_style":{"type":"string","enum":["concise","detailed"]}},"additionalProperties":false},"demander":{"type":"object","properties":{"award_weights":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"number"}},"pilot_budget":{"type":"string"},"rfp_openness":{"type":"string","enum":["open","passport_gated","invite_only"]},"decision_basis":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},"preferences":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"additionalProperties":false},"prospect":{"type":"object","properties":{"tastes":{"type":"object","properties":{"materials":{"type":"array","items":{"type":"string"}},"colors":{"type":"array","items":{"type":"string"}},"styles":{"type":"array","items":{"type":"string"}},"tags":{"type":"array","items":{"type":"string"}},"brands":{"type":"array","items":{"type":"string"}},"avoid":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},"consumption":{"type":"object","properties":{"frequency":{"type":"string","enum":["rare","occasional","regular","frequent"]},"price_band":{"type":"string","enum":["budget","mid","premium","luxury"]},"decision_speed":{"type":"string","enum":["fast","deliberate","slow"]},"channels":{"type":"array","items":{"type":"string"}},"repeat_orientation":{"type":"string","enum":["novelty","balanced","loyal"]},"avg_order_range":{"type":"string"},"notes":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},"merchant":{"type":"object","properties":{"posture":{"type":"string","enum":["volume","balanced","margin"]},"pricing_style":{"type":"string","enum":["competitive","value","premium","custom_quote"]},"service_style":{"type":"array","items":{"type":"string"}},"communication":{"type":"string"},"growth_focus":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},"supplier":{"type":"object","properties":{"min_order":{"type":"string"},"lead_time":{"type":"string"},"settlement_terms":{"type":"array","items":{"type":"string"}},"categories":{"type":"array","items":{"type":"string"}},"capacity":{"type":"string"}},"additionalProperties":false},"collaborator":{"type":"object","properties":{"scope_discipline":{"type":"string","enum":["strict","balanced","flexible"]},"notifications":{"type":"string","enum":["minimal","digest","realtime"]},"working_hours":{"type":"string"},"advance_style":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},"arbitrator":{"type":"object","properties":{"case_types":{"type":"array","items":{"type":"string"}},"response_speed":{"type":"string","enum":["fast","standard","thorough"]},"ruling_style":{"type":"string","enum":["concise","detailed"]}},"additionalProperties":false},"demander":{"type":"object","properties":{"award_weights":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"number"}},"pilot_budget":{"type":"string"},"rfp_openness":{"type":"string","enum":["open","passport_gated","invite_only"]},"decision_basis":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},"preferences":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"additionalProperties":false},"supplier":{"type":"object","properties":{"tastes":{"type":"object","properties":{"materials":{"type":"array","items":{"type":"string"}},"colors":{"type":"array","items":{"type":"string"}},"styles":{"type":"array","items":{"type":"string"}},"tags":{"type":"array","items":{"type":"string"}},"brands":{"type":"array","items":{"type":"string"}},"avoid":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},"consumption":{"type":"object","properties":{"frequency":{"type":"string","enum":["rare","occasional","regular","frequent"]},"price_band":{"type":"string","enum":["budget","mid","premium","luxury"]},"decision_speed":{"type":"string","enum":["fast","deliberate","slow"]},"channels":{"type":"array","items":{"type":"string"}},"repeat_orientation":{"type":"string","enum":["novelty","balanced","loyal"]},"avg_order_range":{"type":"string"},"notes":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},"merchant":{"type":"object","properties":{"posture":{"type":"string","enum":["volume","balanced","margin"]},"pricing_style":{"type":"string","enum":["competitive","value","premium","custom_quote"]},"service_style":{"type":"array","items":{"type":"string"}},"communication":{"type":"string"},"growth_focus":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},"supplier":{"type":"object","properties":{"min_order":{"type":"string"},"lead_time":{"type":"string"},"settlement_terms":{"type":"array","items":{"type":"string"}},"categories":{"type":"array","items":{"type":"string"}},"capacity":{"type":"string"}},"additionalProperties":false},"collaborator":{"type":"object","properties":{"scope_discipline":{"type":"string","enum":["strict","balanced","flexible"]},"notifications":{"type":"string","enum":["minimal","digest","realtime"]},"working_hours":{"type":"string"},"advance_style":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},"arbitrator":{"type":"object","properties":{"case_types":{"type":"array","items":{"type":"string"}},"response_speed":{"type":"string","enum":["fast","standard","thorough"]},"ruling_style":{"type":"string","enum":["concise","detailed"]}},"additionalProperties":false},"demander":{"type":"object","properties":{"award_weights":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"number"}},"pilot_budget":{"type":"string"},"rfp_openness":{"type":"string","enum":["open","passport_gated","invite_only"]},"decision_basis":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},"preferences":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"additionalProperties":false},"collaborator":{"type":"object","properties":{"tastes":{"type":"object","properties":{"materials":{"type":"array","items":{"type":"string"}},"colors":{"type":"array","items":{"type":"string"}},"styles":{"type":"array","items":{"type":"string"}},"tags":{"type":"array","items":{"type":"string"}},"brands":{"type":"array","items":{"type":"string"}},"avoid":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},"consumption":{"type":"object","properties":{"frequency":{"type":"string","enum":["rare","occasional","regular","frequent"]},"price_band":{"type":"string","enum":["budget","mid","premium","luxury"]},"decision_speed":{"type":"string","enum":["fast","deliberate","slow"]},"channels":{"type":"array","items":{"type":"string"}},"repeat_orientation":{"type":"string","enum":["novelty","balanced","loyal"]},"avg_order_range":{"type":"string"},"notes":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},"merchant":{"type":"object","properties":{"posture":{"type":"string","enum":["volume","balanced","margin"]},"pricing_style":{"type":"string","enum":["competitive","value","premium","custom_quote"]},"service_style":{"type":"array","items":{"type":"string"}},"communication":{"type":"string"},"growth_focus":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},"supplier":{"type":"object","properties":{"min_order":{"type":"string"},"lead_time":{"type":"string"},"settlement_terms":{"type":"array","items":{"type":"string"}},"categories":{"type":"array","items":{"type":"string"}},"capacity":{"type":"string"}},"additionalProperties":false},"collaborator":{"type":"object","properties":{"scope_discipline":{"type":"string","enum":["strict","balanced","flexible"]},"notifications":{"type":"string","enum":["minimal","digest","realtime"]},"working_hours":{"type":"string"},"advance_style":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},"arbitrator":{"type":"object","properties":{"case_types":{"type":"array","items":{"type":"string"}},"response_speed":{"type":"string","enum":["fast","standard","thorough"]},"ruling_style":{"type":"string","enum":["concise","detailed"]}},"additionalProperties":false},"demander":{"type":"object","properties":{"award_weights":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"number"}},"pilot_budget":{"type":"string"},"rfp_openness":{"type":"string","enum":["open","passport_gated","invite_only"]},"decision_basis":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},"preferences":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"additionalProperties":false},"arbitrator":{"type":"object","properties":{"tastes":{"type":"object","properties":{"materials":{"type":"array","items":{"type":"string"}},"colors":{"type":"array","items":{"type":"string"}},"styles":{"type":"array","items":{"type":"string"}},"tags":{"type":"array","items":{"type":"string"}},"brands":{"type":"array","items":{"type":"string"}},"avoid":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},"consumption":{"type":"object","properties":{"frequency":{"type":"string","enum":["rare","occasional","regular","frequent"]},"price_band":{"type":"string","enum":["budget","mid","premium","luxury"]},"decision_speed":{"type":"string","enum":["fast","deliberate","slow"]},"channels":{"type":"array","items":{"type":"string"}},"repeat_orientation":{"type":"string","enum":["novelty","balanced","loyal"]},"avg_order_range":{"type":"string"},"notes":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},"merchant":{"type":"object","properties":{"posture":{"type":"string","enum":["volume","balanced","margin"]},"pricing_style":{"type":"string","enum":["competitive","value","premium","custom_quote"]},"service_style":{"type":"array","items":{"type":"string"}},"communication":{"type":"string"},"growth_focus":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},"supplier":{"type":"object","properties":{"min_order":{"type":"string"},"lead_time":{"type":"string"},"settlement_terms":{"type":"array","items":{"type":"string"}},"categories":{"type":"array","items":{"type":"string"}},"capacity":{"type":"string"}},"additionalProperties":false},"collaborator":{"type":"object","properties":{"scope_discipline":{"type":"string","enum":["strict","balanced","flexible"]},"notifications":{"type":"string","enum":["minimal","digest","realtime"]},"working_hours":{"type":"string"},"advance_style":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},"arbitrator":{"type":"object","properties":{"case_types":{"type":"array","items":{"type":"string"}},"response_speed":{"type":"string","enum":["fast","standard","thorough"]},"ruling_style":{"type":"string","enum":["concise","detailed"]}},"additionalProperties":false},"demander":{"type":"object","properties":{"award_weights":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"number"}},"pilot_budget":{"type":"string"},"rfp_openness":{"type":"string","enum":["open","passport_gated","invite_only"]},"decision_basis":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},"preferences":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"additionalProperties":false}},"additionalProperties":false},"analyze":{"type":"object","properties":{"key_questions":{"maxItems":4,"type":"array","items":{"type":"string"},"description":"The user's key follow-up questions for the Analyze dossier (up to 4 stored, 2 effective after merge)."}},"required":["key_questions"],"additionalProperties":false},"judgment":{"type":"object","properties":{"description":{"type":"string"},"evaluation":{"type":"object","properties":{"comment":{"type":"string"},"weights":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"number"}},"dimensions":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"object","properties":{"label":{"type":"string"},"description":{"type":"string"}},"required":["label","description"],"additionalProperties":false}},"severity_deduction":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"number"}},"level_bands":{"type":"array","items":{"type":"object","properties":{"min":{"type":"number"},"level":{"type":"string"}},"required":["min","level"],"additionalProperties":false}},"grade_words":{"type":"object","properties":{"comment":{"type":"string"},"trust":{"type":"array","items":{"type":"object","properties":{"min":{"type":"number"},"word":{"type":"string"}},"required":["min","word"],"additionalProperties":false}},"risk":{"type":"array","items":{"type":"object","properties":{"min":{"type":"number"},"word":{"type":"string"}},"required":["min","word"],"additionalProperties":false}},"match":{"type":"array","items":{"type":"object","properties":{"min":{"type":"number"},"word":{"type":"string"}},"required":["min","word"],"additionalProperties":false}}},"additionalProperties":false}},"additionalProperties":false},"game":{"type":"object","properties":{"comment":{"type":"string"},"outcome_semantics":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"array","items":{"type":"string"}}},"role_interests":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"object","properties":{"prefer":{"type":"array","items":{"type":"string"}},"avoid":{"type":"array","items":{"type":"string"}},"sensitivity":{"type":"number"}},"required":["prefer","avoid","sensitivity"],"additionalProperties":false}},"appetite_multipliers":{"type":"object","properties":{"conservative":{"type":"number"},"balanced":{"type":"number"},"aggressive":{"type":"number"}},"additionalProperties":false},"scoring":{"type":"object","properties":{"base":{"type":"number"},"per_gain":{"type":"number"},"per_risk":{"type":"number"}},"additionalProperties":false},"keyword_rules":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"keywords":{"minItems":1,"type":"array","items":{"type":"string"}},"effect":{"type":"string"},"anchor":{"type":"string","enum":["prefer","avoid"]},"when_forbidden":{"type":"boolean"}},"required":["id","keywords","effect","anchor","when_forbidden"],"additionalProperties":false}},"forbid_pattern":{"type":"string"},"arb":{"type":"object","properties":{"comment":{"type":"string"},"effect_semantics":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"array","items":{"type":"string"}}},"role_interests":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"object","properties":{"prefer":{"type":"array","items":{"type":"string"}},"avoid":{"type":"array","items":{"type":"string"}},"sensitivity":{"type":"number"}},"required":["prefer","avoid","sensitivity"],"additionalProperties":false}},"keyword_rules":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"keywords":{"minItems":1,"type":"array","items":{"type":"string"}},"effect":{"type":"string"},"anchor":{"type":"string","enum":["prefer","avoid"]},"when_forbidden":{"type":"boolean"}},"required":["id","keywords","effect","anchor","when_forbidden"],"additionalProperties":false}},"forbid_pattern":{"type":"string"},"scoring":{"type":"object","properties":{"base":{"type":"number"},"per_gain":{"type":"number"},"per_risk":{"type":"number"}},"required":["base","per_gain","per_risk"],"additionalProperties":false}},"additionalProperties":false}},"additionalProperties":false},"match":{"type":"object","properties":{"comment":{"type":"string"},"region_scores":{"type":"object","properties":{"exact":{"type":"number"},"contains":{"type":"number"},"compatible":{"type":"number"},"overlap":{"type":"number"},"mismatch":{"type":"number"}},"additionalProperties":false},"weights":{"type":"object","properties":{"region":{"type":"number"},"industry":{"type":"number"},"price":{"type":"number"},"trust":{"type":"number"},"capabilities":{"type":"number"},"buyable":{"type":"number"},"reward_commitment":{"type":"number"},"tags":{"type":"number"},"acceptance":{"type":"number"}},"additionalProperties":false},"trust_bands":{"type":"array","items":{"type":"object","properties":{"min":{"type":"number"},"score":{"type":"number"}},"required":["min","score"],"additionalProperties":false}},"neutral_score":{"type":"number"},"price_over_budget_tolerance_pct":{"type":"number"},"top_n":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"additionalProperties":false},"monitor":{"type":"object","properties":{"comment":{"type":"string"},"thresholds":{"type":"object","properties":{"progress_stall_hours":{"type":"number"},"compensation_drop_ratio":{"type":"number"},"compensation_coverage_min":{"type":"number"},"messenger_timeout_hours":{"type":"number"},"review_window_closing_days":{"type":"number"},"arb_window_closing_days":{"type":"number"}},"additionalProperties":false},"escalation":{"type":"object","properties":{"default_expected_progress_hours":{"type":"number"},"stall_expected_multiplier":{"type":"number"},"stall_escalation_multiplier":{"type":"number"},"messenger_escalation_multiplier":{"type":"number"},"ratio_critical_threshold":{"type":"number"}},"additionalProperties":false}},"additionalProperties":false},"mode":{"type":"object","properties":{"comment":{"type":"string"},"appetite_thresholds":{"type":"object","properties":{"conservative":{"type":"object","properties":{"max_risk":{"type":"number"},"min_benefit":{"type":"number"}},"required":["max_risk","min_benefit"],"additionalProperties":false},"balanced":{"type":"object","properties":{"max_risk":{"type":"number"},"min_benefit":{"type":"number"}},"required":["max_risk","min_benefit"],"additionalProperties":false},"aggressive":{"type":"object","properties":{"max_risk":{"type":"number"},"min_benefit":{"type":"number"}},"required":["max_risk","min_benefit"],"additionalProperties":false}},"additionalProperties":false}},"additionalProperties":false},"scorecard":{"type":"object","properties":{"comment":{"type":"string"},"metrics":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"object","properties":{"weight":{"type":"object","properties":{"volume":{"type":"number"},"balanced":{"type":"number"},"margin":{"type":"number"}},"required":["volume","balanced","margin"],"additionalProperties":false},"good_threshold":{"type":"number"},"bad_threshold":{"type":"number"}},"additionalProperties":false}},"shop_evidence_metrics":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},"rules":{"type":"object","properties":{"comment":{"type":"string"},"domains":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"object","properties":{"comment":{"type":"string"},"facts":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}},"rules":{"type":"array","items":{"type":"object","properties":{"rule_id":{"type":"string"},"dimension":{"type":"string"},"trigger":{"type":"string"},"cases":{"type":"array","items":{"type":"object","properties":{"when":{"$ref":"#/definitions/__schema0"},"level":{"anyOf":[{"type":"string","enum":["critical","high","medium","low","info"]},{"type":"string","pattern":"^fact:([A-Za-z0-9_.-]+)$"},{}]},"title":{"type":"string"},"description":{"type":"string"},"scenario":{"type":"string"},"mitigation":{"type":"string"},"evidence":{"type":"string"},"stakeholders":{"type":"array","items":{"type":"string"}},"exposure":{"type":"object","properties":{"loss_parties":{"type":"array","items":{"type":"object","properties":{"role":{"type":"string","enum":["buyer","merchant","supplier","collaborator","arbitrator","system","neutral"]},"basis":{"type":"string"}},"required":["role","basis"],"additionalProperties":false}},"gain_paths":{"type":"array","items":{"type":"object","properties":{"role":{"type":"string","enum":["buyer","merchant","supplier","collaborator","arbitrator","system","neutral"]},"path":{"type":"string"},"viability":{"anyOf":[{"type":"string","enum":["viable","conditional","blocked","unverifiable"]},{"type":"string","pattern":"^fact:([A-Za-z0-9_.-]+)$"}]},"gate":{"type":"string"}},"required":["role","path","viability","gate"],"additionalProperties":false}},"downgrade_exempt":{"type":"boolean"}},"required":["loss_parties","gain_paths"],"additionalProperties":false}},"required":["when","level","title","description"],"additionalProperties":false}},"enabled":{"type":"boolean"}},"required":["rule_id"],"additionalProperties":false}},"severity_overrides":{}},"additionalProperties":false}}},"additionalProperties":false},"role_intent":{"type":"object","properties":{"comment":{"type":"string"},"roles":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"object","properties":{"comment":{"type":"string"},"intents":{"minItems":1,"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"weight":{"type":"number","minimum":0,"maximum":1}},"required":["id","weight"],"additionalProperties":false}},"horizon":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"risk_appetite":{"type":"string","enum":["conservative","balanced","aggressive"]},"red_lines":{"type":"array","items":{"type":"string"}},"strategy_leaning":{"type":"string","enum":["cooperative","opportunistic","confrontational"]}},"additionalProperties":false}}},"additionalProperties":false},"version":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"additionalProperties":false},"match":{"type":"object","properties":{"demand_to_supply":{"type":"object","properties":{"policy_id":{"type":"string","minLength":1},"version":{"type":"integer","minimum":0,"maximum":9007199254740991},"direction":{"description":"Default demand_to_supply. A demand_to_supply policy drives match_discover; a supply_to_demand policy drives demand_present / discover_demands (and is rejected by match_discover).","type":"string","enum":["demand_to_supply","supply_to_demand"]},"unknown_policy":{"description":"What a gate with missing input does (K5-05 axiom 3). Default neutral_score (= pass, reported).","type":"string","enum":["pass","drop","neutral_score"]},"gates":{"type":"array","items":{"type":"object","properties":{"dim":{"type":"string","description":"Gate dimension. Enforced client-side: live, price, arb, compensation, machine, messenger, buy_guard, wip_verify, text, owner. Others are reported as ignored (not enforceable on-device yet)."},"op":{"description":"Comparison operator (eq/lte/gte/in/not_in/must_contain/must_not_contain) — validated per dim at apply time.","type":"string"},"value":{"anyOf":[{"type":"boolean"},{"type":"number"},{"type":"string"},{"type":"array","items":{"type":"string"}}]},"params":{"description":"Extra params; `from_budget: true` on a price gate uses the request budget as the threshold.","type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"required":["dim"],"additionalProperties":false}},"excludes":{"type":"array","items":{"type":"object","properties":{"dim":{"type":"string","description":"Exclude dimension. Enforced client-side: blacklist (objects/owners lists). anti_cheat/structure dims are reported as ignored (no client-side facet)."},"objects":{"type":"array","items":{"type":"string"}},"owners":{"type":"array","items":{"type":"string"}},"flags":{"type":"array","items":{"type":"string"}},"source":{"type":"array","items":{"type":"string"}},"rule":{"type":"string"}},"required":["dim"],"additionalProperties":false}},"weights":{"description":"demand_match rule id → weight (region/industry/price/trust/capabilities/tags/acceptance). Unregistered ids are reported as ignored.","type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"number","minimum":0}},"rerank":{"type":"object","properties":{"diversity":{"description":"Greedy per-group cap over the score-ordered list. `permission` is not enforceable client-side yet (reported ignored); use `owner`.","type":"object","properties":{"by":{"type":"string","enum":["owner","permission"]},"max_per_group":{"type":"integer","minimum":1,"maximum":9007199254740991}},"required":["by","max_per_group"],"additionalProperties":false},"explore":{},"llm":{},"fairness":{}},"additionalProperties":false},"recall":{"description":"Server/recall directives — accepted for portability, not enforceable from the client (reported ignored)."},"verify":{"description":"Facet verification directives — accepted for portability, not enforceable client-side (reported ignored)."},"output":{"type":"object","properties":{"top_n":{"type":"integer","minimum":1,"maximum":500},"explain":{"type":"boolean"},"evidence_chain":{},"coverage_report":{}},"additionalProperties":false}},"required":["policy_id"],"additionalProperties":false},"supply_to_demand":{"type":"object","properties":{"policy_id":{"type":"string","minLength":1},"version":{"type":"integer","minimum":0,"maximum":9007199254740991},"direction":{"description":"Default demand_to_supply. A demand_to_supply policy drives match_discover; a supply_to_demand policy drives demand_present / discover_demands (and is rejected by match_discover).","type":"string","enum":["demand_to_supply","supply_to_demand"]},"unknown_policy":{"description":"What a gate with missing input does (K5-05 axiom 3). Default neutral_score (= pass, reported).","type":"string","enum":["pass","drop","neutral_score"]},"gates":{"type":"array","items":{"type":"object","properties":{"dim":{"type":"string","description":"Gate dimension. Enforced client-side: live, price, arb, compensation, machine, messenger, buy_guard, wip_verify, text, owner. Others are reported as ignored (not enforceable on-device yet)."},"op":{"description":"Comparison operator (eq/lte/gte/in/not_in/must_contain/must_not_contain) — validated per dim at apply time.","type":"string"},"value":{"anyOf":[{"type":"boolean"},{"type":"number"},{"type":"string"},{"type":"array","items":{"type":"string"}}]},"params":{"description":"Extra params; `from_budget: true` on a price gate uses the request budget as the threshold.","type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"required":["dim"],"additionalProperties":false}},"excludes":{"type":"array","items":{"type":"object","properties":{"dim":{"type":"string","description":"Exclude dimension. Enforced client-side: blacklist (objects/owners lists). anti_cheat/structure dims are reported as ignored (no client-side facet)."},"objects":{"type":"array","items":{"type":"string"}},"owners":{"type":"array","items":{"type":"string"}},"flags":{"type":"array","items":{"type":"string"}},"source":{"type":"array","items":{"type":"string"}},"rule":{"type":"string"}},"required":["dim"],"additionalProperties":false}},"weights":{"description":"demand_match rule id → weight (region/industry/price/trust/capabilities/tags/acceptance). Unregistered ids are reported as ignored.","type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"number","minimum":0}},"rerank":{"type":"object","properties":{"diversity":{"description":"Greedy per-group cap over the score-ordered list. `permission` is not enforceable client-side yet (reported ignored); use `owner`.","type":"object","properties":{"by":{"type":"string","enum":["owner","permission"]},"max_per_group":{"type":"integer","minimum":1,"maximum":9007199254740991}},"required":["by","max_per_group"],"additionalProperties":false},"explore":{},"llm":{},"fairness":{}},"additionalProperties":false},"recall":{"description":"Server/recall directives — accepted for portability, not enforceable from the client (reported ignored)."},"verify":{"description":"Facet verification directives — accepted for portability, not enforceable client-side (reported ignored)."},"output":{"type":"object","properties":{"top_n":{"type":"integer","minimum":1,"maximum":500},"explain":{"type":"boolean"},"evidence_chain":{},"coverage_report":{}},"additionalProperties":false}},"required":["policy_id"],"additionalProperties":false}},"additionalProperties":false}},"additionalProperties":false},"confirm":{"description":"Explicit human confirmation — required and MUST be true whenever the call carries a long_term payload (the STABLE identity layer is user-driven: the AI may draft and propose it, but the write lands only after the human approves). current-layer sets need no confirmation.","type":"boolean"}},"required":["action","scope","role","industries"],"additionalProperties":false},{"type":"object","properties":{"action":{"type":"string","const":"analyze"},"context":{"type":"string","description":"Free-form context: website URL, experience summary, self description, goal."}},"required":["action","context"],"additionalProperties":false},{"type":"object","properties":{"action":{"type":"string","const":"apply"},"context":{"type":"string","description":"Free-form context whose extracted signals feed the CURRENT layer."},"scope":{"type":"string","enum":["system","account"]},"account":{"type":"string"},"role":{"type":"string","enum":["merchant","customer","demander","prospect","supplier","collaborator","arbitrator"]},"industries":{"type":"array","items":{"type":"string","pattern":"^[a-z][a-z0-9_]*$"}},"mode":{"description":"merge (default) unions strategy/rules/requirements into current; replace discards the existing current layer.","type":"string","enum":["merge","replace"]}},"required":["action","context","scope"],"additionalProperties":false},{"type":"object","properties":{"action":{"type":"string","const":"sync"},"account":{"description":"Account whose behavior (experience layer) is merged into its CURRENT layer. Omit = system persona.","type":"string"}},"required":["action"],"additionalProperties":false},{"type":"object","properties":{"action":{"type":"string","const":"apply_delta"},"scope":{"type":"string","enum":["system","account"]},"account":{"description":"Required when scope=account.","type":"string"},"role":{"type":"string","enum":["merchant","customer","demander","prospect","supplier","collaborator","arbitrator"]},"industries":{"type":"array","items":{"type":"string","pattern":"^[a-z][a-z0-9_]*$"}},"delta":{"type":"object","properties":{"identity":{"type":"object","properties":{"region":{"type":"string"},"languages":{"type":"array","items":{"type":"string"}},"self_description":{"type":"string"}},"additionalProperties":false},"preferences":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"strategy":{"type":"array","items":{"type":"string"}},"rules":{"type":"array","items":{"type":"string"}},"requirements":{"type":"array","items":{"type":"string"}},"spec":{"type":"string"},"overrides":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string","enum":["auto","prompt","block","warn"]}},"policy":{"type":"object","properties":{"confirm":{"type":"object","properties":{"mode":{"type":"string","enum":["full","streamlined","quiet"]},"batch_standard":{"type":"boolean"},"session_remember":{"type":"array","items":{"type":"string"}},"intent_bypass":{"type":"boolean"}},"additionalProperties":false},"budget":{"type":"object","properties":{"daily_wow":{"anyOf":[{"type":"string"},{"type":"null"}]}},"additionalProperties":false},"allowlist":{"type":"array","items":{"type":"string"}},"audit":{"type":"boolean"}},"additionalProperties":false},"profiles":{"type":"object","properties":{"merchant":{"type":"object","properties":{"tastes":{"type":"object","properties":{"materials":{"type":"array","items":{"type":"string"}},"colors":{"type":"array","items":{"type":"string"}},"styles":{"type":"array","items":{"type":"string"}},"tags":{"type":"array","items":{"type":"string"}},"brands":{"type":"array","items":{"type":"string"}},"avoid":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},"consumption":{"type":"object","properties":{"frequency":{"type":"string","enum":["rare","occasional","regular","frequent"]},"price_band":{"type":"string","enum":["budget","mid","premium","luxury"]},"decision_speed":{"type":"string","enum":["fast","deliberate","slow"]},"channels":{"type":"array","items":{"type":"string"}},"repeat_orientation":{"type":"string","enum":["novelty","balanced","loyal"]},"avg_order_range":{"type":"string"},"notes":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},"merchant":{"type":"object","properties":{"posture":{"type":"string","enum":["volume","balanced","margin"]},"pricing_style":{"type":"string","enum":["competitive","value","premium","custom_quote"]},"service_style":{"type":"array","items":{"type":"string"}},"communication":{"type":"string"},"growth_focus":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},"supplier":{"type":"object","properties":{"min_order":{"type":"string"},"lead_time":{"type":"string"},"settlement_terms":{"type":"array","items":{"type":"string"}},"categories":{"type":"array","items":{"type":"string"}},"capacity":{"type":"string"}},"additionalProperties":false},"collaborator":{"type":"object","properties":{"scope_discipline":{"type":"string","enum":["strict","balanced","flexible"]},"notifications":{"type":"string","enum":["minimal","digest","realtime"]},"working_hours":{"type":"string"},"advance_style":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},"arbitrator":{"type":"object","properties":{"case_types":{"type":"array","items":{"type":"string"}},"response_speed":{"type":"string","enum":["fast","standard","thorough"]},"ruling_style":{"type":"string","enum":["concise","detailed"]}},"additionalProperties":false},"demander":{"type":"object","properties":{"award_weights":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"number"}},"pilot_budget":{"type":"string"},"rfp_openness":{"type":"string","enum":["open","passport_gated","invite_only"]},"decision_basis":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},"preferences":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"additionalProperties":false},"customer":{"type":"object","properties":{"tastes":{"type":"object","properties":{"materials":{"type":"array","items":{"type":"string"}},"colors":{"type":"array","items":{"type":"string"}},"styles":{"type":"array","items":{"type":"string"}},"tags":{"type":"array","items":{"type":"string"}},"brands":{"type":"array","items":{"type":"string"}},"avoid":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},"consumption":{"type":"object","properties":{"frequency":{"type":"string","enum":["rare","occasional","regular","frequent"]},"price_band":{"type":"string","enum":["budget","mid","premium","luxury"]},"decision_speed":{"type":"string","enum":["fast","deliberate","slow"]},"channels":{"type":"array","items":{"type":"string"}},"repeat_orientation":{"type":"string","enum":["novelty","balanced","loyal"]},"avg_order_range":{"type":"string"},"notes":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},"merchant":{"type":"object","properties":{"posture":{"type":"string","enum":["volume","balanced","margin"]},"pricing_style":{"type":"string","enum":["competitive","value","premium","custom_quote"]},"service_style":{"type":"array","items":{"type":"string"}},"communication":{"type":"string"},"growth_focus":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},"supplier":{"type":"object","properties":{"min_order":{"type":"string"},"lead_time":{"type":"string"},"settlement_terms":{"type":"array","items":{"type":"string"}},"categories":{"type":"array","items":{"type":"string"}},"capacity":{"type":"string"}},"additionalProperties":false},"collaborator":{"type":"object","properties":{"scope_discipline":{"type":"string","enum":["strict","balanced","flexible"]},"notifications":{"type":"string","enum":["minimal","digest","realtime"]},"working_hours":{"type":"string"},"advance_style":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},"arbitrator":{"type":"object","properties":{"case_types":{"type":"array","items":{"type":"string"}},"response_speed":{"type":"string","enum":["fast","standard","thorough"]},"ruling_style":{"type":"string","enum":["concise","detailed"]}},"additionalProperties":false},"demander":{"type":"object","properties":{"award_weights":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"number"}},"pilot_budget":{"type":"string"},"rfp_openness":{"type":"string","enum":["open","passport_gated","invite_only"]},"decision_basis":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},"preferences":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"additionalProperties":false},"demander":{"type":"object","properties":{"tastes":{"type":"object","properties":{"materials":{"type":"array","items":{"type":"string"}},"colors":{"type":"array","items":{"type":"string"}},"styles":{"type":"array","items":{"type":"string"}},"tags":{"type":"array","items":{"type":"string"}},"brands":{"type":"array","items":{"type":"string"}},"avoid":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},"consumption":{"type":"object","properties":{"frequency":{"type":"string","enum":["rare","occasional","regular","frequent"]},"price_band":{"type":"string","enum":["budget","mid","premium","luxury"]},"decision_speed":{"type":"string","enum":["fast","deliberate","slow"]},"channels":{"type":"array","items":{"type":"string"}},"repeat_orientation":{"type":"string","enum":["novelty","balanced","loyal"]},"avg_order_range":{"type":"string"},"notes":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},"merchant":{"type":"object","properties":{"posture":{"type":"string","enum":["volume","balanced","margin"]},"pricing_style":{"type":"string","enum":["competitive","value","premium","custom_quote"]},"service_style":{"type":"array","items":{"type":"string"}},"communication":{"type":"string"},"growth_focus":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},"supplier":{"type":"object","properties":{"min_order":{"type":"string"},"lead_time":{"type":"string"},"settlement_terms":{"type":"array","items":{"type":"string"}},"categories":{"type":"array","items":{"type":"string"}},"capacity":{"type":"string"}},"additionalProperties":false},"collaborator":{"type":"object","properties":{"scope_discipline":{"type":"string","enum":["strict","balanced","flexible"]},"notifications":{"type":"string","enum":["minimal","digest","realtime"]},"working_hours":{"type":"string"},"advance_style":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},"arbitrator":{"type":"object","properties":{"case_types":{"type":"array","items":{"type":"string"}},"response_speed":{"type":"string","enum":["fast","standard","thorough"]},"ruling_style":{"type":"string","enum":["concise","detailed"]}},"additionalProperties":false},"demander":{"type":"object","properties":{"award_weights":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"number"}},"pilot_budget":{"type":"string"},"rfp_openness":{"type":"string","enum":["open","passport_gated","invite_only"]},"decision_basis":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},"preferences":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"additionalProperties":false},"prospect":{"type":"object","properties":{"tastes":{"type":"object","properties":{"materials":{"type":"array","items":{"type":"string"}},"colors":{"type":"array","items":{"type":"string"}},"styles":{"type":"array","items":{"type":"string"}},"tags":{"type":"array","items":{"type":"string"}},"brands":{"type":"array","items":{"type":"string"}},"avoid":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},"consumption":{"type":"object","properties":{"frequency":{"type":"string","enum":["rare","occasional","regular","frequent"]},"price_band":{"type":"string","enum":["budget","mid","premium","luxury"]},"decision_speed":{"type":"string","enum":["fast","deliberate","slow"]},"channels":{"type":"array","items":{"type":"string"}},"repeat_orientation":{"type":"string","enum":["novelty","balanced","loyal"]},"avg_order_range":{"type":"string"},"notes":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},"merchant":{"type":"object","properties":{"posture":{"type":"string","enum":["volume","balanced","margin"]},"pricing_style":{"type":"string","enum":["competitive","value","premium","custom_quote"]},"service_style":{"type":"array","items":{"type":"string"}},"communication":{"type":"string"},"growth_focus":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},"supplier":{"type":"object","properties":{"min_order":{"type":"string"},"lead_time":{"type":"string"},"settlement_terms":{"type":"array","items":{"type":"string"}},"categories":{"type":"array","items":{"type":"string"}},"capacity":{"type":"string"}},"additionalProperties":false},"collaborator":{"type":"object","properties":{"scope_discipline":{"type":"string","enum":["strict","balanced","flexible"]},"notifications":{"type":"string","enum":["minimal","digest","realtime"]},"working_hours":{"type":"string"},"advance_style":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},"arbitrator":{"type":"object","properties":{"case_types":{"type":"array","items":{"type":"string"}},"response_speed":{"type":"string","enum":["fast","standard","thorough"]},"ruling_style":{"type":"string","enum":["concise","detailed"]}},"additionalProperties":false},"demander":{"type":"object","properties":{"award_weights":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"number"}},"pilot_budget":{"type":"string"},"rfp_openness":{"type":"string","enum":["open","passport_gated","invite_only"]},"decision_basis":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},"preferences":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"additionalProperties":false},"supplier":{"type":"object","properties":{"tastes":{"type":"object","properties":{"materials":{"type":"array","items":{"type":"string"}},"colors":{"type":"array","items":{"type":"string"}},"styles":{"type":"array","items":{"type":"string"}},"tags":{"type":"array","items":{"type":"string"}},"brands":{"type":"array","items":{"type":"string"}},"avoid":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},"consumption":{"type":"object","properties":{"frequency":{"type":"string","enum":["rare","occasional","regular","frequent"]},"price_band":{"type":"string","enum":["budget","mid","premium","luxury"]},"decision_speed":{"type":"string","enum":["fast","deliberate","slow"]},"channels":{"type":"array","items":{"type":"string"}},"repeat_orientation":{"type":"string","enum":["novelty","balanced","loyal"]},"avg_order_range":{"type":"string"},"notes":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},"merchant":{"type":"object","properties":{"posture":{"type":"string","enum":["volume","balanced","margin"]},"pricing_style":{"type":"string","enum":["competitive","value","premium","custom_quote"]},"service_style":{"type":"array","items":{"type":"string"}},"communication":{"type":"string"},"growth_focus":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},"supplier":{"type":"object","properties":{"min_order":{"type":"string"},"lead_time":{"type":"string"},"settlement_terms":{"type":"array","items":{"type":"string"}},"categories":{"type":"array","items":{"type":"string"}},"capacity":{"type":"string"}},"additionalProperties":false},"collaborator":{"type":"object","properties":{"scope_discipline":{"type":"string","enum":["strict","balanced","flexible"]},"notifications":{"type":"string","enum":["minimal","digest","realtime"]},"working_hours":{"type":"string"},"advance_style":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},"arbitrator":{"type":"object","properties":{"case_types":{"type":"array","items":{"type":"string"}},"response_speed":{"type":"string","enum":["fast","standard","thorough"]},"ruling_style":{"type":"string","enum":["concise","detailed"]}},"additionalProperties":false},"demander":{"type":"object","properties":{"award_weights":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"number"}},"pilot_budget":{"type":"string"},"rfp_openness":{"type":"string","enum":["open","passport_gated","invite_only"]},"decision_basis":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},"preferences":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"additionalProperties":false},"collaborator":{"type":"object","properties":{"tastes":{"type":"object","properties":{"materials":{"type":"array","items":{"type":"string"}},"colors":{"type":"array","items":{"type":"string"}},"styles":{"type":"array","items":{"type":"string"}},"tags":{"type":"array","items":{"type":"string"}},"brands":{"type":"array","items":{"type":"string"}},"avoid":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},"consumption":{"type":"object","properties":{"frequency":{"type":"string","enum":["rare","occasional","regular","frequent"]},"price_band":{"type":"string","enum":["budget","mid","premium","luxury"]},"decision_speed":{"type":"string","enum":["fast","deliberate","slow"]},"channels":{"type":"array","items":{"type":"string"}},"repeat_orientation":{"type":"string","enum":["novelty","balanced","loyal"]},"avg_order_range":{"type":"string"},"notes":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},"merchant":{"type":"object","properties":{"posture":{"type":"string","enum":["volume","balanced","margin"]},"pricing_style":{"type":"string","enum":["competitive","value","premium","custom_quote"]},"service_style":{"type":"array","items":{"type":"string"}},"communication":{"type":"string"},"growth_focus":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},"supplier":{"type":"object","properties":{"min_order":{"type":"string"},"lead_time":{"type":"string"},"settlement_terms":{"type":"array","items":{"type":"string"}},"categories":{"type":"array","items":{"type":"string"}},"capacity":{"type":"string"}},"additionalProperties":false},"collaborator":{"type":"object","properties":{"scope_discipline":{"type":"string","enum":["strict","balanced","flexible"]},"notifications":{"type":"string","enum":["minimal","digest","realtime"]},"working_hours":{"type":"string"},"advance_style":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},"arbitrator":{"type":"object","properties":{"case_types":{"type":"array","items":{"type":"string"}},"response_speed":{"type":"string","enum":["fast","standard","thorough"]},"ruling_style":{"type":"string","enum":["concise","detailed"]}},"additionalProperties":false},"demander":{"type":"object","properties":{"award_weights":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"number"}},"pilot_budget":{"type":"string"},"rfp_openness":{"type":"string","enum":["open","passport_gated","invite_only"]},"decision_basis":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},"preferences":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"additionalProperties":false},"arbitrator":{"type":"object","properties":{"tastes":{"type":"object","properties":{"materials":{"type":"array","items":{"type":"string"}},"colors":{"type":"array","items":{"type":"string"}},"styles":{"type":"array","items":{"type":"string"}},"tags":{"type":"array","items":{"type":"string"}},"brands":{"type":"array","items":{"type":"string"}},"avoid":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},"consumption":{"type":"object","properties":{"frequency":{"type":"string","enum":["rare","occasional","regular","frequent"]},"price_band":{"type":"string","enum":["budget","mid","premium","luxury"]},"decision_speed":{"type":"string","enum":["fast","deliberate","slow"]},"channels":{"type":"array","items":{"type":"string"}},"repeat_orientation":{"type":"string","enum":["novelty","balanced","loyal"]},"avg_order_range":{"type":"string"},"notes":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},"merchant":{"type":"object","properties":{"posture":{"type":"string","enum":["volume","balanced","margin"]},"pricing_style":{"type":"string","enum":["competitive","value","premium","custom_quote"]},"service_style":{"type":"array","items":{"type":"string"}},"communication":{"type":"string"},"growth_focus":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},"supplier":{"type":"object","properties":{"min_order":{"type":"string"},"lead_time":{"type":"string"},"settlement_terms":{"type":"array","items":{"type":"string"}},"categories":{"type":"array","items":{"type":"string"}},"capacity":{"type":"string"}},"additionalProperties":false},"collaborator":{"type":"object","properties":{"scope_discipline":{"type":"string","enum":["strict","balanced","flexible"]},"notifications":{"type":"string","enum":["minimal","digest","realtime"]},"working_hours":{"type":"string"},"advance_style":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},"arbitrator":{"type":"object","properties":{"case_types":{"type":"array","items":{"type":"string"}},"response_speed":{"type":"string","enum":["fast","standard","thorough"]},"ruling_style":{"type":"string","enum":["concise","detailed"]}},"additionalProperties":false},"demander":{"type":"object","properties":{"award_weights":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"number"}},"pilot_budget":{"type":"string"},"rfp_openness":{"type":"string","enum":["open","passport_gated","invite_only"]},"decision_basis":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},"preferences":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"additionalProperties":false}},"additionalProperties":false},"analyze":{"type":"object","properties":{"key_questions":{"maxItems":4,"type":"array","items":{"type":"string"},"description":"The user's key follow-up questions for the Analyze dossier (up to 4 stored, 2 effective after merge)."}},"required":["key_questions"],"additionalProperties":false},"judgment":{"type":"object","properties":{"description":{"type":"string"},"evaluation":{"type":"object","properties":{"comment":{"type":"string"},"weights":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"number"}},"dimensions":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"object","properties":{"label":{"type":"string"},"description":{"type":"string"}},"required":["label","description"],"additionalProperties":false}},"severity_deduction":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"number"}},"level_bands":{"type":"array","items":{"type":"object","properties":{"min":{"type":"number"},"level":{"type":"string"}},"required":["min","level"],"additionalProperties":false}},"grade_words":{"type":"object","properties":{"comment":{"type":"string"},"trust":{"type":"array","items":{"type":"object","properties":{"min":{"type":"number"},"word":{"type":"string"}},"required":["min","word"],"additionalProperties":false}},"risk":{"type":"array","items":{"type":"object","properties":{"min":{"type":"number"},"word":{"type":"string"}},"required":["min","word"],"additionalProperties":false}},"match":{"type":"array","items":{"type":"object","properties":{"min":{"type":"number"},"word":{"type":"string"}},"required":["min","word"],"additionalProperties":false}}},"additionalProperties":false}},"additionalProperties":false},"game":{"type":"object","properties":{"comment":{"type":"string"},"outcome_semantics":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"array","items":{"type":"string"}}},"role_interests":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"object","properties":{"prefer":{"type":"array","items":{"type":"string"}},"avoid":{"type":"array","items":{"type":"string"}},"sensitivity":{"type":"number"}},"required":["prefer","avoid","sensitivity"],"additionalProperties":false}},"appetite_multipliers":{"type":"object","properties":{"conservative":{"type":"number"},"balanced":{"type":"number"},"aggressive":{"type":"number"}},"additionalProperties":false},"scoring":{"type":"object","properties":{"base":{"type":"number"},"per_gain":{"type":"number"},"per_risk":{"type":"number"}},"additionalProperties":false},"keyword_rules":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"keywords":{"minItems":1,"type":"array","items":{"type":"string"}},"effect":{"type":"string"},"anchor":{"type":"string","enum":["prefer","avoid"]},"when_forbidden":{"type":"boolean"}},"required":["id","keywords","effect","anchor","when_forbidden"],"additionalProperties":false}},"forbid_pattern":{"type":"string"},"arb":{"type":"object","properties":{"comment":{"type":"string"},"effect_semantics":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"array","items":{"type":"string"}}},"role_interests":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"object","properties":{"prefer":{"type":"array","items":{"type":"string"}},"avoid":{"type":"array","items":{"type":"string"}},"sensitivity":{"type":"number"}},"required":["prefer","avoid","sensitivity"],"additionalProperties":false}},"keyword_rules":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"keywords":{"minItems":1,"type":"array","items":{"type":"string"}},"effect":{"type":"string"},"anchor":{"type":"string","enum":["prefer","avoid"]},"when_forbidden":{"type":"boolean"}},"required":["id","keywords","effect","anchor","when_forbidden"],"additionalProperties":false}},"forbid_pattern":{"type":"string"},"scoring":{"type":"object","properties":{"base":{"type":"number"},"per_gain":{"type":"number"},"per_risk":{"type":"number"}},"required":["base","per_gain","per_risk"],"additionalProperties":false}},"additionalProperties":false}},"additionalProperties":false},"match":{"type":"object","properties":{"comment":{"type":"string"},"region_scores":{"type":"object","properties":{"exact":{"type":"number"},"contains":{"type":"number"},"compatible":{"type":"number"},"overlap":{"type":"number"},"mismatch":{"type":"number"}},"additionalProperties":false},"weights":{"type":"object","properties":{"region":{"type":"number"},"industry":{"type":"number"},"price":{"type":"number"},"trust":{"type":"number"},"capabilities":{"type":"number"},"buyable":{"type":"number"},"reward_commitment":{"type":"number"},"tags":{"type":"number"},"acceptance":{"type":"number"}},"additionalProperties":false},"trust_bands":{"type":"array","items":{"type":"object","properties":{"min":{"type":"number"},"score":{"type":"number"}},"required":["min","score"],"additionalProperties":false}},"neutral_score":{"type":"number"},"price_over_budget_tolerance_pct":{"type":"number"},"top_n":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"additionalProperties":false},"monitor":{"type":"object","properties":{"comment":{"type":"string"},"thresholds":{"type":"object","properties":{"progress_stall_hours":{"type":"number"},"compensation_drop_ratio":{"type":"number"},"compensation_coverage_min":{"type":"number"},"messenger_timeout_hours":{"type":"number"},"review_window_closing_days":{"type":"number"},"arb_window_closing_days":{"type":"number"}},"additionalProperties":false},"escalation":{"type":"object","properties":{"default_expected_progress_hours":{"type":"number"},"stall_expected_multiplier":{"type":"number"},"stall_escalation_multiplier":{"type":"number"},"messenger_escalation_multiplier":{"type":"number"},"ratio_critical_threshold":{"type":"number"}},"additionalProperties":false}},"additionalProperties":false},"mode":{"type":"object","properties":{"comment":{"type":"string"},"appetite_thresholds":{"type":"object","properties":{"conservative":{"type":"object","properties":{"max_risk":{"type":"number"},"min_benefit":{"type":"number"}},"required":["max_risk","min_benefit"],"additionalProperties":false},"balanced":{"type":"object","properties":{"max_risk":{"type":"number"},"min_benefit":{"type":"number"}},"required":["max_risk","min_benefit"],"additionalProperties":false},"aggressive":{"type":"object","properties":{"max_risk":{"type":"number"},"min_benefit":{"type":"number"}},"required":["max_risk","min_benefit"],"additionalProperties":false}},"additionalProperties":false}},"additionalProperties":false},"scorecard":{"type":"object","properties":{"comment":{"type":"string"},"metrics":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"object","properties":{"weight":{"type":"object","properties":{"volume":{"type":"number"},"balanced":{"type":"number"},"margin":{"type":"number"}},"required":["volume","balanced","margin"],"additionalProperties":false},"good_threshold":{"type":"number"},"bad_threshold":{"type":"number"}},"additionalProperties":false}},"shop_evidence_metrics":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},"rules":{"type":"object","properties":{"comment":{"type":"string"},"domains":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"object","properties":{"comment":{"type":"string"},"facts":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}},"rules":{"type":"array","items":{"type":"object","properties":{"rule_id":{"type":"string"},"dimension":{"type":"string"},"trigger":{"type":"string"},"cases":{"type":"array","items":{"type":"object","properties":{"when":{"$ref":"#/definitions/__schema0"},"level":{"anyOf":[{"type":"string","enum":["critical","high","medium","low","info"]},{"type":"string","pattern":"^fact:([A-Za-z0-9_.-]+)$"},{}]},"title":{"type":"string"},"description":{"type":"string"},"scenario":{"type":"string"},"mitigation":{"type":"string"},"evidence":{"type":"string"},"stakeholders":{"type":"array","items":{"type":"string"}},"exposure":{"type":"object","properties":{"loss_parties":{"type":"array","items":{"type":"object","properties":{"role":{"type":"string","enum":["buyer","merchant","supplier","collaborator","arbitrator","system","neutral"]},"basis":{"type":"string"}},"required":["role","basis"],"additionalProperties":false}},"gain_paths":{"type":"array","items":{"type":"object","properties":{"role":{"type":"string","enum":["buyer","merchant","supplier","collaborator","arbitrator","system","neutral"]},"path":{"type":"string"},"viability":{"anyOf":[{"type":"string","enum":["viable","conditional","blocked","unverifiable"]},{"type":"string","pattern":"^fact:([A-Za-z0-9_.-]+)$"}]},"gate":{"type":"string"}},"required":["role","path","viability","gate"],"additionalProperties":false}},"downgrade_exempt":{"type":"boolean"}},"required":["loss_parties","gain_paths"],"additionalProperties":false}},"required":["when","level","title","description"],"additionalProperties":false}},"enabled":{"type":"boolean"}},"required":["rule_id"],"additionalProperties":false}},"severity_overrides":{}},"additionalProperties":false}}},"additionalProperties":false},"role_intent":{"type":"object","properties":{"comment":{"type":"string"},"roles":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"object","properties":{"comment":{"type":"string"},"intents":{"minItems":1,"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"weight":{"type":"number","minimum":0,"maximum":1}},"required":["id","weight"],"additionalProperties":false}},"horizon":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"risk_appetite":{"type":"string","enum":["conservative","balanced","aggressive"]},"red_lines":{"type":"array","items":{"type":"string"}},"strategy_leaning":{"type":"string","enum":["cooperative","opportunistic","confrontational"]}},"additionalProperties":false}}},"additionalProperties":false},"version":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"additionalProperties":false},"match":{"type":"object","properties":{"demand_to_supply":{"type":"object","properties":{"policy_id":{"type":"string","minLength":1},"version":{"type":"integer","minimum":0,"maximum":9007199254740991},"direction":{"description":"Default demand_to_supply. A demand_to_supply policy drives match_discover; a supply_to_demand policy drives demand_present / discover_demands (and is rejected by match_discover).","type":"string","enum":["demand_to_supply","supply_to_demand"]},"unknown_policy":{"description":"What a gate with missing input does (K5-05 axiom 3). Default neutral_score (= pass, reported).","type":"string","enum":["pass","drop","neutral_score"]},"gates":{"type":"array","items":{"type":"object","properties":{"dim":{"type":"string","description":"Gate dimension. Enforced client-side: live, price, arb, compensation, machine, messenger, buy_guard, wip_verify, text, owner. Others are reported as ignored (not enforceable on-device yet)."},"op":{"description":"Comparison operator (eq/lte/gte/in/not_in/must_contain/must_not_contain) — validated per dim at apply time.","type":"string"},"value":{"anyOf":[{"type":"boolean"},{"type":"number"},{"type":"string"},{"type":"array","items":{"type":"string"}}]},"params":{"description":"Extra params; `from_budget: true` on a price gate uses the request budget as the threshold.","type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"required":["dim"],"additionalProperties":false}},"excludes":{"type":"array","items":{"type":"object","properties":{"dim":{"type":"string","description":"Exclude dimension. Enforced client-side: blacklist (objects/owners lists). anti_cheat/structure dims are reported as ignored (no client-side facet)."},"objects":{"type":"array","items":{"type":"string"}},"owners":{"type":"array","items":{"type":"string"}},"flags":{"type":"array","items":{"type":"string"}},"source":{"type":"array","items":{"type":"string"}},"rule":{"type":"string"}},"required":["dim"],"additionalProperties":false}},"weights":{"description":"demand_match rule id → weight (region/industry/price/trust/capabilities/tags/acceptance). Unregistered ids are reported as ignored.","type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"number","minimum":0}},"rerank":{"type":"object","properties":{"diversity":{"description":"Greedy per-group cap over the score-ordered list. `permission` is not enforceable client-side yet (reported ignored); use `owner`.","type":"object","properties":{"by":{"type":"string","enum":["owner","permission"]},"max_per_group":{"type":"integer","minimum":1,"maximum":9007199254740991}},"required":["by","max_per_group"],"additionalProperties":false},"explore":{},"llm":{},"fairness":{}},"additionalProperties":false},"recall":{"description":"Server/recall directives — accepted for portability, not enforceable from the client (reported ignored)."},"verify":{"description":"Facet verification directives — accepted for portability, not enforceable client-side (reported ignored)."},"output":{"type":"object","properties":{"top_n":{"type":"integer","minimum":1,"maximum":500},"explain":{"type":"boolean"},"evidence_chain":{},"coverage_report":{}},"additionalProperties":false}},"required":["policy_id"],"additionalProperties":false},"supply_to_demand":{"type":"object","properties":{"policy_id":{"type":"string","minLength":1},"version":{"type":"integer","minimum":0,"maximum":9007199254740991},"direction":{"description":"Default demand_to_supply. A demand_to_supply policy drives match_discover; a supply_to_demand policy drives demand_present / discover_demands (and is rejected by match_discover).","type":"string","enum":["demand_to_supply","supply_to_demand"]},"unknown_policy":{"description":"What a gate with missing input does (K5-05 axiom 3). Default neutral_score (= pass, reported).","type":"string","enum":["pass","drop","neutral_score"]},"gates":{"type":"array","items":{"type":"object","properties":{"dim":{"type":"string","description":"Gate dimension. Enforced client-side: live, price, arb, compensation, machine, messenger, buy_guard, wip_verify, text, owner. Others are reported as ignored (not enforceable on-device yet)."},"op":{"description":"Comparison operator (eq/lte/gte/in/not_in/must_contain/must_not_contain) — validated per dim at apply time.","type":"string"},"value":{"anyOf":[{"type":"boolean"},{"type":"number"},{"type":"string"},{"type":"array","items":{"type":"string"}}]},"params":{"description":"Extra params; `from_budget: true` on a price gate uses the request budget as the threshold.","type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"required":["dim"],"additionalProperties":false}},"excludes":{"type":"array","items":{"type":"object","properties":{"dim":{"type":"string","description":"Exclude dimension. Enforced client-side: blacklist (objects/owners lists). anti_cheat/structure dims are reported as ignored (no client-side facet)."},"objects":{"type":"array","items":{"type":"string"}},"owners":{"type":"array","items":{"type":"string"}},"flags":{"type":"array","items":{"type":"string"}},"source":{"type":"array","items":{"type":"string"}},"rule":{"type":"string"}},"required":["dim"],"additionalProperties":false}},"weights":{"description":"demand_match rule id → weight (region/industry/price/trust/capabilities/tags/acceptance). Unregistered ids are reported as ignored.","type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"number","minimum":0}},"rerank":{"type":"object","properties":{"diversity":{"description":"Greedy per-group cap over the score-ordered list. `permission` is not enforceable client-side yet (reported ignored); use `owner`.","type":"object","properties":{"by":{"type":"string","enum":["owner","permission"]},"max_per_group":{"type":"integer","minimum":1,"maximum":9007199254740991}},"required":["by","max_per_group"],"additionalProperties":false},"explore":{},"llm":{},"fairness":{}},"additionalProperties":false},"recall":{"description":"Server/recall directives — accepted for portability, not enforceable from the client (reported ignored)."},"verify":{"description":"Facet verification directives — accepted for portability, not enforceable client-side (reported ignored)."},"output":{"type":"object","properties":{"top_n":{"type":"integer","minimum":1,"maximum":500},"explain":{"type":"boolean"},"evidence_chain":{},"coverage_report":{}},"additionalProperties":false}},"required":["policy_id"],"additionalProperties":false}},"additionalProperties":false}},"additionalProperties":false,"description":"Structured CURRENT-layer delta to merge (e.g. a confirmed strategy-review proposal). Server-guarded: policy/overrides are rejected; long_term is never written; arrays union with existing current values."}},"required":["action","scope","delta"],"additionalProperties":false},{"type":"object","properties":{"action":{"type":"string","const":"remove"},"scope":{"type":"string","enum":["system","account"]},"account":{"type":"string"}},"required":["action","scope"],"additionalProperties":false},{"type":"object","properties":{"action":{"type":"string","const":"strategy"},"account":{"description":"Chain account address; omitted = the on-chain DEFAULT account (name=''), falling back to the system persona when no default account exists.","type":"string"},"role":{"description":"Role override; defaults to the effective persona's role.","type":"string","enum":["merchant","customer","demander","prospect","supplier","collaborator","arbitrator"]},"strategy":{"description":"Explicit strategy statements; defaults to the effective persona's strategy[].","type":"array","items":{"type":"string"}}},"required":["action"],"additionalProperties":false},{"type":"object","properties":{"action":{"type":"string","const":"region_hint"},"propose":{"description":"An address string to PROPOSE storing as the local delivery address. Returns a consent-gated save proposal — NEVER auto-writes; the user must confirm via local_info_operation.","type":"string"}},"required":["action"],"additionalProperties":false},{"type":"object","properties":{"action":{"type":"string","const":"distill"},"goal_id":{"type":"string","description":"Goal id (goal_…) whose memory (outcome, problems, feedback, objects) is distilled into a CURRENT-layer proposal."},"network":{"description":"Network the goal was created under.","type":"string","enum":["mainnet","testnet"]}},"required":["action","goal_id"],"additionalProperties":false}],"definitions":{"__schema0":{"anyOf":[{"type":"object","properties":{"all":{"type":"array","items":{"$ref":"#/definitions/__schema0"}}},"required":["all"],"additionalProperties":false},{"type":"object","properties":{"any":{"type":"array","items":{"$ref":"#/definitions/__schema0"}}},"required":["any"],"additionalProperties":false},{"type":"object","properties":{"not":{"$ref":"#/definitions/__schema0"}},"required":["not"],"additionalProperties":false},{"type":"object","properties":{"field":{"type":"string"},"op":{"type":"string","enum":["present","missing","truthy","falsy","eq","neq","gt","gte","lt","lte","in","nin","contains","matches","size"]},"value":{},"flags":{"type":"string"}},"required":["field","op"],"additionalProperties":false}]}}}
|