{
  "schema_version": 1,
  "run_id": "SimonTarara62--capitalcom-cli-claude-haiku-5-5-1795939584933909746",
  "date": "2026-11-29T08:08:51.567890+00:00",
  "repo": "SimonTarara62/capitalcom-cli",
  "model": "claude-haiku-5-5",
  "kind": "repo",
  "mcp": "none",
  "commit": "29a4adc72d1e9e408d1252a7c5cef3c0836964b7",
  "outcome": "needs_credentials",
  "time_to_working_s": null,
  "install_s": 44.789,
  "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> && cat > cycles.json <<'\"'\"'\"'\"'\"'\"'\"'\"'EOF'\"'\"'\"'\"'\"'\"'\"'\"'\n{\"detected\":false,\"checks\":[],\"reason\":\"Inspected README.md and the capctl entrypoints (pyproject.toml, capital_cli CLI). The README only shows cron as a user-side example (*/15 * * * * capctl --json trade positions) and the stream commands take --duration; the product has no built-in scheduler, loop, webhook or --once/--now trigger. Cron wiring is external and needs live Capital.com credentials, so no cycle was run.\"}\nEOF\ncat > examples.json <<'\"'\"'\"'\"'\"'\"'\"'\"'EOF'\"'\"'\"'\"'\"'\"'\"'\"'\n[{\"kind\":\"example\",\"claim\":\"Install and verify the CLI (README Installation: pip install -e . then capctl --version)\",\"source\":\"README.md\",\"input\":\"none\",\"expected\":\"capctl 0.7.0\",\"argv\":[\"<guest-path>\",\"--version\"],\"cwd\":\"<guest-path>\",\"env\":{},\"stdin\":\"\",\"expected_text\":\"capctl 0.7.0\"}]\nEOF\ncat > report.json <<'\"'\"'\"'\"'\"'\"'\"'\"'EOF'\"'\"'\"'\"'\"'\"'\"'\"'\n{\"outcome\":\"needs_credentials\",\"fault_owner\":\"prerequisite\",\"operation\":\"Install capctl from source (pip install -e .) and run a credentialed Capital.com CLI operation (capctl session time / market search)\",\"operation_scope\":\"Install and offline CLI verification in a fresh guest; live broker operations not run because no Capital.com API credentials are available.\",\"steps\":[\"git init; git remote add origin https://github.com/SimonTarara62/capitalcom-cli; git fetch --depth 1 origin 29a4adc72d1e9e408d1252a7c5cef3c0836964b7; git reset --mixed FETCH_HEAD\",\"python3 --version -> 3.12.3 (README requires Python 3.10+)\",\"python3 -m venv .venv && .venv/bin/pip install -q -e . (README '\"'\"'\"'\"'\"'\"'\"'\"'From a clone'\"'\"'\"'\"'\"'\"'\"'\"' steps; succeeded)\",\".venv/bin/capctl --version -> capctl 0.7.0\",\".venv/bin/capctl session time -> exit 3, CONFIG_MISSING: Missing/invalid credentials: CAP_API_KEY, CAP_IDENTIFIER, CAP_API_PASSWORD\",\"COLDPASS validator run: valid=true\"],\"dependencies\":[\"Python 3.10+ (3.12.3 present)\",\"pip/venv\",\"capitalcom-cli 0.7.0 and its Python dependencies (Typer, Rich, httpx/websocket libs)\"],\"readme_differences\":[],\"deviations\":[\"Live operations (session login, market data, trades, streaming) cannot be exercised: CAP_API_KEY, CAP_IDENTIFIER and CAP_API_PASSWORD are not provisioned in the guest. The documented CONFIG_MISSING error (exit 3) was observed and recorded as the credentials_error check.\"],\"stuck_step\":null,\"stuck_kind\":null,\"missing\":\"key_or_login\",\"main_blocker\":\"CAP_API_KEY is required. (also CAP_IDENTIFIER and CAP_API_PASSWORD are required)\",\"plain_failure\":\"No Capital.com API credentials in the guest; capctl exits 3 with CONFIG_MISSING before any network call.\",\"suggested_fix\":\"Provide a Capital.com demo API key, login email and API password via .env (CAP_ENV=demo) or CAP_*_CMD helpers, then rerun capctl session time and capctl market search GOLD.\"}\nEOF\ncd .. && <env-var>=<guest-path> python3 -I <guest-path> --validate 2>&1 | head -c 300; echo; ls -la /inputs/coldpass-preflight.py 2>&1; <env-var>=<guest-path> python3 -I /inputs/coldpass-preflight.py --validate 2>&1 | head -c 400'\"'\"''",
  "what_failed": "No Capital.com API credentials in the guest; capctl exits 3 with CONFIG_MISSING before any network call.",
  "suggested_fix": "Provide a Capital.com demo API key, login email and API password via .env (CAP_ENV=demo) or CAP_*_CMD helpers, then rerun capctl session time and capctl market search GOLD.",
  "what_it_did": "Install capctl from source (pip install -e .) and run a credentialed Capital.com CLI operation (capctl session time / market search)",
  "needs": [
    "credentials"
  ],
  "needs_which": "CAP_API_KEY",
  "missing": "key_or_login",
  "claims": [
    {
      "kind": "claim",
      "claim": "An **unofficial**, fast, scriptable command-line client for the [Capital.com](https://capital.com) Open API, built with Typer and Rich.",
      "source": "An **unofficial**, fast, scriptable command-line client for the [Capital.com](https://capital.com) Open API, built with Typer and Rich.",
      "input": "",
      "expected": "",
      "command": "",
      "verdict": "blocked",
      "outcome": "Live Capital.com API access requires a user API key, login and API password; the guest has none.",
      "evidence": "Live Capital.com API access requires a user API key, login and API password; the guest has none.",
      "needs": "user key, account, device or licence",
      "source_checked": true,
      "source_file": "README.md"
    },
    {
      "kind": "claim",
      "claim": "**Six command groups** covering the **full** Capital.com Open API surface — `session`, `market`, `account`, `trade`, `watchlist`, `stream` — verified by an automated [coverage matrix](docs/api-coverage.md)",
      "source": "**Six command groups** covering the **full** Capital.com Open API surface — `session`, `market`, `account`, `trade`, `watchlist`, `stream` — verified by an automated [coverage matrix](docs/api-coverage.md)",
      "input": "",
      "expected": "",
      "command": "",
      "verdict": "blocked",
      "outcome": "Exercising the command groups against the live API requires credentials; only the CONFIG_MISSING path was reachable offline.",
      "evidence": "Exercising the command groups against the live API requires credentials; only the CONFIG_MISSING path was reachable offline.",
      "needs": "user key, account, device or licence",
      "source_checked": true,
      "source_file": "README.md"
    },
    {
      "kind": "claim",
      "claim": "**Safety-first trading** — trading is off by default; enabling it requires an explicit EPIC allowlist, every execution goes through a two-phase *preview → execute* flow with risk checks, and mutating commands require `--yes`",
      "source": "**Safety-first trading** — trading is off by default; enabling it requires an explicit EPIC allowlist, every execution goes through a two-phase *preview → execute* flow with risk checks, and mutating commands require `--yes`",
      "input": "",
      "expected": "",
      "command": "",
      "verdict": "blocked",
      "outcome": "Preview and execute flows need a live broker session and credentials.",
      "evidence": "Preview and execute flows need a live broker session and credentials.",
      "needs": "user key, account, device or licence",
      "source_checked": true,
      "source_file": "README.md"
    }
  ],
  "example_checks": [
    {
      "kind": "example",
      "claim": "Install and verify the CLI (README Installation: pip install -e . then capctl --version)",
      "source": "README.md",
      "input": "none",
      "command": "<guest-path> --version",
      "evidence": "capctl 0.7.0",
      "deferred": false,
      "expected": "capctl 0.7.0",
      "hardware_prerequisite": null,
      "returncode": 0,
      "native_crash": false,
      "stdout": "capctl 0.7.0\n",
      "stderr": "",
      "output_truncated": false,
      "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 and the capctl entrypoints (pyproject.toml, capital_cli CLI). The README only shows cron as a user-side example (*/15 * * * * capctl --json trade positions) and the stream commands take --duration; the product has no built-in scheduler, loop, webhook or --once/--now trigger. Cron wiring is external and needs live Capital.com credentials, so no cycle was run.",
      "evidence": "Inspected README.md and the capctl entrypoints (pyproject.toml, capital_cli CLI). The README only shows cron as a user-side example (*/15 * * * * capctl --json trade positions) and the stream commands take --duration; the product has no built-in scheduler, loop, webhook or --once/--now trigger. Cron wiring is external and needs live Capital.com credentials, so no cycle was run.",
      "command": ""
    }
  ],
  "maintenance": {
    "archived": false,
    "ci_commit": "29a4adc72d1e9e408d1252a7c5cef3c0836964b7",
    "ci_read_at": "2026-11-29T07:39:04Z",
    "ci_state": "FAILURE",
    "commits_90d": 1,
    "last_commit_at": "2026-11-29T07:21:04Z",
    "last_release_at": "2026-11-29T07:21:31Z",
    "median_reply_hours": null,
    "merged_prs_90d": 1,
    "note": "actively maintained: last commit 0 days ago; 1 commits and 1 merged PRs in 90 days; 1 open issues, 0 open PRs; latest release 2026-11-29",
    "open_issues": 1,
    "open_prs": 0,
    "reply_share": null,
    "reply_threads": 0,
    "verdict": "maintained"
  },
  "dependencies": [
    "Python 3.10+ (3.12.3 present)",
    "pip/venv",
    "capitalcom-cli 0.7.0 and its Python dependencies (Typer, Rich, httpx/websocket libs)"
  ],
  "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": 27,
      "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": "partly_checked"
}
