{
  "schema_version": 1,
  "run_id": "JoseTorquato--django-dev-insights-gpt-6-luna-1795642572209990553",
  "date": "2026-11-25T21:40:08.138511+00:00",
  "repo": "JoseTorquato/django-dev-insights",
  "model": "gpt-6-luna",
  "kind": "repo",
  "mcp": "none",
  "commit": "5080a495541ac6586bbd8e813c670434dbffd949",
  "outcome": "pass",
  "time_to_working_s": 195.2797934450209,
  "install_s": 76.191,
  "first_use_s": 50.357,
  "stuck_step": null,
  "what_failed": null,
  "suggested_fix": null,
  "what_it_did": "Record and summarize database queries using QueryRecorder",
  "needs": [],
  "needs_which": null,
  "missing": null,
  "claims": [
    {
      "kind": "claim",
      "claim": "Per-request diagnostics",
      "source": "Lightweight, real-time performance diagnostics for Django development — per-request metrics printed to your console, emitted as structured JSON, or viewed in a built-in HTML panel.",
      "input": "Run three SQLite SELECT statements with different IDs under QueryRecorder.",
      "expected": "query_count=3",
      "command": "<guest-path> examples/record_queries.py",
      "verdict": "yes",
      "outcome": "Real input produced the expected result: query_count=3",
      "evidence": "query_count=3\nsimilar_query_count=3\nduplicate_query_count=0\n",
      "cwd": "<guest-path>",
      "hardware_prerequisite": null,
      "returncode": 0,
      "stdout": "query_count=3\nsimilar_query_count=3\nduplicate_query_count=0\n",
      "stderr": "",
      "output_truncated": false,
      "source_checked": true,
      "source_file": "README.md"
    },
    {
      "kind": "claim",
      "claim": "Per-request metrics",
      "source": "**Per-request metrics**: total time, DB time, query count.",
      "input": "Run three SQLite SELECT statements with different IDs under QueryRecorder.",
      "expected": "query_count=3",
      "command": "<guest-path> examples/record_queries.py",
      "verdict": "yes",
      "outcome": "Real input produced the expected result: query_count=3",
      "evidence": "query_count=3\nsimilar_query_count=3\nduplicate_query_count=0\n",
      "cwd": "<guest-path>",
      "hardware_prerequisite": null,
      "returncode": 0,
      "stdout": "query_count=3\nsimilar_query_count=3\nduplicate_query_count=0\n",
      "stderr": "",
      "output_truncated": false,
      "source_checked": true,
      "source_file": "README.md"
    },
    {
      "kind": "claim",
      "claim": "Duplicate and similar SQL detection",
      "source": "**Duplicate and similar SQL detection** — exact duplicates (same SQL, same parameters) and *similar* queries (same normalized SQL, different parameters: the classic N+1), with the file and line that ran them when tracebacks are on.",
      "input": "Run three SQLite SELECT statements with different IDs under QueryRecorder.",
      "expected": "similar_query_count=3",
      "command": "<guest-path> examples/record_queries.py",
      "verdict": "yes",
      "outcome": "Real input produced the expected result: similar_query_count=3",
      "evidence": "similar_query_count=3\nduplicate_query_count=0\n",
      "cwd": "<guest-path>",
      "hardware_prerequisite": null,
      "returncode": 0,
      "stdout": "query_count=3\nsimilar_query_count=3\nduplicate_query_count=0\n",
      "stderr": "",
      "output_truncated": false,
      "source_checked": true,
      "source_file": "README.md"
    }
  ],
  "example_checks": [
    {
      "kind": "example",
      "claim": "QueryRecorder",
      "source": "README.md",
      "input": "Three parameterized SELECT queries with IDs 1, 2, and 3",
      "command": "<guest-path> examples/record_queries.py",
      "evidence": "query_count=3\nsimilar_query_count=3\nduplicate_query_count=0",
      "deferred": false,
      "expected": "similar_query_count=3",
      "hardware_prerequisite": null,
      "returncode": 0,
      "native_crash": false,
      "stdout": "query_count=3\nsimilar_query_count=3\nduplicate_query_count=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 and package entrypoints: this is an imported Django middleware/recorder library with no cron, loop, webhook, or scheduled cycle entrypoint.",
      "evidence": "Inspected README and package entrypoints: this is an imported Django middleware/recorder library with no cron, loop, webhook, or scheduled cycle entrypoint.",
      "command": ""
    }
  ],
  "maintenance": {
    "archived": false,
    "ci_commit": "5080a495541ac6586bbd8e813c670434dbffd949",
    "ci_read_at": "2026-11-25T21:35:48Z",
    "ci_state": "SUCCESS",
    "commits_90d": 19,
    "last_commit_at": "2026-11-25T01:33:13Z",
    "last_release_at": "2026-11-25T21:19:48Z",
    "median_reply_hours": null,
    "merged_prs_90d": 7,
    "note": "actively maintained: last commit 0 days ago; 19 commits and 7 merged PRs in 90 days; 0 open issues, 0 open PRs; latest release 2026-11-25",
    "open_issues": 0,
    "open_prs": 0,
    "reply_share": null,
    "reply_threads": 0,
    "verdict": "maintained"
  },
  "dependencies": [
    "Python 3.12.3",
    "Django 5.2.7",
    "django-dev-insights 0.4.0",
    "colorama 0.4.6"
  ],
  "local_or_hosted": "local",
  "readme_deviations": [],
  "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": 19,
      "malicious": [],
      "vulnerabilities": [
        {
          "package": "django",
          "version": "5.2.7",
          "advisory": "GHSA-2mcm-79hx-8fxw"
        },
        {
          "package": "django",
          "version": "5.2.7",
          "advisory": "GHSA-33mw-q7rj-mjwj"
        },
        {
          "package": "django",
          "version": "5.2.7",
          "advisory": "GHSA-3h9f-r86x-qvjx"
        },
        {
          "package": "django",
          "version": "5.2.7",
          "advisory": "GHSA-4rrr-2h4v-f3j9"
        },
        {
          "package": "django",
          "version": "5.2.7",
          "advisory": "GHSA-5hrc-gvxj-w55p"
        },
        {
          "package": "django",
          "version": "5.2.7",
          "advisory": "GHSA-5mf9-h53q-7mhq"
        },
        {
          "package": "django",
          "version": "5.2.7",
          "advisory": "GHSA-6426-9fv3-65x8"
        },
        {
          "package": "django",
          "version": "5.2.7",
          "advisory": "GHSA-7h2m-m8vj-598h"
        },
        {
          "package": "django",
          "version": "5.2.7",
          "advisory": "GHSA-8cjm-8mp7-r2xf"
        },
        {
          "package": "django",
          "version": "5.2.7",
          "advisory": "GHSA-8p8v-wh79-9r56"
        },
        {
          "package": "django",
          "version": "5.2.7",
          "advisory": "GHSA-8qcx-xf44-272x"
        },
        {
          "package": "django",
          "version": "5.2.7",
          "advisory": "GHSA-923m-gv2p-w5qp"
        },
        {
          "package": "django",
          "version": "5.2.7",
          "advisory": "GHSA-933h-hp56-hf7m"
        },
        {
          "package": "django",
          "version": "5.2.7",
          "advisory": "GHSA-crhf-3pfg-w68w"
        },
        {
          "package": "django",
          "version": "5.2.7",
          "advisory": "GHSA-frmv-pr5f-9mcr"
        },
        {
          "package": "django",
          "version": "5.2.7",
          "advisory": "GHSA-gvg8-93h5-g6qq"
        },
        {
          "package": "django",
          "version": "5.2.7",
          "advisory": "GHSA-h7pc-vwp9-298g"
        },
        {
          "package": "django",
          "version": "5.2.7",
          "advisory": "GHSA-mjgh-79qc-68w3"
        },
        {
          "package": "django",
          "version": "5.2.7",
          "advisory": "GHSA-mm6v-q8q9-pgcf"
        },
        {
          "package": "django",
          "version": "5.2.7",
          "advisory": "GHSA-mmwr-2jhp-mc7j"
        },
        {
          "package": "django",
          "version": "5.2.7",
          "advisory": "GHSA-mvfq-ggxm-9mc5"
        },
        {
          "package": "django",
          "version": "5.2.7",
          "advisory": "GHSA-mwm9-4648-f68q"
        },
        {
          "package": "django",
          "version": "5.2.7",
          "advisory": "GHSA-pwjp-ccjc-ghwg"
        },
        {
          "package": "django",
          "version": "5.2.7",
          "advisory": "GHSA-q238-5cxm-5c9h"
        },
        {
          "package": "django",
          "version": "5.2.7",
          "advisory": "GHSA-qpc8-7fxc-cm4p"
        },
        {
          "package": "django",
          "version": "5.2.7",
          "advisory": "GHSA-qw25-v68c-qjf3"
        },
        {
          "package": "django",
          "version": "5.2.7",
          "advisory": "GHSA-rqw2-ghq9-44m7"
        },
        {
          "package": "django",
          "version": "5.2.7",
          "advisory": "GHSA-vrcr-9hj9-jcg6"
        },
        {
          "package": "django",
          "version": "5.2.7",
          "advisory": "GHSA-w26r-rmm8-9c29"
        },
        {
          "package": "django",
          "version": "5.2.7",
          "advisory": "GHSA-wvqv-fj8w-qmhm"
        },
        {
          "package": "django",
          "version": "5.2.7",
          "advisory": "PYSEC-2025-104"
        },
        {
          "package": "django",
          "version": "5.2.7",
          "advisory": "PYSEC-2025-107"
        },
        {
          "package": "django",
          "version": "5.2.7",
          "advisory": "PYSEC-2025-108"
        },
        {
          "package": "django",
          "version": "5.2.7",
          "advisory": "PYSEC-2025-109"
        },
        {
          "package": "django",
          "version": "5.2.7",
          "advisory": "PYSEC-2026-197"
        },
        {
          "package": "django",
          "version": "5.2.7",
          "advisory": "PYSEC-2026-198"
        },
        {
          "package": "django",
          "version": "5.2.7",
          "advisory": "PYSEC-2026-199"
        },
        {
          "package": "django",
          "version": "5.2.7",
          "advisory": "PYSEC-2026-200"
        },
        {
          "package": "django",
          "version": "5.2.7",
          "advisory": "PYSEC-2026-201"
        },
        {
          "package": "django",
          "version": "5.2.7",
          "advisory": "PYSEC-2026-2090"
        },
        {
          "package": "django",
          "version": "5.2.7",
          "advisory": "PYSEC-2026-2091"
        },
        {
          "package": "django",
          "version": "5.2.7",
          "advisory": "PYSEC-2026-2092"
        },
        {
          "package": "django",
          "version": "5.2.7",
          "advisory": "PYSEC-2026-2448"
        },
        {
          "package": "django",
          "version": "5.2.7",
          "advisory": "PYSEC-2026-2449"
        },
        {
          "package": "django",
          "version": "5.2.7",
          "advisory": "PYSEC-2026-3717"
        },
        {
          "package": "django",
          "version": "5.2.7",
          "advisory": "PYSEC-2026-4035"
        },
        {
          "package": "django",
          "version": "5.2.7",
          "advisory": "PYSEC-2026-42"
        },
        {
          "package": "django",
          "version": "5.2.7",
          "advisory": "PYSEC-2026-43"
        },
        {
          "package": "django",
          "version": "5.2.7",
          "advisory": "PYSEC-2026-44"
        },
        {
          "package": "django",
          "version": "5.2.7",
          "advisory": "PYSEC-2026-45"
        },
        {
          "package": "django",
          "version": "5.2.7",
          "advisory": "PYSEC-2026-46"
        },
        {
          "package": "django",
          "version": "5.2.7",
          "advisory": "PYSEC-2026-47"
        },
        {
          "package": "django",
          "version": "5.2.7",
          "advisory": "PYSEC-2026-48"
        },
        {
          "package": "django",
          "version": "5.2.7",
          "advisory": "PYSEC-2026-49"
        },
        {
          "package": "django",
          "version": "5.2.7",
          "advisory": "PYSEC-2026-50"
        },
        {
          "package": "django",
          "version": "5.2.7",
          "advisory": "PYSEC-2026-51"
        },
        {
          "package": "django",
          "version": "5.2.7",
          "advisory": "PYSEC-2026-52"
        },
        {
          "package": "django",
          "version": "5.2.7",
          "advisory": "PYSEC-2026-53"
        },
        {
          "package": "django",
          "version": "5.2.7",
          "advisory": "PYSEC-2026-54"
        },
        {
          "package": "django",
          "version": "5.2.7",
          "advisory": "PYSEC-2026-55"
        },
        {
          "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"
        },
        {
          "package": "sqlparse",
          "version": "0.5.3",
          "advisory": "GHSA-27jp-wm6q-gp25"
        },
        {
          "package": "sqlparse",
          "version": "0.5.3",
          "advisory": "GHSA-3496-9g83-7v6x"
        },
        {
          "package": "sqlparse",
          "version": "0.5.3",
          "advisory": "GHSA-cfqr-cjx5-5jcm"
        },
        {
          "package": "sqlparse",
          "version": "0.5.3",
          "advisory": "GHSA-f2ff-p2ww-7p4p"
        },
        {
          "package": "sqlparse",
          "version": "0.5.3",
          "advisory": "GHSA-prg7-hcfm-mfcr"
        },
        {
          "package": "sqlparse",
          "version": "0.5.3",
          "advisory": "GHSA-pwgv-4x5q-6m9f"
        },
        {
          "package": "sqlparse",
          "version": "0.5.3",
          "advisory": "PYSEC-2026-3696"
        },
        {
          "package": "sqlparse",
          "version": "0.5.3",
          "advisory": "PYSEC-2026-3697"
        },
        {
          "package": "sqlparse",
          "version": "0.5.3",
          "advisory": "PYSEC-2026-3698"
        },
        {
          "package": "sqlparse",
          "version": "0.5.3",
          "advisory": "PYSEC-2026-3699"
        },
        {
          "package": "sqlparse",
          "version": "0.5.3",
          "advisory": "PYSEC-2026-3923"
        }
      ]
    },
    "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": 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": "readme_checked"
}
