@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,54 +0,0 @@
|
|
|
1
|
-
export type ProjectionKind = "Service" | "Demand" | "Arb";
|
|
2
|
-
export interface ProjectionRow {
|
|
3
|
-
object_id: string;
|
|
4
|
-
owner?: string;
|
|
5
|
-
type_raw?: string;
|
|
6
|
-
name?: string;
|
|
7
|
-
location?: string;
|
|
8
|
-
description?: string;
|
|
9
|
-
coin_type?: string;
|
|
10
|
-
published?: number;
|
|
11
|
-
paused?: number;
|
|
12
|
-
price_min_wei?: string;
|
|
13
|
-
price_max_wei?: string;
|
|
14
|
-
cap_arbitration?: number;
|
|
15
|
-
cap_compensation?: number;
|
|
16
|
-
cap_machine?: number;
|
|
17
|
-
cap_messenger?: number;
|
|
18
|
-
cap_buy_guard?: number;
|
|
19
|
-
cap_wip?: number;
|
|
20
|
-
payload: string;
|
|
21
|
-
}
|
|
22
|
-
export interface ProjectionWatermark {
|
|
23
|
-
refreshed_at: number;
|
|
24
|
-
has_more: number;
|
|
25
|
-
max_objects: number;
|
|
26
|
-
}
|
|
27
|
-
export interface ProjectionServeFilter {
|
|
28
|
-
location_any?: string[];
|
|
29
|
-
name_contains?: string;
|
|
30
|
-
coin_type?: string;
|
|
31
|
-
arbitration?: string;
|
|
32
|
-
order?: string;
|
|
33
|
-
status?: number[];
|
|
34
|
-
}
|
|
35
|
-
export interface ProjectionServeMeta {
|
|
36
|
-
watermark: ProjectionWatermark;
|
|
37
|
-
total_rows: number;
|
|
38
|
-
}
|
|
39
|
-
export interface ProjectionServeResult<T> {
|
|
40
|
-
items: T[];
|
|
41
|
-
meta: ProjectionServeMeta;
|
|
42
|
-
}
|
|
43
|
-
export declare function __projectionSetWriteClock(at: number | undefined): void;
|
|
44
|
-
export declare function projectionUpsert(chain: string, kind: ProjectionKind, rows: ProjectionRow[], meta: {
|
|
45
|
-
hasMore: boolean;
|
|
46
|
-
maxObjects: number;
|
|
47
|
-
now?: number;
|
|
48
|
-
}): void;
|
|
49
|
-
export declare function projectionServe<T>(chain: string, kind: ProjectionKind, filter: ProjectionServeFilter, limit: number): ProjectionServeResult<T> | undefined;
|
|
50
|
-
export declare function projectionStats(chain: string): {
|
|
51
|
-
kind: string;
|
|
52
|
-
rows: number;
|
|
53
|
-
refreshed_at: number | undefined;
|
|
54
|
-
}[];
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{describe,it,expect,beforeAll,afterAll}from'vitest';import*as a320a from'node:fs';import*as a320b from'node:os';import*as a320c from'node:path';import{projectionUpsert,projectionServe,projectionStats,__projectionSetWriteClock}from'./projection.js';const SCRATCH_DB=a320c['join'](a320b['tmpdir'](),'wowok-projection-spec-'+process['pid']+'-'+Date['now']()+'.db'),PREV_DB=process['env']['WOWOK_PROJECTION_DB'],PREV_TTL=process['env']['WOWOK_PROJECTION_TTL_MS'];beforeAll(()=>{process['env']['WOWOK_PROJECTION_DB']=SCRATCH_DB,process['env']['WOWOK_PROJECTION_TTL_MS']='120000',__projectionSetWriteClock(0x0);}),afterAll(()=>{if(PREV_DB===undefined)delete process['env']['WOWOK_PROJECTION_DB'];else process['env']['WOWOK_PROJECTION_DB']=PREV_DB;if(PREV_TTL===undefined)delete process['env']['WOWOK_PROJECTION_TTL_MS'];else process['env']['WOWOK_PROJECTION_TTL_MS']=PREV_TTL;__projectionSetWriteClock(undefined);try{a320a['rmSync'](SCRATCH_DB,{'force':!![]}),a320a['rmSync'](SCRATCH_DB+'-wal',{'force':!![]}),a320a['rmSync'](SCRATCH_DB+'-shm',{'force':!![]});}catch{}});function svcRow(a,b={}){const {payloadJson:c,...d}=b;return{'object_id':a,'payload':JSON['stringify']({'object':a,...c??{}}),...d};}describe('projection\x20cache\x20(K5\x20doc\x2017\x20B-tier)',()=>{it('returns\x20undefined\x20without\x20a\x20watermark\x20(never\x20fabricates\x20coverage)',()=>{const a=projectionServe('chain-empty-proj','Service',{},0xc8);expect(a)['toBeUndefined'](),expect(projectionStats('chain-empty-proj')['every'](b=>b['rows']===0x0))['toBe'](!![]);}),it('serves\x20a\x20fresh\x20projection\x20with\x20SQL\x20filters\x20and\x20pre-filter\x20totals',()=>{const a='chain-proj-serve',b=[svcRow('0xa1',{'name':'Alpha\x20Music','location':'Shanghai,\x20CN','coin_type':'0x2::wow::WOW','published':0x1,'paused':0x0,'payloadJson':{'object':'0xa1','name':'Alpha\x20Music','location':'Shanghai,\x20CN'}}),svcRow('0xa2',{'name':'Beta\x20Design','location':'Beijing,\x20CN','coin_type':'0x2::wow::WOW','published':0x1,'paused':0x0,'payloadJson':{'object':'0xa2','name':'Beta\x20Design','location':'Beijing,\x20CN'}}),svcRow('0xa3',{'name':'Gamma\x20Food','location':'Shanghai,\x20CN','coin_type':'0x2::sui::SUI','published':0x1,'paused':0x0,'payloadJson':{'object':'0xa3','name':'Gamma\x20Food','location':'Shanghai,\x20CN'}})];projectionUpsert(a,'Service',b,{'hasMore':![],'maxObjects':0xc8});const c=projectionServe(a,'Service',{},0xc8);expect(c)['toBeDefined'](),expect(c['items'])['toHaveLength'](0x3),expect(c['meta']['total_rows'])['toBe'](0x3),expect(c['meta']['watermark']['has_more'])['toBe'](0x0),expect(c['items']['map'](h=>h['object'])['sort']())['toEqual'](['0xa1','0xa2','0xa3']);const d=projectionServe(a,'Service',{'coin_type':'0x2::wow::WOW'},0xc8);expect(d['items']['map'](h=>h['object'])['sort']())['toEqual'](['0xa1','0xa2']),expect(d['meta']['total_rows'])['toBe'](0x3);const e=projectionServe(a,'Service',{'name_contains':'beta'},0xc8);expect(e['items']['map'](h=>h['object']))['toEqual'](['0xa2']);const f=projectionServe(a,'Service',{'location_any':['shanghai']},0xc8);expect(f['items']['map'](h=>h['object'])['sort']())['toEqual'](['0xa1','0xa3']);const g=projectionServe(a,'Service',{'location_any':['paris']},0xc8);expect(g['items'])['toHaveLength'](0x0),expect(g['meta']['total_rows'])['toBe'](0x3),expect(projectionStats(a)['find'](h=>h['kind']==='Service')?.['rows'])['toBe'](0x3),expect(projectionStats(a)['find'](h=>h['kind']==='Service')?.['refreshed_at'])['toBeGreaterThan'](0x0);}),it('upserts\x20cumulatively:\x20rows\x20update\x20in\x20place\x20and\x20accumulate\x20across\x20windows',()=>{const a='chain-proj-cumulative';projectionUpsert(a,'Demand',[{'object_id':'0xd1','payload':JSON['stringify']({'object':'0xd1','description':'v1'})}],{'hasMore':!![],'maxObjects':0xc8}),projectionUpsert(a,'Demand',[{'object_id':'0xd1','payload':JSON['stringify']({'object':'0xd1','description':'v2'})},{'object_id':'0xd2','payload':JSON['stringify']({'object':'0xd2','description':'new'})}],{'hasMore':![],'maxObjects':0xc8});const b=projectionServe(a,'Demand',{},0xc8);expect(b['items'])['toHaveLength'](0x2);const c=b['items']['find'](d=>d['object']==='0xd1');expect(c?.['description'])['toBe']('v2'),expect(b['meta']['watermark']['has_more'])['toBe'](0x0);}),it('declines\x20to\x20serve\x20when\x20stale\x20by\x20TTL',async()=>{const a='chain-proj-stale-ttl',b=process['env']['WOWOK_PROJECTION_TTL_MS'];process['env']['WOWOK_PROJECTION_TTL_MS']='60000';try{projectionUpsert(a,'Service',[svcRow('0xs1')],{'hasMore':![],'maxObjects':0xc8}),expect(projectionServe(a,'Service',{},0xc8))['toBeDefined'](),process['env']['WOWOK_PROJECTION_TTL_MS']='20',await new Promise(c=>setTimeout(c,0x3c)),expect(projectionServe(a,'Service',{},0xc8))['toBeUndefined']();}finally{process['env']['WOWOK_PROJECTION_TTL_MS']=b;}}),it('declines\x20to\x20serve\x20when\x20a\x20local\x20on-chain\x20write\x20postdates\x20the\x20watermark',()=>{const a='chain-proj-stale-write';projectionUpsert(a,'Service',[svcRow('0xs2')],{'hasMore':![],'maxObjects':0xc8}),__projectionSetWriteClock(Date['now']()+0x1);try{expect(projectionServe(a,'Service',{},0xc8))['toBeUndefined']();}finally{__projectionSetWriteClock(0x0);}}),it('filters\x20arb\x20payloads\x20post-SQL\x20for\x20parity\x20with\x20the\x20legacy\x20post-hydration\x20filter',()=>{const a='chain-proj-arb';projectionUpsert(a,'Arb',[{'object_id':'0xb1','payload':JSON['stringify']({'object':'0xb1','arbitration':'0xarb1','order':'0xo1','status':0x2})},{'object_id':'0xb2','payload':JSON['stringify']({'object':'0xb2','arbitration':'0xarb1','order':'0xo2','status':0x5})},{'object_id':'0xb3','payload':JSON['stringify']({'object':'0xb3','arbitration':'0xarb2','order':'0xo1','status':0x2})}],{'hasMore':![],'maxObjects':0xc8});const b=projectionServe(a,'Arb',{'arbitration':'0xarb1'},0xc8);expect(b['items']['map'](f=>f['object'])['sort']())['toEqual'](['0xb1','0xb2']),expect(b['meta']['total_rows'])['toBe'](0x3);const c=projectionServe(a,'Arb',{'order':'0xo1'},0xc8);expect(c['items']['map'](f=>f['object'])['sort']())['toEqual'](['0xb1','0xb3']);const d=projectionServe(a,'Arb',{'status':[0x5]},0xc8);expect(d['items']['map'](f=>f['object']))['toEqual'](['0xb2']);const e=projectionServe(a,'Arb',{'arbitration':'0xarb2','status':[0x5]},0xc8);expect(e['items'])['toHaveLength'](0x0);}),it('respects\x20the\x20limit\x20on\x20the\x20SQL\x20path',()=>{const a='chain-proj-limit';projectionUpsert(a,'Demand',Array['from']({'length':0x5},(c,d)=>({'object_id':'0xL'+d,'payload':JSON['stringify']({'object':'0xL'+d})})),{'hasMore':![],'maxObjects':0xc8});const b=projectionServe(a,'Demand',{},0x3);expect(b['items'])['toHaveLength'](0x3),expect(b['meta']['total_rows'])['toBe'](0x5);});});
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import { type Facts } from "../config/rule-engine.js";
|
|
2
|
-
export type ProofRiskLevel = "critical" | "high" | "medium" | "low" | "info";
|
|
3
|
-
export type ProofRiskCategory = "structural" | "semantic" | "lifecycle" | "knowledge";
|
|
4
|
-
export type ProofStakeholder = "creator" | "consumer" | "verifier" | "system";
|
|
5
|
-
export interface ProofRisk {
|
|
6
|
-
id: string;
|
|
7
|
-
level: ProofRiskLevel;
|
|
8
|
-
category: ProofRiskCategory;
|
|
9
|
-
title: string;
|
|
10
|
-
description: string;
|
|
11
|
-
affected_stakeholders: ProofStakeholder[];
|
|
12
|
-
scenario: string;
|
|
13
|
-
mitigation: string;
|
|
14
|
-
evidence?: string;
|
|
15
|
-
related_move_error?: string;
|
|
16
|
-
auto_fixable: boolean;
|
|
17
|
-
}
|
|
18
|
-
export interface ProofRiskCheckContext {
|
|
19
|
-
proof?: string;
|
|
20
|
-
server_pubkey?: string;
|
|
21
|
-
server_signature?: string;
|
|
22
|
-
proof_type?: number | bigint | string;
|
|
23
|
-
about_address?: string | null;
|
|
24
|
-
description?: string;
|
|
25
|
-
item_count?: number | bigint | string | null;
|
|
26
|
-
has_named_new?: boolean;
|
|
27
|
-
constants_synced?: boolean;
|
|
28
|
-
}
|
|
29
|
-
export declare function proofRiskFacts(ctx: ProofRiskCheckContext): Facts;
|
|
30
|
-
export declare const PROOF_RISK_RULES: Array<ProofRisk & {
|
|
31
|
-
trigger?: string;
|
|
32
|
-
}>;
|
|
33
|
-
export declare function checkProofRisks(ctx: ProofRiskCheckContext): ProofRisk[];
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
export declare const PROTOCOL_FACTS_VERSION = 1;
|
|
2
|
-
export interface ProtocolFact {
|
|
3
|
-
id: string;
|
|
4
|
-
kind: "settled" | "invariant";
|
|
5
|
-
title: string;
|
|
6
|
-
statement: string;
|
|
7
|
-
chain_ref: string;
|
|
8
|
-
verified_on: string;
|
|
9
|
-
superseded_by?: string;
|
|
10
|
-
enforced_by?: string[];
|
|
11
|
-
}
|
|
12
|
-
export declare const PROTOCOL_FACTS: readonly ProtocolFact[];
|
|
13
|
-
export declare const SV2_REPLAY_GATE_CLAUSE = "REPLAY GATE (SV-2, azx7-mn-261014 live T8 \u2014 supersedes the ofn-mn-261012 storeFromId retraction, which live A/B testing disproved): scope the claim-records query BY THE ORDER \u2014 logic_not({type:'query_reward_record_exists', object:<reward slot>, where:{storeFromId:<order slot>}}); a recipient-only EMPTY where:{} makes the pre-check once-per-buyer-FOR-LIFE and silently kills the buyer's second order (upw-mn-261014 F-48); a RAW query with an empty VecU8 parameter is an uncoded VM error ('Query bytes is empty', klk-mn-261013 F-05). The guard ENTRY stamp is what makes the scope REAL: the reward guard_add ENTRY MUST pin store_from_id = the table slot whose submitted value is the per-order stamp (slot 0 \u2014 the submitted Order address) whenever the guard consumes claim records \u2014 the MCP guard_add stamp gate hard-REJECTS record-consuming guards that omit it (upw F-13 \u2192 UPW-K7, crs-mn-261014 F-17); the chain itself accepts an unstamped entry but never stamps its claim records, silently killing the per-order replay scope (ofn-mn-261012 F-01), and re-adding the same guard overwrites its slot in place (live pools repairable). SCOPE SPLIT (SV-2): entry-stamped + order-scoped where = ONCE PER BUYER PER ORDER \u2014 the native RewardClaimKey is (recipient, guard, bcs(store_from)), so the same buyer on a DIFFERENT order claims again and only a same-order replay is refused natively (LIVE-CONFIRMED); entry-stamped + empty where = once per buyer for life \u2014 choose it DELIBERATELY for one-bounty-per-buyer designs.";
|
|
14
|
-
export declare const SV2_UNARMED_PRESCRIPTION: string;
|
|
15
|
-
export declare const TWO_TX_RENEW_RECIPE: string;
|
|
16
|
-
export declare const SV2_PRIMARY_FORM_CLAUSE: string;
|
|
17
|
-
export declare const SV2_DELIBERATE_ALTERNATIVE_CLAUSE = "DELIBERATE ALTERNATIVE: entry-stamped + EMPTY where ({}) = once per buyer FOR LIFE \u2014 the SDK encodes empty where-conditions as [VecU8 marker][all-None RecordQueryConditions], recipient defaults to the Signer, so the gate reads 'this recipient has never claimed this Reward' (klk-mn-261014 live: the replay aborts at the passport layer, E_VERIFY_FAILED=7). NEVER pair it with per-order bounty wording \u2014 it silently kills the buyer's second order (upw-mn-261014 F-48). ";
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
export declare function findRegistryDeadLegs(root: unknown): string[];
|
|
2
|
-
export interface ClosureInput {
|
|
3
|
-
refs: Iterable<string>;
|
|
4
|
-
resolvedLowerKeys: Iterable<string>;
|
|
5
|
-
readError?: string;
|
|
6
|
-
unreadableRefs?: Iterable<string>;
|
|
7
|
-
softRefs?: Iterable<string>;
|
|
8
|
-
}
|
|
9
|
-
export declare function closureFindings(input: ClosureInput, opts?: {
|
|
10
|
-
strictAudit?: boolean;
|
|
11
|
-
}): {
|
|
12
|
-
blockers: string[];
|
|
13
|
-
disclosures: string[];
|
|
14
|
-
outage?: string;
|
|
15
|
-
};
|
|
16
|
-
export declare function nettingFindings(railGuardObjects: unknown[]): string[];
|
|
17
|
-
export declare function opsReadyFindings(arbRefs: string[], perm?: {
|
|
18
|
-
entity_count?: number;
|
|
19
|
-
permission_indexes?: number[];
|
|
20
|
-
}): string[];
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { type PublishFace, type PublishGateContractEntry } from "./publish-surface-contract.js";
|
|
2
|
-
export declare const PUBLISH_READINESS_SCHEMA = "wowok.publish-readiness/1";
|
|
3
|
-
export interface PublishReadinessFinding {
|
|
4
|
-
gate: string;
|
|
5
|
-
severity: "critical" | "warning";
|
|
6
|
-
message: string;
|
|
7
|
-
}
|
|
8
|
-
export interface PublishReadinessVerdict {
|
|
9
|
-
schema: typeof PUBLISH_READINESS_SCHEMA;
|
|
10
|
-
contract_version: string;
|
|
11
|
-
face: PublishFace;
|
|
12
|
-
outcome: "blocked" | "pass_with_advisories" | "pass";
|
|
13
|
-
gates_evaluated: string[];
|
|
14
|
-
critical: PublishReadinessFinding[];
|
|
15
|
-
warnings: PublishReadinessFinding[];
|
|
16
|
-
authority: string;
|
|
17
|
-
generated_at: number;
|
|
18
|
-
}
|
|
19
|
-
export declare function contractIdForGate(gate: string, registry?: PublishGateContractEntry[]): string;
|
|
20
|
-
export declare function buildPublishReadinessVerdict(face: PublishFace, gateOutcomes: Array<{
|
|
21
|
-
gate: string;
|
|
22
|
-
critical: string[];
|
|
23
|
-
warnings: string[];
|
|
24
|
-
}>, declaredGates?: string[]): PublishReadinessVerdict;
|
|
25
|
-
export declare function summarizeVerdict(v: PublishReadinessVerdict): string;
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
export type PublishFace = "machine_publish" | "service_publish" | "guard_binding";
|
|
2
|
-
export type GateEnforcement = "always" | "strict_audit_only" | "advisory";
|
|
3
|
-
export interface PublishGateContractEntry {
|
|
4
|
-
id: string;
|
|
5
|
-
gate: string;
|
|
6
|
-
faces: PublishFace[];
|
|
7
|
-
enforcement: GateEnforcement;
|
|
8
|
-
defect_class: string;
|
|
9
|
-
origin: string;
|
|
10
|
-
wired_in: "wrap" | "compile" | "audit-rules" | "onchain";
|
|
11
|
-
}
|
|
12
|
-
export declare const PUBLISH_SURFACE_CONTRACT_VERSION = "1.3.0";
|
|
13
|
-
export declare const PUBLISH_SURFACE_CONTRACT: PublishGateContractEntry[];
|
|
14
|
-
export declare const PUBLISH_SURFACE_EXEMPT_GATES: Record<string, string>;
|
|
15
|
-
export declare function gatesForFace(face: PublishFace): PublishGateContractEntry[];
|
|
16
|
-
export declare function blockingGatesForFace(face: PublishFace): PublishGateContractEntry[];
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
export declare function projectGuardPuzzle(puzzle: unknown): unknown;
|
|
2
|
-
export declare function projectMachinePuzzle(puzzle: unknown): unknown;
|
|
3
|
-
export declare function projectAllocationPuzzle(puzzle: unknown): unknown;
|
|
4
|
-
export declare function projectTreasuryPuzzle(puzzle: unknown): unknown;
|
|
5
|
-
export declare function projectServicePuzzle(puzzle: unknown): unknown;
|
|
6
|
-
export declare function projectPermissionPuzzle(puzzle: unknown): unknown;
|
|
7
|
-
export declare function projectRewardPuzzle(puzzle: unknown): unknown;
|
|
8
|
-
export declare function projectOrderPuzzle(puzzle: unknown): unknown;
|
|
9
|
-
export declare function projectProgressPuzzle(puzzle: unknown): unknown;
|
|
10
|
-
export declare function projectArbitrationPuzzle(puzzle: unknown): unknown;
|
|
11
|
-
export declare const PUZZLE_PROJECTIONS: Record<string, (puzzle: unknown) => unknown>;
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { type GuardTableRow, type GuardTreeNode } from "./allocator-rail-verifier.js";
|
|
2
|
-
export declare function classifyTimeComparison(node: GuardTreeNode | undefined, table: GuardTableRow[]): "closing" | "opening" | "neutral";
|
|
3
|
-
export declare function closingWindowUnavoidable(root: unknown, table: GuardTableRow[]): boolean;
|
|
4
|
-
export declare function arbReadUnavoidable(root: unknown): boolean;
|
|
5
|
-
export type RailExitFindingCode = "RAIL_EXIT_WINDOW_CLOSED" | "RAIL_EXIT_ARB_GATED";
|
|
6
|
-
export type RailExitFindingLevel = "critical" | "info";
|
|
7
|
-
export interface RailExitFinding {
|
|
8
|
-
code: RailExitFindingCode;
|
|
9
|
-
level: RailExitFindingLevel;
|
|
10
|
-
detail: string;
|
|
11
|
-
node: string;
|
|
12
|
-
refs: string[];
|
|
13
|
-
}
|
|
14
|
-
export interface RailExitInput {
|
|
15
|
-
ref: string;
|
|
16
|
-
root: unknown;
|
|
17
|
-
table?: GuardTableRow[];
|
|
18
|
-
pos: Set<string>;
|
|
19
|
-
neg: Set<string>;
|
|
20
|
-
}
|
|
21
|
-
export interface RailExitVerifyInput {
|
|
22
|
-
rails: RailExitInput[];
|
|
23
|
-
terminals: string[];
|
|
24
|
-
}
|
|
25
|
-
export declare function verifyRailExitSatisfiability(input: RailExitVerifyInput): RailExitFinding[];
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import { type Facts } from "../config/rule-engine.js";
|
|
2
|
-
export type RegistrarRiskLevel = "critical" | "high" | "medium" | "low" | "info";
|
|
3
|
-
export type RegistrarRiskCategory = "structural" | "semantic" | "lifecycle" | "cross_object" | "knowledge";
|
|
4
|
-
export type RegistrarStakeholder = "user" | "referrer" | "voter" | "system";
|
|
5
|
-
export interface RegistrarRisk {
|
|
6
|
-
id: string;
|
|
7
|
-
level: RegistrarRiskLevel;
|
|
8
|
-
category: RegistrarRiskCategory;
|
|
9
|
-
title: string;
|
|
10
|
-
description: string;
|
|
11
|
-
affected_stakeholders: RegistrarStakeholder[];
|
|
12
|
-
scenario: string;
|
|
13
|
-
mitigation: string;
|
|
14
|
-
evidence?: string;
|
|
15
|
-
related_move_error?: string;
|
|
16
|
-
auto_fixable: boolean;
|
|
17
|
-
}
|
|
18
|
-
export interface RegistrarRiskCheckContext {
|
|
19
|
-
expects_singleton_migration?: boolean;
|
|
20
|
-
address_count?: number;
|
|
21
|
-
uses_reserved_vote_bits?: boolean;
|
|
22
|
-
expects_fresh_resource_on_register?: boolean;
|
|
23
|
-
expects_affiliation_event?: boolean;
|
|
24
|
-
relies_on_typed_value_convention?: boolean;
|
|
25
|
-
is_resource_transfer?: boolean;
|
|
26
|
-
expects_vote_time_only_on_like?: boolean;
|
|
27
|
-
constants_synced?: boolean;
|
|
28
|
-
}
|
|
29
|
-
export declare function registrarRiskFacts(ctx: RegistrarRiskCheckContext): Facts;
|
|
30
|
-
export declare const REGISTRAR_RISK_VERSION = "1.0.0";
|
|
31
|
-
export declare const REGISTRAR_RISK_RULES: Array<RegistrarRisk & {
|
|
32
|
-
trigger?: string;
|
|
33
|
-
}>;
|
|
34
|
-
export declare function checkRegistrarRisks(ctx: RegistrarRiskCheckContext): RegistrarRisk[];
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
export interface ReleaseSentinel {
|
|
2
|
-
version: number;
|
|
3
|
-
hash: string;
|
|
4
|
-
}
|
|
5
|
-
export type ReleaseFileState = "current" | "outdated" | "user_modified" | "user_file";
|
|
6
|
-
export declare function releaseBodyHash(content: string): string;
|
|
7
|
-
export declare function releaseSentinelLine(kind: string, version: number, hash: string): string;
|
|
8
|
-
export declare function stripReleaseSentinel(raw: string, kind: string): {
|
|
9
|
-
sentinel: ReleaseSentinel | null;
|
|
10
|
-
content: string;
|
|
11
|
-
};
|
|
12
|
-
export declare function classifyRelease(sentinel: ReleaseSentinel, content: string, currentVersion: number): ReleaseFileState;
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
import { type Facts } from "../config/rule-engine.js";
|
|
2
|
-
export type RepositoryRiskLevel = "critical" | "high" | "medium" | "low" | "info";
|
|
3
|
-
export type RepositoryRiskCategory = "structural" | "policy" | "routing" | "submission" | "knowledge";
|
|
4
|
-
export type RepositoryStakeholder = "creator" | "writer" | "reader" | "verifier" | "system";
|
|
5
|
-
export interface RepositoryRisk {
|
|
6
|
-
id: string;
|
|
7
|
-
level: RepositoryRiskLevel;
|
|
8
|
-
category: RepositoryRiskCategory;
|
|
9
|
-
title: string;
|
|
10
|
-
description: string;
|
|
11
|
-
affected_stakeholders: RepositoryStakeholder[];
|
|
12
|
-
scenario: string;
|
|
13
|
-
mitigation: string;
|
|
14
|
-
evidence?: string;
|
|
15
|
-
related_move_error?: string;
|
|
16
|
-
auto_fixable: boolean;
|
|
17
|
-
}
|
|
18
|
-
export interface RepositoryRiskCheckContext {
|
|
19
|
-
policies?: Array<{
|
|
20
|
-
name: string;
|
|
21
|
-
description?: string;
|
|
22
|
-
id_from: number | string;
|
|
23
|
-
write_guard_count: number;
|
|
24
|
-
has_id_from_submission: boolean;
|
|
25
|
-
has_data_from_submission: boolean;
|
|
26
|
-
}>;
|
|
27
|
-
existing_policy_count?: number;
|
|
28
|
-
data_size?: number;
|
|
29
|
-
id_count_once?: number;
|
|
30
|
-
reward_count?: number;
|
|
31
|
-
is_data_remove_with_passport?: boolean;
|
|
32
|
-
constants_synced?: boolean;
|
|
33
|
-
}
|
|
34
|
-
export interface RepositoryQuoteGuardContext {
|
|
35
|
-
has_quote_guard?: boolean;
|
|
36
|
-
quote_guard_is_depended?: boolean;
|
|
37
|
-
quote_guard_verifies_payment?: boolean;
|
|
38
|
-
has_owner_receive?: boolean;
|
|
39
|
-
}
|
|
40
|
-
declare function normalizeIdFrom(v: number | string): number;
|
|
41
|
-
export declare function repositoryRiskFacts(ctx: RepositoryRiskCheckContext & RepositoryQuoteGuardContext): Facts;
|
|
42
|
-
export declare const REPOSITORY_RISK_RULES: Array<RepositoryRisk & {
|
|
43
|
-
trigger?: string;
|
|
44
|
-
}>;
|
|
45
|
-
export declare function checkRepositoryRisks(ctx: RepositoryRiskCheckContext & RepositoryQuoteGuardContext): RepositoryRisk[];
|
|
46
|
-
export { normalizeIdFrom as parseIdFromForRiskCheck };
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import type { TopoNode, Viewport } from "../graph/onchain/index.js";
|
|
2
|
-
export declare const REPOSITORY_WRITE_SEMANTICS_NODE_ANALYZER_ID = "RP2";
|
|
3
|
-
export type RepositoryWriteRuleId = "R-REP-W-01" | "R-REP-W-02" | "R-REP-W-03" | "R-REP-W-04" | "R-REP-W-05" | "R-REP-W-06" | "R-REP-W-07" | "R-REP-W-08" | "R-REP-W-09" | "R-REP-W-10";
|
|
4
|
-
export interface RepositoryWriteRisk {
|
|
5
|
-
id: RepositoryWriteRuleId;
|
|
6
|
-
level: "info" | "low" | "medium" | "high" | "critical";
|
|
7
|
-
title: string;
|
|
8
|
-
description: string;
|
|
9
|
-
mitigation?: string;
|
|
10
|
-
evidence?: string;
|
|
11
|
-
affected_stakeholders: Array<"owner" | "customer" | "buyer" | "system">;
|
|
12
|
-
confidence: "exact" | "bounded";
|
|
13
|
-
}
|
|
14
|
-
export type TopologyResolution = {
|
|
15
|
-
status: "fetched";
|
|
16
|
-
} | {
|
|
17
|
-
status: "masked";
|
|
18
|
-
} | {
|
|
19
|
-
status: "unfetched";
|
|
20
|
-
state: string;
|
|
21
|
-
} | {
|
|
22
|
-
status: "absent";
|
|
23
|
-
depthCapped: boolean;
|
|
24
|
-
};
|
|
25
|
-
export declare function resolveInViewport(addr: string, v: Viewport): TopologyResolution;
|
|
26
|
-
export declare function repositoryWritePayloadOf(node: TopoNode): Record<string, unknown> | undefined;
|
|
27
|
-
export declare function analyzeRepositoryWriteSemantics(data: Record<string, unknown>, _node: TopoNode, v: Viewport): RepositoryWriteRisk[];
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
export interface Review {
|
|
2
|
-
reviewer: string;
|
|
3
|
-
rating: "like" | "dislike";
|
|
4
|
-
tags?: string[];
|
|
5
|
-
comment?: string;
|
|
6
|
-
orderRef?: string;
|
|
7
|
-
timestamp?: number;
|
|
8
|
-
verified: boolean;
|
|
9
|
-
}
|
|
10
|
-
export interface ReviewStats {
|
|
11
|
-
total: number;
|
|
12
|
-
likes: number;
|
|
13
|
-
dislikes: number;
|
|
14
|
-
likeRate: number;
|
|
15
|
-
verifiedCount: number;
|
|
16
|
-
topTags: Array<{
|
|
17
|
-
tag: string;
|
|
18
|
-
count: number;
|
|
19
|
-
}>;
|
|
20
|
-
recentTrend: "improving" | "declining" | "stable";
|
|
21
|
-
bidirectionalRate: number | null;
|
|
22
|
-
}
|
|
23
|
-
export declare const REPUTATION_RULES_VERSION = 2;
|
|
24
|
-
export declare function computeReviewStats(reviews: Review[], merchantReviews?: Review[]): ReviewStats;
|
|
25
|
-
export declare function isVerifiedReview(review: Review, orderHistory: Array<{
|
|
26
|
-
id: string;
|
|
27
|
-
status: string;
|
|
28
|
-
}>): boolean;
|
|
29
|
-
export declare function filterVerifiedReviews(reviews: Review[], orderHistory: Array<{
|
|
30
|
-
id: string;
|
|
31
|
-
status: string;
|
|
32
|
-
}>): Review[];
|
|
33
|
-
export declare function detectReviewManipulation(reviews: Review[]): {
|
|
34
|
-
suspicious: boolean;
|
|
35
|
-
reasons: string[];
|
|
36
|
-
};
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import type { IndustryTemplate } from "./template-loader.js";
|
|
2
|
-
export type RequirementFamilyId = "fulfillment" | "after_sales" | "review_incentive" | "discount" | "privacy_channel";
|
|
3
|
-
export type RequirementStatus = "mapped" | "unmapped" | "blocker";
|
|
4
|
-
export interface RequirementCoverageEntry {
|
|
5
|
-
family: RequirementFamilyId;
|
|
6
|
-
label: string;
|
|
7
|
-
status: RequirementStatus;
|
|
8
|
-
evidence: string;
|
|
9
|
-
target?: string;
|
|
10
|
-
note: string;
|
|
11
|
-
}
|
|
12
|
-
export declare const REQUIREMENT_FAMILY_IDS: readonly RequirementFamilyId[];
|
|
13
|
-
export declare function requirementCoverage(text: string, template?: IndustryTemplate): RequirementCoverageEntry[];
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import { type Facts } from "../config/rule-engine.js";
|
|
2
|
-
export type ResourceRiskLevel = "critical" | "high" | "medium" | "low" | "info";
|
|
3
|
-
export type ResourceRiskCategory = "structural" | "semantic" | "lifecycle" | "permission" | "knowledge";
|
|
4
|
-
export type ResourceStakeholder = "owner" | "caller" | "system";
|
|
5
|
-
export interface ResourceRisk {
|
|
6
|
-
id: string;
|
|
7
|
-
level: ResourceRiskLevel;
|
|
8
|
-
category: ResourceRiskCategory;
|
|
9
|
-
title: string;
|
|
10
|
-
description: string;
|
|
11
|
-
affected_stakeholders: ResourceStakeholder[];
|
|
12
|
-
scenario: string;
|
|
13
|
-
mitigation: string;
|
|
14
|
-
evidence?: string;
|
|
15
|
-
related_move_error?: string;
|
|
16
|
-
auto_fixable: boolean;
|
|
17
|
-
}
|
|
18
|
-
export interface ResourceRiskCheckContext {
|
|
19
|
-
tags_count?: number;
|
|
20
|
-
expects_resource_permission?: boolean;
|
|
21
|
-
tag_set_return_ignored?: boolean;
|
|
22
|
-
is_destroy?: boolean;
|
|
23
|
-
expects_tag_events?: boolean;
|
|
24
|
-
references_dead_switch?: boolean;
|
|
25
|
-
constants_synced?: boolean;
|
|
26
|
-
}
|
|
27
|
-
export declare function resourceRiskFacts(ctx: ResourceRiskCheckContext): Facts;
|
|
28
|
-
export declare const RESOURCE_RISK_VERSION = "1.0.0";
|
|
29
|
-
export declare const RESOURCE_RISK_RULES: Array<ResourceRisk & {
|
|
30
|
-
trigger?: string;
|
|
31
|
-
}>;
|
|
32
|
-
export declare function checkResourceRisks(ctx: ResourceRiskCheckContext): ResourceRisk[];
|
|
@@ -1,97 +0,0 @@
|
|
|
1
|
-
import { MAX_GUARD_COUNT_REWARD, MAX_RECORD_COUNT_REWARD } from "./onchain-constants.js";
|
|
2
|
-
export { MAX_GUARD_COUNT_REWARD, MAX_RECORD_COUNT_REWARD, };
|
|
3
|
-
export type RewardPhase = "creation" | "guard_addition" | "guard_lock_mgmt" | "funds_replenish" | "claim" | "um_mgmt" | "owner_receive" | "description_update" | "permission_update";
|
|
4
|
-
export interface RewardBuiltinPermissionEntry {
|
|
5
|
-
index: 150 | 151 | 152 | 153 | 154 | 155 | 156 | 157 | 158;
|
|
6
|
-
name: string;
|
|
7
|
-
description: string;
|
|
8
|
-
governed_operations: string[];
|
|
9
|
-
sdk_exposed: boolean;
|
|
10
|
-
}
|
|
11
|
-
export type RewardRecipientType = "GuardIdentifier" | "Entity" | "Signer";
|
|
12
|
-
export type RewardAmountType = "GuardU64Identifier" | "Fixed";
|
|
13
|
-
export type RewardGuardConstructor = "dynamic_recipient_dynamic_amount" | "dynamic_recipient_fixed_amount" | "entity_recipient_dynamic_amount" | "entity_recipient_fixed_amount" | "caller_recipient_dynamic_amount" | "caller_recipient_fixed_amount";
|
|
14
|
-
export interface RewardGuardConstructorSpec {
|
|
15
|
-
constructor: RewardGuardConstructor;
|
|
16
|
-
recipient_type: RewardRecipientType;
|
|
17
|
-
amount_type: RewardAmountType;
|
|
18
|
-
params: {
|
|
19
|
-
recipient_param?: "u8" | "address";
|
|
20
|
-
amount_param: "u8" | "u64";
|
|
21
|
-
expiration_time: "Option<u64>";
|
|
22
|
-
store_from_id: "Option<u8>";
|
|
23
|
-
};
|
|
24
|
-
construction_checks: string[];
|
|
25
|
-
typical_use: string;
|
|
26
|
-
}
|
|
27
|
-
export interface RewardScene {
|
|
28
|
-
id: string;
|
|
29
|
-
name: string;
|
|
30
|
-
industry: string[];
|
|
31
|
-
scenario: string;
|
|
32
|
-
phases: RewardPhase[];
|
|
33
|
-
coin_type_note: string;
|
|
34
|
-
typical_guard_count: number;
|
|
35
|
-
recipient_types_used: RewardRecipientType[];
|
|
36
|
-
amount_types_used: RewardAmountType[];
|
|
37
|
-
uses_expiration_time: boolean;
|
|
38
|
-
uses_store_from_id: boolean;
|
|
39
|
-
builtin_indexes_consumed: RewardBuiltinPermissionEntry[];
|
|
40
|
-
common_patterns: string[];
|
|
41
|
-
recommended_templates: string[];
|
|
42
|
-
}
|
|
43
|
-
export declare const REWARD_NEW: RewardBuiltinPermissionEntry;
|
|
44
|
-
export declare const REWARD_DESCRIPTION: RewardBuiltinPermissionEntry;
|
|
45
|
-
export declare const REWARD_GUARD: RewardBuiltinPermissionEntry;
|
|
46
|
-
export declare const REWARD_COIN_ADD: RewardBuiltinPermissionEntry;
|
|
47
|
-
export declare const REWARD_RECEIVE: RewardBuiltinPermissionEntry;
|
|
48
|
-
export declare const REWARD_GUARD_EXPIRATION_TIME_ADD: RewardBuiltinPermissionEntry;
|
|
49
|
-
export declare const REWARD_OWNER_RECEIVE: RewardBuiltinPermissionEntry;
|
|
50
|
-
export declare const REWARD_UM: RewardBuiltinPermissionEntry;
|
|
51
|
-
export declare const REWARD_WITHDRAW: RewardBuiltinPermissionEntry;
|
|
52
|
-
export declare const REWARD_PERMISSIONS: RewardBuiltinPermissionEntry[];
|
|
53
|
-
export interface RewardFieldEntry {
|
|
54
|
-
name: string;
|
|
55
|
-
move_type: string;
|
|
56
|
-
mutability: "immutable" | "admin_mutable" | "runtime";
|
|
57
|
-
set_at_creation: boolean;
|
|
58
|
-
constraint: string;
|
|
59
|
-
permission_index?: number;
|
|
60
|
-
related_errors?: string[];
|
|
61
|
-
}
|
|
62
|
-
export declare const REWARD_FIELDS: RewardFieldEntry[];
|
|
63
|
-
export declare const REWARD_GUARD_CONSTRUCTORS: RewardGuardConstructorSpec[];
|
|
64
|
-
export interface RewardErrorCodeEntry {
|
|
65
|
-
code: number;
|
|
66
|
-
name: string;
|
|
67
|
-
description: string;
|
|
68
|
-
trigger_operation: string;
|
|
69
|
-
}
|
|
70
|
-
export declare const REWARD_ERROR_CODES: RewardErrorCodeEntry[];
|
|
71
|
-
export declare const REWARD_SCENES: RewardScene[];
|
|
72
|
-
export declare const REWARD_LEDGER_VERSION = "1.1.0";
|
|
73
|
-
export declare function getScenesByPhase(phase: RewardPhase): RewardScene[];
|
|
74
|
-
export declare function findSceneById(id: string): RewardScene | undefined;
|
|
75
|
-
export declare function getScenesByIndustry(industry: string): RewardScene[];
|
|
76
|
-
export declare function getBuiltinPermissionByIndex(index: number): RewardBuiltinPermissionEntry | undefined;
|
|
77
|
-
export declare function isRewardBuiltinPermission(index: number): boolean;
|
|
78
|
-
export declare function getAllBuiltinPermissions(): RewardBuiltinPermissionEntry[];
|
|
79
|
-
export declare function getRewardScenesCount(): number;
|
|
80
|
-
export declare function getGuardConstructorSpec(constructor: RewardGuardConstructor): RewardGuardConstructorSpec | undefined;
|
|
81
|
-
export declare function resolveGuardConstructor(recipient_type: RewardRecipientType, amount_type: RewardAmountType): RewardGuardConstructor | undefined;
|
|
82
|
-
export declare function getRewardErrorByCode(code: number): RewardErrorCodeEntry | undefined;
|
|
83
|
-
export declare function getRewardErrorByName(name: string): RewardErrorCodeEntry | undefined;
|
|
84
|
-
export declare function validateGuardCount(currentGuardCount: number): {
|
|
85
|
-
ok: boolean;
|
|
86
|
-
violation?: string;
|
|
87
|
-
};
|
|
88
|
-
export declare function validateRecordCount(currentRecordCount: number): {
|
|
89
|
-
ok: boolean;
|
|
90
|
-
violation?: string;
|
|
91
|
-
};
|
|
92
|
-
export declare function inferSceneFromIntent(intent: string): RewardScene | undefined;
|
|
93
|
-
export declare const REWARD_CROSS_OBJECT_REFS: Array<{
|
|
94
|
-
object: "Guard" | "Permission" | "Passport" | "Payment" | "Repository" | "Service" | "Demand" | "Allocation" | "Contact" | "Coin";
|
|
95
|
-
phase: RewardPhase | "universal";
|
|
96
|
-
relationship: string;
|
|
97
|
-
}>;
|
|
@@ -1,98 +0,0 @@
|
|
|
1
|
-
import { MAX_GUARD_COUNT_REWARD, MAX_RECORD_COUNT_REWARD } from "./onchain-constants.js";
|
|
2
|
-
import { resolveGuardConstructor, getGuardConstructorSpec, type RewardBuiltinPermissionEntry, type RewardGuardConstructor, type RewardRecipientType, type RewardAmountType } from "./reward-ledger.js";
|
|
3
|
-
export interface RewardIntentPuzzle {
|
|
4
|
-
action: "create" | "claim" | "guard_add" | "guard_remove" | "add guard expiration time" | "coin_add" | "receive" | "owner_receive" | "set um" | "clear um" | "set description" | "set permission" | "query";
|
|
5
|
-
target_reward?: string;
|
|
6
|
-
rule_sentence: string;
|
|
7
|
-
failure_conditions: string[];
|
|
8
|
-
}
|
|
9
|
-
export interface RewardConfigPuzzle {
|
|
10
|
-
coin_type: string;
|
|
11
|
-
description: string;
|
|
12
|
-
permission: string;
|
|
13
|
-
permission_is_new: boolean;
|
|
14
|
-
}
|
|
15
|
-
export interface RewardGuardPuzzle {
|
|
16
|
-
guard: string;
|
|
17
|
-
recipient_type: RewardRecipientType;
|
|
18
|
-
recipient_param?: number | string;
|
|
19
|
-
amount_type: RewardAmountType;
|
|
20
|
-
amount_param: number | string;
|
|
21
|
-
expiration_time?: number | null;
|
|
22
|
-
store_from_id?: number | null;
|
|
23
|
-
constructor: RewardGuardConstructor;
|
|
24
|
-
}
|
|
25
|
-
export interface RewardFundsPuzzle {
|
|
26
|
-
current_balance: string;
|
|
27
|
-
coin_add_amount?: string;
|
|
28
|
-
receive_payment?: {
|
|
29
|
-
payment: string;
|
|
30
|
-
token_type: string;
|
|
31
|
-
};
|
|
32
|
-
claim_amount_estimate?: string;
|
|
33
|
-
owner_receive_envelope?: string;
|
|
34
|
-
}
|
|
35
|
-
export interface RewardPermissionPuzzle {
|
|
36
|
-
builtin_indexes_used: RewardBuiltinPermissionEntry[];
|
|
37
|
-
is_permission_free: boolean;
|
|
38
|
-
requires_passport: boolean;
|
|
39
|
-
signer?: string;
|
|
40
|
-
signer_is_owner?: boolean;
|
|
41
|
-
}
|
|
42
|
-
export interface RewardConstraintChecklist {
|
|
43
|
-
F_R_01_guard_count_le_200: boolean;
|
|
44
|
-
F_R_02_record_count_le_5200: boolean;
|
|
45
|
-
F_R_03_balance_sufficient_for_claim: boolean;
|
|
46
|
-
F_R_04_guard_not_locked: boolean;
|
|
47
|
-
F_R_05_guard_not_expired: boolean;
|
|
48
|
-
F_R_06_recipient_amount_valid_pairing: boolean;
|
|
49
|
-
F_R_07_coin_type_matches_reward_t: boolean;
|
|
50
|
-
F_R_08_passport_required_for_claim: boolean;
|
|
51
|
-
F_R_09_progress_node_matches_intent: boolean;
|
|
52
|
-
}
|
|
53
|
-
export type RewardPuzzleDimension = "A" | "B" | "C" | "D" | "E" | "F";
|
|
54
|
-
export interface RewardPuzzle {
|
|
55
|
-
intent?: RewardIntentPuzzle;
|
|
56
|
-
config?: RewardConfigPuzzle;
|
|
57
|
-
guard?: RewardGuardPuzzle;
|
|
58
|
-
funds?: RewardFundsPuzzle;
|
|
59
|
-
permission?: RewardPermissionPuzzle;
|
|
60
|
-
constraints?: RewardConstraintChecklist;
|
|
61
|
-
}
|
|
62
|
-
export interface RewardPuzzleCompleteness {
|
|
63
|
-
dimensions: RewardPuzzleDimension[];
|
|
64
|
-
missing: RewardPuzzleDimension[];
|
|
65
|
-
missing_details: {
|
|
66
|
-
dimension: RewardPuzzleDimension;
|
|
67
|
-
reason: string;
|
|
68
|
-
}[];
|
|
69
|
-
complete: boolean;
|
|
70
|
-
next_step: string;
|
|
71
|
-
}
|
|
72
|
-
export type RewardFieldMutability = "immutable" | "admin_mutable" | "runtime";
|
|
73
|
-
export interface RewardFieldMutabilityEntry {
|
|
74
|
-
field: string;
|
|
75
|
-
mutability: RewardFieldMutability;
|
|
76
|
-
permission_index?: number;
|
|
77
|
-
set_at_creation: boolean;
|
|
78
|
-
}
|
|
79
|
-
export declare const REWARD_FIELD_MUTABILITY: RewardFieldMutabilityEntry[];
|
|
80
|
-
export declare function initPuzzleFromIntent(intent: Partial<RewardIntentPuzzle>): RewardPuzzle;
|
|
81
|
-
export declare function checkPuzzleCompleteness(puzzle: RewardPuzzle): RewardPuzzleCompleteness;
|
|
82
|
-
export interface RewardConstraintViolation {
|
|
83
|
-
constraint_id: string;
|
|
84
|
-
severity: "critical" | "high" | "medium" | "low";
|
|
85
|
-
message: string;
|
|
86
|
-
current_value?: string | number;
|
|
87
|
-
limit?: string | number;
|
|
88
|
-
}
|
|
89
|
-
export declare function validateConstraints(puzzle: RewardPuzzle): RewardConstraintViolation[];
|
|
90
|
-
export declare function generateConfirmationText(puzzle: RewardPuzzle): string;
|
|
91
|
-
export declare function resolveBuiltinPermission(index: number): RewardBuiltinPermissionEntry | undefined;
|
|
92
|
-
export declare function requiresGuardConfig(puzzle: RewardPuzzle): boolean;
|
|
93
|
-
export declare function requiresPassport(puzzle: RewardPuzzle): boolean;
|
|
94
|
-
export declare function getRelevantDimensions(action: RewardIntentPuzzle["action"]): RewardPuzzleDimension[];
|
|
95
|
-
export declare function getFieldMutability(field: string): RewardFieldMutabilityEntry | undefined;
|
|
96
|
-
export declare function isAdminMutableField(field: string): boolean;
|
|
97
|
-
export declare function getFieldPermissionIndex(field: string): number | undefined;
|
|
98
|
-
export { MAX_GUARD_COUNT_REWARD, MAX_RECORD_COUNT_REWARD, resolveGuardConstructor, getGuardConstructorSpec, };
|