{
  "schema_version": 1,
  "run_id": "YoSmart-Inc--yolink-api-claude-haiku-5-5-1796380424059072354",
  "date": "2026-12-04T10:35:51.329591+00:00",
  "repo": "YoSmart-Inc/yolink-api",
  "model": "claude-haiku-5-5",
  "kind": "repo",
  "mcp": "none",
  "commit": "e2d04ab9946c823c2d6547c9d08412886066a9f4",
  "outcome": "needs_credentials",
  "time_to_working_s": null,
  "install_s": 46.846,
  "first_use_s": null,
  "stuck_step": "Authenticate with YOLINK_UAID and YOLINK_SECRET_KEY (README section 2. Set Environment Variables)",
  "what_failed": "Credentials not provided; the product's documented credential check exits 1 with 'Error: Missing credentials!' as expected.",
  "suggested_fix": "Provide a YoLink User Access Credentials UAID and Secret Key via YOLINK_UAID and YOLINK_SECRET_KEY, then rerun examples/01_connect_to_api.py and the authenticated probes.",
  "what_it_did": "Connect to the YoLink cloud API with User Access Credentials and list/control devices (examples/01_connect_to_api.py, 02_enumerate_devices.py)",
  "needs": [
    "credentials"
  ],
  "needs_which": "YOLINK_UAID",
  "missing": "key_or_login",
  "claims": [
    {
      "kind": "claim",
      "claim": "A Python library for interacting with YoLink smart home devices.",
      "source": "A Python library for interacting with [YoLink](https://www.yolink.com) smart home devices.",
      "input": "none",
      "expected": "library requires YoLink account credentials",
      "command": "",
      "verdict": "blocked",
      "outcome": "prerequisite",
      "evidence": "prerequisite",
      "needs": "user key, account, device or licence",
      "source_checked": true,
      "source_file": "README.md"
    },
    {
      "kind": "claim",
      "claim": "OAuth2 Authentication",
      "source": "- **OAuth2 Authentication**: Secure token-based authentication with automatic refresh",
      "input": "YOLINK_UAID and YOLINK_SECRET_KEY unset",
      "expected": "credentials refused by product with error",
      "command": "",
      "verdict": "blocked",
      "outcome": "prerequisite",
      "evidence": "prerequisite",
      "needs": "user key, account, device or licence",
      "source_checked": true,
      "source_file": "README.md"
    },
    {
      "kind": "claim",
      "claim": "Device Management",
      "source": "- **Device Management**: Enumerate and control all YoLink devices in your home",
      "input": "no credentials",
      "expected": "no device access without credentials",
      "command": "",
      "verdict": "blocked",
      "outcome": "prerequisite",
      "evidence": "prerequisite",
      "needs": "user key, account, device or licence",
      "source_checked": true,
      "source_file": "README.md"
    }
  ],
  "example_checks": [
    {
      "kind": "example",
      "claim": "Connect to the API and verify credentials",
      "source": "README.md: python examples/01_connect_to_api.py",
      "input": "no YOLINK_UAID/YOLINK_SECRET_KEY",
      "command": "<guest-path> examples/01_connect_to_api.py",
      "evidence": "Error: Missing credentials!\nPlease set the following environment variables:\n  YOLINK_UAID     - Your YoLink User Access ID\n  YOLINK_SECRET_KEY - Your YoLink Secret Key",
      "deferred": false,
      "expected": "Missing credentials error, exit 1",
      "hardware_prerequisite": null,
      "returncode": 1,
      "native_crash": false,
      "stdout": "Error: Missing credentials!\nPlease set the following environment variables:\n  YOLINK_UAID     - Your YoLink User Access ID\n  YOLINK_SECRET_KEY - Your YoLink Secret Key\n",
      "stderr": "",
      "output_truncated": false,
      "verdict": "blocked",
      "outcome": "command exited with code 1: Error: Missing credentials!\nPlease set the following environment variables:\n  YOLINK_UAID     - Your YoLink User Access ID\n  YOLINK_SECRET_KEY - Your YoLink Secret Key"
    }
  ],
  "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 examples/; the library exposes no cron, loop, webhook, --once or --now entrypoint. The MQTT listener in examples/05 is a long-running subscription that needs real YoLink credentials, so no cycle was triggered.",
      "evidence": "Inspected README.md and examples/; the library exposes no cron, loop, webhook, --once or --now entrypoint. The MQTT listener in examples/05 is a long-running subscription that needs real YoLink credentials, so no cycle was triggered.",
      "command": ""
    }
  ],
  "maintenance": {
    "archived": false,
    "ci_commit": "e2d04ab9946c823c2d6547c9d08412886066a9f4",
    "ci_read_at": "2026-12-04T09:31:32Z",
    "ci_state": null,
    "commits_90d": 23,
    "last_commit_at": "2026-12-03T09:55:00Z",
    "last_release_at": "2026-12-01T07:57:36Z",
    "median_reply_hours": 82.3,
    "merged_prs_90d": 3,
    "note": "actively maintained: last commit 0 days ago; 23 commits and 3 merged PRs in 90 days; 4 open issues, 1 open PRs; 10 of 17 recent threads got a maintainer reply, median first reply 82.3h; latest release 2026-12-01",
    "open_issues": 4,
    "open_prs": 1,
    "reply_share": 0.59,
    "reply_threads": 17,
    "verdict": "maintained"
  },
  "dependencies": [
    "python>=3.10",
    "aiohttp",
    "aiomqtt",
    "YoLink UAID and Secret Key (YOLINK_UAID, YOLINK_SECRET_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": true,
    "unsorted_blocked_ports": [],
    "contacts": [],
    "contacts_not_listed": 0,
    "lookups": [
      {
        "owner": "installer",
        "programs": [
          "git-remote-https"
        ],
        "names": [
          "github.com"
        ]
      },
      {
        "owner": "installer",
        "programs": [
          "pip",
          "python3"
        ],
        "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": 20,
      "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-6993ad395fefbb675dc160a9298a5da539e0ecc408069de1b03eb4ed293c479c",
  "touched": {
    "evidence_file": "touched.json.gz",
    "linked_files": [
      "agent-events.jsonl.gz",
      "command-output.jsonl.gz"
    ],
    "network": {
      "allowed_hosts": [
        "files.pythonhosted.org",
        "pypi.org"
      ],
      "blocked_hosts": [],
      "canary_checked": true,
      "canary_sent": false,
      "canary_sent_to": [],
      "hosts": [
        "files.pythonhosted.org",
        "pypi.org"
      ],
      "package_registries": [
        "files.pythonhosted.org",
        "pypi.org"
      ],
      "private_address_attempts": 0,
      "recorded": true,
      "repo_hosts": [],
      "unanswered_hosts": [],
      "unattributed": [],
      "hosts_withheld": 2
    },
    "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"
}
