diff --git a/package-lock.json b/package-lock.json index 368de1c..2ff017b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -9,15 +9,15 @@ "version": "0.0.0-managed", "license": "AGPL-3.0-or-later", "devDependencies": { - "@agent-ix/semantic-core": "0.3.0", + "@agent-ix/semantic-core": "0.3.2", "@typespec/compiler": "1.15.0", "@typespec/json-schema": "1.15.0" } }, "node_modules/@agent-ix/semantic-core": { - "version": "0.3.0", - "resolved": "https://npm.pkg.github.com/download/@agent-ix/semantic-core/0.3.0/bfeb9ba3a7381d08f02f96b2745859f5acdb3506", - "integrity": "sha512-ygmBl+YzYaNDkkMsoejRuylBa+MbwqcqFAg/xjK2is+dKA6IbX9VlBQPU0hLc91fzDKGVIsTSBRUzDVs5YBcyw==", + "version": "0.3.2", + "resolved": "https://npm.pkg.github.com/download/@agent-ix/semantic-core/0.3.2/55b883ac34241ba6332c9fbae682cb0b9554208e", + "integrity": "sha512-Rz/83LT+a9klXhudg8q2UjAo3DjjROOlmw0yjJXjGQPkCJ0Mpqlkv7I76BzmlAoFyCm64WKgbeWePZchftz/fQ==", "dev": true, "license": "AGPL-3.0-or-later", "peerDependencies": { diff --git a/package.json b/package.json index ee5476e..98e64b4 100644 --- a/package.json +++ b/package.json @@ -32,7 +32,7 @@ "url": "git+https://github.com/agent-ix/spec-objects-operational.git" }, "devDependencies": { - "@agent-ix/semantic-core": "0.3.0", + "@agent-ix/semantic-core": "0.3.2", "@typespec/compiler": "1.15.0", "@typespec/json-schema": "1.15.0" } diff --git a/poetry.lock b/poetry.lock index 5d9877a..fed9577 100644 --- a/poetry.lock +++ b/poetry.lock @@ -932,17 +932,17 @@ files = [ [[package]] name = "quire" -version = "0.49.0" +version = "0.50.0" description = "Python bindings for quire-rs: parse, corpus load, and whole-spec queries (FR-023)." optional = false python-versions = ">=3.9" groups = ["dev"] files = [ - {file = "quire-0.49.0-cp39-abi3-macosx_10_12_x86_64.whl", hash = "sha256:18a68fd7b5486082a6807f2b1d1a47cef055690541b76dce196f71d3cc20e810"}, - {file = "quire-0.49.0-cp39-abi3-macosx_11_0_arm64.whl", hash = "sha256:ff5877fd03bb01a67036520e80962134f3004953556a5bbf6e0b548232102187"}, - {file = "quire-0.49.0-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:1389b18916672b3d04ff323412095278719a15bd1f34e867940b4261e837500f"}, - {file = "quire-0.49.0-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:8c20e6105c181c03aca8611b57a681941c82acdf9194afd373d221e8f1432271"}, - {file = "quire-0.49.0-cp39-abi3-win_amd64.whl", hash = "sha256:b1f3b53d930f60b44311fa58860c65760dac2e0f86afffd4fddf2a26db89accd"}, + {file = "quire-0.50.0-cp39-abi3-macosx_10_12_x86_64.whl", hash = "sha256:19fc945a86870f151a6a87dce69d25845e250ed91e66cfec06e4c159f44ffe3a"}, + {file = "quire-0.50.0-cp39-abi3-macosx_11_0_arm64.whl", hash = "sha256:74413c84ea63cb37e78301de6c3e7d3fd1768259f877ef074cfd717551d70c83"}, + {file = "quire-0.50.0-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:5d4cda974a1b241d592068fdb48aeea2103aaa63357c89105b7b6fad3331efa3"}, + {file = "quire-0.50.0-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:d4bb6ea5a8ae42c67a2eb93766f2544d2ad674120e91d51ccdbfac56354e236f"}, + {file = "quire-0.50.0-cp39-abi3-win_amd64.whl", hash = "sha256:384c44ece0c40ae6876e7f2ef8cab6d7ddb5a19e33d0f9126bfeef8c6731935b"}, ] [package.source] @@ -1157,4 +1157,4 @@ files = [ [metadata] lock-version = "2.1" python-versions = ">=3.13,<3.14" -content-hash = "1ace932bed8175273a54474dea35d55458fea2e80869e76dc6dd904959d3e9ca" +content-hash = "7425b2b68dfd14cec503eb97b08c5d34a2e2f5660839ba4cb91dd8ec2f595f4d" diff --git a/pyproject.toml b/pyproject.toml index 7841bf5..cdcff91 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -29,7 +29,7 @@ py-project = "^0.4.4" pytest = "^9.0.2" pytest-cov = "^7.0.0" pytest-json-report = "^1.5.0" -quire = { version = "^0.49.0", source = "internal-pypi" } +quire = { version = "^0.50.0", source = "internal-pypi" } ruff = "^0.14.13" pytest-results = { version = "^0.2.0", python = ">=3.12" } diff --git a/spec_objects_operational/manifest.yaml b/spec_objects_operational/manifest.yaml index 974214c..7e88314 100644 --- a/spec_objects_operational/manifest.yaml +++ b/spec_objects_operational/manifest.yaml @@ -4,7 +4,7 @@ version: 0.3.0 description: 'Filament Module: tier-2 operational ObjectTypes (configuration, migration, sli, slo, alert, runbook, incident, deployment)' semantic: contract_version: 1.0.0 - semantic_core: 0.3.0 + semantic_core: 0.3.2 package: agent-ix/spec-objects-operational exports: - configuration diff --git a/spec_objects_operational/schemas/Alert.json b/spec_objects_operational/schemas/Alert.json index ba27ac9..9a5545e 100644 --- a/spec_objects_operational/schemas/Alert.json +++ b/spec_objects_operational/schemas/Alert.json @@ -6,7 +6,7 @@ "clauses": { "type": "array", "items": { - "$ref": "https://schemas.agent-ix.org/semantic-core/0.3.0/ClauseRef.json" + "$ref": "https://schemas.agent-ix.org/semantic-core/0.3.2/ClauseRef.json" }, "minItems": 1 }, @@ -19,19 +19,19 @@ "escalatesTo": { "type": "array", "items": { - "$ref": "https://schemas.agent-ix.org/semantic-core/0.3.0/SemanticId.json" + "$ref": "https://schemas.agent-ix.org/semantic-core/0.3.2/SemanticId.json" } }, "references": { "type": "array", "items": { - "$ref": "https://schemas.agent-ix.org/semantic-core/0.3.0/SemanticId.json" + "$ref": "https://schemas.agent-ix.org/semantic-core/0.3.2/SemanticId.json" } }, "operations": { "type": "array", "items": { - "$ref": "https://schemas.agent-ix.org/semantic-core/0.3.0/OperationDecl.json" + "$ref": "https://schemas.agent-ix.org/semantic-core/0.3.2/OperationDecl.json" } } }, diff --git a/spec_objects_operational/schemas/AlertCondition.json b/spec_objects_operational/schemas/AlertCondition.json index 252a358..3c85512 100644 --- a/spec_objects_operational/schemas/AlertCondition.json +++ b/spec_objects_operational/schemas/AlertCondition.json @@ -4,10 +4,10 @@ "type": "object", "properties": { "name": { - "$ref": "https://schemas.agent-ix.org/semantic-core/0.3.0/Identifier.json" + "$ref": "https://schemas.agent-ix.org/semantic-core/0.3.2/Identifier.json" }, "sli": { - "$ref": "https://schemas.agent-ix.org/semantic-core/0.3.0/SemanticId.json" + "$ref": "https://schemas.agent-ix.org/semantic-core/0.3.2/SemanticId.json" }, "comparator": { "$ref": "https://schemas.agent-ix.org/agent-ix/spec-objects-operational/Comparator.json" diff --git a/spec_objects_operational/schemas/Configuration.json b/spec_objects_operational/schemas/Configuration.json index d023073..9654fcb 100644 --- a/spec_objects_operational/schemas/Configuration.json +++ b/spec_objects_operational/schemas/Configuration.json @@ -6,7 +6,7 @@ "fields": { "type": "array", "items": { - "$ref": "https://schemas.agent-ix.org/semantic-core/0.3.0/FieldDecl.json" + "$ref": "https://schemas.agent-ix.org/semantic-core/0.3.2/FieldDecl.json" }, "minItems": 1, "contains": { @@ -24,19 +24,19 @@ "configures": { "type": "array", "items": { - "$ref": "https://schemas.agent-ix.org/semantic-core/0.3.0/SemanticId.json" + "$ref": "https://schemas.agent-ix.org/semantic-core/0.3.2/SemanticId.json" } }, "clauses": { "type": "array", "items": { - "$ref": "https://schemas.agent-ix.org/semantic-core/0.3.0/ClauseRef.json" + "$ref": "https://schemas.agent-ix.org/semantic-core/0.3.2/ClauseRef.json" } }, "operations": { "type": "array", "items": { - "$ref": "https://schemas.agent-ix.org/semantic-core/0.3.0/OperationDecl.json" + "$ref": "https://schemas.agent-ix.org/semantic-core/0.3.2/OperationDecl.json" } } }, diff --git a/spec_objects_operational/schemas/ConfigurationScope.json b/spec_objects_operational/schemas/ConfigurationScope.json index 55f50ec..30455f6 100644 --- a/spec_objects_operational/schemas/ConfigurationScope.json +++ b/spec_objects_operational/schemas/ConfigurationScope.json @@ -7,5 +7,5 @@ "runtime", "session" ], - "description": "When a configuration parameter takes effect. The same closed set the 0.2.0\n`configuration-scope` lint rule allows on the untyped `## Configuration`\ntable, so the typed and untyped forms cannot disagree." + "description": "When a configuration parameter takes effect. The same closed set the\n`configuration-scope` lint rule allows on the untyped `## Configuration`\ntable, so the typed and untyped forms cannot disagree." } diff --git a/spec_objects_operational/schemas/Deployment.json b/spec_objects_operational/schemas/Deployment.json index 304cf95..7956358 100644 --- a/spec_objects_operational/schemas/Deployment.json +++ b/spec_objects_operational/schemas/Deployment.json @@ -6,7 +6,7 @@ "fields": { "type": "array", "items": { - "$ref": "https://schemas.agent-ix.org/semantic-core/0.3.0/FieldDecl.json" + "$ref": "https://schemas.agent-ix.org/semantic-core/0.3.2/FieldDecl.json" }, "minItems": 1, "contains": { @@ -16,7 +16,7 @@ "operations": { "type": "array", "items": { - "$ref": "https://schemas.agent-ix.org/semantic-core/0.3.0/OperationDecl.json" + "$ref": "https://schemas.agent-ix.org/semantic-core/0.3.2/OperationDecl.json" }, "minItems": 1 }, @@ -26,25 +26,25 @@ "deploys": { "type": "array", "items": { - "$ref": "https://schemas.agent-ix.org/semantic-core/0.3.0/SemanticId.json" + "$ref": "https://schemas.agent-ix.org/semantic-core/0.3.2/SemanticId.json" } }, "dependsOn": { "type": "array", "items": { - "$ref": "https://schemas.agent-ix.org/semantic-core/0.3.0/SemanticId.json" + "$ref": "https://schemas.agent-ix.org/semantic-core/0.3.2/SemanticId.json" } }, "relations": { "type": "array", "items": { - "$ref": "https://schemas.agent-ix.org/semantic-core/0.3.0/RelationDecl.json" + "$ref": "https://schemas.agent-ix.org/semantic-core/0.3.2/RelationDecl.json" } }, "clauses": { "type": "array", "items": { - "$ref": "https://schemas.agent-ix.org/semantic-core/0.3.0/ClauseRef.json" + "$ref": "https://schemas.agent-ix.org/semantic-core/0.3.2/ClauseRef.json" } } }, diff --git a/spec_objects_operational/schemas/Incident.json b/spec_objects_operational/schemas/Incident.json index e8f03ad..7ddeebd 100644 --- a/spec_objects_operational/schemas/Incident.json +++ b/spec_objects_operational/schemas/Incident.json @@ -6,7 +6,7 @@ "fields": { "type": "array", "items": { - "$ref": "https://schemas.agent-ix.org/semantic-core/0.3.0/FieldDecl.json" + "$ref": "https://schemas.agent-ix.org/semantic-core/0.3.2/FieldDecl.json" }, "minItems": 1, "contains": { @@ -22,31 +22,31 @@ "correlates": { "type": "array", "items": { - "$ref": "https://schemas.agent-ix.org/semantic-core/0.3.0/SemanticId.json" + "$ref": "https://schemas.agent-ix.org/semantic-core/0.3.2/SemanticId.json" } }, "breaches": { "type": "array", "items": { - "$ref": "https://schemas.agent-ix.org/semantic-core/0.3.0/SemanticId.json" + "$ref": "https://schemas.agent-ix.org/semantic-core/0.3.2/SemanticId.json" } }, "triggers": { "type": "array", "items": { - "$ref": "https://schemas.agent-ix.org/semantic-core/0.3.0/SemanticId.json" + "$ref": "https://schemas.agent-ix.org/semantic-core/0.3.2/SemanticId.json" } }, "clauses": { "type": "array", "items": { - "$ref": "https://schemas.agent-ix.org/semantic-core/0.3.0/ClauseRef.json" + "$ref": "https://schemas.agent-ix.org/semantic-core/0.3.2/ClauseRef.json" } }, "operations": { "type": "array", "items": { - "$ref": "https://schemas.agent-ix.org/semantic-core/0.3.0/OperationDecl.json" + "$ref": "https://schemas.agent-ix.org/semantic-core/0.3.2/OperationDecl.json" } } }, diff --git a/spec_objects_operational/schemas/Migration.json b/spec_objects_operational/schemas/Migration.json index 3df629d..02f8c38 100644 --- a/spec_objects_operational/schemas/Migration.json +++ b/spec_objects_operational/schemas/Migration.json @@ -6,7 +6,7 @@ "fields": { "type": "array", "items": { - "$ref": "https://schemas.agent-ix.org/semantic-core/0.3.0/FieldDecl.json" + "$ref": "https://schemas.agent-ix.org/semantic-core/0.3.2/FieldDecl.json" }, "minItems": 1, "contains": { @@ -18,7 +18,7 @@ "clauses": { "type": "array", "items": { - "$ref": "https://schemas.agent-ix.org/semantic-core/0.3.0/ClauseRef.json" + "$ref": "https://schemas.agent-ix.org/semantic-core/0.3.2/ClauseRef.json" }, "minItems": 1 }, @@ -28,19 +28,19 @@ "migrates": { "type": "array", "items": { - "$ref": "https://schemas.agent-ix.org/semantic-core/0.3.0/SemanticId.json" + "$ref": "https://schemas.agent-ix.org/semantic-core/0.3.2/SemanticId.json" } }, "dependsOn": { "type": "array", "items": { - "$ref": "https://schemas.agent-ix.org/semantic-core/0.3.0/SemanticId.json" + "$ref": "https://schemas.agent-ix.org/semantic-core/0.3.2/SemanticId.json" } }, "operations": { "type": "array", "items": { - "$ref": "https://schemas.agent-ix.org/semantic-core/0.3.0/OperationDecl.json" + "$ref": "https://schemas.agent-ix.org/semantic-core/0.3.2/OperationDecl.json" } } }, diff --git a/spec_objects_operational/schemas/ObjectiveDecl.json b/spec_objects_operational/schemas/ObjectiveDecl.json index 29b7861..17c42db 100644 --- a/spec_objects_operational/schemas/ObjectiveDecl.json +++ b/spec_objects_operational/schemas/ObjectiveDecl.json @@ -4,13 +4,13 @@ "type": "object", "properties": { "sli": { - "$ref": "https://schemas.agent-ix.org/semantic-core/0.3.0/SemanticId.json" + "$ref": "https://schemas.agent-ix.org/semantic-core/0.3.2/SemanticId.json" }, "target": { "type": "number" }, "unit": { - "$ref": "https://schemas.agent-ix.org/semantic-core/0.3.0/UnitSymbol.json" + "$ref": "https://schemas.agent-ix.org/semantic-core/0.3.2/UnitSymbol.json" }, "window": { "type": "string", diff --git a/spec_objects_operational/schemas/RollbackDecl.json b/spec_objects_operational/schemas/RollbackDecl.json index 5641764..dbc9ac4 100644 --- a/spec_objects_operational/schemas/RollbackDecl.json +++ b/spec_objects_operational/schemas/RollbackDecl.json @@ -7,7 +7,7 @@ "$ref": "https://schemas.agent-ix.org/agent-ix/spec-objects-operational/RollbackStrategy.json" }, "clause": { - "$ref": "https://schemas.agent-ix.org/semantic-core/0.3.0/ClauseRef.json" + "$ref": "https://schemas.agent-ix.org/semantic-core/0.3.2/ClauseRef.json" }, "doc": { "type": "string" diff --git a/spec_objects_operational/schemas/Runbook.json b/spec_objects_operational/schemas/Runbook.json index 5a687a8..b25b2d6 100644 --- a/spec_objects_operational/schemas/Runbook.json +++ b/spec_objects_operational/schemas/Runbook.json @@ -6,7 +6,7 @@ "operations": { "type": "array", "items": { - "$ref": "https://schemas.agent-ix.org/semantic-core/0.3.0/OperationDecl.json" + "$ref": "https://schemas.agent-ix.org/semantic-core/0.3.2/OperationDecl.json" }, "minItems": 1 }, @@ -19,13 +19,13 @@ "remediates": { "type": "array", "items": { - "$ref": "https://schemas.agent-ix.org/semantic-core/0.3.0/SemanticId.json" + "$ref": "https://schemas.agent-ix.org/semantic-core/0.3.2/SemanticId.json" } }, "clauses": { "type": "array", "items": { - "$ref": "https://schemas.agent-ix.org/semantic-core/0.3.0/ClauseRef.json" + "$ref": "https://schemas.agent-ix.org/semantic-core/0.3.2/ClauseRef.json" } } }, diff --git a/spec_objects_operational/schemas/RunbookStep.json b/spec_objects_operational/schemas/RunbookStep.json index 2e3123e..d31a48b 100644 --- a/spec_objects_operational/schemas/RunbookStep.json +++ b/spec_objects_operational/schemas/RunbookStep.json @@ -4,7 +4,7 @@ "type": "object", "properties": { "name": { - "$ref": "https://schemas.agent-ix.org/semantic-core/0.3.0/Identifier.json" + "$ref": "https://schemas.agent-ix.org/semantic-core/0.3.2/Identifier.json" }, "order": { "type": "integer", @@ -15,7 +15,7 @@ "type": "string" }, "operation": { - "$ref": "https://schemas.agent-ix.org/semantic-core/0.3.0/Identifier.json" + "$ref": "https://schemas.agent-ix.org/semantic-core/0.3.2/Identifier.json" } }, "required": [ diff --git a/spec_objects_operational/schemas/ScopeAssignment.json b/spec_objects_operational/schemas/ScopeAssignment.json index 5c1ea30..d2af1e6 100644 --- a/spec_objects_operational/schemas/ScopeAssignment.json +++ b/spec_objects_operational/schemas/ScopeAssignment.json @@ -4,7 +4,7 @@ "type": "object", "properties": { "parameter": { - "$ref": "https://schemas.agent-ix.org/semantic-core/0.3.0/Identifier.json" + "$ref": "https://schemas.agent-ix.org/semantic-core/0.3.2/Identifier.json" }, "scope": { "$ref": "https://schemas.agent-ix.org/agent-ix/spec-objects-operational/ConfigurationScope.json" diff --git a/spec_objects_operational/schemas/Sli.json b/spec_objects_operational/schemas/Sli.json index 0977f6a..7c5a60e 100644 --- a/spec_objects_operational/schemas/Sli.json +++ b/spec_objects_operational/schemas/Sli.json @@ -6,7 +6,7 @@ "fields": { "type": "array", "items": { - "$ref": "https://schemas.agent-ix.org/semantic-core/0.3.0/FieldDecl.json" + "$ref": "https://schemas.agent-ix.org/semantic-core/0.3.2/FieldDecl.json" }, "minItems": 1, "contains": { @@ -16,13 +16,13 @@ "measures": { "type": "array", "items": { - "$ref": "https://schemas.agent-ix.org/semantic-core/0.3.0/SemanticId.json" + "$ref": "https://schemas.agent-ix.org/semantic-core/0.3.2/SemanticId.json" } }, "clauses": { "type": "array", "items": { - "$ref": "https://schemas.agent-ix.org/semantic-core/0.3.0/ClauseRef.json" + "$ref": "https://schemas.agent-ix.org/semantic-core/0.3.2/ClauseRef.json" } } }, diff --git a/spec_objects_operational/schemas/Slo.json b/spec_objects_operational/schemas/Slo.json index 8524d0e..b13f0a7 100644 --- a/spec_objects_operational/schemas/Slo.json +++ b/spec_objects_operational/schemas/Slo.json @@ -6,7 +6,7 @@ "fields": { "type": "array", "items": { - "$ref": "https://schemas.agent-ix.org/semantic-core/0.3.0/FieldDecl.json" + "$ref": "https://schemas.agent-ix.org/semantic-core/0.3.2/FieldDecl.json" }, "minItems": 1, "contains": { @@ -16,7 +16,7 @@ "clauses": { "type": "array", "items": { - "$ref": "https://schemas.agent-ix.org/semantic-core/0.3.0/ClauseRef.json" + "$ref": "https://schemas.agent-ix.org/semantic-core/0.3.2/ClauseRef.json" }, "minItems": 1 }, @@ -26,13 +26,13 @@ "constrains": { "type": "array", "items": { - "$ref": "https://schemas.agent-ix.org/semantic-core/0.3.0/SemanticId.json" + "$ref": "https://schemas.agent-ix.org/semantic-core/0.3.2/SemanticId.json" } }, "dependsOn": { "type": "array", "items": { - "$ref": "https://schemas.agent-ix.org/semantic-core/0.3.0/SemanticId.json" + "$ref": "https://schemas.agent-ix.org/semantic-core/0.3.2/SemanticId.json" } } }, diff --git a/spec_objects_operational/schemas/UnitTypeRef.json b/spec_objects_operational/schemas/UnitTypeRef.json index b053b11..6fe2df0 100644 --- a/spec_objects_operational/schemas/UnitTypeRef.json +++ b/spec_objects_operational/schemas/UnitTypeRef.json @@ -4,7 +4,7 @@ "type": "object", "properties": { "unit": { - "$ref": "https://schemas.agent-ix.org/semantic-core/0.3.0/UnitSymbol.json" + "$ref": "https://schemas.agent-ix.org/semantic-core/0.3.2/UnitSymbol.json" } }, "required": [ diff --git a/typespec/main.tsp b/typespec/main.tsp index 316e0c7..77ef88b 100644 --- a/typespec/main.tsp +++ b/typespec/main.tsp @@ -72,7 +72,7 @@ model MeasuredField { // --------------------------------------------------------------------------- /** - * When a configuration parameter takes effect. The same closed set the 0.2.0 + * When a configuration parameter takes effect. The same closed set the * `configuration-scope` lint rule allows on the untyped `## Configuration` * table, so the typed and untyped forms cannot disagree. */