feat: add deployment zone overlays

This commit is contained in:
2026-05-24 15:55:05 +02:00
parent 62236f6453
commit ff1c4ce05b
28 changed files with 1282 additions and 26 deletions

View File

@@ -309,6 +309,8 @@ def test_registry_accepts_financial_graph_and_materializes_vnext_fields(tmp_path
assert graph["apiVersion"] == "railiance.fabric/v1alpha2"
assert graph["schema_version"] == "financial-fabric-v1"
assert graph["nodes"][0]["evidence"]["review_state"] == "accepted"
assert graph["nodes"][0]["deployment_overlay"]["deployment_environment"] == "dev"
assert graph["nodes"][0]["deployment_overlay"]["deployment_scenario"] == "bernd-laptop"
assert edge["relationship_category"] == "utility"
assert edge["boundary"]["crosses_fabric_boundary"] is False
assert edge["boundary"]["crosses_subfabric_boundary"] is True
@@ -558,6 +560,15 @@ def _financial_graph() -> dict:
"subfabric_id": None,
"environment": "local",
},
"deployment_overlay": {
"deployment_environment": "dev",
"deployment_scenario": "bernd-laptop",
"routing_authority": "loopback",
"access_zone": "private-dev",
"policy_authority": "local-loopback-binding",
"exposure_class": "local-only",
"route_evidence": {"host": "127.0.0.1", "port": 8000, "protocol": "tcp"},
},
"ownership": {
"owner_actor_id": "actor.railiance.primary-lord",
"owner_role": "lord",