{
  "schema_version": 1,
  "run_id": "narwhalapi--narwhalapi-python-gpt-6-luna-1796392005204021380",
  "date": "2026-12-04T13:57:05.548829+00:00",
  "repo": "narwhalapi/narwhalapi-python",
  "model": "gpt-6-luna",
  "kind": "repo",
  "mcp": "none",
  "commit": "8903dfccdc56ca8dad82dc60d5d544a35fc3c2a5",
  "outcome": "needs_credentials",
  "time_to_working_s": null,
  "install_s": 28.386,
  "first_use_s": null,
  "stuck_step": "README Quickstart live API request",
  "what_failed": "NARWHAL_API_KEY is required.",
  "suggested_fix": "Provide a valid NARWHAL_API_KEY, then rerun the README Quickstart economics and FX calls.",
  "what_it_did": "Verify signed webhook payload locally; attempt README Quickstart CPI request",
  "needs": [
    "credentials"
  ],
  "needs_which": "NARWHAL_API_KEY",
  "missing": "key_or_login",
  "claims": [
    {
      "kind": "claim",
      "claim": "README advertised Narwhal SDK live operations",
      "source": "Typed synchronous and asynchronous clients for economics (including the equity risk premium), foreign exchange, calendars, stocks, funds, company calendars, company financials, trade, sanctions screening, futures trader positions, physical palm oil, physical commodity reference prices, spot gold and silver, prediction markets, FX and commodity bar history, and webhook delivery.",
      "input": "README quickstart economics.cpi(\"USA\") call against the live API.",
      "expected": "An economics CPI result containing a Decimal value.",
      "command": "",
      "verdict": "blocked",
      "outcome": "The live README quickstart was invoked with a generated guest-only key and the API returned HTTP 401 invalid_api_key: Authentication required. A valid NARWHAL_API_KEY is needed to replay the live data claim.",
      "evidence": "The live README quickstart was invoked with a generated guest-only key and the API returned HTTP 401 invalid_api_key: Authentication required. A valid NARWHAL_API_KEY is needed to replay the live data claim.",
      "needs": "NARWHAL_API_KEY",
      "source_checked": true,
      "source_file": "README.md"
    },
    {
      "kind": "claim",
      "claim": "verify exact webhook raw bytes and decode the event",
      "source": "from narwhalapi.webhooks import verify",
      "input": "A locally signed webhook event byte sequence.",
      "expected": "WebhookEvent(country=None, cursor=None, data=None, decision=None, event_id='evt-local-1', family=None, operation=None, prediction=None, recorded_at='2026-01-01T00:00:00Z', release=None, release_id=None, resource_id=None, resource_version=None, schema_version='1', type='test')",
      "command": "Python API narwhalapi.webhooks.verify",
      "verdict": "yes",
      "outcome": "Real input produced the expected result: \"WebhookEvent(country=None, cursor=None, data=None, decision=None, event_id='evt-local-1', family=None, operation=None, prediction=None, recorded_at='2026-01-01T00:00:00Z', release=None, release_id=None, resource_id=None, resource_version=None, schema_version='1', type='test')\"",
      "evidence": "…\"WebhookEvent(country=None, cursor=None, data=None, decision=None, event_id='evt-local-1', family=None, operation=None, prediction=None, recorded_at='2026-01-01T00:00:00Z', release=None, release_id=None, resource_id=None, resource_version=None, schema_version='1', type='test')\", \"source_file\": \"<guest-path>\"}\n",
      "cwd": "<guest-path>",
      "returncode": 0,
      "hardware_prerequisite": null,
      "stdout": "{\"actual\": \"WebhookEvent(country=None, cursor=None, data=None, decision=None, event_id='evt-local-1', family=None, operation=None, prediction=None, recorded_at='2026-01-01T00:00:00Z', release=None, release_id=None, resource_id=None, resource_version=None, schema_version='1', type='test')\", \"source_file\": \"<guest-path>\"}\n",
      "stderr": "",
      "output_truncated": false,
      "source_checked": true,
      "source_file": "README.md"
    }
  ],
  "example_checks": [
    {
      "kind": "example",
      "claim": "README Quickstart CPI request",
      "source": "README.md",
      "input": "Fetch US CPI as documented.",
      "command": "",
      "evidence": "The documented call returned HTTP 401 invalid_api_key when run with a generated guest-only key; valid NARWHAL_API_KEY is required.",
      "deferred": true,
      "expected": "CPI response with a Decimal value.",
      "verdict": "deferred",
      "outcome": "The documented call returned HTTP 401 invalid_api_key when run with a generated guest-only key; valid NARWHAL_API_KEY is required."
    }
  ],
  "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 and src/narwhalapi package entry points; this is a synchronous/asynchronous client library with request methods and local webhook verification, and no scheduled loop, cron, webhook delivery trigger, or --once/--now cycle entry point is documented.",
      "evidence": "Inspected README and src/narwhalapi package entry points; this is a synchronous/asynchronous client library with request methods and local webhook verification, and no scheduled loop, cron, webhook delivery trigger, or --once/--now cycle entry point is documented.",
      "command": ""
    }
  ],
  "maintenance": {
    "archived": false,
    "ci_commit": "8903dfccdc56ca8dad82dc60d5d544a35fc3c2a5",
    "ci_read_at": "2026-12-04T13:38:16Z",
    "ci_state": null,
    "commits_90d": 7,
    "last_commit_at": "2026-12-04T13:27:15Z",
    "last_release_at": null,
    "median_reply_hours": null,
    "merged_prs_90d": 0,
    "note": "actively maintained: last commit 0 days ago; 7 commits and 0 merged PRs in 90 days; 0 open issues, 0 open PRs; no releases",
    "open_issues": 0,
    "open_prs": 0,
    "reply_share": null,
    "reply_threads": 0,
    "verdict": "maintained"
  },
  "dependencies": [
    "Python 3.12.3 (README minimum 3.10)",
    "pip",
    "httpx (installed dependency)",
    "Valid NARWHAL_API_KEY for live API endpoints"
  ],
  "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": false,
    "protocols_recorded": true,
    "lookups_recorded": true,
    "unsorted_blocked_ports": [],
    "contacts": [
      {
        "to": "104.21.74.143",
        "port": "443",
        "rule": null,
        "programs": [
          "python"
        ],
        "names": [
          "api.narwhalapi.com"
        ]
      },
      {
        "to": "172.67.203.142",
        "port": "443",
        "rule": null,
        "programs": [
          "python"
        ],
        "names": [
          "api.narwhalapi.com"
        ]
      }
    ],
    "contacts_not_listed": 0,
    "lookups": [
      {
        "owner": "installer",
        "programs": [
          "git-remote-https"
        ],
        "names": [
          "github.com"
        ]
      },
      {
        "owner": "installer",
        "programs": [
          "python"
        ],
        "names": [
          "files.pythonhosted.org",
          "pypi.org"
        ]
      },
      {
        "owner": "repo",
        "programs": [
          "python"
        ],
        "names": [
          "api.narwhalapi.com"
        ]
      }
    ],
    "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": 16,
      "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": [
        "api.narwhalapi.com",
        "files.pythonhosted.org",
        "pypi.org"
      ],
      "blocked_hosts": [],
      "canary_checked": true,
      "canary_sent": false,
      "canary_sent_to": [],
      "hosts": [
        "api.narwhalapi.com",
        "files.pythonhosted.org",
        "pypi.org"
      ],
      "package_registries": [
        "files.pythonhosted.org",
        "pypi.org"
      ],
      "private_address_attempts": 0,
      "recorded": true,
      "repo_hosts": [],
      "unanswered_hosts": [],
      "unattributed": [
        "api.narwhalapi.com"
      ],
      "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": "partly_checked"
}
