feat(profiles): SEGMENTED_V1 profile and SegmentationPolicy capability

This commit is contained in:
Kjell Tore Guttormsen 2026-09-01 00:02:14 +02:00
commit cd2c7517b0
3 changed files with 190 additions and 0 deletions

View file

@ -221,4 +221,10 @@ def test_a_profile_is_assembled_from_its_policies() -> None:
"paths",
"index",
"ownership",
# SEGMENTED_V1's capability, registered here for the same reason
# `ownership` was at D2: the alternative to a policy on the object is a
# profile branch somewhere else, which is exactly what this assertion
# exists to forbid. Defaulted to None, so the four shipped profiles
# construct unchanged and their bytes do not move.
"segmentation",
}