{
  "llm": {
    "conf": 0,
    "error": "LLM endpoint returned 402 Payment Required: \"{\\\"error\\\":{\\\"message\\\":\\\"Insufficient credits. Add more using https://openrouter.ai/settings/credits\\\",\\\"code\\\":402,\\\"metadata\\\":{\\\"limit_source\\\":\\\"openr",
    "grade": "",
    "interpretation": "",
    "model": "Qwen/Qwen3.8-27B",
    "outcome": "hostile"
  },
  "ml": {
    "analyzed_at": "2026-11-13T05:56:00Z",
    "files": [
      {
        "lvl": 1,
        "prob": 0,
        "id": 0
      },
      {
        "lvl": -1,
        "id": 1
      },
      {
        "lvl": -1,
        "id": 2
      },
      {
        "lvl": -1,
        "id": 3
      },
      {
        "lvl": -1,
        "id": 4
      },
      {
        "lvl": -1,
        "id": 5
      },
      {
        "lvl": -1,
        "id": 6
      },
      {
        "lvl": -1,
        "id": 7
      }
    ],
    "lvl": 1,
    "mods": [
      {
        "cls": 2
      }
    ],
    "prob": 0,
    "v": "7",
    "version": "v20.20"
  },
  "path": "interloper_agent-0.132.0-py3-none-any.whl",
  "raw": {
    "files": [
      {
        "depth": 0,
        "facts": {
          "metrics": {
            "archive": {
              "compressed_size": 11953,
              "compression.method_counts.deflate": 9,
              "compression.method_counts.stored": 2,
              "compression.ratio": 0.41,
              "crc_collision_count": 0,
              "directory_count": 2,
              "double_extension_count": 0,
              "duplicate_member_count": 0,
              "entry_comment_count": 0,
              "eocd_signature_count": 1,
              "executable_count": 0,
              "extra_field_size": 0,
              "file_count": 9,
              "format.directory_count": 2,
              "format.regular_count": 9,
              "hidden_file_count": 0,
              "homoglyph_filename_count": 0,
              "local_header_signature_count": 11,
              "max_filename_length": 43,
              "member_count": 11,
              "misplaced_executable_count": 0,
              "nested_archive_count": 0,
              "noise_file_count": 0,
              "path_traversal_count": 0,
              "rtlo_filename_count": 0,
              "script_count": 6,
              "security.encrypted_count": 0,
              "security.setgid_count": 0,
              "security.setuid_count": 0,
              "security.sticky_count": 0,
              "security.symlink_count": 0,
              "security.world_writable_count": 0,
              "symlink_escape_count": 0,
              "timing.mtime_dominant_count": 11,
              "timing.mtime_dominant_ratio": 1,
              "timing.mtime_spread_seconds": 0,
              "timing.mtime_unique_count": 1,
              "timing.mtime_unique_ratio": 0.09,
              "timing.sentinel_mtime_count": 0,
              "uncompressed_size": 29429,
              "unicode_filename_count": 0,
              "zip_bomb_ratio": 2.98
            },
            "binary": {
              "peak_region_bytes": 12288,
              "peak_region_entropy": 7.83
            },
            "consistency": {
              "metadata_identity_mismatch": 0,
              "self_dependency": 0
            },
            "file": {
              "entropy": 7.89,
              "size": 13493
            },
            "whl": {
              "native_extension_count": 0
            }
          }
        },
        "id": 0,
        "ident": {
          "name": {
            "value": "interloper_agent",
            "source": "whl.distribution",
            "verified": false
          },
          "trust": "unsigned",
          "emails": [
            "guillaume@digitlcloud.com"
          ],
          "authors": [
            {
              "name": "Guillaume Onfroy",
              "role": "author",
              "email": "guillaume@digitlcloud.com",
              "source": "whl.authors"
            }
          ],
          "version": {
            "value": "0.132.0",
            "source": "whl.version",
            "verified": false
          },
          "description": {
            "value": "Interloper AI agent, on pydantic-ai",
            "source": "whl.description",
            "verified": false
          }
        },
        "mol": "K(Li)H(Db₅)Md₃(Pa₃Pt)",
        "path": "interloper_agent-0.132.0-py3-none-any.whl",
        "risk": 10,
        "sha": "372874a3c1bf9f050099852ed30b57df0c1f0af1ed5be8b6beafe46484262c41",
        "size": 13493,
        "traits": [
          {
            "conf": 0.82,
            "crit": 3,
            "desc": "References the Anthropic service name",
            "from": [
              {
                "file": 3
              }
            ],
            "id": "metadata/file/catalog/service::service-name-anthropic"
          },
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "Declares multi-function __all__ export list",
            "from": [
              {
                "file": 2
              }
            ],
            "id": "metadata/lang/source/syntax/assignment/name::exported-all-api-surface"
          },
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "Declares Markdown package description",
            "from": [
              {
                "file": 1
              }
            ],
            "id": "metadata/package/description/presence::pkginfo-markdown-description"
          },
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "Declares Python runtime dependencies",
            "from": [
              {
                "file": 1
              }
            ],
            "id": "metadata/package/ecosystem::pkginfo-requires-dist"
          },
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "Declares supported Python versions",
            "from": [
              {
                "file": 1
              }
            ],
            "id": "metadata/package/runtime::pkginfo-requires-python"
          },
          {
            "conf": 0.8,
            "crit": 3,
            "desc": "JSON result or response field key",
            "from": [
              {
                "file": 4
              }
            ],
            "id": "micro-behaviors/data/format/json::json-result-field"
          },
          {
            "conf": 0.84,
            "crit": 3,
            "desc": "Text refers to LLM/model calls",
            "from": [
              {
                "file": 3
              }
            ],
            "id": "micro-behaviors/data/llm/agent::llm-model-call-phrase"
          },
          {
            "conf": 0.8,
            "crit": 3,
            "desc": "References the phrase \"AI agent\"",
            "from": [
              {
                "file": 3
              }
            ],
            "id": "micro-behaviors/data/llm/wire-marker::ai-agent-term-reference"
          },
          {
            "conf": 0.65,
            "crit": 3,
            "desc": "LLM input-token count field",
            "from": [
              {
                "file": 4
              }
            ],
            "id": "micro-behaviors/data/llm/wire-marker::input-token-field"
          },
          {
            "conf": 0.72,
            "crit": 3,
            "desc": "References LLM system prompt terminology",
            "from": [
              {
                "file": 4
              }
            ],
            "id": "micro-behaviors/data/llm/wire-marker::system-prompt-term-reference"
          },
          {
            "conf": 0.8,
            "crit": 3,
            "desc": "Python timezone.utc reference",
            "from": [
              {
                "file": 3
              }
            ],
            "id": "micro-behaviors/data/property/access::python-timezone-utc"
          },
          {
            "conf": 0.88,
            "crit": 3,
            "desc": "Assigns variable to 257-999 numeric bound",
            "from": [
              {
                "file": 4
              }
            ],
            "id": "micro-behaviors/data/string/assembly::variable-bound-257-to-999"
          },
          {
            "conf": 0.95,
            "crit": 3,
            "desc": "Pydantic data-model library import",
            "from": [
              {
                "file": 7
              }
            ],
            "id": "well-known/lib/runtime/scripted/pydantic::pydantic-import"
          },
          {
            "conf": 1.0,
            "crit": 2,
            "desc": "File uses a Python artifact extension",
            "from": [
              {
                "file": 2
              }
            ],
            "id": "metadata/file/extension/identity::py"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports dataclasses",
            "from": [
              {
                "file": 4
              }
            ],
            "id": "metadata/import/python/dataclasses::dataclasses"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports datetime",
            "from": [
              {
                "file": 3
              }
            ],
            "id": "metadata/import/python/datetime::datetime"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports ThinkingLevel from google.genai.types",
            "from": [
              {
                "file": 3
              }
            ],
            "id": "metadata/import/python/google/genai/types/thinkinglevel::thinkinglevel"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports google.genai.types",
            "from": [
              {
                "file": 3
              }
            ],
            "id": "metadata/import/python/google/genai/types::google/genai/types"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports inspect",
            "from": [
              {
                "file": 7
              }
            ],
            "id": "metadata/import/python/inspect::inspect"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports meter from interloper.telemetry",
            "from": [
              {
                "file": 4
              }
            ],
            "id": "metadata/import/python/interloper/telemetry/meter::meter"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports interloper.telemetry",
            "from": [
              {
                "file": 4
              }
            ],
            "id": "metadata/import/python/interloper/telemetry::interloper/telemetry"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports build_agent from interloper_agent.agent",
            "from": [
              {
                "file": 2
              }
            ],
            "id": "metadata/import/python/interloper_agent/agent/build_agent::build_agent"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports TURN_LIMITS from interloper_agent.agent",
            "from": [
              {
                "file": 2
              }
            ],
            "id": "metadata/import/python/interloper_agent/agent/turn_limits::turn_limits"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports interloper_agent.agent",
            "from": [
              {
                "file": 2
              }
            ],
            "id": "metadata/import/python/interloper_agent/agent::interloper_agent/agent"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports COMPACTION_THRESHOLD from interloper_agent.history",
            "from": [
              {
                "file": 3
              }
            ],
            "id": "metadata/import/python/interloper_agent/history/compaction_threshold::compaction_threshold"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports elide_tool_returns from interloper_agent.history",
            "from": [
              {
                "file": 3
              }
            ],
            "id": "metadata/import/python/interloper_agent/history/elide_tool_returns::elide_tool_returns"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports summarise from interloper_agent.history",
            "from": [
              {
                "file": 3
              }
            ],
            "id": "metadata/import/python/interloper_agent/history/summarise::summarise"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports summary_of from interloper_agent.history",
            "from": [
              {
                "file": 2
              }
            ],
            "id": "metadata/import/python/interloper_agent/history/summary_of::summary_of"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports interloper_agent.history",
            "from": [
              {
                "file": 2
              }
            ],
            "id": "metadata/import/python/interloper_agent/history::interloper_agent/history"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports interaction from interloper_agent",
            "from": [
              {
                "file": 7
              }
            ],
            "id": "metadata/import/python/interloper_agent/interaction::interaction"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports INSTRUCTIONS from interloper_agent.prompts",
            "from": [
              {
                "file": 3
              }
            ],
            "id": "metadata/import/python/interloper_agent/prompts/instructions::instructions"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports interloper_agent.prompts",
            "from": [
              {
                "file": 3
              }
            ],
            "id": "metadata/import/python/interloper_agent/prompts::interloper_agent/prompts"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports toolset from interloper_agent.toolset",
            "from": [
              {
                "file": 3
              }
            ],
            "id": "metadata/import/python/interloper_agent/toolset/toolset::toolset"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports interloper_agent.toolset",
            "from": [
              {
                "file": 3
              }
            ],
            "id": "metadata/import/python/interloper_agent/toolset::interloper_agent/toolset"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports interloper_agent",
            "from": [
              {
                "file": 7
              }
            ],
            "id": "metadata/import/python/interloper_agent::interloper_agent"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports connection_definition from interloper_toolkit.collection",
            "from": [
              {
                "file": 5
              }
            ],
            "id": "metadata/import/python/interloper_toolkit/collection/connection_definition::connection_definition"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports interloper_toolkit.collection",
            "from": [
              {
                "file": 5
              }
            ],
            "id": "metadata/import/python/interloper_toolkit/collection::interloper_toolkit/collection"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports Effect from interloper_toolkit",
            "from": [
              {
                "file": 7
              }
            ],
            "id": "metadata/import/python/interloper_toolkit/effect::effect"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports ToolError from interloper_toolkit.models",
            "from": [
              {
                "file": 5
              }
            ],
            "id": "metadata/import/python/interloper_toolkit/models/toolerror::toolerror"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports interloper_toolkit.models",
            "from": [
              {
                "file": 5
              }
            ],
            "id": "metadata/import/python/interloper_toolkit/models::interloper_toolkit/models"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports Tool from interloper_toolkit",
            "from": [
              {
                "file": 7
              }
            ],
            "id": "metadata/import/python/interloper_toolkit/tool::tool"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports ToolkitContext from interloper_toolkit",
            "from": [
              {
                "file": 3
              }
            ],
            "id": "metadata/import/python/interloper_toolkit/toolkitcontext::toolkitcontext"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports TOOLS from interloper_toolkit as TOOLKIT_TOOLS",
            "from": [
              {
                "file": 7
              }
            ],
            "id": "metadata/import/python/interloper_toolkit/tools::TOOLKIT_TOOLS"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports interloper_toolkit",
            "from": [
              {
                "file": 3
              }
            ],
            "id": "metadata/import/python/interloper_toolkit::interloper_toolkit"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports BaseModel from pydantic",
            "from": [
              {
                "file": 7
              }
            ],
            "id": "metadata/import/python/pydantic/basemodel::basemodel"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports pydantic",
            "from": [
              {
                "file": 7
              }
            ],
            "id": "metadata/import/python/pydantic::pydantic"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports Agent from pydantic_ai",
            "from": [
              {
                "file": 3
              }
            ],
            "id": "metadata/import/python/pydantic_ai/agent::agent"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports CallDeferred from pydantic_ai",
            "from": [
              {
                "file": 5
              }
            ],
            "id": "metadata/import/python/pydantic_ai/calldeferred::calldeferred"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports AbstractCapability from pydantic_ai.capabilities",
            "from": [
              {
                "file": 3
              }
            ],
            "id": "metadata/import/python/pydantic_ai/capabilities/abstractcapability::abstractcapability"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports ProcessHistory from pydantic_ai.capabilities",
            "from": [
              {
                "file": 3
              }
            ],
            "id": "metadata/import/python/pydantic_ai/capabilities/processhistory::processhistory"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports pydantic_ai.capabilities",
            "from": [
              {
                "file": 3
              }
            ],
            "id": "metadata/import/python/pydantic_ai/capabilities::pydantic_ai/capabilities"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports DeferredToolRequests from pydantic_ai",
            "from": [
              {
                "file": 3
              }
            ],
            "id": "metadata/import/python/pydantic_ai/deferredtoolrequests::deferredtoolrequests"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports ModelMessage from pydantic_ai.messages",
            "from": [
              {
                "file": 4
              }
            ],
            "id": "metadata/import/python/pydantic_ai/messages/modelmessage::modelmessage"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports ModelRequest from pydantic_ai.messages",
            "from": [
              {
                "file": 4
              }
            ],
            "id": "metadata/import/python/pydantic_ai/messages/modelrequest::modelrequest"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports ModelResponse from pydantic_ai.messages",
            "from": [
              {
                "file": 4
              }
            ],
            "id": "metadata/import/python/pydantic_ai/messages/modelresponse::modelresponse"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports SystemPromptPart from pydantic_ai.messages",
            "from": [
              {
                "file": 4
              }
            ],
            "id": "metadata/import/python/pydantic_ai/messages/systempromptpart::systempromptpart"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports TextPart from pydantic_ai.messages",
            "from": [
              {
                "file": 4
              }
            ],
            "id": "metadata/import/python/pydantic_ai/messages/textpart::textpart"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports ToolCallPart from pydantic_ai.messages",
            "from": [
              {
                "file": 4
              }
            ],
            "id": "metadata/import/python/pydantic_ai/messages/toolcallpart::toolcallpart"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports ToolReturnPart from pydantic_ai.messages",
            "from": [
              {
                "file": 4
              }
            ],
            "id": "metadata/import/python/pydantic_ai/messages/toolreturnpart::toolreturnpart"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports UserPromptPart from pydantic_ai.messages",
            "from": [
              {
                "file": 4
              }
            ],
            "id": "metadata/import/python/pydantic_ai/messages/userpromptpart::userpromptpart"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports pydantic_ai.messages",
            "from": [
              {
                "file": 4
              }
            ],
            "id": "metadata/import/python/pydantic_ai/messages::pydantic_ai/messages"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports AnthropicCompaction from pydantic_ai.models.anthropic",
            "from": [
              {
                "file": 3
              }
            ],
            "id": "metadata/import/python/pydantic_ai/models/anthropic/anthropiccompaction::anthropiccompaction"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports AnthropicModelSettings from pydantic_ai.models.anthropic",
            "from": [
              {
                "file": 3
              }
            ],
            "id": "metadata/import/python/pydantic_ai/models/anthropic/anthropicmodelsettings::anthropicmodelsettings"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports pydantic_ai.models.anthropic",
            "from": [
              {
                "file": 3
              }
            ],
            "id": "metadata/import/python/pydantic_ai/models/anthropic::pydantic_ai/models/anthropic"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports GoogleModelSettings from pydantic_ai.models.google",
            "from": [
              {
                "file": 3
              }
            ],
            "id": "metadata/import/python/pydantic_ai/models/google/googlemodelsettings::googlemodelsettings"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports pydantic_ai.models.google",
            "from": [
              {
                "file": 3
              }
            ],
            "id": "metadata/import/python/pydantic_ai/models/google::pydantic_ai/models/google"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports Model from pydantic_ai.models",
            "from": [
              {
                "file": 4
              }
            ],
            "id": "metadata/import/python/pydantic_ai/models/model::model"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports OpenAICompaction from pydantic_ai.models.openai",
            "from": [
              {
                "file": 3
              }
            ],
            "id": "metadata/import/python/pydantic_ai/models/openai/openaicompaction::openaicompaction"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports pydantic_ai.models.openai",
            "from": [
              {
                "file": 3
              }
            ],
            "id": "metadata/import/python/pydantic_ai/models/openai::pydantic_ai/models/openai"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports pydantic_ai.models",
            "from": [
              {
                "file": 4
              }
            ],
            "id": "metadata/import/python/pydantic_ai/models::pydantic_ai/models"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports RunContext from pydantic_ai",
            "from": [
              {
                "file": 4
              }
            ],
            "id": "metadata/import/python/pydantic_ai/runcontext::runcontext"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports ModelSettings from pydantic_ai.settings",
            "from": [
              {
                "file": 3
              }
            ],
            "id": "metadata/import/python/pydantic_ai/settings/modelsettings::modelsettings"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports pydantic_ai.settings",
            "from": [
              {
                "file": 3
              }
            ],
            "id": "metadata/import/python/pydantic_ai/settings::pydantic_ai/settings"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports ToolsetTool from pydantic_ai.toolsets.abstract",
            "from": [
              {
                "file": 7
              }
            ],
            "id": "metadata/import/python/pydantic_ai/toolsets/abstract/toolsettool::toolsettool"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports pydantic_ai.toolsets.abstract",
            "from": [
              {
                "file": 7
              }
            ],
            "id": "metadata/import/python/pydantic_ai/toolsets/abstract::pydantic_ai/toolsets/abstract"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports AbstractToolset from pydantic_ai.toolsets",
            "from": [
              {
                "file": 7
              }
            ],
            "id": "metadata/import/python/pydantic_ai/toolsets/abstracttoolset::abstracttoolset"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports FunctionToolset from pydantic_ai.toolsets",
            "from": [
              {
                "file": 7
              }
            ],
            "id": "metadata/import/python/pydantic_ai/toolsets/functiontoolset::functiontoolset"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports WrapperToolset from pydantic_ai.toolsets",
            "from": [
              {
                "file": 7
              }
            ],
            "id": "metadata/import/python/pydantic_ai/toolsets/wrappertoolset::wrappertoolset"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports pydantic_ai.toolsets",
            "from": [
              {
                "file": 7
              }
            ],
            "id": "metadata/import/python/pydantic_ai/toolsets::pydantic_ai/toolsets"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports UsageLimits from pydantic_ai",
            "from": [
              {
                "file": 3
              }
            ],
            "id": "metadata/import/python/pydantic_ai/usagelimits::usagelimits"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports pydantic_ai",
            "from": [
              {
                "file": 3
              }
            ],
            "id": "metadata/import/python/pydantic_ai::pydantic_ai"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports Any from typing",
            "from": [
              {
                "file": 7
              }
            ],
            "id": "metadata/import/python/typing/any::any"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports cast from typing",
            "from": [
              {
                "file": 4
              }
            ],
            "id": "metadata/import/python/typing/cast::cast"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports typing",
            "from": [
              {
                "file": 4
              }
            ],
            "id": "metadata/import/python/typing::typing"
          },
          {
            "conf": 0.9,
            "crit": 2,
            "desc": "Declares Python package summary",
            "from": [
              {
                "file": 1
              }
            ],
            "id": "metadata/package/description/presence::pkginfo-summary-field"
          },
          {
            "conf": 1.0,
            "crit": 2,
            "desc": "Declares Python Core Metadata version",
            "id": "metadata/package/ecosystem::pkginfo-core-metadata"
          },
          {
            "conf": 0.92,
            "crit": 2,
            "desc": "Wheel contains a Python-code member",
            "id": "metadata/package/files/wheel-sdist::wheel-python-code-member"
          },
          {
            "conf": 0.9,
            "crit": 2,
            "desc": "Declares Python package name",
            "from": [
              {
                "file": 1
              }
            ],
            "id": "metadata/package/name/presence::pkginfo-name-field"
          },
          {
            "conf": 0.9,
            "crit": 2,
            "desc": "Declares Python package version",
            "from": [
              {
                "file": 1
              }
            ],
            "id": "metadata/package/version::pkginfo-version-field"
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"the\"",
            "from": [
              {
                "file": 2
              }
            ],
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-1"
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"and\"",
            "from": [
              {
                "file": 3
              }
            ],
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-2"
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"that\"",
            "from": [
              {
                "file": 3
              }
            ],
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-3"
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"have\"",
            "from": [
              {
                "file": 6
              }
            ],
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-4"
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"for\"",
            "from": [
              {
                "file": 3
              }
            ],
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-5"
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"with\"",
            "from": [
              {
                "file": 3
              }
            ],
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-6"
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"this\"",
            "from": [
              {
                "file": 3
              }
            ],
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-7"
          },
          {
            "conf": 0.45,
            "crit": 1,
            "desc": "Secret vocabulary word",
            "from": [
              {
                "file": 6
              }
            ],
            "id": "micro-behaviors/data/parse/vocabulary::secret"
          }
        ],
        "type": "whl"
      },
      {
        "ctx": [
          {
            "col": 1,
            "line": 1,
            "ln": 0,
            "s": "Metadata-Version: 2.3\nName: interloper-agent\nVersion: 0.132.0\nSummary: Interloper AI agent, on pydantic-ai\nAuthor: Guillaume Onfroy\nAuthor-email: Guillaume Onfroy \u003cguillaume@digitlcloud.com\u003e\nRequires-Dist: interloper-core\nRequires-Dist: interloper-db\nRequires-Dist: interloper-toolkit\nRequires-Dist: pydantic-ai-slim[google,anthropic,openai]\u003e=2.51.0\nRequires-Python: \u003e=3.10\nDescription-Content-Type: text/markdown\n\n# interloper-agent\n\nThe Interloper assistant: one [pydantic-ai](https://ai.pydantic.dev) agent over the\nshared `interloper-toolkit`, served by `interloper-api` and rendered by the app.\n"
          }
        ],
        "depth": 1,
        "facts": {
          "metrics": {
            "binary": {
              "peak_region_bytes": 600,
              "peak_region_entropy": 4.93
            },
            "consistency": {
              "metadata_identity_mismatch": 0,
              "self_dependency": 0
            },
            "file": {
              "entropy": 4.93,
              "size": 600
            }
          }
        },
        "id": 1,
        "mol": "Md(Pa₃)",
        "path": "interloper_agent-0.132.0-py3-none-any.whl!!interloper_agent-0.132.0.dist-info/METADATA",
        "pid": 0,
        "refs": [
          {
            "kind": "dependency",
            "off": 206,
            "to": "pkg:pypi/interloper-core"
          },
          {
            "kind": "dependency",
            "off": 237,
            "to": "pkg:pypi/interloper-db"
          },
          {
            "kind": "dependency",
            "off": 266,
            "to": "pkg:pypi/interloper-toolkit"
          },
          {
            "kind": "dependency",
            "off": 300,
            "to": "pkg:pypi/pydantic-ai-slim?version_requirement=%3E%3D2.51.0"
          }
        ],
        "risk": 4,
        "sha": "9a3d841c507d9da2f3d5bc4aed0d11e67e0167dcab1420dda4c39b8c96eaf058",
        "sid": 6716616048,
        "size": 600,
        "supp": [
          {
            "by": [
              {
                "id": "value"
              }
            ],
            "crit": "notable",
            "id": "metadata/package/description/presence::pkginfo-no-summary",
            "kind": "unless"
          }
        ],
        "traits": [
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "Declares Markdown package description",
            "id": "metadata/package/description/presence::pkginfo-markdown-description",
            "spans": [
              [
                374,
                40
              ]
            ]
          },
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "Declares Python runtime dependencies",
            "id": "metadata/package/ecosystem::pkginfo-requires-dist",
            "spans": [
              [
                191,
                30
              ]
            ]
          },
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "Declares supported Python versions",
            "id": "metadata/package/runtime::pkginfo-requires-python",
            "spans": [
              [
                350,
                23
              ]
            ]
          },
          {
            "conf": 0.9,
            "crit": 2,
            "desc": "Declares Python package summary",
            "id": "metadata/package/description/presence::pkginfo-summary-field",
            "spans": [
              [
                62,
                0
              ]
            ]
          },
          {
            "conf": 1.0,
            "crit": 2,
            "desc": "Declares Python Core Metadata version",
            "id": "metadata/package/ecosystem::pkginfo-core-metadata"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "PyPI package declares name, version, summary",
            "id": "metadata/package/ecosystem::pypi-basic-metadata",
            "spans": [
              [
                45,
                0
              ]
            ],
            "uses": [
              3,
              4,
              10,
              11
            ]
          },
          {
            "conf": 0.94,
            "crit": 2,
            "desc": "PyPI package declares Python and dependencies",
            "id": "metadata/package/ecosystem::pypi-runtime-metadata",
            "spans": [
              [
                191,
                0
              ]
            ],
            "uses": [
              1,
              2,
              4
            ]
          },
          {
            "conf": 0.85,
            "crit": 2,
            "desc": "PKG-INFO declares no classifiers",
            "id": "metadata/package/files/wheel-sdist::pkginfo-no-classifiers",
            "uses": [
              4
            ]
          },
          {
            "conf": 0.7,
            "crit": 2,
            "desc": "PKG-INFO missing Home-page field",
            "id": "metadata/package/homepage::pkginfo-no-homepage"
          },
          {
            "conf": 0.7,
            "crit": 2,
            "desc": "PyPI metadata omits homepage",
            "id": "metadata/package/homepage::pypi-no-homepage"
          },
          {
            "conf": 0.9,
            "crit": 2,
            "desc": "Declares Python package name",
            "id": "metadata/package/name/presence::pkginfo-name-field",
            "spans": [
              [
                22,
                0
              ]
            ]
          },
          {
            "conf": 0.9,
            "crit": 2,
            "desc": "Declares Python package version",
            "id": "metadata/package/version::pkginfo-version-field",
            "spans": [
              [
                45,
                0
              ]
            ]
          }
        ],
        "type": "pkg_info"
      },
      {
        "ctx": [
          {
            "col": 1,
            "line": 1,
            "ln": 0,
            "s": "\"\"\"Interloper Agent: the assistant, on pydantic-ai, over the shared toolkit.\"\"\"\n\nfrom interloper_agent.agent import TURN_LIMITS, build_agent\nfrom interloper_agent.history import summary_of\n\n__all__ = [\"TURN_LIMITS\", \"build_agent\", \"summary_of\"]\n"
          }
        ],
        "depth": 1,
        "facts": {
          "imp": [
            [
              "interloper_agent.agent",
              "TURN_LIMITS"
            ],
            [
              "interloper_agent.agent",
              "build_agent"
            ],
            [
              "",
              "interloper_agent.agent"
            ],
            [
              "",
              "interloper_agent.history"
            ],
            [
              "interloper_agent.history",
              "summary_of"
            ]
          ],
          "metrics": {
            "ast": {
              "call_count": 0,
              "max_array_length": 3,
              "max_depth": 5,
              "node_count": 48
            },
            "binary": {
              "peak_region_bytes": 245,
              "peak_region_entropy": 4.82
            },
            "binds": {
              "count": 1
            },
            "file": {
              "entropy": 4.82,
              "size": 245
            },
            "identifiers": {
              "all_lowercase_ratio": 0.86,
              "all_uppercase_ratio": 0.14,
              "avg_entropy": 2.79,
              "avg_length": 9.57,
              "count": 8,
              "double_underscore_count": 1,
              "length_stddev": 3.37,
              "max_length": 16,
              "min_length": 5,
              "reuse_ratio": 0.88,
              "underscore_prefix_count": 1,
              "unique": 7
            },
            "imports": {
              "count": 5,
              "third_party_count": 5,
              "third_party_ratio": 1
            },
            "strings": {
              "avg_entropy": 3.46,
              "avg_length": 26.25,
              "bytes": 105,
              "count": 4,
              "entropy_stddev": 0.43,
              "max_length": 73
            },
            "text": {
              "avg_line_length": 39.83,
              "char_entropy": 4.82,
              "empty_line_ratio": 0.33,
              "identifier_density": 1.33,
              "import_density": 83.33,
              "last_line_length": 54,
              "line_length_stddev": 29.8,
              "lines": 6,
              "max_line_length": 79,
              "max_whitespace_run": 1,
              "normalized_import_count": 2.04,
              "normalized_string_count": 1.63,
              "normalized_unique_identifiers": 2.71,
              "space_count": 20,
              "string_density": 0.67,
              "top_char": 116,
              "top_char_null": 0,
              "top_char_ratio": 0.08,
              "unique_chars": 41,
              "whitespace_ratio": 0.11
            }
          }
        },
        "id": 2,
        "mol": "Md(Pt)",
        "path": "interloper_agent-0.132.0-py3-none-any.whl!!interloper_agent/__init__.py",
        "pid": 0,
        "risk": 2,
        "sha": "95640bfdd56b6b2f6016aba836da76cd2da3176cb012888e6958d8cc635b043c",
        "sid": 6607238031,
        "size": 245,
        "supp": [
          {
            "by": [
              {
                "id": "basename"
              }
            ],
            "crit": "notable",
            "id": "metadata/file/size::small-no-imports",
            "kind": "unless"
          }
        ],
        "traits": [
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "Declares multi-function __all__ export list",
            "id": "metadata/lang/source/syntax/assignment/name::exported-all-api-surface",
            "spans": [
              [
                190,
                54
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports build_agent from interloper_agent.agent",
            "id": "metadata/import/python/interloper_agent/agent/build_agent::build_agent",
            "spans": [
              [
                129,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports TURN_LIMITS from interloper_agent.agent",
            "id": "metadata/import/python/interloper_agent/agent/turn_limits::turn_limits",
            "spans": [
              [
                116,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports interloper_agent.agent",
            "id": "metadata/import/python/interloper_agent/agent::interloper_agent/agent",
            "spans": [
              [
                86,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports summary_of from interloper_agent.history",
            "id": "metadata/import/python/interloper_agent/history/summary_of::summary_of",
            "spans": [
              [
                178,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports interloper_agent.history",
            "id": "metadata/import/python/interloper_agent/history::interloper_agent/history",
            "spans": [
              [
                146,
                0
              ]
            ]
          }
        ],
        "type": "python"
      },
      {
        "analysis_gaps": [
          "flow-graph-limited",
          "flow-call-unavailable",
          "flow-query-incomplete"
        ],
        "ctx": [
          {
            "col": 1,
            "line": 1,
            "ln": 0,
            "s": "\"\"\"The assistant: one pydantic-ai agent over the toolkit.\"\"\"\n\nfrom __future__ import annotations\n\nimport datetime\n\nfrom google.genai.types import ThinkingLevel\nfrom interloper_toolkit import ToolkitContext\nfrom pydantic_ai import Agent, DeferredToolRequests, UsageLimits\nfrom pydantic_ai.capabilities import AbstractCapability, ProcessHistory\nfrom pydantic_ai.models.anthropic import AnthropicCompaction, AnthropicModelSettings\nfrom pydantic_ai.models.google import GoogleModelSettings\nfrom pydantic_ai.models.openai import OpenAICompaction\nfrom pydantic_ai.settings import ModelSettings\n\nfrom interloper_agent.history import COMPACTION_THRESHOLD, elide_tool_returns, summarise\nfrom interloper_agent.prompts import INSTRUCTIONS\nfrom interloper_agent.toolset import toolset\n\nTURN_LIMITS = UsageLimits(request_limit=40)\n\"\"\"What one turn may spend: enough for a long setup flow, a bound on a loop that never converges.\"\"\"\n\n\ndef build_agent(model: str) -\u003e Agent[ToolkitContext, str | DeferredToolRe"
          },
          {
            "col": 23,
            "line": 29,
            "ln": 1213,
            "s": "first run, so building needs no credentials. A turn\n    ends either with the answer or with :class:`DeferredToolRequests`: the\n    tool calls waiting for the user's approval or for an answer the app\n    collects (a selection, a connection set up in the sec"
          },
          {
            "col": 10,
            "line": 39,
            "ln": 1640,
            "s": "ns:\n        The agent, ready to run with a :class:`ToolkitContext` as deps.\n\n    Raises:\n        Valu"
          },
          {
            "col": 26,
            "line": 55,
            "ln": 2278,
            "s": " DeferredToolRequests],\n        instructions=INSTRUCTIONS,\n        toolsets=[toolset()],\n        capabilitie"
          },
          {
            "col": 14,
            "line": 65,
            "ln": 2562,
            "s": " model has no reliable notion of \"now\"; without this the relative\n        # timestamps the presentation rules ask for drift to its training data.\n        now = datetime.datetime.now(datetime.timezone.utc)\n        return f\"Current date and time: {now:%Y-%m-%d %H:%M} UTC. Compute relative timestamps from it.\"\n\n    return agent\n\n\ndef c"
          },
          {
            "col": 34,
            "line": 77,
            "ln": 3116,
            "s": "ry`), which removes most of a\n    conversation's bulk without a model call. Past a size the older turns\n    are summarised: server-side where the provider compacts natively\n    (Anthropic at :data:`~interloper_agent.history.COMPACTION_THRESHOLD`,\n    OpenAI's Responses API at its own default), by the agent's own\n "
          },
          {
            "col": 32,
            "line": 118,
            "ln": 4752,
            "s": "thinking level; it only takes a token budget.\n        if name.startswith(\"gemini-3\"):\n            ret"
          },
          {
            "col": 36,
            "line": 125,
            "ln": 5151,
            "s": "gs(anthropic_thinking={\"type\": \"adaptive\"})\n    return None\n"
          }
        ],
        "depth": 1,
        "facts": {
          "funcs": [
            [
              "build_agent",
              921
            ],
            [
              "current_time",
              2522
            ],
            [
              "capabilities",
              2891
            ],
            [
              "model_settings",
              4022
            ]
          ],
          "imp": [
            [
              "",
              "UsageLimits"
            ],
            [
              "",
              "ValueError"
            ],
            [
              "",
              "toolset"
            ],
            [
              "",
              "capabilities"
            ],
            [
              "",
              "model_settings"
            ],
            [
              "",
              "datetime.datetime.now"
            ],
            [
              "",
              "model.partition"
            ],
            [
              "",
              "ProcessHistory"
            ],
            [
              "",
              "built.append"
            ],
            [
              "",
              "AnthropicCompaction"
            ],
            [
              "",
              "built.append"
            ],
            [
              "",
              "OpenAICompaction"
            ],
            [
              "",
              "built.append"
            ],
            [
              "",
              "ProcessHistory"
            ],
            [
              "",
              "model.partition"
            ],
            [
              "",
              "name.startswith"
            ],
            [
              "",
              "GoogleModelSettings"
            ],
            [
              "",
              "GoogleModelSettings"
            ],
            [
              "",
              "AnthropicModelSettings"
            ],
            [
              "pydantic_ai.capabilities",
              "AbstractCapability"
            ],
            [
              "pydantic_ai",
              "Agent"
            ],
            [
              "pydantic_ai.models.anthropic",
              "AnthropicCompaction"
            ],
            [
              "pydantic_ai.models.anthropic",
              "AnthropicModelSettings"
            ],
            [
              "interloper_agent.history",
              "COMPACTION_THRESHOLD"
            ],
            [
              "pydantic_ai",
              "DeferredToolRequests"
            ],
            [
              "pydantic_ai.models.google",
              "GoogleModelSettings"
            ],
            [
              "interloper_agent.prompts",
              "INSTRUCTIONS"
            ],
            [
              "pydantic_ai.settings",
              "ModelSettings"
            ],
            [
              "pydantic_ai.models.openai",
              "OpenAICompaction"
            ],
            [
              "pydantic_ai.capabilities",
              "ProcessHistory"
            ],
            [
              "google.genai.types",
              "ThinkingLevel"
            ],
            [
              "interloper_toolkit",
              "ToolkitContext"
            ],
            [
              "pydantic_ai",
              "UsageLimits"
            ],
            [
              "",
              "datetime"
            ],
            [
              "interloper_agent.history",
              "elide_tool_returns"
            ],
            [
              "",
              "google.genai.types"
            ],
            [
              "",
              "interloper_agent.history"
            ],
            [
              "",
              "interloper_agent.prompts"
            ],
            [
              "",
              "interloper_agent.toolset"
            ],
            [
              "",
              "interloper_toolkit"
            ],
            [
              "",
              "pydantic_ai"
            ],
            [
              "",
              "pydantic_ai.capabilities"
            ],
            [
              "",
              "pydantic_ai.models.anthropic"
            ],
            [
              "",
              "pydantic_ai.models.google"
            ],
            [
              "",
              "pydantic_ai.models.openai"
            ],
            [
              "",
              "pydantic_ai.settings"
            ],
            [
              "interloper_agent.history",
              "summarise"
            ],
            [
              "interloper_agent.toolset",
              "toolset"
            ]
          ],
          "mbr": [
            "ThinkingLevel.MEDIUM",
            "agent.instructions",
            "built.append",
            "datetime.datetime",
            "datetime.datetime.now",
            "datetime.timezone",
            "datetime.timezone.utc",
            "model.partition",
            "name.startswith"
          ],
          "metrics": {
            "ast": {
              "call_count": 20,
              "max_array_length": 2,
              "max_depth": 14,
              "max_member_depth": 3,
              "member_count": 9,
              "node_count": 701,
              "op.bor": 3,
              "op_density.bor": 0
            },
            "binary": {
              "peak_region_bytes": 5211,
              "peak_region_entropy": 4.84
            },
            "binds": {
              "count": 4
            },
            "comments": {
              "chars": 206,
              "count": 3,
              "lines": 3,
              "to_code_ratio": 0.02
            },
            "file": {
              "entropy": 4.76,
              "size": 5211
            },
            "functions": {
              "avg_length_lines": 26,
              "avg_name_length": 12.25,
              "avg_nesting_depth": 0.25,
              "avg_param_name_length": 5,
              "avg_params": 0.75,
              "code_ratio": 0.79,
              "count": 4,
              "density": 3.17,
              "length_stddev": 14.85,
              "max_length_lines": 47,
              "max_nesting_depth": 1,
              "max_params": 1,
              "min_length_lines": 5,
              "nested": 1,
              "no_params_count": 1
            },
            "identifiers": {
              "all_lowercase_ratio": 0.72,
              "all_uppercase_ratio": 0.08,
              "avg_entropy": 2.77,
              "avg_length": 10.62,
              "count": 145,
              "high_entropy_count": 3,
              "high_entropy_ratio": 0.05,
              "length_stddev": 5.29,
              "max_length": 22,
              "min_length": 1,
              "reuse_ratio": 0.42,
              "single_char_count": 1,
              "single_char_ratio": 0.02,
              "underscore_prefix_count": 1,
              "unique": 61
            },
            "imports": {
              "count": 29,
              "stdlib_count": 1,
              "stdlib_ratio": 0.03,
              "third_party_count": 28,
              "third_party_ratio": 0.97
            },
            "references": {
              "declared_count": 3,
              "security_hold_count": 0,
              "unavailable_command_count": 0,
              "unresolved_count": 0,
              "unresolved_extension_count": 0
            },
            "source": {
              "function_count": 4
            },
            "strings": {
              "avg_entropy": 3.01,
              "avg_length": 106.17,
              "bytes": 2548,
              "count": 24,
              "entropy_stddev": 1.37,
              "max_length": 840,
              "shell": 3,
              "sql": 2
            },
            "text": {
              "avg_line_length": 40.36,
              "char_entropy": 4.76,
              "digit_ratio": 0,
              "empty_line_ratio": 0.18,
              "identifier_density": 1.15,
              "identifiers_to_functions_ratio": 15.25,
              "import_density": 23.02,
              "imports_to_functions_ratio": 7.25,
              "last_line_length": 15,
              "line_length_stddev": 30.39,
              "lines": 126,
              "max_line_length": 105,
              "max_whitespace_run": 1,
              "normalized_function_count": 0.36,
              "normalized_import_count": 2.58,
              "normalized_string_count": 2.14,
              "normalized_unique_identifiers": 8.74,
              "repeated_char_sequences": 6,
              "space_count": 938,
              "string_density": 0.19,
              "strings_to_functions_ratio": 6,
              "suspicious_string_ratio": 0.21,
              "top_char": 101,
              "top_char_null": 0,
              "top_char_ratio": 0.08,
              "unique_chars": 77,
              "whitespace_ratio": 0.2
            }
          },
          "tgt": [
            "AnthropicCompaction",
            "AnthropicModelSettings",
            "GoogleModelSettings",
            "OpenAICompaction",
            "ProcessHistory",
            "UsageLimits",
            "ValueError",
            "built.append",
            "capabilities",
            "datetime.datetime.now",
            "model.partition",
            "model_settings",
            "name.startswith",
            "toolset"
          ]
        },
        "id": 3,
        "mol": "H(Db₃)Md",
        "path": "interloper_agent-0.132.0-py3-none-any.whl!!interloper_agent/agent.py",
        "pid": 0,
        "risk": 3,
        "sha": "5b94cc053dcedcd26220b8a450f996dc3bb4aab994635f532f619eee58395b5c",
        "sid": 5743820787,
        "size": 5211,
        "traits": [
          {
            "conf": 0.82,
            "crit": 3,
            "desc": "References the Anthropic service name",
            "id": "metadata/file/catalog/service::service-name-anthropic",
            "spans": [
              [
                3294,
                9
              ]
            ]
          },
          {
            "conf": 0.84,
            "crit": 3,
            "desc": "Text refers to LLM/model calls",
            "id": "micro-behaviors/data/llm/agent::llm-model-call-phrase",
            "spans": [
              [
                3180,
                10
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 3,
            "desc": "References the phrase \"AI agent\"",
            "id": "micro-behaviors/data/llm/wire-marker::ai-agent-term-reference",
            "spans": [
              [
                31,
                8
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 3,
            "desc": "Python timezone.utc reference",
            "id": "micro-behaviors/data/property/access::python-timezone-utc",
            "spans": [
              [
                2753,
                12
              ]
            ]
          },
          {
            "conf": 1.0,
            "crit": 2,
            "desc": "File uses a Python artifact extension",
            "id": "metadata/file/extension/identity::py"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports datetime",
            "id": "metadata/import/python/datetime::datetime",
            "spans": [
              [
                105,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports ThinkingLevel from google.genai.types",
            "id": "metadata/import/python/google/genai/types/thinkinglevel::thinkinglevel",
            "spans": [
              [
                146,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports google.genai.types",
            "id": "metadata/import/python/google/genai/types::google/genai/types",
            "spans": [
              [
                120,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports COMPACTION_THRESHOLD from interloper_agent.history",
            "id": "metadata/import/python/interloper_agent/history/compaction_threshold::compaction_threshold",
            "spans": [
              [
                626,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports elide_tool_returns from interloper_agent.history",
            "id": "metadata/import/python/interloper_agent/history/elide_tool_returns::elide_tool_returns",
            "spans": [
              [
                648,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports summarise from interloper_agent.history",
            "id": "metadata/import/python/interloper_agent/history/summarise::summarise",
            "spans": [
              [
                668,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports interloper_agent.history",
            "id": "metadata/import/python/interloper_agent/history::interloper_agent/history",
            "spans": [
              [
                594,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports INSTRUCTIONS from interloper_agent.prompts",
            "id": "metadata/import/python/interloper_agent/prompts/instructions::instructions",
            "spans": [
              [
                715,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports interloper_agent.prompts",
            "id": "metadata/import/python/interloper_agent/prompts::interloper_agent/prompts",
            "spans": [
              [
                683,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports toolset from interloper_agent.toolset",
            "id": "metadata/import/python/interloper_agent/toolset/toolset::toolset",
            "spans": [
              [
                765,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports interloper_agent.toolset",
            "id": "metadata/import/python/interloper_agent/toolset::interloper_agent/toolset",
            "spans": [
              [
                733,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports ToolkitContext from interloper_toolkit",
            "id": "metadata/import/python/interloper_toolkit/toolkitcontext::toolkitcontext",
            "spans": [
              [
                191,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports interloper_toolkit",
            "id": "metadata/import/python/interloper_toolkit::interloper_toolkit",
            "spans": [
              [
                165,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports Agent from pydantic_ai",
            "id": "metadata/import/python/pydantic_ai/agent::agent",
            "spans": [
              [
                230,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports AbstractCapability from pydantic_ai.capabilities",
            "id": "metadata/import/python/pydantic_ai/capabilities/abstractcapability::abstractcapability",
            "spans": [
              [
                308,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports ProcessHistory from pydantic_ai.capabilities",
            "id": "metadata/import/python/pydantic_ai/capabilities/processhistory::processhistory",
            "spans": [
              [
                328,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports pydantic_ai.capabilities",
            "id": "metadata/import/python/pydantic_ai/capabilities::pydantic_ai/capabilities",
            "spans": [
              [
                276,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports DeferredToolRequests from pydantic_ai",
            "id": "metadata/import/python/pydantic_ai/deferredtoolrequests::deferredtoolrequests",
            "spans": [
              [
                237,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports AnthropicCompaction from pydantic_ai.models.anthropic",
            "id": "metadata/import/python/pydantic_ai/models/anthropic/anthropiccompaction::anthropiccompaction",
            "spans": [
              [
                384,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports AnthropicModelSettings from pydantic_ai.models.anthropic",
            "id": "metadata/import/python/pydantic_ai/models/anthropic/anthropicmodelsettings::anthropicmodelsettings",
            "spans": [
              [
                405,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports pydantic_ai.models.anthropic",
            "id": "metadata/import/python/pydantic_ai/models/anthropic::pydantic_ai/models/anthropic",
            "spans": [
              [
                348,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports GoogleModelSettings from pydantic_ai.models.google",
            "id": "metadata/import/python/pydantic_ai/models/google/googlemodelsettings::googlemodelsettings",
            "spans": [
              [
                466,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports pydantic_ai.models.google",
            "id": "metadata/import/python/pydantic_ai/models/google::pydantic_ai/models/google",
            "spans": [
              [
                433,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports OpenAICompaction from pydantic_ai.models.openai",
            "id": "metadata/import/python/pydantic_ai/models/openai/openaicompaction::openaicompaction",
            "spans": [
              [
                524,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports pydantic_ai.models.openai",
            "id": "metadata/import/python/pydantic_ai/models/openai::pydantic_ai/models/openai",
            "spans": [
              [
                491,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports ModelSettings from pydantic_ai.settings",
            "id": "metadata/import/python/pydantic_ai/settings/modelsettings::modelsettings",
            "spans": [
              [
                574,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports pydantic_ai.settings",
            "id": "metadata/import/python/pydantic_ai/settings::pydantic_ai/settings",
            "spans": [
              [
                546,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports UsageLimits from pydantic_ai",
            "id": "metadata/import/python/pydantic_ai/usagelimits::usagelimits",
            "spans": [
              [
                259,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports pydantic_ai",
            "id": "metadata/import/python/pydantic_ai::pydantic_ai",
            "spans": [
              [
                211,
                0
              ]
            ]
          },
          {
            "conf": 0.88,
            "crit": 1,
            "desc": "Control-action verb followed by alphabetic text",
            "id": "metadata/lang/natural/vocabulary/content-word::control-action-prose-fragment",
            "spans": [
              [
                1397,
                0
              ]
            ]
          },
          {
            "conf": 0.88,
            "crit": 1,
            "desc": "Directive or message vocabulary token",
            "id": "metadata/lang/natural/vocabulary/content-word::directive-or-message-word-token",
            "spans": [
              [
                715,
                0
              ]
            ]
          },
          {
            "conf": 0.9,
            "crit": 1,
            "desc": "Secret-data term token",
            "id": "metadata/lang/natural/vocabulary/content-word::secret-data-term-token",
            "spans": [
              [
                1245,
                0
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"the\"",
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-1",
            "spans": [
              [
                3,
                0
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"and\"",
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-2",
            "spans": [
              [
                2797,
                0
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"that\"",
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-3",
            "spans": [
              [
                894,
                0
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"for\"",
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-5",
            "spans": [
              [
                853,
                0
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"with\"",
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-6",
            "spans": [
              [
                1281,
                0
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"this\"",
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-7",
            "spans": [
              [
                2610,
                0
              ]
            ]
          },
          {
            "conf": 0.88,
            "crit": 1,
            "desc": "Labels an addressed agent role",
            "id": "micro-behaviors/data/llm/repository-directive::repository-agent-role-label",
            "spans": [
              [
                7,
                0
              ]
            ]
          },
          {
            "conf": 0.88,
            "crit": 1,
            "desc": "Addresses an AI agent",
            "id": "micro-behaviors/data/llm/repository-directive::repository-ai-agent-addressee",
            "spans": [
              [
                31,
                0
              ]
            ]
          },
          {
            "conf": 0.82,
            "crit": 3,
            "desc": "AI, Vault or dashboard service-name reference",
            "id": "metadata/file/catalog/service::ai-vault-service-name-reference",
            "spans": [
              [
                3294,
                9
              ]
            ],
            "uses": [
              0
            ]
          }
        ],
        "type": "python"
      },
      {
        "analysis_gaps": [
          "flow-query-incomplete"
        ],
        "ctx": [
          {
            "col": 1,
            "line": 1,
            "ln": 0,
            "s": "\"\"\"What the model sees of a long conversation.\n\nThe model works from the last :data:`RETAINED_TURNS` turns; everything\nolder is dead weight re-sent with every request, in two sizes:\n\n- A turn's bulk is its tool returns: a page of components, a run's events.\n  The model read such a return once and answered from it, and the answer\n  stays. :func:`elide_tool_returns` replaces the large returns of older\n  turns with a stub that names the tool, so the call and its answer stay\n  paired and the model can call again if it needs the detail"
          },
          {
            "col": 40,
            "line": 12,
            "ln": 649,
            "s": "e older turns with a summary the\n  model writes for itself, carried as a system prompt at the head of the\n  history: every provider folds those into its system instruction, and the\n  app reads it back through :func:`summary_of`. Providers with native\n  compaction do this server-side instead (see\n  :func:`~interloper_agent.agent.capabilities`).\n\npydantic-ai writes t"
          },
          {
            "col": 4,
            "line": 20,
            "ln": 1073,
            "s": "versation shrinks with it.\n\"\"\"\n\nfrom __future__ import annotations\n\nimport dataclasses\nfrom typing import cast\n\nfrom interloper.telemetry import meter\nfrom interloper_toolkit import ToolkitContext\nfrom pydantic_ai import Agent, RunContext\nfrom pydantic_ai.messages import (\n    ModelMessage,\n    ModelRequest,\n    ModelResponse,\n    SystemPromptPart,\n    TextPart,\n    ToolCallPart,\n    ToolReturnPart,\n    UserPromptPart,\n)\nfrom pydantic_ai.models import Model\n\nRETAINED_TURNS = 3\n\"\"\"How many of the latest turns the model always sees whole.\"\"\"\n\nELISION_TH"
          },
          {
            "col": 74,
            "line": 69,
            "ln": 2687,
            "s": "d\non. Never invent anything that is not in the transcript.\n\"\"\"\n\nTRANSCRIPT_RETURN_LIMIT = 500\n\"\"\"How much of a tool return the summariser's transcript carries.\"\"\"\n\n\ndef elide_tool_returns(messages: list[ModelMessage]) -\u003e list[ModelMessage]:\n    \"\"\"Replace the large tool returns of older turns with a stub.\n\n    Before "
          },
          {
            "col": 28,
            "line": 91,
            "ln": 3490,
            "s": "om(messages)\n    return [_elide(message) if i \u003c boundary else message for i, message in enumerate(messa"
          },
          {
            "col": 76,
            "line": 96,
            "ln": 3782,
            "s": ".\n\n    The trigger is the input token count the model reported on its latest\n    response, against :d"
          },
          {
            "col": 60,
            "line": 102,
            "ln": 4138,
            "s": "ns.\n\n    Args:\n        ctx: The run context, for the model that writes the summary.\n        messages:"
          },
          {
            "col": 2,
            "line": 111,
            "ln": 4396,
            "s": "   boundary = _retained_from(messages)\n    if boundary == 0 or _input_tokens(messages) \u003c COMPACTION_THRESHOLD:\n        return messages\n    summariser = Agent[None, str](cast(Model, ctx.model), instructions=SUMMARY_INSTRUCTIONS, output_type=str)\n    result = await summariser.run(_transcript(messages[:boundary]))\n    _compactions.add(1)\n    return [ModelRequest(parts=[SystemPromptPart(content=SUM"
          },
          {
            "col": 55,
            "line": 127,
            "ln": 5095,
            "s": " is whole.\n    \"\"\"\n    if not messages:\n        return None\n    first = messages[0]\n    if isinstance(first, ModelRequest) and any(isinstance(part, SystemPromptPart) for part in first.parts):\n        content = \"\\n\".join(part.content for part in first.parts if isinstance(par"
          },
          {
            "col": 62,
            "line": 151,
            "ln": 5950,
            "s": "TURNS else 0\n\n\ndef _starts_turn(message: ModelMessage) -\u003e bool:\n    \"\"\"Whether a message opens a turn, car"
          },
          {
            "col": 55,
            "line": 155,
            "ln": 6068,
            "s": "er's prompt.\n\n    Args:\n        message: A message of the history.\n\n    Returns:\n        True for a reques"
          },
          {
            "col": 29,
            "line": 173,
            "ln": 6531,
            "s": "when no response reported usage yet.\n    \"\"\"\n    for message in reversed(messages):\n        if isinstance(message, ModelResponse) and message.usage.input_tokens"
          },
          {
            "col": 9,
            "line": 192,
            "ln": 7123,
            "s": "return message\n    parts = [\n        dataclasses.replace(part, content=_stub(part))\n        if isinstance(part, ToolReturnPart) and len(part.model_respon"
          },
          {
            "col": 39,
            "line": 209,
            "ln": 7753,
            "s": "ided.\n\n    Returns:\n        The stub result.\n    \"\"\"\n    return {\n        \"status\": \"elided\",\n        \"message\": f\"The {part.tool_name} result was dropped from the history; call the tool again if you need it.\",\n"
          },
          {
            "col": 26,
            "line": 233,
            "ln": 8398,
            "s": "es:\n        for part in message.parts:\n            if isinstance(part, SystemPromptPart):\n                lines.appe"
          },
          {
            "col": 45,
            "line": 239,
            "ln": 8714,
            "s": "\n                lines.append(f\"Assistant: {part.content}\")\n            elif isinstance(part, ToolCallPart"
          }
        ],
        "depth": 1,
        "facts": {
          "funcs": [
            [
              "elide_tool_returns",
              2852
            ],
            [
              "summarise",
              3601
            ],
            [
              "summary_of",
              4847
            ],
            [
              "_retained_from",
              5459
            ],
            [
              "_starts_turn",
              5965
            ],
            [
              "_input_tokens",
              6324
            ],
            [
              "_elide",
              6754
            ],
            [
              "_stub",
              7464
            ],
            [
              "_transcript",
              7972
            ]
          ],
          "imp": [
            [
              "",
              "meter.create_counter"
            ],
            [
              "",
              "meter"
            ],
            [
              "",
              "_retained_from"
            ],
            [
              "",
              "_elide"
            ],
            [
              "",
              "enumerate"
            ],
            [
              "",
              "_retained_from"
            ],
            [
              "",
              "_input_tokens"
            ],
            [
              "",
              "cast"
            ],
            [
              "",
              "summariser.run"
            ],
            [
              "",
              "_transcript"
            ],
            [
              "",
              "_compactions.add"
            ],
            [
              "",
              "ModelRequest"
            ],
            [
              "",
              "SystemPromptPart"
            ],
            [
              "",
              "isinstance"
            ],
            [
              "",
              "any"
            ],
            [
              "",
              "isinstance"
            ],
            [
              "",
              "isinstance"
            ],
            [
              "",
              "content.removeprefix"
            ],
            [
              "",
              "enumerate"
            ],
            [
              "",
              "_starts_turn"
            ],
            [
              "",
              "len"
            ],
            [
              "",
              "isinstance"
            ],
            [
              "",
              "any"
            ],
            [
              "",
              "isinstance"
            ],
            [
              "",
              "reversed"
            ],
            [
              "",
              "isinstance"
            ],
            [
              "",
              "isinstance"
            ],
            [
              "",
              "dataclasses.replace"
            ],
            [
              "",
              "_stub"
            ],
            [
              "",
              "isinstance"
            ],
            [
              "",
              "len"
            ],
            [
              "",
              "part.model_response_str"
            ],
            [
              "",
              "list"
            ],
            [
              "",
              "dataclasses.replace"
            ],
            [
              "",
              "isinstance"
            ],
            [
              "",
              "lines.append"
            ],
            [
              "",
              "isinstance"
            ],
            [
              "",
              "isinstance"
            ],
            [
              "",
              "lines.append"
            ],
            [
              "",
              "isinstance"
            ],
            [
              "",
              "lines.append"
            ],
            [
              "",
              "isinstance"
            ],
            [
              "",
              "lines.append"
            ],
            [
              "",
              "part.args_as_json_str"
            ],
            [
              "",
              "isinstance"
            ],
            [
              "",
              "lines.append"
            ],
            [
              "",
              "part.model_response_str"
            ],
            [
              "pydantic_ai",
              "Agent"
            ],
            [
              "pydantic_ai.models",
              "Model"
            ],
            [
              "pydantic_ai.messages",
              "ModelMessage"
            ],
            [
              "pydantic_ai.messages",
              "ModelRequest"
            ],
            [
              "pydantic_ai.messages",
              "ModelResponse"
            ],
            [
              "pydantic_ai",
              "RunContext"
            ],
            [
              "pydantic_ai.messages",
              "SystemPromptPart"
            ],
            [
              "pydantic_ai.messages",
              "TextPart"
            ],
            [
              "pydantic_ai.messages",
              "ToolCallPart"
            ],
            [
              "pydantic_ai.messages",
              "ToolReturnPart"
            ],
            [
              "interloper_toolkit",
              "ToolkitContext"
            ],
            [
              "pydantic_ai.messages",
              "UserPromptPart"
            ],
            [
              "typing",
              "cast"
            ],
            [
              "",
              "dataclasses"
            ],
            [
              "",
              "interloper.telemetry"
            ],
            [
              "",
              "interloper_toolkit"
            ],
            [
              "interloper.telemetry",
              "meter"
            ],
            [
              "",
              "pydantic_ai"
            ],
            [
              "",
              "pydantic_ai.messages"
            ],
            [
              "",
              "pydantic_ai.models"
            ],
            [
              "",
              "typing"
            ]
          ],
          "mbr": [
            "_compactions.add",
            "content.removeprefix",
            "ctx.model",
            "dataclasses.replace",
            "first.parts",
            "lines.append",
            "message.parts",
            "message.usage",
            "message.usage.input_tokens",
            "meter.create_counter",
            "part.args_as_json_str",
            "part.content",
            "part.model_response_str",
            "part.tool_name",
            "result.output",
            "summariser.run"
          ],
          "metrics": {
            "ast": {
              "call_count": 50,
              "max_array_length": 2,
              "max_concat_chain": 2,
              "max_depth": 18,
              "max_member_depth": 3,
              "member_count": 16,
              "node_count": 1267,
              "op.add": 1,
              "op.bor": 1,
              "op.land": 5,
              "op.lor": 1,
              "op.sub": 1,
              "op_density.add": 0,
              "op_density.bor": 0,
              "op_density.land": 0,
              "op_density.lor": 0,
              "op_density.sub": 0
            },
            "binary": {
              "peak_region_bytes": 7168,
              "peak_region_entropy": 4.87
            },
            "binds": {
              "count": 16
            },
            "file": {
              "entropy": 4.68,
              "size": 9110
            },
            "functions": {
              "avg_length_lines": 17,
              "avg_name_length": 10.89,
              "avg_param_name_length": 6.9,
              "avg_params": 1.11,
              "code_ratio": 0.62,
              "count": 9,
              "density": 3.67,
              "length_stddev": 4.69,
              "max_length_lines": 26,
              "max_params": 2,
              "min_length_lines": 10
            },
            "identifiers": {
              "all_lowercase_ratio": 0.77,
              "all_uppercase_ratio": 0.08,
              "avg_entropy": 2.57,
              "avg_length": 9.19,
              "count": 282,
              "high_entropy_count": 1,
              "high_entropy_ratio": 0.01,
              "length_stddev": 4.83,
              "max_length": 23,
              "min_length": 1,
              "reuse_ratio": 0.28,
              "sequential_names": 1,
              "single_char_count": 1,
              "single_char_ratio": 0.01,
              "underscore_prefix_count": 7,
              "unique": 79
            },
            "imports": {
              "count": 21,
              "stdlib_count": 2,
              "stdlib_ratio": 0.1,
              "third_party_count": 19,
              "third_party_ratio": 0.9
            },
            "references": {
              "declared_count": 3,
              "security_hold_count": 0,
              "unavailable_command_count": 0,
              "unresolved_count": 0,
              "unresolved_extension_count": 0
            },
            "source": {
              "function_count": 9
            },
            "strings": {
              "avg_entropy": 3.57,
              "avg_length": 177.63,
              "bytes": 5329,
              "count": 30,
              "entropy_stddev": 1.19,
              "max_length": 1097,
              "shell": 8,
              "sql": 3,
              "very_long": 1
            },
            "text": {
              "avg_line_length": 36.18,
              "char_entropy": 4.68,
              "digit_ratio": 0,
              "empty_line_ratio": 0.22,
              "identifier_density": 1.15,
              "identifiers_to_functions_ratio": 8.78,
              "import_density": 8.57,
              "imports_to_functions_ratio": 2.33,
              "last_line_length": 27,
              "line_length_stddev": 32.04,
              "lines": 245,
              "max_line_length": 116,
              "max_whitespace_run": 1,
              "normalized_function_count": 0.57,
              "normalized_import_count": 1.34,
              "normalized_string_count": 1.92,
              "normalized_unique_identifiers": 9.95,
              "repeated_char_sequences": 11,
              "space_count": 1689,
              "string_density": 0.12,
              "strings_to_functions_ratio": 3.33,
              "suspicious_identifier_ratio": 0.01,
              "suspicious_string_ratio": 0.37,
              "top_char": 101,
              "top_char_null": 0,
              "top_char_ratio": 0.09,
              "unique_chars": 75,
              "whitespace_ratio": 0.21
            }
          },
          "tgt": [
            "ModelRequest",
            "SystemPromptPart",
            "_compactions.add",
            "_elide",
            "_input_tokens",
            "_retained_from",
            "_starts_turn",
            "_stub",
            "_transcript",
            "any",
            "cast",
            "content.removeprefix",
            "dataclasses.replace",
            "enumerate",
            "isinstance",
            "len",
            "lines.append",
            "list",
            "meter",
            "meter.create_counter",
            "part.args_as_json_str",
            "part.model_response_str",
            "reversed",
            "summariser.run"
          ]
        },
        "id": 4,
        "mol": "H(Db₃)",
        "path": "interloper_agent-0.132.0-py3-none-any.whl!!interloper_agent/history.py",
        "pid": 0,
        "risk": 3,
        "sha": "a402100ab2d9fd555071b5579912a032939da3c08c61c3e2cbba9c4a23f6cf0c",
        "sid": 5940200416,
        "size": 9110,
        "traits": [
          {
            "conf": 0.8,
            "crit": 3,
            "desc": "JSON result or response field key",
            "id": "micro-behaviors/data/format/json::json-result-field",
            "spans": [
              [
                7817,
                19
              ]
            ]
          },
          {
            "conf": 0.65,
            "crit": 3,
            "desc": "LLM input-token count field",
            "id": "micro-behaviors/data/llm/wire-marker::input-token-field",
            "spans": [
              [
                4460,
                12
              ]
            ]
          },
          {
            "conf": 0.72,
            "crit": 3,
            "desc": "References LLM system prompt terminology",
            "id": "micro-behaviors/data/llm/wire-marker::system-prompt-term-reference",
            "spans": [
              [
                722,
                13
              ],
              [
                802,
                18
              ]
            ]
          },
          {
            "conf": 0.88,
            "crit": 3,
            "desc": "Assigns variable to 257-999 numeric bound",
            "id": "micro-behaviors/data/string/assembly::variable-bound-257-to-999",
            "spans": [
              [
                2751,
                29
              ]
            ]
          },
          {
            "conf": 1.0,
            "crit": 2,
            "desc": "File uses a Python artifact extension",
            "id": "metadata/file/extension/identity::py"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports dataclasses",
            "id": "metadata/import/python/dataclasses::dataclasses",
            "spans": [
              [
                1148,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports meter from interloper.telemetry",
            "id": "metadata/import/python/interloper/telemetry/meter::meter",
            "spans": [
              [
                1218,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports interloper.telemetry",
            "id": "metadata/import/python/interloper/telemetry::interloper/telemetry",
            "spans": [
              [
                1190,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports ToolkitContext from interloper_toolkit",
            "id": "metadata/import/python/interloper_toolkit/toolkitcontext::toolkitcontext",
            "spans": [
              [
                1255,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports interloper_toolkit",
            "id": "metadata/import/python/interloper_toolkit::interloper_toolkit",
            "spans": [
              [
                1229,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports Agent from pydantic_ai",
            "id": "metadata/import/python/pydantic_ai/agent::agent",
            "spans": [
              [
                1294,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports ModelMessage from pydantic_ai.messages",
            "id": "metadata/import/python/pydantic_ai/messages/modelmessage::modelmessage",
            "spans": [
              [
                1351,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports ModelRequest from pydantic_ai.messages",
            "id": "metadata/import/python/pydantic_ai/messages/modelrequest::modelrequest",
            "spans": [
              [
                1369,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports ModelResponse from pydantic_ai.messages",
            "id": "metadata/import/python/pydantic_ai/messages/modelresponse::modelresponse",
            "spans": [
              [
                1387,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports SystemPromptPart from pydantic_ai.messages",
            "id": "metadata/import/python/pydantic_ai/messages/systempromptpart::systempromptpart",
            "spans": [
              [
                1406,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports TextPart from pydantic_ai.messages",
            "id": "metadata/import/python/pydantic_ai/messages/textpart::textpart",
            "spans": [
              [
                1428,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports ToolCallPart from pydantic_ai.messages",
            "id": "metadata/import/python/pydantic_ai/messages/toolcallpart::toolcallpart",
            "spans": [
              [
                1442,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports ToolReturnPart from pydantic_ai.messages",
            "id": "metadata/import/python/pydantic_ai/messages/toolreturnpart::toolreturnpart",
            "spans": [
              [
                1460,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports UserPromptPart from pydantic_ai.messages",
            "id": "metadata/import/python/pydantic_ai/messages/userpromptpart::userpromptpart",
            "spans": [
              [
                1480,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports pydantic_ai.messages",
            "id": "metadata/import/python/pydantic_ai/messages::pydantic_ai/messages",
            "spans": [
              [
                1317,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports Model from pydantic_ai.models",
            "id": "metadata/import/python/pydantic_ai/models/model::model",
            "spans": [
              [
                1529,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports pydantic_ai.models",
            "id": "metadata/import/python/pydantic_ai/models::pydantic_ai/models",
            "spans": [
              [
                1503,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports RunContext from pydantic_ai",
            "id": "metadata/import/python/pydantic_ai/runcontext::runcontext",
            "spans": [
              [
                1301,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports pydantic_ai",
            "id": "metadata/import/python/pydantic_ai::pydantic_ai",
            "spans": [
              [
                1275,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports cast from typing",
            "id": "metadata/import/python/typing/cast::cast",
            "spans": [
              [
                1179,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports typing",
            "id": "metadata/import/python/typing::typing",
            "spans": [
              [
                1165,
                0
              ]
            ]
          },
          {
            "conf": 0.3,
            "crit": 2,
            "desc": "Source contains for-loop syntax",
            "id": "metadata/lang/source/syntax/control-flow::for-loop-content",
            "spans": [
              [
                6579,
                0
              ]
            ]
          },
          {
            "conf": 0.88,
            "crit": 1,
            "desc": "Control-action verb followed by alphabetic text",
            "id": "metadata/lang/natural/vocabulary/content-word::control-action-prose-fragment",
            "spans": [
              [
                464,
                0
              ]
            ]
          },
          {
            "conf": 0.88,
            "crit": 1,
            "desc": "Data-access verb token",
            "id": "metadata/lang/natural/vocabulary/content-word::data-access-verb-token",
            "spans": [
              [
                270,
                0
              ]
            ]
          },
          {
            "conf": 0.88,
            "crit": 1,
            "desc": "Directive or message vocabulary token",
            "id": "metadata/lang/natural/vocabulary/content-word::directive-or-message-word-token",
            "spans": [
              [
                1329,
                0
              ]
            ]
          },
          {
            "conf": 0.88,
            "crit": 1,
            "desc": "English edit-action verb token",
            "id": "metadata/lang/natural/vocabulary/content-word::english-edit-verb-token",
            "spans": [
              [
                2935,
                0
              ]
            ]
          },
          {
            "conf": 0.9,
            "crit": 1,
            "desc": "Environment or instruction terminology",
            "id": "metadata/lang/natural/vocabulary/content-word::environment-data-term-token",
            "spans": [
              [
                802,
                0
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"the\"",
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-1",
            "spans": [
              [
                8,
                0
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"and\"",
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-2",
            "spans": [
              [
                294,
                0
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"that\"",
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-3",
            "spans": [
              [
                423,
                0
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"for\"",
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-5",
            "spans": [
              [
                697,
                0
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"with\"",
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-6",
            "spans": [
              [
                148,
                0
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"this\"",
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-7",
            "spans": [
              [
                916,
                0
              ]
            ]
          },
          {
            "conf": 0.88,
            "crit": 1,
            "desc": "Labels an addressed agent role",
            "id": "micro-behaviors/data/llm/repository-directive::repository-agent-role-label",
            "spans": [
              [
                8746,
                0
              ]
            ]
          },
          {
            "conf": 0.72,
            "crit": 1,
            "desc": "LLM role terminology or label",
            "id": "micro-behaviors/data/llm/wire-marker::role-marker",
            "spans": [
              [
                722,
                18
              ]
            ],
            "uses": [
              2
            ]
          },
          {
            "conf": 0.65,
            "crit": 3,
            "desc": "References an LLM token usage field",
            "id": "micro-behaviors/data/llm/wire-marker::token-usage-field-reference",
            "spans": [
              [
                4460,
                12
              ]
            ],
            "uses": [
              1
            ]
          },
          {
            "conf": 0.88,
            "crit": 3,
            "desc": "Sets variable or default bound to 257-1024",
            "id": "micro-behaviors/data/string/assembly::variable-bound-257-to-1024",
            "spans": [
              [
                2751,
                29
              ]
            ],
            "uses": [
              3
            ]
          }
        ],
        "type": "python"
      },
      {
        "analysis_gaps": [
          "flow-query-incomplete"
        ],
        "depth": 1,
        "id": 5,
        "path": "interloper_agent-0.132.0-py3-none-any.whl!!interloper_agent/interaction.py",
        "pid": 0,
        "risk": 1,
        "sha": "3a825ee13c4ebaf5b655c9af933a914ed348519650e546df80fa7cbfbe5a4d9b",
        "sid": 6638769277,
        "size": 3137,
        "type": "python"
      },
      {
        "depth": 1,
        "id": 6,
        "path": "interloper_agent-0.132.0-py3-none-any.whl!!interloper_agent/prompts.py",
        "pid": 0,
        "risk": 0,
        "sha": "66d10072059d7a60d7c31d0841062ec8eea5bdb8af140f11faefd28f724c5df0",
        "sid": 6619972039,
        "size": 7445,
        "type": "python"
      },
      {
        "analysis_gaps": [
          "flow-query-incomplete"
        ],
        "ctx": [
          {
            "col": 1,
            "line": 1,
            "ln": 0,
            "s": "\"\"\"The agent's toolset: the toolkit's table, plus the cards the app puts to the user.\n\npydantic-ai han"
          },
          {
            "col": 26,
            "line": 5,
            "ln": 250,
            "s": "t's place. A create, a cancel or a delete waits\nfor the user's approval in the app, a card defers its call for the app to\nanswer (:mod:`interloper_agent.interaction`), and every result reaches the\nmodel without its empty fields.\n\"\"\"\n\nfrom __future__ import annotations\n\nimport inspect\nfrom typing import Any\n\nfrom interloper_toolkit import TOOLS as TOOLKIT_TOOLS\nfrom interloper_toolkit import Effect, Tool, ToolkitContext\nfrom pydantic import BaseModel\nfrom pydantic_ai import RunContext\nfrom pydantic_ai.toolsets import AbstractToolset, FunctionToolset, WrapperToolset\nfrom pydantic_ai.toolsets.abstract import ToolsetTool\n\nfrom interloper_agent import interaction\n\nTOOLS: tuple[Tool, ...] = (\n    *TOOLKIT_TOOLS,\n    Tool(interaction.request_user_selection, Effect.READ, \"Ask the user to choose\"),\n    Tool(interaction.request_connection_setup, Eff"
          },
          {
            "col": 67,
            "line": 35,
            "ln": 1401,
            "s": "t:\n    \"\"\"The toolkit context a run carries.\n\n    Args:\n        run_context: The run's context.\n\n    "
          },
          {
            "col": 7,
            "line": 43,
            "ln": 1539,
            "s": "\"\n    return run_context.deps\n\n\nclass Compacting(WrapperToolset[ToolkitContext]):\n    \"\"\"Hand the model each resu"
          },
          {
            "col": 54,
            "line": 51,
            "ln": 1813,
            "s": "tx: RunContext[ToolkitContext], tool: ToolsetTool[ToolkitContext]\n    ) -\u003e Any:\n        \"\"\"Call the t"
          },
          {
            "col": 59,
            "line": 62,
            "ln": 2224,
            "s": "is a model.\n        \"\"\"\n        result = await super().call_tool(name, tool_args, ctx, tool)\n        ret"
          },
          {
            "col": 23,
            "line": 74,
            "ln": 2640,
            "s": "nToolset[ToolkitContext] = FunctionToolset()\n    for tool in TOOLS:\n        functions.add_function(tool.bind(deps, RUN_CONTEXT), takes_ctx=True, requires_app"
          }
        ],
        "depth": 1,
        "facts": {
          "funcs": [
            [
              "deps",
              1335
            ],
            [
              "call_tool",
              1739
            ],
            [
              "toolset",
              2429
            ]
          ],
          "imp": [
            [
              "",
              "Tool"
            ],
            [
              "",
              "Tool"
            ],
            [
              "",
              "inspect.Parameter"
            ],
            [
              "",
              "super.call_tool"
            ],
            [
              "",
              "super"
            ],
            [
              "",
              "result.model_dump"
            ],
            [
              "",
              "isinstance"
            ],
            [
              "",
              "FunctionToolset"
            ],
            [
              "",
              "functions.add_function"
            ],
            [
              "",
              "tool.bind"
            ],
            [
              "",
              "Compacting"
            ],
            [
              "pydantic_ai.toolsets",
              "AbstractToolset"
            ],
            [
              "typing",
              "Any"
            ],
            [
              "pydantic",
              "BaseModel"
            ],
            [
              "interloper_toolkit",
              "Effect"
            ],
            [
              "pydantic_ai.toolsets",
              "FunctionToolset"
            ],
            [
              "pydantic_ai",
              "RunContext"
            ],
            [
              "interloper_toolkit",
              "TOOLS"
            ],
            [
              "interloper_toolkit",
              "Tool"
            ],
            [
              "interloper_toolkit",
              "ToolkitContext"
            ],
            [
              "pydantic_ai.toolsets.abstract",
              "ToolsetTool"
            ],
            [
              "pydantic_ai.toolsets",
              "WrapperToolset"
            ],
            [
              "",
              "inspect"
            ],
            [
              "interloper_agent",
              "interaction"
            ],
            [
              "",
              "interloper_agent"
            ],
            [
              "",
              "interloper_toolkit"
            ],
            [
              "",
              "pydantic"
            ],
            [
              "",
              "pydantic_ai"
            ],
            [
              "",
              "pydantic_ai.toolsets"
            ],
            [
              "",
              "pydantic_ai.toolsets.abstract"
            ],
            [
              "",
              "typing"
            ]
          ],
          "mbr": [
            "Effect.READ",
            "functions.add_function",
            "inspect.Parameter",
            "inspect.Parameter.POSITIONAL_ONLY",
            "interaction.request_connection_setup",
            "interaction.request_user_selection",
            "result.model_dump",
            "run_context.deps",
            "super.call_tool",
            "tool.bind",
            "tool.needs_approval"
          ],
          "metrics": {
            "ast": {
              "call_count": 11,
              "max_array_length": 3,
              "max_depth": 12,
              "max_member_depth": 3,
              "member_count": 11,
              "node_count": 455
            },
            "binary": {
              "peak_region_bytes": 2857,
              "peak_region_entropy": 4.74
            },
            "binds": {
              "count": 4
            },
            "file": {
              "entropy": 4.74,
              "size": 2857
            },
            "functions": {
              "avg_length_lines": 12,
              "avg_name_length": 6.67,
              "avg_param_name_length": 5.83,
              "avg_params": 2,
              "code_ratio": 0.47,
              "count": 4,
              "density": 3.9,
              "length_stddev": 2.83,
              "max_length_lines": 16,
              "max_params": 5,
              "min_length_lines": 10,
              "no_params_count": 1
            },
            "identifiers": {
              "all_lowercase_ratio": 0.69,
              "all_uppercase_ratio": 0.09,
              "avg_entropy": 2.62,
              "avg_length": 9.39,
              "count": 110,
              "length_stddev": 4.8,
              "max_length": 24,
              "min_length": 3,
              "reuse_ratio": 0.49,
              "unique": 54
            },
            "imports": {
              "aliased": 1,
              "count": 20,
              "stdlib_count": 2,
              "stdlib_ratio": 0.1,
              "third_party_count": 18,
              "third_party_ratio": 0.9
            },
            "references": {
              "declared_count": 3,
              "security_hold_count": 0,
              "unavailable_command_count": 0,
              "unresolved_count": 0,
              "unresolved_extension_count": 0
            },
            "source": {
              "class_count": 1,
              "function_count": 3
            },
            "strings": {
              "avg_entropy": 3.64,
              "avg_length": 129.5,
              "bytes": 1295,
              "count": 10,
              "entropy_stddev": 0.7,
              "max_length": 476,
              "shell": 3,
              "sql": 2
            },
            "text": {
              "avg_line_length": 36.1,
              "char_entropy": 4.74,
              "empty_line_ratio": 0.25,
              "identifier_density": 1.43,
              "identifiers_to_functions_ratio": 18,
              "import_density": 25.97,
              "imports_to_functions_ratio": 6.67,
              "last_line_length": 32,
              "line_length_stddev": 34.19,
              "lines": 77,
              "max_line_length": 120,
              "max_whitespace_run": 1,
              "normalized_function_count": 0.34,
              "normalized_import_count": 2.28,
              "normalized_string_count": 1.14,
              "normalized_unique_identifiers": 8.62,
              "repeated_char_sequences": 5,
              "space_count": 461,
              "string_density": 0.13,
              "strings_to_functions_ratio": 3.33,
              "suspicious_string_ratio": 0.5,
              "top_char": 116,
              "top_char_null": 0,
              "top_char_ratio": 0.09,
              "unique_chars": 66,
              "whitespace_ratio": 0.19
            }
          },
          "tgt": [
            "Compacting",
            "FunctionToolset",
            "Tool",
            "functions.add_function",
            "inspect.Parameter",
            "isinstance",
            "result.model_dump",
            "super",
            "super.call_tool",
            "tool.bind"
          ]
        },
        "id": 7,
        "mol": "K(Li)",
        "path": "interloper_agent-0.132.0-py3-none-any.whl!!interloper_agent/toolset.py",
        "pid": 0,
        "risk": 2,
        "sha": "f388a4307fedd2d88dff88bd824ab827f6fb20dc87102c6cfe22fb528ab233b7",
        "sid": 6645662509,
        "size": 2857,
        "traits": [
          {
            "conf": 0.95,
            "crit": 3,
            "desc": "Pydantic data-model library import",
            "id": "well-known/lib/runtime/scripted/pydantic::pydantic-import",
            "spans": [
              [
                673,
                20
              ]
            ]
          },
          {
            "conf": 1.0,
            "crit": 2,
            "desc": "File uses a Python artifact extension",
            "id": "metadata/file/extension/identity::py"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports inspect",
            "id": "metadata/import/python/inspect::inspect",
            "spans": [
              [
                527,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports interaction from interloper_agent",
            "id": "metadata/import/python/interloper_agent/interaction::interaction",
            "spans": [
              [
                905,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports interloper_agent",
            "id": "metadata/import/python/interloper_agent::interloper_agent",
            "spans": [
              [
                881,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports Effect from interloper_toolkit",
            "id": "metadata/import/python/interloper_toolkit/effect::effect",
            "spans": [
              [
                644,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports Tool from interloper_toolkit",
            "id": "metadata/import/python/interloper_toolkit/tool::tool",
            "spans": [
              [
                652,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports ToolkitContext from interloper_toolkit",
            "id": "metadata/import/python/interloper_toolkit/toolkitcontext::toolkitcontext",
            "spans": [
              [
                658,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports TOOLS from interloper_toolkit as TOOLKIT_TOOLS",
            "id": "metadata/import/python/interloper_toolkit/tools::TOOLKIT_TOOLS",
            "spans": [
              [
                590,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports interloper_toolkit",
            "id": "metadata/import/python/interloper_toolkit::interloper_toolkit",
            "spans": [
              [
                564,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports BaseModel from pydantic",
            "id": "metadata/import/python/pydantic/basemodel::basemodel",
            "spans": [
              [
                694,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports pydantic",
            "id": "metadata/import/python/pydantic::pydantic",
            "spans": [
              [
                678,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports RunContext from pydantic_ai",
            "id": "metadata/import/python/pydantic_ai/runcontext::runcontext",
            "spans": [
              [
                728,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports ToolsetTool from pydantic_ai.toolsets.abstract",
            "id": "metadata/import/python/pydantic_ai/toolsets/abstract/toolsettool::toolsettool",
            "spans": [
              [
                863,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports pydantic_ai.toolsets.abstract",
            "id": "metadata/import/python/pydantic_ai/toolsets/abstract::pydantic_ai/toolsets/abstract",
            "spans": [
              [
                826,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports AbstractToolset from pydantic_ai.toolsets",
            "id": "metadata/import/python/pydantic_ai/toolsets/abstracttoolset::abstracttoolset",
            "spans": [
              [
                772,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports FunctionToolset from pydantic_ai.toolsets",
            "id": "metadata/import/python/pydantic_ai/toolsets/functiontoolset::functiontoolset",
            "spans": [
              [
                789,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports WrapperToolset from pydantic_ai.toolsets",
            "id": "metadata/import/python/pydantic_ai/toolsets/wrappertoolset::wrappertoolset",
            "spans": [
              [
                806,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports pydantic_ai.toolsets",
            "id": "metadata/import/python/pydantic_ai/toolsets::pydantic_ai/toolsets",
            "spans": [
              [
                744,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports pydantic_ai",
            "id": "metadata/import/python/pydantic_ai::pydantic_ai",
            "spans": [
              [
                709,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports Any from typing",
            "id": "metadata/import/python/typing/any::any",
            "spans": [
              [
                554,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports typing",
            "id": "metadata/import/python/typing::typing",
            "spans": [
              [
                540,
                0
              ]
            ]
          },
          {
            "conf": 0.3,
            "crit": 2,
            "desc": "Source contains for-loop syntax",
            "id": "metadata/lang/source/syntax/control-flow::for-loop-content",
            "spans": [
              [
                2688,
                0
              ]
            ]
          },
          {
            "conf": 0.88,
            "crit": 1,
            "desc": "Control-action verb followed by alphabetic text",
            "id": "metadata/lang/natural/vocabulary/content-word::control-action-prose-fragment",
            "spans": [
              [
                1433,
                0
              ]
            ]
          },
          {
            "conf": 0.88,
            "crit": 1,
            "desc": "Data-access verb token",
            "id": "metadata/lang/natural/vocabulary/content-word::data-access-verb-token",
            "spans": [
              [
                1018,
                0
              ]
            ]
          },
          {
            "conf": 0.88,
            "crit": 1,
            "desc": "English edit-action verb token",
            "id": "metadata/lang/natural/vocabulary/content-word::english-edit-verb-token",
            "spans": [
              [
                285,
                0
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"the\"",
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-1",
            "spans": [
              [
                3,
                0
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"and\"",
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-2",
            "spans": [
              [
                418,
                0
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"for\"",
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-5",
            "spans": [
              [
                298,
                0
              ]
            ]
          },
          {
            "conf": 0.88,
            "crit": 1,
            "desc": "Labels an addressed agent role",
            "id": "micro-behaviors/data/llm/repository-directive::repository-agent-role-label",
            "spans": [
              [
                918,
                0
              ]
            ]
          }
        ],
        "type": "python"
      }
    ],
    "v": 8
  }
}