{
  "schema_version": 1,
  "run_id": "affinda--affinda-python-claude-haiku-5-5-1794990982747931035",
  "date": "2026-11-18T08:38:24.457309+00:00",
  "repo": "affinda/affinda-python",
  "model": "claude-haiku-5-5",
  "kind": "repo",
  "mcp": "none",
  "commit": "e201855093509d7cf7b8271e844443d9701e7d54",
  "outcome": "needs_credentials",
  "time_to_working_s": null,
  "install_s": 48.445,
  "first_use_s": null,
  "stuck_step": "/bin/bash -c 'o=$(mktemp);e=$(mktemp);/bin/bash --noprofile --norc -c \"$1\" </dev/null >\"$o\" 2>\"$e\";c=$?;cat \"$o\";cat \"$e\" >&2;rm -f \"$o\" \"$e\";exit $c' coldpass 'exec /usr/bin/env -i USER=agent LOGNAME=agent USERNAME=agent <email> '\"'\"'GIT_AUTHOR_NAME=Coldpass Cold Agent'\"'\"' <email> '\"'\"'GIT_COMMITTER_NAME=Coldpass Cold Agent'\"'\"' <email> GIT_CONFIG_NOSYSTEM=1 GIT_CONFIG_SYSTEM=/dev/null GIT_CONFIG_GLOBAL=/dev/null GIT_CONFIG_COUNT=5 GIT_CONFIG_KEY_0=user.name '\"'\"'GIT_CONFIG_VALUE_0=Coldpass Cold Agent'\"'\"' GIT_CONFIG_KEY_1=user.email <email> GIT_CONFIG_KEY_2=user.useConfigOnly GIT_CONFIG_VALUE_2=true GIT_CONFIG_KEY_3=credential.helper GIT_CONFIG_VALUE_3= GIT_CONFIG_KEY_4=safe.directory '\"'\"'GIT_CONFIG_VALUE_4=*'\"'\"' HOME=<guest-path> PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin LANG=C.UTF-8 SHELL=/bin/bash <env-var>=<guest-path> XDG_CONFIG_HOME=<guest-path> NPM_CONFIG_CACHE=/var<guest-path> PIP_CACHE_DIR=/var<guest-path> CARGO_HOME=/var<guest-path> GOCACHE=/var<guest-path> GOMODCACHE=/var<guest-path> /bin/bash --noprofile --norc -c '\"'\"'cd <guest-path> && cd <guest-path> && cat > .coldpass/cycles.json <<'\"'\"'\"'\"'\"'\"'\"'\"'EOF'\"'\"'\"'\"'\"'\"'\"'\"'\n{\"detected\":false,\"checks\":[],\"reason\":\"Inspected README.md and the python -m affinda entrypoint (generate_models only); no cron, loop, webhook, --once or --now behavior is documented.\"}\nEOF\ncat > .coldpass/examples.json <<'\"'\"'\"'\"'\"'\"'\"'\"'EOF'\"'\"'\"'\"'\"'\"'\"'\"'\n[{\"kind\":\"example\",\"claim\":\"Quickstart: create_document uploads a document and returns parsed data\",\"source\":\"README.md Quickstart python example\",\"testable\":false,\"reason\":\"prerequisite\",\"needs\":\"user Affinda API key and workspace identifier\",\"input\":\"resume.pdf\",\"expected\":\"doc.data printed\",\"argv\":[\"python\",\"-m\",\"affinda\",\"generate_models\",\"--document-type-id=rLERIsHk\"],\"cwd\":\"<guest-path>\",\"env\":{},\"stdin\":\"\",\"expected_text\":\"Enter your API key\"}]\nEOF\ncat > .coldpass/report.json <<'\"'\"'\"'\"'\"'\"'\"'\"'EOF'\"'\"'\"'\"'\"'\"'\"'\"'\n{\"outcome\":\"needs_credentials\",\"fault_owner\":\"prerequisite\",\"operation\":\"Install affinda-python 4.29.0 from the pinned commit and run the documented python -m affinda generate_models command (and Quickstart create_document) against the Affinda API\",\"operation_scope\":\"Local install and CLI credential prompt only; no live API call was made because no Affinda API key is available in the guest\",\"steps\":[\"git init; git remote add origin https://github.com/affinda/affinda-python; git fetch --depth 1 origin e201855093509d7cf7b8271e844443d9701e7d54; git reset --mixed FETCH_HEAD\",\"python3 -m venv .venv (Python 3.12.3)\",\"<guest-path> install affinda\",\"env -u AFFINDA_API_KEY python -m affinda generate_models --document-type-id=rLERIsHk < /dev/null  -> prompted '\"'\"'\"'\"'\"'\"'\"'\"'Enter your API key'\"'\"'\"'\"'\"'\"'\"'\"', aborted, rc=1\"],\"dependencies\":[\"Python 3.12.3\",\"pip/venv\",\"affinda (PyPI)\",\"Affinda API key\"],\"readme_differences\":[],\"deviations\":[\"Pip install succeeded; SyntaxWarnings from the generated models module are printed on import (cosmetic).\",\"No Affinda API key available, so create_document and generate_models could not reach the API; credentials_error check recorded instead.\"],\"stuck_step\":null,\"stuck_kind\":null,\"missing\":\"key_or_login\",\"main_blocker\":\"No Affinda API key or workspace ID available in the guest to run the documented create_document/generate_models operations.\",\"plain_failure\":\"Missing prerequisite: Affinda API key. The client itself imports and constructs AffindaAPI(TokenCredential) successfully.\",\"suggested_fix\":\"Provide AFFINDA_API_KEY and a workspace ID in the guest to run the live Quickstart.\"}\nEOF\n<env-var>=<guest-path> python3 -I <guest-path> --validate 2>&1 | tail -5; <env-var>=<guest-path> python3 -I /inputs/coldpass-preflight.py --validate 2>&1 | tail -5'\"'\"''",
  "what_failed": "Missing prerequisite: Affinda API key. The client itself imports and constructs AffindaAPI(TokenCredential) successfully.",
  "suggested_fix": "Provide AFFINDA_API_KEY and a workspace ID in the guest to run the live Quickstart.",
  "what_it_did": "Install affinda-python 4.29.0 from the pinned commit and run the documented python -m affinda generate_models command (and Quickstart create_document) against the Affinda API",
  "needs": [
    "credentials"
  ],
  "needs_which": "an account or key",
  "missing": "key_or_login",
  "claims": [
    {
      "kind": "claim",
      "claim": "This is a python client for the Affinda document parsing API which 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\nand handles authentication and signing.",
      "input": "generate_models without key",
      "expected": "prompts for API key",
      "command": "python -m affinda generate_models --document-type-id=rLERIsHk",
      "verdict": "blocked",
      "outcome": "Probe could not start: [Errno 2] No such file or directory: 'python'",
      "evidence": "Probe could not start: [Errno 2] No such file or directory: 'python'",
      "launch_error": "[Errno 2] No such file or directory: 'python'",
      "source_checked": true,
      "source_file": "README.md"
    }
  ],
  "example_checks": [
    {
      "kind": "example",
      "claim": "Quickstart: create_document uploads a document and returns parsed data",
      "source": "README.md Quickstart python example",
      "input": "resume.pdf",
      "command": "python -m affinda generate_models --document-type-id=rLERIsHk",
      "evidence": "[Errno 2] No such file or directory: 'python'",
      "deferred": false,
      "expected": "doc.data printed",
      "verdict": "blocked",
      "launch_error": "[Errno 2] No such file or directory: 'python'",
      "outcome": "command could not start: [Errno 2] No such file or directory: 'python'"
    }
  ],
  "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.md and the python -m affinda entrypoint (generate_models only); no cron, loop, webhook, --once or --now behavior is documented.",
      "evidence": "Inspected README.md and the python -m affinda entrypoint (generate_models only); no cron, loop, webhook, --once or --now behavior 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/venv",
    "affinda (PyPI)",
    "Affinda API key"
  ],
  "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": false,
    "unsorted_blocked_ports": [],
    "contacts": [],
    "contacts_not_listed": 0,
    "lookups": [],
    "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": null,
    "installed": null,
    "installed_inventory": false,
    "installed_partial": false
  },
  "platform": "linux",
  "test_version": "readme-596e5e9e75b0d340a06a1ac1f0216ad75b24f1bb60cec6c015ad4ef661487636",
  "touched": {
    "evidence_file": "touched.json.gz",
    "linked_files": [
      "agent-events.jsonl.gz",
      "command-output.jsonl.gz"
    ],
    "network": {
      "canary_checked": true,
      "canary_sent": false,
      "canary_sent_to": [],
      "hosts": [],
      "package_registries": [],
      "private_address_attempts": 0,
      "recorded": true,
      "hosts_withheld": 4
    },
    "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"
}
