diff --git a/build/just/trope.just b/build/just/trope.just index 37c9eb0..e44a53a 100644 --- a/build/just/trope.just +++ b/build/just/trope.just @@ -9,4 +9,6 @@ check: haec-examples haec-examples: - bash tests/check-examples.sh + # justfile_directory() so the recipe is cwd-robust: older just (≤1.32) runs + # imported recipes from THIS file's directory, newer just from the root. + bash {{justfile_directory()}}/tests/check-examples.sh diff --git a/design/trope-ir.schema.json b/design/trope-ir.schema.json index 3cc095f..8c6ecb9 100644 --- a/design/trope-ir.schema.json +++ b/design/trope-ir.schema.json @@ -10,7 +10,11 @@ "properties": { "$schema": { "type": "string" }, "$comment": { "type": "string" }, - "version": { "type": "string", "const": "0.1" }, + "version": { + "type": "string", + "enum": ["0.1", "0.2"], + "$comment": "0.2 is current (R-2026-07-07, ADR 0004: A1 two-sided deceptive zeros, A2 chain retention order, A3 Attenuated(0)->Present normalization at ingest — verdict semantics changed, wire format unchanged). 0.1 documents remain accepted and are normalized and graded identically under 0.2 semantics." + }, "profile": { "type": "string", "const": "prevent", @@ -31,7 +35,7 @@ "fieldName": { "enum": ["quality", "bearer", "context", "record"] }, "delta": { - "$comment": "A fidelity element of N union {inf, top}. Finite delta is tropical (min-plus) quantified loss; inf is total quantified loss; top is loss of unknown amount.", + "$comment": "A fidelity element of N union {inf, top}. Finite delta is tropical (min-plus) quantified loss; inf is total quantified loss; top is loss of unknown amount. Attenuated(0) is wire-legal and is normalized to Present at IR ingest (R-2026-07-07-03, A3): validators rewrite it before grading.", "oneOf": [ { "type": "integer", "minimum": 0 }, { "type": "string", "enum": ["inf", "top"] } diff --git a/examples/faithful-record.ir.json b/examples/faithful-record.ir.json index 606590b..00e2117 100644 --- a/examples/faithful-record.ir.json +++ b/examples/faithful-record.ir.json @@ -1,7 +1,7 @@ { "$schema": "https://github.com/hyperpolymath/trope-checker/schemas/trope-ir.schema.json", "$comment": "SPDX-FileCopyrightText: © 2026 Jonathan D.A. Jewell (hyperpolymath) . SPDX-License-Identifier: MPL-2.0", - "version": "0.1", + "version": "0.2", "profile": "prevent", "nodes": [ { diff --git a/examples/station-average.ir.json b/examples/station-average.ir.json index a17ee4b..2b418d6 100644 --- a/examples/station-average.ir.json +++ b/examples/station-average.ir.json @@ -1,7 +1,7 @@ { "$schema": "https://github.com/hyperpolymath/trope-checker/schemas/trope-ir.schema.json", "$comment": "SPDX-FileCopyrightText: © 2026 Jonathan D.A. Jewell (hyperpolymath) . SPDX-License-Identifier: MPL-2.0", - "version": "0.1", + "version": "0.2", "profile": "prevent", "nodes": [ { diff --git a/examples/survey-collapse.ir.json b/examples/survey-collapse.ir.json index dbec03c..3dde966 100644 --- a/examples/survey-collapse.ir.json +++ b/examples/survey-collapse.ir.json @@ -1,7 +1,7 @@ { "$schema": "https://github.com/hyperpolymath/trope-checker/schemas/trope-ir.schema.json", "$comment": "SPDX-FileCopyrightText: © 2026 Jonathan D.A. Jewell (hyperpolymath) . SPDX-License-Identifier: MPL-2.0", - "version": "0.1", + "version": "0.2", "profile": "prevent", "nodes": [ {