{
  "checker": {
    "details": {
      "checks": [
        {
          "check": "install",
          "details": {
            "argv": [
              "node",
              "bin/agentrq-ws.js",
              "help"
            ],
            "kind": "cli",
            "needs_browser": false,
            "needs_credentials": false,
            "returncode": 0,
            "scope": "partial: install",
            "stderr": "",
            "stdout": "agentrq-ws 0.11.3 \u2014 AgentRQ workspace client\n\nDrives the workspace named by the .mcp.json in the current directory (or the\nnearest one above it), using the same tools an agent would, without spending an\nagent's tokens to do it.\n\nUsage: agentrq-ws <command> [options]\n\nCommands:\n  workspace       Show the workspace title and mission\n  task get        Fetch a task by id, optionally with its conversation\n  task next       Take the next not-started task (dequeues the work queue)\n[excerpt truncated]",
            "working": false
          },
          "optional": false,
          "status": "PASS"
        },
        {
          "check": "credentials_error",
          "details": {
            "credentials_error": "Remote MCP authentication required (HTTP 401)",
            "hosting": "remote",
            "kind": "mcp_http",
            "needs_credentials": true,
            "scope": "remote hosted MCP initialize + tools/list",
            "transport": "streamable-http",
            "url": "https://mcp.agentrq.com/mcp",
            "working": false
          },
          "optional": false,
          "status": "PASS"
        }
      ],
      "scope": "partial checks",
      "working": false
    },
    "status": "PASS"
  },
  "fault_owner": "prerequisite",
  "main_blocker": "No authenticated AgentRQ account or token in this VM. The Supervisor endpoint returns 401 unauthorized without an OAuth2 token, and the workspace MCP URL requires the token from the logged-in Setup modal. This is a prerequisite (credentials), not a repo defect.",
  "operation": "Supervisor MCP tools/list at https://mcp.agentrq.com/mcp (README 'Supervisor (CoreMCP)' / 'Connecting to Supervisor (Claude Code)'). Confirmed the endpoint rejects unauthenticated requests with HTTP 401 {\"error\":{\"code\":-32000,\"message\":\"unauthorized\"}}. Also ran the local documented CLI 'node bin/agentrq-ws.js help' (README 'Driving AgentRQ from the command line'), which succeeds offline and prints the command list.",
  "operation_scope": "Covered: Node 18 install, agentrq-ws help (no credentials needed), and proof that tools/list is gated by OAuth/token. Not covered: any authenticated tools/list or tool call. Unmet prerequisites: an OAuth-authenticated AgentRQ account for the Supervisor, or a workspace MCP URL with token from the Setup modal (README 'Step 1 \u2014 .mcp.json'). Go 1.27.1+ backend build (README Prerequisites) was not attempted: apt only offers Go 1.22, and the backend's MCP endpoint needs the same credentials anyway. Frontend npm install (earlier failure, onnxruntime) was not re-run; it is outside this MCP smoke.",
  "outcome": "needs_credentials",
  "steps": [
    "Read README.md in full (no git repo present in /workspace)",
    "apt-get install -y nodejs npm (installed Node v18.19.1; cli/agentrq-ws declares node >=20.6.0 but help ran)",
    "curl -X POST https://mcp.agentrq.com/mcp tools/list without token -> HTTP 401 unauthorized",
    "node bin/agentrq-ws.js help in cli/agentrq-ws -> exit 0, prints agentrq-ws 0.11.3 command list"
  ],
  "stuck_step": "MCP tools/list (README 'Claude Code & AI Integration' / 'Supervisor (CoreMCP)' section)",
  "suggested_fix": "Provide an AgentRQ workspace MCP URL with its token (https://WORKSPACE_ID.mcp.agentrq.com/?token=<secret>) or complete the OAuth2 flow for https://mcp.agentrq.com/mcp, then rerun 'tools/list' with that auth. For a local stack, set up Google OAuth client credentials in backend/cmd/server/_config and install Go 1.27.1+ per README Prerequisites."
}
