Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions pre1/feature-baseline-v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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",
Expand Down
11 changes: 11 additions & 0 deletions tools/check_pre1_feature_baseline.py
Original file line number Diff line number Diff line change
Expand Up @@ -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


Expand Down
2 changes: 2 additions & 0 deletions tools/run_profile_fixture_contract.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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'
13 changes: 12 additions & 1 deletion tools/test_pre1_feature_baseline.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"])

Expand Down Expand Up @@ -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()