From 1c55bbd4ec10e3540398f55846e8d059f417cb3b Mon Sep 17 00:00:00 2001 From: Srinivasa Consultants <78673153+dinakarjs@users.noreply.github.com> Date: Sat, 21 Nov 2026 08:57:05 +0530 Subject: [PATCH] fix(examples): align governance examples with telemetry 0.2 Use a metadata endpoint identifier in the governed workflow while retaining its SPIFFE envelope identity. Update the manual event contract version. Signed-off-by: Srinivasa Consultants <78673153+dinakarjs@users.noreply.github.com> --- examples/governed_workflow.py | 2 +- examples/manual_governance.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/governed_workflow.py b/examples/governed_workflow.py index 2e34eb7..a41b942 100644 --- a/examples/governed_workflow.py +++ b/examples/governed_workflow.py @@ -204,7 +204,7 @@ def run_scenario() -> dict[str, Any]: span_id=span_id, direction="read", source={"kind": "repository", "id": "application-source"}, - destination={"kind": "agent", "id": AGENT_ID}, + destination={"kind": "agent", "id": "builder"}, classification={ "taxonomy": "example.enterprise.v1", "value": "confidential", diff --git a/examples/manual_governance.py b/examples/manual_governance.py index fd7f62f..0ceab5c 100644 --- a/examples/manual_governance.py +++ b/examples/manual_governance.py @@ -14,7 +14,7 @@ def emit(self, record): event = { - "spec_version": "0.1.0-alpha.6", + "spec_version": "0.2.0-alpha.1", "event_id": str(uuid.uuid4()), "event_type": "policy.decision", "time_unix_nano": str(time.time_ns()),