@wowok/agent-mcp 3.4.0 → 3.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +8 -0
- package/dist/chain-semantics/composition-truth.d.ts +102 -0
- package/dist/chain-semantics/composition-truth.js +1 -0
- package/dist/chain-semantics/eval-order.js +1 -1
- package/dist/chain-semantics/fund-flow.js +1 -1
- package/dist/chain-semantics/index.d.ts +1 -0
- package/dist/chain-semantics/index.js +1 -1
- package/dist/composition/audit.js +1 -1
- package/dist/composition/blueprint-view.d.ts +3 -3
- package/dist/composition/blueprint-view.js +1 -1
- package/dist/composition/compile.d.ts +24 -3
- package/dist/composition/compile.js +1 -1
- package/dist/composition/emit-phases.d.ts +206 -0
- package/dist/composition/emit-phases.js +1 -0
- package/dist/composition/generate.d.ts +40 -0
- package/dist/composition/generate.js +1 -0
- package/dist/composition/guard-fill.d.ts +44 -0
- package/dist/composition/guard-fill.js +1 -0
- package/dist/composition/inflight.d.ts +20 -2
- package/dist/composition/inflight.js +1 -1
- package/dist/composition/input-normalize.d.ts +15 -0
- package/dist/composition/input-normalize.js +1 -0
- package/dist/composition/materialize.d.ts +18 -13
- package/dist/composition/materialize.js +1 -1
- package/dist/composition/mode-gates.d.ts +35 -0
- package/dist/composition/mode-gates.js +1 -0
- package/dist/composition/param-disclosure.js +1 -1
- package/dist/composition/plan-retry-ledger.d.ts +21 -0
- package/dist/composition/plan-retry-ledger.js +1 -0
- package/dist/composition/plan.d.ts +7 -2
- package/dist/composition/plan.js +1 -1
- package/dist/composition/product-card.d.ts +94 -0
- package/dist/composition/product-card.js +1 -0
- package/dist/composition/supply-chain-emit.d.ts +46 -0
- package/dist/composition/supply-chain-emit.js +1 -0
- package/dist/config/config-audit.spec.js +1 -1
- package/dist/config/config-warnings.d.ts +2 -0
- package/dist/config/config-warnings.js +1 -0
- package/dist/config/exposure.d.ts +2 -2
- package/dist/config/judgment.d.ts +31 -5
- package/dist/config/judgment.js +1 -1
- package/dist/config/judgment.spec.js +1 -1
- package/dist/config/match-policy-file.d.ts +34 -0
- package/dist/config/match-policy-file.js +1 -0
- package/dist/config/match-policy-file.spec.d.ts +1 -0
- package/dist/config/match-policy-file.spec.js +1 -0
- package/dist/config/rule-engine.d.ts +5 -5
- package/dist/config/rule-engine.js +1 -1
- package/dist/config/runtime.d.ts +0 -1
- package/dist/config/runtime.js +1 -1
- package/dist/config/severity.d.ts +0 -2
- package/dist/config/severity.js +1 -1
- package/dist/config/store-policy.spec.js +1 -1
- package/dist/config/template-params.d.ts +42 -0
- package/dist/config/template-params.js +1 -0
- package/dist/config/template-params.spec.d.ts +1 -0
- package/dist/config/template-params.spec.js +1 -0
- package/dist/data/api/api.spec.js +1 -1
- package/dist/data/api/server.js +1 -1
- package/dist/data/projection/store.d.ts +2 -1
- package/dist/data/projection/store.js +1 -1
- package/dist/data/projection/types.d.ts +22 -0
- package/dist/data/sync/cdc.d.ts +1 -2
- package/dist/data/sync/cdc.js +1 -1
- package/dist/evaluation/acceptance.d.ts +8 -0
- package/dist/evaluation/acceptance.js +1 -1
- package/dist/evaluation/builtins/demand-match.js +1 -1
- package/dist/evaluation/builtins/graph-service.spec.js +1 -1
- package/dist/evaluation/capability.d.ts +2 -0
- package/dist/evaluation/category-match-rules.d.ts +0 -1
- package/dist/evaluation/category-match-rules.js +1 -1
- package/dist/evaluation/composer.d.ts +25 -0
- package/dist/evaluation/composer.js +1 -1
- package/dist/evaluation/engine.js +1 -1
- package/dist/evaluation/extract.d.ts +7 -0
- package/dist/evaluation/extract.js +1 -1
- package/dist/evaluation/game-strategy.d.ts +0 -3
- package/dist/evaluation/game-strategy.js +1 -1
- package/dist/evaluation/match-operation.d.ts +9 -0
- package/dist/evaluation/match-operation.js +1 -1
- package/dist/evaluation/match-policy-resolver.d.ts +9 -0
- package/dist/evaluation/match-policy-resolver.js +1 -0
- package/dist/evaluation/match-policy.d.ts +3 -1
- package/dist/evaluation/match-policy.js +1 -1
- package/dist/evaluation/region.d.ts +0 -6
- package/dist/evaluation/region.js +1 -1
- package/dist/evaluation/standards.d.ts +2 -1
- package/dist/evaluation/standards.js +1 -1
- package/dist/evaluation/structured-lines.d.ts +8 -0
- package/dist/evaluation/structured-lines.js +1 -0
- package/dist/evaluation/types.d.ts +6 -0
- package/dist/experience/realtime-feedback.js +1 -1
- package/dist/extensions/capability-manifest.d.ts +1 -0
- package/dist/extensions/capability-manifest.js +1 -1
- package/dist/extensions/capability.d.ts +91 -0
- package/dist/extensions/capability.js +1 -0
- package/dist/extensions/industry-audit.spec.js +1 -1
- package/dist/extensions/industry-pack.d.ts +13 -0
- package/dist/extensions/industry-pack.js +1 -1
- package/dist/extensions/modes.js +1 -1
- package/dist/extensions/registry.d.ts +0 -2
- package/dist/extensions/registry.js +1 -1
- package/dist/goal/GoalEngine.js +1 -1
- package/dist/graph/onchain/analyze.js +1 -1
- package/dist/graph/onchain/expand.js +1 -1
- package/dist/graph/onchain/exposure.js +1 -1
- package/dist/graph/onchain/facts.js +1 -1
- package/dist/graph/onchain/order-status.d.ts +0 -1
- package/dist/graph/onchain/order-status.js +1 -1
- package/dist/harness/recover.js +1 -1
- package/dist/harness/verify.d.ts +0 -3
- package/dist/harness/verify.js +1 -1
- package/dist/intent/types.d.ts +0 -1
- package/dist/intent/types.js +1 -1
- package/dist/keeper/detectors.js +1 -1
- package/dist/keeper/types.d.ts +0 -1
- package/dist/keeper/types.js +1 -1
- package/dist/knowledge/allocation-risk.d.ts +1 -0
- package/dist/knowledge/allocation-risk.js +1 -1
- package/dist/knowledge/allocator-rail-verifier.d.ts +6 -1
- package/dist/knowledge/allocator-rail-verifier.js +1 -1
- package/dist/knowledge/arbitration-ledger.js +1 -1
- package/dist/knowledge/arbitration-puzzle.js +1 -1
- package/dist/knowledge/audit-rules.d.ts +2 -2
- package/dist/knowledge/audit-rules.js +1 -1
- package/dist/knowledge/baselines/judgment-baselines.json +21 -2
- package/dist/knowledge/baselines/rules/oracle.json +120 -0
- package/dist/knowledge/baselines/rules/plan.json +384 -17
- package/dist/knowledge/baselines/rules/progress.json +20 -2
- package/dist/knowledge/builtin-templates.d.ts +12 -1
- package/dist/knowledge/builtin-templates.js +1 -1
- package/dist/knowledge/component-schema.js +1 -1
- package/dist/knowledge/contact-templates.d.ts +0 -1
- package/dist/knowledge/contact-templates.js +1 -1
- package/dist/knowledge/dynamic-pricing.js +1 -1
- package/dist/knowledge/fee-param-bindings.js +1 -1
- package/dist/knowledge/fund-layer.d.ts +1 -0
- package/dist/knowledge/fund-layer.js +1 -1
- package/dist/knowledge/game-scenarios.js +1 -1
- package/dist/knowledge/getting-started.js +1 -1
- package/dist/knowledge/guard-binding-table.d.ts +52 -0
- package/dist/knowledge/guard-binding-table.js +1 -0
- package/dist/knowledge/guard-binding-verifier.d.ts +30 -0
- package/dist/knowledge/guard-binding-verifier.js +1 -0
- package/dist/knowledge/guard-bindings.js +1 -1
- package/dist/knowledge/guard-blueprint.d.ts +68 -0
- package/dist/knowledge/guard-blueprint.js +1 -0
- package/dist/knowledge/guard-design-patterns.d.ts +1 -1
- package/dist/knowledge/guard-design-patterns.js +1 -1
- package/dist/knowledge/guard-field-cognition.js +1 -1
- package/dist/knowledge/guard-host-context.d.ts +24 -0
- package/dist/knowledge/guard-host-context.js +1 -0
- package/dist/knowledge/guard-lint.js +1 -1
- package/dist/knowledge/guard-node-gates.d.ts +3 -0
- package/dist/knowledge/guard-node-gates.js +1 -1
- package/dist/knowledge/guard-puzzle.js +1 -1
- package/dist/knowledge/guard-render.js +1 -1
- package/dist/knowledge/guard-risk.js +1 -1
- package/dist/knowledge/guard-submission-prompt.d.ts +11 -0
- package/dist/knowledge/guard-submission-prompt.js +1 -1
- package/dist/knowledge/guard-templates.d.ts +1 -1
- package/dist/knowledge/guard-templates.js +1 -1
- package/dist/knowledge/guard-translation.js +1 -1
- package/dist/knowledge/index.d.ts +1 -1
- package/dist/knowledge/index.js +1 -1
- package/dist/knowledge/industry-generalizer.d.ts +6 -1
- package/dist/knowledge/industry-generalizer.js +1 -1
- package/dist/knowledge/industry-registry.js +1 -1
- package/dist/knowledge/jsonrpc-enum.d.ts +38 -0
- package/dist/knowledge/jsonrpc-enum.js +1 -1
- package/dist/knowledge/machine-topology.js +1 -1
- package/dist/knowledge/machine-translation.js +1 -1
- package/dist/knowledge/object-dependency.d.ts +31 -0
- package/dist/knowledge/object-dependency.js +1 -0
- package/dist/knowledge/onchain-constants.d.ts +2 -0
- package/dist/knowledge/onchain-constants.js +1 -1
- package/dist/knowledge/param-schema.d.ts +23 -0
- package/dist/knowledge/param-schema.js +1 -1
- package/dist/knowledge/param-tiers.js +1 -1
- package/dist/knowledge/passport-ledger.js +1 -1
- package/dist/knowledge/path-oracle/coverage.d.ts +16 -0
- package/dist/knowledge/path-oracle/coverage.js +1 -0
- package/dist/knowledge/path-oracle/index.d.ts +5 -0
- package/dist/knowledge/path-oracle/index.js +1 -0
- package/dist/knowledge/path-oracle/products/food-delivery.d.ts +2 -0
- package/dist/knowledge/path-oracle/products/food-delivery.js +1 -0
- package/dist/knowledge/path-oracle/schema.d.ts +188 -0
- package/dist/knowledge/path-oracle/schema.js +1 -0
- package/dist/knowledge/pattern-resolutions.d.ts +2 -0
- package/dist/knowledge/pattern-resolutions.js +1 -1
- package/dist/knowledge/progress-ledger.js +1 -1
- package/dist/knowledge/progress-risk.js +1 -1
- package/dist/knowledge/projection.spec.js +1 -1
- package/dist/knowledge/protocol-facts.js +1 -1
- package/dist/knowledge/requirement-families.d.ts +13 -0
- package/dist/knowledge/requirement-families.js +1 -0
- package/dist/knowledge/reward-ledger.js +1 -1
- package/dist/knowledge/scenario-modes.d.ts +1 -0
- package/dist/knowledge/scenario-modes.js +1 -1
- package/dist/knowledge/semantic-ir.d.ts +4 -0
- package/dist/knowledge/semantic-ir.js +1 -1
- package/dist/knowledge/service-ledger.d.ts +1 -1
- package/dist/knowledge/service-ledger.js +1 -1
- package/dist/knowledge/sku-name-gate.d.ts +17 -0
- package/dist/knowledge/sku-name-gate.js +1 -0
- package/dist/knowledge/supply-chain.d.ts +9 -0
- package/dist/knowledge/supply-chain.js +1 -1
- package/dist/knowledge/template-loader.d.ts +14 -6
- package/dist/knowledge/template-loader.js +1 -1
- package/dist/knowledge/template-nav.d.ts +3 -1
- package/dist/knowledge/template-nav.js +1 -1
- package/dist/knowledge/template-prose.d.ts +1 -1
- package/dist/knowledge/template-registry.js +1 -1
- package/dist/knowledge/template-scanner.d.ts +62 -0
- package/dist/knowledge/template-scanner.js +1 -1
- package/dist/knowledge/template-test-profiles.js +1 -1
- package/dist/knowledge/tools-reference.js +1 -1
- package/dist/knowledge/workflow-guidance.d.ts +5 -0
- package/dist/knowledge/workflow-guidance.js +1 -1
- package/dist/monitor/MonitorLoop.js +1 -1
- package/dist/participation/radar-core.js +1 -1
- package/dist/participation/time-window.js +1 -1
- package/dist/persona/address-format.d.ts +0 -1
- package/dist/persona/address-format.js +1 -1
- package/dist/persona/bridge.js +1 -1
- package/dist/persona/index.d.ts +0 -2
- package/dist/persona/index.js +1 -1
- package/dist/persona/model.js +1 -1
- package/dist/persona/persona-audit.spec.js +1 -1
- package/dist/persona/types.d.ts +6 -0
- package/dist/playbooks/service-build/business-puzzle.js +1 -1
- package/dist/playbooks/service-build/game-theory.d.ts +2 -2
- package/dist/playbooks/service-build/intent-analyzer.js +1 -1
- package/dist/playbooks/service-build/machine-panorama.js +1 -1
- package/dist/playbooks/service-build/merchant-guide.d.ts +50 -23
- package/dist/playbooks/service-build/merchant-guide.js +1 -1
- package/dist/playbooks/service-build/migration-planner.d.ts +2 -0
- package/dist/playbooks/service-build/migration-planner.js +1 -1
- package/dist/playbooks/service-build/mode-actions.js +1 -1
- package/dist/playbooks/service-build/object-panorama.d.ts +8 -0
- package/dist/playbooks/service-build/object-panorama.js +1 -1
- package/dist/playbooks/service-build/participation-radar.js +1 -1
- package/dist/playbooks/service-build/relationship-profile.js +1 -1
- package/dist/playbooks/service-build/reverse-mapping.d.ts +6 -0
- package/dist/playbooks/service-build/reverse-mapping.js +1 -1
- package/dist/playbooks/service-build/service-panorama.d.ts +1 -0
- package/dist/playbooks/service-build/service-panorama.js +1 -1
- package/dist/playbooks/service-build/service-quote.js +1 -1
- package/dist/playbooks/service-build/service-quote.spec.js +1 -1
- package/dist/playbooks/service-build/workflow-design-assessment.d.ts +10 -1
- package/dist/playbooks/service-build/workflow-design-assessment.js +1 -1
- package/dist/review/index.js +1 -1
- package/dist/review/repository.js +1 -1
- package/dist/safety/confirm-gate.js +1 -1
- package/dist/schema/benchmark-migration/index.d.ts +104 -0
- package/dist/schema/benchmark-migration/index.js +1 -1
- package/dist/schema/call/allocation.d.ts +15 -6
- package/dist/schema/call/allocation.js +1 -1
- package/dist/schema/call/base.d.ts +256 -0
- package/dist/schema/call/base.js +1 -1
- package/dist/schema/call/bridge.d.ts +32 -6
- package/dist/schema/call/demand.d.ts +15 -6
- package/dist/schema/call/demand.js +1 -1
- package/dist/schema/call/guard.d.ts +8 -8
- package/dist/schema/call/guard.js +1 -1
- package/dist/schema/call/handler.d.ts +3 -0
- package/dist/schema/call/handler.js +1 -1
- package/dist/schema/call/machine.d.ts +32 -8
- package/dist/schema/call/machine.js +1 -1
- package/dist/schema/call/order.d.ts +26 -8
- package/dist/schema/call/order.js +1 -1
- package/dist/schema/call/payment.d.ts +20 -8
- package/dist/schema/call/payment.js +1 -1
- package/dist/schema/call/permission-handler.js +1 -1
- package/dist/schema/call/permission.d.ts +330 -114
- package/dist/schema/call/permission.js +1 -1
- package/dist/schema/call/personal.d.ts +10 -4
- package/dist/schema/call/personal.js +1 -1
- package/dist/schema/call/progress.d.ts +16 -4
- package/dist/schema/call/reward.d.ts +10 -4
- package/dist/schema/call/reward.js +1 -1
- package/dist/schema/call/semantic.d.ts +1 -0
- package/dist/schema/call/semantic.js +1 -1
- package/dist/schema/call/service.d.ts +128 -40
- package/dist/schema/call/service.js +1 -1
- package/dist/schema/call/treasury.d.ts +15 -6
- package/dist/schema/call/treasury.js +1 -1
- package/dist/schema/common/index.js +1 -1
- package/dist/schema/config/index.d.ts +61 -0
- package/dist/schema/config/index.js +1 -1
- package/dist/schema/envelope-unify.d.ts +4 -0
- package/dist/schema/envelope-unify.js +1 -0
- package/dist/schema/evaluation/index.d.ts +216 -19
- package/dist/schema/evaluation/index.js +1 -1
- package/dist/schema/goal/index.d.ts +47 -0
- package/dist/schema/goal/planning.d.ts +115 -1
- package/dist/schema/goal/planning.js +1 -1
- package/dist/schema/industry-pack/index.d.ts +137 -6
- package/dist/schema/industry-pack/index.js +1 -1
- package/dist/schema/industry-pack/modes.d.ts +6 -6
- package/dist/schema/keeper/index.d.ts +26 -0
- package/dist/schema/local/index.d.ts +137 -0
- package/dist/schema/local/index.js +1 -1
- package/dist/schema/local/wip.d.ts +6 -0
- package/dist/schema/local/wip.js +1 -1
- package/dist/schema/messenger/index.d.ts +26 -0
- package/dist/schema/operations.d.ts +342 -83
- package/dist/schema/operations.js +1 -1
- package/dist/schema/persona/index.d.ts +2907 -640
- package/dist/schema/persona/index.js +1 -1
- package/dist/schema/query/bi.d.ts +145 -4
- package/dist/schema/query/bi.js +1 -1
- package/dist/schema/query/index.d.ts +266 -73
- package/dist/schema/query/index.js +1 -1
- package/dist/schema/schema-query/index.d.ts +1 -1
- package/dist/schema/schema-query/index.js +1 -1
- package/dist/schema/schema-version.js +1 -1
- package/dist/schema/utils/permission-machine-check.d.ts +2 -0
- package/dist/schema/utils/permission-machine-check.js +1 -1
- package/dist/schema/watch/index.d.ts +16 -0
- package/dist/schema/watch/index.js +1 -1
- package/dist/schema/workflow/index.d.ts +2 -2
- package/dist/schema/workflow/index.js +1 -1
- package/dist/schema-query-impl/index.d.ts +1 -1
- package/dist/schema-query-impl/index.js +1 -1
- package/dist/schemas/account_operation.output.json +94 -0
- package/dist/schemas/benchmark_migration_operation.output.json +338 -9
- package/dist/schemas/benchmark_migration_operation.schema.json +26 -1
- package/dist/schemas/bridge_operation.output.json +94 -0
- package/dist/schemas/config_operation.output.json +352 -0
- package/dist/schemas/config_operation.schema.json +20 -2
- package/dist/schemas/evaluation_operation.output.json +570 -4
- package/dist/schemas/evaluation_operation.schema.json +194 -3
- package/dist/schemas/goal_operation.schema.json +183 -0
- package/dist/schemas/index.json +1 -1
- package/dist/schemas/industry_pack_operation.output.json +621 -0
- package/dist/schemas/industry_pack_operation.schema.json +20 -2
- package/dist/schemas/keeper_operation.output.json +94 -0
- package/dist/schemas/local_cache_operation.output.json +94 -0
- package/dist/schemas/local_history_operation.output.json +94 -0
- package/dist/schemas/local_info_operation.output.json +94 -0
- package/dist/schemas/local_mark_operation.output.json +94 -0
- package/dist/schemas/messenger_operation.output.json +94 -0
- package/dist/schemas/monitor_events.output.json +94 -0
- package/dist/schemas/monitor_subscription.output.json +94 -0
- package/dist/schemas/onchain_events.output.json +94 -0
- package/dist/schemas/onchain_operations.output.json +313 -1
- package/dist/schemas/onchain_operations.schema.json +1248 -664
- package/dist/schemas/onchain_operations_allocation.schema.json +30 -15
- package/dist/schemas/onchain_operations_arbitration.schema.json +9 -2
- package/dist/schemas/onchain_operations_contact.schema.json +8 -1
- package/dist/schemas/onchain_operations_demand.schema.json +29 -14
- package/dist/schemas/onchain_operations_gen_passport.schema.json +8 -1
- package/dist/schemas/onchain_operations_guard.schema.json +290 -105
- package/dist/schemas/onchain_operations_machine.schema.json +49 -34
- package/dist/schemas/onchain_operations_order.schema.json +63 -40
- package/dist/schemas/onchain_operations_payment.schema.json +26 -11
- package/dist/schemas/onchain_operations_permission.schema.json +362 -235
- package/dist/schemas/onchain_operations_personal.schema.json +27 -15
- package/dist/schemas/onchain_operations_progress.schema.json +45 -30
- package/dist/schemas/onchain_operations_proof.schema.json +8 -1
- package/dist/schemas/onchain_operations_repository.schema.json +8 -1
- package/dist/schemas/onchain_operations_reward.schema.json +32 -17
- package/dist/schemas/onchain_operations_service.schema.json +221 -124
- package/dist/schemas/onchain_operations_treasury.schema.json +32 -17
- package/dist/schemas/onchain_table_data.output.json +258 -6
- package/dist/schemas/onchain_table_data.schema.json +92 -52
- package/dist/schemas/persona_operation.output.json +7752 -0
- package/dist/schemas/persona_operation.schema.json +1232 -4
- package/dist/schemas/query_toolkit.output.json +756 -116
- package/dist/schemas/query_toolkit.schema.json +138 -7
- package/dist/schemas/schema_query.schema.json +1 -1
- package/dist/schemas/watch_operation.output.json +83 -0
- package/dist/schemas/wip_file.output.json +8 -0
- package/dist/schemas/workflow_operation.schema.json +2 -2
- package/dist/tools/handlers/benchmark-migration.d.ts +11 -3
- package/dist/tools/handlers/benchmark-migration.js +1 -1
- package/dist/tools/handlers/config.js +1 -1
- package/dist/tools/handlers/evaluation.js +1 -1
- package/dist/tools/handlers/evaluation.spec.js +1 -1
- package/dist/tools/handlers/industry-pack.js +1 -1
- package/dist/tools/handlers/onchain.d.ts +20 -0
- package/dist/tools/handlers/onchain.js +1 -1
- package/dist/tools/handlers/persona.js +1 -1
- package/dist/tools/handlers/query.d.ts +8 -0
- package/dist/tools/handlers/query.js +1 -1
- package/dist/tools/handlers/winner-derivation.d.ts +20 -0
- package/dist/tools/handlers/winner-derivation.js +1 -0
- package/dist/tools/handlers/wip-upload.js +1 -1
- package/dist/tools/index.d.ts +1 -0
- package/dist/tools/index.js +1 -1
- package/dist/tools/registry/business.js +1 -1
- package/dist/tools/registry/config.js +1 -1
- package/dist/tools/registry/evaluation.js +1 -1
- package/dist/tools/registry/identity.js +1 -1
- package/dist/tools/registry/query.js +1 -1
- package/dist/tools/transport-integrity.d.ts +7 -0
- package/dist/tools/transport-integrity.js +1 -0
- package/dist/tools/upgrade-check.js +1 -1
- package/dist/tools/wrap.d.ts +5 -0
- package/dist/tools/wrap.js +1 -1
- package/package.json +2 -2
- package/dist/extensions/business-modules.d.ts +0 -54
- package/dist/extensions/business-modules.js +0 -1
- package/dist/schemas/guard-templates.json +0 -379
|
@@ -353,18 +353,26 @@
|
|
|
353
353
|
"description": "Withdrawal amount"
|
|
354
354
|
},
|
|
355
355
|
"recipient": {
|
|
356
|
-
"
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
"type": "string",
|
|
360
|
-
"description": "Account/Object name or ID. If specifying an account, use empty string '' for the default account. If it starts with '0x', it will be treated as an ID. Otherwise, it will be treated as a name (max 64 bcs characters)."
|
|
356
|
+
"anyOf": [
|
|
357
|
+
{
|
|
358
|
+
"description": "Account name, address (0x...), or mark name. When using string format, local marks are searched first. EXAMPLE: 'alice' - searches local marks first, then global; EXAMPLE: '0x2...' (64 hex chars) - uses address directly; EXAMPLE: '' - uses the default local account"
|
|
361
359
|
},
|
|
362
|
-
|
|
363
|
-
"
|
|
364
|
-
"
|
|
360
|
+
{
|
|
361
|
+
"type": "object",
|
|
362
|
+
"properties": {
|
|
363
|
+
"name_or_address": {
|
|
364
|
+
"type": "string",
|
|
365
|
+
"description": "Account/Object name or ID. If specifying an account, use empty string '' for the default account. If it starts with '0x', it will be treated as an ID. Otherwise, it will be treated as a name (max 64 bcs characters)."
|
|
366
|
+
},
|
|
367
|
+
"local_mark_first": {
|
|
368
|
+
"description": "Whether to prioritize local marks, if true, prioritize local marks, otherwise prioritize global marks",
|
|
369
|
+
"type": "boolean"
|
|
370
|
+
}
|
|
371
|
+
},
|
|
372
|
+
"additionalProperties": false,
|
|
373
|
+
"description": "Account or address lookup object. Use this to specify which account to use for an operation. EXAMPLE: { name_or_address: 'testor2' } - looks up account by name; EXAMPLE: { name_or_address: '0x1234...' } - uses address directly; If name_or_address is empty string '', uses the default local account. name_or_address is REQUIRED — {} resolves to nothing useful and is rejected."
|
|
365
374
|
}
|
|
366
|
-
|
|
367
|
-
"additionalProperties": false,
|
|
375
|
+
],
|
|
368
376
|
"description": "ID or account to receive assets. On the by_external_withdraw_guard path this MUST equal the transaction sender — external_withdraw pays only the sender (treasury code 10) because the guard authorizes release but cannot constrain the destination; use amount.fixed (permissioned withdraw) to pay another address"
|
|
369
377
|
},
|
|
370
378
|
"payment_info": {
|
|
@@ -475,7 +483,7 @@
|
|
|
475
483
|
"type": "integer",
|
|
476
484
|
"minimum": 0,
|
|
477
485
|
"maximum": 255,
|
|
478
|
-
"description": "Identifier (0-255) for data lookup in Guard table. Slot consensus (enforced on-chain at guard table construction): 0-220 = user slots (free for business guards); 221-253 = PROTOCOL-RESERVED (rejected on-chain — reserved so future protocol features get fixed slots without colliding with published guards); 255 = ONCE replay-protection slot on Allocation (byte-keyed, the submitted bytes are the once-key — use for per-period keys like period-<N>); 254 = ONCE-FOR-OBJECT slot on Allocation (chain-derived key = bcs(the Allocation's payment_info.for_object); the submitted bytes are ignored and the submission only arms the slot — use for one-shot per-order rails such as
|
|
486
|
+
"description": "Identifier (0-255) for data lookup in Guard table. Slot consensus (enforced on-chain at guard table construction): 0-220 = user slots (free for business guards); 221-253 = PROTOCOL-RESERVED (rejected on-chain — reserved so future protocol features get fixed slots without colliding with published guards); 255 = ONCE replay-protection slot on Allocation (byte-keyed, the submitted bytes are the once-key — use for per-period keys like period-<N>); 254 = ONCE-FOR-OBJECT slot on Allocation (chain-derived key = bcs(the Allocation's payment_info.for_object); the submitted bytes are ignored and the submission only arms the slot — use for one-shot per-order rails whose payee is NOT the order itself, such as settlement releases and incentive/bounty claims). NEVER arm 254 on a refund rail: a refund pays the submitted Order through user slot 0, and a refund leg re-entered in a later renewal period would abort E_ONCE_TRIGGERED (16) forever — refund once-ness comes from the terminal-node topology, never from a once slot. SLOT 0 SEMANTICS: slot 0 carries the transacted Order address by convention. As a submission slot it is legal on order/allocation/machine rails (the order exists when those verify), but FORBIDDEN on a Service buy_guard — the order does not exist when the buy-time passport is verified, so the mount is refused (service abort 43)."
|
|
479
487
|
},
|
|
480
488
|
{
|
|
481
489
|
"type": "null"
|
|
@@ -489,7 +497,7 @@
|
|
|
489
497
|
"type": "integer",
|
|
490
498
|
"minimum": 0,
|
|
491
499
|
"maximum": 255,
|
|
492
|
-
"description": "Identifier (0-255) for data lookup in Guard table. Slot consensus (enforced on-chain at guard table construction): 0-220 = user slots (free for business guards); 221-253 = PROTOCOL-RESERVED (rejected on-chain — reserved so future protocol features get fixed slots without colliding with published guards); 255 = ONCE replay-protection slot on Allocation (byte-keyed, the submitted bytes are the once-key — use for per-period keys like period-<N>); 254 = ONCE-FOR-OBJECT slot on Allocation (chain-derived key = bcs(the Allocation's payment_info.for_object); the submitted bytes are ignored and the submission only arms the slot — use for one-shot per-order rails such as
|
|
500
|
+
"description": "Identifier (0-255) for data lookup in Guard table. Slot consensus (enforced on-chain at guard table construction): 0-220 = user slots (free for business guards); 221-253 = PROTOCOL-RESERVED (rejected on-chain — reserved so future protocol features get fixed slots without colliding with published guards); 255 = ONCE replay-protection slot on Allocation (byte-keyed, the submitted bytes are the once-key — use for per-period keys like period-<N>); 254 = ONCE-FOR-OBJECT slot on Allocation (chain-derived key = bcs(the Allocation's payment_info.for_object); the submitted bytes are ignored and the submission only arms the slot — use for one-shot per-order rails whose payee is NOT the order itself, such as settlement releases and incentive/bounty claims). NEVER arm 254 on a refund rail: a refund pays the submitted Order through user slot 0, and a refund leg re-entered in a later renewal period would abort E_ONCE_TRIGGERED (16) forever — refund once-ness comes from the terminal-node topology, never from a once slot. SLOT 0 SEMANTICS: slot 0 carries the transacted Order address by convention. As a submission slot it is legal on order/allocation/machine rails (the order exists when those verify), but FORBIDDEN on a Service buy_guard — the order does not exist when the buy-time passport is verified, so the mount is refused (service abort 43)."
|
|
493
501
|
},
|
|
494
502
|
{
|
|
495
503
|
"type": "null"
|
|
@@ -534,7 +542,7 @@
|
|
|
534
542
|
"type": "integer",
|
|
535
543
|
"minimum": 0,
|
|
536
544
|
"maximum": 255,
|
|
537
|
-
"description": "Identifier (0-255) for data lookup in Guard table. Slot consensus (enforced on-chain at guard table construction): 0-220 = user slots (free for business guards); 221-253 = PROTOCOL-RESERVED (rejected on-chain — reserved so future protocol features get fixed slots without colliding with published guards); 255 = ONCE replay-protection slot on Allocation (byte-keyed, the submitted bytes are the once-key — use for per-period keys like period-<N>); 254 = ONCE-FOR-OBJECT slot on Allocation (chain-derived key = bcs(the Allocation's payment_info.for_object); the submitted bytes are ignored and the submission only arms the slot — use for one-shot per-order rails such as
|
|
545
|
+
"description": "Identifier (0-255) for data lookup in Guard table. Slot consensus (enforced on-chain at guard table construction): 0-220 = user slots (free for business guards); 221-253 = PROTOCOL-RESERVED (rejected on-chain — reserved so future protocol features get fixed slots without colliding with published guards); 255 = ONCE replay-protection slot on Allocation (byte-keyed, the submitted bytes are the once-key — use for per-period keys like period-<N>); 254 = ONCE-FOR-OBJECT slot on Allocation (chain-derived key = bcs(the Allocation's payment_info.for_object); the submitted bytes are ignored and the submission only arms the slot — use for one-shot per-order rails whose payee is NOT the order itself, such as settlement releases and incentive/bounty claims). NEVER arm 254 on a refund rail: a refund pays the submitted Order through user slot 0, and a refund leg re-entered in a later renewal period would abort E_ONCE_TRIGGERED (16) forever — refund once-ness comes from the terminal-node topology, never from a once slot. SLOT 0 SEMANTICS: slot 0 carries the transacted Order address by convention. As a submission slot it is legal on order/allocation/machine rails (the order exists when those verify), but FORBIDDEN on a Service buy_guard — the order does not exist when the buy-time passport is verified, so the mount is refused (service abort 43)."
|
|
538
546
|
},
|
|
539
547
|
{
|
|
540
548
|
"type": "null"
|
|
@@ -548,7 +556,7 @@
|
|
|
548
556
|
"type": "integer",
|
|
549
557
|
"minimum": 0,
|
|
550
558
|
"maximum": 255,
|
|
551
|
-
"description": "Identifier (0-255) for data lookup in Guard table. Slot consensus (enforced on-chain at guard table construction): 0-220 = user slots (free for business guards); 221-253 = PROTOCOL-RESERVED (rejected on-chain — reserved so future protocol features get fixed slots without colliding with published guards); 255 = ONCE replay-protection slot on Allocation (byte-keyed, the submitted bytes are the once-key — use for per-period keys like period-<N>); 254 = ONCE-FOR-OBJECT slot on Allocation (chain-derived key = bcs(the Allocation's payment_info.for_object); the submitted bytes are ignored and the submission only arms the slot — use for one-shot per-order rails such as
|
|
559
|
+
"description": "Identifier (0-255) for data lookup in Guard table. Slot consensus (enforced on-chain at guard table construction): 0-220 = user slots (free for business guards); 221-253 = PROTOCOL-RESERVED (rejected on-chain — reserved so future protocol features get fixed slots without colliding with published guards); 255 = ONCE replay-protection slot on Allocation (byte-keyed, the submitted bytes are the once-key — use for per-period keys like period-<N>); 254 = ONCE-FOR-OBJECT slot on Allocation (chain-derived key = bcs(the Allocation's payment_info.for_object); the submitted bytes are ignored and the submission only arms the slot — use for one-shot per-order rails whose payee is NOT the order itself, such as settlement releases and incentive/bounty claims). NEVER arm 254 on a refund rail: a refund pays the submitted Order through user slot 0, and a refund leg re-entered in a later renewal period would abort E_ONCE_TRIGGERED (16) forever — refund once-ness comes from the terminal-node topology, never from a once slot. SLOT 0 SEMANTICS: slot 0 carries the transacted Order address by convention. As a submission slot it is legal on order/allocation/machine rails (the order exists when those verify), but FORBIDDEN on a Service buy_guard — the order does not exist when the buy-time passport is verified, so the mount is refused (service abort 43)."
|
|
552
560
|
},
|
|
553
561
|
{
|
|
554
562
|
"type": "null"
|
|
@@ -637,7 +645,7 @@
|
|
|
637
645
|
"type": "integer",
|
|
638
646
|
"minimum": 0,
|
|
639
647
|
"maximum": 255,
|
|
640
|
-
"description": "Identifier (0-255) for data lookup in Guard table. Slot consensus (enforced on-chain at guard table construction): 0-220 = user slots (free for business guards); 221-253 = PROTOCOL-RESERVED (rejected on-chain — reserved so future protocol features get fixed slots without colliding with published guards); 255 = ONCE replay-protection slot on Allocation (byte-keyed, the submitted bytes are the once-key — use for per-period keys like period-<N>); 254 = ONCE-FOR-OBJECT slot on Allocation (chain-derived key = bcs(the Allocation's payment_info.for_object); the submitted bytes are ignored and the submission only arms the slot — use for one-shot per-order rails such as
|
|
648
|
+
"description": "Identifier (0-255) for data lookup in Guard table. Slot consensus (enforced on-chain at guard table construction): 0-220 = user slots (free for business guards); 221-253 = PROTOCOL-RESERVED (rejected on-chain — reserved so future protocol features get fixed slots without colliding with published guards); 255 = ONCE replay-protection slot on Allocation (byte-keyed, the submitted bytes are the once-key — use for per-period keys like period-<N>); 254 = ONCE-FOR-OBJECT slot on Allocation (chain-derived key = bcs(the Allocation's payment_info.for_object); the submitted bytes are ignored and the submission only arms the slot — use for one-shot per-order rails whose payee is NOT the order itself, such as settlement releases and incentive/bounty claims). NEVER arm 254 on a refund rail: a refund pays the submitted Order through user slot 0, and a refund leg re-entered in a later renewal period would abort E_ONCE_TRIGGERED (16) forever — refund once-ness comes from the terminal-node topology, never from a once slot. SLOT 0 SEMANTICS: slot 0 carries the transacted Order address by convention. As a submission slot it is legal on order/allocation/machine rails (the order exists when those verify), but FORBIDDEN on a Service buy_guard — the order does not exist when the buy-time passport is verified, so the mount is refused (service abort 43)."
|
|
641
649
|
},
|
|
642
650
|
{
|
|
643
651
|
"type": "null"
|
|
@@ -687,7 +695,7 @@
|
|
|
687
695
|
"type": "integer",
|
|
688
696
|
"minimum": 0,
|
|
689
697
|
"maximum": 255,
|
|
690
|
-
"description": "Identifier (0-255) for data lookup in Guard table. Slot consensus (enforced on-chain at guard table construction): 0-220 = user slots (free for business guards); 221-253 = PROTOCOL-RESERVED (rejected on-chain — reserved so future protocol features get fixed slots without colliding with published guards); 255 = ONCE replay-protection slot on Allocation (byte-keyed, the submitted bytes are the once-key — use for per-period keys like period-<N>); 254 = ONCE-FOR-OBJECT slot on Allocation (chain-derived key = bcs(the Allocation's payment_info.for_object); the submitted bytes are ignored and the submission only arms the slot — use for one-shot per-order rails such as
|
|
698
|
+
"description": "Identifier (0-255) for data lookup in Guard table. Slot consensus (enforced on-chain at guard table construction): 0-220 = user slots (free for business guards); 221-253 = PROTOCOL-RESERVED (rejected on-chain — reserved so future protocol features get fixed slots without colliding with published guards); 255 = ONCE replay-protection slot on Allocation (byte-keyed, the submitted bytes are the once-key — use for per-period keys like period-<N>); 254 = ONCE-FOR-OBJECT slot on Allocation (chain-derived key = bcs(the Allocation's payment_info.for_object); the submitted bytes are ignored and the submission only arms the slot — use for one-shot per-order rails whose payee is NOT the order itself, such as settlement releases and incentive/bounty claims). NEVER arm 254 on a refund rail: a refund pays the submitted Order through user slot 0, and a refund leg re-entered in a later renewal period would abort E_ONCE_TRIGGERED (16) forever — refund once-ness comes from the terminal-node topology, never from a once slot. SLOT 0 SEMANTICS: slot 0 carries the transacted Order address by convention. As a submission slot it is legal on order/allocation/machine rails (the order exists when those verify), but FORBIDDEN on a Service buy_guard — the order does not exist when the buy-time passport is verified, so the mount is refused (service abort 43)."
|
|
691
699
|
},
|
|
692
700
|
{
|
|
693
701
|
"type": "null"
|
|
@@ -889,6 +897,13 @@
|
|
|
889
897
|
"additionalProperties": false,
|
|
890
898
|
"description": "On-chain Treasury operations. USAGE: (1) CREATE NEW: Set 'object' field with OBJECT format {name, type_parameter, permission, ...} to create a Treasury. NOTE: 'name' goes INSIDE 'object', NOT at the data root level. 'permission' can be a new Permission object or reference an existing one - check 'object' field description for details. (2) OPERATE EXISTING: Set 'object' field with STRING format (object ID or name). The 'object' field is CRITICAL and REQUIRED in both cases. STRING for existing, OBJECT for new creation."
|
|
891
899
|
},
|
|
900
|
+
"idempotency_key": {
|
|
901
|
+
"type": "string",
|
|
902
|
+
"minLength": 8,
|
|
903
|
+
"maxLength": 128,
|
|
904
|
+
"pattern": "^[A-Za-z0-9._:-]+$",
|
|
905
|
+
"description": "F-RQ-13A (prescription ⑨): idempotency key for this business attempt. REPLAY GUARD: if a previous call with the SAME key is still open (dispatched but outcome unresolved, or already committed), this call is HELD — you get a structured state_conflict envelope with the prior attempt's verification data instead of a second on-chain submission (the ghost-order guard: two live mainnet orders, two escrows). Lifecycle: a deterministic failure (nothing submitted / provably reverted) clears the key — fix the cause and retry with the SAME key; an unknown-outcome failure (submission may have landed) keeps the key HELD — verify on-chain state first (result.submission_verification tells you where to look), and only retry with a NEW key once the outcome is resolved. Keep one key per business attempt (e.g. 'ord-20261030-042-buy'); do not reuse across attempts."
|
|
906
|
+
},
|
|
892
907
|
"env": {
|
|
893
908
|
"type": "object",
|
|
894
909
|
"properties": {
|
|
@@ -1027,7 +1042,7 @@
|
|
|
1027
1042
|
"type": "integer",
|
|
1028
1043
|
"minimum": 0,
|
|
1029
1044
|
"maximum": 255,
|
|
1030
|
-
"description": "Identifier (0-255) for data lookup in Guard table. Slot consensus (enforced on-chain at guard table construction): 0-220 = user slots (free for business guards); 221-253 = PROTOCOL-RESERVED (rejected on-chain — reserved so future protocol features get fixed slots without colliding with published guards); 255 = ONCE replay-protection slot on Allocation (byte-keyed, the submitted bytes are the once-key — use for per-period keys like period-<N>); 254 = ONCE-FOR-OBJECT slot on Allocation (chain-derived key = bcs(the Allocation's payment_info.for_object); the submitted bytes are ignored and the submission only arms the slot — use for one-shot per-order rails such as
|
|
1045
|
+
"description": "Identifier (0-255) for data lookup in Guard table. Slot consensus (enforced on-chain at guard table construction): 0-220 = user slots (free for business guards); 221-253 = PROTOCOL-RESERVED (rejected on-chain — reserved so future protocol features get fixed slots without colliding with published guards); 255 = ONCE replay-protection slot on Allocation (byte-keyed, the submitted bytes are the once-key — use for per-period keys like period-<N>); 254 = ONCE-FOR-OBJECT slot on Allocation (chain-derived key = bcs(the Allocation's payment_info.for_object); the submitted bytes are ignored and the submission only arms the slot — use for one-shot per-order rails whose payee is NOT the order itself, such as settlement releases and incentive/bounty claims). NEVER arm 254 on a refund rail: a refund pays the submitted Order through user slot 0, and a refund leg re-entered in a later renewal period would abort E_ONCE_TRIGGERED (16) forever — refund once-ness comes from the terminal-node topology, never from a once slot. SLOT 0 SEMANTICS: slot 0 carries the transacted Order address by convention. As a submission slot it is legal on order/allocation/machine rails (the order exists when those verify), but FORBIDDEN on a Service buy_guard — the order does not exist when the buy-time passport is verified, so the mount is refused (service abort 43)."
|
|
1031
1046
|
},
|
|
1032
1047
|
"b_submission": {
|
|
1033
1048
|
"type": "boolean",
|
|
@@ -6401,11 +6401,111 @@
|
|
|
6401
6401
|
"additionalProperties": false
|
|
6402
6402
|
},
|
|
6403
6403
|
"description": "Directed supply-chain edges: each forward's purchased sub-services + required proofs."
|
|
6404
|
+
},
|
|
6405
|
+
"rails": {
|
|
6406
|
+
"type": "array",
|
|
6407
|
+
"items": {
|
|
6408
|
+
"type": "object",
|
|
6409
|
+
"properties": {
|
|
6410
|
+
"guard": {
|
|
6411
|
+
"type": "string",
|
|
6412
|
+
"description": "The allocator-bound Guard that gates this Service's money."
|
|
6413
|
+
},
|
|
6414
|
+
"purchased_services": {
|
|
6415
|
+
"type": "array",
|
|
6416
|
+
"items": {
|
|
6417
|
+
"type": "object",
|
|
6418
|
+
"properties": {
|
|
6419
|
+
"identifier": {
|
|
6420
|
+
"type": "integer",
|
|
6421
|
+
"minimum": 0,
|
|
6422
|
+
"maximum": 255,
|
|
6423
|
+
"description": "Guard table identifier."
|
|
6424
|
+
},
|
|
6425
|
+
"name": {
|
|
6426
|
+
"type": "string",
|
|
6427
|
+
"description": "Guard table item name (the emitter's catalog slot name)."
|
|
6428
|
+
},
|
|
6429
|
+
"address": {
|
|
6430
|
+
"type": "string",
|
|
6431
|
+
"description": "The procured sub-Service address (or LocalMark name if not resolvable)."
|
|
6432
|
+
}
|
|
6433
|
+
},
|
|
6434
|
+
"required": [
|
|
6435
|
+
"identifier",
|
|
6436
|
+
"name",
|
|
6437
|
+
"address"
|
|
6438
|
+
],
|
|
6439
|
+
"additionalProperties": false
|
|
6440
|
+
},
|
|
6441
|
+
"description": "Foreign-Service commitments carried as constant Address rows (self-pins and the ledger row excluded)."
|
|
6442
|
+
},
|
|
6443
|
+
"required_submissions": {
|
|
6444
|
+
"type": "array",
|
|
6445
|
+
"items": {
|
|
6446
|
+
"type": "object",
|
|
6447
|
+
"properties": {
|
|
6448
|
+
"identifier": {
|
|
6449
|
+
"type": "integer",
|
|
6450
|
+
"minimum": 0,
|
|
6451
|
+
"maximum": 255,
|
|
6452
|
+
"description": "Guard table identifier."
|
|
6453
|
+
},
|
|
6454
|
+
"name": {
|
|
6455
|
+
"type": "string",
|
|
6456
|
+
"description": "Guard table item name (human-readable field name)."
|
|
6457
|
+
},
|
|
6458
|
+
"value_type": {
|
|
6459
|
+
"type": "string",
|
|
6460
|
+
"description": "Expected value type name (e.g. Address, U64, String)."
|
|
6461
|
+
}
|
|
6462
|
+
},
|
|
6463
|
+
"required": [
|
|
6464
|
+
"identifier",
|
|
6465
|
+
"name",
|
|
6466
|
+
"value_type"
|
|
6467
|
+
],
|
|
6468
|
+
"additionalProperties": false
|
|
6469
|
+
},
|
|
6470
|
+
"description": "Order-slot rows the gate expects the caller to submit."
|
|
6471
|
+
},
|
|
6472
|
+
"ledger": {
|
|
6473
|
+
"description": "The rendezvous Repository the gate reads rows from (present when the gate reads a ledger bound to this Service).",
|
|
6474
|
+
"type": "string"
|
|
6475
|
+
},
|
|
6476
|
+
"once_slot": {
|
|
6477
|
+
"type": "boolean",
|
|
6478
|
+
"description": "A protocol 255 once row is present — the submission form's single-use key."
|
|
6479
|
+
},
|
|
6480
|
+
"axis": {
|
|
6481
|
+
"description": "Who owns the fulfilment order, as stated by the gate's own description.",
|
|
6482
|
+
"anyOf": [
|
|
6483
|
+
{
|
|
6484
|
+
"type": "string",
|
|
6485
|
+
"const": "merchant_procured"
|
|
6486
|
+
},
|
|
6487
|
+
{
|
|
6488
|
+
"type": "string",
|
|
6489
|
+
"const": "user_procured"
|
|
6490
|
+
}
|
|
6491
|
+
]
|
|
6492
|
+
}
|
|
6493
|
+
},
|
|
6494
|
+
"required": [
|
|
6495
|
+
"guard",
|
|
6496
|
+
"purchased_services",
|
|
6497
|
+
"required_submissions",
|
|
6498
|
+
"once_slot"
|
|
6499
|
+
],
|
|
6500
|
+
"additionalProperties": false
|
|
6501
|
+
},
|
|
6502
|
+
"description": "Settlement rails gated on a FOREIGN order (order_allocators binding). Empty when this Service has no composition. The on-chain Guard stores no logic tree, so these facts come from the guard's table slot names and description — the emitter's own vocabulary."
|
|
6404
6503
|
}
|
|
6405
6504
|
},
|
|
6406
6505
|
"required": [
|
|
6407
6506
|
"service",
|
|
6408
|
-
"edges"
|
|
6507
|
+
"edges",
|
|
6508
|
+
"rails"
|
|
6409
6509
|
],
|
|
6410
6510
|
"additionalProperties": false
|
|
6411
6511
|
},
|
|
@@ -9046,8 +9146,12 @@
|
|
|
9046
9146
|
"type": "string",
|
|
9047
9147
|
"const": "service_panorama"
|
|
9048
9148
|
},
|
|
9149
|
+
"object_address": {
|
|
9150
|
+
"description": "On-chain Service object address (or LocalMark name). Required when query_type='service_panorama'. PREFERRED field name — the panorama family (service/machine/object) is unified on `object_address` (a Service IS an on-chain object); `service_address` remains accepted as a deprecated alias.",
|
|
9151
|
+
"type": "string"
|
|
9152
|
+
},
|
|
9049
9153
|
"service_address": {
|
|
9050
|
-
"description": "
|
|
9154
|
+
"description": "DEPRECATED alias of object_address (accepted for call compatibility). Prefer object_address. Example: {\"query_type\": \"service_panorama\", \"object_address\": \"0xabc...\"}.",
|
|
9051
9155
|
"type": "string"
|
|
9052
9156
|
},
|
|
9053
9157
|
"context_network": {
|
|
@@ -9073,9 +9177,13 @@
|
|
|
9073
9177
|
"type": "string",
|
|
9074
9178
|
"const": "service_quote"
|
|
9075
9179
|
},
|
|
9180
|
+
"object_address": {
|
|
9181
|
+
"description": "On-chain Service object address (or LocalMark name). Required when query_type='service_quote'. PREFERRED field name — unified with the panorama family on `object_address`; `service_address` remains accepted as a deprecated alias.",
|
|
9182
|
+
"type": "string"
|
|
9183
|
+
},
|
|
9076
9184
|
"service_address": {
|
|
9077
|
-
"
|
|
9078
|
-
"
|
|
9185
|
+
"description": "DEPRECATED alias of object_address (accepted for call compatibility). Prefer object_address. Example: {\"query_type\": \"service_quote\", \"object_address\": \"0xabc...\"}.",
|
|
9186
|
+
"type": "string"
|
|
9079
9187
|
},
|
|
9080
9188
|
"items": {
|
|
9081
9189
|
"description": "Basket to quote. Omit to quote EVERY sale with quantity 1 (the floor basket — order quantity is chosen at buy time, so per-unit prices are the authoritative input).",
|
|
@@ -9124,8 +9232,7 @@
|
|
|
9124
9232
|
}
|
|
9125
9233
|
},
|
|
9126
9234
|
"required": [
|
|
9127
|
-
"query_type"
|
|
9128
|
-
"service_address"
|
|
9235
|
+
"query_type"
|
|
9129
9236
|
],
|
|
9130
9237
|
"additionalProperties": false,
|
|
9131
9238
|
"description": "READ-ONLY pre-purchase quote of a Service (finding 3.6 — order_new total_pay pre-check): per-item unit price × quantity, the basket total that order_new.buy.total_pay.balance must exactly equal (the on-chain buy aborts on any drift), and the order_allocators fee-split preview (sharing rows of the FIRST allocator — the normal payout path; guards select per-case allocators such as refund/damage, so the live split depends on which guard passes). Also previews the reward terms of every Reward hung on the Service (pool balance, per-claim amount, claim window) so a buyer never budgets on an expired or unfunded reward. Mirrors the on-chain price×quantity semantics WITHOUT calling quote on-chain and NEVER submits a transaction. Amounts are payment-token smallest units plus a human display when the token precision resolves."
|
|
@@ -9421,6 +9528,57 @@
|
|
|
9421
9528
|
"additionalProperties": false,
|
|
9422
9529
|
"description": "In-flight order participation analysis for ONE account (GLM6/94): customer / operator / observer perspective derived from on-chain permission matching (never caller-asserted) — per-order operable forwards (branch choices), waiting_on roles, pending claims (reward/discount/compensation/rating), perspective-specific interest hints, aggregated account dashboard. Read-only."
|
|
9423
9530
|
},
|
|
9531
|
+
{
|
|
9532
|
+
"type": "object",
|
|
9533
|
+
"properties": {
|
|
9534
|
+
"query_type": {
|
|
9535
|
+
"type": "string",
|
|
9536
|
+
"const": "order_aggregate"
|
|
9537
|
+
},
|
|
9538
|
+
"group": {
|
|
9539
|
+
"description": "Grouping dimension, read from each Order's own fields: 'service' (default — the crowd/group-buy pool per service), 'machine' (per workflow) or 'owner' (per ordering account).",
|
|
9540
|
+
"type": "string",
|
|
9541
|
+
"enum": [
|
|
9542
|
+
"service",
|
|
9543
|
+
"machine",
|
|
9544
|
+
"owner"
|
|
9545
|
+
]
|
|
9546
|
+
},
|
|
9547
|
+
"group_id": {
|
|
9548
|
+
"description": "Restrict the aggregation to ONE group value (exact address match — e.g. the Service address running a crowd-funding campaign). The funding-target verdict then reads a single row.",
|
|
9549
|
+
"type": "string"
|
|
9550
|
+
},
|
|
9551
|
+
"metric": {
|
|
9552
|
+
"description": "Numeric field to sum (default 'amount' — the Order's escrowed payment in smallest units).",
|
|
9553
|
+
"type": "string",
|
|
9554
|
+
"const": "amount"
|
|
9555
|
+
},
|
|
9556
|
+
"exclude_claimed": {
|
|
9557
|
+
"description": "Exclude orders whose compensation has been claimed (claimed_by set). Default false — pass true so refund/compensation payouts are not double-counted toward a target.",
|
|
9558
|
+
"type": "boolean"
|
|
9559
|
+
},
|
|
9560
|
+
"limit": {
|
|
9561
|
+
"description": "Max group rows returned (default 50, max 1000). truncated flags rows beyond the limit; totals ALWAYS cover the full set regardless of the limit.",
|
|
9562
|
+
"type": "integer",
|
|
9563
|
+
"minimum": 1,
|
|
9564
|
+
"maximum": 1000
|
|
9565
|
+
},
|
|
9566
|
+
"context_network": {
|
|
9567
|
+
"type": "string",
|
|
9568
|
+
"enum": [
|
|
9569
|
+
"testnet",
|
|
9570
|
+
"mainnet",
|
|
9571
|
+
"localnet"
|
|
9572
|
+
],
|
|
9573
|
+
"description": "Network for the query — THIS field is `context_network` (the query tools accept no separate `network` key). Defaults to the user's CURRENT network (client UI selection / authority config) when omitted. 'localnet' is for internal test use against a local fullnode."
|
|
9574
|
+
}
|
|
9575
|
+
},
|
|
9576
|
+
"required": [
|
|
9577
|
+
"query_type"
|
|
9578
|
+
],
|
|
9579
|
+
"additionalProperties": false,
|
|
9580
|
+
"description": "CROSS-ORDER aggregate over Order objects from the MCP index projection (S17-C / F-RQD2-06): count + exact amount sums per group, with the projection's reconciliation coverage attached. Read-side stand-in for the missing on-chain cross-order primitive — crowd/group-buy targets like '3 x 6 WOW >= 18 WOW before funding' are checked HERE until the protocol grows a native aggregate. A STALE projection refuses to answer loudly (INDEX_STALE_PROJECTION — no legacy fallback can aggregate) instead of serving a funding verdict on old data. Read-only."
|
|
9581
|
+
},
|
|
9424
9582
|
{
|
|
9425
9583
|
"type": "object",
|
|
9426
9584
|
"properties": {
|
|
@@ -10664,6 +10822,92 @@
|
|
|
10664
10822
|
"top_risks"
|
|
10665
10823
|
],
|
|
10666
10824
|
"additionalProperties": false
|
|
10825
|
+
},
|
|
10826
|
+
"blueprint_verdict": {
|
|
10827
|
+
"description": "Creation-time blueprint verdict: business intent + host rich semantics + logic tree composed and run through the full per-host verification battery BEFORE the guard create tx. Present when binding_hint maps to a catalog host; absent when no host is known (add binding_hint to enable).",
|
|
10828
|
+
"type": "object",
|
|
10829
|
+
"properties": {
|
|
10830
|
+
"host": {
|
|
10831
|
+
"type": "string",
|
|
10832
|
+
"description": "Catalog host id this guard was verified against (guard-host-context)."
|
|
10833
|
+
},
|
|
10834
|
+
"status": {
|
|
10835
|
+
"type": "string",
|
|
10836
|
+
"enum": [
|
|
10837
|
+
"blocked",
|
|
10838
|
+
"proceed_with_warnings",
|
|
10839
|
+
"proceed"
|
|
10840
|
+
],
|
|
10841
|
+
"description": "Single authority over create readiness. blocked = structural defect, fix BEFORE create (guards are immutable after create)."
|
|
10842
|
+
},
|
|
10843
|
+
"statement": {
|
|
10844
|
+
"type": "string",
|
|
10845
|
+
"description": "One authoritative verdict statement naming the finding codes."
|
|
10846
|
+
},
|
|
10847
|
+
"findings": {
|
|
10848
|
+
"type": "array",
|
|
10849
|
+
"items": {
|
|
10850
|
+
"type": "object",
|
|
10851
|
+
"properties": {
|
|
10852
|
+
"source": {
|
|
10853
|
+
"type": "string",
|
|
10854
|
+
"description": "Which verifier produced the finding (verifyGuardBinding / auditGuardRelies / auditQuoteGuardCandidate / blueprint)."
|
|
10855
|
+
},
|
|
10856
|
+
"code": {
|
|
10857
|
+
"type": "string",
|
|
10858
|
+
"description": "Stable finding id (e.g. MF_SLOT_IDENTITY_ANCHOR, RC_NO_ORDER_ANCHOR)."
|
|
10859
|
+
},
|
|
10860
|
+
"level": {
|
|
10861
|
+
"type": "string",
|
|
10862
|
+
"enum": [
|
|
10863
|
+
"critical",
|
|
10864
|
+
"warning",
|
|
10865
|
+
"info"
|
|
10866
|
+
]
|
|
10867
|
+
},
|
|
10868
|
+
"detail": {
|
|
10869
|
+
"type": "string"
|
|
10870
|
+
}
|
|
10871
|
+
},
|
|
10872
|
+
"required": [
|
|
10873
|
+
"source",
|
|
10874
|
+
"code",
|
|
10875
|
+
"level",
|
|
10876
|
+
"detail"
|
|
10877
|
+
],
|
|
10878
|
+
"additionalProperties": false
|
|
10879
|
+
},
|
|
10880
|
+
"description": "All findings from the composed verification battery."
|
|
10881
|
+
},
|
|
10882
|
+
"host_context": {
|
|
10883
|
+
"description": "The host rich semantics this guard inherits — inlined so the design dialogue argues from facts, not memory.",
|
|
10884
|
+
"type": "object",
|
|
10885
|
+
"properties": {
|
|
10886
|
+
"signer_subject": {
|
|
10887
|
+
"type": "string"
|
|
10888
|
+
},
|
|
10889
|
+
"order_anchor": {
|
|
10890
|
+
"type": "string"
|
|
10891
|
+
},
|
|
10892
|
+
"identity_obligation": {
|
|
10893
|
+
"type": "string"
|
|
10894
|
+
}
|
|
10895
|
+
},
|
|
10896
|
+
"required": [
|
|
10897
|
+
"signer_subject",
|
|
10898
|
+
"order_anchor",
|
|
10899
|
+
"identity_obligation"
|
|
10900
|
+
],
|
|
10901
|
+
"additionalProperties": false
|
|
10902
|
+
}
|
|
10903
|
+
},
|
|
10904
|
+
"required": [
|
|
10905
|
+
"host",
|
|
10906
|
+
"status",
|
|
10907
|
+
"statement",
|
|
10908
|
+
"findings"
|
|
10909
|
+
],
|
|
10910
|
+
"additionalProperties": false
|
|
10667
10911
|
}
|
|
10668
10912
|
},
|
|
10669
10913
|
"additionalProperties": false
|
|
@@ -11059,6 +11303,14 @@
|
|
|
11059
11303
|
"note": {
|
|
11060
11304
|
"description": "Additional note.",
|
|
11061
11305
|
"type": "string"
|
|
11306
|
+
},
|
|
11307
|
+
"digest": {
|
|
11308
|
+
"description": "REAL transaction digest of this operation (ddmc4 B-37) — paste into onchain_transaction or a block explorer to audit. Absent under dry-run/simulation.",
|
|
11309
|
+
"type": "string"
|
|
11310
|
+
},
|
|
11311
|
+
"signer": {
|
|
11312
|
+
"description": "Signing account's on-chain address — a SEPARATE field from digest ({signer, digest}), never occupying the digest slot.",
|
|
11313
|
+
"type": "string"
|
|
11062
11314
|
}
|
|
11063
11315
|
},
|
|
11064
11316
|
"required": [
|