{
  "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.98,
      "type": "noul"
    },
    "c08": {
      "noul": 0.99,
      "type": "noul"
    },
    "c09": {
      "noul": 0.17,
      "type": "noul"
    },
    "c10": {
      "noul": 0.98,
      "type": "noul"
    },
    "c11": {
      "noul": 0.92,
      "type": "noul"
    },
    "w00": {
      "noul": 0.99,
      "type": "noul"
    },
    "w01": {
      "noul": 0.98,
      "type": "noul"
    },
    "w02": {
      "noul": 0.99,
      "type": "noul"
    },
    "w03": {
      "noul": 0.98,
      "type": "noul"
    },
    "w04": {
      "noul": 0.98,
      "type": "noul"
    },
    "w05": {
      "noul": 0.98,
      "type": "noul"
    }
  },
  "asked_at": "2026-11-23T03:04:30Z",
  "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.98,
      "question": "c07"
    },
    {
      "call": 8,
      "noul": 0.99,
      "question": "c08"
    },
    {
      "call": 9,
      "noul": 0.17,
      "question": "c09"
    },
    {
      "call": 10,
      "noul": 0.98,
      "question": "c10"
    },
    {
      "call": 11,
      "noul": 0.92,
      "question": "c11"
    }
  ],
  "format": "didrun.judgments.v1",
  "input_tokens": 7552,
  "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": {
            "branch": {}
          },
          "parameter": "branch",
          "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 plainhub_open: Invalid input: expected string, received object at branch",
          "tool": "plainhub_open"
        },
        "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": {
            "token": {}
          },
          "parameter": "token",
          "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 plainhub_auth: Invalid input: expected string, received object at token",
          "tool": "plainhub_auth"
        },
        "type": "noul"
      },
      "c02": {
        "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 plainhub_diff: Invalid input: expected string, received undefined at repo\nInvalid input: expected string, received undefined at sha",
          "tool": "plainhub_diff"
        },
        "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": {
            "repo": {},
            "sha": "didrun"
          },
          "parameter": "repo",
          "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 plainhub_diff: Invalid input: expected string, received object at repo",
          "tool": "plainhub_diff"
        },
        "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 plainhub_post: Invalid input: expected string, received undefined at thread\nInvalid option: expected one of \"dev\"|\"reviewer\"|\"security\"|\"daily\"|\"cockpit\" at role\nInvalid option: expected one of \"pass\"|\"fail\"|\"changes-requested\"|\"approved\"|\"info\" at verdict\nInvalid input: expected string, received undefined at summary",
          "tool": "plainhub_post"
        },
        "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": {
            "role": "dev",
            "summary": "didrun",
            "thread": {},
            "verdict": "pass"
          },
          "parameter": "thread",
          "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 plainhub_post: Invalid input: expected string, received object at thread",
          "tool": "plainhub_post"
        },
        "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": {
            "language": {}
          },
          "parameter": "language",
          "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 plainhub_ledger_init: Invalid input: expected string, received object at language",
          "tool": "plainhub_ledger_init"
        },
        "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": {
            "status": {}
          },
          "parameter": "status",
          "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 plainhub_ledger_decisions: Invalid option: expected one of \"pending\"|\"approved\"|\"rejected\"|\"all\" at status",
          "tool": "plainhub_ledger_decisions"
        },
        "type": "noul"
      },
      "c08": {
        "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": {
            "status": {}
          },
          "parameter": "status",
          "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 plainhub_ledger_tasks: Invalid input: expected string, received object at status",
          "tool": "plainhub_ledger_tasks"
        },
        "type": "noul"
      },
      "c09": {
        "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 plainhub_ledger_read: Invalid input: expected string, received undefined at path",
          "tool": "plainhub_ledger_read"
        },
        "type": "noul"
      },
      "c10": {
        "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": {
            "path": {}
          },
          "parameter": "path",
          "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 plainhub_ledger_read: Invalid input: expected string, received object at path",
          "tool": "plainhub_ledger_read"
        },
        "type": "noul"
      },
      "c11": {
        "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": "PlainHub is **not authenticated**: it has no saved GitHub token. I did not set one up.",
          "done_when": "The transcript shows the authentication-status tool's reply indicating whether a token is saved.",
          "how_it_ended": "answered",
          "question": "Did the agent finish `task`, as `done_when` describes, according to the tool replies in `steps`?",
          "steps": [
            {
              "arguments": {},
              "reply": "Not authenticated. Use plainhub_auth to save a token.\nThe ledger needs no PlainHub token: its commands work only on files in .agents, and ledger sync pushes them with your Git login, not a PlainHub token. To see a ledger in PlainHub, PlainHub needs only the repository that holds it (Contents: Read and write is enough).",
              "tool": "plainhub_auth_status"
            }
          ],
          "task": "Check whether PlainHub has a saved GitHub token and report the authentication status without setting one up."
        },
        "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": "PlainHub is **not authenticated**: no saved GitHub token was found. I did not set one up.",
          "done_when": "The transcript shows the authentication-status tool's reply indicating whether a token is saved.",
          "how_it_ended": "answered",
          "question": "Did the agent finish `task`, as `done_when` describes, according to the tool replies in `steps`?",
          "steps": [
            {
              "arguments": {},
              "reply": "Not authenticated. Use plainhub_auth to save a token.\nThe ledger needs no PlainHub token: its commands work only on files in .agents, and ledger sync pushes them with your Git login, not a PlainHub token. To see a ledger in PlainHub, PlainHub needs only the repository that holds it (Contents: Read and write is enough).",
              "tool": "plainhub_auth_status"
            }
          ],
          "task": "Check whether PlainHub has a saved GitHub token and report the authentication status without setting one up."
        },
        "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": "PlainHub is **not authenticated**; it has no saved GitHub token. I did not set one up.",
          "done_when": "The transcript shows the authentication-status tool's reply indicating whether a token is saved.",
          "how_it_ended": "answered",
          "question": "Did the agent finish `task`, as `done_when` describes, according to the tool replies in `steps`?",
          "steps": [
            {
              "arguments": {},
              "reply": "Not authenticated. Use plainhub_auth to save a token.\nThe ledger needs no PlainHub token: its commands work only on files in .agents, and ledger sync pushes them with your Git login, not a PlainHub token. To see a ledger in PlainHub, PlainHub needs only the repository that holds it (Contents: Read and write is enough).",
              "tool": "plainhub_auth_status"
            }
          ],
          "task": "Check whether PlainHub has a saved GitHub token and report the authentication status without setting one up."
        },
        "type": "noul"
      },
      "w03": {
        "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 PlainHub readiness check found **two setup problems**:\n\n1. **Claude Code is not installed or not on the PATH.** Install it using the [Claude Code setup guide](https://code.claude.com/docs/en/setup), then check that `claude` runs in your terminal.\n2. **The `plainhub` command was not found.** Install it with `npm i -g plainhub` (no sudo). If it still isn’t found, restart Claude Code so it picks up the updated PATH.\n\nNode.js is installed, and all five checked ports are free. No browser is paired yet; you can pair one with the six-digit code after starting the agent. A saved GitHub token is needed only for use from your phone; if needed, run `plainhub auth` yourself.\n\nThe check noted that an agent started in `/opt/server` can read everything in that folder. After fixing the two problems, run the readiness check again.",
          "done_when": "The transcript shows the agent-check tool's readiness results, including any reported problems or the command to run if ready.",
          "how_it_ended": "answered",
          "question": "Did the agent finish `task`, as `done_when` describes, according to the tool replies in `steps`?",
          "steps": [
            {
              "arguments": {},
              "reply": "PlainHub doctor — checks this PC for \"Your agent\" (it changes nothing)\n  [ok]   Node.js 22.23.5\n  [FIX]  Claude Code (claude) was not found\n         Fix: Install Claude Code (https://code.claude.com/docs/en/setup), check that claude runs in this terminal, then call plainhub_agent_check again.\n  [FIX]  The plainhub command was not found (plainhub agent runs in your own terminal)\n         Fix: Install it with npm i -g plainhub (no sudo), then call plainhub_agent_check again. If it is still not found, restart Claude Code (it keeps the PATH it started with).\n  [info] Folder: /opt/server — plainhub agent started here can read everything in it\n  [ok]   Ports 47110–47114: 5 free\n  [info] No browser paired yet — after you start plainhub agent, enter the 6-digit code it shows in PlainHub on this PC\n  [info] GitHub token for your phone: not saved by plainhub auth — only needed to ask from your phone\n         Note: To use your phone, run plainhub auth yourself (it asks for a token; an AI should not handle it).\n\n2 problems to fix (marked [FIX]). Follow the Fix lines, then call plainhub_agent_check again.",
              "tool": "plainhub_agent_check"
            }
          ],
          "task": "Check whether this computer is ready to run the PlainHub agent, and report any setup problems it finds."
        },
        "type": "noul"
      },
      "w04": {
        "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 computer is **not ready yet**. The check found two setup problems:\n\n1. **Claude Code was not found.** [Install Claude Code](https://code.claude.com/docs/en/setup), then verify that `claude` runs in your terminal.\n2. **The `plainhub` command was not found.** Install it with `npm i -g plainhub` (without `sudo`). If it still isn’t found, restart Claude Code so it picks up the updated PATH.\n\nNode.js is installed, and ports 47110–47114 are free. No browser is paired yet; you can pair one after starting the agent. A saved GitHub token is only needed to use it from your phone—run `plainhub auth` yourself if needed.\n\nAfter fixing the two problems, run the readiness check again.",
          "done_when": "The transcript shows the agent-check tool's readiness results, including any reported problems or the command to run if ready.",
          "how_it_ended": "answered",
          "question": "Did the agent finish `task`, as `done_when` describes, according to the tool replies in `steps`?",
          "steps": [
            {
              "arguments": {},
              "reply": "PlainHub doctor — checks this PC for \"Your agent\" (it changes nothing)\n  [ok]   Node.js 22.23.5\n  [FIX]  Claude Code (claude) was not found\n         Fix: Install Claude Code (https://code.claude.com/docs/en/setup), check that claude runs in this terminal, then call plainhub_agent_check again.\n  [FIX]  The plainhub command was not found (plainhub agent runs in your own terminal)\n         Fix: Install it with npm i -g plainhub (no sudo), then call plainhub_agent_check again. If it is still not found, restart Claude Code (it keeps the PATH it started with).\n  [info] Folder: /opt/server — plainhub agent started here can read everything in it\n  [ok]   Ports 47110–47114: 5 free\n  [info] No browser paired yet — after you start plainhub agent, enter the 6-digit code it shows in PlainHub on this PC\n  [info] GitHub token for your phone: not saved by plainhub auth — only needed to ask from your phone\n         Note: To use your phone, run plainhub auth yourself (it asks for a token; an AI should not handle it).\n\n2 problems to fix (marked [FIX]). Follow the Fix lines, then call plainhub_agent_check again.",
              "tool": "plainhub_agent_check"
            }
          ],
          "task": "Check whether this computer is ready to run the PlainHub agent, and report any setup problems it finds."
        },
        "type": "noul"
      },
      "w05": {
        "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": "**This computer is not yet ready to run the PlainHub agent.** The check found two setup problems:\n\n1. **Claude Code is not installed or not on the PATH.** Install it using the [Claude Code setup guide](https://code.claude.com/docs/en/setup), then check that `claude` runs in your terminal.\n2. **The `plainhub` command was not found.** Install it with `npm i -g plainhub` (without sudo). If it is still not found, restart Claude Code so it picks up the updated PATH.\n\nNode.js is available, and all five agent ports (47110–47114) are free. No browser is paired yet; after starting the agent, enter the six-digit code it shows in PlainHub on this computer.\n\nA GitHub token is not saved. It is needed only if you want to ask from your phone; run `plainhub auth` yourself to set it up.\n\nAfter fixing the two problems, run the readiness check again.",
          "done_when": "The transcript shows the agent-check tool's readiness results, including any reported problems or the command to run if ready.",
          "how_it_ended": "answered",
          "question": "Did the agent finish `task`, as `done_when` describes, according to the tool replies in `steps`?",
          "steps": [
            {
              "arguments": {},
              "reply": "PlainHub doctor — checks this PC for \"Your agent\" (it changes nothing)\n  [ok]   Node.js 22.23.5\n  [FIX]  Claude Code (claude) was not found\n         Fix: Install Claude Code (https://code.claude.com/docs/en/setup), check that claude runs in this terminal, then call plainhub_agent_check again.\n  [FIX]  The plainhub command was not found (plainhub agent runs in your own terminal)\n         Fix: Install it with npm i -g plainhub (no sudo), then call plainhub_agent_check again. If it is still not found, restart Claude Code (it keeps the PATH it started with).\n  [info] Folder: /opt/server — plainhub agent started here can read everything in it\n  [ok]   Ports 47110–47114: 5 free\n  [info] No browser paired yet — after you start plainhub agent, enter the 6-digit code it shows in PlainHub on this PC\n  [info] GitHub token for your phone: not saved by plainhub auth — only needed to ask from your phone\n         Note: To use your phone, run plainhub auth yourself (it asks for a token; an AI should not handle it).\n\n2 problems to fix (marked [FIX]). Follow the Fix lines, then call plainhub_agent_check again.",
              "tool": "plainhub_agent_check"
            }
          ],
          "task": "Check whether this computer is ready to run the PlainHub agent, and report any setup problems it finds."
        },
        "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": "01M8334C8CJD1CKFT73D3H4NQ8",
  "works_done": [
    {
      "attempt": 0,
      "noul": 0.99,
      "question": "w00"
    },
    {
      "attempt": 1,
      "noul": 0.98,
      "question": "w01"
    },
    {
      "attempt": 2,
      "noul": 0.99,
      "question": "w02"
    },
    {
      "attempt": 3,
      "noul": 0.98,
      "question": "w03"
    },
    {
      "attempt": 4,
      "noul": 0.98,
      "question": "w04"
    },
    {
      "attempt": 5,
      "noul": 0.98,
      "question": "w05"
    }
  ]
}
