{
  "schema_version": 1,
  "run_id": "saleweaver--python-amazon-sp-api-claude-haiku-5-5-1794040749992049490",
  "date": "2026-11-07T08:44:29.506537+00:00",
  "repo": "saleweaver/python-amazon-sp-api",
  "model": "claude-haiku-5-5",
  "kind": "repo",
  "mcp": "none",
  "commit": "24a26fdb0dfd0d3d6fc1182f888c7f4b159b133d",
  "outcome": "needs_credentials",
  "time_to_working_s": null,
  "install_s": 139.118,
  "first_use_s": null,
  "stuck_step": "Calling Orders().get_orders from the README Usage section",
  "what_failed": "No Amazon SP-API LWA credentials (lwa_app_id, lwa_client_secret, refresh_token) are available in the guest; sp_api/base/credential_provider.py raises MissingCredentials before any request is sent.",
  "suggested_fix": "Provide LWA credentials via SP_API_REFRESH_TOKEN, LWA_APP_ID, LWA_CLIENT_SECRET (env or credentials.yml) and rerun the README Orders/Reports examples. Set AWS_DEFAULT_REGION for boto3-based tests. Investigate the two ListingsItems dispatch assertions in tests/api/test_versioned_clients.py separately. Consider documenting a test command and declaring requests if make_endpoint is kept.",
  "what_it_did": "Install python-amazon-sp-api from the checkout and exercise the README Orders API call (Orders().get_orders) against Amazon SP-API",
  "needs": [
    "credentials"
  ],
  "needs_which": "an account or key",
  "claims": [
    {
      "kind": "claim",
      "claim": "Orders API call needs SP-API credentials, which are not available in this guest",
      "source": "# orders API",
      "input": "",
      "expected": "",
      "command": "",
      "verdict": "blocked",
      "outcome": "The README Orders example calls Amazon SP-API and needs LWA credentials (lwa_app_id, lwa_client_secret, refresh_token). None are present in the VM; no credentials were obtained. Missing-credential behavior is recorded in probe.json as credentials_error.",
      "evidence": "The README Orders example calls Amazon SP-API and needs LWA credentials (lwa_app_id, lwa_client_secret, refresh_token). None are present in the VM; no credentials were obtained. Missing-credential behavior is recorded in probe.json as credentials_error.",
      "source_checked": true,
      "source_file": "README.md"
    },
    {
      "kind": "claim",
      "claim": "make_endpoint creates a ready to use client from a model URL",
      "source": "You can create a new endpoint file by running `make_endpoint <model_json_url>`",
      "input": "",
      "expected": "",
      "command": "",
      "verdict": "blocked",
      "outcome": "Not run: make_endpoint fetches a remote model JSON and writes generated code into the checkout's sp_api/api tree, which would modify product source. It also imports requests, which is not listed in setup.py or requirements.txt.",
      "evidence": "Not run: make_endpoint fetches a remote model JSON and writes generated code into the checkout's sp_api/api tree, which would modify product source. It also imports requests, which is not listed in setup.py or requirements.txt.",
      "source_checked": true,
      "source_file": "README.md"
    }
  ],
  "example_checks": [
    {
      "kind": "example",
      "claim": "Offline pytest subset: package metadata checks (README documents no test command; this is the repo's own offline test file, run instead of the full suite)",
      "source": "tests/test_package_metadata.py",
      "input": "tests/test_package_metadata.py",
      "command": "<guest-path> -m pytest tests/test_package_metadata.py -q -p no:cacheprovider",
      "evidence": ".                                                                        [100%]\n1 passed in 0.56s",
      "deferred": false,
      "expected": "1 passed",
      "returncode": 0,
      "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, setup.py, setup.cfg, make_endpoint/make_endpoint and .github/workflows (cron in stale-issues workflow is a CI schedule, not a product cycle). The library has no scheduler, cron, loop, webhook, --once or --now entrypoint.",
      "evidence": "Inspected README.md, setup.py, setup.cfg, make_endpoint/make_endpoint and .github/workflows (cron in stale-issues workflow is a CI schedule, not a product cycle). The library has no scheduler, cron, loop, webhook, --once or --now entrypoint.",
      "command": ""
    }
  ],
  "maintenance": {
    "archived": false,
    "commits_90d": 90,
    "last_commit_at": "2026-11-07T08:14:59Z",
    "last_release_at": "2026-11-07T08:15:01Z",
    "median_reply_hours": 0.4,
    "merged_prs_90d": 23,
    "note": "actively maintained: last commit 0 days ago; 90 commits and 23 merged PRs in 90 days; 0 open issues, 1 open PRs; 20 of 25 recent threads got a maintainer reply, median first reply 0.4h; latest release 2026-11-07",
    "open_issues": 0,
    "open_prs": 1,
    "reply_share": 0.8,
    "reply_threads": 25,
    "verdict": "maintained",
    "ci_state": "SUCCESS",
    "ci_commit": "6433d0c5ca5fe5086847f13556d9eaa1c5d36816",
    "ci_read_at": "2026-11-15T20:56:59Z"
  },
  "local_or_hosted": "local",
  "safety": {
    "version": "z2x-1",
    "summary": "Review signals: 1 connection review, 57 hardcoded secret, 1 sensitive read. 2 static matches retained as context.",
    "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": [
      {
        "kind": "saved web login",
        "opened": false
      }
    ],
    "outside_writes": 0,
    "download_and_run_lines": 0,
    "malware_advisories": [],
    "vulnerabilities": [],
    "secrets": 59,
    "secrets_in_tests": 2,
    "download_lines_in_tests": 0,
    "dependency_versions": 14,
    "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-9e6d2f5a0178955b66e00524d757e77caa21bc5a0bf6ed5cac2e9ab9c7e807b9",
  "evidence_strength": "nothing_checked"
}
