{
  "case": "o01",
  "checks": {
    "列表展示完整 ID": true,
    "错误 ID 未发请求": true,
    "正确 ID 到达本地端点": true
  },
  "commands": [
    {
      "command": "opencode --pure models qrfixture",
      "exit": 0,
      "stdout": "qrfixture/qwen3.8-flash",
      "stderr": "Performing one time database migration, may take a few minutes...\nsqlite-migration:done\nDatabase migration complete."
    },
    {
      "command": "opencode --pure run --format json --model qrfixture/no-such-model 'Reply with only QR-FIXTURE-OK.'",
      "exit": 0,
      "stdout": "{\"type\":\"error\",\"timestamp\":1793802065431,\"sessionID\":\"ses_e5910aa54ffet4b3SXfLnu2FDY\",\"error\":{\"name\":\"UnknownError\",\"data\":{\"message\":\"Model not found: qrfixture/no-such-model.\"}}}",
      "stderr": "ProviderModelNotFoundError: ProviderModelNotFoundError\n data: {\n  providerID: \"qrfixture\",\n  modelID: \"no-such-model\",\n  suggestions: [],\n},\n\n      at <anonymous> (/$bunfs/root/src/index.js:226196:17)\n      at ~effect/Effect/successCont (/$bunfs/root/src/index.js:23376:32)\n      at runLoop (/$bunfs/root/src/index.js:23202:109)\n      at evaluate (/$bunfs/root/src/index.js:23172:32)\n      at <anonymous> (/$bunfs/root/src/index.js:23334:26)\n      at doneUnsafe (/$bunfs/root/src/index.js:24506:24)\n      at <anonymous> (/$bunfs/root/src/index.js:63213:17)\n      at ~effect/Effect/successCont (/$bunfs/root/src/index.js:23751:33)\n      at runLoop (/$bunfs/root/src/index.js:23202:109)\n      at evaluate (/$bunfs/root/src/index.js:23172:32)\n      at <anonymous> (/$bunfs/root/src/index.js:23334:26)"
    },
    {
      "command": "opencode --pure run --format json --model qrfixture/qwen3.8-flash 'Reply with only QR-FIXTURE-OK.'",
      "exit": 0,
      "stdout": "{\"type\":\"step_start\",\"timestamp\":1793802066482,\"sessionID\":\"ses_e5910a74effewPz85wPBS5TqbW\",\"part\":{\"id\":\"prt_1a6ef5a2f0011ebbbX1bsPkHIm\",\"messageID\":\"msg_1a6ef590e001qTuU1Rs7U8tr9l\",\"sessionID\":\"ses_e5910a74effewPz85wPBS5TqbW\",\"snapshot\":\"e6d9f96657483331ae5d634590ddaa7b9f000b33\",\"type\":\"step-start\"}}\n{\"type\":\"text\",\"timestamp\":1793802066483,\"sessionID\":\"ses_e5910a74effewPz85wPBS5TqbW\",\"part\":{\"id\":\"prt_1a6ef5a30001ulu9s6y1gzuxOS\",\"messageID\":\"msg_1a6ef590e001qTuU1Rs7U8tr9l\",\"sessionID\":\"ses_e5910a74effewPz85wPBS5TqbW\",\"type\":\"text\",\"text\":\"QR-FIXTURE-OK\",\"time\":{\"start\":1793802066482,\"end\":1793802066482}}}\n{\"type\":\"step_finish\",\"timestamp\":1793802066523,\"sessionID\":\"ses_e5910a74effewPz85wPBS5TqbW\",\"part\":{\"id\":\"prt_1a6ef5a330016ywXKA0EJZ495l\",\"reason\":\"stop\",\"snapshot\":\"e6d9f96657483331ae5d634590ddaa7b9f000b33\",\"messageID\":\"msg_1a6ef590e001qTuU1Rs7U8tr9l\",\"sessionID\":\"ses_e5910a74effewPz85wPBS5TqbW\",\"type\":\"step-finish\",\"tokens\":{\"total\":13,\"input\":9,\"output\":4,\"reasoning\":0,\"cache\":{\"write\":0,\"read\":0}},\"cost\":0}}",
      "stderr": ""
    }
  ],
  "localRequests": [
    {
      "path": "/v1/chat/completions",
      "model": "qwen3.8-flash",
      "stream": true,
      "fixtureKeyPresent": true,
      "projectMarkerInBody": false
    },
    {
      "path": "/v1/chat/completions",
      "model": "qwen3.8-flash",
      "stream": true,
      "fixtureKeyPresent": true,
      "projectMarkerInBody": false
    }
  ],
  "passed": true,
  "mode": "isolated local fixture",
  "date": "2026-11-04"
}
