From 0f05b26c50cf6e00d4c1e1c33c3858cc14708423 Mon Sep 17 00:00:00 2001 From: RobLe3 Date: Fri, 28 Aug 2026 22:21:00 +0200 Subject: [PATCH] Align native framing feature classification --- pre1/feature-baseline-v1.json | 6 +++--- tools/check_pre1_feature_baseline.py | 11 +++++++++++ tools/run_profile_fixture_contract.sh | 2 ++ tools/test_pre1_feature_baseline.py | 13 ++++++++++++- 4 files changed, 28 insertions(+), 4 deletions(-) diff --git a/pre1/feature-baseline-v1.json b/pre1/feature-baseline-v1.json index 4dbbcd7..a6bdc1e 100644 --- a/pre1/feature-baseline-v1.json +++ b/pre1/feature-baseline-v1.json @@ -438,7 +438,7 @@ { "id": "native-binary-framing", "title": "Native binary framing", - "classification": "OPTIONAL_STABLE", + "classification": "EXPERIMENTAL", "authority_refs": [ "spec/v1.9/iicp-framing.md", "spec/v1.9/iicp-cbor-wire.md" @@ -451,8 +451,8 @@ "RobLe3/iicp-client-typescript", "RobLe3/iicp-client-rust" ], - "boundary": "HTTP-capable stable operation does not require the optional binary binding.", - "contradiction_status": "CLEAR" + "boundary": "Cross-SDK framing vectors remain experimental evidence. Maintained native TCP is an explicitly enabled plaintext development profile and is excluded from the coordinated stable and production baseline.", + "contradiction_status": "CLEAR_WITH_EXPLICIT_BOUNDARY" }, { "id": "runtime-identity-context", diff --git a/tools/check_pre1_feature_baseline.py b/tools/check_pre1_feature_baseline.py index d8075fe..6c1a58b 100644 --- a/tools/check_pre1_feature_baseline.py +++ b/tools/check_pre1_feature_baseline.py @@ -82,6 +82,17 @@ def validate(value: dict, root: Path = ROOT) -> list[str]: "OPEN", }: errors.append(f"invalid contradiction status: {row_id}") + + native = next( + (row for row in capabilities if row.get("id") == "native-binary-framing"), + None, + ) + if native is None: + errors.append("native binary framing capability is missing") + elif native.get("classification") != "EXPERIMENTAL": + errors.append( + "native binary framing must remain experimental while native TCP is excluded" + ) return errors diff --git a/tools/run_profile_fixture_contract.sh b/tools/run_profile_fixture_contract.sh index 08639ea..c09d0d7 100755 --- a/tools/run_profile_fixture_contract.sh +++ b/tools/run_profile_fixture_contract.sh @@ -55,6 +55,8 @@ python3 -m unittest discover -s tools -p 'test_submission_governance_decision.py python3 tools/check_signed_message_envelope_boundary.py python3 -m unittest discover -s tools -p 'test_signed_message_envelope_boundary.py' python3 tools/check_native_framing_fixtures.py +python3 tools/check_pre1_feature_baseline.py +python3 -m unittest discover -s tools -p 'test_pre1_feature_baseline.py' python3 tools/check_public_evidence_access.py python3 -m unittest discover -s tools -p 'test_public_evidence_access.py' python3 -m unittest discover -s tools -p 'test_ci_required_check_contract.py' diff --git a/tools/test_pre1_feature_baseline.py b/tools/test_pre1_feature_baseline.py index 4d0e059..92744e3 100644 --- a/tools/test_pre1_feature_baseline.py +++ b/tools/test_pre1_feature_baseline.py @@ -23,7 +23,7 @@ def setUp(self) -> None: def test_current_baseline_is_valid_and_open(self) -> None: self.assertEqual(module.validate(self.value), []) result = module.evaluate(self.value) - self.assertEqual(result["capabilities"], 27) + self.assertEqual(result["capabilities"], 28) self.assertEqual(len(result["open_component_reviews"]), 6) self.assertFalse(result["strict_ready"]) @@ -57,6 +57,17 @@ def test_missing_local_reference_fails(self) -> None: errors = module.validate(value) self.assertTrue(any("missing referenced artifact" in error for error in errors)) + def test_native_framing_cannot_reenter_the_stable_baseline(self) -> None: + value = copy.deepcopy(self.value) + row = next( + row + for row in value["capabilities"] + if row["id"] == "native-binary-framing" + ) + row["classification"] = "OPTIONAL_STABLE" + errors = module.validate(value) + self.assertTrue(any("must remain experimental" in error for error in errors)) + if __name__ == "__main__": unittest.main()