@wowok/agent-mcp 3.4.3 → 3.4.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/.build-stamp.json +3 -3
- package/dist/build-stamp.js +1 -0
- package/dist/chain-semantics/composition-truth.js +1 -1
- package/dist/chain-semantics/eval-order.js +1 -1
- package/dist/chain-semantics/freeze-map.js +1 -1
- package/dist/chain-semantics/fund-flow.js +1 -1
- package/dist/chain-semantics/object-graph.js +1 -1
- package/dist/composition/audit.js +1 -1
- package/dist/composition/compile.js +1 -1
- package/dist/composition/emit-phases.js +1 -1
- package/dist/composition/generate.js +1 -1
- package/dist/composition/guard-fill.js +1 -1
- package/dist/composition/input-normalize.js +1 -1
- package/dist/composition/materialize.js +1 -1
- package/dist/composition/mode-gates.js +1 -1
- package/dist/composition/plan.js +1 -1
- package/dist/composition/product-card.js +1 -1
- package/dist/composition/shape-expand.js +1 -0
- package/dist/config/judgment.js +1 -1
- package/dist/config/template-params.js +1 -1
- package/dist/data/sync/cdc.js +1 -1
- package/dist/data/sync/graphql-source.js +1 -1
- package/dist/evaluation/engine.js +1 -1
- package/dist/experience/realtime-feedback.js +1 -1
- package/dist/graph/onchain/expand.js +1 -1
- package/dist/graph/onchain/exposure.js +1 -1
- package/dist/graph/onchain/sdk-batch.js +1 -1
- package/dist/harness/entry-ignite-selfheal.js +1 -0
- package/dist/harness/forward-leg-preflight.js +1 -0
- package/dist/harness/recover.js +1 -1
- package/dist/keeper/detectors.js +1 -1
- package/dist/knowledge/allocator-rail-verifier.js +1 -1
- package/dist/knowledge/arb-operation-face.js +1 -0
- package/dist/knowledge/arbitration-rail-verifier.js +1 -1
- package/dist/knowledge/arbitration-templates.js +1 -1
- package/dist/knowledge/audit-rules.d.ts +15 -0
- package/dist/knowledge/audit-rules.js +1 -1
- package/dist/knowledge/baselines/rules/alloc_audit.json.good +310 -0
- package/dist/knowledge/baselines/rules/allocation.json.good +568 -0
- package/dist/knowledge/baselines/rules/arb.json.good +174 -0
- package/dist/knowledge/baselines/rules/arbitration.json.good +393 -0
- package/dist/knowledge/baselines/rules/bridge.json.good +197 -0
- package/dist/knowledge/baselines/rules/contact.json.good +152 -0
- package/dist/knowledge/baselines/rules/demand.json.good +158 -0
- package/dist/knowledge/baselines/rules/graph.json.good +534 -0
- package/dist/knowledge/baselines/rules/guard.json +18 -5
- package/dist/knowledge/baselines/rules/guard.json.good +1192 -0
- package/dist/knowledge/baselines/rules/machine.json.good +734 -0
- package/dist/knowledge/baselines/rules/oracle.json +1 -1
- package/dist/knowledge/baselines/rules/oracle.json.good +120 -0
- package/dist/knowledge/baselines/rules/order.json.good +549 -0
- package/dist/knowledge/baselines/rules/payment.json.good +205 -0
- package/dist/knowledge/baselines/rules/permission.json.good +330 -0
- package/dist/knowledge/baselines/rules/personal.json.good +139 -0
- package/dist/knowledge/baselines/rules/plan.json +343 -1
- package/dist/knowledge/baselines/rules/plan.json.good +1187 -0
- package/dist/knowledge/baselines/rules/progress.json.good +364 -0
- package/dist/knowledge/baselines/rules/proof.json.good +158 -0
- package/dist/knowledge/baselines/rules/registrar.json.good +159 -0
- package/dist/knowledge/baselines/rules/repository.json.good +244 -0
- package/dist/knowledge/baselines/rules/resource.json.good +117 -0
- package/dist/knowledge/baselines/rules/reward.json +10 -10
- package/dist/knowledge/baselines/rules/reward.json.good +586 -0
- package/dist/knowledge/baselines/rules/service.json.good +595 -0
- package/dist/knowledge/baselines/rules/treasury.json.good +440 -0
- package/dist/knowledge/baselines/rules/util.json.good +101 -0
- package/dist/knowledge/builtin-templates.d.ts +13 -1
- package/dist/knowledge/builtin-templates.js +1 -1
- package/dist/knowledge/chain-query-registry.js +1 -1
- package/dist/knowledge/discount-threshold.js +1 -1
- package/dist/knowledge/fee-param-bindings.js +1 -1
- package/dist/knowledge/fund-layer.d.ts +2 -0
- package/dist/knowledge/fund-layer.js +1 -1
- package/dist/knowledge/getting-started.js +1 -1
- package/dist/knowledge/guard-binding-table.js +1 -1
- package/dist/knowledge/guard-binding-verifier.js +1 -1
- package/dist/knowledge/guard-create-preflight.js +1 -0
- package/dist/knowledge/guard-field-cognition.js +1 -1
- package/dist/knowledge/guard-host-context.js +1 -1
- package/dist/knowledge/guard-leg-eval.js +1 -0
- package/dist/knowledge/guard-node-gates.js +1 -1
- package/dist/knowledge/guard-puzzle.js +1 -1
- package/dist/knowledge/guard-quality.js +1 -0
- package/dist/knowledge/guard-render.js +1 -1
- package/dist/knowledge/guard-risk.js +1 -1
- package/dist/knowledge/guard-semantic-walk.js +1 -0
- package/dist/knowledge/guard-templates.d.ts +1 -0
- package/dist/knowledge/guard-templates.js +1 -1
- package/dist/knowledge/guard-translation.js +1 -1
- package/dist/knowledge/index.js +1 -1
- package/dist/knowledge/industry-registry.js +1 -1
- package/dist/knowledge/jsonrpc-enum.js +1 -1
- package/dist/knowledge/param-schema.js +1 -1
- package/dist/knowledge/param-tiers.js +1 -1
- package/dist/knowledge/path-oracle/coverage.js +1 -1
- package/dist/knowledge/path-oracle/index.js +1 -1
- package/dist/knowledge/path-oracle/products/airbnb.js +1 -0
- package/dist/knowledge/path-oracle/products/algora.js +1 -0
- package/dist/knowledge/path-oracle/products/alibaba-1688.js +1 -0
- package/dist/knowledge/path-oracle/products/amazon.js +1 -0
- package/dist/knowledge/path-oracle/products/beatstars.js +1 -0
- package/dist/knowledge/path-oracle/products/booking-com.js +1 -0
- package/dist/knowledge/path-oracle/products/contra.js +1 -0
- package/dist/knowledge/path-oracle/products/costco.js +1 -0
- package/dist/knowledge/path-oracle/products/coursera.js +1 -0
- package/dist/knowledge/path-oracle/products/duoduo-maicai.js +1 -0
- package/dist/knowledge/path-oracle/products/etsy.js +1 -0
- package/dist/knowledge/path-oracle/products/food-delivery.js +1 -1
- package/dist/knowledge/path-oracle/products/gamefound.js +1 -0
- package/dist/knowledge/path-oracle/products/gofundme.js +1 -0
- package/dist/knowledge/path-oracle/products/hackerone.js +1 -0
- package/dist/knowledge/path-oracle/products/kickstarter.js +1 -0
- package/dist/knowledge/path-oracle/products/klook.js +1 -0
- package/dist/knowledge/path-oracle/products/ninety-nine-designs.js +1 -0
- package/dist/knowledge/path-oracle/products/onlyfans.js +1 -0
- package/dist/knowledge/path-oracle/products/patreon.js +1 -0
- package/dist/knowledge/path-oracle/products/pinduoduo-kuaituantuan.js +1 -0
- package/dist/knowledge/path-oracle/products/royalty-exchange.js +1 -0
- package/dist/knowledge/path-oracle/products/shansong.js +1 -0
- package/dist/knowledge/path-oracle/products/taobao-presale.js +1 -0
- package/dist/knowledge/path-oracle/products/upwork-catalog.js +1 -0
- package/dist/knowledge/path-oracle/products/upwork.js +1 -0
- package/dist/knowledge/path-oracle/products/yuanfudao.js +1 -0
- package/dist/knowledge/path-oracle/products/ziroom.js +1 -0
- package/dist/knowledge/pattern-resolutions.js +1 -1
- package/dist/knowledge/product-detail-source.js +1 -1
- package/dist/knowledge/product-doc-b5.js +1 -1
- package/dist/knowledge/product-doc-facets.js +1 -0
- package/dist/knowledge/projection.js +1 -1
- package/dist/knowledge/publish-gate.js +1 -1
- package/dist/knowledge/publish-surface-contract.js +1 -1
- package/dist/knowledge/recipient-constraint.d.ts +20 -0
- package/dist/knowledge/recipient-constraint.js +1 -1
- package/dist/knowledge/rule-declaration-types.d.ts +13 -0
- package/dist/knowledge/rule-declaration-types.js +1 -0
- package/dist/knowledge/rule-declarations.js +1 -0
- package/dist/knowledge/scenario-modes.d.ts +6 -0
- package/dist/knowledge/scenario-topology.js +1 -1
- package/dist/knowledge/template-loader.js +1 -1
- package/dist/knowledge/template-prose.js +1 -1
- package/dist/knowledge/template-registry.js +1 -1
- package/dist/knowledge/template-scanner.js +1 -1
- package/dist/knowledge/tools-reference.js +1 -1
- package/dist/monitor/MonitorLoop.js +1 -1
- package/dist/playbooks/service-build/business-puzzle.js +1 -1
- package/dist/playbooks/service-build/machine-panorama.js +1 -1
- package/dist/playbooks/service-build/merchant-guide.js +1 -1
- package/dist/playbooks/service-build/object-panorama.js +1 -1
- package/dist/playbooks/service-build/participation-radar.js +1 -1
- package/dist/playbooks/service-build/relationship-profile.js +1 -1
- package/dist/playbooks/service-build/service-panorama.js +1 -1
- package/dist/playbooks/service-build/service-quote.js +1 -1
- package/dist/review/index.js +1 -1
- package/dist/review/service.js +1 -1
- package/dist/safety/confirm-gate.js +1 -1
- package/dist/schema/benchmark-migration/index.d.ts +9 -0
- package/dist/schema/benchmark-migration/index.js +1 -1
- package/dist/schema/call/arbitration.d.ts +8 -0
- package/dist/schema/call/arbitration.js +1 -1
- package/dist/schema/call/base.d.ts +8 -0
- package/dist/schema/call/base.js +1 -1
- package/dist/schema/call/bridge.d.ts +2 -0
- package/dist/schema/call/error-codes.d.ts +1 -1
- package/dist/schema/call/error-codes.js +1 -1
- package/dist/schema/call/handler.d.ts +2 -1
- package/dist/schema/call/handler.js +1 -1
- package/dist/schema/call/order.d.ts +10 -0
- package/dist/schema/call/permission-handler.js +1 -1
- package/dist/schema/call/permission.js +1 -1
- package/dist/schema/call/progress.d.ts +15 -0
- package/dist/schema/call/progress.js +1 -1
- package/dist/schema/call/receipt.d.ts +1 -0
- package/dist/schema/call/receipt.js +1 -1
- package/dist/schema/call/repository.d.ts +12 -0
- package/dist/schema/call/repository.js +1 -1
- package/dist/schema/call/reward.js +1 -1
- package/dist/schema/call/semantic.d.ts +1 -0
- package/dist/schema/call/semantic.js +1 -1
- package/dist/schema/call/service.d.ts +5 -3
- package/dist/schema/call/service.js +1 -1
- package/dist/schema/common/index.js +1 -1
- package/dist/schema/envelope-unify.js +1 -1
- package/dist/schema/goal/index.d.ts +23 -0
- package/dist/schema/goal/planning.js +1 -1
- package/dist/schema/industry-pack/index.d.ts +2 -2
- package/dist/schema/local/index.d.ts +20 -0
- package/dist/schema/local/index.js +1 -1
- package/dist/schema/local/wip.d.ts +4 -0
- package/dist/schema/local/wip.js +1 -1
- package/dist/schema/messenger/index.d.ts +5 -0
- package/dist/schema/messenger/index.js +1 -1
- package/dist/schema/operations.d.ts +944 -1
- package/dist/schema/operations.js +1 -1
- package/dist/schema/query/bi.js +1 -1
- package/dist/schema/query/index.d.ts +5 -5
- package/dist/schema/query/index.js +1 -1
- package/dist/schema/schema-version.js +1 -1
- package/dist/schema/workspace/index.d.ts +2 -2
- package/dist/schema-query-impl/index.js +1 -1
- package/dist/schemas/account_operation.schema.json +1 -257
- package/dist/schemas/ask_user.schema.json +1 -78
- package/dist/schemas/benchmark_migration_operation.schema.json +1 -626
- package/dist/schemas/bridge_operation.schema.json +1 -1069
- package/dist/schemas/config_operation.schema.json +1 -82
- package/dist/schemas/employee_operation.schema.json +1 -319
- package/dist/schemas/evaluation_operation.schema.json +1 -3932
- package/dist/schemas/goal_operation.schema.json +1 -1650
- package/dist/schemas/guard2file.schema.json +1 -137
- package/dist/schemas/index.json +1 -285
- package/dist/schemas/industry_pack_operation.schema.json +1 -582
- package/dist/schemas/intent_radar.schema.json +1 -155
- package/dist/schemas/keeper_operation.schema.json +1 -364
- package/dist/schemas/local_cache_operation.schema.json +1 -116
- package/dist/schemas/local_history_operation.schema.json +1 -105
- package/dist/schemas/local_info_operation.schema.json +1 -140
- package/dist/schemas/local_mark_operation.schema.json +1 -124
- package/dist/schemas/machineNode2file.schema.json +1 -137
- package/dist/schemas/messenger_operation.schema.json +1 -2068
- package/dist/schemas/monitor_events.schema.json +1 -87
- package/dist/schemas/monitor_subscription.schema.json +1 -327
- package/dist/schemas/onchain_events.schema.json +1 -207
- package/dist/schemas/onchain_operations.schema.json +1 -28699
- package/dist/schemas/onchain_operations_allocation.schema.json +1 -1376
- package/dist/schemas/onchain_operations_arbitration.schema.json +1 -1355
- package/dist/schemas/onchain_operations_contact.schema.json +1 -988
- package/dist/schemas/onchain_operations_demand.schema.json +1 -1146
- package/dist/schemas/onchain_operations_gen_passport.schema.json +1 -663
- package/dist/schemas/onchain_operations_gen_proof.schema.json +1 -180
- package/dist/schemas/onchain_operations_guard.schema.json +1 -8518
- package/dist/schemas/onchain_operations_machine.schema.json +1 -1879
- package/dist/schemas/onchain_operations_order.schema.json +1 -1121
- package/dist/schemas/onchain_operations_payment.schema.json +1 -316
- package/dist/schemas/onchain_operations_permission.schema.json +1 -1036
- package/dist/schemas/onchain_operations_personal.schema.json +1 -1463
- package/dist/schemas/onchain_operations_progress.schema.json +1 -1041
- package/dist/schemas/onchain_operations_proof.schema.json +1 -750
- package/dist/schemas/onchain_operations_repository.schema.json +1 -2046
- package/dist/schemas/onchain_operations_reward.schema.json +1 -1286
- package/dist/schemas/onchain_operations_service.schema.json +1 -2602
- package/dist/schemas/onchain_operations_treasury.schema.json +1 -1527
- package/dist/schemas/onchain_table_data.schema.json +1 -1146
- package/dist/schemas/permission_operation.schema.json +1 -43
- package/dist/schemas/persona_operation.schema.json +1 -10424
- package/dist/schemas/query_toolkit.schema.json +1 -1867
- package/dist/schemas/schema_query.schema.json +1 -116
- package/dist/schemas/service_clone_operation.schema.json +1 -49
- package/dist/schemas/settle_sweep.schema.json +1 -0
- package/dist/schemas/strategy_review_operation.schema.json +1 -66
- package/dist/schemas/verify_guard_dry_run.schema.json +1 -0
- package/dist/schemas/watch_operation.schema.json +1 -145
- package/dist/schemas/wip_file.schema.json +1 -299
- package/dist/schemas/workflow_operation.schema.json +1 -722
- package/dist/schemas/workspace_operation.schema.json +1 -104
- package/dist/schemas/wowok_buildin_info.schema.json +1 -758
- package/dist/tools/handlers/benchmark-migration.js +1 -1
- package/dist/tools/handlers/config.js +1 -1
- package/dist/tools/handlers/entry-edge-recipe.js +1 -1
- package/dist/tools/handlers/file-export.js +1 -1
- package/dist/tools/handlers/local.js +1 -1
- package/dist/tools/handlers/messenger.js +1 -1
- package/dist/tools/handlers/onchain.js +1 -1
- package/dist/tools/handlers/pending-settlement-recipe.js +1 -0
- package/dist/tools/handlers/plan-recovery.js +1 -0
- package/dist/tools/handlers/query.js +1 -1
- package/dist/tools/handlers/repository-row-id.js +1 -0
- package/dist/tools/handlers/review-chain.js +1 -1
- package/dist/tools/handlers/settle-sweep.js +1 -0
- package/dist/tools/handlers/stale-build-check.js +1 -1
- package/dist/tools/handlers/submission-assembly.js +1 -1
- package/dist/tools/handlers/verify-guard-dry-run.js +1 -0
- package/dist/tools/handlers/wip-upload.js +1 -1
- package/dist/tools/index.d.ts +3 -1
- package/dist/tools/index.js +1 -1
- package/dist/tools/move-fn-index.gen.js +1 -1
- package/dist/tools/publish-gate-state.js +1 -1
- package/dist/tools/registry/business.js +1 -1
- package/dist/tools/registry/onchain.js +1 -1
- package/dist/tools/shared.js +1 -1
- package/dist/tools/types.d.ts +1 -1
- package/dist/tools/wrap.js +1 -1
- package/package.json +11 -4
- package/dist/chain-semantics/composition-truth.d.ts +0 -102
- package/dist/chain-semantics/eval-order.d.ts +0 -17
- package/dist/chain-semantics/field-capability.d.ts +0 -11
- package/dist/chain-semantics/freeze-map.d.ts +0 -11
- package/dist/chain-semantics/fund-flow.d.ts +0 -10
- package/dist/chain-semantics/guard-verbs.d.ts +0 -22
- package/dist/chain-semantics/index.d.ts +0 -12
- package/dist/chain-semantics/object-graph.d.ts +0 -18
- package/dist/communication/evidence.d.ts +0 -6
- package/dist/communication/message-cursors.d.ts +0 -35
- package/dist/communication/proof-reuse.d.ts +0 -9
- package/dist/communication/wts-attestation.d.ts +0 -39
- package/dist/composition/audit.d.ts +0 -15
- package/dist/composition/blueprint-view.d.ts +0 -63
- package/dist/composition/compile.d.ts +0 -83
- package/dist/composition/emit-phases.d.ts +0 -234
- package/dist/composition/generate.d.ts +0 -40
- package/dist/composition/guard-fill.d.ts +0 -52
- package/dist/composition/inflight.d.ts +0 -86
- package/dist/composition/input-normalize.d.ts +0 -15
- package/dist/composition/materialize.d.ts +0 -78
- package/dist/composition/mode-gates.d.ts +0 -35
- package/dist/composition/param-disclosure.d.ts +0 -61
- package/dist/composition/plan-retry-ledger.d.ts +0 -37
- package/dist/composition/plan.d.ts +0 -121
- package/dist/composition/product-card.d.ts +0 -94
- package/dist/composition/reflux.d.ts +0 -28
- package/dist/composition/supply-chain-emit.d.ts +0 -46
- package/dist/config/config-audit.spec.d.ts +0 -1
- package/dist/config/config-audit.spec.js +0 -1
- package/dist/config/config-warnings.d.ts +0 -2
- package/dist/config/index.d.ts +0 -4
- package/dist/config/judgment.spec.d.ts +0 -1
- package/dist/config/judgment.spec.js +0 -1
- package/dist/config/match-policy-file.d.ts +0 -34
- package/dist/config/match-policy-file.spec.d.ts +0 -1
- package/dist/config/match-policy-file.spec.js +0 -1
- package/dist/config/rule-engine.spec.d.ts +0 -1
- package/dist/config/rule-engine.spec.js +0 -1
- package/dist/config/runtime.d.ts +0 -29
- package/dist/config/store-policy.d.ts +0 -14
- package/dist/config/store-policy.spec.d.ts +0 -1
- package/dist/config/store-policy.spec.js +0 -1
- package/dist/config/template-params.d.ts +0 -42
- package/dist/config/template-params.spec.d.ts +0 -1
- package/dist/config/template-params.spec.js +0 -1
- package/dist/customer/account-events.d.ts +0 -32
- package/dist/data/api/api.spec.d.ts +0 -1
- package/dist/data/api/api.spec.js +0 -1
- package/dist/data/api/cli.d.ts +0 -1
- package/dist/data/api/head.d.ts +0 -16
- package/dist/data/api/head.spec.d.ts +0 -1
- package/dist/data/api/head.spec.js +0 -1
- package/dist/data/api/index.d.ts +0 -2
- package/dist/data/api/match.d.ts +0 -69
- package/dist/data/api/match.spec.d.ts +0 -1
- package/dist/data/api/match.spec.js +0 -1
- package/dist/data/api/server.d.ts +0 -13
- package/dist/data/projection/cli.d.ts +0 -1
- package/dist/data/projection/edges.d.ts +0 -8
- package/dist/data/projection/edges.spec.d.ts +0 -1
- package/dist/data/projection/edges.spec.js +0 -1
- package/dist/data/projection/facets.d.ts +0 -18
- package/dist/data/projection/facets.spec.d.ts +0 -1
- package/dist/data/projection/facets.spec.js +0 -1
- package/dist/data/projection/facts.d.ts +0 -40
- package/dist/data/projection/index.d.ts +0 -6
- package/dist/data/projection/project.d.ts +0 -10
- package/dist/data/projection/projection.spec.d.ts +0 -1
- package/dist/data/projection/projection.spec.js +0 -1
- package/dist/data/projection/schema.d.ts +0 -1
- package/dist/data/projection/store.d.ts +0 -51
- package/dist/data/projection/types.d.ts +0 -169
- package/dist/data/sync/cdc.d.ts +0 -33
- package/dist/data/sync/cdc.spec.d.ts +0 -1
- package/dist/data/sync/cdc.spec.js +0 -1
- package/dist/data/sync/graphql-source.d.ts +0 -16
- package/dist/data/sync/index.d.ts +0 -5
- package/dist/data/sync/reconciler.d.ts +0 -14
- package/dist/data/sync/reconciler.spec.d.ts +0 -1
- package/dist/data/sync/reconciler.spec.js +0 -1
- package/dist/data/sync/schema.d.ts +0 -1
- package/dist/data/sync/store.d.ts +0 -24
- package/dist/data/sync/sync.spec.d.ts +0 -1
- package/dist/data/sync/sync.spec.js +0 -1
- package/dist/data/sync/synchronizer.d.ts +0 -10
- package/dist/data/sync/types.d.ts +0 -164
- package/dist/evaluation/acceptance.d.ts +0 -33
- package/dist/evaluation/architecture.spec.d.ts +0 -1
- package/dist/evaluation/architecture.spec.js +0 -1
- package/dist/evaluation/builtins/arbitration-score.d.ts +0 -42
- package/dist/evaluation/builtins/demand-match.d.ts +0 -16
- package/dist/evaluation/builtins/graph-service.spec.d.ts +0 -1
- package/dist/evaluation/builtins/graph-service.spec.js +0 -1
- package/dist/evaluation/builtins/index.d.ts +0 -4
- package/dist/evaluation/builtins/purity.spec.d.ts +0 -1
- package/dist/evaluation/builtins/purity.spec.js +0 -1
- package/dist/evaluation/composer.d.ts +0 -38
- package/dist/evaluation/facets/catalog.d.ts +0 -19
- package/dist/evaluation/gap.d.ts +0 -2
- package/dist/evaluation/guard-scan.d.ts +0 -10
- package/dist/evaluation/index.d.ts +0 -14
- package/dist/evaluation/injection.d.ts +0 -6
- package/dist/evaluation/location-match.d.ts +0 -42
- package/dist/evaluation/match-operation.d.ts +0 -23
- package/dist/evaluation/match-policy-resolver.d.ts +0 -9
- package/dist/evaluation/match-policy.spec.d.ts +0 -1
- package/dist/evaluation/match-policy.spec.js +0 -1
- package/dist/evaluation/path-reasoning.d.ts +0 -37
- package/dist/evaluation/standards.d.ts +0 -11
- package/dist/evaluation/standards.spec.d.ts +0 -1
- package/dist/evaluation/standards.spec.js +0 -1
- package/dist/evaluation/structured-lines.d.ts +0 -8
- package/dist/evaluation/user-injection.d.ts +0 -6
- package/dist/experience/experience-reuse.d.ts +0 -10
- package/dist/experience/index.d.ts +0 -7
- package/dist/experience/persistence-config.d.ts +0 -6
- package/dist/experience/persistence.d.ts +0 -21
- package/dist/experience/realtime-feedback.d.ts +0 -5
- package/dist/experience/user-profile.d.ts +0 -25
- package/dist/extensions/capability.d.ts +0 -91
- package/dist/extensions/industry-audit.spec.d.ts +0 -1
- package/dist/extensions/industry-audit.spec.js +0 -1
- package/dist/goal/GoalClassifier.d.ts +0 -17
- package/dist/goal/GoalEngine.d.ts +0 -175
- package/dist/goal/GoalStore.d.ts +0 -27
- package/dist/goal/next-steps.d.ts +0 -12
- package/dist/goal/plan-approval.d.ts +0 -5
- package/dist/goal/pursue.d.ts +0 -18
- package/dist/graph/base.d.ts +0 -8
- package/dist/graph/onchain/analyze.d.ts +0 -59
- package/dist/graph/onchain/analyze.spec.d.ts +0 -1
- package/dist/graph/onchain/analyze.spec.js +0 -1
- package/dist/graph/onchain/anti-cheat.d.ts +0 -69
- package/dist/graph/onchain/anti-cheat.spec.d.ts +0 -1
- package/dist/graph/onchain/anti-cheat.spec.js +0 -1
- package/dist/graph/onchain/dataplane.d.ts +0 -44
- package/dist/graph/onchain/edge-batch.spec.d.ts +0 -1
- package/dist/graph/onchain/edge-batch.spec.js +0 -1
- package/dist/graph/onchain/edge-schema.d.ts +0 -69
- package/dist/graph/onchain/entity-profile.spec.d.ts +0 -1
- package/dist/graph/onchain/entity-profile.spec.js +0 -1
- package/dist/graph/onchain/event-history.spec.d.ts +0 -1
- package/dist/graph/onchain/event-history.spec.js +0 -1
- package/dist/graph/onchain/expand.d.ts +0 -4
- package/dist/graph/onchain/exploration.d.ts +0 -28
- package/dist/graph/onchain/exploration.spec.d.ts +0 -1
- package/dist/graph/onchain/exploration.spec.js +0 -1
- package/dist/graph/onchain/exposure.d.ts +0 -18
- package/dist/graph/onchain/exposure.spec.d.ts +0 -1
- package/dist/graph/onchain/exposure.spec.js +0 -1
- package/dist/graph/onchain/extract-deep.spec.d.ts +0 -1
- package/dist/graph/onchain/extract-deep.spec.js +0 -1
- package/dist/graph/onchain/extract.d.ts +0 -29
- package/dist/graph/onchain/facet-projection.d.ts +0 -99
- package/dist/graph/onchain/facet-projection.spec.d.ts +0 -1
- package/dist/graph/onchain/facet-projection.spec.js +0 -1
- package/dist/graph/onchain/facts.spec.d.ts +0 -1
- package/dist/graph/onchain/facts.spec.js +0 -1
- package/dist/graph/onchain/field-manifest.d.ts +0 -29
- package/dist/graph/onchain/field-manifest.spec.d.ts +0 -1
- package/dist/graph/onchain/field-manifest.spec.js +0 -1
- package/dist/graph/onchain/fixtures.d.ts +0 -80
- package/dist/graph/onchain/fixtures.spec.d.ts +0 -1
- package/dist/graph/onchain/fixtures.spec.js +0 -1
- package/dist/graph/onchain/graph-policy.spec.d.ts +0 -1
- package/dist/graph/onchain/graph-policy.spec.js +0 -1
- package/dist/graph/onchain/index.d.ts +0 -29
- package/dist/graph/onchain/interest.d.ts +0 -10
- package/dist/graph/onchain/interest.spec.d.ts +0 -1
- package/dist/graph/onchain/interest.spec.js +0 -1
- package/dist/graph/onchain/label-lint.spec.d.ts +0 -1
- package/dist/graph/onchain/label-lint.spec.js +0 -1
- package/dist/graph/onchain/names.d.ts +0 -23
- package/dist/graph/onchain/names.spec.d.ts +0 -1
- package/dist/graph/onchain/names.spec.js +0 -1
- package/dist/graph/onchain/object-held-receipts.d.ts +0 -20
- package/dist/graph/onchain/object-held-receipts.spec.d.ts +0 -1
- package/dist/graph/onchain/object-held-receipts.spec.js +0 -1
- package/dist/graph/onchain/onchain.spec.d.ts +0 -1
- package/dist/graph/onchain/onchain.spec.js +0 -1
- package/dist/graph/onchain/policy.d.ts +0 -8
- package/dist/graph/onchain/project-relationship.d.ts +0 -3
- package/dist/graph/onchain/proposal-graph.d.ts +0 -11
- package/dist/graph/onchain/proposal-graph.spec.d.ts +0 -1
- package/dist/graph/onchain/proposal-graph.spec.js +0 -1
- package/dist/graph/onchain/sdk-batch.d.ts +0 -129
- package/dist/graph/onchain/sdk-dataplane.d.ts +0 -44
- package/dist/graph/onchain/strategy.spec.d.ts +0 -1
- package/dist/graph/onchain/strategy.spec.js +0 -1
- package/dist/graph/onchain/synthesis.d.ts +0 -20
- package/dist/graph/onchain/synthesis.spec.d.ts +0 -1
- package/dist/graph/onchain/synthesis.spec.js +0 -1
- package/dist/graph/onchain/table-ledger.spec.d.ts +0 -1
- package/dist/graph/onchain/table-ledger.spec.js +0 -1
- package/dist/graph/onchain/viewport.d.ts +0 -6
- package/dist/harness/auto-escalation.d.ts +0 -15
- package/dist/intent/enrich.d.ts +0 -1
- package/dist/intent/index.d.ts +0 -23
- package/dist/intent/matcher.d.ts +0 -2
- package/dist/intent/store.d.ts +0 -19
- package/dist/intent/types.d.ts +0 -32
- package/dist/keeper/KeeperScan.d.ts +0 -41
- package/dist/keeper/KeeperStore.d.ts +0 -43
- package/dist/keeper/detectors.d.ts +0 -42
- package/dist/keeper/keeper.spec.d.ts +0 -1
- package/dist/keeper/keeper.spec.js +0 -1
- package/dist/keeper/types.d.ts +0 -67
- package/dist/knowledge/account-marks.d.ts +0 -36
- package/dist/knowledge/allocation-ledger.d.ts +0 -75
- package/dist/knowledge/allocation-puzzle.d.ts +0 -138
- package/dist/knowledge/allocation-risk.d.ts +0 -82
- package/dist/knowledge/allocation-templates.d.ts +0 -38
- package/dist/knowledge/allocator-rail-verifier.d.ts +0 -59
- package/dist/knowledge/anti-cheat.d.ts +0 -2
- package/dist/knowledge/arb-fund-facts.d.ts +0 -51
- package/dist/knowledge/arb-risk.d.ts +0 -39
- package/dist/knowledge/arbitration-puzzle.d.ts +0 -84
- package/dist/knowledge/arbitration-rail-verifier.d.ts +0 -35
- package/dist/knowledge/arbitration-risk.d.ts +0 -114
- package/dist/knowledge/arbitration-templates.d.ts +0 -39
- package/dist/knowledge/arbitration-venue-order.d.ts +0 -25
- package/dist/knowledge/baselines/guard-lint-baseline.spec.d.ts +0 -1
- package/dist/knowledge/baselines/guard-lint-baseline.spec.js +0 -1
- package/dist/knowledge/baselines/risk-baselines.spec.d.ts +0 -1
- package/dist/knowledge/baselines/risk-baselines.spec.js +0 -1
- package/dist/knowledge/baselines/risk-cases.d.ts +0 -8
- package/dist/knowledge/baselines/semantic-facts.d.ts +0 -12
- package/dist/knowledge/bridge-risk.d.ts +0 -36
- package/dist/knowledge/catalog-facts.d.ts +0 -4
- package/dist/knowledge/chain-query-registry.d.ts +0 -14
- package/dist/knowledge/commission-landing.d.ts +0 -26
- package/dist/knowledge/component-schema.d.ts +0 -64
- package/dist/knowledge/contact-risk.d.ts +0 -32
- package/dist/knowledge/contact-templates.d.ts +0 -26
- package/dist/knowledge/contract-invariants.d.ts +0 -54
- package/dist/knowledge/demand-risk.d.ts +0 -30
- package/dist/knowledge/discount-threshold.d.ts +0 -26
- package/dist/knowledge/dynamic-pricing.d.ts +0 -29
- package/dist/knowledge/entity-recipient-guard.d.ts +0 -21
- package/dist/knowledge/event-semantics.d.ts +0 -23
- package/dist/knowledge/evidence-review.d.ts +0 -35
- package/dist/knowledge/fee-param-bindings.d.ts +0 -28
- package/dist/knowledge/flywheel-loop.d.ts +0 -41
- package/dist/knowledge/game-scenarios.d.ts +0 -21
- package/dist/knowledge/getting-started.d.ts +0 -37
- package/dist/knowledge/goal-completion.d.ts +0 -31
- package/dist/knowledge/guard-anchor-reach.d.ts +0 -19
- package/dist/knowledge/guard-binding-table.d.ts +0 -52
- package/dist/knowledge/guard-binding-verifier.d.ts +0 -37
- package/dist/knowledge/guard-bindings.d.ts +0 -21
- package/dist/knowledge/guard-blueprint.d.ts +0 -68
- package/dist/knowledge/guard-design-patterns.d.ts +0 -38
- package/dist/knowledge/guard-eval.d.ts +0 -15
- package/dist/knowledge/guard-field-cognition.d.ts +0 -48
- package/dist/knowledge/guard-host-context.d.ts +0 -24
- package/dist/knowledge/guard-ledger.d.ts +0 -19
- package/dist/knowledge/guard-leg-map.d.ts +0 -5
- package/dist/knowledge/guard-lint.d.ts +0 -79
- package/dist/knowledge/guard-node-gates.d.ts +0 -9
- package/dist/knowledge/guard-puzzle.d.ts +0 -188
- package/dist/knowledge/guard-render.d.ts +0 -71
- package/dist/knowledge/guard-risk.d.ts +0 -71
- package/dist/knowledge/guard-submission-brief.d.ts +0 -94
- package/dist/knowledge/guard-submission-prompt.d.ts +0 -63
- package/dist/knowledge/guard-translation.d.ts +0 -58
- package/dist/knowledge/index.d.ts +0 -299
- package/dist/knowledge/industry-evolution.d.ts +0 -82
- package/dist/knowledge/industry-generalizer.d.ts +0 -63
- package/dist/knowledge/industry-rule-node.d.ts +0 -7
- package/dist/knowledge/industry-strategy.d.ts +0 -91
- package/dist/knowledge/intent-metrics.d.ts +0 -43
- package/dist/knowledge/jsonrpc-enum.d.ts +0 -102
- package/dist/knowledge/knob-docs.d.ts +0 -5
- package/dist/knowledge/machine-fork-watch.d.ts +0 -9
- package/dist/knowledge/machine-ledger.d.ts +0 -42
- package/dist/knowledge/machine-puzzle.d.ts +0 -206
- package/dist/knowledge/machine-risk.d.ts +0 -72
- package/dist/knowledge/machine-templates.d.ts +0 -92
- package/dist/knowledge/machine-topology.d.ts +0 -116
- package/dist/knowledge/machine-translation.d.ts +0 -96
- package/dist/knowledge/market-metrics.d.ts +0 -34
- package/dist/knowledge/market-operations.d.ts +0 -46
- package/dist/knowledge/migration-preflight.d.ts +0 -27
- package/dist/knowledge/object-dependency.d.ts +0 -31
- package/dist/knowledge/operation-dictionary.d.ts +0 -18
- package/dist/knowledge/order-ledger.d.ts +0 -69
- package/dist/knowledge/order-puzzle.d.ts +0 -162
- package/dist/knowledge/order-risk.d.ts +0 -62
- package/dist/knowledge/order-templates.d.ts +0 -50
- package/dist/knowledge/param-schema.d.ts +0 -93
- package/dist/knowledge/param-tiers.d.ts +0 -27
- package/dist/knowledge/passport-ledger.d.ts +0 -60
- package/dist/knowledge/passport-templates.d.ts +0 -40
- package/dist/knowledge/path-oracle/coverage.d.ts +0 -16
- package/dist/knowledge/path-oracle/index.d.ts +0 -5
- package/dist/knowledge/path-oracle/products/food-delivery.d.ts +0 -2
- package/dist/knowledge/path-oracle/schema.d.ts +0 -188
- package/dist/knowledge/pattern-resolutions.d.ts +0 -110
- package/dist/knowledge/payment-risk.d.ts +0 -38
- package/dist/knowledge/payment-tracker.d.ts +0 -63
- package/dist/knowledge/permission-ledger.d.ts +0 -49
- package/dist/knowledge/permission-puzzle.d.ts +0 -122
- package/dist/knowledge/permission-risk.d.ts +0 -70
- package/dist/knowledge/permission-templates.d.ts +0 -38
- package/dist/knowledge/personal-risk.d.ts +0 -36
- package/dist/knowledge/product-detail-source.d.ts +0 -37
- package/dist/knowledge/product-doc-b5.d.ts +0 -16
- package/dist/knowledge/progress-ledger.d.ts +0 -63
- package/dist/knowledge/progress-puzzle.d.ts +0 -82
- package/dist/knowledge/progress-risk.d.ts +0 -75
- package/dist/knowledge/progress-templates.d.ts +0 -38
- package/dist/knowledge/projection.d.ts +0 -54
- package/dist/knowledge/projection.spec.d.ts +0 -1
- package/dist/knowledge/projection.spec.js +0 -1
- package/dist/knowledge/proof-risk.d.ts +0 -33
- package/dist/knowledge/protocol-facts.d.ts +0 -17
- package/dist/knowledge/publish-gate.d.ts +0 -20
- package/dist/knowledge/publish-readiness.d.ts +0 -25
- package/dist/knowledge/publish-surface-contract.d.ts +0 -16
- package/dist/knowledge/puzzle-projections.d.ts +0 -11
- package/dist/knowledge/rail-exit-satisfiability.d.ts +0 -25
- package/dist/knowledge/registrar-risk.d.ts +0 -34
- package/dist/knowledge/release-sentinel.d.ts +0 -12
- package/dist/knowledge/repository-risk.d.ts +0 -46
- package/dist/knowledge/repository-write-semantics.d.ts +0 -27
- package/dist/knowledge/reputation-rules.d.ts +0 -36
- package/dist/knowledge/requirement-families.d.ts +0 -13
- package/dist/knowledge/resource-risk.d.ts +0 -32
- package/dist/knowledge/reward-ledger.d.ts +0 -97
- package/dist/knowledge/reward-puzzle.d.ts +0 -98
- package/dist/knowledge/reward-risk.d.ts +0 -86
- package/dist/knowledge/reward-templates.d.ts +0 -25
- package/dist/knowledge/rule-node-analyzers.d.ts +0 -49
- package/dist/knowledge/rule-outcome.d.ts +0 -5
- package/dist/knowledge/scenario-topology.d.ts +0 -48
- package/dist/knowledge/semantic-ir.d.ts +0 -136
- package/dist/knowledge/service-allocation-semantics.d.ts +0 -36
- package/dist/knowledge/service-allocator-audit-node.d.ts +0 -3
- package/dist/knowledge/service-ledger.d.ts +0 -87
- package/dist/knowledge/service-puzzle.d.ts +0 -158
- package/dist/knowledge/service-risk-node.d.ts +0 -3
- package/dist/knowledge/service-risk.d.ts +0 -110
- package/dist/knowledge/service-templates.d.ts +0 -41
- package/dist/knowledge/settlement-semantics.d.ts +0 -1
- package/dist/knowledge/strategy-manuals.d.ts +0 -15
- package/dist/knowledge/supply-chain.d.ts +0 -35
- package/dist/knowledge/template-index.d.ts +0 -19
- package/dist/knowledge/template-loader.d.ts +0 -425
- package/dist/knowledge/template-nav.d.ts +0 -9
- package/dist/knowledge/template-prose.d.ts +0 -50
- package/dist/knowledge/template-registry.d.ts +0 -48
- package/dist/knowledge/template-scanner.d.ts +0 -158
- package/dist/knowledge/template-test-profiles.d.ts +0 -17
- package/dist/knowledge/template-validation.d.ts +0 -3
- package/dist/knowledge/tools-reference.d.ts +0 -17
- package/dist/knowledge/treasury-ledger.d.ts +0 -42
- package/dist/knowledge/treasury-puzzle.d.ts +0 -163
- package/dist/knowledge/treasury-risk.d.ts +0 -88
- package/dist/knowledge/treasury-templates.d.ts +0 -38
- package/dist/knowledge/universal-template.d.ts +0 -22
- package/dist/knowledge/util-risk.d.ts +0 -30
- package/dist/knowledge/workflow-guidance.d.ts +0 -194
- package/dist/knowledge/workspace-lists.d.ts +0 -61
- package/dist/monitor/SuggestionBridge.spec.d.ts +0 -1
- package/dist/monitor/SuggestionBridge.spec.js +0 -1
- package/dist/participation/arbitrator-interest.d.ts +0 -22
- package/dist/participation/demander-interest.d.ts +0 -23
- package/dist/participation/employee-kpi.d.ts +0 -37
- package/dist/participation/employee-kpi.spec.d.ts +0 -1
- package/dist/participation/employee-kpi.spec.js +0 -1
- package/dist/participation/employee-store.d.ts +0 -16
- package/dist/participation/game-context.d.ts +0 -25
- package/dist/participation/index.d.ts +0 -2
- package/dist/participation/node-action-advisor.d.ts +0 -68
- package/dist/participation/time-window.d.ts +0 -48
- package/dist/persona/facet-profile.d.ts +0 -33
- package/dist/persona/persona-audit.spec.d.ts +0 -1
- package/dist/persona/persona-audit.spec.js +0 -1
- package/dist/playbooks/service-build/business-puzzle.d.ts +0 -48
- package/dist/playbooks/service-build/context-assembly.d.ts +0 -32
- package/dist/playbooks/service-build/facet-money.d.ts +0 -33
- package/dist/playbooks/service-build/facet-money.spec.d.ts +0 -1
- package/dist/playbooks/service-build/facet-money.spec.js +0 -1
- package/dist/playbooks/service-build/game-theory.d.ts +0 -47
- package/dist/playbooks/service-build/index.d.ts +0 -15
- package/dist/playbooks/service-build/intent-analyzer.d.ts +0 -72
- package/dist/playbooks/service-build/machine-nodes.d.ts +0 -27
- package/dist/playbooks/service-build/machine-panorama.d.ts +0 -71
- package/dist/playbooks/service-build/merchant-guide.d.ts +0 -382
- package/dist/playbooks/service-build/migration-planner.d.ts +0 -61
- package/dist/playbooks/service-build/mode-actions.d.ts +0 -260
- package/dist/playbooks/service-build/object-panorama.d.ts +0 -317
- package/dist/playbooks/service-build/object-type.d.ts +0 -1
- package/dist/playbooks/service-build/participation-radar.d.ts +0 -20
- package/dist/playbooks/service-build/pipeline-actions.d.ts +0 -108
- package/dist/playbooks/service-build/process.d.ts +0 -6
- package/dist/playbooks/service-build/relationship-profile.d.ts +0 -3
- package/dist/playbooks/service-build/reverse-mapping-nk4.spec.d.ts +0 -1
- package/dist/playbooks/service-build/reverse-mapping-nk4.spec.js +0 -1
- package/dist/playbooks/service-build/reverse-mapping-refund-p0-5.spec.d.ts +0 -1
- package/dist/playbooks/service-build/reverse-mapping-refund-p0-5.spec.js +0 -1
- package/dist/playbooks/service-build/reverse-mapping.d.ts +0 -66
- package/dist/playbooks/service-build/risk-aggregator.d.ts +0 -59
- package/dist/playbooks/service-build/service-panorama.d.ts +0 -229
- package/dist/playbooks/service-build/service-quote.d.ts +0 -2
- package/dist/playbooks/service-build/service-quote.spec.d.ts +0 -1
- package/dist/playbooks/service-build/service-quote.spec.js +0 -1
- package/dist/playbooks/service-build/topology-evaluation.spec.d.ts +0 -1
- package/dist/playbooks/service-build/topology-evaluation.spec.js +0 -1
- package/dist/playbooks/service-build/topology-query.d.ts +0 -25
- package/dist/playbooks/service-build/workflow-design-assessment.d.ts +0 -33
- package/dist/relationship/derivation.d.ts +0 -95
- package/dist/relationship/derivation.spec.d.ts +0 -1
- package/dist/relationship/derivation.spec.js +0 -1
- package/dist/relationship/incentive.d.ts +0 -38
- package/dist/relationship/index.d.ts +0 -4
- package/dist/relationship/registry.d.ts +0 -13
- package/dist/relationship/types.d.ts +0 -45
- package/dist/review/arb.d.ts +0 -4
- package/dist/review/demand.d.ts +0 -3
- package/dist/review/index.d.ts +0 -3
- package/dist/review/machine.d.ts +0 -3
- package/dist/review/order.d.ts +0 -8
- package/dist/review/progress.d.ts +0 -3
- package/dist/review/repository.d.ts +0 -3
- package/dist/review/service.d.ts +0 -5
- package/dist/review/types.d.ts +0 -163
- package/dist/role/derivation.d.ts +0 -35
- package/dist/role/index.d.ts +0 -6
- package/dist/role/intent.d.ts +0 -23
- package/dist/role/model.d.ts +0 -9
- package/dist/role/profiles.d.ts +0 -26
- package/dist/role/resolution.d.ts +0 -27
- package/dist/runtime/instance-registry.d.ts +0 -14
- package/dist/safety/index.d.ts +0 -3
- package/dist/schema/call/permission-handler.d.ts +0 -5
- package/dist/schema/call/semantic-customer-advice.spec.d.ts +0 -1
- package/dist/schema/call/semantic-customer-advice.spec.js +0 -1
- package/dist/schema/common/tokentype-short-probe.spec.d.ts +0 -1
- package/dist/schema/common/tokentype-short-probe.spec.js +0 -1
- package/dist/schema/envelope-unify.d.ts +0 -5
- package/dist/schema/goal/planning.d.ts +0 -742
- package/dist/schema/industry-pack/modes.d.ts +0 -447
- package/dist/schema/query/bi.d.ts +0 -3369
- package/dist/schema/utils/guard-query-utils.d.ts +0 -18
- package/dist/schema/utils/permission-index-utils.d.ts +0 -2
- package/dist/schema/utils/skills-recommendation.d.ts +0 -2
- package/dist/schema-query-impl/index.d.ts +0 -83
- package/dist/schemas/account_operation.output.json +0 -3869
- package/dist/schemas/ask_user.output.json +0 -54
- package/dist/schemas/benchmark_migration_operation.output.json +0 -1669
- package/dist/schemas/bridge_operation.output.json +0 -1548
- package/dist/schemas/config_operation.output.json +0 -896
- package/dist/schemas/employee_operation.output.json +0 -307
- package/dist/schemas/evaluation_operation.output.json +0 -4716
- package/dist/schemas/guard2file.output.json +0 -83
- package/dist/schemas/industry_pack_operation.output.json +0 -2985
- package/dist/schemas/intent_radar.output.json +0 -326
- package/dist/schemas/keeper_operation.output.json +0 -1441
- package/dist/schemas/local_cache_operation.output.json +0 -1718
- package/dist/schemas/local_history_operation.output.json +0 -1644
- package/dist/schemas/local_info_operation.output.json +0 -1530
- package/dist/schemas/local_mark_operation.output.json +0 -1622
- package/dist/schemas/machineNode2file.output.json +0 -88
- package/dist/schemas/messenger_operation.output.json +0 -4692
- package/dist/schemas/monitor_events.output.json +0 -1602
- package/dist/schemas/monitor_subscription.output.json +0 -1629
- package/dist/schemas/onchain_events.output.json +0 -4053
- package/dist/schemas/onchain_operations.output.json +0 -7788
- package/dist/schemas/onchain_table_data.output.json +0 -11868
- package/dist/schemas/permission_operation.output.json +0 -205
- package/dist/schemas/persona_operation.output.json +0 -64612
- package/dist/schemas/query_toolkit.output.json +0 -28302
- package/dist/schemas/schema_query.output.json +0 -81
- package/dist/schemas/service_clone_operation.output.json +0 -247
- package/dist/schemas/strategy_review_operation.output.json +0 -532
- package/dist/schemas/watch_operation.output.json +0 -930
- package/dist/schemas/wip_file.output.json +0 -360
- package/dist/schemas/workflow_operation.output.json +0 -422
- package/dist/schemas/workspace_operation.output.json +0 -477
- package/dist/schemas/wowok_buildin_info.output.json +0 -2477
- package/dist/strategy/collectors.d.ts +0 -66
- package/dist/strategy/collectors.spec.d.ts +0 -1
- package/dist/strategy/collectors.spec.js +0 -1
- package/dist/strategy/index.d.ts +0 -5
- package/dist/strategy/metrics.d.ts +0 -20
- package/dist/strategy/review.d.ts +0 -48
- package/dist/strategy/scorecard.d.ts +0 -32
- package/dist/strategy/store.d.ts +0 -26
- package/dist/task/ProcessStore.d.ts +0 -98
- package/dist/task/playbook.d.ts +0 -11
- package/dist/task/substep-trace.d.ts +0 -91
- package/dist/tools/build-fingerprint.d.ts +0 -28
- package/dist/tools/error-catalog.d.ts +0 -17
- package/dist/tools/handlers/ask-user.d.ts +0 -3
- package/dist/tools/handlers/benchmark-migration.d.ts +0 -121
- package/dist/tools/handlers/bridge.d.ts +0 -8
- package/dist/tools/handlers/config.d.ts +0 -2
- package/dist/tools/handlers/dispatch-expectations.d.ts +0 -2
- package/dist/tools/handlers/dispatch-expectations.spec.d.ts +0 -1
- package/dist/tools/handlers/dispatch-expectations.spec.js +0 -1
- package/dist/tools/handlers/employee.d.ts +0 -8
- package/dist/tools/handlers/employee.spec.d.ts +0 -1
- package/dist/tools/handlers/employee.spec.js +0 -1
- package/dist/tools/handlers/entry-edge-recipe.d.ts +0 -101
- package/dist/tools/handlers/escrow-deficit.d.ts +0 -10
- package/dist/tools/handlers/evaluation.d.ts +0 -2
- package/dist/tools/handlers/evaluation.spec.d.ts +0 -1
- package/dist/tools/handlers/evaluation.spec.js +0 -1
- package/dist/tools/handlers/file-export.d.ts +0 -3
- package/dist/tools/handlers/fund-rail-recipe.d.ts +0 -10
- package/dist/tools/handlers/goal.d.ts +0 -4
- package/dist/tools/handlers/industry-pack.d.ts +0 -3
- package/dist/tools/handlers/intent-radar.d.ts +0 -2
- package/dist/tools/handlers/keeper.d.ts +0 -12
- package/dist/tools/handlers/local.d.ts +0 -6
- package/dist/tools/handlers/mark-namespace.d.ts +0 -30
- package/dist/tools/handlers/messenger.d.ts +0 -24
- package/dist/tools/handlers/monitor.d.ts +0 -26
- package/dist/tools/handlers/name-resolution.d.ts +0 -4
- package/dist/tools/handlers/name-resolution.spec.d.ts +0 -1
- package/dist/tools/handlers/name-resolution.spec.js +0 -1
- package/dist/tools/handlers/network.d.ts +0 -1
- package/dist/tools/handlers/onchain-name-registration.d.ts +0 -49
- package/dist/tools/handlers/onchain-name-registration.spec.d.ts +0 -1
- package/dist/tools/handlers/onchain-name-registration.spec.js +0 -1
- package/dist/tools/handlers/onchain.d.ts +0 -132
- package/dist/tools/handlers/permission.d.ts +0 -2
- package/dist/tools/handlers/persona.d.ts +0 -4
- package/dist/tools/handlers/publish-binding-echo.d.ts +0 -22
- package/dist/tools/handlers/review-chain.d.ts +0 -19
- package/dist/tools/handlers/schema-query.d.ts +0 -2
- package/dist/tools/handlers/service-clone.d.ts +0 -20
- package/dist/tools/handlers/stale-build-check.d.ts +0 -9
- package/dist/tools/handlers/strategy-review.d.ts +0 -2
- package/dist/tools/handlers/submission-assembly.d.ts +0 -55
- package/dist/tools/handlers/watch.d.ts +0 -2
- package/dist/tools/handlers/winner-derivation.d.ts +0 -20
- package/dist/tools/handlers/wip-upload.d.ts +0 -22
- package/dist/tools/handlers/wip.d.ts +0 -2
- package/dist/tools/handlers/workflow.d.ts +0 -2
- package/dist/tools/handlers/workspace.d.ts +0 -4
- package/dist/tools/move-fn-index.gen.d.ts +0 -3
- package/dist/tools/publish-gate-state.d.ts +0 -5
- package/dist/tools/registry/agent.d.ts +0 -2
- package/dist/tools/registry/bridge.d.ts +0 -2
- package/dist/tools/registry/business.d.ts +0 -2
- package/dist/tools/registry/config.d.ts +0 -2
- package/dist/tools/registry/evaluation.d.ts +0 -2
- package/dist/tools/registry/files.d.ts +0 -2
- package/dist/tools/registry/identity.d.ts +0 -2
- package/dist/tools/registry/interaction.d.ts +0 -2
- package/dist/tools/registry/local.d.ts +0 -2
- package/dist/tools/registry/messenger.d.ts +0 -2
- package/dist/tools/registry/monitor.d.ts +0 -2
- package/dist/tools/registry/onchain.d.ts +0 -2
- package/dist/tools/registry/query.d.ts +0 -2
- package/dist/tools/retry.d.ts +0 -8
- package/dist/tools/rules-hook.d.ts +0 -5
- package/dist/tools/runtime-health.d.ts +0 -10
- package/dist/tools/sanitize-description-roundtrip.spec.d.ts +0 -1
- package/dist/tools/sanitize-description-roundtrip.spec.js +0 -1
- package/dist/tools/sanitize-output.d.ts +0 -4
- package/dist/tools/sanitize-output.spec.d.ts +0 -1
- package/dist/tools/sanitize-output.spec.js +0 -1
- package/dist/tools/shared.d.ts +0 -20
- package/dist/tools/transport-integrity.d.ts +0 -7
- package/dist/tools/upgrade-check.d.ts +0 -75
- package/dist/tools/wip-deploy-assist.d.ts +0 -34
- package/dist/tools/wip-verify-ledger.d.ts +0 -16
- package/dist/tools/wrap.d.ts +0 -45
|
@@ -1,1650 +1 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
-
"$id": "https://wowok.net/schemas/goal_operation.json",
|
|
4
|
-
"title": "Goal - Goal-Driven Lifecycle (GoalEngine)",
|
|
5
|
-
"description": "GoalEngine Agent portal (K3 24) — record a user goal and track it through the nine-station lifecycle RECOGNIZE → CONFIRM → BIND → PLAN → APPROVE → ACT → MONITOR → COMPLETE. Actions: create (classify + dedupe-adopt; goal types with a dedicated playbook automatically attach a TaskProcess — the long-task carrier with named stages + events/problems/feedback/decisions streams; create_process=true forces one for generic goal types), list, get (goals with a process also return process_summary: current stage, per-stage progress, open problems, last events, feedback count — the interrupted-task resume surface; resume by continuing advance), approve (plan approval for the confirm gate), advance (stage move + ACT object registration, written back into the process manifest), pause, complete (chain-state verification or force; pass feedback {sentiment, comment} to record it on the process; the outcome is distilled into the experience layer), abandon.",
|
|
6
|
-
"oneOf": [
|
|
7
|
-
{
|
|
8
|
-
"type": "object",
|
|
9
|
-
"properties": {
|
|
10
|
-
"action": {
|
|
11
|
-
"type": "string",
|
|
12
|
-
"const": "create"
|
|
13
|
-
},
|
|
14
|
-
"intent_text": {
|
|
15
|
-
"type": "string",
|
|
16
|
-
"description": "Raw user intent text. goal_type is classified deterministically unless overridden."
|
|
17
|
-
},
|
|
18
|
-
"title": {
|
|
19
|
-
"description": "Short goal title; defaults to the first line of intent_text.",
|
|
20
|
-
"type": "string"
|
|
21
|
-
},
|
|
22
|
-
"goal_type": {
|
|
23
|
-
"description": "Explicit goal_type override (publish_service | fulfill_order | capture_demand | purchase_service | collaborate_flow | supply_suborder | publish_demand | run_arbitration | dispute_resolution | manage_assets).",
|
|
24
|
-
"type": "string",
|
|
25
|
-
"enum": [
|
|
26
|
-
"publish_service",
|
|
27
|
-
"fulfill_order",
|
|
28
|
-
"capture_demand",
|
|
29
|
-
"purchase_service",
|
|
30
|
-
"collaborate_flow",
|
|
31
|
-
"supply_suborder",
|
|
32
|
-
"publish_demand",
|
|
33
|
-
"run_arbitration",
|
|
34
|
-
"dispute_resolution",
|
|
35
|
-
"manage_assets"
|
|
36
|
-
]
|
|
37
|
-
},
|
|
38
|
-
"account": {
|
|
39
|
-
"description": "BIND station: local account name or address the goal operates with. When given, the goal starts at stage 'bound' (with a local-account preflight).",
|
|
40
|
-
"type": "string"
|
|
41
|
-
},
|
|
42
|
-
"persona": {
|
|
43
|
-
"description": "Persona id/name recorded on the binding.",
|
|
44
|
-
"type": "string"
|
|
45
|
-
},
|
|
46
|
-
"conversation_id": {
|
|
47
|
-
"description": "Originating chat conversation id (the client injects this automatically; links the goal back to its conversation).",
|
|
48
|
-
"type": "string"
|
|
49
|
-
},
|
|
50
|
-
"create_process": {
|
|
51
|
-
"description": "TaskProcess creation override. Processes are created BY DEFAULT for goal types with a dedicated playbook (publish_service, fulfill_order, capture_demand, publish_demand, purchase_service); pass true to also attach one to a generic-playbook goal type.",
|
|
52
|
-
"type": "boolean"
|
|
53
|
-
},
|
|
54
|
-
"network": {
|
|
55
|
-
"type": "string",
|
|
56
|
-
"enum": [
|
|
57
|
-
"mainnet",
|
|
58
|
-
"testnet"
|
|
59
|
-
]
|
|
60
|
-
}
|
|
61
|
-
},
|
|
62
|
-
"required": [
|
|
63
|
-
"action",
|
|
64
|
-
"intent_text"
|
|
65
|
-
],
|
|
66
|
-
"additionalProperties": false
|
|
67
|
-
},
|
|
68
|
-
{
|
|
69
|
-
"type": "object",
|
|
70
|
-
"properties": {
|
|
71
|
-
"action": {
|
|
72
|
-
"type": "string",
|
|
73
|
-
"const": "list"
|
|
74
|
-
},
|
|
75
|
-
"stage": {
|
|
76
|
-
"description": "Filter by stage.",
|
|
77
|
-
"type": "string",
|
|
78
|
-
"enum": [
|
|
79
|
-
"recognized",
|
|
80
|
-
"confirmed",
|
|
81
|
-
"bound",
|
|
82
|
-
"planned",
|
|
83
|
-
"approved",
|
|
84
|
-
"acting",
|
|
85
|
-
"monitoring",
|
|
86
|
-
"completed",
|
|
87
|
-
"paused",
|
|
88
|
-
"abandoned"
|
|
89
|
-
]
|
|
90
|
-
},
|
|
91
|
-
"account": {
|
|
92
|
-
"description": "Filter by bound account.",
|
|
93
|
-
"type": "string"
|
|
94
|
-
},
|
|
95
|
-
"conversation_id": {
|
|
96
|
-
"description": "Filter by originating conversation id (the conversation↔goal link).",
|
|
97
|
-
"type": "string"
|
|
98
|
-
},
|
|
99
|
-
"include_finished": {
|
|
100
|
-
"description": "Include terminal goals (completed/abandoned). Default false.",
|
|
101
|
-
"type": "boolean"
|
|
102
|
-
},
|
|
103
|
-
"network": {
|
|
104
|
-
"type": "string",
|
|
105
|
-
"enum": [
|
|
106
|
-
"mainnet",
|
|
107
|
-
"testnet"
|
|
108
|
-
]
|
|
109
|
-
}
|
|
110
|
-
},
|
|
111
|
-
"required": [
|
|
112
|
-
"action"
|
|
113
|
-
],
|
|
114
|
-
"additionalProperties": false
|
|
115
|
-
},
|
|
116
|
-
{
|
|
117
|
-
"type": "object",
|
|
118
|
-
"properties": {
|
|
119
|
-
"action": {
|
|
120
|
-
"type": "string",
|
|
121
|
-
"const": "get"
|
|
122
|
-
},
|
|
123
|
-
"id": {
|
|
124
|
-
"type": "string",
|
|
125
|
-
"description": "Goal id (goal_…)."
|
|
126
|
-
},
|
|
127
|
-
"network": {
|
|
128
|
-
"type": "string",
|
|
129
|
-
"enum": [
|
|
130
|
-
"mainnet",
|
|
131
|
-
"testnet"
|
|
132
|
-
]
|
|
133
|
-
}
|
|
134
|
-
},
|
|
135
|
-
"required": [
|
|
136
|
-
"action",
|
|
137
|
-
"id"
|
|
138
|
-
],
|
|
139
|
-
"additionalProperties": false
|
|
140
|
-
},
|
|
141
|
-
{
|
|
142
|
-
"type": "object",
|
|
143
|
-
"properties": {
|
|
144
|
-
"action": {
|
|
145
|
-
"type": "string",
|
|
146
|
-
"const": "approve"
|
|
147
|
-
},
|
|
148
|
-
"id": {
|
|
149
|
-
"type": "string",
|
|
150
|
-
"description": "Goal id (goal_…)."
|
|
151
|
-
},
|
|
152
|
-
"note": {
|
|
153
|
-
"description": "Human note recorded on the approval audit entry.",
|
|
154
|
-
"type": "string"
|
|
155
|
-
},
|
|
156
|
-
"network": {
|
|
157
|
-
"type": "string",
|
|
158
|
-
"enum": [
|
|
159
|
-
"mainnet",
|
|
160
|
-
"testnet"
|
|
161
|
-
]
|
|
162
|
-
}
|
|
163
|
-
},
|
|
164
|
-
"required": [
|
|
165
|
-
"action",
|
|
166
|
-
"id"
|
|
167
|
-
],
|
|
168
|
-
"additionalProperties": false
|
|
169
|
-
},
|
|
170
|
-
{
|
|
171
|
-
"type": "object",
|
|
172
|
-
"properties": {
|
|
173
|
-
"action": {
|
|
174
|
-
"type": "string",
|
|
175
|
-
"const": "bind"
|
|
176
|
-
},
|
|
177
|
-
"id": {
|
|
178
|
-
"type": "string",
|
|
179
|
-
"description": "Goal id (goal_…)."
|
|
180
|
-
},
|
|
181
|
-
"account": {
|
|
182
|
-
"type": "string",
|
|
183
|
-
"description": "Local account name or address to bind (BIND station; runs a local-account preflight)."
|
|
184
|
-
},
|
|
185
|
-
"persona": {
|
|
186
|
-
"description": "Persona id/name recorded on the binding.",
|
|
187
|
-
"type": "string"
|
|
188
|
-
},
|
|
189
|
-
"network": {
|
|
190
|
-
"type": "string",
|
|
191
|
-
"enum": [
|
|
192
|
-
"mainnet",
|
|
193
|
-
"testnet"
|
|
194
|
-
]
|
|
195
|
-
}
|
|
196
|
-
},
|
|
197
|
-
"required": [
|
|
198
|
-
"action",
|
|
199
|
-
"id",
|
|
200
|
-
"account"
|
|
201
|
-
],
|
|
202
|
-
"additionalProperties": false
|
|
203
|
-
},
|
|
204
|
-
{
|
|
205
|
-
"type": "object",
|
|
206
|
-
"properties": {
|
|
207
|
-
"action": {
|
|
208
|
-
"type": "string",
|
|
209
|
-
"const": "advance"
|
|
210
|
-
},
|
|
211
|
-
"id": {
|
|
212
|
-
"type": "string",
|
|
213
|
-
"description": "Goal id (goal_…)."
|
|
214
|
-
},
|
|
215
|
-
"stage": {
|
|
216
|
-
"description": "Target stage (forward-only along recognized→confirmed→bound→planned→approved→acting→monitoring; 'paused' holds from anywhere; from 'paused' resume anywhere). Entering 'monitoring' auto-binds monitor focus for the goal's objects.",
|
|
217
|
-
"type": "string",
|
|
218
|
-
"enum": [
|
|
219
|
-
"recognized",
|
|
220
|
-
"confirmed",
|
|
221
|
-
"bound",
|
|
222
|
-
"planned",
|
|
223
|
-
"approved",
|
|
224
|
-
"acting",
|
|
225
|
-
"monitoring",
|
|
226
|
-
"paused"
|
|
227
|
-
]
|
|
228
|
-
},
|
|
229
|
-
"objects": {
|
|
230
|
-
"description": "ACT station: objects created/adopted by this goal (deduped by type+address).",
|
|
231
|
-
"type": "array",
|
|
232
|
-
"items": {
|
|
233
|
-
"type": "object",
|
|
234
|
-
"properties": {
|
|
235
|
-
"type": {
|
|
236
|
-
"type": "string",
|
|
237
|
-
"description": "Object type name (e.g. 'Service', 'Order', 'Demand', 'Progress')."
|
|
238
|
-
},
|
|
239
|
-
"object": {
|
|
240
|
-
"type": "string",
|
|
241
|
-
"description": "On-chain object address (0x…)."
|
|
242
|
-
}
|
|
243
|
-
},
|
|
244
|
-
"required": [
|
|
245
|
-
"type",
|
|
246
|
-
"object"
|
|
247
|
-
],
|
|
248
|
-
"additionalProperties": false
|
|
249
|
-
}
|
|
250
|
-
},
|
|
251
|
-
"network": {
|
|
252
|
-
"type": "string",
|
|
253
|
-
"enum": [
|
|
254
|
-
"mainnet",
|
|
255
|
-
"testnet"
|
|
256
|
-
]
|
|
257
|
-
}
|
|
258
|
-
},
|
|
259
|
-
"required": [
|
|
260
|
-
"action",
|
|
261
|
-
"id"
|
|
262
|
-
],
|
|
263
|
-
"additionalProperties": false
|
|
264
|
-
},
|
|
265
|
-
{
|
|
266
|
-
"type": "object",
|
|
267
|
-
"properties": {
|
|
268
|
-
"action": {
|
|
269
|
-
"type": "string",
|
|
270
|
-
"const": "pause"
|
|
271
|
-
},
|
|
272
|
-
"id": {
|
|
273
|
-
"type": "string",
|
|
274
|
-
"description": "Goal id (goal_…)."
|
|
275
|
-
},
|
|
276
|
-
"network": {
|
|
277
|
-
"type": "string",
|
|
278
|
-
"enum": [
|
|
279
|
-
"mainnet",
|
|
280
|
-
"testnet"
|
|
281
|
-
]
|
|
282
|
-
}
|
|
283
|
-
},
|
|
284
|
-
"required": [
|
|
285
|
-
"action",
|
|
286
|
-
"id"
|
|
287
|
-
],
|
|
288
|
-
"additionalProperties": false
|
|
289
|
-
},
|
|
290
|
-
{
|
|
291
|
-
"type": "object",
|
|
292
|
-
"properties": {
|
|
293
|
-
"action": {
|
|
294
|
-
"type": "string",
|
|
295
|
-
"const": "complete"
|
|
296
|
-
},
|
|
297
|
-
"id": {
|
|
298
|
-
"type": "string",
|
|
299
|
-
"description": "Goal id (goal_…)."
|
|
300
|
-
},
|
|
301
|
-
"force": {
|
|
302
|
-
"description": "Skip on-chain completion-condition verification (audited as outcome.forced).",
|
|
303
|
-
"type": "boolean"
|
|
304
|
-
},
|
|
305
|
-
"feedback": {
|
|
306
|
-
"description": "User feedback recorded on the goal's TaskProcess (feedback.jsonl) and used as outcome evidence for the experience layer (REFLECT).",
|
|
307
|
-
"type": "object",
|
|
308
|
-
"properties": {
|
|
309
|
-
"sentiment": {
|
|
310
|
-
"type": "string",
|
|
311
|
-
"enum": [
|
|
312
|
-
"positive",
|
|
313
|
-
"negative",
|
|
314
|
-
"neutral"
|
|
315
|
-
],
|
|
316
|
-
"description": "Overall sentiment about how the goal went."
|
|
317
|
-
},
|
|
318
|
-
"comment": {
|
|
319
|
-
"type": "string",
|
|
320
|
-
"description": "Free-form feedback comment."
|
|
321
|
-
}
|
|
322
|
-
},
|
|
323
|
-
"required": [
|
|
324
|
-
"sentiment",
|
|
325
|
-
"comment"
|
|
326
|
-
],
|
|
327
|
-
"additionalProperties": false
|
|
328
|
-
},
|
|
329
|
-
"network": {
|
|
330
|
-
"type": "string",
|
|
331
|
-
"enum": [
|
|
332
|
-
"mainnet",
|
|
333
|
-
"testnet"
|
|
334
|
-
]
|
|
335
|
-
}
|
|
336
|
-
},
|
|
337
|
-
"required": [
|
|
338
|
-
"action",
|
|
339
|
-
"id"
|
|
340
|
-
],
|
|
341
|
-
"additionalProperties": false
|
|
342
|
-
},
|
|
343
|
-
{
|
|
344
|
-
"type": "object",
|
|
345
|
-
"properties": {
|
|
346
|
-
"action": {
|
|
347
|
-
"type": "string",
|
|
348
|
-
"const": "abandon"
|
|
349
|
-
},
|
|
350
|
-
"id": {
|
|
351
|
-
"type": "string",
|
|
352
|
-
"description": "Goal id (goal_…)."
|
|
353
|
-
},
|
|
354
|
-
"reason": {
|
|
355
|
-
"type": "string",
|
|
356
|
-
"description": "Why the goal is given up (required, recorded on the outcome)."
|
|
357
|
-
},
|
|
358
|
-
"network": {
|
|
359
|
-
"type": "string",
|
|
360
|
-
"enum": [
|
|
361
|
-
"mainnet",
|
|
362
|
-
"testnet"
|
|
363
|
-
]
|
|
364
|
-
}
|
|
365
|
-
},
|
|
366
|
-
"required": [
|
|
367
|
-
"action",
|
|
368
|
-
"id",
|
|
369
|
-
"reason"
|
|
370
|
-
],
|
|
371
|
-
"additionalProperties": false
|
|
372
|
-
},
|
|
373
|
-
{
|
|
374
|
-
"type": "object",
|
|
375
|
-
"properties": {
|
|
376
|
-
"action": {
|
|
377
|
-
"type": "string",
|
|
378
|
-
"const": "delete"
|
|
379
|
-
},
|
|
380
|
-
"id": {
|
|
381
|
-
"type": "string",
|
|
382
|
-
"description": "Goal id (goal_…)."
|
|
383
|
-
},
|
|
384
|
-
"force": {
|
|
385
|
-
"description": "Allow deleting a NON-terminal goal. The goal's monitor focus, radar intents and plan approval are torn down first so no bindings are orphaned. Terminal goals (completed/abandoned) never need force.",
|
|
386
|
-
"type": "boolean"
|
|
387
|
-
},
|
|
388
|
-
"network": {
|
|
389
|
-
"type": "string",
|
|
390
|
-
"enum": [
|
|
391
|
-
"mainnet",
|
|
392
|
-
"testnet"
|
|
393
|
-
]
|
|
394
|
-
}
|
|
395
|
-
},
|
|
396
|
-
"required": [
|
|
397
|
-
"action",
|
|
398
|
-
"id"
|
|
399
|
-
],
|
|
400
|
-
"additionalProperties": false
|
|
401
|
-
},
|
|
402
|
-
{
|
|
403
|
-
"type": "object",
|
|
404
|
-
"properties": {
|
|
405
|
-
"action": {
|
|
406
|
-
"type": "string",
|
|
407
|
-
"const": "suggestions"
|
|
408
|
-
},
|
|
409
|
-
"id": {
|
|
410
|
-
"type": "string",
|
|
411
|
-
"description": "Goal id (goal_…)."
|
|
412
|
-
},
|
|
413
|
-
"include_resolved": {
|
|
414
|
-
"description": "Also return confirmed/dismissed suggestions. Default false (pending only).",
|
|
415
|
-
"type": "boolean"
|
|
416
|
-
},
|
|
417
|
-
"network": {
|
|
418
|
-
"type": "string",
|
|
419
|
-
"enum": [
|
|
420
|
-
"mainnet",
|
|
421
|
-
"testnet"
|
|
422
|
-
]
|
|
423
|
-
}
|
|
424
|
-
},
|
|
425
|
-
"required": [
|
|
426
|
-
"action",
|
|
427
|
-
"id"
|
|
428
|
-
],
|
|
429
|
-
"additionalProperties": false
|
|
430
|
-
},
|
|
431
|
-
{
|
|
432
|
-
"type": "object",
|
|
433
|
-
"properties": {
|
|
434
|
-
"action": {
|
|
435
|
-
"type": "string",
|
|
436
|
-
"const": "suggestion_resolve"
|
|
437
|
-
},
|
|
438
|
-
"id": {
|
|
439
|
-
"type": "string",
|
|
440
|
-
"description": "Goal id (goal_…)."
|
|
441
|
-
},
|
|
442
|
-
"suggestion_id": {
|
|
443
|
-
"type": "string",
|
|
444
|
-
"description": "Suggestion id (sug_…)."
|
|
445
|
-
},
|
|
446
|
-
"decision": {
|
|
447
|
-
"type": "string",
|
|
448
|
-
"enum": [
|
|
449
|
-
"confirm",
|
|
450
|
-
"dismiss"
|
|
451
|
-
],
|
|
452
|
-
"description": "confirm = accept the suggestion; dismiss = reject it (recorded, one-shot either way)."
|
|
453
|
-
},
|
|
454
|
-
"apply": {
|
|
455
|
-
"description": "With decision=confirm: run the suggested move through the normal engine stations (advance_stage → advance; complete_goal → complete with chain verification; register_object → advance objects). Default false: acknowledge only. When applying fails the suggestion STAYS PENDING and apply_error explains why.",
|
|
456
|
-
"type": "boolean"
|
|
457
|
-
},
|
|
458
|
-
"note": {
|
|
459
|
-
"description": "Optional resolution note (audit).",
|
|
460
|
-
"type": "string"
|
|
461
|
-
},
|
|
462
|
-
"network": {
|
|
463
|
-
"type": "string",
|
|
464
|
-
"enum": [
|
|
465
|
-
"mainnet",
|
|
466
|
-
"testnet"
|
|
467
|
-
]
|
|
468
|
-
}
|
|
469
|
-
},
|
|
470
|
-
"required": [
|
|
471
|
-
"action",
|
|
472
|
-
"id",
|
|
473
|
-
"suggestion_id",
|
|
474
|
-
"decision"
|
|
475
|
-
],
|
|
476
|
-
"additionalProperties": false
|
|
477
|
-
},
|
|
478
|
-
{
|
|
479
|
-
"type": "object",
|
|
480
|
-
"properties": {
|
|
481
|
-
"action": {
|
|
482
|
-
"type": "string",
|
|
483
|
-
"const": "boundaries"
|
|
484
|
-
},
|
|
485
|
-
"id": {
|
|
486
|
-
"type": "string",
|
|
487
|
-
"description": "Goal id (goal_…)."
|
|
488
|
-
},
|
|
489
|
-
"network": {
|
|
490
|
-
"type": "string",
|
|
491
|
-
"enum": [
|
|
492
|
-
"mainnet",
|
|
493
|
-
"testnet"
|
|
494
|
-
]
|
|
495
|
-
}
|
|
496
|
-
},
|
|
497
|
-
"required": [
|
|
498
|
-
"action",
|
|
499
|
-
"id"
|
|
500
|
-
],
|
|
501
|
-
"additionalProperties": false
|
|
502
|
-
},
|
|
503
|
-
{
|
|
504
|
-
"type": "object",
|
|
505
|
-
"properties": {
|
|
506
|
-
"action": {
|
|
507
|
-
"type": "string",
|
|
508
|
-
"const": "boundaries_set"
|
|
509
|
-
},
|
|
510
|
-
"id": {
|
|
511
|
-
"type": "string",
|
|
512
|
-
"description": "Goal id (goal_…)."
|
|
513
|
-
},
|
|
514
|
-
"budget": {
|
|
515
|
-
"description": "Total spend ceiling, smallest on-chain unit (MIST), non-negative integer decimal string. Payment candidates above it are rejected (stalled), never asked.",
|
|
516
|
-
"type": "string"
|
|
517
|
-
},
|
|
518
|
-
"deadline": {
|
|
519
|
-
"description": "Hard deadline, ms epoch. Past it the pursue tick stalls every candidate.",
|
|
520
|
-
"type": "number"
|
|
521
|
-
},
|
|
522
|
-
"requirements": {
|
|
523
|
-
"description": "Hard acceptance red lines (e.g. 'service location must be London'). Commitment-level moves always wait until every requirement is verified.",
|
|
524
|
-
"type": "array",
|
|
525
|
-
"items": {
|
|
526
|
-
"type": "string"
|
|
527
|
-
}
|
|
528
|
-
},
|
|
529
|
-
"autonomy": {
|
|
530
|
-
"description": "Standing authorization for the pursue tick: confirm_all (every decision surfaces as a pending suggestion; default) | execute_low_risk (engine-local moves execute; on-chain ops ask) | execute_all (standard-gated on-chain moves also execute; irreversible/publish/amount ALWAYS ask).",
|
|
531
|
-
"type": "string",
|
|
532
|
-
"enum": [
|
|
533
|
-
"confirm_all",
|
|
534
|
-
"execute_low_risk",
|
|
535
|
-
"execute_all"
|
|
536
|
-
]
|
|
537
|
-
},
|
|
538
|
-
"network": {
|
|
539
|
-
"type": "string",
|
|
540
|
-
"enum": [
|
|
541
|
-
"mainnet",
|
|
542
|
-
"testnet"
|
|
543
|
-
]
|
|
544
|
-
}
|
|
545
|
-
},
|
|
546
|
-
"required": [
|
|
547
|
-
"action",
|
|
548
|
-
"id"
|
|
549
|
-
],
|
|
550
|
-
"additionalProperties": false
|
|
551
|
-
},
|
|
552
|
-
{
|
|
553
|
-
"type": "object",
|
|
554
|
-
"properties": {
|
|
555
|
-
"action": {
|
|
556
|
-
"type": "string",
|
|
557
|
-
"const": "pursue"
|
|
558
|
-
},
|
|
559
|
-
"id": {
|
|
560
|
-
"type": "string",
|
|
561
|
-
"description": "Goal id (goal_…)."
|
|
562
|
-
},
|
|
563
|
-
"network": {
|
|
564
|
-
"type": "string",
|
|
565
|
-
"enum": [
|
|
566
|
-
"mainnet",
|
|
567
|
-
"testnet"
|
|
568
|
-
]
|
|
569
|
-
}
|
|
570
|
-
},
|
|
571
|
-
"required": [
|
|
572
|
-
"action",
|
|
573
|
-
"id"
|
|
574
|
-
],
|
|
575
|
-
"additionalProperties": false
|
|
576
|
-
},
|
|
577
|
-
{
|
|
578
|
-
"type": "object",
|
|
579
|
-
"properties": {
|
|
580
|
-
"action": {
|
|
581
|
-
"type": "string",
|
|
582
|
-
"const": "next_steps"
|
|
583
|
-
},
|
|
584
|
-
"id": {
|
|
585
|
-
"type": "string",
|
|
586
|
-
"description": "Goal id (goal_…)."
|
|
587
|
-
},
|
|
588
|
-
"network": {
|
|
589
|
-
"type": "string",
|
|
590
|
-
"enum": [
|
|
591
|
-
"mainnet",
|
|
592
|
-
"testnet"
|
|
593
|
-
]
|
|
594
|
-
}
|
|
595
|
-
},
|
|
596
|
-
"required": [
|
|
597
|
-
"action",
|
|
598
|
-
"id"
|
|
599
|
-
],
|
|
600
|
-
"additionalProperties": false
|
|
601
|
-
},
|
|
602
|
-
{
|
|
603
|
-
"type": "object",
|
|
604
|
-
"properties": {
|
|
605
|
-
"action": {
|
|
606
|
-
"type": "string",
|
|
607
|
-
"const": "analyze_intent"
|
|
608
|
-
},
|
|
609
|
-
"intent": {
|
|
610
|
-
"description": "Business intent text (e.g. 'I rent cameras to photographers with deposit and damage inspection'). Used as the primary input; falls back to project_description / project_name when omitted.",
|
|
611
|
-
"type": "string",
|
|
612
|
-
"maxLength": 2000
|
|
613
|
-
},
|
|
614
|
-
"project_name": {
|
|
615
|
-
"description": "Optional business name — used as an intent fallback when 'intent' is omitted.",
|
|
616
|
-
"type": "string",
|
|
617
|
-
"minLength": 1,
|
|
618
|
-
"maxLength": 200
|
|
619
|
-
},
|
|
620
|
-
"project_description": {
|
|
621
|
-
"description": "Optional business description — used as an intent fallback when 'intent' is omitted.",
|
|
622
|
-
"type": "string",
|
|
623
|
-
"maxLength": 2000
|
|
624
|
-
},
|
|
625
|
-
"project_industry": {
|
|
626
|
-
"description": "Industry tag. Drives industry-specific risk calibration (e.g. 'freelance' does NOT require compensation_fund, while 'rental'/'travel' do). Any registered industry is accepted — builtin: 'general', 'retail', 'retail_d2c', 'service', 'rental', 'freelance', 'education', 'travel', 'subscription', 'custom' — plus custom industries registered via industry packs.",
|
|
627
|
-
"type": "string",
|
|
628
|
-
"pattern": "^[a-z][a-z0-9_]*$"
|
|
629
|
-
},
|
|
630
|
-
"target_objects": {
|
|
631
|
-
"description": "Optional explicit target objects (entry_ids or object_type names). When provided, puzzle snapshots are restricted to these objects.",
|
|
632
|
-
"type": "array",
|
|
633
|
-
"items": {
|
|
634
|
-
"type": "string"
|
|
635
|
-
}
|
|
636
|
-
},
|
|
637
|
-
"network": {
|
|
638
|
-
"type": "string",
|
|
639
|
-
"enum": [
|
|
640
|
-
"mainnet",
|
|
641
|
-
"testnet"
|
|
642
|
-
]
|
|
643
|
-
}
|
|
644
|
-
},
|
|
645
|
-
"required": [
|
|
646
|
-
"action"
|
|
647
|
-
],
|
|
648
|
-
"additionalProperties": false,
|
|
649
|
-
"description": "C1: natural-language business intent → parsed intent (primary/secondary objects, detected scenes, industry) + per-object puzzle snapshots + recommended creation order."
|
|
650
|
-
},
|
|
651
|
-
{
|
|
652
|
-
"type": "object",
|
|
653
|
-
"properties": {
|
|
654
|
-
"action": {
|
|
655
|
-
"type": "string",
|
|
656
|
-
"const": "aggregate_risks"
|
|
657
|
-
},
|
|
658
|
-
"project": {
|
|
659
|
-
"description": "Project prefix (human-readable unique identifier, e.g. 'myshop'). Used to key the service-build stage cache.",
|
|
660
|
-
"type": "string"
|
|
661
|
-
},
|
|
662
|
-
"version": {
|
|
663
|
-
"description": "Project version (e.g. 'v1') for the service-build stage cache. Defaults to 'v1'.",
|
|
664
|
-
"type": "string",
|
|
665
|
-
"pattern": "^v\\d+$"
|
|
666
|
-
},
|
|
667
|
-
"puzzles": {
|
|
668
|
-
"description": "Per-object puzzle snapshots, keyed by object_type. Pass the 'puzzles' field from a prior analyze_intent result UNCHANGED. When omitted but 'intent' is present, the handler runs analyze_intent first (C1→C2 in one call).",
|
|
669
|
-
"type": "object",
|
|
670
|
-
"propertyNames": {
|
|
671
|
-
"type": "string"
|
|
672
|
-
},
|
|
673
|
-
"additionalProperties": {
|
|
674
|
-
"type": "object",
|
|
675
|
-
"properties": {
|
|
676
|
-
"puzzle": {
|
|
677
|
-
"description": "Puzzle snapshot (opaque — pass through from analyze_intent output unchanged)."
|
|
678
|
-
},
|
|
679
|
-
"completeness": {
|
|
680
|
-
"description": "Completeness snapshot (opaque — pass through unchanged)."
|
|
681
|
-
},
|
|
682
|
-
"missing_dimensions": {
|
|
683
|
-
"type": "array",
|
|
684
|
-
"items": {
|
|
685
|
-
"type": "string"
|
|
686
|
-
},
|
|
687
|
-
"description": "Dimensions still missing for this object."
|
|
688
|
-
}
|
|
689
|
-
},
|
|
690
|
-
"required": [
|
|
691
|
-
"puzzle",
|
|
692
|
-
"completeness",
|
|
693
|
-
"missing_dimensions"
|
|
694
|
-
],
|
|
695
|
-
"additionalProperties": false
|
|
696
|
-
}
|
|
697
|
-
},
|
|
698
|
-
"intent": {
|
|
699
|
-
"description": "Business intent text (e.g. 'I rent cameras to photographers with deposit and damage inspection'). Used as the primary input; falls back to project_description / project_name when omitted.",
|
|
700
|
-
"type": "string",
|
|
701
|
-
"maxLength": 2000
|
|
702
|
-
},
|
|
703
|
-
"project_name": {
|
|
704
|
-
"description": "Optional business name — used as an intent fallback when 'intent' is omitted.",
|
|
705
|
-
"type": "string",
|
|
706
|
-
"minLength": 1,
|
|
707
|
-
"maxLength": 200
|
|
708
|
-
},
|
|
709
|
-
"project_description": {
|
|
710
|
-
"description": "Optional business description — used as an intent fallback when 'intent' is omitted.",
|
|
711
|
-
"type": "string",
|
|
712
|
-
"maxLength": 2000
|
|
713
|
-
},
|
|
714
|
-
"project_industry": {
|
|
715
|
-
"description": "Industry tag. Drives industry-specific risk calibration (e.g. 'freelance' does NOT require compensation_fund, while 'rental'/'travel' do). Any registered industry is accepted — builtin: 'general', 'retail', 'retail_d2c', 'service', 'rental', 'freelance', 'education', 'travel', 'subscription', 'custom' — plus custom industries registered via industry packs.",
|
|
716
|
-
"type": "string",
|
|
717
|
-
"pattern": "^[a-z][a-z0-9_]*$"
|
|
718
|
-
},
|
|
719
|
-
"severity_threshold": {
|
|
720
|
-
"description": "Severity threshold (default 'high'). Risks at or above this level block deployment (status RISK_BLOCKED).",
|
|
721
|
-
"type": "string",
|
|
722
|
-
"enum": [
|
|
723
|
-
"critical",
|
|
724
|
-
"high",
|
|
725
|
-
"medium",
|
|
726
|
-
"low",
|
|
727
|
-
"info"
|
|
728
|
-
]
|
|
729
|
-
},
|
|
730
|
-
"user_confirmed_high_risks": {
|
|
731
|
-
"description": "IDs of high risks already confirmed in a prior round. Confirmed high risks no longer trigger RISK_PENDING_CONFIRM.",
|
|
732
|
-
"type": "array",
|
|
733
|
-
"items": {
|
|
734
|
-
"type": "string"
|
|
735
|
-
}
|
|
736
|
-
},
|
|
737
|
-
"planned_objects": {
|
|
738
|
-
"description": "Planned objects for the OBJECT_REUSE check (safety-rules). Flags NEW objects whose type carries an always/strongly-recommended reuse rule.",
|
|
739
|
-
"type": "array",
|
|
740
|
-
"items": {
|
|
741
|
-
"type": "object",
|
|
742
|
-
"properties": {
|
|
743
|
-
"object_type": {
|
|
744
|
-
"type": "string",
|
|
745
|
-
"description": "Wowok object type (e.g. 'service', 'guard', 'machine')."
|
|
746
|
-
},
|
|
747
|
-
"is_new": {
|
|
748
|
-
"type": "boolean",
|
|
749
|
-
"description": "true when creating a NEW object; false when reusing an existing one."
|
|
750
|
-
},
|
|
751
|
-
"name": {
|
|
752
|
-
"description": "Planned object name (for readable messages).",
|
|
753
|
-
"type": "string"
|
|
754
|
-
}
|
|
755
|
-
},
|
|
756
|
-
"required": [
|
|
757
|
-
"object_type",
|
|
758
|
-
"is_new"
|
|
759
|
-
],
|
|
760
|
-
"additionalProperties": false
|
|
761
|
-
}
|
|
762
|
-
},
|
|
763
|
-
"planned_operations": {
|
|
764
|
-
"description": "Planned create/publish operations for the IMMUTABILITY check (safety-rules). Warns which fields become permanently locked after each operation.",
|
|
765
|
-
"type": "array",
|
|
766
|
-
"items": {
|
|
767
|
-
"type": "object",
|
|
768
|
-
"properties": {
|
|
769
|
-
"object_type": {
|
|
770
|
-
"type": "string",
|
|
771
|
-
"description": "Wowok object type (e.g. 'service', 'arbitration')."
|
|
772
|
-
},
|
|
773
|
-
"trigger": {
|
|
774
|
-
"type": "string",
|
|
775
|
-
"enum": [
|
|
776
|
-
"create",
|
|
777
|
-
"publish"
|
|
778
|
-
],
|
|
779
|
-
"description": "Lifecycle trigger that locks fields."
|
|
780
|
-
},
|
|
781
|
-
"name": {
|
|
782
|
-
"description": "Object name (for readable messages).",
|
|
783
|
-
"type": "string"
|
|
784
|
-
}
|
|
785
|
-
},
|
|
786
|
-
"required": [
|
|
787
|
-
"object_type",
|
|
788
|
-
"trigger"
|
|
789
|
-
],
|
|
790
|
-
"additionalProperties": false
|
|
791
|
-
}
|
|
792
|
-
},
|
|
793
|
-
"network": {
|
|
794
|
-
"type": "string",
|
|
795
|
-
"enum": [
|
|
796
|
-
"mainnet",
|
|
797
|
-
"testnet"
|
|
798
|
-
]
|
|
799
|
-
}
|
|
800
|
-
},
|
|
801
|
-
"required": [
|
|
802
|
-
"action"
|
|
803
|
-
],
|
|
804
|
-
"additionalProperties": false,
|
|
805
|
-
"description": "C2: puzzle snapshots → cross-object risk calibration (critical/high/medium/low/info) with blocking status. DX sugar: when 'puzzles' is omitted but 'intent' is present, the handler runs analyze_intent first."
|
|
806
|
-
},
|
|
807
|
-
{
|
|
808
|
-
"type": "object",
|
|
809
|
-
"properties": {
|
|
810
|
-
"action": {
|
|
811
|
-
"type": "string",
|
|
812
|
-
"const": "trace_substeps"
|
|
813
|
-
},
|
|
814
|
-
"project": {
|
|
815
|
-
"description": "Project prefix (human-readable unique identifier, e.g. 'myshop'). Used to key the service-build stage cache.",
|
|
816
|
-
"type": "string"
|
|
817
|
-
},
|
|
818
|
-
"version": {
|
|
819
|
-
"description": "Project version (e.g. 'v1') for the service-build stage cache. Defaults to 'v1'.",
|
|
820
|
-
"type": "string",
|
|
821
|
-
"pattern": "^v\\d+$"
|
|
822
|
-
},
|
|
823
|
-
"substeps": {
|
|
824
|
-
"description": "Substep execution records (63-spec §2.1). Required when action='trace_substeps'. Construct from your deployment execution trace.",
|
|
825
|
-
"type": "array",
|
|
826
|
-
"items": {
|
|
827
|
-
"type": "object",
|
|
828
|
-
"properties": {
|
|
829
|
-
"step_id": {
|
|
830
|
-
"type": "string",
|
|
831
|
-
"description": "Substep id, format 'T<step>.<substep>' e.g. 'T1.1'."
|
|
832
|
-
},
|
|
833
|
-
"parent_step": {
|
|
834
|
-
"type": "string",
|
|
835
|
-
"description": "Parent step id, format 'T<step>' e.g. 'T1'."
|
|
836
|
-
},
|
|
837
|
-
"object_type": {
|
|
838
|
-
"type": "string",
|
|
839
|
-
"enum": [
|
|
840
|
-
"service",
|
|
841
|
-
"machine",
|
|
842
|
-
"guard",
|
|
843
|
-
"permission",
|
|
844
|
-
"reward",
|
|
845
|
-
"arb",
|
|
846
|
-
"progress",
|
|
847
|
-
"treasury",
|
|
848
|
-
"demand",
|
|
849
|
-
"repository",
|
|
850
|
-
"contact",
|
|
851
|
-
"order",
|
|
852
|
-
"allocation",
|
|
853
|
-
"personal",
|
|
854
|
-
"payment",
|
|
855
|
-
"proof"
|
|
856
|
-
],
|
|
857
|
-
"description": "Wowok object type this substep operates on."
|
|
858
|
-
},
|
|
859
|
-
"entry_id": {
|
|
860
|
-
"type": "string",
|
|
861
|
-
"description": "Puzzle entry_id this substep corresponds to."
|
|
862
|
-
},
|
|
863
|
-
"operation_type": {
|
|
864
|
-
"type": "string",
|
|
865
|
-
"description": "operation_type for onchain_operations."
|
|
866
|
-
},
|
|
867
|
-
"network": {
|
|
868
|
-
"type": "string",
|
|
869
|
-
"enum": [
|
|
870
|
-
"testnet",
|
|
871
|
-
"mainnet"
|
|
872
|
-
],
|
|
873
|
-
"description": "Target network."
|
|
874
|
-
},
|
|
875
|
-
"input": {
|
|
876
|
-
"type": "object",
|
|
877
|
-
"properties": {
|
|
878
|
-
"data": {
|
|
879
|
-
"type": "object",
|
|
880
|
-
"propertyNames": {
|
|
881
|
-
"type": "string"
|
|
882
|
-
},
|
|
883
|
-
"additionalProperties": {},
|
|
884
|
-
"description": "Input data payload."
|
|
885
|
-
},
|
|
886
|
-
"input_refs": {
|
|
887
|
-
"type": "array",
|
|
888
|
-
"items": {
|
|
889
|
-
"type": "string"
|
|
890
|
-
},
|
|
891
|
-
"description": "Upstream substep_ids this substep consumes."
|
|
892
|
-
}
|
|
893
|
-
},
|
|
894
|
-
"required": [
|
|
895
|
-
"data",
|
|
896
|
-
"input_refs"
|
|
897
|
-
],
|
|
898
|
-
"additionalProperties": false
|
|
899
|
-
},
|
|
900
|
-
"output": {
|
|
901
|
-
"description": "Output data (filled after execution).",
|
|
902
|
-
"type": "object",
|
|
903
|
-
"properties": {
|
|
904
|
-
"object_id": {
|
|
905
|
-
"type": "string"
|
|
906
|
-
},
|
|
907
|
-
"tx_digest": {
|
|
908
|
-
"type": "string"
|
|
909
|
-
}
|
|
910
|
-
},
|
|
911
|
-
"additionalProperties": {}
|
|
912
|
-
},
|
|
913
|
-
"timestamp": {
|
|
914
|
-
"type": "number",
|
|
915
|
-
"description": "Execution timestamp (ms)."
|
|
916
|
-
},
|
|
917
|
-
"status": {
|
|
918
|
-
"type": "string",
|
|
919
|
-
"enum": [
|
|
920
|
-
"PENDING",
|
|
921
|
-
"SUCCESS",
|
|
922
|
-
"FAILED",
|
|
923
|
-
"SKIPPED"
|
|
924
|
-
],
|
|
925
|
-
"description": "Execution status."
|
|
926
|
-
},
|
|
927
|
-
"failure_reason": {
|
|
928
|
-
"description": "Failure reason (when status='FAILED').",
|
|
929
|
-
"type": "string"
|
|
930
|
-
},
|
|
931
|
-
"dependencies": {
|
|
932
|
-
"type": "object",
|
|
933
|
-
"properties": {
|
|
934
|
-
"input_refs": {
|
|
935
|
-
"type": "array",
|
|
936
|
-
"items": {
|
|
937
|
-
"type": "string"
|
|
938
|
-
}
|
|
939
|
-
},
|
|
940
|
-
"output_refs": {
|
|
941
|
-
"type": "array",
|
|
942
|
-
"items": {
|
|
943
|
-
"type": "object",
|
|
944
|
-
"properties": {
|
|
945
|
-
"substep_id": {
|
|
946
|
-
"type": "string",
|
|
947
|
-
"description": "Downstream substep that consumes this output."
|
|
948
|
-
},
|
|
949
|
-
"field_path": {
|
|
950
|
-
"type": "string",
|
|
951
|
-
"description": "Field path produced by this substep (e.g. 'permission_address')."
|
|
952
|
-
}
|
|
953
|
-
},
|
|
954
|
-
"required": [
|
|
955
|
-
"substep_id",
|
|
956
|
-
"field_path"
|
|
957
|
-
],
|
|
958
|
-
"additionalProperties": false
|
|
959
|
-
}
|
|
960
|
-
}
|
|
961
|
-
},
|
|
962
|
-
"required": [
|
|
963
|
-
"input_refs",
|
|
964
|
-
"output_refs"
|
|
965
|
-
],
|
|
966
|
-
"additionalProperties": false,
|
|
967
|
-
"description": "Dependencies (input_refs + output_refs)."
|
|
968
|
-
},
|
|
969
|
-
"retry_info": {
|
|
970
|
-
"description": "Retry info (when this substep is a retry of an earlier one).",
|
|
971
|
-
"type": "object",
|
|
972
|
-
"properties": {
|
|
973
|
-
"original_step_id": {
|
|
974
|
-
"type": "string"
|
|
975
|
-
},
|
|
976
|
-
"retry_count": {
|
|
977
|
-
"type": "number"
|
|
978
|
-
},
|
|
979
|
-
"retry_reason": {
|
|
980
|
-
"type": "string"
|
|
981
|
-
}
|
|
982
|
-
},
|
|
983
|
-
"required": [
|
|
984
|
-
"original_step_id",
|
|
985
|
-
"retry_count",
|
|
986
|
-
"retry_reason"
|
|
987
|
-
],
|
|
988
|
-
"additionalProperties": false
|
|
989
|
-
}
|
|
990
|
-
},
|
|
991
|
-
"required": [
|
|
992
|
-
"step_id",
|
|
993
|
-
"parent_step",
|
|
994
|
-
"object_type",
|
|
995
|
-
"entry_id",
|
|
996
|
-
"operation_type",
|
|
997
|
-
"network",
|
|
998
|
-
"input",
|
|
999
|
-
"timestamp",
|
|
1000
|
-
"status",
|
|
1001
|
-
"dependencies"
|
|
1002
|
-
],
|
|
1003
|
-
"additionalProperties": false
|
|
1004
|
-
}
|
|
1005
|
-
},
|
|
1006
|
-
"substep_edges": {
|
|
1007
|
-
"description": "Explicit DAG edges. When omitted, edges are derived from each substep's input_refs.",
|
|
1008
|
-
"type": "array",
|
|
1009
|
-
"items": {
|
|
1010
|
-
"type": "object",
|
|
1011
|
-
"properties": {
|
|
1012
|
-
"source": {
|
|
1013
|
-
"type": "string",
|
|
1014
|
-
"description": "Source substep id."
|
|
1015
|
-
},
|
|
1016
|
-
"target": {
|
|
1017
|
-
"type": "string",
|
|
1018
|
-
"description": "Target substep id (depends on source)."
|
|
1019
|
-
},
|
|
1020
|
-
"field_path": {
|
|
1021
|
-
"type": "string",
|
|
1022
|
-
"description": "Field path flowing along this edge."
|
|
1023
|
-
}
|
|
1024
|
-
},
|
|
1025
|
-
"required": [
|
|
1026
|
-
"source",
|
|
1027
|
-
"target",
|
|
1028
|
-
"field_path"
|
|
1029
|
-
],
|
|
1030
|
-
"additionalProperties": false
|
|
1031
|
-
}
|
|
1032
|
-
},
|
|
1033
|
-
"network": {
|
|
1034
|
-
"type": "string",
|
|
1035
|
-
"enum": [
|
|
1036
|
-
"mainnet",
|
|
1037
|
-
"testnet"
|
|
1038
|
-
]
|
|
1039
|
-
}
|
|
1040
|
-
},
|
|
1041
|
-
"required": [
|
|
1042
|
-
"action"
|
|
1043
|
-
],
|
|
1044
|
-
"additionalProperties": false,
|
|
1045
|
-
"description": "C3: substep execution records → DAG coherence analysis (dangling inputs, circular refs, missing outputs, cross-step breaks, topological order, D-10 verdict)."
|
|
1046
|
-
},
|
|
1047
|
-
{
|
|
1048
|
-
"type": "object",
|
|
1049
|
-
"properties": {
|
|
1050
|
-
"action": {
|
|
1051
|
-
"type": "string",
|
|
1052
|
-
"const": "merchant_guide"
|
|
1053
|
-
},
|
|
1054
|
-
"intent": {
|
|
1055
|
-
"description": "Business intent text (e.g. 'I rent cameras to photographers with deposit and damage inspection'). Used as the primary input; falls back to project_description / project_name when omitted.",
|
|
1056
|
-
"type": "string",
|
|
1057
|
-
"maxLength": 2000
|
|
1058
|
-
},
|
|
1059
|
-
"project_name": {
|
|
1060
|
-
"description": "Optional business name — used as an intent fallback when 'intent' is omitted.",
|
|
1061
|
-
"type": "string",
|
|
1062
|
-
"minLength": 1,
|
|
1063
|
-
"maxLength": 200
|
|
1064
|
-
},
|
|
1065
|
-
"project_description": {
|
|
1066
|
-
"description": "Optional business description — used as an intent fallback when 'intent' is omitted.",
|
|
1067
|
-
"type": "string",
|
|
1068
|
-
"maxLength": 2000
|
|
1069
|
-
},
|
|
1070
|
-
"project_industry": {
|
|
1071
|
-
"description": "Industry tag. Drives industry-specific risk calibration (e.g. 'freelance' does NOT require compensation_fund, while 'rental'/'travel' do). Any registered industry is accepted — builtin: 'general', 'retail', 'retail_d2c', 'service', 'rental', 'freelance', 'education', 'travel', 'subscription', 'custom' — plus custom industries registered via industry packs.",
|
|
1072
|
-
"type": "string",
|
|
1073
|
-
"pattern": "^[a-z][a-z0-9_]*$"
|
|
1074
|
-
},
|
|
1075
|
-
"guide_state": {
|
|
1076
|
-
"description": "Wizard state from a prior merchant_guide result. Pass back UNCHANGED on every subsequent call. The handler re-runs the pipeline deterministically and advances to the furthest reachable step.",
|
|
1077
|
-
"type": "object",
|
|
1078
|
-
"properties": {
|
|
1079
|
-
"intent_text": {
|
|
1080
|
-
"type": "string",
|
|
1081
|
-
"description": "Step 1: raw merchant business description."
|
|
1082
|
-
},
|
|
1083
|
-
"confirmed_industry": {
|
|
1084
|
-
"description": "Step 2: merchant-confirmed industry id.",
|
|
1085
|
-
"type": "string"
|
|
1086
|
-
},
|
|
1087
|
-
"currency": {
|
|
1088
|
-
"description": "Step 5: payment currency (default WOW).",
|
|
1089
|
-
"type": "string"
|
|
1090
|
-
},
|
|
1091
|
-
"deliverables": {
|
|
1092
|
-
"description": "Step 4: merchant-defined deliverables (opaque passthrough).",
|
|
1093
|
-
"type": "array",
|
|
1094
|
-
"items": {}
|
|
1095
|
-
},
|
|
1096
|
-
"payment_override": {
|
|
1097
|
-
"description": "Step 5: payment structure overrides (opaque passthrough).",
|
|
1098
|
-
"type": "object",
|
|
1099
|
-
"propertyNames": {
|
|
1100
|
-
"type": "string"
|
|
1101
|
-
},
|
|
1102
|
-
"additionalProperties": {}
|
|
1103
|
-
},
|
|
1104
|
-
"trust_override": {
|
|
1105
|
-
"description": "Step 6: trust mechanism overrides (opaque passthrough).",
|
|
1106
|
-
"type": "object",
|
|
1107
|
-
"propertyNames": {
|
|
1108
|
-
"type": "string"
|
|
1109
|
-
},
|
|
1110
|
-
"additionalProperties": {}
|
|
1111
|
-
},
|
|
1112
|
-
"adopted_module_ids": {
|
|
1113
|
-
"description": "Step 6: merchant-confirmed business module ids.",
|
|
1114
|
-
"type": "array",
|
|
1115
|
-
"items": {
|
|
1116
|
-
"type": "string"
|
|
1117
|
-
}
|
|
1118
|
-
},
|
|
1119
|
-
"guard_resolutions": {
|
|
1120
|
-
"description": "Accumulated judgment-layer guard resolutions (C6-DEEP) — pass back UNCHANGED with the rest of the state.",
|
|
1121
|
-
"type": "object",
|
|
1122
|
-
"propertyNames": {
|
|
1123
|
-
"type": "string"
|
|
1124
|
-
},
|
|
1125
|
-
"additionalProperties": {}
|
|
1126
|
-
},
|
|
1127
|
-
"review_mode": {
|
|
1128
|
-
"description": "Per-build review-rail mode (v53). Absent = the template's declared review_mode applies.",
|
|
1129
|
-
"type": "string",
|
|
1130
|
-
"enum": [
|
|
1131
|
-
"review",
|
|
1132
|
-
"review_reward",
|
|
1133
|
-
"none"
|
|
1134
|
-
]
|
|
1135
|
-
},
|
|
1136
|
-
"reward_funding": {
|
|
1137
|
-
"description": "Review reward pool funding, smallest-unit string (required when the effective review mode is review_reward).",
|
|
1138
|
-
"type": "string"
|
|
1139
|
-
},
|
|
1140
|
-
"reward_claim_amount": {
|
|
1141
|
-
"description": "Per-claim reward bounty mounted on the claim guard_add, smallest-unit string (BK15-F09: schema-required on the mount; the kernel never fabricates a real-money parameter).",
|
|
1142
|
-
"type": "string"
|
|
1143
|
-
},
|
|
1144
|
-
"experience_compensation_mode": {
|
|
1145
|
-
"description": "Per-build goodwill track mode (K3 C-11). Absent = the template's declared experience_compensation_mode applies (the delivery templates ship 'reward' as the catalog default).",
|
|
1146
|
-
"type": "string",
|
|
1147
|
-
"enum": [
|
|
1148
|
-
"reward",
|
|
1149
|
-
"none"
|
|
1150
|
-
]
|
|
1151
|
-
},
|
|
1152
|
-
"experience_pool_funding": {
|
|
1153
|
-
"description": "Goodwill pool funding, smallest-unit string (K3 C-11 + N2 K4R-261103/ssd F-01: required when the effective experience_compensation_mode is 'reward' — compile blocks with EXPERIENCE_COMPENSATION_UNFUNDED otherwise).",
|
|
1154
|
-
"type": "string"
|
|
1155
|
-
},
|
|
1156
|
-
"compensation_fund": {
|
|
1157
|
-
"description": "Arbitration compensation-pool funding, smallest-unit string (N1 K4R-261103/ddmq F-22: required on any build mounting an arb-ruling-won edge — compile blocks with COMPENSATION_FUND_REQUIRED; plan >= 3x a typical order, MAX_INDEMNITY_MULTIPLE).",
|
|
1158
|
-
"type": "string"
|
|
1159
|
-
},
|
|
1160
|
-
"after_sales_mode": {
|
|
1161
|
-
"description": "Per-build after-sales mode (D12 refactor 4). Absent = the template's declared after_sales_mode applies. Declaring a mode with no backing rail in machine_shape is a compile blocker (AFTER_SALES_RAIL_MISSING).",
|
|
1162
|
-
"type": "string",
|
|
1163
|
-
"enum": [
|
|
1164
|
-
"return",
|
|
1165
|
-
"exchange",
|
|
1166
|
-
"warranty",
|
|
1167
|
-
"none"
|
|
1168
|
-
]
|
|
1169
|
-
},
|
|
1170
|
-
"acceptance_mode": {
|
|
1171
|
-
"description": "Per-build acceptance/judging mode (D12 refactor 2). Absent = the template's declared acceptance_mode applies. A judge-decided mode (contest/bounty/agent) without arbitration_mode 'third_party' is a compile blocker (ACCEPTANCE_JUDGE_NOT_INDEPENDENT); a finite revision_rounds_max with no counter Repository guard is a compile blocker (ACCEPTANCE_REVISION_UNBOUNDED).",
|
|
1172
|
-
"type": "string",
|
|
1173
|
-
"enum": [
|
|
1174
|
-
"milestone",
|
|
1175
|
-
"contest",
|
|
1176
|
-
"bounty",
|
|
1177
|
-
"agent",
|
|
1178
|
-
"none"
|
|
1179
|
-
]
|
|
1180
|
-
},
|
|
1181
|
-
"installment_mode": {
|
|
1182
|
-
"description": "Per-build installment/deposit mode (D12 refactor 3). Absent = the template's declared installment_mode applies. A capture forward with no fund-gate Guard is a compile blocker (INSTALLMENT_FUNDING_UNGATED); a deposit-held state with no exit rail is a compile blocker (INSTALLMENT_DEPOSIT_STRANDED).",
|
|
1183
|
-
"type": "string",
|
|
1184
|
-
"enum": [
|
|
1185
|
-
"deposit_balance",
|
|
1186
|
-
"milestone_n",
|
|
1187
|
-
"none"
|
|
1188
|
-
]
|
|
1189
|
-
},
|
|
1190
|
-
"affiliate_mode": {
|
|
1191
|
-
"description": "Per-build affiliate commission overlay (D12 batch 5). Absent = the template's declared affiliate_mode applies. A declared commission overlay with no commission rail is a compile blocker (AFFILIATE_RAIL_MISSING); a commission with no post-lock no-clawback disclosure build_note is a compile blocker (AFFILIATE_CLAWBACK_UNDISCLOSED).",
|
|
1192
|
-
"type": "string",
|
|
1193
|
-
"enum": [
|
|
1194
|
-
"commission",
|
|
1195
|
-
"none"
|
|
1196
|
-
]
|
|
1197
|
-
},
|
|
1198
|
-
"crowdfunding_mode": {
|
|
1199
|
-
"description": "Per-build crowdfunding campaign overlay (D12 batch 7). Absent = the template's declared crowdfunding_mode applies. A declared threshold/flexible overlay with no two-leg escrow-exit gate (release XOR refund, D-BUG-2) is a compile blocker (CROWDFUNDING_THRESHOLD_GATE_MISSING); a threshold gate whose aggregate is NOT a writer-bound sum-where (id_from signer) is a compile blocker (CROWDFUNDING_AGGREGATE_UNBOUND); a missing L-04/L-01/L-05 disclosure build_note is a compile blocker (CROWDFUNDING_DISCLOSURE_MISSING).",
|
|
1200
|
-
"type": "string",
|
|
1201
|
-
"enum": [
|
|
1202
|
-
"threshold",
|
|
1203
|
-
"flexible",
|
|
1204
|
-
"none"
|
|
1205
|
-
]
|
|
1206
|
-
},
|
|
1207
|
-
"logistics_mode": {
|
|
1208
|
-
"description": "Per-build fulfillment topology (K3 batch C, K-2). Absent = the template's declared logistics_mode applies. A declared topology the machine_shape cannot honor is a compile blocker: courier with no named_operator handover rail (LOGISTICS_COURIER_RAIL_MISSING) or a pooled delivery fee (LOGISTICS_COURIER_FEE_POOLED); pickup_point without the absolute batch cutoff or the unclaimed-goods exit window (LOGISTICS_PICKUP_CUTOFF_MISSING); carrier without tracking evidence (LOGISTICS_CARRIER_EVIDENCE_MISSING); any physical mode without a transit-loss story (LOGISTICS_TRANSIT_LOSS_UNCOVERED); courier/pickup_point without the two dispatch disclosures (LOGISTICS_DISPATCH_UNDISCLOSED).",
|
|
1209
|
-
"type": "string",
|
|
1210
|
-
"enum": [
|
|
1211
|
-
"none",
|
|
1212
|
-
"carrier",
|
|
1213
|
-
"merchant_managed",
|
|
1214
|
-
"courier",
|
|
1215
|
-
"pickup_point"
|
|
1216
|
-
]
|
|
1217
|
-
},
|
|
1218
|
-
"supply_chain": {
|
|
1219
|
-
"description": "Supply-chain composition (Goal 2/4): the Services this shop PROCURES fulfilment from. compile appends each promise's material (order_allocators-bound settlement gate, rendezvous ledger, optional third-party payout rail) BEFORE the Service publish and declares plan.inputs.fulfillment_axis. Incomplete or conflicting promises are compile blockers (SUPPLY_CHAIN_PROMISE_INCOMPLETE / _GATE_TEMPLATE / _ACK_WITHOUT_DEADLINE / _PAYOUT_RATE / _ID_CONFLICT). Absent = the shop fulfils everything itself.",
|
|
1220
|
-
"type": "array",
|
|
1221
|
-
"items": {
|
|
1222
|
-
"type": "object",
|
|
1223
|
-
"properties": {
|
|
1224
|
-
"sub_service": {
|
|
1225
|
-
"type": "string",
|
|
1226
|
-
"description": "The procured sub-Service: an on-chain address or a resolvable LocalMark/service name."
|
|
1227
|
-
},
|
|
1228
|
-
"axis": {
|
|
1229
|
-
"type": "string",
|
|
1230
|
-
"enum": [
|
|
1231
|
-
"merchant_procured",
|
|
1232
|
-
"user_procured"
|
|
1233
|
-
],
|
|
1234
|
-
"description": "Who owns the fulfilment order. merchant_procured = this merchant buys it (the merchant-side rail pays payout_to and no cross-order owner tie is emitted); user_procured = the buyer buys it and presents the foreign order (the rail asserts order.owner(host) == order.owner(foreign))."
|
|
1235
|
-
},
|
|
1236
|
-
"service_name": {
|
|
1237
|
-
"description": "The host Service's own name (the money gate's host binding). Default: the plan's Service create name.",
|
|
1238
|
-
"type": "string"
|
|
1239
|
-
},
|
|
1240
|
-
"done_node": {
|
|
1241
|
-
"type": "string",
|
|
1242
|
-
"description": "The node whose arrival makes an order settle-eligible (e.g. 'completed' or 'delivered')."
|
|
1243
|
-
},
|
|
1244
|
-
"done_node_alt": {
|
|
1245
|
-
"description": "A further settle-eligible node — pass every optional post-settlement side action's node so the rail still fires after Praise moves progress.current.",
|
|
1246
|
-
"type": "string"
|
|
1247
|
-
},
|
|
1248
|
-
"done_node_alt2": {
|
|
1249
|
-
"description": "A third settle-eligible node.",
|
|
1250
|
-
"type": "string"
|
|
1251
|
-
},
|
|
1252
|
-
"form": {
|
|
1253
|
-
"description": "How the fulfilment fact reaches the money gate. rendezvous (default) proves the pairing through a shared ledger row; submission only records the caller-supplied foreign order address (P2 only, weaker).",
|
|
1254
|
-
"type": "string",
|
|
1255
|
-
"enum": [
|
|
1256
|
-
"rendezvous",
|
|
1257
|
-
"submission"
|
|
1258
|
-
]
|
|
1259
|
-
},
|
|
1260
|
-
"fact_key": {
|
|
1261
|
-
"description": "Policy key of the forward fulfilment row. Default 'fulfilment'.",
|
|
1262
|
-
"type": "string"
|
|
1263
|
-
},
|
|
1264
|
-
"ack_key": {
|
|
1265
|
-
"description": "Policy key of the buyer acknowledgement. Default '<fact_key>_ack'.",
|
|
1266
|
-
"type": "string"
|
|
1267
|
-
},
|
|
1268
|
-
"ack_window_days": {
|
|
1269
|
-
"description": "merchant_procured only: days of buyer silence that count as acknowledgement, measured from the order's LAST entry into done_node. Default 3; 0 is refused (a costless veto).",
|
|
1270
|
-
"type": "number"
|
|
1271
|
-
},
|
|
1272
|
-
"payout_to": {
|
|
1273
|
-
"description": "The fulfilment party's payout address. Absent = no third-party rail (the host merchant settles the sub-service itself).",
|
|
1274
|
-
"type": "string"
|
|
1275
|
-
},
|
|
1276
|
-
"payout_rate": {
|
|
1277
|
-
"description": "Basis points (1..10000) of the settlement rail paid to payout_to. Default 10000.",
|
|
1278
|
-
"type": "number"
|
|
1279
|
-
},
|
|
1280
|
-
"repository": {
|
|
1281
|
-
"description": "An EXISTING rendezvous Repository name to reuse. Omit to create one (see repository_name).",
|
|
1282
|
-
"type": "string"
|
|
1283
|
-
},
|
|
1284
|
-
"repository_name": {
|
|
1285
|
-
"description": "The name a CREATED rendezvous Repository takes. Default '<service_name>_supply_chain'. Ignored when `repository` names an existing one.",
|
|
1286
|
-
"type": "string"
|
|
1287
|
-
},
|
|
1288
|
-
"id_prefix": {
|
|
1289
|
-
"description": "Step-id prefix for the emitted objects. Default 'sc' for the first promise, 'sc2', 'sc3'... for later ones. An explicit duplicate is refused (SUPPLY_CHAIN_ID_CONFLICT).",
|
|
1290
|
-
"type": "string"
|
|
1291
|
-
}
|
|
1292
|
-
},
|
|
1293
|
-
"required": [
|
|
1294
|
-
"sub_service",
|
|
1295
|
-
"axis",
|
|
1296
|
-
"done_node"
|
|
1297
|
-
],
|
|
1298
|
-
"additionalProperties": false
|
|
1299
|
-
}
|
|
1300
|
-
},
|
|
1301
|
-
"fee_overrides": {
|
|
1302
|
-
"description": "P2-3: answers to the template's structured business questions (user_input_questions of the prior result), keyed by the fee_params name — e.g. { settlement_days: 20 }. Each entry is a compile input, so the answer overrides the template default; unanswered questions keep the default.",
|
|
1303
|
-
"type": "object",
|
|
1304
|
-
"propertyNames": {
|
|
1305
|
-
"type": "string"
|
|
1306
|
-
},
|
|
1307
|
-
"additionalProperties": {
|
|
1308
|
-
"anyOf": [
|
|
1309
|
-
{
|
|
1310
|
-
"type": "number"
|
|
1311
|
-
},
|
|
1312
|
-
{
|
|
1313
|
-
"type": "string"
|
|
1314
|
-
}
|
|
1315
|
-
]
|
|
1316
|
-
}
|
|
1317
|
-
}
|
|
1318
|
-
},
|
|
1319
|
-
"required": [
|
|
1320
|
-
"intent_text"
|
|
1321
|
-
],
|
|
1322
|
-
"additionalProperties": false
|
|
1323
|
-
},
|
|
1324
|
-
"guide_confirm": {
|
|
1325
|
-
"description": "Merchant decisions for the current wizard step. Merged over guide_state. Typical flow: call 1 with intent only → receive step-2 industry options → call 2 with guide_state + guide_confirm={industry} → receive full blueprint plan (steps 7-10).",
|
|
1326
|
-
"type": "object",
|
|
1327
|
-
"properties": {
|
|
1328
|
-
"industry": {
|
|
1329
|
-
"description": "Step 2 confirmation: industry id (e.g. 'freelance').",
|
|
1330
|
-
"type": "string"
|
|
1331
|
-
},
|
|
1332
|
-
"currency": {
|
|
1333
|
-
"description": "Step 5 confirmation: payment currency.",
|
|
1334
|
-
"type": "string"
|
|
1335
|
-
},
|
|
1336
|
-
"deliverables": {
|
|
1337
|
-
"description": "Step 4 confirmation: deliverable definitions.",
|
|
1338
|
-
"type": "array",
|
|
1339
|
-
"items": {}
|
|
1340
|
-
},
|
|
1341
|
-
"payment": {
|
|
1342
|
-
"description": "Step 5 confirmation: { model, triggers, allocation } overrides.",
|
|
1343
|
-
"type": "object",
|
|
1344
|
-
"propertyNames": {
|
|
1345
|
-
"type": "string"
|
|
1346
|
-
},
|
|
1347
|
-
"additionalProperties": {}
|
|
1348
|
-
},
|
|
1349
|
-
"trust": {
|
|
1350
|
-
"description": "Step 6 confirmation: { refundPolicy, arbitration, escrow } overrides.",
|
|
1351
|
-
"type": "object",
|
|
1352
|
-
"propertyNames": {
|
|
1353
|
-
"type": "string"
|
|
1354
|
-
},
|
|
1355
|
-
"additionalProperties": {}
|
|
1356
|
-
},
|
|
1357
|
-
"adopted_module_ids": {
|
|
1358
|
-
"description": "Step 6 confirmation: business module ids to adopt (overrides recommendation).",
|
|
1359
|
-
"type": "array",
|
|
1360
|
-
"items": {
|
|
1361
|
-
"type": "string"
|
|
1362
|
-
}
|
|
1363
|
-
},
|
|
1364
|
-
"guard_resolutions": {
|
|
1365
|
-
"description": "Judgment-layer resolutions for pending guard designs (keyed by pending_guard_designs[].key; C6-DEEP). A blocked audit lists every unresolved design — resolve each here (kind 'inline' with the resolved Guard table+root, or kind 'template' with a matching tpl_* id) and call merchant_guide again. Advisory designs that do not apply to this shop may be resolved with {kind:'omit'} instead (honored only for designs with no inbound binding; an omit of a bound design is refused with GUARD_OMIT_UNSUPPORTED). Caller input wins over module-derived resolutions. The publish freeze gate still runs: a resolution only unblocks the plan when the closed audit is clean.",
|
|
1366
|
-
"type": "object",
|
|
1367
|
-
"propertyNames": {
|
|
1368
|
-
"type": "string"
|
|
1369
|
-
},
|
|
1370
|
-
"additionalProperties": {
|
|
1371
|
-
"anyOf": [
|
|
1372
|
-
{
|
|
1373
|
-
"type": "object",
|
|
1374
|
-
"properties": {
|
|
1375
|
-
"kind": {
|
|
1376
|
-
"type": "string",
|
|
1377
|
-
"const": "template"
|
|
1378
|
-
},
|
|
1379
|
-
"template_id": {
|
|
1380
|
-
"type": "string",
|
|
1381
|
-
"description": "A 'tpl_*' guard template id to fill (template fee_params + params feed the fill)."
|
|
1382
|
-
},
|
|
1383
|
-
"params": {
|
|
1384
|
-
"description": "Extra fill params over the merged fee_params.",
|
|
1385
|
-
"type": "object",
|
|
1386
|
-
"propertyNames": {
|
|
1387
|
-
"type": "string"
|
|
1388
|
-
},
|
|
1389
|
-
"additionalProperties": {}
|
|
1390
|
-
}
|
|
1391
|
-
},
|
|
1392
|
-
"required": [
|
|
1393
|
-
"kind",
|
|
1394
|
-
"template_id"
|
|
1395
|
-
],
|
|
1396
|
-
"additionalProperties": false
|
|
1397
|
-
},
|
|
1398
|
-
{
|
|
1399
|
-
"type": "object",
|
|
1400
|
-
"properties": {
|
|
1401
|
-
"kind": {
|
|
1402
|
-
"type": "string",
|
|
1403
|
-
"const": "inline"
|
|
1404
|
-
},
|
|
1405
|
-
"description": {
|
|
1406
|
-
"description": "Guard description (defaults to the pending design's purpose).",
|
|
1407
|
-
"type": "string"
|
|
1408
|
-
},
|
|
1409
|
-
"table": {
|
|
1410
|
-
"minItems": 1,
|
|
1411
|
-
"type": "array",
|
|
1412
|
-
"items": {
|
|
1413
|
-
"type": "object",
|
|
1414
|
-
"propertyNames": {
|
|
1415
|
-
"type": "string"
|
|
1416
|
-
},
|
|
1417
|
-
"additionalProperties": {}
|
|
1418
|
-
},
|
|
1419
|
-
"description": "Guard passport table rows (identifier/b_submission/value_type/...)."
|
|
1420
|
-
},
|
|
1421
|
-
"root": {
|
|
1422
|
-
"type": "object",
|
|
1423
|
-
"properties": {
|
|
1424
|
-
"type": {
|
|
1425
|
-
"type": "string"
|
|
1426
|
-
}
|
|
1427
|
-
},
|
|
1428
|
-
"required": [
|
|
1429
|
-
"type"
|
|
1430
|
-
],
|
|
1431
|
-
"additionalProperties": {},
|
|
1432
|
-
"description": "Guard logic root node (a typed tree node)."
|
|
1433
|
-
}
|
|
1434
|
-
},
|
|
1435
|
-
"required": [
|
|
1436
|
-
"kind",
|
|
1437
|
-
"table",
|
|
1438
|
-
"root"
|
|
1439
|
-
],
|
|
1440
|
-
"additionalProperties": false
|
|
1441
|
-
},
|
|
1442
|
-
{
|
|
1443
|
-
"type": "object",
|
|
1444
|
-
"properties": {
|
|
1445
|
-
"kind": {
|
|
1446
|
-
"type": "string",
|
|
1447
|
-
"const": "omit"
|
|
1448
|
-
}
|
|
1449
|
-
},
|
|
1450
|
-
"required": [
|
|
1451
|
-
"kind"
|
|
1452
|
-
],
|
|
1453
|
-
"additionalProperties": false
|
|
1454
|
-
}
|
|
1455
|
-
]
|
|
1456
|
-
}
|
|
1457
|
-
},
|
|
1458
|
-
"review_mode": {
|
|
1459
|
-
"description": "Step 6 confirmation: per-build review-rail mode (v53). Absent = the template's declared review_mode applies.",
|
|
1460
|
-
"type": "string",
|
|
1461
|
-
"enum": [
|
|
1462
|
-
"review",
|
|
1463
|
-
"review_reward",
|
|
1464
|
-
"none"
|
|
1465
|
-
]
|
|
1466
|
-
},
|
|
1467
|
-
"reward_funding": {
|
|
1468
|
-
"description": "Step 6 confirmation: review reward pool funding, smallest-unit string (required when the effective review mode is review_reward).",
|
|
1469
|
-
"type": "string"
|
|
1470
|
-
},
|
|
1471
|
-
"reward_claim_amount": {
|
|
1472
|
-
"description": "Step 6 confirmation: per-claim reward bounty on the claim guard_add, smallest-unit string (BK15-F09).",
|
|
1473
|
-
"type": "string"
|
|
1474
|
-
},
|
|
1475
|
-
"experience_compensation_mode": {
|
|
1476
|
-
"description": "Step 6 confirmation: per-build goodwill track mode (K3 C-11). Absent = the template's declared experience_compensation_mode applies.",
|
|
1477
|
-
"type": "string",
|
|
1478
|
-
"enum": [
|
|
1479
|
-
"reward",
|
|
1480
|
-
"none"
|
|
1481
|
-
]
|
|
1482
|
-
},
|
|
1483
|
-
"experience_pool_funding": {
|
|
1484
|
-
"description": "Step 6 confirmation: goodwill pool funding, smallest-unit string (N2 K4R-261103/ssd F-01: required when the effective experience_compensation_mode is 'reward' — compile blocks with EXPERIENCE_COMPENSATION_UNFUNDED otherwise).",
|
|
1485
|
-
"type": "string"
|
|
1486
|
-
},
|
|
1487
|
-
"compensation_fund": {
|
|
1488
|
-
"description": "Step 6 confirmation: arbitration compensation-pool funding, smallest-unit string (N1 K4R-261103/ddmq F-22: required on any build mounting an arb-ruling-won edge — compile blocks with COMPENSATION_FUND_REQUIRED).",
|
|
1489
|
-
"type": "string"
|
|
1490
|
-
},
|
|
1491
|
-
"after_sales_mode": {
|
|
1492
|
-
"description": "Step 6 confirmation: per-build after-sales mode (D12 refactor 4). Absent = the template's declared after_sales_mode applies.",
|
|
1493
|
-
"type": "string",
|
|
1494
|
-
"enum": [
|
|
1495
|
-
"return",
|
|
1496
|
-
"exchange",
|
|
1497
|
-
"warranty",
|
|
1498
|
-
"none"
|
|
1499
|
-
]
|
|
1500
|
-
},
|
|
1501
|
-
"acceptance_mode": {
|
|
1502
|
-
"description": "Step 6 confirmation: per-build acceptance/judging mode (D12 refactor 2). Absent = the template's declared acceptance_mode applies.",
|
|
1503
|
-
"type": "string",
|
|
1504
|
-
"enum": [
|
|
1505
|
-
"milestone",
|
|
1506
|
-
"contest",
|
|
1507
|
-
"bounty",
|
|
1508
|
-
"agent",
|
|
1509
|
-
"none"
|
|
1510
|
-
]
|
|
1511
|
-
},
|
|
1512
|
-
"installment_mode": {
|
|
1513
|
-
"description": "Step 6 confirmation: per-build installment/deposit mode (D12 refactor 3). Absent = the template's declared installment_mode applies.",
|
|
1514
|
-
"type": "string",
|
|
1515
|
-
"enum": [
|
|
1516
|
-
"deposit_balance",
|
|
1517
|
-
"milestone_n",
|
|
1518
|
-
"none"
|
|
1519
|
-
]
|
|
1520
|
-
},
|
|
1521
|
-
"affiliate_mode": {
|
|
1522
|
-
"description": "Step 6 confirmation: per-build affiliate commission overlay (D12 batch 5). Absent = the template's declared affiliate_mode applies.",
|
|
1523
|
-
"type": "string",
|
|
1524
|
-
"enum": [
|
|
1525
|
-
"commission",
|
|
1526
|
-
"none"
|
|
1527
|
-
]
|
|
1528
|
-
},
|
|
1529
|
-
"crowdfunding_mode": {
|
|
1530
|
-
"description": "Step 6 confirmation: per-build crowdfunding campaign overlay (D12 batch 7). Absent = the template's declared crowdfunding_mode applies.",
|
|
1531
|
-
"type": "string",
|
|
1532
|
-
"enum": [
|
|
1533
|
-
"threshold",
|
|
1534
|
-
"flexible",
|
|
1535
|
-
"none"
|
|
1536
|
-
]
|
|
1537
|
-
},
|
|
1538
|
-
"logistics_mode": {
|
|
1539
|
-
"description": "Step 6 confirmation: per-build fulfillment topology (K3 batch C, K-2). Absent = the template's declared logistics_mode applies.",
|
|
1540
|
-
"type": "string",
|
|
1541
|
-
"enum": [
|
|
1542
|
-
"none",
|
|
1543
|
-
"carrier",
|
|
1544
|
-
"merchant_managed",
|
|
1545
|
-
"courier",
|
|
1546
|
-
"pickup_point"
|
|
1547
|
-
]
|
|
1548
|
-
},
|
|
1549
|
-
"supply_chain": {
|
|
1550
|
-
"description": "Step 6 confirmation: Supply-chain composition (Goal 2/4) — the Services this shop PROCURES fulfilment from. Emitted by compile as build material (rendezvous gate + ledger + optional third-party payout rail) before the Service publish.",
|
|
1551
|
-
"type": "array",
|
|
1552
|
-
"items": {
|
|
1553
|
-
"type": "object",
|
|
1554
|
-
"properties": {
|
|
1555
|
-
"sub_service": {
|
|
1556
|
-
"type": "string",
|
|
1557
|
-
"description": "The procured sub-Service: an on-chain address or a resolvable LocalMark/service name."
|
|
1558
|
-
},
|
|
1559
|
-
"axis": {
|
|
1560
|
-
"type": "string",
|
|
1561
|
-
"enum": [
|
|
1562
|
-
"merchant_procured",
|
|
1563
|
-
"user_procured"
|
|
1564
|
-
],
|
|
1565
|
-
"description": "Who owns the fulfilment order. merchant_procured = this merchant buys it (the merchant-side rail pays payout_to and no cross-order owner tie is emitted); user_procured = the buyer buys it and presents the foreign order (the rail asserts order.owner(host) == order.owner(foreign))."
|
|
1566
|
-
},
|
|
1567
|
-
"service_name": {
|
|
1568
|
-
"description": "The host Service's own name (the money gate's host binding). Default: the plan's Service create name.",
|
|
1569
|
-
"type": "string"
|
|
1570
|
-
},
|
|
1571
|
-
"done_node": {
|
|
1572
|
-
"type": "string",
|
|
1573
|
-
"description": "The node whose arrival makes an order settle-eligible (e.g. 'completed' or 'delivered')."
|
|
1574
|
-
},
|
|
1575
|
-
"done_node_alt": {
|
|
1576
|
-
"description": "A further settle-eligible node — pass every optional post-settlement side action's node so the rail still fires after Praise moves progress.current.",
|
|
1577
|
-
"type": "string"
|
|
1578
|
-
},
|
|
1579
|
-
"done_node_alt2": {
|
|
1580
|
-
"description": "A third settle-eligible node.",
|
|
1581
|
-
"type": "string"
|
|
1582
|
-
},
|
|
1583
|
-
"form": {
|
|
1584
|
-
"description": "How the fulfilment fact reaches the money gate. rendezvous (default) proves the pairing through a shared ledger row; submission only records the caller-supplied foreign order address (P2 only, weaker).",
|
|
1585
|
-
"type": "string",
|
|
1586
|
-
"enum": [
|
|
1587
|
-
"rendezvous",
|
|
1588
|
-
"submission"
|
|
1589
|
-
]
|
|
1590
|
-
},
|
|
1591
|
-
"fact_key": {
|
|
1592
|
-
"description": "Policy key of the forward fulfilment row. Default 'fulfilment'.",
|
|
1593
|
-
"type": "string"
|
|
1594
|
-
},
|
|
1595
|
-
"ack_key": {
|
|
1596
|
-
"description": "Policy key of the buyer acknowledgement. Default '<fact_key>_ack'.",
|
|
1597
|
-
"type": "string"
|
|
1598
|
-
},
|
|
1599
|
-
"ack_window_days": {
|
|
1600
|
-
"description": "merchant_procured only: days of buyer silence that count as acknowledgement, measured from the order's LAST entry into done_node. Default 3; 0 is refused (a costless veto).",
|
|
1601
|
-
"type": "number"
|
|
1602
|
-
},
|
|
1603
|
-
"payout_to": {
|
|
1604
|
-
"description": "The fulfilment party's payout address. Absent = no third-party rail (the host merchant settles the sub-service itself).",
|
|
1605
|
-
"type": "string"
|
|
1606
|
-
},
|
|
1607
|
-
"payout_rate": {
|
|
1608
|
-
"description": "Basis points (1..10000) of the settlement rail paid to payout_to. Default 10000.",
|
|
1609
|
-
"type": "number"
|
|
1610
|
-
},
|
|
1611
|
-
"repository": {
|
|
1612
|
-
"description": "An EXISTING rendezvous Repository name to reuse. Omit to create one (see repository_name).",
|
|
1613
|
-
"type": "string"
|
|
1614
|
-
},
|
|
1615
|
-
"repository_name": {
|
|
1616
|
-
"description": "The name a CREATED rendezvous Repository takes. Default '<service_name>_supply_chain'. Ignored when `repository` names an existing one.",
|
|
1617
|
-
"type": "string"
|
|
1618
|
-
},
|
|
1619
|
-
"id_prefix": {
|
|
1620
|
-
"description": "Step-id prefix for the emitted objects. Default 'sc' for the first promise, 'sc2', 'sc3'... for later ones. An explicit duplicate is refused (SUPPLY_CHAIN_ID_CONFLICT).",
|
|
1621
|
-
"type": "string"
|
|
1622
|
-
}
|
|
1623
|
-
},
|
|
1624
|
-
"required": [
|
|
1625
|
-
"sub_service",
|
|
1626
|
-
"axis",
|
|
1627
|
-
"done_node"
|
|
1628
|
-
],
|
|
1629
|
-
"additionalProperties": false
|
|
1630
|
-
}
|
|
1631
|
-
}
|
|
1632
|
-
},
|
|
1633
|
-
"additionalProperties": false
|
|
1634
|
-
},
|
|
1635
|
-
"network": {
|
|
1636
|
-
"type": "string",
|
|
1637
|
-
"enum": [
|
|
1638
|
-
"mainnet",
|
|
1639
|
-
"testnet"
|
|
1640
|
-
]
|
|
1641
|
-
}
|
|
1642
|
-
},
|
|
1643
|
-
"required": [
|
|
1644
|
-
"action"
|
|
1645
|
-
],
|
|
1646
|
-
"additionalProperties": false,
|
|
1647
|
-
"description": "10-step merchant onboarding wizard: intent text → BusinessIntent → industry confirmation → module adoption → Blueprint (L1 plan projection) → evaluation preview → harness check → creation plan. NEVER executes on-chain operations. Stateless: pass guide_state/guide_confirm to advance."
|
|
1648
|
-
}
|
|
1649
|
-
]
|
|
1650
|
-
}
|
|
1
|
+
{"$schema":"http://json-schema.org/draft-07/schema#","$id":"https://wowok.net/schemas/goal_operation.json","title":"Goal - Goal-Driven Lifecycle (GoalEngine)","description":"GoalEngine Agent portal (K3 24) — record a user goal and track it through the nine-station lifecycle RECOGNIZE → CONFIRM → BIND → PLAN → APPROVE → ACT → MONITOR → COMPLETE. Actions: create (classify + dedupe-adopt; goal types with a dedicated playbook automatically attach a TaskProcess — the long-task carrier with named stages + events/problems/feedback/decisions streams; create_process=true forces one for generic goal types), list, get (goals with a process also return process_summary: current stage, per-stage progress, open problems, last events, feedback count — the interrupted-task resume surface; resume by continuing advance), approve (plan approval for the confirm gate), advance (stage move + ACT object registration, written back into the process manifest), pause, complete (chain-state verification or force; pass feedback {sentiment, comment} to record it on the process; the outcome is distilled into the experience layer), abandon.","oneOf":[{"type":"object","properties":{"action":{"type":"string","const":"create"},"intent_text":{"type":"string","description":"Raw user intent text. goal_type is classified deterministically unless overridden."},"title":{"description":"Short goal title; defaults to the first line of intent_text.","type":"string"},"goal_type":{"description":"Explicit goal_type override (publish_service | fulfill_order | capture_demand | purchase_service | collaborate_flow | supply_suborder | publish_demand | run_arbitration | dispute_resolution | manage_assets).","type":"string","enum":["publish_service","fulfill_order","capture_demand","purchase_service","collaborate_flow","supply_suborder","publish_demand","run_arbitration","dispute_resolution","manage_assets"]},"account":{"description":"BIND station: local account name or address the goal operates with. When given, the goal starts at stage 'bound' (with a local-account preflight).","type":"string"},"persona":{"description":"Persona id/name recorded on the binding.","type":"string"},"conversation_id":{"description":"Originating chat conversation id (the client injects this automatically; links the goal back to its conversation).","type":"string"},"create_process":{"description":"TaskProcess creation override. Processes are created BY DEFAULT for goal types with a dedicated playbook (publish_service, fulfill_order, capture_demand, publish_demand, purchase_service); pass true to also attach one to a generic-playbook goal type.","type":"boolean"},"network":{"type":"string","enum":["mainnet","testnet"]}},"required":["action","intent_text"],"additionalProperties":false},{"type":"object","properties":{"action":{"type":"string","const":"list"},"stage":{"description":"Filter by stage.","type":"string","enum":["recognized","confirmed","bound","planned","approved","acting","monitoring","completed","paused","abandoned"]},"account":{"description":"Filter by bound account.","type":"string"},"conversation_id":{"description":"Filter by originating conversation id (the conversation↔goal link).","type":"string"},"include_finished":{"description":"Include terminal goals (completed/abandoned). Default false.","type":"boolean"},"network":{"type":"string","enum":["mainnet","testnet"]}},"required":["action"],"additionalProperties":false},{"type":"object","properties":{"action":{"type":"string","const":"get"},"id":{"type":"string","description":"Goal id (goal_…)."},"network":{"type":"string","enum":["mainnet","testnet"]}},"required":["action","id"],"additionalProperties":false},{"type":"object","properties":{"action":{"type":"string","const":"approve"},"id":{"type":"string","description":"Goal id (goal_…)."},"note":{"description":"Human note recorded on the approval audit entry.","type":"string"},"network":{"type":"string","enum":["mainnet","testnet"]}},"required":["action","id"],"additionalProperties":false},{"type":"object","properties":{"action":{"type":"string","const":"bind"},"id":{"type":"string","description":"Goal id (goal_…)."},"account":{"type":"string","description":"Local account name or address to bind (BIND station; runs a local-account preflight)."},"persona":{"description":"Persona id/name recorded on the binding.","type":"string"},"network":{"type":"string","enum":["mainnet","testnet"]}},"required":["action","id","account"],"additionalProperties":false},{"type":"object","properties":{"action":{"type":"string","const":"advance"},"id":{"type":"string","description":"Goal id (goal_…)."},"stage":{"description":"Target stage (forward-only along recognized→confirmed→bound→planned→approved→acting→monitoring; 'paused' holds from anywhere; from 'paused' resume anywhere). Entering 'monitoring' auto-binds monitor focus for the goal's objects.","type":"string","enum":["recognized","confirmed","bound","planned","approved","acting","monitoring","paused"]},"objects":{"description":"ACT station: objects created/adopted by this goal (deduped by type+address).","type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"Object type name (e.g. 'Service', 'Order', 'Demand', 'Progress')."},"object":{"type":"string","description":"On-chain object address (0x…)."}},"required":["type","object"],"additionalProperties":false}},"network":{"type":"string","enum":["mainnet","testnet"]}},"required":["action","id"],"additionalProperties":false},{"type":"object","properties":{"action":{"type":"string","const":"pause"},"id":{"type":"string","description":"Goal id (goal_…)."},"network":{"type":"string","enum":["mainnet","testnet"]}},"required":["action","id"],"additionalProperties":false},{"type":"object","properties":{"action":{"type":"string","const":"complete"},"id":{"type":"string","description":"Goal id (goal_…)."},"force":{"description":"Skip on-chain completion-condition verification (audited as outcome.forced).","type":"boolean"},"feedback":{"description":"User feedback recorded on the goal's TaskProcess (feedback.jsonl) and used as outcome evidence for the experience layer (REFLECT).","type":"object","properties":{"sentiment":{"type":"string","enum":["positive","negative","neutral"],"description":"Overall sentiment about how the goal went."},"comment":{"type":"string","description":"Free-form feedback comment."}},"required":["sentiment","comment"],"additionalProperties":false},"network":{"type":"string","enum":["mainnet","testnet"]}},"required":["action","id"],"additionalProperties":false},{"type":"object","properties":{"action":{"type":"string","const":"abandon"},"id":{"type":"string","description":"Goal id (goal_…)."},"reason":{"type":"string","description":"Why the goal is given up (required, recorded on the outcome)."},"network":{"type":"string","enum":["mainnet","testnet"]}},"required":["action","id","reason"],"additionalProperties":false},{"type":"object","properties":{"action":{"type":"string","const":"delete"},"id":{"type":"string","description":"Goal id (goal_…)."},"force":{"description":"Allow deleting a NON-terminal goal. The goal's monitor focus, radar intents and plan approval are torn down first so no bindings are orphaned. Terminal goals (completed/abandoned) never need force.","type":"boolean"},"network":{"type":"string","enum":["mainnet","testnet"]}},"required":["action","id"],"additionalProperties":false},{"type":"object","properties":{"action":{"type":"string","const":"suggestions"},"id":{"type":"string","description":"Goal id (goal_…)."},"include_resolved":{"description":"Also return confirmed/dismissed suggestions. Default false (pending only).","type":"boolean"},"network":{"type":"string","enum":["mainnet","testnet"]}},"required":["action","id"],"additionalProperties":false},{"type":"object","properties":{"action":{"type":"string","const":"suggestion_resolve"},"id":{"type":"string","description":"Goal id (goal_…)."},"suggestion_id":{"type":"string","description":"Suggestion id (sug_…)."},"decision":{"type":"string","enum":["confirm","dismiss"],"description":"confirm = accept the suggestion; dismiss = reject it (recorded, one-shot either way)."},"apply":{"description":"With decision=confirm: run the suggested move through the normal engine stations (advance_stage → advance; complete_goal → complete with chain verification; register_object → advance objects). Default false: acknowledge only. When applying fails the suggestion STAYS PENDING and apply_error explains why.","type":"boolean"},"note":{"description":"Optional resolution note (audit).","type":"string"},"network":{"type":"string","enum":["mainnet","testnet"]}},"required":["action","id","suggestion_id","decision"],"additionalProperties":false},{"type":"object","properties":{"action":{"type":"string","const":"boundaries"},"id":{"type":"string","description":"Goal id (goal_…)."},"network":{"type":"string","enum":["mainnet","testnet"]}},"required":["action","id"],"additionalProperties":false},{"type":"object","properties":{"action":{"type":"string","const":"boundaries_set"},"id":{"type":"string","description":"Goal id (goal_…)."},"budget":{"description":"Total spend ceiling, smallest on-chain unit (MIST), non-negative integer decimal string. Payment candidates above it are rejected (stalled), never asked.","type":"string"},"deadline":{"description":"Hard deadline, ms epoch. Past it the pursue tick stalls every candidate.","type":"number"},"requirements":{"description":"Hard acceptance red lines (e.g. 'service location must be London'). Commitment-level moves always wait until every requirement is verified.","type":"array","items":{"type":"string"}},"autonomy":{"description":"Standing authorization for the pursue tick: confirm_all (every decision surfaces as a pending suggestion; default) | execute_low_risk (engine-local moves execute; on-chain ops ask) | execute_all (standard-gated on-chain moves also execute; irreversible/publish/amount ALWAYS ask).","type":"string","enum":["confirm_all","execute_low_risk","execute_all"]},"network":{"type":"string","enum":["mainnet","testnet"]}},"required":["action","id"],"additionalProperties":false},{"type":"object","properties":{"action":{"type":"string","const":"pursue"},"id":{"type":"string","description":"Goal id (goal_…)."},"network":{"type":"string","enum":["mainnet","testnet"]}},"required":["action","id"],"additionalProperties":false},{"type":"object","properties":{"action":{"type":"string","const":"next_steps"},"id":{"type":"string","description":"Goal id (goal_…)."},"network":{"type":"string","enum":["mainnet","testnet"]}},"required":["action","id"],"additionalProperties":false},{"type":"object","properties":{"action":{"type":"string","const":"analyze_intent"},"intent":{"description":"Business intent text (e.g. 'I rent cameras to photographers with deposit and damage inspection'). Used as the primary input; falls back to project_description / project_name when omitted.","type":"string","maxLength":2000},"project_name":{"description":"Optional business name — used as an intent fallback when 'intent' is omitted.","type":"string","minLength":1,"maxLength":200},"project_description":{"description":"Optional business description — used as an intent fallback when 'intent' is omitted.","type":"string","maxLength":2000},"project_industry":{"description":"Industry tag. Drives industry-specific risk calibration (e.g. 'freelance' does NOT require compensation_fund, while 'rental'/'travel' do). Any registered industry is accepted — builtin: 'general', 'retail', 'retail_d2c', 'service', 'rental', 'freelance', 'education', 'travel', 'subscription', 'custom' — plus custom industries registered via industry packs.","type":"string","pattern":"^[a-z][a-z0-9_]*$"},"target_objects":{"description":"Optional explicit target objects (entry_ids or object_type names). When provided, puzzle snapshots are restricted to these objects.","type":"array","items":{"type":"string"}},"network":{"type":"string","enum":["mainnet","testnet"]}},"required":["action"],"additionalProperties":false,"description":"C1: natural-language business intent → parsed intent (primary/secondary objects, detected scenes, industry) + per-object puzzle snapshots + recommended creation order."},{"type":"object","properties":{"action":{"type":"string","const":"aggregate_risks"},"project":{"description":"Project prefix (human-readable unique identifier, e.g. 'myshop'). Used to key the service-build stage cache.","type":"string"},"version":{"description":"Project version (e.g. 'v1') for the service-build stage cache. Defaults to 'v1'.","type":"string","pattern":"^v\\d+$"},"puzzles":{"description":"Per-object puzzle snapshots, keyed by object_type. Pass the 'puzzles' field from a prior analyze_intent result UNCHANGED. When omitted but 'intent' is present, the handler runs analyze_intent first (C1→C2 in one call).","type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"object","properties":{"puzzle":{"description":"Puzzle snapshot (opaque — pass through from analyze_intent output unchanged)."},"completeness":{"description":"Completeness snapshot (opaque — pass through unchanged)."},"missing_dimensions":{"type":"array","items":{"type":"string"},"description":"Dimensions still missing for this object."}},"required":["puzzle","completeness","missing_dimensions"],"additionalProperties":false}},"intent":{"description":"Business intent text (e.g. 'I rent cameras to photographers with deposit and damage inspection'). Used as the primary input; falls back to project_description / project_name when omitted.","type":"string","maxLength":2000},"project_name":{"description":"Optional business name — used as an intent fallback when 'intent' is omitted.","type":"string","minLength":1,"maxLength":200},"project_description":{"description":"Optional business description — used as an intent fallback when 'intent' is omitted.","type":"string","maxLength":2000},"project_industry":{"description":"Industry tag. Drives industry-specific risk calibration (e.g. 'freelance' does NOT require compensation_fund, while 'rental'/'travel' do). Any registered industry is accepted — builtin: 'general', 'retail', 'retail_d2c', 'service', 'rental', 'freelance', 'education', 'travel', 'subscription', 'custom' — plus custom industries registered via industry packs.","type":"string","pattern":"^[a-z][a-z0-9_]*$"},"severity_threshold":{"description":"Severity threshold (default 'high'). Risks at or above this level block deployment (status RISK_BLOCKED).","type":"string","enum":["critical","high","medium","low","info"]},"user_confirmed_high_risks":{"description":"IDs of high risks already confirmed in a prior round. Confirmed high risks no longer trigger RISK_PENDING_CONFIRM.","type":"array","items":{"type":"string"}},"planned_objects":{"description":"Planned objects for the OBJECT_REUSE check (safety-rules). Flags NEW objects whose type carries an always/strongly-recommended reuse rule.","type":"array","items":{"type":"object","properties":{"object_type":{"type":"string","description":"Wowok object type (e.g. 'service', 'guard', 'machine')."},"is_new":{"type":"boolean","description":"true when creating a NEW object; false when reusing an existing one."},"name":{"description":"Planned object name (for readable messages).","type":"string"}},"required":["object_type","is_new"],"additionalProperties":false}},"planned_operations":{"description":"Planned create/publish operations for the IMMUTABILITY check (safety-rules). Warns which fields become permanently locked after each operation.","type":"array","items":{"type":"object","properties":{"object_type":{"type":"string","description":"Wowok object type (e.g. 'service', 'arbitration')."},"trigger":{"type":"string","enum":["create","publish"],"description":"Lifecycle trigger that locks fields."},"name":{"description":"Object name (for readable messages).","type":"string"}},"required":["object_type","trigger"],"additionalProperties":false}},"network":{"type":"string","enum":["mainnet","testnet"]}},"required":["action"],"additionalProperties":false,"description":"C2: puzzle snapshots → cross-object risk calibration (critical/high/medium/low/info) with blocking status. DX sugar: when 'puzzles' is omitted but 'intent' is present, the handler runs analyze_intent first."},{"type":"object","properties":{"action":{"type":"string","const":"trace_substeps"},"project":{"description":"Project prefix (human-readable unique identifier, e.g. 'myshop'). Used to key the service-build stage cache.","type":"string"},"version":{"description":"Project version (e.g. 'v1') for the service-build stage cache. Defaults to 'v1'.","type":"string","pattern":"^v\\d+$"},"substeps":{"description":"Substep execution records (63-spec §2.1). Required when action='trace_substeps'. Construct from your deployment execution trace.","type":"array","items":{"type":"object","properties":{"step_id":{"type":"string","description":"Substep id, format 'T<step>.<substep>' e.g. 'T1.1'."},"parent_step":{"type":"string","description":"Parent step id, format 'T<step>' e.g. 'T1'."},"object_type":{"type":"string","enum":["service","machine","guard","permission","reward","arb","progress","treasury","demand","repository","contact","order","allocation","personal","payment","proof"],"description":"Wowok object type this substep operates on."},"entry_id":{"type":"string","description":"Puzzle entry_id this substep corresponds to."},"operation_type":{"type":"string","description":"operation_type for onchain_operations."},"network":{"type":"string","enum":["testnet","mainnet"],"description":"Target network."},"input":{"type":"object","properties":{"data":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{},"description":"Input data payload."},"input_refs":{"type":"array","items":{"type":"string"},"description":"Upstream substep_ids this substep consumes."}},"required":["data","input_refs"],"additionalProperties":false},"output":{"description":"Output data (filled after execution).","type":"object","properties":{"object_id":{"type":"string"},"tx_digest":{"type":"string"}},"additionalProperties":{}},"timestamp":{"type":"number","description":"Execution timestamp (ms)."},"status":{"type":"string","enum":["PENDING","SUCCESS","FAILED","SKIPPED"],"description":"Execution status."},"failure_reason":{"description":"Failure reason (when status='FAILED').","type":"string"},"dependencies":{"type":"object","properties":{"input_refs":{"type":"array","items":{"type":"string"}},"output_refs":{"type":"array","items":{"type":"object","properties":{"substep_id":{"type":"string","description":"Downstream substep that consumes this output."},"field_path":{"type":"string","description":"Field path produced by this substep (e.g. 'permission_address')."}},"required":["substep_id","field_path"],"additionalProperties":false}}},"required":["input_refs","output_refs"],"additionalProperties":false,"description":"Dependencies (input_refs + output_refs)."},"retry_info":{"description":"Retry info (when this substep is a retry of an earlier one).","type":"object","properties":{"original_step_id":{"type":"string"},"retry_count":{"type":"number"},"retry_reason":{"type":"string"}},"required":["original_step_id","retry_count","retry_reason"],"additionalProperties":false}},"required":["step_id","parent_step","object_type","entry_id","operation_type","network","input","timestamp","status","dependencies"],"additionalProperties":false}},"substep_edges":{"description":"Explicit DAG edges. When omitted, edges are derived from each substep's input_refs.","type":"array","items":{"type":"object","properties":{"source":{"type":"string","description":"Source substep id."},"target":{"type":"string","description":"Target substep id (depends on source)."},"field_path":{"type":"string","description":"Field path flowing along this edge."}},"required":["source","target","field_path"],"additionalProperties":false}},"network":{"type":"string","enum":["mainnet","testnet"]}},"required":["action"],"additionalProperties":false,"description":"C3: substep execution records → DAG coherence analysis (dangling inputs, circular refs, missing outputs, cross-step breaks, topological order, D-10 verdict)."},{"type":"object","properties":{"action":{"type":"string","const":"merchant_guide"},"intent":{"description":"Business intent text (e.g. 'I rent cameras to photographers with deposit and damage inspection'). Used as the primary input; falls back to project_description / project_name when omitted.","type":"string","maxLength":2000},"project_name":{"description":"Optional business name — used as an intent fallback when 'intent' is omitted.","type":"string","minLength":1,"maxLength":200},"project_description":{"description":"Optional business description — used as an intent fallback when 'intent' is omitted.","type":"string","maxLength":2000},"project_industry":{"description":"Industry tag. Drives industry-specific risk calibration (e.g. 'freelance' does NOT require compensation_fund, while 'rental'/'travel' do). Any registered industry is accepted — builtin: 'general', 'retail', 'retail_d2c', 'service', 'rental', 'freelance', 'education', 'travel', 'subscription', 'custom' — plus custom industries registered via industry packs.","type":"string","pattern":"^[a-z][a-z0-9_]*$"},"guide_state":{"description":"Wizard state from a prior merchant_guide result. Pass back UNCHANGED on every subsequent call. The handler re-runs the pipeline deterministically and advances to the furthest reachable step.","type":"object","properties":{"intent_text":{"type":"string","description":"Step 1: raw merchant business description."},"confirmed_industry":{"description":"Step 2: merchant-confirmed industry id.","type":"string"},"currency":{"description":"Step 5: payment currency (default WOW).","type":"string"},"deliverables":{"description":"Step 4: merchant-defined deliverables (opaque passthrough).","type":"array","items":{}},"payment_override":{"description":"Step 5: payment structure overrides (opaque passthrough).","type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"trust_override":{"description":"Step 6: trust mechanism overrides (opaque passthrough).","type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"adopted_module_ids":{"description":"Step 6: merchant-confirmed business module ids.","type":"array","items":{"type":"string"}},"guard_resolutions":{"description":"Accumulated judgment-layer guard resolutions (C6-DEEP) — pass back UNCHANGED with the rest of the state.","type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"review_mode":{"description":"Per-build review-rail mode (v53). Absent = the template's declared review_mode applies.","type":"string","enum":["review","review_reward","none"]},"reward_funding":{"description":"Review reward pool funding, smallest-unit string (required when the effective review mode is review_reward).","type":"string"},"reward_claim_amount":{"description":"Per-claim reward bounty mounted on the claim guard_add, smallest-unit string (BK15-F09: schema-required on the mount; the kernel never fabricates a real-money parameter).","type":"string"},"experience_compensation_mode":{"description":"Per-build goodwill track mode (K3 C-11). Absent = the template's declared experience_compensation_mode applies (the delivery templates ship 'reward' as the catalog default).","type":"string","enum":["reward","none"]},"experience_pool_funding":{"description":"Goodwill pool funding, smallest-unit string (K3 C-11 + N2 K4R-261103/ssd F-01: required when the effective experience_compensation_mode is 'reward' — compile blocks with EXPERIENCE_COMPENSATION_UNFUNDED otherwise).","type":"string"},"price_rebate_mode":{"description":"Per-build price-rebate track mode (stage2 #1 P-11, FLOWS E28). Absent = the template's declared price_rebate_mode applies (the restaurant-marketplace template ships 'reward'). Arms an independent PRE-FUNDED rebate pool for the overcharge/mispricing remedy — the funding input IS the merchant's rebate budget (no on-chain mispricing evidence exists).","type":"string","enum":["reward","none"]},"price_rebate_pool_funding":{"description":"Price-rebate pool funding, smallest-unit string (stage2 #1 P-11: required when the effective price_rebate_mode is 'reward' — compile blocks with PRICE_REBATE_UNFUNDED otherwise). Plan it as ~expected rebates x the per-claim tier (fee_param price_rebate_claim_amount).","type":"string"},"on_time_guarantee":{"description":"Per-build ON-TIME-GUARANTEE opt-in (stage2 #1 P-08, FLOWS E15). 'voucher' arms the SLA proactive-compensation rail (sla_compensation_mode='proactive_payment'): a late order PARKS at the breach waypoint with funds intact until the liable party's on-chain Payment verifies under the six-leg penalty guard — no compensation, no release. Requires the clause knobs (sla_penalty_amount + sla_deadline_hours, this input channel or fee_overrides) or compile fails loud (SLA_COMPENSATION_INVALID). CHAIN TRUTH: no auto-debit exists — the compensation is a voluntary Payment; the machine can only refuse to settle. 'none'/absent = no SLA rail (the goodwill pool stays the default remedy).","type":"string","enum":["voucher","none"]},"sla_penalty_amount":{"description":"SLA clause: the compensation penalty amount in smallest units (stage2 #1 P-08; read when the SLA rail is armed). The six-leg guard compares the voucher Payment against this constant.","type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"sla_deadline_hours":{"description":"SLA clause: the promised on-time window in hours (stage2 #1 P-08; feeds the marker 'sla-<h>h-v<n>' and the keeper breach-check duty).","type":"number","exclusiveMinimum":0},"sla_marker_version":{"description":"SLA clause nonce (default 1): bumping it invalidates vouchers minted against an older clause.","type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"compensation_fund":{"description":"Arbitration compensation-pool funding, smallest-unit string (N1 K4R-261103/ddmq F-22: required on any build mounting an arb-ruling-won edge — compile blocks with COMPENSATION_FUND_REQUIRED; plan >= 3x a typical order, MAX_INDEMNITY_MULTIPLE).","type":"string"},"after_sales_mode":{"description":"Per-build after-sales mode (D12 refactor 4). Absent = the template's declared after_sales_mode applies. Declaring a mode with no backing rail in machine_shape is a compile blocker (AFTER_SALES_RAIL_MISSING).","type":"string","enum":["return","exchange","warranty","none"]},"acceptance_mode":{"description":"Per-build acceptance/judging mode (D12 refactor 2). Absent = the template's declared acceptance_mode applies. A judge-decided mode (contest/bounty/agent) without arbitration_mode 'third_party' is a compile blocker (ACCEPTANCE_JUDGE_NOT_INDEPENDENT); a finite revision_rounds_max with no counter Repository guard is a compile blocker (ACCEPTANCE_REVISION_UNBOUNDED).","type":"string","enum":["milestone","contest","bounty","agent","none"]},"installment_mode":{"description":"Per-build installment/deposit mode (D12 refactor 3). Absent = the template's declared installment_mode applies. A capture forward with no fund-gate Guard is a compile blocker (INSTALLMENT_FUNDING_UNGATED); a deposit-held state with no exit rail is a compile blocker (INSTALLMENT_DEPOSIT_STRANDED).","type":"string","enum":["deposit_balance","milestone_n","none"]},"affiliate_mode":{"description":"Per-build affiliate commission overlay (D12 batch 5). Absent = the template's declared affiliate_mode applies. A declared commission overlay with no commission rail is a compile blocker (AFFILIATE_RAIL_MISSING); a commission with no post-lock no-clawback disclosure build_note is a compile blocker (AFFILIATE_CLAWBACK_UNDISCLOSED).","type":"string","enum":["commission","none"]},"crowdfunding_mode":{"description":"Per-build crowdfunding campaign overlay (D12 batch 7). Absent = the template's declared crowdfunding_mode applies. A declared threshold/flexible overlay with no two-leg escrow-exit gate (release XOR refund, D-BUG-2) is a compile blocker (CROWDFUNDING_THRESHOLD_GATE_MISSING); a threshold gate whose aggregate is NOT a writer-bound sum-where (id_from signer) is a compile blocker (CROWDFUNDING_AGGREGATE_UNBOUND); a missing L-04/L-01/L-05 disclosure build_note is a compile blocker (CROWDFUNDING_DISCLOSURE_MISSING).","type":"string","enum":["threshold","flexible","none"]},"logistics_mode":{"description":"Per-build fulfillment topology (K3 batch C, K-2). Absent = the template's declared logistics_mode applies. A declared topology the machine_shape cannot honor is a compile blocker: courier with no named_operator handover rail (LOGISTICS_COURIER_RAIL_MISSING) or a pooled delivery fee (LOGISTICS_COURIER_FEE_POOLED); pickup_point without the absolute batch cutoff or the unclaimed-goods exit window (LOGISTICS_PICKUP_CUTOFF_MISSING); carrier without tracking evidence (LOGISTICS_CARRIER_EVIDENCE_MISSING); any physical mode without a transit-loss story (LOGISTICS_TRANSIT_LOSS_UNCOVERED); courier/pickup_point without the two dispatch disclosures (LOGISTICS_DISPATCH_UNDISCLOSED).","type":"string","enum":["none","carrier","merchant_managed","courier","pickup_point"]},"supply_chain":{"description":"Supply-chain composition (Goal 2/4): the Services this shop PROCURES fulfilment from. compile appends each promise's material (order_allocators-bound settlement gate, rendezvous ledger, optional third-party payout rail) BEFORE the Service publish and declares plan.inputs.fulfillment_axis. Incomplete or conflicting promises are compile blockers (SUPPLY_CHAIN_PROMISE_INCOMPLETE / _GATE_TEMPLATE / _ACK_WITHOUT_DEADLINE / _PAYOUT_RATE / _ID_CONFLICT). Absent = the shop fulfils everything itself.","type":"array","items":{"type":"object","properties":{"sub_service":{"type":"string","description":"The procured sub-Service: an on-chain address or a resolvable LocalMark/service name."},"axis":{"type":"string","enum":["merchant_procured","user_procured"],"description":"Who owns the fulfilment order. merchant_procured = this merchant buys it (the merchant-side rail pays payout_to and no cross-order owner tie is emitted); user_procured = the buyer buys it and presents the foreign order (the rail asserts order.owner(host) == order.owner(foreign))."},"service_name":{"description":"The host Service's own name (the money gate's host binding). Default: the plan's Service create name.","type":"string"},"done_node":{"type":"string","description":"The node whose arrival makes an order settle-eligible (e.g. 'completed' or 'delivered')."},"done_node_alt":{"description":"A further settle-eligible node — pass every optional post-settlement side action's node so the rail still fires after Praise moves progress.current.","type":"string"},"done_node_alt2":{"description":"A third settle-eligible node.","type":"string"},"form":{"description":"How the fulfilment fact reaches the money gate. rendezvous (default) proves the pairing through a shared ledger row; submission only records the caller-supplied foreign order address (P2 only, weaker).","type":"string","enum":["rendezvous","submission"]},"fact_key":{"description":"Policy key of the forward fulfilment row. Default 'fulfilment'.","type":"string"},"ack_key":{"description":"Policy key of the buyer acknowledgement. Default '<fact_key>_ack'.","type":"string"},"ack_window_days":{"description":"merchant_procured only: days of buyer silence that count as acknowledgement, measured from the order's LAST entry into done_node. Default 3; 0 is refused (a costless veto).","type":"number"},"payout_to":{"description":"The fulfilment party's payout address. Absent = no third-party rail (the host merchant settles the sub-service itself).","type":"string"},"payout_rate":{"description":"Basis points (1..10000) of the settlement rail paid to payout_to. Default 10000.","type":"number"},"repository":{"description":"An EXISTING rendezvous Repository name to reuse. Omit to create one (see repository_name).","type":"string"},"repository_name":{"description":"The name a CREATED rendezvous Repository takes. Default '<service_name>_supply_chain'. Ignored when `repository` names an existing one.","type":"string"},"id_prefix":{"description":"Step-id prefix for the emitted objects. Default 'sc' for the first promise, 'sc2', 'sc3'... for later ones. An explicit duplicate is refused (SUPPLY_CHAIN_ID_CONFLICT).","type":"string"}},"required":["sub_service","axis","done_node"],"additionalProperties":false}},"fee_overrides":{"description":"P2-3: answers to the template's structured business questions (user_input_questions of the prior result), keyed by the fee_params name — e.g. { settlement_days: 20 }. Each entry is a compile input, so the answer overrides the template default; unanswered questions keep the default.","type":"object","propertyNames":{"type":"string"},"additionalProperties":{"anyOf":[{"type":"number"},{"type":"string"}]}}},"required":["intent_text"],"additionalProperties":false},"guide_confirm":{"description":"Merchant decisions for the current wizard step. Merged over guide_state. Typical flow: call 1 with intent only → receive step-2 industry options → call 2 with guide_state + guide_confirm={industry} → receive full blueprint plan (steps 7-10).","type":"object","properties":{"industry":{"description":"Step 2 confirmation: industry id (e.g. 'freelance').","type":"string"},"currency":{"description":"Step 5 confirmation: payment currency.","type":"string"},"deliverables":{"description":"Step 4 confirmation: deliverable definitions.","type":"array","items":{}},"payment":{"description":"Step 5 confirmation: { model, triggers, allocation } overrides.","type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"trust":{"description":"Step 6 confirmation: { refundPolicy, arbitration, escrow } overrides.","type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"adopted_module_ids":{"description":"Step 6 confirmation: business module ids to adopt (overrides recommendation).","type":"array","items":{"type":"string"}},"guard_resolutions":{"description":"Judgment-layer resolutions for pending guard designs (keyed by pending_guard_designs[].key; C6-DEEP). A blocked audit lists every unresolved design — resolve each here (kind 'inline' with the resolved Guard table+root, or kind 'template' with a matching tpl_* id) and call merchant_guide again. Advisory designs that do not apply to this shop may be resolved with {kind:'omit'} instead (honored only for designs with no inbound binding; an omit of a bound design is refused with GUARD_OMIT_UNSUPPORTED). Caller input wins over module-derived resolutions. The publish freeze gate still runs: a resolution only unblocks the plan when the closed audit is clean.","type":"object","propertyNames":{"type":"string"},"additionalProperties":{"anyOf":[{"type":"object","properties":{"kind":{"type":"string","const":"template"},"template_id":{"type":"string","description":"A 'tpl_*' guard template id to fill (template fee_params + params feed the fill)."},"params":{"description":"Extra fill params over the merged fee_params.","type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"required":["kind","template_id"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"inline"},"description":{"description":"Guard description (defaults to the pending design's purpose).","type":"string"},"table":{"minItems":1,"type":"array","items":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"description":"Guard passport table rows (identifier/b_submission/value_type/...)."},"root":{"type":"object","properties":{"type":{"type":"string"}},"required":["type"],"additionalProperties":{},"description":"Guard logic root node (a typed tree node)."}},"required":["kind","table","root"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"omit"}},"required":["kind"],"additionalProperties":false}]}},"review_mode":{"description":"Step 6 confirmation: per-build review-rail mode (v53). Absent = the template's declared review_mode applies.","type":"string","enum":["review","review_reward","none"]},"reward_funding":{"description":"Step 6 confirmation: review reward pool funding, smallest-unit string (required when the effective review mode is review_reward).","type":"string"},"reward_claim_amount":{"description":"Step 6 confirmation: per-claim reward bounty on the claim guard_add, smallest-unit string (BK15-F09).","type":"string"},"experience_compensation_mode":{"description":"Step 6 confirmation: per-build goodwill track mode (K3 C-11). Absent = the template's declared experience_compensation_mode applies.","type":"string","enum":["reward","none"]},"experience_pool_funding":{"description":"Step 6 confirmation: goodwill pool funding, smallest-unit string (N2 K4R-261103/ssd F-01: required when the effective experience_compensation_mode is 'reward' — compile blocks with EXPERIENCE_COMPENSATION_UNFUNDED otherwise).","type":"string"},"price_rebate_mode":{"description":"Step 6 confirmation: per-build price-rebate track mode (stage2 #1 P-11). Absent = the template's declared price_rebate_mode applies.","type":"string","enum":["reward","none"]},"price_rebate_pool_funding":{"description":"Step 6 confirmation: price-rebate pool funding, smallest-unit string (stage2 #1 P-11: required when the effective price_rebate_mode is 'reward' — compile blocks with PRICE_REBATE_UNFUNDED otherwise).","type":"string"},"on_time_guarantee":{"description":"Step 6 confirmation: ON-TIME-GUARANTEE opt-in (stage2 #1 P-08, FLOWS E15). 'voucher' arms the SLA proactive-compensation rail (a late order parks at the breach waypoint — no compensation, no release; CHAIN TRUTH: voluntary Payment, no auto-debit). Requires the clause knobs (sla_penalty_amount + sla_deadline_hours, this channel or fee_overrides) or compile fails loud.","type":"string","enum":["voucher","none"]},"sla_penalty_amount":{"description":"Step 6 confirmation: SLA clause penalty amount, smallest units.","type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"sla_deadline_hours":{"description":"Step 6 confirmation: SLA promised on-time window, hours.","type":"number","exclusiveMinimum":0},"compensation_fund":{"description":"Step 6 confirmation: arbitration compensation-pool funding, smallest-unit string (N1 K4R-261103/ddmq F-22: required on any build mounting an arb-ruling-won edge — compile blocks with COMPENSATION_FUND_REQUIRED).","type":"string"},"after_sales_mode":{"description":"Step 6 confirmation: per-build after-sales mode (D12 refactor 4). Absent = the template's declared after_sales_mode applies.","type":"string","enum":["return","exchange","warranty","none"]},"acceptance_mode":{"description":"Step 6 confirmation: per-build acceptance/judging mode (D12 refactor 2). Absent = the template's declared acceptance_mode applies.","type":"string","enum":["milestone","contest","bounty","agent","none"]},"installment_mode":{"description":"Step 6 confirmation: per-build installment/deposit mode (D12 refactor 3). Absent = the template's declared installment_mode applies.","type":"string","enum":["deposit_balance","milestone_n","none"]},"affiliate_mode":{"description":"Step 6 confirmation: per-build affiliate commission overlay (D12 batch 5). Absent = the template's declared affiliate_mode applies.","type":"string","enum":["commission","none"]},"crowdfunding_mode":{"description":"Step 6 confirmation: per-build crowdfunding campaign overlay (D12 batch 7). Absent = the template's declared crowdfunding_mode applies.","type":"string","enum":["threshold","flexible","none"]},"logistics_mode":{"description":"Step 6 confirmation: per-build fulfillment topology (K3 batch C, K-2). Absent = the template's declared logistics_mode applies.","type":"string","enum":["none","carrier","merchant_managed","courier","pickup_point"]},"supply_chain":{"description":"Step 6 confirmation: Supply-chain composition (Goal 2/4) — the Services this shop PROCURES fulfilment from. Emitted by compile as build material (rendezvous gate + ledger + optional third-party payout rail) before the Service publish.","type":"array","items":{"type":"object","properties":{"sub_service":{"type":"string","description":"The procured sub-Service: an on-chain address or a resolvable LocalMark/service name."},"axis":{"type":"string","enum":["merchant_procured","user_procured"],"description":"Who owns the fulfilment order. merchant_procured = this merchant buys it (the merchant-side rail pays payout_to and no cross-order owner tie is emitted); user_procured = the buyer buys it and presents the foreign order (the rail asserts order.owner(host) == order.owner(foreign))."},"service_name":{"description":"The host Service's own name (the money gate's host binding). Default: the plan's Service create name.","type":"string"},"done_node":{"type":"string","description":"The node whose arrival makes an order settle-eligible (e.g. 'completed' or 'delivered')."},"done_node_alt":{"description":"A further settle-eligible node — pass every optional post-settlement side action's node so the rail still fires after Praise moves progress.current.","type":"string"},"done_node_alt2":{"description":"A third settle-eligible node.","type":"string"},"form":{"description":"How the fulfilment fact reaches the money gate. rendezvous (default) proves the pairing through a shared ledger row; submission only records the caller-supplied foreign order address (P2 only, weaker).","type":"string","enum":["rendezvous","submission"]},"fact_key":{"description":"Policy key of the forward fulfilment row. Default 'fulfilment'.","type":"string"},"ack_key":{"description":"Policy key of the buyer acknowledgement. Default '<fact_key>_ack'.","type":"string"},"ack_window_days":{"description":"merchant_procured only: days of buyer silence that count as acknowledgement, measured from the order's LAST entry into done_node. Default 3; 0 is refused (a costless veto).","type":"number"},"payout_to":{"description":"The fulfilment party's payout address. Absent = no third-party rail (the host merchant settles the sub-service itself).","type":"string"},"payout_rate":{"description":"Basis points (1..10000) of the settlement rail paid to payout_to. Default 10000.","type":"number"},"repository":{"description":"An EXISTING rendezvous Repository name to reuse. Omit to create one (see repository_name).","type":"string"},"repository_name":{"description":"The name a CREATED rendezvous Repository takes. Default '<service_name>_supply_chain'. Ignored when `repository` names an existing one.","type":"string"},"id_prefix":{"description":"Step-id prefix for the emitted objects. Default 'sc' for the first promise, 'sc2', 'sc3'... for later ones. An explicit duplicate is refused (SUPPLY_CHAIN_ID_CONFLICT).","type":"string"}},"required":["sub_service","axis","done_node"],"additionalProperties":false}}},"additionalProperties":false},"network":{"type":"string","enum":["mainnet","testnet"]}},"required":["action"],"additionalProperties":false,"description":"10-step merchant onboarding wizard: intent text → BusinessIntent → industry confirmation → module adoption → Blueprint (L1 plan projection) → evaluation preview → harness check → creation plan. NEVER executes on-chain operations. Stateless: pass guide_state/guide_confirm to advance."}]}
|