{
  "schema_version": 1,
  "run_id": "patentref--patentref-mcp-gpt-6-luna-1796231860848889744",
  "date": "2026-12-02T17:21:32.464518+00:00",
  "repo": "patentref/patentref-mcp",
  "model": "gpt-6-luna",
  "kind": "repo",
  "mcp": "none",
  "commit": "24a5d845f69f1c26caff3d403b7cc8587a84a363",
  "outcome": "needs_credentials",
  "time_to_working_s": null,
  "install_s": 52.534,
  "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> && <env-var>=<guest-path> python3 -I <guest-path> --probe > .coldpass/observed.json && cat > .coldpass/report.json <<'\"'\"'\"'\"'\"'\"'\"'\"'EOF'\"'\"'\"'\"'\"'\"'\"'\"'\n{\n  \"outcome\": \"working\",\n  \"fault_owner\": null,\n  \"operation\": \"Plan mode search_api MCP call\",\n  \"operation_scope\": \"Stdio MCP; searches the PatentRef OpenAPI spec for patent status operations without an API key.\",\n  \"steps\": [\n    \"Fetched the pinned commit 24a5d845f69f1c26caff3d403b7cc8587a84a363 from the requested origin.\",\n    \"Confirmed Python 3.12.3 satisfies pyproject.toml requires-python >=3.10.\",\n    \"Created <guest-path> and installed the project with <guest-path> -m pip install -e .\",\n    \"Ran README documented patentref-mcp --version and smoke operation; smoke confirmed search_api result and identified the key requirement for run_plan.\",\n    \"Replayed the real search_api tool and the README claim successfully through the independent checker; the run_plan credential error was separately checked.\"\n  ],\n  \"dependencies\": [\"Python 3.12.3\", \"patentref-mcp runtime dependencies from pyproject.toml\"],\n  \"readme_differences\": [],\n  \"deviations\": [\"The requested /inputs/coldpass-preflight.py was unavailable in the guest (python3: can'\"'\"'\"'\"'\"'\"'\"'\"'t open file '\"'\"'\"'\"'\"'\"'\"'\"'/inputs/coldpass-preflight.py'\"'\"'\"'\"'\"'\"'\"'\"': [Errno 2] No such file or directory); ran the provided <guest-path> --probe instead.\"],\n  \"stuck_step\": null,\n  \"stuck_kind\": null,\n  \"missing\": null,\n  \"main_blocker\": null,\n  \"plain_failure\": null,\n  \"suggested_fix\": null\n}\nEOF\n<env-var>=<guest-path> python3 -I <guest-path> --validate --replay'\"'\"''",
  "what_failed": "The checked operation requires authentication.",
  "suggested_fix": "Use the normal credential setup for a future live run; keep the credential-free check results.",
  "what_it_did": "Plan mode search_api MCP call",
  "needs": [
    "credentials"
  ],
  "needs_which": "PATENTREF_API_KEY",
  "missing": null,
  "claims": [
    {
      "kind": "claim",
      "claim": "PatentRef-compatible US patent server",
      "source": "patentref-mcp is an MCP server for the PatentRef API (https://patentref.io), a PatentsView-compatible API for US patents.",
      "input": "{\"tool\": \"search_api\", \"arguments\": {\"query\": \"patent status\", \"limit\": 2}}",
      "expected": "/api/v1/lapse/status/{patent_id}/",
      "command": "<guest-path> tools/call {\"tool\": \"search_api\", \"arguments\": {\"query\": \"patent status\", \"limit\": 2}}",
      "verdict": "yes",
      "outcome": "Real input produced the expected result: /api/v1/lapse/status/{patent_id}/",
      "evidence": "…/api/v1/lapse/status/{patent_id}/\\\",\\n      \\\"summary\\\": \\\"One-call expiry and maintenance-fee verdict for a patent\\\",\\n      \\\"tags\\\": [\\n        \\\"lapse\\\"\\n      ],\\n      \\\"params\\\": [\\n        {\\n          \\\"name\\\": \\\"patent_id\\\",\\n          \\\"in\\\": \\\"path\\\",\\n          \\\"type\\\": \\\"string\\\",\\n          \\\"required\\\": true,\\n          \\\"about\\\": \\\"A granted patent number as PatentsView prints it: 10000000, D872010, RE31177, PP36776 (no US prefix, no leading zeros)\\\"\\n        },\\n        {\\n          \\\"name\\\": \\\"v\\\",\\n          \\\"in\\\": \\\"query\\\",\\n          \\\"type\\\": \\\"string\\\",\\n          \\\"",
      "cwd": "<guest-path>",
      "source_checked": true,
      "source_file": "README.md"
    }
  ],
  "example_checks": [
    {
      "kind": "example",
      "claim": "README check an install smoke operation",
      "source": "README.md, Check an install",
      "input": "10000364",
      "command": "<guest-path> -m patentref_mcp.smoke 10000364",
      "evidence": "instatement_possible: True|False|unknown, reinstatement_basis: string, expiry_date_estimated: string|null, lapse_date: string|null, reinstated_date: string|null, as_of: string, data_version: string, catalog_data_version: string|null, permalink: string, plain: string, superseded: {requ\n... (2372 chars)\n[stdio] tools/call run_plan {\"steps\": [{\"path\": \"/api/v1/lapse/status/10000364/\"}]} -> isError=True\nError executing tool run_plan: PATENTREF_API_KEY is not set; get a Free key at https://patentref.io/api/v1/meta/signup/\npatentref-mcp: PATENTREF_API_KEY is not set; keyed tools will answer an error",
      "deferred": false,
      "expected": "search_api returns matching operation paths; the follow-up run_plan requires PATENTREF_API_KEY",
      "hardware_prerequisite": null,
      "returncode": 0,
      "native_crash": false,
      "stdout": "ve|expired_term|expired_fee_nonpayment|withdrawn|unknown, basis: [string], reinstatement_possible: True|False|unknown, reinstatement_basis: string, expiry_date_estimated: string|null, lapse_date: string|null, reinstated_date: string|null, as_of: string, data_version: string, catalog_data_version: string|null, permalink: string, plain: string, superseded: {requ\n... (2372 chars)\n[stdio] tools/call run_plan {\"steps\": [{\"path\": \"/api/v1/lapse/status/10000364/\"}]} -> isError=True\nError executing tool run_plan: PATENTREF_API_KEY is not set; get a Free key at https://patentref.io/api/v1/meta/signup/\n",
      "stderr": "patentref-mcp: PATENTREF_API_KEY is not set; keyed tools will answer an error\n",
      "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 Run and Check an install sections and patentref_mcp/server.py entrypoint; these start stdio or streamable HTTP MCP servers and expose request-driven tools, with no scheduled cycle, cron, loop, webhook, --once or --now operation documented.",
      "evidence": "Inspected README Run and Check an install sections and patentref_mcp/server.py entrypoint; these start stdio or streamable HTTP MCP servers and expose request-driven tools, with no scheduled cycle, cron, loop, webhook, --once or --now operation documented.",
      "command": ""
    }
  ],
  "maintenance": {
    "archived": false,
    "ci_commit": "24a5d845f69f1c26caff3d403b7cc8587a84a363",
    "ci_read_at": "2026-12-02T16:40:59Z",
    "ci_state": "SUCCESS",
    "commits_90d": 8,
    "last_commit_at": "2026-12-02T16:15:29Z",
    "last_release_at": null,
    "median_reply_hours": null,
    "merged_prs_90d": 1,
    "note": "actively maintained: last commit 0 days ago; 8 commits and 1 merged PRs in 90 days; 0 open issues, 3 open PRs; 0 of 1 recent threads got a maintainer reply; no releases",
    "open_issues": 0,
    "open_prs": 3,
    "reply_share": 0.0,
    "reply_threads": 1,
    "verdict": "maintained"
  },
  "dependencies": [
    "Python 3.12.3",
    "patentref-mcp runtime dependencies from pyproject.toml"
  ],
  "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": [
          "python"
        ],
        "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": 32,
      "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-4243f19282e59714a358f5d27849c5ebf3ef413d1667fe1ae5969f004abbb1d7",
  "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": 3
    },
    "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": "readme_checked"
}
