{
  "kind": "action_discrepancy",
  "product_version": "0.12.897",
  "wheel_sha256": "a9c3bf17b036c5f661df05ba4a02cf3afa834b44c2492f3e60fb3b66061a0a24",
  "method": "Published detector functions evaluated on authored inert events or disposable configuration files.",
  "scope": "No live agent, runtime adapter, daemon ingestion, product UI, external command or network action was exercised.",
  "cases": [
    {
      "case": "failure-then-different-tool",
      "inputs": {
        "events_newest_first": [
          {
            "event_type": "tool_call",
            "ts": "2026-09-27T12:00:02Z",
            "data": {
              "tool": "Write",
              "args": {
                "file_path": "/example/summary.txt"
              }
            }
          },
          {
            "event_type": "tool_result",
            "ts": "2026-09-27T12:00:01Z",
            "data": {
              "tool": "Bash",
              "is_error": true,
              "output": "exit code 1"
            }
          },
          {
            "event_type": "tool_call",
            "ts": "2026-09-27T12:00:00Z",
            "data": {
              "tool": "Bash",
              "args": {
                "command": "make build"
              }
            }
          }
        ]
      },
      "expected_severity": "info",
      "actual_severity": "info",
      "findings": [
        {
          "kind": "action_discrepancy",
          "session_id": "claude_code:example",
          "runtime": "claude_code",
          "severity": "info",
          "title": "agent continued after a failed command",
          "detail": "After Bash failed, the agent ran another command without retrying or acknowledging the error. This may mean it proceeded as if the step had succeeded. You can Stop or Pause this agent from the ClawMetry dashboard or device.",
          "evidence": {
            "failed_tool": "Bash",
            "continued_as": "tool_call"
          },
          "first_bad_step": 1,
          "spend_at_risk_usd": 0.0,
          "spend_basis": "unknown",
          "burn_rate_usd_per_min": 0.0,
          "session_cost_usd": 0.0,
          "frameworks": {
            "mapping_version": "2026-09-27.1",
            "owasp_llm": [
              "LLM07:2026"
            ],
            "owasp_asi": [],
            "atlas": [],
            "mapped": true,
            "mode": "detect",
            "pre_action_control": false
          }
        }
      ]
    },
    {
      "case": "failure-then-retry",
      "inputs": {
        "events_newest_first": [
          {
            "event_type": "tool_call",
            "ts": "2026-09-27T12:00:02Z",
            "data": {
              "tool": "Bash",
              "args": {
                "command": "make build"
              }
            }
          },
          {
            "event_type": "tool_result",
            "ts": "2026-09-27T12:00:01Z",
            "data": {
              "tool": "Bash",
              "is_error": true,
              "output": "exit code 1"
            }
          },
          {
            "event_type": "tool_call",
            "ts": "2026-09-27T12:00:00Z",
            "data": {
              "tool": "Bash",
              "args": {
                "command": "make build"
              }
            }
          }
        ]
      },
      "expected_severity": null,
      "actual_severity": null,
      "findings": []
    }
  ]
}
