Repository navigation
docs: fix inaccuracies in Troubleshooting and Reference pages - #290
Merged
Merged
Conversation
The Troubleshooting page cited GitHub issue numbers that did not match their described symptoms (verified against the real issue titles via `gh issue view` and against WORKAROUNDS.md's existing citations) — most were swapped to an unrelated issue, and one linked anthropics/claude-code instead of this repo's own issue tracker. The SSE-drop section also described the pre-#272 hang behavior instead of the synthesized-error fix shipped in v0.25.1. The Reference page claimed a fabricated exit code (`2` for OAuth timeout — the code never calls `sys.exit(2)`; that code is actually argparse's own usage-error exit), described `--oauth-scope` as repeatable when it is a single string flag, asserted request logging behavior (query-string redaction, verbose token-exchange logs) with no basis in the code, cited RFC 7230 for `Retry-After` parsing where the code and WORKAROUNDS.md use RFC 9110 §10.2.3, and led with an MCP spec version (2025-11-25) that only applies to the optional Client ID Metadata Documents extension rather than the transport in general use (2025-06-18). Both English and Japanese pages are corrected in tandem.
The review of PR #290 found that guides/connect-remote.md(.ja) still gave blanket "set --oauth-scope" advice for any AADSTS error on Microsoft Entra ID, which now conflicts with troubleshooting.md's corrected, specific fix for AADSTS9010010 (--no-resource-indicator, not --oauth-scope). Point the guide at the troubleshooting section instead of restating divergent advice.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
The Troubleshooting and Reference pages added in a prior direct-to-main change (bypassing the branch/PR/
/reviewworkflow — an outside tool pushed straight tomain) contained several factual errors, found while auditing the content against the actual code and GitHub issue history:Troubleshooting.md/.ja.md
gh issue viewagainst the actual titles and against WORKAROUNDS.md's existing citations). One (#242) linkedanthropics/claude-codewhen the code's own#242reference is this repo's own issue.#39586(pagination),#70386(Mcp-Session-Idnot echoed),#34498/#38631(session lost),#44652(step-up retry),#34804(NO_PROXY),#53267/#65036(proactive refresh),#60061(SSE drop).Reference.md/.ja.md
2= "OAuth timeout or user cancelled" — the code never callssys.exit(2); that code is argparse's own usage-error exit). Documented the real codes:0/1/2/130.--oauth-scope— described as "(repeatable)" but it's a single string flag (space-separated multiple scopes in one value).[mcp-stdio]-prefixed relay log plus bareerror:/warning:startup messages; no verbose mode exists).Retry-AfterRFC citation from RFC 7230 to RFC 9110 §10.2.3, matching the code and WORKAROUNDS.md.The scaffold work itself (new Troubleshooting/Reference pages, nav wiring, CI caching) is a good addition — this PR only corrects the content.
Test plan
mkdocs build --strictpasses (en + ja)gh issue viewsys.exit(/print(...stderracrosscli.py,relay.py,server.py,oauth.py/reviewthis PR before merge