{
  "answers": {
    "c00": {
      "noul": 0.99,
      "type": "noul"
    },
    "c01": {
      "noul": 1.0,
      "type": "noul"
    },
    "c02": {
      "noul": 0.99,
      "type": "noul"
    },
    "c03": {
      "noul": 0.99,
      "type": "noul"
    },
    "c04": {
      "noul": 1.0,
      "type": "noul"
    },
    "c05": {
      "noul": 0.99,
      "type": "noul"
    },
    "c06": {
      "noul": 0.94,
      "type": "noul"
    },
    "w00": {
      "noul": 0.88,
      "type": "noul"
    },
    "w01": {
      "noul": 0.78,
      "type": "noul"
    },
    "w02": {
      "noul": 0.79,
      "type": "noul"
    },
    "w03": {
      "noul": 0.98,
      "type": "noul"
    },
    "w04": {
      "noul": 0.99,
      "type": "noul"
    },
    "w05": {
      "noul": 0.98,
      "type": "noul"
    },
    "w06": {
      "noul": 0.01,
      "type": "noul"
    },
    "w07": {
      "noul": 0.01,
      "type": "noul"
    },
    "w08": {
      "noul": 0.01,
      "type": "noul"
    }
  },
  "asked_at": "2026-11-23T03:05:03Z",
  "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.99,
      "question": "c02"
    },
    {
      "call": 3,
      "noul": 0.99,
      "question": "c03"
    },
    {
      "call": 4,
      "noul": 1.0,
      "question": "c04"
    },
    {
      "call": 5,
      "noul": 0.99,
      "question": "c05"
    },
    {
      "call": 6,
      "noul": 0.94,
      "question": "c06"
    }
  ],
  "format": "didrun.judgments.v1",
  "input_tokens": 28297,
  "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": {
            "image_path": {}
          },
          "parameter": "image_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 boot_backup: Expected string, received object at image_path",
          "tool": "boot_backup"
        },
        "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": "MCP error -32602: Input validation error: Invalid arguments for tool boot_compare: Required at image_path\nRequired at other_path",
          "tool": "boot_compare"
        },
        "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": {
            "image_path": {},
            "other_path": "didrun"
          },
          "parameter": "image_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 boot_compare: Expected string, received object at image_path",
          "tool": "boot_compare"
        },
        "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": {
            "image_path": {}
          },
          "parameter": "image_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 m35080_read: Expected string, received object at image_path",
          "tool": "m35080_read"
        },
        "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 m35080_compare: Required at image_path\nRequired at other_path",
          "tool": "m35080_compare"
        },
        "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": {
            "image_path": {},
            "other_path": "didrun"
          },
          "parameter": "image_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 m35080_compare: Expected string, received object at image_path",
          "tool": "m35080_compare"
        },
        "type": "noul"
      },
      "c06": {
        "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": "## What TSUNAGI///Matrix does\n\nTSUNAGI///Matrix is a family of tools for the **BMW E46 M3**, including its S54 engine, MSS54HP DME and SMG II transmission. The `matrix-tsunagi` package runs the tools’ open-source, MIT-licensed calculations locally; it does not send data elsewhere or require sign-in.\n\nThe package analyzes files such as DME calibration BINs and backups, driving logs, SMG II images and M35080 instrument-cluster dumps. **It does not connect to or write to the car.** A person performs car connections, flashing and other writes through the relevant app.\n\nThe public build of **MSS54HP CSL CONVERT /// TUNER** is free. The WORKS builds—including experimental TUNER features, SMG II MAPPING, MONITORING, BOOT and M35080 MIGRATION—are available to MILE purchasers and, on request, owners of cars TSUNAGI has worked on. MILE is a one-time purchase on [MESH](https://m3.tsunagi.app/en/mesh), with no subscription or renewal. Allocating it to a MILESTONE records a wish, not a release or delivery-date promise.\n\n## Commands\n\n### Mapping\n\n| Command | Purpose |\n|---|---|\n| `matrix-tsunagi mapping bin <file.bin>` | Inspect a 64 KB MSS54HP calibration: checksums, logic patches and VE/warm-up tables. |\n| `matrix-tsunagi mapping log <file.csv> [--bin <file.bin>]` | Analyze a Testo or TUNER drive log, including usable and excluded rows and ways to improve the next drive. |\n| `matrix-tsunagi mapping ve --bin <file.bin> --log <file.csv> [--out <tuned.bin>]` | Propose VE/alpha-N corrections. Optional `--out` saves a corrected BIN with corrected checksums; it does **not** write it to the car. |\n| `matrix-tsunagi mapping rfkorr --bin <file.bin> --log <file.csv>` | Propose exhaust-temperature density-correction values. This calculation is **experimental** and returns values only. |\n| `matrix-tsunagi mapping smg2 image <image.bin>` | Identify an SMG II image, its ZB number and CRC status; no definition file is needed. |\n| `matrix-tsunagi mapping smg2 read <image.bin> --xdf <definition",
          "done_when": "The transcript shows the server's overview, including the available commands and usage procedure.",
          "how_it_ended": "answered",
          "question": "Did the agent finish `task`, as `done_when` describes, according to the tool replies in `steps`?",
          "steps": [
            {
              "arguments": {},
              "reply": "{\n  \"matrix\": \"TSUNAGI///Matrix\",\n  \"package\": {\n    \"name\": \"matrix-tsunagi\",\n    \"version\": \"0.4.0\"\n  },\n  \"about\": {\n    \"en\": [\n      \"TSUNAGI///Matrix is TSUNAGI's family of tools for the BMW E46 M3 (S54, MSS54HP DME, SMG II). https://m3.tsunagi.app\",\n      \"The calculations are open source (MIT) and free. This package runs them on your own machine and sends nothing anywhere.\",\n      \"Connecting to the car is done in the apps. MSS54HP CSL CONVERT /// TUNER has a free public build: https://mss54hp-csl-convert-tuner.tsunagi.app/\",\n      \"The WORKS builds — TUNER's experimental features, E46M3SMG2 /// MAPPING, E46M3 /// MONITORING, MSS54HP CSL CONVERT /// BOOT and E46 M35080 /// MIGRATION — are for people who have bought MILE on MESH, and for owners of cars TSUNAGI has worked on, on request.\",\n      \"MILE is bought on MESH as a one-time payment, with no subscription and no renewal: https://m3.tsunagi.app/en/mesh\",\n      \"A purchaser can allocate MILE to a MILESTONE to say what they would like it spent on. That is a wish on record, not a promise of any release or date.\"\n    ],\n    \"ja\": [\n      \"TSUNAGI///Matrix は、TSUNAGI が作る BMW E46 M3（S54、MSS54HP DME、SMG II）のツール群です。https://m3.tsunagi.app\",\n      \"計算はオープンソース（MIT）で無料です。このパッケージはお手元の PC で計算し、どこにも送信しません。\",\n      \"車への接続はアプリで行います。MSS54HP CSL CONVERT /// TUNER は無料の公開版があります: https://mss54hp-csl-convert-tuner.tsunagi.app/\",\n      \"ワークス版（TUNER の試験中の機能、E46M3SMG2 /// MAPPING、E46M3 /// MONITORING、MSS54HP CSL CONVERT /// BOOT、E46 M35080 /// MIGRATION）は、MESH で MILE をご購入いただいた方と、お申し出いただいた施工オーナーさんがお使いいただけます。\",\n      \"MILE は MESH で購入します。一回限りのお支払いで、自動更新はありません: https://m3.tsunagi.app/mesh\",\n      \"ご購入の際、MILE を MILESTONE に割り当てて使い道のご希望を示せます。これはご希望の表示で、公開や時期を約束するものではありません。\"\n    ]\n  },\n  \"howToUse\": \"# TSUNAGI///Matrix — 計算のツールを使う\\n\\nオーナーが持っているファイル（DME の BIN、走行ログ、SMG II の画像、DME のバックアップ、メーターの M35080 のダンプ）を、M のツールと同じコードで読み、計算する。車にはつながず、サインインも要らない。これはその手順で、このサーバー（about_matrix）が返す。ツールと一緒に更新されるので、この会話にある matrix-public Skill の手順と食い違ったら、こちらが新しい。こちらに従う。\\n\\n**事実はここに書かない。** 何が読めて何が返るかは、about_matrix のほかの項目と各ツールの説明と結果が持っている。食い違ったら**ツールの答えを信じる**。\\n\\n## 前提\\n\\n- **車への接続・書き込み・フラッシュは、アプリの画面で人が行う。** このツールにはその機能が無い。結果を車に入れたいと言われたら、結果の `apply` が言うアプリと手順を伝える。\\n- **計算は作り直さない。** 数はツールが返したものだけを使う。足りなければ「このファイルからは分かりません」と言う。\\n- **MIGRATION は読むだけで、VIN と DME の識別情報は出さない。** ダンプはオーナーの PC から出さない（リモートでは扱わない）。\\n- オーナーが TUNER WORKS を開いていて、運転中や記録中の話なら、この手順ではなく、TUNER WORKS のコネクタの `tuner_guide` に従う。\\n\\n## 流れ\\n\\n1. **何ができるかを知る：** 初めてのとき、または何を頼めるか聞かれたら `about_matrix`。\\n2. **ファイルを受け取る：**\\n   - 手元の PC で動いているとき（Claude Code など）は、ファイルの**場所（パス）**を聞く。中身を貼ってもらう必要はない。\\n   - ChatGPT では、チャットに**添付**してもらう。\\n   - ファイルが無いときは、`use_sample: true` で練習用のファイルで動きを見せられる。そのときは「練習用のデータです」と必ず言う。\\n3. **ツールを選ぶ：**\\n   - BIN の中身、チェックサム、パッチ → `read_bin`\\n   - ログのどこが使われ、なぜ外れたか → `read_log`（走った BIN も渡すと、DME 自身のしきい値で判断できる）\\n   - VE（alpha-N）の補正 → `propose_ve`。rf_korr → `propose_rfkorr`（試験中。値だけ）\\n   - SMG II の画像の正体 → `smg2_image`。解読 → `smg2_read`（MS4X の XDF が要る）。比べる → `smg2_compare`\\n   - DME のバックアップ → `boot_backup`／`boot_compare`。メーターのダンプ → `m35080_read`／`m35080_compare`\\n4. **伝える：**\\n   - 結果の `summary` を、オーナーの言葉で短く。続けて、効いている数字を一つか二つ。\\n   - `source` が言う道具と版を一度添える。試験中の計算なら、そう言う。\\n   - ログの除外は、**次の走行で減らす方法**として伝える（理由ごとの手当ては結果に入っている）。\\n5. **車に入れたいと言われたら：** `apply` の内容をそのまま伝える。どのアプリで、無料かワークス版か、画面で人がどうするか。ワークス版は、MESH で MILE を購入した方と施工オーナーが使える。売り込まず、聞かれたときに伝える。\\n6. **保存：** `propose_ve` の `out_path` は、補正した BIN を PC に保存する。保存する前に、場所を確かめる。車に書くことではない、と言い添える。\\n\\n## つまずいたとき\\n\\n- 列が足りない、形式が違う → エラー文が、受け付ける列の名前を言っている。それを伝え、TUNER か Testo の CSV を勧める。\\n- XDF が無い（SMG II）→ MS4X Dev Team の定義はこのツールに入っていない。オーナーの手元のものを使う。ワークス版の E46M3SMG2 /// MAPPING には入っている。\\n- ファイルを渡す方法がない（チャットのアプリで、手元のファイルを読めない）→ PC の Claude Code か ChatGPT で使う方法を伝える。\",\n  \"categories\": [\n    {\n      \"name\": \"MAPPING\",\n      \"tools\": [\n        {\n          \"name\": \"MSS54HP CSL CONVERT /// TUNER\",\n          \"version\": \"2.2.1\",\n          \"commit\": \"756d327\",\n          \"publicBuild\": \"https://mss54hp-csl-convert-tuner.tsunagi.app/\"\n        },\n        {\n          \"name\": \"E46M3SMG2 /// MAPPING\",\n          \"version\": \"0.1.0\",\n          \"commit\": \"e9405f1\",\n          \"publicBuild\": null,\n          \"works\": true\n        }\n      ],\n      \"commands\": [\n        {\n          \"command\": \"matrix-tsunagi mapping bin <file.bin>\",\n          \"answers\": \"What is in a 64 KB MSS54HP calibration partial: checksums, logic patches (MAP, TANK VENT, WOT TH, RF GATE), how far the VE and warm-up tables are from stock, the VE table itself.\",\n          \"stage\": \"stable\",\n          \"writesFile\": false\n        },\n        {\n          \"command\": \"matrix-tsunagi mapping log <file.csv> [--bin <file.bin>]\",\n          \"answers\": \"What a drive log (Testo CSV, or a CSV TUNER exported) carries, how many rows the VE and rf_korr calculations can use, and why the rest were left out — each reason with what to change on the next drive.\",\n          \"stage\": \"stable\",\n          \"writesFile\": false\n        },\n        {\n          \"command\": \"matrix-tsunagi mapping ve --bin <file.bin> --log <file.csv> [--out <tuned.bin>]\",\n          \"answers\": \"The VE (alpha-N) map the drive supports: which cells change and by how much, which need more driving and how, and — with --out — the tuned BIN, checksums corrected, byte-for-byte what TUNER's DOWNLOAD TUNED gives.\",\n          \"stage\": \"stable\",\n          \"writesFile\": true\n        },\n        {\n          \"command\": \"matrix-tsunagi mapping rfkorr --bin <file.bin> --log <file.csv>\",\n          \"answers\": \"The rf_korr table (KF_RF_KORR_DRREL, exhaust-temperature density correction) the drive supports, with the evidence per cell. Experimental in the app; values only — the WORKS build makes the file.\",\n          \"stage\": \"experimental\",\n          \"writesFile\": false\n        },\n        {\n          \"command\": \"matrix-tsunagi mapping smg2 image <image.bin>\",\n          \"answers\": \"What an SMG II 510 (E46 M3 SMG gearbox ECU) image is: the 24 KiB calibration window or the full 512 KiB flash, its ZB number, and whether its CRC checksums hold. Needs no definition.\",\n          \"stage\": \"stable\",\n          \"writesFile\": false\n        },\n        {\n          \"command\": \"matrix-tsunagi mapping smg2 read <image.bin> --xdf <Siemens_SMG_II_510_24K.xdf|_512K.xdf> [--item <title words or uniqueId>]\",\n          \"answers\": \"Every calibration item the MS4X definition names (shift speed thresholds per gear and program, gear ratios, clutch and launch settings…), decoded through E46M3SMG2 /// MAPPING's corrections. --item returns one item's full table and axes. The XDF is the owner's own.\",\n          \"stage\": \"stable\",\n          \"writesFile\": false\n        },\n        {\n          \"command\": \"matrix-tsunagi mapping smg2 compare <a.bin> <b.bin> --xdf <definition.xdf>\",\n          \"answers\": \"Which calibration items differ between two SMG II images, how many cells, and the largest difference.\",\n          \"stage\": \"stable\",\n          \"writesFile\": false\n        }\n      ],\n      \"mcp\": \"matrix-tsunagi mcp mapping\"\n    },\n    {\n      \"name\": \"MIGRATION\",\n      \"readOnly\": true,\n      \"tools\": [\n        {\n          \"name\": \"MSS54HP CSL CONVERT /// BOOT\",\n          \"version\": \"0.1.0\",\n          \"commit\": \"bf11e59\",\n          \"publicBuild\": null,\n          \"works\": true\n        },\n        {\n          \"name\": \"E46 M35080 /// MIGRATION\",\n          \"version\": \"0.1.0\",\n          \"commit\": \"229ce6d\",\n          \"publicBuild\": null,\n          \"works\": true\n        }\n      ],\n      \"commands\": [\n        {\n          \"command\": \"matrix-tsunagi migration boot backup <image.bin>\",\n          \"answers\": \"From a full 1 MiB MSS54HP backup: which bootloader each processor carries (standard M3 or CSL), whether each bootloader CRC holds, the program number, and what the CSL conversion has left to do. The identity record is not printed.\",\n          \"stage\": \"stable\",\n          \"writesFile\": false\n        },\n        {\n          \"command\": \"matrix-tsunagi migration boot compare <a.bin> <b.bin>\",\n          \"answers\": \"Where tw",
              "tool": "about_matrix"
            }
          ],
          "task": "Explain what TSUNAGI///Matrix does, which commands are available, and the current procedure for using its tools."
        },
        "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": "## What TSUNAGI///Matrix does\n\nTSUNAGI///Matrix is a family of tools for the **BMW E46 M3**, including the S54 engine’s MSS54HP DME and the SMG II transmission controller. The `matrix-tsunagi` package, reported as version **0.4.0**, runs its calculations locally; according to the package description, it requires no sign-in and sends no data elsewhere. Its calculations are open source under the MIT licence.\n\nThe package analyzes owner-supplied files, including calibration BINs, drive logs, SMG II images, full DME backups and instrument-cluster EEPROM dumps. **It does not connect to, write to or flash the car**. A person performs those actions through the relevant app.\n\n## Commands\n\n### Mapping\n\n| Command | Purpose |\n|---|---|\n| `matrix-tsunagi mapping bin <file.bin>` | Inspect a 64 KB MSS54HP calibration partial: checksums, logic patches and calibration tables. |\n| `matrix-tsunagi mapping log <file.csv> [--bin <file.bin>]` | Analyze a Testo or TUNER drive log, including usable rows, exclusions and suggestions for the next drive. |\n| `matrix-tsunagi mapping ve --bin <file.bin> --log <file.csv> [--out <tuned.bin>]` | Propose VE/alpha-N changes supported by the log. With `--out`, save a corrected-checksum tuned BIN locally. |\n| `matrix-tsunagi mapping rfkorr --bin <file.bin> --log <file.csv>` | Propose exhaust-temperature density-correction values with evidence per cell. **Experimental; values only.** |\n| `matrix-tsunagi mapping smg2 image <image.bin>` | Identify an SMG II calibration window or full flash, including its ZB number and CRC status. |\n| `matrix-tsunagi mapping smg2 read <image.bin> --xdf <definition.xdf> [--item <title or uniqueId>]` | Decode calibration items using the owner’s MS4X XDF definition. |\n| `matrix-tsunagi mapping smg2 compare <a.bin> <b.bin> --xdf <definition.xdf>` | Compare calibration items in two SMG II images. |\n\nThe mapping MCP server is launched with `matrix-tsunagi mcp mapping`.\n\n### Migration and backups\n\n- `matrix-tsunagi migration boo",
          "done_when": "The transcript shows the server's overview, including the available commands and usage procedure.",
          "how_it_ended": "answered",
          "question": "Did the agent finish `task`, as `done_when` describes, according to the tool replies in `steps`?",
          "steps": [
            {
              "arguments": {},
              "reply": "{\n  \"matrix\": \"TSUNAGI///Matrix\",\n  \"package\": {\n    \"name\": \"matrix-tsunagi\",\n    \"version\": \"0.4.0\"\n  },\n  \"about\": {\n    \"en\": [\n      \"TSUNAGI///Matrix is TSUNAGI's family of tools for the BMW E46 M3 (S54, MSS54HP DME, SMG II). https://m3.tsunagi.app\",\n      \"The calculations are open source (MIT) and free. This package runs them on your own machine and sends nothing anywhere.\",\n      \"Connecting to the car is done in the apps. MSS54HP CSL CONVERT /// TUNER has a free public build: https://mss54hp-csl-convert-tuner.tsunagi.app/\",\n      \"The WORKS builds — TUNER's experimental features, E46M3SMG2 /// MAPPING, E46M3 /// MONITORING, MSS54HP CSL CONVERT /// BOOT and E46 M35080 /// MIGRATION — are for people who have bought MILE on MESH, and for owners of cars TSUNAGI has worked on, on request.\",\n      \"MILE is bought on MESH as a one-time payment, with no subscription and no renewal: https://m3.tsunagi.app/en/mesh\",\n      \"A purchaser can allocate MILE to a MILESTONE to say what they would like it spent on. That is a wish on record, not a promise of any release or date.\"\n    ],\n    \"ja\": [\n      \"TSUNAGI///Matrix は、TSUNAGI が作る BMW E46 M3（S54、MSS54HP DME、SMG II）のツール群です。https://m3.tsunagi.app\",\n      \"計算はオープンソース（MIT）で無料です。このパッケージはお手元の PC で計算し、どこにも送信しません。\",\n      \"車への接続はアプリで行います。MSS54HP CSL CONVERT /// TUNER は無料の公開版があります: https://mss54hp-csl-convert-tuner.tsunagi.app/\",\n      \"ワークス版（TUNER の試験中の機能、E46M3SMG2 /// MAPPING、E46M3 /// MONITORING、MSS54HP CSL CONVERT /// BOOT、E46 M35080 /// MIGRATION）は、MESH で MILE をご購入いただいた方と、お申し出いただいた施工オーナーさんがお使いいただけます。\",\n      \"MILE は MESH で購入します。一回限りのお支払いで、自動更新はありません: https://m3.tsunagi.app/mesh\",\n      \"ご購入の際、MILE を MILESTONE に割り当てて使い道のご希望を示せます。これはご希望の表示で、公開や時期を約束するものではありません。\"\n    ]\n  },\n  \"howToUse\": \"# TSUNAGI///Matrix — 計算のツールを使う\\n\\nオーナーが持っているファイル（DME の BIN、走行ログ、SMG II の画像、DME のバックアップ、メーターの M35080 のダンプ）を、M のツールと同じコードで読み、計算する。車にはつながず、サインインも要らない。これはその手順で、このサーバー（about_matrix）が返す。ツールと一緒に更新されるので、この会話にある matrix-public Skill の手順と食い違ったら、こちらが新しい。こちらに従う。\\n\\n**事実はここに書かない。** 何が読めて何が返るかは、about_matrix のほかの項目と各ツールの説明と結果が持っている。食い違ったら**ツールの答えを信じる**。\\n\\n## 前提\\n\\n- **車への接続・書き込み・フラッシュは、アプリの画面で人が行う。** このツールにはその機能が無い。結果を車に入れたいと言われたら、結果の `apply` が言うアプリと手順を伝える。\\n- **計算は作り直さない。** 数はツールが返したものだけを使う。足りなければ「このファイルからは分かりません」と言う。\\n- **MIGRATION は読むだけで、VIN と DME の識別情報は出さない。** ダンプはオーナーの PC から出さない（リモートでは扱わない）。\\n- オーナーが TUNER WORKS を開いていて、運転中や記録中の話なら、この手順ではなく、TUNER WORKS のコネクタの `tuner_guide` に従う。\\n\\n## 流れ\\n\\n1. **何ができるかを知る：** 初めてのとき、または何を頼めるか聞かれたら `about_matrix`。\\n2. **ファイルを受け取る：**\\n   - 手元の PC で動いているとき（Claude Code など）は、ファイルの**場所（パス）**を聞く。中身を貼ってもらう必要はない。\\n   - ChatGPT では、チャットに**添付**してもらう。\\n   - ファイルが無いときは、`use_sample: true` で練習用のファイルで動きを見せられる。そのときは「練習用のデータです」と必ず言う。\\n3. **ツールを選ぶ：**\\n   - BIN の中身、チェックサム、パッチ → `read_bin`\\n   - ログのどこが使われ、なぜ外れたか → `read_log`（走った BIN も渡すと、DME 自身のしきい値で判断できる）\\n   - VE（alpha-N）の補正 → `propose_ve`。rf_korr → `propose_rfkorr`（試験中。値だけ）\\n   - SMG II の画像の正体 → `smg2_image`。解読 → `smg2_read`（MS4X の XDF が要る）。比べる → `smg2_compare`\\n   - DME のバックアップ → `boot_backup`／`boot_compare`。メーターのダンプ → `m35080_read`／`m35080_compare`\\n4. **伝える：**\\n   - 結果の `summary` を、オーナーの言葉で短く。続けて、効いている数字を一つか二つ。\\n   - `source` が言う道具と版を一度添える。試験中の計算なら、そう言う。\\n   - ログの除外は、**次の走行で減らす方法**として伝える（理由ごとの手当ては結果に入っている）。\\n5. **車に入れたいと言われたら：** `apply` の内容をそのまま伝える。どのアプリで、無料かワークス版か、画面で人がどうするか。ワークス版は、MESH で MILE を購入した方と施工オーナーが使える。売り込まず、聞かれたときに伝える。\\n6. **保存：** `propose_ve` の `out_path` は、補正した BIN を PC に保存する。保存する前に、場所を確かめる。車に書くことではない、と言い添える。\\n\\n## つまずいたとき\\n\\n- 列が足りない、形式が違う → エラー文が、受け付ける列の名前を言っている。それを伝え、TUNER か Testo の CSV を勧める。\\n- XDF が無い（SMG II）→ MS4X Dev Team の定義はこのツールに入っていない。オーナーの手元のものを使う。ワークス版の E46M3SMG2 /// MAPPING には入っている。\\n- ファイルを渡す方法がない（チャットのアプリで、手元のファイルを読めない）→ PC の Claude Code か ChatGPT で使う方法を伝える。\",\n  \"categories\": [\n    {\n      \"name\": \"MAPPING\",\n      \"tools\": [\n        {\n          \"name\": \"MSS54HP CSL CONVERT /// TUNER\",\n          \"version\": \"2.2.1\",\n          \"commit\": \"756d327\",\n          \"publicBuild\": \"https://mss54hp-csl-convert-tuner.tsunagi.app/\"\n        },\n        {\n          \"name\": \"E46M3SMG2 /// MAPPING\",\n          \"version\": \"0.1.0\",\n          \"commit\": \"e9405f1\",\n          \"publicBuild\": null,\n          \"works\": true\n        }\n      ],\n      \"commands\": [\n        {\n          \"command\": \"matrix-tsunagi mapping bin <file.bin>\",\n          \"answers\": \"What is in a 64 KB MSS54HP calibration partial: checksums, logic patches (MAP, TANK VENT, WOT TH, RF GATE), how far the VE and warm-up tables are from stock, the VE table itself.\",\n          \"stage\": \"stable\",\n          \"writesFile\": false\n        },\n        {\n          \"command\": \"matrix-tsunagi mapping log <file.csv> [--bin <file.bin>]\",\n          \"answers\": \"What a drive log (Testo CSV, or a CSV TUNER exported) carries, how many rows the VE and rf_korr calculations can use, and why the rest were left out — each reason with what to change on the next drive.\",\n          \"stage\": \"stable\",\n          \"writesFile\": false\n        },\n        {\n          \"command\": \"matrix-tsunagi mapping ve --bin <file.bin> --log <file.csv> [--out <tuned.bin>]\",\n          \"answers\": \"The VE (alpha-N) map the drive supports: which cells change and by how much, which need more driving and how, and — with --out — the tuned BIN, checksums corrected, byte-for-byte what TUNER's DOWNLOAD TUNED gives.\",\n          \"stage\": \"stable\",\n          \"writesFile\": true\n        },\n        {\n          \"command\": \"matrix-tsunagi mapping rfkorr --bin <file.bin> --log <file.csv>\",\n          \"answers\": \"The rf_korr table (KF_RF_KORR_DRREL, exhaust-temperature density correction) the drive supports, with the evidence per cell. Experimental in the app; values only — the WORKS build makes the file.\",\n          \"stage\": \"experimental\",\n          \"writesFile\": false\n        },\n        {\n          \"command\": \"matrix-tsunagi mapping smg2 image <image.bin>\",\n          \"answers\": \"What an SMG II 510 (E46 M3 SMG gearbox ECU) image is: the 24 KiB calibration window or the full 512 KiB flash, its ZB number, and whether its CRC checksums hold. Needs no definition.\",\n          \"stage\": \"stable\",\n          \"writesFile\": false\n        },\n        {\n          \"command\": \"matrix-tsunagi mapping smg2 read <image.bin> --xdf <Siemens_SMG_II_510_24K.xdf|_512K.xdf> [--item <title words or uniqueId>]\",\n          \"answers\": \"Every calibration item the MS4X definition names (shift speed thresholds per gear and program, gear ratios, clutch and launch settings…), decoded through E46M3SMG2 /// MAPPING's corrections. --item returns one item's full table and axes. The XDF is the owner's own.\",\n          \"stage\": \"stable\",\n          \"writesFile\": false\n        },\n        {\n          \"command\": \"matrix-tsunagi mapping smg2 compare <a.bin> <b.bin> --xdf <definition.xdf>\",\n          \"answers\": \"Which calibration items differ between two SMG II images, how many cells, and the largest difference.\",\n          \"stage\": \"stable\",\n          \"writesFile\": false\n        }\n      ],\n      \"mcp\": \"matrix-tsunagi mcp mapping\"\n    },\n    {\n      \"name\": \"MIGRATION\",\n      \"readOnly\": true,\n      \"tools\": [\n        {\n          \"name\": \"MSS54HP CSL CONVERT /// BOOT\",\n          \"version\": \"0.1.0\",\n          \"commit\": \"bf11e59\",\n          \"publicBuild\": null,\n          \"works\": true\n        },\n        {\n          \"name\": \"E46 M35080 /// MIGRATION\",\n          \"version\": \"0.1.0\",\n          \"commit\": \"229ce6d\",\n          \"publicBuild\": null,\n          \"works\": true\n        }\n      ],\n      \"commands\": [\n        {\n          \"command\": \"matrix-tsunagi migration boot backup <image.bin>\",\n          \"answers\": \"From a full 1 MiB MSS54HP backup: which bootloader each processor carries (standard M3 or CSL), whether each bootloader CRC holds, the program number, and what the CSL conversion has left to do. The identity record is not printed.\",\n          \"stage\": \"stable\",\n          \"writesFile\": false\n        },\n        {\n          \"command\": \"matrix-tsunagi migration boot compare <a.bin> <b.bin>\",\n          \"answers\": \"Where tw",
              "tool": "about_matrix"
            }
          ],
          "task": "Explain what TSUNAGI///Matrix does, which commands are available, and the current procedure for using its tools."
        },
        "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": "## What TSUNAGI///Matrix does\n\nTSUNAGI///Matrix is a family of tools for the **BMW E46 M3**, including its S54 engine, MSS54HP DME and SMG II transmission. The `matrix-tsunagi` package runs the tools’ calculations locally, using files such as DME BINs, drive logs, SMG images and EEPROM backups. The calculations are free and MIT-licensed; the package sends no data elsewhere.\n\n**The calculation tools do not connect to or write to the car.** A person performs vehicle connections, flashing and other writes through the relevant application.\n\n## Commands\n\nThe server describes these command-line commands:\n\n### MAPPING\n\n| Command | Purpose |\n|---|---|\n| `matrix-tsunagi mapping bin <file.bin>` | Inspect a 64 KB MSS54HP calibration: checksums, logic patches and VE/warm-up tables. |\n| `matrix-tsunagi mapping log <file.csv> [--bin <file.bin>]` | Analyze a Testo or TUNER drive log, including usable rows, exclusions and suggestions for the next drive. |\n| `matrix-tsunagi mapping ve --bin <file.bin> --log <file.csv> [--out <tuned.bin>]` | Propose VE/alpha-N corrections; optionally save a corrected BIN. |\n| `matrix-tsunagi mapping rfkorr --bin <file.bin> --log <file.csv>` | Propose **experimental** exhaust-temperature density-correction values; it does not write a file. |\n| `matrix-tsunagi mapping smg2 image <image.bin>` | Identify an SMG II image and check its CRCs. |\n| `matrix-tsunagi mapping smg2 read <image.bin> --xdf <definition.xdf> [--item <title-or-id>]` | Decode calibration items using the owner’s MS4X XDF definition. |\n| `matrix-tsunagi mapping smg2 compare <a.bin> <b.bin> --xdf <definition.xdf>` | Compare calibration items in two SMG II images. |\n\nThe mapping MCP server is started with `matrix-tsunagi mcp mapping`.\n\n### MIGRATION\n\nThe visible command listing includes:\n\n- `matrix-tsunagi migration boot backup <image.bin>` — inspect a full 1 MiB MSS54HP backup for bootloader type, CRCs, program number and remaining CSL-conversion work.\n\nThe server also provides read-only o",
          "done_when": "The transcript shows the server's overview, including the available commands and usage procedure.",
          "how_it_ended": "answered",
          "question": "Did the agent finish `task`, as `done_when` describes, according to the tool replies in `steps`?",
          "steps": [
            {
              "arguments": {},
              "reply": "{\n  \"matrix\": \"TSUNAGI///Matrix\",\n  \"package\": {\n    \"name\": \"matrix-tsunagi\",\n    \"version\": \"0.4.0\"\n  },\n  \"about\": {\n    \"en\": [\n      \"TSUNAGI///Matrix is TSUNAGI's family of tools for the BMW E46 M3 (S54, MSS54HP DME, SMG II). https://m3.tsunagi.app\",\n      \"The calculations are open source (MIT) and free. This package runs them on your own machine and sends nothing anywhere.\",\n      \"Connecting to the car is done in the apps. MSS54HP CSL CONVERT /// TUNER has a free public build: https://mss54hp-csl-convert-tuner.tsunagi.app/\",\n      \"The WORKS builds — TUNER's experimental features, E46M3SMG2 /// MAPPING, E46M3 /// MONITORING, MSS54HP CSL CONVERT /// BOOT and E46 M35080 /// MIGRATION — are for people who have bought MILE on MESH, and for owners of cars TSUNAGI has worked on, on request.\",\n      \"MILE is bought on MESH as a one-time payment, with no subscription and no renewal: https://m3.tsunagi.app/en/mesh\",\n      \"A purchaser can allocate MILE to a MILESTONE to say what they would like it spent on. That is a wish on record, not a promise of any release or date.\"\n    ],\n    \"ja\": [\n      \"TSUNAGI///Matrix は、TSUNAGI が作る BMW E46 M3（S54、MSS54HP DME、SMG II）のツール群です。https://m3.tsunagi.app\",\n      \"計算はオープンソース（MIT）で無料です。このパッケージはお手元の PC で計算し、どこにも送信しません。\",\n      \"車への接続はアプリで行います。MSS54HP CSL CONVERT /// TUNER は無料の公開版があります: https://mss54hp-csl-convert-tuner.tsunagi.app/\",\n      \"ワークス版（TUNER の試験中の機能、E46M3SMG2 /// MAPPING、E46M3 /// MONITORING、MSS54HP CSL CONVERT /// BOOT、E46 M35080 /// MIGRATION）は、MESH で MILE をご購入いただいた方と、お申し出いただいた施工オーナーさんがお使いいただけます。\",\n      \"MILE は MESH で購入します。一回限りのお支払いで、自動更新はありません: https://m3.tsunagi.app/mesh\",\n      \"ご購入の際、MILE を MILESTONE に割り当てて使い道のご希望を示せます。これはご希望の表示で、公開や時期を約束するものではありません。\"\n    ]\n  },\n  \"howToUse\": \"# TSUNAGI///Matrix — 計算のツールを使う\\n\\nオーナーが持っているファイル（DME の BIN、走行ログ、SMG II の画像、DME のバックアップ、メーターの M35080 のダンプ）を、M のツールと同じコードで読み、計算する。車にはつながず、サインインも要らない。これはその手順で、このサーバー（about_matrix）が返す。ツールと一緒に更新されるので、この会話にある matrix-public Skill の手順と食い違ったら、こちらが新しい。こちらに従う。\\n\\n**事実はここに書かない。** 何が読めて何が返るかは、about_matrix のほかの項目と各ツールの説明と結果が持っている。食い違ったら**ツールの答えを信じる**。\\n\\n## 前提\\n\\n- **車への接続・書き込み・フラッシュは、アプリの画面で人が行う。** このツールにはその機能が無い。結果を車に入れたいと言われたら、結果の `apply` が言うアプリと手順を伝える。\\n- **計算は作り直さない。** 数はツールが返したものだけを使う。足りなければ「このファイルからは分かりません」と言う。\\n- **MIGRATION は読むだけで、VIN と DME の識別情報は出さない。** ダンプはオーナーの PC から出さない（リモートでは扱わない）。\\n- オーナーが TUNER WORKS を開いていて、運転中や記録中の話なら、この手順ではなく、TUNER WORKS のコネクタの `tuner_guide` に従う。\\n\\n## 流れ\\n\\n1. **何ができるかを知る：** 初めてのとき、または何を頼めるか聞かれたら `about_matrix`。\\n2. **ファイルを受け取る：**\\n   - 手元の PC で動いているとき（Claude Code など）は、ファイルの**場所（パス）**を聞く。中身を貼ってもらう必要はない。\\n   - ChatGPT では、チャットに**添付**してもらう。\\n   - ファイルが無いときは、`use_sample: true` で練習用のファイルで動きを見せられる。そのときは「練習用のデータです」と必ず言う。\\n3. **ツールを選ぶ：**\\n   - BIN の中身、チェックサム、パッチ → `read_bin`\\n   - ログのどこが使われ、なぜ外れたか → `read_log`（走った BIN も渡すと、DME 自身のしきい値で判断できる）\\n   - VE（alpha-N）の補正 → `propose_ve`。rf_korr → `propose_rfkorr`（試験中。値だけ）\\n   - SMG II の画像の正体 → `smg2_image`。解読 → `smg2_read`（MS4X の XDF が要る）。比べる → `smg2_compare`\\n   - DME のバックアップ → `boot_backup`／`boot_compare`。メーターのダンプ → `m35080_read`／`m35080_compare`\\n4. **伝える：**\\n   - 結果の `summary` を、オーナーの言葉で短く。続けて、効いている数字を一つか二つ。\\n   - `source` が言う道具と版を一度添える。試験中の計算なら、そう言う。\\n   - ログの除外は、**次の走行で減らす方法**として伝える（理由ごとの手当ては結果に入っている）。\\n5. **車に入れたいと言われたら：** `apply` の内容をそのまま伝える。どのアプリで、無料かワークス版か、画面で人がどうするか。ワークス版は、MESH で MILE を購入した方と施工オーナーが使える。売り込まず、聞かれたときに伝える。\\n6. **保存：** `propose_ve` の `out_path` は、補正した BIN を PC に保存する。保存する前に、場所を確かめる。車に書くことではない、と言い添える。\\n\\n## つまずいたとき\\n\\n- 列が足りない、形式が違う → エラー文が、受け付ける列の名前を言っている。それを伝え、TUNER か Testo の CSV を勧める。\\n- XDF が無い（SMG II）→ MS4X Dev Team の定義はこのツールに入っていない。オーナーの手元のものを使う。ワークス版の E46M3SMG2 /// MAPPING には入っている。\\n- ファイルを渡す方法がない（チャットのアプリで、手元のファイルを読めない）→ PC の Claude Code か ChatGPT で使う方法を伝える。\",\n  \"categories\": [\n    {\n      \"name\": \"MAPPING\",\n      \"tools\": [\n        {\n          \"name\": \"MSS54HP CSL CONVERT /// TUNER\",\n          \"version\": \"2.2.1\",\n          \"commit\": \"756d327\",\n          \"publicBuild\": \"https://mss54hp-csl-convert-tuner.tsunagi.app/\"\n        },\n        {\n          \"name\": \"E46M3SMG2 /// MAPPING\",\n          \"version\": \"0.1.0\",\n          \"commit\": \"e9405f1\",\n          \"publicBuild\": null,\n          \"works\": true\n        }\n      ],\n      \"commands\": [\n        {\n          \"command\": \"matrix-tsunagi mapping bin <file.bin>\",\n          \"answers\": \"What is in a 64 KB MSS54HP calibration partial: checksums, logic patches (MAP, TANK VENT, WOT TH, RF GATE), how far the VE and warm-up tables are from stock, the VE table itself.\",\n          \"stage\": \"stable\",\n          \"writesFile\": false\n        },\n        {\n          \"command\": \"matrix-tsunagi mapping log <file.csv> [--bin <file.bin>]\",\n          \"answers\": \"What a drive log (Testo CSV, or a CSV TUNER exported) carries, how many rows the VE and rf_korr calculations can use, and why the rest were left out — each reason with what to change on the next drive.\",\n          \"stage\": \"stable\",\n          \"writesFile\": false\n        },\n        {\n          \"command\": \"matrix-tsunagi mapping ve --bin <file.bin> --log <file.csv> [--out <tuned.bin>]\",\n          \"answers\": \"The VE (alpha-N) map the drive supports: which cells change and by how much, which need more driving and how, and — with --out — the tuned BIN, checksums corrected, byte-for-byte what TUNER's DOWNLOAD TUNED gives.\",\n          \"stage\": \"stable\",\n          \"writesFile\": true\n        },\n        {\n          \"command\": \"matrix-tsunagi mapping rfkorr --bin <file.bin> --log <file.csv>\",\n          \"answers\": \"The rf_korr table (KF_RF_KORR_DRREL, exhaust-temperature density correction) the drive supports, with the evidence per cell. Experimental in the app; values only — the WORKS build makes the file.\",\n          \"stage\": \"experimental\",\n          \"writesFile\": false\n        },\n        {\n          \"command\": \"matrix-tsunagi mapping smg2 image <image.bin>\",\n          \"answers\": \"What an SMG II 510 (E46 M3 SMG gearbox ECU) image is: the 24 KiB calibration window or the full 512 KiB flash, its ZB number, and whether its CRC checksums hold. Needs no definition.\",\n          \"stage\": \"stable\",\n          \"writesFile\": false\n        },\n        {\n          \"command\": \"matrix-tsunagi mapping smg2 read <image.bin> --xdf <Siemens_SMG_II_510_24K.xdf|_512K.xdf> [--item <title words or uniqueId>]\",\n          \"answers\": \"Every calibration item the MS4X definition names (shift speed thresholds per gear and program, gear ratios, clutch and launch settings…), decoded through E46M3SMG2 /// MAPPING's corrections. --item returns one item's full table and axes. The XDF is the owner's own.\",\n          \"stage\": \"stable\",\n          \"writesFile\": false\n        },\n        {\n          \"command\": \"matrix-tsunagi mapping smg2 compare <a.bin> <b.bin> --xdf <definition.xdf>\",\n          \"answers\": \"Which calibration items differ between two SMG II images, how many cells, and the largest difference.\",\n          \"stage\": \"stable\",\n          \"writesFile\": false\n        }\n      ],\n      \"mcp\": \"matrix-tsunagi mcp mapping\"\n    },\n    {\n      \"name\": \"MIGRATION\",\n      \"readOnly\": true,\n      \"tools\": [\n        {\n          \"name\": \"MSS54HP CSL CONVERT /// BOOT\",\n          \"version\": \"0.1.0\",\n          \"commit\": \"bf11e59\",\n          \"publicBuild\": null,\n          \"works\": true\n        },\n        {\n          \"name\": \"E46 M35080 /// MIGRATION\",\n          \"version\": \"0.1.0\",\n          \"commit\": \"229ce6d\",\n          \"publicBuild\": null,\n          \"works\": true\n        }\n      ],\n      \"commands\": [\n        {\n          \"command\": \"matrix-tsunagi migration boot backup <image.bin>\",\n          \"answers\": \"From a full 1 MiB MSS54HP backup: which bootloader each processor carries (standard M3 or CSL), whether each bootloader CRC holds, the program number, and what the CSL conversion has left to do. The identity record is not printed.\",\n          \"stage\": \"stable\",\n          \"writesFile\": false\n        },\n        {\n          \"command\": \"matrix-tsunagi migration boot compare <a.bin> <b.bin>\",\n          \"answers\": \"Where tw",
              "tool": "about_matrix"
            }
          ],
          "task": "Explain what TSUNAGI///Matrix does, which commands are available, and the current procedure for using its tools."
        },
        "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 analyzed the built-in **practice** MSS54HP backup. It was generated by the practice device, not read from a car.\n\n| Processor | Bootloader | CRC status |\n|---|---|---|\n| Master | Standard M3 | Valid — stored and computed CRC: `0x0ACE` |\n| Slave | Standard M3 | Valid — stored and computed CRC: `0x1D14` |\n\n**Program number:** `21132300`\n\n**CSL conversion:** Both stages remain. The next planned stage is the **slave**, followed by the master. The tool reports that the conversion is not blocked.",
          "done_when": "The transcript shows the practice backup analysis with the bootloader and CRC findings for both processors and any available program and conversion details.",
          "how_it_ended": "answered",
          "question": "Did the agent finish `task`, as `done_when` describes, according to the tool replies in `steps`?",
          "steps": [
            {
              "arguments": {
                "use_sample": true
              },
              "reply": "{\n  \"matrix\": \"TSUNAGI///Matrix\",\n  \"category\": \"MIGRATION\",\n  \"command\": \"boot backup\",\n  \"summary\": \"PRACTICE image: built by BOOT's practice device, not read from any car. A full MSS54HP image. The master carries the standard M3 bootloader, the slave the standard M3 bootloader. Program number 21132300. The CSL conversion has 2 stage(s) left; the next is the slave (slave first, as BOOT plans it). The DME's identity record is not printed.\",\n  \"source\": {\n    \"tool\": \"MSS54HP CSL CONVERT /// BOOT\",\n    \"version\": \"0.1.0\",\n    \"commit\": \"bf11e59\",\n    \"stage\": \"stable\"\n  },\n  \"result\": {\n    \"bytes\": 1048576,\n    \"master\": {\n      \"flavour\": \"standard-m3\",\n      \"crc\": {\n        \"stored\": \"0x0ACE\",\n        \"computed\": \"0x0ACE\",\n        \"valid\": true\n      },\n      \"programNumbers\": [\n        \"21132300\",\n        \"21132300\",\n        \"21132300\"\n      ]\n    },\n    \"slave\": {\n      \"flavour\": \"standard-m3\",\n      \"crc\": {\n        \"stored\": \"0x1D14\",\n        \"computed\": \"0x1D14\",\n        \"valid\": true\n      }\n    },\n    \"conversion\": {\n      \"next\": \"slave\",\n      \"stage\": 1,\n      \"total\": 2,\n      \"done\": [],\n      \"blocked\": false\n    },\n    \"practice\": true\n  },\n  \"apply\": {\n    \"app\": \"MSS54HP CSL CONVERT /// BOOT — WORKS\",\n    \"availability\": \"works\",\n    \"url\": \"https://m3.tsunagi.app/en/mesh\",\n    \"how\": {\n      \"en\": \"Backing a DME up over OBD, verifying the backup, and planning its CSL conversion are done in the WORKS build of MSS54HP CSL CONVERT /// BOOT. The WORKS builds are for people who have bought MILE on MESH (one-time payment): https://m3.tsunagi.app/en/mesh\",\n      \"ja\": \"OBD からの DME のバックアップ、その検証、CSL 化の計画は、MSS54HP CSL CONVERT /// BOOT のワークス版で行えます。ワークス版は MESH で MILE をご購入いただいた方がお使いいただけます（一回限りのお支払い）: https://m3.tsunagi.app/mesh\"\n    }\n  }\n}",
              "tool": "boot_backup"
            }
          ],
          "task": "Analyze the built-in practice MSS54HP DME backup and report the bootloader type and CRC status for each processor, the program number, and any remaining CSL conversion steps."
        },
        "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 analyzed the built-in **practice** MSS54HP backup. It was generated by the practice device, not read from a car.\n\n| Processor | Bootloader | CRC status |\n|---|---|---|\n| Master | Standard M3 | Valid — stored and computed values both `0x0ACE` |\n| Slave | Standard M3 | Valid — stored and computed values both `0x1D14` |\n\nThe **program number is `21132300`**.\n\nThe CSL conversion has **two stages remaining**. The next stage is the slave bootloader; the master follows. No stages are marked complete, and the conversion is not flagged as blocked.",
          "done_when": "The transcript shows the practice backup analysis with the bootloader and CRC findings for both processors and any available program and conversion details.",
          "how_it_ended": "answered",
          "question": "Did the agent finish `task`, as `done_when` describes, according to the tool replies in `steps`?",
          "steps": [
            {
              "arguments": {
                "use_sample": true
              },
              "reply": "{\n  \"matrix\": \"TSUNAGI///Matrix\",\n  \"category\": \"MIGRATION\",\n  \"command\": \"boot backup\",\n  \"summary\": \"PRACTICE image: built by BOOT's practice device, not read from any car. A full MSS54HP image. The master carries the standard M3 bootloader, the slave the standard M3 bootloader. Program number 21132300. The CSL conversion has 2 stage(s) left; the next is the slave (slave first, as BOOT plans it). The DME's identity record is not printed.\",\n  \"source\": {\n    \"tool\": \"MSS54HP CSL CONVERT /// BOOT\",\n    \"version\": \"0.1.0\",\n    \"commit\": \"bf11e59\",\n    \"stage\": \"stable\"\n  },\n  \"result\": {\n    \"bytes\": 1048576,\n    \"master\": {\n      \"flavour\": \"standard-m3\",\n      \"crc\": {\n        \"stored\": \"0x0ACE\",\n        \"computed\": \"0x0ACE\",\n        \"valid\": true\n      },\n      \"programNumbers\": [\n        \"21132300\",\n        \"21132300\",\n        \"21132300\"\n      ]\n    },\n    \"slave\": {\n      \"flavour\": \"standard-m3\",\n      \"crc\": {\n        \"stored\": \"0x1D14\",\n        \"computed\": \"0x1D14\",\n        \"valid\": true\n      }\n    },\n    \"conversion\": {\n      \"next\": \"slave\",\n      \"stage\": 1,\n      \"total\": 2,\n      \"done\": [],\n      \"blocked\": false\n    },\n    \"practice\": true\n  },\n  \"apply\": {\n    \"app\": \"MSS54HP CSL CONVERT /// BOOT — WORKS\",\n    \"availability\": \"works\",\n    \"url\": \"https://m3.tsunagi.app/en/mesh\",\n    \"how\": {\n      \"en\": \"Backing a DME up over OBD, verifying the backup, and planning its CSL conversion are done in the WORKS build of MSS54HP CSL CONVERT /// BOOT. The WORKS builds are for people who have bought MILE on MESH (one-time payment): https://m3.tsunagi.app/en/mesh\",\n      \"ja\": \"OBD からの DME のバックアップ、その検証、CSL 化の計画は、MSS54HP CSL CONVERT /// BOOT のワークス版で行えます。ワークス版は MESH で MILE をご購入いただいた方がお使いいただけます（一回限りのお支払い）: https://m3.tsunagi.app/mesh\"\n    }\n  }\n}",
              "tool": "boot_backup"
            }
          ],
          "task": "Analyze the built-in practice MSS54HP DME backup and report the bootloader type and CRC status for each processor, the program number, and any remaining CSL conversion steps."
        },
        "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": "## Practice MSS54HP backup analysis\n\nThis is a **built-in practice image**, not a backup read from a car.\n\n| Processor | Bootloader | CRC status |\n|---|---|---|\n| Master | Standard M3 | Valid — stored and computed: `0x0ACE` |\n| Slave | Standard M3 | Valid — stored and computed: `0x1D14` |\n\n**Program number:** `21132300`\n\n**CSL conversion:** Two stages remain. The next stage is the slave; BOOT plans the slave first. The conversion is not blocked.\n\nThe analysis was read-only, using MSS54HP CSL CONVERT /// BOOT version 0.1.0.",
          "done_when": "The transcript shows the practice backup analysis with the bootloader and CRC findings for both processors and any available program and conversion details.",
          "how_it_ended": "answered",
          "question": "Did the agent finish `task`, as `done_when` describes, according to the tool replies in `steps`?",
          "steps": [
            {
              "arguments": {},
              "reply": "{\n  \"matrix\": \"TSUNAGI///Matrix\",\n  \"package\": {\n    \"name\": \"matrix-tsunagi\",\n    \"version\": \"0.4.0\"\n  },\n  \"about\": {\n    \"en\": [\n      \"TSUNAGI///Matrix is TSUNAGI's family of tools for the BMW E46 M3 (S54, MSS54HP DME, SMG II). https://m3.tsunagi.app\",\n      \"The calculations are open source (MIT) and free. This package runs them on your own machine and sends nothing anywhere.\",\n      \"Connecting to the car is done in the apps. MSS54HP CSL CONVERT /// TUNER has a free public build: https://mss54hp-csl-convert-tuner.tsunagi.app/\",\n      \"The WORKS builds — TUNER's experimental features, E46M3SMG2 /// MAPPING, E46M3 /// MONITORING, MSS54HP CSL CONVERT /// BOOT and E46 M35080 /// MIGRATION — are for people who have bought MILE on MESH, and for owners of cars TSUNAGI has worked on, on request.\",\n      \"MILE is bought on MESH as a one-time payment, with no subscription and no renewal: https://m3.tsunagi.app/en/mesh\",\n      \"A purchaser can allocate MILE to a MILESTONE to say what they would like it spent on. That is a wish on record, not a promise of any release or date.\"\n    ],\n    \"ja\": [\n      \"TSUNAGI///Matrix は、TSUNAGI が作る BMW E46 M3（S54、MSS54HP DME、SMG II）のツール群です。https://m3.tsunagi.app\",\n      \"計算はオープンソース（MIT）で無料です。このパッケージはお手元の PC で計算し、どこにも送信しません。\",\n      \"車への接続はアプリで行います。MSS54HP CSL CONVERT /// TUNER は無料の公開版があります: https://mss54hp-csl-convert-tuner.tsunagi.app/\",\n      \"ワークス版（TUNER の試験中の機能、E46M3SMG2 /// MAPPING、E46M3 /// MONITORING、MSS54HP CSL CONVERT /// BOOT、E46 M35080 /// MIGRATION）は、MESH で MILE をご購入いただいた方と、お申し出いただいた施工オーナーさんがお使いいただけます。\",\n      \"MILE は MESH で購入します。一回限りのお支払いで、自動更新はありません: https://m3.tsunagi.app/mesh\",\n      \"ご購入の際、MILE を MILESTONE に割り当てて使い道のご希望を示せます。これはご希望の表示で、公開や時期を約束するものではありません。\"\n    ]\n  },\n  \"howToUse\": \"# TSUNAGI///Matrix — 計算のツールを使う\\n\\nオーナーが持っているファイル（DME の BIN、走行ログ、SMG II の画像、DME のバックアップ、メーターの M35080 のダンプ）を、M のツールと同じコードで読み、計算する。車にはつながず、サインインも要らない。これはその手順で、このサーバー（about_matrix）が返す。ツールと一緒に更新されるので、この会話にある matrix-public Skill の手順と食い違ったら、こちらが新しい。こちらに従う。\\n\\n**事実はここに書かない。** 何が読めて何が返るかは、about_matrix のほかの項目と各ツールの説明と結果が持っている。食い違ったら**ツールの答えを信じる**。\\n\\n## 前提\\n\\n- **車への接続・書き込み・フラッシュは、アプリの画面で人が行う。** このツールにはその機能が無い。結果を車に入れたいと言われたら、結果の `apply` が言うアプリと手順を伝える。\\n- **計算は作り直さない。** 数はツールが返したものだけを使う。足りなければ「このファイルからは分かりません」と言う。\\n- **MIGRATION は読むだけで、VIN と DME の識別情報は出さない。** ダンプはオーナーの PC から出さない（リモートでは扱わない）。\\n- オーナーが TUNER WORKS を開いていて、運転中や記録中の話なら、この手順ではなく、TUNER WORKS のコネクタの `tuner_guide` に従う。\\n\\n## 流れ\\n\\n1. **何ができるかを知る：** 初めてのとき、または何を頼めるか聞かれたら `about_matrix`。\\n2. **ファイルを受け取る：**\\n   - 手元の PC で動いているとき（Claude Code など）は、ファイルの**場所（パス）**を聞く。中身を貼ってもらう必要はない。\\n   - ChatGPT では、チャットに**添付**してもらう。\\n   - ファイルが無いときは、`use_sample: true` で練習用のファイルで動きを見せられる。そのときは「練習用のデータです」と必ず言う。\\n3. **ツールを選ぶ：**\\n   - BIN の中身、チェックサム、パッチ → `read_bin`\\n   - ログのどこが使われ、なぜ外れたか → `read_log`（走った BIN も渡すと、DME 自身のしきい値で判断できる）\\n   - VE（alpha-N）の補正 → `propose_ve`。rf_korr → `propose_rfkorr`（試験中。値だけ）\\n   - SMG II の画像の正体 → `smg2_image`。解読 → `smg2_read`（MS4X の XDF が要る）。比べる → `smg2_compare`\\n   - DME のバックアップ → `boot_backup`／`boot_compare`。メーターのダンプ → `m35080_read`／`m35080_compare`\\n4. **伝える：**\\n   - 結果の `summary` を、オーナーの言葉で短く。続けて、効いている数字を一つか二つ。\\n   - `source` が言う道具と版を一度添える。試験中の計算なら、そう言う。\\n   - ログの除外は、**次の走行で減らす方法**として伝える（理由ごとの手当ては結果に入っている）。\\n5. **車に入れたいと言われたら：** `apply` の内容をそのまま伝える。どのアプリで、無料かワークス版か、画面で人がどうするか。ワークス版は、MESH で MILE を購入した方と施工オーナーが使える。売り込まず、聞かれたときに伝える。\\n6. **保存：** `propose_ve` の `out_path` は、補正した BIN を PC に保存する。保存する前に、場所を確かめる。車に書くことではない、と言い添える。\\n\\n## つまずいたとき\\n\\n- 列が足りない、形式が違う → エラー文が、受け付ける列の名前を言っている。それを伝え、TUNER か Testo の CSV を勧める。\\n- XDF が無い（SMG II）→ MS4X Dev Team の定義はこのツールに入っていない。オーナーの手元のものを使う。ワークス版の E46M3SMG2 /// MAPPING には入っている。\\n- ファイルを渡す方法がない（チャットのアプリで、手元のファイルを読めない）→ PC の Claude Code か ChatGPT で使う方法を伝える。\",\n  \"categories\": [\n    {\n      \"name\": \"MAPPING\",\n      \"tools\": [\n        {\n          \"name\": \"MSS54HP CSL CONVERT /// TUNER\",\n          \"version\": \"2.2.1\",\n          \"commit\": \"756d327\",\n          \"publicBuild\": \"https://mss54hp-csl-convert-tuner.tsunagi.app/\"\n        },\n        {\n          \"name\": \"E46M3SMG2 /// MAPPING\",\n          \"version\": \"0.1.0\",\n          \"commit\": \"e9405f1\",\n          \"publicBuild\": null,\n          \"works\": true\n        }\n      ],\n      \"commands\": [\n        {\n          \"command\": \"matrix-tsunagi mapping bin <file.bin>\",\n          \"answers\": \"What is in a 64 KB MSS54HP calibration partial: checksums, logic patches (MAP, TANK VENT, WOT TH, RF GATE), how far the VE and warm-up tables are from stock, the VE table itself.\",\n          \"stage\": \"stable\",\n          \"writesFile\": false\n        },\n        {\n          \"command\": \"matrix-tsunagi mapping log <file.csv> [--bin <file.bin>]\",\n          \"answers\": \"What a drive log (Testo CSV, or a CSV TUNER exported) carries, how many rows the VE and rf_korr calculations can use, and why the rest were left out — each reason with what to change on the next drive.\",\n          \"stage\": \"stable\",\n          \"writesFile\": false\n        },\n        {\n          \"command\": \"matrix-tsunagi mapping ve --bin <file.bin> --log <file.csv> [--out <tuned.bin>]\",\n          \"answers\": \"The VE (alpha-N) map the drive supports: which cells change and by how much, which need more driving and how, and — with --out — the tuned BIN, checksums corrected, byte-for-byte what TUNER's DOWNLOAD TUNED gives.\",\n          \"stage\": \"stable\",\n          \"writesFile\": true\n        },\n        {\n          \"command\": \"matrix-tsunagi mapping rfkorr --bin <file.bin> --log <file.csv>\",\n          \"answers\": \"The rf_korr table (KF_RF_KORR_DRREL, exhaust-temperature density correction) the drive supports, with the evidence per cell. Experimental in the app; values only — the WORKS build makes the file.\",\n          \"stage\": \"experimental\",\n          \"writesFile\": false\n        },\n        {\n          \"command\": \"matrix-tsunagi mapping smg2 image <image.bin>\",\n          \"answers\": \"What an SMG II 510 (E46 M3 SMG gearbox ECU) image is: the 24 KiB calibration window or the full 512 KiB flash, its ZB number, and whether its CRC checksums hold. Needs no definition.\",\n          \"stage\": \"stable\",\n          \"writesFile\": false\n        },\n        {\n          \"command\": \"matrix-tsunagi mapping smg2 read <image.bin> --xdf <Siemens_SMG_II_510_24K.xdf|_512K.xdf> [--item <title words or uniqueId>]\",\n          \"answers\": \"Every calibration item the MS4X definition names (shift speed thresholds per gear and program, gear ratios, clutch and launch settings…), decoded through E46M3SMG2 /// MAPPING's corrections. --item returns one item's full table and axes. The XDF is the owner's own.\",\n          \"stage\": \"stable\",\n          \"writesFile\": false\n        },\n        {\n          \"command\": \"matrix-tsunagi mapping smg2 compare <a.bin> <b.bin> --xdf <definition.xdf>\",\n          \"answers\": \"Which calibration items differ between two SMG II images, how many cells, and the largest difference.\",\n          \"stage\": \"stable\",\n          \"writesFile\": false\n        }\n      ],\n      \"mcp\": \"matrix-tsunagi mcp mapping\"\n    },\n    {\n      \"name\": \"MIGRATION\",\n      \"readOnly\": true,\n      \"tools\": [\n        {\n          \"name\": \"MSS54HP CSL CONVERT /// BOOT\",\n          \"version\": \"0.1.0\",\n          \"commit\": \"bf11e59\",\n          \"publicBuild\": null,\n          \"works\": true\n        },\n        {\n          \"name\": \"E46 M35080 /// MIGRATION\",\n          \"version\": \"0.1.0\",\n          \"commit\": \"229ce6d\",\n          \"publicBuild\": null,\n          \"works\": true\n        }\n      ],\n      \"commands\": [\n        {\n          \"command\": \"matrix-tsunagi migration boot backup <image.bin>\",\n          \"answers\": \"From a full 1 MiB MSS54HP backup: which bootloader each processor carries (standard M3 or CSL), whether each bootloader CRC holds, the program number, and what the CSL conversion has left to do. The identity record is not printed.\",\n          \"stage\": \"stable\",\n          \"writesFile\": false\n        },\n        {\n          \"command\": \"matrix-tsunagi migration boot compare <a.bin> <b.bin>\",\n          \"answers\": \"Where tw",
              "tool": "about_matrix"
            },
            {
              "arguments": {
                "use_sample": true
              },
              "reply": "{\n  \"matrix\": \"TSUNAGI///Matrix\",\n  \"category\": \"MIGRATION\",\n  \"command\": \"boot backup\",\n  \"summary\": \"PRACTICE image: built by BOOT's practice device, not read from any car. A full MSS54HP image. The master carries the standard M3 bootloader, the slave the standard M3 bootloader. Program number 21132300. The CSL conversion has 2 stage(s) left; the next is the slave (slave first, as BOOT plans it). The DME's identity record is not printed.\",\n  \"source\": {\n    \"tool\": \"MSS54HP CSL CONVERT /// BOOT\",\n    \"version\": \"0.1.0\",\n    \"commit\": \"bf11e59\",\n    \"stage\": \"stable\"\n  },\n  \"result\": {\n    \"bytes\": 1048576,\n    \"master\": {\n      \"flavour\": \"standard-m3\",\n      \"crc\": {\n        \"stored\": \"0x0ACE\",\n        \"computed\": \"0x0ACE\",\n        \"valid\": true\n      },\n      \"programNumbers\": [\n        \"21132300\",\n        \"21132300\",\n        \"21132300\"\n      ]\n    },\n    \"slave\": {\n      \"flavour\": \"standard-m3\",\n      \"crc\": {\n        \"stored\": \"0x1D14\",\n        \"computed\": \"0x1D14\",\n        \"valid\": true\n      }\n    },\n    \"conversion\": {\n      \"next\": \"slave\",\n      \"stage\": 1,\n      \"total\": 2,\n      \"done\": [],\n      \"blocked\": false\n    },\n    \"practice\": true\n  },\n  \"apply\": {\n    \"app\": \"MSS54HP CSL CONVERT /// BOOT — WORKS\",\n    \"availability\": \"works\",\n    \"url\": \"https://m3.tsunagi.app/en/mesh\",\n    \"how\": {\n      \"en\": \"Backing a DME up over OBD, verifying the backup, and planning its CSL conversion are done in the WORKS build of MSS54HP CSL CONVERT /// BOOT. The WORKS builds are for people who have bought MILE on MESH (one-time payment): https://m3.tsunagi.app/en/mesh\",\n      \"ja\": \"OBD からの DME のバックアップ、その検証、CSL 化の計画は、MSS54HP CSL CONVERT /// BOOT のワークス版で行えます。ワークス版は MESH で MILE をご購入いただいた方がお使いいただけます（一回限りのお支払い）: https://m3.tsunagi.app/mesh\"\n    }\n  }\n}",
              "tool": "boot_backup"
            }
          ],
          "task": "Analyze the built-in practice MSS54HP DME backup and report the bootloader type and CRC status for each processor, the program number, and any remaining CSL conversion steps."
        },
        "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": "I attempted to read the built-in practice M35080 EEPROM, but the tool could not access its sample image. As a result, I can’t report the mileage, layout, checksum findings, apparent chip-read authenticity, or whether the VIN copies agree.\n\nIf you provide a 1,024-byte M35080 image accessible in the sandbox, I can attempt to analyze it without printing the VIN.",
          "done_when": "The transcript shows the practice EEPROM analysis including mileage, layout and checksum findings, chip-read assessment, and VIN-copy agreement.",
          "how_it_ended": "answered",
          "question": "Did the agent finish `task`, as `done_when` describes, according to the tool replies in `steps`?",
          "steps": [
            {
              "arguments": {
                "use_sample": true
              },
              "reply": "error: {\n  \"error\": \"Cannot read the M35080 image at /opt/server/node_modules/matrix-tsunagi/dist/samples/practice-m35080.bin.\"\n}",
              "tool": "m35080_read"
            }
          ],
          "task": "Read the built-in practice M35080 EEPROM and report its mileage, layout and checksum findings, whether it appears to be a real chip read, and whether the VIN copies agree without printing the VIN."
        },
        "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": "I attempted to read the built-in practice M35080 EEPROM, but the tool could not access its sample image. As a result, I can’t report the mileage, layout or checksum findings, whether it resembles a real chip read, or whether the VIN copies agree.\n\nThe tool returned: “Cannot read the M35080 image.”",
          "done_when": "The transcript shows the practice EEPROM analysis including mileage, layout and checksum findings, chip-read assessment, and VIN-copy agreement.",
          "how_it_ended": "answered",
          "question": "Did the agent finish `task`, as `done_when` describes, according to the tool replies in `steps`?",
          "steps": [
            {
              "arguments": {
                "use_sample": true
              },
              "reply": "error: {\n  \"error\": \"Cannot read the M35080 image at /opt/server/node_modules/matrix-tsunagi/dist/samples/practice-m35080.bin.\"\n}",
              "tool": "m35080_read"
            }
          ],
          "task": "Read the built-in practice M35080 EEPROM and report its mileage, layout and checksum findings, whether it appears to be a real chip read, and whether the VIN copies agree without printing the VIN."
        },
        "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": "I attempted to read the built-in M35080 practice EEPROM, but the tool could not access its practice image. As a result, I can’t report its mileage, layout, checksums, apparent chip-read authenticity, or VIN-copy agreement.\n\nNo VIN was printed. The tool would need a working practice image or an accessible 1,024-byte EEPROM image to complete the read.",
          "done_when": "The transcript shows the practice EEPROM analysis including mileage, layout and checksum findings, chip-read assessment, and VIN-copy agreement.",
          "how_it_ended": "answered",
          "question": "Did the agent finish `task`, as `done_when` describes, according to the tool replies in `steps`?",
          "steps": [
            {
              "arguments": {},
              "reply": "{\n  \"matrix\": \"TSUNAGI///Matrix\",\n  \"package\": {\n    \"name\": \"matrix-tsunagi\",\n    \"version\": \"0.4.0\"\n  },\n  \"about\": {\n    \"en\": [\n      \"TSUNAGI///Matrix is TSUNAGI's family of tools for the BMW E46 M3 (S54, MSS54HP DME, SMG II). https://m3.tsunagi.app\",\n      \"The calculations are open source (MIT) and free. This package runs them on your own machine and sends nothing anywhere.\",\n      \"Connecting to the car is done in the apps. MSS54HP CSL CONVERT /// TUNER has a free public build: https://mss54hp-csl-convert-tuner.tsunagi.app/\",\n      \"The WORKS builds — TUNER's experimental features, E46M3SMG2 /// MAPPING, E46M3 /// MONITORING, MSS54HP CSL CONVERT /// BOOT and E46 M35080 /// MIGRATION — are for people who have bought MILE on MESH, and for owners of cars TSUNAGI has worked on, on request.\",\n      \"MILE is bought on MESH as a one-time payment, with no subscription and no renewal: https://m3.tsunagi.app/en/mesh\",\n      \"A purchaser can allocate MILE to a MILESTONE to say what they would like it spent on. That is a wish on record, not a promise of any release or date.\"\n    ],\n    \"ja\": [\n      \"TSUNAGI///Matrix は、TSUNAGI が作る BMW E46 M3（S54、MSS54HP DME、SMG II）のツール群です。https://m3.tsunagi.app\",\n      \"計算はオープンソース（MIT）で無料です。このパッケージはお手元の PC で計算し、どこにも送信しません。\",\n      \"車への接続はアプリで行います。MSS54HP CSL CONVERT /// TUNER は無料の公開版があります: https://mss54hp-csl-convert-tuner.tsunagi.app/\",\n      \"ワークス版（TUNER の試験中の機能、E46M3SMG2 /// MAPPING、E46M3 /// MONITORING、MSS54HP CSL CONVERT /// BOOT、E46 M35080 /// MIGRATION）は、MESH で MILE をご購入いただいた方と、お申し出いただいた施工オーナーさんがお使いいただけます。\",\n      \"MILE は MESH で購入します。一回限りのお支払いで、自動更新はありません: https://m3.tsunagi.app/mesh\",\n      \"ご購入の際、MILE を MILESTONE に割り当てて使い道のご希望を示せます。これはご希望の表示で、公開や時期を約束するものではありません。\"\n    ]\n  },\n  \"howToUse\": \"# TSUNAGI///Matrix — 計算のツールを使う\\n\\nオーナーが持っているファイル（DME の BIN、走行ログ、SMG II の画像、DME のバックアップ、メーターの M35080 のダンプ）を、M のツールと同じコードで読み、計算する。車にはつながず、サインインも要らない。これはその手順で、このサーバー（about_matrix）が返す。ツールと一緒に更新されるので、この会話にある matrix-public Skill の手順と食い違ったら、こちらが新しい。こちらに従う。\\n\\n**事実はここに書かない。** 何が読めて何が返るかは、about_matrix のほかの項目と各ツールの説明と結果が持っている。食い違ったら**ツールの答えを信じる**。\\n\\n## 前提\\n\\n- **車への接続・書き込み・フラッシュは、アプリの画面で人が行う。** このツールにはその機能が無い。結果を車に入れたいと言われたら、結果の `apply` が言うアプリと手順を伝える。\\n- **計算は作り直さない。** 数はツールが返したものだけを使う。足りなければ「このファイルからは分かりません」と言う。\\n- **MIGRATION は読むだけで、VIN と DME の識別情報は出さない。** ダンプはオーナーの PC から出さない（リモートでは扱わない）。\\n- オーナーが TUNER WORKS を開いていて、運転中や記録中の話なら、この手順ではなく、TUNER WORKS のコネクタの `tuner_guide` に従う。\\n\\n## 流れ\\n\\n1. **何ができるかを知る：** 初めてのとき、または何を頼めるか聞かれたら `about_matrix`。\\n2. **ファイルを受け取る：**\\n   - 手元の PC で動いているとき（Claude Code など）は、ファイルの**場所（パス）**を聞く。中身を貼ってもらう必要はない。\\n   - ChatGPT では、チャットに**添付**してもらう。\\n   - ファイルが無いときは、`use_sample: true` で練習用のファイルで動きを見せられる。そのときは「練習用のデータです」と必ず言う。\\n3. **ツールを選ぶ：**\\n   - BIN の中身、チェックサム、パッチ → `read_bin`\\n   - ログのどこが使われ、なぜ外れたか → `read_log`（走った BIN も渡すと、DME 自身のしきい値で判断できる）\\n   - VE（alpha-N）の補正 → `propose_ve`。rf_korr → `propose_rfkorr`（試験中。値だけ）\\n   - SMG II の画像の正体 → `smg2_image`。解読 → `smg2_read`（MS4X の XDF が要る）。比べる → `smg2_compare`\\n   - DME のバックアップ → `boot_backup`／`boot_compare`。メーターのダンプ → `m35080_read`／`m35080_compare`\\n4. **伝える：**\\n   - 結果の `summary` を、オーナーの言葉で短く。続けて、効いている数字を一つか二つ。\\n   - `source` が言う道具と版を一度添える。試験中の計算なら、そう言う。\\n   - ログの除外は、**次の走行で減らす方法**として伝える（理由ごとの手当ては結果に入っている）。\\n5. **車に入れたいと言われたら：** `apply` の内容をそのまま伝える。どのアプリで、無料かワークス版か、画面で人がどうするか。ワークス版は、MESH で MILE を購入した方と施工オーナーが使える。売り込まず、聞かれたときに伝える。\\n6. **保存：** `propose_ve` の `out_path` は、補正した BIN を PC に保存する。保存する前に、場所を確かめる。車に書くことではない、と言い添える。\\n\\n## つまずいたとき\\n\\n- 列が足りない、形式が違う → エラー文が、受け付ける列の名前を言っている。それを伝え、TUNER か Testo の CSV を勧める。\\n- XDF が無い（SMG II）→ MS4X Dev Team の定義はこのツールに入っていない。オーナーの手元のものを使う。ワークス版の E46M3SMG2 /// MAPPING には入っている。\\n- ファイルを渡す方法がない（チャットのアプリで、手元のファイルを読めない）→ PC の Claude Code か ChatGPT で使う方法を伝える。\",\n  \"categories\": [\n    {\n      \"name\": \"MAPPING\",\n      \"tools\": [\n        {\n          \"name\": \"MSS54HP CSL CONVERT /// TUNER\",\n          \"version\": \"2.2.1\",\n          \"commit\": \"756d327\",\n          \"publicBuild\": \"https://mss54hp-csl-convert-tuner.tsunagi.app/\"\n        },\n        {\n          \"name\": \"E46M3SMG2 /// MAPPING\",\n          \"version\": \"0.1.0\",\n          \"commit\": \"e9405f1\",\n          \"publicBuild\": null,\n          \"works\": true\n        }\n      ],\n      \"commands\": [\n        {\n          \"command\": \"matrix-tsunagi mapping bin <file.bin>\",\n          \"answers\": \"What is in a 64 KB MSS54HP calibration partial: checksums, logic patches (MAP, TANK VENT, WOT TH, RF GATE), how far the VE and warm-up tables are from stock, the VE table itself.\",\n          \"stage\": \"stable\",\n          \"writesFile\": false\n        },\n        {\n          \"command\": \"matrix-tsunagi mapping log <file.csv> [--bin <file.bin>]\",\n          \"answers\": \"What a drive log (Testo CSV, or a CSV TUNER exported) carries, how many rows the VE and rf_korr calculations can use, and why the rest were left out — each reason with what to change on the next drive.\",\n          \"stage\": \"stable\",\n          \"writesFile\": false\n        },\n        {\n          \"command\": \"matrix-tsunagi mapping ve --bin <file.bin> --log <file.csv> [--out <tuned.bin>]\",\n          \"answers\": \"The VE (alpha-N) map the drive supports: which cells change and by how much, which need more driving and how, and — with --out — the tuned BIN, checksums corrected, byte-for-byte what TUNER's DOWNLOAD TUNED gives.\",\n          \"stage\": \"stable\",\n          \"writesFile\": true\n        },\n        {\n          \"command\": \"matrix-tsunagi mapping rfkorr --bin <file.bin> --log <file.csv>\",\n          \"answers\": \"The rf_korr table (KF_RF_KORR_DRREL, exhaust-temperature density correction) the drive supports, with the evidence per cell. Experimental in the app; values only — the WORKS build makes the file.\",\n          \"stage\": \"experimental\",\n          \"writesFile\": false\n        },\n        {\n          \"command\": \"matrix-tsunagi mapping smg2 image <image.bin>\",\n          \"answers\": \"What an SMG II 510 (E46 M3 SMG gearbox ECU) image is: the 24 KiB calibration window or the full 512 KiB flash, its ZB number, and whether its CRC checksums hold. Needs no definition.\",\n          \"stage\": \"stable\",\n          \"writesFile\": false\n        },\n        {\n          \"command\": \"matrix-tsunagi mapping smg2 read <image.bin> --xdf <Siemens_SMG_II_510_24K.xdf|_512K.xdf> [--item <title words or uniqueId>]\",\n          \"answers\": \"Every calibration item the MS4X definition names (shift speed thresholds per gear and program, gear ratios, clutch and launch settings…), decoded through E46M3SMG2 /// MAPPING's corrections. --item returns one item's full table and axes. The XDF is the owner's own.\",\n          \"stage\": \"stable\",\n          \"writesFile\": false\n        },\n        {\n          \"command\": \"matrix-tsunagi mapping smg2 compare <a.bin> <b.bin> --xdf <definition.xdf>\",\n          \"answers\": \"Which calibration items differ between two SMG II images, how many cells, and the largest difference.\",\n          \"stage\": \"stable\",\n          \"writesFile\": false\n        }\n      ],\n      \"mcp\": \"matrix-tsunagi mcp mapping\"\n    },\n    {\n      \"name\": \"MIGRATION\",\n      \"readOnly\": true,\n      \"tools\": [\n        {\n          \"name\": \"MSS54HP CSL CONVERT /// BOOT\",\n          \"version\": \"0.1.0\",\n          \"commit\": \"bf11e59\",\n          \"publicBuild\": null,\n          \"works\": true\n        },\n        {\n          \"name\": \"E46 M35080 /// MIGRATION\",\n          \"version\": \"0.1.0\",\n          \"commit\": \"229ce6d\",\n          \"publicBuild\": null,\n          \"works\": true\n        }\n      ],\n      \"commands\": [\n        {\n          \"command\": \"matrix-tsunagi migration boot backup <image.bin>\",\n          \"answers\": \"From a full 1 MiB MSS54HP backup: which bootloader each processor carries (standard M3 or CSL), whether each bootloader CRC holds, the program number, and what the CSL conversion has left to do. The identity record is not printed.\",\n          \"stage\": \"stable\",\n          \"writesFile\": false\n        },\n        {\n          \"command\": \"matrix-tsunagi migration boot compare <a.bin> <b.bin>\",\n          \"answers\": \"Where tw",
              "tool": "about_matrix"
            },
            {
              "arguments": {
                "use_sample": true
              },
              "reply": "error: {\n  \"error\": \"Cannot read the M35080 image at /opt/server/node_modules/matrix-tsunagi/dist/samples/practice-m35080.bin.\"\n}",
              "tool": "m35080_read"
            }
          ],
          "task": "Read the built-in practice M35080 EEPROM and report its mileage, layout and checksum findings, whether it appears to be a real chip read, and whether the VIN copies agree without printing the VIN."
        },
        "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": "01M8334C99MPY6EPFPHBWNJPVN",
  "works_done": [
    {
      "attempt": 0,
      "noul": 0.88,
      "question": "w00"
    },
    {
      "attempt": 1,
      "noul": 0.78,
      "question": "w01"
    },
    {
      "attempt": 2,
      "noul": 0.79,
      "question": "w02"
    },
    {
      "attempt": 3,
      "noul": 0.98,
      "question": "w03"
    },
    {
      "attempt": 4,
      "noul": 0.99,
      "question": "w04"
    },
    {
      "attempt": 5,
      "noul": 0.98,
      "question": "w05"
    },
    {
      "attempt": 6,
      "noul": 0.01,
      "question": "w06"
    },
    {
      "attempt": 7,
      "noul": 0.01,
      "question": "w07"
    },
    {
      "attempt": 8,
      "noul": 0.01,
      "question": "w08"
    }
  ]
}
