{
  "schema_version": 1,
  "run_id": "affinda--affinda-python-claude-haiku-5-5-1795030602963124530",
  "date": "2026-11-18T19:39:14.934742+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": null,
  "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/examples.json <<'\"'\"'\"'\"'\"'\"'\"'\"'EOF'\"'\"'\"'\"'\"'\"'\"'\"'\n[{\"kind\":\"example\",\"claim\":\"This is a python client for the Affinda document parsing API which wraps all available endpoints and handles authentication and signing.\",\"source\":\"README.md: python -m affinda generate_models --help\",\"input\":\"\",\"expected\":\"documented generate_models options are listed\",\"argv\":[\"<guest-path>\",\"-m\",\"affinda\",\"generate_models\",\"--help\"],\"cwd\":\"/tmp\",\"env\":{},\"stdin\":\"\",\"expected_text\":\"--document-type-id TEXT\"}]\nEOF\ncat > .coldpass/cycles.json <<'\"'\"'\"'\"'\"'\"'\"'\"'EOF'\"'\"'\"'\"'\"'\"'\"'\"'\n{\"detected\":false,\"checks\":[],\"reason\":\"Inspected README.md and the affinda CLI (python -m affinda --help): the only commands are generate_models (one-shot) and no cron, loop, webhook, --once or --now entrypoint exists.\"}\nEOF\ncat > .coldpass/report.json <<'\"'\"'\"'\"'\"'\"'\"'\"'EOF'\"'\"'\"'\"'\"'\"'\"'\"'\n{\"outcome\":\"needs_credentials\",\"fault_owner\":\"prerequisite\",\"operation\":\"Install affinda-python 4.29.0 from source and run python -m affinda generate_models against the Affinda API\",\"operation_scope\":\"Client install and CLI auth path; live document parsing not run because no Affinda API key/workspace 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 && .venv/bin/pip install -q -e .  (Python 3.12.3)\",\"env -u AFFINDA_API_KEY python -m affinda generate_models --document-type-id=rLERIsHk --output-dir <guest-path> </dev/null  -> prompts for API key, Aborted! rc=1\",\"AFFINDA_API_KEY=invalid-test-key python -m affinda generate_models ... -> rc=1, azure ClientAuthenticationError, authentication_failed '\"'\"'\"'\"'\"'\"'\"'\"'Invalid token.'\"'\"'\"'\"'\"'\"'\"'\"'\"],\"dependencies\":[\"python 3.12\",\"pip\",\"affinda-python (pip, editable install)\",\"network access to api.affinda.com\",\"valid Affinda API key and workspace ID\"],\"readme_differences\":[\"README shows '\"'\"'\"'\"'\"'\"'\"'\"'python -m affinda generate_models --document-type-id=...'\"'\"'\"'\"'\"'\"'\"'\"' without noting that --output-dir is the flag (README says '\"'\"'\"'\"'\"'\"'\"'\"'./affinda_models'\"'\"'\"'\"'\"'\"'\"'\"' default, which matches)\"],\"deviations\":[\"Live API key unavailable: the credentials_error path was run and the product prompts/aborts as expected; the valid-key path was not exercised\",\"pip install emits SyntaxWarning for invalid escape sequences in affinda/models/_models_py3.py (not fatal)\"],\"stuck_step\":null,\"stuck_kind\":null,\"missing\":\"key_or_login\",\"main_blocker\":\"No Affinda API key available in the disposable guest; a real document parse or model generation needs a valid key and workspace.\",\"plain_failure\":null,\"suggested_fix\":\"Provide AFFINDA_API_KEY and a workspace/document-type ID to run a live create_document or generate_models check.\"}\nEOF\n<env-var>=<guest-path> python3 -I <guest-path> --validate 2>&1 | tail -c 600; <env-var>=<guest-path> python3 -I /inputs/coldpass-preflight.py --validate 2>&1 | tail -c 600'\"'\"''",
  "what_failed": "No Affinda API key available in the disposable guest; a real document parse or model generation needs a valid key and workspace.",
  "suggested_fix": "Provide AFFINDA_API_KEY and a workspace/document-type ID to run a live create_document or generate_models check.",
  "what_it_did": "Install affinda-python 4.29.0 from source and run python -m affinda generate_models 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": "invalid-test-key",
      "expected": "Affinda API rejects the token with authentication_failed",
      "command": "<guest-path> -m affinda generate_models --document-type-id=rLERIsHk --output-dir <guest-path>",
      "verdict": "blocked",
      "outcome": "Probe stopped at a missing prerequisite: /usr/lib/python3.12/getpass.py:91: GetPassWarning: Can not control echo on the terminal.\n  passwd = <secret>, stream)\nWarning: Password input may be echoed.\nEnter your API key (required when AFFINDA_API_KEY is not set): Aborted!",
      "evidence": "/usr/lib/python3.12/getpass.py:91: GetPassWarning: Can not control echo on the terminal.\n  passwd = <secret>, stream)\nWarning: Password input may be echoed.\nEnter your API key (required when AFFINDA_API_KEY is not set): Aborted!",
      "hardware_prerequisite": null,
      "returncode": 1,
      "stdout": "\n",
      "stderr": "/usr/lib/python3.12/getpass.py:91: GetPassWarning: Can not control echo on the terminal.\n  passwd = <secret>, stream)\nWarning: Password input may be echoed.\nEnter your API key (required when AFFINDA_API_KEY is not set): Aborted!\n",
      "output_truncated": false,
      "source_checked": true,
      "source_file": "README.md"
    }
  ],
  "example_checks": [
    {
      "kind": "example",
      "claim": "This is a python client for the Affinda document parsing API which wraps all available endpoints and handles authentication and signing.",
      "source": "README.md: python -m affinda generate_models --help",
      "input": "<guest-path> -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": "documented generate_models options are listed",
      "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.md and the affinda CLI (python -m affinda --help): the only commands are generate_models (one-shot) and no cron, loop, webhook, --once or --now entrypoint exists.",
      "evidence": "Inspected README.md and the affinda CLI (python -m affinda --help): the only commands are generate_models (one-shot) and no cron, loop, webhook, --once or --now entrypoint exists.",
      "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",
    "pip",
    "affinda-python (pip, editable install)",
    "network access to api.affinda.com",
    "valid Affinda API key and workspace ID"
  ],
  "local_or_hosted": "local",
  "readme_deviations": null,
  "safety": {
    "version": "z2x-1",
    "summary": "Review signals: 1 connection review.",
    "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": true,
    "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": 5
    },
    "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"
}
