@wowok/agent-mcp 3.4.0 → 3.4.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +8 -0
- package/dist/chain-semantics/composition-truth.d.ts +102 -0
- package/dist/chain-semantics/composition-truth.js +1 -0
- package/dist/chain-semantics/eval-order.js +1 -1
- package/dist/chain-semantics/fund-flow.js +1 -1
- package/dist/chain-semantics/index.d.ts +1 -0
- package/dist/chain-semantics/index.js +1 -1
- package/dist/composition/audit.js +1 -1
- package/dist/composition/blueprint-view.d.ts +3 -3
- package/dist/composition/blueprint-view.js +1 -1
- package/dist/composition/compile.d.ts +24 -3
- package/dist/composition/compile.js +1 -1
- package/dist/composition/emit-phases.d.ts +206 -0
- package/dist/composition/emit-phases.js +1 -0
- package/dist/composition/generate.d.ts +40 -0
- package/dist/composition/generate.js +1 -0
- package/dist/composition/guard-fill.d.ts +44 -0
- package/dist/composition/guard-fill.js +1 -0
- package/dist/composition/inflight.d.ts +20 -2
- package/dist/composition/inflight.js +1 -1
- package/dist/composition/input-normalize.d.ts +15 -0
- package/dist/composition/input-normalize.js +1 -0
- package/dist/composition/materialize.d.ts +18 -13
- package/dist/composition/materialize.js +1 -1
- package/dist/composition/mode-gates.d.ts +35 -0
- package/dist/composition/mode-gates.js +1 -0
- package/dist/composition/param-disclosure.js +1 -1
- package/dist/composition/plan-retry-ledger.d.ts +21 -0
- package/dist/composition/plan-retry-ledger.js +1 -0
- package/dist/composition/plan.d.ts +7 -2
- package/dist/composition/plan.js +1 -1
- package/dist/composition/product-card.d.ts +94 -0
- package/dist/composition/product-card.js +1 -0
- package/dist/composition/supply-chain-emit.d.ts +46 -0
- package/dist/composition/supply-chain-emit.js +1 -0
- package/dist/config/config-audit.spec.js +1 -1
- package/dist/config/config-warnings.d.ts +2 -0
- package/dist/config/config-warnings.js +1 -0
- package/dist/config/exposure.d.ts +2 -2
- package/dist/config/judgment.d.ts +31 -5
- package/dist/config/judgment.js +1 -1
- package/dist/config/judgment.spec.js +1 -1
- package/dist/config/match-policy-file.d.ts +34 -0
- package/dist/config/match-policy-file.js +1 -0
- package/dist/config/match-policy-file.spec.d.ts +1 -0
- package/dist/config/match-policy-file.spec.js +1 -0
- package/dist/config/rule-engine.d.ts +5 -5
- package/dist/config/rule-engine.js +1 -1
- package/dist/config/runtime.d.ts +0 -1
- package/dist/config/runtime.js +1 -1
- package/dist/config/severity.d.ts +0 -2
- package/dist/config/severity.js +1 -1
- package/dist/config/store-policy.spec.js +1 -1
- package/dist/config/template-params.d.ts +42 -0
- package/dist/config/template-params.js +1 -0
- package/dist/config/template-params.spec.d.ts +1 -0
- package/dist/config/template-params.spec.js +1 -0
- package/dist/data/api/api.spec.js +1 -1
- package/dist/data/api/server.js +1 -1
- package/dist/data/projection/store.d.ts +2 -1
- package/dist/data/projection/store.js +1 -1
- package/dist/data/projection/types.d.ts +22 -0
- package/dist/data/sync/cdc.d.ts +1 -2
- package/dist/data/sync/cdc.js +1 -1
- package/dist/evaluation/acceptance.d.ts +8 -0
- package/dist/evaluation/acceptance.js +1 -1
- package/dist/evaluation/builtins/demand-match.js +1 -1
- package/dist/evaluation/builtins/graph-service.spec.js +1 -1
- package/dist/evaluation/capability.d.ts +2 -0
- package/dist/evaluation/category-match-rules.d.ts +0 -1
- package/dist/evaluation/category-match-rules.js +1 -1
- package/dist/evaluation/composer.d.ts +25 -0
- package/dist/evaluation/composer.js +1 -1
- package/dist/evaluation/engine.js +1 -1
- package/dist/evaluation/extract.d.ts +7 -0
- package/dist/evaluation/extract.js +1 -1
- package/dist/evaluation/game-strategy.d.ts +0 -3
- package/dist/evaluation/game-strategy.js +1 -1
- package/dist/evaluation/match-operation.d.ts +9 -0
- package/dist/evaluation/match-operation.js +1 -1
- package/dist/evaluation/match-policy-resolver.d.ts +9 -0
- package/dist/evaluation/match-policy-resolver.js +1 -0
- package/dist/evaluation/match-policy.d.ts +3 -1
- package/dist/evaluation/match-policy.js +1 -1
- package/dist/evaluation/region.d.ts +0 -6
- package/dist/evaluation/region.js +1 -1
- package/dist/evaluation/standards.d.ts +2 -1
- package/dist/evaluation/standards.js +1 -1
- package/dist/evaluation/structured-lines.d.ts +8 -0
- package/dist/evaluation/structured-lines.js +1 -0
- package/dist/evaluation/types.d.ts +6 -0
- package/dist/experience/realtime-feedback.js +1 -1
- package/dist/extensions/capability-manifest.d.ts +1 -0
- package/dist/extensions/capability-manifest.js +1 -1
- package/dist/extensions/capability.d.ts +91 -0
- package/dist/extensions/capability.js +1 -0
- package/dist/extensions/industry-audit.spec.js +1 -1
- package/dist/extensions/industry-pack.d.ts +13 -0
- package/dist/extensions/industry-pack.js +1 -1
- package/dist/extensions/modes.js +1 -1
- package/dist/extensions/registry.d.ts +0 -2
- package/dist/extensions/registry.js +1 -1
- package/dist/goal/GoalEngine.js +1 -1
- package/dist/graph/onchain/analyze.js +1 -1
- package/dist/graph/onchain/expand.js +1 -1
- package/dist/graph/onchain/exposure.js +1 -1
- package/dist/graph/onchain/facts.js +1 -1
- package/dist/graph/onchain/order-status.d.ts +0 -1
- package/dist/graph/onchain/order-status.js +1 -1
- package/dist/harness/recover.js +1 -1
- package/dist/harness/verify.d.ts +0 -3
- package/dist/harness/verify.js +1 -1
- package/dist/intent/types.d.ts +0 -1
- package/dist/intent/types.js +1 -1
- package/dist/keeper/detectors.js +1 -1
- package/dist/keeper/types.d.ts +0 -1
- package/dist/keeper/types.js +1 -1
- package/dist/knowledge/allocation-risk.d.ts +1 -0
- package/dist/knowledge/allocation-risk.js +1 -1
- package/dist/knowledge/allocator-rail-verifier.d.ts +6 -1
- package/dist/knowledge/allocator-rail-verifier.js +1 -1
- package/dist/knowledge/arbitration-ledger.js +1 -1
- package/dist/knowledge/arbitration-puzzle.js +1 -1
- package/dist/knowledge/arbitration-templates.js +1 -1
- package/dist/knowledge/audit-rules.d.ts +4 -3
- package/dist/knowledge/audit-rules.js +1 -1
- package/dist/knowledge/baselines/judgment-baselines.json +21 -2
- package/dist/knowledge/baselines/rules/oracle.json +120 -0
- package/dist/knowledge/baselines/rules/plan.json +384 -17
- package/dist/knowledge/baselines/rules/progress.json +20 -2
- package/dist/knowledge/builtin-templates.d.ts +28 -1
- package/dist/knowledge/builtin-templates.js +1 -1
- package/dist/knowledge/component-schema.js +1 -1
- package/dist/knowledge/contact-templates.d.ts +0 -1
- package/dist/knowledge/contact-templates.js +1 -1
- package/dist/knowledge/dynamic-pricing.js +1 -1
- package/dist/knowledge/fee-param-bindings.js +1 -1
- package/dist/knowledge/fund-layer.d.ts +1 -0
- package/dist/knowledge/fund-layer.js +1 -1
- package/dist/knowledge/game-scenarios.js +1 -1
- package/dist/knowledge/getting-started.js +1 -1
- package/dist/knowledge/guard-binding-table.d.ts +52 -0
- package/dist/knowledge/guard-binding-table.js +1 -0
- package/dist/knowledge/guard-binding-verifier.d.ts +30 -0
- package/dist/knowledge/guard-binding-verifier.js +1 -0
- package/dist/knowledge/guard-bindings.js +1 -1
- package/dist/knowledge/guard-blueprint.d.ts +68 -0
- package/dist/knowledge/guard-blueprint.js +1 -0
- package/dist/knowledge/guard-design-patterns.d.ts +1 -1
- package/dist/knowledge/guard-design-patterns.js +1 -1
- package/dist/knowledge/guard-field-cognition.js +1 -1
- package/dist/knowledge/guard-host-context.d.ts +24 -0
- package/dist/knowledge/guard-host-context.js +1 -0
- package/dist/knowledge/guard-lint.js +1 -1
- package/dist/knowledge/guard-node-gates.d.ts +3 -0
- package/dist/knowledge/guard-node-gates.js +1 -1
- package/dist/knowledge/guard-puzzle.js +1 -1
- package/dist/knowledge/guard-render.js +1 -1
- package/dist/knowledge/guard-risk.js +1 -1
- package/dist/knowledge/guard-submission-prompt.d.ts +11 -0
- package/dist/knowledge/guard-submission-prompt.js +1 -1
- package/dist/knowledge/guard-templates.d.ts +1 -1
- package/dist/knowledge/guard-templates.js +1 -1
- package/dist/knowledge/guard-translation.js +1 -1
- package/dist/knowledge/index.d.ts +1 -1
- package/dist/knowledge/index.js +1 -1
- package/dist/knowledge/industry-generalizer.d.ts +6 -1
- package/dist/knowledge/industry-generalizer.js +1 -1
- package/dist/knowledge/industry-registry.js +1 -1
- package/dist/knowledge/jsonrpc-enum.d.ts +38 -0
- package/dist/knowledge/jsonrpc-enum.js +1 -1
- package/dist/knowledge/machine-topology.js +1 -1
- package/dist/knowledge/machine-translation.js +1 -1
- package/dist/knowledge/object-dependency.d.ts +31 -0
- package/dist/knowledge/object-dependency.js +1 -0
- package/dist/knowledge/onchain-constants.d.ts +2 -0
- package/dist/knowledge/onchain-constants.js +1 -1
- package/dist/knowledge/param-schema.d.ts +23 -0
- package/dist/knowledge/param-schema.js +1 -1
- package/dist/knowledge/param-tiers.js +1 -1
- package/dist/knowledge/passport-ledger.js +1 -1
- package/dist/knowledge/path-oracle/coverage.d.ts +16 -0
- package/dist/knowledge/path-oracle/coverage.js +1 -0
- package/dist/knowledge/path-oracle/index.d.ts +5 -0
- package/dist/knowledge/path-oracle/index.js +1 -0
- package/dist/knowledge/path-oracle/products/food-delivery.d.ts +2 -0
- package/dist/knowledge/path-oracle/products/food-delivery.js +1 -0
- package/dist/knowledge/path-oracle/schema.d.ts +188 -0
- package/dist/knowledge/path-oracle/schema.js +1 -0
- package/dist/knowledge/pattern-resolutions.d.ts +2 -0
- package/dist/knowledge/pattern-resolutions.js +1 -1
- package/dist/knowledge/progress-ledger.js +1 -1
- package/dist/knowledge/progress-risk.js +1 -1
- package/dist/knowledge/projection.spec.js +1 -1
- package/dist/knowledge/protocol-facts.js +1 -1
- package/dist/knowledge/requirement-families.d.ts +13 -0
- package/dist/knowledge/requirement-families.js +1 -0
- package/dist/knowledge/reward-ledger.js +1 -1
- package/dist/knowledge/scenario-modes.d.ts +1 -0
- package/dist/knowledge/scenario-modes.js +1 -1
- package/dist/knowledge/semantic-ir.d.ts +4 -0
- package/dist/knowledge/semantic-ir.js +1 -1
- package/dist/knowledge/service-ledger.d.ts +1 -1
- package/dist/knowledge/service-ledger.js +1 -1
- package/dist/knowledge/sku-name-gate.d.ts +17 -0
- package/dist/knowledge/sku-name-gate.js +1 -0
- package/dist/knowledge/supply-chain.d.ts +9 -0
- package/dist/knowledge/supply-chain.js +1 -1
- package/dist/knowledge/template-loader.d.ts +14 -6
- package/dist/knowledge/template-loader.js +1 -1
- package/dist/knowledge/template-nav.d.ts +3 -1
- package/dist/knowledge/template-nav.js +1 -1
- package/dist/knowledge/template-prose.d.ts +1 -1
- package/dist/knowledge/template-registry.js +1 -1
- package/dist/knowledge/template-scanner.d.ts +62 -0
- package/dist/knowledge/template-scanner.js +1 -1
- package/dist/knowledge/template-test-profiles.js +1 -1
- package/dist/knowledge/tools-reference.js +1 -1
- package/dist/knowledge/workflow-guidance.d.ts +5 -0
- package/dist/knowledge/workflow-guidance.js +1 -1
- package/dist/monitor/MonitorLoop.js +1 -1
- package/dist/participation/customer-interest.d.ts +4 -0
- package/dist/participation/customer-interest.js +1 -1
- package/dist/participation/node-action-advisor.d.ts +4 -0
- package/dist/participation/node-action-advisor.js +1 -1
- package/dist/participation/radar-core.js +1 -1
- package/dist/participation/time-window.d.ts +11 -0
- package/dist/participation/time-window.js +1 -1
- package/dist/persona/address-format.d.ts +0 -1
- package/dist/persona/address-format.js +1 -1
- package/dist/persona/bridge.js +1 -1
- package/dist/persona/index.d.ts +0 -2
- package/dist/persona/index.js +1 -1
- package/dist/persona/model.js +1 -1
- package/dist/persona/persona-audit.spec.js +1 -1
- package/dist/persona/types.d.ts +6 -0
- package/dist/playbooks/service-build/business-puzzle.js +1 -1
- package/dist/playbooks/service-build/game-theory.d.ts +2 -2
- package/dist/playbooks/service-build/intent-analyzer.js +1 -1
- package/dist/playbooks/service-build/machine-panorama.js +1 -1
- package/dist/playbooks/service-build/merchant-guide.d.ts +50 -23
- package/dist/playbooks/service-build/merchant-guide.js +1 -1
- package/dist/playbooks/service-build/migration-planner.d.ts +2 -0
- package/dist/playbooks/service-build/migration-planner.js +1 -1
- package/dist/playbooks/service-build/mode-actions.js +1 -1
- package/dist/playbooks/service-build/object-panorama.d.ts +8 -0
- package/dist/playbooks/service-build/object-panorama.js +1 -1
- package/dist/playbooks/service-build/participation-radar.js +1 -1
- package/dist/playbooks/service-build/relationship-profile.js +1 -1
- package/dist/playbooks/service-build/reverse-mapping.d.ts +6 -0
- package/dist/playbooks/service-build/reverse-mapping.js +1 -1
- package/dist/playbooks/service-build/service-panorama.d.ts +1 -0
- package/dist/playbooks/service-build/service-panorama.js +1 -1
- package/dist/playbooks/service-build/service-quote.js +1 -1
- package/dist/playbooks/service-build/service-quote.spec.js +1 -1
- package/dist/playbooks/service-build/workflow-design-assessment.d.ts +10 -1
- package/dist/playbooks/service-build/workflow-design-assessment.js +1 -1
- package/dist/review/index.js +1 -1
- package/dist/review/repository.js +1 -1
- package/dist/safety/confirm-gate.js +1 -1
- package/dist/schema/benchmark-migration/index.d.ts +104 -0
- package/dist/schema/benchmark-migration/index.js +1 -1
- package/dist/schema/call/allocation.d.ts +15 -6
- package/dist/schema/call/allocation.js +1 -1
- package/dist/schema/call/base.d.ts +256 -0
- package/dist/schema/call/base.js +1 -1
- package/dist/schema/call/bridge.d.ts +32 -6
- package/dist/schema/call/demand.d.ts +15 -6
- package/dist/schema/call/demand.js +1 -1
- package/dist/schema/call/guard.d.ts +8 -8
- package/dist/schema/call/guard.js +1 -1
- package/dist/schema/call/handler.d.ts +3 -0
- package/dist/schema/call/handler.js +1 -1
- package/dist/schema/call/machine.d.ts +32 -8
- package/dist/schema/call/machine.js +1 -1
- package/dist/schema/call/order.d.ts +26 -8
- package/dist/schema/call/order.js +1 -1
- package/dist/schema/call/payment.d.ts +20 -8
- package/dist/schema/call/payment.js +1 -1
- package/dist/schema/call/permission-handler.js +1 -1
- package/dist/schema/call/permission.d.ts +330 -114
- package/dist/schema/call/permission.js +1 -1
- package/dist/schema/call/personal.d.ts +10 -4
- package/dist/schema/call/personal.js +1 -1
- package/dist/schema/call/progress.d.ts +16 -4
- package/dist/schema/call/proof.js +1 -1
- package/dist/schema/call/reward.d.ts +10 -4
- package/dist/schema/call/reward.js +1 -1
- package/dist/schema/call/semantic.d.ts +1 -0
- package/dist/schema/call/semantic.js +1 -1
- package/dist/schema/call/service.d.ts +143 -45
- package/dist/schema/call/service.js +1 -1
- package/dist/schema/call/treasury.d.ts +15 -6
- package/dist/schema/call/treasury.js +1 -1
- package/dist/schema/common/index.js +1 -1
- package/dist/schema/config/index.d.ts +61 -0
- package/dist/schema/config/index.js +1 -1
- package/dist/schema/envelope-unify.d.ts +4 -0
- package/dist/schema/envelope-unify.js +1 -0
- package/dist/schema/evaluation/index.d.ts +216 -19
- package/dist/schema/evaluation/index.js +1 -1
- package/dist/schema/goal/index.d.ts +47 -0
- package/dist/schema/goal/planning.d.ts +115 -1
- package/dist/schema/goal/planning.js +1 -1
- package/dist/schema/industry-pack/index.d.ts +137 -6
- package/dist/schema/industry-pack/index.js +1 -1
- package/dist/schema/industry-pack/modes.d.ts +6 -6
- package/dist/schema/keeper/index.d.ts +26 -0
- package/dist/schema/local/index.d.ts +137 -0
- package/dist/schema/local/index.js +1 -1
- package/dist/schema/local/wip.d.ts +6 -0
- package/dist/schema/local/wip.js +1 -1
- package/dist/schema/messenger/index.d.ts +26 -0
- package/dist/schema/operations.d.ts +345 -84
- package/dist/schema/operations.js +1 -1
- package/dist/schema/persona/index.d.ts +2907 -640
- package/dist/schema/persona/index.js +1 -1
- package/dist/schema/query/bi.d.ts +145 -4
- package/dist/schema/query/bi.js +1 -1
- package/dist/schema/query/index.d.ts +266 -73
- package/dist/schema/query/index.js +1 -1
- package/dist/schema/schema-query/index.d.ts +1 -1
- package/dist/schema/schema-query/index.js +1 -1
- package/dist/schema/schema-version.js +1 -1
- package/dist/schema/utils/permission-machine-check.d.ts +2 -0
- package/dist/schema/utils/permission-machine-check.js +1 -1
- package/dist/schema/watch/index.d.ts +16 -0
- package/dist/schema/watch/index.js +1 -1
- package/dist/schema/workflow/index.d.ts +2 -2
- package/dist/schema/workflow/index.js +1 -1
- package/dist/schema-query-impl/index.d.ts +1 -1
- package/dist/schema-query-impl/index.js +1 -1
- package/dist/schemas/account_operation.output.json +94 -0
- package/dist/schemas/benchmark_migration_operation.output.json +338 -9
- package/dist/schemas/benchmark_migration_operation.schema.json +27 -2
- package/dist/schemas/bridge_operation.output.json +94 -0
- package/dist/schemas/config_operation.output.json +352 -0
- package/dist/schemas/config_operation.schema.json +20 -2
- package/dist/schemas/evaluation_operation.output.json +570 -4
- package/dist/schemas/evaluation_operation.schema.json +194 -3
- package/dist/schemas/goal_operation.schema.json +183 -0
- package/dist/schemas/index.json +1 -1
- package/dist/schemas/industry_pack_operation.output.json +621 -0
- package/dist/schemas/industry_pack_operation.schema.json +20 -2
- package/dist/schemas/keeper_operation.output.json +94 -0
- package/dist/schemas/local_cache_operation.output.json +94 -0
- package/dist/schemas/local_history_operation.output.json +94 -0
- package/dist/schemas/local_info_operation.output.json +94 -0
- package/dist/schemas/local_mark_operation.output.json +94 -0
- package/dist/schemas/messenger_operation.output.json +94 -0
- package/dist/schemas/monitor_events.output.json +94 -0
- package/dist/schemas/monitor_subscription.output.json +94 -0
- package/dist/schemas/onchain_events.output.json +94 -0
- package/dist/schemas/onchain_operations.output.json +313 -1
- package/dist/schemas/onchain_operations.schema.json +1265 -671
- package/dist/schemas/onchain_operations_allocation.schema.json +30 -15
- package/dist/schemas/onchain_operations_arbitration.schema.json +9 -2
- package/dist/schemas/onchain_operations_contact.schema.json +8 -1
- package/dist/schemas/onchain_operations_demand.schema.json +29 -14
- package/dist/schemas/onchain_operations_gen_passport.schema.json +8 -1
- package/dist/schemas/onchain_operations_guard.schema.json +290 -105
- package/dist/schemas/onchain_operations_machine.schema.json +49 -34
- package/dist/schemas/onchain_operations_order.schema.json +63 -40
- package/dist/schemas/onchain_operations_payment.schema.json +26 -11
- package/dist/schemas/onchain_operations_permission.schema.json +362 -235
- package/dist/schemas/onchain_operations_personal.schema.json +27 -15
- package/dist/schemas/onchain_operations_progress.schema.json +45 -30
- package/dist/schemas/onchain_operations_proof.schema.json +9 -2
- package/dist/schemas/onchain_operations_repository.schema.json +8 -1
- package/dist/schemas/onchain_operations_reward.schema.json +32 -17
- package/dist/schemas/onchain_operations_service.schema.json +232 -125
- package/dist/schemas/onchain_operations_treasury.schema.json +32 -17
- package/dist/schemas/onchain_table_data.output.json +258 -6
- package/dist/schemas/onchain_table_data.schema.json +92 -52
- package/dist/schemas/persona_operation.output.json +7752 -0
- package/dist/schemas/persona_operation.schema.json +1232 -4
- package/dist/schemas/query_toolkit.output.json +756 -116
- package/dist/schemas/query_toolkit.schema.json +138 -7
- package/dist/schemas/schema_query.schema.json +1 -1
- package/dist/schemas/watch_operation.output.json +83 -0
- package/dist/schemas/wip_file.output.json +8 -0
- package/dist/schemas/workflow_operation.schema.json +2 -2
- package/dist/tools/handlers/benchmark-migration.d.ts +20 -3
- package/dist/tools/handlers/benchmark-migration.js +1 -1
- package/dist/tools/handlers/config.js +1 -1
- package/dist/tools/handlers/evaluation.js +1 -1
- package/dist/tools/handlers/evaluation.spec.js +1 -1
- package/dist/tools/handlers/industry-pack.js +1 -1
- package/dist/tools/handlers/onchain.d.ts +30 -0
- package/dist/tools/handlers/onchain.js +1 -1
- package/dist/tools/handlers/persona.js +1 -1
- package/dist/tools/handlers/query.d.ts +8 -0
- package/dist/tools/handlers/query.js +1 -1
- package/dist/tools/handlers/winner-derivation.d.ts +20 -0
- package/dist/tools/handlers/winner-derivation.js +1 -0
- package/dist/tools/handlers/wip-upload.js +1 -1
- package/dist/tools/index.d.ts +1 -0
- package/dist/tools/index.js +1 -1
- package/dist/tools/registry/business.js +1 -1
- package/dist/tools/registry/config.js +1 -1
- package/dist/tools/registry/evaluation.js +1 -1
- package/dist/tools/registry/identity.js +1 -1
- package/dist/tools/registry/query.js +1 -1
- package/dist/tools/transport-integrity.d.ts +7 -0
- package/dist/tools/transport-integrity.js +1 -0
- package/dist/tools/upgrade-check.js +1 -1
- package/dist/tools/wrap.d.ts +5 -0
- package/dist/tools/wrap.js +1 -1
- package/package.json +2 -2
- package/dist/extensions/business-modules.d.ts +0 -54
- package/dist/extensions/business-modules.js +0 -1
- package/dist/schemas/guard-templates.json +0 -379
|
@@ -3302,6 +3302,92 @@
|
|
|
3302
3302
|
"top_risks"
|
|
3303
3303
|
],
|
|
3304
3304
|
"additionalProperties": false
|
|
3305
|
+
},
|
|
3306
|
+
"blueprint_verdict": {
|
|
3307
|
+
"description": "Creation-time blueprint verdict: business intent + host rich semantics + logic tree composed and run through the full per-host verification battery BEFORE the guard create tx. Present when binding_hint maps to a catalog host; absent when no host is known (add binding_hint to enable).",
|
|
3308
|
+
"type": "object",
|
|
3309
|
+
"properties": {
|
|
3310
|
+
"host": {
|
|
3311
|
+
"type": "string",
|
|
3312
|
+
"description": "Catalog host id this guard was verified against (guard-host-context)."
|
|
3313
|
+
},
|
|
3314
|
+
"status": {
|
|
3315
|
+
"type": "string",
|
|
3316
|
+
"enum": [
|
|
3317
|
+
"blocked",
|
|
3318
|
+
"proceed_with_warnings",
|
|
3319
|
+
"proceed"
|
|
3320
|
+
],
|
|
3321
|
+
"description": "Single authority over create readiness. blocked = structural defect, fix BEFORE create (guards are immutable after create)."
|
|
3322
|
+
},
|
|
3323
|
+
"statement": {
|
|
3324
|
+
"type": "string",
|
|
3325
|
+
"description": "One authoritative verdict statement naming the finding codes."
|
|
3326
|
+
},
|
|
3327
|
+
"findings": {
|
|
3328
|
+
"type": "array",
|
|
3329
|
+
"items": {
|
|
3330
|
+
"type": "object",
|
|
3331
|
+
"properties": {
|
|
3332
|
+
"source": {
|
|
3333
|
+
"type": "string",
|
|
3334
|
+
"description": "Which verifier produced the finding (verifyGuardBinding / auditGuardRelies / auditQuoteGuardCandidate / blueprint)."
|
|
3335
|
+
},
|
|
3336
|
+
"code": {
|
|
3337
|
+
"type": "string",
|
|
3338
|
+
"description": "Stable finding id (e.g. MF_SLOT_IDENTITY_ANCHOR, RC_NO_ORDER_ANCHOR)."
|
|
3339
|
+
},
|
|
3340
|
+
"level": {
|
|
3341
|
+
"type": "string",
|
|
3342
|
+
"enum": [
|
|
3343
|
+
"critical",
|
|
3344
|
+
"warning",
|
|
3345
|
+
"info"
|
|
3346
|
+
]
|
|
3347
|
+
},
|
|
3348
|
+
"detail": {
|
|
3349
|
+
"type": "string"
|
|
3350
|
+
}
|
|
3351
|
+
},
|
|
3352
|
+
"required": [
|
|
3353
|
+
"source",
|
|
3354
|
+
"code",
|
|
3355
|
+
"level",
|
|
3356
|
+
"detail"
|
|
3357
|
+
],
|
|
3358
|
+
"additionalProperties": false
|
|
3359
|
+
},
|
|
3360
|
+
"description": "All findings from the composed verification battery."
|
|
3361
|
+
},
|
|
3362
|
+
"host_context": {
|
|
3363
|
+
"description": "The host rich semantics this guard inherits — inlined so the design dialogue argues from facts, not memory.",
|
|
3364
|
+
"type": "object",
|
|
3365
|
+
"properties": {
|
|
3366
|
+
"signer_subject": {
|
|
3367
|
+
"type": "string"
|
|
3368
|
+
},
|
|
3369
|
+
"order_anchor": {
|
|
3370
|
+
"type": "string"
|
|
3371
|
+
},
|
|
3372
|
+
"identity_obligation": {
|
|
3373
|
+
"type": "string"
|
|
3374
|
+
}
|
|
3375
|
+
},
|
|
3376
|
+
"required": [
|
|
3377
|
+
"signer_subject",
|
|
3378
|
+
"order_anchor",
|
|
3379
|
+
"identity_obligation"
|
|
3380
|
+
],
|
|
3381
|
+
"additionalProperties": false
|
|
3382
|
+
}
|
|
3383
|
+
},
|
|
3384
|
+
"required": [
|
|
3385
|
+
"host",
|
|
3386
|
+
"status",
|
|
3387
|
+
"statement",
|
|
3388
|
+
"findings"
|
|
3389
|
+
],
|
|
3390
|
+
"additionalProperties": false
|
|
3305
3391
|
}
|
|
3306
3392
|
},
|
|
3307
3393
|
"additionalProperties": false
|
|
@@ -3697,6 +3783,14 @@
|
|
|
3697
3783
|
"note": {
|
|
3698
3784
|
"description": "Additional note.",
|
|
3699
3785
|
"type": "string"
|
|
3786
|
+
},
|
|
3787
|
+
"digest": {
|
|
3788
|
+
"description": "REAL transaction digest of this operation (ddmc4 B-37) — paste into onchain_transaction or a block explorer to audit. Absent under dry-run/simulation.",
|
|
3789
|
+
"type": "string"
|
|
3790
|
+
},
|
|
3791
|
+
"signer": {
|
|
3792
|
+
"description": "Signing account's on-chain address — a SEPARATE field from digest ({signer, digest}), never occupying the digest slot.",
|
|
3793
|
+
"type": "string"
|
|
3700
3794
|
}
|
|
3701
3795
|
},
|
|
3702
3796
|
"required": [
|
|
@@ -287,6 +287,10 @@
|
|
|
287
287
|
"type": "boolean",
|
|
288
288
|
"description": "False when the detector could not resolve (installed dist-only package, build in progress, stat error). stale is then NOT evidence of freshness — treat verdicts as unconfirmed. Fail-open: never an error."
|
|
289
289
|
},
|
|
290
|
+
"actionable": {
|
|
291
|
+
"type": "boolean",
|
|
292
|
+
"description": "rq-tn-261030-8693be B11: the scan/plan verdicts under this face are fit to act on ONLY when true (fresh AND known). actionable=false VOIDS the conclusions in the same response — rebuild (pnpm build) and re-run before acting on any of them."
|
|
293
|
+
},
|
|
290
294
|
"lag_minutes": {
|
|
291
295
|
"anyOf": [
|
|
292
296
|
{
|
|
@@ -306,6 +310,7 @@
|
|
|
306
310
|
"required": [
|
|
307
311
|
"stale",
|
|
308
312
|
"known",
|
|
313
|
+
"actionable",
|
|
309
314
|
"lag_minutes",
|
|
310
315
|
"detail"
|
|
311
316
|
],
|
|
@@ -323,18 +328,28 @@
|
|
|
323
328
|
"items": {
|
|
324
329
|
"type": "string"
|
|
325
330
|
}
|
|
331
|
+
},
|
|
332
|
+
"status": {
|
|
333
|
+
"type": "string",
|
|
334
|
+
"enum": [
|
|
335
|
+
"READY",
|
|
336
|
+
"BLOCKED",
|
|
337
|
+
"UNVERIFIED"
|
|
338
|
+
],
|
|
339
|
+
"description": "AZT-04 single release authority. UNVERIFIED (ks7 F-18 / h1w9 F-17, kp1 P1-5 residual): the stale_build face was not actionable, so the verdict is void AS A WHOLE — buildable is false because VERIFICATION failed, NOT because the plan is defective (read blockers[0] and stale_build, rebuild, re-run)."
|
|
326
340
|
}
|
|
327
341
|
},
|
|
328
342
|
"required": [
|
|
329
343
|
"buildable",
|
|
330
|
-
"blockers"
|
|
344
|
+
"blockers",
|
|
345
|
+
"status"
|
|
331
346
|
],
|
|
332
347
|
"additionalProperties": false,
|
|
333
348
|
"description": "Single aggregate ruling over the three signal faces (scan.passed / plan.graph_validation.valid / plan.audit.blocking) — the authoritative go/no-go (bkmn-261012 F-M62); the individual faces stay advisory."
|
|
334
349
|
},
|
|
335
350
|
"next_action": {
|
|
336
351
|
"type": "string",
|
|
337
|
-
"description": "Top-level forwarding of the materialization contract (C6): the guide's 'Plan ready. Materialize: ...' text verbatim when the audit is clean; a BLOCKED reroute
|
|
352
|
+
"description": "Top-level forwarding of the materialization contract (C6): the guide's 'Plan ready. Materialize: ...' text verbatim when the audit is clean and the build is fresh; a BLOCKED reroute, or a DO-NOT-EXECUTE rebuild-first reroute when stale_build.actionable is false, otherwise."
|
|
338
353
|
}
|
|
339
354
|
},
|
|
340
355
|
"required": [
|
|
@@ -416,6 +431,46 @@
|
|
|
416
431
|
"items": {
|
|
417
432
|
"type": "string"
|
|
418
433
|
}
|
|
434
|
+
},
|
|
435
|
+
"drift": {
|
|
436
|
+
"type": "object",
|
|
437
|
+
"propertyNames": {
|
|
438
|
+
"type": "string"
|
|
439
|
+
},
|
|
440
|
+
"additionalProperties": {},
|
|
441
|
+
"description": "Disk-vs-catalog drift face for the scanned body (S14-E2)."
|
|
442
|
+
},
|
|
443
|
+
"compile_dry_run": {
|
|
444
|
+
"type": "object",
|
|
445
|
+
"properties": {
|
|
446
|
+
"status": {
|
|
447
|
+
"type": "string",
|
|
448
|
+
"enum": [
|
|
449
|
+
"ready",
|
|
450
|
+
"blocked",
|
|
451
|
+
"unavailable",
|
|
452
|
+
"unverified"
|
|
453
|
+
]
|
|
454
|
+
},
|
|
455
|
+
"buildable": {
|
|
456
|
+
"type": "boolean"
|
|
457
|
+
},
|
|
458
|
+
"blockers": {
|
|
459
|
+
"type": "array",
|
|
460
|
+
"items": {
|
|
461
|
+
"type": "string"
|
|
462
|
+
}
|
|
463
|
+
},
|
|
464
|
+
"note": {
|
|
465
|
+
"type": "string"
|
|
466
|
+
}
|
|
467
|
+
},
|
|
468
|
+
"required": [
|
|
469
|
+
"status",
|
|
470
|
+
"note"
|
|
471
|
+
],
|
|
472
|
+
"additionalProperties": false,
|
|
473
|
+
"description": "Compile-kernel probe verdict — the same authority template_generate enforces (S14-E2/GF-29). 'unverified' (ks7 F-18 / h1w9 F-17): the stale_build face was not actionable, so the probe's verdict is void — rebuild and re-run."
|
|
419
474
|
}
|
|
420
475
|
},
|
|
421
476
|
"required": [
|
|
@@ -423,7 +478,9 @@
|
|
|
423
478
|
"risk_level",
|
|
424
479
|
"passed",
|
|
425
480
|
"findings",
|
|
426
|
-
"red_flags"
|
|
481
|
+
"red_flags",
|
|
482
|
+
"drift",
|
|
483
|
+
"compile_dry_run"
|
|
427
484
|
],
|
|
428
485
|
"additionalProperties": false,
|
|
429
486
|
"description": "Full pre-deploy scan result."
|
|
@@ -439,6 +496,10 @@
|
|
|
439
496
|
"type": "boolean",
|
|
440
497
|
"description": "False when the detector could not resolve (installed dist-only package, build in progress, stat error). stale is then NOT evidence of freshness — treat verdicts as unconfirmed. Fail-open: never an error."
|
|
441
498
|
},
|
|
499
|
+
"actionable": {
|
|
500
|
+
"type": "boolean",
|
|
501
|
+
"description": "rq-tn-261030-8693be B11: the scan/plan verdicts under this face are fit to act on ONLY when true (fresh AND known). actionable=false VOIDS the conclusions in the same response — rebuild (pnpm build) and re-run before acting on any of them."
|
|
502
|
+
},
|
|
442
503
|
"lag_minutes": {
|
|
443
504
|
"anyOf": [
|
|
444
505
|
{
|
|
@@ -458,17 +519,36 @@
|
|
|
458
519
|
"required": [
|
|
459
520
|
"stale",
|
|
460
521
|
"known",
|
|
522
|
+
"actionable",
|
|
461
523
|
"lag_minutes",
|
|
462
524
|
"detail"
|
|
463
525
|
],
|
|
464
526
|
"additionalProperties": false,
|
|
465
527
|
"description": "Always-present stale-build disclosure on template_scan / template_generate (reuses computeSrcDistStaleness; no parallel detector)."
|
|
528
|
+
},
|
|
529
|
+
"buildable": {
|
|
530
|
+
"type": "boolean",
|
|
531
|
+
"description": "TOP-level build verdict (S14-E2): the ONE authority buildVerdict shares with template_generate — the static passed/risk_level stay advisory."
|
|
532
|
+
},
|
|
533
|
+
"build_blockers": {
|
|
534
|
+
"type": "array",
|
|
535
|
+
"items": {
|
|
536
|
+
"type": "string"
|
|
537
|
+
},
|
|
538
|
+
"description": "Why the compile kernel refuses (absent/empty when not definitively blocked)."
|
|
539
|
+
},
|
|
540
|
+
"next_action": {
|
|
541
|
+
"type": "string",
|
|
542
|
+
"description": "Verdict-obedient routing (ZR-41): BLOCKED refusal, proceed-to-generate, or the UNVERIFIED rebuild-first reroute when stale_build.actionable is false."
|
|
466
543
|
}
|
|
467
544
|
},
|
|
468
545
|
"required": [
|
|
469
546
|
"action",
|
|
470
547
|
"scan",
|
|
471
|
-
"stale_build"
|
|
548
|
+
"stale_build",
|
|
549
|
+
"buildable",
|
|
550
|
+
"build_blockers",
|
|
551
|
+
"next_action"
|
|
472
552
|
],
|
|
473
553
|
"additionalProperties": false
|
|
474
554
|
},
|
|
@@ -693,6 +773,55 @@
|
|
|
693
773
|
"additionalProperties": false,
|
|
694
774
|
"description": "Dry-run risk check against the matched template."
|
|
695
775
|
},
|
|
776
|
+
"requirement_coverage": {
|
|
777
|
+
"description": "W5-07 (ks7 F-04/F-02): explicit-promise coverage matrix. Every promise family the description hit lands in exactly ONE of mapped/unmapped/blocker — a stated promise can never silently disappear. status='blocker' = the matched template cannot carry the promise as-is; the note names the exact build decision (declare the mode / compose the registered fulfillment combination) required before migration_apply. Surface every blocker to the user at migration_review. Optional only so logs produced before W5-07 still parse — fresh migration_import logs ALWAYS carry it.",
|
|
778
|
+
"type": "array",
|
|
779
|
+
"items": {
|
|
780
|
+
"type": "object",
|
|
781
|
+
"properties": {
|
|
782
|
+
"family": {
|
|
783
|
+
"type": "string",
|
|
784
|
+
"enum": [
|
|
785
|
+
"fulfillment",
|
|
786
|
+
"after_sales",
|
|
787
|
+
"review_incentive",
|
|
788
|
+
"discount",
|
|
789
|
+
"privacy_channel"
|
|
790
|
+
]
|
|
791
|
+
},
|
|
792
|
+
"label": {
|
|
793
|
+
"type": "string"
|
|
794
|
+
},
|
|
795
|
+
"status": {
|
|
796
|
+
"type": "string",
|
|
797
|
+
"enum": [
|
|
798
|
+
"mapped",
|
|
799
|
+
"unmapped",
|
|
800
|
+
"blocker"
|
|
801
|
+
]
|
|
802
|
+
},
|
|
803
|
+
"evidence": {
|
|
804
|
+
"type": "string",
|
|
805
|
+
"description": "The matched phrase from the description — every coverage verdict carries its evidence."
|
|
806
|
+
},
|
|
807
|
+
"target": {
|
|
808
|
+
"description": "The WoWok carrier when status=mapped.",
|
|
809
|
+
"type": "string"
|
|
810
|
+
},
|
|
811
|
+
"note": {
|
|
812
|
+
"type": "string"
|
|
813
|
+
}
|
|
814
|
+
},
|
|
815
|
+
"required": [
|
|
816
|
+
"family",
|
|
817
|
+
"label",
|
|
818
|
+
"status",
|
|
819
|
+
"evidence",
|
|
820
|
+
"note"
|
|
821
|
+
],
|
|
822
|
+
"additionalProperties": false
|
|
823
|
+
}
|
|
824
|
+
},
|
|
696
825
|
"network": {
|
|
697
826
|
"type": "string",
|
|
698
827
|
"enum": [
|
|
@@ -718,6 +847,40 @@
|
|
|
718
847
|
"additionalProperties": false,
|
|
719
848
|
"description": "The structured migration log."
|
|
720
849
|
},
|
|
850
|
+
"buildable": {
|
|
851
|
+
"description": "Compile-kernel build verdict on probe inputs (S14-E2; absent when the probe could not run) — the matched template's buildability, surfaced at the earliest migration face.",
|
|
852
|
+
"type": "boolean"
|
|
853
|
+
},
|
|
854
|
+
"build_blockers": {
|
|
855
|
+
"description": "Why the compile kernel refuses (present only when the probe ruled).",
|
|
856
|
+
"type": "array",
|
|
857
|
+
"items": {
|
|
858
|
+
"type": "string"
|
|
859
|
+
}
|
|
860
|
+
},
|
|
861
|
+
"compile_dry_run": {
|
|
862
|
+
"description": "Probe verdict face (S14-E2).",
|
|
863
|
+
"type": "object",
|
|
864
|
+
"properties": {
|
|
865
|
+
"status": {
|
|
866
|
+
"type": "string",
|
|
867
|
+
"enum": [
|
|
868
|
+
"ready",
|
|
869
|
+
"blocked",
|
|
870
|
+
"unavailable",
|
|
871
|
+
"unverified"
|
|
872
|
+
]
|
|
873
|
+
},
|
|
874
|
+
"note": {
|
|
875
|
+
"type": "string"
|
|
876
|
+
}
|
|
877
|
+
},
|
|
878
|
+
"required": [
|
|
879
|
+
"status",
|
|
880
|
+
"note"
|
|
881
|
+
],
|
|
882
|
+
"additionalProperties": false
|
|
883
|
+
},
|
|
721
884
|
"inference_source": {
|
|
722
885
|
"description": "Which layer resolved the industry: 'keywords' = English lexical match only; 'semantic_ir' = the caller's IR decided; 'semantic_ir+keywords' = both contributed. Present only when semantic_ir was supplied.",
|
|
723
886
|
"type": "string",
|
|
@@ -740,7 +903,7 @@
|
|
|
740
903
|
},
|
|
741
904
|
"next_action": {
|
|
742
905
|
"type": "string",
|
|
743
|
-
"description": "Next chain step: run migration_review with this log (C6 — the chain is self-describing, no agent re-exploration)."
|
|
906
|
+
"description": "Next chain step: run migration_review with this log (C6 — the chain is self-describing, no agent re-exploration); carries a BLOCKED warning tail when the probe refused (S14-E2)."
|
|
744
907
|
}
|
|
745
908
|
},
|
|
746
909
|
"required": [
|
|
@@ -971,6 +1134,55 @@
|
|
|
971
1134
|
"additionalProperties": false,
|
|
972
1135
|
"description": "Dry-run risk check against the matched template."
|
|
973
1136
|
},
|
|
1137
|
+
"requirement_coverage": {
|
|
1138
|
+
"description": "W5-07 (ks7 F-04/F-02): explicit-promise coverage matrix. Every promise family the description hit lands in exactly ONE of mapped/unmapped/blocker — a stated promise can never silently disappear. status='blocker' = the matched template cannot carry the promise as-is; the note names the exact build decision (declare the mode / compose the registered fulfillment combination) required before migration_apply. Surface every blocker to the user at migration_review. Optional only so logs produced before W5-07 still parse — fresh migration_import logs ALWAYS carry it.",
|
|
1139
|
+
"type": "array",
|
|
1140
|
+
"items": {
|
|
1141
|
+
"type": "object",
|
|
1142
|
+
"properties": {
|
|
1143
|
+
"family": {
|
|
1144
|
+
"type": "string",
|
|
1145
|
+
"enum": [
|
|
1146
|
+
"fulfillment",
|
|
1147
|
+
"after_sales",
|
|
1148
|
+
"review_incentive",
|
|
1149
|
+
"discount",
|
|
1150
|
+
"privacy_channel"
|
|
1151
|
+
]
|
|
1152
|
+
},
|
|
1153
|
+
"label": {
|
|
1154
|
+
"type": "string"
|
|
1155
|
+
},
|
|
1156
|
+
"status": {
|
|
1157
|
+
"type": "string",
|
|
1158
|
+
"enum": [
|
|
1159
|
+
"mapped",
|
|
1160
|
+
"unmapped",
|
|
1161
|
+
"blocker"
|
|
1162
|
+
]
|
|
1163
|
+
},
|
|
1164
|
+
"evidence": {
|
|
1165
|
+
"type": "string",
|
|
1166
|
+
"description": "The matched phrase from the description — every coverage verdict carries its evidence."
|
|
1167
|
+
},
|
|
1168
|
+
"target": {
|
|
1169
|
+
"description": "The WoWok carrier when status=mapped.",
|
|
1170
|
+
"type": "string"
|
|
1171
|
+
},
|
|
1172
|
+
"note": {
|
|
1173
|
+
"type": "string"
|
|
1174
|
+
}
|
|
1175
|
+
},
|
|
1176
|
+
"required": [
|
|
1177
|
+
"family",
|
|
1178
|
+
"label",
|
|
1179
|
+
"status",
|
|
1180
|
+
"evidence",
|
|
1181
|
+
"note"
|
|
1182
|
+
],
|
|
1183
|
+
"additionalProperties": false
|
|
1184
|
+
}
|
|
1185
|
+
},
|
|
974
1186
|
"network": {
|
|
975
1187
|
"type": "string",
|
|
976
1188
|
"enum": [
|
|
@@ -1010,6 +1222,40 @@
|
|
|
1010
1222
|
},
|
|
1011
1223
|
"risk_passed": {
|
|
1012
1224
|
"type": "boolean"
|
|
1225
|
+
},
|
|
1226
|
+
"buildable": {
|
|
1227
|
+
"description": "Compile-kernel build verdict on probe inputs (S14-E2; absent when the probe could not run) — a DEFINITIVE false verdict un-cleans the route.",
|
|
1228
|
+
"type": "boolean"
|
|
1229
|
+
},
|
|
1230
|
+
"build_blockers": {
|
|
1231
|
+
"description": "Why the compile kernel refuses (present only when the probe ruled).",
|
|
1232
|
+
"type": "array",
|
|
1233
|
+
"items": {
|
|
1234
|
+
"type": "string"
|
|
1235
|
+
}
|
|
1236
|
+
},
|
|
1237
|
+
"compile_dry_run": {
|
|
1238
|
+
"description": "Probe verdict face (S14-E2).",
|
|
1239
|
+
"type": "object",
|
|
1240
|
+
"properties": {
|
|
1241
|
+
"status": {
|
|
1242
|
+
"type": "string",
|
|
1243
|
+
"enum": [
|
|
1244
|
+
"ready",
|
|
1245
|
+
"blocked",
|
|
1246
|
+
"unavailable",
|
|
1247
|
+
"unverified"
|
|
1248
|
+
]
|
|
1249
|
+
},
|
|
1250
|
+
"note": {
|
|
1251
|
+
"type": "string"
|
|
1252
|
+
}
|
|
1253
|
+
},
|
|
1254
|
+
"required": [
|
|
1255
|
+
"status",
|
|
1256
|
+
"note"
|
|
1257
|
+
],
|
|
1258
|
+
"additionalProperties": false
|
|
1013
1259
|
}
|
|
1014
1260
|
},
|
|
1015
1261
|
"required": [
|
|
@@ -1019,7 +1265,7 @@
|
|
|
1019
1265
|
"risk_passed"
|
|
1020
1266
|
],
|
|
1021
1267
|
"additionalProperties": false,
|
|
1022
|
-
"description": "Counts + risk status for the confirmation screen."
|
|
1268
|
+
"description": "Counts + risk status + build verdict (S14-E2) for the confirmation screen."
|
|
1023
1269
|
},
|
|
1024
1270
|
"next_action": {
|
|
1025
1271
|
"type": "string",
|
|
@@ -1167,18 +1413,28 @@
|
|
|
1167
1413
|
"items": {
|
|
1168
1414
|
"type": "string"
|
|
1169
1415
|
}
|
|
1416
|
+
},
|
|
1417
|
+
"status": {
|
|
1418
|
+
"type": "string",
|
|
1419
|
+
"enum": [
|
|
1420
|
+
"READY",
|
|
1421
|
+
"BLOCKED",
|
|
1422
|
+
"UNVERIFIED"
|
|
1423
|
+
],
|
|
1424
|
+
"description": "AZT-04 single release authority. UNVERIFIED (ks7 F-18 / h1w9 F-17, kp1 P1-5 residual): the stale_build face was not actionable, so the verdict is void AS A WHOLE — buildable is false because VERIFICATION failed, NOT because the plan is defective (read blockers[0] and stale_build, rebuild, re-run)."
|
|
1170
1425
|
}
|
|
1171
1426
|
},
|
|
1172
1427
|
"required": [
|
|
1173
1428
|
"buildable",
|
|
1174
|
-
"blockers"
|
|
1429
|
+
"blockers",
|
|
1430
|
+
"status"
|
|
1175
1431
|
],
|
|
1176
1432
|
"additionalProperties": false,
|
|
1177
1433
|
"description": "Single aggregate ruling over the three signal faces (scan.passed / plan.graph_validation.valid / plan.audit.blocking) — the authoritative go/no-go (bkmn-261012 F-M62); the individual faces stay advisory."
|
|
1178
1434
|
},
|
|
1179
1435
|
"next_action": {
|
|
1180
1436
|
"type": "string",
|
|
1181
|
-
"description": "Top-level forwarding of the materialization contract (C6): the guide's 'Plan ready. Materialize: ...' text verbatim when the audit is clean; a BLOCKED reroute
|
|
1437
|
+
"description": "Top-level forwarding of the materialization contract (C6): the guide's 'Plan ready. Materialize: ...' text verbatim when the audit is clean and the build is fresh; a BLOCKED reroute, or a DO-NOT-EXECUTE rebuild-first reroute when stale_build.actionable is false, otherwise."
|
|
1182
1438
|
}
|
|
1183
1439
|
},
|
|
1184
1440
|
"required": [
|
|
@@ -1240,9 +1496,82 @@
|
|
|
1240
1496
|
"additionalProperties": {},
|
|
1241
1497
|
"description": "Post-execution conservation/readback checks."
|
|
1242
1498
|
},
|
|
1499
|
+
"resume": {
|
|
1500
|
+
"description": "W5-08 ①: the READY-TO-PASS resume payload, present whenever the run did NOT complete. Pass both fields back verbatim on the next plan_execute call (or use resume_from_step + previous_outputs).",
|
|
1501
|
+
"type": "object",
|
|
1502
|
+
"properties": {
|
|
1503
|
+
"completed_steps": {
|
|
1504
|
+
"type": "array",
|
|
1505
|
+
"items": {
|
|
1506
|
+
"type": "string"
|
|
1507
|
+
},
|
|
1508
|
+
"description": "Every stepId whose status is 'executed' in this response (fresh OR adopted) — the completed_steps of the next round."
|
|
1509
|
+
},
|
|
1510
|
+
"previous_outputs": {
|
|
1511
|
+
"type": "object",
|
|
1512
|
+
"propertyNames": {
|
|
1513
|
+
"type": "string"
|
|
1514
|
+
},
|
|
1515
|
+
"additionalProperties": {
|
|
1516
|
+
"type": "string"
|
|
1517
|
+
},
|
|
1518
|
+
"description": "This response's outputs — the previous_outputs of the next round."
|
|
1519
|
+
}
|
|
1520
|
+
},
|
|
1521
|
+
"required": [
|
|
1522
|
+
"completed_steps",
|
|
1523
|
+
"previous_outputs"
|
|
1524
|
+
],
|
|
1525
|
+
"additionalProperties": false
|
|
1526
|
+
},
|
|
1527
|
+
"repeated_failures": {
|
|
1528
|
+
"description": "W5-08 ③: steps that failed with the IDENTICAL error in 2+ consecutive rounds — the run withholds the generic RESUME recipe for these; fix the cause before resuming.",
|
|
1529
|
+
"type": "array",
|
|
1530
|
+
"items": {
|
|
1531
|
+
"type": "object",
|
|
1532
|
+
"properties": {
|
|
1533
|
+
"step_id": {
|
|
1534
|
+
"type": "string"
|
|
1535
|
+
},
|
|
1536
|
+
"consecutive_rounds": {
|
|
1537
|
+
"type": "number"
|
|
1538
|
+
},
|
|
1539
|
+
"error": {
|
|
1540
|
+
"type": "string"
|
|
1541
|
+
}
|
|
1542
|
+
},
|
|
1543
|
+
"required": [
|
|
1544
|
+
"step_id",
|
|
1545
|
+
"consecutive_rounds",
|
|
1546
|
+
"error"
|
|
1547
|
+
],
|
|
1548
|
+
"additionalProperties": false
|
|
1549
|
+
}
|
|
1550
|
+
},
|
|
1551
|
+
"retry_prohibited": {
|
|
1552
|
+
"description": "W5-08 ③: true alongside repeated_failures — a further unchanged re-run is REFUSED pre-execution (retry_override is the audited escape hatch).",
|
|
1553
|
+
"type": "boolean"
|
|
1554
|
+
},
|
|
1555
|
+
"retry_override_applied": {
|
|
1556
|
+
"description": "W5-08 ③ audit trail: the retry_override accepted this round (step cleared from the repeated-failure ledger).",
|
|
1557
|
+
"type": "object",
|
|
1558
|
+
"properties": {
|
|
1559
|
+
"step_id": {
|
|
1560
|
+
"type": "string"
|
|
1561
|
+
},
|
|
1562
|
+
"note": {
|
|
1563
|
+
"type": "string"
|
|
1564
|
+
}
|
|
1565
|
+
},
|
|
1566
|
+
"required": [
|
|
1567
|
+
"step_id",
|
|
1568
|
+
"note"
|
|
1569
|
+
],
|
|
1570
|
+
"additionalProperties": false
|
|
1571
|
+
},
|
|
1243
1572
|
"next_action": {
|
|
1244
1573
|
"type": "string",
|
|
1245
|
-
"description": "One-click forwarding: deploy-complete guidance,
|
|
1574
|
+
"description": "One-click forwarding: deploy-complete guidance, the resume recipe (completed_steps + previous_outputs) after a mid-run failure, or the STOP-retrying ruling when the same error recurred."
|
|
1246
1575
|
}
|
|
1247
1576
|
},
|
|
1248
1577
|
"required": [
|
|
@@ -515,7 +515,7 @@
|
|
|
515
515
|
]
|
|
516
516
|
},
|
|
517
517
|
"plan": {
|
|
518
|
-
"description": "The creation plan to execute (required for plan_execute): pass the object returned under 'plan' by template_generate VERBATIM — mutating steps by hand is what the 32-manual-write era did. Executing requires verdict.buildable=true; a blocked plan is refused at the freeze gate.",
|
|
518
|
+
"description": "The creation plan to execute (required for plan_execute): pass the object returned under 'plan' by template_generate VERBATIM — mutating steps by hand is what the 32-manual-write era did. Alternatively pass {root:'file', path:'<plan.json>'} to read the plan from disk (HAR-P1-14: avoids echoing a 38-40-step plan through the tool-call arguments; the file must contain the plan envelope or the bare plan as JSON). Executing requires verdict.buildable=true; a blocked plan is refused at the freeze gate.",
|
|
519
519
|
"type": "object",
|
|
520
520
|
"propertyNames": {
|
|
521
521
|
"type": "string"
|
|
@@ -523,7 +523,7 @@
|
|
|
523
523
|
"additionalProperties": {}
|
|
524
524
|
},
|
|
525
525
|
"completed_steps": {
|
|
526
|
-
"description": "plan_execute resume (AR-5): step ids already EXECUTED in a prior run
|
|
526
|
+
"description": "plan_execute resume (AR-5): step ids already EXECUTED in a prior run. Those steps are adopted, not re-executed. A run that did not complete returns a ready-to-pass `resume` payload (completed_steps/previous_outputs) — pass it back verbatim instead of deriving the lists by hand.",
|
|
527
527
|
"type": "array",
|
|
528
528
|
"items": {
|
|
529
529
|
"type": "string"
|
|
@@ -539,6 +539,31 @@
|
|
|
539
539
|
"type": "string"
|
|
540
540
|
}
|
|
541
541
|
},
|
|
542
|
+
"resume_from_step": {
|
|
543
|
+
"description": "plan_execute resume (W5-08): the FIRST step to (re-)execute — every step BEFORE it in plan order is adopted from previous_outputs. Lighter than enumerating completed_steps: pass the first step whose status is NOT 'executed' in the failed response, plus previous_outputs. Unknown ids are refused — the resume channel binds to the COMPLETE plan, never to one slice's step list.",
|
|
544
|
+
"type": "string"
|
|
545
|
+
},
|
|
546
|
+
"retry_override": {
|
|
547
|
+
"description": "plan_execute (W5-08): authorizes ONE more round for a step that failed with the IDENTICAL error in 2+ consecutive rounds (a further unchanged re-run is refused pre-execution). The note is mandatory and audit-trailed.",
|
|
548
|
+
"type": "object",
|
|
549
|
+
"properties": {
|
|
550
|
+
"step_id": {
|
|
551
|
+
"type": "string",
|
|
552
|
+
"minLength": 1,
|
|
553
|
+
"description": "The step named in the RETRY_LOCKED refusal (the repeated-failure guard's lock)."
|
|
554
|
+
},
|
|
555
|
+
"note": {
|
|
556
|
+
"type": "string",
|
|
557
|
+
"minLength": 1,
|
|
558
|
+
"description": "Why one more round is justified — mandatory, echoed into the response as retry_override_applied for audit."
|
|
559
|
+
}
|
|
560
|
+
},
|
|
561
|
+
"required": [
|
|
562
|
+
"step_id",
|
|
563
|
+
"note"
|
|
564
|
+
],
|
|
565
|
+
"additionalProperties": false
|
|
566
|
+
},
|
|
542
567
|
"env": {
|
|
543
568
|
"description": "Environment for on-chain execution (plan_execute): forwarded to the executor (e.g. { network: 'testnet' }).",
|
|
544
569
|
"type": "object",
|