{
  "schema_version": 1,
  "run_id": "affinda--affinda-python-gpt-6-luna-1795652536007675414",
  "date": "2026-11-26T00:26:15.021513+00:00",
  "repo": "affinda/affinda-python",
  "model": "gpt-6-luna",
  "kind": "repo",
  "mcp": "none",
  "commit": "e201855093509d7cf7b8271e844443d9701e7d54",
  "outcome": "needs_credentials",
  "time_to_working_s": null,
  "install_s": 61.103,
  "first_use_s": null,
  "stuck_step": "Run model generation against the Affinda API",
  "what_failed": "AFFINDA_API_KEY is required.",
  "suggested_fix": "Set AFFINDA_API_KEY to a valid Affinda API key and provide a workspace and document type, then rerun the documented command.",
  "what_it_did": "Affinda Python client setup and documented generate_models CLI credential gate",
  "needs": [
    "credentials"
  ],
  "needs_which": "AFFINDA_API_KEY",
  "missing": "key_or_login",
  "claims": [
    {
      "kind": "claim",
      "claim": "Python client wraps all available endpoints and handles authentication and signing",
      "source": "This is a python client for the Affinda document parsing API which wraps all available endpoints and handles authentication and signing.",
      "input": "",
      "expected": "",
      "command": "",
      "verdict": "blocked",
      "outcome": "Document upload and parsed-data access require an Affinda account, workspace, API key, and resume PDF; those guest credentials and input are unavailable.",
      "evidence": "Document upload and parsed-data access require an Affinda account, workspace, API key, and resume PDF; those guest credentials and input are unavailable.",
      "needs": "AFFINDA_API_KEY",
      "source_checked": true,
      "source_file": "README.md"
    },
    {
      "kind": "claim",
      "claim": "Model generation command requires an API key when the environment variable is absent",
      "source": "You will be prompted for your API key, unless you already have the `AFFINDA_API_KEY` environment variable set.",
      "input": "",
      "expected": "",
      "command": "",
      "verdict": "blocked",
      "outcome": "The prompt is observed, but generating models needs a valid API key and live Affinda API account, unavailable in this guest.",
      "evidence": "The prompt is observed, but generating models needs a valid API key and live Affinda API account, unavailable in this guest.",
      "needs": "AFFINDA_API_KEY",
      "source_checked": true,
      "source_file": "README.md"
    }
  ],
  "example_checks": [
    {
      "kind": "example",
      "claim": "README installation command",
      "source": "README.md Installation",
      "input": "pip install affinda",
      "command": "<guest-path> -m pip install -e .",
      "evidence": "a (pyproject.toml): finished with status 'done'\n  Created wheel for affinda: filename=affinda-4.29.0-0.editable-py3-none-any.whl size=11582 sha256=3363af05a6d61f6ea04a93d235ccbb938adbaca677cc3056e38ab8bc5a02a13f\n  Stored in directory: /tmp/pip-ephem-wheel-cache-4lcsypno/wheels/a4/a6/d9/1e7ba29c93cc9208272af814b978043598699eee3f16f47425\nSuccessfully built affinda\nInstalling collected packages: affinda\n  Attempting uninstall: affinda\n    Found existing installation: affinda 4.29.0\n    Uninstalling affinda-4.29.0:\n      Successfully uninstalled affinda-4.29.0\nSuccessfully installed affinda-4.29.0",
      "deferred": false,
      "expected": "affinda 4.29.0 installed into the repository virtual environment",
      "hardware_prerequisite": null,
      "returncode": 0,
      "native_crash": false,
      "stdout": " (pyproject.toml): finished with status 'done'\n  Created wheel for affinda: filename=affinda-4.29.0-0.editable-py3-none-any.whl size=11582 sha256=3363af05a6d61f6ea04a93d235ccbb938adbaca677cc3056e38ab8bc5a02a13f\n  Stored in directory: /tmp/pip-ephem-wheel-cache-4lcsypno/wheels/a4/a6/d9/1e7ba29c93cc9208272af814b978043598699eee3f16f47425\nSuccessfully built affinda\nInstalling collected packages: affinda\n  Attempting uninstall: affinda\n    Found existing installation: affinda 4.29.0\n    Uninstalling affinda-4.29.0:\n      Successfully uninstalled affinda-4.29.0\nSuccessfully installed affinda-4.29.0\n",
      "stderr": "",
      "output_truncated": true,
      "verdict": "yes",
      "outcome": "command completed successfully"
    },
    {
      "kind": "example",
      "claim": "README model generation CLI help",
      "source": "README.md Pydantic models",
      "input": "python -m affinda generate_models --help",
      "command": "<guest-path> -m affinda generate_models --help",
      "evidence": "          organization.\n  --workspace-id TEXT      Generate models for all document types\n                           (collections) in the workspace.\n  --document-type-id TEXT  Generate models for a specific document type.\n  --collection-id TEXT     Alias for --document-type-id.\n  --model-name TEXT        Specify model name to generate. Only valid when\n                           --document-type-id is provided.\n  --output-dir DIRECTORY   Directory in which to output the generated models.\n                           [default: ./affinda_models]\n  -h, --help               Show this message and exit.",
      "deferred": false,
      "expected": "CLI documents model generation options",
      "hardware_prerequisite": null,
      "returncode": 0,
      "native_crash": false,
      "stdout": "         organization.\n  --workspace-id TEXT      Generate models for all document types\n                           (collections) in the workspace.\n  --document-type-id TEXT  Generate models for a specific document type.\n  --collection-id TEXT     Alias for --document-type-id.\n  --model-name TEXT        Specify model name to generate. Only valid when\n                           --document-type-id is provided.\n  --output-dir DIRECTORY   Directory in which to output the generated models.\n                           [default: ./affinda_models]\n  -h, --help               Show this message and exit.\n",
      "stderr": "",
      "output_truncated": true,
      "verdict": "yes",
      "outcome": "command completed successfully"
    }
  ],
  "cycle_checks": [
    {
      "kind": "cycle",
      "claim": "Scheduled or looping main behavior",
      "source": "repository entry points",
      "input": "source inspection",
      "expected": "identify the product trigger",
      "verdict": "yes",
      "outcome": "Inspected README quickstart and generate_models entry point: they expose request driven document upload and model generation; no cron, loop, webhook, --once, or --now cycle trigger is documented.",
      "evidence": "Inspected README quickstart and generate_models entry point: they expose request driven document upload and model generation; no cron, loop, webhook, --once, or --now cycle trigger is documented.",
      "command": ""
    }
  ],
  "maintenance": {
    "archived": false,
    "ci_commit": "e201855093509d7cf7b8271e844443d9701e7d54",
    "ci_read_at": "2026-11-18T08:35:01Z",
    "ci_state": null,
    "commits_90d": 1,
    "last_commit_at": "2026-11-18T08:22:33Z",
    "last_release_at": "2026-11-18T08:22:44Z",
    "median_reply_hours": null,
    "merged_prs_90d": 0,
    "note": "slow: last commit 0 days ago; 1 commits and 0 merged PRs in 90 days; 2 open issues, 0 open PRs; 0 of 7 recent threads got a maintainer reply; latest release 2026-11-18",
    "open_issues": 2,
    "open_prs": 0,
    "reply_share": 0.0,
    "reply_threads": 7,
    "verdict": "slow"
  },
  "dependencies": [
    "Python 3.12.3",
    "pip",
    "Affinda account/workspace/API key for API operations",
    "resume PDF and workspace identifier for README upload quickstart"
  ],
  "local_or_hosted": "local",
  "readme_deviations": null,
  "safety": {
    "version": "z2x-1",
    "summary": "Nothing suspicious seen in this run.",
    "limitations": [
      "A short run cannot establish that code is safe.",
      "Connections show IP addresses; proxies can hide the final hostname.",
      "Tracing covers dispatched commands and their children, not the whole OS; guest root can interfere with tracing."
    ]
  },
  "observed": {
    "traced": true,
    "trace_truncated": false,
    "network_rule": true,
    "unsorted_contacts": false,
    "protocols_recorded": false,
    "lookups_recorded": true,
    "unsorted_blocked_ports": [],
    "contacts": [],
    "contacts_not_listed": 0,
    "lookups": [
      {
        "owner": "installer",
        "programs": [
          "git-remote-https"
        ],
        "names": [
          "github.com"
        ]
      },
      {
        "owner": "installer",
        "programs": [
          "python"
        ],
        "names": [
          "files.pythonhosted.org",
          "pypi.org"
        ]
      }
    ],
    "credential_reads": [],
    "outside_writes": 0,
    "download_and_run_lines": 0,
    "malware_advisories": [],
    "vulnerabilities": [],
    "secrets": 0,
    "secrets_in_tests": 0,
    "download_lines_in_tests": 0,
    "dependency_versions": 0,
    "scanned": {
      "secrets": true,
      "dependencies": true,
      "source": true
    },
    "capped_kinds": [],
    "findings_capped": false,
    "malware_checked": true,
    "scan_skips": {},
    "compiled": {
      "counts": {},
      "paths": []
    },
    "installed": {
      "packages": 37,
      "malicious": [],
      "vulnerabilities": [
        {
          "package": "pip",
          "version": "24.0",
          "advisory": "GHSA-4xh5-x5gv-qwph"
        },
        {
          "package": "pip",
          "version": "24.0",
          "advisory": "GHSA-58qw-9mgm-455v"
        },
        {
          "package": "pip",
          "version": "24.0",
          "advisory": "GHSA-6vgw-5pg2-w6jp"
        },
        {
          "package": "pip",
          "version": "24.0",
          "advisory": "GHSA-jp4c-xjxw-mgf9"
        },
        {
          "package": "pip",
          "version": "24.0",
          "advisory": "GHSA-qwm4-qh6w-59xr"
        },
        {
          "package": "pip",
          "version": "24.0",
          "advisory": "GHSA-wf93-45jw-7689"
        },
        {
          "package": "pip",
          "version": "24.0",
          "advisory": "PYSEC-2026-1795"
        },
        {
          "package": "pip",
          "version": "24.0",
          "advisory": "PYSEC-2026-1796"
        },
        {
          "package": "pip",
          "version": "24.0",
          "advisory": "PYSEC-2026-196"
        },
        {
          "package": "pip",
          "version": "24.0",
          "advisory": "PYSEC-2026-2875"
        },
        {
          "package": "pip",
          "version": "24.0",
          "advisory": "PYSEC-2026-2876"
        },
        {
          "package": "pip",
          "version": "24.0",
          "advisory": "PYSEC-2026-3721"
        }
      ]
    },
    "installed_inventory": true,
    "installed_partial": false
  },
  "platform": "linux",
  "test_version": "readme-4243f19282e59714a358f5d27849c5ebf3ef413d1667fe1ae5969f004abbb1d7",
  "touched": {
    "evidence_file": "touched.json.gz",
    "linked_files": [
      "agent-events.jsonl.gz",
      "command-output.jsonl.gz"
    ],
    "network": {
      "allowed_hosts": [
        "files.pythonhosted.org",
        "github.com",
        "pypi.org"
      ],
      "blocked_hosts": [],
      "canary_checked": true,
      "canary_sent": false,
      "canary_sent_to": [],
      "hosts": [
        "files.pythonhosted.org",
        "github.com",
        "pypi.org"
      ],
      "package_registries": [
        "files.pythonhosted.org",
        "pypi.org"
      ],
      "private_address_attempts": 0,
      "recorded": true,
      "repo_hosts": [],
      "unanswered_hosts": [],
      "unattributed": [],
      "hosts_withheld": 1
    },
    "secret_files": {
      "opened_by_agent": [],
      "opened_by_other": [],
      "opened_by_repo": [],
      "planted": [
        "~/.env",
        "~/.ssh/id_ed25519",
        "~/.aws/credentials",
        "~/.config/gh/hosts.yml"
      ],
      "recorded": true
    },
    "version": 1
  },
  "evidence_strength": "nothing_checked"
}
