Repository navigation
Commit d67877d
committed
docs(claude-code-web): the GitHub MCP mangles issue and PR text it returns
A tag-shaped token is deleted from any description or comment the MCP
reads back — `<n>`, `<branch>`, `<sha>` — while a lone bracket returns as
an entity and an allow-listed HTML tag survives. Worse, a token naming an
HTML raw-text element (`<title>`, `<style>`) discards the entire
remainder of the body, silently. Inline code, fenced blocks and table
cells are mangled alike, so writing the text differently does not avoid
it.
The content on GitHub is intact: it renders correctly, arrives whole in a
webhook payload, and comes back unaltered through get_file_contents. That
matters more than the mangling itself, because the failure mode is an
agent "correcting" a description that was never broken, or reading a
truncated response as a truncated body.
Verified against a description and comments posted from a session and a
control comment typed by hand in the browser: both read back mangled,
both render correctly. Reported upstream as github/github-mcp-server#2202
and deliberate per #3106, so the note says to expect it rather than
re-derive it.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_015eAnpTMAAcbzVY6dQfr6JZ1 parent 52a5266 commit d67877d
4 files changed
Lines changed: 19 additions & 4 deletions
File tree
- .claude-plugin
- plugins/claude-code-web
- .claude-plugin
- skills/cloud-sessions
- references
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
36 | | - | |
| 36 | + | |
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
41 | | - | |
42 | | - | |
| 41 | + | |
| 42 | + | |
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
36 | 51 | | |
37 | 52 | | |
38 | 53 | | |
| |||
0 commit comments