{
  "schema_version": 1,
  "run_id": "datnguye--dbterd-gpt-6-luna-1795123697992815827",
  "date": "2026-11-19T21:34:42.130417+00:00",
  "repo": "datnguye/dbterd",
  "model": "gpt-6-luna",
  "kind": "repo",
  "mcp": "none",
  "commit": "51f975c622b1cfba4ba5fef60d752f85f14a9d4a",
  "outcome": "pass",
  "time_to_working_s": 332.8637449710004,
  "install_s": 38.75,
  "first_use_s": 198.359,
  "stuck_step": null,
  "what_failed": null,
  "suggested_fix": null,
  "what_it_did": "Generate ERD-as-code from dbt artifacts",
  "needs": [],
  "needs_which": null,
  "missing": null,
  "claims": [
    {
      "kind": "claim",
      "claim": "dbterd transforms dbt artifact files or metadata into multiple diagram formats",
      "source": "Transform your dbt artifact files or metadata into stunning Entity Relationship Diagrams using multiple formats: DBML, Mermaid, PlantUML, GraphViz, D2, DrawDB, and a canonical JSON payload",
      "input": "samples/dbtresto manifest.json and catalog.json",
      "expected": "A canonical JSON payload with nodes and edges, including model.dbt_resto.dim_box",
      "command": "<guest-path> run -ad samples/dbtresto -t json -ofn coldpass-claim.json -o target/coldpass-output-checker-b2ba1135ab1449a1b9685684bc9965ff",
      "verdict": "yes",
      "outcome": "Real input produced the expected result: \"model.dbt_resto.dim_box\"",
      "evidence": "…\"model.dbt_resto.dim_box\", \"name\": \"model.dbt_resto.dim_box\", \"label\": null, \"description\": \"Box Dimension\", \"resource_type\": \"model\", \"schema_name\": \"mart\", \"database\": \"msdb\", \"columns\": [{\"name\": \"box_key\", \"data_type\": \"varchar\", \"description\": \"Dim key\", \"is_primary_key\": false, \"is_foreign_key\": false}, {\"name\": \"box_id\", \"data_type\": \"varchar\", \"description\": \"Box ID\", \"is_primary_key\": false, \"is_foreign_key\": false}, {\"name\": \"box_date\", \"data_type\": \"date\", \"description\": \"Box date\", \"is_primary_key\": false, \"is_foreign_key\": false}, {\"name\": \"box_result_numbers\", \"data_type\": \"nvarc",
      "hardware_prerequisite": null,
      "returncode": 0,
      "stdout": "",
      "stderr": "m_values, relax_extra_fields (file.py:98)\u001b[0m\n\u001b[38;20m2026-11-19 21:34:15,987 - dbterd - INFO - Auto-detected catalog version: 1 (executor.py:272)\u001b[0m\n\u001b[38;20m2026-11-19 21:34:15,988 - dbterd - INFO - Patching catalog v1 with policies: relax_checksum_objects, relax_enum_values, relax_extra_fields (file.py:98)\u001b[0m\n\u001b[38;20m2026-11-19 21:34:16,002 - dbterd - INFO - Collected 23 table(s) and 10 relationship(s) (algo.py:136)\u001b[0m\n\u001b[38;20m2026-11-19 21:34:16,014 - dbterd - INFO - Output saved to target/coldpass-output-checker-b2ba1135ab1449a1b9685684bc9965ff/coldpass-claim.json (executor.py:317)\u001b[0m\n",
      "output_truncated": true,
      "file_checked": true,
      "file_excerpt": "{\"$schema\": \"https://dbterd.datnguye.me/latest/schemas/erd/0.1.dev1+g51f975c/erd.json\", \"nodes\": [{\"id\": \"model.dbt_resto.dim_box\", \"name\": \"model.dbt_resto.dim_box\", \"label\": null, \"description\": \"Box Dimension\", \"resource_type\": \"model\", \"schema_name\": \"mart\", \"database\": \"msdb\", \"columns\": [{\"name\": \"box_key\", \"data_type\": \"varchar\", \"description\": \"Dim key\", \"is_primary_key\": false, \"is_foreign_key\": false}, {\"name\": \"box_id\", \"data_type\": \"varchar\", \"description\": \"Box ID\", \"is_primary_key\": false, \"is_foreign_key\": false}, {\"name\": \"box_date\", \"data_type\": \"date\", \"description\": \"Box dat",
      "source_checked": true,
      "source_file": "README.md"
    }
  ],
  "example_checks": [
    {
      "kind": "example",
      "claim": "README CLI quick start generates an ERD from the dbtresto sample",
      "source": "README.md Quick Start",
      "input": "samples/dbtresto",
      "command": "<guest-path> run -ad samples/dbtresto -ofn coldpass-example.dbml -o target/coldpass-output-checker-caa1805e365b4c1489feeb67aaa160bc",
      "evidence": "s_3\" > \"model.dbt_resto.dim_date\".\"date_key\"\nRef: \"model.dbt_resto.fact_number\".\"last_appearance_pos_4\" > \"model.dbt_resto.dim_date\".\"date_key\"\nRef: \"model.dbt_resto.fact_number\".\"last_appearance_pos_5\" > \"model.dbt_resto.dim_date\".\"date_key\"\nRef: \"model.dbt_resto.fact_number\".\"last_appearance_pos_6\" > \"model.dbt_resto.dim_date\".\"date_key\"\nRef: \"model.dbt_resto.fact_result\".\"box_key\" > \"model.dbt_resto.dim_box\".\"box_key\"\nRef: \"model.dbt_resto.fact_result\".\"date_key\" > \"model.dbt_resto.dim_date\".\"date_key\"\nRef: \"model.dbt_resto.fact_result\".\"prize_key\" > \"model.dbt_resto.dim_prize\".\"prize_key\"\n",
      "deferred": false,
      "expected": "DBML ERD saved at target/output.dbml",
      "hardware_prerequisite": null,
      "returncode": 0,
      "native_crash": false,
      "stdout": "",
      "stderr": "values, relax_extra_fields (file.py:98)\u001b[0m\n\u001b[38;20m2026-11-19 21:34:23,546 - dbterd - INFO - Auto-detected catalog version: 1 (executor.py:272)\u001b[0m\n\u001b[38;20m2026-11-19 21:34:23,546 - dbterd - INFO - Patching catalog v1 with policies: relax_checksum_objects, relax_enum_values, relax_extra_fields (file.py:98)\u001b[0m\n\u001b[38;20m2026-11-19 21:34:23,557 - dbterd - INFO - Collected 23 table(s) and 10 relationship(s) (algo.py:136)\u001b[0m\n\u001b[38;20m2026-11-19 21:34:23,559 - dbterd - INFO - Output saved to target/coldpass-output-checker-caa1805e365b4c1489feeb67aaa160bc/coldpass-example.dbml (executor.py:317)\u001b[0m\n",
      "output_truncated": true,
      "file_checked": true,
      "file_excerpt": "//Tables (based on the selection criteria)\n//--configured at schema: msdb.mart\nTable \"model.dbt_resto.dim_box\" {\n  \"box_key\" \"varchar\" [note: \"Dim key\"]\n  \"box_id\" \"varchar\" [note: \"Box ID\"]\n  \"box_date\" \"date\" [note: \"Box date\"]\n  \"box_result_numbers\" \"nvarchar\" [note: \"Set of numbers as box result\"]\n  \"box_result_number_1\" \"int\" [note: \"Result number at position 1\"]\n  \"box_result_number_2\" \"int\" [note: \"Result number at position 2\"]\n  \"box_result_number_3\" \"int\" [note: \"Result number at position 3\"]\n  \"box_result_number_4\" \"int\" [note: \"Result number at position 4\"]\n  \"box_result_number_5\" \"",
      "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 Quick Start and CLI entrypoints; dbterd is a one-shot artifact-to-diagram CLI, with no scheduled cycle, cron, loop, or webhook behavior advertised.",
      "evidence": "Inspected README Quick Start and CLI entrypoints; dbterd is a one-shot artifact-to-diagram CLI, with no scheduled cycle, cron, loop, or webhook behavior advertised.",
      "command": ""
    }
  ],
  "maintenance": {
    "archived": false,
    "ci_commit": "51f975c622b1cfba4ba5fef60d752f85f14a9d4a",
    "ci_read_at": "2026-11-19T07:02:37Z",
    "ci_state": "SUCCESS",
    "commits_90d": 19,
    "last_commit_at": "2026-11-19T06:59:32Z",
    "last_release_at": "2026-11-19T06:59:54Z",
    "median_reply_hours": 13.0,
    "merged_prs_90d": 16,
    "note": "actively maintained: last commit 0 days ago; 19 commits and 16 merged PRs in 90 days; 0 open issues, 0 open PRs; 23 of 29 recent threads got a maintainer reply, median first reply 13.0h; latest release 2026-11-19",
    "open_issues": 0,
    "open_prs": 0,
    "reply_share": 0.79,
    "reply_threads": 29,
    "verdict": "maintained"
  },
  "dependencies": [
    "Python 3.12.3",
    "pip",
    "dbterd runtime dependencies (installed in .venv)"
  ],
  "local_or_hosted": "local",
  "readme_deviations": [
    "The README Quick Start command assumes target/ exists; the first run failed with [Errno 2] for target/output.dbml. Creating the target directory allowed it to complete."
  ],
  "safety": {
    "version": "z2x-1",
    "summary": "Review signals: 9 known vulnerability.",
    "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": [
      {
        "package": "filelock",
        "version": "3.29.4",
        "advisory": "GHSA-567q-5qvw-pf92"
      },
      {
        "package": "filelock",
        "version": "3.29.4",
        "advisory": "GHSA-69hj-f68j-2879"
      },
      {
        "package": "filelock",
        "version": "3.29.4",
        "advisory": "GHSA-8mx5-7m5m-r77g"
      },
      {
        "package": "filelock",
        "version": "3.29.4",
        "advisory": "GHSA-9vhv-jxww-xfm5"
      },
      {
        "package": "filelock",
        "version": "3.29.4",
        "advisory": "GHSA-cwqr-hh33-gh44"
      },
      {
        "package": "filelock",
        "version": "3.29.4",
        "advisory": "GHSA-fq56-3cx3-fjxp"
      },
      {
        "package": "filelock",
        "version": "3.29.4",
        "advisory": "GHSA-j8f7-rjxc-mr56"
      },
      {
        "package": "filelock",
        "version": "3.29.4",
        "advisory": "GHSA-rfpc-qcw5-3pc4"
      },
      {
        "package": "filelock",
        "version": "3.29.4",
        "advisory": "GHSA-v4x8-3wr5-3wq8"
      }
    ],
    "secrets": 0,
    "secrets_in_tests": 0,
    "download_lines_in_tests": 0,
    "dependency_versions": 110,
    "scanned": {
      "secrets": true,
      "dependencies": true,
      "source": true
    },
    "capped_kinds": [],
    "findings_capped": false,
    "malware_checked": true,
    "scan_skips": {},
    "compiled": {
      "counts": {},
      "paths": []
    },
    "installed": {
      "packages": 18,
      "malicious": []
    },
    "installed_inventory": false,
    "installed_partial": false
  },
  "platform": "linux",
  "test_version": "readme-cbf021c4eed1f39b99d1d12d465f8351536b5ac2224b9f3af0849206e0a48951",
  "touched": {
    "evidence_file": "touched.json.gz",
    "linked_files": [
      "agent-events.jsonl.gz",
      "command-output.jsonl.gz"
    ],
    "network": {
      "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,
      "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"
}
