{
  "schema_version": 1,
  "run_id": "badmintoncryer--cdk-preflight-gpt-6-luna-1796195870121669351",
  "date": "2026-12-02T08:04:24.954648+00:00",
  "repo": "badmintoncryer/cdk-preflight",
  "model": "gpt-6-luna",
  "kind": "repo",
  "mcp": "none",
  "commit": "c3b48ea12d6b27b982c537da488e61904b3def99",
  "outcome": "pass",
  "time_to_working_s": 2678.5482439329935,
  "install_s": 0.903,
  "first_use_s": 1.681,
  "stuck_step": null,
  "what_failed": null,
  "suggested_fix": null,
  "what_it_did": "Check standalone CloudFormation JSON for the malformed metric filter pattern documented in the README",
  "needs": [],
  "needs_which": null,
  "missing": null,
  "claims": [
    {
      "kind": "claim",
      "claim": "CloudFormation template checks detect constraints missing from provider schemas",
      "source": "Some CloudFormation constraints are not expressed in resource provider schemas — they live only in documentation, in service API validation, or across multiple properties.",
      "input": ".coldpass/metric-bad.json with FilterPattern '[time, level=ERROR, msg'",
      "expected": "pf-logs-filter-pattern-bracket finding for malformed pattern",
      "command": "node lib/cli.js check --warn .coldpass/metric-bad.json",
      "verdict": "yes",
      "outcome": "Real input produced the expected result: The metric filter pattern starts with '[' but does not end with ']'",
      "evidence": "…The metric filter pattern starts with '[' but does not end with ']'; the service rejects it with \"If a filter pattern starts with '[' it must end with ']'\" (CloudFormation Validate)\n   metric-bad/Template/BadFilter (BadFilter) aws-cdk-lib.aws_logs.CfnMetricFilter\n   Suggested fix: Close the bracket — a space-delimited pattern is [field1, field2, ...]\n   Acknowledge with 'CloudFormation-Validate::pf-logs-filter-pattern-bracket'\n\nA copy of this report can be found in: /tmp/cdk-preflight-check-wh9ke1/validation-report.json\ncdk-preflight: checked 1 template(s)\n",
      "cwd": "<guest-path>",
      "hardware_prerequisite": null,
      "returncode": 0,
      "stdout": "",
      "stderr": "cli.js:208:13\nWARNING FilterPattern: The metric filter pattern starts with '[' but does not end with ']'; the service rejects it with \"If a filter pattern starts with '[' it must end with ']'\" (CloudFormation Validate)\n   metric-bad/Template/BadFilter (BadFilter) aws-cdk-lib.aws_logs.CfnMetricFilter\n   Suggested fix: Close the bracket — a space-delimited pattern is [field1, field2, ...]\n   Acknowledge with 'CloudFormation-Validate::pf-logs-filter-pattern-bracket'\n\nA copy of this report can be found in: /tmp/cdk-preflight-check-wh9ke1/validation-report.json\ncdk-preflight: checked 1 template(s)\n",
      "output_truncated": true,
      "source_checked": true,
      "source_file": "README.md"
    }
  ],
  "example_checks": [
    {
      "kind": "example",
      "claim": "README standalone CloudFormation template check",
      "source": "README.md, With a CloudFormation template",
      "input": ".coldpass/metric-good.json with a correctly closed filter pattern",
      "command": "node lib/cli.js check .coldpass/metric-good.json",
      "evidence": "cdk-preflight: checked 1 template(s), no errors",
      "deferred": false,
      "expected": "checked 1 template(s), no errors",
      "hardware_prerequisite": null,
      "returncode": 0,
      "native_crash": false,
      "stdout": "",
      "stderr": "cdk-preflight: checked 1 template(s), no errors\n",
      "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 src/cli.ts, src/index.ts, package.json scripts, and README entrypoints. The product exposes one-shot init/check CLI operations and CDK validation at synth time; no product cron, looping runner, webhook, --once, or --now cycle trigger is documented.",
      "evidence": "Inspected src/cli.ts, src/index.ts, package.json scripts, and README entrypoints. The product exposes one-shot init/check CLI operations and CDK validation at synth time; no product cron, looping runner, webhook, --once, or --now cycle trigger is documented.",
      "command": ""
    }
  ],
  "maintenance": {
    "archived": false,
    "ci_commit": "7e5795f2581413d9481047a393c7704b3c3d84a4",
    "ci_read_at": "2026-11-15T20:38:49Z",
    "ci_state": "SUCCESS",
    "commits_90d": 312,
    "last_commit_at": "2026-11-08T10:50:18Z",
    "last_release_at": "2026-11-08T10:58:20Z",
    "median_reply_hours": 16.5,
    "merged_prs_90d": 268,
    "note": "actively maintained: last commit 0 days ago; 312 commits and 268 merged PRs in 90 days; 10 open issues, 2 open PRs; 1 of 2 recent threads got a maintainer reply, median first reply 16.5h; latest release 2026-11-08",
    "open_issues": 10,
    "open_prs": 2,
    "reply_share": 0.5,
    "reply_threads": 2,
    "verdict": "maintained"
  },
  "dependencies": [
    "Node.js 22.23.4",
    "npm 10.9.9",
    "Python 3.12.3",
    "aws-cdk-lib 2.278.0",
    "constructs 10.5.1"
  ],
  "local_or_hosted": "local",
  "readme_deviations": [
    "Used the checkout's compiled CLI entrypoint node lib/cli.js instead of npx cdkpf, since this source checkout has no installed cdkpf executable; command and template format follow the README's check example."
  ],
  "safety": {
    "version": "z2x-1",
    "summary": "Review signals: 1 connection review, 30 hardcoded secret, 19 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": true,
    "lookups_recorded": true,
    "unsorted_blocked_ports": [],
    "contacts": [
      {
        "to": "185.199.108.133",
        "port": "443",
        "rule": null,
        "programs": [
          "node"
        ],
        "names": [
          "raw.githubusercontent.com"
        ]
      },
      {
        "to": "185.199.110.133",
        "port": "443",
        "rule": null,
        "programs": [
          "node"
        ],
        "names": [
          "raw.githubusercontent.com"
        ]
      }
    ],
    "contacts_not_listed": 0,
    "lookups": [
      {
        "owner": "installer",
        "programs": [
          "git-remote-https"
        ],
        "names": [
          "github.com"
        ]
      },
      {
        "owner": "installer",
        "programs": [
          "node"
        ],
        "names": [
          "registry.npmjs.org"
        ]
      },
      {
        "owner": "repo",
        "programs": [
          "node"
        ],
        "names": [
          "raw.githubusercontent.com"
        ]
      }
    ],
    "credential_reads": [],
    "outside_writes": 0,
    "download_and_run_lines": 0,
    "malware_advisories": [],
    "vulnerabilities": [
      {
        "package": "brace-expansion",
        "version": "1.1.18",
        "advisory": "GHSA-6j4f-fj2g-mc7p"
      },
      {
        "package": "brace-expansion",
        "version": "1.1.18",
        "advisory": "GHSA-q2hr-2g5m-vwhr"
      },
      {
        "package": "brace-expansion",
        "version": "1.1.18",
        "advisory": "GHSA-qhr7-859c-m2p7"
      },
      {
        "package": "brace-expansion",
        "version": "2.1.4",
        "advisory": "GHSA-6j4f-fj2g-mc7p"
      },
      {
        "package": "brace-expansion",
        "version": "2.1.4",
        "advisory": "GHSA-q2hr-2g5m-vwhr"
      },
      {
        "package": "brace-expansion",
        "version": "2.1.4",
        "advisory": "GHSA-qhr7-859c-m2p7"
      },
      {
        "package": "brace-expansion",
        "version": "5.0.9",
        "advisory": "GHSA-6j4f-fj2g-mc7p"
      },
      {
        "package": "brace-expansion",
        "version": "5.0.9",
        "advisory": "GHSA-q2hr-2g5m-vwhr"
      },
      {
        "package": "brace-expansion",
        "version": "5.0.9",
        "advisory": "GHSA-qhr7-859c-m2p7"
      },
      {
        "package": "cross-spawn",
        "version": "7.0.6",
        "advisory": "GHSA-ghv9-86vm-4v8m"
      },
      {
        "package": "fast-xml-parser",
        "version": "5.11.1",
        "advisory": "GHSA-474x-hrwr-fgx4"
      },
      {
        "package": "fast-xml-parser",
        "version": "5.11.1",
        "advisory": "GHSA-7cfw-w2rf-f3jc"
      },
      {
        "package": "glob",
        "version": "10.5.0",
        "advisory": "GHSA-3g3m-2fjr-6pw4"
      },
      {
        "package": "glob",
        "version": "13.0.6",
        "advisory": "GHSA-3g3m-2fjr-6pw4"
      },
      {
        "package": "glob",
        "version": "13.0.6",
        "advisory": "GHSA-qxr8-q827-836c"
      },
      {
        "package": "minimatch",
        "version": "10.2.6",
        "advisory": "GHSA-c859-jr93-m5j4"
      },
      {
        "package": "minimatch",
        "version": "10.2.6",
        "advisory": "GHSA-g3hv-75wg-m249"
      },
      {
        "package": "minimatch",
        "version": "9.0.9",
        "advisory": "GHSA-c859-jr93-m5j4"
      },
      {
        "package": "minimatch",
        "version": "9.0.9",
        "advisory": "GHSA-g3hv-75wg-m249"
      }
    ],
    "secrets": 30,
    "secrets_in_tests": 0,
    "download_lines_in_tests": 0,
    "dependency_versions": 795,
    "scanned": {
      "secrets": true,
      "dependencies": true,
      "source": true
    },
    "capped_kinds": [],
    "findings_capped": false,
    "malware_checked": true,
    "scan_skips": {},
    "compiled": {
      "counts": {},
      "paths": []
    },
    "installed": {
      "packages": 757,
      "malicious": [],
      "vulnerabilities": [
        {
          "package": "brace-expansion",
          "version": "1.1.18",
          "advisory": "GHSA-6j4f-fj2g-mc7p"
        },
        {
          "package": "brace-expansion",
          "version": "1.1.18",
          "advisory": "GHSA-q2hr-2g5m-vwhr"
        },
        {
          "package": "brace-expansion",
          "version": "1.1.18",
          "advisory": "GHSA-qhr7-859c-m2p7"
        },
        {
          "package": "brace-expansion",
          "version": "2.1.4",
          "advisory": "GHSA-6j4f-fj2g-mc7p"
        },
        {
          "package": "brace-expansion",
          "version": "2.1.4",
          "advisory": "GHSA-q2hr-2g5m-vwhr"
        },
        {
          "package": "brace-expansion",
          "version": "2.1.4",
          "advisory": "GHSA-qhr7-859c-m2p7"
        },
        {
          "package": "cross-spawn",
          "version": "7.0.6",
          "advisory": "GHSA-ghv9-86vm-4v8m"
        },
        {
          "package": "fast-xml-parser",
          "version": "5.11.1",
          "advisory": "GHSA-474x-hrwr-fgx4"
        },
        {
          "package": "fast-xml-parser",
          "version": "5.11.1",
          "advisory": "GHSA-7cfw-w2rf-f3jc"
        },
        {
          "package": "glob",
          "version": "10.5.0",
          "advisory": "GHSA-3g3m-2fjr-6pw4"
        },
        {
          "package": "glob",
          "version": "13.0.6",
          "advisory": "GHSA-3g3m-2fjr-6pw4"
        },
        {
          "package": "glob",
          "version": "13.0.6",
          "advisory": "GHSA-qxr8-q827-836c"
        },
        {
          "package": "minimatch",
          "version": "10.2.6",
          "advisory": "GHSA-c859-jr93-m5j4"
        },
        {
          "package": "minimatch",
          "version": "10.2.6",
          "advisory": "GHSA-g3hv-75wg-m249"
        },
        {
          "package": "minimatch",
          "version": "9.0.9",
          "advisory": "GHSA-c859-jr93-m5j4"
        },
        {
          "package": "minimatch",
          "version": "9.0.9",
          "advisory": "GHSA-g3hv-75wg-m249"
        }
      ]
    },
    "installed_inventory": true,
    "installed_partial": true
  },
  "platform": "linux",
  "test_version": "readme-bca2c94a8f9d5b14128cef57298e07bb570089938070cfb88c6778c2916a0275",
  "touched": {
    "evidence_file": "touched.json.gz",
    "linked_files": [
      "agent-events.jsonl.gz",
      "command-output.jsonl.gz"
    ],
    "network": {
      "allowed_hosts": [
        "github.com",
        "raw.githubusercontent.com",
        "registry.npmjs.org"
      ],
      "blocked_hosts": [],
      "canary_checked": true,
      "canary_sent": false,
      "canary_sent_to": [],
      "hosts": [
        "github.com",
        "raw.githubusercontent.com",
        "registry.npmjs.org"
      ],
      "package_registries": [
        "registry.npmjs.org"
      ],
      "private_address_attempts": 0,
      "recorded": true,
      "repo_hosts": [
        "raw.githubusercontent.com"
      ],
      "unanswered_hosts": [],
      "unattributed": [],
      "hosts_withheld": 1
    },
    "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"
}
