{
  "answers": {
    "c00": {
      "noul": 0.99,
      "type": "noul"
    },
    "c01": {
      "noul": 1.0,
      "type": "noul"
    },
    "c02": {
      "noul": 0.93,
      "type": "noul"
    },
    "w00": {
      "noul": 0.98,
      "type": "noul"
    },
    "w01": {
      "noul": 0.98,
      "type": "noul"
    },
    "w02": {
      "noul": 0.98,
      "type": "noul"
    },
    "w03": {
      "noul": 0.97,
      "type": "noul"
    },
    "w04": {
      "noul": 0.98,
      "type": "noul"
    },
    "w05": {
      "noul": 0.96,
      "type": "noul"
    },
    "w06": {
      "noul": 0.97,
      "type": "noul"
    },
    "w07": {
      "noul": 0.96,
      "type": "noul"
    },
    "w08": {
      "noul": 0.93,
      "type": "noul"
    }
  },
  "asked_at": "2026-11-23T04:00:55Z",
  "endpoint": "https://api.typesafe.ai/v1/systemone",
  "errors_helpful": [
    {
      "call": 0,
      "noul": 0.99,
      "question": "c00"
    },
    {
      "call": 1,
      "noul": 1.0,
      "question": "c01"
    },
    {
      "call": 2,
      "noul": 0.93,
      "question": "c02"
    }
  ],
  "format": "didrun.judgments.v1",
  "input_tokens": 7886,
  "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 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 check_change_scope: Invalid input: expected array, received undefined at allowedPaths\nInvalid input: expected array, received undefined at changedPaths",
          "tool": "check_change_scope"
        },
        "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": {
            "allowedPaths": "not an array",
            "changedPaths": []
          },
          "parameter": "allowedPaths",
          "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 check_change_scope: Invalid input: expected array, received string at allowedPaths",
          "tool": "check_change_scope"
        },
        "type": "noul"
      },
      "c02": {
        "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": "**PASS:** Both changed paths are within the declared scope. No out-of-scope changes were flagged.\n\nThe tool also returned this contract block for the pull request body:\n\n```html\n<!-- mergewarden-contract\nversion: 1\ntask: Update authentication\nallowed_paths:\n  - src/auth/**\n  - test/auth/**\n-->\n```",
          "done_when": "The tool reply shows the scope check for those paths and indicates that neither changed file is outside the allowed scope.",
          "how_it_ended": "answered",
          "question": "Did the agent finish `task`, as `done_when` describes, according to the tool replies in `steps`?",
          "steps": [
            {
              "arguments": {
                "allowedPaths": [
                  "src/auth/**",
                  "test/auth/**"
                ],
                "changedPaths": [
                  "src/auth/login.ts",
                  "test/auth/login.test.ts"
                ],
                "task": "Update authentication"
              },
              "reply": "PASS\n\nAll 2 changed paths are inside the declared scope.\n\n\nContract block for the pull request body:\n\n<!-- mergewarden-contract\nversion: 1\ntask: Update authentication\nallowed_paths:\n  - src/auth/**\n  - test/auth/**\n-->",
              "tool": "check_change_scope"
            }
          ],
          "task": "Check the scope of the task 'Update authentication' with allowed paths src/auth/** and test/auth/**, and changed paths src/auth/login.ts and test/auth/login.test.ts. Report the result."
        },
        "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": "**Scope check: PASS.** Both changed paths are within the declared scope:\n\n- `src/auth/login.ts`\n- `test/auth/login.test.ts`\n\nThe tool also provided this contract block for the pull request body:\n\n```markdown\n<!-- mergewarden-contract\nversion: 1\ntask: Update authentication\nallowed_paths:\n  - src/auth/**\n  - test/auth/**\n-->\n```",
          "done_when": "The tool reply shows the scope check for those paths and indicates that neither changed file is outside the allowed scope.",
          "how_it_ended": "answered",
          "question": "Did the agent finish `task`, as `done_when` describes, according to the tool replies in `steps`?",
          "steps": [
            {
              "arguments": {
                "allowedPaths": [
                  "src/auth/**",
                  "test/auth/**"
                ],
                "changedPaths": [
                  "src/auth/login.ts",
                  "test/auth/login.test.ts"
                ],
                "task": "Update authentication"
              },
              "reply": "PASS\n\nAll 2 changed paths are inside the declared scope.\n\n\nContract block for the pull request body:\n\n<!-- mergewarden-contract\nversion: 1\ntask: Update authentication\nallowed_paths:\n  - src/auth/**\n  - test/auth/**\n-->",
              "tool": "check_change_scope"
            }
          ],
          "task": "Check the scope of the task 'Update authentication' with allowed paths src/auth/** and test/auth/**, and changed paths src/auth/login.ts and test/auth/login.test.ts. Report the result."
        },
        "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": "**PASS:** Both changed paths are inside the declared scope.\n\nThe tool also provided this contract block for the pull request body:\n\n```text\n<!-- mergewarden-contract\nversion: 1\ntask: Update authentication\nallowed_paths:\n  - src/auth/**\n  - test/auth/**\n-->\n```",
          "done_when": "The tool reply shows the scope check for those paths and indicates that neither changed file is outside the allowed scope.",
          "how_it_ended": "answered",
          "question": "Did the agent finish `task`, as `done_when` describes, according to the tool replies in `steps`?",
          "steps": [
            {
              "arguments": {
                "allowedPaths": [
                  "src/auth/**",
                  "test/auth/**"
                ],
                "changedPaths": [
                  "src/auth/login.ts",
                  "test/auth/login.test.ts"
                ],
                "task": "Update authentication"
              },
              "reply": "PASS\n\nAll 2 changed paths are inside the declared scope.\n\n\nContract block for the pull request body:\n\n<!-- mergewarden-contract\nversion: 1\ntask: Update authentication\nallowed_paths:\n  - src/auth/**\n  - test/auth/**\n-->",
              "tool": "check_change_scope"
            }
          ],
          "task": "Check the scope of the task 'Update authentication' with allowed paths src/auth/** and test/auth/**, and changed paths src/auth/login.ts and test/auth/login.test.ts. Report the result."
        },
        "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": "**Result: Needs review.** The scope check found two violations:\n\n- `README.md` is outside the allowed scope, `src/auth/**`.\n- `src/auth/secrets/keys.ts` is in the explicitly blocked location, `src/auth/secrets/**`.\n\n`src/auth/login.ts` is within scope.",
          "done_when": "The tool reply identifies README.md as outside the allowed scope and src/auth/secrets/keys.ts as matching the blocked path.",
          "how_it_ended": "answered",
          "question": "Did the agent finish `task`, as `done_when` describes, according to the tool replies in `steps`?",
          "steps": [
            {
              "arguments": {
                "allowedPaths": [
                  "src/auth/**"
                ],
                "blockedPaths": [
                  "src/auth/secrets/**"
                ],
                "changedPaths": [
                  "src/auth/login.ts",
                  "src/auth/secrets/keys.ts",
                  "README.md"
                ],
                "task": "Check a change scoped to src/auth/** that explicitly must not touch src/auth/secrets/**."
              },
              "reply": "NEEDS REVIEW\n\n1 path(s) outside the declared scope. 1 path(s) in a blocked location.\n\n- ERROR contract/out-of-scope: README.md changed outside the allowed contract scope.\n- ERROR contract/blocked-path: src/auth/secrets/keys.ts matches blocked contract paths.\n\nContract block for the pull request body:\n\n<!-- mergewarden-contract\nversion: 1\ntask: Check a change scoped to src/auth/** that explicitly must not touch src/auth/secrets/**.\nallowed_paths:\n  - src/auth/**\nblocked_paths:\n  - src/auth/secrets/**\n-->",
              "tool": "check_change_scope"
            }
          ],
          "task": "Check a change scoped to src/auth/** that explicitly must not touch src/auth/secrets/**. The changed files are src/auth/login.ts, src/auth/secrets/keys.ts, and README.md. Report the scope violations."
        },
        "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": "**Scope check: needs review.** The tool reported two violations:\n\n- `README.md` is outside the allowed scope, `src/auth/**`.\n- `src/auth/secrets/keys.ts` matches the explicitly blocked path, `src/auth/secrets/**`.\n\n`src/auth/login.ts` is within scope.",
          "done_when": "The tool reply identifies README.md as outside the allowed scope and src/auth/secrets/keys.ts as matching the blocked path.",
          "how_it_ended": "answered",
          "question": "Did the agent finish `task`, as `done_when` describes, according to the tool replies in `steps`?",
          "steps": [
            {
              "arguments": {
                "allowedPaths": [
                  "src/auth/**"
                ],
                "blockedPaths": [
                  "src/auth/secrets/**"
                ],
                "changedPaths": [
                  "src/auth/login.ts",
                  "src/auth/secrets/keys.ts",
                  "README.md"
                ],
                "task": "Check a change scoped to src/auth/** that explicitly must not touch src/auth/secrets/**."
              },
              "reply": "NEEDS REVIEW\n\n1 path(s) outside the declared scope. 1 path(s) in a blocked location.\n\n- ERROR contract/out-of-scope: README.md changed outside the allowed contract scope.\n- ERROR contract/blocked-path: src/auth/secrets/keys.ts matches blocked contract paths.\n\nContract block for the pull request body:\n\n<!-- mergewarden-contract\nversion: 1\ntask: Check a change scoped to src/auth/** that explicitly must not touch src/auth/secrets/**.\nallowed_paths:\n  - src/auth/**\nblocked_paths:\n  - src/auth/secrets/**\n-->",
              "tool": "check_change_scope"
            }
          ],
          "task": "Check a change scoped to src/auth/** that explicitly must not touch src/auth/secrets/**. The changed files are src/auth/login.ts, src/auth/secrets/keys.ts, and README.md. Report the scope violations."
        },
        "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": "**Result: NEEDS REVIEW.** The scope check found two violations:\n\n- `README.md` is outside the allowed scope, `src/auth/**`.\n- `src/auth/secrets/keys.ts` is in the explicitly blocked location, `src/auth/secrets/**`.\n\n`src/auth/login.ts` is within the allowed scope and is not blocked.",
          "done_when": "The tool reply identifies README.md as outside the allowed scope and src/auth/secrets/keys.ts as matching the blocked path.",
          "how_it_ended": "answered",
          "question": "Did the agent finish `task`, as `done_when` describes, according to the tool replies in `steps`?",
          "steps": [
            {
              "arguments": {
                "allowedPaths": [
                  "src/auth/**"
                ],
                "blockedPaths": [
                  "src/auth/secrets/**"
                ],
                "changedPaths": [
                  "src/auth/login.ts",
                  "src/auth/secrets/keys.ts",
                  "README.md"
                ],
                "task": "Check changes scoped to src/auth/** that must not touch src/auth/secrets/**."
              },
              "reply": "NEEDS REVIEW\n\n1 path(s) outside the declared scope. 1 path(s) in a blocked location.\n\n- ERROR contract/out-of-scope: README.md changed outside the allowed contract scope.\n- ERROR contract/blocked-path: src/auth/secrets/keys.ts matches blocked contract paths.\n\nContract block for the pull request body:\n\n<!-- mergewarden-contract\nversion: 1\ntask: Check changes scoped to src/auth/** that must not touch src/auth/secrets/**.\nallowed_paths:\n  - src/auth/**\nblocked_paths:\n  - src/auth/secrets/**\n-->",
              "tool": "check_change_scope"
            }
          ],
          "task": "Check a change scoped to src/auth/** that explicitly must not touch src/auth/secrets/**. The changed files are src/auth/login.ts, src/auth/secrets/keys.ts, and README.md. Report the scope violations."
        },
        "type": "noul"
      },
      "w06": {
        "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": "Both `src/widget.ts` and `AGENTS.md` are within the declared allowed paths.\n\nThe check returned **NEEDS REVIEW** because `AGENTS.md` is an agent-instruction file. It flagged an `agent-control-plane/drift` error: changes to this file can affect how AI agents behave in future pull requests.",
          "done_when": "The tool reply reports the result and flags AGENTS.md as an agent-instruction file.",
          "how_it_ended": "answered",
          "question": "Did the agent finish `task`, as `done_when` describes, according to the tool replies in `steps`?",
          "steps": [
            {
              "arguments": {
                "allowedPaths": [
                  "src/**",
                  "AGENTS.md"
                ],
                "changedPaths": [
                  "src/widget.ts",
                  "AGENTS.md"
                ],
                "task": "Check whether changes to src/widget.ts and AGENTS.md stay within the allowed paths, including agent-instruction file warnings."
              },
              "reply": "NEEDS REVIEW\n\nAll 2 changed paths are inside the declared scope. 1 agent-instruction file(s) changed — these steer every future agent run in this repository.\n\n- ERROR agent-control-plane/drift: This file can change how AI agents behave in future PRs.\n\nContract block for the pull request body:\n\n<!-- mergewarden-contract\nversion: 1\ntask: Check whether changes to src/widget.ts and AGENTS.md stay within the allowed paths, including agent-instruction file warnings.\nallowed_paths:\n  - src/**\n  - AGENTS.md\n-->",
              "tool": "check_change_scope"
            }
          ],
          "task": "Check whether changing src/widget.ts and AGENTS.md stays in scope when the allowed paths are src/** and AGENTS.md. Include any warning about agent-instruction files."
        },
        "type": "noul"
      },
      "w07": {
        "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": "**Both changes are within the declared scope**, but the check returned **NEEDS REVIEW**.\n\n`AGENTS.md` is an agent-instruction file. The tool flagged it with `ERROR agent-control-plane/drift` because changes to it can alter how AI agents behave in future pull requests.",
          "done_when": "The tool reply reports the result and flags AGENTS.md as an agent-instruction file.",
          "how_it_ended": "answered",
          "question": "Did the agent finish `task`, as `done_when` describes, according to the tool replies in `steps`?",
          "steps": [
            {
              "arguments": {
                "allowedPaths": [
                  "src/**",
                  "AGENTS.md"
                ],
                "changedPaths": [
                  "src/widget.ts",
                  "AGENTS.md"
                ],
                "task": "Check whether changes to src/widget.ts and AGENTS.md stay within the allowed paths, including any agent-instruction file warning."
              },
              "reply": "NEEDS REVIEW\n\nAll 2 changed paths are inside the declared scope. 1 agent-instruction file(s) changed — these steer every future agent run in this repository.\n\n- ERROR agent-control-plane/drift: This file can change how AI agents behave in future PRs.\n\nContract block for the pull request body:\n\n<!-- mergewarden-contract\nversion: 1\ntask: Check whether changes to src/widget.ts and AGENTS.md stay within the allowed paths, including any agent-instruction file warning.\nallowed_paths:\n  - src/**\n  - AGENTS.md\n-->",
              "tool": "check_change_scope"
            }
          ],
          "task": "Check whether changing src/widget.ts and AGENTS.md stays in scope when the allowed paths are src/** and AGENTS.md. Include any warning about agent-instruction files."
        },
        "type": "noul"
      },
      "w08": {
        "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": "Both `src/widget.ts` and `AGENTS.md` are within the allowed paths.\n\nThe tool’s overall result was **NEEDS REVIEW** because `AGENTS.md` is an agent-instruction file. It flagged `agent-control-plane/drift`: changes to this file can affect how AI agents behave in future repository runs.",
          "done_when": "The tool reply reports the result and flags AGENTS.md as an agent-instruction file.",
          "how_it_ended": "answered",
          "question": "Did the agent finish `task`, as `done_when` describes, according to the tool replies in `steps`?",
          "steps": [
            {
              "arguments": {
                "allowedPaths": [
                  "src/**",
                  "AGENTS.md"
                ],
                "changedPaths": [
                  "src/widget.ts",
                  "AGENTS.md"
                ],
                "task": "Check whether changing src/widget.ts and AGENTS.md stays in scope, including any warning about agent-instruction files."
              },
              "reply": "NEEDS REVIEW\n\nAll 2 changed paths are inside the declared scope. 1 agent-instruction file(s) changed — these steer every future agent run in this repository.\n\n- ERROR agent-control-plane/drift: This file can change how AI agents behave in future PRs.\n\nContract block for the pull request body:\n\n<!-- mergewarden-contract\nversion: 1\ntask: Check whether changing src/widget.ts and AGENTS.md stays in scope, including any warning about agent-instruction files.\nallowed_paths:\n  - src/**\n  - AGENTS.md\n-->",
              "tool": "check_change_scope"
            }
          ],
          "task": "Check whether changing src/widget.ts and AGENTS.md stays in scope when the allowed paths are src/** and AGENTS.md. Include any warning about agent-instruction files."
        },
        "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": "01M835S9Z9434HMTVKE2NNWQPZ",
  "works_done": [
    {
      "attempt": 0,
      "noul": 0.98,
      "question": "w00"
    },
    {
      "attempt": 1,
      "noul": 0.98,
      "question": "w01"
    },
    {
      "attempt": 2,
      "noul": 0.98,
      "question": "w02"
    },
    {
      "attempt": 3,
      "noul": 0.97,
      "question": "w03"
    },
    {
      "attempt": 4,
      "noul": 0.98,
      "question": "w04"
    },
    {
      "attempt": 5,
      "noul": 0.96,
      "question": "w05"
    },
    {
      "attempt": 6,
      "noul": 0.97,
      "question": "w06"
    },
    {
      "attempt": 7,
      "noul": 0.96,
      "question": "w07"
    },
    {
      "attempt": 8,
      "noul": 0.93,
      "question": "w08"
    }
  ]
}
