)]}'
{
  "commit": "ea4234e6457c8401bb6f2da3e64fda9693bf6b71",
  "tree": "7d175bea5decfbdfa061f2042519dd9deb3cc962",
  "parents": [
    "0b14a74857b6293f18d1fa8ee930099c29c34dd7"
  ],
  "author": {
    "name": "Richard Levasseur",
    "email": "richardlev@gmail.com",
    "time": "Sun Nov 15 13:26:21 2026 -0800"
  },
  "committer": {
    "name": "GitHub",
    "email": "noreply@github.com",
    "time": "Sun Nov 15 13:26:21 2026 -0800"
  },
  "message": "agents: add manual PR review queue plugin and security rules (#4510)\n\nMaintainers need a quick view of open GitHub PRs awaiting attention\nwithout background polling or automatic reviews. Agent rules and\nreview prompts also lacked explicit guardrails for local HTTP\nsidecars, web UI DOM/CSP hygiene, prompt-injection fencing, and\ntimeout or retry caps.\n\nAdd the manual `pr-queue` IDE plugin, backed by an asyncio HTTP\nsidecar split into `fetch_pr_queue`, `state_store`, `git_worktree`,\n`ls_client`, and `server` modules. Explicit refreshes query GitHub\nvia `gh` and serve an adaptive side-panel UI (`index.html`). The\nsidecar validates `Host`/`Origin` headers, sidecar tokens, and Git\ninputs, provisions isolated PR head worktrees on demand, and launches\n`/review-code` chats over loopback HTTP Language Server RPCs.\n\nPackage the sidecar modules and co-located unit tests as Bazel targets\nunder `.agents/plugins/pr-queue/sidecars/pr_queue/`. Update\n`.agents/rules/` and `.agents/skills/review-code/` to codify web UI,\nsidecar, SQLite, CLI, and prompt-boundary security checks plus\nconservative timeout, retry, and resource-cap review criteria.",
  "tree_diff": [
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "0df62976efe2c918660d5957df1dbd4d43378b14",
      "new_mode": 33188,
      "new_path": ".agents/plugins/pr-queue/README.md"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "c77f7743e4111d78ed89546d3d347fe5f83bf06d",
      "new_mode": 33188,
      "new_path": ".agents/plugins/pr-queue/plugin.json"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "5bd3759d22ac6b17dd7915873c27fa2fd582be49",
      "new_mode": 33188,
      "new_path": ".agents/plugins/pr-queue/rules/AGENTS.md"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "6233bccfa43b893be03e64a1bf8919857567bf21",
      "new_mode": 33188,
      "new_path": ".agents/plugins/pr-queue/sidecars/pr_queue/BUILD.bazel"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "4954cfd45f7242ad1cf4627489bda9863394f3a5",
      "new_mode": 33261,
      "new_path": ".agents/plugins/pr-queue/sidecars/pr_queue/fetch_pr_queue.py"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "4cf1f686b2dc8c23caf2484141079d2055288d73",
      "new_mode": 33261,
      "new_path": ".agents/plugins/pr-queue/sidecars/pr_queue/fetch_pr_queue_test.py"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "714a4ba11fbc6f5982c2f0021a777719ec048d92",
      "new_mode": 33188,
      "new_path": ".agents/plugins/pr-queue/sidecars/pr_queue/git_worktree.py"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "b78b20dd6f5e8aefc704fa589392540057434855",
      "new_mode": 33188,
      "new_path": ".agents/plugins/pr-queue/sidecars/pr_queue/index.html"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "4f5800e77816e380ca8038f7304daf5e7750c6b7",
      "new_mode": 33188,
      "new_path": ".agents/plugins/pr-queue/sidecars/pr_queue/ls_client.py"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "57d8991e43fd56d733b27ad42bf14edebacbd638",
      "new_mode": 33261,
      "new_path": ".agents/plugins/pr-queue/sidecars/pr_queue/server.py"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "7c10aa203ba8305f02f67c1335ef611ba04e7c6a",
      "new_mode": 33261,
      "new_path": ".agents/plugins/pr-queue/sidecars/pr_queue/server_test.py"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "8f81df1bbdb3cba7cc25ef141cfeef38a0375f91",
      "new_mode": 33188,
      "new_path": ".agents/plugins/pr-queue/sidecars/pr_queue/sidecar.json"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "968ac7491294a30a83f9c77fa7a48385b7b7ef99",
      "new_mode": 33188,
      "new_path": ".agents/plugins/pr-queue/sidecars/pr_queue/state_store.py"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "fa467af78645fa88626f882a10fcaaef9bed1f32",
      "new_mode": 33188,
      "new_path": ".agents/plugins/pr-queue/skills/pr-queue/SKILL.md"
    },
    {
      "type": "modify",
      "old_id": "63eac42deb1300c42833b7c126900a4b1233064b",
      "old_mode": 33188,
      "old_path": ".agents/rules/code-style.md",
      "new_id": "3f8866b73c897d0c7a31a2ee8b44b1987fc2f01e",
      "new_mode": 33188,
      "new_path": ".agents/rules/code-style.md"
    },
    {
      "type": "modify",
      "old_id": "02ec22fcad9001fe6418b288bc3fce936599da7e",
      "old_mode": 33188,
      "old_path": ".agents/rules/python.md",
      "new_id": "b8ad75b9a8bd63952042da67d84de4a63f7a8acc",
      "new_mode": 33188,
      "new_path": ".agents/rules/python.md"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "c54559df7e6196f3d173fb9118d52e30feac5cf2",
      "new_mode": 33188,
      "new_path": ".agents/rules/web-ui.md"
    },
    {
      "type": "modify",
      "old_id": "40f446c7c87ea7c7964d3aaaa7a27f379dbbcb1a",
      "old_mode": 33188,
      "old_path": ".agents/skills/review-code/SKILL.md",
      "new_id": "dd488b83420b62b866547259810bfb00cc619336",
      "new_mode": 33188,
      "new_path": ".agents/skills/review-code/SKILL.md"
    },
    {
      "type": "modify",
      "old_id": "35849d5f24f0b07c5d952ebf373086dbb2740452",
      "old_mode": 33188,
      "old_path": ".agents/skills/review-code/review-code-style-prompt.md",
      "new_id": "38b3a06d97a5edb12e44de2e4bbf5516cdf62506",
      "new_mode": 33188,
      "new_path": ".agents/skills/review-code/review-code-style-prompt.md"
    },
    {
      "type": "modify",
      "old_id": "d95aaa15124c2275a42eea1731188345044d032d",
      "old_mode": 33188,
      "old_path": ".agents/skills/review-code/review-justification-auditor-prompt.md",
      "new_id": "813399d02dba774cb4bdb80a176594962da818f0",
      "new_mode": 33188,
      "new_path": ".agents/skills/review-code/review-justification-auditor-prompt.md"
    },
    {
      "type": "modify",
      "old_id": "148469706d97acc4a541c97ebb0e212d94cf568f",
      "old_mode": 33188,
      "old_path": ".agents/skills/review-code/review-python-prompt.md",
      "new_id": "da9245abff7e15b8bd3af6628a2fcf8da1a82f8d",
      "new_mode": 33188,
      "new_path": ".agents/skills/review-code/review-python-prompt.md"
    }
  ]
}
