{
  "schema_version": 1,
  "run_id": "emeraldleaf--okl-gpt-6-luna-1795527240969548210",
  "date": "2026-11-24T13:38:22.646561+00:00",
  "repo": "emeraldleaf/okl",
  "model": "gpt-6-luna",
  "kind": "mcp",
  "mcp": "local",
  "commit": "af4c4c6fc183f5257bb29206bfcf6aab599a863e",
  "outcome": "pass",
  "time_to_working_s": 221.6751111560152,
  "install_s": 58.834,
  "first_use_s": 49.293,
  "stuck_step": null,
  "what_failed": null,
  "suggested_fix": null,
  "what_it_did": "Call the okl_check MCP tool with the task 'order owner scope' and inspect its returned briefing.",
  "needs": [],
  "needs_which": null,
  "missing": null,
  "claims": [
    {
      "kind": "claim",
      "claim": "The MCP check tool briefs applicable engineering lessons for a task.",
      "source": "**Keeps your coding agent true to your rules, specs and docs. Keeps them true to the code. Keeps learning as you build.**",
      "input": "{\"tool\": \"okl_check\", \"arguments\": {\"task\": \"order owner scope\"}}",
      "expected": "The returned briefing includes the ownership scope lesson.",
      "command": "<guest-path> mcp tools/call {\"tool\": \"okl_check\", \"arguments\": {\"task\": \"order owner scope\"}}",
      "verdict": "yes",
      "outcome": "Real input produced the expected result: Missing ownership scope check is an IDOR",
      "evidence": "…Missing ownership scope check is an IDOR (CWE-639) and slips through tests-by-omission** [seed:dotnet-defects:nc_idor] *(UNCHECKED)* — when you see: an endpoint fetches an entity by id with no owner/tenant predicate\\n    → add the caller's owner id to the WHERE clause; return 404 (not 403) on no match\\n    why: A resource endpoint that doesn't scope by the caller's identity leaks other users' data. Portable fix: push the ownership predicate INTO the query (read handlers) or check on the tracked entity (write\\n\\n> 2 lesson(s) marked UNCHECKED have no observed check behind them: treat them as ad",
      "source_checked": true,
      "source_file": "README.md"
    }
  ],
  "example_checks": [
    {
      "kind": "example",
      "claim": "The Quickstart checks that a task receives relevant lessons.",
      "source": "README.md Quickstart, step 4",
      "input": "add an endpoint that returns an order for the logged-in user",
      "command": "<guest-path> check --task 'add an endpoint that returns an order for the logged-in user'",
      "evidence": "style convention; enforce D100-D104; add the section rules only for generated API docs\n- [seed:dotnet-decisions:pd_rate_limit_expensive_endpoints] Rate-limit the endpoints backed by expensive unindexable queries — before one client can DOS the database *(UNCHECKED)* — named central policies, applied selectively; search/payment/auth first\n- [seed:dotnet-canon:r_grep_to_zero] An identifier sweep is done when grep returns zero — not when the docs you remembered are updated *(UNCHECKED)* — grep every removed public identifier to zero across md/comments/CI/scripts; tombstone it so CI holds the line",
      "deferred": false,
      "expected": "An OKL briefing is printed for that task.",
      "hardware_prerequisite": null,
      "returncode": 0,
      "native_crash": false,
      "stdout": "yle convention; enforce D100-D104; add the section rules only for generated API docs\n- [seed:dotnet-decisions:pd_rate_limit_expensive_endpoints] Rate-limit the endpoints backed by expensive unindexable queries — before one client can DOS the database *(UNCHECKED)* — named central policies, applied selectively; search/payment/auth first\n- [seed:dotnet-canon:r_grep_to_zero] An identifier sweep is done when grep returns zero — not when the docs you remembered are updated *(UNCHECKED)* — grep every removed public identifier to zero across md/comments/CI/scripts; tombstone it so CI holds the line\n\n",
      "stderr": "",
      "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 task workflow and src/okl/cli entrypoints. The product runs checks, records lessons, and exposes hooks invoked by Claude Code or MCP clients; no product-owned cron, scheduled loop, webhook trigger, --once, or --now cycle is documented. CI workflow scheduling is external setup, not a product cycle.",
      "evidence": "Inspected README task workflow and src/okl/cli entrypoints. The product runs checks, records lessons, and exposes hooks invoked by Claude Code or MCP clients; no product-owned cron, scheduled loop, webhook trigger, --once, or --now cycle is documented. CI workflow scheduling is external setup, not a product cycle.",
      "command": ""
    }
  ],
  "maintenance": {
    "archived": false,
    "ci_commit": "34df8a737bd3cd5faf38bdec88bd65af38c1746f",
    "ci_read_at": "2026-11-18T03:18:58Z",
    "ci_state": "SUCCESS",
    "commits_90d": 2110,
    "last_commit_at": "2026-11-17T13:15:01Z",
    "last_release_at": "2026-11-15T16:12:30Z",
    "median_reply_hours": null,
    "merged_prs_90d": 268,
    "note": "actively maintained: last commit 0 days ago; 2110 commits and 268 merged PRs in 90 days; 108 open issues, 1 open PRs; latest release 2026-11-15",
    "open_issues": 108,
    "open_prs": 1,
    "reply_share": null,
    "reply_threads": 0,
    "verdict": "maintained"
  },
  "dependencies": [
    "Python 3.12.3",
    "mcp 2.3.0 installed in .venv",
    "Git"
  ],
  "local_or_hosted": "local",
  "readme_deviations": [],
  "safety": {
    "version": "z2x-1",
    "summary": "Review signals: 1 hardcoded secret.",
    "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": 1,
    "secrets_in_tests": 0,
    "download_lines_in_tests": 0,
    "dependency_versions": 91,
    "scanned": {
      "secrets": true,
      "dependencies": true,
      "source": true
    },
    "capped_kinds": [],
    "findings_capped": false,
    "malware_checked": true,
    "scan_skips": {},
    "compiled": {
      "counts": {},
      "paths": []
    },
    "installed": {
      "packages": 37,
      "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-10a3f8b756dc3e74ff7fc010b0a0fc05e98287569cac69bf81c7495b91ff1eda",
  "touched": {
    "evidence_file": "touched.json.gz",
    "linked_files": [
      "agent-events.jsonl.gz",
      "command-output.jsonl.gz"
    ],
    "network": {
      "allowed_hosts": [
        "files.pythonhosted.org",
        "github.com",
        "pypi.org"
      ],
      "blocked_hosts": [],
      "canary_checked": true,
      "canary_sent": false,
      "canary_sent_to": [],
      "hosts": [
        "files.pythonhosted.org",
        "github.com",
        "pypi.org"
      ],
      "package_registries": [
        "files.pythonhosted.org",
        "pypi.org"
      ],
      "private_address_attempts": 0,
      "recorded": true,
      "repo_hosts": [],
      "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"
}
