@unbrained/pm-cli 2026.8.10 → 2026.8.12
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/.claude-plugin/marketplace.json +2 -2
- package/CHANGELOG.md +153 -100
- package/dist/cli/commander-usage.js +113 -15
- package/dist/cli/error-guidance.d.ts +12 -0
- package/dist/cli/error-guidance.js +147 -29
- package/dist/cli/main.js +38 -19
- package/dist/cli/register-annotations.js +56 -3
- package/dist/cli/register-assurance.d.ts +8 -0
- package/dist/cli/register-assurance.js +52 -0
- package/dist/cli/register-files-lookup.js +14 -3
- package/dist/cli/register-list-query.js +10 -7
- package/dist/cli/register-mutation.js +30 -9
- package/dist/cli/register-operations.js +30 -15
- package/dist/cli-bundle/bundle-manifest.json +155 -155
- package/dist/cli-bundle/chunks/{chunk-TRWXF476.js → chunk-3PS7X6GS.js} +2 -2
- package/dist/cli-bundle/chunks/chunk-7KL6KMWF.js +13 -0
- package/dist/cli-bundle/chunks/{chunk-EBO7OUUE.js → chunk-BM5YJ2UW.js} +69 -55
- package/dist/cli-bundle/chunks/chunk-D55A5AEN.js +33 -0
- package/dist/cli-bundle/chunks/chunk-KIKDWECH.js +196 -0
- package/dist/cli-bundle/chunks/{chunk-ETML5C6H.js → chunk-KOQMGCTA.js} +47 -47
- package/dist/cli-bundle/chunks/chunk-R76342NV.js +2 -0
- package/dist/cli-bundle/chunks/chunk-RBTK5EZV.js +5 -0
- package/dist/cli-bundle/chunks/chunk-VLUQOIDT.js +2 -0
- package/dist/cli-bundle/chunks/chunk-WLAHPSOX.js +3 -0
- package/dist/cli-bundle/chunks/register-list-query-XPCJRUUD.js +10 -0
- package/dist/cli-bundle/chunks/register-mutation-4RJCBKRS.js +20 -0
- package/dist/cli-bundle/chunks/register-operations-2OGISOVR.js +2 -0
- package/dist/cli-bundle/chunks/{register-setup-S3KT2LTH.js → register-setup-LLHAKP2V.js} +2 -2
- package/dist/cli-bundle/focused-chunks/chunk-2DALMVF7.js +5 -0
- package/dist/cli-bundle/focused-chunks/chunk-5OQIMELN.js +155 -0
- package/dist/cli-bundle/focused-chunks/chunk-5TAGTDRE.js +2 -0
- package/dist/cli-bundle/focused-chunks/chunk-ECADZMVC.js +18 -0
- package/dist/cli-bundle/focused-chunks/chunk-EJGXRA6B.js +2 -0
- package/dist/cli-bundle/focused-chunks/chunk-FFGSZCPK.js +16 -0
- package/dist/cli-bundle/focused-chunks/{chunk-IW43E4XL.js → chunk-GQW4BPUT.js} +2 -2
- package/dist/cli-bundle/focused-chunks/chunk-ISKOBJCM.js +2 -0
- package/dist/cli-bundle/focused-chunks/{chunk-75774JWP.js → chunk-JAFRIWVF.js} +2 -2
- package/dist/cli-bundle/focused-chunks/{chunk-2COZ67XT.js → chunk-KHM2CS2C.js} +2 -2
- package/dist/cli-bundle/focused-chunks/{chunk-M6RPIXKC.js → chunk-KPSXVBDV.js} +2 -2
- package/dist/cli-bundle/focused-chunks/{chunk-34SX654S.js → chunk-KTLOKKCQ.js} +2 -2
- package/dist/cli-bundle/focused-chunks/chunk-LGYK3NUF.js +8 -0
- package/dist/cli-bundle/focused-chunks/{chunk-2EXI2DKR.js → chunk-NBLUKITQ.js} +2 -2
- package/dist/cli-bundle/focused-chunks/chunk-NYLOUPOB.js +2 -0
- package/dist/cli-bundle/focused-chunks/chunk-Q4T463SD.js +31 -0
- package/dist/cli-bundle/focused-chunks/chunk-QVZVY53N.js +2 -0
- package/dist/cli-bundle/focused-chunks/{chunk-DZGAHZZV.js → chunk-RWPAWUOT.js} +2 -2
- package/dist/cli-bundle/focused-chunks/chunk-UTEWXDEQ.js +17 -0
- package/dist/cli-bundle/focused-chunks/{chunk-7UN6BHHO.js → chunk-YIAXMC3T.js} +2 -2
- package/dist/cli-bundle/focused-chunks/chunk-ZMGWAYH7.js +2 -0
- package/dist/cli-bundle/main.js +13 -13
- package/dist/cli-bundle/sdk-authoring.js +1 -1
- package/dist/cli-bundle/sdk-contracts.js +1 -1
- package/dist/cli-bundle/sdk-core.js +41 -39
- package/dist/cli-bundle/sdk-governance.js +1 -1
- package/dist/cli-bundle/sdk-graph.js +1 -1
- package/dist/cli-bundle/sdk-merge.js +1 -1
- package/dist/cli-bundle/sdk-query.js +1 -1
- package/dist/cli-bundle/sdk-runtime.js +1 -1
- package/dist/cli-bundle/sdk-testing.js +1 -1
- package/dist/cli-bundle/sdk.js +2 -2
- package/dist/core/extensions/reserved-host-flags.js +3 -2
- package/dist/core/history/drift-scan.js +13 -8
- package/dist/core/history/history.d.ts +8 -0
- package/dist/core/history/history.js +57 -7
- package/dist/core/history/replay.d.ts +9 -1
- package/dist/core/history/replay.js +48 -13
- package/dist/core/output/output.d.ts +2 -0
- package/dist/core/output/output.js +46 -14
- package/dist/core/session/session-state.d.ts +47 -0
- package/dist/core/session/session-state.js +207 -6
- package/dist/core/shared/author.d.ts +7 -1
- package/dist/core/shared/author.js +66 -46
- package/dist/core/shared/command-types.d.ts +2 -0
- package/dist/core/shared/command-types.js +2 -2
- package/dist/core/shared/errors.d.ts +13 -0
- package/dist/core/shared/errors.js +2 -2
- package/dist/core/store/item-metadata-cache.d.ts +1 -1
- package/dist/core/store/item-metadata-cache.js +14 -7
- package/dist/sdk/agent/refusal-reachability.d.ts +40 -0
- package/dist/sdk/agent/refusal-reachability.js +72 -0
- package/dist/sdk/agent/subcommand-recovery.d.ts +40 -0
- package/dist/sdk/agent/subcommand-recovery.js +84 -0
- package/dist/sdk/cli-bootstrap.d.ts +10 -0
- package/dist/sdk/cli-bootstrap.js +11 -7
- package/dist/sdk/cli-contracts/completeness.js +14 -3
- package/dist/sdk/cli-contracts/enum-contracts.d.ts +1 -1
- package/dist/sdk/cli-contracts/enum-contracts.js +3 -2
- package/dist/sdk/cli-contracts/flag-contracts.d.ts +2 -0
- package/dist/sdk/cli-contracts/flag-contracts.js +20 -2
- package/dist/sdk/cli-contracts/registration-helpers.d.ts +20 -3
- package/dist/sdk/cli-contracts/registration-helpers.js +18 -12
- package/dist/sdk/cli-contracts/runtime-contracts.js +4 -3
- package/dist/sdk/cli-contracts/schemas/assurance-definition.d.ts +515 -0
- package/dist/sdk/cli-contracts/schemas/assurance-definition.js +252 -0
- package/dist/sdk/cli-contracts/tool-option-contracts.js +3 -2
- package/dist/sdk/cli-contracts/tool-parameter-tables.js +99 -2
- package/dist/sdk/cli-contracts/tool-schema.d.ts +3 -3
- package/dist/sdk/cli-contracts/tool-schema.js +38 -5
- package/dist/sdk/cli-contracts.d.ts +1 -1
- package/dist/sdk/cli-contracts.js +3 -3
- package/dist/sdk/cli-program.js +3 -2
- package/dist/sdk/completion.js +23 -8
- package/dist/sdk/config.js +9 -3
- package/dist/sdk/context/semantic-session-attribution.d.ts +32 -0
- package/dist/sdk/context/semantic-session-attribution.js +83 -0
- package/dist/sdk/context-intent-contracts.js +45 -4
- package/dist/sdk/core-governance.d.ts +3 -1
- package/dist/sdk/core-governance.js +5 -3
- package/dist/sdk/core.d.ts +2 -1
- package/dist/sdk/core.js +3 -2
- package/dist/sdk/error-code-catalog.d.ts +13 -0
- package/dist/sdk/error-code-catalog.js +35 -2
- package/dist/sdk/extension.js +18 -17
- package/dist/sdk/files.d.ts +11 -0
- package/dist/sdk/files.js +82 -24
- package/dist/sdk/generated/generated-error-code-catalog-part-1.d.ts +8 -0
- package/dist/sdk/generated/generated-error-code-catalog-part-1.js +1585 -0
- package/dist/sdk/generated/generated-error-code-catalog-part-2.d.ts +8 -0
- package/dist/sdk/generated/generated-error-code-catalog-part-2.js +1608 -0
- package/dist/sdk/generated-error-code-catalog.js +6 -3121
- package/dist/sdk/governance/assurance-action-contracts.d.ts +7 -0
- package/dist/sdk/governance/assurance-action-contracts.js +5 -0
- package/dist/sdk/governance/assurance-action.d.ts +70 -0
- package/dist/sdk/governance/assurance-action.js +200 -0
- package/dist/sdk/governance/assurance-limits.d.ts +7 -0
- package/dist/sdk/governance/assurance-limits.js +11 -0
- package/dist/sdk/governance/assurance-mutation-error.d.ts +7 -0
- package/dist/sdk/governance/assurance-mutation-error.js +35 -0
- package/dist/sdk/governance/assurance-runtime.d.ts +20 -0
- package/dist/sdk/governance/assurance-runtime.js +134 -0
- package/dist/sdk/governance/assurance.d.ts +438 -0
- package/dist/sdk/governance/assurance.js +804 -0
- package/dist/sdk/governance/health.d.ts +3 -1
- package/dist/sdk/governance/health.js +21 -4
- package/dist/sdk/governance/validate-item-reader.js +3 -3
- package/dist/sdk/governance/validate.d.ts +2 -0
- package/dist/sdk/governance/validate.js +13 -3
- package/dist/sdk/graph/durable-cache.d.ts +1 -1
- package/dist/sdk/graph/durable-cache.js +98 -29
- package/dist/sdk/graph/governance.d.ts +14 -0
- package/dist/sdk/graph/governance.js +34 -9
- package/dist/sdk/graph/run.js +8 -3
- package/dist/sdk/index.d.ts +7 -2
- package/dist/sdk/index.js +9 -4
- package/dist/sdk/lifecycle/claim.js +26 -4
- package/dist/sdk/lifecycle/focus.js +13 -3
- package/dist/sdk/lifecycle/plan.js +8 -3
- package/dist/sdk/merge/driver.d.ts +2 -2
- package/dist/sdk/merge/driver.js +3 -3
- package/dist/sdk/merge/receipts.d.ts +6 -4
- package/dist/sdk/merge/receipts.js +7 -5
- package/dist/sdk/merge/three-way.d.ts +2 -2
- package/dist/sdk/merge/three-way.js +3 -3
- package/dist/sdk/output-projection.d.ts +9 -1
- package/dist/sdk/output-projection.js +45 -9
- package/dist/sdk/provenance.d.ts +38 -0
- package/dist/sdk/provenance.js +64 -2
- package/dist/sdk/query/activity.d.ts +49 -2
- package/dist/sdk/query/activity.js +183 -37
- package/dist/sdk/query/context.js +19 -8
- package/dist/sdk/query/get.js +19 -2
- package/dist/sdk/read-output-contracts.d.ts +5 -1
- package/dist/sdk/read-output-contracts.js +17 -2
- package/dist/sdk/read-output-session.d.ts +2 -0
- package/dist/sdk/read-output-session.js +12 -5
- package/dist/sdk/runtime-extended-actions.js +22 -5
- package/dist/sdk/runtime-primitives.d.ts +5 -3
- package/dist/sdk/runtime-primitives.js +7 -5
- package/dist/sdk/runtime-stats-options.js +3 -2
- package/dist/sdk/runtime.d.ts +4 -0
- package/dist/sdk/runtime.js +34 -34
- package/dist/sdk/stats.d.ts +36 -3
- package/dist/sdk/stats.js +55 -15
- package/dist/sdk/telemetry.js +7 -4
- package/dist/sdk/test/execution.d.ts +4 -0
- package/dist/sdk/test/execution.js +86 -21
- package/dist/sdk/traceability/runtime-files-lookup.d.ts +8 -0
- package/dist/sdk/traceability/runtime-files-lookup.js +33 -0
- package/dist/sdk/traceability/source-traceability.d.ts +102 -0
- package/dist/sdk/traceability/source-traceability.js +293 -0
- package/dist/types.d.ts +10 -2
- package/dist/types.js +2 -2
- package/docs/ASSURANCE.md +137 -0
- package/docs/COMMANDS.md +29 -8
- package/docs/CONFIGURATION.md +7 -0
- package/docs/DEPENDENCY_KIND_CONTRACT.md +10 -8
- package/docs/MERGE_SAFETY.md +3 -1
- package/docs/OUTPUT_PROJECTION_CONTRACTS.md +26 -13
- package/docs/README.md +3 -0
- package/docs/READ_OUTPUT_CONTRACTS.md +17 -2
- package/docs/RELEASING.md +9 -5
- package/docs/SDK.md +12 -1
- package/docs/SDK_AGENT_SESSION_CONTEXT.md +52 -5
- package/docs/SDK_CONTEXT_EVIDENCE_CONTRACTS.md +53 -0
- package/docs/SDK_CONTEXT_INTEGRITY.md +28 -1
- package/docs/SDK_EVIDENCE_TRACEABILITY.md +39 -1
- package/docs/SDK_RUNTIME_BOUNDARIES.md +36 -1
- package/docs/TESTING.md +12 -9
- package/docs/TRUSTWORTHY_CONTEXT_EVIDENCE.md +106 -0
- package/docs/generated/AGENT_COMMAND_SURFACE.md +1 -0
- package/docs/performance/sdk-entrypoint-import-costs.md +6 -2
- package/marketplace.json +2 -2
- package/package.json +7 -7
- package/packages/pm-beads/package.json +1 -1
- package/packages/pm-calendar/package.json +1 -1
- package/packages/pm-command-kit/package.json +1 -1
- package/packages/pm-digital-twin/package.json +1 -1
- package/packages/pm-governance-audit/package.json +1 -1
- package/packages/pm-guide-shell/package.json +1 -1
- package/packages/pm-kanban/package.json +1 -1
- package/packages/pm-lifecycle-hooks/package.json +1 -1
- package/packages/pm-linked-test-adapters/package.json +1 -1
- package/packages/pm-search-advanced/package.json +1 -1
- package/packages/pm-templates/extensions/templates/index.ts +9 -3
- package/packages/pm-templates/package.json +1 -1
- package/packages/pm-todos/package.json +1 -1
- package/packages/pm-vcs/package.json +1 -1
- package/plugins/pm-claude/.claude-plugin/plugin.json +1 -1
- package/plugins/pm-codex/.codex-plugin/plugin.json +1 -1
- package/sdk/public-surface.json +1030 -67
- package/dist/cli-bundle/chunks/chunk-2QYH4QMI.js +0 -30
- package/dist/cli-bundle/chunks/chunk-JUDU4RO4.js +0 -194
- package/dist/cli-bundle/chunks/chunk-JZSNADRR.js +0 -5
- package/dist/cli-bundle/chunks/chunk-MENWVGJW.js +0 -2
- package/dist/cli-bundle/chunks/chunk-S4EITGLA.js +0 -3
- package/dist/cli-bundle/chunks/chunk-TIGKWVLA.js +0 -13
- package/dist/cli-bundle/chunks/chunk-TSLDTJLQ.js +0 -2
- package/dist/cli-bundle/chunks/register-list-query-OJ6ZXKV4.js +0 -10
- package/dist/cli-bundle/chunks/register-mutation-DKI7QC7O.js +0 -20
- package/dist/cli-bundle/chunks/register-operations-P5OGMT6I.js +0 -2
- package/dist/cli-bundle/focused-chunks/chunk-36FTZ2NT.js +0 -2
- package/dist/cli-bundle/focused-chunks/chunk-3CQECMKR.js +0 -16
- package/dist/cli-bundle/focused-chunks/chunk-CHIBMEZR.js +0 -8
- package/dist/cli-bundle/focused-chunks/chunk-FF4MNAYB.js +0 -153
- package/dist/cli-bundle/focused-chunks/chunk-GHTN2ILR.js +0 -2
- package/dist/cli-bundle/focused-chunks/chunk-I4YM2I7S.js +0 -2
- package/dist/cli-bundle/focused-chunks/chunk-IMDTEN7K.js +0 -2
- package/dist/cli-bundle/focused-chunks/chunk-JMVA4HKR.js +0 -5
- package/dist/cli-bundle/focused-chunks/chunk-KR5RVXLQ.js +0 -31
- package/dist/cli-bundle/focused-chunks/chunk-KSNJG4KI.js +0 -16
- package/dist/cli-bundle/focused-chunks/chunk-MXYSIQ56.js +0 -18
- package/dist/cli-bundle/focused-chunks/chunk-RIIN5V4N.js +0 -2
- package/dist/cli-bundle/focused-chunks/chunk-RKWSCYYN.js +0 -2
|
@@ -4,10 +4,10 @@
|
|
|
4
4
|
* Implements the pm contracts command surface and its agent-facing runtime behavior.
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
|
-
!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="
|
|
7
|
+
!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="651d4904-cae5-503b-8418-93bc44a413ad")}catch(e){}}();
|
|
8
8
|
import { EXIT_CODE, SETTINGS_DEFAULTS, PmCliError, activateExtensions, getActiveExtensionRegistrations, loadExtensions, pathExists, commandOptionFlagLabel, resolveCommandOptionPolicyState, resolveItemTypeRegistry, resolveRuntimeFieldRegistry, resolveRuntimeStatusRegistry, getSettingsPath, resolvePmRoot, readSettings, } from "../runtime-primitives.js";
|
|
9
9
|
import { buildMcpToolContracts, } from "../../mcp/tool-definitions.js";
|
|
10
|
-
import { ACTIVITY_COMMANDER_STRING_OPTION_CONTRACTS, ACTIVITY_FLAG_CONTRACTS, AGGREGATE_FLAG_CONTRACTS, APPEND_FLAG_CONTRACTS, CALENDAR_COMMANDER_STRING_OPTION_CONTRACTS, CALENDAR_FLAG_CONTRACTS, CLAIM_FLAG_CONTRACTS, CLOSE_TASK_FLAG_CONTRACTS, COMMENTS_FLAG_CONTRACTS, CLOSE_FLAG_CONTRACTS, CLOSE_MANY_FLAG_CONTRACTS, COMPLETION_FLAG_CONTRACTS, CONFIG_FLAG_CONTRACTS, CONTRACTS_FLAG_CONTRACTS, COPY_FLAG_CONTRACTS, CONTEXT_COMMANDER_STRING_OPTION_CONTRACTS, CONTEXT_FLAG_CONTRACTS, CREATE_COMMANDER_REPEATABLE_OPTION_CONTRACTS, CREATE_COMMANDER_STRING_OPTION_CONTRACTS, CREATE_FLAG_CONTRACTS, DELETE_FLAG_CONTRACTS, DEPS_FLAG_CONTRACTS, GRAPH_FLAG_CONTRACTS, DOCS_FLAG_CONTRACTS, EXTENSION_ACTIVATE_FLAG_CONTRACTS, EXTENSION_ADOPT_ALL_FLAG_CONTRACTS, EXTENSION_ADOPT_FLAG_CONTRACTS, EXTENSION_CATALOG_FLAG_CONTRACTS, EXTENSION_DEACTIVATE_FLAG_CONTRACTS, EXTENSION_DESCRIBE_FLAG_CONTRACTS, EXTENSION_DOCTOR_FLAG_CONTRACTS, EXTENSION_EXPLORE_FLAG_CONTRACTS, EXTENSION_FLAG_CONTRACTS, EXTENSION_INIT_FLAG_CONTRACTS, EXTENSION_INSTALL_FLAG_CONTRACTS, EXTENSION_MANAGE_FLAG_CONTRACTS, EXTENSION_MIGRATE_FLAG_CONTRACTS, EXTENSION_RELOAD_FLAG_CONTRACTS, EXTENSION_UNINSTALL_FLAG_CONTRACTS, FILES_FLAG_CONTRACTS, FOCUS_FLAG_CONTRACTS, GC_FLAG_CONTRACTS, GET_FLAG_CONTRACTS, GUIDE_FLAG_CONTRACTS, GLOBAL_FLAG_CONTRACTS, HEALTH_FLAG_CONTRACTS, HISTORY_FLAG_CONTRACTS, HISTORY_COMPACT_FLAG_CONTRACTS, HISTORY_REDACT_FLAG_CONTRACTS, HISTORY_REPAIR_FLAG_CONTRACTS, HISTORY_AUTHOR_ACKNOWLEDGE_FLAG_CONTRACTS, INSTALL_FLAG_CONTRACTS, INIT_FLAG_CONTRACTS, ITEM_COMPLETE_FLAG_CONTRACTS, ITEM_MUTATE_FLAG_CONTRACTS, LEARNINGS_FLAG_CONTRACTS, LIST_COMMANDER_STRING_OPTION_CONTRACTS, LIST_FILTER_FLAG_CONTRACTS, MERGE_FLAG_CONTRACTS, NOTES_FLAG_CONTRACTS, PACKAGE_FLAG_CONTRACTS, PACKAGE_INIT_FLAG_CONTRACTS, PM_EXTENSION_CAPABILITY_CONTRACTS, PM_EXTENSION_POLICY_MODE_CONTRACTS, PM_EXTENSION_POLICY_SURFACE_CONTRACTS, PM_EXTENSION_SANDBOX_PROFILE_CONTRACTS, PM_EXTENSION_SERVICE_NAME_CONTRACTS, PM_EXTENSION_TRUST_MODE_CONTRACTS, PM_OUTPUT_DEGRADATION_STEPS, PLAN_FLAG_CONTRACTS, PM_CORE_COMMAND_NAMES, PM_TOOL_ACTIONS, PM_TOOL_PARAMETERS_SCHEMA, REINDEX_FLAG_CONTRACTS, RELEASE_FLAG_CONTRACTS, RESTORE_FLAG_CONTRACTS, SCHEMA_FLAG_CONTRACTS, PROFILE_FLAG_CONTRACTS, SEARCH_COMMANDER_STRING_OPTION_CONTRACTS, EVAL_FLAG_CONTRACTS, WORKSPACE_FLAG_CONTRACTS, NEXT_FLAG_CONTRACTS, SEARCH_FLAG_CONTRACTS, STATS_FLAG_CONTRACTS, DUPLICATES_FLAG_CONTRACTS, START_TASK_FLAG_CONTRACTS, PAUSE_TASK_FLAG_CONTRACTS, TELEMETRY_FLAG_CONTRACTS, TEST_ALL_FLAG_CONTRACTS, TEST_FLAG_CONTRACTS, TEST_RUNS_FLAG_CONTRACTS, UPDATE_COMMANDER_REPEATABLE_OPTION_CONTRACTS, UPDATE_COMMANDER_STRING_OPTION_CONTRACTS, UPDATE_FLAG_CONTRACTS, UPDATE_MANY_FLAG_CONTRACTS, UPGRADE_FLAG_CONTRACTS, VALIDATE_FLAG_CONTRACTS, compactFlagAliasContracts, resolvePmCommandOutputBudget, } from "../cli-contracts.js";
|
|
10
|
+
import { ACTIVITY_COMMANDER_STRING_OPTION_CONTRACTS, ACTIVITY_FLAG_CONTRACTS, AGGREGATE_FLAG_CONTRACTS, ASSURANCE_FLAG_CONTRACTS, APPEND_FLAG_CONTRACTS, CALENDAR_COMMANDER_STRING_OPTION_CONTRACTS, CALENDAR_FLAG_CONTRACTS, CLAIM_FLAG_CONTRACTS, CLOSE_TASK_FLAG_CONTRACTS, COMMENTS_FLAG_CONTRACTS, CLOSE_FLAG_CONTRACTS, CLOSE_MANY_FLAG_CONTRACTS, COMPLETION_FLAG_CONTRACTS, CONFIG_FLAG_CONTRACTS, CONTRACTS_FLAG_CONTRACTS, COPY_FLAG_CONTRACTS, CONTEXT_COMMANDER_STRING_OPTION_CONTRACTS, CONTEXT_FLAG_CONTRACTS, CREATE_COMMANDER_REPEATABLE_OPTION_CONTRACTS, CREATE_COMMANDER_STRING_OPTION_CONTRACTS, CREATE_FLAG_CONTRACTS, DELETE_FLAG_CONTRACTS, DEPS_FLAG_CONTRACTS, GRAPH_FLAG_CONTRACTS, DOCS_FLAG_CONTRACTS, EXTENSION_ACTIVATE_FLAG_CONTRACTS, EXTENSION_ADOPT_ALL_FLAG_CONTRACTS, EXTENSION_ADOPT_FLAG_CONTRACTS, EXTENSION_CATALOG_FLAG_CONTRACTS, EXTENSION_DEACTIVATE_FLAG_CONTRACTS, EXTENSION_DESCRIBE_FLAG_CONTRACTS, EXTENSION_DOCTOR_FLAG_CONTRACTS, EXTENSION_EXPLORE_FLAG_CONTRACTS, EXTENSION_FLAG_CONTRACTS, EXTENSION_INIT_FLAG_CONTRACTS, EXTENSION_INSTALL_FLAG_CONTRACTS, EXTENSION_MANAGE_FLAG_CONTRACTS, EXTENSION_MIGRATE_FLAG_CONTRACTS, EXTENSION_RELOAD_FLAG_CONTRACTS, EXTENSION_UNINSTALL_FLAG_CONTRACTS, FILES_FLAG_CONTRACTS, FOCUS_FLAG_CONTRACTS, GC_FLAG_CONTRACTS, GET_FLAG_CONTRACTS, GUIDE_FLAG_CONTRACTS, GLOBAL_FLAG_CONTRACTS, HEALTH_FLAG_CONTRACTS, HISTORY_FLAG_CONTRACTS, HISTORY_COMPACT_FLAG_CONTRACTS, HISTORY_REDACT_FLAG_CONTRACTS, HISTORY_REPAIR_FLAG_CONTRACTS, HISTORY_AUTHOR_ACKNOWLEDGE_FLAG_CONTRACTS, INSTALL_FLAG_CONTRACTS, INIT_FLAG_CONTRACTS, ITEM_COMPLETE_FLAG_CONTRACTS, ITEM_MUTATE_FLAG_CONTRACTS, LEARNINGS_FLAG_CONTRACTS, LIST_COMMANDER_STRING_OPTION_CONTRACTS, LIST_FILTER_FLAG_CONTRACTS, MERGE_FLAG_CONTRACTS, NOTES_FLAG_CONTRACTS, PACKAGE_FLAG_CONTRACTS, PACKAGE_INIT_FLAG_CONTRACTS, PM_EXTENSION_CAPABILITY_CONTRACTS, PM_EXTENSION_POLICY_MODE_CONTRACTS, PM_EXTENSION_POLICY_SURFACE_CONTRACTS, PM_EXTENSION_SANDBOX_PROFILE_CONTRACTS, PM_EXTENSION_SERVICE_NAME_CONTRACTS, PM_EXTENSION_TRUST_MODE_CONTRACTS, PM_OUTPUT_DEGRADATION_STEPS, PLAN_FLAG_CONTRACTS, PM_CORE_COMMAND_NAMES, PM_TOOL_ACTIONS, PM_TOOL_PARAMETERS_SCHEMA, REINDEX_FLAG_CONTRACTS, RELEASE_FLAG_CONTRACTS, RESTORE_FLAG_CONTRACTS, SCHEMA_FLAG_CONTRACTS, PROFILE_FLAG_CONTRACTS, SEARCH_COMMANDER_STRING_OPTION_CONTRACTS, EVAL_FLAG_CONTRACTS, WORKSPACE_FLAG_CONTRACTS, NEXT_FLAG_CONTRACTS, SEARCH_FLAG_CONTRACTS, STATS_FLAG_CONTRACTS, DUPLICATES_FLAG_CONTRACTS, START_TASK_FLAG_CONTRACTS, PAUSE_TASK_FLAG_CONTRACTS, TELEMETRY_FLAG_CONTRACTS, TEST_ALL_FLAG_CONTRACTS, TEST_FLAG_CONTRACTS, TEST_RUNS_FLAG_CONTRACTS, UPDATE_COMMANDER_REPEATABLE_OPTION_CONTRACTS, UPDATE_COMMANDER_STRING_OPTION_CONTRACTS, UPDATE_FLAG_CONTRACTS, UPDATE_MANY_FLAG_CONTRACTS, UPGRADE_FLAG_CONTRACTS, VALIDATE_FLAG_CONTRACTS, compactFlagAliasContracts, resolvePmCommandOutputBudget, } from "../cli-contracts.js";
|
|
11
11
|
import { GOVERNANCE_CLOSE_VALIDATION_DEFAULT_VALUES, GOVERNANCE_CREATE_MODE_DEFAULT_VALUES, GOVERNANCE_OWNERSHIP_ENFORCEMENT_VALUES, GOVERNANCE_WORKFLOW_ENFORCEMENT_VALUES, } from "../../types.js";
|
|
12
12
|
import { BRIEF_LIST_FIELDS, DEFAULT_COMPACT_LIST_FIELDS, LIST_COMMAND_DEFAULT_PROJECTIONS, } from "../query/list.js";
|
|
13
13
|
import { getActiveContextIntentContracts, } from "../context-intent-contracts.js";
|
|
@@ -366,6 +366,7 @@ const CORE_COMMAND_FLAG_CONTRACT_ENTRIES = [
|
|
|
366
366
|
["duplicates", DUPLICATES_FLAG_CONTRACTS],
|
|
367
367
|
["validate", VALIDATE_FLAG_CONTRACTS],
|
|
368
368
|
["health", HEALTH_FLAG_CONTRACTS],
|
|
369
|
+
["assurance", ASSURANCE_FLAG_CONTRACTS],
|
|
369
370
|
["contracts", CONTRACTS_FLAG_CONTRACTS],
|
|
370
371
|
["completion", COMPLETION_FLAG_CONTRACTS],
|
|
371
372
|
["activity", ACTIVITY_FLAG_CONTRACTS],
|
|
@@ -1871,4 +1872,4 @@ export const _testOnlyContractsCommand = {
|
|
|
1871
1872
|
toRuntimeShortFlagToken,
|
|
1872
1873
|
};
|
|
1873
1874
|
//# sourceMappingURL=runtime-contracts.js.map
|
|
1874
|
-
//# debugId=
|
|
1875
|
+
//# debugId=651d4904-cae5-503b-8418-93bc44a413ad
|
|
@@ -0,0 +1,515 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @module sdk/cli-contracts/schemas/assurance-definition
|
|
3
|
+
*
|
|
4
|
+
* Defines the strict JSON Schema accepted by assurance definition mutations.
|
|
5
|
+
*/
|
|
6
|
+
/** JSON Schema for measurement, assertion, and gate assurance definitions. */
|
|
7
|
+
export declare const ASSURANCE_DEFINITION_SCHEMA: {
|
|
8
|
+
oneOf: ({
|
|
9
|
+
type: string;
|
|
10
|
+
additionalProperties: boolean;
|
|
11
|
+
required: string[];
|
|
12
|
+
properties: {
|
|
13
|
+
id: {
|
|
14
|
+
type: string;
|
|
15
|
+
minLength: number;
|
|
16
|
+
};
|
|
17
|
+
description: {
|
|
18
|
+
type: string;
|
|
19
|
+
};
|
|
20
|
+
max_cost: {
|
|
21
|
+
type: string;
|
|
22
|
+
minimum: number;
|
|
23
|
+
};
|
|
24
|
+
source: {
|
|
25
|
+
oneOf: ({
|
|
26
|
+
type: string;
|
|
27
|
+
required: string[];
|
|
28
|
+
properties: {
|
|
29
|
+
kind: {
|
|
30
|
+
const: string;
|
|
31
|
+
};
|
|
32
|
+
check: {
|
|
33
|
+
type: string;
|
|
34
|
+
minLength: number;
|
|
35
|
+
};
|
|
36
|
+
field: {
|
|
37
|
+
type: string;
|
|
38
|
+
minLength: number;
|
|
39
|
+
};
|
|
40
|
+
};
|
|
41
|
+
additionalProperties: boolean;
|
|
42
|
+
} | {
|
|
43
|
+
type: string;
|
|
44
|
+
additionalProperties: boolean;
|
|
45
|
+
required: string[];
|
|
46
|
+
allOf: Record<string, unknown>[];
|
|
47
|
+
properties: {
|
|
48
|
+
kind: {
|
|
49
|
+
const: string;
|
|
50
|
+
};
|
|
51
|
+
statuses: {
|
|
52
|
+
type: string;
|
|
53
|
+
items: {
|
|
54
|
+
type: string;
|
|
55
|
+
};
|
|
56
|
+
};
|
|
57
|
+
types: {
|
|
58
|
+
type: string;
|
|
59
|
+
items: {
|
|
60
|
+
type: string;
|
|
61
|
+
};
|
|
62
|
+
};
|
|
63
|
+
tags: {
|
|
64
|
+
type: string;
|
|
65
|
+
items: {
|
|
66
|
+
type: string;
|
|
67
|
+
};
|
|
68
|
+
};
|
|
69
|
+
field: {
|
|
70
|
+
type: string;
|
|
71
|
+
minLength?: undefined;
|
|
72
|
+
};
|
|
73
|
+
equals: {
|
|
74
|
+
type: string[];
|
|
75
|
+
};
|
|
76
|
+
state: {
|
|
77
|
+
enum: string[];
|
|
78
|
+
};
|
|
79
|
+
dependency_kind?: undefined;
|
|
80
|
+
operation?: undefined;
|
|
81
|
+
parameters?: undefined;
|
|
82
|
+
op?: undefined;
|
|
83
|
+
author?: undefined;
|
|
84
|
+
harness?: undefined;
|
|
85
|
+
model?: undefined;
|
|
86
|
+
link?: undefined;
|
|
87
|
+
provider?: undefined;
|
|
88
|
+
key?: undefined;
|
|
89
|
+
expression?: undefined;
|
|
90
|
+
};
|
|
91
|
+
} | {
|
|
92
|
+
type: string;
|
|
93
|
+
additionalProperties: boolean;
|
|
94
|
+
required: string[];
|
|
95
|
+
properties: {
|
|
96
|
+
kind: {
|
|
97
|
+
const: string;
|
|
98
|
+
};
|
|
99
|
+
dependency_kind: {
|
|
100
|
+
type: string;
|
|
101
|
+
minLength: number;
|
|
102
|
+
};
|
|
103
|
+
statuses?: undefined;
|
|
104
|
+
types?: undefined;
|
|
105
|
+
tags?: undefined;
|
|
106
|
+
field?: undefined;
|
|
107
|
+
equals?: undefined;
|
|
108
|
+
state?: undefined;
|
|
109
|
+
operation?: undefined;
|
|
110
|
+
parameters?: undefined;
|
|
111
|
+
op?: undefined;
|
|
112
|
+
author?: undefined;
|
|
113
|
+
harness?: undefined;
|
|
114
|
+
model?: undefined;
|
|
115
|
+
link?: undefined;
|
|
116
|
+
provider?: undefined;
|
|
117
|
+
key?: undefined;
|
|
118
|
+
expression?: undefined;
|
|
119
|
+
};
|
|
120
|
+
allOf?: undefined;
|
|
121
|
+
} | {
|
|
122
|
+
type: string;
|
|
123
|
+
required: string[];
|
|
124
|
+
properties: {
|
|
125
|
+
kind: {
|
|
126
|
+
const: string;
|
|
127
|
+
};
|
|
128
|
+
operation: {
|
|
129
|
+
type: string;
|
|
130
|
+
minLength: number;
|
|
131
|
+
};
|
|
132
|
+
field: {
|
|
133
|
+
type: string;
|
|
134
|
+
minLength: number;
|
|
135
|
+
};
|
|
136
|
+
parameters: {
|
|
137
|
+
type: string;
|
|
138
|
+
};
|
|
139
|
+
statuses?: undefined;
|
|
140
|
+
types?: undefined;
|
|
141
|
+
tags?: undefined;
|
|
142
|
+
equals?: undefined;
|
|
143
|
+
state?: undefined;
|
|
144
|
+
dependency_kind?: undefined;
|
|
145
|
+
op?: undefined;
|
|
146
|
+
author?: undefined;
|
|
147
|
+
harness?: undefined;
|
|
148
|
+
model?: undefined;
|
|
149
|
+
link?: undefined;
|
|
150
|
+
provider?: undefined;
|
|
151
|
+
key?: undefined;
|
|
152
|
+
expression?: undefined;
|
|
153
|
+
};
|
|
154
|
+
additionalProperties: boolean;
|
|
155
|
+
allOf?: undefined;
|
|
156
|
+
} | {
|
|
157
|
+
type: string;
|
|
158
|
+
additionalProperties: boolean;
|
|
159
|
+
required: string[];
|
|
160
|
+
properties: {
|
|
161
|
+
kind: {
|
|
162
|
+
const: string;
|
|
163
|
+
};
|
|
164
|
+
op: {
|
|
165
|
+
type: string;
|
|
166
|
+
};
|
|
167
|
+
author: {
|
|
168
|
+
type: string;
|
|
169
|
+
};
|
|
170
|
+
harness: {
|
|
171
|
+
type: string;
|
|
172
|
+
};
|
|
173
|
+
model: {
|
|
174
|
+
type: string;
|
|
175
|
+
};
|
|
176
|
+
statuses?: undefined;
|
|
177
|
+
types?: undefined;
|
|
178
|
+
tags?: undefined;
|
|
179
|
+
field?: undefined;
|
|
180
|
+
equals?: undefined;
|
|
181
|
+
state?: undefined;
|
|
182
|
+
dependency_kind?: undefined;
|
|
183
|
+
operation?: undefined;
|
|
184
|
+
parameters?: undefined;
|
|
185
|
+
link?: undefined;
|
|
186
|
+
provider?: undefined;
|
|
187
|
+
key?: undefined;
|
|
188
|
+
expression?: undefined;
|
|
189
|
+
};
|
|
190
|
+
allOf?: undefined;
|
|
191
|
+
} | {
|
|
192
|
+
type: string;
|
|
193
|
+
additionalProperties: boolean;
|
|
194
|
+
required: string[];
|
|
195
|
+
properties: {
|
|
196
|
+
kind: {
|
|
197
|
+
const: string;
|
|
198
|
+
};
|
|
199
|
+
link: {
|
|
200
|
+
enum: string[];
|
|
201
|
+
};
|
|
202
|
+
state: {
|
|
203
|
+
enum: string[];
|
|
204
|
+
};
|
|
205
|
+
statuses?: undefined;
|
|
206
|
+
types?: undefined;
|
|
207
|
+
tags?: undefined;
|
|
208
|
+
field?: undefined;
|
|
209
|
+
equals?: undefined;
|
|
210
|
+
dependency_kind?: undefined;
|
|
211
|
+
operation?: undefined;
|
|
212
|
+
parameters?: undefined;
|
|
213
|
+
op?: undefined;
|
|
214
|
+
author?: undefined;
|
|
215
|
+
harness?: undefined;
|
|
216
|
+
model?: undefined;
|
|
217
|
+
provider?: undefined;
|
|
218
|
+
key?: undefined;
|
|
219
|
+
expression?: undefined;
|
|
220
|
+
};
|
|
221
|
+
allOf?: undefined;
|
|
222
|
+
} | {
|
|
223
|
+
type: string;
|
|
224
|
+
additionalProperties: boolean;
|
|
225
|
+
required: string[];
|
|
226
|
+
properties: {
|
|
227
|
+
kind: {
|
|
228
|
+
const: string;
|
|
229
|
+
};
|
|
230
|
+
provider: {
|
|
231
|
+
type: string;
|
|
232
|
+
minLength: number;
|
|
233
|
+
};
|
|
234
|
+
key: {
|
|
235
|
+
type: string;
|
|
236
|
+
minLength: number;
|
|
237
|
+
};
|
|
238
|
+
parameters: {
|
|
239
|
+
type: string;
|
|
240
|
+
};
|
|
241
|
+
statuses?: undefined;
|
|
242
|
+
types?: undefined;
|
|
243
|
+
tags?: undefined;
|
|
244
|
+
field?: undefined;
|
|
245
|
+
equals?: undefined;
|
|
246
|
+
state?: undefined;
|
|
247
|
+
dependency_kind?: undefined;
|
|
248
|
+
operation?: undefined;
|
|
249
|
+
op?: undefined;
|
|
250
|
+
author?: undefined;
|
|
251
|
+
harness?: undefined;
|
|
252
|
+
model?: undefined;
|
|
253
|
+
link?: undefined;
|
|
254
|
+
expression?: undefined;
|
|
255
|
+
};
|
|
256
|
+
allOf?: undefined;
|
|
257
|
+
} | {
|
|
258
|
+
type: string;
|
|
259
|
+
additionalProperties: boolean;
|
|
260
|
+
required: string[];
|
|
261
|
+
properties: {
|
|
262
|
+
kind: {
|
|
263
|
+
const: string;
|
|
264
|
+
};
|
|
265
|
+
expression: {
|
|
266
|
+
type: string;
|
|
267
|
+
minProperties: number;
|
|
268
|
+
};
|
|
269
|
+
statuses?: undefined;
|
|
270
|
+
types?: undefined;
|
|
271
|
+
tags?: undefined;
|
|
272
|
+
field?: undefined;
|
|
273
|
+
equals?: undefined;
|
|
274
|
+
state?: undefined;
|
|
275
|
+
dependency_kind?: undefined;
|
|
276
|
+
operation?: undefined;
|
|
277
|
+
parameters?: undefined;
|
|
278
|
+
op?: undefined;
|
|
279
|
+
author?: undefined;
|
|
280
|
+
harness?: undefined;
|
|
281
|
+
model?: undefined;
|
|
282
|
+
link?: undefined;
|
|
283
|
+
provider?: undefined;
|
|
284
|
+
key?: undefined;
|
|
285
|
+
};
|
|
286
|
+
allOf?: undefined;
|
|
287
|
+
})[];
|
|
288
|
+
};
|
|
289
|
+
measurement_id?: undefined;
|
|
290
|
+
owner_item_id?: undefined;
|
|
291
|
+
scope?: undefined;
|
|
292
|
+
ceiling?: undefined;
|
|
293
|
+
floor?: undefined;
|
|
294
|
+
equals?: undefined;
|
|
295
|
+
zero?: undefined;
|
|
296
|
+
monotone_nondecreasing?: undefined;
|
|
297
|
+
monotone_nonincreasing?: undefined;
|
|
298
|
+
subset_of?: undefined;
|
|
299
|
+
lifetime?: undefined;
|
|
300
|
+
retire_reason?: undefined;
|
|
301
|
+
enforcement?: undefined;
|
|
302
|
+
authorization_decision?: undefined;
|
|
303
|
+
negative_control?: undefined;
|
|
304
|
+
assertion_ids?: undefined;
|
|
305
|
+
triggers?: undefined;
|
|
306
|
+
};
|
|
307
|
+
oneOf?: undefined;
|
|
308
|
+
allOf?: undefined;
|
|
309
|
+
} | {
|
|
310
|
+
type: string;
|
|
311
|
+
additionalProperties: boolean;
|
|
312
|
+
required: string[];
|
|
313
|
+
oneOf: {
|
|
314
|
+
required: string[];
|
|
315
|
+
}[];
|
|
316
|
+
allOf: {
|
|
317
|
+
oneOf: ({
|
|
318
|
+
not: {
|
|
319
|
+
required: string[];
|
|
320
|
+
properties: {
|
|
321
|
+
lifetime: {
|
|
322
|
+
const: string;
|
|
323
|
+
};
|
|
324
|
+
};
|
|
325
|
+
};
|
|
326
|
+
required?: undefined;
|
|
327
|
+
properties?: undefined;
|
|
328
|
+
} | {
|
|
329
|
+
required: string[];
|
|
330
|
+
properties: {
|
|
331
|
+
lifetime: {
|
|
332
|
+
const: string;
|
|
333
|
+
};
|
|
334
|
+
retire_reason: {
|
|
335
|
+
type: string;
|
|
336
|
+
minLength: number;
|
|
337
|
+
};
|
|
338
|
+
};
|
|
339
|
+
not?: undefined;
|
|
340
|
+
})[];
|
|
341
|
+
}[];
|
|
342
|
+
properties: {
|
|
343
|
+
id: {
|
|
344
|
+
type: string;
|
|
345
|
+
minLength: number;
|
|
346
|
+
};
|
|
347
|
+
measurement_id: {
|
|
348
|
+
type: string;
|
|
349
|
+
minLength: number;
|
|
350
|
+
};
|
|
351
|
+
owner_item_id: {
|
|
352
|
+
type: string;
|
|
353
|
+
minLength: number;
|
|
354
|
+
};
|
|
355
|
+
scope: {
|
|
356
|
+
oneOf: ({
|
|
357
|
+
type: string;
|
|
358
|
+
additionalProperties: boolean;
|
|
359
|
+
required: string[];
|
|
360
|
+
properties: {
|
|
361
|
+
kind: {
|
|
362
|
+
enum: string[];
|
|
363
|
+
const?: undefined;
|
|
364
|
+
};
|
|
365
|
+
measurement_id?: undefined;
|
|
366
|
+
};
|
|
367
|
+
} | {
|
|
368
|
+
type: string;
|
|
369
|
+
additionalProperties: boolean;
|
|
370
|
+
required: string[];
|
|
371
|
+
properties: {
|
|
372
|
+
kind: {
|
|
373
|
+
const: string;
|
|
374
|
+
enum?: undefined;
|
|
375
|
+
};
|
|
376
|
+
measurement_id: {
|
|
377
|
+
type: string;
|
|
378
|
+
minLength: number;
|
|
379
|
+
};
|
|
380
|
+
};
|
|
381
|
+
})[];
|
|
382
|
+
};
|
|
383
|
+
ceiling: {
|
|
384
|
+
type: string;
|
|
385
|
+
};
|
|
386
|
+
floor: {
|
|
387
|
+
type: string;
|
|
388
|
+
};
|
|
389
|
+
equals: {
|
|
390
|
+
oneOf: ({
|
|
391
|
+
type: string;
|
|
392
|
+
items?: undefined;
|
|
393
|
+
} | {
|
|
394
|
+
type: string;
|
|
395
|
+
items: {
|
|
396
|
+
type: string;
|
|
397
|
+
};
|
|
398
|
+
})[];
|
|
399
|
+
};
|
|
400
|
+
zero: {
|
|
401
|
+
const: boolean;
|
|
402
|
+
};
|
|
403
|
+
monotone_nondecreasing: {
|
|
404
|
+
type: string;
|
|
405
|
+
};
|
|
406
|
+
monotone_nonincreasing: {
|
|
407
|
+
type: string;
|
|
408
|
+
};
|
|
409
|
+
subset_of: {
|
|
410
|
+
type: string;
|
|
411
|
+
items: {
|
|
412
|
+
type: string;
|
|
413
|
+
};
|
|
414
|
+
};
|
|
415
|
+
lifetime: {
|
|
416
|
+
enum: string[];
|
|
417
|
+
};
|
|
418
|
+
retire_reason: {
|
|
419
|
+
type: string;
|
|
420
|
+
minLength: number;
|
|
421
|
+
};
|
|
422
|
+
enforcement: {
|
|
423
|
+
enum: string[];
|
|
424
|
+
};
|
|
425
|
+
authorization_decision: {
|
|
426
|
+
type: string;
|
|
427
|
+
minLength: number;
|
|
428
|
+
};
|
|
429
|
+
negative_control: {
|
|
430
|
+
type: string;
|
|
431
|
+
additionalProperties: boolean;
|
|
432
|
+
required: string[];
|
|
433
|
+
properties: {
|
|
434
|
+
cases: {
|
|
435
|
+
type: string;
|
|
436
|
+
minItems: number;
|
|
437
|
+
items: {
|
|
438
|
+
type: string;
|
|
439
|
+
additionalProperties: boolean;
|
|
440
|
+
required: string[];
|
|
441
|
+
properties: {
|
|
442
|
+
observed: {
|
|
443
|
+
oneOf: ({
|
|
444
|
+
type: string;
|
|
445
|
+
items?: undefined;
|
|
446
|
+
} | {
|
|
447
|
+
type: string;
|
|
448
|
+
items: {
|
|
449
|
+
type: string;
|
|
450
|
+
};
|
|
451
|
+
})[];
|
|
452
|
+
};
|
|
453
|
+
expected: {
|
|
454
|
+
enum: string[];
|
|
455
|
+
};
|
|
456
|
+
};
|
|
457
|
+
};
|
|
458
|
+
};
|
|
459
|
+
};
|
|
460
|
+
};
|
|
461
|
+
description?: undefined;
|
|
462
|
+
max_cost?: undefined;
|
|
463
|
+
source?: undefined;
|
|
464
|
+
assertion_ids?: undefined;
|
|
465
|
+
triggers?: undefined;
|
|
466
|
+
};
|
|
467
|
+
} | {
|
|
468
|
+
type: string;
|
|
469
|
+
additionalProperties: boolean;
|
|
470
|
+
required: string[];
|
|
471
|
+
properties: {
|
|
472
|
+
id: {
|
|
473
|
+
type: string;
|
|
474
|
+
minLength: number;
|
|
475
|
+
};
|
|
476
|
+
description: {
|
|
477
|
+
type: string;
|
|
478
|
+
};
|
|
479
|
+
assertion_ids: {
|
|
480
|
+
type: string;
|
|
481
|
+
minItems: number;
|
|
482
|
+
items: {
|
|
483
|
+
type: string;
|
|
484
|
+
minLength: number;
|
|
485
|
+
};
|
|
486
|
+
};
|
|
487
|
+
triggers: {
|
|
488
|
+
type: string;
|
|
489
|
+
minItems: number;
|
|
490
|
+
items: {
|
|
491
|
+
enum: string[];
|
|
492
|
+
};
|
|
493
|
+
};
|
|
494
|
+
max_cost?: undefined;
|
|
495
|
+
source?: undefined;
|
|
496
|
+
measurement_id?: undefined;
|
|
497
|
+
owner_item_id?: undefined;
|
|
498
|
+
scope?: undefined;
|
|
499
|
+
ceiling?: undefined;
|
|
500
|
+
floor?: undefined;
|
|
501
|
+
equals?: undefined;
|
|
502
|
+
zero?: undefined;
|
|
503
|
+
monotone_nondecreasing?: undefined;
|
|
504
|
+
monotone_nonincreasing?: undefined;
|
|
505
|
+
subset_of?: undefined;
|
|
506
|
+
lifetime?: undefined;
|
|
507
|
+
retire_reason?: undefined;
|
|
508
|
+
enforcement?: undefined;
|
|
509
|
+
authorization_decision?: undefined;
|
|
510
|
+
negative_control?: undefined;
|
|
511
|
+
};
|
|
512
|
+
oneOf?: undefined;
|
|
513
|
+
allOf?: undefined;
|
|
514
|
+
})[];
|
|
515
|
+
};
|