{
  "answers": {
    "c00": {
      "noul": 0.99,
      "type": "noul"
    },
    "c01": {
      "noul": 0.99,
      "type": "noul"
    },
    "c02": {
      "noul": 0.99,
      "type": "noul"
    },
    "c03": {
      "noul": 0.99,
      "type": "noul"
    },
    "c04": {
      "noul": 0.99,
      "type": "noul"
    },
    "c05": {
      "noul": 0.99,
      "type": "noul"
    },
    "c06": {
      "noul": 0.99,
      "type": "noul"
    },
    "c07": {
      "noul": 0.99,
      "type": "noul"
    },
    "c08": {
      "noul": 0.91,
      "type": "noul"
    },
    "w00": {
      "noul": 0.95,
      "type": "noul"
    },
    "w01": {
      "noul": 0.96,
      "type": "noul"
    },
    "w02": {
      "noul": 0.96,
      "type": "noul"
    }
  },
  "asked_at": "2026-11-23T04:00:22Z",
  "endpoint": "https://api.typesafe.ai/v1/systemone",
  "errors_helpful": [
    {
      "call": 0,
      "noul": 0.99,
      "question": "c00"
    },
    {
      "call": 1,
      "noul": 0.99,
      "question": "c01"
    },
    {
      "call": 2,
      "noul": 0.99,
      "question": "c02"
    },
    {
      "call": 3,
      "noul": 0.99,
      "question": "c03"
    },
    {
      "call": 4,
      "noul": 0.99,
      "question": "c04"
    },
    {
      "call": 5,
      "noul": 0.99,
      "question": "c05"
    },
    {
      "call": 6,
      "noul": 0.99,
      "question": "c06"
    },
    {
      "call": 7,
      "noul": 0.99,
      "question": "c07"
    },
    {
      "call": 8,
      "noul": 0.91,
      "question": "c08"
    }
  ],
  "format": "didrun.judgments.v1",
  "input_tokens": 7596,
  "method": "0.15.0",
  "model": "jev-1.14.0",
  "model_asked": "jev-1.14.0",
  "request": {
    "model": "jev-1.14.0",
    "questions": {
      "c00": {
        "criteria": {
          "false": "The reply does not point to `parameter`: for example a generic failure, an error about another argument, an error from a service the tool tried to reach, or a normal answer.",
          "true": "The reply points to `parameter` or to its value and says the value has the wrong type or is not accepted."
        },
        "instructions": {
          "arguments_sent": {
            "root": {}
          },
          "parameter": "root",
          "question": "Does `reply` tell the caller that `parameter` has a value the tool does not accept?",
          "reply": "MCP error -32602: Input validation error: Invalid arguments for tool inspect_project: Invalid input: expected string, received object at root",
          "tool": "inspect_project"
        },
        "type": "noul"
      },
      "c01": {
        "criteria": {
          "false": "The reply does not point to `parameter`: for example a generic failure, an error about another argument, an error from a service the tool tried to reach, or a normal answer.",
          "true": "The reply points to `parameter` or to its value and says the value has the wrong type or is not accepted."
        },
        "instructions": {
          "arguments_sent": {
            "root": {}
          },
          "parameter": "root",
          "question": "Does `reply` tell the caller that `parameter` has a value the tool does not accept?",
          "reply": "MCP error -32602: Input validation error: Invalid arguments for tool list_assets: Invalid input: expected string, received object at root",
          "tool": "list_assets"
        },
        "type": "noul"
      },
      "c02": {
        "criteria": {
          "false": "The reply does not point to `parameter`: for example a generic failure, an error about another argument, an error from a service the tool tried to reach, or a normal answer.",
          "true": "The reply points to `parameter` or to its value and says the value has the wrong type or is not accepted."
        },
        "instructions": {
          "arguments_sent": {
            "changed": "not a boolean"
          },
          "parameter": "changed",
          "question": "Does `reply` tell the caller that `parameter` has a value the tool does not accept?",
          "reply": "MCP error -32602: Input validation error: Invalid arguments for tool run_tests: Invalid input: expected boolean, received string at changed",
          "tool": "run_tests"
        },
        "type": "noul"
      },
      "c03": {
        "criteria": {
          "false": "The reply does not point to `parameter`: for example a generic failure, an error about another argument, an error from a service the tool tried to reach, or a normal answer.",
          "true": "The reply points to `parameter` or to its value and says the value has the wrong type or is not accepted."
        },
        "instructions": {
          "arguments_sent": {
            "keys": "not an array"
          },
          "parameter": "keys",
          "question": "Does `reply` tell the caller that `parameter` has a value the tool does not accept?",
          "reply": "MCP error -32602: Input validation error: Invalid arguments for tool fuzz: Invalid input: expected array, received string at keys",
          "tool": "fuzz"
        },
        "type": "noul"
      },
      "c04": {
        "criteria": {
          "false": "The reply names no argument of the tool: for example a generic failure, a stack trace with no argument named, an error from a service the tool tried to reach, or a normal answer.",
          "true": "The reply names at least one argument of the tool that the call left out or got wrong, and so tells the caller what to change."
        },
        "instructions": {
          "arguments_sent": {},
          "question": "Does `reply` name an argument that the call must add or fix?",
          "reply": "MCP error -32602: Input validation error: Invalid arguments for tool game_step: Invalid input: expected number, received undefined at steps",
          "tool": "game_step"
        },
        "type": "noul"
      },
      "c05": {
        "criteria": {
          "false": "The reply does not point to `parameter`: for example a generic failure, an error about another argument, an error from a service the tool tried to reach, or a normal answer.",
          "true": "The reply points to `parameter` or to its value and says the value has the wrong type or is not accepted."
        },
        "instructions": {
          "arguments_sent": {
            "steps": "not a number"
          },
          "parameter": "steps",
          "question": "Does `reply` tell the caller that `parameter` has a value the tool does not accept?",
          "reply": "MCP error -32602: Input validation error: Invalid arguments for tool game_step: Invalid input: expected number, received string at steps",
          "tool": "game_step"
        },
        "type": "noul"
      },
      "c06": {
        "criteria": {
          "false": "The reply does not point to `parameter`: for example a generic failure, an error about another argument, an error from a service the tool tried to reach, or a normal answer.",
          "true": "The reply points to `parameter` or to its value and says the value has the wrong type or is not accepted."
        },
        "instructions": {
          "arguments_sent": {
            "background": {}
          },
          "parameter": "background",
          "question": "Does `reply` tell the caller that `parameter` has a value the tool does not accept?",
          "reply": "MCP error -32602: Input validation error: Invalid arguments for tool game_capture: Invalid input: expected string, received object at background",
          "tool": "game_capture"
        },
        "type": "noul"
      },
      "c07": {
        "criteria": {
          "false": "The reply does not point to `parameter`: for example a generic failure, an error about another argument, an error from a service the tool tried to reach, or a normal answer.",
          "true": "The reply points to `parameter` or to its value and says the value has the wrong type or is not accepted."
        },
        "instructions": {
          "arguments_sent": {
            "count": "not a number"
          },
          "parameter": "count",
          "question": "Does `reply` tell the caller that `parameter` has a value the tool does not accept?",
          "reply": "MCP error -32602: Input validation error: Invalid arguments for tool game_frames: Invalid input: expected number, received string at count",
          "tool": "game_frames"
        },
        "type": "noul"
      },
      "c08": {
        "criteria": {
          "false": "The reply does not say the tool is missing: for example a generic failure, a crash, or a normal answer.",
          "true": "The reply says the tool is unknown, not found, or does not exist."
        },
        "instructions": {
          "arguments_sent": {},
          "question": "Does `reply` tell the caller that there is no tool named `tool`?",
          "reply": "MCP error -32602: Tool didrun_unknown_tool not found",
          "tool": "didrun_unknown_tool"
        },
        "type": "noul"
      },
      "w00": {
        "criteria": {
          "false": "The tool replies show an error, a missing or different result, or nothing about the task; or only the agent's final answer claims the task was done.",
          "true": "The tool replies in `steps` show the result that `done_when` describes. The result came from the server's tools, not only from the agent's own words."
        },
        "instructions": {
          "agent_final_answer": "## Setup check: `/tmp`\n\n**Overall: failed.** No live game was started. The doctor used debuff 0.35.0.\n\n### Failed checks\n\n| Check | Result | Suggested fix |\n|---|---|---|\n| `package-json` | No `package.json` in `/tmp`. | Run from the project root, or pass `--root <dir>`. |\n| `browser` | No Chromium-based browser found; `DEBUFF_BROWSER` is not set. | Install Chrome or Edge, or set `DEBUFF_BROWSER` to the full path of a Chromium-based browser executable. |\n| `agent-files` *(optional)* | `AGENTS.md`, `CLAUDE.md`, and a `.mcp.json` containing the debuff server are missing. | Copy them from a fresh `npm create debuff` project. |\n| `agent-skills` *(optional)* | No agent skills found in `.claude/skills` or `.agents/skills`. | Run `npx debuff doctor --fix` to write skills for the installed version. |\n| `agent-hooks` *(optional)* | No agent hooks found. | Run `npx debuff doctor --fix`; merge the hooks manually if the relevant settings files contain your own settings. |\n\n### Passed checks\n\n- `node-version`: Node 22.23.5.\n- `config`: No `debuff.config.ts`; defaults apply.\n- `assets`: Asset pipeline runs; it found 0 assets.\n- `saves`: No `saves.json` yet; `debuff build` writes it.\n- `tsconfig`: Nothing to change.\n- `telemetry`: On; `debuff build` registers the project anonymously.\n- `latest-version`: No failure reported, but npm could not be reached, so a newer version **was not verified**.",
          "done_when": "The transcript shows the non-live doctor results for /tmp, including the check statuses and any reported fixes.",
          "how_it_ended": "answered",
          "question": "Did the agent finish `task`, as `done_when` describes, according to the tool replies in `steps`?",
          "steps": [
            {
              "arguments": {
                "live": false,
                "root": "/tmp"
              },
              "reply": "{\n  \"debuff\": \"0.35.0\",\n  \"checks\": [\n    {\n      \"id\": \"node-version\",\n      \"group\": \"environment\",\n      \"ok\": true,\n      \"message\": \"Node 22.23.5\"\n    },\n    {\n      \"id\": \"package-json\",\n      \"group\": \"packages\",\n      \"ok\": false,\n      \"message\": \"No package.json in /tmp\",\n      \"fix\": \"Run from the project root, or pass --root <dir>\"\n    },\n    {\n      \"id\": \"config\",\n      \"group\": \"config\",\n      \"ok\": true,\n      \"message\": \"No debuff.config.ts: defaults\"\n    },\n    {\n      \"id\": \"assets\",\n      \"group\": \"assets\",\n      \"ok\": true,\n      \"message\": \"Asset pipeline runs: 0 assets\"\n    },\n    {\n      \"id\": \"saves\",\n      \"group\": \"config\",\n      \"ok\": true,\n      \"message\": \"No saves.json yet: `debuff build` writes it\"\n    },\n    {\n      \"id\": \"tsconfig\",\n      \"group\": \"config\",\n      \"required\": false,\n      \"ok\": true,\n      \"message\": \"tsconfig.json has nothing to change\"\n    },\n    {\n      \"id\": \"agent-files\",\n      \"group\": \"agents\",\n      \"ok\": false,\n      \"required\": false,\n      \"message\": \"AI agents lack project context: missing AGENTS.md, CLAUDE.md, .mcp.json with the debuff server\",\n      \"fix\": \"Copy them from a fresh `npm create debuff` project; .mcp.json needs `{ \\\"mcpServers\\\": { \\\"debuff\\\": { \\\"command\\\": \\\"npx\\\", \\\"args\\\": [\\\"-y\\\", \\\"@debuffjp/mcp\\\"] } } }`\",\n      \"repair\": {\n        \"write\": \".mcp.json\",\n        \"content\": \"{\\n  \\\"mcpServers\\\": {\\n    \\\"debuff\\\": {\\n      \\\"command\\\": \\\"npx\\\",\\n      \\\"args\\\": [\\n        \\\"-y\\\",\\n        \\\"@debuffjp/mcp\\\"\\n      ]\\n    }\\n  }\\n}\\n\"\n      }\n    },\n    {\n      \"id\": \"agent-skills\",\n      \"group\": \"agents\",\n      \"ok\": false,\n      \"required\": false,\n      \"message\": \"No agent skills in .claude/skills or .agents/skills: agents work from general knowledge instead of this debuff version\",\n      \"fix\": \"npx debuff doctor --fix writes them for the installed version (it replaces debuff's own skill files only)\",\n      \"repair\": {\n        \"skills\": \"0.35.0\"\n      }\n    },\n    {\n      \"id\": \"agent-hooks\",\n      \"group\": \"agents\",\n      \"ok\": false,\n      \"required\": false,\n      \"message\": \"No agent hooks: nothing stops an agent editing baselines or generated files, or warns about Math.random\",\n      \"fix\": \"npx debuff doctor --fix writes the hook files, and refreshes .claude/settings.json and .codex/hooks.json when they hold only debuff's hooks; merge them into one with your own settings by hand: https://debuff.jp/docs/agents#hook\",\n      \"repair\": {\n        \"hooks\": true\n      }\n    },\n    {\n      \"id\": \"browser\",\n      \"group\": \"browser\",\n      \"ok\": false,\n      \"message\": \"No Chromium-based browser found. Tried Chrome (not installed at /opt/google/chrome/chrome), Edge (not installed at /opt/microsoft/msedge/msedge), Playwright's Chromium (not installed at /home/lab/.cache/ms-playwright/chromium-1255/chrome-linux-arm64/chrome). DEBUFF_BROWSER is not set.\",\n      \"fix\": \"Install Chrome or Edge, or set DEBUFF_BROWSER to the full path of another Chromium-based browser executable, such as Chromium\"\n    },\n    {\n      \"id\": \"latest-version\",\n      \"group\": \"packages\",\n      \"required\": false,\n      \"ok\": true,\n      \"message\": \"Couldn't reach npm to check for a newer debuff\"\n    },\n    {\n      \"id\": \"telemetry\",\n      \"group\": \"environment\",\n      \"ok\": true,\n      \"required\": false,\n      \"message\": \"Telemetry is on: `debuff build` registers the project anonymously\"\n    }\n  ],\n  \"ok\": false\n}",
              "tool": "doctor"
            }
          ],
          "task": "Check the project setup in /tmp without starting a live game, and report which checks pass or fail and their suggested fixes."
        },
        "type": "noul"
      },
      "w01": {
        "criteria": {
          "false": "The tool replies show an error, a missing or different result, or nothing about the task; or only the agent's final answer claims the task was done.",
          "true": "The tool replies in `steps` show the result that `done_when` describes. The result came from the server's tools, not only from the agent's own words."
        },
        "instructions": {
          "agent_final_answer": "The setup check for `/tmp` **failed overall**. No live game was started.\n\n### Failed checks\n\n| Check | Result | Suggested fix |\n|---|---|---|\n| Package | No `package.json` in `/tmp`. | Run from the project root or pass `--root <dir>`. |\n| Browser | No Chromium-based browser found; `DEBUFF_BROWSER` is unset. | Install Chrome or Edge, or set `DEBUFF_BROWSER` to the full path of a Chromium-based browser executable. |\n| Agent files *(optional)* | Missing `AGENTS.md`, `CLAUDE.md`, and a `.mcp.json` configured for the debuff server. | Copy them from a fresh `npm create debuff` project and configure `.mcp.json` for `@debuffjp/mcp`. |\n| Agent skills *(optional)* | No skills found in `.claude/skills` or `.agents/skills`. | Run `npx debuff doctor --fix` to write the skills for the installed version. |\n| Agent hooks *(optional)* | No hooks found to guard baselines and generated files or warn about `Math.random`. | Run `npx debuff doctor --fix`; merge hook settings manually if you have your own settings. |\n\n### Passed checks\n\n- **Node:** 22.23.5.\n- **Config:** No `debuff.config.ts`; defaults will be used.\n- **Assets:** Pipeline runs; it found 0 assets.\n- **Saves:** No `saves.json` yet; `debuff build` writes it.\n- **TypeScript config:** Nothing to change.\n- **Telemetry:** On; `debuff build` registers the project anonymously.\n- **Version check:** Marked as passing, but npm could not be reached, so a newer debuff version could not be checked.",
          "done_when": "The transcript shows the non-live doctor results for /tmp, including the check statuses and any reported fixes.",
          "how_it_ended": "answered",
          "question": "Did the agent finish `task`, as `done_when` describes, according to the tool replies in `steps`?",
          "steps": [
            {
              "arguments": {
                "live": false,
                "root": "/tmp"
              },
              "reply": "{\n  \"debuff\": \"0.35.0\",\n  \"checks\": [\n    {\n      \"id\": \"node-version\",\n      \"group\": \"environment\",\n      \"ok\": true,\n      \"message\": \"Node 22.23.5\"\n    },\n    {\n      \"id\": \"package-json\",\n      \"group\": \"packages\",\n      \"ok\": false,\n      \"message\": \"No package.json in /tmp\",\n      \"fix\": \"Run from the project root, or pass --root <dir>\"\n    },\n    {\n      \"id\": \"config\",\n      \"group\": \"config\",\n      \"ok\": true,\n      \"message\": \"No debuff.config.ts: defaults\"\n    },\n    {\n      \"id\": \"assets\",\n      \"group\": \"assets\",\n      \"ok\": true,\n      \"message\": \"Asset pipeline runs: 0 assets\"\n    },\n    {\n      \"id\": \"saves\",\n      \"group\": \"config\",\n      \"ok\": true,\n      \"message\": \"No saves.json yet: `debuff build` writes it\"\n    },\n    {\n      \"id\": \"tsconfig\",\n      \"group\": \"config\",\n      \"required\": false,\n      \"ok\": true,\n      \"message\": \"tsconfig.json has nothing to change\"\n    },\n    {\n      \"id\": \"agent-files\",\n      \"group\": \"agents\",\n      \"ok\": false,\n      \"required\": false,\n      \"message\": \"AI agents lack project context: missing AGENTS.md, CLAUDE.md, .mcp.json with the debuff server\",\n      \"fix\": \"Copy them from a fresh `npm create debuff` project; .mcp.json needs `{ \\\"mcpServers\\\": { \\\"debuff\\\": { \\\"command\\\": \\\"npx\\\", \\\"args\\\": [\\\"-y\\\", \\\"@debuffjp/mcp\\\"] } } }`\",\n      \"repair\": {\n        \"write\": \".mcp.json\",\n        \"content\": \"{\\n  \\\"mcpServers\\\": {\\n    \\\"debuff\\\": {\\n      \\\"command\\\": \\\"npx\\\",\\n      \\\"args\\\": [\\n        \\\"-y\\\",\\n        \\\"@debuffjp/mcp\\\"\\n      ]\\n    }\\n  }\\n}\\n\"\n      }\n    },\n    {\n      \"id\": \"agent-skills\",\n      \"group\": \"agents\",\n      \"ok\": false,\n      \"required\": false,\n      \"message\": \"No agent skills in .claude/skills or .agents/skills: agents work from general knowledge instead of this debuff version\",\n      \"fix\": \"npx debuff doctor --fix writes them for the installed version (it replaces debuff's own skill files only)\",\n      \"repair\": {\n        \"skills\": \"0.35.0\"\n      }\n    },\n    {\n      \"id\": \"agent-hooks\",\n      \"group\": \"agents\",\n      \"ok\": false,\n      \"required\": false,\n      \"message\": \"No agent hooks: nothing stops an agent editing baselines or generated files, or warns about Math.random\",\n      \"fix\": \"npx debuff doctor --fix writes the hook files, and refreshes .claude/settings.json and .codex/hooks.json when they hold only debuff's hooks; merge them into one with your own settings by hand: https://debuff.jp/docs/agents#hook\",\n      \"repair\": {\n        \"hooks\": true\n      }\n    },\n    {\n      \"id\": \"browser\",\n      \"group\": \"browser\",\n      \"ok\": false,\n      \"message\": \"No Chromium-based browser found. Tried Chrome (not installed at /opt/google/chrome/chrome), Edge (not installed at /opt/microsoft/msedge/msedge), Playwright's Chromium (not installed at /home/lab/.cache/ms-playwright/chromium-1255/chrome-linux-arm64/chrome). DEBUFF_BROWSER is not set.\",\n      \"fix\": \"Install Chrome or Edge, or set DEBUFF_BROWSER to the full path of another Chromium-based browser executable, such as Chromium\"\n    },\n    {\n      \"id\": \"latest-version\",\n      \"group\": \"packages\",\n      \"required\": false,\n      \"ok\": true,\n      \"message\": \"Couldn't reach npm to check for a newer debuff\"\n    },\n    {\n      \"id\": \"telemetry\",\n      \"group\": \"environment\",\n      \"ok\": true,\n      \"required\": false,\n      \"message\": \"Telemetry is on: `debuff build` registers the project anonymously\"\n    }\n  ],\n  \"ok\": false\n}",
              "tool": "doctor"
            }
          ],
          "task": "Check the project setup in /tmp without starting a live game, and report which checks pass or fail and their suggested fixes."
        },
        "type": "noul"
      },
      "w02": {
        "criteria": {
          "false": "The tool replies show an error, a missing or different result, or nothing about the task; or only the agent's final answer claims the task was done.",
          "true": "The tool replies in `steps` show the result that `done_when` describes. The result came from the server's tools, not only from the agent's own words."
        },
        "instructions": {
          "agent_final_answer": "The setup check for `/tmp` **failed overall**. No live game was started.\n\n### Failed checks\n\n| Check | Result | Suggested fix |\n|---|---|---|\n| Project package | No `package.json` in `/tmp`. | Run the check from the project root, or pass the correct root directory. |\n| Browser | No Chromium-based browser was found, and `DEBUFF_BROWSER` is not set. | Install Chrome or Edge, or set `DEBUFF_BROWSER` to the full path of another Chromium-based browser. |\n| Agent context *(optional)* | `AGENTS.md`, `CLAUDE.md`, and a `.mcp.json` configured for the debuff server are missing. | Copy them from a fresh `npm create debuff` project. |\n| Agent skills *(optional)* | No skills found in `.claude/skills` or `.agents/skills`. | Run `npx debuff doctor --fix` to write the skills for the installed version. |\n| Agent hooks *(optional)* | No hooks found to guard generated files and baselines or warn about `Math.random`. | Run `npx debuff doctor --fix`; merge hook settings manually if you have custom settings. |\n\n### Passed checks\n\n- **Node:** version 22.23.5.\n- **Configuration:** no `debuff.config.ts`; defaults are used.\n- **Assets:** pipeline runs, with 0 assets.\n- **Saves:** no `saves.json` yet; `debuff build` will write one.\n- **TypeScript configuration:** nothing to change.\n- **Telemetry:** enabled; `debuff build` registers the project anonymously.\n- **Latest-version check:** marked as passing, but npm could not be reached, so a newer version could not be checked.",
          "done_when": "The transcript shows the non-live doctor results for /tmp, including the check statuses and any reported fixes.",
          "how_it_ended": "answered",
          "question": "Did the agent finish `task`, as `done_when` describes, according to the tool replies in `steps`?",
          "steps": [
            {
              "arguments": {
                "live": false,
                "root": "/tmp"
              },
              "reply": "{\n  \"debuff\": \"0.35.0\",\n  \"checks\": [\n    {\n      \"id\": \"node-version\",\n      \"group\": \"environment\",\n      \"ok\": true,\n      \"message\": \"Node 22.23.5\"\n    },\n    {\n      \"id\": \"package-json\",\n      \"group\": \"packages\",\n      \"ok\": false,\n      \"message\": \"No package.json in /tmp\",\n      \"fix\": \"Run from the project root, or pass --root <dir>\"\n    },\n    {\n      \"id\": \"config\",\n      \"group\": \"config\",\n      \"ok\": true,\n      \"message\": \"No debuff.config.ts: defaults\"\n    },\n    {\n      \"id\": \"assets\",\n      \"group\": \"assets\",\n      \"ok\": true,\n      \"message\": \"Asset pipeline runs: 0 assets\"\n    },\n    {\n      \"id\": \"saves\",\n      \"group\": \"config\",\n      \"ok\": true,\n      \"message\": \"No saves.json yet: `debuff build` writes it\"\n    },\n    {\n      \"id\": \"tsconfig\",\n      \"group\": \"config\",\n      \"required\": false,\n      \"ok\": true,\n      \"message\": \"tsconfig.json has nothing to change\"\n    },\n    {\n      \"id\": \"agent-files\",\n      \"group\": \"agents\",\n      \"ok\": false,\n      \"required\": false,\n      \"message\": \"AI agents lack project context: missing AGENTS.md, CLAUDE.md, .mcp.json with the debuff server\",\n      \"fix\": \"Copy them from a fresh `npm create debuff` project; .mcp.json needs `{ \\\"mcpServers\\\": { \\\"debuff\\\": { \\\"command\\\": \\\"npx\\\", \\\"args\\\": [\\\"-y\\\", \\\"@debuffjp/mcp\\\"] } } }`\",\n      \"repair\": {\n        \"write\": \".mcp.json\",\n        \"content\": \"{\\n  \\\"mcpServers\\\": {\\n    \\\"debuff\\\": {\\n      \\\"command\\\": \\\"npx\\\",\\n      \\\"args\\\": [\\n        \\\"-y\\\",\\n        \\\"@debuffjp/mcp\\\"\\n      ]\\n    }\\n  }\\n}\\n\"\n      }\n    },\n    {\n      \"id\": \"agent-skills\",\n      \"group\": \"agents\",\n      \"ok\": false,\n      \"required\": false,\n      \"message\": \"No agent skills in .claude/skills or .agents/skills: agents work from general knowledge instead of this debuff version\",\n      \"fix\": \"npx debuff doctor --fix writes them for the installed version (it replaces debuff's own skill files only)\",\n      \"repair\": {\n        \"skills\": \"0.35.0\"\n      }\n    },\n    {\n      \"id\": \"agent-hooks\",\n      \"group\": \"agents\",\n      \"ok\": false,\n      \"required\": false,\n      \"message\": \"No agent hooks: nothing stops an agent editing baselines or generated files, or warns about Math.random\",\n      \"fix\": \"npx debuff doctor --fix writes the hook files, and refreshes .claude/settings.json and .codex/hooks.json when they hold only debuff's hooks; merge them into one with your own settings by hand: https://debuff.jp/docs/agents#hook\",\n      \"repair\": {\n        \"hooks\": true\n      }\n    },\n    {\n      \"id\": \"browser\",\n      \"group\": \"browser\",\n      \"ok\": false,\n      \"message\": \"No Chromium-based browser found. Tried Chrome (not installed at /opt/google/chrome/chrome), Edge (not installed at /opt/microsoft/msedge/msedge), Playwright's Chromium (not installed at /home/lab/.cache/ms-playwright/chromium-1255/chrome-linux-arm64/chrome). DEBUFF_BROWSER is not set.\",\n      \"fix\": \"Install Chrome or Edge, or set DEBUFF_BROWSER to the full path of another Chromium-based browser executable, such as Chromium\"\n    },\n    {\n      \"id\": \"latest-version\",\n      \"group\": \"packages\",\n      \"required\": false,\n      \"ok\": true,\n      \"message\": \"Couldn't reach npm to check for a newer debuff\"\n    },\n    {\n      \"id\": \"telemetry\",\n      \"group\": \"environment\",\n      \"ok\": true,\n      \"required\": false,\n      \"message\": \"Telemetry is on: `debuff build` registers the project anonymously\"\n    }\n  ],\n  \"ok\": false\n}",
              "tool": "doctor"
            }
          ],
          "task": "Check the project setup in /tmp without starting a live game, and report which checks pass or fail and their suggested fixes."
        },
        "type": "noul"
      }
    },
    "state": {
      "about": "Replies of an MCP server to tool calls that were sent with bad input on purpose, to see whether its error messages help a caller fix the call."
    }
  },
  "run_id": "01M835S9YEVVQVGMRAFMB4JFWZ",
  "works_done": [
    {
      "attempt": 0,
      "noul": 0.95,
      "question": "w00"
    },
    {
      "attempt": 1,
      "noul": 0.96,
      "question": "w01"
    },
    {
      "attempt": 2,
      "noul": 0.96,
      "question": "w02"
    }
  ]
}
