{
  "id": "r03",
  "execution": "PR Agent 0.49.0 Local Git（模型回复为本地固定样例）",
  "passed": true,
  "checks": {
    "初始化临时 Git 仓库": true,
    "样例基线有本地提交": true,
    "PR Agent 请求了受控 Chat 服务": true,
    "本地审查产物已写入指定文件": true,
    "样例仓库没有远程地址": true
  },
  "commands": [
    {
      "command": "git init -b main",
      "exit": 0,
      "stdout": "Initialized empty Git repository in /private<LAB>/project/.git/\n",
      "stderr": ""
    },
    {
      "command": "git add .",
      "exit": 0,
      "stdout": "",
      "stderr": ""
    },
    {
      "command": "git commit -m 'fixture baseline'",
      "exit": 0,
      "stdout": "[main (root-commit) dcb12f2] fixture baseline\n 1 file changed, 2 insertions(+)\n create mode 100644 app.py\n",
      "stderr": ""
    },
    {
      "command": "git switch -c fixture-review",
      "exit": 0,
      "stdout": "",
      "stderr": "Switched to a new branch 'fixture-review'\n"
    },
    {
      "command": "git add .",
      "exit": 0,
      "stdout": "",
      "stderr": ""
    },
    {
      "command": "git commit -m 'change sample total'",
      "exit": 0,
      "stdout": "[fixture-review 72a8705] change sample total\n 2 files changed, 2 insertions(+), 1 deletion(-)\n create mode 100644 generated/api.py\n",
      "stderr": ""
    },
    {
      "command": "'pr-python' -m pr_agent.cli --pr_url main improve",
      "exit": 0,
      "stdout": "\u001b[32m2026-11-05 10:45:50.772\u001b[0m | \u001b[33m\u001b[1mWARNING \u001b[0m | \u001b[36mpr_agent.custom_merge_loader\u001b[0m:\u001b[36mload\u001b[0m:\u001b[36m67\u001b[0m - \u001b[33m\u001b[1mSettings file not found: /Volumes/Mac Storage/Projects/tokenba-deliveries/developer-topics-20261105/pr312/lib/python3.12/site-packages/pr_agent/settings/.secrets.toml. Skipping it.\u001b[0m\n\u001b[32m2026-11-05 10:45:50.772\u001b[0m | \u001b[33m\u001b[1mWARNING \u001b[0m | \u001b[36mpr_agent.custom_merge_loader\u001b[0m:\u001b[36mload\u001b[0m:\u001b[36m67\u001b[0m - \u001b[33m\u001b[1mSettings file not found: /Volumes/Mac Storage/Projects/tokenba-deliveries/developer-topics-20261105/pr312/lib/python3.12/site-packages/pr_agent/settings_prod/.secrets.toml. Skipping it.\u001b[0m\n\u001b[32m2026-11-05 10:45:51.168\u001b[0m | \u001b[1mINFO    \u001b[0m | \u001b[36mpr_agent.tools.pr_code_suggestions\u001b[0m:\u001b[36mrun\u001b[0m:\u001b[36m403\u001b[0m - \u001b[1mGenerating code suggestions for PR...\u001b[0m\n\u001b[32m2026-11-05 10:45:51.172\u001b[0m | \u001b[1mINFO    \u001b[0m | \u001b[36mpr_agent.tools.pr_code_suggestions\u001b[0m:\u001b[36mprepare_prediction_main\u001b[0m:\u001b[36m2184\u001b[0m - \u001b[1mNumber of PR chunk calls: 1\u001b[0m\n\u001b[32m2026-11-05 10:45:51.815\u001b[0m | \u001b[31m\u001b[1mERROR   \u001b[0m | \u001b[36mpr_agent.tools.pr_code_suggestions\u001b[0m:\u001b[36manalyze_self_reflection_response\u001b[0m:\u001b[36m1180\u001b[0m - \u001b[31m\u001b[1mError processing suggestion score 0\u001b[0m\n",
      "stderr": ""
    },
    {
      "command": "读取 improve.md",
      "exit": 0,
      "stdout": "# PR Code Suggestions ✨\n\n### app.py [2]\n\n**Suggestion:** Preserve the amount. [possible issue, importance: 7]\n```suggestion\n    return amount\n```",
      "stderr": ""
    },
    {
      "command": "git remote -v",
      "exit": 0,
      "stdout": "",
      "stderr": ""
    }
  ],
  "localRequests": [
    {
      "path": "/v1/chat/completions",
      "model": "qr-fixture",
      "authSource": "environment",
      "stream": false
    },
    {
      "path": "/v1/chat/completions",
      "model": "qr-fixture",
      "authSource": "environment",
      "stream": false
    }
  ]
}
