{
  "answers": {
    "c00": {
      "noul": 0.04,
      "type": "noul"
    },
    "c01": {
      "noul": 0.18,
      "type": "noul"
    },
    "c02": {
      "noul": 0.61,
      "type": "noul"
    },
    "c03": {
      "noul": 0.17,
      "type": "noul"
    },
    "c04": {
      "noul": 0.1,
      "type": "noul"
    },
    "c05": {
      "noul": 0.02,
      "type": "noul"
    },
    "c06": {
      "noul": 0.04,
      "type": "noul"
    },
    "c07": {
      "noul": 0.98,
      "type": "noul"
    },
    "c08": {
      "noul": 0.68,
      "type": "noul"
    },
    "c09": {
      "noul": 0.65,
      "type": "noul"
    },
    "c10": {
      "noul": 0.96,
      "type": "noul"
    },
    "c11": {
      "noul": 0.61,
      "type": "noul"
    },
    "c12": {
      "noul": 0.03,
      "type": "noul"
    },
    "c13": {
      "noul": 0.93,
      "type": "noul"
    },
    "w00": {
      "noul": 0.01,
      "type": "noul"
    },
    "w01": {
      "noul": 0.01,
      "type": "noul"
    },
    "w02": {
      "noul": 0.01,
      "type": "noul"
    },
    "w03": {
      "noul": 0.01,
      "type": "noul"
    },
    "w04": {
      "noul": 0.01,
      "type": "noul"
    },
    "w05": {
      "noul": 0.01,
      "type": "noul"
    }
  },
  "asked_at": "2026-11-23T05:43:20Z",
  "endpoint": "https://api.typesafe.ai/v1/systemone",
  "errors_helpful": [
    {
      "call": 0,
      "noul": 0.04,
      "question": "c00"
    },
    {
      "call": 1,
      "noul": 0.18,
      "question": "c01"
    },
    {
      "call": 2,
      "noul": 0.61,
      "question": "c02"
    },
    {
      "call": 3,
      "noul": 0.17,
      "question": "c03"
    },
    {
      "call": 4,
      "noul": 0.1,
      "question": "c04"
    },
    {
      "call": 5,
      "noul": 0.02,
      "question": "c05"
    },
    {
      "call": 6,
      "noul": 0.04,
      "question": "c06"
    },
    {
      "call": 7,
      "noul": 0.98,
      "question": "c07"
    },
    {
      "call": 8,
      "noul": 0.68,
      "question": "c08"
    },
    {
      "call": 9,
      "noul": 0.65,
      "question": "c09"
    },
    {
      "call": 10,
      "noul": 0.96,
      "question": "c10"
    },
    {
      "call": 11,
      "noul": 0.61,
      "question": "c11"
    },
    {
      "call": 12,
      "noul": 0.03,
      "question": "c12"
    },
    {
      "call": 13,
      "noul": 0.93,
      "question": "c13"
    }
  ],
  "format": "didrun.judgments.v1",
  "input_tokens": 7349,
  "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": {
            "files": "not an array"
          },
          "parameter": "files",
          "question": "Does `reply` tell the caller that `parameter` has a value the tool does not accept?",
          "reply": "\n---\nincluded: ",
          "tool": "rc_context"
        },
        "type": "noul"
      },
      "c01": {
        "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": "no module doc \"\". Known: ",
          "tool": "rc_module"
        },
        "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": {
            "name": {}
          },
          "parameter": "name",
          "question": "Does `reply` tell the caller that `parameter` has a value the tool does not accept?",
          "reply": "no module doc \"object-object\". Known: ",
          "tool": "rc_module"
        },
        "type": "noul"
      },
      "c03": {
        "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": "no module owns this path",
          "tool": "rc_find_owner"
        },
        "type": "noul"
      },
      "c04": {
        "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": "no module owns this path",
          "tool": "rc_find_owner"
        },
        "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": {
            "compact": "not a boolean"
          },
          "parameter": "compact",
          "question": "Does `reply` tell the caller that `parameter` has a value the tool does not accept?",
          "reply": "You are filling the `.ai/` project knowledge layer. Goal: a future agent reads ~2–4k tokens and can work correctly WITHOUT scanning the repo.\n\n## Already detected (do NOT re-discover)\nStack: Node.js\nRun: `TODO` | Test: `TODO`\nTop-level: (root files)(2)\nModules (slug: code paths):\n- (none detected)\n\n## Work order (stop when done; do not explore beyond this)\n1. `.ai/PROJECT.md` — purpose, architecture in ≤5 lines, boundaries, external services. Read: README, entry points, config, docker/compose.\n2. `.ai/DOMAIN.md` — the MOST valuable file. Find rules the code hides: enums/status constants → state machines; policies/middleware/guards → permission rules; payment/order/subscription services → money rules; tests → asserted invariants. Write rules and invariants, not implementation.\n3. `.ai/CONVENTIONS.md` — infer from 4–5 representative files + linter configs. Include \"do NOT\" patterns.\n4. Module docs: from `_TEMPLATE.md` for the 3 most important modules only. Keep the `code_paths` from the list above (fix if wrong).\n5. `.ai/STATE.md` — from `git log --oneline -20` and open TODOs. Do not invent progress.\n\n## Rules\n- Write only what the code can't tell an agent. NO directory trees, dependency lists, file catalogues, pasted code (use `path:symbol`), or stack/commands (in AGENTS.md).\n- Line caps: PROJECT ≤40, DOMAIN ≤300, module ≤100.\n- Keep the `cf:auto` block in INDEX.md untouched. Do not modify source code.\n- Anything you cannot confirm from code, tests or config → write `TODO: verify`. Never guess or state assumptions as facts.\n- Finish by listing: what you filled, what remains TODO, and any doc↔code conflict you noticed. Then run `repocanon doctor` and `repocanon stamp <doc>…` for each doc you verified.\n",
          "tool": "rc_prepare_fill"
        },
        "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": {
            "since": {}
          },
          "parameter": "since",
          "question": "Does `reply` tell the caller that `parameter` has a value the tool does not accept?",
          "reply": "sync needs a git repository",
          "tool": "rc_sync_report"
        },
        "type": "noul"
      },
      "c07": {
        "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": "not recorded:\n- title is empty\n- decision is empty\n- why is empty",
          "tool": "rc_propose_adr"
        },
        "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": {
            "decision": "didrun",
            "title": {},
            "why": "didrun"
          },
          "parameter": "title",
          "question": "Does `reply` tell the caller that `parameter` has a value the tool does not accept?",
          "reply": "not recorded:\n- title is empty",
          "tool": "rc_propose_adr"
        },
        "type": "noul"
      },
      "c09": {
        "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": {
            "change": {}
          },
          "parameter": "change",
          "question": "Does `reply` tell the caller that `parameter` has a value the tool does not accept?",
          "reply": "not recorded:\n- change is empty",
          "tool": "rc_checkpoint_state"
        },
        "type": "noul"
      },
      "c10": {
        "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": "docs must list 1–20 doc names",
          "tool": "rc_stamp"
        },
        "type": "noul"
      },
      "c11": {
        "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": {
            "docs": "not an array"
          },
          "parameter": "docs",
          "question": "Does `reply` tell the caller that `parameter` has a value the tool does not accept?",
          "reply": "docs must list 1–20 doc names",
          "tool": "rc_stamp"
        },
        "type": "noul"
      },
      "c12": {
        "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": {
            "docs": "not an array"
          },
          "parameter": "docs",
          "question": "Does `reply` tell the caller that `parameter` has a value the tool does not accept?",
          "reply": "Errors:\n- .ai/ missing — run: repocanon init\nFAIL: 1 error(s), 0 stale/broken doc(s)",
          "tool": "rc_verify"
        },
        "type": "noul"
      },
      "c13": {
        "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": "unknown tool didrun_unknown_tool",
          "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": "I couldn’t record the checkpoint. The checkpoint tool returned:\n\n> `ENOENT: no such file or directory, mkdir '/opt/server/.ai'`\n\nI then requested the relevant project context, but the tool returned no included context. The requested state was therefore **not recorded or verified**.",
          "done_when": "The tool replies show the checkpoint was recorded and include the specified focus, in-progress item, known issue, and change.",
          "how_it_ended": "answered",
          "question": "Did the agent finish `task`, as `done_when` describes, according to the tool replies in `steps`?",
          "steps": [
            {
              "arguments": {
                "max_tokens": 4000,
                "query": "project state checkpoint invoice validation"
              },
              "reply": "\n---\nincluded: ",
              "tool": "rc_context"
            },
            {
              "arguments": {
                "change": "Outlined invoice validation work",
                "focus": "Improve invoice validation",
                "in_progress": [
                  "Add currency validation"
                ],
                "known_issues": [
                  "Refund rounding is not checked"
                ]
              },
              "reply": "error: ENOENT: no such file or directory, mkdir '/opt/server/.ai'",
              "tool": "rc_checkpoint_state"
            },
            {
              "arguments": {
                "max_tokens": 4000,
                "query": "invoice validation project state checkpoint"
              },
              "reply": "\n---\nincluded: ",
              "tool": "rc_context"
            }
          ],
          "task": "Record a project checkpoint with the focus \"Improve invoice validation\", the in-progress item \"Add currency validation\", the known issue \"Refund rounding is not checked\", and the significant change \"Outlined invoice validation work\". Then retrieve the relevant project context so I can see the recorded state."
        },
        "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": "I couldn’t record the checkpoint. The checkpoint tool returned `ENOENT` while trying to create `/opt/server/.ai`.\n\nI then requested project context for invoice validation and the checkpoint, but the context tool returned no content. The requested state therefore isn’t available to verify.",
          "done_when": "The tool replies show the checkpoint was recorded and include the specified focus, in-progress item, known issue, and change.",
          "how_it_ended": "answered",
          "question": "Did the agent finish `task`, as `done_when` describes, according to the tool replies in `steps`?",
          "steps": [
            {
              "arguments": {
                "change": "Outlined invoice validation work",
                "focus": "Improve invoice validation",
                "in_progress": [
                  "Add currency validation"
                ],
                "known_issues": [
                  "Refund rounding is not checked"
                ]
              },
              "reply": "error: ENOENT: no such file or directory, mkdir '/opt/server/.ai'",
              "tool": "rc_checkpoint_state"
            },
            {
              "arguments": {
                "query": "invoice validation project state checkpoint"
              },
              "reply": "\n---\nincluded: ",
              "tool": "rc_context"
            }
          ],
          "task": "Record a project checkpoint with the focus \"Improve invoice validation\", the in-progress item \"Add currency validation\", the known issue \"Refund rounding is not checked\", and the significant change \"Outlined invoice validation work\". Then retrieve the relevant project context so I can see the recorded state."
        },
        "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": "I couldn’t record the checkpoint. The checkpoint tool returned:\n\n> `ENOENT: no such file or directory, mkdir '/opt/server/.ai'`\n\nI then requested the relevant project context, but the context tool returned no included information. The requested state therefore could not be confirmed:\n\n- **Focus:** Improve invoice validation\n- **In progress:** Add currency validation\n- **Known issue:** Refund rounding is not checked\n- **Significant change:** Outlined invoice validation work",
          "done_when": "The tool replies show the checkpoint was recorded and include the specified focus, in-progress item, known issue, and change.",
          "how_it_ended": "answered",
          "question": "Did the agent finish `task`, as `done_when` describes, according to the tool replies in `steps`?",
          "steps": [
            {
              "arguments": {
                "query": "invoice validation currency validation refund rounding project state"
              },
              "reply": "\n---\nincluded: ",
              "tool": "rc_context"
            },
            {
              "arguments": {
                "change": "Outlined invoice validation work",
                "focus": "Improve invoice validation",
                "in_progress": [
                  "Add currency validation"
                ],
                "known_issues": [
                  "Refund rounding is not checked"
                ]
              },
              "reply": "error: ENOENT: no such file or directory, mkdir '/opt/server/.ai'",
              "tool": "rc_checkpoint_state"
            },
            {
              "arguments": {
                "max_tokens": 4000,
                "query": "invoice validation currency validation refund rounding recorded project state"
              },
              "reply": "\n---\nincluded: ",
              "tool": "rc_context"
            }
          ],
          "task": "Record a project checkpoint with the focus \"Improve invoice validation\", the in-progress item \"Add currency validation\", the known issue \"Refund rounding is not checked\", and the significant change \"Outlined invoice validation work\". Then retrieve the relevant project context so I can see the recorded state."
        },
        "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": "I couldn’t record the decision. The tool returned:\n\n> `ENOENT: no such file or directory, mkdir '/opt/server/.ai/decisions'`\n\nNo decision was recorded, so there is no recorded decision to show.",
          "done_when": "The tool reply confirms an architecture decision was recorded with the specified title, decision, reason, and revisit condition.",
          "how_it_ended": "answered",
          "question": "Did the agent finish `task`, as `done_when` describes, according to the tool replies in `steps`?",
          "steps": [
            {
              "arguments": {
                "decision": "Monetary amounts are stored as integer cents.",
                "revisit": "Revisit if fractional-cent pricing is introduced.",
                "title": "Store monetary amounts as integer cents",
                "why": "This avoids floating-point rounding errors."
              },
              "reply": "error: ENOENT: no such file or directory, mkdir '/opt/server/.ai/decisions'",
              "tool": "rc_propose_adr"
            }
          ],
          "task": "Record an architecture decision titled \"Store monetary amounts as integer cents\": decide that monetary amounts are stored as integer cents because this avoids floating-point rounding errors, and revisit the decision if fractional-cent pricing is introduced. Show the recorded decision in the tool reply."
        },
        "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": "I couldn’t record the decision. The tool returned an `ENOENT` error while trying to create `/opt/server/.ai/decisions`, so there is no recorded decision to show.",
          "done_when": "The tool reply confirms an architecture decision was recorded with the specified title, decision, reason, and revisit condition.",
          "how_it_ended": "answered",
          "question": "Did the agent finish `task`, as `done_when` describes, according to the tool replies in `steps`?",
          "steps": [
            {
              "arguments": {
                "decision": "Monetary amounts are stored as integer cents.",
                "revisit": "If fractional-cent pricing is introduced.",
                "title": "Store monetary amounts as integer cents",
                "why": "This avoids floating-point rounding errors."
              },
              "reply": "error: ENOENT: no such file or directory, mkdir '/opt/server/.ai/decisions'",
              "tool": "rc_propose_adr"
            }
          ],
          "task": "Record an architecture decision titled \"Store monetary amounts as integer cents\": decide that monetary amounts are stored as integer cents because this avoids floating-point rounding errors, and revisit the decision if fractional-cent pricing is introduced. Show the recorded decision in the tool reply."
        },
        "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": "I couldn’t record the decision. The tool returned:\n\n> `ENOENT: no such file or directory, mkdir '/opt/server/.ai/decisions'`\n\nThe requested decision was therefore **not recorded**, and I can’t show a recorded decision from the tool reply.",
          "done_when": "The tool reply confirms an architecture decision was recorded with the specified title, decision, reason, and revisit condition.",
          "how_it_ended": "answered",
          "question": "Did the agent finish `task`, as `done_when` describes, according to the tool replies in `steps`?",
          "steps": [
            {
              "arguments": {
                "decision": "Store monetary amounts as integer cents.",
                "revisit": "Revisit if fractional-cent pricing is introduced.",
                "title": "Store monetary amounts as integer cents",
                "why": "This avoids floating-point rounding errors."
              },
              "reply": "error: ENOENT: no such file or directory, mkdir '/opt/server/.ai/decisions'",
              "tool": "rc_propose_adr"
            }
          ],
          "task": "Record an architecture decision titled \"Store monetary amounts as integer cents\": decide that monetary amounts are stored as integer cents because this avoids floating-point rounding errors, and revisit the decision if fractional-cent pricing is introduced. Show the recorded decision in the tool reply."
        },
        "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": "01M83BR7SMP32F2T92NB5MFSW2",
  "works_done": [
    {
      "attempt": 0,
      "noul": 0.01,
      "question": "w00"
    },
    {
      "attempt": 1,
      "noul": 0.01,
      "question": "w01"
    },
    {
      "attempt": 2,
      "noul": 0.01,
      "question": "w02"
    },
    {
      "attempt": 3,
      "noul": 0.01,
      "question": "w03"
    },
    {
      "attempt": 4,
      "noul": 0.01,
      "question": "w04"
    },
    {
      "attempt": 5,
      "noul": 0.01,
      "question": "w05"
    }
  ]
}
