{
  "schema_version": 1,
  "run_id": "coenddt--rust-store-gpt-6-luna-1795461565566698949",
  "date": "2026-11-23T19:25:59.554865+00:00",
  "repo": "coenddt/rust-store",
  "model": "gpt-6-luna",
  "kind": "repo",
  "mcp": "none",
  "commit": "0fcdc7a8d1b09fb9ece2330ea38dfec3e124eb77",
  "outcome": "pass",
  "time_to_working_s": 339.4421219450305,
  "install_s": 161.02,
  "first_use_s": 134.038,
  "stuck_step": null,
  "what_failed": null,
  "suggested_fix": null,
  "what_it_did": "Run the repository Cargo quickstart, which registers a schema, plans a GQL read, and translates the command into PostgreSQL SQL.",
  "needs": [],
  "needs_which": null,
  "missing": null,
  "claims": [
    {
      "kind": "claim",
      "claim": "Pure Rust core translates GQL to parameterized SQL for relational backends without drivers or IO.",
      "source": "**多后端数据访问的纯逻辑 Rust 核心：GQL 进，后端无关的命令 JSON 出，按需翻译成 MySQL / PostgreSQL / SQLite 的参数化 SQL —— 无驱动、无 IO、无时钟。**",
      "input": [
        "cargo",
        "run",
        "-p",
        "rust-store-core",
        "--example",
        "quickstart"
      ],
      "expected": "collection = posts",
      "command": "cargo run -p rust-store-core --example quickstart",
      "verdict": "yes",
      "outcome": "Real input produced the expected result: collection = posts",
      "evidence": "collection = posts\nmode       = aggregate\ncommand    = {\"kind\":\"aggregate\",\"collection\":\"posts\",\"pipeline\":[{\"$match\":{\"status\":\"published\"}},{\"$sort\":{\"views\":-1}},{\"$limit\":20},{\"$project\":{\"_id\":1,\"title\":1,\"status\":1,\"views\":1}}],\"source\":\"default\",\"database\":null,\"schema\":null}\nsql        = {\"backend\":\"postgres\",\"stmts\":[{\"text\":\"SELECT t.\\\"_id\\\", t.\\\"_id\\\", t.\\\"title\\\", t.\\\"status\\\", t.\\\"views\\\", t.__present AS __present FROM \\\"posts\\\" t WHERE t.\\\"status\\\" = $1 ORDER BY t.\\\"views\\\" DESC LIMIT $2\",\"params\":[\"published\",20],\"isWrite\":false,\"rowShape\":{\"columns\":[{\"alias\":\"_id\",\"path\":[\"_id",
      "hardware_prerequisite": null,
      "returncode": 0,
      "stdout": "\":false},{\"alias\":\"_id\",\"path\":[\"_id\"],\"isArray\":false,\"one\":false,\"ones\":[],\"subShape\":null,\"always\":false,\"bool\":false,\"json\":false},{\"alias\":\"title\",\"path\":[\"title\"],\"isArray\":false,\"one\":false,\"ones\":[],\"subShape\":null,\"always\":false,\"bool\":false,\"json\":false},{\"alias\":\"status\",\"path\":[\"status\"],\"isArray\":false,\"one\":false,\"ones\":[],\"subShape\":null,\"always\":false,\"bool\":false,\"json\":false},{\"alias\":\"views\",\"path\":[\"views\"],\"isArray\":false,\"one\":false,\"ones\":[],\"subShape\":null,\"always\":false,\"bool\":false,\"json\":false}],\"present\":\"__present\"},\"returning\":[]}],\"warnings\":[],\"unsupported\":[]}\n",
      "stderr": "    Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.30s\n     Running `target/debug/examples/quickstart`\n",
      "output_truncated": true,
      "source_checked": true,
      "source_file": "README.md"
    }
  ],
  "example_checks": [
    {
      "kind": "example",
      "claim": "README.md published Rust API example: plan and translate a GQL query",
      "source": "README.md: 跑起来 (Cargo API example, same plan_query/translate flow); runnable repository example is core/examples/quickstart.rs",
      "input": "Post schema; GQL query filtered by status, sorted by views, limited to 20",
      "command": "cargo run -p rust-store-core --example quickstart",
      "evidence": "e,\"json\":false},{\"alias\":\"title\",\"path\":[\"title\"],\"isArray\":false,\"one\":false,\"ones\":[],\"subShape\":null,\"always\":false,\"bool\":false,\"json\":false},{\"alias\":\"status\",\"path\":[\"status\"],\"isArray\":false,\"one\":false,\"ones\":[],\"subShape\":null,\"always\":false,\"bool\":false,\"json\":false},{\"alias\":\"views\",\"path\":[\"views\"],\"isArray\":false,\"one\":false,\"ones\":[],\"subShape\":null,\"always\":false,\"bool\":false,\"json\":false}],\"present\":\"__present\"},\"returning\":[]}],\"warnings\":[],\"unsupported\":[]}\n    Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.28s\n     Running `target/debug/examples/quickstart`",
      "deferred": false,
      "expected": "prints a planned collection and PostgreSQL SQL",
      "hardware_prerequisite": null,
      "returncode": 0,
      "native_crash": false,
      "stdout": "\":false},{\"alias\":\"_id\",\"path\":[\"_id\"],\"isArray\":false,\"one\":false,\"ones\":[],\"subShape\":null,\"always\":false,\"bool\":false,\"json\":false},{\"alias\":\"title\",\"path\":[\"title\"],\"isArray\":false,\"one\":false,\"ones\":[],\"subShape\":null,\"always\":false,\"bool\":false,\"json\":false},{\"alias\":\"status\",\"path\":[\"status\"],\"isArray\":false,\"one\":false,\"ones\":[],\"subShape\":null,\"always\":false,\"bool\":false,\"json\":false},{\"alias\":\"views\",\"path\":[\"views\"],\"isArray\":false,\"one\":false,\"ones\":[],\"subShape\":null,\"always\":false,\"bool\":false,\"json\":false}],\"present\":\"__present\"},\"returning\":[]}],\"warnings\":[],\"unsupported\":[]}\n",
      "stderr": "    Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.28s\n     Running `target/debug/examples/quickstart`\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.md run section, core/examples/quickstart.rs, and host/src entrypoints; documented operations are direct pure function calls and no cron, loop, webhook, --once, or scheduled cycle trigger is documented.",
      "evidence": "Inspected README.md run section, core/examples/quickstart.rs, and host/src entrypoints; documented operations are direct pure function calls and no cron, loop, webhook, --once, or scheduled cycle trigger is documented.",
      "command": ""
    }
  ],
  "maintenance": {
    "archived": false,
    "ci_commit": "9bdb845fc486e324571b79dbd888ccaf94a19a0d",
    "ci_read_at": "2026-11-15T20:40:40Z",
    "ci_state": "SUCCESS",
    "commits_90d": 233,
    "last_commit_at": "2026-11-08T05:49:06Z",
    "last_release_at": null,
    "median_reply_hours": null,
    "merged_prs_90d": 0,
    "note": "actively maintained: last commit 0 days ago; 233 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": [
    "Rust 1.100.0 via rustup",
    "Cargo 1.100.0",
    "build-essential, pkg-config, libssl-dev"
  ],
  "local_or_hosted": "local",
  "readme_deviations": [
    "README.md provides a Rust API snippet but no direct Cargo invocation for it; ran the repository documented quickstart at core/examples/quickstart.rs."
  ],
  "safety": {
    "version": "z2x-1",
    "summary": "Review signals: 1 connection review, 1 known vulnerability, 1 outside write.",
    "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": "151.101.130.137",
        "port": "443",
        "rule": null,
        "programs": [
          "rustup-init"
        ],
        "names": [
          "static.rust-lang.org"
        ]
      },
      {
        "to": "151.101.194.137",
        "port": "443",
        "rule": null,
        "programs": [
          "rustup-init"
        ],
        "names": [
          "static.rust-lang.org"
        ]
      },
      {
        "to": "151.101.2.137",
        "port": "443",
        "rule": null,
        "programs": [
          "curl",
          "rustup-init"
        ],
        "names": [
          "static.rust-lang.org"
        ]
      }
    ],
    "contacts_not_listed": 0,
    "lookups": [
      {
        "owner": "installer",
        "programs": [
          "git-remote-https"
        ],
        "names": [
          "github.com"
        ]
      },
      {
        "owner": "installer",
        "programs": [
          "http"
        ],
        "names": [
          "archive.ubuntu.com",
          "security.ubuntu.com",
          "our local network"
        ]
      },
      {
        "owner": "repo",
        "programs": [
          "curl",
          "rustup-init"
        ],
        "names": [
          "static.rust-lang.org"
        ]
      }
    ],
    "credential_reads": [],
    "outside_writes": 1,
    "download_and_run_lines": 0,
    "malware_advisories": [],
    "vulnerabilities": [
      {
        "package": "url",
        "version": "2.5.8",
        "advisory": "RUSTSEC-2026-0592"
      }
    ],
    "secrets": 0,
    "secrets_in_tests": 0,
    "download_lines_in_tests": 0,
    "dependency_versions": 294,
    "scanned": {
      "secrets": true,
      "dependencies": true,
      "source": true
    },
    "capped_kinds": [],
    "findings_capped": false,
    "malware_checked": true,
    "scan_skips": {},
    "compiled": {
      "counts": {
        "Python wheel": 1
      },
      "paths": [
        {
          "kind": "Python wheel",
          "path": "dist/rust_store_py-4.5.1-cp312-cp312-manylinux_2_34_x86_64.whl"
        }
      ]
    },
    "installed": {
      "packages": 0,
      "malicious": [],
      "vulnerabilities": []
    },
    "installed_inventory": true,
    "installed_partial": false
  },
  "platform": "linux",
  "test_version": "readme-50a34b5550e616d7ba4d77fa12aa0fe8cf8b9e144f4d0a2e804f210966709272",
  "touched": {
    "evidence_file": "touched.json.gz",
    "linked_files": [
      "agent-events.jsonl.gz",
      "command-output.jsonl.gz"
    ],
    "network": {
      "allowed_hosts": [
        "archive.ubuntu.com",
        "security.ubuntu.com",
        "static.rust-lang.org"
      ],
      "blocked_hosts": [],
      "canary_checked": true,
      "canary_sent": false,
      "canary_sent_to": [],
      "hosts": [
        "archive.ubuntu.com",
        "security.ubuntu.com",
        "static.rust-lang.org"
      ],
      "package_registries": [
        "archive.ubuntu.com",
        "security.ubuntu.com"
      ],
      "private_address_attempts": 0,
      "recorded": true,
      "repo_hosts": [],
      "unanswered_hosts": [],
      "unattributed": [
        "static.rust-lang.org"
      ],
      "hosts_withheld": 7
    },
    "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"
}
