{
  "schema_version": 1,
  "run_id": "NumihFrance-rennes--api-entreprise-claude-haiku-5-5-1795714797669101699",
  "date": "2026-11-26T17:42:38.338604+00:00",
  "repo": "NumihFrance-rennes/api-entreprise",
  "model": "claude-haiku-5-5",
  "kind": "repo",
  "mcp": "none",
  "commit": "90c94647ecbe749094c2d65ec028cb1972394fd5",
  "outcome": "needs_credentials",
  "time_to_working_s": null,
  "install_s": 57.334,
  "first_use_s": null,
  "stuck_step": "api-entreprise --help (CLI run after install)",
  "what_failed": "Repo defect: cli.py imports 'Rate' which the pinned pyrate-limiter~=2.10 does not provide, so the CLI entry point fails at import. Separately, the live API call needs a valid token (401 without one).",
  "suggested_fix": "Change cli.py to use the pyrate-limiter 2.x API that exists in the pinned range (e.g. RequestRate instead of Rate) or pin a version that exports Rate; document that API_ENTREPRISE_TOKEN is required.",
  "what_it_did": "Install api-entreprise per README and run the documented CLI (api-entreprise --help) and client library call donnees_etablissement",
  "needs": [
    "credentials"
  ],
  "needs_which": "API_ENTREPRISE_TOKEN",
  "missing": "key_or_login",
  "claims": [
    {
      "kind": "claim",
      "claim": "Une CLI est fournie avec la bibliothèque",
      "source": "Une CLI est fournie avec la bibliothèque",
      "input": "api-entreprise --help",
      "expected": "CLI help text printed",
      "command": "<guest-path> --help",
      "verdict": "blocked",
      "outcome": "Probe could not complete: help/version/requirements alone does not establish working behavior",
      "evidence": "Probe could not complete: help/version/requirements alone does not establish working behavior",
      "cwd": "<guest-path>",
      "source_checked": true,
      "source_file": "README.md"
    }
  ],
  "example_checks": [
    {
      "kind": "example",
      "claim": "Une CLI est fournie avec la bibliothèque",
      "source": "README.md",
      "input": "api-entreprise --help",
      "command": "<guest-path> --help",
      "evidence": "Traceback (most recent call last):\n  File \"<guest-path>\", line 5, in <module>\n    from api_entreprise.cli import main\n  File \"<guest-path>\", line 6, in <module>\n    from pyrate_limiter import Limiter, Rate\nImportError: cannot import name 'Rate' from 'pyrate_limiter' (<guest-path>)",
      "deferred": false,
      "expected": "CLI help text printed",
      "hardware_prerequisite": null,
      "returncode": 1,
      "native_crash": false,
      "stdout": "",
      "stderr": "Traceback (most recent call last):\n  File \"<guest-path>\", line 5, in <module>\n    from api_entreprise.cli import main\n  File \"<guest-path>\", line 6, in <module>\n    from pyrate_limiter import Limiter, Rate\nImportError: cannot import name 'Rate' from 'pyrate_limiter' (<guest-path>)\n",
      "output_truncated": false,
      "verdict": "no",
      "outcome": "command output contains a crash diagnostic"
    }
  ],
  "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 (no cron, loop, webhook, --once or --now documented), pyproject.toml [project.scripts] (only api-entreprise = api_entreprise.cli:main) and src/api_entreprise/cli.py (single one-shot command, no scheduler).",
      "evidence": "Inspected README.md (no cron, loop, webhook, --once or --now documented), pyproject.toml [project.scripts] (only api-entreprise = api_entreprise.cli:main) and src/api_entreprise/cli.py (single one-shot command, no scheduler).",
      "command": ""
    }
  ],
  "maintenance": {
    "archived": false,
    "ci_commit": "90c94647ecbe749094c2d65ec028cb1972394fd5",
    "ci_read_at": "2026-11-26T17:04:45Z",
    "ci_state": "SUCCESS",
    "commits_90d": 1,
    "last_commit_at": "2026-11-26T17:00:37Z",
    "last_release_at": "2023-11-20T08:20:59Z",
    "median_reply_hours": null,
    "merged_prs_90d": 0,
    "note": "actively maintained: last commit 0 days ago; 1 commits and 0 merged PRs in 90 days; 0 open issues, 0 open PRs; 0 of 3 recent threads got a maintainer reply; latest release 2023-11-20",
    "open_issues": 0,
    "open_prs": 0,
    "reply_share": 0.0,
    "reply_threads": 3,
    "verdict": "maintained"
  },
  "dependencies": [
    "Python 3.12.3",
    "setuptools",
    "pyrate-limiter==2.10.0 (ratelimit extra)",
    "requests~=2.28",
    "marshmallow~=3.19",
    "marshmallow-dataclass~=8.5",
    "live API token for entreprise.api.gouv.fr"
  ],
  "local_or_hosted": "local",
  "readme_deviations": null,
  "safety": {
    "version": "z2x-1",
    "summary": "Review signals: 1 connection review. 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": false,
    "protocols_recorded": true,
    "lookups_recorded": true,
    "unsorted_blocked_ports": [],
    "contacts": [
      {
        "to": "54.36.95.60",
        "port": "443",
        "rule": null,
        "programs": [
          "python"
        ],
        "names": [
          "entreprise.api.gouv.fr"
        ]
      }
    ],
    "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"
        ]
      },
      {
        "owner": "repo",
        "programs": [
          "python"
        ],
        "names": [
          "entreprise.api.gouv.fr"
        ]
      }
    ],
    "credential_reads": [],
    "outside_writes": 0,
    "download_and_run_lines": 0,
    "malware_advisories": [],
    "vulnerabilities": [],
    "secrets": 1,
    "secrets_in_tests": 1,
    "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": 21,
      "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": [
        "entreprise.api.gouv.fr",
        "files.pythonhosted.org",
        "pypi.org"
      ],
      "blocked_hosts": [],
      "canary_checked": true,
      "canary_sent": false,
      "canary_sent_to": [],
      "hosts": [
        "entreprise.api.gouv.fr",
        "files.pythonhosted.org",
        "pypi.org"
      ],
      "package_registries": [
        "files.pythonhosted.org",
        "pypi.org"
      ],
      "private_address_attempts": 0,
      "recorded": true,
      "repo_hosts": [],
      "unanswered_hosts": [],
      "unattributed": [
        "entreprise.api.gouv.fr"
      ],
      "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"
}
