{
  "spec_version": "1.4.0-otel",
  "timestamp": "2026-04-24T00:13:03.355457Z",
  "trace_id": "4bf92f3577b34da6a3ce929d0e0e4736",
  "span_id": "00f067aa0ba902b7",
  "severity_text": "WARN",
  "severity_number": 13,
  "event_name": "swarm.agent.lifecycle.deprecated",
  "resource": {
    "service.name": "swarm-orchestrator",
    "service.version": "4.2.0",
    "deployment.environment": "production",
    "node.id": "worker-node-aws-us-east-1a-04"
  },
  "attributes": {
    "agent.id": "SystemHealthAgent",
    "agent.previous_version": "v29.x",
    "agent.target_version": "v30",
    "deprecation.reason": "Transitioning to v30 architecture.",
    "deprecation.action_required": true
  },
  "metrics": {
    "agent.core_logic.function_count": 3,
    "agent.capabilities.count": 0
  },
  "artifacts": {
    "provenance": {
      "repository": "git+ssh://repo/core/agents/system_health_agent.py",
      "commit_sha": "a1b2c3d4e5f6g7h8i9j0",
      "docstring_hash": "sha256:d8c4b12389a..."
    },
    "extracted_capabilities": [],
    "core_logic_signatures": [
      {
        "name": "__init__",
        "ast_hash": "sha256:55b5605d990797ef",
        "loc": 4,
        "source": "def __init__(self, config: Dict[str, Any], **kwargs):\n        super().__init__(config, **kwargs)\n        self.start_time = time.time()\n        self.error_count = 0"
      },
      {
        "name": "execute",
        "ast_hash": "sha256:37755c7b10d3833a",
        "loc": 11,
        "source": "async def execute(self, input_data: AgentInput) -> AgentOutput:\n        metrics = HealthMetrics(\n            agent_id=self.config.get(\"agent_id\", \"unknown\"),\n            uptime_seconds=time.time() - self.start_time,\n            error_count=self.error_count\n        )\n        return AgentOutput(\n            answer=\"System is healthy\",\n            confidence=1.0,\n            metadata={\"status\": \"healthy\", \"metrics\": metrics.model_dump()}\n        )"
      },
      {
        "name": "ping",
        "ast_hash": "sha256:d00a0346915aec71",
        "loc": 2,
        "source": "def ping(self) -> str:\n        return \"pong\""
      }
    ]
  }
}