docs: hand over a paste-ready body in creating-release-vote-mail - #1837
Merged
Conversation
Gmail's linkifier rewrites URLs server-side as the draft is stored, so the four link lines in the 6.11.0 vote draft arrived wrapped in https://www.google.com/url?q=...&source=gmail&ust=... and the 72-column wrap was reflowed. All three ways of passing the body through the Gmail tool were tested and all are rewritten; body-only is the least-bad, and supplying htmlBody is worse (HTML-only mail, or a plain part whose visible text is the wrapped URL). Record the constraint and make the workaround structural: the skill now produces the draft *and* a file with the exact body, so the release manager fixes it with one select-all-paste instead of hand-editing four URLs. Also flag re-running the draft-update tool on an already-corrected draft, which re-mangles it. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
|
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.



Follow-up from the 6.11.0 vote drafting run.
Problem
Gmail's linkifier rewrites URLs server-side as the draft is stored. The four link lines in the 6.11.0 vote draft came out as:
and the 72-column hard wrap was reflowed. The release manager had to hand-edit all four URLs.
What was tested
All three ways of passing the body through the Gmail tool are rewritten — there is no argument combination that avoids it:
bodyonlybare-url <google.com/url?q=…>htmlBodyonlybodyonly — what the skill already produced — is the least-bad of the three.Change
Since the mangling can't be prevented, the fix is made structural rather than left as advice:
Draft it, do not send itinstruction, the pre-draft checklist, and the template's hard-wrap note, so it sits in the steps already being followed rather than only in prose.Docs/process only; no ticket, consistent with #1826, #1828 and #1836.
🤖 Generated with Claude Code