{
  "schema_version": 1,
  "run_id": "affinda--affinda-python-claude-haiku-5-5-1795055059271538334",
  "date": "2026-11-19T02:26:56.849898+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": 76.921,
  "first_use_s": null,
  "stuck_step": "generate_models with a valid key",
  "what_failed": "No valid Affinda API key available; API correctly returned authentication_failed for placeholder token",
  "suggested_fix": "Provide AFFINDA_API_KEY and a document type ID for a real workspace to replay the documented generate_models flow",
  "what_it_did": "Install affinda-python 4.29.0 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-guest-key",
      "expected": "Affinda API rejects the token with authentication_failed",
      "command": ".venv/bin/python -W ignore -m affinda generate_models --document-type-id=rLERIsHk --output-dir <guest-path>",
      "verdict": "blocked",
      "outcome": "Probe stopped at a missing prerequisite: …authentication_failed\",\"detail\":\"Invalid token.\",\"attr\":null}]}\n",
      "evidence": "…authentication_failed\",\"detail\":\"Invalid token.\",\"attr\":null}]}\n",
      "hardware_prerequisite": null,
      "returncode": 1,
      "stdout": "",
      "stderr": "^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n  File \"<guest-path>\", line 6185, in pydantic_models_from_document_type\n    map_error(status_code=response.status_code, response=response, error_map=error_map)\n  File \"<guest-path>\", line 163, in map_error\n    raise error\nazure.core.exceptions.ClientAuthenticationError: Operation returned an invalid status 'Unauthorized'\nContent: {\"type\":\"client_error\",\"errors\":[{\"code\":\"authentication_failed\",\"detail\":\"Invalid token.\",\"attr\":null}]}\n",
      "output_truncated": true,
      "source_checked": true,
      "source_file": "README.md"
    }
  ],
  "example_checks": [
    {
      "kind": "example",
      "claim": "Affinda API rejects the token with authentication_failed",
      "source": "README.md",
      "input": "invalid-guest-key",
      "command": ".venv/bin/python -W ignore -m affinda generate_models --document-type-id=rLERIsHk --output-dir <guest-path>",
      "evidence": "^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n  File \"<guest-path>\", line 6185, in pydantic_models_from_document_type\n    map_error(status_code=response.status_code, response=response, error_map=error_map)\n  File \"<guest-path>\", line 163, in map_error\n    raise error\nazure.core.exceptions.ClientAuthenticationError: Operation returned an invalid status 'Unauthorized'\nContent: {\"type\":\"client_error\",\"errors\":[{\"code\":\"authentication_failed\",\"detail\":\"Invalid token.\",\"attr\":null}]}",
      "deferred": false,
      "expected": "authentication_failed",
      "hardware_prerequisite": null,
      "returncode": 1,
      "native_crash": false,
      "stdout": "",
      "stderr": "^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n  File \"<guest-path>\", line 6185, in pydantic_models_from_document_type\n    map_error(status_code=response.status_code, response=response, error_map=error_map)\n  File \"<guest-path>\", line 163, in map_error\n    raise error\nazure.core.exceptions.ClientAuthenticationError: Operation returned an invalid status 'Unauthorized'\nContent: {\"type\":\"client_error\",\"errors\":[{\"code\":\"authentication_failed\",\"detail\":\"Invalid token.\",\"attr\":null}]}\n",
      "output_truncated": true,
      "verdict": "blocked",
      "outcome": "command output contains a crash diagnostic: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n  File \"<guest-path>\", line 6185, in pydantic_models_from_document_type\n    map_error(status_code=response.status_code, response=response, error_map=error_map)\n  File \"<guest-path>\", line 163, in map_error\n    raise error\nazure.core.exceptions.ClientAuthenticationError: Operation returned an invalid status 'Unauthorized'\nContent: {\"type\":\"client_error\",\"errors\":[{\"code\":\"authentication_failed\",\"detail\":\"Invalid token.\",\"attr\":null}]}"
    }
  ],
  "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 with generate_models only); no cron, loop, webhook, --once or --now entrypoint is documented.",
      "evidence": "Inspected README.md and the affinda CLI (python -m affinda with generate_models only); no cron, loop, webhook, --once or --now entrypoint 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",
    "pip",
    "affinda SDK deps (azure-core, pydantic)",
    "Affinda API key (account/workspace required)"
  ],
  "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"
}
