{
  "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": "BlackSwanAgent",
    "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": 5,
    "agent.capabilities.count": 0
  },
  "artifacts": {
    "provenance": {
      "repository": "git+ssh://repo/core/agents/black_swan_agent.py",
      "commit_sha": "a1b2c3d4e5f6g7h8i9j0",
      "docstring_hash": "sha256:d8c4b12389a..."
    },
    "extracted_capabilities": [],
    "core_logic_signatures": [
      {
        "name": "__init__",
        "ast_hash": "sha256:fc62bcf9aace567d",
        "loc": 4,
        "source": "def __init__(self, config=None, **kwargs):\n        super().__init__(config, **kwargs)\n        self.cache = SemanticCache()\n        self.state_manager = StateManager()"
      },
      {
        "name": "execute",
        "ast_hash": "sha256:b30e37a7879392ec",
        "loc": 89,
        "source_omitted_for_brevity": true,
        "note": "In a real telemetry pipeline, large functions can be truncated or omitted entirely in favor of the 'ast_hash' to save network bandwidth and storage costs."
      },
      {
        "name": "_apply_stress",
        "ast_hash": "sha256:6e0535e490087bfb",
        "loc": 55,
        "source_omitted_for_brevity": true,
        "note": "In a real telemetry pipeline, large functions can be truncated or omitted entirely in favor of the 'ast_hash' to save network bandwidth and storage costs."
      },
      {
        "name": "_calculate_pd",
        "ast_hash": "sha256:5183cdb70c1127e6",
        "loc": 33,
        "source_omitted_for_brevity": true,
        "note": "In a real telemetry pipeline, large functions can be truncated or omitted entirely in favor of the 'ast_hash' to save network bandwidth and storage costs."
      },
      {
        "name": "get_skill_schema",
        "ast_hash": "sha256:067e6f0d946e65d5",
        "loc": 18,
        "source": "def get_skill_schema(self) -> Dict[str, Any]:\n        return {\n            \"name\": \"BlackSwanAgent\",\n            \"description\": \"Generates stress scenarios and sensitivity analysis.\",\n            \"skills\": [\n                {\n                    \"name\": \"run_stress_test\",\n                    \"description\": \"Runs stress test scenarios on financial data.\",\n                    \"parameters\": {\n                        \"type\": \"object\",\n                        \"properties\": {\n                            \"financial_data\": {\"type\": \"object\", \"description\": \"Financial metrics including total_debt, ebitda, interest_expense, etc.\"}\n                        },\n                        \"required\": [\"financial_data\"]\n                    }\n                }\n            ]\n        }"
      }
    ]
  }
}