You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The responder agent fails to read review comment threads. The MCP pull_request_read tool returns [] for every method (get, get_review_comments, get_reviews, get_diff, get_files). The agent tries MCP 10+ times, gets empty results, and gives up — reporting missing_data instead of addressing comments. It never falls back to curl despite the instructions telling it to use the REST API.
Timeline (2026-03-20)
Working runs:
06:12 — Responder run 23331383724 on PR fix: add fast pre-filter to session command to avoid O(n) full parse (#138) #171. Successfully read 3 threads, fixed code, replied to all 3, pushed. Agent used --allow-all-tools --allow-all-paths. Output types: add_labels, reply_to_pull_request_review_comment, push_to_pull_request_branch.
08:12 — Responder run 23334483446 on PR fix: populate active_* fields for pure active sessions (#154) #177. MCP returned [] for 10+ attempts. Agent tried pull_request_read repeatedly, then issue_read, then search_pull_requests (which worked but doesnt return thread content). Never tried curl. Duration: 2m 16s. Output types: add_labels, noop.
Verification: PR #177 confirmed to have 4 unresolved review threads via our local MCP tools (outside the agent sandbox) at the same time the agent was failing.
What did NOT change between working and failing runs
Responder .md file: identical (no commits touched it)
Responder .lock.yml: identical
Agent flags: --allow-all-tools --allow-all-paths in both
list_pull_requests MCP tool works inside the sandbox
Impact
The responder is completely broken. PRs with review comments cannot be addressed autonomously. Three PRs are now stuck (#171, #172 with aw-pr-stuck:review, #177 with unaddressed comments).
Possible root causes to investigate
MCP server state/caching issue inside the sandbox
GitHub API token scope change or rate limiting inside the sandbox
gh-aw MCP gateway routing issue for pull_request_read specifically
Something about the PR state (e.g., rebased commits, force-pushed) that causes MCP to return empty
Problem
The responder agent fails to read review comment threads. The MCP
pull_request_readtool returns[]for every method (get, get_review_comments, get_reviews, get_diff, get_files). The agent tries MCP 10+ times, gets empty results, and gives up — reportingmissing_datainstead of addressing comments. It never falls back to curl despite the instructions telling it to use the REST API.Timeline (2026-03-20)
Working runs:
23331383724on PR fix: add fast pre-filter to session command to avoid O(n) full parse (#138) #171. Successfully read 3 threads, fixed code, replied to all 3, pushed. Agent used--allow-all-tools --allow-all-paths. Output types:add_labels, reply_to_pull_request_review_comment, push_to_pull_request_branch.23331578055on PR fix: render_live_sessions shows active fields for resumed sessions (#139) #172 round 1. Successfully read 1 thread, fixed code, replied, pushed.Failed runs (same config, same lock file, same network):
23332736595on PR fix: render_live_sessions shows active fields for resumed sessions (#139) #172 round 2. MCP returned[]. Agent reportedmissing_data: "Cannot read review comments. The pull_request_read MCP tool returns [] for all methods." Output types:add_labels, missing_data. Duration: 17s.23333161332on PR fix: render_live_sessions shows active fields for resumed sessions (#139) #172 round 3. Same failure. Duration: 17s.23333327590on PR fix: render_live_sessions shows active fields for resumed sessions (#139) #172. Same failure. Duration: 17s.23334483446on PR fix: populate active_* fields for pure active sessions (#154) #177. MCP returned[]for 10+ attempts. Agent triedpull_request_readrepeatedly, thenissue_read, thensearch_pull_requests(which worked but doesnt return thread content). Never tried curl. Duration: 2m 16s. Output types:add_labels, noop.Verification: PR #177 confirmed to have 4 unresolved review threads via our local MCP tools (outside the agent sandbox) at the same time the agent was failing.
What did NOT change between working and failing runs
.mdfile: identical (no commits touched it).lock.yml: identical--allow-all-tools --allow-all-pathsin bothapi.github.com)target: "*"for reply and push)What DID change
Nothing in the responder config. The only merges between working and failing runs were:
quality-gate.md,quality-gate.lock.yml,pipeline-orchestrator.yml, docssessioncommand does O(n) full parse to find one session by ID prefix #138) — touchedcli.py,test_cli.pyNone of these touched responder files.
Key observations
pull_request_readworks outside the agent sandbox (we can read threads fine from local CLI)pull_request_readworked inside the sandbox at 06:12 and 06:20pull_request_readstopped working inside the sandbox at 07:08 and all subsequent runs--allow-all-toolsso curl is availablesearch_pull_requestsMCP tool works inside the sandbox (agent found PR fix: populate active_* fields for pure active sessions (#154) #177 via search)list_pull_requestsMCP tool works inside the sandboxImpact
The responder is completely broken. PRs with review comments cannot be addressed autonomously. Three PRs are now stuck (#171, #172 with
aw-pr-stuck:review, #177 with unaddressed comments).Possible root causes to investigate
pull_request_readspecificallyRelated