{
  "checker": {
    "claims": [
      {
        "claim": "Demo filters a restricted table for the caller",
        "command": "/tmp/sgvenv/bin/schemagate demo 'salary by employee'",
        "evidence": "hr_compensation is restricted to the 'payroll' role.\n\n> salary by employee\n10 of 42 objects selected\n\n  main.hr_employee\n  main.v_employee_headcount\n  main.sales_order_status\n  main.sales_invoice_draft\n  main.core_country\n  main.billing_credit_note\n  main.core_party\n  main.hr_department\n  main.sales_order\n  main.billing_invoice\n\n",
        "expected": "hr_compensation is restricted to the 'payroll' role.",
        "input": "salary by employee",
        "kind": "claim",
        "outcome": "Real input produced the expected result: hr_compensation is restricted to the 'payroll' role.",
        "returncode": 0,
        "source": "schemagate demo \"salary by employee\"                                     # hr_compensation absent",
        "source_checked": true,
        "source_file": "README.md",
        "verdict": "yes"
      }
    ],
    "cycle_checks": [
      {
        "claim": "Scheduled or looping main behavior",
        "command": "",
        "evidence": "README documents direct CLI selection and an interactive studio; inspected product entry points do not expose a scheduler, recurring cycle, webhook, or one-shot cycle trigger.",
        "expected": "identify the product trigger",
        "input": "source inspection",
        "kind": "cycle",
        "outcome": "README documents direct CLI selection and an interactive studio; inspected product entry points do not expose a scheduler, recurring cycle, webhook, or one-shot cycle trigger.",
        "source": "repository entry points",
        "verdict": "yes"
      }
    ],
    "details": {
      "argv": [
        "/tmp/sgvenv/bin/schemagate",
        "demo",
        "salary by employee"
      ],
      "kind": "cli",
      "needs_browser": false,
      "needs_credentials": false,
      "returncode": 0,
      "scope": "product operation",
      "stderr": "",
      "stdout": "schemagate 1.14.0 -- demo schema, 42 objects, caller demo:analyst roles=-\nhr_compensation is restricted to the 'payroll' role.\n\n> salary by employee\n10 of 42 objects selected\n\n  main.hr_employee\n  main.v_employee_headcount\n  main.sales_order_status\n  main.sales_invoice_draft\n  main.core_country\n  main.billing_credit_note\n[excerpt truncated]",
      "working": true
    },
    "evidence_strength": "readme_checked",
    "example_checks": [
      {
        "claim": "Select relevant objects from bundled demo schema",
        "command": "/tmp/sgvenv/bin/schemagate demo 'salary by employee'",
        "deferred": false,
        "evidence": "schemagate 1.14.0 -- demo schema, 42 objects, caller demo:analyst roles=-\nhr_compensation is restricted to the 'payroll' role.\n\n> salary by employee\n10 of 42 objects selected\n\n  main.hr_employee\n  main.v_employee_headcount\n  main.sales_order_status\n  main.sales_invoice_draft\n  main.core_country\n  main.billing_credit_note\n  main.core_party\n  main.hr_department\n  main.sales_order\n  main.billing_invoice",
        "expected": "restricted hr_compensation is omitted",
        "input": "salary by employee",
        "kind": "example",
        "outcome": "command completed successfully",
        "returncode": 0,
        "source": "README.md, Same question, two callers",
        "verdict": "yes"
      }
    ],
    "status": "PASS"
  },
  "deviations": [],
  "fault_owner": null,
  "main_blocker": null,
  "operation": "Run schemagate demo against the bundled schema",
  "operation_scope": "Python 3.12.3 virtual environment; installed editable package and SQLAlchemy",
  "outcome": "working",
  "plain_failure": null,
  "steps": [
    "python3 -m venv /tmp/sgvenv",
    "/tmp/sgvenv/bin/pip install -e .",
    "/tmp/sgvenv/bin/schemagate demo \"salary by employee\"",
    "Validated and replayed probe, README claim, and example successfully"
  ],
  "stuck_step": null,
  "suggested_fix": null
}
